﻿.store-filters{margin-bottom:1.25rem;border-block:1px solid var(--store-border)}.store-filters summary{min-height:2.75rem;display:flex;align-items:center;gap:.5rem;font-weight:700;cursor:pointer}.store-filters form{display:grid;grid-template-columns:1fr;gap:.65rem;padding:1rem 0}.store-filters label{font-size:.82rem;font-weight:700}.store-filters select,.store-filters input{width:100%;min-height:2.75rem;padding:.6rem;border:1px solid var(--store-border);border-radius:var(--mf-radius-sm);background:var(--store-surface);color:var(--store-ink)}.store-filter-actions{display:flex;gap:.5rem;align-items:end}.store-filter-actions button{min-height:2.75rem;flex:1;border:1px solid var(--store-border);border-radius:var(--mf-radius-sm);padding:0 .8rem}@media (min-width:768px){.store-filters form{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.store-filter-actions{grid-column:span 2}}

.store-pagination{display:flex;align-items:center;justify-content:space-between;gap:var(--mf-space-3,.75rem);flex-wrap:wrap;margin-top:var(--mf-space-5,1.5rem);padding-top:var(--mf-space-4,1rem);border-top:1px solid var(--store-border)}.store-pagination>label{display:flex;align-items:center;gap:var(--mf-space-2,.5rem);font-size:.85rem;font-weight:700}.store-pagination select,.store-pagination input{min-height:2.75rem;border:1px solid var(--store-border);border-radius:var(--mf-radius-sm);background:var(--store-surface);color:var(--store-ink);padding:.5rem}.store-page-actions{display:flex;align-items:center;gap:var(--mf-space-1,.25rem)}.store-page-actions button{width:2.75rem;height:2.75rem;border:1px solid var(--store-border);border-radius:var(--mf-radius-sm);background:var(--store-surface);color:var(--store-ink)}.store-page-actions button:disabled{opacity:.4;cursor:not-allowed}.store-page-actions input{width:4.25rem;text-align:center}@media(max-width:479.98px){.store-pagination{justify-content:center}.store-pagination>label,.store-pagination>span{width:100%;justify-content:center}}

.store-category-nav{position:sticky;top:4.15rem;z-index:15;margin-inline:calc(5vw * -1);padding:.55rem 5vw;background:color-mix(in srgb,var(--store-surface) 94%,transparent);backdrop-filter:blur(12px);border-block:1px solid var(--store-border)}.store-category-track{display:flex;gap:var(--mf-space-2,.5rem);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;padding:.2rem 0}.store-category-button{flex:0 0 auto;scroll-snap-align:start;min-height:2.5rem;padding:0 var(--mf-space-3,.75rem);border:1px solid var(--store-border);border-radius:999px;background:var(--store-surface);color:var(--store-ink);font-weight:700;transition:transform .18s ease,background-color .18s ease,color .18s ease}.store-category-button[aria-current="true"]{background:var(--store-ink);color:var(--store-surface);transform:translateY(-2px)}.store-category-section{scroll-margin-top:8rem;margin-top:var(--mf-space-5,1.5rem)}.store-category-heading{display:flex;align-items:baseline;justify-content:space-between;gap:var(--mf-space-3,.75rem);margin-bottom:var(--mf-space-3,.75rem)}.store-category-heading h3{margin:0;font-size:clamp(1.25rem,4vw,1.7rem)}@media(max-width:767.98px){.store-category-nav{top:3.9rem;margin-inline:-1rem;padding-inline:1rem}}@media(prefers-reduced-motion:reduce){.store-category-button{transition:none}}

.store-family-group{margin-top:var(--mf-space-4,1rem)}.store-family-heading{margin:0 0 var(--mf-space-3,.75rem);color:var(--store-ink);font-size:1rem}.store-family-level-1>.store-family-heading{font-size:1.2rem;border-bottom:1px solid var(--store-border);padding-bottom:var(--mf-space-2,.5rem)}.store-family-level-2,.store-family-level-3,.store-family-level-4{padding-inline-start:var(--mf-space-3,.75rem);border-inline-start:2px solid color-mix(in srgb,var(--store-border) 70%,transparent)}.store-family-level-2>.store-family-heading{font-size:1.05rem}.store-family-level-3>.store-family-heading,.store-family-level-4>.store-family-heading{font-size:.9rem;color:var(--store-muted)}@media(max-width:479.98px){.store-family-level-2,.store-family-level-3,.store-family-level-4{padding-inline-start:var(--mf-space-2,.5rem)}}
.store-page-actions{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.store-category-heading{flex-wrap:wrap}.store-family-group,.store-family-group>*{min-width:0}@media(max-width:767.98px){.store-family-level-2,.store-family-level-3,.store-family-level-4{padding-inline-start:0;border-inline-start:0}.store-family-level-2>.store-family-heading,.store-family-level-3>.store-family-heading,.store-family-level-4>.store-family-heading{padding-inline-start:var(--mf-space-2,.5rem);border-inline-start:2px solid var(--store-border)}.store-pagination{align-items:center}.store-page-actions{width:100%;justify-content:center}.store-pagination>label,.store-pagination>span{flex:1 1 auto}}@media(max-width:359.98px){.store-page-actions{justify-content:flex-start}.store-category-heading{align-items:flex-start;flex-direction:column}.store-category-section{scroll-margin-top:7rem}}

.store-family-path{display:flex;align-items:center;gap:.25rem;min-height:2rem;margin:.35rem .75rem;color:var(--store-muted);font-size:.72rem;line-height:1.25;overflow:hidden}.store-family-path>span{flex:0 0 auto;max-width:8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-family-path>.store-family-level-2,.store-family-path>.store-family-level-3,.store-family-path>.store-family-level-4{padding:0;border:0}.store-family-separator{opacity:.55}@media(min-width:768px){.store-category-section .store-product-grid{grid-template-columns:repeat(auto-fill,minmax(180px,240px));justify-content:start;gap:.875rem}.store-category-section .store-product-card{min-height:420px;border:1px solid var(--store-border);border-radius:var(--mf-radius-md,16px);overflow:hidden;background:var(--store-surface)}.store-category-section .store-product-image{height:190px;aspect-ratio:auto;border-radius:0}.store-category-section .store-product-card h3{margin-inline:.75rem}.store-category-section .store-product-meta{margin-inline:.75rem;padding-bottom:.75rem}}@media(min-width:1280px){#novedades.store-section{padding-inline:2vw}.store-category-nav{margin-inline:-2vw;padding-inline:2vw}}@media(max-width:767.98px){.store-category-section .store-product-card{min-height:390px}.store-category-section .store-product-image{height:165px;aspect-ratio:auto}}
#storeProductGrid{display:block}
.store-product-card{position:relative}.store-card-carousel-controls{position:absolute;inset:0 0 auto;top:72px;display:flex;justify-content:space-between;padding-inline:.35rem;pointer-events:none}.store-card-carousel-control{width:2.25rem;height:2.25rem;display:grid;place-items:center;border:1px solid var(--store-border);border-radius:999px;background:color-mix(in srgb,var(--store-surface) 88%,transparent);color:var(--store-ink);box-shadow:var(--mf-shadow-sm);pointer-events:auto}.store-card-carousel-control:hover{background:var(--store-surface)}.store-card-carousel-indicator{position:absolute;inset:auto .5rem .5rem auto;padding:.15rem .45rem;border-radius:999px;background:color-mix(in srgb,var(--store-ink) 78%,transparent);color:white;font-size:.68rem;font-weight:700}.store-product-carousel{position:relative}
.store-card-cart{display:flex;align-items:center;gap:.45rem;margin:.55rem .75rem .75rem}.store-card-quantity{display:grid;grid-template-columns:2.25rem minmax(2.5rem,1fr) 2.25rem;min-width:0;border:1px solid var(--store-border);border-radius:var(--mf-radius-sm,12px);overflow:hidden}.store-card-step,.store-card-add{min-height:2.5rem;border:0;background:var(--store-surface);color:var(--store-ink)}.store-card-step{display:grid;place-items:center;padding:0}.store-card-quantity input{width:100%;min-width:0;border:0;border-inline:1px solid var(--store-border);text-align:center;-moz-appearance:textfield}.store-card-quantity input::-webkit-inner-spin-button,.store-card-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.store-card-add{flex:0 0 2.75rem;border-radius:var(--mf-radius-sm,12px);background:var(--store-ink);color:white;font-size:1.05rem}.store-card-add:disabled{opacity:.45;cursor:not-allowed}.store-cart-toast{position:fixed;z-index:55;right:1rem;bottom:1rem;max-width:min(26rem,calc(100vw - 2rem));margin:0;padding:.8rem 1rem;border-radius:var(--mf-radius-sm,12px);background:var(--store-ink);color:white;box-shadow:var(--mf-shadow)}.store-cart-toast.is-error{background:var(--mf-danger)}.store-variant-dialog{width:min(31rem,calc(100vw - 2rem));border:1px solid var(--store-border);border-radius:var(--mf-radius,18px);padding:0;background:var(--store-surface);color:var(--store-ink);box-shadow:var(--mf-shadow)}.store-variant-dialog::backdrop{background:rgba(15,29,52,.42)}.store-variant-dialog-form{display:grid;gap:1rem;padding:1.25rem}.store-variant-dialog-form h2,.store-variant-dialog-form p{margin:0}.store-variant-dialog-list{display:grid;gap:.5rem;max-height:50vh;overflow-y:auto}.store-variant-dialog-actions{display:flex;justify-content:flex-end;gap:.5rem}.store-variant-dialog-actions button{min-height:2.75rem;padding-inline:1rem;border:1px solid var(--store-border);border-radius:var(--mf-radius-sm,12px)}#storeCartButton{position:relative}#storeCartCount{position:absolute;top:-.3rem;right:-.3rem;min-width:1.25rem;height:1.25rem;display:grid;place-items:center;padding:0 .2rem;border-radius:999px;background:var(--store-ink);color:white;font-size:.68rem;font-weight:700}@media(max-width:767.98px){.store-card-cart{margin-inline:.55rem}.store-card-step,.store-card-add{min-height:2.75rem}.store-variant-dialog{width:calc(100vw - 1rem)}.store-variant-dialog-actions{display:grid;grid-template-columns:1fr 1fr}.store-variant-dialog-actions button{width:100%}}

.store-product-card{display:flex;flex-direction:column}.store-product-link{display:block;flex:1 1 auto}.store-card-cart{display:grid;grid-template-columns:minmax(0,1fr) 2.75rem;align-items:center;justify-content:space-between;gap:.65rem;margin:auto 0 0;padding:.65rem .75rem;border-top:1px solid var(--store-border);background:var(--store-warm)}.store-card-quantity{width:100%;background:var(--store-surface)}.store-card-add{align-self:stretch;border:1px solid color-mix(in srgb,var(--store-ink) 82%,transparent);box-shadow:none;transition:transform .16s ease,background-color .16s ease}.store-card-add:hover:not(:disabled){transform:translateY(-1px);background:color-mix(in srgb,var(--store-ink) 88%,white)}@media(max-width:767.98px){.store-card-cart{margin-top:auto;padding:.55rem;gap:.5rem}}@media(prefers-reduced-motion:reduce){.store-card-add{transition:none}.store-card-add:hover:not(:disabled){transform:none}}

.store-card-add{display:grid;place-items:center;padding:0;overflow:hidden;background:var(--store-warm);border-color:var(--store-accent)}.store-card-add img{display:block;width:100%;height:100%;object-fit:cover}.store-card-add:hover:not(:disabled){background:var(--store-surface);border-color:var(--store-ink)}
/* Dirección visual MaFeS: marfil, champagne, dorado y tinta */
:root{--store-gold:color-mix(in srgb,var(--mf-warning) 62%,var(--store-ink));--store-gold-soft:color-mix(in srgb,var(--mf-warning) 18%,var(--store-surface));--store-ivory:color-mix(in srgb,var(--mf-warning) 5%,var(--store-surface));--store-champagne:color-mix(in srgb,var(--mf-warning) 12%,var(--store-surface))}
.store-body{background:linear-gradient(145deg,var(--store-ivory) 0%,var(--store-surface) 42%,var(--store-champagne) 100%);background-attachment:fixed}
.store-header{min-height:4.75rem;padding-block:.6rem;background:color-mix(in srgb,var(--store-ivory) 94%,transparent);border-bottom-color:color-mix(in srgb,var(--store-gold) 28%,var(--store-border));box-shadow:0 .35rem 1.4rem color-mix(in srgb,var(--store-ink) 7%,transparent)}
.store-wordmark{display:grid;color:var(--store-gold);font-family:Georgia,"Times New Roman",serif;font-size:1.75rem;font-weight:500;letter-spacing:.22em;line-height:1}.store-wordmark small{margin-top:.35rem;color:var(--store-muted);font-family:Inter,"Segoe UI",sans-serif;font-size:.46rem;font-weight:600;letter-spacing:.32em;text-transform:uppercase}
.store-header nav a{position:relative;text-decoration:none}.store-header nav a::after{content:"";position:absolute;right:50%;bottom:-.55rem;left:50%;height:1px;background:var(--store-gold);transition:right .2s ease,left .2s ease}.store-header nav a:hover::after,.store-header nav a:focus-visible::after{right:0;left:0}
.store-header-bag{width:2rem;height:2rem;display:block;object-fit:contain}.store-actions #storeCartButton{display:grid;place-items:center;padding:0;background:var(--store-ivory);border-color:color-mix(in srgb,var(--store-gold) 35%,var(--store-border))}
.store-hero{position:relative;isolation:isolate;min-height:min(58vw,42rem);align-items:center;padding-inline:6vw;background-image:linear-gradient(90deg,var(--store-ivory) 0%,color-mix(in srgb,var(--store-ivory) 94%,transparent) 24%,color-mix(in srgb,var(--store-ivory) 24%,transparent) 53%,transparent 72%),url('/static/img/tienda/hero-mafes.webp');background-position:center;background-size:cover}.store-hero::after{content:"";position:absolute;z-index:-1;inset:auto 0 0;height:22%;background:linear-gradient(0deg,var(--store-ivory),transparent);pointer-events:none}.store-hero>div{padding:2rem 0}.store-hero h1{max-width:10ch;color:var(--store-gold);font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:.015em}.store-hero p:not(.store-eyebrow){color:color-mix(in srgb,var(--store-ink) 78%,var(--store-muted))}.store-hero .store-primary{background:linear-gradient(135deg,var(--store-gold),color-mix(in srgb,var(--store-gold) 72%,var(--mf-warning)));box-shadow:0 .7rem 1.7rem color-mix(in srgb,var(--store-gold) 20%,transparent)}
#novedades.store-section{background:linear-gradient(180deg,color-mix(in srgb,var(--store-ivory) 96%,transparent),color-mix(in srgb,var(--store-champagne) 72%,transparent))}.store-section h2,.store-category-heading h3,.store-family-heading{font-family:Georgia,"Times New Roman",serif;font-weight:500}.store-category-nav{background:color-mix(in srgb,var(--store-ivory) 94%,transparent);border-color:color-mix(in srgb,var(--store-gold) 24%,var(--store-border))}.store-category-button{background:color-mix(in srgb,var(--store-surface) 88%,var(--store-champagne));border-color:color-mix(in srgb,var(--store-gold) 28%,var(--store-border))}.store-category-button[aria-current="true"]{background:linear-gradient(135deg,var(--store-gold),color-mix(in srgb,var(--store-gold) 70%,var(--mf-warning)));color:var(--store-surface);border-color:transparent}
.store-category-section .store-product-card{border-color:color-mix(in srgb,var(--store-gold) 24%,var(--store-border));background:color-mix(in srgb,var(--store-surface) 92%,var(--store-ivory));box-shadow:0 .8rem 2rem color-mix(in srgb,var(--store-ink) 8%,transparent);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.store-category-section .store-product-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--store-gold) 55%,var(--store-border));box-shadow:0 1.1rem 2.4rem color-mix(in srgb,var(--store-ink) 12%,transparent)}.store-category-section .store-product-image{background:linear-gradient(145deg,var(--store-surface),var(--store-champagne))}.store-product-card h3{font-family:Georgia,"Times New Roman",serif;font-size:1rem;font-weight:500}.store-product-meta strong{color:var(--store-gold)}.store-card-cart{border-top-color:color-mix(in srgb,var(--store-gold) 25%,var(--store-border));background:linear-gradient(135deg,var(--store-ivory),var(--store-champagne))}.store-card-add{background:linear-gradient(145deg,var(--store-gold-soft),var(--store-surface));border-color:color-mix(in srgb,var(--store-gold) 48%,var(--store-border))}.store-card-add img{width:82%;height:82%;object-fit:contain}.store-card-add:hover:not(:disabled){background:linear-gradient(145deg,var(--store-champagne),var(--store-gold-soft));border-color:var(--store-gold)}
@media(max-width:767.98px){.store-header{min-height:4.1rem}.store-wordmark{font-size:1.35rem}.store-wordmark small{display:none}.store-hero{min-height:34rem;padding-inline:1rem;background-image:linear-gradient(90deg,var(--store-ivory) 0%,color-mix(in srgb,var(--store-ivory) 92%,transparent) 48%,color-mix(in srgb,var(--store-ivory) 35%,transparent) 75%),url('/static/img/tienda/hero-mafes.webp');background-position:58% center}.store-hero>div{max-width:92%;padding-top:8rem}.store-hero h1{max-width:14ch;font-size:clamp(2.25rem,13vw,3.7rem);overflow-wrap:normal;word-break:normal}.store-hero p:not(.store-eyebrow){font-size:.95rem}.store-category-section .store-product-card:hover{transform:none}}
@media(max-width:399.98px){.store-hero{min-height:31rem;background-position:61% center}.store-hero>div{max-width:92%}}
@media(prefers-reduced-motion:reduce){.store-category-section .store-product-card,.store-header nav a::after{transition:none}.store-category-section .store-product-card:hover{transform:none}}

/* Alternador Boutique / Editorial y proyección pública de historias aprobadas. */
.store-view-switch{width:max-content;max-width:100%;display:grid;grid-template-columns:1fr 1fr;gap:.2rem;margin:0 auto 1rem;padding:.25rem;border:1px solid color-mix(in srgb,var(--store-gold) 30%,var(--store-border));border-radius:999px;background:var(--store-ivory)}
.store-view-switch button{min-width:7.5rem;min-height:2.75rem;padding:.45rem 1rem;border:0;border-radius:999px;background:transparent;color:var(--store-ink);font-weight:700}.store-view-switch button[aria-pressed="true"]{background:var(--store-ink);color:var(--store-surface);box-shadow:var(--mf-shadow-sm)}
.store-story-feed{display:grid;gap:clamp(2rem,6vw,5rem)}.store-story{display:grid;gap:1rem;padding-block:1rem;border-bottom:1px solid color-mix(in srgb,var(--store-gold) 28%,var(--store-border))}.store-story-heading{max-width:42rem}.store-story-heading h3{margin:.2rem 0;color:var(--store-ink);font:400 clamp(2rem,6vw,4.5rem)/.98 Georgia,"Times New Roman",serif}.store-story-subtitle{margin:.65rem 0 0;color:var(--store-muted);font-size:clamp(.95rem,2vw,1.15rem)}
.store-story-mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(13rem,54vw);gap:.4rem}.store-story-piece{position:relative;min-width:0;overflow:hidden;background:var(--store-champagne);color:var(--store-ink);text-decoration:none}.store-story-piece:first-child{grid-column:1/-1;grid-row:span 2}.store-story-piece img{width:100%;height:100%;display:block;object-fit:contain}.store-story-piece::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(250,247,241,.84),transparent 35%,rgba(250,247,241,.88));pointer-events:none}.store-story-piece-copy{position:absolute;z-index:1;inset:.8rem .8rem auto;display:grid;gap:.35rem}.store-story-piece-copy strong{font:400 clamp(1.05rem,2.4vw,1.8rem)/1.05 Georgia,"Times New Roman",serif}.store-story-piece-copy .store-piece-cta{position:static;width:max-content;font-size:.85rem}.store-story-piece:focus-visible{outline:3px solid var(--store-gold);outline-offset:3px}
@media(min-width:768px){.store-story{grid-template-columns:minmax(13rem,.65fr) minmax(0,2fr);align-items:start}.store-story-mosaic{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:clamp(13rem,18vw,19rem)}.store-story-piece{grid-column:span 2}.store-story-piece:first-child{grid-column:span 3;grid-row:span 2}.store-story-piece:nth-child(2){grid-column:span 3}.store-story-piece:nth-child(n+3){grid-column:span 3}.store-story-heading{position:sticky;top:9rem}}
@media(max-width:359.98px){.store-view-switch{width:100%}.store-view-switch button{min-width:0}.store-story-mosaic{grid-template-columns:1fr;grid-auto-rows:17rem}.store-story-piece,.store-story-piece:first-child{grid-column:1;grid-row:span 1}}
