body.product-detail-active #storeHero,
body.product-detail-active #storeVideoSection,
body.product-detail-active #storeGameBanner,
body.product-detail-active #categorias,
body.product-detail-active #storeSectionsNav,
body.product-detail-active #productosGrid,
body.product-detail-active #productosPaginacion,
body.product-detail-active .store-help-row { display: none !important; }

body.product-detail-active #storeLayout { max-width: min(100%, 1640px); grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--ficha-header-height, 86px) + 24px); }
body.store-page.product-detail-active #storeTitle { color: #175b40; text-shadow: none; }
body.store-page.product-detail-active[data-store-theme="OSCURO"] #storeTitle { color: #f4fbf6; }
body.store-page .ficha-buscar-link { display: none; }
body.store-page.product-detail-active #buscador { display: none; }
body.store-page.product-detail-active .ficha-buscar-link:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 15px; border: 1px solid #9acbac; border-radius: 11px; background: #eff9f2; color: #175b40; font-weight: 700; text-decoration: none; white-space: nowrap; }
body.product-detail-active .floating-cart:not([hidden]) { display: flex; }
@media (min-width: 861px) {
  body.product-detail-active #checkout { position: fixed; top: 0; right: 0; left: auto; bottom: 0; z-index: 999; width: min(420px, 100vw); height: 100dvh; max-height: none; overflow-y: auto; border-radius: 18px 0 0 18px; transform: translateX(105%); transition: transform 220ms ease; }
  body.product-detail-active.cart-drawer-open #checkout { transform: translateX(0); }
  body.product-detail-active.cart-drawer-open { overflow: hidden; }
  body.product-detail-active #checkout .cart-close-btn { display: inline-flex; }
}
.product-image-link { display: block; }
.product-image-link .product-image { width: 100%; }
body.store-page .producto-card.producto-card--direct-buy .product-image-media .product-image.image-contained--height { width: auto; height: 100%; }
.product-detail-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; border-radius: 9px; color: #217354; border: 1px solid #8dc4a4; text-decoration: none; font-weight: 700; }
.product-detail-link:hover, .product-detail-link:focus-visible { background: #edf9f1; }
.store-sections-nav { position: relative; z-index: 5; margin: 0 auto 18px; width: min(100%, 1680px); padding: 0 clamp(12px, 2vw, 32px); background: #fff; color: #17212d; border-bottom: 1px solid #dce4df; }
.store-sections-nav[hidden], .store-sections-menu[hidden] { display: none !important; }
.store-sections-tabs { display: flex; justify-content: center; gap: clamp(12px, 2vw, 28px); overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
body.store-page .store-sections-tabs button { flex: 0 0 auto; padding: 13px 2px 11px; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0; background: #fff !important; color: #17212d !important; box-shadow: none !important; font: inherit; font-weight: 650; cursor: pointer; }
body.store-page .store-sections-tabs button[aria-current="true"] { border-bottom-color: #17212d !important; }
.store-sections-menu { position: absolute; top: 100%; left: 0; right: 0; z-index: 7; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 24px; max-height: min(55vh, 420px); overflow-y: auto; padding: 20px; border: 1px solid #dce4df; border-radius: 0 0 14px 14px; background: #fff; color: #17212d; box-shadow: 0 16px 28px #17212d24; }
body.store-page .store-sections-menu button { display: block; width: 100%; padding: 7px 0; border: 0 !important; background: transparent !important; color: #17212d !important; box-shadow: none !important; font: inherit; text-align: left; cursor: pointer; }
body.store-page .store-sections-menu button:hover, body.store-page .store-sections-menu button:focus-visible { text-decoration: underline; }
body.store-page:not(.premium-catalog-active) #storeLayout { max-width: min(100%, 1500px); }
body.store-page:not(.premium-catalog-active) .producto-card--direct-buy .product-content { flex: 0 0 auto; justify-content: flex-start; gap: 9px; }
.product-title-row { display: flex; align-items: flex-start; gap: 8px; }
.product-title-row .producto-nombre { flex: 1; min-width: 0; margin-bottom: 6px; }
body.store-page .producto-card--direct-buy .product-title-row .product-share-button { flex: 0 0 34px; width: 34px; min-height: 34px; height: 34px; display: grid; place-items: center; padding: 0; border-radius: 50%; background: transparent !important; color: var(--store-primary, #217354) !important; box-shadow: none; }
.product-title-row .product-share-button svg { width: 17px; height: 17px; }
.encargue-open-button { width: 100%; min-height: 42px; border-radius: 10px; font-weight: 800; cursor: pointer; }
body.encargue-panel-open { overflow: hidden; }
.encargue-panel { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(15, 23, 42, .55); }
.encargue-panel[hidden] { display: none !important; }
.encargue-panel-card { width: min(100%, 440px); max-height: calc(100dvh - 36px); overflow-y: auto; padding: 22px; border: 1px solid var(--store-border, #dce5df); border-radius: 16px; background: var(--store-card-bg, #fff); color: var(--store-text, #17212d); box-shadow: 0 24px 70px rgba(15, 23, 42, .28); }
.encargue-panel-card h3 { margin: 0 0 8px; font-size: 21px; }
.encargue-panel-card .field-help { margin: 0 0 16px; }
.encargue-panel-card input, .encargue-panel-card select { width: 100%; min-height: 42px; }
.encargue-panel-message { min-height: 20px; margin: 2px 0 0; color: #b42318; font-size: 13px; font-weight: 700; }
.encargue-panel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.encargue-panel-actions button { min-height: 42px; border-radius: 10px; font-weight: 800; cursor: pointer; }
.encargue-panel-actions button:first-child { background: var(--store-button-secondary-bg, #eef2f6) !important; color: var(--store-button-secondary-text, #0f172a) !important; }
.encargue-panel-actions button:last-child { background: var(--store-button, #15803d) !important; color: var(--store-button-text, #fff) !important; }
@media (min-width: 1200px) {
  body.store-page:not(.premium-catalog-active) .productos-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* Catálogo editorial únicamente cuando la ficha Premium está efectivamente habilitada. */
body.store-page.premium-catalog-active #storeLayout { max-width: min(100%, 1680px); padding-inline: clamp(12px, 2vw, 32px); }
body.store-page.premium-catalog-active .productos-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 275px), 1fr)); gap: clamp(14px, 1.5vw, 24px); }
body.store-page.premium-catalog-active .premium-product-card { --premium-media-height: clamp(230px, 22vw, 315px); min-height: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.store-page.premium-catalog-active .premium-product-card:hover { border-color: transparent; box-shadow: none; }
.premium-product-card-link { display: flex; flex: 1; flex-direction: column; min-width: 0; color: inherit !important; text-decoration: none; }
.premium-product-card-link:focus-visible { outline: 3px solid #308e64; outline-offset: -3px; }
.premium-product-media { display: grid; place-items: center; height: var(--premium-media-height); overflow: hidden; border-radius: 15px; background: transparent; touch-action: pan-y; }
.premium-product-image { display: block; width: 100%; height: auto; max-width: 100%; max-height: 100%; padding: 0; border-radius: 15px; object-fit: contain; }
.premium-product-image.image-contained--height { width: auto; height: 100%; }
.premium-product-placeholder { color: #657487; font-weight: 700; }
.premium-product-offer { position: absolute; top: 14px; left: 14px; padding: 5px 9px; border-radius: 999px; color: #166534; background: #dcfce7; font-size: 12px; font-weight: 800; }
.premium-product-content { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 12px 2px 3px; }
.premium-product-content .producto-nombre { margin: 0; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.25; }
.premium-product-content .producto-descripcion-corta { margin: 3px 0 5px; -webkit-line-clamp: 3; }
.premium-product-content .producto-precio, .premium-product-prices { margin-top: auto; padding-top: 8px; }
.premium-product-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 8px; }
.premium-product-prices strong { color: #217354; font-size: 21px; }
.premium-product-prices .old-price { color: #718096; text-decoration: line-through; font-size: 13px; }
.premium-product-thumbs { --premium-thumb-size: 36px; position: absolute; z-index: 3; top: calc(var(--premium-media-height) - var(--premium-thumb-size) - 14px); left: 8px; right: 8px; display: flex; gap: 5px; max-width: calc(100% - 16px); overflow-x: auto; padding: 4px; border-radius: 8px; background: rgba(255,255,255,.84); opacity: 0; pointer-events: none; transition: opacity 140ms ease; scrollbar-width: thin; }
.premium-product-card:is(:hover, :focus-within) .premium-product-thumbs,
body.store-page.premium-catalog-active .premium-product-card:hover .premium-product-thumbs { opacity: 1; pointer-events: auto; }
.premium-product-thumbs button { flex: 0 0 var(--premium-thumb-size); width: var(--premium-thumb-size); height: var(--premium-thumb-size); padding: 2px; border: 2px solid transparent; border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-items: center; }
body.store-page.premium-catalog-active .premium-product-thumbs button { border-color: transparent; color: #253747; background: #fff; box-shadow: none; }
body.store-page.premium-catalog-active .premium-product-thumbs button[aria-pressed="true"] { border-color: #308e64; }
.premium-product-thumbs img { display: block; width: 100%; height: auto; max-width: 100%; max-height: 100%; border-radius: 4px; object-fit: contain; }
.premium-product-thumbs img.image-contained--height { width: auto; height: 100%; }
.premium-product-share { position: absolute; z-index: 4; top: 57px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #d7e5dc; border-radius: 50%; color: #217354; background: rgba(255,255,255,.96); cursor: pointer; }
body.store-page.premium-catalog-active button.premium-product-share { border-color: #d7e5dc; color: #217354; background: #fff; }
.premium-product-share svg { width: 19px; height: 19px; }
@media (hover: none) { .premium-product-thumbs { opacity: 1; pointer-events: auto; } }
body.store-page[data-store-theme="OSCURO"] .premium-product-media { background: transparent; }
body.store-page[data-store-theme="OSCURO"] .premium-product-content .producto-descripcion-corta { color: #cbd5e1; }
body.store-page[data-store-theme="OSCURO"] .premium-product-content .producto-precio,
body.store-page[data-store-theme="OSCURO"] .premium-product-prices strong { color: #86efac; }
@media (max-width: 640px) {
  body.store-page.premium-catalog-active .productos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.store-page.premium-catalog-active .premium-product-card { --premium-media-height: min(42vw, 190px); min-width: 0; }
  .premium-product-thumbs { --premium-thumb-size: 34px; }
  .premium-product-content { padding: 9px 1px 2px; }
  .premium-product-content .producto-nombre { font-size: 15px; }
  .premium-product-prices strong { font-size: 18px; }
}
.producto-detalle { color: var(--store-text, #17212d); }
.producto-detalle a { color: inherit; }
.ficha-volver { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin: 0 0 18px; padding: 8px 15px; border: 1px solid #9acbac; border-radius: 999px; background: #eff9f2; color: #217354 !important; font-weight: 700; text-decoration: none; }
.ficha-principal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 42px); align-items: start; }
.ficha-galeria { min-width: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
.ficha-miniaturas { max-height: 342px; overflow-y: auto; display: grid; grid-auto-rows: 76px; gap: 10px; scrollbar-width: thin; }
.ficha-miniaturas button { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #f4f6f5; cursor: pointer; }
.ficha-miniaturas button.is-active { border-color: #308e64; }
body.store-page.product-detail-active .ficha-miniaturas button { background: #f4f6f5; border-color: transparent; color: #217354; }
body.store-page.product-detail-active .ficha-miniaturas button.is-active { border-color: #308e64; }
.ficha-miniaturas img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ficha-miniaturas .ficha-miniatura-video { display: grid; place-content: center; gap: 2px; color: #203b2d; font-weight: 700; }
.ficha-miniatura-video span { font-size: 24px; line-height: 1; }
.ficha-miniatura-video small { font-size: 11px; }
.ficha-imagen-principal { position: relative; display: grid; place-items: center; height: clamp(390px, 42vw, 620px); background: #f4f6f5; border-radius: 16px; overflow: hidden; }
.ficha-imagen-principal > video { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; background: #111; }
.ficha-imagen-principal > img { display: block; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; touch-action: pan-y; transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%); transition: transform 120ms ease; }
.ficha-imagen-principal.is-zoomed > img { transform: scale(1.9); cursor: zoom-out; touch-action: none; }
.ficha-sin-imagen { color: #66788b; }
.ficha-imagen-principal > button { position: absolute; z-index: 2; width: 38px; height: 38px; padding: 0; border: 1px solid #d7e5dc; border-radius: 50%; color: #217354; background: #fff; font-size: 25px; line-height: 1; cursor: pointer; }
.ficha-imagen-principal > .ficha-zoom-toggle { top: 12px; right: 12px; font-size: 27px; }
.ficha-imagen-principal > .ficha-zoom-toggle[aria-pressed="true"] { color: #fff; background: #217354; }
body.store-page.product-detail-active .ficha-imagen-principal > button,
body.store-page.product-detail-active .ficha-relacionados-titulo button { background: #fff; border-color: #a8cdb6; color: #217354; }
.ficha-informacion { min-width: 0; }
.ficha-categoria { margin: 0 0 8px; color: #33845e; font-weight: 750; font-size: 13px; }
.ficha-titulo-fila { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.ficha-informacion h1 { flex: 1; min-width: 0; margin: 0; line-height: 1.15; font-size: clamp(25px, 2.8vw, 36px); }
.ficha-informacion h1:focus { outline: none; }
.ficha-oferta-etiquetas { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.ficha-oferta-etiquetas .offer-badge { position: static; }
.ficha-precio { margin: 4px 0 16px; font-size: clamp(25px, 2.6vw, 34px); font-weight: 850; }
.ficha-precio-anterior { color: #718096; text-decoration: line-through; }
.ficha-stock { font-size: 13px; color: #4c5b69; }
.ficha-accion-mensaje { min-height: 20px; margin: 9px 0 0; color: #9a3d19; font-size: 13px; font-weight: 650; }
.ficha-variantes p { margin: 14px 0 8px; font-weight: 750; }
.ficha-variantes-opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.ficha-variantes-opciones button { display: grid; gap: 3px; min-width: 90px; padding: 8px 11px; border: 1px solid #aac9b7; border-radius: 9px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.ficha-variantes-opciones button[aria-pressed="true"] { border-color: #27845d; background: #eff9f2; box-shadow: inset 0 0 0 1px #27845d; }
body.store-page.product-detail-active .ficha-variantes-opciones button { background: transparent; border-color: #aac9b7; color: var(--store-text, #17212d); }
body.store-page.product-detail-active .ficha-variantes-opciones button[aria-pressed="true"] { background: #eff9f2; border-color: #27845d; }
.ficha-variantes-opciones button:disabled { opacity: .48; cursor: not-allowed; }
.ficha-variantes-opciones small { font-weight: 650; color: #27845d; }
.ficha-agregar { display: block; width: 100%; min-height: 46px; margin-top: 10px; border-radius: 9px; font-weight: 750; cursor: pointer; }
.ficha-agregar { color: #111827; background: transparent; border: 1px solid rgba(15, 23, 42, .2); box-shadow: 0 4px 12px rgba(15, 23, 42, .12); }
body.store-page.product-detail-active button.ficha-agregar { color: #111827 !important; background: transparent !important; border-color: rgba(15, 23, 42, .2) !important; box-shadow: 0 4px 12px rgba(15, 23, 42, .12) !important; }
body.store-page.product-detail-active button.ficha-agregar:hover:not(:disabled) { background: rgba(255, 255, 255, .18) !important; box-shadow: 0 6px 16px rgba(15, 23, 42, .15) !important; }
body.store-page[data-store-theme="OSCURO"].product-detail-active button.ficha-agregar { color: var(--store-text, #f8fafc) !important; border-color: rgba(248, 250, 252, .34) !important; box-shadow: 0 4px 14px rgba(0, 0, 0, .3) !important; }
.ficha-agregar:disabled { opacity: .48; cursor: not-allowed; }
.ficha-compartir { flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #8dc4a4; border-radius: 50%; color: #217354; background: #fff; cursor: pointer; }
.ficha-compartir svg { width: 20px; height: 20px; }
body.store-page.product-detail-active button.ficha-compartir { color: #217354; background: #fff; border-color: #8dc4a4; }
.ficha-informacion .custom-control { margin-top: 14px; }
.ficha-informacion .custom-control button { min-height: 42px; }
.ficha-operativa { margin-top: 24px; padding-top: 15px; border-top: 1px solid var(--store-border, #dce5df); font-size: 13px; line-height: 1.5; }
.ficha-operativa p { margin: 0 0 7px; }
.ficha-descripcion, .ficha-atributos, .ficha-relacionados { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--store-border, #dce5df); }
.producto-detalle h2 { margin: 0 0 16px; font-size: 21px; }
.ficha-descripcion p { white-space: pre-wrap; line-height: 1.65; }
.ficha-atributos dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin: 0; }
.ficha-atributos dl > div { border-bottom: 1px solid var(--store-border, #dce5df); padding-bottom: 8px; }
.ficha-atributos dt { font-size: 12px; color: #677889; }
.ficha-atributos dd { margin: 3px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.ficha-relacionados-titulo { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ficha-relacionados-titulo button { width: 38px; height: 38px; margin-left: 5px; border-radius: 50%; border: 1px solid #a8cdb6; color: #217354; background: transparent; font-size: 23px; cursor: pointer; }
.ficha-relacionados-lista { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.ficha-relacionado { display: flex; flex: 0 0 185px; flex-direction: column; gap: 5px; scroll-snap-align: start; text-decoration: none; border: 1px solid var(--store-border, #dce5df); border-radius: 12px; padding: 10px; background: var(--store-card-bg, #fff); }
.ficha-relacionado img, .ficha-relacionado-placeholder { width: 100%; height: 142px; object-fit: contain; border-radius: 8px; background: #f4f6f5; }
.ficha-relacionado-placeholder { display: grid; place-items: center; color: #718096; }
.ficha-relacionado strong { line-height: 1.3; }
.ficha-relacionado span { color: #217354; font-weight: 800; }
.ficha-relacionado small { color: #66788b; line-height: 1.35; }
body.store-page[data-store-theme="OSCURO"] .ficha-imagen-principal,
body.store-page[data-store-theme="OSCURO"] .ficha-miniaturas button,
body.store-page[data-store-theme="OSCURO"] .ficha-relacionado img,
body.store-page[data-store-theme="OSCURO"] .ficha-relacionado-placeholder { background: #1c2734; }
@media (max-width: 1000px) { body.product-detail-active #storeLayout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  body.product-detail-active #storeLayout { padding-top: calc(var(--ficha-header-height, 144px) + 24px); }
  .ficha-principal { grid-template-columns: minmax(0, 1fr); }
  .ficha-galeria { display: flex; flex-direction: column-reverse; }
  .ficha-miniaturas { display: flex; max-height: none; overflow-x: auto; overflow-y: hidden; }
  .ficha-miniaturas button { flex: 0 0 70px; width: 70px; height: 70px; }
  .ficha-imagen-principal { height: min(92vw, 480px); min-height: 300px; }
  .ficha-atributos dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ficha-imagen-principal > img, .premium-product-thumbs { transition: none; } }
.store-offers { max-width: 1500px; margin: 22px auto 8px; padding: 0 24px; }
body.store-page.premium-catalog-active .store-offers { max-width: 1680px; padding-inline: clamp(12px, 2vw, 32px); }
.store-offers[hidden], .store-offers-controls[hidden] { display: none !important; }
.store-offers-heading { position: relative; display: flex; justify-content: center; align-items: center; min-height: 36px; margin-bottom: 12px; }
.store-offers-heading h2 { width: 100%; margin: 0; font-size: clamp(1.15rem, 3vw, 1.6rem); color: var(--store-text, #17212b); text-align: center; overflow-wrap: anywhere; }
.store-offers-heading:has(.store-offers-controls:not([hidden])) h2 { padding-inline: 92px; }
.store-offers-controls { position: absolute; top: 50%; right: 0; display: flex; gap: 8px; transform: translateY(-50%); }
body.store-page .store-offers-controls button { width: 36px; height: 36px; border-radius: 50%; background: #fff !important; color: #183528 !important; border: 1px solid #d5e5d9 !important; font-size: 24px; line-height: 1; }
.store-offers-track { display: grid; grid-auto-flow: column; grid-auto-columns: var(--store-offer-card-width, 275px); gap: clamp(14px, 1.5vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 2px 1px 12px; }
.store-offers-track.is-centered { justify-content: center; }
.store-offers-track > .producto-card { min-width: 0; scroll-snap-align: start; }
.store-offer-card { flex: 0 0 clamp(190px, 28vw, 255px); display: grid; grid-template-columns: 78px 1fr; gap: 10px; align-items: center; min-height: 92px; padding: 8px; border: 1px solid #e1e8e2; border-radius: 12px; background: #fff; text-decoration: none; color: #17212b; scroll-snap-align: start; }
.store-offer-card img, .store-offer-placeholder { width: 78px; height: 76px; border-radius: 8px; object-fit: contain; background: #f4f8f4; }
.store-offer-placeholder { display: grid; place-items: center; font-size: 12px; color: #446753; }
.store-offer-copy { display: grid; gap: 4px; min-width: 0; }
.store-offer-copy strong { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13px; }
.store-offer-copy span { color: #167247; font-weight: 800; }
body.product-detail-active .store-offers { display: none; }
@media (max-width: 640px) {
  .store-offers { padding-inline: 10px; }
  .store-sections-nav { padding-inline: 8px; }
  .store-sections-tabs { flex-wrap: wrap; justify-content: center; gap: 2px 10px; overflow: visible; white-space: normal; scrollbar-width: none; }
  body.store-page .store-sections-tabs button { padding: 10px 1px 8px; font-size: 12px; }
  .store-offers-heading { flex-direction: column; gap: 8px; }
  .store-offers-heading:has(.store-offers-controls:not([hidden])) h2 { padding-inline: 0; }
  .store-offers-controls { position: static; transform: none; }
  .store-offers-track { grid-auto-columns: var(--store-offer-card-width, calc((100% - 10px) / 2)); gap: 10px; }
  .encargue-panel { padding: 10px; }
  .encargue-panel-card { max-height: calc(100dvh - 20px); padding: 18px; }
}
.store-compact-header[hidden], .store-whatsapp-float[hidden] { display: none !important; }
.store-compact-header { display: none; }
.store-whatsapp-float { position: fixed; z-index: 996; right: 18px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 5px 18px #112d1b55; }
.store-whatsapp-float svg { width: 31px; height: 31px; }
body:has(.floating-cart:not([hidden])) .store-whatsapp-float { bottom: var(--store-floating-cart-clearance, 84px); }
body.cart-drawer-open .store-whatsapp-float, body:has(.modal-overlay:not([hidden])) .store-whatsapp-float { display: none; }
body:has(.locality-modal:not([hidden])) .store-whatsapp-float { display: none; }
@media (max-width: 860px) {
  body.store-page > header { transition: transform .2s ease; }
  body.store-page > header.store-header-scroll-away { transform: translateY(-100%); }
  body.store-page .store-compact-header:not([hidden]) { position: fixed; z-index: 21; top: env(safe-area-inset-top, 0px); left: 0; right: 0; display: flex; align-items: center; justify-content: space-around; gap: 8px; min-height: 56px; padding: 5px 12px; background: #fff; box-shadow: 0 3px 12px #10241a22; }
  .store-compact-header a, .store-compact-header button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; min-height: 44px; color: #183d2a !important; background: transparent !important; border: 0 !important; text-decoration: none; font-size: 21px; }
  .store-compact-header a span { font-size: 13px; font-weight: 700; }
  .store-compact-header svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .store-compact-header b:not([hidden]) { position: absolute; margin: -25px 0 0 26px; min-width: 16px; height: 16px; border-radius: 50%; background: #238b58; color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
  .store-compact-header img { width: 34px; height: 34px; object-fit: contain; }
  body:has(.floating-cart:not([hidden])) .store-whatsapp-float { bottom: var(--store-floating-cart-clearance, 80px); }
  .store-compact-header input:not([hidden]) { min-width: 0; flex: 1; height: 40px; border: 1px solid #b4d6bd; border-radius: 9px; padding: 0 9px; }
}
@media (prefers-reduced-motion: reduce) { body.store-page > header { transition: none; } }
