.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #211a18;outline-offset:3px;box-shadow:0 0 0 6px #fff}
.icon-button,.mobile-menu-toggle,.cart-button,.quick-add,.drawer-head button,.dialog-close,.quantity-control button{min-width:44px;min-height:44px}
.cart-drawer{transform:translateX(100%)}
.cart-drawer.open{transform:none}
.mobile-menu-toggle{display:none;border:0;background:transparent;width:44px;height:44px;padding:10px;border-radius:50%}
.mobile-menu-toggle span:not(.sr-only){display:block;width:23px;height:2px;margin:4px auto;background:currentColor;transition:.2s}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.mobile-nav{position:fixed;inset:var(--overlay-top,78px) 0 auto;z-index:48;max-height:calc(100dvh - var(--overlay-top,78px));overflow:auto;background:var(--cream);border-bottom:1px solid var(--line);box-shadow:var(--shadow);padding:1rem}
.mobile-nav[hidden]{display:none}
.mobile-nav a{display:flex;align-items:center;min-height:48px;color:var(--ink);text-decoration:none;font-weight:700;border-bottom:1px solid var(--line)}
.hero-media>picture,.hero-media>picture>img{display:block;width:100%;height:100%}
.hero-media>picture>img{object-fit:cover}
.category-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.category-card{color:#fff;text-decoration:none}
.category-bath{background-image:url('/assets/products/set-bano-cortina-tapete-3-piezas.jpg')}
.category-living{background-image:url('/assets/products/alfombra-3d-160x200.jpg')}
.category-window{background-image:url('/assets/products/cortina-blackout-panel-135x229.jpg')}
.category-tech{background-image:url('/assets/products/lampara-led-moderna-piso.jpg')}
.catalog-tools{align-items:flex-start;min-width:0;max-width:100%}
.catalog-selectors{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.65rem}
.catalog-selectors label{font-size:.7rem;color:var(--muted);font-weight:700}
.catalog-selectors select{display:block;min-height:42px;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:.6rem;padding:.5rem 2rem .5rem .65rem;margin-top:.25rem}
.filter-pills{width:100%;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden}
.filter-pills :is(button,a){display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;border:1px solid var(--line);background:transparent;color:var(--ink);padding:.55rem .9rem;border-radius:999px;font-size:.82rem;text-decoration:none;cursor:pointer}
.filter-pills :is(button,a).active{background:var(--ink);color:#fff;border-color:var(--ink)}
.product-card{position:relative}
.product-media{display:block;color:inherit;text-decoration:none}
.product-media picture,.product-media picture img{display:block;width:100%;height:100%}
.product-media picture img{object-fit:cover}
.product-card>.quick-add{position:absolute;right:.7rem;top:.7rem;bottom:auto;z-index:2}
.quick-add:disabled,.button:disabled{cursor:not-allowed;opacity:.55;transform:none}
.product-info h3 a{color:inherit;text-decoration:none}
.product-price small.in-stock{color:var(--green)}
.product-price small.out-of-stock{color:#9b2626;font-weight:700}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;font-size:.8rem;color:var(--muted);margin-bottom:2rem}
.breadcrumbs a{color:var(--wine);font-weight:700;text-decoration:none}
.category-route{padding:clamp(2rem,5vw,4rem) clamp(1rem,7vw,7.5rem) 7rem}
.category-route-header{max-width:820px;margin:1rem 0 3rem}
.category-route-header h1{font:700 clamp(3.5rem,8vw,7.5rem)/.88 var(--serif);letter-spacing:-.065em;margin:.3rem 0 1.2rem}
.category-route-header p{color:var(--muted);font-size:1.08rem;max-width:660px}
.category-route-header>strong{display:inline-block;margin-top:.8rem;color:var(--wine)}
.category-catalog{padding:2rem 0 0;background:transparent}
.standalone-product{padding:clamp(2rem,5vw,4rem) clamp(1rem,7vw,7.5rem) 7rem}
.standalone-product-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:clamp(2rem,6vw,6rem);align-items:start}
.standalone-product-media{position:sticky;top:105px;min-width:0}
.standalone-product-media>div:first-child{background:var(--cream);border-radius:1.2rem;overflow:hidden;aspect-ratio:1/1}
.standalone-product-media>div:first-child picture,.standalone-product-media>div:first-child img{display:block;width:100%;height:100%}
.standalone-product-media>div:first-child img{object-fit:cover}
.product-gallery-thumbs{display:flex;gap:.55rem;margin-top:.75rem;overflow:auto;padding:.25rem}
.product-gallery-thumbs button{width:72px;height:72px;flex:none;border:2px solid transparent;border-radius:.65rem;padding:0;overflow:hidden;background:var(--cream)}
.product-gallery-thumbs button.active{border-color:var(--wine)}
.product-gallery-thumbs picture,.product-gallery-thumbs img{display:block;width:100%;height:100%;object-fit:cover}
.product-selected-model{display:flex;flex-direction:column;gap:.2rem;margin:1rem 0;padding:.8rem 1rem;border-left:3px solid var(--wine);background:rgba(111,29,55,.05)}
.product-selected-model span{color:var(--muted);font-size:.68rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.product-selected-model strong{font-size:1rem}
.standalone-product-copy h1{font:700 clamp(3rem,6vw,6rem)/.9 var(--serif);letter-spacing:-.06em;margin:.3rem 0 1.2rem}
.standalone-product-copy .detail-price{font-size:clamp(1.5rem,2.5vw,2rem)}
.product-facts h2,.benefit-block h2{font:700 1.25rem var(--serif);margin:0}
.standalone-product-copy .benefit-block{margin:1.3rem 0}
.standalone-product-copy .benefit-list{margin-top:.8rem}
.standalone-product-copy>.button{width:100%;min-height:52px}
.assisted-purchase{font-size:.78rem;color:var(--muted);line-height:1.55}
.related-products{margin-top:clamp(5rem,9vw,9rem);padding-top:clamp(3rem,6vw,6rem);border-top:1px solid var(--line)}
.related-products .section-intro h2{font-size:clamp(2.4rem,4vw,4rem)}
.availability-note.in-stock::before{background:var(--green)}
.availability-note.out-of-stock::before{background:#9b2626}
.checkout-step{border:0;padding:0;margin:0;min-width:0}
.checkout-layout,.checkout-layout>*{min-width:0}
.checkout-step legend{padding:0}
.checkout-step[hidden]{display:none}
.checkout-progress{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin:0 3rem 1.5rem 0}
.checkout-progress span{border-bottom:3px solid var(--line);padding:.65rem 0;color:var(--muted);font-size:.75rem;font-weight:800}
.checkout-progress span.active{border-color:var(--wine);color:var(--wine)}
.checkout-payment-summary{margin:-.7rem 3rem 1rem 0;color:var(--muted);font-size:.73rem;line-height:1.45}
.optional-fields{border:1px solid var(--line);border-radius:.7rem;margin:1rem 0;padding:.8rem}
.optional-fields summary{cursor:pointer;font-weight:750;font-size:.82rem}
.optional-fields .form-grid{margin-bottom:.7rem}
.terms-check{display:flex;align-items:flex-start;gap:.55rem;line-height:1.45;margin-top:1rem}
.terms-check input{margin-top:.18rem;flex:none}
.terms-check a{color:var(--wine)}
.checkout-actions{display:grid;grid-template-columns:auto 1fr;gap:.7rem;margin-top:1rem}
.checkout-actions .button{min-height:50px}
.payment-choice{border:0;padding:0;margin:1.4rem 0;min-width:0}
.payment-choice>legend{font:700 1.15rem var(--serif);padding:0;margin:0}
.payment-choice-intro{margin:.25rem 0 .8rem;color:var(--muted);font-size:.8rem}
.payment-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.payment-option{position:relative;display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:.65rem;min-width:0;min-height:90px;padding:.85rem;border:1px solid var(--line);border-radius:.8rem;background:#fff;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.payment-option:hover{transform:translateY(-1px);border-color:#b99688}
.payment-option:has(input:checked){border-color:var(--wine);box-shadow:0 0 0 2px rgba(111,29,55,.12)}
.payment-option:has(input:focus-visible){outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #6f1d37}
.payment-option>input{width:18px;height:18px;margin:0;accent-color:var(--wine)}
.payment-option-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--paper);color:var(--wine);font-size:.7rem;font-weight:850}
.payment-option strong,.payment-option small{display:block}
.payment-option strong{font-size:.8rem;line-height:1.25}
.payment-option small{margin-top:.2rem;color:var(--muted);font-size:.68rem;line-height:1.35;font-weight:400}
.payment-option-disabled{opacity:.58;cursor:not-allowed;background:#f5f1eb}
.payment-option-disabled:hover{transform:none;border-color:var(--line)}
.payment-availability{min-height:1.4em;margin:.65rem 0 0;color:var(--muted);font-size:.73rem;line-height:1.45}
.button-checkout-primary{min-height:54px;background:#1f7a4d;color:#fff;box-shadow:0 8px 22px rgba(31,122,77,.2)}
.button-checkout-primary:hover{background:#145c3a}
.button-checkout-primary:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #123f2b}
.button-checkout-primary:disabled{background:#1f7a4d;opacity:.58;cursor:wait;transform:none}
footer{grid-template-columns:1.35fr .8fr .95fr 1fr 1.1fr}
.footer-contact{grid-column:auto}
.search-overlay{inset-block-start:var(--overlay-top,78px)}

@media(max-width:1100px){.category-cards{grid-template-columns:repeat(3,minmax(0,1fr))}footer{grid-template-columns:1.3fr 1fr 1fr}.footer-contact{grid-column:auto}.standalone-product-grid{gap:2.5rem}}
@media(max-width:980px){.mobile-menu-toggle{display:block}.site-header #primaryNav{display:none}.standalone-product-grid{grid-template-columns:1fr}.standalone-product-media{position:static}.catalog-tools{flex-direction:column}.catalog-selectors{justify-content:flex-start;width:100%}}
@media(max-width:700px){.header-actions{gap:.2rem}.cart-button{min-height:44px}.checkout-dialog{width:100%;height:100dvh;max-width:100%;max-height:none;margin:0}.category-cards{grid-template-columns:1fr 1fr}.category-card{min-height:210px}.category-route,.standalone-product{padding:2rem 1rem 5rem}.category-route-header h1{font-size:clamp(3.2rem,15vw,5.5rem)}.catalog-selectors{display:grid;grid-template-columns:1fr 1fr}.catalog-selectors label,.catalog-selectors select{width:100%}.standalone-product-copy h1{font-size:clamp(3rem,13vw,5rem)}.standalone-product-media>div:first-child{border-radius:.85rem}.related-products .product-grid{grid-template-columns:1fr 1fr}.checkout-progress{margin-right:2.5rem}.checkout-actions{grid-template-columns:1fr}.checkout-actions .button-outline{order:2}.payment-options{grid-template-columns:1fr}.payment-option{min-height:78px}.button-checkout-primary{width:100%;min-height:54px}footer{grid-template-columns:1fr 1fr}.footer-contact{grid-column:1/-1}.quick-add{width:44px;height:44px}}
@media(max-width:420px){.category-cards{grid-template-columns:1fr}.catalog-selectors{grid-template-columns:1fr}.related-products .product-grid{grid-template-columns:1fr}.checkout-progress{font-size:.68rem}.site-header .brand-name{font-size:1.25rem}.site-header .brand-logo{width:36px;height:36px}.cart-button{display:inline-grid;place-items:center;padding:.35rem;font-size:0}.cart-button span{margin-left:0;font-size:.73rem}}

/* Bolso de compra con contador accesible. */
.cart-button{position:relative;display:grid;place-items:center;width:48px;height:48px;padding:0;border-radius:50%}
.cart-bag-icon{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cart-button .cart-count-badge{position:absolute;top:-4px;right:-5px;display:grid;place-items:center;min-width:1.35rem;height:1.35rem;margin:0;padding:0 .24rem;border:2px solid var(--cream);border-radius:999px;background:var(--wine);color:#fff;font-size:.68rem;line-height:1}
.cart-button .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* El checkout es un formulario continuo con una sola acción final. */
.checkout-section{padding:1rem 0;border-top:1px solid var(--line)}
.checkout-section h3{margin:0;font:700 1.25rem var(--serif)}
.checkout-section>p{margin:.35rem 0;color:var(--muted);font-size:.82rem;line-height:1.5}
.checkout-section .form-grid{margin:.9rem 0}
.checkout-actions{display:block;margin-top:1rem}
.checkout-actions .button-checkout-primary{width:100%;min-height:54px}
.checkout-summary-compact{display:none}
.checkout-summary-compact-head,.checkout-summary-compact-shipping{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.checkout-summary-compact-head .eyebrow{margin-bottom:.2rem}
.checkout-summary-compact-head small{display:block;color:var(--muted);font-size:.68rem}
.checkout-summary-compact-head>strong{color:var(--wine);font:750 1.35rem var(--serif);white-space:nowrap}
.checkout-summary-compact [data-checkout-compact-items]{max-height:8.2rem;overflow:auto;overscroll-behavior:contain}
.checkout-summary-compact-shipping{border-top:1px solid var(--line);padding-top:.65rem;font-size:.72rem}
.checkout-summary-compact-shipping strong{color:var(--green)}

/* Foto y video comparten las mismas dimensiones sin saltos visuales. */
.gallery-thumb-media{position:relative;display:block;width:100%;height:100%}
.product-gallery-thumbs video,.landing-gallery-thumbs video{display:block;width:100%;height:100%;object-fit:cover}
.gallery-play-mark{position:absolute;right:.28rem;bottom:.28rem;display:grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:50%;background:rgba(33,26,24,.82);color:#fff;font-size:.56rem;box-shadow:0 2px 7px rgba(0,0,0,.25)}
.gallery-main-video{position:relative;width:100%;height:100%;min-height:inherit;background:var(--paper)}
.gallery-main-video video{display:block;width:100%;height:100%;object-fit:contain}
.gallery-video-toggle{position:absolute;right:.75rem;bottom:.75rem;min-height:42px;padding:.58rem .85rem;border:1px solid rgba(255,255,255,.85);border-radius:999px;background:rgba(33,26,24,.86);color:#fff;font-size:.75rem;font-weight:800;box-shadow:0 5px 18px rgba(0,0,0,.2)}

@media(max-width:700px){.cart-button{width:44px;height:44px;min-height:44px}.checkout-layout{grid-template-columns:1fr;gap:1.25rem}.checkout-layout>.checkout-summary{display:none}.checkout-summary-compact{display:block;margin:.25rem 0 1rem;padding:.85rem;border:1px solid var(--line);border-radius:.85rem;background:var(--paper)}.checkout-payment-summary{margin-right:0}.checkout-summary-compact .checkout-summary-item{grid-template-columns:42px 1fr auto;padding:.55rem 0}.checkout-summary-compact .checkout-summary-item img{width:42px;height:48px}.checkout-section{padding:.85rem 0}.gallery-video-toggle{right:.5rem;bottom:.5rem}}
