/* Santy Toys 2.0, etapa 1: catálogo público. */
.about-santy:has(.about-story){background:transparent;border:0;padding:0;max-width:1140px;margin:36px auto}
.about-story{background:linear-gradient(135deg,#fff 35%,#f4ecff);border:1px solid #e6dcf4;border-radius:24px;padding:32px;box-shadow:0 8px 28px #47317708}
.about-heading{display:flex;align-items:center;gap:16px;margin-bottom:18px}.about-heading img{width:76px;height:76px;object-fit:contain;background:white;border-radius:50%;padding:6px;box-shadow:0 4px 14px #47317710}.about-heading span{font-size:10px;font-weight:700;letter-spacing:.15em;color:#8267ba}.about-story .about-heading h2{font-size:27px;line-height:1.2;margin:5px 0 0}.about-story .about-intro{color:#6542a3;font-size:19px;font-weight:600;line-height:1.55;padding-bottom:16px;border-bottom:1px solid #e6dff1;margin-bottom:16px;max-width:780px}.about-story>p:not(.about-intro){color:#61576e;font-size:15px;line-height:1.75;max-width:820px}.about-story .about-motto{margin-top:22px;padding:14px 18px;border-radius:14px;background:#e9defb;color:#58349c;font-size:15px;text-align:center}
@media(max-width:760px){.about-santy:has(.about-story){margin:26px 12px;padding:0}.about-story{padding:22px 20px;border-radius:20px}.about-heading{gap:12px;margin-bottom:16px}.about-heading img{width:60px;height:60px;padding:4px}.about-heading span{font-size:8px;letter-spacing:.12em}.about-story .about-heading h2{font-size:22px}.about-story .about-intro{font-size:16px;line-height:1.55}.about-story>p:not(.about-intro){font-size:13px;line-height:1.7;margin:12px 0}.about-story .about-motto{font-size:13px;line-height:1.5;padding:12px;margin-top:18px}}
.service-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.service-card{padding:24px 18px;background:#fff;border:1px solid #e6dff4;border-radius:20px;text-align:center}.service-card.santy-shipping{margin:0;padding:24px 18px;border:1px solid #e6dff4}.service-icon{display:inline-grid;place-items:center;width:56px;height:56px;background:#eee8fc;border-radius:50%;color:#5742a7}.service-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.service-card h3{font-size:18px;margin:16px 0 8px}.service-card p{font-size:14px;line-height:1.6}.service-card a{display:inline-block;color:#6044b8;font-size:13px;font-weight:700;text-decoration:none;padding:10px}
.store-footer{display:grid!important;grid-template-columns:70px 2fr 1fr 1fr;gap:20px!important;background:#30204f!important;color:#eee8fa!important}.footer-logo img{width:70px;height:70px;object-fit:contain}.store-footer>div>strong{color:#fff}.store-footer p{font-size:14px;line-height:1.6}.footer-shop{display:flex;flex-direction:column;gap:12px}.footer-shop strong,.santy-social>strong{color:#fff}.footer-shop a{color:#eee8fa;text-decoration:none;font-size:14px}.footer-shop a[hidden]{display:none}.store-footer .admin-link{grid-column:1;grid-row:2;align-self:end}.footer-bottom{grid-column:2/-1;border-top:1px solid #ffffff25;padding-top:16px;line-height:1.7;color:#c5b7dd}.store-footer .santy-social{align-content:start;align-items:start}.store-footer .santy-social a{font-size:12px;padding:10px 12px}
.back-top{position:fixed;right:20px;bottom:74px;z-index:31;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;color:#493474;font-size:26px;text-decoration:none;box-shadow:0 4px 18px #30204f25}body:has(.overlay:not([hidden])) .back-top{display:none}#envios,#aboutTitle{scroll-margin-top:calc(var(--store-header-height,74px) + var(--store-tools-height,120px) + 12px)}
@media(max-width:760px){.service-cards{grid-template-columns:1fr;gap:12px}.service-card,.service-card.santy-shipping{padding:20px 16px}.store-footer{grid-template-columns:50px 1fr;gap:18px!important;padding-bottom:100px!important}.footer-logo img{width:50px;height:50px}.footer-shop,.store-footer .santy-social{grid-column:1/-1}.store-footer .admin-link{grid-row:auto;grid-column:1}.footer-bottom{grid-column:2}.service-card h3{font-size:18px}.service-card p{font-size:14px}}
.santy-shipping{margin-top:22px;padding-top:18px;border-top:1px solid #ded5f3}.santy-shipping h3{font-size:19px;margin:0 0 8px}.santy-shipping a{display:inline-block;padding:10px 14px;border-radius:12px;background:#e0f4e9;color:#087742;font-size:14px;font-weight:700;text-decoration:none}
.santy-social{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.santy-social>strong{width:100%;font-size:16px}.santy-tiktok{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;min-height:44px;border-radius:14px;background:#181820;color:#fff!important;font-size:14px;font-weight:700;text-decoration:none}
.santy-facebook{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;min-height:44px;border-radius:14px;background:#1877f2;color:#fff!important;font-size:14px;font-weight:700;text-decoration:none}
.about-santy{max-width:1140px;margin:28px auto;padding:28px;border:1px solid #e7dff4;border-radius:22px;background:linear-gradient(120deg,#fff,#f1edff);color:#30204f}
.about-icon{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#e5defb;color:#6546d6;font-size:25px}
.about-santy h2{font-size:26px;margin:12px 0}.about-santy p{font-size:15px;line-height:1.7;max-width:850px;margin:10px 0}.about-intro{font-weight:600}.about-motto{display:block;margin-top:18px;color:#6644cb}
@media(max-width:760px){.about-santy{margin:20px 12px;padding:20px;border-radius:18px}.about-santy h2{font-size:22px}.about-santy p{font-size:14px;line-height:1.6}.about-motto{font-size:14px}}
.catalog-category-title{grid-column:1/-1;margin:22px 0 2px;padding:10px 0;border-bottom:2px solid #e7dffb;color:#30204f;font-size:24px;line-height:1.3}
.catalog-category-title:first-child{margin-top:0}
@media(max-width:760px){.catalog-category-title{font-size:19px;margin-top:20px;padding:8px 0}}
.store-tools{max-width:1180px;margin:0 auto;padding:14px 20px 8px;position:sticky;top:var(--store-header-height,74px);z-index:29;background:#fcfaff;border-bottom:1px solid #eee8fa;box-shadow:0 5px 12px #30204f08}
.store-tools .catalog-tools{margin:0}.store-tools .search-box{width:100%;min-height:48px}
.store-tools .category-list{margin:12px 0 0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:5px}
.store-tools .category-list button{flex-shrink:0;white-space:nowrap}
.topbar .brand-logo{width:48px;height:48px}.topbar .brand strong{font-size:20px}
.top-actions{display:flex;align-items:center;gap:12px}.header-wa,.hero-wa{color:#087742;font-weight:700;text-decoration:none}
.hero{max-width:1180px;margin:8px auto 0;padding:24px!important;min-height:0!important;display:block!important;border-radius:22px}
.hero:before,.hero:after,.hero-image-wrap,.hero .eyebrow,.benefits,.section-heading,.steps{display:none!important}
.hero h1{font-size:clamp(22px,3vw,34px)!important;line-height:1.15!important;margin:0 0 8px!important;max-width:none!important}
.hero p{font-size:14px!important;line-height:1.5!important;margin:0 0 14px!important}
.hero .primary-link{padding:10px 16px!important;font-size:13px!important;margin-right:14px}.hero-wa{font-size:13px}
#catalogo{padding-top:12px;scroll-margin-top:calc(var(--store-header-height,74px) + var(--store-tools-height,120px) + 8px)}.audience-list{margin-top:0}
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:14px}
.simple-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border-radius:18px;align-self:stretch}
.simple-card .card-open{border:0;padding:0;cursor:pointer;width:100%;height:auto!important;aspect-ratio:1;position:relative;background:#f1f0fa;display:flex;align-items:center;justify-content:center}
.simple-card .product-photo{width:100%;height:100%;object-fit:contain!important;background:#f5f4fa}.simple-card .product-placeholder{font-size:50px}
.simple-card .product-body{display:flex;flex-direction:column;gap:8px;padding:12px!important;flex:1;min-width:0}
.simple-card .product-category{font-size:10px;letter-spacing:.03em;margin:0;overflow-wrap:anywhere}
.simple-card .product-name{font-size:16px;line-height:1.3;margin:0!important;min-height:2.6em!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.simple-card .price{font-size:19px;margin-top:auto;white-space:nowrap}
.card-view{border:0;background:#6451e9;color:white;border-radius:10px;padding:10px 4px;font:inherit;font-weight:700;cursor:pointer;min-height:40px}
.model-label{position:absolute;bottom:8px;left:8px;border-radius:10px;padding:4px 8px;background:#fff;font-size:11px;color:#34255d}
.detail-panel{background:white;width:min(760px,100%);max-height:92dvh;overflow:auto;border-radius:22px;padding:24px;position:relative;box-shadow:0 15px 80px #21143b40}
.detail-close{position:sticky;top:0;float:right;z-index:2;background:#eee9fb}
.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;clear:both}
.detail-photo{width:100%;aspect-ratio:1;object-fit:contain;border-radius:15px;background:#f6f5fa}
.detail-panel h2{font-size:24px;line-height:1.25;margin:12px 0}.detail-panel p,.detail-panel li{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.detail-price{font-size:24px;color:#6044db;display:block;margin:15px 0}
.detail-actions{display:flex;flex-direction:column;gap:10px}.detail-actions .qty{align-self:flex-start}.detail-actions button,.detail-actions a{min-height:44px}
.detail-buy{display:block;text-align:center;background:#10844b;color:white;text-decoration:none;padding:12px;border-radius:12px;font-weight:700}
.detail-thumbs{display:flex;gap:6px;overflow:auto;margin-top:8px}.detail-thumbs button{padding:2px;background:white;border:1px solid #dcd6ee;border-radius:8px}.detail-thumbs img{width:50px;height:50px;object-fit:contain}
.variant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.variant-grid button{min-width:0;border:1px solid #ded9ef;border-radius:14px;background:#fff;padding:8px;color:#292047;cursor:pointer}.variant-grid img{width:100%;aspect-ratio:1;object-fit:contain}.variant-grid strong,.variant-grid span{display:block;font-size:12px;line-height:1.35;margin-top:6px;overflow-wrap:anywhere}
.floating-wa{position:fixed;right:16px;bottom:16px;background:#098b4b;color:white;border-radius:25px;padding:12px 16px;z-index:31;font-size:13px;font-weight:700;text-decoration:none;box-shadow:0 4px 18px #134d4030}
body:has(.overlay:not([hidden])) .floating-wa{display:none}
footer{padding:28px max(20px,calc((100vw - 1180px)/2))!important}
@media(max-width:760px){
 .store-tools{padding:10px 12px 4px}.store-tools .search-box input{font-size:13px;min-width:0}.store-tools .category-list button{font-size:12px;padding:9px 12px}
 .topbar{padding:8px 12px!important}.topbar .brand small{display:none}.topbar .brand strong{font-size:16px!important}.topbar .brand-logo{width:38px!important;height:38px!important}.top-actions{gap:8px}.header-wa{font-size:11px}.cart-button{padding:8px 10px!important}
 .hero{margin:6px 12px 0;padding:16px!important;border-radius:16px}.hero h1{font-size:23px!important}.hero p{font-size:12px!important;margin-bottom:10px!important}.hero-wa{font-size:11px}.hero .primary-link{padding:9px 12px!important;font-size:11px!important;margin-right:8px}
 #catalogo{padding:12px!important}.audience-list{gap:6px}.audience-list button{font-size:10px;padding:7px 10px}.audience-list>span{font-size:10px}
 .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 .simple-card .product-body{padding:8px!important;gap:7px}.simple-card .product-category{font-size:8px!important;line-height:1.25!important}.simple-card .product-name{font-size:12px!important;line-height:1.3!important;min-height:2.6em!important;max-height:2.6em!important;margin:0!important}.simple-card .price{font-size:13px!important}.card-view{font-size:11px;min-height:36px;padding:8px 2px}.model-label{font-size:8px;left:4px;bottom:4px;padding:3px 5px}
 .detail-panel{padding:16px;border-radius:18px;max-height:94dvh}.detail-layout{grid-template-columns:1fr;gap:12px}.detail-photo{max-height:34dvh;aspect-ratio:auto;min-height:150px}.detail-panel h2{font-size:21px}.detail-thumbs img{width:44px;height:44px}
 .offers-section{margin:12px!important;padding:14px!important}.offers-heading h2{font-size:20px}.offers-grid{grid-template-columns:1fr!important}.combo-offer{grid-template-columns:85px 1fr!important;padding:10px!important;gap:12px}.combo-image{height:100px!important}.combo-offer h3{font-size:15px}.combo-offer p{font-size:11px}.combo-offer strong{font-size:18px}
 .topbar .brand strong{font-size:13px!important}.topbar .brand-logo{width:32px!important;height:32px!important}.top-actions{gap:5px}.header-wa{font-size:10px}
}
.store-menu-button{flex-shrink:0;width:42px;height:42px;border:0;border-radius:12px;background:#eee9fc;color:#493474;font-size:24px;cursor:pointer}.topbar{gap:12px}.topbar .brand{margin-right:auto;min-width:0}
.nav-overlay{position:fixed;inset:0;z-index:100;background:#21143b80}.nav-overlay[hidden]{display:none}.store-nav{width:min(340px,88vw);height:100%;height:100dvh;background:#fff;overflow-y:auto;overscroll-behavior:contain;box-shadow:8px 0 40px #21143b30;color:#30204f}.store-nav-heading{display:flex;align-items:center;gap:12px;padding:16px;position:sticky;top:0;background:#fff;border-bottom:1px solid #eee8fa;z-index:1}.store-nav-heading img{width:44px;height:44px;object-fit:contain}.store-nav-heading strong{font-size:16px}.store-nav-heading button{margin-left:auto;width:36px;height:36px;border:0;border-radius:10px;background:#f1edfa;color:#493474;font-size:26px;cursor:pointer}.store-nav nav{padding-bottom:24px}.store-nav-label{font-size:10px;font-weight:700;letter-spacing:.12em;color:#8975ab;padding:20px 20px 6px;margin:0}.store-nav nav>a,.store-nav nav>button,.store-nav summary,#sideCategories button{display:block;width:100%;box-sizing:border-box;text-align:left;padding:14px 20px;min-height:44px;background:none;border:0;border-bottom:1px solid #f1edf7;color:#30204f;text-decoration:none;font:inherit;font-size:14px;cursor:pointer}.store-nav nav>a[hidden]{display:none}.store-nav summary{list-style:revert;display:list-item;margin-left:20px;width:calc(100% - 20px);padding-left:0;font-weight:700}#sideCategories button{padding-left:32px;color:#655284}.store-nav button.active,.store-nav nav a:hover,.store-nav button:hover{background:#f1edff;color:#6044bc}.store-menu-button:focus-visible,.store-nav :focus-visible{outline:3px solid #8c76df;outline-offset:-3px}body:has(.nav-overlay:not([hidden])) .floating-wa,body:has(.nav-overlay:not([hidden])) .back-top{display:none}
@media(max-width:760px){.topbar{gap:7px}.store-menu-button{width:34px;height:36px;font-size:21px}.topbar .brand{gap:5px}.topbar .brand strong{font-size:13px!important}.topbar .brand-logo{width:32px!important;height:32px!important}.top-actions{gap:5px}.header-wa{font-size:10px}}
.simple-card .card-name{border:0;background:none;padding:0;color:inherit;font:inherit;text-align:left;cursor:pointer}.card-age{margin:0;font-size:12px;color:#78668a}.quick-buy-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:auto}.quick-buy-actions{display:flex;align-items:center;gap:6px}.quick-cart{width:44px;height:44px;flex-shrink:0;border:0;border-radius:50%;background:#6451e9;color:#fff;font-size:20px;cursor:pointer}.card-whatsapp{display:grid;place-items:center;min-height:44px;padding:0 10px;border-radius:22px;background:#10844b;color:#fff;font-size:11px;text-decoration:none;font-weight:700}.quick-cart:focus-visible,.card-name:focus-visible,.card-whatsapp:focus-visible{outline:3px solid #a998ea;outline-offset:2px}@media(max-width:760px){.simple-card .card-age,.simple-card .card-whatsapp{display:none}.quick-buy-row{gap:5px}.quick-buy-actions{margin-left:auto}.quick-cart{width:36px;height:36px;font-size:17px}.simple-card .quick-buy-row .price{margin-top:0;font-size:12px!important}}
.subcategory-list{display:flex;align-items:center;gap:8px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;margin-top:8px;padding:0 0 5px}.subcategory-list[hidden]{display:none}.subcategory-list span{font-size:11px;color:#79668e;flex-shrink:0}.subcategory-list button{flex-shrink:0;white-space:nowrap;border:1px solid #ded5f0;border-radius:20px;padding:7px 12px;background:#fff;color:#655181;font:inherit;font-size:12px;cursor:pointer}.subcategory-list button.active{background:#eee6fc;border-color:#aa91d9;color:#56338c;font-weight:700}.subcategory-list button:focus-visible{outline:2px solid #8062bf;outline-offset:1px}@media(max-width:760px){.subcategory-list{gap:6px;margin-top:6px}.subcategory-list button{font-size:11px;padding:7px 10px}}

/* Santy Toys 2.9: carrusel compacto de modelos solo en la portada del catálogo. */
.family-preview{position:relative;background:#f7f5fb;border-bottom:1px solid #eee8f7}
.family-main{overflow:hidden;touch-action:pan-y}
.family-main-slide{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%}
.family-main-slide[hidden]{display:none}
.family-main-slide .product-photo{width:100%;height:100%;object-fit:contain;background:#f5f4fa}
.family-counter{position:absolute;right:8px;bottom:8px;z-index:3;padding:4px 7px;border-radius:999px;background:rgba(37,25,61,.78);color:#fff;font-size:10px;font-weight:700;line-height:1}
.family-arrow{position:absolute;top:calc(50% - 27px);z-index:4;width:30px;height:30px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#4d377f;box-shadow:0 2px 9px #30204f24;font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center}
.family-prev{left:6px}.family-next{right:6px}
.family-thumbs{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;padding:6px 7px;background:#fff;overscroll-behavior-inline:contain}
.family-thumbs::-webkit-scrollbar{display:none}
.family-thumb{flex:0 0 38px;width:38px;height:38px;padding:2px;border:1px solid #ded8ea;border-radius:8px;background:#fff;overflow:hidden;cursor:pointer;color:#594776;font-size:18px;display:grid;place-items:center}
.family-thumb img{width:100%;height:100%;object-fit:contain;border-radius:5px}
.family-thumb.active{border:2px solid #7257d9;padding:1px;box-shadow:0 0 0 1px #d9cff7}
.family-available{display:block;margin:-2px 0 0;color:#6f5a8b;font-size:11px;font-weight:700}
.family-main:focus-visible,.family-arrow:focus-visible,.family-thumb:focus-visible{outline:3px solid #9d86eb;outline-offset:-2px}
@media(max-width:760px){
 .family-thumbs{gap:3px;padding:4px}.family-thumb{flex-basis:26px;width:26px;height:26px;border-radius:6px;padding:1px;font-size:13px}.family-thumb.active{padding:0}
 .family-arrow{width:24px;height:24px;top:calc(50% - 19px);font-size:18px}.family-prev{left:3px}.family-next{right:3px}
 .family-counter{right:4px;bottom:4px;font-size:8px;padding:3px 5px}.family-available{font-size:8px;line-height:1.2}.family-card .card-view{font-size:9px;line-height:1.15;padding:6px 2px;min-height:32px}
}

/* Santy Toys 2.9.1: corrección del selector de modelos.
   La foto ya no ocupa la altura reservada para nombre y precio. */
.variant-grid button{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  height:auto;
  overflow:visible;
  box-sizing:border-box;
}
.variant-grid .product-photo,
.variant-grid .product-placeholder{
  display:grid;
  width:100%;
  height:auto!important;
  aspect-ratio:1/1;
  flex:0 0 auto;
  object-fit:contain;
  place-items:center;
  background:#fff;
  border-radius:10px;
}
.variant-grid .product-placeholder{font-size:46px;background:#f6f4fb}
.variant-grid strong{
  display:-webkit-box;
  min-height:2.7em;
  margin:8px 2px 0;
  padding:0 2px;
  line-height:1.35;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.variant-grid span:not(.product-placeholder){
  margin:4px 2px 2px;
  padding:0 2px 2px;
  line-height:1.3;
}
/* Santy Toys 2.9.11: textos más legibles al abrir familias como Spot It o Dobble. */
.detail-panel>div>h2{font-size:27px;line-height:1.2;margin-bottom:8px}
.detail-panel>div>h2+p{font-size:16px;line-height:1.45;margin-top:0;color:#6f6480}
.variant-grid strong{font-size:15px;font-weight:800;line-height:1.35}
.variant-grid .variant-ref{font-size:12px;line-height:1.3;margin-top:4px}
.variant-grid span:not(.product-placeholder):not(.variant-ref){font-size:14px;font-weight:800;line-height:1.3}
@media(max-width:600px){
  .variant-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .detail-panel>div>h2{font-size:23px}
  .detail-panel>div>h2+p{font-size:14px}
  .variant-grid strong{font-size:13px}
  .variant-grid .variant-ref{font-size:10.5px}
  .variant-grid span:not(.product-placeholder):not(.variant-ref){font-size:12px}
}
