/* Base comÃºn de la tienda */

:root{--ink:#17202b;--muted:#667085;--paper:#fff;--canvas:#f4f6f8;--line:#dfe4ea;--navy:#102a43;--navy-soft:#1f4b6e;--accent:#d9a32b;--accent-dark:#a8740f;--accent-ink:#102a43;--sand:#fbf2dc;--success:#147d55;--shadow:0 16px 40px rgba(16,42,67,.1)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--canvas);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button,input{font:inherit}.shell{width:min(1180px,calc(100% - 32px));margin-inline:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.utility-bar{background:var(--navy);color:#dfeaf3;font-size:.78rem}.utility-inner{display:flex;justify-content:space-between;gap:20px;padding:7px 0}.utility-inner p{margin:0}.site-header{background:var(--paper);box-shadow:0 1px 0 var(--line);position:relative;z-index:10}.header-main{min-height:94px;display:grid;grid-template-columns:auto minmax(280px,1fr) auto;align-items:center;gap:30px}.brand{display:inline-flex;align-items:center;gap:12px;min-width:245px}.brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:12px 4px;color:var(--accent-ink);background:var(--accent);font-weight:900}.brand-copy{display:grid}.brand-copy strong{color:var(--navy);font-size:1.18rem;letter-spacing:-.02em}.brand-copy small{color:var(--muted);font-size:.75rem}.header-search{display:grid;grid-template-columns:1fr auto;border:1px solid #cdd5df;border-radius:8px;overflow:hidden;background:#fff}.header-search:focus-within{outline:3px solid rgba(217,163,43,.22);border-color:var(--accent)}.header-search input{width:100%;padding:12px 14px;border:0;outline:0;color:var(--ink)}.header-search button{border:0;padding:0 18px;color:var(--accent-ink);background:var(--accent);font-weight:800;cursor:pointer}.header-search button:hover{color:#fff;background:var(--accent-dark)}.header-actions{display:flex;align-items:center;gap:18px;color:var(--navy);font-weight:750;font-size:.9rem}.cart-link{display:flex;gap:8px;align-items:center}.cart-link>span:last-child{display:grid;place-items:center;min-width:25px;height:25px;padding:0 6px;border-radius:50px;color:var(--accent-ink);background:var(--accent);font-size:.75rem}.menu-toggle{display:none;border:0;background:transparent;color:var(--navy);font-weight:800}.main-navigation{background:var(--navy-soft);color:#fff}.nav-list{display:flex;align-items:center;gap:2px;padding:0;margin:0;list-style:none;overflow-x:auto;scrollbar-width:none}.nav-list a{display:block;padding:13px 12px;white-space:nowrap;font-size:.82rem;font-weight:700}.nav-list a:hover,.nav-list a:focus-visible{background:rgba(255,255,255,.12)}.nav-list .nav-highlight{color:var(--accent-ink);background:var(--accent)}
.hero{position:relative;overflow:hidden;color:#fff;background-color:#102a43;background-image:linear-gradient(90deg,rgba(7,25,41,.48) 0%,rgba(15,43,67,.34) 53%,rgba(10,30,48,.22) 100%),radial-gradient(circle at 78% 20%,rgba(217,163,43,.14),transparent 25%),url("/img/hero-modelismo-fondo-v2.webp");background-repeat:no-repeat;background-size:cover;background-position:center}.hero::after{content:"";position:absolute;width:340px;height:340px;right:-80px;bottom:-190px;border:55px solid rgba(255,255,255,.07);border-radius:50%}.hero-inner{min-height:450px;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:60px;padding-block:70px;position:relative;z-index:1}.eyebrow{margin:0 0 14px;color:#f4d98a;font-size:.78rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.hero h1{max-width:700px;margin:0;font-size:clamp(2.5rem,6vw,4.7rem);line-height:.98;letter-spacing:-.055em;text-shadow:0 3px 22px rgba(3,15,25,.3)}.hero-copy>p:not(.eyebrow){max-width:630px;margin:22px 0 0;color:#dbe7f0;font-size:1.08rem}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:0 20px;border-radius:7px;background:var(--accent);color:var(--accent-ink);font-weight:850}.button:hover{color:#fff;background:var(--accent-dark)}.button.secondary{color:#fff;background:transparent;border:1px solid rgba(255,255,255,.45)}.button.secondary:hover{background:rgba(255,255,255,.1)}.hero-panel{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:rgba(255,255,255,.08);backdrop-filter:blur(10px)}.hero-stat{padding:22px;border-radius:12px;background:rgba(9,30,48,.55)}.hero-stat strong{display:block;color:#fff;font-size:1.9rem}.hero-stat span{color:#c9d8e4;font-size:.8rem}
.hero-visual{position:relative;width:100%;aspect-ratio:1;align-self:center;overflow:hidden;border:1px solid rgba(255,255,255,.2);border-radius:22px;background:#102a43;box-shadow:0 24px 55px rgba(5,20,32,.28);isolation:isolate}.hero-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,42,67,.18),transparent 26%),linear-gradient(0deg,rgba(7,24,38,.16),transparent 32%);pointer-events:none}.hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center}
.trust-strip{background:var(--paper);border-bottom:1px solid var(--line)}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}.trust-item{padding:24px;border-right:1px solid var(--line)}.trust-item:first-child{padding-left:0}.trust-item:last-child{border-right:0}.trust-item strong{display:block;color:var(--navy)}.trust-item span{color:var(--muted);font-size:.85rem}
.shop-layout{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:start;gap:22px;padding-block:24px 0}.shop-content{min-width:0;overflow:hidden;border-radius:14px 14px 0 0}.shop-content .shell{width:100%;padding-inline:30px}.shop-content .hero-inner{padding-block:58px}.shop-content .hero h1{font-size:clamp(2.35rem,5vw,4rem)}.shop-content .hero-copy>p:not(.eyebrow){font-size:1rem}.shop-content .hero-panel{grid-template-columns:1fr 1fr}.shop-content .trust-item{padding:20px 15px}.shop-content .trust-item:first-child{padding-left:30px}.shop-content .trust-item:last-child{padding-right:30px}.shop-content .category-grid,.shop-content .product-grid{grid-template-columns:repeat(3,1fr)}
.category-sidebar{position:sticky;top:16px;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:0 8px 28px rgba(16,42,67,.07)}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;color:#fff;background:var(--navy-soft);font-size:1rem;text-transform:uppercase;letter-spacing:.04em}.sidebar-close{display:none;border:0;color:#fff;background:transparent;font-size:1.8rem;line-height:1;cursor:pointer}.sidebar-list{padding:7px 0;margin:0;list-style:none}.sidebar-list li+li{border-top:1px solid #edf0f3}.sidebar-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;color:#344054;font-size:.82rem;font-weight:700}.sidebar-list a:hover,.sidebar-list a:focus-visible{color:var(--accent-dark);background:#fff9e8}.sidebar-list small{display:grid;place-items:center;min-width:28px;height:21px;padding:0 6px;border-radius:20px;color:var(--muted);background:#edf1f5;font-size:.67rem}.sidebar-help{padding:16px;border-top:1px solid var(--line);background:#f7f9fb}.sidebar-help strong{color:var(--navy);font-size:.84rem}.sidebar-help p{margin:4px 0 0;color:var(--muted);font-size:.76rem}
.section{padding:72px 0}.section.alt{background:var(--paper)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:28px}.section-heading h2{margin:0;color:var(--navy);font-size:clamp(1.8rem,3vw,2.55rem);letter-spacing:-.035em}.section-heading p{max-width:590px;margin:8px 0 0;color:var(--muted)}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category-card{min-height:185px;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,#fff 0%,#eef2f5 100%);box-shadow:0 8px 24px rgba(16,42,67,.05);transition:transform .2s ease,border-color .2s ease}.category-card:hover{transform:translateY(-4px);border-color:#aebbc8}.category-card::before{content:"";width:36px;height:6px;margin-bottom:auto;border-radius:20px;background:var(--accent)}.category-card strong{color:var(--navy);font-size:1.15rem}.category-card span{margin-top:4px;color:var(--muted);font-size:.82rem}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--paper);box-shadow:0 7px 22px rgba(16,42,67,.06)}.product-image{aspect-ratio:1/.78;display:grid;place-items:center;padding:16px;background:#f5f7f9}.product-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.product-placeholder{color:#9aa6b2;font-weight:800}.product-info{padding:18px}.product-sku{margin:0 0 8px;color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.product-info h3{min-height:3em;margin:0;color:var(--navy);font-size:.98rem;line-height:1.45}.product-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.product-price{font-size:1.18rem;font-weight:900}.stock{color:var(--success);font-size:.75rem;font-weight:850}.stock.out{color:var(--muted)}.search-notice{margin-bottom:28px;padding:16px 18px;border-radius:8px;color:var(--navy);background:var(--sand)}.empty-state{padding:36px;border:1px dashed #b9c3ce;border-radius:12px;text-align:center;color:var(--muted)}
.category-card{position:relative;overflow:hidden}
.category-card.has-icon{display:grid;grid-template-columns:minmax(0,1fr) 104px;align-items:end;gap:18px}
.category-card.has-icon::before{position:absolute;top:24px;left:24px;margin:0}
.category-card-icon{grid-column:2;grid-row:1;width:104px;height:104px;display:grid;place-items:center;align-self:center;justify-self:end;margin:0!important;position:relative;z-index:1}
.category-card-icon img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 10px rgba(16,42,67,.13))}
.category-card-copy{display:grid;margin-top:16px!important;position:relative;z-index:1}
.category-card.has-icon .category-card-copy{grid-column:1;grid-row:1;align-self:end;margin:42px 0 0!important}
.category-card-copy>span{margin-top:4px}
.category-card.has-icon::after{content:"";position:absolute;top:-48px;right:-48px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(217,163,43,.12),transparent 68%);pointer-events:none}

.dollhouse-category-icon svg{
    width:92px;
    height:92px;
    filter:drop-shadow(0 7px 10px rgba(16,42,67,.13));
}

.dollhouse-icon-roof{
    fill:var(--navy-soft);
}

.dollhouse-icon-front{
    fill:#fff;
    stroke:var(--navy-soft);
    stroke-width:3;
}

.dollhouse-icon-line{
    fill:none;
    stroke:var(--accent-dark);
    stroke-width:3;
    stroke-linejoin:round;
}

@media(max-width:620px){
    .shop-content .category-grid{grid-template-columns:1fr}
    .category-card.has-icon{grid-template-columns:minmax(0,1fr) 92px}
    .category-card-icon{width:92px;height:92px}
}

/* Logotipo principal */
.brand{
    min-width:245px;
    justify-content:flex-start;
}

.brand-logo{
    flex:0 0 auto;
    width:54px;
    height:54px;
    object-fit:contain;
}

@media(max-width:620px){
    .brand-logo{
        width:42px;
        height:42px;
    }
}
.site-footer{padding:58px 0 30px;color:#d3e0e9;background:#0b2235}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.15fr;gap:45px}.footer-grid h2,.footer-brand{margin:0 0 14px;color:#fff;font-size:1rem;font-weight:850}.footer-grid p{margin:0;color:#adbfcc;font-size:.88rem}.footer-company-details{margin:18px 0 0;color:#adbfcc;font-size:.78rem;font-style:normal;line-height:1.6}.footer-company-details strong{color:#d3e0e9;font-weight:750}.footer-grid .footer-tax-note{margin-top:14px;color:#91a8b8;font-size:.76rem;line-height:1.45}.footer-grid ul{padding:0;margin:0;list-style:none}.footer-grid li+li{margin-top:8px}.footer-grid a{color:#c8d7e2;font-size:.86rem}.footer-grid a:hover{color:#fff}
@media(max-width:980px){.header-main{grid-template-columns:auto 1fr auto;gap:15px}.menu-toggle{display:grid;justify-items:center;font-size:.72rem}.menu-toggle span:first-child{font-size:1.35rem}.header-search{grid-column:1/-1;grid-row:2;margin-bottom:18px}.header-actions>a:first-child{display:none}.nav-list{padding:0}.nav-list a{padding:11px 12px}.shop-layout{display:block;width:100%;padding-top:0}.shop-content{border-radius:0}.shop-content .shell{width:min(100% - 32px,1180px);padding-inline:0}.category-sidebar{position:fixed;top:0;left:0;bottom:0;z-index:1000;width:min(330px,88vw);border:0;border-radius:0;overflow-y:auto;transform:translateX(-105%);transition:transform .22s ease}.category-sidebar.is-open{transform:translateX(0);box-shadow:20px 0 60px rgba(8,25,39,.25)}.sidebar-close{display:block}.sidebar-open::after{content:"";position:fixed;inset:0;z-index:999;background:rgba(8,25,39,.48)}.hero-inner{grid-template-columns:1fr}.hero-panel,.hero-visual{max-width:600px}.trust-grid{grid-template-columns:1fr 1fr}.trust-item:nth-child(2){border-right:0}.trust-item:nth-child(-n+2){border-bottom:1px solid var(--line)}.category-grid,.product-grid,.shop-content .category-grid,.shop-content .product-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.shell{width:min(100% - 22px,1180px)}.utility-inner p:last-child{display:none}.header-main{min-height:78px}.brand{min-width:0}.brand-mark{width:40px;height:40px}.brand-copy strong{font-size:.94rem}.brand-copy small{display:none}.header-actions{font-size:.78rem}.cart-label{display:none}.cart-link{display:grid;justify-items:center;gap:1px}.cart-link>span:last-child{min-width:20px;height:20px}.hero-inner{min-height:auto;padding-block:52px;gap:36px}.hero h1{font-size:2.55rem}.hero-panel{padding:10px}.hero-stat{padding:16px}.hero-stat strong{font-size:1.45rem}.trust-grid{grid-template-columns:1fr}.trust-item,.trust-item:first-child{padding:17px 0;border-right:0;border-bottom:1px solid var(--line)}.section{padding:52px 0}.section-heading{align-items:start;flex-direction:column;gap:10px}.category-grid,.product-grid{grid-template-columns:1fr}.category-card{min-height:145px}.footer-grid{grid-template-columns:1fr;gap:30px}.footer-bottom{flex-direction:column}}

/* Fondo temático del encabezado */
.header-main{
    min-height:118px;
    grid-template-columns:auto minmax(280px,1fr);
    background-image:
        linear-gradient(90deg,rgba(255,255,255,.38),rgba(255,255,255,.72) 30%,rgba(255,255,255,.78) 70%,rgba(255,255,255,.38)),
        url("/img/header-modelismo-v1.webp");
    background-repeat:no-repeat;
    background-size:100% 100%,100% auto;
    background-position:center,center 66%;
}

.brand{
    padding:10px 13px 10px 10px;
    border:1px solid rgba(16,42,67,.12);
    border-radius:12px;
    background:rgba(255,255,255,.9);
    box-shadow:0 6px 20px rgba(16,42,67,.1);
    backdrop-filter:blur(5px);
}

.navigation-inner{
    display:flex;
    align-items:stretch;
    justify-content:space-between;
    gap:20px;
}

.nav-actions{
    display:flex;
    align-items:stretch;
    margin-left:auto;
    flex-shrink:0;
    font-size:.84rem;
    font-weight:800;
}

.nav-actions>a{
    display:flex;
    align-items:center;
    padding:0 15px;
    white-space:nowrap;
}

.nav-actions>a:hover,
.nav-actions>a:focus-visible{
    background:rgba(255,255,255,.12);
}

.nav-contact{
    gap:7px;
}

.nav-menu-icon{
    display:block;
    width:18px;
    height:18px;
    flex:0 0 auto;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
    opacity:.92;
}

.nav-whatsapp{
    display:none!important;
    gap:7px;
}

.nav-whatsapp-static{
    display:flex;
    align-items:center;
    gap:7px;
    padding:0 15px;
    white-space:nowrap;
}

.whatsapp-icon{
    display:block;
    width:19px;
    height:19px;
    flex:0 0 auto;
    color:#25d366;
}

.nav-whatsapp:hover .whatsapp-icon,
.nav-whatsapp:focus-visible .whatsapp-icon{
    color:#49e27e;
}

.nav-cart{
    gap:8px;
    background:rgba(7,28,45,.35);
}

.nav-cart strong{
    display:grid;
    place-items:center;
    min-width:24px;
    height:24px;
    padding:0 6px;
    border-radius:30px;
    color:var(--accent-ink);
    background:var(--accent);
    font-size:.72rem;
}

@media(max-width:620px){
    .header-main{
        min-height:94px;
        background-image:
            linear-gradient(rgba(255,255,255,.84),rgba(255,255,255,.84)),
            url("/img/header-modelismo-v1.webp");
        background-size:100% 100%,auto 100%;
        background-position:center;
    }

    .brand{
        padding:6px;
    }

    .navigation-inner{
        width:100%;
        gap:0;
    }

    .nav-list{
        flex:1;
    }

    .nav-list li:not(:first-child){
        display:none;
    }

    .nav-actions>a{
        padding:0 10px;
        font-size:.76rem;
    }

    .nav-actions .nav-whatsapp{
        display:flex!important;
        order:-1;
    }

    .nav-whatsapp-static{
        display:none;
    }

    .nav-whatsapp span{
        display:none;
    }
}

@media(max-width:420px){
    .nav-contact span,
    .nav-cart>span{
        display:none;
    }

    .nav-actions>a{
        padding-inline:9px;
    }
}

.product-title-link{
    color:inherit;
    text-decoration:none;
}

.product-title-link:hover,
.product-title-link:focus-visible{
    color:var(--accent-dark);
    text-decoration:underline;
    text-underline-offset:3px;
}

.add-cart-button{
    width:100%;
    margin-top:15px;
    padding:11px 14px;
    border:0;
    border-radius:7px;
    color:var(--accent-ink);
    background:var(--accent);
    box-shadow:0 5px 14px rgba(217,163,43,.24);
    font-weight:850;
    cursor:pointer;
}

.add-cart-button:hover,
.add-cart-button:focus-visible{
    color:#fff;
    background:var(--accent-dark);
}

.add-cart-button:disabled{
    color:#667085;
    background:#e4e7ec;
    box-shadow:none;
    cursor:not-allowed;
}

.add-cart-button:disabled:hover,
.add-cart-button:disabled:focus-visible{
    color:#667085;
    background:#e4e7ec;
}

.product-buy-row{
    display:grid;
    grid-template-columns:112px minmax(0,1fr);
    align-items:stretch;
    gap:10px;
    margin-top:15px;
}

.product-buy-row .add-cart-button{
    min-width:0;
    margin-top:0;
}

.quantity-selector{
    display:grid;
    grid-template-columns:34px minmax(42px,1fr) 34px;
    min-height:44px;
    overflow:hidden;
    border:1px solid #c9d1da;
    border-radius:7px;
    background:#fff;
}

.quantity-button,
.quantity-input{
    min-width:0;
    border:0;
    color:var(--navy);
    background:#fff;
    font:inherit;
}

.quantity-button{
    display:grid;
    place-items:center;
    padding:0;
    background:#f2f4f7;
    font-size:1.2rem;
    font-weight:850;
    cursor:pointer;
}

.quantity-button:hover,
.quantity-button:focus-visible{
    color:var(--accent-ink);
    background:var(--accent);
}

.quantity-button:disabled{
    color:#98a2b3;
    background:#f2f4f7;
    cursor:not-allowed;
}

.quantity-input{
    width:100%;
    padding:0 3px;
    border-right:1px solid #d8dee5;
    border-left:1px solid #d8dee5;
    border-radius:0;
    text-align:center;
    font-weight:850;
    appearance:textfield;
    -moz-appearance:textfield;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button{
    margin:0;
    appearance:none;
    -webkit-appearance:none;
}

.quantity-input:focus{
    position:relative;
    z-index:1;
    outline:2px solid var(--accent);
    outline-offset:-2px;
}

.product-card.is-offer{
    border-color:#e7bd58;
    box-shadow:0 9px 26px rgba(180,120,13,.13);
}

.product-card.is-offer .product-image{
    background:#fffbf0;
}

.product-image{
    position:relative;
}

.offer-badge{
    position:absolute;
    top:12px;
    left:12px;
    z-index:1;
    padding:5px 9px;
    border-radius:999px;
    color:#fff;
    background:#b54708;
    box-shadow:0 3px 9px rgba(181,71,8,.18);
    font-size:.68rem;
    font-weight:900;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.product-price-wrap{
    display:grid;
    line-height:1.05;
}

.product-price-tax-note{
    display:block;
    margin-top:4px;
    color:var(--muted);
    font-size:.64rem;
    font-weight:500;
    line-height:1.25;
}

.product-price-before{
    color:#8b95a1;
    font-size:.76rem;
    font-weight:700;
    text-decoration:line-through;
}

.product-price.offer-price,
.detail-price.offer-price{
    color:#b54708;
}

@media(min-width:981px){
    .category-sidebar{
        position:static;
        top:auto;
    }
}

.category-content{
    padding:28px 30px 64px;
    background:var(--paper);
    border-radius:14px;
}

.breadcrumbs{
    display:flex;
    align-items:center;
    gap:9px;
    margin-bottom:24px;
    color:var(--muted);
    font-size:.78rem;
}

.breadcrumbs a{
    color:var(--accent-dark);
    font-weight:800;
}

/* Catálogo jerárquico */
.sidebar-tree>.sidebar-list{
    padding:7px 0;
}

.sidebar-list .sidebar-list{
    padding:0;
}

.sidebar-node details{
    background:#fff;
}

.sidebar-node summary{
    position:relative;
    display:flex;
    align-items:center;
    min-height:62px;
    padding:0 44px 0 0;
    color:#344054;
    font-size:.96rem;
    font-weight:800;
    cursor:pointer;
    list-style:none;
}

.sidebar-node summary::-webkit-details-marker{
    display:none;
}

.sidebar-node summary::after{
    content:"›";
    position:absolute;
    right:14px;
    top:50%;
    color:var(--accent-dark);
    font-size:1.65rem;
    font-weight:900;
    transform:translateY(-52%) rotate(0);
    transition:transform .18s ease;
}

.sidebar-node details[open]>summary{
    color:var(--navy);
    background:#fff9e8;
}

.sidebar-node details[open]>summary::after{
    transform:translateY(-52%) rotate(90deg);
}

.sidebar-node summary:hover,
.sidebar-node summary:focus-visible{
    color:var(--accent-dark);
    background:#fff9e8;
}

.sidebar-branch{
    margin:0 8px 9px 14px;
    border-left:2px solid #ead69d;
}

.sidebar-list .sidebar-parent-link,
.sidebar-list .sidebar-leaf-link{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:3px;
    width:100%;
    color:#344054;
    font-size:1rem;
    line-height:1.28;
}

.sidebar-list .sidebar-parent-link{
    min-height:62px;
    padding:11px 8px 11px 14px;
}

.sidebar-list .sidebar-leaf-link{
    min-height:54px;
    padding:9px 14px;
}

.sidebar-list .sidebar-parent-link small,
.sidebar-list .sidebar-leaf-link small{
    display:block;
    min-width:0;
    height:auto;
    padding:0;
    color:var(--muted);
    background:transparent;
    font-size:.72rem;
    font-weight:650;
}

.sidebar-level-1 .sidebar-parent-link,
.sidebar-level-1 .sidebar-leaf-link{
    padding-left:12px;
    font-size:.94rem;
}

.sidebar-level-2 .sidebar-parent-link,
.sidebar-level-2 .sidebar-leaf-link{
    padding-left:20px;
    font-size:.88rem;
}

.sidebar-level-1 summary::after,
.sidebar-level-2 summary::after{
    font-size:1.5rem;
}

.sidebar-list a.active{
    color:var(--accent-ink);
    background:var(--accent);
}

.sidebar-list a.active small{
    color:var(--accent-ink);
    opacity:.82;
}

/* Selector de idioma */
.language-switcher{
    position:relative;
    display:flex;
    align-items:stretch;
}
.language-switcher summary{
    display:flex;
    align-items:center;
    min-width:48px;
    padding:0 13px;
    cursor:pointer;
    list-style:none;
    color:#fff;
    background:rgba(255,255,255,.1);
}
.language-switcher summary::-webkit-details-marker{display:none}
.language-switcher summary::after{
    content:"▾";
    margin-left:6px;
    font-size:.7rem;
}
.language-switcher[open] summary,
.language-switcher summary:hover{background:rgba(255,255,255,.18)}
.language-menu{
    position:absolute;
    top:calc(100% + 6px);
    right:0;
    z-index:1100;
    min-width:150px;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:8px;
    background:#fff;
    box-shadow:0 14px 36px rgba(8,25,39,.22);
}
.language-menu a{
    display:block;
    padding:10px 14px;
    color:var(--navy);
    white-space:nowrap;
}
.language-menu a:hover,
.language-menu a.active{
    color:var(--navy);
    background:var(--sand);
}

.search-results-section{
    min-height:560px;
    padding-top:34px;
}

.search-results-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:28px;
    padding:16px 18px;
    border-radius:8px;
    color:var(--navy);
    background:var(--sand);
}
.search-results-meta .search-notice,
.search-page-status{
    margin:0;
}
.search-page-status{
    flex:none;
    color:var(--muted);
    font-size:.82rem;
    font-weight:800;
}
.search-pagination{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:7px;
    margin-top:38px;
}
.search-pagination a{
    display:grid;
    place-items:center;
    min-width:38px;
    height:38px;
    padding:0 12px;
    border:1px solid var(--line);
    border-radius:7px;
    color:var(--navy);
    background:#fff;
    font-size:.82rem;
    font-weight:800;
}
.search-pagination a:hover,
.search-pagination a.active{
    color:var(--accent-ink);
    border-color:var(--accent);
    background:var(--accent);
}

@media(max-width:620px){
    .search-results-meta{
        align-items:flex-start;
        flex-direction:column;
        gap:6px;
    }
}

.footer-cookie-settings{
    padding:0;
    border:0;
    color:inherit;
    background:transparent;
    font:inherit;
    cursor:pointer;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible{
    color:#fff;
    text-decoration:underline;
}

.cookie-banner{
    position:fixed;
    right:20px;
    bottom:20px;
    left:20px;
    z-index:3000;
    max-width:1180px;
    margin:auto;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.18);
    border-radius:14px;
    color:#fff;
    background:#102a43;
    box-shadow:0 24px 70px rgba(8,25,39,.34);
}

.cookie-banner[hidden]{
    display:none;
}

.cookie-banner-main{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:28px;
    padding:22px 24px;
}

.cookie-banner-copy strong{
    display:block;
    margin-bottom:6px;
    font-size:1rem;
}

.cookie-banner-copy p{
    max-width:760px;
    margin:0 0 7px;
    color:#d9e4ed;
    font-size:.78rem;
    line-height:1.55;
}

.cookie-banner-copy a{
    color:#f1cc69;
    font-size:.72rem;
    font-weight:800;
    text-decoration:underline;
}

.cookie-banner-actions,
.cookie-preference-actions{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}

.cookie-button{
    min-height:40px;
    padding:0 15px;
    border-radius:7px;
    font:inherit;
    font-size:.76rem;
    font-weight:850;
    cursor:pointer;
}

.cookie-button-primary{
    border:1px solid var(--accent);
    color:var(--navy);
    background:var(--accent);
}

.cookie-button-secondary{
    border:1px solid rgba(255,255,255,.5);
    color:#fff;
    background:transparent;
}

.cookie-preferences{
    padding:0 24px 22px;
    border-top:1px solid rgba(255,255,255,.15);
}

.cookie-preferences[hidden]{
    display:none;
}

.cookie-preference-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:20px;
    padding:15px 0;
    border-bottom:1px solid rgba(255,255,255,.12);
}

.cookie-preference-row span:first-child{
    display:grid;
    gap:4px;
}

.cookie-preference-row strong{
    font-size:.8rem;
}

.cookie-preference-row small{
    color:#cbd9e4;
    font-size:.7rem;
    line-height:1.45;
}

.cookie-preference-row input{
    width:20px;
    height:20px;
    accent-color:var(--accent);
}

.cookie-always-active{
    color:#f1cc69;
    font-size:.7rem;
    font-weight:850;
}

.cookie-preference-actions{
    justify-content:flex-end;
    padding-top:16px;
}

@media(max-width:700px){
.cookie-banner{
        right:10px;
        bottom:10px;
        left:10px;
        max-height:calc(100vh - 20px);
        overflow-y:auto;
    }

    .cookie-banner-main{
        grid-template-columns:1fr;
        gap:17px;
        padding:19px;
    }

    .cookie-banner-actions{
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .cookie-banner-actions .cookie-button-primary{
        grid-column:1 / -1;
        grid-row:1;
    }

    .cookie-preferences{
        padding:0 19px 19px;
    }
}

/* Tipografía específica del menú principal del encabezado. */
.main-navigation{
    font-family:"Trebuchet MS",Verdana,sans-serif;
    letter-spacing:.01em;
}

.main-navigation .nav-list a,
.main-navigation .nav-actions{
    font-size:.88rem;
}


@media(max-width:620px){
    .shop-content .category-grid,
    .shop-content .product-grid{grid-template-columns:1fr}
}
