/* TOP ANGLER MK-2 — bold DTC redesign.
 * Palette + type scale lifted from the reference brief (dark warm ground,
 * cream type, gold/orange/red accents; Anton display + Inter Tight UI).
 * Scope: ONLY templates/storefront_topangler2*.html load this file.
 * The "fishing" theme (top-angler-mk) uses storefront.css and is untouched. */

:root {
  /* ground + type */
  --bg: #100b06;
  --bg-deep: #080502;
  --cream: #f5e4c7;
  --cream-dim: rgba(245, 228, 199, 0.62);
  --cream-faint: rgba(245, 228, 199, 0.14);
  --panel: #322c23;
  --panel-soft: rgba(50, 44, 35, 0.55);

  /* accents */
  --gold: #be8d3f;
  --orange: #f15726;
  --orange-lt: #ef8f4a;
  --red: #da1f27;

  /* legacy aliases kept so existing markup/JS keeps rendering */
  --accent: var(--orange);
  --accent-hi: var(--orange-lt);
  --accent-lo: #c8451c;
  --ivory: var(--cream);
  --muted: var(--cream-dim);
  --card: rgba(245, 228, 199, 0.04);
  --card-border: rgba(245, 228, 199, 0.14);
  --btn-text: #100b06;
  --success: #7fae4f;

  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter Tight", system-ui, -apple-system, sans-serif;

  --radius-card: 4px;
  --radius-pill: 999px;
  --radius-btn: 999px;
  --container: 1240px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

/* The [hidden] attribute must win over any display rule below (the filter
   hides product cards with card.hidden = true, and .product-card sets
   display:flex, which would otherwise keep them visible). */
body.ta2 [hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.ta2 {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.ta2 img { max-width: 100%; display: block; }
body.ta2 a { color: var(--cream); text-decoration: none; }
body.ta2 a:hover { color: var(--orange-lt); }
body.ta2 ul { list-style: none; margin: 0; padding: 0; }
body.ta2 :focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ===== display type ===== */
.ta2 h1, .ta2 h2, .ta2 h3, .ta2 .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.88;
  margin: 0;
}

.ta2 h1 { font-size: clamp(3rem, 12vw, 8.5rem); }
.ta2 h2 { font-size: clamp(2.4rem, 8vw, 6rem); }
.ta2 h3 { font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.4px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.lede { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--cream-dim); max-width: 60ch; }

/* ===== buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 30px;
  border: 0;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 12.4px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s, color 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary, body.ta2 a.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover, body.ta2 a.btn-primary:hover { background: var(--orange-lt); color: #000; }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px var(--cream-faint);
}
.btn-ghost:hover { background: var(--cream); color: var(--bg); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 11px; }

/* ===== header ===== */
.announce-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 61;
  height: var(--announce-h, 40px);
  background: var(--orange);
  color: #fff;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 100%;
  font-size: 0.85rem;
  text-align: center;
}
.announce-inner a { color: #fff; font-weight: 700; text-decoration: underline; white-space: nowrap; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
body.has-announce .site-header { top: var(--announce-h, 40px); }
body.has-announce .hero { padding-top: calc(140px + var(--announce-h, 40px)); }
@media (max-width: 720px) {
  body.has-announce .hero { padding-top: calc(126px + var(--announce-h, 40px)); }
}
.site-header.is-stuck {
  background: rgba(16, 11, 6, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--cream-faint);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  padding: 20px 0;
  transition: padding 0.3s var(--ease);
}
.site-header.is-stuck .header-inner { padding: 12px 0; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a {
  font-size: 12.4px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.main-nav a:hover { color: var(--cream); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn, .cart-btn, .nav-toggle {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--cream-faint);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 12.4px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
}
.icon-btn:hover, .cart-btn:hover, .nav-toggle:hover { background: var(--cream); color: var(--bg); }
/* cart: icon + count badge, no label — always visible, phone included */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  box-shadow: none;
}
.cart-btn:hover { background: var(--orange-lt); color: #fff; }
.cart-btn svg { display: block; }
.cart-btn--pulse { animation: cartPulse 0.4s var(--ease); }
@keyframes cartPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.22); }
  100% { transform: scale(1); }
}
.fly-to-cart {
  position: fixed;
  z-index: 999;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(241, 87, 38, 0.25);
  pointer-events: none;
  opacity: 1;
  transition: transform 0.55s cubic-bezier(0.3, 0, 0.2, 1), opacity 0.25s ease 0.4s;
  will-change: transform, opacity;
}
.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 0 0 2px var(--bg);
}
.site-header.is-stuck .cart-count { box-shadow: 0 0 0 2px rgba(16, 11, 6, 0.92); }

.nav-toggle { display: none; }

/* ===== hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 60px;
  overflow: hidden;
}
.hero::after {
  /* subtle grain so the flat ground has depth */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(rgba(245, 228, 199, 0.25) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}
.hero-inner { position: relative; z-index: 2; }

.hero-bottle {
  position: absolute;
  z-index: 1;
  right: max(2%, calc((100% - var(--container)) / 2 + 20px));
  top: 50%;
  height: 78%;
  max-height: 640px;
  width: auto;
  transform: translate(0, -50%) rotate(8deg);
  transition: transform 0.25s ease-out;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
  pointer-events: none;
  user-select: none;
}

.hero h1 { max-width: 14ch; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: block;
  transform: translateY(105%);
  animation: heroRise 0.9s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.2s; }
@keyframes heroRise { to { transform: translateY(0); } }

.hero-sub { margin: 26px 0 32px; max-width: 46ch; color: var(--cream-dim); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--cream-faint);
}
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold); }
.hero-stats span { font-size: 12.4px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dim); }

/* ===== marquee ===== */
.marquee {
  --speed: 34s;
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  border-block: 1px solid var(--cream-faint);
  padding: 16px 0;
  background: var(--bg-deep);
}
.marquee__track {
  display: flex;
  flex-shrink: 0;
  gap: 34px;
  padding-right: 34px;
  min-width: 100%;
  animation: marquee var(--speed) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--cream);
}
.marquee span.alt { color: transparent; -webkit-text-stroke: 1px var(--gold); }
@keyframes marquee { to { transform: translateX(-100%); } }

.marquee--reviews { border-top: 0; background: transparent; }
.marquee--reviews .marquee__track { --speed: 46s; gap: 18px; padding-right: 18px; }

/* ===== sections ===== */
.section { padding: clamp(72px, 11vw, 150px) 0; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section-head { max-width: 72ch; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--cream-dim); margin: 0; }

/* manifesto — word by word */
.manifesto p {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.2vw, 4.2rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 20ch;
}
.manifesto .w {
  display: inline-block;
  opacity: 0.14;
  transition: opacity 0.4s var(--ease), color 0.4s var(--ease);
}
.manifesto .w.on { opacity: 1; }
.manifesto .w.hot { color: var(--orange); }

/* claim tiles */
.claims {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--cream-faint);
  border-block: 1px solid var(--cream-faint);
}
.claim { background: var(--bg); padding: clamp(28px, 3.4vw, 46px) clamp(20px, 2.4vw, 34px); }
.claim h3 { margin-bottom: 12px; color: var(--cream); }
.claim p { margin: 0; font-size: 0.95rem; color: var(--cream-dim); }

/* ===== product cards ===== */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(268px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }

.products-grid, .masters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 18px;
  background: var(--panel-soft);
  border: 1px solid var(--cream-faint);
  border-radius: var(--radius-card);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.product-card:hover { border-color: var(--gold); transform: translateY(-4px); }

.p-visual {
  position: relative;
  display: block; /* it is an <a> in card contexts — keep it a block */
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-deep);
  margin-bottom: 6px;
}
/* clickable product image */
.p-visual--link { cursor: pointer; }
.p-visual--link img { transition: transform 0.35s var(--ease); }
.p-visual--link:hover img { transform: scale(1.04); }
/* Labelled placeholder for a product with NO usable photo: reads as a
   deliberate slot rather than an empty box. Hidden as soon as an image loads
   (`.has-photo`), so it never shows through a transparent product shot. */
.p-visual.has-photo::before { content: none; }
.p-visual::before {
  content: "ФОТО " attr(data-slot);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(190, 141, 63, 0.09) 0 10px, transparent 10px 20px),
    var(--panel);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* Product shots vary a lot in shape: wafter jars are square, while gel/booster/
   spray bottles are very tall and narrow (~1:5). "cover" would crop the flavour
   label off those bottles, so images are CONTAINED inside the square frame and
   padded — the whole label always stays readable. */
.p-visual img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center !important;
  padding: 10px;
}
/* an image that fails to load is hidden so the label shows through */
.p-visual img.is-broken { display: none; }

/* ===== product detail page ===== */
/* The header is fixed, so the detail page's own content needs to clear it —
   without this the breadcrumb renders underneath the logo. */
.detail-page { padding-top: 116px; }

.crumbs {
  margin: 0 0 24px;
  font-size: 12.4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.crumbs a { color: var(--cream-dim); }
.crumbs a:hover { color: var(--orange-lt); }

/* image left, buy box right */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
  padding-bottom: clamp(48px, 6vw, 80px);
}

/* product detail page: same slot, bigger, with room for a tall bottle */
.p-visual--lg { aspect-ratio: 4 / 5; width: 100%; max-width: 560px; }
.p-visual--lg img { padding: 26px; }
.p-visual--lg::before { font-size: 12px; }

/* gallery: sliding track + arrows + dots, thumbnails below */
.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}
.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-slide img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center !important;
  padding: 26px;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cream-faint);
  border-radius: 50%;
  background: rgba(20, 16, 12, 0.55);
  color: var(--cream);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.gallery-arrow:hover { background: var(--orange); border-color: var(--orange); color: #000; }
.gallery-arrow--prev { left: 14px; }
.gallery-arrow--next { right: 14px; }
.gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.gallery-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(245, 228, 199, 0.35);
  cursor: pointer;
  transition: background-color 0.18s, transform 0.18s;
}
.gallery-dot:hover { background: rgba(245, 228, 199, 0.6); }
.gallery-dot.active { background: var(--orange); transform: scale(1.25); }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
  margin-top: 12px;
  max-width: 560px;
}
.gallery-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid var(--cream-faint);
  border-radius: 3px;
  background: var(--panel-soft);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.18s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.gallery-thumb:hover { border-color: var(--cream-dim); }
.gallery-thumb.active { border-color: var(--orange); }

.buybox { min-width: 0; }
.buybox h1 {
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 0.95;
  margin: 10px 0 0;
}
.buybox .p-price { font-size: clamp(2.2rem, 4vw, 3rem); margin: 18px 0; }

.qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 22px 0 28px;
}
.qty-row label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.qty-row input {
  width: 92px;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--cream-faint);
  border-radius: var(--radius-pill);
  background: var(--panel-soft);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: center;
}
.qty-row input:focus { border-color: var(--orange); outline: none; }
.qty-row .product-add { flex: 1 1 200px; margin-top: 0; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 0.93rem;
}
.spec-table td {
  padding: 13px 0;
  border-bottom: 1px solid var(--cream-faint);
  vertical-align: top;
}
.spec-table td:first-child {
  width: 42%;
  color: var(--cream-dim);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.spec-table tr:last-child td { border-bottom: 0; }

@media (max-width: 860px) {
  .detail-page { padding-top: 96px; }
  .detail-grid { grid-template-columns: 1fr; gap: 26px; }
  .p-visual--lg, .gallery-thumbs { max-width: none; }
}
.p-emoji {
  position: absolute;
  inset: auto auto 10px 10px;
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
.p-badge {
  position: absolute;
  inset: 10px 10px auto auto;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.p-badge--seal { background: var(--gold); color: var(--bg); }

.p-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.product-card h3 a { color: var(--cream); }
.product-card h3 a:hover { color: var(--orange-lt); }
.p-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--cream-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-sku { display: none; }
.p-stock {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.p-stock .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.p-stock--low .dot { background: var(--orange); }
.p-price {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--cream);
}
/* price sits just above the button, both anchored to the card's bottom */
.product-card .p-price { margin-top: auto; }
.product-card .p-price + .product-add { margin-top: 10px; }
.p-price .cur { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; color: var(--cream-dim); }

/* three-state add button — margin-top:auto pins it to the bottom of the card
   so every button in a row lines up regardless of title/description length */
.product-add {
  position: relative;
  margin-top: auto;
  min-height: 46px;
  padding: 13px 18px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.18s var(--ease);
}
.product-add:hover:not(:disabled) { background: var(--orange-lt); color: #000; transform: translateY(-2px); }
.product-add.is-busy { background: var(--gold); color: var(--bg); }
.product-add.added { background: var(--success); color: #0d1a06; }
.product-add:disabled { background: var(--panel); color: var(--cream-dim); cursor: not-allowed; }

/* ===== bundle builder ===== */
.bundle {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  background: var(--panel-soft);
  border: 1px solid var(--gold);
  border-radius: var(--radius-card);
}
.bundle-list { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.bundle-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(8, 5, 2, 0.5);
  border: 1px solid var(--cream-faint);
  border-radius: 3px;
  font-size: 0.95rem;
}
.bundle-list li span:last-child { color: var(--gold); font-weight: 600; white-space: nowrap; }
.bundle-price { text-align: center; }
.bundle-price .old { font-size: 0.9rem; color: var(--cream-dim); text-decoration: line-through; }
.bundle-price .new {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 1;
  color: var(--cream);
  margin: 6px 0;
}
.bundle-price .new .cur { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--cream-dim); }
.bundle-price .save {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== categories ===== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  background: var(--panel-soft);
  border: 1px solid var(--cream-faint);
  border-radius: var(--radius-card);
  color: var(--cream);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.cat-card:hover { background: var(--orange); border-color: var(--orange); color: #000; transform: translateY(-4px); }
.cat-card:hover small { color: rgba(0, 0, 0, 0.65); }
.cat-emoji { font-size: 1.9rem; }
.cat-card b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.cat-card small { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dim); }

/* ===== reasons (01/02/03) ===== */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--cream-faint); }
.reason { background: var(--bg); padding: clamp(26px, 3vw, 44px); }
.reason .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.9;
  color: var(--gold);
  margin-bottom: 16px;
}
.reason h3 { margin-bottom: 12px; }
.reason p { margin: 0; color: var(--cream-dim); font-size: 0.95rem; }

/* ===== reviews ===== */
.review-card {
  flex-shrink: 0;
  width: 310px;
  padding: 24px;
  background: var(--panel-soft);
  border: 1px solid var(--cream-faint);
  border-radius: var(--radius-card);
  white-space: normal;
}
.review-card .handle {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.review-card p { margin: 0; font-size: 0.95rem; color: var(--cream-dim); }
.placeholder-note {
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== explorer ===== */
.explorer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 30px; }
.search-wrap { position: relative; flex: 1 1 260px; }
.search-wrap .s-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--cream-dim); }
.search-wrap input {
  width: 100%;
  min-height: 48px;
  padding: 13px 18px 13px 40px;
  border: 1px solid var(--cream-faint);
  border-radius: var(--radius-pill);
  background: var(--panel-soft);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.search-wrap input::placeholder { color: var(--cream-dim); }
.search-wrap input:focus { border-color: var(--orange); outline: none; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid var(--cream-faint);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--cream-dim);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.chip:hover { color: var(--cream); border-color: var(--cream-dim); }
.chip.active { background: var(--cream); border-color: var(--cream); color: var(--bg); }
.result-count { margin: 0; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream-dim); }
.filter-empty { padding: 60px 20px; text-align: center; color: var(--cream-dim); }

/* ===== tip / trust ===== */
.tip {
  padding: clamp(28px, 4vw, 52px);
  background: var(--panel-soft);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-card);
}
.tip p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 10px 0 14px;
}
.tip small { color: var(--gold); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.trust-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  background: var(--panel-soft);
  border: 1px solid var(--cream-faint);
  border-radius: var(--radius-card);
}
.t-icon { font-size: 1.7rem; }
.trust-card b { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; }
.trust-card small { color: var(--cream-dim); font-size: 0.9rem; }

/* ===== newsletter + final CTA ===== */
.cta-band { text-align: center; padding: clamp(60px, 9vw, 130px) 0; border-top: 1px solid var(--cream-faint); }
.cta-band h2 { margin-bottom: 20px; }
.cta-band p { margin: 0 auto 30px; max-width: 52ch; color: var(--cream-dim); }
.news-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 520px; margin-inline: auto; }
.news-form input {
  flex: 1 1 240px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--cream-faint);
  border-radius: var(--radius-pill);
  background: var(--panel-soft);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.news-form input::placeholder { color: var(--cream-dim); }
.news-form input:focus { border-color: var(--orange); outline: none; }

/* ===== footer ===== */
.site-footer { padding: clamp(56px, 7vw, 96px) 0 32px; background: var(--bg-deep); border-top: 1px solid var(--cream-faint); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; }
.site-footer h4 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.site-footer p, .site-footer li { color: var(--cream-dim); font-size: 0.93rem; }
.site-footer ul { display: flex; flex-direction: column; gap: 9px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--cream-faint);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ===== cart drawer ===== */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 5, 2, 0.7);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.cart-backdrop.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 90;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-left: 1px solid var(--cream-faint);
  transform: translateX(100%);
  transition: transform 0.36s var(--ease);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--cream-faint);
}
.cart-drawer__head h2 { font-size: 1.7rem; }
.cart-drawer__close {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--cream);
  font-size: 1.1rem;
  cursor: pointer;
}
.cart-drawer__close:hover { background: var(--panel); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-drawer__foot { padding: 20px 24px; border-top: 1px solid var(--cream-faint); }

.cart-empty { text-align: center; padding: 60px 20px; color: var(--cream-dim); }
.cart-empty .c-icon { font-size: 2.2rem; }
.cart-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-faint);
}
.cart-item h4 { margin: 0 0 4px; font-size: 0.95rem; font-weight: 600; }
.cart-item .c-link { color: var(--cream); }
.cart-item .c-link:hover { color: var(--orange-lt); text-decoration: underline; }
/* thumbnail links to the product page */
.c-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid var(--cream-faint);
  font-size: 1.4rem;
  transition: border-color 0.18s;
}
.c-emoji:hover { border-color: var(--gold); }
.c-emoji img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.c-price { font-size: 0.85rem; color: var(--gold); }
.c-qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.c-qty button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--cream-faint);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  font-size: 0.9rem;
}
.c-qty button:hover { background: var(--cream); color: var(--bg); }
.c-remove {
  border: 0;
  background: transparent;
  color: var(--cream-dim);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px 6px;
}
.c-remove:hover { color: var(--red); }

.tot-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.93rem; color: var(--cream-dim); }
.tot-row.grand {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--cream-faint);
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--cream);
}
.tot-row.grand .cur { font-family: var(--font-body); font-size: 0.85rem; color: var(--cream-dim); }

/* ===== toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  transform: translate(-50%, 20px);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--bg);
  font-size: 12.4px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ===== reveal ===== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }

/* ===== responsive ===== */
@media (max-width: 1024px) {
  .claims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons { grid-template-columns: 1fr; }
  .bundle { grid-template-columns: 1fr; }
  .hero-bottle { right: 2%; height: 62%; opacity: 0.55; }
}

@media (max-width: 860px) {
  .hero {
    /* dark vignette over the photo so it reads as background texture
       behind the text, not a competing foreground image */
    background: radial-gradient(ellipse 70% 55% at 68% 42%, rgba(16, 11, 6, 0.55), var(--bg) 72%);
  }
  .hero-bottle {
    left: 50%;
    right: auto;
    top: 40%;
    height: 80vw;
    max-height: 360px;
    width: auto;
    opacity: 0.1;
    transform: translate(-38%, -50%) rotate(6deg);
    z-index: 0;
    filter: none;
  }
  .hero-inner { position: relative; z-index: 2; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 88px 24px 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--cream-faint);
    transform: translateY(-100%);
    transition: transform 0.35s var(--ease);
    z-index: -1;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--cream-faint); font-size: 1rem; }

  /* keep the bar on ONE line: the brand never wraps and the cart button
     collapses to a count so brand + actions fit inside 375px */
  .header-inner { gap: 12px; }
  .brand span { white-space: nowrap; font-size: 1.05rem; }
  .brand img { width: 28px; height: 28px; }
  .header-actions { gap: 6px; margin-left: auto; }
  .icon-btn, .nav-toggle { padding: 10px 13px; }
  /* the cart stays a full, tappable circle on phones */
  .cart-btn { width: 44px; min-width: 44px; height: 44px; }

  .hero { padding-top: 126px; min-height: auto; }
  .hero-stats { gap: 24px; }
  .products-grid, .masters-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .product-card { padding: 10px 10px 14px; }
  .p-price { font-size: 1.5rem; }
  .p-desc { display: none; }
}

@media (max-width: 520px) {
  body.ta2 { font-size: 16px; }
  .claims { grid-template-columns: 1fr; }
  .review-card { width: 260px; }
  .footer-bottom { flex-direction: column; }
}

/* ===== reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.ta2 *, body.ta2 *::before, body.ta2 *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee__track { animation: none; transform: none; }
  .hero h1 .line > span { transform: none; }
  .reveal-on-scroll { opacity: 1; transform: none; }
  .manifesto .w { opacity: 1; }
}

/* ===== checkout ===== */
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-bottom: clamp(48px, 6vw, 90px);
}

.checkout-form fieldset {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}
.checkout-form legend {
  padding: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 14px 18px;
  border: 1px solid var(--cream-faint);
  border-radius: 4px;
  background: var(--panel-soft);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-transform: none;
}
.checkout-form textarea { min-height: 92px; resize: vertical; }
.checkout-form input::placeholder,
.checkout-form textarea::placeholder { color: rgba(245, 228, 199, 0.35); }
.checkout-form input:focus,
.checkout-form textarea:focus { border-color: var(--orange); outline: none; }
.form-note {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--cream-dim);
}
.form-error {
  margin: 0 0 22px;
  padding: 14px 18px;
  border-left: 3px solid var(--red);
  border-radius: 3px;
  background: rgba(218, 31, 39, 0.12);
  color: var(--cream);
  font-size: 0.95rem;
}
.checkout-form input.invalid,
.checkout-form textarea.invalid {
  border-color: var(--red);
  background: rgba(218, 31, 39, 0.08);
}
.checkout-submit { width: 100%; }

.checkout-summary {
  position: sticky;
  top: 100px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--panel-soft);
  border: 1px solid var(--cream-faint);
  border-radius: var(--radius-card);
}
.checkout-summary h2 { font-size: 1.6rem; margin-bottom: 18px; }
.sum-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.sum-items li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cream-faint);
}
.sum-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid var(--cream-faint);
  transition: border-color 0.18s;
}
.sum-thumb:hover { border-color: var(--gold); }
.sum-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.sum-name { display: block; font-size: 0.93rem; font-weight: 600; color: var(--cream); }
.sum-name:hover { color: var(--orange-lt); }
.sum-qty { font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream-dim); }
.sum-line { font-size: 0.93rem; font-weight: 600; color: var(--gold); white-space: nowrap; }
.sum-items .c-price { display: block; font-size: 0.85rem; color: var(--gold); margin-top: 2px; }
.sum-items .c-qty { margin-top: 8px; }
.sum-item-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sum-item-end .c-remove { padding: 2px; }
.sum-back {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.sum-back:hover { color: var(--orange-lt); }

.coupon-box { margin-bottom: 18px; }
.coupon-form { display: flex; align-items: center; gap: 8px; }
.coupon-form input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--cream-faint);
  border-radius: 3px;
  color: var(--cream);
  font-size: 0.9rem;
  text-transform: uppercase;
}
.coupon-form input:focus { outline: none; border-color: var(--gold); }
.coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid var(--gold);
  border-radius: 3px;
  font-size: 0.9rem;
  color: var(--cream);
}
.coupon-box .form-error { margin: 10px 0 0; padding: 10px 14px; font-size: 0.85rem; }

.order-done, .empty-cart { padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 8vw, 110px); }

@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
}

/* ===== 404 ===== */
.error-page {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 140px 0 90px;
  text-align: center;
}
.error-page .container { display: flex; flex-direction: column; align-items: center; }
.error-code {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: clamp(6rem, 26vw, 18rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  letter-spacing: -0.02em;
}
.error-page h1 { margin-bottom: 22px; }
.error-page .lede { margin: 0 auto; }
.error-page .hero-actions { justify-content: center; }

/* ===== language switch ===== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
}
.lang-switch a { color: var(--cream-dim); padding: 6px 2px; }
.lang-switch a:hover { color: var(--cream); }
.lang-switch a.active { color: var(--gold); }
@media (max-width: 520px) {
  .lang-switch { font-size: 11px; gap: 4px; padding: 0; }
}
