/* Recurso Connect storefront visual layer v1.
   Additive theme tokens. No checkout, catalog, pricing or tenant logic is changed. */
:root {
  --rc-elevation-header: 0 7px 22px rgba(39,42,60,.08);
  --rc-elevation-card: 0 9px 22px rgba(33,44,62,.055);
  --rc-elevation-card-hover: 0 19px 40px rgba(33,44,62,.13);
}
header {
  box-shadow:var(--rc-elevation-header);
  border-bottom:1px solid rgba(47,46,65,.10);
  isolation:isolate;
}
.header{min-height:80px}
.product {
  box-shadow:var(--rc-elevation-card);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product:hover {
  transform:translateY(-3px);
  box-shadow:var(--rc-elevation-card-hover);
  border-color:color-mix(in srgb, var(--accent) 25%, #e4e1e8);
}
.product:focus-within {outline:2px solid color-mix(in srgb,var(--accent) 50%,white);outline-offset:2px}
.cartBtn {box-shadow:0 3px 12px rgba(33,44,62,.06)}
.shopTitle,.filters,.shop,.hero,.about{scroll-margin-top:100px}

/* Illustrated educational theme, independently selectable per tenant. */
body[data-theme="pedagogico"] {
  --bg:#fffdfa;
  --hero:#ffeff5;
  --pastel:#fff1f6;
  --line:#e9e2e6;
  --radius:21px;
  --rc-ink:#293444;
  background:
    radial-gradient(circle at 2% 440px, rgba(250,208,227,.24), transparent 320px),
    radial-gradient(circle at 96% 850px, rgba(221,227,255,.23), transparent 270px),
    var(--bg);
}
body[data-theme="pedagogico"] .topline {
  background:color-mix(in srgb,var(--accent) 88%,#bc76a3);
}
body[data-theme="pedagogico"] .hero {
  border:1px solid #f1dfe7;
  min-height:355px;
  background:
    radial-gradient(circle at 96% 5%,#fff8ca 0 49px,transparent 50px),
    radial-gradient(circle at 69% 98%,#ddf1e3 0 69px,transparent 70px),
    linear-gradient(120deg,#fff1f5 0%,#fff9ed 100%);
  box-shadow:0 14px 32px rgba(137,91,114,.065);
  position:relative;
}
body[data-theme="pedagogico"] .hero::before {
  content:"✦";
  position:absolute;top:24px;right:35px;font-size:29px;color:#f9b45e;opacity:.7;
}
body[data-theme="pedagogico"] .hero::after {
  content:"✳";
  position:absolute;bottom:24px;left:48%;font-size:25px;color:#9fcab8;opacity:.8;
}
body[data-theme="pedagogico"] .heroInner {position:relative;z-index:2}
body[data-theme="pedagogico"] .heroArt {
  min-height:285px;
  background:url('./pedagogy-illustration.svg') center / contain no-repeat;
}
body[data-theme="pedagogico"] .heroArt .artPaper{display:none}
body[data-theme="pedagogico"] .heroArt:has(.heroCustomImage){background:none}
body[data-theme="pedagogico"] .heroArt:has(.heroCustomImage) .heroCustomImage {
  box-shadow:0 14px 32px rgba(56,44,69,.13);
}
body[data-theme="pedagogico"] .perks {gap:16px}
body[data-theme="pedagogico"] .perks>div {
  background:#fff;border:1px solid #eee6ea;border-radius:17px;
  padding:19px 18px;box-shadow:0 8px 18px rgba(42,42,57,.04);
}
body[data-theme="pedagogico"] .perks>div:nth-child(1) span{color:#d995b5}
body[data-theme="pedagogico"] .perks>div:nth-child(2) span{color:#85af9e}
body[data-theme="pedagogico"] .perks>div:nth-child(3) span{color:#e5b95e}
body[data-theme="pedagogico"] .shopTitle::before {
  content:"✏";color:#b88dd1;background:#f7efff;
  width:35px;height:35px;display:grid;place-items:center;border-radius:11px;
  margin-right:14px;align-self:start;font-size:18px;flex-shrink:0;
}
body[data-theme="pedagogico"] .shopTitle>div:first-child{flex:1}
body[data-theme="pedagogico"] .productImage{background:#fff6f9}
body[data-theme="pedagogico"] .productImage.noCover{background:linear-gradient(145deg,#fff3f7,#f5f1ff)}
body[data-theme="pedagogico"] .productBody small{
  color:color-mix(in srgb,var(--accent) 70%,#a85588);
}
body[data-theme="pedagogico"] .productActions .add,
body[data-theme="pedagogico"] .primary {box-shadow:0 6px 13px color-mix(in srgb,var(--accent) 17%,transparent)}
body[data-theme="pedagogico"] .about {
  background:linear-gradient(118deg,#fff0f4,#f3efff 85%);
  border:1px solid #f1e1ed;
  box-shadow:0 9px 25px rgba(89,73,93,.045);
}
body[data-theme="pedagogico"] .howStep {
  box-shadow:0 7px 18px rgba(33,44,62,.045);
}
body[data-theme="pedagogico"] .helpSection {
  background:linear-gradient(110deg,#f7f2ff,#fff0f5);
  border:1px solid #eee1ed;
}
@media(max-width:750px) {
  .header{min-height:65px}
  body[data-theme="pedagogico"] .hero {padding:30px 22px}
  body[data-theme="pedagogico"] .heroArt{display:grid;min-height:195px;margin-top:6px}
  body[data-theme="pedagogico"] .heroArt:has(.heroCustomImage) {min-height:0}
  body[data-theme="pedagogico"] .perks>div{padding:15px}
  body[data-theme="pedagogico"] .shopTitle::before {display:none}
}
@media(prefers-reduced-motion:reduce){
  .product{transition:none!important}
  .product:hover{transform:none}
}
