/* ==========================================================================
   WinePoint — vintage, mobile-first e-commerce theme (RTL / Hebrew)
   Plain CSS, no frameworks. Breakpoints: 600 / 900 / 1200
   ========================================================================== */

:root {
  --wine: #35021d;
  --wine-2: #4d0a2c;
  --wine-3: #6e1640;
  --wine-soft: #f3e3e3;
  --gold: #b88a4a;
  --gold-2: #d9b97c;
  --gold-3: #f1dfb6;
  --paper: #f8f1e5;
  --paper-2: #f1e6d3;
  --card: #fffaf1;
  --ink: #2a1712;
  --muted: #7b6559;
  --line: #e4d4b9;
  --ok: #2f6b3a;
  --danger: #a3172f;

  --f-head: "Suez One", "Frank Ruhl Libre", Georgia, serif;
  --f-body: "Assistant", "Segoe UI", Arial, sans-serif;

  --r: 10px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgba(53, 2, 29, .06), 0 8px 24px -12px rgba(53, 2, 29, .25);
  --gap: 12px;
  --pad: 16px;
  --header-h: 60px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--paper);
  /* subtle paper grain */
  background-image:
    radial-gradient(rgba(120, 80, 40, .045) 1px, transparent 1px),
    radial-gradient(rgba(120, 80, 40, .03) 1px, transparent 1px);
  background-size: 7px 7px, 13px 13px;
  background-position: 0 0, 3px 5px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.15; margin: 0; font-weight: 700; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -40px; right: 8px; background: var(--wine); color: #fff; padding: 8px 12px; z-index: 999; border-radius: 6px; }
.skip:focus { top: 8px; }
.hide-scroll { scrollbar-width: none; }
.hide-scroll::-webkit-scrollbar { display: none; }
.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--pad); }
svg.i { width: 1em; height: 1em; vertical-align: -.15em; }
body.is-locked { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: background .2s, color .2s, transform .1s, box-shadow .2s;
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--wine); color: var(--gold-3); box-shadow: inset 0 0 0 1px rgba(217, 185, 124, .35); }
.btn--primary:hover { background: var(--wine-3); color: #fff; }
.btn--gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--wine); }
.btn--gold:hover { filter: brightness(1.06); }
.btn--ghost { background: transparent; color: var(--wine); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--wine); }
.btn--outline-light { color: var(--gold-3); border-color: rgba(241, 223, 182, .5); }
.btn--outline-light:hover { background: rgba(241, 223, 182, .1); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn--lg { min-height: 54px; font-size: 17px; }

.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%;
  color: var(--wine); position: relative; transition: background .2s;
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 24px; height: 24px; }

/* ---------- Top bar (ticker) ---------- */
.topbar {
  background: var(--wine); color: var(--gold-3); font-size: 13px; overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid rgba(217, 185, 124, .3);
}
.topbar__track { display: inline-flex; gap: 18px; padding: 7px 0; animation: ticker 32s linear infinite; animation-delay: -9s; padding-inline-start: 100%; }
.topbar a { color: #fff; font-weight: 700; }
.topbar__sep { color: var(--gold); }
.topbar__age { font-weight: 700; color: #fff; }
@keyframes ticker { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .topbar__track { animation: none; padding-inline-start: 16px; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 241, 229, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(53, 2, 29, .5); }
.header__row { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.header__logo { flex: 1; display: flex; justify-content: center; }
.header__logo img { height: 34px; width: auto; }
.header__actions { display: flex; align-items: center; gap: 2px; }
.catalog-btn, .header .search, .header__phone, .navrow { display: none; }
.cart-btn__count {
  position: absolute; top: 2px; left: 0; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--gold); color: var(--wine); font-size: 11px; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--paper);
}
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.2) rotate(-8deg); } 60% { transform: scale(.95); } }

/* Desktop header */
@media (min-width: 1024px) {
  :root { --header-h: 78px; }
  .header__burger, .header__search-btn { display: none; }
  .header__row { gap: 20px; }
  .header__logo { flex: 0 0 auto; }
  .header__logo img { height: 48px; }
  .catalog-btn {
    display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px;
    background: var(--wine); color: var(--gold-3); border-radius: 999px; font-weight: 700; font-size: 16px;
  }
  .catalog-btn:hover, .catalog-btn[aria-expanded="true"] { background: var(--wine-3); }
  .catalog-btn__bars { display: grid; gap: 3px; width: 16px; }
  .catalog-btn__bars span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
  .catalog-btn[aria-expanded="true"] .catalog-btn__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .catalog-btn[aria-expanded="true"] .catalog-btn__bars span:nth-child(2) { opacity: 0; }
  .catalog-btn[aria-expanded="true"] .catalog-btn__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .header .search { display: block; flex: 1; }
  .header__phone { display: flex; align-items: center; gap: 8px; color: var(--wine); padding-inline: 8px; }
  .header__phone svg { width: 26px; height: 26px; }
  .header__phone span { display: grid; line-height: 1.15; }
  .header__phone small { color: var(--muted); font-size: 12px; }
  .header__phone b { font-size: 16px; }
  .navrow { display: block; border-top: 1px solid var(--line); }
  .navrow__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 44px; }
  .navrow__links { display: flex; gap: 4px; overflow: hidden; height: 44px; flex-wrap: wrap; }
  .navrow__links a { display: flex; align-items: center; height: 44px; padding: 0 10px; font-weight: 600; font-size: 15px; color: var(--ink); position: relative; }
  .navrow__links a:hover { color: var(--wine-3); }
  .navrow__links a.is-sale { color: var(--danger); }
  .navrow__links a::after { content: ""; position: absolute; inset-inline: 10px; bottom: 8px; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
  .navrow__links a:hover::after { transform: scaleX(1); }
  .navrow__partners { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); flex: 0 0 auto; }
}

/* Pills */
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; font-weight: 800; font-size: 12.5px; color: #fff; }
.pill--wolt { background: #009de0; }
.pill--10bis { background: #ff8000; }
.pill--easy { background: #e3175b; }
.pill:hover { filter: brightness(1.08); }

/* ---------- Search + suggestions ---------- */
.search { position: relative; }
.search__input {
  width: 100%; height: 46px; padding: 0 46px 0 40px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card); outline: none; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.search__input::-webkit-search-cancel-button { display: none; }
.search__input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 138, 74, .15); }
.search__icon { position: absolute; right: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search__clear { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; color: var(--muted); font-size: 13px; }
.search__clear:hover { background: var(--paper-2); }

.suggest {
  position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 60;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 24px 48px -20px rgba(53, 2, 29, .45); overflow: hidden; max-height: 70vh; overflow-y: auto;
}
.suggest__cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 12px 4px; }
.suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid #f0e5d2; }
.suggest__item:hover, .suggest__item.is-active { background: var(--paper); }
.suggest__item img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 8px; flex: 0 0 auto; }
.suggest__name { flex: 1; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.suggest__name mark { background: var(--gold-3); color: inherit; border-radius: 3px; }
.suggest__price { font-weight: 800; color: var(--wine); white-space: nowrap; }
.suggest__all { display: block; text-align: center; padding: 12px; font-weight: 700; color: var(--wine); background: var(--paper); }
.suggest__empty { padding: 20px; text-align: center; color: var(--muted); }

/* Mobile search overlay */
.msearch { position: fixed; inset: 0; z-index: 120; background: var(--paper); padding: 12px var(--pad); display: flex; flex-direction: column; }
.msearch__bar { display: flex; align-items: center; gap: 8px; }
.msearch__bar .search__input { flex: 1; }
.msearch__bar .search__clear { left: 74px; }
.msearch__close { color: var(--wine); font-weight: 700; padding: 8px 4px; }
.msearch .suggest--full { position: fixed; top: 70px; bottom: 0; inset-inline: 0; border-radius: 0; border: 0; box-shadow: none; max-height: none; background: var(--paper); }
.msearch__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; }

/* ---------- Chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; }
.chips--wrap { margin: 4px 0 16px; }
.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--wine); }
.chip.is-active { background: var(--wine); color: var(--gold-3); border-color: var(--wine); }
.chip--sale { color: var(--danger); border-color: rgba(163, 23, 47, .35); }

/* ---------- Mega menu ---------- */
.mega {
  position: absolute; top: 100%; inset-inline: 0; z-index: 55;
  background: var(--card); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(53, 2, 29, .55);
  max-height: calc(100vh - 140px); overflow-y: auto; padding: 20px 0 28px;
  animation: drop .22s ease;
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.mega__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.mega__title { font-family: var(--f-head); font-size: 24px; color: var(--wine); }
.mega__all { color: var(--wine-3); font-weight: 700; }
.mega__grid { columns: 5 200px; column-gap: 28px; }
.mega__group { break-inside: avoid; margin-bottom: 16px; }
.mega__cat { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--wine); padding: 4px 0; }
.mega__cat:hover { color: var(--wine-3); }
.mega__ico { width: 32px; height: 32px; border-radius: 7px; background: var(--wine); color: var(--gold-2); display: grid; place-items: center; flex: 0 0 auto; }
.mega__ico svg { width: 22px; height: 22px; }
.mega__cat small { color: var(--muted); font-weight: 500; font-size: 12px; }
.mega__subs { padding-inline-start: 42px; display: grid; gap: 1px; }
.mega__subs a { font-size: 14px; color: var(--muted); padding: 1px 0; }
.mega__subs a:hover { color: var(--wine); }
.mega-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(42, 23, 18, .35); }

/* ---------- Drawer (menu) — slides from top, full screen ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 110; width: 100%; height: 100%; height: 100dvh;
  background: var(--paper); transform: translateY(-102%); visibility: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
  display: flex; flex-direction: column; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .4);
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 10px var(--pad); border-bottom: 1px solid var(--line); background: var(--paper); flex: 0 0 auto; }
.drawer__head img { height: 32px; width: auto; }
.drawer__body { overflow-y: auto; padding: 4px var(--pad) calc(28px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.drawer__label { font-family: var(--f-head); color: var(--gold); font-size: 14px; letter-spacing: .05em; padding: 14px 0 8px; }
.drawer__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.dchip {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px 0 14px;
  border-radius: 999px; background: var(--wine); color: var(--gold-3); font-weight: 700; font-size: 14px; white-space: nowrap;
  border: 1px solid rgba(217, 185, 124, .35); transition: background .2s;
}
.dchip svg { width: 22px; height: 22px; color: var(--gold-2); flex: 0 0 auto; }
.dchip:hover, .dchip:active { background: var(--wine-3); }
.dchip--sale { background: var(--danger); }
.drawer__links { display: flex; flex-wrap: wrap; gap: 6px; }
.drawer .partners--small { padding: 0; }
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(42, 23, 18, .45); }

/* ---------- Home mobile top ---------- */
.home-mtop { padding: 12px var(--pad) 4px; display: grid; gap: 10px; }
.home-mtop__search {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px;
  background: var(--card); border: 1.5px solid var(--line); color: var(--muted); font-size: 15px; text-align: right;
}
.home-mtop__search svg { width: 20px; height: 20px; }
@media (min-width: 1024px) { .home-mtop { display: none; } }

/* ---------- Hero ---------- */
.hero { margin-top: 12px; }
.hero__link { display: block; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.hero__link::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(217, 185, 124, .55); border-radius: calc(var(--r-lg) - 4px); pointer-events: none; }
.hero__link img { width: 100%; aspect-ratio: 1672 / 941; object-fit: cover; }
@media (min-width: 1024px) { .hero { margin-top: 20px; } }

/* ---------- Blocks / section headings ---------- */
.block { margin-top: 36px; }
.block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.block__title { font-size: 24px; color: var(--wine); font-weight: 900; display: flex; align-items: center; gap: 8px; }
.ornament { color: var(--gold); font-size: .8em; }
.block__more { color: var(--wine-3); font-weight: 700; font-size: 14px; white-space: nowrap; border-bottom: 1px solid var(--gold-2); }
@media (min-width: 900px) { .block { margin-top: 56px; } .block__title { font-size: 34px; } .block__more { font-size: 15px; } }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel__track {
  --cols: 2;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 12px; margin: -4px -2px 0; overscroll-behavior-x: contain;
}
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav {
  display: none; position: absolute; top: 40%; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); color: var(--wine); border: 1px solid var(--line); box-shadow: var(--shadow); place-items: center;
  transition: opacity .2s, background .2s;
}
.carousel__nav:hover { background: var(--wine); color: var(--gold-3); }
.carousel__nav:disabled { opacity: 0; pointer-events: none; }
.carousel__nav svg { width: 20px; height: 20px; }
.carousel__nav--prev { right: -18px; }
.carousel__nav--prev svg { transform: rotate(180deg); }
.carousel__nav--next { left: -18px; }
.carousel__track { --cols: 2.3; }
@media (max-width: 899px) {
  .carousel__track { margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
  .carousel__track > *:last-child { margin-inline-end: var(--pad); }
}
@media (min-width: 600px) { .carousel__track { --cols: 3.3; } }
@media (min-width: 900px) { .carousel__track { --cols: 4; --gap: 16px; } .carousel__nav { display: grid; } }
@media (min-width: 1200px) { .carousel__track { --cols: 5; --gap: 18px; } }

/* Category tiles */
.block--cats { background: linear-gradient(180deg, transparent, var(--paper-2) 30%, var(--paper-2) 70%, transparent); padding: 8px 0 4px; }
.carousel__track--cats { grid-auto-columns: 100px; --gap: 10px; }
@media (min-width: 900px) { .carousel__track--cats { grid-auto-columns: 132px; --gap: 14px; } }
.cat-tile {
  aspect-ratio: 1; border-radius: var(--r); background: var(--wine); color: var(--gold-3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px 6px;
  text-align: center; position: relative; overflow: hidden; transition: transform .2s, background .2s;
  background-image: radial-gradient(120% 90% at 50% 0%, var(--wine-3) 0%, var(--wine) 65%);
}
.cat-tile::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(217, 185, 124, .45); border-radius: 6px; pointer-events: none; }
.cat-tile:hover { transform: translateY(-3px); }
.cat-tile svg { width: 40px; height: 40px; color: var(--gold-2); }
.cat-tile span { font-size: 12.5px; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 900px) { .cat-tile svg { width: 48px; height: 48px; } .cat-tile span { font-size: 14px; } }

/* ---------- Product card ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-width: 0;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__img { display: block; background: #fff; aspect-ratio: 1; padding: 10px; border-bottom: 1px solid #f0e5d2; }
.card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 12px; flex: 1; }
.card__title { font-size: 14px; font-weight: 600; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title:hover { color: var(--wine-3); }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.price b { font-family: var(--f-head); font-size: 19px; color: var(--wine); font-weight: 900; }
.price s { color: var(--muted); font-size: 13px; }
.card__oos { font-size: 12px; color: var(--danger); font-weight: 700; }
.badge {
  position: absolute; top: 10px; right: 10px; z-index: 1; background: var(--danger); color: #fff;
  font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 4px; letter-spacing: .02em;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .7);
}
.badge--lg { font-size: 15px; padding: 5px 12px; top: 14px; right: 14px; }
.add {
  width: 100%; height: 40px; border-radius: 999px; background: var(--wine); color: var(--gold-3); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 6px; transition: background .2s;
}
.add:hover { background: var(--wine-3); }
.add:disabled { background: #cbbcae; color: #fff; cursor: not-allowed; }
.qty { display: flex; align-items: center; justify-content: space-between; height: 40px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; }
.qty button { width: 40px; height: 100%; font-size: 20px; font-weight: 700; color: var(--wine); }
.qty button:hover { background: var(--gold-3); }
.qty span, .qty input { flex: 1; text-align: center; font-weight: 800; min-width: 0; border: 0; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--lg { height: 52px; width: 140px; }
@media (min-width: 900px) { .card__body { padding: 12px 14px 14px; } .card__title { font-size: 15px; } .price b { font-size: 21px; } }

/* ---------- WhatsApp subscribe ---------- */
.wa {
  position: relative; overflow: hidden; border-radius: var(--r-lg); color: var(--gold-3); text-align: center;
  display: grid; justify-items: center; gap: 14px; padding: 28px 20px;
  background: var(--wine); background-image: radial-gradient(90% 120% at 100% 0%, #5a0d35 0%, transparent 60%), radial-gradient(70% 100% at 0% 100%, #22010f 0%, transparent 60%);
  box-shadow: var(--shadow);
}
.wa::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(217, 185, 124, .45); border-radius: 11px; pointer-events: none; }
.wa__icon { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--wine); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(217, 185, 124, .15), inset 0 0 0 2px rgba(255, 255, 255, .25); }
.wa__icon svg { width: 36px; height: 36px; }
.wa .eyebrow { text-align: center; }
.wa h2 { color: #fff; font-size: 26px; font-weight: 900; margin: 6px 0; }
.wa p { margin: 0; color: #ead8c8; }
.btn--wa { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--wine); position: relative; min-height: 50px; padding: 0 28px; font-size: 16px; }
.btn--wa:hover { filter: brightness(1.08); }
@media (min-width: 900px) {
  .wa { grid-template-columns: auto 1fr auto; text-align: right; justify-items: start; align-items: center; gap: 28px; padding: 32px 40px; }
  .wa .eyebrow { text-align: right; }
  .wa h2 { font-size: 34px; }
}

/* ---------- Promo tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 2 / 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.05); }
.tile__cta {
  position: absolute; bottom: 14px; inset-inline: 14px; text-align: center; padding: 9px; border-radius: 999px;
  background: rgba(53, 2, 29, .82); color: var(--gold-3); font-weight: 700; font-size: 14px; backdrop-filter: blur(4px);
  border: 1px solid rgba(217, 185, 124, .5);
}
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* ---------- Delivery ---------- */
.delivery {
  margin-top: 56px; background: var(--wine); color: var(--gold-3); position: relative; overflow: hidden;
  background-image: radial-gradient(80% 120% at 100% 0%, #5a0d35 0%, transparent 60%), radial-gradient(60% 100% at 0% 100%, #22010f 0%, transparent 60%);
}
.delivery::before, .delivery::after { content: ""; position: absolute; inset-inline: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px); opacity: .5; }
.delivery::before { top: 0; } .delivery::after { bottom: 0; }
.delivery__inner { display: grid; gap: 28px; padding-block: 44px; }
.eyebrow { font-family: var(--f-head); color: var(--gold); letter-spacing: .12em; font-size: 13px; text-transform: uppercase; direction: ltr; text-align: right; }
.delivery h2 { font-size: 34px; color: #fff; margin: 8px 0 12px; font-weight: 900; }
.delivery h2 em { font-style: normal; color: var(--gold-2); }
.delivery p { margin: 0 0 16px; color: #ead8c8; max-width: 52ch; }
.delivery__areas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.delivery__areas li { padding: 6px 14px; border: 1px solid rgba(217, 185, 124, .5); border-radius: 999px; font-weight: 700; }
.delivery__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.perk { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 16px 8px; border: 1px solid rgba(217, 185, 124, .3); border-radius: var(--r); background: rgba(255, 255, 255, .03); }
.perk svg { width: 30px; height: 30px; color: var(--gold-2); }
.perk b { color: #fff; font-size: 15px; }
.perk span { font-size: 12.5px; color: #d6bfae; }
.delivery__partners { margin-top: 18px; display: grid; gap: 10px; font-size: 14px; }
@media (min-width: 900px) {
  .delivery__inner { grid-template-columns: 1.1fr 1fr; align-items: center; padding-block: 64px; gap: 48px; }
  .delivery h2 { font-size: 48px; }
}

/* Partner logos */
.partners { display: flex; flex-wrap: wrap; gap: 10px; }
.partners a { display: grid; place-items: center; height: 48px; padding: 0 14px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); transition: transform .2s; }
.partners a:hover { transform: translateY(-2px); }
.partners img { max-height: 28px; width: auto; max-width: 92px; }
.partners--small { padding: 4px 16px; }
.partners--light a { border-color: transparent; }

/* ---------- Footer ---------- */
.footer { background: #22010f; color: #d8c4b4; margin-top: 0; font-size: 14.5px; }
.page-home .footer { margin-top: 0; }
body:not(.page-home) .footer { margin-top: 64px; }
.footer__warning { background: var(--gold-3); color: var(--wine); }
.footer__warning .container { display: flex; align-items: center; gap: 14px; padding-block: 14px; }
.footer__warning p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.age-badge { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2.5px solid var(--danger); color: var(--danger); font-weight: 900; font-size: 16px; background: #fff; }
.age-badge--sm { width: 28px; height: 28px; font-size: 10px; border-width: 2px; display: inline-grid; }
.footer__grid { display: grid; gap: 28px; padding-block: 40px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__logo { height: 48px; width: auto; margin-bottom: 14px; }
.footer__brand p { margin: 0 0 16px; max-width: 46ch; }
.footer h3 { font-size: 18px; color: var(--gold-2); margin-bottom: 12px; }
.footer__col li { margin-bottom: 7px; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(217, 185, 124, .2); font-size: 13px; color: #a68f80; }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 16px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer__brand { grid-column: auto; } }

/* ---------- Cart drawer ---------- */
.cart {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 110; width: min(94vw, 420px); background: var(--paper);
  transform: translateX(-105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column;
  box-shadow: 20px 0 50px -20px rgba(0, 0, 0, .4);
}
.cart.is-open { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: 24px; color: var(--wine); }
.cart__progress { padding: 12px 16px; font-size: 14px; border-bottom: 1px dashed var(--line); }
.cart__progress:empty { display: none; }
.bar { height: 6px; background: var(--paper-2); border-radius: 6px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--wine-3)); border-radius: 6px; transition: width .4s; }
.cart__items { flex: 1; overflow-y: auto; padding: 4px 16px; }
.cart__empty { text-align: center; color: var(--muted); padding: 48px 0; }
.cart__empty div { font-size: 44px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #ecdfc8; }
.line img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid #f0e5d2; }
.line__name { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line__meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.line .qty { height: 32px; width: 100px; }
.line .qty button { width: 32px; font-size: 17px; }
.line__price { font-weight: 800; color: var(--wine); text-align: left; display: grid; gap: 4px; justify-items: end; }
.line__del { color: var(--muted); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.line__del:hover { color: var(--danger); background: var(--paper-2); }
.line__del svg { width: 17px; height: 17px; }
.cart__foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--card); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; margin-bottom: 4px; }
.cart__total b { font-family: var(--f-head); font-size: 26px; color: var(--wine); }

/* Toast */
.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 20px); z-index: 130; opacity: 0; pointer-events: none;
  background: var(--wine); color: var(--gold-3); padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px);
  display: flex; gap: 12px; align-items: center; white-space: nowrap;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { color: #fff; text-decoration: underline; font-weight: 800; }

/* ---------- Age gate ---------- */
.agegate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(34, 1, 15, .92); backdrop-filter: blur(6px); }
.agegate__card {
  width: 100%; max-width: 440px; background: var(--paper); border-radius: var(--r-lg); padding: 28px 22px; text-align: center;
  position: relative; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6);
}
.agegate__card::before { content: ""; position: absolute; inset: 8px; border: 1.5px double var(--gold); border-radius: 10px; pointer-events: none; }
.agegate__ornament { color: var(--gold); letter-spacing: .4em; font-size: 12px; }
.agegate__card img { height: 52px; width: auto; margin: 10px auto 16px; }
.agegate__badge { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--danger); color: var(--danger); display: grid; place-items: center; font-weight: 900; font-size: 20px; margin: 0 auto 12px; background: #fff; }
.agegate h2 { font-size: 30px; color: var(--wine); font-weight: 900; }
.agegate p { color: var(--muted); margin: 10px 0 20px; }
.agegate__actions { display: grid; gap: 10px; }
.agegate__deny { color: var(--danger) !important; font-weight: 700; }
.agegate small { display: block; margin-top: 16px; font-size: 12px; color: var(--muted); }

/* ---------- Catalog page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); padding: 16px 0 8px; }
.crumbs a:hover { color: var(--wine); }
.catalog__head { display: flex; align-items: center; gap: 14px; margin: 6px 0 14px; }
.catalog__icon { width: 60px; height: 60px; border-radius: var(--r); background: var(--wine); color: var(--gold-2); display: grid; place-items: center; flex: 0 0 auto; }
.catalog__icon svg { width: 40px; height: 40px; }
.catalog__title, .page-title { font-size: 30px; color: var(--wine); font-weight: 900; }
.page-title { margin: 6px 0 18px; }
.catalog__count { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; padding: 10px 0; border-block: 1px dashed var(--line); }
.select select { height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); padding: 0 14px 0 32px; font-weight: 600; font-size: 14px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; }
.toggle__ui { width: 42px; height: 24px; border-radius: 12px; background: var(--line); position: relative; transition: background .2s; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.toggle input:checked + .toggle__ui { background: var(--wine); }
.toggle input:checked + .toggle__ui::after { transform: translateX(-18px); }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--gold); outline-offset: 2px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } .catalog__title, .page-title { font-size: 40px; } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(5, 1fr); gap: 18px; } }
.more { text-align: center; margin-top: 24px; }
.empty { text-align: center; padding: 48px 16px; }
.empty__icon { font-size: 56px; }
.empty h2 { color: var(--wine); font-size: 26px; margin: 8px 0; }
.empty p { color: var(--muted); margin: 0 0 18px; }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 20px; margin-top: 6px; }
.pdp__media { position: relative; }
.pdp__frame { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); aspect-ratio: 1; padding: 24px; position: relative; }
.pdp__frame::after { content: ""; position: absolute; inset: 8px; border: 1px solid var(--gold-3); border-radius: 10px; pointer-events: none; }
.pdp__frame img { width: 100%; height: 100%; object-fit: contain; }
.pdp__cat { color: var(--gold); font-weight: 700; font-size: 14px; }
.pdp__title { font-size: 28px; color: var(--wine); font-weight: 900; margin: 4px 0 12px; }
.pdp__price { display: flex; align-items: baseline; gap: 10px; }
.pdp__price b { font-family: var(--f-head); font-size: 36px; color: var(--wine); font-weight: 900; }
.pdp__price s { color: var(--muted); font-size: 18px; }
.pdp__price em { font-style: normal; background: var(--danger); color: #fff; font-weight: 800; font-size: 13px; padding: 2px 8px; border-radius: 4px; }
.pdp__stock { font-size: 14px; font-weight: 700; color: var(--ok); margin: 6px 0 18px; }
.pdp__stock.is-out { color: var(--danger); }
.pdp__buy { display: flex; gap: 10px; margin-bottom: 10px; }
.pdp__buy .btn { min-height: 52px; }
.pdp__perks { margin: 20px 0; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 10px; font-size: 14.5px; }
.pdp__perks li { display: flex; align-items: center; gap: 10px; }
.pdp__perks svg { width: 22px; height: 22px; color: var(--wine); flex: 0 0 auto; }
.pdp__desc { color: #4b382f; line-height: 1.7; }
.pdp__desc:empty { display: none; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .pdp__media { position: sticky; top: calc(var(--header-h) + 64px); }
  .pdp__title { font-size: 40px; }
}

/* ---------- Checkout ---------- */
.co { display: grid; gap: 20px; }
.co__step { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: 18px 16px 20px; margin: 0 0 16px; min-width: 0; }
.co__step legend { font-family: var(--f-head); font-weight: 700; font-size: 20px; color: var(--wine); display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.co__num { width: 28px; height: 28px; border-radius: 50%; background: var(--wine); color: var(--gold-3); display: grid; place-items: center; font-family: var(--f-body); font-size: 14px; font-weight: 800; }
.seg, .pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay { grid-template-columns: 1fr; }
.seg__opt, .pay__opt { position: relative; cursor: pointer; }
.seg__opt input, .pay__opt input { position: absolute; opacity: 0; }
.seg__opt span, .pay__opt span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 8px 12px;
  border: 1.5px solid var(--line); border-radius: var(--r); font-weight: 700; background: var(--paper); transition: border-color .2s, background .2s;
}
.pay__opt span { justify-content: flex-start; }
.seg__opt svg { width: 22px; height: 22px; }
.seg__opt input:checked + span, .pay__opt input:checked + span { border-color: var(--wine); background: var(--wine-soft); color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }
.seg__opt input:focus-visible + span, .pay__opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.fields, .field-group { display: grid; gap: 12px; }
.field { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  height: 48px; padding: 0 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; font-size: 16px; outline: none; width: 100%;
}
.field textarea { height: auto; padding: 10px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 138, 74, .15); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); background: #fff6f6; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--wine); flex: 0 0 auto; margin-top: 2px; }
.check.is-invalid { color: var(--danger); }
@media (min-width: 600px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
  .field-group { grid-template-columns: 1fr 1.6fr .7fr; }
  .pay { grid-template-columns: repeat(3, 1fr); }
  .pay__opt span { justify-content: center; }
}
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 16px; }
.summary h2 { font-size: 22px; color: var(--wine); margin-bottom: 6px; }
.summary__items { max-height: 320px; overflow-y: auto; }
.summary__rows { display: grid; gap: 6px; margin: 12px 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.summary__rows div { display: flex; justify-content: space-between; }
.summary__total { font-size: 18px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.summary__total b { font-family: var(--f-head); font-size: 26px; color: var(--wine); }
.summary__note { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.summary__note:empty { display: none; }
.summary__secure { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.summary__secure svg { width: 16px; height: 16px; color: var(--ok); }
.co-done { text-align: center; padding: 40px 16px; max-width: 520px; margin: 0 auto; }
.co-done__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.co-done__icon svg { width: 40px; height: 40px; }
.co-done h2 { font-size: 32px; color: var(--wine); }
.co-done p { color: var(--muted); }
@media (min-width: 900px) {
  .co { grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
  .co__side { position: sticky; top: calc(var(--header-h) + 64px); }
}
/* mobile sticky pay bar feel */
@media (max-width: 899px) {
  .page-checkout .summary .btn--lg { position: sticky; bottom: 10px; box-shadow: 0 10px 30px -8px rgba(53, 2, 29, .6); }
}

/* anchors land below the sticky header */
section[id] { scroll-margin-top: calc(var(--header-h) + 60px); }

/* Suez One has a single weight: never fake bold on headings */
h1, h2, h3, [class*="title"], .price b, .pdp__price b, .prow__price b, .pd__price b, .sumrow b { font-synthesis: none; }

/* ---------- Language switcher (decorative) ---------- */
.lang { position: relative; }
.lang summary {
  list-style: none; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 8px; border-radius: 999px;
  color: var(--wine); font-weight: 800; font-size: 13px; cursor: pointer; border: 1px solid var(--line); background: var(--card);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; }
.lang[open] summary { border-color: var(--wine); }
.lang__menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 70; min-width: 150px; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(53, 2, 29, .5);
}
.lang__menu button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 14px; text-align: right; }
.lang__menu button:hover { background: var(--paper-2); }
.lang__menu button.is-active { background: var(--wine); color: var(--gold-3); }
.lang__menu small { font-weight: 800; opacity: .6; font-size: 11px; }
@media (max-width: 380px) { .lang summary span { display: none; } }

/* ---------- Accessibility button (decorative) ---------- */
.a11y {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: #1f4fb4; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); transition: transform .2s;
}
.a11y:hover { transform: scale(1.06); }
.a11y svg { width: 30px; height: 30px; }
