:root {
  --wine: #8f1740;
  --wine-ink: #5c0d29;
  --blush: #f7e6eb;
  --blush-2: #efd2db;
  --cream: #fffaf7;
  --ink: #2b1a20;
  --muted: #7a646b;
  --line: #ead8de;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(92, 13, 41, .06), 0 8px 24px -12px rgba(92, 13, 41, .18);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* color de marca activo (lo cambia JS) */
  --brand: var(--wine);
  --brand-soft: var(--blush);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--cream); }
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  padding-block: 12px 10px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: linear-gradient(var(--cream) 70%, rgba(255, 250, 247, 0));
}
.topbar__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(200px, 280px) auto; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 8px 6px 18px;
  box-shadow: 0 10px 30px -22px rgba(92, 13, 41, .45);
}
.logo { display: inline-flex; flex: none; text-decoration: none; }
.logo img { height: 52px; width: auto; }

.searchwrap { position: relative; min-width: 0; }
.search {
  display: flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
  padding: 0 14px; height: 42px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.search:focus-within { background: #fff; border-color: var(--wine); box-shadow: 0 0 0 4px rgba(143, 23, 64, .1); }
.search svg { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; width: 100%; min-width: 0; color: var(--ink); }
.suggest {
  position: absolute; right: 0; width: min(440px, calc(100vw - 32px)); top: calc(100% + 10px); z-index: 40;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -16px rgba(92,13,41,.35);
  padding: 6px; max-height: min(70vh, 460px); overflow-y: auto;
}
.suggest__head { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 4px; }
.suggest__item {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; width: 100%;
  border: 0; background: none; text-align: left; padding: 6px 10px; border-radius: 10px;
}
.suggest__item:hover, .suggest__item[aria-selected="true"] { background: var(--blush); }
.suggest__item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.suggest__name { font-size: 14px; font-weight: 500; line-height: 1.25; min-width: 0; }
.suggest__name mark { background: none; color: var(--wine); font-weight: 700; }
.suggest__meta { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.suggest__size { font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.suggest__all { display: block; width: 100%; border: 0; border-top: 1px solid var(--line); background: none; padding: 10px; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--wine); text-align: center; border-radius: 0 0 10px 10px; }
.suggest__all:hover { background: var(--cream); }
.suggest__empty { padding: 14px 12px; font-size: 13px; color: var(--muted); }
.results__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; }
.results__head h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.4vw, 42px); color: var(--wine); text-wrap: balance; }
.results__head span { font-size: 14px; color: var(--muted); }
.results__sub { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--wine-ink); margin: 36px 0 14px; }

/* Marcas: grupo de píldoras al centro, la activa en oscuro */
.brandnav {
  justify-self: center; max-width: 100%;
  display: flex; gap: 2px; padding: 4px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
  overflow-x: auto; scrollbar-width: none;
}
.brandnav::-webkit-scrollbar { display: none; }
.brandnav button {
  border: 0; background: none; white-space: nowrap; border-radius: 999px;
  padding: 8px 14px; font-size: 13.5px; font-weight: 500; color: var(--ink);
  transition: background .2s, color .2s;
}
.brandnav button:hover { background: #fff; }
.brandnav button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.brandnav small { font-size: 11px; opacity: .55; margin-left: 4px; font-weight: 500; }

/* ---------- Hero ---------- */
main { max-width: 1280px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 6px; border-radius: 32px;
  min-height: clamp(580px, 72vh, 700px);
  background:
    radial-gradient(60% 70% at 78% 18%, rgba(255, 255, 255, .55), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(160, 23, 75, .22), transparent 70%),
    linear-gradient(135deg, #f1d3dc 0%, #e4b6c4 55%, #d99fb2 100%);
  color: var(--wine-ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .32;
  background: url("img/logo.png") right -60px top 40% / 520px auto no-repeat;
  mix-blend-mode: soft-light;
}
/* Modelo de fondo: se funde con el rosado del banner */
.hero__model { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 72%; pointer-events: none; }
.hero__model img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 18%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.hero:has(.hero__model)::before { display: none; }
.hero__copy { position: absolute; left: 48px; top: 48px; max-width: 620px; z-index: 2; }
.hero__eyebrow { margin: 0 0 14px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--wine); }
.hero__title {
  margin: 0 0 28px; color: var(--wine-ink);
  font-family: var(--serif); font-size: clamp(40px, 4.9vw, 74px); line-height: .96; letter-spacing: -.005em; text-transform: uppercase;
  text-wrap: balance;
}
.hero__title span { display: block; font-family: var(--serif); font-weight: 300; }
.hero__title em { display: block; font-family: var(--serif); font-weight: 400; font-style: normal; color: var(--wine); }
.btn-dark {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 8px 8px 8px 22px; border-radius: 999px; font-size: 14px; font-weight: 500;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), background .2s;
}
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-dark:active { transform: scale(.98); }
.btn-dark__icon {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.4); font-size: 15px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.btn-dark:hover .btn-dark__icon { transform: translateX(3px); }
.hero__aside {
  position: absolute; left: 48px; bottom: 44px; z-index: 2;
  max-width: 300px; margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--wine-ink);
}
.hero__aside b { font-weight: 600; }
.hero__products {
  position: absolute; z-index: 1; left: 29%; bottom: -6px; width: 73%; height: auto;
  filter: drop-shadow(0 24px 30px rgba(92, 13, 41, .25));
}
.hero__note {
  display: none; position: absolute; left: 48px; bottom: 44px; z-index: 2;
  max-width: 240px; margin: 0; font-size: 13px; line-height: 1.55; color: var(--wine-ink); opacity: .85;
}
.hero__feature {
  position: absolute; right: 28px; bottom: 28px; z-index: 3;
  display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 8px;
  width: min(340px, 30%);
}
.feature__info {
  background: rgba(255, 255, 255, .55); backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.7); border-radius: 20px; padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-width: 0;
}
.feature__brand { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--wine); }
.feature__name { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.25; color: var(--ink); text-wrap: balance; }
.feature__size { font-size: 13px; color: var(--muted); }
.feature__img {
  position: relative; border: 0; padding: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 1;
  background: #fff; box-shadow: 0 10px 24px -14px rgba(92,13,41,.5);
}
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.feature__img:hover img { transform: scale(1.06); }
.feature__go {
  position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px;
}
.feature__dots { display: flex; gap: 5px; }
.feature__dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(92,13,41,.25); transition: width .3s, background .3s; }
.feature__dots i.on { width: 18px; background: var(--wine); }
.hero__feature.swap .feature__info, .hero__feature.swap .feature__img { animation: swapIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Marcas ---------- */
.sectitle { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; color: var(--wine); letter-spacing: -.01em; }
.brands { margin: 48px 0 0; display: grid; gap: 18px; }
.brandtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.brandtile {
  position: relative; overflow: hidden; text-align: left;
  border: 0; border-radius: var(--radius); padding: 18px;
  min-height: 150px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--bg); color: var(--fg);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.brandtile:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(92,13,41,.08), 0 18px 36px -14px rgba(92,13,41,.3); }
.brandtile:active { transform: translateY(-1px) scale(.99); }
.brandtile__name {
  font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1; letter-spacing: -.01em;
  text-transform: uppercase; position: relative; z-index: 1; max-width: 62%;
  text-shadow: 0 2px 0 rgba(0,0,0,.08);
}
.brandtile__meta { position: relative; z-index: 1; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; color: var(--ink); opacity: .8; }
.brandtile img {
  position: absolute; right: -14px; bottom: -10px; width: 56%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; mix-blend-mode: multiply; opacity: .95;
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%);
          mask-image: radial-gradient(circle, #000 55%, transparent 71%);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.brandtile:hover img { transform: scale(1.05) rotate(-2deg); }

/* ---------- Filtros ---------- */
.filters { margin: 48px 0 36px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.filters__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.filters__status { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.linkbtn { border: 0; background: none; padding: 0; color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }

/* Categorías: una fila con foto; se desliza si no cabe */
.cats {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr); gap: 10px;
  overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; min-width: 0;
  scroll-snap-type: x proximity;
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 8px; scroll-snap-align: start;
  border: 0; background: none; padding: 4px 2px; border-radius: 16px; text-align: center; min-width: 0;
}
.cat__img {
  width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--blush);
  box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px var(--line);
  transition: box-shadow .2s, transform .25s cubic-bezier(.2,.8,.2,1);
}
.cat__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.cat__img--all { display: grid; place-items: center; background: #fff; }
.cat__img--all img { width: 78%; height: auto; transform: none; object-fit: contain; }
.cat:hover .cat__img { transform: translateY(-2px); }
.cat__label { font-size: 13px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.cat__count { font-size: 11px; color: var(--muted); }
.cat[aria-pressed="true"] .cat__img { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--wine); }
.cat[aria-pressed="true"] .cat__label { color: var(--wine); font-weight: 600; }

.needs { display: flex; align-items: center; gap: 14px; min-width: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.needs__label { flex: none; font-size: 13px; font-weight: 600; color: var(--muted); }
.chips {
  display: flex; gap: 8px; min-width: 0; max-width: 100%;
  overflow-x: auto; scrollbar-width: none; padding: 2px 0;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; white-space: nowrap;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 500; color: var(--ink);
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.chip:hover { border-color: var(--blush-2); background: var(--blush); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { opacity: .6; margin-left: 3px; font-size: 11px; }

/* ---------- Menú principal ---------- */
.mainnav { justify-self: center; display: flex; align-items: center; gap: 2px; }
.dd { position: relative; }
.dd__btn, .nav__link {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; text-decoration: none;
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink);
  transition: background .2s, color .2s;
}
.dd__btn:hover, .nav__link:hover { background: var(--cream); }
.dd__btn[aria-expanded="true"] { background: var(--ink); color: #fff; }
.dd__btn.is-set::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wine); margin-left: 2px; }
.dd__btn[aria-expanded="true"].is-set::after { background: #fff; }
.dd__chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.dd__btn[aria-expanded="true"] .dd__chev { transform: rotate(180deg); }
.dd__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); z-index: 50;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 10px;
  box-shadow: 0 24px 50px -20px rgba(92, 13, 41, .35);
  animation: ddIn .22s cubic-bezier(.2,.8,.2,1);
}
@keyframes ddIn { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.dd__panel--brands { width: 520px; }
.dd__panel--list { width: 300px; display: grid; gap: 2px; }
.ddbrands { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ddbrand {
  position: relative; overflow: hidden; border: 0; text-align: left; min-height: 104px;
  border-radius: 16px; padding: 14px; background: var(--bg); color: var(--fg);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .2s cubic-bezier(.2,.8,.2,1);
}
.ddbrand:hover { transform: translateY(-2px); }
.ddbrand img {
  position: absolute; right: -10px; bottom: -14px; width: 55%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%); mask-image: radial-gradient(circle, #000 55%, transparent 71%);
}
.ddbrand__name { position: relative; font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1; text-transform: uppercase; max-width: 70%; text-shadow: 0 2px 0 rgba(0,0,0,.08); }
.ddbrand__count { position: relative; font-size: 12px; font-weight: 500; color: var(--ink); opacity: .75; }
.ddbrand[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--ink); }
.ddbrands .ddbrand:last-child:nth-child(odd), .drawer__brands .ddbrand:nth-last-child(2):nth-child(odd) { grid-column: 1 / -1; }
.ddbrands .ddbrand:last-child:nth-child(odd) img, .drawer__brands .ddbrand:nth-last-child(2):nth-child(odd) img { width: 32%; right: 12px; }
.ddall {
  display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 8px;
  border: 0; background: var(--cream); border-radius: 14px; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--ink);
}
.ddall span { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.ddall:hover { background: var(--blush); }
.ddall[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ddall[aria-pressed="true"] span { color: rgba(255,255,255,.75); }
.ddrow {
  display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; width: 100%;
  border: 0; background: none; text-align: left; padding: 6px 10px 6px 6px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--ink);
}
.ddrow img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.ddrow small { font-size: 12px; color: var(--muted); }
.ddrow:hover { background: var(--cream); }
.ddrow[aria-pressed="true"] { background: var(--blush); color: var(--wine); font-weight: 600; }

.menubtn {
  display: none; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; flex: none;
}
.menubtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.drawer {
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(380px, 92vw); max-width: 92vw;
  border-radius: 24px 0 0 24px; background: #fff;
}
.drawer[open] { animation: drawerIn .3s cubic-bezier(.2,.8,.2,1); }
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__panel {
  height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 18px calc(24px + env(safe-area-inset-bottom, 0px));
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.drawer__head img { height: 56px; width: auto; }
.drawer__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.drawer__close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; }
.drawer__title { margin: 12px 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.drawer__brands { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer__brands .ddall { grid-column: 1 / -1; margin-top: 0; }
.drawer__brands .ddbrand { min-height: 92px; }
.drawer__brands .ddbrand__name { font-size: 16px; }
.drawer__list { display: grid; gap: 2px; }
.drawer__links { display: grid; gap: 8px; margin-top: 14px; }
.drawer__links a { display: block; padding: 13px 16px; border-radius: 14px; background: var(--cream); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; }

/* ---------- Secciones ---------- */
.block { margin-top: 64px; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.block__sub { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Carrusel con flechas a los lados */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  scroll-snap-type: x mandatory; padding: 4px 2px 10px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__arrow {
  position: absolute; top: calc(50% - 4px); transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.96); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 10px 24px -10px rgba(92, 13, 41, .45);
  transition: opacity .2s, transform .2s, background .2s;
}
.carousel__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__arrow:hover { background: var(--ink); color: #fff; }
.carousel__arrow:active { transform: translateY(-50%) scale(.94); }
.carousel__arrow--prev { left: -20px; }
.carousel__arrow--next { right: -20px; }
.carousel__arrow:disabled { opacity: 0; pointer-events: none; }
.carousel.is-static .carousel__arrow { display: none; }

/* Categorías: tarjeta con foto y título arriba (como la referencia) */
.cats { grid-auto-columns: 210px; }
.cat {
  position: relative; overflow: hidden; border: 0; padding: 0; text-align: left;
  height: 230px; border-radius: 20px; background: var(--blush);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.cat:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(92,13,41,.5); }
.cat:hover img { transform: scale(1.1); }
.cat__text {
  position: absolute; inset: 0 0 auto; padding: 16px 16px 40px; display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.6) 60%, rgba(255,255,255,0));
}
.cat__label { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.cat__count { font-size: 12px; color: var(--muted); }
.cat--all { background: linear-gradient(160deg, #fff, var(--blush)); }
.cat--all img { inset: auto; left: 50%; top: 58%; width: 62%; height: auto; transform: translate(-50%, -50%); object-fit: contain; }
.cat--all:hover img { transform: translate(-50%, -50%) scale(1.04); }
.cat[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--wine); }

/* Promos: claro + oscuro */
.promos { margin-top: 28px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.promo {
  position: relative; overflow: hidden; border: 0; text-align: left; border-radius: 24px; padding: 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) 42%; gap: 20px; align-items: center; min-height: 240px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.promo:hover { transform: translateY(-3px); }
.promo--light { background: linear-gradient(135deg, #f6e9e3, #ecd2d9); color: var(--wine-ink); }
.promo--honey {
  background:
    radial-gradient(60% 80% at 82% 45%, rgba(255, 255, 255, .5), transparent 70%),
    linear-gradient(135deg, #f6e8d6 0%, #ebcfac 58%, #dfb784 100%);
  color: #5a1226;
}
.promo--honey .promo__eyebrow { color: #9a5b17; opacity: 1; }
.promo--honey .promo__title { color: #8e1538; }
.promo__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.promo__eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.promo__title { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; }
.promo__desc { font-size: 14px; line-height: 1.5; opacity: .85; max-width: 36ch; }
.promo__cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.promo--honey .promo__cta { background: #8e1538; color: #fff; }
.promo__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 30px -18px rgba(0,0,0,.5); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.promo:hover .promo__img { transform: scale(1.03) rotate(-1deg); }

/* Destacados */
.minis { grid-auto-columns: 220px; }
.mini {
  border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 10px 10px 12px; text-align: left;
  display: flex; flex-direction: column; gap: 4px; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini__img { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--brand-soft); margin-bottom: 6px; }
.mini__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.mini:hover .mini__img img { transform: scale(1.05); }
.mini__brand { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); padding: 0 4px; }
.mini__name { font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--ink); padding: 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.mini__foot { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 0; }
.mini__size { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini__go { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; transition: transform .2s; }
.mini:hover .mini__go { transform: translateX(2px); }

/* Necesidades: mosaicos con ícono */
.needs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.need {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 12px 16px 12px 12px; text-align: left;
  transition: background .2s, border-color .2s, transform .2s cubic-bezier(.2,.8,.2,1);
}
.need:hover { border-color: var(--blush-2); transform: translateY(-2px); }
.need:disabled { opacity: .45; cursor: default; transform: none; }
.need__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--blush); color: var(--wine); display: grid; place-items: center; transition: background .2s, color .2s; }
.need__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.need__label { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.need__count { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--cream); border-radius: 999px; padding: 3px 9px; }
.need[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.need[aria-pressed="true"] .need__label { color: #fff; }
.need[aria-pressed="true"] .need__icon { background: rgba(255,255,255,.14); color: #fff; }
.need[aria-pressed="true"] .need__count { background: rgba(255,255,255,.16); color: #fff; }

/* Catálogo: barra de filtros activos */
.catalogo { margin-top: 64px; scroll-margin-top: 110px; }
.activebar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.activebar__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.activebar__status { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.achip { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 8px 6px 13px; font-size: 13px; font-weight: 500; }
.achip span { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 13px; line-height: 1; }
.achip:hover span { background: rgba(255,255,255,.35); }

/* Beneficios del catálogo */
.perks { margin: 72px 0 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.perk { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: start; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.perk__icon { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; background: var(--blush); color: var(--wine); display: grid; place-items: center; }
.perk__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.perk b { font-size: 14px; font-weight: 600; color: var(--ink); }
.perk > span:last-child { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ---------- Brand sections ---------- */
.brandsec { margin-bottom: 64px; }
.brandsec__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  background: var(--bg); color: var(--fg); border-radius: var(--radius);
  padding: 28px 32px; margin-bottom: 24px; position: relative; overflow: hidden;
}
.brandsec__head h2 {
  margin: 0; font-family: var(--serif); font-weight: 600; text-transform: uppercase;
  font-size: clamp(32px, 4vw, 52px); line-height: .95; letter-spacing: -.01em;
  text-shadow: 0 3px 0 rgba(0,0,0,.08);
}
.brandsec__head p { margin: 8px 0 0; color: var(--ink); opacity: .78; max-width: 52ch; font-size: 15px; }
.brandsec__count { flex: none; background: rgba(255,255,255,.7); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.linehead { display: flex; align-items: baseline; gap: 12px; margin: 32px 0 16px; }
.linehead h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--accent); }
.linehead span { font-size: 13px; color: var(--muted); }
.linehead::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 18px; }

/* ---------- Card ---------- */
.cardbox {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; min-width: 0;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s;
  animation: rise .5s cubic-bezier(.2, .8, .2, 1) both;
}
.cardbox:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blush-2); }
.card {
  border: 0; background: none; padding: 0; text-align: left; width: 100%;
  display: flex; flex-direction: column; flex: 1;
}
.card__img { aspect-ratio: 1; background: var(--brand-soft); overflow: hidden; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.cardbox:hover .card__img img { transform: scale(1.04); }
.card__size {
  position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); color: var(--ink);
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; max-width: calc(100% - 20px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card__body { padding: 14px 16px 8px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__kicker { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.card__name { font-size: 15.5px; font-weight: 500; line-height: 1.3; margin: 0; text-wrap: balance; }
.card__bens { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.card__bens li { font-size: 12.5px; color: var(--muted); padding-left: 18px; position: relative; line-height: 1.4; }
.card__bens li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 9px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.card__foot { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 2px 16px 16px; }
.card__more { align-self: flex-start; border: 0; background: none; padding: 4px 0; font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.card__more::after { content: "→"; transition: transform .2s; }
.card__more:hover::after { transform: translateX(3px); }
.qty { width: 100%; }
.qty .addbtn, .qty .stepper { width: 100%; }
.qty .addbtn { padding: 11px 16px; font-size: 14px; }
.qty .stepper { grid-template-columns: 40px 1fr 40px; }
.qty .stepper button { width: 40px; height: 40px; }

/* Botón agregar y selector de cantidad */
.addbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
  border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 14px 8px 11px;
  font-size: 13px; font-weight: 600; transition: transform .15s, background .2s;
}
.addbtn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.addbtn:hover { background: #000; }
.addbtn:active { transform: scale(.96); }
.addbtn--on { background: var(--blush); color: var(--wine); padding-left: 14px; }
.stepper {
  display: inline-grid; grid-template-columns: 34px minmax(28px, auto) 34px; align-items: center;
  background: var(--blush); border-radius: 999px; padding: 2px;
}
.stepper button {
  width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: var(--ink);
  font-size: 18px; font-weight: 500; line-height: 1; display: grid; place-items: center;
  transition: background .15s, transform .1s;
}
.stepper button:hover { background: var(--ink); color: #fff; }
.stepper button:active { transform: scale(.92); }
.stepper span { text-align: center; font-size: 14px; font-weight: 700; color: var(--wine); font-variant-numeric: tabular-nums; }
.stepper--sm { grid-template-columns: 30px minmax(24px, auto) 30px; }
.stepper--sm button { width: 30px; height: 30px; font-size: 16px; }
.stepper--lg { grid-template-columns: 44px minmax(40px, auto) 44px; padding: 3px; }
.stepper--lg button { width: 44px; height: 44px; font-size: 20px; }
.stepper--lg span { font-size: 17px; }

/* Botón del pedido en el encabezado */
.cartbtn {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: background .2s;
}
.cartbtn:hover { background: var(--blush); }
.cartbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.cartbtn__badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--wine); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center;
  box-shadow: 0 0 0 2px #fff; animation: pop .3s cubic-bezier(.2,.8,.2,1);
}

/* Panel del pedido */
.cartdrawer { width: min(440px, 100vw); max-width: 100vw; }
.cart__panel { height: 100%; display: flex; flex-direction: column; }
.cart__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 20px 14px; border-bottom: 1px solid var(--line);
}
.cart__title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 32px; color: var(--wine); }
.cart__sub { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.cart__body { flex: 1; overflow-y: auto; padding: 8px 20px 16px; overscroll-behavior: contain; }
.cart__items { display: grid; }
.citem {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.citem__img { border: 0; padding: 0; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--brand-soft); }
.citem__img img { width: 100%; height: 100%; object-fit: cover; }
.citem__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.citem__brand { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.citem__name { font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.citem__meta { font-size: 12px; color: var(--muted); }
.citem__ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.citem__rm { border: 0; background: none; padding: 2px; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.citem__rm:hover { color: var(--wine); }
.cart__empty { text-align: center; padding: 40px 12px; display: grid; justify-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.cart__empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.cart__empty p { margin: 0; max-width: 30ch; }
.cart__emptyicon { width: 64px; height: 64px; border-radius: 50%; background: var(--blush); color: var(--wine); display: grid; place-items: center; }
.cart__emptyicon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.btn-dark--sm { padding: 10px 18px; font-size: 13.5px; border: 0; }
.cart__form { display: grid; gap: 10px; margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--cream); }
.cart__formtitle { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.cart__formtitle span { font-weight: 400; color: var(--muted); }
.field { display: grid; gap: 4px; }
.field span { font-size: 12px; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; resize: vertical; min-width: 0;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(143,23,64,.12); }
.cart__foot {
  padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line);
  display: grid; gap: 10px; background: #fff;
}
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.cart__total b { font-size: 17px; color: var(--ink); }
.wabtn {
  display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  background: #1fa855; color: #fff; border-radius: 999px; padding: 14px 18px; font-size: 15px; font-weight: 600;
  box-shadow: 0 10px 24px -12px rgba(31, 168, 85, .7); transition: background .2s, transform .15s;
}
.wabtn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.wabtn:hover { background: #178a45; }
.wabtn:active { transform: scale(.98); }
.cart__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cart__hint { font-size: 12px; color: var(--muted); }

/* Barra flotante del pedido */
.cartbar {
  position: fixed; z-index: 25; left: 50%; transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px; width: min(460px, calc(100vw - 24px));
  border: 0; border-radius: 999px; padding: 8px 8px 8px 10px; background: var(--ink); color: #fff; text-align: left;
  box-shadow: 0 18px 40px -14px rgba(43, 26, 32, .6);
  animation: barIn .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes barIn { from { transform: translate(-50%, 20px); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
.cartbar__icon { position: relative; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: none; }
.cartbar__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.cartbar__icon b { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; border-radius: 999px; background: var(--wine); font-size: 10.5px; display: grid; place-items: center; padding: 0 4px; }
.cartbar__text { flex: 1; font-size: 13.5px; font-weight: 500; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cartbar__cta { flex: none; background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 600; }

/* Ficha: bloque de compra */
.d-buy { display: grid; gap: 10px; margin: 0 0 22px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.d-buy__var { display: grid; gap: 6px; }
.d-buy__var span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.d-buy__var select { font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); }
.d-buy__row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.d-buy__add {
  flex: 1; min-width: 160px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; background: var(--ink); color: #fff; padding: 14px 18px; font-size: 14.5px; font-weight: 600;
  transition: background .2s, transform .15s;
}
.d-buy__add svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.d-buy__add:hover { background: #000; }
.d-buy__add:active { transform: scale(.98); }
.d-buy__note { margin: 0; font-size: 13px; color: var(--muted); }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.empty { text-align: center; color: var(--muted); padding: 60px 0 100px; }

/* ---------- Detail sheet ---------- */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(43, 26, 32, .5); backdrop-filter: blur(3px); }
.sheet {
  width: min(1040px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  border-radius: 24px; background: #fff; overflow: hidden;
}
.sheet[open] { animation: pop .3s cubic-bezier(.2, .8, .2, 1); }
.sheet[open]::backdrop { animation: fade .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet__panel {
  display: grid; grid-template-columns: 1fr 1.15fr; grid-template-rows: 1fr auto;
  max-height: calc(100vh - 32px);
}
.sheet__media {
  position: relative; overflow: hidden; background: var(--brand-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0;
}
.sheet__media::before {
  content: ""; position: absolute; inset: -60px;
  background: var(--img) left top / 6000% 6000% no-repeat; filter: blur(12px);
}
.sheet__media img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; }
.sheet__ficha {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.92); padding: 7px 14px; border-radius: 999px; text-decoration: none;
  font-size: 12.5px; white-space: nowrap; box-shadow: var(--shadow);
}
.sheet__ficha:hover { background: #fff; }
.sheet__body { padding: 36px 36px 24px; overflow-y: auto; min-height: 0; }
.sheet__close {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.sheet__close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; }
.sheet__nav { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--cream); }
.navbtn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 500; transition: background .15s; }
.navbtn:hover { background: var(--blush); }
.navbtn:disabled { opacity: .4; cursor: default; background: #fff; }

.d-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.d-brand i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.d-title { font-family: var(--sans); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 12px; text-wrap: balance; }
.d-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.d-tag { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--ink); }
.d-tag--size { background: var(--ink); color: #fff; }
.d-ideal { background: var(--brand-soft); border-radius: 14px; padding: 14px 16px; margin: 0 0 20px; font-size: 14px; }
.d-ideal b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.d-sub { font-size: 15px; font-weight: 500; margin: 0 0 14px; }
.d-desc p { font-size: 14.5px; color: #4a3a40; margin: 0 0 10px; }
.d-h { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 26px 0 12px; }
.d-bens { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.d-bens li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.d-bens li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.d-bens b { font-weight: 600; }
.d-ingr { font-size: 14px; color: #4a3a40; margin: 0; }
.d-vars { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.d-var { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.d-var b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.d-usage { padding-left: 18px; margin: 0; font-size: 14px; color: #4a3a40; display: grid; gap: 4px; }
.d-note { font-size: 13px; color: var(--muted); font-style: italic; margin: 14px 0 0; }

.ficha { background: transparent; max-width: min(1280px, 96vw); overflow: visible; }
.ficha img { border-radius: 14px; max-height: 90vh; width: auto; }
.ficha .sheet__close { right: -10px; top: -10px; }

/* ---------- Footer ---------- */
.footer { margin-top: 72px; color: var(--muted); font-size: 14px; overflow: hidden; background: linear-gradient(180deg, var(--cream) 0%, #fbeff2 100%); }
.footer__inner { max-width: 1280px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.fcta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 32px; padding: 48px 48px 0; border-radius: 28px; background: radial-gradient(120% 140% at 100% 0%, #fff 0%, var(--blush) 55%, var(--blush-2) 100%); overflow: hidden; }
.fcta__text { padding-bottom: 48px; }
.fcta__title { margin: 0 0 14px; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.fcta__title span { display: block; font-family: var(--serif); font-weight: 500; }
.fcta__title em { display: block; font-family: var(--serif); font-weight: 600; color: var(--wine); }
.fcta__text p { margin: 0 0 24px; max-width: 44ch; color: #5d4a51; font-size: 15px; }
.fcta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fcta__actions .btn-dark { border: 0; }
.btn-line { display: inline-flex; align-items: center; padding: 14px 22px; border-radius: 999px; border: 1px solid rgba(43,26,32,.25); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; transition: background .2s, border-color .2s; }
.btn-line:hover { background: rgba(255,255,255,.7); border-color: var(--ink); }
.fcta__img { align-self: end; height: auto; width: 106%; max-width: none; margin-right: -4%; filter: drop-shadow(0 18px 24px rgba(92,13,41,.18)); }

.fcols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding: 56px 0 8px; }
.fcol h3 { margin: 6px 0 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fcol a, .flink { color: var(--muted); text-decoration: none; transition: color .2s; }
.flink { background: none; border: 0; padding: 0; font-size: inherit; text-align: left; }
.fcol a:hover, .flink:hover { color: var(--wine); }
.fcol--brand p { margin: 0 0 16px; max-width: 34ch; line-height: 1.55; }
.logo--footer { width: 116px; height: auto; margin: 0 0 14px; }
.fsocial { display: flex; gap: 8px; }
.fsocial a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--wine); transition: background .2s, color .2s; }
.fsocial a:hover { background: var(--wine); color: #fff; }
.fsocial svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

.fword { margin: 0; text-align: center; white-space: nowrap; font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; line-height: .78; font-size: clamp(64px, 17vw, 270px); padding-top: .12em; background: linear-gradient(180deg, rgba(143,23,64,.30) 0%, rgba(143,23,64,.05) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.fbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; max-width: 1280px; margin: 0 auto; padding: 18px max(24px, env(safe-area-inset-left, 0px)) 22px; border-top: 1px solid var(--line); font-size: 12.5px; }

.toast {
  position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; font-size: 13px; padding: 10px 18px; border-radius: 999px;
  opacity: 0; transition: opacity .25s, transform .25s; z-index: 100; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .fcta { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 40px 28px 0; gap: 8px; }
  .fcta__text { padding-bottom: 8px; }
  .fcta__text p { margin-left: auto; margin-right: auto; }
  .fcta__actions { justify-content: center; }
  .fcta__img { width: 100%; margin: 0; }
  .fcols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fcol--brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .logo--footer { margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .footer { margin-top: 52px; }
  .footer__inner { padding-left: 12px; padding-right: 12px; }
  .fcta { padding: 32px 20px 0; border-radius: 22px; }
  .fcta__actions .btn-dark, .btn-line { width: 100%; justify-content: center; }
  .fcta__actions .btn-dark { justify-content: space-between; }
  .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 40px; }
  .fcol:last-child { grid-column: 1 / -1; }
  .fbottom { flex-direction: column; text-align: center; align-items: center; padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 1180px) {
  .topbar__inner { grid-template-columns: auto minmax(0, 1fr) minmax(180px, 240px) auto; }
  .dd__btn, .nav__link { padding: 10px 12px; font-size: 13.5px; }
  .hero__products { left: 31%; width: 71%; }
  .hero__aside { max-width: 230px; font-size: 13px; }
  .hero__feature { width: min(300px, 32%); grid-template-columns: minmax(0, 1fr) 104px; }
  .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 96px; }
  /* Menú compacto: logo, buscador y botón de menú */
  .topbar__inner { grid-template-columns: auto minmax(0, 1fr) auto auto; border-radius: 999px; padding: 6px 6px 6px 16px; gap: 8px; }
  .mainnav { display: none; }
  .menubtn { display: grid; }
  .logo img { height: 58px; }
  .searchwrap { justify-self: end; width: min(340px, 100%); }
  .catalogo { scroll-margin-top: 96px; }
  /* Banner apilado y centrado */
  .hero { min-height: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 32px 24px; }
  .hero__copy, .hero__aside, .hero__note, .hero__feature, .hero__products { position: static; }
  .hero__copy { max-width: 640px; display: flex; flex-direction: column; align-items: center; }
  .hero__title { margin-bottom: 22px; }
  .hero__aside { max-width: 52ch; margin: 22px auto 0; font-size: 14px; }
  .hero__products { width: calc(100% + 40px); max-width: 820px; margin: 20px -20px 0; }
  .hero__note { display: none; }
  .hero__feature { width: 100%; max-width: 520px; margin-top: -8px; grid-template-columns: minmax(0, 1fr) 120px; text-align: left; }
  .hero::before { background-size: 380px auto; background-position: right -80px top 20px; }
  .hero__model { position: relative; width: calc(100% + 64px); max-width: 760px; margin: 14px -32px 0; aspect-ratio: 1236 / 940; }
  .hero__model img { object-position: 60% 0%; -webkit-mask-image: radial-gradient(74% 56% at 50% 54%, #000 56%, transparent 100%); mask-image: radial-gradient(74% 56% at 50% 54%, #000 56%, transparent 100%); }
  .hero:has(.hero__model) .hero__products { position: relative; z-index: 1; margin-top: min(-34%, -40px); }
  .promos { grid-template-columns: minmax(0, 1fr); }
  .carousel__arrow--prev { left: -8px; }
  .carousel__arrow--next { right: -8px; }
  /* Ficha: una sola columna con desplazamiento y botones fijos abajo */
  .sheet__panel { display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
  .sheet__media { flex: none; }
  .sheet__media img { max-height: 46vh; object-fit: contain; }
  .sheet__body { flex: none; overflow: visible; padding: 24px 22px 28px; }
  .sheet__nav {
    position: sticky; bottom: 0; margin-top: auto; z-index: 2;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 92px; }
  .topbar { padding-block: 8px 8px; padding-left: max(10px, env(safe-area-inset-left, 0px)); padding-right: max(10px, env(safe-area-inset-right, 0px)); }
  .topbar__inner { border-radius: 26px; padding: 6px 6px 6px 12px; gap: 8px; }
  /* Logo más grande y buscador más pequeño */
  .logo img { height: 62px; }
  .searchwrap { width: auto; max-width: 150px; }
  .search { height: 40px; padding: 0 12px; gap: 6px; }
  .search svg { width: 15px; height: 15px; }
  .search input { font-size: 16px; } /* 16px evita el zoom automático del iPhone */
  .menubtn, .cartbtn { width: 40px; height: 40px; }
  .topbar__inner { gap: 6px; }
  .searchwrap { max-width: 132px; }
  .suggest { position: fixed; left: max(10px, env(safe-area-inset-left, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); width: auto; top: calc(env(safe-area-inset-top, 0px) + 92px); max-height: calc(100dvh - 120px); }
  .catalogo { scroll-margin-top: 92px; margin-top: 48px; }
  main { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
  .hero { border-radius: 24px; padding: 30px 20px 16px; }
  .hero__model { width: calc(100% + 40px); margin: 10px -20px 0; }
  .hero__eyebrow { font-size: 10.5px; letter-spacing: .2em; }
  .hero__title { font-size: clamp(34px, 10.4vw, 46px); }
  .btn-dark { font-size: 13.5px; padding-left: 18px; }
  .hero__aside { font-size: 13.5px; }
  .hero__products { margin-top: 18px; }
  .hero__feature { grid-template-columns: minmax(0, 1fr) 104px; margin-top: -4px; }
  .feature__info { padding: 13px; border-radius: 16px; }
  .feature__img { border-radius: 16px; }
  .feature__name { font-size: 14.5px; }
  .hero::before { background-size: 260px auto; background-position: right -70px top 30px; }
  .block { margin-top: 44px; }
  .block__head { margin-bottom: 14px; }
  .block__sub { font-size: 12.5px; }
  .carousel__track { gap: 10px; }
  .cats { grid-auto-columns: 150px; }
  .cat { height: 180px; border-radius: 16px; }
  .cat__text { padding: 12px 12px 30px; }
  .cat__label { font-size: 14px; }
  .cat__count { font-size: 11px; }
  .minis { grid-auto-columns: 168px; }
  .mini__name { font-size: 13px; }
  .carousel__arrow { width: 38px; height: 38px; }
  .carousel__arrow svg { width: 17px; height: 17px; }
  .carousel__arrow--prev { left: -4px; }
  .carousel__arrow--next { right: -4px; }
  .promos { margin-top: 20px; gap: 12px; }
  .promo { padding: 20px; grid-template-columns: minmax(0, 1fr) 38%; gap: 14px; min-height: 0; border-radius: 20px; }
  .promo__desc { font-size: 13px; }
  .promo__cta { font-size: 12.5px; padding: 8px 13px; }
  .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .need { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: 14px; }
  .need__icon { width: 38px; height: 38px; border-radius: 11px; }
  .need__icon svg { width: 20px; height: 20px; }
  .need__label { font-size: 13px; }
  .need__count { display: none; }
  .activebar__status { margin-left: 0; width: 100%; justify-content: space-between; }
  .perks { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 52px; }
  .brandsec { margin-bottom: 44px; }
  .brandsec__head { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
  .linehead h3 { font-size: 19px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__body { padding: 10px 12px 12px; gap: 6px; }
  .card__name { font-size: 14px; }
  .card__kicker { font-size: 10px; }
  .card__bens { display: none; }
  .card__more { display: none; }
  .card__foot { padding: 4px 10px 12px; }
  .qty { width: 100%; }
  .qty .addbtn, .qty .stepper { width: 100%; }
  .qty .stepper { grid-template-columns: 34px 1fr 34px; }
  .cartdrawer { width: 100vw; border-radius: 0; }
  .citem { grid-template-columns: 56px minmax(0, 1fr); }
  .citem__img { width: 56px; height: 56px; }
  .citem__ctrl { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .cartbar__text { font-size: 12.5px; }
  .card__size { font-size: 10.5px; left: 8px; top: 8px; }
  .results__head h2 { font-size: 24px; }
  .sheet { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .sheet__panel { max-height: 100dvh; height: 100dvh; }
  .sheet__close { top: calc(10px + env(safe-area-inset-top, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); }
  .sheet__body { padding: 22px 18px 26px; }
  .d-vars { grid-template-columns: minmax(0, 1fr); }
  .sheet__nav { padding-left: 12px; padding-right: 12px; gap: 6px; }
  .navbtn { white-space: nowrap; padding: 8px 12px; font-size: 12.5px; }
  .ficha img { max-height: 80vh; }
  .ficha .sheet__close { right: 0; top: -48px; }
}
@media (max-width: 360px) {
  .logo img { height: 54px; }
  .searchwrap { max-width: 104px; }
  .logo img { height: 50px; }
  .grid { gap: 8px; }
  .card__body { padding: 8px 10px 10px; }
  .card__name { font-size: 13px; }
  .navbtn { padding: 8px 9px; font-size: 12px; }
  .hero__feature { grid-template-columns: minmax(0, 1fr) 88px; }
  .promo { grid-template-columns: minmax(0, 1fr); }
  .promo__img { display: none; }
  .need { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}
/* Celular horizontal: poca altura */
@media (max-height: 520px) and (orientation: landscape) {
  .topbar { position: static; }
  html { scroll-padding-top: 12px; }
  .catalogo { scroll-margin-top: 12px; }
  .sheet { width: calc(100vw - 24px); max-width: 980px; height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; margin: auto; }
  .sheet__panel {
    display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
    height: 100%; max-height: 100%; overflow: hidden;
  }
  .sheet__media { min-height: 0; }
  .sheet__media img { height: 100%; max-height: none; object-fit: contain; aspect-ratio: auto; }
  .sheet__ficha { bottom: 10px; font-size: 11.5px; padding: 6px 10px; }
  .sheet__body { overflow-y: auto; min-height: 0; padding: 20px 22px; }
  .d-title { font-size: 24px; }
  .sheet__nav { position: static; grid-column: 1 / -1; padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .sheet__close { top: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* El pie de página deja espacio para la barra del pedido */
body:has(#cartBar:not([hidden])) .footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Sistema tipográfico ----------
   Cormorant Garamond: banner y títulos · Manrope: menú, productos, textos y botones */
body { font-weight: 400; }
.dd__btn, .nav__link, .drawer__links a { font-weight: 500; }
.btn-dark, .btn-line, .addbtn, .wabtn, .linkbtn, .cartbar button, .cartbar a, .d-buy button { font-weight: 600; }

/* ---------- Banner: diagramación de textos ---------- */
.hero__copy { top: 50%; transform: translateY(-50%); max-width: 560px; }
.hero__eyebrow { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 500; letter-spacing: .42em; color: var(--wine-ink); margin: 0 0 18px; }
.hero__eyebrow::after { content: ""; height: 1px; width: 90px; background: currentColor; opacity: .6; }
.hero__title { text-transform: uppercase; font-size: clamp(44px, 5.2vw, 78px); line-height: .9; letter-spacing: -.01em; margin: 0 0 26px; color: var(--wine-ink); }
.hero__title .t1 { display: block; font-weight: 500; }
.hero__title .t2 { display: block; font-weight: 500; font-size: .62em; line-height: 1.05; padding-left: .55em; margin: .04em 0 .02em; }
.hero__title .t3 { position: relative; display: inline-block; font-weight: 500; font-style: italic; font-size: 1.32em; line-height: .9; letter-spacing: -.02em; color: var(--wine-ink);
  background: linear-gradient(180deg, #7a1236 0%, #4c0a21 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.hero__swash { position: absolute; left: 18%; bottom: -.3em; width: 78%; height: .2em; overflow: visible; }
.hero__swash path { fill: var(--wine-ink); opacity: .85; stroke: none; }
.hero__cats { margin: 40px 0 30px; font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.hero__cats i { font-style: normal; color: var(--wine-ink); }
.btn-wine { background: linear-gradient(90deg, #8f1740 0%, #5c0d29 100%); padding: 10px 10px 10px 30px; font-size: 16px; gap: 22px; box-shadow: 0 12px 26px -12px rgba(92,13,41,.7); }
.btn-wine:hover { background: linear-gradient(90deg, #7a1236 0%, #4c0a21 100%); }
.btn-wine .btn-dark__icon { width: 40px; height: 40px; border: 0; background: rgba(0,0,0,.28); }

/* Letra gigante de fondo */
.hero__letter { position: absolute; z-index: 0; left: 31%; top: -6%; font-family: var(--serif); font-weight: 500; font-size: clamp(300px, 46vw, 640px); line-height: 1; color: rgba(255,255,255,.4); pointer-events: none; user-select: none; }

/* Sello circular */
.hero__seal { position: absolute; z-index: 3; right: 36px; top: 32px; width: clamp(110px, 11vw, 150px); aspect-ratio: 1; color: var(--wine-ink); }
.hero__seal svg { width: 100%; height: 100%; overflow: visible; }
.seal__ring { fill: rgba(255,255,255,.18); stroke: currentColor; stroke-width: 1.4; }
.seal__text { transform-origin: 100px 100px; animation: sealSpin 28s linear infinite; }
.seal__text text { font-family: var(--sans); font-size: 13.4px; font-weight: 600; letter-spacing: .16em; fill: currentColor; }
.seal__lotus path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
@keyframes sealSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal__text { animation: none; } }

@media (max-width: 1180px) {
  .hero__copy { max-width: 480px; }
}
@media (max-width: 960px) {
  .hero__copy { transform: none; }
  .hero__eyebrow::before { content: ""; height: 1px; width: 40px; background: currentColor; opacity: .6; }
  .hero__eyebrow::after { width: 40px; }
  .hero__title .t2 { padding-left: 0; }
  .hero__swash { left: 11%; }
  .hero__cats { justify-content: center; }
  .hero__letter { display: none; }
  .hero__seal { position: relative; align-self: flex-end; width: 104px; margin: 4px 0 -84px; }
}
@media (max-width: 640px) {
  .hero__eyebrow { font-size: 10.5px; gap: 10px; letter-spacing: .3em; }
  .hero__eyebrow::before, .hero__eyebrow::after { width: 22px; }
  .hero__title { font-size: clamp(42px, 13vw, 56px); }
  .hero__cats { margin-top: 26px; font-size: 10px; letter-spacing: .05em; gap: 0 7px; flex-wrap: nowrap; white-space: nowrap; }
  .hero__seal { width: 84px; margin: 6px -4px -64px 0; }
}

/* ---------- Banner con foto de referencia (modelo + telas) ---------- */
.hero { background: #f7d9e1; min-height: clamp(560px, 52vw, 700px); }
.hero__model { left: 0; width: 100%; }
.hero__model img { object-position: 100% 50%; -webkit-mask-image: none; mask-image: none; }
.hero__title { font-family: "Playfair Display", var(--serif); letter-spacing: 0; font-size: clamp(46px, 6.2vw, 92px); line-height: .95; }
.hero__title .t1, .hero__title .t2, .hero__title .t3 { font-family: "Playfair Display", var(--serif); }
.hero__title .t1 { font-weight: 400; color: var(--wine-ink); }
.hero__title .t2 { font-weight: 400; font-size: .6em; padding-left: .7em; }
.hero__title .t3 { font-weight: 400; font-style: italic; font-size: 1.24em; letter-spacing: -.01em; }
.hero__seal { right: 40px; top: 36px; }
@media (max-width: 960px) {
  .hero { background: linear-gradient(180deg, #fbe4ea 0%, #f6d3dc 100%); }
  .hero__model { width: calc(100% + 64px); aspect-ratio: 4 / 4.3; max-width: none; }
  .hero__model img { object-position: 74% 50%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%); }
}
@media (max-width: 640px) {
  .hero__model { width: calc(100% + 40px); aspect-ratio: 4 / 4.8; }
  .hero__model img { object-position: 76% 50%; }
}

/* =====================================================================
   DISEÑO VINO (v2): zona oscura arriba que se funde a rosado en el catálogo
   ===================================================================== */
:root { --night: #3b0a1c; --wine-deep: #4d0d24; --rose-gold: #f2c9bd; --on-dark: #f8e7ea; --play: "Playfair Display", var(--serif); }
html {
  background:
    linear-gradient(180deg, #3b0a1c 0, #561029 700px, #4a0c22 calc(var(--fade-at, 2600px) - 80px), #b56a82 calc(var(--fade-at, 2600px) + 80px), #f1cfd8 calc(var(--fade-at, 2600px) + 240px), #fbeff2 calc(var(--fade-at, 2600px) + 760px), #fdf6f7 100%);
}
body { background: transparent; }
body::before { background: var(--night); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header oscuro */
.topbar { background: rgba(59, 10, 28, .94); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); padding-block: 10px; border-bottom: 1px solid rgba(255,255,255,.07); }
.topbar__inner, .topbar__inner[class] { background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; padding-left: 8px; }
.logo img { height: 50px; }
.dd__btn, .nav__link { color: var(--on-dark); }
.dd__btn:hover, .nav__link:hover { background: rgba(255,255,255,.08); }
.dd__btn[aria-expanded="true"] { background: #fff; color: var(--ink); }
.search { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); }
.search svg { stroke: rgba(255,255,255,.75); }
.search input { color: #fff; }
.search input::placeholder { color: rgba(255,255,255,.6); }
.search:focus-within { background: rgba(255,255,255,.12); border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.cartbtn { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.cartbtn:hover { background: rgba(255,255,255,.1); }
.cartbtn__badge { background: var(--rose-gold); color: var(--night); }
.menubtn { background: #fff; color: var(--night); }

/* Títulos de sección en la zona oscura */
.sectitle { font-family: var(--play); font-weight: 400; color: var(--on-dark); letter-spacing: -.01em; }
.block__sub { color: rgba(248,231,234,.7); }
.block__link { color: var(--on-dark); font-size: 13.5px; text-decoration: none; display: inline-flex; gap: 8px; opacity: .85; }
.block__link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.carousel__arrow { background: rgba(255,255,255,.92); }

/* Banner */
.hero {
  min-height: clamp(460px, 40vw, 560px); margin-top: 10px; border-radius: 28px;
  background: radial-gradient(70% 95% at 72% 45%, #a8284f 0%, #771638 38%, #520e27 72%, #430a20 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px -40px rgba(0,0,0,.7);
  color: #fff;
}
.hero::before { display: none; }
.hero__copy { left: 56px; top: 50%; transform: translateY(-50%); max-width: 520px; z-index: 3; }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; color: var(--rose-gold); font-size: 12px; font-weight: 500; letter-spacing: .3em; margin: 0 0 20px; }
.hero__eyebrow::before, .hero__eyebrow::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .6; }
.hero__title { font-family: var(--play); text-transform: uppercase; font-size: clamp(38px, 4.4vw, 64px); line-height: 1; letter-spacing: .01em; margin: 0 0 20px; color: var(--rose-gold); }
.hero__title .t1, .hero__title .t3 { font-family: var(--play); }
.hero__title .t1 { display: block; font-weight: 400; color: var(--rose-gold); }
.hero__title .t3 { display: block; font-weight: 400; font-style: italic; font-size: 1.5em; line-height: .95; color: #fff; background: none; -webkit-text-fill-color: currentColor; letter-spacing: 0; padding: 0; }
.hero__lead { margin: 0 0 28px; max-width: 34ch; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.5; color: rgba(255,255,255,.86); }
.btn-ghost { display: inline-flex; align-items: center; gap: 14px; padding: 13px 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; background: transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-ghost:hover { background: #fff; color: var(--night); border-color: #fff; }
.btn-ghost--sm { padding: 9px 18px; font-size: 13px; }
.hero__art { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 58%; pointer-events: none; }
.hero__arch { position: absolute; left: 16%; right: 10%; top: 9%; bottom: -6%; border-radius: 999px 999px 0 0; background: radial-gradient(80% 70% at 50% 30%, #c0436b 0%, #93224a 55%, #6d1435 100%); opacity: .9; }
.hero .hero__model { position: absolute; inset: auto 3% 0 auto; top: auto; left: auto; width: auto; height: 100%; aspect-ratio: auto; margin: 0; max-width: none; }
.hero .hero__model img { height: 100%; width: auto; max-width: none; object-fit: contain; -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }
.hero__feature { z-index: 4; }
.feature__info { background: rgba(255,255,255,.82); }

/* Franja de confianza */
.trust { list-style: none; margin: 0; padding: 22px 0; display: flex; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.12); }
.trust li { display: flex; align-items: center; gap: 12px; padding: 0 clamp(18px, 4vw, 56px); color: var(--on-dark); font-size: 14px; font-weight: 500; }
.trust li + li { border-left: 1px solid rgba(255,255,255,.2); }
.trust svg { width: 26px; height: 26px; fill: none; stroke: var(--rose-gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#categorias { margin-top: 44px; }

/* Categorías */
.cats { grid-auto-columns: 196px; }
.cat { height: 168px; border-radius: 18px; background: linear-gradient(150deg, #fbe3e8, #f2c3cf); box-shadow: none; }
.cat:nth-child(5n+2) { background: linear-gradient(150deg, #fbe9ea, #efcbd2); }
.cat:nth-child(5n+3) { background: linear-gradient(150deg, #f7d6e0, #e7a9bb); }
.cat:nth-child(5n+4) { background: linear-gradient(150deg, #fde7d3, #f6c79d); }
.cat:nth-child(5n+5) { background: linear-gradient(150deg, #fbe0e6, #f0b7c5); }
.cat img { inset: auto -8% -10% auto; width: 66%; height: auto; aspect-ratio: 1; border-radius: 18px; transform: rotate(-6deg); box-shadow: 0 12px 24px -12px rgba(77,13,36,.5); }
.cat:hover img { transform: rotate(-3deg) scale(1.05); }
.cat--all img { width: 58%; inset: auto 6% 10% auto; border-radius: 0; box-shadow: none; transform: none; aspect-ratio: auto; }
.cat__text { background: none; padding: 16px; }
.cat__label { font-family: var(--play); font-weight: 400; font-size: 19px; line-height: 1.15; color: var(--wine-ink); max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
.cat__count { color: rgba(92,13,41,.7); }
.cat[aria-pressed="true"] { outline: 2px solid #fff; outline-offset: 3px; }

/* Promos */
.promos { grid-template-columns: 1fr 1fr; margin-top: 36px; }
.promo { min-height: 220px; padding: 26px 30px; }
.promo--rose { background: linear-gradient(120deg, #fbe2e8 0%, #f3bccb 100%); color: var(--wine-ink); }
.promo--honey { background: linear-gradient(120deg, #fdeedd 0%, #f8cf9c 100%); }
.promo__eyebrow { color: var(--wine); opacity: .8; }
.promo--honey .promo__eyebrow { color: #a2621c; }
.promo__title { font-family: var(--play); font-weight: 400; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.1; color: var(--wine-ink); }
.promo--honey .promo__title { color: var(--wine-ink); }
.promo__cta, .promo--honey .promo__cta { background: var(--night); color: #fff; }

/* Tarjeta de producto */
.pcard { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 18px; background: #fff6f6; box-shadow: 0 10px 24px -20px rgba(59,10,28,.6); animation: fadeUp .4s both; min-width: 0; }
.pcard__img { display: block; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: var(--brand-soft); aspect-ratio: 1; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { display: flex; flex-direction: column; gap: 2px; padding: 0 4px; flex: 1; }
.pcard__brand { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent, var(--wine)); }
.pcard__name { border: 0; background: none; padding: 0; text-align: left; font-size: 13.5px; font-weight: 500; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pcard__name:hover { color: var(--wine); }
.pcard__size { font-size: 12px; color: var(--muted); }
.pcard .qty { display: flex; }
.pcard .qty > * { width: 100%; }
.pcard .addbtn { width: 100%; border-radius: 10px; padding: 10px 12px; background: var(--night); }
.pcard .addbtn:hover { background: #22050f; }
.pcard .addbtn--on { background: var(--blush); color: var(--wine); }
.pcard .stepper { width: 100%; justify-content: space-between; border-radius: 10px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.minis { grid-auto-columns: 208px; }
.minis .pcard { box-shadow: none; }

/* Filtros */
.filters { margin-top: 56px; }
.fsels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fsel { position: relative; display: flex; align-items: center; height: 54px; border-radius: 999px; background: #fff7f8; box-shadow: 0 12px 26px -18px rgba(0,0,0,.45); }
.fsel > svg:first-child { position: absolute; left: 18px; width: 20px; height: 20px; fill: none; stroke: var(--wine-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.fsel select { appearance: none; -webkit-appearance: none; width: 100%; height: 100%; border: 0; background: transparent; padding: 0 44px 0 50px; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; border-radius: 999px; text-overflow: ellipsis; }
.fsel select:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.fsel__chev { position: absolute; right: 18px; width: 18px; height: 18px; fill: none; stroke: var(--wine-ink); stroke-width: 2; pointer-events: none; }
.fsel.is-set { background: #fff; box-shadow: 0 0 0 2px var(--wine), 0 12px 26px -18px rgba(0,0,0,.45); }

/* Catálogo por marca (zona rosada) */
.catalogo { margin-top: 96px; }
.catalogo .sectitle { color: var(--wine-ink); font-weight: 500; }
.catalogo .sectitle span { font-weight: 400; color: var(--wine); }
.activebar { border-bottom-color: rgba(92,13,41,.15); }
.activebar__status { color: var(--wine-ink); }
.brandrow { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 16px; margin-bottom: 18px; scroll-margin-top: 110px; }
.brandbanner { position: relative; overflow: hidden; border-radius: 20px; min-height: 240px; background: linear-gradient(90deg, #430a20 0%, #5e1030 60%, #7a1a3d 100%); color: #fff; display: flex; }
.brandbanner__img { position: absolute; right: 0; top: 0; height: 100%; width: 62%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.85) 55%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.85) 55%); opacity: .9; }
.brandbanner__text { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 26px; max-width: 72%; }
.brandbanner h3 { margin: 0; font-family: var(--play); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); overflow-wrap: anywhere; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.brandbanner p { margin: 0 0 6px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.82); }
.brandbanner .btn-ghost { align-self: flex-start; }
.brandrow__items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.brandsec__head { background: linear-gradient(90deg, #430a20 0%, #6e1434 100%); color: #fff; }
.brandsec__head h2 { font-family: var(--play); font-weight: 400; color: #fff; text-shadow: none; }
.brandsec__head p { color: rgba(255,255,255,.82); opacity: 1; }
.brandsec__count { background: rgba(255,255,255,.14); color: #fff; }
.grid { grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 14px; }
.linehead h3 { font-family: var(--play); font-weight: 400; color: var(--wine-ink); }
.results__head h2 { font-family: var(--play); font-weight: 400; color: var(--wine-ink); }
.achip { background: var(--night); }

.brandtrio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.brandmini { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; scroll-margin-top: 110px; }
.brandbanner--mini { min-height: 0; }
.brandbanner--mini .brandbanner__img { width: 100%; opacity: .55; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 70%); mask-image: linear-gradient(180deg, transparent 0%, #000 70%); }
.brandbanner--mini .brandbanner__text { max-width: none; justify-content: flex-start; padding: 20px; }
.brandbanner--mini h3 { font-size: clamp(17px, 1.55vw, 24px); overflow-wrap: anywhere; }
.brandbanner--mini p { font-size: 12.5px; }
.fcta__title, .fcta__title span, .fcta__title em { font-family: var(--play); }
.fcta__title span { font-weight: 400; }
.fcta__title em { font-weight: 400; }

/* Franja final */
.band { position: relative; overflow: hidden; margin: 72px 0 0; border-radius: 26px; padding: 38px 48px; display: flex; align-items: center; gap: 44px; color: #fff;
  background: radial-gradient(45% 120% at 100% 60%, rgba(240,150,180,.55), transparent 70%), linear-gradient(90deg, #430a20 0%, #6e1434 100%); }
.band__title { margin: 0; font-family: var(--play); font-weight: 400; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; color: var(--on-dark); padding-right: 44px; border-right: 1px solid rgba(255,255,255,.25); }
.band__title span { display: block; }
.band__items { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 4vw, 48px); }
.band__items li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.9); max-width: 110px; }
.band__items svg { width: 32px; height: 32px; fill: none; stroke: var(--rose-gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.footer { margin-top: 56px; }

@media (max-width: 1180px) {
  .hero__copy { left: 40px; max-width: 440px; }
  .brandrow { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
  .brandrow__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brandrow__items .pcard:nth-child(4) { display: none; }
  .brandtrio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brandbanner__text { max-width: 86%; padding: 22px; }
}
@media (max-width: 960px) {
  .hero { padding: 40px 28px 24px; }
  .hero__copy { transform: none; align-items: center; }
  .hero__eyebrow { justify-content: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__art { position: relative; width: calc(100% + 56px); margin: 18px -28px 0; height: clamp(320px, 70vw, 460px); }
  .hero__arch { left: 50%; right: auto; width: min(70%, 380px); transform: translateX(-50%); top: 8%; }
  .hero .hero__model { left: 50%; right: auto; transform: translateX(-50%); }
  .hero__feature { margin: -20px auto 0; position: relative; inset: auto; }
  .trust li { padding: 0 16px; font-size: 13px; }
  .promos { grid-template-columns: minmax(0, 1fr); }
  .fsels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brandrow { grid-template-columns: minmax(0, 1fr); }
  .brandbanner { min-height: 170px; }
  .brandrow__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brandrow__items .pcard:nth-child(4) { display: flex; }
  .band { flex-direction: column; align-items: flex-start; gap: 24px; padding: 30px 28px; }
  .brandtrio { grid-template-columns: minmax(0, 1fr); }
  .band__title { border-right: 0; padding-right: 0; }
}
@media (max-width: 640px) {
  .hero { padding: 30px 20px 18px; }
  .hero__eyebrow { font-size: 10px; letter-spacing: .22em; gap: 10px; }
  .hero__eyebrow::before, .hero__eyebrow::after { width: 22px; }
  .hero__title { font-size: clamp(30px, 9.4vw, 40px); }
  .hero__art { width: calc(100% + 40px); margin: 14px -20px 0; height: 330px; }
  .trust { padding: 16px 0; }
  .trust li { flex-direction: column; text-align: center; gap: 6px; padding: 0 10px; font-size: 11.5px; flex: 1; }
  .cats { grid-auto-columns: 160px; }
  .cat { height: 150px; }
  .cat__label { font-size: 16px; }
  .fsels { gap: 10px; }
  .fsel { height: 48px; }
  .fsel select { font-size: 13px; padding: 0 34px 0 42px; }
  .fsel > svg:first-child { left: 14px; width: 18px; }
  .fsel__chev { right: 12px; }
  .brandbanner__text { padding: 20px; max-width: 80%; }
  .brandbanner h3 { font-size: 26px; }
  .brandrow__items, .grid { gap: 10px; }
  .pcard { padding: 8px; }
  .minis { grid-auto-columns: 168px; }
  .band__items { width: 100%; justify-content: space-between; gap: 10px; }
  .band__items li { font-size: 11.5px; }
}

/* Pantallas muy pequeñas: nada cortado */
@media (max-width: 400px) {
  .cartbar__lines { display: none; }
}
@media (max-width: 360px) {
  .logo img { height: 42px; }
  .topbar__inner, .topbar__inner[class] { gap: 6px; padding-left: 4px; }
  .search { padding: 0 10px; gap: 6px; }
  .search input { font-size: 13px; }
  .hero__eyebrow { font-size: 9px; letter-spacing: .14em; gap: 8px; white-space: nowrap; }
  .hero__eyebrow::before, .hero__eyebrow::after { width: 14px; }
  .trust li { font-size: 10.5px; padding: 0 6px; }
  .fsels { grid-template-columns: minmax(0, 1fr); }
}

/* Foto del banner fundida con el fondo (sin bordes cortados) */
.hero .hero__model img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%); mask-image: linear-gradient(180deg, transparent 0%, #000 12%); }
.hero__arch { filter: blur(6px); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.hero__cta-m { display: none; }
@media (max-width: 960px) {
  .hero .hero__model img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 84%, transparent 100%); }
  .hero__arch { border-radius: 50%; top: 10%; bottom: 4%; width: min(92%, 460px); filter: blur(34px); opacity: .75; -webkit-mask-image: none; mask-image: none; }
  /* foto más arriba y botón bajo el rostro */
  .hero__copy .btn-ghost { display: none; }
  .hero__lead { margin-bottom: 0; }
  .hero__art { margin-top: -18px; height: clamp(380px, 78vw, 520px); }
  .hero__cta-m { display: inline-flex; position: absolute; z-index: 3; left: 50%; top: 66%; transform: translateX(-50%); pointer-events: auto; white-space: nowrap;
    background: rgba(59, 10, 28, .45); border-color: rgba(255,255,255,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 26px -12px rgba(0,0,0,.6); }
  .hero__cta-m:hover { background: #fff; color: var(--night); }
}
@media (max-width: 640px) {
  .hero__art { height: clamp(360px, 104vw, 440px); margin-top: -14px; }
}

/* ---------- Footer vino ---------- */
.footer--vino { position: relative; overflow: hidden; margin-top: 72px; color: var(--on-dark); font-size: 15px;
  background: radial-gradient(60% 120% at 0% 100%, rgba(150, 25, 65, .45), transparent 60%), linear-gradient(110deg, #3b0a1c 0%, #520e27 55%, #5e1030 100%); }
.footer__petals { position: absolute; z-index: 0; right: 0; top: 0; height: 100%; width: auto; max-width: 42%; object-fit: cover; object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 46%, #000 78%); mask-image: linear-gradient(90deg, transparent 0%, transparent 46%, #000 78%); pointer-events: none; }
.footer__wrap { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 64px max(24px, env(safe-area-inset-right, 0px)) 28px max(24px, env(safe-area-inset-left, 0px)); }
.ftop { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(242, 201, 189, .28); }
.fbrand { padding-right: 44px; border-right: 1px solid rgba(242, 201, 189, .28); }
.fbrand__logo { width: 200px; height: auto; margin-bottom: 18px; }
.fbrand p { margin: 0 0 22px; line-height: 1.55; color: rgba(248, 231, 234, .85); max-width: 34ch; }
.fwa { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 16px; border-radius: 999px; background: #25d366; color: #0b3d1f; text-decoration: none; font-weight: 700; font-size: 14.5px; box-shadow: 0 12px 26px -14px rgba(37, 211, 102, .8); transition: transform .2s, background .2s; }
.fwa:hover { background: #2fe476; transform: translateY(-2px); }
.fwa svg { width: 22px; height: 22px; fill: currentColor; }
.flinks__title { display: flex; align-items: center; gap: 24px; margin: 6px 0 30px; font-family: var(--play); font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 1; color: var(--on-dark); }
.flinks__title em { font-style: italic; }
.flinks__title::after { content: ""; width: 150px; height: 1px; background: rgba(242, 201, 189, .6); }
.flinks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 24px; }
.flink2 { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark); text-decoration: none; font-size: 16px; white-space: nowrap; font-weight: 500; transition: color .2s; }
.flink__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: background .2s; }
.flink__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--rose-gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flink2:hover { color: #fff; }
.flink2:hover .flink__icon { background: rgba(255,255,255,.16); }
.ftrust { list-style: none; margin: 40px auto; padding: 18px 28px; max-width: 1100px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 999px; border: 1px solid rgba(242, 201, 189, .35); background: rgba(255,255,255,.04); }
.ftrust li { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 4px 16px; font-size: 16px; line-height: 1.35; color: var(--on-dark); }
.ftrust li + li { border-left: 1px solid rgba(242, 201, 189, .3); }
.ftrust svg { width: 44px; height: 44px; flex: none; fill: none; stroke: var(--rose-gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.fcopy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; border-top: 1px solid rgba(242, 201, 189, .28); font-size: 14px; color: rgba(248, 231, 234, .82); }
.fcopy a { color: var(--on-dark); text-decoration: none; }
.fcopy a:hover { text-decoration: underline; text-underline-offset: 4px; }
body:has(#cartBar:not([hidden])) .footer--vino .footer__wrap { padding-bottom: calc(28px + 76px + env(safe-area-inset-bottom, 0px)); }
body:has(#cartBar:not([hidden])) .footer--vino { padding-bottom: 0; }
@media (max-width: 1180px) {
  .ftop { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 36px; }
  .fbrand { padding-right: 36px; }
  .flinks ul { display: grid; grid-template-columns: repeat(3, max-content); gap: 18px 28px; }
}
@media (max-width: 960px) {
  .footer__petals { max-width: 70%; opacity: .55; }
  .ftop { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fbrand { padding: 0 0 32px; border-right: 0; border-bottom: 1px solid rgba(242, 201, 189, .28); }
  .flinks ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftrust { border-radius: 24px; grid-template-columns: minmax(0, 1fr); padding: 8px 22px; }
  .ftrust li { justify-content: flex-start; padding: 14px 0; }
  .ftrust li + li { border-left: 0; border-top: 1px solid rgba(242, 201, 189, .25); }
}
@media (max-width: 640px) {
  .footer__wrap { padding-top: 48px; }
  .fbrand__logo { width: 170px; }
  .flinks__title::after { width: 60px; }
  .flinks ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .flink2 { font-size: 15.5px; gap: 12px; }
  .flink__icon { width: 42px; height: 42px; }
  .ftrust li { font-size: 15px; }
  .fcopy { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 360px) {
  .flinks ul { grid-template-columns: minmax(0, 1fr); }
  .fwa { width: 100%; justify-content: center; }
}

/* ---------- Categorías: 5 tarjetas como la referencia ---------- */
.cats5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.cat5 { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; height: 168px; padding: 18px; border: 0; border-radius: 18px; text-align: left; cursor: pointer;
  background: linear-gradient(150deg, #fbe3e8, #f2c3cf); box-shadow: 0 14px 30px -22px rgba(0,0,0,.6); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.cat5--corporal { background: linear-gradient(150deg, #fbeae9, #efcfd2); }
.cat5--maquillaje { background: linear-gradient(150deg, #f8d9e2, #e9adc0); }
.cat5--tratamientos { background: linear-gradient(150deg, #fdeedb, #f7cf9f); }
.cat5--kits { background: linear-gradient(150deg, #fbe1e7, #f1b9c7); }
.cat5:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -20px rgba(0,0,0,.65); }
.cat5:disabled { opacity: .5; cursor: default; transform: none; }
.cat5[aria-pressed="true"] { outline: 2px solid #fff; outline-offset: 3px; }
.cat5__label { position: relative; z-index: 1; font-family: var(--play); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.12; color: var(--wine-ink); max-width: 8.5em; }
.cat5__count { position: relative; z-index: 1; font-size: 12px; color: rgba(92,13,41,.7); }
.cat5 img { position: absolute; right: -6%; bottom: -8%; width: 74%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.cat5:hover img { transform: scale(1.06) rotate(-2deg); }
@media (max-width: 1180px) { .cat5 { height: 156px; padding: 16px; } }
@media (max-width: 960px) {
  .cats5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cat5 { grid-column: span 2; }
  .cat5:nth-child(4), .cat5:nth-child(5) { grid-column: span 3; }
  .cat5:nth-child(4) img, .cat5:nth-child(5) img { width: 52%; }
}
@media (max-width: 640px) {
  .cats5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat5, .cat5:nth-child(4) { grid-column: span 1; }
  .cat5:nth-child(5) { grid-column: 1 / -1; }
  .cat5:nth-child(4) img { width: 74%; }
  .cat5:nth-child(5) img { width: 40%; }
  .cat5 { height: 148px; padding: 14px; }
  .cat5__label { font-size: 17px; }
}

/* Footer: logo solo a la izquierda; texto + WhatsApp centrados bajo los enlaces */
.fbrand { display: flex; align-items: center; justify-content: center; }
.fbrand__logo { width: 220px; margin: 0; }
.fcontact { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-top: 36px; padding: 26px 24px 4px; border-top: 1px solid rgba(242, 201, 189, .18); }
.fcontact p { margin: 0; max-width: 46ch; line-height: 1.6; color: rgba(248, 231, 234, .88); font-size: 15.5px; }
@media (max-width: 960px) {
  .fbrand { justify-content: flex-start; }
  .fbrand__logo { width: 180px; }
}
@media (max-width: 640px) {
  .fbrand { justify-content: center; }
  .fcontact { padding: 22px 0 0; }
  .fcontact p { font-size: 14.5px; }
}

/* ---------- Franja "Tus marcas favoritas": íconos alineados y sin espacios vacíos ---------- */
.band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0; padding: 36px 40px 36px 48px;
  background: linear-gradient(90deg, #430a20 0%, #5e1030 55%, #6e1434 100%); }
.band__petals { position: absolute; right: 0; top: 0; height: 100%; width: 34%; object-fit: cover; object-position: 100% 30%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, rgba(0,0,0,.85) 75%); mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, rgba(0,0,0,.85) 75%); opacity: .75; }
.band > *:not(.band__petals) { position: relative; z-index: 1; }
.band__title { padding-right: 40px; }
.band__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0 12px 0 28px; }
.band__items li { max-width: none; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.35; padding: 0 10px; }
.band__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(242, 201, 189, .45); background: rgba(255,255,255,.06); }
.band__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--rose-gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.band__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 22px; border-radius: 20px; background: rgba(59, 10, 28, .45); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.band__cta p { margin: 0; font-family: var(--play); font-size: 20px; color: var(--on-dark); white-space: nowrap; }
.btn-light { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: #fff; color: var(--night); text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; transition: transform .2s, background .2s; }
.btn-light:hover { background: var(--rose-gold); transform: translateY(-2px); }
@media (max-width: 1180px) {
  .band { grid-template-columns: minmax(0, 1fr) auto; row-gap: 26px; padding: 34px 36px; }
  .band__title { padding-right: 24px; border-right: 0; }
  .band__items { grid-column: 1 / -1; grid-row: 2; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
  .band__cta { grid-column: 2; grid-row: 1; }
  .band__petals { width: 46%; }
}
@media (max-width: 960px) {
  .band { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; padding: 30px 24px; }
  .band__title { text-align: center; padding: 0; }
  .band__cta { grid-column: 1; grid-row: 3; }
  .band__items { grid-row: 2; }
  .band__petals { width: 70%; opacity: .45; }
}
@media (max-width: 640px) {
  .band__items li { font-size: 12px; padding: 0 4px; }
  .band__icon { width: 48px; height: 48px; }
  .band__cta .btn-light { width: 100%; justify-content: center; }
}

/* ---------- Etiqueta de producto nuevo ---------- */
.pcard__img { position: relative; }
.pcard__badge { position: absolute; left: 8px; top: 8px; padding: 5px 10px; border-radius: 999px; background: var(--night); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 6px 14px -8px rgba(0,0,0,.6); }

/* ---------- Popup de promoción ---------- */
.promopop { padding: 0; border: 0; background: transparent; max-width: min(860px, 94vw); width: 100%; overflow: visible; }
.promopop::backdrop { background: rgba(30, 4, 14, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.promopop[open] .pp { animation: ppIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes ppIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.pp { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); border-radius: 28px; overflow: hidden; color: #fff;
  background: radial-gradient(70% 90% at 25% 50%, #a8284f 0%, #771638 45%, #4a0c22 100%); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.pp__close { position: absolute; z-index: 3; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.2); color: #fff; display: grid; place-items: center; }
.pp__close:hover { background: rgba(255,255,255,.15); }
.pp__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pp__art { position: relative; display: grid; place-items: center; padding: 34px 26px; min-height: 340px; }
.pp__glow { position: absolute; inset: 14% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 170, 205, .55), transparent 70%); filter: blur(10px); }
.pp__art picture { position: relative; width: 100%; }
.pp__art img { width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(0,0,0,.45)); }
.pp__spark { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); background: #ffe3ec;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: twinkle 2.4s ease-in-out infinite; }
.pp__spark:nth-of-type(2) { animation-delay: .6s; } .pp__spark:nth-of-type(3) { animation-delay: 1.2s; } .pp__spark:nth-of-type(4) { animation-delay: 1.8s; }
@keyframes twinkle { 50% { opacity: .3; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .pp__spark, .promopop[open] .pp { animation: none; } }
.pp__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 44px 40px 40px 10px; }
.pp__badge { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pp__brand { margin: 6px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--rose-gold); }
.pp__title { margin: 0; font-family: var(--play); font-weight: 400; font-size: clamp(34px, 4vw, 50px); line-height: 1.02; color: var(--rose-gold); }
.pp__title em { display: block; font-style: italic; color: #fff; font-size: 1.15em; }
.pp__desc { margin: 4px 0 8px; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.88); max-width: 34ch; }
.pp__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pp__add { border: 0; border-radius: 999px; padding: 13px 22px; background: #fff; color: var(--night); font-weight: 700; font-size: 14.5px; transition: transform .2s, background .2s; }
.pp__add:hover { background: var(--rose-gold); transform: translateY(-2px); }
.pp__more { border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 12px 20px; background: transparent; color: #fff; font-weight: 600; font-size: 14px; }
.pp__more:hover { background: rgba(255,255,255,.12); }
.pp__note { margin: 4px 0 0; font-size: 12.5px; color: rgba(255,255,255,.7); }
@media (max-width: 720px) {
  .promopop { max-width: min(440px, 92vw); }
  .pp { grid-template-columns: minmax(0, 1fr); max-height: 88vh; overflow-y: auto; }
  .pp__art { min-height: 0; padding: 34px 40px 4px; }
  .pp__art picture { max-width: 280px; }
  .pp__text { align-items: center; text-align: center; padding: 6px 24px 28px; }
  .pp__desc { max-width: none; font-size: 14px; }
  .pp__actions { width: 100%; flex-direction: column; }
  .pp__add, .pp__more { width: 100%; }
}
@media (max-width: 360px) {
  .pp__art { padding: 28px 30px 0; }
  .pp__title { font-size: 30px; }
}

/* Crédito de la diseñadora */
.fcredit { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(242, 201, 189, .16); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(248, 231, 234, .65); }
.fcredit img { height: 58px; width: auto; opacity: .92; }
@media (max-width: 640px) {
  .fcredit { flex-direction: column; gap: 10px; font-size: 11px; }
  .fcredit img { height: 50px; }
}
