:root {
  --navy: #0b1c33;
  --navy-soft: #152942;
  --gold: #b98a3d;
  --gold-light: #e5c98f;
  --cream: #f7f3eb;
  --paper: #fffdf9;
  --ink: #172234;
  --muted: #657081;
  --line: #ddd8ce;
  --success: #28775a;
  --danger: #a74343;
  --shadow: 0 16px 45px rgba(11, 28, 51, .10);
  --radius: 18px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mobile-shortcuts { display: none; }
.advanced-filters { min-width: 0; }
.advanced-filters summary { padding: 10px 0; cursor: pointer; font-weight: 700; font-size: .85rem; }
.advanced-filters .price-filter { margin-top: 8px; }
@media (min-width: 761px) {
  .advanced-filters { align-self: start; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #d9a94f; outline-offset: 3px; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 200; padding: 10px 15px; color: white; background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .18em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; }
h1 { margin: 0; font-size: clamp(2.6rem, 12vw, 5.8rem); letter-spacing: -.045em; }
h2 { margin: 0; font-size: clamp(2rem, 7vw, 3.6rem); letter-spacing: -.035em; }
h3 { font-size: 1.35rem; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(185, 138, 61, .24); background: rgba(255, 253, 249, .94); backdrop-filter: blur(14px); }
.header-inner { width: min(1180px, calc(100% - 28px)); min-height: 70px; margin: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.brand span { display: grid; line-height: 1; }
.brand strong { color: var(--navy); font-family: var(--serif); font-size: 1.08rem; letter-spacing: .22em; }
.brand small { margin-top: 5px; color: var(--gold); font-size: .55rem; font-weight: 800; letter-spacing: .27em; }
.main-nav { display: flex; justify-content: center; gap: clamp(14px, 3vw, 34px); overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { color: #354155; font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--gold); }
.bag-button { min-height: 42px; padding: 7px 8px 7px 14px; display: inline-flex; align-items: center; gap: 9px; color: white; border: 0; border-radius: 999px; background: var(--navy); font-weight: 800; cursor: pointer; }
.bag-count { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--gold-light); font-size: .78rem; }

.hero { min-height: calc(100vh - 70px); padding: 54px max(20px, calc((100% - 1180px) / 2)); display: grid; align-items: center; gap: 48px; overflow: hidden; background: radial-gradient(circle at 88% 35%, rgba(229, 201, 143, .30), transparent 27%), linear-gradient(145deg, #fffdf9 0%, #f6f0e5 100%); }
.hero-copy { max-width: 720px; position: relative; z-index: 2; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-lead { max-width: 590px; margin: 24px 0 0; color: #526073; font-size: clamp(1.02rem, 3vw, 1.2rem); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.button { min-height: 46px; padding: 11px 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.button-primary { color: white; background: var(--navy); }
.button-primary:hover { background: #173352; }
.button-secondary { color: var(--navy); border-color: var(--navy); background: transparent; }
.button-secondary:hover { color: white; background: var(--navy); }
.button-quiet { min-height: 42px; padding: 8px 14px; color: var(--navy); border-color: var(--line); background: white; }
.button-quiet:hover { border-color: var(--gold); }
.button-full { width: 100%; }
.button[disabled], button[disabled] { opacity: .58; cursor: not-allowed; }
.text-link { color: var(--navy); font-weight: 800; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.manual-note { margin: 24px 0 0; color: var(--muted); font-size: .84rem; }
.manual-note span { margin-right: 7px; color: var(--success); }

.hero-showcase { min-height: 370px; margin: 0; position: relative; overflow: hidden; border-radius: 24px; box-shadow: 0 30px 70px rgba(7,20,38,.18); background: var(--navy); }
.hero-showcase img { width: 100%; height: 100%; min-height: 370px; position: absolute; inset: 0; object-fit: cover; object-position: 63% center; }
.hero-showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,20,38,.88)); }
.hero-showcase figcaption { max-width: 390px; padding: 24px; position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: grid; gap: 4px; color: white; }
.hero-showcase figcaption strong { font-family: var(--serif); font-size: 1.5rem; }
.hero-showcase figcaption span { color: #e8edf3; font-size: .8rem; line-height: 1.45; }
.hero-showcase figcaption a { width: max-content; margin-top: 4px; color: #ebcc88; font-size: .65rem; }
.showcase-glow { position: absolute; inset: 12% 0 2%; border-radius: 50%; background: radial-gradient(circle, rgba(185, 138, 61, .23), transparent 63%); }
.showcase-card { width: min(255px, 64vw); padding: 16px; position: absolute; border: 1px solid rgba(185, 138, 61, .28); border-radius: 22px; box-shadow: var(--shadow); background: rgba(255, 255, 255, .86); }
.showcase-card p { margin: 12px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.showcase-label { display: block; color: var(--navy); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.showcase-bottle { left: 4%; top: 0; transform: rotate(-4deg); }
.showcase-decant { right: 3%; bottom: 0; transform: rotate(5deg); }
.bottle-illustration, .decant-illustration { height: 220px; margin-top: 10px; position: relative; display: grid; place-items: end center; overflow: hidden; border-radius: 15px; background: linear-gradient(160deg, #142a44, #071426); }
.bottle-illustration::before { content: ""; width: 50px; height: 30px; position: absolute; top: 32px; border-radius: 4px 4px 0 0; background: linear-gradient(90deg, #9e722f, #e9ce91, #8d6328); }
.bottle-illustration i { width: 130px; height: 135px; margin-bottom: 24px; position: relative; border: 1px solid #e6c982; border-radius: 16px 16px 28px 28px; background: linear-gradient(150deg, rgba(255,255,255,.16), rgba(182,129,45,.3)); box-shadow: inset 0 0 40px rgba(255,210,118,.2); }
.bottle-illustration i::after { content: "ALPHA"; position: absolute; inset: 46px 0 auto; color: #efdbac; font-family: var(--serif); font-size: .9rem; letter-spacing: .22em; text-align: center; }
.decant-illustration { background: linear-gradient(160deg, #f2eee5, #dcd4c7); }
.decant-illustration::before { content: ""; width: 28px; height: 42px; position: absolute; top: 27px; z-index: 2; border-radius: 3px 3px 0 0; background: #1c2b3d; box-shadow: 0 -7px 0 -2px #b98a3d; }
.decant-illustration i { width: 72px; height: 145px; margin-bottom: 24px; position: relative; border: 2px solid rgba(25,43,65,.34); border-radius: 12px 12px 20px 20px; background: linear-gradient(90deg, rgba(255,255,255,.74), rgba(206,171,106,.28), rgba(255,255,255,.6)); }
.decant-illustration i::after { content: "DECANT"; position: absolute; inset: 53px 8px auto; padding: 5px 0; color: var(--navy); border-block: 1px solid var(--gold); font-size: .52rem; font-style: normal; font-weight: 800; letter-spacing: .13em; text-align: center; }

.gift-banner { width: min(1180px, calc(100% - 36px)); margin: -1px auto 0; padding: 24px; display: flex; align-items: center; gap: 18px; color: white; border-radius: var(--radius); background: var(--navy); box-shadow: var(--shadow); }
.gift-banner p { margin: 0; }
.gift-banner .eyebrow { color: var(--gold-light); }
.gift-banner small { display: block; margin-top: 5px; color: #cad2de; }
.gift-icon { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; color: var(--navy); border-radius: 50%; background: var(--gold-light); font-size: 1.25rem; }

.catalog-section { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 92px 0; }
.section-heading { display: grid; gap: 14px; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); }
.filters { margin-top: 34px; padding: 18px; display: grid; gap: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.filters label, .filters legend { color: #374357; font-size: .75rem; font-weight: 800; }
.filters select, .filters input { width: 100%; min-height: 44px; padding: 9px 12px; color: var(--ink); border: 1px solid #cdc8bd; border-radius: 10px; background: white; }
.filters select:focus, .filters input:focus { border-color: var(--gold); }
.filter-field, .search-field { display: grid; gap: 6px; }
.input-with-icon { position: relative; }
.input-with-icon span { position: absolute; left: 12px; top: 50%; color: var(--gold); font-size: 1.4rem; transform: translateY(-52%); }
.input-with-icon input { padding-left: 38px; }
.price-filter { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; border: 0; }
.price-filter legend { grid-column: 1 / -1; margin-bottom: 6px; }
.price-filter label { display: grid; gap: 5px; }
.catalog-status-row { min-height: 48px; margin: 22px 0 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.catalog-status-row p { margin: 0; }
#result-count { color: var(--navy); font-weight: 800; }
.data-note { color: var(--muted); font-size: .78rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.loading-card { min-height: 360px; border-radius: var(--radius); background: linear-gradient(100deg, #eeeae2 20%, #faf8f3 40%, #eeeae2 60%); background-size: 220% 100%; animation: loading 1.2s linear infinite; }
@keyframes loading { to { background-position-x: -220%; } }

.product-card { min-width: 0; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: border-color .15s ease, box-shadow .15s ease; }
.product-card:hover { border-color: #c5ad7e; box-shadow: 0 12px 32px rgba(11, 28, 51, .09); }
.product-media { height: 205px; position: relative; display: grid; place-items: center; overflow: hidden; border: 0; border-radius: 0; background: #f3f0e9; cursor: pointer; }
.product-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-media .media-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #778193; background: linear-gradient(145deg, #f6f3ed, #e9e4da); font-family: var(--serif); font-size: 2rem; }
.product-media.decant-media { background: linear-gradient(150deg, #11253d, #071426); }
.mini-decant { width: 46px; height: 115px; position: relative; border: 1px solid rgba(238,216,164,.65); border-radius: 8px 8px 14px 14px; background: linear-gradient(90deg, rgba(255,255,255,.6), rgba(201,151,67,.36), rgba(255,255,255,.5)); box-shadow: 0 17px 26px rgba(0,0,0,.25); }
.mini-decant::before { content: ""; width: 21px; height: 29px; position: absolute; left: 50%; top: -29px; border-radius: 3px 3px 0 0; background: #dab86e; transform: translateX(-50%); }
.mini-decant::after { content: attr(data-size); position: absolute; inset: 42px 5px auto; padding: 5px 0; color: #f2dcad; border-block: 1px solid #b98a3d; font-size: .54rem; font-weight: 800; text-align: center; }
.media-note { position: absolute; left: 8px; right: 8px; bottom: 8px; color: #dce4ef; font-size: .58rem; font-weight: 700; text-align: center; }
.product-badge { position: absolute; left: 9px; top: 9px; z-index: 2; padding: 5px 8px; color: white; border-radius: 999px; background: rgba(11, 28, 51, .9); font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.product-info { padding: 14px; }
.product-kicker { margin: 0 0 4px; color: var(--gold); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-card h3 { min-height: 2.2em; margin: 0; overflow-wrap: anywhere; font-size: clamp(1rem, 4vw, 1.25rem); }
.product-meta { margin: 7px 0 0; color: var(--muted); font-size: .72rem; }
.product-price { margin: 11px 0 0; color: var(--navy); font-size: clamp(1rem, 4vw, 1.22rem); font-weight: 900; }
.product-status { margin: 5px 0 0; color: var(--success); font-size: .68rem; font-weight: 800; }
.product-status.unavailable { color: var(--danger); }
.product-status.decant-only { color: #8a6f45; }
.card-actions { margin-top: 13px; display: grid; gap: 7px; }
.card-actions .button { min-height: 40px; padding: 8px 10px; font-size: .72rem; }
.empty-state { padding: 60px 20px; border: 1px dashed #c9c2b5; border-radius: var(--radius); background: var(--cream); text-align: center; }
.empty-state > span { width: 54px; height: 54px; margin: auto; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; font-size: 1.5rem; }
.empty-state h3 { margin: 15px 0 5px; font-size: 1.6rem; }
.empty-state p { margin: 0 0 19px; color: var(--muted); }

.choice-guide { padding: 82px max(20px, calc((100% - 1180px) / 2)); display: grid; gap: 14px; background: var(--cream); }
.guide-intro { margin-bottom: 20px; }
.guide-intro p:last-child { color: var(--muted); }
.choice-guide article { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.guide-number { color: var(--gold); font-family: var(--serif); font-size: 1.2rem; }
.choice-guide h3 { margin: 20px 0 8px; }
.choice-guide article p { margin: 0; color: var(--muted); }

.about-section { padding: 88px max(20px, calc((100% - 1060px) / 2)); display: grid; align-items: center; gap: 38px; color: white; background: var(--navy); }
.about-mark { display: grid; place-items: center; }
.about-mark img { width: min(250px, 65vw); border-radius: 50%; box-shadow: 0 22px 60px rgba(0,0,0,.28); }
.about-copy { max-width: 650px; }
.about-copy h2 { color: white; }
.about-copy > p:not(.eyebrow) { color: #d5dce6; }
.pending-copy { padding: 12px 14px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.06); font-size: .84rem; }
.contact-section { width: min(1060px, calc(100% - 36px)); margin: auto; padding: 90px 0; display: grid; gap: 38px; }
.contact-section > div > p:last-child { max-width: 600px; color: var(--muted); }
.contact-list { margin: 0; border-top: 1px solid var(--line); }
.contact-list > div { padding: 16px 0; display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: .78rem; font-weight: 800; }
.contact-list dd { margin: 0; color: var(--navy); font-weight: 800; text-align: right; }
.contact-list .pending-value { color: #8a6f45; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.fav-button { position: absolute; top: 10px; right: 10px; z-index: 5; width: 38px; height: 38px; padding: 0; border: none; border-radius: 50%; cursor: pointer; color: var(--navy); background: rgba(255, 255, 255, .92); font-size: 1.1rem; line-height: 1; box-shadow: 0 2px 10px rgba(11, 28, 51, .18); transition: transform .15s ease; }
.fav-button:hover { transform: scale(1.08); }
.fav-button.is-favorite { color: #d6336c; }
.request-favorites[disabled] { opacity: .45; }
.contact-whatsapp { color: var(--navy); font-weight: 800; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.site-footer { padding: 34px max(20px, calc((100% - 1180px) / 2)); display: grid; gap: 20px; align-items: center; color: #bac4d1; background: #071426; font-size: .76rem; text-align: center; }
.footer-brand { margin: auto; }
.footer-brand strong { color: white; }

dialog { padding: 0; color: var(--ink); border: 0; box-shadow: 0 24px 80px rgba(0,0,0,.32); }
dialog::backdrop { background: rgba(4, 12, 24, .66); backdrop-filter: blur(3px); }
.dialog-close { width: 44px; height: 44px; display: grid; place-items: center; color: var(--navy); border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.product-dialog { width: min(960px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: 22px; overflow: auto; background: var(--paper); }
.product-dialog > .dialog-close { position: sticky; z-index: 5; top: 12px; float: right; margin: 12px 12px -56px 0; }
.detail-layout { display: grid; }
.detail-media { min-height: 360px; padding: 42px 24px; position: relative; display: grid; place-items: center; background: var(--cream); }
.detail-media img { max-height: 390px; object-fit: contain; mix-blend-mode: multiply; }
.detail-media.decant-detail { background: linear-gradient(145deg, #142a44, #071426); }
.detail-media .mini-decant { width: 74px; height: 190px; border-radius: 12px 12px 22px 22px; }
.detail-media .mini-decant::before { width: 32px; height: 42px; top: -42px; }
.detail-media .mini-decant::after { top: 74px; font-size: .72rem; }
.detail-media .media-note { bottom: 22px; font-size: .72rem; }
.detail-copy { padding: 30px 24px; }
.detail-copy h2 { padding-right: 46px; font-size: clamp(2rem, 8vw, 3.3rem); }
.detail-brand { margin: 6px 0 20px; color: var(--muted); }
.detail-description { color: #48556a; }
.detail-facts { margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.detail-facts div { padding: 13px 8px 10px 0; border-bottom: 1px solid var(--line); }
.detail-facts dt { color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.detail-facts dd { margin: 3px 0 0; font-weight: 800; }
.olfactory { padding: 14px; border-radius: 12px; background: var(--cream); }
.olfactory h3 { margin: 0 0 5px; font-size: 1rem; }
.olfactory p { margin: 0; color: var(--muted); font-size: .82rem; }
.notes-pyramid { margin: 0; display: grid; }
.notes-pyramid div { padding: 8px 0; display: grid; grid-template-columns: 67px 1fr; gap: 10px; border-top: 1px solid rgba(11,36,64,.1); }
.notes-pyramid div:first-child { border-top: 0; }
.notes-pyramid dt { color: #8a6f45; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.notes-pyramid dd { margin: 0; color: #4b5869; font-size: .79rem; }
.notes-source { display: inline-block; margin-top: 8px; color: var(--navy); font-size: .68rem; font-weight: 800; }

/* Resumen de notas y uso en la tarjeta del catálogo. */
.card-notes { margin: 6px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-notes strong { color: var(--navy); font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.card-usage { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 5px; }
.usage-chip { padding: 3px 9px; display: inline-flex; align-items: center; gap: 5px; color: #33415a; background: rgba(185, 138, 61, .12); border: 1px solid rgba(185, 138, 61, .28); border-radius: 999px; font-size: .68rem; font-weight: 700; }

/* Panel "Cuándo usarlo" de la ficha: estaciones y momento del día. */
.usage-panel { margin-top: 14px; padding: 16px; border-radius: 12px; color: #eef1f6; background: #10151d; border: 1px solid rgba(255, 255, 255, .08); }
.usage-panel h3 { margin: 0 0 14px; color: #f4f6fa; font-family: var(--sans); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.usage-panel h3 span { color: var(--gold-light); }
.usage-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 14px 12px; max-width: 588px; }
.usage-item { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 6px; text-align: center; }
.usage-icon { color: #5c6572; font-size: 1.35rem; line-height: 1; transition: color .2s ease; }
.usage-icon svg { width: 27px; height: 27px; display: block; }
.usage-item.is-recommended .usage-icon { color: var(--usage-color, var(--gold-light)); }
.usage-label { color: #8b93a1; font-size: .7rem; font-weight: 700; }
.usage-item.is-recommended .usage-label { color: #e6eaf1; }
.usage-bar { width: 100%; height: 7px; border-radius: 999px; background: #262c36; overflow: hidden; }
.usage-bar span { display: block; height: 100%; border-radius: 999px; background: #4a5563; }
.usage-item.is-recommended .usage-bar span { background: var(--usage-color, var(--gold-light)); }
.usage-count { color: #98a0ad; font-size: .68rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.usage-item.is-recommended .usage-count { color: var(--usage-color, var(--gold-light)); }
.usage-note { margin: 12px 0 0; color: #6d7583; font-size: .68rem; }
.decant-options { margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--line); }
.decant-options h3 { margin: 0; font-size: 1rem; }
.decant-list { margin: 10px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.decant-row { padding: 9px 12px; display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.decant-size { color: var(--navy); font-weight: 900; }
.decant-price { color: var(--navy); font-weight: 800; }
.decant-price.pending { color: var(--muted); font-size: .72rem; font-weight: 700; }
.decant-add, .decant-consult { min-height: 36px; padding: 7px 14px; font-size: .72rem; }
.decant-note { margin: 10px 0 0; color: var(--muted); font-size: .75rem; }
.detail-buy { margin-top: 24px; padding-top: 19px; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.detail-price { margin: 0; color: var(--navy); font-size: 1.55rem; font-weight: 900; }
.quantity-control { width: max-content; display: grid; grid-template-columns: 40px 48px 40px; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.quantity-control button { height: 40px; color: var(--navy); border: 0; background: white; font-size: 1.25rem; cursor: pointer; }
.quantity-control input { width: 48px; height: 40px; padding: 0; border: 0; text-align: center; appearance: textfield; }
.detail-disclaimer { margin: 0; color: var(--muted); font-size: .72rem; }

.bag-dialog { width: min(480px, 100%); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; border-radius: 0; background: var(--paper); }
.bag-header { min-height: 92px; padding: 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.bag-header h2 { font-size: 2.3rem; }
.bag-body { height: calc(100dvh - 369px); min-height: 190px; padding: 14px 20px; overflow-y: auto; }
.bag-item { padding: 14px 0; display: grid; grid-template-columns: 72px 1fr; gap: 14px; border-bottom: 1px solid var(--line); }
.bag-item-visual { height: 84px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); }
.bag-item-visual img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.bag-decant { width: 26px; height: 56px; border: 1px solid var(--gold); border-radius: 5px 5px 8px 8px; background: linear-gradient(90deg, white, #d6b77d, white); }
.bag-item-fallback { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); font-weight: 500; }
.bag-item-main { min-width: 0; }
.bag-item-main h3 { margin: 0; font-family: var(--sans); font-size: .9rem; font-weight: 800; overflow-wrap: anywhere; }
.bag-item-main > p { margin: 3px 0 8px; color: var(--muted); font-size: .72rem; }
.bag-item-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.bag-item-controls .quantity-control { grid-template-columns: 32px 38px 32px; }
.bag-item-controls .quantity-control button, .bag-item-controls .quantity-control span { height: 32px; display: grid; place-items: center; font-size: .85rem; }
.remove-item { padding: 4px; color: var(--danger); border: 0; background: transparent; font-size: .68rem; font-weight: 800; text-decoration: underline; cursor: pointer; }
.bag-item-total { margin-left: auto; color: var(--navy); font-size: .9rem; font-weight: 900; }
.bag-empty { padding: 60px 10px; text-align: center; }
.bag-empty span { font-family: var(--serif); font-size: 3.5rem; color: var(--gold); }
.bag-empty h3 { margin: 8px 0; }
.bag-empty p { color: var(--muted); }
.bag-summary { height: 277px; padding: 18px 20px; border-top: 1px solid var(--line); background: var(--cream); }
.bag-summary > div { display: flex; justify-content: space-between; }
.bag-summary .bag-total { margin-top: 7px; color: var(--navy); font-size: 1.05rem; }
.bag-summary > p { margin: 9px 0; color: var(--muted); font-size: .65rem; }
.bag-summary .button { min-height: 42px; margin-top: 7px; font-size: .74rem; }
.button-whatsapp { color: white; background: #1d7a59; }
.bag-feedback { min-height: 1em; color: var(--success) !important; text-align: center; }
.bag-note { margin: 0; color: var(--muted); font-size: .7rem; font-style: italic; text-align: center; }
.customer-dialog { width: min(460px, calc(100% - 24px)); border-radius: 22px; overflow: auto; background: var(--paper); }
.customer-header { padding: 20px 24px 8px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.customer-header h2 { margin: 0; font-size: 1.35rem; padding-right: 40px; }
.customer-form { padding: 8px 24px 24px; display: grid; gap: 14px; }
.customer-form label { display: grid; gap: 6px; color: #374357; font-size: .78rem; font-weight: 800; }
.customer-form input { min-height: 44px; padding: 9px 12px; color: var(--ink); border: 1px solid #cdc8bd; border-radius: 10px; background: white; font: inherit; }
.customer-form input:focus { border-color: var(--gold); outline: none; }
.customer-note { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.customer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.customer-feedback { margin: 0; min-height: 1em; color: var(--danger); font-size: .78rem; text-align: center; }

@media (max-width: 620px) {
  .main-nav { grid-row: 2; grid-column: 1 / -1; width: 100%; padding: 3px 0 10px; justify-content: flex-start; }
  .header-inner { padding-top: 7px; grid-template-columns: 1fr auto; }
  .site-header { position: relative; }
  html { scroll-padding-top: 12px; }
  .hero { min-height: auto; }
}

@media (min-width: 700px) {
  .section-heading { grid-template-columns: 1fr minmax(320px, .75fr); align-items: end; }
  .filters { grid-template-columns: minmax(240px, 1.5fr) 1fr 1fr; align-items: end; }
  .price-filter { grid-column: auto; }
  .reset-filters { grid-column: 1 / -1; justify-self: end; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .product-media { height: 280px; }
  .choice-guide { grid-template-columns: repeat(3, 1fr); }
  .guide-intro { grid-column: 1 / -1; max-width: 690px; }
  .about-section { grid-template-columns: .7fr 1.3fr; }
  .contact-section { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr 1fr; text-align: left; }
  .site-footer > p:last-child { text-align: right; }
  .footer-brand { margin: 0; }
  .detail-buy { grid-template-columns: auto 1fr; align-items: end; }
  .detail-buy .button { grid-column: 1 / -1; }
}

@media (min-width: 940px) {
  .hero { grid-template-columns: minmax(520px, 1.25fr) minmax(390px, .75fr); }
  .hero-showcase { min-height: 540px; }
  .showcase-card { width: 285px; }
  .showcase-bottle { left: 0; }
  .showcase-decant { right: 0; }
  .filters { grid-template-columns: minmax(270px, 1.5fr) 1fr 1.25fr auto; }
  .price-filter { grid-column: auto; }
  .reset-filters { grid-column: auto; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: .92fr 1.08fr; min-height: 620px; }
  .detail-copy { padding: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Navegaci?n y compra con una mano en m?vil. */
@media (max-width: 760px) {
  html { scroll-padding-top: 118px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .site-header { position: sticky; top: 0; }
  .header-inner { min-height: 62px; }
  .main-nav { gap: 24px; }
  .main-nav a { min-height: 40px; display: inline-flex; align-items: center; }
  .hero { min-height: auto; padding: 30px 20px; gap: 22px; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 3.1rem); }
  .hero-lead { margin-top: 15px; font-size: 1rem; }
  .hero-actions { margin-top: 20px; gap: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-showcase { display: none; }
  .gift-banner { padding: 18px; gap: 12px; font-size: .88rem; }
  .gift-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .catalog-section { padding: 36px 0; }
  .section-heading h2 { font-size: 2rem; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; border-radius: 18px; background: #f7f3eb; }
  .search-field, .filter-field { grid-column: 1 / -1; }
  .filters input, .filters select, .customer-form input, .customer-form select { min-height: 48px; font-size: 16px; width: 100%; }
  .advanced-filters { grid-column: 1 / -1; }
  .advanced-filters summary { min-height: 44px; }
  .advanced-filters .price-filter { display: flex; gap: 12px; }
  .price-filter label { min-width: 0; flex: 1; }
  .reset-filters { grid-column: 1 / -1; width: 100%; }
  .catalog-status-row { align-items: start; }
  .data-note { display: none; }
  .product-grid { gap: 10px; }
  .product-card { border-radius: 14px; }
  .product-card .button { min-height: 44px; padding: 10px; }
  .mobile-shortcuts { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); background: #fffdf9; border-top: 1px solid var(--line); box-shadow: 0 -4px 24px #0b1c3310; }
  .mobile-shortcuts a, .mobile-shortcuts button { display: flex; gap: 6px; justify-content: center; align-items: center; min-height: 46px; padding: 8px 4px; border: 0; border-radius: 12px; background: var(--cream); color: var(--navy); text-decoration: none; font-size: .8rem; font-weight: 800; }
  .mobile-shortcuts button { background: var(--navy); color: white; cursor: pointer; }
  .mobile-shortcuts a:last-child { color: #176545; }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .bag-dialog[open] { display: flex; flex-direction: column; }
  .bag-header { flex: 0 0 auto; min-height: 76px; }
  .bag-body { flex: 1 1 auto; height: auto; min-height: 80px; }
  .bag-summary { flex: 0 0 auto; height: auto; max-height: 58dvh; overflow-y: auto; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .bag-item-controls .quantity-control { grid-template-columns: 44px 34px 44px; }
  .bag-item-controls .quantity-control button, .bag-item-controls .quantity-control span { min-height: 44px; }
  .remove-item, .decant-add, .decant-consult { min-height: 44px; }
  .detail-media { min-height: 230px; padding: 25px; }
  .detail-media img { max-height: 240px; }
  .detail-copy { padding: 24px 18px; }
  .decant-row { padding: 8px; gap: 8px; }
  .customer-dialog { max-height: calc(100dvh - 24px); }
  .customer-actions { grid-template-columns: 1fr; }
}
@media (max-width: 359px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
