@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07060a;
  --bg-2: #0d0b10;
  --surface: #14110d;
  --surface-2: #1b1710;
  --line: rgba(212, 166, 52, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #d4a634;
  --gold-hi: #f3d27a;
  --gold-lo: #9a7418;
  --text: #f5f0e4;
  --muted: #b9ae96;
  --danger: #ff8a7a;
  --ok: #8fe0a6;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --gold-grad: linear-gradient(135deg, #f7dc8d 0%, #d4a634 48%, #9a7418 100%);
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", Tahoma, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold-hi);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.35;
  font-weight: 800;
}
p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -80px;
  z-index: 100;
  background: var(--gold);
  color: #000;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.55em 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.btn-gold {
  background: var(--gold-grad);
  color: #1a1203;
  box-shadow: 0 8px 28px -8px rgba(212, 166, 52, 0.65);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(243, 210, 122, 0.7);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--gold-hi);
  background: rgba(212, 166, 52, 0.06);
}
.btn-ghost:hover {
  background: rgba(212, 166, 52, 0.14);
}
.btn-sm {
  min-height: 40px;
  padding: 0.3em 1.1em;
  font-size: 0.92rem;
}
.btn-danger {
  border-color: rgba(255, 138, 122, 0.4);
  color: var(--danger);
  background: transparent;
}
.btn svg {
  transition: transform 0.2s;
}
.btn:hover svg.arrow {
  transform: translateX(-4px);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px var(--gutter) 0;
  margin-bottom: calc(var(--header-h) * -1); /* the page's first section runs underneath the floating pill */
  pointer-events: none;
}
.header-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1180px;
  min-height: 60px;
  margin-inline: auto;
  padding: 6px 14px 6px 18px;
  border: 1px solid rgba(212, 166, 52, 0.3);
  border-radius: 999px;
  background: rgba(14, 12, 9, 0.58);
  box-shadow: 0 14px 44px -18px #000, inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  object-fit: contain;
  width: 38px;
  height: 38px;
}
.brand span {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  flex: 1;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  display: block;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.97rem;
  transition: color 0.2s, background-color 0.2s;
}
.main-nav a:hover {
  color: var(--gold-hi);
  background: rgba(212, 166, 52, 0.08);
  text-decoration: none;
}
.main-nav a[aria-current="page"] {
  color: var(--gold-hi);
  background: rgba(212, 166, 52, 0.14);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(212, 166, 52, 0.05);
  color: var(--gold-hi);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}
.icon-btn:hover {
  background: rgba(212, 166, 52, 0.14);
  text-decoration: none;
}
.badge-count {
  position: absolute;
  top: -6px;
  inset-inline-start: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #1a1203;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
}
.menu-toggle {
  display: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  z-index: 1; /* the bee may fly in from below the section; keep it above the stats block */
  overflow-x: clip;
  background: radial-gradient(60% 70% at 25% 45%, rgba(212, 166, 52, 0.17), transparent 70%), var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/img/hex-pattern.svg") center / 56px 100px;
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(16px, 4vw, 56px);
  min-height: min(780px, 100svh);
  padding-top: calc(clamp(24px, 5vw, 56px) + var(--header-h));
  padding-bottom: clamp(36px, 6vw, 72px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 4px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(212, 166, 52, 0.08);
  color: var(--gold-hi);
  font-size: 0.9rem;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.hero h1 {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 0.4em;
  text-wrap: balance; /* no lone word on the last line, where the bee lands */
}
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 34em;
  margin-bottom: 22px;
  color: #9a917e; /* dim while the headline types; bolder and brighter once it has finished */
  -webkit-text-stroke: 0 currentColor;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.18rem);
  transition: color 1s ease, -webkit-text-stroke-width 1s ease;
}
.hero-copy.is-typed .hero-sub,
.hero-copy.no-typing .hero-sub {
  color: #fbf6e8;
  -webkit-text-stroke-width: 0.55px; /* thickens the strokes without changing the line breaks */
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  transition: transform 1.1s cubic-bezier(0.22, 0.8, 0.25, 1); /* slides under the bee once it has landed */
}

/* ---- typing headline, its cursor and the bee ---- */
.hero-copy {
  position: relative;
}
.hero h1[data-typing] {
  clip-path: inset(0 0 100% 0); /* hidden until the script starts typing; the animation below is a safety net */
  animation: type-failsafe 0s linear 6s forwards;
}
@keyframes type-failsafe {
  to {
    clip-path: none;
  }
}
.type-cursor {
  display: none;
  position: absolute;
  z-index: 3;
  width: 3px;
  height: 1.05em;
  border-radius: 2px;
  background: var(--gold-hi);
  box-shadow: 0 0 10px var(--gold);
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  animation: cursor-blink 0.7s steps(2, start) infinite;
}
.type-cursor.on {
  display: block;
}
@keyframes cursor-blink {
  to {
    opacity: 0;
  }
}

.honey-text {
  background: linear-gradient(135deg, #ffd36a 0%, #ffae1f 42%, #f08a00 78%, #ffcf5a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  filter: drop-shadow(0 0 8px rgba(255, 170, 30, 0.3));
}

.bee {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  width: 96px;
  height: 74px;
  margin: -37px 0 0 -48px;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}
.bee.is-on {
  opacity: 1;
}
.bee svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.45));
  overflow: visible;
}
.bee-wing-back {
  transform-origin: 78px 52px;
}
.bee-wing-front {
  transform-origin: 84px 52px;
}
.bee-wing {
  animation: bee-flap 0.07s ease-in-out infinite alternate;
}
.bee-wing-front {
  animation-delay: -0.03s;
}
@keyframes bee-flap {
  from {
    transform: rotate(-16deg) scaleY(1);
  }
  to {
    transform: rotate(16deg) scaleY(0.7);
  }
}
.bee.is-landed .bee-wing {
  animation: none;
  transform: rotate(-3deg) scaleY(0.92);
  opacity: 0.88;
}
.bee.is-landed .bee-antennae {
  transform-origin: 117px 50px;
  animation: bee-antenna 2.6s ease-in-out infinite alternate;
}
@keyframes bee-antenna {
  to {
    transform: rotate(5deg);
  }
}

.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  max-height: 640px;
  touch-action: pan-y;
}
[data-hero-canvas],
.hero-poster {
  position: absolute;
  inset: 0;
}
[data-hero-canvas] canvas {
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
}
.hero-poster {
  display: grid;
  place-items: center;
  transition: opacity 0.6s;
}
.hero-poster svg {
  width: 88%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(212, 166, 52, 0.25));
}
.hero-stage.is-3d-ready .hero-poster {
  opacity: 0;
  pointer-events: none;
}
/* ---------- stats ---------- */
.stats {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
}
.stats-inner {
  position: relative;
  padding-bottom: clamp(52px, 5vw, 64px);
}
.stats-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-top: clamp(36px, 5vw, 64px);
}
.stats-headline {
  margin: 0;
  font-size: clamp(1.3rem, 0.5rem + 1.5vw, 2.1rem);
  font-weight: 900;
  line-height: 1.5;
  white-space: nowrap; /* one line on desktop */
}
.stats-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.stat {
  padding: clamp(14px, 2vw, 24px) clamp(8px, 1.5vw, 16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(212, 166, 52, 0.1), rgba(212, 166, 52, 0.02));
  text-align: center;
}
.stat-value {
  display: block;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.7rem);
  font-weight: 900;
  line-height: 1.3;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  color: var(--muted);
  font-size: clamp(0.8rem, 0.75rem + 0.3vw, 0.95rem);
  line-height: 1.6;
}
/* bottom-left corner of the section */
.stats-foot {
  position: absolute;
  inset-inline-end: 0; /* flush with the left edge of the container */
  bottom: 16px;
  margin: 0;
  color: var(--gold-hi);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.stats-foot::before,
.stats-foot::after {
  content: "◆"; /* a dot on both sides */
  font-size: 0.6em;
  vertical-align: middle;
  color: var(--gold-lo);
}
.stats-foot::before {
  margin-inline-end: 10px;
}
.stats-foot::after {
  margin-inline-start: 10px;
}

/* ---------- ad banner ---------- */
.ad-banner {
  background: var(--gold-grad);
  color: #1a1203;
}
.ad-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  min-height: 96px;
  padding-block: 18px;
}
.ad-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: clamp(1.02rem, 0.92rem + 0.6vw, 1.4rem);
  font-weight: 800;
  line-height: 1.6;
}
.ad-banner .btn {
  background: #0b0904;
  color: var(--gold-hi);
}
.ad-banner .btn:hover {
  background: #000;
}

/* ---------- split: FAQ + images ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--bg);
}
.split-faq {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(40px, 6vw, 96px) clamp(var(--gutter), 5vw, 72px);
  padding-inline-start: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  background:
    radial-gradient(60% 45% at 100% 0%, rgba(212, 166, 52, 0.2), transparent 72%),
    radial-gradient(55% 45% at 0% 100%, rgba(255, 150, 20, 0.12), transparent 70%),
    linear-gradient(180deg, #0b0910 0%, #07060a 100%);
}
/* honeycomb that fades out away from the top corner */
.split-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/img/hex-pattern.svg") top right / 84px 150px;
  opacity: 0.9;
  mask-image: radial-gradient(75% 65% at 100% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(75% 65% at 100% 0%, #000 0%, transparent 75%);
}
/* a big translucent hex peeking in from the lower-left corner */
.split-faq::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(200px, 28vw, 380px);
  aspect-ratio: 0.866;
  left: clamp(-150px, -9vw, -70px);
  bottom: clamp(-190px, -12vw, -80px);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(160deg, rgba(247, 220, 141, 0.16), rgba(212, 166, 52, 0.05) 55%, transparent 85%);
  transform: rotate(8deg);
}
.split-media {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 20px);
  align-items: center;
  padding: clamp(32px, 5vw, 72px) clamp(var(--gutter), 4vw, 64px);
  padding-inline-end: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  background: radial-gradient(70% 60% at 50% 50%, rgba(212, 166, 52, 0.14), transparent 75%), var(--bg-2);
  border-inline-start: 1px solid var(--line);
}
.media-card {
  margin: 0;
  animation: floaty 7s ease-in-out infinite;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 30px 60px -30px #000;
}
.media-card:nth-child(2) {
  translate: 0 clamp(16px, 4vw, 48px);
  animation-duration: 8.5s;
  animation-delay: -3s;
}
.media-card:nth-child(1) {
  translate: 0 calc(-1 * clamp(8px, 2vw, 24px));
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-ph {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  background: url("/img/hex-pattern.svg") center / 56px 100px, linear-gradient(160deg, var(--surface-2), var(--surface));
}
.media-ph svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  color: var(--gold);
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
}
.section-title {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 24px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-kicker::before {
  content: "";
  width: 12px;
  height: 14px;
  background: var(--gold-grad);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.split-faq .section-title {
  position: relative;
  padding-bottom: 16px;
}
.split-faq .section-title::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-hi), var(--gold-lo));
}

.faq-list {
  display: grid;
  gap: 12px;
  counter-reset: faq;
}
.faq-item {
  position: relative;
  counter-increment: faq;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(27, 23, 16, 0.78), rgba(15, 12, 9, 0.78));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 30px -22px #000;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.faq-item::before {
  /* gold accent bar on the start edge, grows when open */
  content: "";
  position: absolute;
  inset-block: 18px;
  inset-inline-start: -1px;
  width: 3px;
  border-radius: 3px;
  background: var(--gold-grad);
  opacity: 0;
  transform: scaleY(0.3);
  transition: opacity 0.3s, transform 0.4s;
}
.faq-item:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}
.faq-item[open]:not(.is-closing) {
  border-color: var(--line);
  background: linear-gradient(160deg, rgba(212, 166, 52, 0.16), rgba(20, 16, 10, 0.88) 55%);
  box-shadow: 0 24px 44px -26px rgba(212, 166, 52, 0.45);
}
.faq-item[open]:not(.is-closing)::before {
  opacity: 1;
  transform: none;
}
.faq-item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::before {
  content: counter(faq, persian);
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: rgba(212, 166, 52, 0.18);
  color: var(--gold-hi);
  font-size: 0.85rem;
  font-weight: 800;
  transition: background 0.3s, color 0.3s;
}
.faq-item[open]:not(.is-closing) summary::before {
  background: var(--gold-grad);
  color: #1a1203;
}
.faq-item summary::after {
  content: "";
  width: 11px;
  height: 11px;
  border-inline-end: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.25s;
}
.faq-item[open]:not(.is-closing) summary::after {
  transform: rotate(-135deg);
}
.faq-answer {
  padding: 0 18px 20px;
  padding-inline-start: 66px;
  color: var(--muted);
}
.faq-answer p {
  margin: 0;
}

/* ---------- inner pages ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: calc(clamp(40px, 7vw, 88px) + var(--header-h) - 24px) clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(50% 120% at 50% 0%, rgba(212, 166, 52, 0.16), transparent 70%), var(--bg);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/img/hex-pattern.svg") center / 56px 100px;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}
.page-hero h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 900;
  margin-bottom: 0.3em;
}
.page-hero p {
  max-width: 44em;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.page-section {
  padding-block: clamp(32px, 5vw, 64px);
}
.narrow {
  max-width: 760px;
  margin-inline: auto;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover {
  border-color: var(--line);
  transform: translateY(-4px);
}
.card h2,
.card h3 {
  font-size: 1.2rem;
  margin: 0;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: rgba(212, 166, 52, 0.12);
  border: 1px solid var(--line);
  color: var(--gold-hi);
}
.card-icon .icon {
  width: 26px;
  height: 26px;
}
.card-tag {
  align-self: flex-start;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(212, 166, 52, 0.14);
  color: var(--gold-hi);
  font-size: 0.8rem;
  font-weight: 700;
}
.card-badge {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #1a1203;
  font-size: 0.78rem;
  font-weight: 800;
}
.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: auto;
  padding-top: 14px;
}
.price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold-hi);
}
.meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.9rem;
}
.card form {
  margin-top: 12px;
}
.card .btn {
  width: 100%;
}

/* ---------- forms ---------- */
.form-card {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.field label {
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s ease, transform 0.25s ease;
}
/* The label of the field being pointed at / typed in warms up and nudges inwards a little. */
.field:hover > label,
.field:focus-within > label {
  color: var(--gold-hi);
}
.field:focus-within > label {
  transform: translateX(-3px);
}

/*
  Inputs, text areas and selects: on hover a honey line starts to fill from the middle of the bottom edge and a faint
  glow appears; on focus the line runs the full width, the border turns gold and a soft ring breathes in.
  --ring is the colour in use (gold; red when invalid; green when valid), so one set of rules serves every state.
*/
.input,
.textarea,
.select {
  --ring: 212, 166, 52;
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(var(--ring), 0), rgb(var(--ring)) 18%, #ffe39a 50%, rgb(var(--ring)) 82%, rgba(var(--ring), 0)) no-repeat 50% 100% / 0% 2px,
    linear-gradient(180deg, #0c0a08, #090807);
  color: var(--text);
  font: inherit;
  transition:
    border-color 0.28s ease,
    box-shadow 0.35s ease,
    background-size 0.45s cubic-bezier(0.22, 0.8, 0.25, 1),
    background-color 0.3s ease,
    transform 0.28s ease;
}
.input::placeholder,
.textarea::placeholder {
  color: rgba(185, 174, 150, 0.55);
  transition: opacity 0.3s ease, color 0.3s ease;
}
.input:hover,
.textarea:hover,
.select:hover {
  border-color: rgba(var(--ring), 0.6);
  box-shadow: 0 0 0 3px rgba(var(--ring), 0.07), 0 10px 26px -16px rgba(var(--ring), 0.7);
  background-size: 42% 2px, 100% 100%;
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: rgb(var(--ring));
  box-shadow: 0 0 0 4px rgba(var(--ring), 0.18), 0 12px 30px -14px rgba(var(--ring), 0.85);
  background-size: 100% 2px, 100% 100%;
  transform: translateY(-1px);
}
.input:focus::placeholder,
.textarea:focus::placeholder {
  opacity: 0.35;
}
.input[aria-invalid="true"],
.input.is-invalid {
  --ring: 255, 138, 122;
}
.input.is-valid {
  --ring: 143, 224, 166;
}
.input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  transition: background-color 9999s ease 0s;
}
@media (prefers-reduced-motion: reduce) {
  .field label,
  .input,
  .textarea,
  .select {
    transition: border-color 0.01s, box-shadow 0.01s;
  }
  .input:focus,
  .textarea:focus,
  .select:focus,
  .field:focus-within > label {
    transform: none;
  }
}
.textarea {
  min-height: 140px;
  resize: vertical;
}

/* the browser's own option list ignores our colours on some systems, so give it an explicit dark look (no-JS fallback) */
.select option,
.select optgroup {
  background: #14110d;
  color: var(--text);
}

/*
  Themed drop-down (public/js/ui-select.js): the real <select> is kept but hidden; a button and a listbox take its place.
*/
.dd {
  position: relative;
}
.dd-native {
  position: absolute !important;
  inset-inline-start: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.dd-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: start;
  cursor: pointer;
}
.dd-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dd-btn.is-placeholder .dd-text {
  color: var(--muted);
}
.dd-chev {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 2px solid var(--gold-hi);
  border-bottom: 2px solid var(--gold-hi);
  transform: rotate(45deg);
  transition: transform 0.25s ease, margin 0.25s ease;
}
.dd.is-open .dd-chev {
  margin-top: 4px;
  transform: rotate(-135deg);
}
.dd-list {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 8px);
  z-index: 70;
  max-height: min(280px, 50vh);
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  background: linear-gradient(180deg, #1d1810, #14110d);
  border: 1px solid rgba(212, 166, 52, 0.55);
  border-radius: 14px;
  box-shadow: 0 22px 50px -12px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 28px -8px rgba(212, 166, 52, 0.35);
  animation: dd-in 0.16s ease-out;
}
.dd-list[hidden] {
  display: none;
}
.dd.dd-up .dd-list {
  top: auto;
  bottom: calc(100% + 8px);
}
@keyframes dd-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.dd-opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 10px;
  color: #f5f0e4;
  font-size: 0.97rem;
  line-height: 1.5;
  cursor: pointer;
}
.dd-opt + .dd-opt {
  margin-top: 2px;
}
.dd-opt.is-active {
  background: rgba(212, 166, 52, 0.2);
  color: #fff;
}
.dd-opt[aria-selected="true"] {
  color: var(--gold-hi);
  font-weight: 700;
  background: rgba(212, 166, 52, 0.1);
}
.dd-opt[aria-selected="true"].is-active {
  background: rgba(212, 166, 52, 0.26);
}
.dd-opt[aria-selected="true"]::after {
  content: "";
  flex: none;
  width: 6px;
  height: 11px;
  margin-inline-start: auto;
  border-right: 2px solid var(--gold-hi);
  border-bottom: 2px solid var(--gold-hi);
  transform: rotate(45deg) translateY(-2px);
}
.dd-opt[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .dd-list { animation: none; }
  .dd-chev { transition: none; }
}
.input[dir="ltr"] {
  text-align: left;
}
.field-error {
  color: var(--danger);
  font-size: 0.88rem;
}
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}
.flash {
  margin: 20px 0 0;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 600;
}
/* the message after a save / an action: a toast that floats BELOW the floating header pill (inline at the top of <main> it ended up
   underneath the header, because the first section of every page runs under it) and goes away by itself (app.js) */
.flash.toast {
  position: fixed;
  z-index: 60;
  inset-inline: 0;
  top: calc(var(--header-h) + 18px);
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  background: rgba(16, 13, 9, 0.97);
  box-shadow: 0 20px 50px -10px #000, 0 0 40px -12px rgba(212, 166, 52, 0.45);
  cursor: pointer;
  animation: flash-in 0.45s cubic-bezier(0.2, 1.2, 0.3, 1) both;
}
.flash.toast.out { animation: flash-out 0.35s ease-in both; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-16px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes flash-out { to { opacity: 0; transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .flash.toast, .flash.toast.out { animation: none; } .flash.toast.out { opacity: 0; } }
.flash.ok {
  background: rgba(143, 224, 166, 0.08);
  border-color: rgba(143, 224, 166, 0.4);
  color: var(--ok);
}
.flash.err {
  background: rgba(255, 138, 122, 0.08);
  border-color: rgba(255, 138, 122, 0.4);
  color: var(--danger);
}
/* the floating message needs a solid background (the tints above are see-through) */
.flash.toast.ok { background: linear-gradient(rgba(143, 224, 166, 0.14), rgba(143, 224, 166, 0.14)), #100d09; }
.flash.toast.err { background: linear-gradient(rgba(255, 138, 122, 0.14), rgba(255, 138, 122, 0.14)), #100d09; }
.auth-wrap {
  max-width: 480px;
  margin: clamp(32px, 6vw, 72px) auto;
}
.form-foot {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- cart / tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
th,
td {
  padding: 12px 16px;
  text-align: start;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
th {
  color: var(--gold-hi);
  font-weight: 700;
  background: rgba(212, 166, 52, 0.06);
  white-space: nowrap;
}
tr:last-child td {
  border-bottom: 0;
}
.status {
  display: inline-block;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(212, 166, 52, 0.14);
  color: var(--gold-hi);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
}

/* ---------- contact / about ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
}
.info-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.info-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface);
}
.info-list .icon {
  color: var(--gold);
  width: 26px;
  height: 26px;
}
.info-list small {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}
.prose p {
  color: var(--muted);
  font-size: 1.05rem;
}
.prose h2 {
  margin-top: 1.6em;
  font-size: 1.5rem;
}
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
  margin-top: 32px;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: clip;
  margin-top: 0;
  background: #050407;
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/img/hex-pattern.svg") center / 70px 125px;
  opacity: 0.7;
}
.site-footer::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-hi), transparent);
  opacity: 0.9;
}
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: clamp(32px, 5vw, 56px);
  padding: clamp(22px, 3vw, 36px) clamp(20px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(120deg, rgba(212, 166, 52, 0.2), rgba(212, 166, 52, 0.04) 60%), var(--surface);
}
.footer-cta h2 {
  margin: 0 0 4px;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem);
}
.footer-cta p {
  margin: 0;
  color: var(--muted);
}
.cta-form {
  flex: 1 1 340px;
  max-width: 460px;
  margin-inline-start: auto;
}
.cta-row {
  display: flex;
  gap: 10px;
}
.cta-row .input {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}
.cta-row .btn {
  flex: 0 0 auto;
}
.cta-msg {
  min-height: 1.6em; /* reserved so the message appearing does not move the page */
  margin: 8px 4px 0 !important;
  font-size: 0.88rem;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.35s ease, color 0.35s ease;
}
.cta-msg.is-shown {
  opacity: 1;
}
.cta-msg.is-ok {
  color: var(--gold-hi);
}
.cta-msg.is-err {
  color: #ff9d8f;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  padding-block: clamp(32px, 5vw, 56px);
}
.footer-about p {
  max-width: 28em;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-col h3 {
  margin-bottom: 14px;
  font-size: 1.02rem;
  color: var(--gold-hi);
}
.footer-col ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col a {
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-col a:hover {
  color: var(--gold-hi);
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-contact .icon {
  color: var(--gold);
  margin-top: 6px;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--gold-hi);
  transition: background-color 0.2s, transform 0.2s;
}
.socials a:hover {
  background: rgba(212, 166, 52, 0.16);
  transform: translateY(-3px);
}

.footer-bottom .credit {
  color: var(--muted);
}
.footer-bottom .credit:hover {
  color: var(--gold-hi);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a {
    padding-inline: 10px;
    font-size: 0.92rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1060px) {
  .stats-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .stats-headline {
    white-space: normal;
  }
  .stats-foot {
    position: static;
    margin-top: 22px;
    text-align: center;
  }
    .stats-inner {
    padding-bottom: 34px;
  }
}

@media (max-width: 940px) {
  .menu-toggle {
    display: inline-flex;
    order: 3;
  }
  .header-pill {
    gap: 12px;
  }
  .header-actions {
    margin-inline-start: auto;
  }
  .main-nav {
    position: absolute;
    inset-inline: var(--gutter);
    top: calc(100% + 8px);
    flex: none;
    display: none;
    padding: 10px 10px 14px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(10, 8, 6, 0.96);
    box-shadow: 0 24px 60px -20px #000;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav a {
    padding: 12px 16px;
    font-size: 1.02rem;
    border-radius: 14px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    text-align: center;
  }
  .hero-sub {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stage {
    max-width: 560px;
    margin-inline: auto;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split-media {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
    padding-inline: var(--gutter);
    max-width: 100%;
  }
  .split-faq {
    padding-inline: var(--gutter);
  }
  .cart-layout,
  .contact-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }
  .brand {
    font-size: 1.35rem;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .icon-btn .label {
    display: none;
  }
  .hero-stage {
    aspect-ratio: 1 / 0.86;
  }
  .stats-list {
    gap: 8px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-form {
    flex-basis: 100%;
    max-width: none;
  }
  .cta-row {
    flex-direction: column;
  }
  .cta-row .btn {
    width: 100%;
  }
  .ad-inner {
    justify-content: center;
    text-align: center;
  }
  .ad-banner .btn {
    width: 100%;
  }
  .hero-actions .btn {
    flex: 0 1 auto; /* keeps its own width so it can sit under the bee */
  }
  .media-card {
    border-radius: 16px;
  }
}

@media (max-width: 380px) {
  .stat {
    padding-inline: 4px;
  }
  .stat-value {
    font-size: 1.3rem;
  }
  .split-media {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.summary .btn {
  width: 100%;
}

/* ---------- honey hover for form buttons ---------- */
button.btn-gold {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
button.btn-gold > * {
  position: relative;
}
/* liquid honey that rises from the bottom, its surface rolling like a wave */
button.btn-gold::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 100%;
  width: 230%;
  aspect-ratio: 1;
  border-radius: 42%;
  background: linear-gradient(180deg, #ffd45e 0%, #ffae1f 55%, #f08a00 100%);
  translate: -50% 0;
  transition: translate 0.85s cubic-bezier(0.22, 0.8, 0.25, 1);
  animation: honey-roll 4.5s linear infinite paused;
}
/* a glossy highlight that sweeps across once */
button.btn-gold::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2px;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.6) 50%, transparent 62%);
  translate: -130% 0;
}
@keyframes honey-roll {
  to {
    rotate: 360deg;
  }
}
@keyframes honey-shine {
  to {
    translate: 130% 0;
  }
}
@media (hover: hover) {
  button.btn-gold:hover::before {
    translate: -50% -19%;
    animation-play-state: running;
  }
  button.btn-gold:hover::after {
    animation: honey-shine 0.9s 0.25s ease-out both;
  }
  button.btn-gold:hover {
    box-shadow: 0 16px 40px -10px rgba(255, 169, 26, 0.75), 0 0 0 1px rgba(255, 214, 120, 0.35);
  }
  button.btn-gold:hover > * {
    letter-spacing: 0.02em;
  }
}
button.btn-gold:focus-visible::before {
  translate: -50% -19%;
  animation-play-state: running;
}
button.btn-gold:active {
  transform: scale(0.985);
}
button.btn-gold > * {
  transition: letter-spacing 0.4s;
}
@media (prefers-reduced-motion: reduce) {
  button.btn-gold::before {
    animation: none;
  }
  button.btn-gold::after {
    display: none;
  }
}

/* ---------- cart ---------- */
.cart-hero {
  padding-bottom: 28px;
}
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}
.steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.steps li + li::before {
  content: "";
  width: 28px;
  height: 1px;
  margin-inline-end: 6px;
  background: var(--line);
}
.steps span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 31px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 800;
}
.steps .is-now {
  color: var(--gold-hi);
  font-weight: 700;
}
.steps .is-now span {
  background: var(--gold-grad);
  color: #1a1203;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
}
.cart-list {
  display: grid;
  gap: 14px;
}
.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 8px 18px;
  padding: 18px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  transition: border-color 0.25s;
}
.cart-item:hover {
  border-color: var(--line);
}
.cart-hex {
  display: grid;
  place-items: center;
  width: 52px;
  height: 58px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: rgba(212, 166, 52, 0.18);
  color: var(--gold-hi);
}
.cart-hex .icon {
  width: 24px;
  height: 24px;
}
.cart-info h2 {
  margin: 0 0 2px;
  font-size: 1.1rem;
}
.cart-info p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.cart-unit {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--gold-hi);
  font-weight: 700;
  font-size: 0.92rem;
}
.cart-unit s {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.82rem;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}
.stepper form {
  display: inline-flex;
}
.stepper button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gold-hi);
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s;
}
.stepper button:hover:not(:disabled) {
  background: rgba(212, 166, 52, 0.18);
}
.stepper button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.stepper output {
  min-width: 30px;
  text-align: center;
  font-weight: 800;
}
.cart-line-total {
  min-width: 130px;
  text-align: end;
  color: var(--gold-hi);
  font-size: 1.05rem;
}
.cart-remove button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.cart-remove button:hover {
  color: var(--danger);
  border-color: rgba(255, 138, 122, 0.5);
  background: rgba(255, 138, 122, 0.08);
}
.cart-more {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  font-weight: 600;
}
.cart-more .icon {
  transform: scaleX(-1);
}
.summary {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: grid;
  gap: 4px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(212, 166, 52, 0.16), var(--surface) 55%);
  box-shadow: 0 30px 60px -36px rgba(212, 166, 52, 0.5);
}
.summary h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}
.summary dl {
  margin: 0 0 14px;
}
.summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: var(--muted);
}
.summary dl > div:last-child {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
}
.summary dl > div:last-child dd {
  color: var(--gold-hi);
}
.summary dd {
  margin: 0;
}
.summary .btn {
  width: 100%;
}
.summary .btn + .btn {
  margin-top: 10px;
}
.summary-note {
  margin: 12px 0 14px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.8;
}
.cart-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  max-width: 520px;
  margin: clamp(10px, 4vw, 40px) auto;
  padding: clamp(28px, 5vw, 48px) 24px;
  border: 1px dashed var(--line);
  border-radius: 28px;
  background: radial-gradient(70% 70% at 50% 0%, rgba(212, 166, 52, 0.12), transparent 70%);
  text-align: center;
}
.cart-empty h2 {
  margin: 8px 0 0;
}
.cart-empty p {
  margin: 0 0 14px;
  color: var(--muted);
}
.empty-art {
  width: min(240px, 70%);
  height: auto;
  overflow: visible;
}
.cart-ico {
  animation: bob 3.4s ease-in-out infinite alternate;
}

/* ---------- error / 404 ---------- */
.err {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: calc(clamp(32px, 6vw, 80px) + var(--header-h)) clamp(32px, 6vw, 80px);
  background: radial-gradient(50% 60% at 50% 30%, rgba(212, 166, 52, 0.16), transparent 70%), var(--bg);
}
.err::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/img/hex-pattern.svg") center / 56px 100px;
  opacity: 0.45;
  mask-image: radial-gradient(60% 70% at 50% 35%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 35%, #000, transparent);
}
.err-inner {
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}
.err-art {
  width: min(360px, 82%);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 40px rgba(212, 166, 52, 0.25));
}
.err-art .cell {
  animation: cell-float 5s ease-in-out infinite alternate;
}
.err-art .c2,
.err-art .c5 {
  animation-delay: -1.5s;
}
.err-art .c3,
.err-art .c6 {
  animation-delay: -3s;
}
.err-art .hole {
  animation: hole-pulse 2.6s ease-in-out infinite;
}
.err-art .hole-q {
  fill: #f3d27a;
  font-size: 52px;
  font-weight: 900;
}
@keyframes cell-float {
  from { transform: translateY(-5px); }
  to { transform: translateY(6px); }
}
@keyframes hole-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.err-code {
  margin: 0;
  font-size: clamp(3.6rem, 2rem + 8vw, 7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(212, 166, 52, 0.55);
}
.err h1 {
  margin: 8px 0 4px;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem);
  font-weight: 900;
}
.err-msg {
  max-width: 34em;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
}
.err-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.err-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.err-links a {
  color: var(--muted);
  font-size: 0.95rem;
}
.err-links a:hover {
  color: var(--gold-hi);
}
@media (prefers-reduced-motion: reduce) {
  .err-art .cell,
  .err-art .hole,
  .cart-ico {
    animation: none;
  }
}
@media (max-width: 940px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
}
@media (max-width: 640px) {
  .cart-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 16px;
  }
  .cart-info {
    grid-column: 2 / 3;
  }
  .stepper {
    grid-column: 1 / 3;
    justify-self: start;
  }
  .cart-line-total {
    grid-column: 2 / 4;
    grid-row: 2;
    align-self: center;
    min-width: 0;
    text-align: start;
  }
  .cart-remove {
    grid-column: 3;
    grid-row: 1;
  }
}

.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}
.error-page {
  text-align: center;
  padding-block: clamp(56px, 12vw, 140px);
}
.error-page .code {
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 900;
  line-height: 1;
}

button.btn.is-loading {
  opacity: 0.8;
  pointer-events: none;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-0.6deg);
  }
  50% {
    transform: translateY(-14px) rotate(0.7deg);
  }
}

/* ---------- discount ribbon on product cards ---------- */
.has-ribbon {
  overflow: hidden;
}
.has-ribbon h2 {
  padding-inline-start: 48px;
}
.ribbon {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  z-index: 2;
  width: 104px;
  height: 104px;
  overflow: hidden;
  pointer-events: none;
}
.ribbon > span {
  position: absolute;
  top: 21px;
  inset-inline-start: -40px;
  width: 152px;
  padding: 4px 0;
  background: linear-gradient(90deg, #ffcf5a, #ff9d0a 60%, #f08a00);
  color: #1c0f00;
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.55);
  transform: rotate(45deg); /* RTL: the band crosses the top-right corner */
}
.ribbon > span::before,
.ribbon > span::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}
.ribbon > span::before {
  top: 2px;
}
.ribbon > span::after {
  bottom: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .media-card,
  .bee-wing,
  .bee .bee-antennae,
  .type-cursor {
    animation: none !important;
  }
}

/* =====================================================================
   Honey: dividers and the new pages
   ===================================================================== */

/* ---------- golden wave divider (full width): two layers drift in opposite directions, and it "pours in" with a light sweep ---------- */
.honey-wave {
  direction: ltr;
  position: relative;
  overflow: hidden;
  height: clamp(30px, 4.2vw, 54px);
  filter: drop-shadow(0 7px 12px rgba(212, 166, 52, 0.28));
}
.honey-wave.is-flipped {
  transform: scaleY(-1);
}
.honey-wave svg {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  max-width: none; /* the global svg rule would cap it at 100% and leave the drifting half empty */
  width: 200%;
  height: 100%;
  will-change: transform;
}
.hw-front { animation: hw-drift 36s linear infinite; }
.hw-back { animation: hw-drift 58s linear infinite reverse; }
@keyframes hw-drift {
  to { transform: translateX(-50%); }
}
/* a divider that starts below the fold waits (hidden) until it scrolls into view, then pours in and a light passes over it.
   The hiding clip-path sits on an inner box (.hw-in), never on .honey-wave itself: browsers (Chromium) take a target's own clip-path
   into account, so a fully clipped .honey-wave is "not intersecting" for the IntersectionObserver and would never be revealed. */
.hw-in { position: absolute; inset: 0; overflow: hidden; }
.honey-wave.hw-wait .hw-in { clip-path: inset(0 100% 0 0); }
.honey-wave.hw-wait.is-in .hw-in {
  animation: hw-pour 1.3s cubic-bezier(0.22, 0.8, 0.2, 1) both;
}
@keyframes hw-pour {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
.honey-wave::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 38%;
  background: linear-gradient(100deg, transparent, rgba(255, 247, 214, 0.75), transparent);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.honey-wave.hw-wait.is-in::after {
  animation: hw-sweep 1.7s 0.5s ease-in-out both;
}
@keyframes hw-sweep {
  0% { transform: translateX(-120%); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(380%); opacity: 0; }
}

/* ---------- ad banner (gold, like the 3D hive) ---------- */
.ad-banner {
  position: relative;
  z-index: 4;
  background: linear-gradient(180deg, #fbe9a6 0%, #ecc65f 52%, #d9b13d 100%);
  border-bottom: 1px solid rgba(143, 106, 20, 0.5);
  box-shadow: 0 10px 30px -12px rgba(212, 166, 52, 0.55);
}
/* keep the first FAQ words and the images clear of the drips */
.ad-banner + .split .split-faq,
.ad-banner + .split .split-media {
  padding-top: calc(clamp(40px, 6vw, 96px) + clamp(60px, 7.5vw, 112px));
}

/* ---------- pills, crumbs ---------- */
.pill-badge {
  display: inline-block;
  padding: 1px 14px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #1a1203;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.7;
  vertical-align: middle;
  white-space: nowrap;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.crumbs a {
  color: var(--gold-hi);
}
.icon.flip {
  transform: scaleX(-1);
}

/* ---------- ecosystem: comb + modules ---------- */
.eco-stage {
  padding-block: clamp(24px, 4vw, 56px);
}
.eco-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
}
.eco-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}
.eco-items .card {
  padding: 20px 18px;
}
.eco-items .card h2 {
  font-size: 1.05rem;
}
.eco-items .card p {
  font-size: 0.9rem;
}
.eco-3d .hero-stage {
  max-width: 440px;
  margin-inline: auto;
  aspect-ratio: 1;
}
.eco-3d [data-hero-canvas] canvas {
  cursor: default; /* the comb is not draggable here */
}

/* hover card that opens beside a honey-filled cell (desktop only) */
.cell-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
}
.cell-layer[hidden] {
  display: none;
}
.cell-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.2s;
}
.cell-line line {
  stroke: var(--gold-hi);
  stroke-width: 1.6;
  stroke-dasharray: 5 4;
  filter: drop-shadow(0 0 4px rgba(255, 170, 30, 0.7));
}
.cell-line circle {
  fill: var(--gold-hi);
}
.cell-layer.is-on .cell-line {
  opacity: 1;
}
.cell-card {
  position: fixed;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(340px, 86vw);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(20, 17, 13, 0.96);
  box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.8), 0 0 28px -6px rgba(255, 160, 20, 0.35);
  color: var(--text);
  text-decoration: none;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-50%) translateX(-8px);
  transition: opacity 0.2s, transform 0.25s;
}
.cell-card[hidden] {
  display: none;
}
.cell-card.is-on {
  opacity: 1;
  transform: translateY(-50%);
}
.cell-card:hover {
  border-color: var(--gold-hi);
  text-decoration: none;
}
.cell-card img,
.cell-ph {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(212, 166, 52, 0.12);
  border: 1px solid var(--line);
}
.cell-ph {
  display: grid;
  place-items: center;
  color: var(--gold-hi);
}
.cell-text {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.55;
}
.cell-text b {
  font-size: 1rem;
}
.cell-text span {
  color: var(--muted);
  font-size: 0.82rem;
}
.cell-text em {
  color: var(--gold-hi);
  font-style: normal;
  font-weight: 800;
  font-size: 0.9rem;
}

/* ---------- services list: wide product cards ---------- */
.services {
  padding-top: clamp(16px, 3vw, 40px);
}
.services-head {
  padding-block: clamp(10px, 2vw, 24px) clamp(18px, 3vw, 36px);
  text-align: center;
}
.services-head .section-title {
  margin-bottom: 10px;
}
.services-head p {
  max-width: 40em;
  margin: 0 auto;
  color: var(--muted);
}
.pitem {
  padding-top: clamp(14px, 2.4vw, 30px);
}
.pitem .honey-wave {
  margin-top: clamp(18px, 3vw, 38px);
}
.pitem[hidden] {
  display: none;
}
.pcard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 300px);
  align-items: center;
  gap: clamp(18px, 3.4vw, 48px);
  padding: clamp(18px, 2.6vw, 32px);
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  box-shadow: 0 24px 50px -34px #000;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.pcard:hover,
.pcard:focus-within {
  border-color: var(--line);
  transform: translateY(-3px);
  box-shadow: 0 28px 60px -30px #000, 0 0 40px -14px rgba(212, 166, 52, 0.5);
}
.pcard-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.pcard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.pcard-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2.1rem);
  line-height: 1.4;
}
.pcard-link {
  color: var(--text);
}
.pcard-link:hover {
  text-decoration: none;
  color: var(--gold-hi);
}
.pcard-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.pcard-link:focus-visible {
  outline: none;
}
.pcard-link:focus-visible::after {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}
.pcard-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.95;
}
.pcard .price-row {
  margin-top: 4px;
  padding-top: 8px;
  gap: 4px 14px;
}
.pcard .price {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem);
}
.pcard .price-old {
  font-size: 1rem;
}
.pcard-media {
  display: grid;
  gap: 14px;
  align-self: center;
}
.pcard-media form {
  position: relative;
  z-index: 2;
  margin: 0;
}
.pcard-media .btn {
  width: 100%;
}
.pcard-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  /* a small radius: the 800×800 picture keeps its four corners visible (a big radius cut them off) */
  border-radius: 10px;
  border: 1px solid var(--line);
  background: radial-gradient(70% 70% at 50% 40%, rgba(212, 166, 52, 0.22), transparent 75%), var(--surface);
}
.pcard-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pcard-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold-hi);
  opacity: 0.85;
}
.pcard-ph .icon {
  width: 38%;
  height: 38%;
  stroke-width: 1.2;
}
.pcard-img .ribbon {
  z-index: 2;
}
@media (max-width: 760px) {
  .pcard {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 24px;
  }
  .pcard-media {
    order: -1;
    width: min(100%, 340px);
    margin-inline: auto;
  }
}

/* ---------- product page ---------- */
.product-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 32vw, 420px);
  align-items: start;
  gap: clamp(20px, 4vw, 56px);
}
.product-info {
  display: grid;
  gap: 18px;
  align-content: start;
}
.product-summary {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 2;
}
.product-info .price {
  font-size: 1.9rem;
}
.product-info form .btn {
  width: min(100%, 360px);
}
.pcard-img.is-large {
  border-radius: 14px;
}
.product-hero h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.article {
  margin-top: clamp(28px, 4vw, 48px);
}
.other-card {
  color: var(--text);
  text-decoration: none;
}
.other-card:hover {
  text-decoration: none;
}
@media (max-width: 760px) {
  .product-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-top .pcard-media {
    order: -1;
    width: min(100%, 360px);
    margin-inline: auto;
  }
}

/* ---------- filter: a tab fixed at the screen edge that opens a drawer ---------- */
:root {
  --fp-w: min(92vw, 360px);
}
.filter-tab {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 66;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 9px;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 16px 16px 0;
  background: rgba(14, 12, 9, 0.94);
  color: var(--gold-hi);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 8px 0 28px -10px rgba(0, 0, 0, 0.7);
  transition: left 0.38s cubic-bezier(0.3, 0.8, 0.2, 1), background 0.2s;
}
.filter-tab[hidden] {
  display: none;
}
.filter-tab:hover {
  background: rgba(40, 30, 10, 0.96);
}
.filter-tab .icon {
  width: 20px;
  height: 20px;
  transform: scaleX(-1); /* points inwards while closed */
  transition: transform 0.38s;
}
.filter-tab[aria-expanded="true"] {
  left: var(--fp-w);
}
.filter-tab[aria-expanded="true"] .icon {
  transform: none;
}
.filter-scrim {
  position: fixed;
  inset: 0;
  z-index: 64;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.filter-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}
.filter-panel {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 65;
  width: var(--fp-w);
  padding: 20px 20px 28px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #14110d, #0b0910);
  box-shadow: 20px 0 60px -20px #000;
  transform: translateX(-104%);
  visibility: hidden;
  transition: transform 0.38s cubic-bezier(0.3, 0.8, 0.2, 1), visibility 0s 0.38s;
}
.filter-panel[hidden] {
  display: none;
}
.filter-panel.is-open {
  transform: none;
  visibility: visible;
  transition: transform 0.38s cubic-bezier(0.3, 0.8, 0.2, 1);
}
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.filter-head h2 {
  margin: 0;
  font-size: 1.2rem;
}
.filter-x {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.filter-form .field.two {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.filter-form .field.two div {
  display: grid;
  gap: 6px;
}
.filter-form .check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  cursor: pointer;
}
.filter-form .check input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}
.filter-count {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.filter-count b {
  color: var(--gold-hi);
}
.filter-form .btn {
  width: 100%;
}

/* ---------- tutorials: cards that glow like a golden border, whole card is the link ---------- */
.tcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.35s, transform 0.3s;
}
.tcard:hover,
.tcard:focus-visible {
  border-color: var(--gold-hi);
  box-shadow: 0 0 0 1px rgba(243, 210, 122, 0.55), 0 0 26px 2px rgba(243, 210, 122, 0.38), 0 0 70px 6px rgba(212, 166, 52, 0.22);
  transform: translateY(-3px);
  text-decoration: none;
  outline: none;
}
.tcard h2 {
  margin: 0;
  font-size: 1.2rem;
}
.tcard p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}
.tcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}
.tcard-go {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold-hi);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.tcard-go .icon {
  width: 20px;
  height: 20px;
}
.tcard:hover .tcard-go,
.tcard:focus-visible .tcard-go {
  background: var(--gold-grad);
  color: #1a1203;
  transform: translateX(-6px);
}
.tut-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- article blocks (tutorials, product details) ---------- */
.blocks > * + * {
  margin-top: clamp(20px, 3vw, 32px);
}
.block-text {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 2.1;
}
.block-text p {
  color: var(--text);
  opacity: 0.92;
}
.block-text h2,
.block-text h3,
.block-text h4 {
  margin: 1.4em 0 0.5em;
  line-height: 1.5;
}
.block-text h2 {
  font-size: 1.55rem;
}
.block-text h3 {
  font-size: 1.28rem;
  color: var(--gold-hi);
}
.block-text h4 {
  font-size: 1.1rem;
}
.block-text ul,
.block-text ol {
  padding-inline-start: 1.4em;
}
.block-text li {
  margin-bottom: 0.4em;
}
.block-text blockquote {
  margin: 1.4em 0;
  padding: 10px 20px;
  border-inline-start: 4px solid var(--gold);
  background: rgba(212, 166, 52, 0.07);
  border-radius: 0 12px 12px 0;
}
.block-text hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2em 0;
}
.block-image,
.block-video {
  margin: 0;
}
.block-image img,
.block-video video {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.block-image figcaption,
.block-video figcaption {
  margin-top: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.embed-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #000;
}
.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.8, 0.25, 1);
}
.reveal-wait {
  opacity: 0;
  transform: translateY(26px);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.values .reveal:nth-child(2),
.founders .reveal:nth-child(2),
.about-stats .reveal:nth-child(2) {
  transition-delay: 0.12s;
}
.values .reveal:nth-child(3),
.founders .reveal:nth-child(3),
.about-stats .reveal:nth-child(3) {
  transition-delay: 0.24s;
}
.founders .reveal:nth-child(4) {
  transition-delay: 0.36s;
}

/* ---------- about ---------- */
.about-hero {
  position: relative;
  overflow: clip;
  min-height: clamp(360px, 46vw, 520px);
  display: flex;
  align-items: flex-end;
}
.about-3d {
  position: absolute;
  inset: 0;
  z-index: -1;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 62%, transparent 100%);
}
.about-3d [data-hero-canvas] {
  position: absolute;
  inset: 0;
}
.about-3d [data-hero-canvas] canvas {
  cursor: default;
}
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 6, 10, 0.92) 0%, rgba(7, 6, 10, 0.55) 38%, transparent 70%);
}
.about-hero-text {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9);
}
.about-hero-text p {
  max-width: 36em;
  color: var(--text);
  opacity: 0.88;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.about-lead {
  margin: 0;
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.65rem);
  line-height: 2.1;
  color: var(--text);
}
.about-lead::first-line {
  color: var(--gold-hi);
}
.about-stats {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
}
.about-stat .stat-value {
  min-width: 4.2ch;
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem);
  font-weight: 900;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}
.about-stat .stat-label {
  color: var(--muted);
}
.about-why-head {
  max-width: 44em;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.about-why-head p {
  color: var(--muted);
  font-size: 1.1rem;
}
.about-why .values {
  margin-top: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.value-card {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.value-card:hover {
  transform: translateY(-5px) rotate(-0.4deg);
  border-color: var(--line);
  box-shadow: 0 24px 50px -28px #000, 0 0 36px -12px rgba(212, 166, 52, 0.55);
}
.value-card h3 {
  margin: 14px 0 8px;
  font-size: 1.25rem;
}
.value-card p {
  margin: 0;
  color: var(--muted);
}
.value-hex {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 64px;
  color: var(--gold-hi);
}
.value-hex .icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: rgba(212, 166, 52, 0.12);
  stroke-width: 1.3;
}
.value-hex b {
  position: relative;
  font-size: 1.15rem;
}
.founders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  justify-content: center;
}
.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 30px 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  color: var(--text);
  text-align: center;
  text-decoration: none;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.founder-card:hover,
.founder-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--gold-hi);
  box-shadow: 0 26px 54px -28px #000, 0 0 40px -10px rgba(243, 210, 122, 0.5);
  text-decoration: none;
  outline: none;
}
.founder-avatar,
.founder-photo {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(80% 80% at 50% 30%, rgba(247, 220, 141, 0.3), rgba(212, 166, 52, 0.08)), var(--surface);
  border: 2px solid var(--gold);
  color: var(--gold-hi);
  font-weight: 900;
}
.founder-avatar {
  width: 124px;
  height: 124px;
  margin-bottom: 8px;
  border-radius: 50%;
  font-size: 3rem;
  box-shadow: 0 0 0 6px rgba(212, 166, 52, 0.12);
}
.founder-avatar img,
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-card h3 {
  margin: 6px 0 0;
  font-size: 1.25rem;
}
.founder-role {
  color: var(--gold-hi);
  font-size: 0.92rem;
  font-weight: 700;
}
.founder-card p {
  margin: 8px 0 4px;
  color: var(--muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.founder-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--gold-hi);
  font-weight: 700;
  font-size: 0.92rem;
}
.founder-more .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}
.founder-card:hover .founder-more .icon {
  transform: translateX(-5px);
}
.about-cta {
  text-align: center;
}
.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.founder-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 30vw, 380px);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}
.founder-photo {
  aspect-ratio: 1;
  border-radius: 32px;
  font-size: 7rem;
  box-shadow: 0 30px 60px -30px #000, 0 0 60px -16px rgba(212, 166, 52, 0.6);
}
.founder-text .btn {
  margin-top: 18px;
}
@media (max-width: 860px) {
  .eco-grid,
  .about-intro-grid,
  .founder-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .eco-3d {
    order: -1;
  }
  .founder-photo {
    max-width: 320px;
    margin-inline: auto;
    order: -1;
  }
}
@media (max-width: 520px) {
  .eco-items {
    grid-template-columns: minmax(0, 1fr);
  }
  .filter-tab {
    padding: 12px 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .honey-wave svg,
  .honey-wave::after {
    animation: none !important;
  }
  .reveal,
  .reveal-wait {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* header: profile picture instead of the generic user icon */
.hdr-avatar {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

/* a button that looks like a text link */
.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-hi);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:disabled {
  color: var(--muted);
  text-decoration: none;
  cursor: default;
}

/* ---- subscription facts (product page, cart) ---- */
.sub-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 4px;
  padding: 0;
  list-style: none;
}
.sub-facts li {
  display: grid;
  gap: 2px;
  min-width: 108px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(212, 166, 52, 0.06);
}
.sub-facts span {
  color: var(--muted);
  font-size: 0.82rem;
}
.sub-facts b {
  color: var(--gold-hi);
}
.price-note {
  color: var(--muted);
  font-size: 0.9rem;
}
.cart-sub {
  margin: 6px 0 0;
  color: var(--gold-hi);
  font-size: 0.88rem;
}

/* ---- support chat widget ---- */
.sw {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
}
.sw-fab {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #1a1408;
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.8), 0 0 0 4px rgba(212, 166, 52, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.sw-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px -6px rgba(0, 0, 0, 0.85), 0 0 0 6px rgba(212, 166, 52, 0.3);
}
.sw-fab .icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sw.is-open .sw-fab {
  background: #1c1710;
  color: var(--gold-hi);
  box-shadow: 0 0 0 2px var(--line);
}
.sw-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e5484d;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}
.sw-badge[hidden] {
  display: none;
}
.sw-panel {
  position: absolute;
  left: 0;
  bottom: 74px;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 36px));
  height: min(540px, calc(100dvh - 120px));
  border: 1px solid rgba(212, 166, 52, 0.45);
  border-radius: 20px;
  background: linear-gradient(180deg, #1a150d, #0f0c08);
  box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.95), 0 0 40px -12px rgba(212, 166, 52, 0.35);
  overflow: hidden;
  animation: sw-in 0.2s ease-out;
}
.sw-panel[hidden] {
  display: none;
}
@keyframes sw-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.sw-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(212, 166, 52, 0.08);
}
.sw-head > div {
  flex: 1;
  min-width: 0;
}
.sw-head b,
.sw-head small {
  display: block;
}
.sw-head small {
  color: var(--muted);
  font-size: 0.8rem;
}
.sw-head-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gold-grad);
  color: #1a1408;
}
.sw-head-ico .icon,
.sw-x .icon,
.sw-send .icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sw-x {
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--muted);
}
.sw-x:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}
.sw-msgs {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sw-hello {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(212, 166, 52, 0.09);
  color: var(--muted);
  line-height: 1.9;
  font-size: 0.93rem;
}
.sw-hello[hidden] {
  display: none;
}
.sw-b {
  max-width: 84%;
  padding: 9px 13px 5px;
  border-radius: 16px;
  line-height: 1.8;
  font-size: 0.95rem;
}
.sw-b p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sw-b time {
  display: block;
  margin-top: 1px;
  font-size: 0.72rem;
  opacity: 0.7;
}
.sw-b.is-me {
  align-self: flex-start;
  background: var(--gold-grad);
  color: #1a1408;
  border-end-start-radius: 4px;
}
.sw-b.is-agent {
  align-self: flex-end;
  background: #231d12;
  border: 1px solid var(--line);
  border-end-end-radius: 4px;
}
.sw-form {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line-soft);
}
.sw-guest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sw-guest[hidden] {
  display: none;
}
.sw-guest .input {
  min-height: 42px;
  padding: 6px 12px;
  font-size: 0.9rem;
}
.sw-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.sw-row .input {
  min-height: 46px;
  max-height: 120px;
  padding: 11px 14px;
  resize: none;
  line-height: 1.6;
}
.sw-send {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gold-grad);
  color: #1a1408;
}
.sw-send .icon {
  transform: scaleX(-1);
}
.sw-err {
  margin: 0;
  color: var(--danger);
  font-size: 0.85rem;
}
.sw-err:empty {
  display: none;
}
@media (max-width: 520px) {
  .sw {
    left: 12px;
    bottom: 12px;
  }
  .sw-fab {
    width: 54px;
    height: 54px;
  }
  .sw-panel {
    position: fixed;
    inset: auto 10px 76px 10px;
    width: auto;
    height: min(72dvh, 560px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sw-panel { animation: none; }
  .sw-fab { transition: none; }
}

/* system note in the chat widget (e.g. "this conversation was closed") */
.sw-b.is-sys {
  align-self: center;
  max-width: 92%;
  padding: 7px 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}
.sw-closed {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}
.sw-closed[hidden] { display: none; }

/* =====================================================================
   Cart preview in the header: opens on hover/focus, and for 4 seconds after something was added
   ===================================================================== */
.cart-wrap { position: relative; display: inline-flex; }
.cart-pop {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 120;
  width: min(360px, 92vw);
  padding: 14px;
  border: 1px solid rgba(212, 166, 52, 0.5);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(28, 23, 14, 0.98), rgba(12, 10, 7, 0.98));
  box-shadow: 0 26px 60px -14px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 34px -10px rgba(212, 166, 52, 0.4);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1), visibility 0s linear 0.2s;
  overflow: hidden;
}
/* an invisible bridge so the pointer can travel from the icon to the preview */
.cart-pop::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.cart-wrap:hover .cart-pop,
.cart-wrap:focus-within .cart-pop {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}
/* LTR (English, Turkish): the cart sits at the right end of the header, so the preview grows to the left, never past the screen's edge */
html[dir="ltr"] .cart-pop { left: auto; right: 0; transform-origin: top right; }
/* touch screens have no hover: a tap on the cart goes straight to the cart page */
@media (pointer: coarse) {
  .cart-wrap:hover .cart-pop:not(.is-added),
  .cart-wrap:focus-within .cart-pop:not(.is-added) { opacity: 0; visibility: hidden; pointer-events: none; }
}
.cart-pop-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cart-pop-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.cp-thumb {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(212, 166, 52, 0.08);
  color: var(--gold-hi);
}
.cp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cp-thumb .icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cp-main { display: grid; gap: 3px; min-width: 0; }
.cp-title { overflow: hidden; font-size: 0.93rem; font-weight: 600; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.cp-chips i {
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(212, 166, 52, 0.14);
  color: var(--gold-hi);
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.7;
}
.cp-price { display: grid; justify-items: end; gap: 1px; color: var(--gold-hi); font-size: 0.86rem; white-space: nowrap; }
.cp-price small { color: var(--muted); font-size: 0.74rem; }
.cart-pop-more { margin: 8px 4px 0; color: var(--muted); font-size: 0.82rem; text-align: center; }
.cart-pop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(212, 166, 52, 0.3);
}
.cp-total { display: grid; margin: 0; }
.cp-total span { color: var(--muted); font-size: 0.76rem; }
.cp-total b { color: var(--text); font-size: 1.02rem; }

/* just added: the preview opens by itself for 4 s, the new line glows gold and a bar counts down */
.cart-pop.is-added { animation: cp-auto 4s ease both; }
@keyframes cp-auto {
  0% { opacity: 0; visibility: visible; transform: translateY(-12px) scale(0.94); pointer-events: auto; }
  7% { opacity: 1; transform: translateY(2px) scale(1.01); }
  11% { transform: none; }
  91% { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  100% { opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.97); pointer-events: none; }
}
.cart-pop-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(143, 224, 166, 0.45);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(143, 224, 166, 0.16), rgba(143, 224, 166, 0.04));
  color: #d9f7e2;
  font-size: 0.88rem;
  line-height: 1.7;
}
.cart-pop-msg .icon {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(143, 224, 166, 0.22);
  color: var(--ok);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
}
.cart-pop-msg b { color: #fff; }
.cart-pop-item.is-new {
  overflow: hidden;
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(212, 166, 52, 0.28), rgba(212, 166, 52, 0.07));
  box-shadow: 0 0 0 1px rgba(243, 210, 122, 0.35), 0 8px 24px -10px rgba(212, 166, 52, 0.7);
  animation: cp-new 0.9s 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
.cart-pop-item.is-new .cp-title { font-weight: 800; color: #fff; }
.cart-pop-item.is-new::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent, rgba(255, 240, 190, 0.45), transparent);
  transform: translateX(-130%);
  animation: cp-shine 1.3s 0.6s ease-out both;
  pointer-events: none;
}
@keyframes cp-new {
  0% { transform: translateX(14px) scale(0.96); opacity: 0.2; }
  100% { transform: none; opacity: 1; }
}
@keyframes cp-shine { to { transform: translateX(130%); } }
.cart-pop-bar {
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, #f7dc8d, #d4a634);
  transform-origin: left center;
  animation: cp-bar 4s linear both;
}
@keyframes cp-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
/* the cart button itself bounces and its badge pops */
.cart-wrap.has-added .icon-btn { animation: cp-bump 0.7s 0.1s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
.cart-wrap.has-added .badge-count { animation: cp-badge 0.7s 0.2s cubic-bezier(0.3, 1.8, 0.5, 1) both; }
@keyframes cp-bump { 0% { transform: scale(1); } 40% { transform: scale(1.22) rotate(-8deg); } 100% { transform: scale(1); } }
@keyframes cp-badge { 0% { transform: scale(0.4); } 100% { transform: scale(1); } }
@media (max-width: 760px) {
  .cart-pop { position: fixed; top: 84px; left: 12px; right: 12px; width: auto; margin-inline: auto; max-width: 420px; transform-origin: top center; }
  .cart-pop::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-pop.is-added { animation: cp-auto-rm 4s linear both; }
  @keyframes cp-auto-rm { 0%, 92% { opacity: 1; visibility: visible; pointer-events: auto; } 100% { opacity: 0; visibility: hidden; pointer-events: none; } }
  .cart-pop-item.is-new, .cart-pop-item.is-new::after, .cart-wrap.has-added .icon-btn, .cart-wrap.has-added .badge-count, .cart-pop-bar { animation: none; }
  .cart-pop { transition: none; }
}

/* ---- languages: switcher, footer links, phone field with a country list -------------------------------------------------- */
.lang-switch { position: relative; }
.lang-switch > summary { list-style: none; }
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch[open] > summary { background: rgba(212, 166, 52, 0.18); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  z-index: 70;
  min-width: 176px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(14, 12, 18, 0.98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}
.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 11px;
  color: var(--text);
  text-decoration: none;
}
.lang-menu a:hover,
.lang-menu a:focus-visible,
.lang-menu a[aria-current="true"] { background: rgba(212, 166, 52, 0.14); color: var(--gold-hi); }
.lang-menu b { color: var(--gold); font-size: 0.74rem; letter-spacing: 0.1em; }
.lang-links { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.lang-links a { color: inherit; opacity: 0.78; text-decoration: none; }
.lang-links a:hover { opacity: 1; text-decoration: underline; }
.lang-links a[aria-current="true"] { color: var(--gold-hi); opacity: 1; }

.phone-group { display: flex; gap: 8px; align-items: stretch; }
.phone-group > .input { flex: 1 1 auto; min-width: 0; }
.phone-group .phone-cc { flex: 0 1 min(15rem, 52%); min-width: 0; direction: ltr; text-align: start; text-overflow: ellipsis; }
@media (max-width: 420px) {
  .phone-group.has-cc { flex-direction: column; }
  .phone-group .phone-cc { flex-basis: auto; }
}
/* inside the narrow login / register card the country list gets its own full-width row, so its name is never cut */
.auth-card .phone-group.has-cc { flex-direction: column; }
.auth-card .phone-group .phone-cc { flex-basis: auto; }
/* the live hint under the number field of the contact form (the login card styles its own in auth.css) */
.form-card .field-hint { display: block; min-height: 1.2em; margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
.form-card .field-hint[data-state="ok"] { color: var(--ok, #6fe39a); }
.form-card .field-hint[data-state="bad"] { color: var(--danger, #ff8a7a); }
.form-card .input[aria-invalid="true"] { border-color: rgba(255, 138, 122, 0.7); }

/* ---- left-to-right pages (English, Turkish): the site was drawn right-to-left, these rules mirror what is not automatic ---- */
html[dir="ltr"] .faq-item summary::before { content: counter(faq, decimal); }
html[dir="ltr"] svg.arrow { transform: scaleX(-1); }
html[dir="ltr"] .btn:hover svg.arrow { transform: scaleX(-1) translateX(-4px); }
html[dir="ltr"] .stats-headline { white-space: normal; max-width: 20ch; }
/* floating pieces sit on the other side in left-to-right pages (the content starts on the left there): the chat button and the filter drawer */
html[dir="ltr"] .sw { left: auto; right: 18px; }
html[dir="ltr"] .sw-panel { left: auto; right: 0; }
@media (max-width: 520px) { html[dir="ltr"] .sw { left: auto; right: 12px; } }
html[dir="ltr"] .filter-tab { left: auto; right: 0; border-left: 1px solid var(--line); border-right: 0; border-radius: 16px 0 0 16px; box-shadow: -8px 0 28px -10px rgba(0, 0, 0, 0.7); transition: right 0.38s cubic-bezier(0.3, 0.8, 0.2, 1), background 0.2s; }
html[dir="ltr"] .filter-tab[aria-expanded="true"] { left: auto; right: var(--fp-w); }
html[dir="ltr"] .filter-tab .icon { transform: none; }
html[dir="ltr"] .filter-tab[aria-expanded="true"] .icon { transform: scaleX(-1); }
html[dir="ltr"] .filter-panel { left: auto; right: 0; border-right: 0; border-left: 1px solid var(--line); box-shadow: -20px 0 60px -20px #000; transform: translateX(104%); }
html[dir="ltr"] .filter-panel.is-open { transform: none; }
@media (min-width: 1061px) { html[dir="ltr"] .stats-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } } /* below that the grid is one column, as in Persian */

/* a hero that is followed by the golden wave has no hairline of its own above the wave */
.about-hero,
.page-hero:has(+ .honey-wave) {
  border-bottom: 0;
}

/* ---------- ad banner with several slides ---------- */
.ad-inner { position: relative; }
.ad-stage { display: grid; flex: 1 1 100%; min-width: 0; }
.ad-slide { grid-area: 1 / 1; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; visibility: hidden; opacity: 0; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
.ad-slide.is-on { visibility: visible; opacity: 1; transition: opacity 0.5s ease; }
.ad-dots { position: absolute; inset-block-end: 6px; inset-inline-start: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
[dir="rtl"] .ad-dots { transform: translateX(50%); }
.ad-dot { width: 22px; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.ad-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(26, 18, 3, 0.35); transition: width 0.25s, background 0.25s; }
.ad-dot.is-on::before { width: 22px; border-radius: 8px; background: #1a1203; }
.ad-banner[data-ad-slider] .ad-inner { padding-block-end: 30px; }
@media (prefers-reduced-motion: reduce) { .ad-slide, .ad-slide.is-on { transition: none; } }

/* ---------- a long menu (7+ items: hallmark, blog, gallery switched on) ---------- */
.nav-many .main-nav a { white-space: nowrap; }
@media (min-width: 941px) and (max-width: 1240px) {
  .nav-many .main-nav a { padding-inline: 8px; font-size: 0.88rem; }
}
/* folds into the burger menu on narrower desktops (English and Turkish labels are longer) */
@media (min-width: 941px) and (max-width: 1130px) {
  .nav-many .menu-toggle { display: inline-flex; order: 3; }
  .nav-many .header-pill { gap: 12px; }
  .nav-many .header-actions { margin-inline-start: auto; }
  .nav-many .main-nav { position: absolute; inset-inline: var(--gutter); top: calc(100% + 8px); flex: none; display: none; padding: 10px 10px 14px; border: 1px solid var(--line); border-radius: 26px; background: rgba(10, 8, 6, 0.96); box-shadow: 0 24px 60px -20px #000; }
  .nav-many .main-nav.open { display: block; }
  .nav-many .main-nav ul { flex-direction: column; align-items: stretch; }
  .nav-many .main-nav a { padding: 12px 16px; font-size: 1.02rem; border-radius: 14px; }
}
@media (min-width: 941px) and (max-width: 1480px) {
  html:not([lang="fa"]) .nav-many .menu-toggle { display: inline-flex; order: 3; }
  html:not([lang="fa"]) .nav-many .header-pill { gap: 12px; }
  html:not([lang="fa"]) .nav-many .header-actions { margin-inline-start: auto; }
  html:not([lang="fa"]) .nav-many .main-nav { position: absolute; inset-inline: var(--gutter); top: calc(100% + 8px); flex: none; display: none; padding: 10px 10px 14px; border: 1px solid var(--line); border-radius: 26px; background: rgba(10, 8, 6, 0.96); box-shadow: 0 24px 60px -20px #000; }
  html:not([lang="fa"]) .nav-many .main-nav.open { display: block; }
  html:not([lang="fa"]) .nav-many .main-nav ul { flex-direction: column; align-items: stretch; }
  html:not([lang="fa"]) .nav-many .main-nav a { padding: 12px 16px; font-size: 1.02rem; border-radius: 14px; }
}

/* ---------- an admin inside a customer's account ---------- */
.imp-bar { position: sticky; top: 0; z-index: 200; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; padding: 8px 16px; background: linear-gradient(90deg, #7a1f12, #b33a22); color: #fff; font-size: 0.9rem; text-align: center; }
.imp-bar form { margin: 0; }

/* ---- "download the app" card (home page, below the FAQ and the photos) and /download ---- */
.appdl { background: var(--bg); padding: clamp(36px, 6vw, 84px) var(--gutter); }
.appdl-card {
  position: relative; isolation: isolate; overflow: clip; max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(8px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: 28px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(212, 166, 52, 0.22), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgba(255, 150, 20, 0.12), transparent 70%),
    linear-gradient(165deg, #12100c 0%, #0a0809 100%);
}
.appdl-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.55;
  background: url("/img/hex-pattern.svg") top right / 84px 150px;
  mask-image: radial-gradient(70% 70% at 100% 0%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 100% 0%, #000, transparent 75%);
}
.appdl-text { padding: clamp(24px, 4vw, 56px); }
.appdl-text .section-title { margin-bottom: 14px; }
.appdl-lead { color: var(--muted); line-height: 2; margin: 0 0 18px; max-width: 52ch; }
.appdl-points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; }
.appdl-points li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 0.95rem; }
.appdl-points .icon { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(212, 166, 52, 0.2); color: var(--gold-hi); }
.appdl-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.appdl-btn {
  display: inline-flex; align-items: center; gap: 12px; min-width: 200px; padding: 12px 20px; border-radius: 16px;
  color: #1a1405; background: var(--gold-grad); text-decoration: none; font-weight: 800;
  box-shadow: 0 10px 30px -12px rgba(212, 166, 52, 0.7); transition: transform 0.2s, box-shadow 0.2s;
}
.appdl-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(212, 166, 52, 0.85); }
.appdl-btn .icon { width: 26px; height: 26px; flex: none; fill: currentColor; stroke: none; }
.appdl-btn span { display: grid; line-height: 1.5; }
.appdl-btn b { font-size: 1rem; }
.appdl-btn small { font-weight: 600; opacity: 0.75; font-size: 0.78rem; }
.appdl-btn.is-soon { color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px dashed var(--line); box-shadow: none; cursor: default; }
.appdl-btn.is-soon:hover { transform: none; }
.appdl-note { margin: 16px 0 0; font-size: 0.9rem; }
.appdl-note a { color: var(--gold-hi); }
/* the visitor's own system comes first (appdl.js sets data-mine) */
.appdl [data-mine-first] { order: -1; }
.appdl-art { position: relative; align-self: stretch; display: grid; place-items: center; min-height: 260px; }
.appdl-art::before { content: ""; position: absolute; inset: 10% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 166, 52, 0.35), transparent 72%); filter: blur(14px); }
.appdl-art img { position: relative; width: 100%; height: auto; max-height: 560px; object-fit: contain; }
@media (max-width: 940px) {
  .appdl-card { grid-template-columns: 1fr; }
  .appdl-art { order: -1; min-height: 0; padding: 18px 12px 0; }
  .appdl-btn { flex: 1 1 200px; }
}
/* /download */
.appdl-hero p { color: var(--muted); max-width: 62ch; }
.appdl-page { padding-block: clamp(24px, 4vw, 56px); }
.appdl-list { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.appdl-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(165deg, rgba(212, 166, 52, 0.08), rgba(212, 166, 52, 0.015)); }
.appdl-row.is-mine { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(212, 166, 52, 0.35); }
.appdl-os { width: 40px; height: 40px; flex: none; color: var(--gold-hi); fill: currentColor; stroke: none; }
.appdl-row-main { flex: 1 1 260px; min-width: 0; }
.appdl-row h2 { font-size: 1.15rem; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.appdl-row p { margin: 0; color: var(--muted); line-height: 1.9; font-size: 0.92rem; }
.appdl-meta { color: var(--gold-hi); font-size: 0.82rem; }
.appdl-mine { font-size: 0.72rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: rgba(212, 166, 52, 0.2); color: var(--gold-hi); }
.appdl-row .is-disabled { opacity: 0.55; cursor: default; pointer-events: none; }
.appdl-steps { max-width: 820px; margin: 40px auto 0; }
.appdl-steps ol { margin: 0 0 14px; padding-inline-start: 1.3rem; color: var(--text); line-height: 2.1; }
.appdl-foot { color: var(--muted); font-size: 0.9rem; line-height: 2; }
.appdl-sha { display: block; margin-top: 4px; color: var(--muted); font-size: 0.72rem; word-break: break-all; }
.appdl-sha code { font-family: ui-monospace, Consolas, monospace; }

.cart-hex.has-img { background: none; }
.cart-hex img { display: block; width: 100%; height: 100%; object-fit: cover; }
