:root {
  --bg: #f6f1e8;
  --bg-deep: #14110f;
  --ink: #1c1714;
  --muted: #6b625a;
  --line: #e4d9c8;
  --cream: #fffaf2;
  --accent: #9b1d2d;
  --accent-hover: #7e1523;
  --gold: #b8955a;
  --ok: #2f6b4f;
  --max: 1180px;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}

.topbar {
  background: var(--bg-deep);
  color: #e8dfd2;
  font-size: 0.78rem;
  text-align: center;
  padding: 8px 14px;
}
.topbar strong { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246,241,232,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  text-transform: uppercase;
  line-height: 1.15;
  white-space: nowrap;
}
.logo span { display: block; font-size: 0.68rem; letter-spacing: 0.22em; color: var(--accent); }
.nav {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 0.88rem; font-weight: 600; color: var(--muted);
}
.nav a:hover, .nav a.active { color: var(--ink); }
.header-actions {
  margin-left: auto;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end;
}
.locale-control select {
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.78rem;
  max-width: 132px;
  color: var(--ink);
}
html[dir="rtl"] .header-actions { margin-left: 0; margin-right: auto; justify-content: flex-start; }
html[dir="rtl"] .hero-inner { text-align: right; }
.search {
  display: flex; align-items: center; gap: 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  min-width: 200px;
}
.search input { border: 0; outline: 0; background: transparent; width: 100%; }

.btn {
  border: 0; border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700; font-size: 0.86rem;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-dark { background: var(--bg-deep); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 12px; font-size: 0.8rem; }

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16,12,10,0.82) 0%, rgba(16,12,10,0.45) 52%, rgba(16,12,10,0.2) 100%),
    url("./assets/hero-spirits.jpg") center/cover no-repeat,
    linear-gradient(160deg, #1a1410 0%, #2a1c16 45%, #120e0c 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,12,10,0.12), rgba(16,12,10,0.45) 70%, rgba(16,12,10,0.8));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 18px 56px;
  width: 100%;
  animation: rise 0.8s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero .brand {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 12ch;
  line-height: 1.05;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.hero .lead {
  max-width: 36ch;
  color: #f3ebe0;
  font-size: 1.05rem;
  margin-bottom: 22px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-row {
  margin-top: 28px;
  display: flex; gap: 18px; flex-wrap: wrap;
  color: #cfc3b4; font-size: 0.85rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 18px;
}
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
}
.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
}
.section .sub { color: var(--muted); max-width: 50ch; margin-top: 6px; }

.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cat-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  min-height: 140px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(28,23,20,0.08); }
.cat-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #16110e;
}
.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-card > div:not(.cat-media):not(.go) { padding: 16px 18px 0; }
.cat-card .go { padding: 0 18px 18px; margin-top: 12px; color: var(--accent); font-weight: 700; font-size: 0.85rem; }
.cat-card h3 { font-family: var(--serif); font-size: 1.2rem; }
.cat-card p { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease;
}
.product-card:hover { transform: translateY(-3px); }
.product-media {
  aspect-ratio: 4/5;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  background: #f3f0ea;
}
.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px 10px 4px;
  transition: transform .35s ease;
}
.product-card:hover .product-thumb { transform: scale(1.03); }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: #1c1714;
  font-size: 0.72rem; font-weight: 800;
  padding: 4px 8px; border-radius: 999px;
}
.product-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-size: 0.98rem; line-height: 1.3; }
.meta { color: var(--muted); font-size: 0.8rem; }
.price-row {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.price { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }
.product-actions { display: flex; gap: 6px; }

.band {
  background: var(--bg-deep);
  color: #efe6d8;
}
.band .section { padding-top: 40px; padding-bottom: 40px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255,255,255,0.03);
}
.step .num {
  font-family: var(--serif); color: var(--gold); font-size: 1.4rem; margin-bottom: 8px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: #cfc3b4; font-size: 0.92rem; }

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 18px 10px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.page-hero p { color: var(--muted); margin-top: 8px; max-width: 56ch; }

.filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 18px;
}
.chip {
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem; font-weight: 650; color: var(--muted);
  cursor: pointer;
}
.chip.active { background: var(--bg-deep); color: #fff; border-color: var(--bg-deep); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.detail-media {
  border-radius: 20px;
  min-height: 420px;
  display: grid; place-items: center;
  overflow: hidden;
  background: #f3f0ea;
  border: 1px solid var(--line);
}
.detail-media .product-thumb {
  width: min(100%, 420px);
  height: auto;
  max-height: 520px;
  object-fit: contain;
  padding: 24px;
}
.detail-copy h1 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 8px 0 10px;
}
.detail-copy .price {
  font-size: 1.8rem; margin: 12px 0;
}
.detail-copy .blurb { color: var(--muted); margin-bottom: 16px; }
.spec-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 14px 0 20px;
}
.spec {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.spec .k { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.spec .v { font-weight: 700; margin-top: 2px; }
.order-note {
  margin-top: 10px; font-size: 0.82rem; color: var(--muted);
}

.content-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 12px;
}
.content-card h2 { font-family: var(--serif); margin-bottom: 8px; }
.content-card p { color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  background: #efe7da;
  padding: 36px 18px;
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
}
.site-footer h4 { color: var(--ink); margin-bottom: 10px; font-family: var(--serif); }
.site-footer a { display: block; margin: 6px 0; }
.site-footer a:hover { color: var(--accent); }
.disclaimer {
  max-width: var(--max);
  margin: 18px auto 0;
  font-size: 0.78rem;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .nav { display: none; }
  .cats, .product-grid, .steps, .footer-inner, .product-detail { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cats, .product-grid, .steps, .footer-inner, .product-detail, .spec-list { grid-template-columns: 1fr; }
  .search { display: none; }
  .hero { min-height: auto; }
}
