/* Contrato visual común del motor de plantillas. No contiene lógica comercial. */
.store-theme.theme-density-compacta{--theme-section-space:58px;--theme-grid-gap:14px}
.store-theme.theme-density-normal{--theme-section-space:88px;--theme-grid-gap:20px}
.store-theme.theme-density-amplia{--theme-section-space:112px;--theme-grid-gap:28px}
.store-theme.theme-corners-rectas{--radius-xl:4px;--radius-lg:3px;--radius-md:2px;--radius-sm:2px}
.store-theme.theme-corners-suaves{--radius-xl:28px;--radius-lg:22px;--radius-md:16px;--radius-sm:12px}
.store-theme.theme-corners-redondas{--radius-xl:44px;--radius-lg:34px;--radius-md:24px;--radius-sm:18px}
.store-theme .section{padding-top:var(--theme-section-space,88px);padding-bottom:var(--theme-section-space,88px)}
.store-theme .product-grid,.store-theme .category-grid{gap:var(--theme-grid-gap,20px)}
.store-theme .product-media>a{position:relative;min-width:0;min-height:0;overflow:hidden}
.store-theme .product-media>a>.product-image-frame{position:absolute;inset:0;width:auto;height:auto;min-width:0;min-height:0}
.store-theme .product-media>a>.product-image-frame>img{position:absolute!important;inset:0;display:block;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important}
.store-theme :where(.gallery-stage .product-image-frame>img,.thumb .product-image-frame>img,.cart-thumb img,.mini-order-media img,.order-product img){object-fit:contain!important;object-position:center!important;transform:none!important}
.store-theme .product-grid-count-1{grid-template-columns:minmax(0,780px)!important}
.store-theme .product-grid-count-1 .product-card{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(280px,1.1fr);align-items:stretch;isolation:isolate}
.store-theme .product-grid-count-1 .product-media{width:100%;height:100%;min-width:0;aspect-ratio:auto!important}
.store-theme .product-grid-count-1 .product-body{position:relative;z-index:1;box-sizing:border-box;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,4vw,52px)}
.store-theme .product-grid-count-1 .product-name{font-size:clamp(1.35rem,2.6vw,2.25rem)}
.store-theme .product-grid-count-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.store-theme .product-grid-count-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.store-theme .category-grid-count-1{grid-template-columns:minmax(0,1fr)!important}
.store-theme .category-grid-count-1 .category-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);align-items:stretch}
.store-theme .category-grid-count-1 .category-card-media{height:420px;aspect-ratio:auto}
.store-theme .category-grid-count-1 .category-card-media{--category-image-fit:contain}
.store-theme .category-grid-count-1 .category-card-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(26px,5vw,64px)}
.store-theme .category-grid-count-1 .category-card-copy strong{font-size:clamp(1.8rem,4vw,3.8rem);line-height:1}
.store-theme .category-grid-count-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.theme-preview-active{padding-top:58px}
.theme-preview-bar{position:fixed;z-index:1000;top:0;left:0;right:0;min-height:58px;padding:9px 22px;background:#0a1423;color:#fff;display:flex;align-items:center;justify-content:center;gap:28px;box-shadow:0 10px 30px rgba(0,0,0,.22)}
.theme-preview-bar div{display:flex;align-items:baseline;gap:10px}.theme-preview-bar span{font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;color:#9fb0c8;font-weight:800}.theme-preview-bar strong{font-size:.9rem}.theme-preview-bar a{padding:8px 12px;border-radius:10px;background:#fff;color:#0a1423;font-size:.75rem;font-weight:900}
.theme-preview-active .site-header{top:58px}
@media(max-width:700px){.store-theme .product-grid-count-2,.store-theme .product-grid-count-3{grid-template-columns:1fr!important}.store-theme .category-grid-count-2{grid-template-columns:1fr!important}}
@media(max-width:520px){.store-theme .product-grid-count-1 .product-card{grid-template-columns:1fr}.store-theme .product-grid-count-1 .product-media{height:auto;aspect-ratio:1!important}.store-theme.theme-images-vertical .product-grid-count-1 .product-media{aspect-ratio:4/5!important}.store-theme.theme-images-apaisada .product-grid-count-1 .product-media{aspect-ratio:4/3!important}.store-theme .product-grid-count-1 .product-body{padding:20px}.store-theme .category-grid-count-1 .category-card{grid-template-columns:1fr}.store-theme .category-grid-count-1 .category-card-media{height:auto;aspect-ratio:4/3}.store-theme .category-grid-count-1 .category-card-copy{padding:22px}}
@media(max-width:600px){.theme-preview-bar{justify-content:space-between;padding:8px 12px}.theme-preview-bar div{display:grid;gap:0}.theme-preview-bar a{font-size:.68rem}.theme-preview-active{padding-top:58px}}
