:root {
  color-scheme: light;
  --paper: #fbf4e8;
  --ink: #351b23;
  --wine: #63172b;
  --wine-dark: #380e1c;
  --gold: #f4d28b;
  --muted: #6c4e51;
  --line: #e2cdb7;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -.045em; line-height: 1.03; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.85rem); line-height: 1.1; letter-spacing: -.025em; }
:focus-visible { outline: 3px solid #a95b1c; outline-offset: 4px; }
.skip-link { position: absolute; top: .5rem; left: .5rem; transform: translateY(-160%); z-index: 5; padding: .75rem; background: white; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.shell { width: min(1144px, calc(100% - 80px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid #884d49; background: #350c1b; color: #fff2d6; }
.head-inner, .footer-inner, .head-inner nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.head-inner { min-height: 70px; }
.head-inner nav a { text-decoration: none; font-size: .91rem; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 1.45rem/1 var(--serif); white-space: nowrap; }
.flower { color: var(--gold); font-size: 1.95rem; }
.wordmark em { margin-top: .23rem; display: block; font: 600 .57rem/1 system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.nav-cart { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid #ae775c; padding: .52rem .76rem; border-radius: 30px; white-space: nowrap; }
.nav-cart span { color: var(--gold); font-variant-numeric: tabular-nums; }
.hero {
  position: relative;
  overflow: hidden;
  color: #fff5e2;
  background:
    radial-gradient(ellipse at 70% 52%, #a03642 0%, transparent 53%),
    radial-gradient(ellipse at 13% 5%, #722239, transparent 60%),
    #440f22;
  isolation: isolate;
  border-bottom: 1px solid #b27e59;
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url('./assets/papel.webp');
  opacity: .2;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: .94fr 1fr; align-items: center; min-height: 480px; }
.hero-copy { position: relative; z-index: 1; padding-block: 3rem; }
.eyebrow { color: #f5d9a2; text-transform: uppercase; letter-spacing: .19em; font-size: .76rem; font-weight: 650; }
.eyebrow::before { display: inline-block; content: ''; vertical-align: .22em; width: 1.8rem; height: 1px; margin-right: .55rem; background: #dfa965; }
h1 { margin: .68rem 0 1rem; font-size: clamp(3.5rem, 6.5vw, 6.5rem); letter-spacing: -.055em; line-height: .93; }
h1 em { display: block; color: var(--gold); font-weight: inherit; }
.hero-description { max-width: 385px; color: #ffebd9; line-height: 1.6; font-size: 1.05rem; margin-bottom: 1.55rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .68rem 1.05rem; border: 1px solid transparent; border-radius: .4rem; text-decoration: none; text-align: center; font-weight: 690; line-height: 1.2; }
.button-gold { background: #f2d18b; color: #3d1721; min-height: 49px; padding-inline: 1.3rem; }
.button-gold:hover { background: #ffe1a6; }
.hero-visual { position: relative; align-self: stretch; min-width: 0; }
.hero-arch { position: absolute; left: 19%; right: 15%; top: 7%; bottom: 8%; border-radius: 52% 52% 3% 3% / 44% 44% 3% 3%; border: 1px solid #d69d6d87; background: radial-gradient(ellipse at 58% 34%, #c07951a0, transparent 72%); }
.hero-arch::after { content: ''; position: absolute; inset: 7px; border: 1px solid #e3b06d48; border-radius: inherit; }
.hero-bottle { position: absolute; bottom: 8.5%; height: 87%; width: auto; aspect-ratio: 1 / 2; filter: drop-shadow(9px 10px 12px #25091170); }
.hero-bottle img { width: 100%; height: 100%; }
.hero-bottle img, .product-photo img { clip-path: polygon(41.9% 3.15%, 45% 2.7%, 55% 2.7%, 58.1% 3.15%, 59.6% 4%, 59.6% 18.7%, 59.1% 19.1%, 59.4% 26.9%, 60.8% 28.9%, 65% 31.7%, 68.6% 34.2%, 71.1% 37%, 72.4% 40.3%, 70.6% 86%, 69.4% 93%, 67.6% 95%, 64.6% 96%, 58.2% 96.6%, 41.8% 96.7%, 35.4% 96%, 32.4% 95%, 30.6% 93%, 29.4% 86%, 27.6% 40.3%, 28.9% 37%, 31.4% 34.2%, 35% 31.7%, 39.2% 28.9%, 40.6% 26.9%, 40.9% 19.1%, 40.4% 18.7%, 40.4% 4%); }
.hero-traditional { right: 37%; transform: rotate(-7deg); }
.hero-pisco { left: 42%; bottom: 5%; height: 80%; transform: rotate(7deg); }
.plinth { position: absolute; bottom: 7%; left: 13%; right: 12%; height: 10%; border-radius: 50%; transform: skewX(-9deg); background: radial-gradient(ellipse, #2509149c, #d4a26a73 59%, transparent 71%); }
.spark { position: absolute; color: #f2c47e; line-height: 1; }
.spark-one { left: 17%; top: 27%; font-size: 1.5rem; }
.spark-two { left: 26%; top: 17%; font-size: .72rem; }
.spark-three { right: 14%; top: 29%; font-size: 1.65rem; }
.spark-four { right: 19%; top: 43%; font-size: .75rem; }
.spark-five { right: 8%; top: 19%; font-size: .9rem; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(310px, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-block: 3.7rem 4rem; }
#pedido, #variedades { scroll-margin-top: 1rem; }
.section-intro { margin: .7rem 0 1.45rem; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.product { border: 1px solid var(--line); border-radius: .65rem; overflow: hidden; background: #fffcf6; }
.product-photo { display: flex; justify-content: center; align-items: center; height: clamp(175px, 22vw, 295px); padding: .6rem; border-bottom: 1px solid var(--line); }
.traditional-photo { background: radial-gradient(ellipse, #fff3dc, #e9cb9c); }
.pisco-photo { background: radial-gradient(ellipse, #f9eee8, #e9c7bf); }
.product-photo img { width: auto; height: 100%; }
.product-details { padding: .95rem; }
.product-details p { margin: .4rem 0 .85rem; color: var(--muted); font-size: .91rem; line-height: 1.4; min-height: 2.8em; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: .3rem; flex-wrap: wrap; }
.product-actions strong, .subtotal strong { color: var(--wine); white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; border-radius: .4rem; border: 1px solid #dfc5b4; overflow: hidden; font-variant-numeric: tabular-nums; }
.stepper span { min-width: 1.6rem; text-align: center; }
.stepper button { color: var(--wine); min-width: 2.35rem; min-height: 2.6rem; padding: 0; background: #f7e8da; border: 0; font-size: 1.22rem; }
.stepper button:focus-visible { outline-offset: -4px; }
.stepper button:disabled { color: #8a746e; cursor: default; background: #f9f0e8; }
.stepper button:hover:not(:disabled) { background: #f0d8c9; }
.combo { display: flex; align-items: center; justify-content: space-between; gap: .85rem; margin-bottom: 1rem; background: #f2e1c4; border: 1px solid #e5c698; padding: 1rem; border-radius: .65rem; }
.combo p { margin-top: .3rem; line-height: 1.4; }
.button-outline { color: var(--wine); border-color: #aa7771; background: #fff3e2; white-space: nowrap; }
.button-outline:hover { background: #fff9ee; }
.delivery-note { margin-top: 1.6rem; }
.delivery-note p { margin-top: .45rem; color: var(--muted); line-height: 1.55; max-width: 33rem; }
.order { background: #fffdf8; border: 1px solid var(--line); border-top: 3px solid #b8894e; border-radius: .65rem; padding: clamp(1rem, 2.5vw, 1.7rem); box-shadow: 0 10px 34px #632a1510; }
.order h2 { font-size: 2.12rem; }
.order-heading, .subtotal, .savings { display: flex; justify-content: space-between; align-items: center; gap: .55rem; }
.link-button { border: 0; padding: .25rem 0; min-height: 32px; background: none; color: var(--wine); text-decoration: underline; text-underline-offset: .18rem; font-size: .88rem; font-weight: 650; }
.empty, .field-help { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.empty { margin: .85rem 0; }
.order-items { padding: 0; margin: .85rem 0; list-style: none; }
.order-items li { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem; font-size: .94rem; padding-block: .28rem; }
.order-items strong { white-space: nowrap; }
.totals { border-block: 1px solid #eadac9; padding-block: .72rem; margin-bottom: 1rem; }
.savings { color: #386149; font-size: .9rem; margin-bottom: .45rem; }
.subtotal strong { font-size: 1.45rem; }
fieldset { border: 0; padding: 0; margin: 0 0 .65rem; }
legend { font-weight: 700; margin-bottom: .48rem; padding: 0; }
.delivery-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.delivery-options label { display: flex; align-items: center; gap: .38rem; border: 1px solid var(--line); border-radius: .35rem; padding: .5rem; cursor: pointer; min-height: 44px; }
.delivery-options label:has(:checked) { border-color: #a96872; background: #faedf0; }
input[type=radio], input[type=checkbox] { accent-color: var(--wine); width: 1rem; height: 1rem; flex: 0 0 auto; margin: 0; }
.delivery-fields > label { display: block; font-size: .89rem; font-weight: 650; margin-top: .6rem; margin-bottom: .25rem; }
.delivery-fields > input { width: 100%; min-height: 44px; border: 1px solid #ccafa5; border-radius: .35rem; background: #fff; color: var(--ink); padding: .45rem .58rem; }
.location { margin-top: .15rem; }
.location-status:empty, #location-status:empty { display: none; }
.gift { display: flex; align-items: start; gap: .55rem; margin-block: .75rem .85rem; padding: .65rem; background: #f7eddd; border-radius: .35rem; cursor: pointer; font-size: .93rem; }
.gift input { margin-top: .16rem; }
.gift small { display: block; color: var(--muted); font-size: .875rem; margin-top: .1rem; }
.button-send { width: 100%; color: #fff; background: #22563e; }
.button-send:hover:not(:disabled) { background: #17432e; }
.button-send:disabled { opacity: .63; cursor: default; }
.send-help { text-align: center; margin-top: .5rem; }
.site-footer { background: var(--wine-dark); color: #f9e9cd; }
.footer-inner { min-height: 88px; }
.footer-inner > span { font: italic 1.25rem var(--serif); }
.mobile-order { display: none; }
@media (max-width: 900px) {
  .shell { width: min(100% - 48px, 780px); }
  .hero-inner { min-height: 410px; }
  .shop-layout { gap: 1.25rem; }
  .product-actions { align-items: flex-start; }
}
@media (max-width: 720px) {
  .shell { width: min(100% - 36px, 520px); }
  .head-inner { min-height: 62px; }
  .nav-varieties { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { padding-block: 2.05rem .4rem; }
  h1 { font-size: clamp(3.4rem, 12vw, 5.2rem); }
  .hero-description { margin-inline: auto; margin-bottom: 1rem; }
  .hero-visual { min-height: 290px; }
  .hero-arch { left: 20%; right: 20%; }
  .hero-traditional { right: 39%; }
  .hero-pisco { left: 43%; }
  .shop-layout { display: block; padding-block: 2.15rem 2rem; }
  .order { margin-top: 1.7rem; scroll-margin-bottom: 5rem; }
  .product-grid { gap: .65rem; }
  .product-details { padding: .65rem; }
  .product-photo { height: clamp(155px, 47vw, 245px); }
  .product-actions { gap: .35rem; }
  .product-details p { min-height: 3.8em; }
  .combo { padding: .75rem; }
  .combo p { font-size: .9rem; }
  .combo .button { padding-inline: .5rem; font-size: .86rem; }
  .mobile-order { display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 2; background: #fff9ee; border-top: 1px solid #d7b597; box-shadow: 0 -4px 20px #47172815; padding: .58rem 1.12rem calc(.58rem + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: .6rem; }
  .mobile-order > span { display: grid; gap: .05rem; font-size: .78rem; }
  .mobile-order strong { font-size: 1.14rem; color: var(--wine); }
  .button-maroon { background: var(--wine); color: #fff; }
  body:has(.mobile-order:not([hidden])) .site-footer { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 26px); }
  .wordmark { font-size: 1.23rem; }
  .product-details p { min-height: 4.25em; }
  .combo { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
