/* Catalog controls and cards */
.catalog-intro { text-align: center; }
.catalog-intro .section-intro { max-width: 900px; }
.catalog-global-note { margin: .65rem 0 0; color: var(--text-secondary); font-size: .92rem; }
.catalog-global-note strong { color: var(--accent-gold); }
.catalog-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin: 1.7rem 0 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border-subtle); }
.filter-pills { display: flex; flex: 1 1 680px; flex-wrap: wrap; gap: .5rem; }
.filter-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .45rem .85rem; border: 1px solid var(--border-gold); border-radius: 999px; background: var(--bg-surface-2); color: var(--text-secondary); font-size: .88rem; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; }
.filter-pill:hover { border-color: var(--accent-gold-bright); color: var(--text-primary); transform: translateY(-1px); }
.filter-pill[aria-pressed="true"] { border: 1.5px solid var(--accent-gold); background: #5E1D2C; color: #FAF5F0; }
.filter-divider { width: 1px; height: 28px; background: var(--border-subtle); }
.size-pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.size-pill { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: .35rem .7rem; border: 1px solid var(--border-gold); border-radius: 999px; background: var(--bg-surface-2); color: var(--text-secondary); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.size-pill .icon { width: 17px; height: 17px; }
.size-token { display: inline-grid; width: 18px; height: 18px; place-items: center; border: 1px solid currentColor; border-radius: 5px; font-size: .58rem; }
.catalog-status-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 38px; margin: .3rem 0 1rem; color: var(--text-secondary); font-size: .82rem; }
.catalog-status-row [aria-live] { margin: 0; }
.reset-filter { min-height: 44px; padding: .4rem .5rem; border: 0; background: none; color: var(--accent-gold); font-size: .78rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.garment-card { display: flex; min-width: 0; flex-direction: column; contain: layout style; border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--bg-surface-1); box-shadow: var(--shadow-card); transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.garment-card:hover, .garment-card:focus-within { border-color: var(--border-gold); box-shadow: 0 20px 40px -10px rgba(0,0,0,.58); transform: translateY(-4px); }
.garment-photo-btn { position: relative; isolation: isolate; display: block; width: 100%; aspect-ratio: 4 / 4.6; overflow: hidden; padding: 0; border: 0; border-radius: 15px 15px 0 0; background: #1A1412; text-align: left; cursor: zoom-in; }
.garment-photo-btn > img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; transition: transform 300ms ease; }
.garment-photo-btn:hover > img, .garment-photo-btn:focus-visible > img { transform: scale(1.03); }
.garment-color-count { position: absolute; z-index: 2; top: .7rem; right: .7rem; padding: .28rem .55rem; border: 1px solid var(--accent-gold); border-radius: 999px; background: rgba(94,29,44,.92); color: #FAF5F0; font-size: .75rem; font-weight: 700; pointer-events: none; }
.garment-info { display: flex; flex: 1; flex-direction: column; padding: .8rem .85rem .9rem; }
.garment-info h3 { margin: 0; color: var(--text-primary); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.garment-info p { margin: .35rem 0 .7rem; color: var(--text-secondary); font-size: .85rem; line-height: 1.5; }
.garment-info > p:not(.selected-color) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.swatch-row { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem; margin-top: auto; }
.swatch { display: inline-grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; }
.swatch::before { width: 18px; height: 18px; border: 1.5px solid rgba(255,255,255,.56); border-radius: 50%; background: var(--swatch); content: ""; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.swatch[aria-pressed="true"] { border-color: var(--accent-gold-bright); }
.swatch[aria-pressed="true"]::before { width: 16px; height: 16px; }
.selected-color { min-height: 1.3rem; margin: .4rem 0 0 !important; color: var(--text-muted) !important; font-size: .82rem !important; }
.view-colors-link { display: inline-flex; align-items: center; gap: .3rem; align-self: flex-start; min-height: 36px; margin-top: .35rem; border: 0; padding: 0; background: none; color: var(--accent-gold); font-size: .86rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.view-colors-link:hover { color: var(--accent-gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.photo-fallback { display: inline-block; align-self: flex-start; margin-top: .5rem; color: var(--accent-gold); font-size: .7rem; }
.collection-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.3rem; padding: 1rem 1.15rem; border: 1px solid var(--border-subtle); border-radius: 14px; background: var(--bg-surface-2); }
.collection-summary p { margin: 0; color: var(--text-secondary); font-size: .86rem; }
.collection-summary .summary-contact { flex: 0 0 auto; }
.cta-copy strong:only-child { font-size: clamp(1rem, 1.3vw, 1.12rem); font-weight: 700; letter-spacing: .01em; line-height: 1.25; }
.collection-summary .summary-contact .cta-copy strong { font-size: 1rem; }
.collection-summary .summary-contact .cta-icon-wrap { width: 32px; height: 32px; }

/* How to buy and the benefits band */
.process-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,.7fr); align-items: end; gap: 2rem; }
.process-heading .section-title { max-width: 580px; }
.process-heading .section-intro { max-width: 450px; margin: 0; }
.process-subhead { display: flex; align-items: center; gap: .7rem; margin: 2.2rem 0 1rem; color: var(--text-primary); font-family: var(--font-serif); font-size: 1.45rem; }
.process-subhead::after { width: min(140px, 20vw); height: 1px; background: var(--accent-gold); content: ""; }
.process-subhead .icon { width: 28px; height: 28px; color: var(--accent-gold); }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step-card { position: relative; padding: 1.3rem 1.2rem 1.45rem; border: 1px solid var(--border-gold); border-radius: 16px; background: var(--bg-surface-1); box-shadow: var(--shadow-card); }
.step-card:not(:last-child)::after { position: absolute; top: 50%; right: -17px; z-index: 2; color: var(--accent-gold); font-size: 1.7rem; content: "›"; transform: translateY(-50%); }
.step-top { display: flex; align-items: center; gap: .7rem; margin-bottom: .85rem; }
.step-number { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--accent-gold); color: #1A1210; font-weight: 800; }
.step-top .icon { width: 34px; height: 34px; color: var(--accent-gold); }
.step-card h3 { margin: 0 0 .5rem; font-family: var(--font-serif); font-size: 1.16rem; line-height: 1.2; }
.step-card p { margin: 0; color: var(--text-secondary); font-size: .82rem; line-height: 1.5; }
.benefits-band { border-block: 1px solid var(--border-gold); background: var(--bg-surface-wine); }
.benefits-grid { display: grid; grid-template-columns: 1.12fr repeat(4, 1fr); max-width: 1360px; margin-inline: auto; padding: 1.65rem clamp(1rem, 2.5vw, 2.25rem); }
.benefit-lead, .benefit-item { padding: .55rem 1rem; }
.benefit-lead { display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(229,193,154,.25); }
.benefit-lead .section-kicker { margin-bottom: .55rem; color: #EAD8C8; font-size: .72rem; }
.benefit-lead h3 { margin: 0; color: #FAF5F0; font-family: var(--font-serif); font-size: clamp(1.1rem, 1.7vw, 1.55rem); line-height: 1.2; }
.benefit-item { border-right: 1px solid rgba(229,193,154,.25); color: #FAF5F0; }
.benefit-item:last-child { border: 0; }
.benefit-item .icon { width: 30px; height: 30px; margin-bottom: .5rem; color: var(--accent-gold); }
.benefit-item strong { display: block; margin-bottom: .25rem; font-size: .92rem; }
.benefit-item p { margin: 0; color: #EAD8C8; font-size: .85rem; line-height: 1.5; }

/* Trust details and contact close */
.trust-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,.7fr); align-items: center; gap: 2rem; margin-bottom: 2rem; }
.trust-heading .section-intro { margin: .8rem 0 0; }
.seal-panel { display: flex; flex-direction: column; align-items: center; gap: .6rem; color: var(--accent-gold); text-align: center; }
.seal-panel .seal-copy { display: flex; align-items: center; gap: .5rem; color: var(--text-primary); font-size: .75rem; font-weight: 700; letter-spacing: .15em; }
.seal-icons { display: flex; gap: 1.2rem; }
.seal-icons .icon { width: 30px; height: 30px; }
.assurances-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.assurance-card { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 18px; min-height: 136px; padding: 1.15rem 1.3rem; border: 1px solid var(--border-gold); border-radius: 16px; background: var(--bg-surface-wine); box-shadow: var(--shadow-card); color: #FAF5F0; }
.assurance-icon { display: grid; min-height: 54px; place-items: center; padding-right: 1rem; border-right: 1px solid rgba(229,193,154,.32); }
.assurance-icon .icon { width: 44px; height: 44px; color: var(--accent-gold); }
.assurance-card h3 { margin: 0 0 .3rem; font-family: var(--font-serif); font-size: 1.06rem; line-height: 1.2; }
.assurance-card p { margin: 0; color: #EAD8C8; font-size: .86rem; line-height: 1.5; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 36px; align-items: start; padding-top: 2rem; border-top: 1px solid var(--border-subtle); }
.contact-copy { padding-right: 2rem; border-right: 1px solid var(--border-subtle); }
.contact-copy h2 { max-width: 480px; margin: 0; font-family: var(--font-serif); font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.12; }
.contact-copy > p:not(.section-kicker) { max-width: 510px; color: var(--text-secondary); }
.contact-main-cta { width: 100%; max-width: 460px; min-height: 64px; }
.micro-seals { display: flex; align-items: stretch; gap: 0; max-width: 470px; margin-top: 1rem; }
.micro-seal { display: flex; align-items: center; gap: .45rem; padding: .25rem .7rem; border-right: 1px solid var(--border-subtle); color: var(--text-secondary); font-size: .78rem; line-height: 1.3; }
.micro-seal:first-child { padding-left: 0; }
.micro-seal:last-child { border: 0; }
.micro-seal .icon { width: 23px; height: 23px; color: var(--accent-gold); }
.faq-heading { margin: 0 0 1rem; font-family: var(--font-serif); font-size: 1.85rem; line-height: 1.2; }
.faq-list { display: grid; gap: 12px; }
.faq-pill { overflow: hidden; border: 1px solid var(--border-gold); border-radius: 14px; background: var(--bg-surface-1); transition: background-color 180ms ease; }
.faq-pill[open] { background: var(--bg-surface-2); }
.faq-pill summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; color: var(--text-primary); font-size: 1rem; font-weight: 700; list-style: none; cursor: pointer; }
.faq-pill summary::-webkit-details-marker { display: none; }
.faq-pill summary::after { flex: 0 0 auto; color: var(--accent-gold); font-size: 1.35rem; font-weight: 600; content: "+"; transition: transform 180ms ease; }
.faq-pill[open] summary::after { transform: rotate(45deg); }
.faq-summary-hint { margin-left: auto; color: var(--text-secondary); font-size: .82rem; font-weight: 400; }
.faq-answer { margin: 0; padding: 0 1.15rem 1rem; color: var(--text-secondary); font-size: .92rem; }
.closing-band { padding: 3rem 1rem; border-top: 1px solid var(--border-gold); background: radial-gradient(circle at 50% 50%, rgba(94,29,44,.42) 0%, var(--bg-canvas) 75%); text-align: center; }
.closing-band h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(1.85rem, 3.4vw, 2.85rem); line-height: 1.15; }
.closing-band > p { margin: .6rem 0 1.35rem; color: var(--text-secondary); font-size: .78rem; letter-spacing: .18em; }
.burst-cta-row { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.burst-rays { width: 38px; height: 48px; color: var(--accent-gold); }
.closing-cta { min-height: 66px; padding-inline: 1.8rem; border-width: 2px; }
.closing-cta .cta-copy strong { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
.site-footer { padding: 2rem 0; border-top: 1px solid var(--border-subtle); background: var(--bg-surface-1); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 2rem; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand .brand-mark { width: 38px; height: 38px; }
.footer-brand strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.12; }
.footer-brand small { color: var(--text-muted); font-size: .72rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text-secondary); font-size: .78rem; text-decoration: none; }
.footer-links a:hover { color: var(--accent-gold); text-decoration: underline; }
.footer-hours, .footer-copyright { margin: 0; color: var(--text-secondary); font-size: .75rem; }
.footer-copyright { grid-column: 1/-1; padding-top: 1rem; border-top: 1px solid var(--border-subtle); color: var(--text-muted); }

/* Contextual floating CTA */
.floating-wa-pill { position: fixed; z-index: 45; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border: 1.5px solid var(--accent-gold); border-radius: 999px; background: var(--bg-cta-wine); box-shadow: var(--shadow-cta); color: #FAF5F0; font-size: .9rem; font-weight: 700; text-decoration: none; opacity: 0; pointer-events: none; visibility: hidden; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease, visibility 500ms; }
.floating-wa-pill .icon { width: 22px; height: 22px; color: #FAF5F0; }
.floating-wa-pill.is-visible { opacity: 1; pointer-events: auto; visibility: visible; transform: translateY(0); }

/* Native dialogs: shared product viewer, four information panels and QR */
html:has(dialog[open]) { overflow: hidden; }
dialog { max-width: none; max-height: min(92vh, 900px); padding: 0; border: 1.5px solid var(--border-gold); border-radius: 20px; background: var(--bg-surface-1); box-shadow: 0 28px 70px rgba(0,0,0,.72); color: var(--text-primary); }
dialog::backdrop { background: rgba(8,6,5,.76); backdrop-filter: blur(4px); }
.dialog-panel { position: relative; overflow: auto; max-height: min(92vh, 900px); scrollbar-color: var(--border-gold) transparent; }
.dialog-close { position: sticky; z-index: 5; top: .7rem; float: right; display: grid; width: 44px; height: 44px; margin: .7rem .7rem -44px 0; place-items: center; border: 1px solid var(--border-gold); border-radius: 50%; background: rgba(20,16,15,.84); color: #FAF5F0; cursor: pointer; }
.dialog-close .icon { width: 20px; height: 20px; }
.dialog-footer-actions { display: flex; justify-content: center; width: 100%; padding: .9rem 1rem 1.1rem; border-top: 1px solid var(--border-subtle); }
.gallery-panel .dialog-footer-actions { margin-top: .9rem; padding-bottom: .35rem; }
.qr-panel .dialog-footer-actions { margin-top: 1rem; padding-bottom: 0; }
.dialog-close-bottom { display: inline-flex; align-items: center; justify-content: center; min-width: 140px; min-height: 44px; padding: .55rem 1.4rem; border: 1px solid var(--border-gold); border-radius: 999px; background: var(--bg-surface-2); color: var(--text-primary); font-size: .92rem; font-weight: 700; cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.dialog-close-bottom:hover, .dialog-close-bottom:focus-visible { border-color: var(--accent-gold-bright); background: rgba(229,193,154,.14); color: var(--accent-gold); }
.header-dialog { width: min(640px, calc(100% - 1.5rem)); }
.info-dialog-grid { display: block; }
.info-dialog-copy { padding: clamp(1.5rem,4vw,2.6rem); }
.info-dialog-copy h2 { margin: 0 0 1rem; padding-right: 2.8rem; font-family: var(--font-serif); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; }
.info-dialog-copy > p { color: var(--text-secondary); }
.promise-list { display: grid; gap: .85rem; margin: 1.2rem 0 1.4rem; padding: 0; list-style: none; }
.promise-list li { display: grid; grid-template-columns: 42px 1fr; gap: .65rem; align-items: start; color: var(--text-secondary); font-size: 1rem; line-height: 1.55; }
.promise-list strong { color: var(--text-primary); }
.promise-number { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--border-gold); border-radius: 50%; color: var(--accent-gold); font-size: .75rem; font-weight: 800; }
.info-dialog-copy .cta-pill-wine { min-height: 52px; }
.info-dialog-copy .cta-copy strong { font-size: 1rem; }
.hours-pill { display: inline-flex; margin: .45rem 0 1rem; padding: .6rem .9rem; border: 1px solid var(--border-gold); border-radius: 999px; background: var(--bg-surface-2); color: var(--accent-gold); font-weight: 700; }
.copy-phone { display: inline-flex; align-items: center; gap: .4rem; margin-left: .4rem; padding: .6rem .8rem; border: 1px solid var(--border-gold); border-radius: 999px; background: var(--bg-surface-2); color: var(--text-primary); cursor: pointer; }
.copy-status { min-height: 1.2em; margin: .5rem 0 0; color: var(--accent-gold); font-size: .8rem; }

.gallery-dialog { width: min(1160px, calc(100% - 2rem)); }
.gallery-panel { padding: clamp(.85rem, 1.8vw, 1.2rem); }
.gallery-panel .dialog-close { position: absolute; top: .7rem; right: .7rem; float: none; margin: 0; }
.gallery-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; padding: 0; border: 0; }
.gallery-layout { display: grid; grid-template-columns: auto minmax(300px, 380px); gap: 1.25rem; padding-top: 0; }
.gallery-visual { min-width: 0; }
.gallery-image-stage { position: relative; display: grid; height: clamp(320px, 56vh, 520px); width: 100%; max-width: 100%; margin-inline: auto; place-items: center; overflow: hidden; border-radius: 14px; background: transparent; }
.gallery-image-stage img { width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; border-radius: 12px; object-fit: contain; object-position: center; }
.gallery-arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 42px; height: 42px; place-items: center; border: 1.5px solid var(--accent-gold); border-radius: 50%; background: rgba(94,29,44,.9); color: #FAF5F0; font-size: 1.35rem; cursor: pointer; transform: translateY(-50%); }
.gallery-arrow--prev { left: .65rem; }
.gallery-arrow--next { right: .65rem; }
.gallery-loading { position: absolute; bottom: .65rem; left: .65rem; padding: .25rem .5rem; border-radius: 6px; background: rgba(20,16,15,.78); color: #fff; font-size: .7rem; }
.gallery-strip { display: flex; gap: .5rem; overflow-x: auto; padding: .8rem .1rem .35rem; }
.variant-thumb { position: relative; display: grid; width: 68px; height: 68px; flex: 0 0 auto; place-items: center; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 10px; background: var(--bg-surface-2); cursor: pointer; }
.variant-thumb[aria-pressed="true"] { border-color: var(--accent-gold-bright); }
.variant-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.variant-thumb span { position: absolute; right: 0; bottom: 0; left: 0; overflow: hidden; padding: .16rem .12rem; background: rgba(20,16,15,.84); color: #fff; font-size: .75rem; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.gallery-color-label { margin: .2rem 0 0; color: var(--text-secondary); font-size: .9rem; }
.gallery-details { display: flex; flex-direction: column; gap: .8rem; padding: 2.6rem .25rem .4rem; }
.gallery-details h3 { margin: 0; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.18; }
.gallery-details p { margin: 0; color: var(--text-secondary); font-size: .95rem; line-height: 1.5; }
.catalog-conditions { padding: .8rem .9rem; border: 1px solid var(--border-gold); border-radius: 12px; background: var(--bg-surface-2); color: var(--text-primary) !important; font-size: .92rem !important; line-height: 1.5; font-weight: 600; }
.gallery-cta { align-self: stretch; justify-content: center; margin-top: .5rem; }
.gallery-cta .cta-copy strong { font-size: 1rem; }
.gallery-fallback { color: var(--accent-gold); font-size: .9rem; }
.no-js-gallery-note { color: var(--text-muted); font-size: .75rem; }
@media (min-width: 981px) {
  .gallery-dialog { width: fit-content; max-width: min(1140px, calc(100% - 2rem)); }
  .gallery-layout { grid-template-columns: auto minmax(300px, 380px); grid-template-rows: auto auto auto auto auto 1fr; align-items: start; row-gap: .75rem; column-gap: 1.5rem; }
  .gallery-visual, .gallery-details { display: contents; }
  .gallery-image-stage { grid-column: 1; grid-row: 1 / 7; width: clamp(420px, 70vh, 660px); height: clamp(420px, 70vh, 660px); }
  .gallery-details > *, .gallery-strip, .gallery-color-label { grid-column: 2; }
  #global-modal-title { grid-row: 1; margin: 2.2rem 0 0; font-family: var(--font-serif); font-size: 1.55rem; line-height: 1.18; }
  #global-modal-description { grid-row: 2; margin: 0; color: var(--text-secondary); font-size: .95rem; line-height: 1.5; }
  .gallery-details .catalog-conditions { grid-row: 3; margin: 0; }
  .gallery-strip { grid-row: 4; flex-wrap: wrap; overflow-x: visible; padding: .25rem 0; }
  .gallery-color-label { grid-row: 5; margin: 0; }
  .gallery-cta { grid-row: 6; align-self: start; margin-top: .25rem; }
}

.qr-dialog { width: min(480px, calc(100% - 1.5rem)); }
.qr-panel { display: flex; flex-direction: column; align-items: center; padding: 3.5rem 1.5rem 1.75rem; text-align: center; }
.qr-panel .dialog-close { position: absolute; top: .75rem; right: .75rem; float: none; margin: 0; }
.qr-panel h2 { margin: 0; font-family: var(--font-serif); font-size: 1.7rem; }
.qr-panel p { color: var(--text-secondary); }
.qr-image { width: 220px; height: 220px; padding: 8px; border: 1px solid var(--border-gold); border-radius: 12px; background: #fff; }
.qr-phone { display: flex; align-items: center; gap: .4rem; color: var(--text-primary); font-size: 1.1rem; font-variant-numeric: tabular-nums; font-weight: 800; }
.qr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .2rem; }
.qr-bypass { display: inline-flex; align-items: center; min-height: 42px; padding: .5rem .8rem; border: 1px solid var(--border-gold); border-radius: 999px; color: var(--accent-gold); font-size: .8rem; font-weight: 700; text-decoration: none; }

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
  .trust-grid { padding-inline: 1rem; }
  .trust-seal, .trust-item { padding-inline: .65rem; }
  .trust-item span { font-size: .7rem; }
  .benefits-grid { padding-inline: 1rem; }
  .benefit-lead, .benefit-item { padding-inline: .7rem; }
}
@media (max-width: 980px) {
  .site-header { height: 76px; }
  .header-inner { gap: .7rem; }
  .mobile-menu-toggle { display: inline-flex; order: 3; }
  .theme-controls { order: 2; margin-left: auto; padding-left: .65rem; }
  .theme-hint { display: none; }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 1rem; left: 1rem; display: none; flex-direction: column; align-items: stretch; gap: .25rem; padding: .75rem; border: 1px solid var(--border-gold); border-radius: 0 0 16px 16px; background: var(--bg-surface-1); box-shadow: var(--shadow-card); }
  .site-header.nav-open .primary-nav { display: flex; }
  .header-modal-trigger, .header-nav-fallback { justify-content: flex-start; width: 100%; padding: .75rem .85rem; }
  .hero-section { grid-template-columns: 1fr 1fr; min-height: 560px; }
  .category-mosaic { grid-template-columns: repeat(4, minmax(0,1fr)); grid-template-rows: repeat(4, minmax(112px,1fr)); }
  .hero-cat-tile, .hero-cat-tile:nth-child(n+7) { grid-column: span 2; }
  .hero-cat-tile { min-height: 110px; padding: .7rem; }
  .trust-grid { grid-template-columns: repeat(3,1fr); }
  .trust-seal, .trust-item { border-bottom: 1px solid rgba(229,193,154,.25); }
  .trust-item:nth-child(3) { border-right: 0; }
  .trust-item:last-child { border-bottom: 0; }
  .benefits-grid { grid-template-columns: repeat(2,1fr); }
  .benefit-lead { grid-column: 1/-1; border-right: 0; border-bottom: 1px solid rgba(229,193,154,.25); padding-bottom: 1rem; }
  .benefit-item:nth-child(3) { border-right: 0; }
  .benefit-item:nth-child(4), .benefit-item:nth-child(5) { border-top: 1px solid rgba(229,193,154,.25); }
  .assurances-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .step-card:nth-child(2)::after { display: none; }
}
@media (max-width: 760px) {
  .shell { width: min(100% - 1.25rem, 1360px); }
  .site-header { height: 66px; background: rgba(20,16,15,.98); backdrop-filter: none; }
  html[data-theme="light"] .site-header { background: rgba(250,245,238,.98); }
  .header-inner { width: calc(100% - 1rem); }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { padding-right: .55rem; font-size: 1rem; }
  .theme-current { display: none; }
  .theme-controls { gap: .35rem; padding-left: .5rem; }
  .theme-toggle { width: 44px; }
  html[data-theme="light"] .theme-thumb { transform: translateX(17px); }
  .hero-section { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { min-height: 410px; padding: 2.3rem 1.15rem 2rem; }
  .hero-photo { object-position: 65% 18%; }
  .hero-title { max-width: 520px; font-size: clamp(2.25rem, 9vw, 3rem); }
  .hero-lede { max-width: 500px; margin-block: 1rem 1.15rem; font-size: .98rem; }
  .hero-actions { gap: .55rem; }
  .cta-pill-wine { gap: .55rem; min-height: 58px; padding-right: .95rem; }
  .cta-copy small { font-size: .72rem; }
  .cta-copy strong { font-size: 1.08rem; }
  .btn-outline-gold { min-height: 48px; padding-inline: .9rem; font-size: .84rem; }
  .hero-global-note { margin-top: .75rem; font-size: .76rem; }
  .category-mosaic { grid-template-rows: repeat(4, 100px); }
  .hero-cat-tile { min-height: 100px; }
  .hero-cat-label strong { font-size: 1rem; }
  .hero-cat-label small { font-size: .62rem; }
  .trust-grid { grid-template-columns: repeat(2,1fr); padding: .5rem; }
  .trust-seal, .trust-item { justify-content: flex-start; min-height: 66px; padding: .45rem .5rem; border-right: 1px solid rgba(229,193,154,.25); }
  .trust-seal { justify-content: center; }
  .trust-item:nth-child(3) { border-right: 1px solid rgba(229,193,154,.25); }
  .trust-item:nth-child(even) { border-right: 0; }
  .trust-item:nth-child(4), .trust-item:nth-child(5) { border-bottom: 0; }
  .trust-item .icon { width: 26px; height: 26px; }
  .trust-item span { font-size: .66rem; }
  .trust-item strong { font-size: .72rem; }
  .section { padding-block: 3.4rem; }
  .section-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .center-title { gap: .55rem; }
  .center-title::before, .center-title::after { width: 22px; }
  .catalog-controls { align-items: flex-start; gap: .65rem; }
  .filter-pills { flex: 1 1 100%; flex-wrap: wrap; overflow-x: visible; padding: .2rem 0 .4rem; }
  .filter-divider { display: none; }
  .size-pills { flex: 1 1 100%; }
  .filter-pill { min-height: 38px; padding-inline: .75rem; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .garment-info { padding: .65rem .65rem .75rem; }
  .garment-info h3 { font-size: .78rem; }
  .garment-info p { font-size: .7rem; }
  .garment-color-count { top: .45rem; padding: .22rem .4rem; font-size: .58rem; }
  .garment-color-count { right: .45rem; }
  .swatch-row { gap: .2rem; }
  .swatch { width: 23px; height: 23px; }
  .collection-summary { align-items: flex-start; flex-direction: column; }
  .collection-summary .summary-contact { width: 100%; }
  .process-heading, .trust-heading { grid-template-columns: 1fr; gap: .8rem; }
  .process-heading .section-intro { margin: 0; }
  .process-subhead { margin-top: 1.7rem; font-size: 1.25rem; }
  .steps-grid { gap: 12px; }
  .step-card { padding: 1rem; }
  .step-card:not(:last-child)::after { right: -13px; font-size: 1.4rem; }
  .step-card:nth-child(2)::after { display: none; }
  .step-card h3 { font-size: 1.03rem; }
  .step-card p { font-size: .75rem; }
  .benefit-item { padding: .65rem; }
  .benefit-item p { font-size: .7rem; }
  .assurances-grid { grid-template-columns: 1fr; gap: 12px; }
  .assurance-card { min-height: 116px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-copy { padding: 0 0 1.8rem; border-right: 0; border-bottom: 1px solid var(--border-subtle); }
  .faq-pill summary { align-items: flex-start; padding: .9rem; font-size: .88rem; }
  .faq-summary-hint { display: none; }
  .faq-answer { padding-inline: .9rem; font-size: .82rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-copyright { grid-column: auto; }
  .info-dialog-copy { padding: 1.35rem; }
  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-image-stage { height: clamp(280px, 52vh, 480px); }
  .gallery-image-stage img { max-height: 100%; }
  .gallery-details { padding: .3rem .15rem .2rem; }
  .gallery-details h3 { font-size: 1.35rem; }
  .gallery-cta { align-self: stretch; }
  .floating-wa-pill { right: 10px; bottom: 10px; padding: .55rem .8rem; font-size: .75rem; }
  .closing-band { padding-block: 2.4rem; }
  .closing-band > p { font-size: .65rem; letter-spacing: .11em; }
  .burst-rays { width: 24px; }
}
@media (max-width: 350px) {
  .product-grid { grid-template-columns: 1fr; }
  .garment-photo-btn { aspect-ratio: 4 / 4.6; }
  .hero-copy { min-height: 440px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions > * { width: 100%; }
  .cta-pill-wine { justify-content: flex-start; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card::after { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
}

/* Identidad SVG, salida sin JavaScript y estado diferido del visor. */
:root { --logo-start: #F2D5B3; --logo-end: #C89B6E; }
html[data-theme="light"] { --logo-start: #6E1E2D; --logo-end: #9E5A34; }
.brush-underline > svg { position: absolute; right: -2%; bottom: -.24em; left: -2%; z-index: -1; width: 104%; height: 9px; overflow: visible; color: var(--accent-rose-underline); }
.dialog-panel { opacity: 0; transform: scale(.96) translateY(8px); transition: opacity 260ms cubic-bezier(.22,1,.36,1), transform 260ms cubic-bezier(.22,1,.36,1); }
dialog.is-ready .dialog-panel { opacity: 1; transform: scale(1) translateY(0); }
.noscript-banner { margin: 0; padding: .85rem 1rem; border-top: 1px solid var(--border-gold); background: var(--bg-surface-2); color: var(--text-secondary); text-align: center; font-size: .85rem; }
@media (max-width: 980px) {
  .no-js .primary-nav { position: static; display: flex; flex: 1 0 100%; flex-wrap: wrap; justify-content: center; order: 4; width: 100%; padding: .35rem 0; }
  .no-js .site-header { height: auto; min-height: 76px; }
  .no-js .header-inner { height: auto; min-height: 76px; flex-wrap: wrap; padding-block: .35rem; }
  .no-js .header-nav-fallback { width: auto; padding: .35rem .55rem; font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) { .dialog-panel { transition: none; } }

/* Móvil: controles notorios, texto legible y modales sin espacios reservados. */
.promise-list strong { display: block; margin-bottom: .2rem; color: var(--text-primary); }
.promise-list li { font-size: 1rem; line-height: 1.55; }
.gallery-details p, .faq-answer { font-size: 1rem; line-height: 1.55; }
.catalog-conditions { font-size: .95rem !important; }
.gallery-color-label, .footer-links a, .footer-hours, .footer-copyright { font-size: .9rem; }
.footer-links a, .footer-hours { line-height: 1.5; }

@media (max-width: 760px) {
  .brand-name { padding-right: .55rem; }
  .brand-name span:first-child, .brand-name span:last-child { font-size: 1rem; }
  .mobile-menu-toggle { display: inline-flex; order: 3; align-items: center; justify-content: center; width: auto; min-width: 82px; height: 48px; gap: .42rem; padding: 0 .7rem; border: 1.5px solid var(--accent-gold); border-radius: 12px; background: var(--bg-cta-wine); box-shadow: var(--shadow-cta); color: #FAF5F0; font-size: 1.25rem; font-weight: 700; }
  .mobile-menu-toggle .menu-label { font-size: .95rem; line-height: 1; }
  .primary-nav { top: 100%; right: .5rem; left: .5rem; padding: .7rem; }
  .header-modal-trigger, .header-nav-fallback { min-height: 48px; font-size: 1rem; }
  .hero-global-note, .trust-item span, .trust-item strong { font-size: .9rem; }
  .trust-seal strong { font-size: .8rem; }
  .hero-cat-label strong { font-size: 1.08rem; }
  .hero-cat-label small, .garment-color-count { font-size: .8rem; }
  .catalog-controls { display: none; }
  .filter-pill { min-height: 44px; font-size: .92rem; }
  .garment-info h3 { font-size: 1.05rem; }
  .garment-info p, .selected-color, .view-colors-link { font-size: .92rem !important; line-height: 1.5; }
  .step-card p, .benefit-item p, .assurance-card p, .faq-answer { font-size: .98rem; line-height: 1.55; }
  .steps-grid { grid-template-columns: 1fr; gap: .85rem; }
  .step-card:not(:last-child)::after { display: none; }
  .benefits-grid { grid-template-columns: 1fr; padding-block: 1.1rem; }
  .benefit-lead { grid-column: auto; padding: .85rem .5rem 1rem; border-right: 0; border-bottom: 1px solid rgba(229,193,154,.25); }
  .benefit-item { display: grid; grid-template-columns: 34px minmax(0,1fr); column-gap: .7rem; padding: .8rem .5rem; border: 0; border-bottom: 1px solid rgba(229,193,154,.25); }
  .benefit-item:last-child { border-bottom: 0; }
  .benefit-item .icon { grid-row: span 2; width: 28px; height: 28px; margin: 0; }
  .benefit-item strong, .benefit-item p { grid-column: 2; }
  .benefit-item strong { font-size: .98rem; }
  .micro-seal, .closing-band > p { font-size: .84rem; }
  .faq-pill summary { font-size: .98rem; line-height: 1.4; }
  .info-dialog-copy { padding: 1.25rem 1.1rem 1.15rem; }
  .info-dialog-copy h2 { padding-right: 2.8rem; font-size: clamp(1.55rem, 6vw, 1.95rem); line-height: 1.12; }
  .promise-list { gap: .75rem; margin: 1rem 0 1.1rem; }
  .promise-list li { grid-template-columns: 36px minmax(0,1fr); gap: .55rem; font-size: .96rem; }
  .promise-number { width: 32px; height: 32px; font-size: .78rem; }
  .info-dialog-copy .cta-pill-wine { width: 100%; min-height: 56px; justify-content: center; }
  .header-dialog, .gallery-dialog { width: calc(100% - .5rem); border-radius: 16px; }
  .dialog-panel { max-height: min(92vh, 900px); overscroll-behavior: contain; }
  .gallery-panel { padding: .3rem; }
  .gallery-panel .dialog-close { position: absolute; top: .55rem; right: .55rem; float: none; margin: 0; }
  .gallery-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; padding: 0; border: 0; }
  .gallery-layout { gap: .65rem; padding-top: 0; }
  .gallery-image-stage { height: clamp(300px, 54vh, 480px); border-radius: 12px; }
  .gallery-image-stage img { max-height: 100%; }
  .gallery-arrow { display: none; }
  .gallery-strip { flex-wrap: wrap; overflow-x: visible; gap: .38rem; padding-block: .6rem .25rem; }
  .variant-thumb { width: 56px; height: 56px; }
  .variant-thumb span { display: none; }
  .gallery-details { gap: .7rem; }
  .gallery-details h3 { font-size: 1.45rem; }
  .gallery-cta { min-height: 56px; }
  .floating-wa-pill { right: 10px; bottom: 10px; min-height: 48px; padding: .55rem .85rem; font-size: .9rem; }
  .closing-band > p { font-size: .82rem; letter-spacing: .1em; }
}

@media (max-width: 350px) {
  .header-inner { width: calc(100% - .75rem); gap: .25rem; }
  .brand-logo { min-width: 0; gap: .35rem; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { padding-right: .3rem; }
  .brand-name span:first-child, .brand-name span:last-child { font-size: .94rem; }
  .theme-controls { gap: .25rem; padding-left: .35rem; }
  .theme-toggle { width: 40px; }
  html[data-theme="light"] .theme-thumb { transform: translateX(15px); }
  .mobile-menu-toggle { min-width: 72px; height: 46px; gap: .3rem; padding-inline: .45rem; font-size: 1.15rem; }
  .mobile-menu-toggle .menu-label { font-size: .88rem; }
  .product-grid { grid-template-columns: 1fr; }
  .garment-photo-btn { aspect-ratio: 4 / 4.6; }
  .hero-copy { min-height: 440px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions > * { width: 100%; }
  .cta-pill-wine { justify-content: flex-start; }
}

@supports (height: 100dvh) {
  dialog { max-height: min(92dvh, 900px); }
  .dialog-panel { max-height: min(92dvh, 900px); }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  dialog::backdrop { backdrop-filter: none; }
}

/* Selector de línea: utiliza las tarjetas y el visor existentes. */
.collection-controls { display: flex; justify-content: center; align-items: center; gap: .7rem; flex-wrap: wrap; margin: 1.65rem 0 .6rem; }
.collection-controls-label { margin-right: .4rem; color: var(--text-secondary); font-weight: 600; }
.collection-button { display: flex; gap: .65rem; align-items: center; justify-content: center; min-height: 54px; padding: .8rem 1.25rem; border: 1px solid var(--border-gold); border-radius: 12px; background: var(--bg-surface-2); color: var(--text-primary); font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.collection-button span { font-size: .8rem; font-weight: 500; }
.collection-button[aria-pressed="true"] { background: var(--bg-cta-wine); color: #FAF5F0; box-shadow: var(--shadow-cta); border-color: var(--accent-gold); }
.collection-button:hover { border-color: var(--accent-gold-bright); }
.garment-info .garment-line { margin: 0 0 .35rem; color: var(--accent-gold); font-size: .76rem; font-weight: 700; letter-spacing: .035em; }
.gallery-arrow:disabled { opacity: .35; cursor: default; }
.no-js .collection-controls, .no-js .catalog-controls { display: none; }
@media (max-width: 760px) {
 .collection-controls { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem; }
 .collection-controls-label { grid-column: 1 / -1; margin: 0 0 .3rem; text-align: center; }
 .collection-button { flex-direction: column; gap: .15rem; padding: .8rem .5rem; font-size: 1.1rem; }
 .catalog-status-row { align-items: flex-start; flex-wrap: wrap; }
 .trust-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
 .trust-item, .trust-item > span, .contact-grid > * { min-width: 0; }
 .trust-item > span { overflow-wrap: anywhere; }
 .contact-grid { grid-template-columns: minmax(0,1fr); }
 .contact-main-cta { padding-inline: .8rem; gap: .6rem; }
 .contact-main-cta .cta-copy { min-width: 0; }
 .contact-main-cta .cta-copy small { white-space: normal; }
}
