/* ==========================================================================
   Sporting Gym Elite — styles.css
   1. Tokens        2. Base        3. Utilities     4. Header
   5. Buttons       6. Hero        7. Ticker        8. Facts
   9. Section head  10. Plans      11. Shop         12. Flow + payment
   13. Why          14. Optional   15. Find         16. Footer
   17. Overlays     18. Mobile bar 19. Responsive   20. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* surfaces */
  --ink: #08080a;
  --coal: #101012;
  --steel: #17171a;
  --steel-2: #1e1e22;
  --line: #26262b;
  --line-2: #35353c;

  /* brand */
  --red: #e0101c;
  --red-hot: #ff303c;
  --red-deep: #a80c15;
  --gold: #ffd21f;
  --bone: #f5f4f1;
  --mute: #9d9da6;
  --mute-2: #75757e;

  /* type */
  --fk: 'Noto Kufi Arabic', 'Cairo', system-ui, sans-serif;   /* arabic display */
  --fb: 'IBM Plex Sans Arabic', 'Cairo', system-ui, sans-serif;
  --fd: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --fl: 'Barlow', system-ui, sans-serif;
  --fnum: var(--fk);

  /* spacing scale (4 → 128) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --r: 3px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -28px rgba(0, 0, 0, .9);
  --shadow-2: 0 24px 60px -28px rgba(0, 0, 0, .95);

  color-scheme: dark;
}
html[lang="en"] {
  --fb: var(--fl);
  --fk: var(--fd);
  --fnum: var(--fd);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--fb);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { line-height: 1.65; }

img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--fk);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0;
  margin: 0;
  text-wrap: balance;
}
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 {
  font-family: var(--fd);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: .005em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}
::selection { background: var(--red); color: #fff; }

/* 3. Utilities ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.skip {
  position: absolute;
  inset-inline-start: 50%;
  transform: translate(-50%, -120%);
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  padding: 10px 18px;
  text-decoration: none;
  transition: transform .18s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }

/* 4. Header ---------------------------------------------------------------- */
.site {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(120%);
}
@supports not (backdrop-filter: blur(1px)) { .site { background: var(--ink); } }

.bar {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 46px; height: 46px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 1px var(--line-2);
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-txt b {
  font-family: var(--fk);
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
}
.brand-txt i {
  font-family: var(--fk);
  font-style: normal;
  font-weight: 800;
  font-size: .82rem;
  color: var(--red-hot);
  white-space: nowrap;
}
html[lang="en"] .brand-txt b { font-family: var(--fd); font-style: italic; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em; }
html[lang="en"] .brand-txt i { font-family: var(--fd); font-style: italic; text-transform: uppercase; font-size: 1rem; letter-spacing: .14em; }

.nav {
  display: flex;
  gap: 2px;
  margin-inline-start: auto;
}
.nav a {
  position: relative;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  color: var(--mute);
  border-radius: var(--r);
  transition: color .15s, background .15s;
}
.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .22s var(--ease);
}
.nav a:hover { color: var(--bone); }
.nav a:hover::after { transform: scaleX(1); }

.tools { display: flex; align-items: center; gap: 8px; margin-inline-start: var(--s2); }
.ibtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  min-width: 42px;
  padding-inline: 12px;
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--bone);
  font-weight: 600;
  font-size: .88rem;
  transition: border-color .15s, background .15s, transform .15s;
}
.ibtn:hover { border-color: var(--line-2); background: var(--steel-2); }
.ibtn:active { transform: translateY(1px); }
.ibtn svg { width: 21px; height: 21px; flex: none; }
.ibtn.lang { font-family: var(--fd); font-weight: 700; letter-spacing: .06em; font-size: .9rem; }
.badge {
  position: absolute;
  inset-block-start: -7px;
  inset-inline-end: -7px;
  min-width: 21px;
  height: 21px;
  padding-inline: 5px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  border-radius: 11px;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px var(--ink);
  animation: pop .3s var(--ease);
}
@keyframes pop { from { transform: scale(.5); } to { transform: scale(1); } }
.menu-btn { display: none; }

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  --bg: var(--red);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .9em 1.5em;
  background: var(--bg);
  color: var(--fg);
  border: 0;
  border-radius: 2px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background .16s, color .16s, transform .16s, box-shadow .16s;
}
.btn:hover { background: var(--red-hot); }
.btn:active { transform: translateY(1px); }
.btn .arw { width: 19px; height: 19px; transition: transform .2s var(--ease); }
html[dir="rtl"] .btn .arw { transform: scaleX(-1); }
.btn:hover .arw { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .arw { transform: scaleX(-1) translateX(3px); }

.btn.ghost {
  background: transparent;
  color: var(--bone);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn.ghost:hover { background: var(--bone); color: var(--ink); box-shadow: none; }
.btn.dark { background: var(--ink); color: var(--bone); }
.btn.dark:hover { background: #000; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1100px 520px at 78% 8%, rgba(224, 16, 28, .22), transparent 68%),
    radial-gradient(700px 400px at 8% 100%, rgba(224, 16, 28, .08), transparent 70%),
    linear-gradient(180deg, #0d0d10, var(--ink) 85%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 88px);
  mask-image: linear-gradient(180deg, #000, transparent 78%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 88px) clamp(44px, 6vw, 76px);
}
.hero-copy { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 var(--s5);
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(255, 255, 255, .02);
  color: #dcdce2;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red-hot);
  box-shadow: 0 0 0 0 rgba(255, 48, 60, .7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 48, 60, .55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 48, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 48, 60, 0); }
}

.hero-title { margin: 0; }
.hero-title .t1 {
  display: block;
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--bone);
}
.hero-title .t2 {
  display: block;
  font-size: clamp(3.6rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--red);
  text-shadow: 0 0 60px rgba(224, 16, 28, .45);
}
html[lang="en"] .hero-title .t1 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1; letter-spacing: .02em; }
html[lang="en"] .hero-title .t2 { font-size: clamp(4rem, 11vw, 8rem); letter-spacing: -.005em; }

.lede {
  margin: var(--s5) 0 var(--s6);
  max-width: 36ch;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  color: #d5d5db;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); }
.from {
  margin-top: var(--s5);
  color: var(--mute);
  font-size: .92rem;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.from b { color: var(--gold); font-family: var(--fnum); font-size: 1.25rem; font-weight: 800; }

.hero-art { position: relative; min-width: 0; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 8% 2% 4% 6%;
  border: 1px solid rgba(224, 16, 28, .45);
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
}
.hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 74% 80% at 50% 48%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 74% 80% at 50% 48%, #000 60%, transparent 100%);
}
.hero-badge {
  position: absolute;
  z-index: 2;
  inset-block-end: 6%;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  padding: 8px 14px;
  background: var(--red);
  color: #fff;
  font-family: var(--fd);
  font-style: italic;
  font-weight: 800;
  letter-spacing: .22em;
  font-size: .82rem;
  border-radius: 2px;
}

/* 7. Ticker ---------------------------------------------------------------- */
.ticker {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  padding-block: 11px;
  border-block: 1px solid var(--red-deep);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: slide 34s linear infinite;
}
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding-inline: 1.4rem;
  font-family: var(--fd);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker span::after { content: "/"; opacity: .5; }
@keyframes slide { to { transform: translateX(-50%); } }
html[dir="rtl"] .ticker-track { animation-name: slide-rtl; }
@keyframes slide-rtl { to { transform: translateX(50%); } }

/* 8. Facts ----------------------------------------------------------------- */
.facts { background: var(--coal); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact {
  padding: var(--s5) var(--s5) var(--s5) 0;
  border-inline-start: 1px solid var(--line);
  padding-inline-start: var(--s5);
  min-width: 0;
}
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact b {
  display: block;
  font-family: var(--fk);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.3;
}
html[lang="en"] .fact b { font-family: var(--fd); font-style: italic; text-transform: uppercase; }
.fact span { color: var(--mute); font-size: .92rem; }

/* 9. Section head ---------------------------------------------------------- */
.sec { padding-block: clamp(56px, 8vw, 104px); scroll-margin-top: 80px; }
.sec-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--s3);
  color: var(--red-hot);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.label .n {
  font-family: var(--fd);
  font-style: italic;
  font-weight: 800;
  font-size: .95rem;
  color: var(--gold);
  letter-spacing: .04em;
  padding-inline-end: 10px;
  border-inline-end: 1px solid var(--line-2);
}
.sec-head h2 { font-size: clamp(1.75rem, 4.2vw, 2.9rem); }
.sec-head .sub {
  margin-top: var(--s3);
  color: var(--mute);
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  max-width: 52ch;
}

/* 10. Plans ---------------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s5);
  background: linear-gradient(180deg, #141417, var(--coal) 60%);
  border: 1px solid var(--line);
  border-radius: var(--r);
  min-width: 0;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.plan:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.plan.best {
  border-color: rgba(224, 16, 28, .75);
  box-shadow: 0 0 0 1px rgba(224, 16, 28, .18), 0 30px 60px -34px rgba(224, 16, 28, .75);
  background: linear-gradient(180deg, #1c1012, var(--coal) 62%);
}
.plan-flag {
  position: absolute;
  inset-block-start: -11px;
  inset-inline-start: var(--s5);
  background: var(--gold);
  color: #0a0a0b;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 3px 10px;
  border-radius: 2px;
}
.plan-name {
  font-family: var(--fk);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.4;
  color: #e8e8ee;
}
html[lang="en"] .plan-name { font-family: var(--fd); font-style: italic; text-transform: uppercase; font-size: 1.35rem; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: .3em;
  margin: var(--s3) 0 2px;
  color: var(--gold);
}
.plan-price b {
  font-family: var(--fnum);
  font-weight: 800;
  font-size: clamp(2rem, 2.9vw, 2.5rem);
  line-height: 1;
  letter-spacing: -.01em;
}
.plan-price small { font-size: .82rem; font-weight: 600; color: var(--mute); }
.plan-per { color: var(--mute); font-size: .86rem; min-height: 1.4em; }
.plan-save {
  display: inline-block;
  min-height: 1.5em;
  margin-top: var(--s2);
  padding: 2px 9px;
  border: 1px solid rgba(255, 210, 31, .4);
  border-radius: 100px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 600;
  align-self: flex-start;
}
.plan-save.ghost { border-color: transparent; visibility: hidden; }
.plan ul {
  display: grid;
  gap: 7px;
  margin: var(--s4) 0 var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
  color: #cfcfd6;
  font-size: .88rem;
}
.plan li { display: flex; gap: 9px; line-height: 1.6; }
.plan li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  margin-block-start: .6em;
  background: var(--red);
  transform: skewX(-18deg);
}
.plan .btn { margin-top: auto; width: 100%; }

.compare {
  margin-top: var(--s6);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--coal);
  overflow: hidden;
}
.compare summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  list-style: none;
  color: #dcdce2;
}
.compare summary::-webkit-details-marker { display: none; }
.compare summary:hover { color: #fff; background: rgba(255, 255, 255, .02); }
.compare summary svg { transition: transform .2s var(--ease); color: var(--mute); flex: none; }
.compare[open] summary svg { transform: rotate(180deg); }
.compare[open] summary { border-bottom: 1px solid var(--line); }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 13px var(--s5); text-align: start; border-top: 1px solid var(--line); white-space: nowrap; }
thead th { border-top: 0; color: var(--mute); font-weight: 600; font-size: .82rem; }
tbody tr:hover { background: rgba(255, 255, 255, .02); }
td.gold, th.gold { color: var(--gold); font-weight: 700; }
#planTable { min-width: 560px; }
#planTable .cta-cell { padding-block: 10px; }
#planTable .mini {
  display: inline-flex;
  padding: 6px 14px;
  background: var(--steel);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--bone);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
#planTable .mini:hover { background: var(--red); border-color: var(--red); }

/* 11. Shop ---------------------------------------------------------------- */
.shop { background: var(--coal); border-block: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s5); }
.chip {
  padding: 7px 16px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--mute);
  font-weight: 500;
  font-size: .9rem;
  transition: color .15s, border-color .15s, background .15s;
}
.chip:hover { color: var(--bone); border-color: var(--mute-2); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  min-width: 0;
  transition: border-color .18s, transform .18s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 38%, #242429, var(--ink) 74%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.art svg { width: 70%; height: 70%; transition: transform .35s var(--ease); }
.card:hover .art svg { transform: scale(1.06) rotate(-1.5deg); }
.card-body { display: flex; flex-direction: column; gap: 3px; padding: var(--s4); flex: 1; }
.cat {
  color: var(--red-hot);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.card h3 {
  font-family: var(--fb);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: #ececf1;
}
html[lang="en"] .card h3 { font-family: var(--fl); font-style: normal; text-transform: none; font-weight: 600; font-size: 1rem; }
.size { color: var(--mute); font-size: .84rem; }
.buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  margin-top: auto;
  padding-top: var(--s3);
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--gold);
  font-family: var(--fnum);
  font-weight: 800;
  font-size: 1.28rem;
  line-height: 1;
}
.price-tag small { font-family: var(--fb); font-weight: 500; font-size: .74rem; color: var(--mute); }
.add {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  background: var(--steel);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--bone);
  font-size: .84rem;
  font-weight: 600;
  transition: background .15s, border-color .15s;
}
.add svg { width: 14px; height: 14px; }
.add:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* 12. Flow + payment ------------------------------------------------------- */
.pay {
  background:
    radial-gradient(760px 380px at 12% 0%, rgba(224, 16, 28, .12), transparent 68%),
    var(--ink);
  border-bottom: 1px solid var(--line);
}
.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.flow li {
  position: relative;
  display: grid;
  gap: 5px;
  padding: var(--s5) var(--s4) var(--s4);
  background: var(--coal);
  border: 1px solid var(--line);
  border-radius: var(--r);
  min-width: 0;
}
.flow li::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: var(--s4);
  width: 34px;
  height: 2px;
  background: var(--red);
}
.step-n {
  font-family: var(--fd);
  font-style: italic;
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--line-2);
}
.flow b { font-size: 1rem; font-weight: 700; }
.flow span:last-child { color: var(--mute); font-size: .9rem; line-height: 1.6; }

.pay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 16px);
}
.due {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  padding: var(--s4) var(--s5);
  background: linear-gradient(100deg, #1a1013, var(--coal) 62%);
  border: 1px solid rgba(224, 16, 28, .35);
  border-radius: var(--r);
  min-width: 0;
}
.due-label { color: var(--mute); font-size: .82rem; font-weight: 600; flex: none; }
.due b {
  display: block;
  font-family: var(--fnum);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  line-height: 1.1;
  color: var(--gold);
  flex: none;
}
.due b.dash { color: var(--mute-2); font-size: 1.9rem; }
.due b small { font-size: .5em; color: var(--mute); font-weight: 600; margin-inline-start: 4px; }
.due > span:not(.due-label) { color: var(--mute); font-size: .86rem; line-height: 1.6; flex: 1 1 240px; min-width: 0; }
.due .btn { margin: 0; margin-inline-start: auto; flex: none; }

.methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr));
  align-items: start;
  gap: clamp(10px, 1.2vw, 14px);
}
.methods.in-modal { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.methods.in-modal .method { padding: 12px 14px; }
.method {
  display: grid;
  align-content: start;
  gap: var(--s2);
  padding: var(--s4);
  background: var(--coal);
  border: 1px solid var(--line);
  border-radius: var(--r);
  min-width: 0;
  transition: border-color .16s, background .16s;
}
.method:hover { border-color: var(--line-2); }
.method-top { display: flex; align-items: center; gap: 9px; }
.method-ico {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  background: rgba(224, 16, 28, .12);
  border: 1px solid rgba(224, 16, 28, .3);
  border-radius: 2px;
  color: var(--red-hot);
}
.method-ico svg { width: 16px; height: 16px; }
.method-top b { font-size: .95rem; font-weight: 700; }
.method-holder { color: var(--mute); font-size: .82rem; }
.method-val {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: 8px 10px;
  background: var(--ink);
  border: 1px dashed var(--line-2);
  border-radius: 2px;
}
.method-val code {
  font-family: var(--fl);
  font-size: .95rem;
  letter-spacing: .04em;
  direction: ltr;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
  color: #e9e9ef;
}
.method-val.is-empty code { color: var(--mute-2); font-style: italic; letter-spacing: 0; font-size: .86rem; }
.copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 4px 9px;
  background: var(--steel);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--bone);
  font-size: .76rem;
  font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}
.copy svg { width: 13px; height: 13px; }
.copy:hover { background: var(--red); border-color: var(--red); color: #fff; }
.copy.done { background: var(--gold); border-color: var(--gold); color: #000; }
.pickbtn {
  margin-inline-start: auto;
  flex: none;
  padding: 4px 10px;
  background: var(--steel);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--bone);
  font-size: .74rem;
  font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}
.pickbtn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.method.picked { border-color: rgba(224, 16, 28, .8); background: linear-gradient(180deg, #1b1013, var(--coal) 70%); }
.method.picked .pickbtn { background: var(--red); border-color: var(--red); color: #fff; }

.pay-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4);
  margin-top: var(--s5);
}
.pay-note { color: var(--mute); font-size: .9rem; max-width: 52ch; flex: 1 1 320px; }
.pay-foot .btn { flex: none; }

/* 13. Why ----------------------------------------------------------------- */
.feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.feat {
  padding-block: var(--s5);
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.feat h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); margin-bottom: 6px; }
html[lang="en"] .feat h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.feat p { color: var(--mute); font-size: .95rem; }

/* 14. Optional sections --------------------------------------------------- */
.opt { border-top: 1px solid var(--line); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: var(--s4); }
.team-card {
  padding: var(--s5) var(--s4);
  background: var(--coal);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.team-card b { display: block; font-size: 1.05rem; }
.team-card span { color: var(--red-hot); font-size: .85rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: var(--s3); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--s4); }
.review {
  padding: var(--s5);
  background: var(--coal);
  border: 1px solid var(--line);
  border-radius: var(--r);
  border-inline-start: 2px solid var(--red);
}
.review p { color: #d5d5db; font-size: .95rem; }
.review b { display: block; margin-top: var(--s3); font-size: .88rem; color: var(--mute); }
.sched { min-width: 480px; }

/* 15. Find ---------------------------------------------------------------- */
.find { background: var(--coal); border-top: 1px solid var(--line); }
.find-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.info { display: grid; gap: var(--s4); margin: 0; }
.info > div { padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.info dt { color: var(--red-hot); font-size: .78rem; font-weight: 600; }
.info dd { margin: 2px 0 0; font-size: 1.02rem; }
.info dd.ltr { font-family: var(--fl); letter-spacing: .04em; }
.find-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }

.joinbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s3);
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(150deg, var(--red), #b90d17);
  border-radius: var(--r);
  min-width: 0;
  position: relative;
  overflow: hidden;
  align-self: center;
}
.joinbox::after {
  content: "";
  position: absolute;
  inset-block-start: -40%;
  inset-inline-end: -20%;
  width: 60%;
  aspect-ratio: 1;
  border: 40px solid rgba(0, 0, 0, .12);
  border-radius: 50%;
}
.joinbox h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; position: relative; }
.joinbox p { color: rgba(255, 255, 255, .88); position: relative; }
.joinbox .btn { align-self: flex-start; margin-top: var(--s2); position: relative; }

/* 16. Footer -------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--line);
  padding-block: var(--s6);
  color: var(--mute);
  font-size: .88rem;
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4) var(--s6);
}
.foot-brand { display: flex; align-items: center; gap: 11px; }
.foot-brand img { width: 40px; height: 40px; border-radius: 50%; }
.foot-brand div { display: grid; line-height: 1.3; }
.foot-brand b { color: var(--bone); font-family: var(--fd); font-style: italic; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; }
.foot-brand span { font-size: .82rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-inline-start: auto; }
.foot-nav a { text-decoration: none; transition: color .15s; }
.foot-nav a:hover { color: var(--bone); }
.foot-meta .ltr { unicode-bidi: isolate; direction: ltr; }
.foot-meta { display: flex; flex-wrap: wrap; gap: var(--s4); width: 100%; padding-top: var(--s4); border-top: 1px solid var(--line); font-size: .82rem; }
.foot-meta a { text-decoration: none; color: var(--mute-2); margin-inline-start: auto; }
.foot-meta a:hover { color: var(--bone); }

/* 17. Overlays ------------------------------------------------------------ */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .2s;
}
.scrim.on { opacity: 1; }
body.locked { overflow: hidden; }

.drawer {
  position: fixed;
  z-index: 80;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--coal);
  border-inline-start: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .28s var(--ease);
  padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px);
}
html[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.on, html[dir="rtl"] .drawer.on { transform: none; }
.drawer header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--line);
}
.drawer h2 { font-size: 1.3rem; }
.drawer .body { flex: 1; overflow-y: auto; padding: var(--s2) var(--s5); }
.drawer .foot { padding: var(--s4) var(--s5); border-top: 1px solid var(--line); display: grid; gap: var(--s3); }
.drawer .empty { color: var(--mute); text-align: center; padding: var(--s8) var(--s4); font-size: .95rem; }

.line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
}
.line b { font-weight: 600; line-height: 1.4; font-size: .95rem; }
.line .lp { color: var(--gold); font-weight: 700; text-align: end; font-size: .95rem; white-space: nowrap; }
.line .size { font-weight: 400; }
.qty { display: inline-flex; align-items: center; justify-self: start; border: 1px solid var(--line-2); border-radius: 2px; }
.qty button {
  width: 30px; height: 30px;
  background: var(--steel);
  border: 0;
  color: var(--bone);
  font-size: 1.05rem;
  line-height: 1;
  transition: background .15s;
}
.qty button:hover { background: var(--red); }
.qty span { min-width: 34px; text-align: center; font-weight: 600; font-size: .9rem; }
.rm {
  justify-self: end;
  background: none;
  border: 0;
  color: var(--mute-2);
  font-size: .8rem;
  text-decoration: underline;
  padding: 0;
}
.rm:hover { color: var(--red-hot); }
.total { display: flex; align-items: baseline; justify-content: space-between; font-weight: 600; }
.total b { color: var(--gold); font-family: var(--fnum); font-size: 1.5rem; font-weight: 800; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  opacity: 0;
  transition: opacity .2s;
}
.modal.on { opacity: 1; }
.sheet {
  position: relative;
  width: min(560px, 100%);
  max-height: 100%;
  overflow-y: auto;
  background: var(--coal);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--r);
  padding: var(--s6) var(--s5) var(--s5);
  box-shadow: var(--shadow-2);
  transform: translateY(10px) scale(.99);
  transition: transform .24s var(--ease);
}
.modal.on .sheet { transform: none; }
.sheet h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin-bottom: var(--s4); }
.x {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  background: transparent;
  border: 0;
  border-radius: 2px;
  color: var(--mute);
}
.x:hover { color: var(--bone); background: var(--steel); }
.x svg { width: 18px; height: 18px; }

.stepper {
  display: flex;
  gap: var(--s4);
  margin-bottom: var(--s5);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--line);
}
.stepper li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--mute-2);
  font-size: .84rem;
  font-weight: 600;
}
.stepper li .num {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: .74rem;
}
.stepper li.on { color: var(--bone); }
.stepper li.on .num { background: var(--red); border-color: var(--red); color: #fff; }
.stepper li.done .num { background: var(--gold); border-color: var(--gold); color: #000; }

form { display: grid; gap: var(--s3); }
label { display: grid; gap: 5px; font-size: .86rem; font-weight: 600; color: var(--mute); }
input, select, textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--bone);
  font-size: .95rem;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 16, 28, .22);
}
input[dir="ltr"] { font-family: var(--fl); letter-spacing: .03em; }
.err { min-height: 1.3em; margin: 0; color: var(--red-hot); font-size: .84rem; font-weight: 600; }
.hint { color: var(--mute); font-size: .84rem; margin-block: var(--s3); line-height: 1.6; }
.row2 { display: flex; gap: var(--s3); margin-top: var(--s3); }
.row2 .btn { flex: 1 1 0; }

.order-recap {
  display: grid;
  gap: 4px;
  padding: var(--s3) var(--s4);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: .88rem;
  color: var(--mute);
}
.order-recap b { color: var(--bone); font-weight: 600; }

.pay-summary {
  display: grid;
  gap: 2px;
  padding: var(--s4);
  margin-bottom: var(--s4);
  background: var(--ink);
  border: 1px solid var(--line);
  border-inline-start: 2px solid var(--gold);
  border-radius: 2px;
}
.pay-summary .k { color: var(--mute); font-size: .8rem; }
.pay-summary .v {
  font-family: var(--fnum);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}
.pay-summary .d { color: var(--mute); font-size: .84rem; }
.methods.in-modal { margin-bottom: var(--s2); }
.sheet .pay-summary { margin-bottom: var(--s3); }

.toast {
  position: fixed;
  z-index: 120;
  inset-inline: 0;
  inset-block-end: max(24px, env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding-inline: 16px;
}
.toast span {
  background: var(--bone);
  color: #08080a;
  font-weight: 600;
  font-size: .9rem;
  padding: 10px 18px;
  border-radius: 2px;
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s var(--ease);
  max-width: 100%;
  text-align: center;
}
.toast.on span { opacity: 1; transform: none; }

/* 18. Mobile cart bar ----------------------------------------------------- */
.mbar {
  position: fixed;
  z-index: 55;
  inset-inline: 0;
  bottom: 0;
  display: none;
  padding: 10px max(14px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-right));
  background: color-mix(in srgb, var(--coal) 96%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transform: translateY(110%);
  transition: transform .24s var(--ease);
}
.mbar.on { transform: none; }
.mbar-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  width: 100%;
  padding: 12px 16px;
  background: var(--red);
  border: 0;
  border-radius: 2px;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
}
.mbar-txt, .mbar-sum { display: inline-flex; align-items: baseline; gap: 5px; }
.mbar-sum b { font-family: var(--fnum); font-size: 1.1rem; }

/* 19. Responsive ---------------------------------------------------------- */
@media (max-width: 1040px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .mbar.on { display: block; }
  body.has-mbar { padding-bottom: 74px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; max-width: 520px; }
  .hero-art::after { display: none; }
  .find-grid { grid-template-columns: minmax(0, 1fr); }
  .pay-grid { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
  .flow li { padding: var(--s4); }
  .flow li::after { display: none; }
  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 6px clamp(16px, 4vw, 32px) 14px;
    background: var(--coal);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
  }
  .nav.on { display: flex; }
  .nav a { padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .menu-btn { display: inline-flex; }
  .tools { margin-inline-start: auto; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { margin-inline-start: 0; }
}

@media (max-width: 620px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .brand-txt b { font-size: .92rem; }
  .brand-txt i { font-size: .76rem; }
  .brand img { width: 40px; height: 40px; }
  .bar { min-height: 62px; gap: 8px; }
  .ibtn { height: 40px; min-width: 40px; padding-inline: 10px; }
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .fact { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-block: var(--s4); }
  .fact:first-child { border-top: 0; padding-block-start: var(--s5); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-title .t2 { font-size: clamp(3.2rem, 16vw, 4.6rem); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 158px), 1fr)); gap: 10px; }
  .card-body { padding: 12px; gap: 2px; }
  .card h3 { font-size: .92rem; }
  .buy { flex-direction: column; align-items: flex-start; gap: 8px; }
  .add { width: 100%; justify-content: center; }
  .price-tag { font-size: 1.12rem; }
  .methods { grid-template-columns: minmax(0, 1fr); }
  .pay-foot .btn { width: 100%; }
  .sheet { padding: var(--s5) var(--s4) var(--s4); }
  .toast { inset-block-end: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .mbar.on ~ .toast { inset-block-end: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .foot-meta a { margin-inline-start: 0; }
  .row2 { flex-direction: column; }
}

@media (max-width: 400px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .card { flex-direction: row; }
  .art { width: 108px; flex: none; aspect-ratio: auto; border-bottom: 0; border-inline-end: 1px solid var(--line); }
  .art svg { width: 84%; height: 84%; }
  .card-body { padding: 10px 12px; }
  .buy { flex-direction: row; align-items: center; width: 100%; }
  .add { width: auto; }
}

/* 20. Motion -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ticker-track { animation: none; }
}
