/* Imperium · hoja de estilos única. */

:root {
  --white: #ffffff; --black: #101114; --gold: #b08d3c; --navy: #0f1d36;
  --gold-ink: #806323; --muted: #60636b; --paper: #f5f6f7; --line: #dfe1e6;
  --header-height: 80px; --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', Arial, Helvetica, sans-serif; --brand: 'Cinzel', Georgia, serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; padding-top: var(--header-height); color: var(--black); background: var(--white); font: 16px/1.6 var(--sans); }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, a, summary, label { -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
button, a { touch-action: manipulation; }
a { color: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1, h2 { line-height: 1.05; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 4px; }
.dark :focus-visible { outline-color: #e1c47e; }
.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; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 10px; }
.wrap { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }

/* BOTONES */
.button { min-height: 46px; padding: 12px 23px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--gold); border-radius: var(--radius-sm); background: var(--gold); color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; transition: all .25s cubic-bezier(0.4, 0, 0.2, 1); }
.button:hover { background: #c29e4d; border-color: #c29e4d; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(176, 141, 60, 0.2); }
.button.outline { color: var(--white); background: transparent; border-color: #718098; }
.button.outline:hover { border-color: var(--gold); background: #172b49; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
.button.ink { background: var(--navy); border-color: var(--navy); color: var(--white); }
.button.ink:hover { background: #243856; box-shadow: 0 4px 12px rgba(15, 29, 54, 0.2); }
.button.danger { background: #8b2525; border-color: #8b2525; color: var(--white); }
.button.danger:hover { background: #6d1c1c; border-color: #6d1c1c; }
.button:disabled { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
.text-button { border: none; background: none; min-height: 44px; padding: 8px 0; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; color: var(--gold-ink); transition: color .2s; }
.text-button:hover { color: var(--navy); }

/* HEADER */
.site-header { position: fixed; top: 0; inset-inline: 0; z-index: 30; height: var(--header-height); border-bottom: 1px solid #e5e0d4; background: var(--white); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.header-emblem { width: 35px; height: 48px; }
.brand-name { font-family: var(--brand); font-size: 21px; letter-spacing: .13em; font-weight: 500; }
.header-nav { display: flex; align-items: center; gap: 34px; }
.header-nav a { font-size: 15px; text-decoration: none; transition: color .2s; }
.header-nav a:hover { color: var(--gold-ink); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-whatsapp { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.whatsapp-symbol { display: none; }
.menu-button { display: none; width: 43px; height: 43px; border: 1px solid var(--line); background: var(--white); padding: 10px; border-radius: var(--radius-sm); transition: background .2s; }
.menu-button:hover { background: var(--paper); }
.line-icon { width: 23px; height: 23px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.header-cart { min-height: 43px; padding: 8px 16px; gap: 8px; border: 1px solid var(--gold); background: var(--white); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; border-radius: var(--radius-sm); transition: all .2s; }
.header-cart:hover { background: #f5f1e7; transform: translateY(-1px); }
.header-cart svg { width: 21px; height: 21px; flex-shrink: 0; }
.cart-count { min-width: 20px; height: 20px; padding-inline: 5px; display: inline-grid; place-items: center; background: var(--navy); color: var(--white); font-size: 11px; line-height: 1; border-radius: var(--radius-pill); }

/* BANNER */
.banner-section { position: relative; width: 100%; height: 420px; overflow: hidden; background: var(--navy); }
.banner-track { position: relative; width: 100%; height: 100%; }
.banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease-in-out; z-index: 1; pointer-events: none; }
.banner-slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
.banner-bg { position: absolute; inset: 0; z-index: 0; }
.banner-img { width: 100%; height: 100%; object-fit: cover; }
.banner-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,29,54,0.9) 0%, rgba(15,29,54,0.4) 60%, transparent 100%); z-index: 1; }
.banner-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-inline: 8%; max-width: 800px; color: var(--white); }
.banner-title { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin-bottom: 15px; color: var(--white); }
.banner-subtitle { font-size: 18px; margin-bottom: 30px; color: #d1d8e5; max-width: 500px; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: var(--white); width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; backdrop-filter: blur(4px); border-radius: 50%; }
.banner-arrow:hover { background: rgba(255,255,255,0.25); border-color: var(--gold); transform: translateY(-50%) scale(1.05); }
.banner-arrow svg { width: 24px; height: 24px; }
.banner-arrow.prev { left: 20px; }
.banner-arrow.next { right: 20px; }
.banner-dots { position: absolute; bottom: 25px; left: 0; right: 0; z-index: 4; display: flex; justify-content: center; gap: 10px; }
.banner-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); border: 0; cursor: pointer; padding: 0; transition: all 0.2s; }
.banner-dot.active { background: var(--gold); transform: scale(1.3); }
@media (max-width: 800px) {
  .banner-section { height: 320px; }
  .banner-content { padding-inline: 24px; justify-content: flex-end; padding-bottom: 40px; }
  .banner-title { font-size: 32px; }
  .banner-subtitle { font-size: 15px; margin-bottom: 20px; }
  .banner-arrow { display: none; } 
  .banner-bg::after { background: linear-gradient(to top, rgba(15,29,54,0.9) 0%, rgba(15,29,54,0.4) 60%, transparent 100%); }
}

/* HERO */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--gold); background: var(--navy); color: var(--white); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.18fr 1fr; align-items: center; gap: 8%; min-height: 630px; padding-block: 70px; }
.hero h1 { font-size: clamp(46px, 5.6vw, 76px); max-width: 660px; }
.hero h1 span { color: #d8b768; }
.hero-copy > p { color: #cbd2df; max-width: 415px; margin-top: 28px; font-size: 17px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-circles { position: absolute; width: 750px; height: 750px; border: 1px solid #b08d3c20; border-radius: 50%; top: -400px; left: -500px; pointer-events: none; }
.hero-circles::after { content: ''; position: absolute; inset: -100px; border: 1px solid #b08d3c15; border-radius: 50%; }
.logo-stage { position: relative; width: 100%; max-width: 425px; margin: auto; padding: 12px; }
.logo-arch { position: relative; display: grid; place-items: center; min-height: 440px; border: 1px solid var(--gold); border-radius: 50% 50% 0 0; background: radial-gradient(ellipse at 50% 36%, #223754 0, #13233f 56%, var(--navy) 100%); overflow: hidden; }
.logo-arch::before { content: ''; position: absolute; inset: 10px; border: 1px solid #b08d3c80; border-radius: 50% 50% 0 0; pointer-events: none; }
.hero-logo { width: 79%; max-height: 340px; object-fit: contain; margin-top: 40px; }
.star { width: 26px; height: 26px; position: absolute; color: var(--gold); fill: currentColor; z-index: 2; }
.star.one { top: 19%; left: -4%; width: 18px; height: 18px; }
.star.two { top: 8%; right: 4%; }
.star.three { bottom: 15%; right: -5%; width: 15px; height: 15px; }

/* CATÁLOGO Y FILTROS */
.catalog-section { padding-block: 84px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 29px; }
.section-heading h2, .steps-section h2, .contact-section h2 { font-size: clamp(37px, 4vw, 52px); }
.section-heading p { color: var(--muted); max-width: 405px; font-size: 16px; }

.category-switch { display: flex; gap: 10px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; }
.category-switch::-webkit-scrollbar { display: none; }
.switch-btn { background: var(--white); border: 1px solid var(--line); padding: 8px 20px; font-size: 14px; color: var(--muted); cursor: pointer; transition: all .25s; white-space: nowrap; border-radius: var(--radius-pill); }
.switch-btn:hover { border-color: var(--gold); color: var(--gold-ink); }
.switch-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: 0 4px 10px rgba(15, 29, 54, 0.15); }

.filter-bar { position: sticky; top: var(--header-height); z-index: 20; background: var(--white); border-block: 1px solid var(--line); padding: 17px 0; display: grid; grid-template-columns: 1.3fr 3fr; gap: 15px; }
.search-field { position: relative; align-self: end; }
.search-field .line-icon { position: absolute; left: 13px; bottom: 12px; color: #717986; width: 20px; height: 20px; pointer-events: none; }
.search-field input { padding-left: 42px; }
.filter-panel { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.25fr; gap: 10px; }
.search-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 9px; }
.search-controls .search-field { min-width: 0; }

.price-toggle { min-height: 46px; padding: 10px 18px; background: var(--white); border: 1px solid var(--gold); color: var(--navy); font-weight: 500; white-space: nowrap; border-radius: var(--radius-sm); transition: all .2s; }
.price-toggle:hover { background: #f5f1e7; }
.price-toggle[aria-pressed="true"] { background: var(--navy); color: var(--white); box-shadow: 0 4px 10px rgba(15, 29, 54, 0.15); }
.price-panel { grid-column: 1/-1; padding: 16px 0 2px; border-top: 1px solid var(--line); margin-top: 10px; }
.price-panel-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.price-panel h3 { font-size: 27px; }
.price-range-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; max-width: 650px; }
.price-range-fields input[type="number"] { width: 100%; min-height: 44px; border: 1px solid #d4d7df; background: var(--white); color: var(--black); padding: 9px 12px; border-radius: var(--radius-sm); }
.price-range-fields input[type="range"] { display: block; width: 100%; min-height: 34px; margin: 6px 0 0; accent-color: var(--gold-ink); cursor: pointer; }
.price-range-summary { font-size: 15px; margin-top: 6px; }
.price-range-note { font-size: 13px; color: var(--muted); }
@media (max-width:430px) { .price-toggle { padding-inline: 10px; font-size: 13px; } .price-range-fields { gap: 12px; } }

.field-label { display: block; font-size: 14px; color: #51545c; margin-bottom: 5px; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid #d4d7df; border-radius: var(--radius-sm); color: var(--black); background: var(--white); min-height: 44px; padding: 10px 12px; font-size: 14px; transition: border-color .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; }
select { padding-right: 7px; }
.filter-toggle { display: none; border-radius: var(--radius-sm); }

.result-line { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 22px; min-height: 76px; font-size: 14px; color: var(--muted); }
.result-line strong { color: var(--black); font-weight: 500; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 34px 22px; }

/* TARJETAS DE PRODUCTO */
.product-card { min-width: 0; border: 1px solid transparent; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s; }
.product-card:hover { transform: translateY(-4px); }
.product-open { display: block; padding: 0; text-align: left; border: 0; background: transparent; width: 100%; }
.product-picture { display: grid; place-items: center; position: relative; width: 100%; aspect-ratio: 1 / 1.15; overflow: hidden; background: var(--navy); border-radius: var(--radius-md); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.product-image { width: 100%; height: 100%; object-fit: contain; background: #f5f6f7; transition: transform 0.4s ease; }
.product-card:hover .product-image { transform: scale(1.05); }
.bottle-art { width: 60%; height: 70%; color: var(--gold); }
.placeholder-brand { position: absolute; bottom: 23px; inset-inline: 13px; text-align: center; color: #d0b575; font-size: 12px; letter-spacing: .11em; }
.availability-badge { position: absolute; top: 13px; left: 13px; padding: 6px 12px; background: #efe5c8; color: var(--navy); font-size: 12px; font-weight: 500; z-index: 2; border-radius: var(--radius-pill); box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.availability-badge.sold-out { background: #f0f1f3; color: #333943; }
.product-body { display: block; padding: 17px 1px 0; }
.product-brand { display: block; color: var(--gold-ink); font-size: 12px; margin-bottom: 5px; letter-spacing: .04em; text-transform: uppercase; }
.product-name { display: block; color: var(--black); font: 500 24px/1.13 var(--serif); min-height: 54px; transition: color .2s; }
.product-price { display: block; font-size: 16px; margin-top: 12px; font-weight: 500; }
.product-open:hover .product-name { color: var(--gold-ink); }

.card-cart-add { width: 100%; min-height: 44px; padding: 9px 8px; margin-top: 13px; background: var(--white); color: var(--navy); font-size: 13px; border-radius: var(--radius-sm); transition: all .2s; border: 1px solid var(--gold); }
.card-cart-add:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.card-cart-add:disabled, .cart-quantity button:disabled { cursor: not-allowed; opacity: .45; }
.card-cart-add.added { background: #2e7d32; color: var(--white); border-color: #2e7d32; }

.more-area { text-align: center; margin-top: 48px; }
.more-area p { font-size: 13px; color: var(--muted); margin-bottom: 17px; }
.empty-state { padding: 70px 25px; text-align: center; background: var(--paper); border-radius: var(--radius-md); }
.empty-state h3 { font-size: 32px; margin-bottom: 12px; }
.empty-state p { color: var(--muted); margin-bottom: 18px; }

/* QUIZ */
.profile-section { padding-block: 78px; }
.profile-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: start; }
.profile-intro h2 { font-size: clamp(39px,4vw,54px); margin-bottom: 22px; }
.profile-intro p { color: var(--muted); max-width: 350px; }
.profile-panel { border-top: 1px solid var(--gold); padding-top: 23px; min-width: 0; overflow: hidden; }
.quiz-progress { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.quiz-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz-fieldset legend { font: 500 31px/1.15 var(--serif); margin-bottom: 12px; }
.quiz-help { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.quiz-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.quiz-option { position: relative; display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid var(--line); min-height: 56px; cursor: pointer; border-radius: var(--radius-sm); transition: all .2s; }
.quiz-option:hover { border-color: var(--gold); }
.quiz-option:has(input:checked) { border-color: var(--gold-ink); background: #f8f4e9; box-shadow: 0 2px 8px rgba(176, 141, 60, 0.15); }
.quiz-option input { width: 17px; height: 17px; min-height: 0; padding: 0; flex-shrink: 0; accent-color: var(--gold-ink); }
.quiz-option span { font-size: 15px; }
.quiz-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 25px; }
.quiz-error { color: #9b2525; font-size: 14px; margin-top: 16px; }
.quiz-result h3 { font-size: 38px; margin-bottom: 18px; }
.quiz-result > p { color: var(--muted); margin-bottom: 17px; }
.quiz-result .product-facts { margin-bottom: 22px; }
.quiz-result-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ANIMACIONES DEL QUIZ */
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
.anim-slide-right { animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.anim-slide-left { animation: slideInLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.anim-fade-in { animation: modal-in 0.4s ease-out forwards; }

/* NOSOTROS Y CÓMO PEDIR */
.steps-section { background: var(--paper); padding-block: 66px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6%; margin-top: 40px; }
.order-step { border-top: 1px solid #c9b47d; padding-top: 25px; }
.step-top { display: flex; align-items: center; justify-content: space-between; color: var(--gold-ink); margin-bottom: 17px; }
.step-top .line-icon { width: 32px; height: 32px; }
.step-number { font-family: var(--serif); font-size: 24px; }
.order-step h3 { font-size: 30px; margin-bottom: 9px; }
.order-step p { font-size: 16px; color: var(--muted); max-width: 330px; }

.about-section { background: var(--navy); color: var(--white); padding-block: 90px; }
.about-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 15%; }
.about-section h2 { font-size: clamp(40px,4vw,56px); margin-bottom: 25px; }
.about-story { color: #cbd2df; font-size: 17px; max-width: 580px; line-height: 1.8; white-space: pre-line; }
.about-art { height: 260px; display: flex; align-items: center; justify-content: center; border-left: 1px solid #b08d3c50; }
.about-art svg { width: 185px; height: 245px; color: var(--gold); }

.contact-section { padding-block: 75px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr repeat(3,1fr); gap: 30px; align-items: start; }
.contact-item { border-top: 1px solid var(--line); padding-top: 17px; }
.contact-item h3 { font-family: var(--sans); font-size: 16px; font-weight: 500; margin-bottom: 10px; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 15px; text-decoration: none; transition: color .2s; }
.contact-item a:hover { color: var(--gold-ink); text-decoration: underline; }

/* FOOTER */
.site-footer { padding-block: 28px; background: var(--navy); color: #c8d0dc; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-name { font-family: var(--brand); font-size: 17px; color: #d6b467; letter-spacing: .15em; }
.footer-inner p { font-size: 13px; }

/* MODALES Y DIALOGS */
.product-dialog { width: min(950px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; overflow: auto; background: var(--white); color: var(--black); border-radius: var(--radius-md); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.product-dialog::backdrop { background: #070d1ad9; backdrop-filter: blur(4px); }
.product-dialog[open] { animation: modal-in .3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-layout { display: grid; grid-template-columns: 1fr 1.13fr; }
.modal-picture { min-height: 430px; aspect-ratio: auto; height: 100%; border-radius: var(--radius-md) 0 0 var(--radius-md); }
.modal-picture .bottle-art { max-height: 380px; }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 5; background: var(--white); border: 1px solid var(--line); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: all .2s; }
.modal-close:hover { background: var(--paper); transform: rotate(90deg); }
.modal-copy { padding: 48px 35px 32px; }
.modal-brand { font-size: 14px; color: var(--gold-ink); margin-bottom: 9px; text-transform: uppercase; letter-spacing: 0.05em; }
.modal-copy h2 { font-size: 43px; line-height: 1.05; }
.modal-price { font-size: 22px; margin: 20px 0; font-weight: 500; }
.product-facts { margin: 0 0 24px; padding: 0; font-size: 15px; }
.fact-row { display: grid; grid-template-columns: 120px 1fr; gap: 15px; padding: 11px 0; border-top: 1px solid var(--line); }
.fact-row dt { color: var(--muted); }
.fact-row dd { margin: 0; overflow-wrap: anywhere; }
.modal-whatsapp { width: 100%; }
.reference-caption { color: var(--muted); font-size: 12px; margin: 13px 0; }

/* FICHA TÉCNICA */
.modal-notes { border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 26px; }
.modal-notes h3 { font-size: 29px; margin-bottom: 17px; }
.notes-pyramid { list-style: none; padding: 0; margin: 0; display: grid; gap: 17px; }
.note-level { border-left: 2px solid var(--gold); padding-left: 15px; }
.note-level strong { display: block; color: var(--gold-ink); font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.note-level p, .notes-featured { font-size: 15px; color: #40434b; line-height: 1.65; }
.notes-featured { margin-top: 14px; }
.notes-notice { color: var(--muted); font-size: 13px; line-height: 1.65; margin-top: 15px; }
.product-navigation { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); margin-top: 23px; padding-top: 14px; }
.product-nav-button { min-height: 44px; border: 0; background: transparent; padding: 8px 0; color: var(--gold-ink); font-size: 14px; transition: color .2s; }
.product-nav-button:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--navy); }
.product-nav-button:disabled { color: #777b83; opacity: .6; cursor: default; text-decoration: none; }
.product-position { color: var(--muted); font-size: 12px; white-space: nowrap; }

/* CARRITO LATERAL */
.cart-dialog { inset: 0 0 0 auto; margin: 0; width: min(570px,100%); max-width: 100%; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; border-left: 1px solid var(--gold); background: var(--white); color: var(--black); box-shadow: -10px 0 40px rgba(0,0,0,0.15); }
.cart-dialog::backdrop { background: #070d1ad9; backdrop-filter: blur(3px); }
.cart-dialog[open] { animation: cart-in .3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes cart-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cart-shell { height: 100%; display: flex; flex-direction: column; }
.cart-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 27px 28px 23px; border-bottom: 1px solid var(--line); }
.cart-heading h2 { font-size: 39px; line-height: 1.1; margin: 0 0 9px; }
.cart-heading p { font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 370px; }
.cart-close { position: static; flex-shrink: 0; }
.cart-content { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 28px 20px; }
.cart-clear { display: block; margin-left: auto; margin-top: 7px; }
.cart-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-item-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: start; }
.cart-item-brand { font-size: 12px; color: var(--gold-ink); margin-bottom: 5px; text-transform: uppercase; }
.cart-item h3 { font-size: 27px; line-height: 1.1; overflow-wrap: anywhere; }
.cart-unit-price { text-align: right; font-size: 15px; white-space: nowrap; padding-top: 4px; }
.cart-unit-price span { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.cart-item-meta { color: var(--muted); font-size: 12px; margin-top: 10px; }
.cart-item-bottom { margin-top: 14px; display: flex; align-items: center; gap: 17px; flex-wrap: wrap; }
.cart-quantity { display: inline-flex; border: 1px solid #d4d7df; border-radius: var(--radius-sm); overflow: hidden; }
.cart-quantity button { width: 42px; height: 42px; border: 0; background: var(--white); font-size: 19px; color: var(--navy); transition: background .2s; }
.cart-quantity button:hover:not(:disabled) { background: #f5f1e7; }
.cart-quantity output { min-width: 32px; display: grid; place-items: center; font-size: 14px; }
.cart-remove { font-size: 13px; }
.cart-line-total { margin-left: auto; font-size: 15px; font-weight: 500; }
.cart-empty { padding-block: 50px; max-width: 370px; }
.cart-empty h3 { font-size: 32px; margin-bottom: 12px; }
.cart-empty p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 25px; }
.cart-footer { padding: 24px 28px calc(24px + env(safe-area-inset-bottom,0px)); border-top: 1px solid var(--gold); background: #faf9f6; }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; margin-bottom: 18px; }
.cart-total-row span { font-size: 15px; }
.cart-total-row strong { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1; }
.cart-footer .button { width: 100%; }
.cart-footer p, .cart-storage-notice { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 13px; }
.cart-footer .cart-price-notice { color: #76571a; margin: 0 0 14px; }
.cart-feedback { z-index: 70; }

/* CHECKOUT */
.checkout-form { display: grid; gap: 10px; margin-bottom: 15px; }
.checkout-form input { min-height: 40px; font-size: 14px; border-radius: var(--radius-sm); }
.checkout-actions { display: grid; gap: 10px; }
.checkout-actions .button { width: 100%; }

/* SEGUIMIENTO */
.timeline { list-style: none; padding: 0; margin: 30px 0; display: flex; justify-content: space-between; position: relative; }
.timeline::before { content: ''; position: absolute; top: 15px; left: 10%; right: 10%; height: 2px; background: var(--line); z-index: 1; }
.timeline-step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; flex: 1; text-align: center; }
.timeline-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); display: grid; place-items: center; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 10px; transition: all 0.3s; }
.timeline-step.done .timeline-dot { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.timeline-step.current .timeline-dot { border-color: var(--gold); color: var(--gold-ink); box-shadow: 0 0 0 4px #b08d3c30; }
.timeline-step span { font-size: 13px; color: var(--muted); }
.timeline-step.current span { color: var(--black); font-weight: 500; }
.timeline-step.done span { color: var(--gold-ink); }

.order-status-badge { display: inline-block; padding: 6px 12px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; text-transform: capitalize; }
.status-pedido { background: #fff3cd; color: #856404; }
.status-comprado { background: #cce5ff; color: #004085; }
.status-enviando { background: #d1ecf1; color: #0c5460; }
.status-entregado { background: #d4edda; color: #155724; }
.status-cancelado { background: #f8d7da; color: #721c24; }
.order-details-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.order-details-table th, .order-details-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }

/* TOAST */
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 60; width: min(560px,calc(100% - 32px)); padding: 13px 18px; background: var(--navy); border: 1px solid var(--gold); color: var(--white); font-size: 14px; border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

/* RESPONSIVE */
@media (min-width:1500px) { .wrap { width: min(1360px,calc(100% - 100px)); } .catalog-grid { gap: 35px 28px; } }
@media (max-width:1100px) { 
  .header-nav { gap: 23px; } 
  .filter-bar { grid-template-columns: 1fr; gap: 12px; } 
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } 
  .hero-inner { gap: 5%; min-height: 590px; } 
  .logo-arch { min-height: 400px; } 
  .hero h1 { font-size: 59px; } 
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 40px; } 
  .header-nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 22px; border-bottom: 1px solid var(--line); background: var(--white); } 
  .menu-button { display: block; } 
  .header-nav.is-open { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; justify-content: start; text-align: left; } 
  .header-nav a { padding: 12px; font-size: 15px; } 
  .header-nav a[href="#perfil-olfativo"] { grid-column: 1/-1; } 
}
@media (max-width:800px) {
  :root { --header-height: 72px; } .wrap { width: calc(100% - 36px); }
  .brand-name { font-size: 18px; } .header-emblem { width: 30px; height: 44px; } .brand-lockup { gap: 8px; }
  .header-inner { gap: 10px; } .header-actions { gap: 9px; }
  .header-whatsapp { width: 42px; height: 43px; padding: 9px; } .whatsapp-label { display: none; } .whatsapp-symbol { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 38px; min-height: 0; padding-block: 52px 42px; }
  .hero h1 { font-size: clamp(43px,8vw,61px); max-width: 600px; } .hero-copy > p { margin-top: 22px; font-size: 16px; max-width: 500px; }
  .hero-buttons { margin-top: 27px; } .logo-stage { max-width: 350px; width: 87%; } .logo-arch { min-height: 360px; } .hero-logo { max-height: 290px; margin-top: 25px; }
  .catalog-section { padding-block: 53px; } .section-heading { display: block; margin-bottom: 23px; } .section-heading p { margin-top: 17px; }
  .filter-bar { grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 12px 0; } .filter-bar .search-field .field-label { display: none; }
  .filter-toggle { display: flex; align-items: center; justify-content: center; gap: 7px; background: var(--white); border: 1px solid #d4d7df; padding: 10px 13px; min-height: 44px; font-size: 14px; }
  .filter-toggle .line-icon { width: 18px; height: 18px; } .filter-panel { display: none; grid-column: 1/-1; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 11px; }
  .filter-bar.is-expanded .filter-panel { display: grid; } .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 15px; }
  .product-name { font-size: 23px; } .steps-section { padding-block: 48px; } .steps-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 29px; }
  .step-top { margin-bottom: 12px; } .order-step { padding-top: 17px; } .order-step p { max-width: 500px; }
  .profile-section { padding-block: 52px; } .profile-layout { grid-template-columns: 1fr; gap: 30px; } .profile-intro p { max-width: 500px; }
  .about-section { padding-block: 55px; } .about-inner { grid-template-columns: 1fr; gap: 34px; } .about-art { border-left: none; border-top: 1px solid #b08d3c50; padding-top: 30px; height: 235px; }
  .about-art svg { height: 190px; } .contact-section { padding-block: 52px; } .contact-grid { gap: 30px; }
  .footer-inner { flex-wrap: wrap; gap: 15px; } .footer-inner p { order: 3; width: 100%; }
  .modal-layout { grid-template-columns: 1fr; } .modal-picture { min-height: 0; height: 295px; border-radius: var(--radius-md) var(--radius-md) 0 0; } .modal-picture .bottle-art { height: 70%; width: 48%; } .modal-copy { padding: 30px 24px; } .modal-copy h2 { font-size: 35px; }
  .header-cart { padding: 7px; gap: 4px; } .cart-label { display: none; } .cart-count { min-width: 15px; padding-inline: 2px; font-size: 10px; }
}
@media (max-width:430px) { 
  .wrap { width: calc(100% - 30px); } .hero-buttons .button { padding: 11px 19px; } .hero h1 { font-size: 45px; } 
  .logo-stage { width: 86%; } .logo-arch { min-height: 315px; } .hero-logo { max-height: 250px; } 
  .product-brand { font-size: 11px; } .product-name { font-size: 21px; min-height: 50px; } .product-price { font-size: 15px; } 
  .placeholder-brand { font-size: 10px; bottom: 17px; letter-spacing: .04em; } .availability-badge { top: 9px; left: 8px; font-size: 11px; padding: 4px 7px; } 
  .contact-grid { grid-template-columns: 1fr; gap: 27px; } .contact-grid h2 { margin-bottom: 5px; } 
  .modal-copy { padding: 26px 20px; } .fact-row { grid-template-columns: 104px 1fr; gap: 9px; }
  .header-actions { gap: 6px; } .header-inner { gap: 8px; } 
  .brand-name { font-size: 16px; letter-spacing: .09em; } .brand-lockup { gap: 6px; } .header-emblem { width: 26px; } 
  .header-cart { position: relative; width: 43px; height: 43px; } .cart-count { position: absolute; right: 0; top: 0; height: 15px; } 
  .cart-heading { padding: 24px 20px 20px; } .cart-heading h2 { font-size: 35px; } 
  .cart-content { padding-inline: 20px; } .cart-footer { padding-inline: 20px; } 
  .cart-item h3 { font-size: 24px; } .cart-item-heading { gap: 12px; } .cart-item-bottom { gap: 12px; } .cart-line-total { font-size: 14px; } 
  .modal-cart-actions { gap: 10px; } .modal-cart-actions .button { font-size: 14px; padding-inline: 10px; } 
}

/* UTILIDADES Y ACCESIBILIDAD */
@media (prefers-reduced-motion: reduce) { 
  html { scroll-behavior: auto; } 
  *, *::before, *::after { animation: none !important; transition: none !important; transform: none !important; } 
}
@media print { .site-header, .filter-bar, .more-area, dialog, .banner-section { display: none !important; } body { padding-top: 0; } .hero { break-inside: avoid; } }

/* ANIMACIÓN DEL CARRITO */
@keyframes cartBump {
  0% { transform: scale(1); }
  25% { transform: scale(1.15) rotate(-5deg); }
  50% { transform: scale(1.15) rotate(5deg); }
  75% { transform: scale(1.15) rotate(-5deg); }
  100% { transform: scale(1); }
}
.cart-bump { animation: cartBump 0.5s ease-in-out; }