/* Gran Reserva · tienda */
:root {
  --ink: #1D1A1C;
  --ink-2: #5A5256;
  --ink-3: #8A8085;
  --line: #E8E2E3;
  --line-2: #D6CDCF;
  --ground: #FFFFFF;
  --surface: #F7F4F4;
  --wine: #6B1730;
  --wine-dark: #4A0E20;
  --wine-soft: #F4E9EC;
  --gold: #A0824E;
  --ok: #2E6A4E;
  --ok-soft: #E8F2EC;
  --err: #A8231B;
  --err-soft: #FBEDEC;

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  font: 600 12px/1.3 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.display { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }

/* ---------- botones ---------- */
.btn {
  --b: var(--wine);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border: 1px solid var(--b); border-radius: var(--radius);
  background: var(--b); color: #fff;
  font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { --b: var(--wine-dark); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); --b: var(--line-2); }
.btn-ghost:hover { --b: var(--ink); background: transparent; }
.btn-light { --b: #fff; color: var(--wine-dark); }
.btn-light:hover { --b: var(--wine-soft); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 12px; }
.link { color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- cintillo y cabecera ---------- */
.announce {
  background: var(--wine-dark); color: #F3E6EA;
  text-align: center; font-size: 12.5px; letter-spacing: .04em;
  padding: 9px var(--gutter);
}
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
.logo-main { font-family: var(--display); font-size: 23px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wine); }
.logo-sub { font-size: 9.5px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; padding-left: 2px; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { text-decoration: none; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--wine); color: var(--wine); }
.actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 50%;
  text-decoration: none;
}
.icon-btn:hover { background: var(--surface); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 5px; right: 3px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--wine); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .bar { gap: 10px; }
  .nav-toggle { display: inline-grid; margin-left: -10px; }
  .site-header .logo { margin-inline: auto; align-items: center; }
  .site-header .logo-main { font-size: 21px; }
  .site-header .logo-sub { font-size: 9px; letter-spacing: .36em; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 39;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 20px 30px -24px rgba(29, 26, 28, .4);
  }
  .site-nav:not(.open) { display: none; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .actions { margin-right: -10px; }
  .actions .hide-sm { display: none; }
}

/* ---------- slider de portada ----------
   Escritorio: foto a todo el ancho, texto a la izquierda y sello de descuento junto a las botellas.
   Celular: la foto va arriba y el texto debajo, sin taparse nunca. */
.hero { position: relative; background: #2A0912; color: #fff; overflow: hidden; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide {
  position: relative; flex: 0 0 100%; width: 100%; scroll-snap-align: start;
  display: flex; align-items: center;
  aspect-ratio: 2 / 1; min-height: 440px; max-height: 620px;
  background: radial-gradient(120% 140% at 80% 35%, #8A2340 0%, #5A1228 45%, #2A0912 100%);
}
.slide-media { position: absolute; inset: 0; }
.slide-media picture, .slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.has-image .slide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 8, 12, .55) 0%, rgba(20, 8, 12, .18) 40%, rgba(20, 8, 12, 0) 58%); }
.slide.light { color: var(--ink); background: var(--surface); }
.slide.light.has-image .slide-media::after { background: linear-gradient(90deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .3) 45%, rgba(255, 255, 255, 0) 62%); }
.slide-art { position: absolute; right: 6%; bottom: 0; width: 40%; height: 86%; display: flex; align-items: flex-end; justify-content: center; gap: 4%; }
.slide-art svg { flex: 1 1 0; min-width: 0; height: 100%; width: auto; }

.slide-copy { position: relative; z-index: 2; width: 100%; }
.slide-copy > div { max-width: min(500px, 44%); display: grid; gap: 16px; }
.slide .eyebrow { color: #E4C995; }
.slide.light .eyebrow { color: var(--gold); }
.slide h1, .slide h2 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; }
.slide-text { font-size: 17px; opacity: .9; max-width: 40ch; text-wrap: pretty; }
.slide-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.slide-price .now { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.6vw, 36px); line-height: 1; }
.slide-price .was { font-size: 17px; opacity: .7; }
.slide .btn { justify-self: start; margin-top: 4px; }

/* sello de descuento: al costado de las botellas, nunca encima del texto */
.slide-badge {
  position: absolute; z-index: 2; right: max(28px, 7%); top: 16%;
  width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 2px;
  background: #E4C995; color: #3A0A18; box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  transform: rotate(-8deg);
}
.slide-badge::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed rgba(58, 10, 24, .45); }
.slide-badge b { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.slide-badge small { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.slide-badge.long b { font-size: 20px; }

.hero-nav { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 4px; }
.hero-dot { position: relative; width: 36px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; }
.hero-dot::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; margin-top: -1.5px; background: rgba(255, 255, 255, .4); transition: background .2s; }
.hero-dot[aria-current="true"]::before { background: #fff; }
.hero-arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(0, 0, 0, .15); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.hero-arrow:hover { background: rgba(0, 0, 0, .3); }
.hero-arrow.prev { left: 20px; } .hero-arrow.next { right: 20px; }
.hero-arrow svg { width: 18px; height: 18px; }

/* tablet: texto más angosto, sello más chico y sin flechas */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero-arrow { display: none; }
  .slide { min-height: 400px; }
  .slide-copy > div { max-width: 46%; gap: 14px; }
  .slide h1, .slide h2 { font-size: clamp(32px, 4.4vw, 46px); }
  .slide-text { font-size: 15.5px; }
  .slide-badge { width: 92px; height: 92px; right: 4%; top: 10%; }
  .slide-badge b { font-size: 27px; }
  .slide-art { width: 40%; height: 62%; right: 4%; }
}

/* celular: foto arriba (4:3), texto abajo */
@media (max-width: 760px) {
  .hero-arrow { display: none; }
  .slide { aspect-ratio: auto; min-height: 0; max-height: none; flex-direction: column; align-items: stretch; justify-content: flex-start; background: #2A0912; }
  .slide-media { position: relative; inset: auto; aspect-ratio: 4 / 3; background: radial-gradient(120% 120% at 50% 30%, #8A2340 0%, #5A1228 50%, #2A0912 100%); }
  .slide.has-image .slide-media::after, .slide.light.has-image .slide-media::after { background: linear-gradient(180deg, rgba(42, 9, 18, 0) 72%, #2A0912 100%); }
  .slide.light { background: var(--surface); }
  .slide.light .slide-media::after { background: none; }
  .slide-art { right: 0; left: 0; margin: 0 auto; width: min(64%, 260px); height: 86%; }
  .slide-copy { padding-top: 6px; padding-bottom: 56px; }
  .slide-copy > div { max-width: none; gap: 12px; }
  .slide h1, .slide h2 { font-size: clamp(30px, 8.6vw, 38px); }
  .slide-text { font-size: 15.5px; line-height: 1.5; }
  .slide-price .now { font-size: 28px; }
  .slide-price .was { font-size: 16px; }
  .slide .btn { width: 100%; justify-self: stretch; margin-top: 6px; }
  .slide-badge { right: 14px; top: 14px; width: 78px; height: 78px; transform: rotate(-8deg); }
  .slide-badge::before { inset: 4px; }
  .slide-badge b { font-size: 24px; }
  .slide-badge small { font-size: 9px; letter-spacing: .12em; }
  .slide-badge.long b { font-size: 15px; }
}

/* ---------- secciones ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.tint { background: var(--surface); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.section-head > div { display: grid; gap: 12px; }
.section-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.01em; }

.perks { border-bottom: 1px solid var(--line); }
.perks ul { list-style: none; margin: 0 auto; padding-block: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.perks li { display: flex; gap: 14px; align-items: center; font-size: 14px; line-height: 1.35; }
.perks li b { display: block; font-weight: 700; font-size: 14px; }
.perks li span { color: var(--ink-2); font-size: 13px; }
.perks svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--wine); }
@media (max-width: 900px) { .perks ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .perks ul { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- tarjetas de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 28px); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid, .grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid, .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { display: flex; flex-direction: column; gap: 14px; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; }
.card-media img, .card-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img, .card:hover .card-media .ph { transform: scale(1.03); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--wine); color: #fff;
  font: 700 12px/1 var(--sans); letter-spacing: .04em; padding: 7px 9px; border-radius: var(--radius);
}
.badge.out { background: var(--ink); }
.card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-meta { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.card-title { font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--wine); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.price .now { font-size: 17px; font-weight: 700; }
.price .was { font-size: 14px; color: var(--ink-3); }
.price.sale .now { color: var(--wine); }
.card form { margin-top: auto; padding-top: 8px; }
.card .btn { width: 100%; min-height: 44px; padding: 0 12px; font-size: 12px; }
.lbl-short { display: none; }
@media (max-width: 760px) {
  .card-title { font-size: 15px; }
  .card-meta { letter-spacing: .1em; }
  .price .now { font-size: 16px; }
  .price .was { font-size: 13px; }
}
@media (max-width: 440px) {
  .card .btn { letter-spacing: .08em; padding: 0 8px; }
  .card .btn .lbl-long { display: none; }
  .card .btn .lbl-short { display: inline; }
}

/* pocas tarjetas: formato horizontal destacado */
.grid.feature { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid.feature .card { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 0; background: var(--surface); }
.grid.feature .card-body { padding: clamp(20px, 3vw, 36px); justify-content: center; gap: 10px; }
.grid.feature .card-title { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; }
.grid.feature .price .now { font-size: 22px; }
.grid.feature .card form { margin-top: 12px; flex: 0; }
@media (max-width: 900px) {
  .grid.feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.feature .card { display: flex; flex-direction: column; gap: 14px; background: none; }
  .grid.feature .card-body { padding: 0; justify-content: flex-start; gap: 6px; }
  .grid.feature .card-title { font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1.3; }
  .grid.feature .price .now { font-size: 16px; }
  .grid.feature .card form { margin-top: auto; flex: none; }
}

/* ---------- categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: clamp(14px, 2.2vw, 28px); }
.cat { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; text-decoration: none; color: #fff; background: var(--wine-dark); }
.cat img, .cat .cat-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat:hover img, .cat:hover .cat-bg { transform: scale(1.04); }
.cat .cat-bg.tinto { background: radial-gradient(90% 70% at 50% 35%, #8A2340, #3A0A18); }
.cat .cat-bg.blanco { background: radial-gradient(90% 70% at 50% 35%, #D9C68E, #8E7A41); }
.cat .cat-bg.magnum { background: radial-gradient(90% 70% at 50% 35%, #4B3A40, #1D1A1C); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 8, 12, .7), rgba(20, 8, 12, 0) 55%); }
.cat-label { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: grid; gap: 6px; }
.cat-label strong { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; text-wrap: nowrap; }
.cat-label span { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
@media (max-width: 760px) {
  .cats { grid-template-columns: 1fr 1fr; }
  .cats .cat:last-child { grid-column: span 2; aspect-ratio: 2 / 1; }
}

/* ---------- banda HORECA ---------- */
.horeca { background: var(--ink); color: #F1ECEE; }
.horeca .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.horeca h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); }
.horeca p { color: #C9BFC3; max-width: 52ch; margin-top: 14px; }
.horeca .eyebrow { color: #D8BC86; }
.horeca .cta { justify-self: end; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .horeca .wrap { grid-template-columns: 1fr; } .horeca .cta { justify-self: start; } }

/* ---------- tienda ---------- */
.page-head { padding-block: clamp(36px, 5vw, 60px) clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -.01em; margin-top: 12px; }
.page-head p { color: var(--ink-2); margin-top: 10px; max-width: 60ch; }
.crumbs { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--wine); }
.filters { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; padding-block: 22px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 19px; text-decoration: none;
  font-size: 13.5px; font-weight: 600;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.sort select { min-height: 38px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 0 10px; background: #fff; }
.results-count { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); display: grid; gap: 18px; justify-items: center; }

/* ---------- ficha de producto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-block: 28px clamp(56px, 8vw, 96px); align-items: start; }
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.gallery.single { grid-template-columns: minmax(0, 1fr); }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumb { border: 1px solid transparent; padding: 0; background: var(--surface); cursor: pointer; aspect-ratio: 4 / 5; }
.thumb[aria-current="true"] { border-color: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.main-img { position: relative; aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; }
.main-img img, .main-img .ph { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: grid; gap: 22px; }
.pdp-info h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 50px); letter-spacing: -.01em; }
.pdp-info .price .now { font-size: 26px; }
.pdp-info .price .was { font-size: 17px; }
.save { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--wine); background: var(--wine-soft); padding: 5px 9px; border-radius: var(--radius); }
.lead { font-size: 17px; color: var(--ink-2); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--radius); height: 48px; }
.qty button { width: 42px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty button:hover { background: var(--surface); }
.qty input { width: 46px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stock-note { font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.stock-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.stock-note.low::before { background: #C98A1B; }
.stock-note.out::before { background: var(--err); }
.specs { border-top: 1px solid var(--line); margin: 0; }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs dt { color: var(--ink-3); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px; }
.specs dd { margin: 0; }
.prose { color: var(--ink-2); display: grid; gap: 12px; max-width: 62ch; }
.assure { display: grid; gap: 10px; padding: 18px; background: var(--surface); font-size: 14px; }
.assure p { display: flex; gap: 10px; align-items: flex-start; }
.assure svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--wine); margin-top: 2px; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; }
  .specs div { grid-template-columns: 110px 1fr; }
}

/* ---------- carrito lateral ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(29, 26, 28, .45); animation: fade .2s ease; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: #fff; display: flex; flex-direction: column;
  animation: slide-in .25s ease;
  padding-top: env(safe-area-inset-top, 0px);
}
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--display); font-weight: 700; font-size: 26px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 20px calc(18px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 12px; }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item:last-child { border-bottom: 0; }
.li-img { aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; display: block; }
.li-img img, .li-img svg { width: 100%; height: 100%; object-fit: cover; }
.li-name { font-weight: 600; font-size: 14.5px; line-height: 1.3; text-decoration: none; }
.li-meta { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.li-controls { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.li-controls .qty { height: 34px; }
.li-controls .qty button { width: 30px; font-size: 15px; }
.li-controls .qty input { width: 32px; font-size: 13.5px; }
.li-remove { border: 0; background: none; padding: 0; font-size: 12.5px; color: var(--ink-3); text-decoration: underline; cursor: pointer; }
.li-remove:hover { color: var(--err); }
.li-price { font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.subtotal { font-size: 16px; } .subtotal b { font-size: 19px; font-variant-numeric: tabular-nums; }
.hint { font-size: 13px; color: var(--ink-2); }
.free-hint { font-size: 13px; background: var(--wine-soft); color: var(--wine-dark); padding: 9px 12px; }
.drawer-empty { text-align: center; padding: 56px 12px; color: var(--ink-2); display: grid; gap: 18px; justify-items: center; }

/* ---------- formularios ---------- */
.field { display: grid; gap: 6px; align-content: start; }
.field label, .label { font-size: 13px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=password], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff;
  font-size: 16px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(107, 23, 48, .12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.field .err { font-size: 12.5px; color: var(--err); }
.field .help { font-size: 12.5px; color: var(--ink-3); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 110px 1fr; gap: 14px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--wine); flex-shrink: 0; }
.check.invalid { color: var(--err); }
.radio-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 16px; cursor: pointer;
}
.radio-card:has(input:checked) { border-color: var(--wine); background: var(--wine-soft); }
.radio-card input { width: 18px; height: 18px; accent-color: var(--wine); margin: 0; }
.radio-card b { display: block; font-size: 14.5px; }
.radio-card span { font-size: 13px; color: var(--ink-2); }
.radio-card .cost { font-weight: 700; font-variant-numeric: tabular-nums; }
.alert { padding: 14px 16px; border-radius: var(--radius); font-size: 14.5px; border: 1px solid; }
.alert-error { background: var(--err-soft); border-color: #F0C9C6; color: #7A1A14; }
.alert-ok { background: var(--ok-soft); border-color: #C7DFD1; color: #1F4D37; }
.alert-info { background: var(--surface); border-color: var(--line); color: var(--ink-2); }
.demo-banner { background: #FFF5DB; border: 1px dashed #C99A2E; color: #6B4E0E; padding: 12px 16px; font-size: 14px; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding-block: 36px 88px; align-items: start; }
.checkout > form { display: grid; gap: 34px; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.fieldset legend { font-family: var(--display); font-weight: 700; font-size: 26px; margin-bottom: 4px; padding: 0; display: flex; gap: 12px; align-items: baseline; }
.fieldset legend small { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .12em; }
.summary { background: var(--surface); padding: clamp(20px, 3vw, 32px); position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.summary h2 { font-family: var(--display); font-weight: 700; font-size: 26px; }
.summary .line-item { grid-template-columns: 58px 1fr auto; padding: 12px 0; }
.summary .li-img { position: relative; overflow: visible; }
.summary .li-qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink-2); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.totals { display: grid; gap: 10px; border-top: 1px solid var(--line-2); padding-top: 16px; font-variant-numeric: tabular-nums; }
.totals .total { font-size: 18px; font-weight: 700; border-top: 1px solid var(--line-2); padding-top: 12px; }
.totals .total b { font-size: 22px; }
.secure { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.secure svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-methods span { border: 1px solid var(--line-2); background: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 5px 8px; color: var(--ink-2); }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }

.processing { position: fixed; inset: 0; z-index: 90; background: rgba(255, 255, 255, .88); display: grid; place-items: center; text-align: center; padding: 20px; }
.processing div { display: grid; gap: 16px; justify-items: center; max-width: 320px; }
.spinner { width: 38px; height: 38px; border: 3px solid var(--wine-soft); border-top-color: var(--wine); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- páginas de texto ---------- */
.doc { max-width: 760px; padding-block: 36px 88px; display: grid; gap: 18px; color: var(--ink-2); }
.doc h2 { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--ink); margin-top: 18px; }
.doc h3 { font-size: 16px; color: var(--ink); margin-top: 6px; }
.doc ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.doc strong { color: var(--ink); }
.doc .updated { font-size: 13px; color: var(--ink-3); }
.box { border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }

/* ---------- pedidos ---------- */
.order-card { border: 1px solid var(--line); padding: 20px; display: grid; gap: 14px; }
.order-card header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 12px; background: var(--surface); color: var(--ink-2); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.pagado, .status.preparando { background: #EEF1FA; color: #2C4A8C; }
.status.enviado { background: #FFF4E0; color: #8A5A08; }
.status.entregado { background: var(--ok-soft); color: var(--ok); }
.status.cancelado { background: var(--err-soft); color: var(--err); }
.thanks { max-width: 720px; padding-block: 56px 96px; display: grid; gap: 26px; }
.thanks h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.6vw, 52px); }
.check-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.check-mark svg { width: 28px; height: 28px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.kv div { display: grid; gap: 3px; }
.kv dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.kv dd { margin: 0; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } }

/* ---------- pie ---------- */
.site-footer { background: #151214; color: #CFC6CA; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-block: 64px 44px; }
.site-footer h3 { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .logo-main { color: #fff; }
.site-footer .logo-sub { color: #9C9196; }
.foot-about p { margin-top: 18px; color: #A89EA3; max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border: 1px solid #3A3336; border-radius: 50%; display: grid; place-items: center; }
.socials a:hover { border-color: #fff; }
.socials svg { width: 17px; height: 17px; }
.lrec { display: inline-flex; gap: 12px; align-items: center; margin-top: 18px; border: 1px solid #3A3336; padding: 10px 14px; }
.lrec:hover { border-color: #fff; text-decoration: none !important; }
.lrec svg { width: 30px; height: 30px; flex-shrink: 0; }
.lrec span { font-size: 12.5px; line-height: 1.3; } .lrec b { display: block; color: #fff; font-size: 13px; }
.foot-legal { border-top: 1px solid #2A2427; padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #8E8388; }
.alcohol-warning { background: #0C0A0B; color: #E9E2E5; text-align: center; padding: 14px var(--gutter); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.alcohol-warning span { display: block; font-weight: 500; letter-spacing: .04em; text-transform: none; color: #9C9196; margin-top: 4px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 48px 36px; } }

.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
}
.wa-float svg { width: 30px; height: 30px; }

/* ---------- verificación de edad ---------- */
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(21, 18, 20, .82); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(6px); }
.age-card { background: #fff; max-width: 440px; width: 100%; padding: clamp(28px, 5vw, 44px); text-align: center; display: grid; gap: 18px; justify-items: center; }
.age-card h2 { font-family: var(--display); font-weight: 700; font-size: 30px; }
.age-card p { color: var(--ink-2); font-size: 14.5px; }
.age-card .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 6px; }
.age-card small { color: var(--ink-3); font-size: 12px; }

/* ---------- aviso emergente ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95;
  background: var(--ink); color: #fff; padding: 12px 18px; font-size: 14px; max-width: calc(100% - 32px);
  animation: fade .2s ease;
}
.slide-art svg path { stroke: rgba(255, 255, 255, .35); stroke-width: 2; }

/* ---------- ajustes táctiles y de pantallas pequeñas ---------- */
.section-head .link { display: inline-block; padding-block: 10px; }
.crumbs a { padding-block: 8px; }
@media (max-width: 560px) {
  .announce { font-size: 12px; padding-block: 7px; }
  .section-head { margin-bottom: 22px; gap: 4px 20px; }
  .horeca .cta { width: 100%; }
  .horeca .cta .btn { flex: 1 1 100%; }
  .site-footer ul { gap: 2px; }
  .site-footer ul a { display: inline-block; padding-block: 8px; }
  .site-footer ul li:not(:has(a)) { padding-block: 8px; }
  .alcohol-warning { padding-bottom: 86px; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .wa-float svg { width: 28px; height: 28px; }
}
.crumbs { align-items: center; }
.chip { min-height: 40px; }
@media (max-width: 560px) {
  .buy .btn { padding: 0 14px; letter-spacing: .06em; }
}
@media (max-width: 400px) {
  .buy { grid-template-columns: 1fr; }
  .buy .qty { justify-self: start; }
}
.age-card .btn { padding: 0 14px; letter-spacing: .08em; }
@media (max-width: 440px) {
  .age-card { padding: 28px 20px; gap: 14px; }
  .age-card h2 { font-size: 26px; }
  .age-card .btns { grid-template-columns: 1fr; }
}

.qty-select { min-height: 40px; min-width: 76px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; font-size: 15px; }
.cart-page .li-controls { flex-wrap: wrap; }
.cart-page .li-remove { padding: 10px 4px; }
@media (max-width: 900px) { .cart-page .summary { order: 0; } }
@media (max-width: 420px) {
  .cart-page .line-item, .drawer .line-item { grid-template-columns: 64px 1fr; }
  .cart-page .li-price, .drawer .li-price { grid-column: 2; justify-self: start; }
}
@media (max-width: 560px) {
  .box { padding: 18px 16px; }
  form.box { border: 0; padding: 0; }
  .fieldset legend { font-size: 22px; }
  .page-head h1 { font-size: 32px; }
  .kv { gap: 12px; }
  .doc h2 { font-size: 22px; }
}

.age-card .logo { align-items: center; }

.site-nav .nav-extra { display: none; }
@media (max-width: 900px) {
  .site-nav .nav-extra { display: block; color: var(--ink-2); }
  .site-nav a:last-child { border-bottom: 0; }
}
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.li-controls .qty { height: 40px; }
.li-controls .qty button { width: 38px; font-size: 17px; }
/* pantallas bajas (celular horizontal): los paneles se pueden desplazar */
.age-gate { overflow-y: auto; }
.age-card { margin-block: auto; }
@media (max-height: 520px) {
  .age-gate { place-items: start center; }
  .age-card { gap: 10px; padding-block: 20px; }
  .site-nav { max-height: calc(100vh - var(--header-h) - 20px); }
}

/* ---------- packs ---------- */
.pack-list { background: var(--surface); padding: 16px 18px; display: grid; gap: 8px; }
.pack-list ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 15px; }
.pack-list li::marker { color: var(--wine); }
.pack-free { font-size: 13px; font-weight: 700; color: var(--ok); }
.card .pack-hint { font-size: 12.5px; color: var(--ok); font-weight: 700; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-media { display: block; aspect-ratio: 1.91 / 1; background: var(--surface); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-media img { transform: scale(1.03); }
.post-ph { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(120% 140% at 70% 20%, #8A2340, #3A0A18); }
.post-ph span { font-family: var(--display); font-weight: 700; font-size: 56px; color: rgba(255, 255, 255, .85); }
.post-body { display: grid; gap: 8px; }
.post-body h2, .post-body h3 { font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.2; }
.post-body a { text-decoration: none; }
.post-body a:hover { color: var(--wine); }
.post-excerpt { color: var(--ink-2); font-size: 15px; }
.post-body h2, .post-body h3 { font-size: clamp(20px, 1.9vw, 25px); }
.post-card .post-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link { margin-top: auto; justify-self: start; }
.post-body { flex: 1; align-content: start; }
@media (max-width: 700px) { .posts { grid-template-columns: 1fr; } }

.entry { display: block; }
/* título, portada y texto comparten exactamente la misma columna */
.entry-col { max-width: calc(780px + 2 * var(--gutter)); }
.entry-head { padding-block: clamp(28px, 4vw, 48px) 20px; display: grid; gap: 12px; }
.entry-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; }
.entry-meta { font-size: 13.5px; color: var(--ink-3); }
.entry-cover { width: 100%; height: auto; aspect-ratio: 1.91 / 1; object-fit: cover; }
.entry-body { display: grid; gap: 18px; padding-block: clamp(28px, 4vw, 44px) 8px; font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.entry-body p { text-wrap: pretty; }
.entry-body h2 { font-family: var(--display); font-weight: 700; font-size: clamp(23px, 2.8vw, 31px); color: var(--ink); margin-top: 22px; line-height: 1.2; }
.entry-body p:first-of-type { font-size: 19px; color: var(--ink); }
@media (max-width: 560px) {
  .entry-body { font-size: 16.5px; gap: 16px; }
  .entry-body p:first-of-type { font-size: 17.5px; }
}

/* ---------- celular: menos aire desperdiciado ---------- */
@media (max-width: 760px) {
  .perks ul { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .perks li { gap: 10px; align-items: flex-start; }
  .perks li b { font-size: 13.5px; line-height: 1.25; }
  .perks li span { font-size: 12.5px; line-height: 1.3; }
  .perks svg { width: 24px; height: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .foot-about { grid-column: 1 / -1; }
  .site-footer .foot-contacto { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .perks ul { grid-template-columns: 1fr; gap: 12px; }
}

/* contacto rotulado (p. ej. «Compras corporativas») */
.foot-label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.horeca-phone { margin-top: 8px; font-size: 14px; opacity: .85; }
