/* =========================================================
   SOLID PERFORMANCE's own look (2026-11-15). A shop file: update_shop.py never changes it.
   Black, the logo's orange (#F08020), the gym clock's red LED, Olympic bumper plate colours
   (25 red, 20 blue, 15 yellow, 10 green, 5 white). Headings: Anton (Arabic: Changa).
   ========================================================= */
:root { --display: "Anton", "Impact", "Arial Narrow", sans-serif; --sp-orange: #F08020; --sp-led: #FF2D20; --sp-black: #0B0B0C; --sp-coal: #141415; }
html[lang="ar"] { --display: "Changa", "Tajawal", sans-serif; }
h1, h2 { font-weight: 400; letter-spacing: .01em; }
html[lang="en"] h1, html[lang="en"] h2 { text-transform: uppercase; }
html[lang="ar"] h1, html[lang="ar"] h2 { font-weight: 800; }
.card-name { font-family: "Anton", "Impact", sans-serif; font-weight: 400; font-size: 17px; letter-spacing: .01em; color: #111 !important; }
html[lang="ar"] .card-name, html[lang="ar"] .line-name, html[lang="ar"] .pdp-title h1 { font-family: "Anton", "Changa", sans-serif; font-weight: 400; }
.pdp-title h1 { font-size: 32px; }
@media (min-width: 720px) { .card-name { font-size: 19px; } }

/* ---------- LED digits (sp.js led()) ---------- */
.led { display: inline-flex; align-items: center; gap: .09em; direction: ltr; font-size: var(--led, 44px); line-height: 1; transform: skewX(-7deg);
  filter: drop-shadow(0 0 .06em rgba(255, 45, 32, .85)) drop-shadow(0 0 .22em rgba(255, 45, 32, .35)); }
.led-big { --led: 54px; } .led-mid { --led: 38px; }
.ld { position: relative; width: .6em; height: 1em; flex: none; }
.ld .s { position: absolute; background: rgba(255, 45, 32, .085); transition: background .08s; }
.ld .s.on { background: var(--sp-led); }
.ld .a, .ld .g, .ld .d { left: 11%; width: 78%; height: 11%; clip-path: polygon(0 50%, 16% 0, 84% 0, 100% 50%, 84% 100%, 16% 100%); }
.ld .a { top: 0; } .ld .g { top: 44.5%; } .ld .d { bottom: 0; }
.ld .b, .ld .c, .ld .e, .ld .f { width: 16%; height: 43%; clip-path: polygon(50% 0, 100% 13%, 100% 87%, 50% 100%, 0 87%, 0 13%); }
.ld .f { left: 0; top: 5%; } .ld .b { right: 0; top: 5%; } .ld .e { left: 0; bottom: 5%; } .ld .c { right: 0; bottom: 5%; }
.lc, .lp { position: relative; width: .2em; height: 1em; flex: none; }
.lc i, .lp i { position: absolute; left: 25%; width: 50%; height: 11%; border-radius: 2px; background: var(--sp-led); }
.lc i:first-child { top: 26%; } .lc i:last-child { top: 63%; } .lp i { bottom: 0; }
.sp-unit { font-family: "Anton", sans-serif; color: #8B8B8B; font-size: 15px; letter-spacing: .08em; margin-inline-start: 6px; }

/* ---------- sizes / flavours / colours (product page and the 175 card) ---------- */
.sp-opt { margin: 14px 0 6px; }
.sp-opt-h { margin: 0 0 8px; font-size: 14px; font-weight: 500; }
.sp-opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-opt-chip { min-width: 52px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--mist); background: #fff; font-weight: 600; font-size: 14px; color: #111;
  transition: border-color .15s, background .15s, transform .15s; }
.sp-opt-chip:hover { border-color: #111; }
.sp-opt-chip[aria-checked="true"] { background: #111; border-color: #111; color: #fff; }
.sp-opt.need .sp-opt-row { animation: sp-nope .42s; }
.sp-opt.need .sp-opt-chip { border-color: var(--sp-orange); }
@keyframes sp-nope { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

/* ---------- a plate flies into the bag ---------- */
.sp-flyplate { position: fixed; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; z-index: 9998; pointer-events: none;
  background: radial-gradient(circle, #1b1b1b 0 12%, #9a9a9a 13% 24%, #3a3a3a 25% 27%, var(--c) 28% 90%, rgba(0,0,0,.35) 91%); box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.sp-clank { animation: sp-clank .5s .62s; }
@keyframes sp-clank { 0% { transform: none; } 25% { transform: translateY(3px) rotate(-8deg); } 50% { transform: translateY(-2px) rotate(6deg); } 75% { transform: rotate(-3deg); } 100% { transform: none; } }

/* =========================================================
   HOME
   ========================================================= */
.sp-home { background: var(--sp-black); color: #fff; }
.sp-home .site-footer, .sp-home footer { position: relative; }
.sp-wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1120px; margin-left: auto; margin-right: auto; }
.sp-kicker { margin: 0 0 6px; font-family: "Anton", sans-serif; color: var(--sp-orange); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .sp-kicker { font-family: "Changa", sans-serif; font-weight: 700; letter-spacing: 0; font-size: 15px; }
.sp-home h2 { font-size: 38px; line-height: 1; color: #fff; }
.sp-sub { color: #A9A9A9; margin: 10px 0 0; max-width: 560px; }
.sp-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--sp-orange); border-bottom: 2px solid currentColor; padding: 0; line-height: 1.2; }
.sp-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sp-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border-radius: 14px; background: var(--sp-orange); color: #111; border: 0;
  font-family: "Anton", sans-serif; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 10px 28px rgba(240, 128, 32, .28); transition: transform .15s, box-shadow .15s; }
html[lang="ar"] .sp-btn { font-family: "Changa", sans-serif; font-weight: 800; letter-spacing: 0; }
.sp-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(240, 128, 32, .38); }
.sp-btn:active { transform: translateY(1px); }

/* ---------- 1 the ignition ---------- */
html.sp-lock, html.sp-lock body { overflow: hidden; }
.sp-intro::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, #1a1a1c 0%, #050506 70%); transition: opacity .45s .3s; }
.sp-intro.boom::before { opacity: 0; }
.sp-intro { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; overflow: hidden;
  transition: opacity .5s; }
.sp-intro[hidden] { display: none; }
.sp-intro.out { opacity: 0; pointer-events: none; }
/* after the blast the black falls away and the chalk keeps flying over the page */
.sp-intro.boom { pointer-events: none; }
.sp-intro.boom .sp-skip { opacity: 0; }
.sp-dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.sp-intro-core { position: relative; width: min(78vw, 400px); aspect-ratio: 1; display: grid; place-items: center; }
.sp-clock { position: absolute; inset: auto 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 26px 16px; background: linear-gradient(#141414, #0c0c0c);
  border: 1px solid #262626; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06); transition: transform .55s cubic-bezier(.5,-0.3,.4,1.3), opacity .4s; z-index: 2; }
.sp-clock .led { --led: clamp(52px, 17vw, 84px); }
.sp-clock-cap { font-family: "Anton", sans-serif; font-size: 11px; letter-spacing: .3em; color: #6F6F6F; }
.sp-intro.solid .sp-clock .led { animation: sp-blink .45s steps(2) 1; }
@keyframes sp-blink { 50% { opacity: .15; } }
.sp-bomb { position: absolute; width: 100%; height: auto; opacity: 0; transform: scale(.2) rotate(-20deg); transition: transform .6s cubic-bezier(.3,1.6,.5,1), opacity .25s; z-index: 1; }
.sp-intro.bomb .sp-clock { transform: translateY(calc(-50% - 42vmin)) scale(.62); opacity: .9; }
.sp-intro.bomb .sp-bomb { opacity: 1; transform: scale(1) rotate(0); }
.sp-intro.fuse .sp-bomb { animation: sp-tremble .8s linear forwards; }
@keyframes sp-tremble { 0% { transform: scale(1); } 20% { transform: scale(1.01) rotate(-1deg); } 40% { transform: scale(1.03) rotate(1.5deg); } 60% { transform: scale(1.05) rotate(-2.5deg); }
  80% { transform: scale(1.09) rotate(3deg); } 100% { transform: scale(1.14) rotate(-3deg); } }
.sp-intro.boom .sp-bomb { animation: none; transform: scale(1.9); opacity: 0; transition: transform .35s ease-out, opacity .3s; }
.sp-intro.boom .sp-clock { opacity: 0; }
.sp-intro::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, #fff 0%, #FFD7A8 30%, rgba(240,128,32,.9) 55%, rgba(240,128,32,0) 80%); opacity: 0; z-index: 2; pointer-events: none; }
.sp-intro.boom::after { animation: sp-boom .7s ease-out forwards; }
@keyframes sp-boom { 0% { opacity: 0; transform: scale(.4); } 12% { opacity: 1; } 100% { opacity: 0; transform: scale(2.2); } }
.sp-ring { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px; border-radius: 50%; border: 6px solid var(--sp-orange); opacity: 0; z-index: 2; }
.sp-ring.go { animation: sp-ring .8s ease-out forwards; }
@keyframes sp-ring { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(90); border-width: 1px; } }
.sp-skip { position: absolute; bottom: calc(26px + var(--safe-b)); left: 50%; transform: translateX(-50%); z-index: 4; min-height: 44px; padding: 0 22px; border-radius: 22px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #CFCFCF; font-size: 14px; letter-spacing: .06em; }
#main.sp-shake { animation: sp-shake .5s; }
@keyframes sp-shake { 10%, 50%, 90% { transform: translate(-6px, 3px); } 30%, 70% { transform: translate(6px, -3px); } }

/* ---------- 2 the lift ---------- */
.sp-lift { position: relative; height: 320vh; background: var(--sp-black); }
/* the plates come in from off screen: clip them, or a right-to-left page scrolls sideways (overflow: clip keeps the pin sticky) */
.sp-lift, .sp-lift-pin { overflow-x: clip; }
.sp-home { overflow-x: clip; }
.sp-lift-pin { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h) - var(--bottomnav-h) - var(--safe-b)); min-height: 520px;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px; padding: 12px var(--gutter) 12px; max-width: 1120px; margin: 0 auto; box-sizing: border-box; }
.sp-board { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 16px; background: linear-gradient(#151515, #0d0d0d);
  border: 1px solid #262626; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); transition: box-shadow .4s, border-color .4s; }
.sp-board-led { display: flex; align-items: flex-end; }
.sp-board-side { display: flex; flex-direction: column; align-items: flex-end; text-align: end; min-width: 0; }
.sp-board-k { font-family: "Anton", sans-serif; font-size: 11px; letter-spacing: .24em; color: #6F6F6F; }
html[lang="ar"] .sp-board-k { font-family: "Changa", sans-serif; letter-spacing: 0; font-size: 12px; }
.sp-board-v { font-family: "Anton", sans-serif; font-size: 18px; color: #fff; letter-spacing: .02em; text-transform: uppercase; line-height: 1.15; }
html[lang="ar"] .sp-board-v { font-family: "Changa", sans-serif; font-weight: 800; text-transform: none; }
.sp-board-v.pop { animation: sp-pop .35s; }
@keyframes sp-pop { 0% { transform: scale(.85); opacity: .2; } 60% { transform: scale(1.06); } 100% { transform: none; opacity: 1; } }
.maxed .sp-board { border-color: rgba(240,128,32,.7); box-shadow: 0 0 0 1px rgba(240,128,32,.4), 0 0 40px rgba(240,128,32,.25); }
.maxed .sp-board-v { color: var(--sp-orange); }
.sp-photo { position: relative; overflow: hidden; border-radius: 20px; background: #161616; min-height: 0; }
.sp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity .35s; will-change: transform, opacity; }
.sp-photo img.on { opacity: 1; }
.sp-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,0) 60%, rgba(11,11,12,.55)); pointer-events: none; }
.sp-flash { position: absolute; inset: 0; z-index: 2; background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.95), rgba(240,128,32,.45) 45%, transparent 75%); opacity: 0; pointer-events: none; }
.sp-flash.go { animation: sp-flash .6s ease-out; }
@keyframes sp-flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }
.sp-bar { position: relative; height: clamp(84px, 14vh, 130px); direction: ltr; }
.sp-shaft { position: absolute; left: 3%; right: 3%; top: 50%; height: 7px; margin-top: -3.5px; border-radius: 4px; background: linear-gradient(#e9e9e9, #8d8d8d 55%, #5a5a5a); }
.sp-sleeve { position: absolute; top: 50%; height: 15px; margin-top: -7.5px; width: 25%; border-radius: 4px; background: linear-gradient(#f2f2f2, #9c9c9c 55%, #636363); }
.sp-sleeve.l { left: 1.5%; } .sp-sleeve.r { right: 1.5%; }
.sp-pl { position: absolute; left: 0; border-radius: 5px; background: linear-gradient(90deg, rgba(0,0,0,.28), transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%, rgba(0,0,0,.3)), var(--c);
  box-shadow: 0 6px 14px rgba(0,0,0,.45); opacity: 0; will-change: transform; display: grid; place-items: center; overflow: hidden; }
.sp-pl em { font-style: normal; font-family: "Anton", sans-serif; font-size: 11px; color: rgba(255,255,255,.92); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .05em; }
.sp-collar { position: absolute; left: 0; border-radius: 3px; background: linear-gradient(90deg, #555, #ddd 50%, #555); opacity: 0; }
.maxed .sp-bar { animation: sp-whip .55s; }
@keyframes sp-whip { 30% { transform: translateY(-5px); } 60% { transform: translateY(3px); } }
.sp-cue { position: absolute; left: 50%; bottom: calc(clamp(84px, 14vh, 130px) + 28px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: "Anton", sans-serif; font-size: 12px; letter-spacing: .3em; color: #fff; transition: opacity .3s; pointer-events: none; z-index: 3; }
html[lang="ar"] .sp-cue { font-family: "Changa", sans-serif; letter-spacing: 0; }
.sp-cue i { width: 2px; height: 28px; background: linear-gradient(#fff, transparent); animation: sp-cue 1.4s infinite; }
@keyframes sp-cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.sp-legend { display: none; list-style: none; margin: 0; padding: 0; gap: 6px; }
.sp-legend li { display: grid; grid-template-columns: 18px 46px 1fr; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #121212; border: 1px solid #1f1f1f;
  color: #5d5d5d; transition: color .3s, border-color .3s, background .3s; }
.sp-legend li i { width: 14px; height: 14px; border-radius: 50%; background: var(--c, var(--sp-orange)); opacity: .25; transition: opacity .3s, box-shadow .3s; }
.sp-legend li b { font-family: "Anton", sans-serif; font-weight: 400; font-size: 20px; }
.sp-legend li.on { color: #fff; border-color: #2c2c2c; }
.sp-legend li.on i { opacity: 1; box-shadow: 0 0 10px var(--c, var(--sp-orange)); }
.sp-legend li.total.on { border-color: rgba(240,128,32,.6); color: var(--sp-orange); }

/* ---------- the 175 shirt ---------- */
.sp-175 { display: grid; gap: 22px; padding-top: 56px; padding-bottom: 40px; align-items: center; }
.sp-175-pic { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 22px; background: transparent; aspect-ratio: 1; perspective: 1400px; cursor: pointer; }
.sp-flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3,1.3,.5,1); }
.sp-175-pic.flip .sp-flip { transform: rotateY(180deg); }
.sp-flip .face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.sp-flip .face.front { transform: rotateY(180deg); }
.sp-flip-hint { position: absolute; bottom: 14px; inset-inline-end: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgba(11,11,12,.75); display: grid; place-items: center; z-index: 2; }
.sp-flip-hint svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .sp-175-pic:hover .sp-flip { transform: rotateY(180deg); } .sp-175-pic.flip:hover .sp-flip { transform: none; } }
.sp-175 .sp-kicker { font-size: 56px; letter-spacing: .02em; color: var(--sp-led); text-shadow: 0 0 22px rgba(255,45,32,.5); line-height: 1; }
html[lang="ar"] .sp-175 .sp-kicker { font-family: "Anton", sans-serif; font-size: 56px; }
.sp-175 h2 { font-size: 34px; }
.sp-175-copy > p:not(.sp-kicker) { color: #B5B5B5; }
.sp-175-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #262626; }
.sp-175-price b { font-family: "Anton", sans-serif; font-weight: 400; font-size: 20px; letter-spacing: .02em; }
.sp-175-price span { font-size: 20px; font-weight: 600; color: var(--sp-orange); }
.sp-175 .sp-opt-h { color: #A9A9A9; }
.sp-175 .sp-opt-chip { background: transparent; color: #fff; border-color: #3a3a3a; }
.sp-175 .sp-opt-chip[aria-checked="true"] { background: #fff; color: #111; border-color: #fff; }
.sp-175-btns { display: grid; gap: 10px; justify-items: center; margin-top: 16px; }

/* ---------- 3 the plates ---------- */
.sp-plates { padding-top: 40px; padding-bottom: 48px; }
.sp-plate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 14px; margin-top: 22px; }
.sp-disc { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; -webkit-tap-highlight-color: transparent; }
.sp-disc-face { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; display: block;
  background: radial-gradient(circle, #121212 0 8%, #b9b9b9 8.5% 15%, #6b6b6b 15.5% 16.5%, #d4d4d4 17% 20%, #2b2b2b 20.5% 21.5%, transparent 22%),
    repeating-radial-gradient(circle, rgba(0,0,0,.06) 0 2px, transparent 2px 6px),
    radial-gradient(circle, var(--c) 0 85%, color-mix(in srgb, var(--c) 70%, #000) 86% 93%, color-mix(in srgb, var(--c) 55%, #000) 94%);
  box-shadow: 0 16px 34px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.08); transition: transform .3s var(--ease); }
.sp-disc:hover .sp-disc-face { transform: rotate(-14deg) scale(1.03); }
.sp-disc.spin .sp-disc-face { animation: sp-spin .42s cubic-bezier(.4,0,.2,1); }
@keyframes sp-spin { to { transform: rotate(360deg) scale(.96); } }
.sp-disc-kg { position: absolute; top: 9%; left: 0; right: 0; text-align: center; font-family: "Anton", sans-serif; font-size: clamp(22px, 7vw, 34px); line-height: 1; color: rgba(255,255,255,.95); }
.sp-disc-kg small { font-size: .42em; margin-inline-start: 2px; letter-spacing: .1em; }
.sp-disc-name { position: absolute; bottom: 12%; left: 10%; right: 10%; text-align: center; font-family: "Anton", sans-serif; font-size: clamp(13px, 3.8vw, 17px); letter-spacing: .03em; text-transform: uppercase; line-height: 1.05; }
html[lang="ar"] .sp-disc-name { font-family: "Changa", sans-serif; font-weight: 800; text-transform: none; font-size: clamp(14px, 4vw, 18px); }
.sp-disc-n { font-size: 13px; color: #9a9a9a; }
.sp-disc.is-all { grid-column: 1 / -1; width: 58%; justify-self: center; }
.sp-disc.is-all .sp-disc-kg, .sp-disc.is-all .sp-disc-name { color: #111; }

/* ---------- 4 new drops ---------- */
.sp-drops { background: #EFEFEF; color: #111; padding: 40px 0 34px; }
.sp-drops h2 { color: #111; }
.sp-drop-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 22px var(--gutter) 10px; scrollbar-width: none; max-width: 1120px; margin: 0 auto; }
.sp-drop-rail::-webkit-scrollbar { display: none; }
.sp-drop-rail .card { flex: 0 0 62%; scroll-snap-align: start; }

/* ---------- 5 the plan builder ---------- */
.sp-plan { padding-top: 48px; padding-bottom: 48px; }
.sp-plan-box { margin-top: 22px; padding: 18px; border-radius: 22px; background: var(--sp-coal); border: 1px solid #242424; display: grid; gap: 10px; }
.sp-step { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.sp-step-n { width: 26px; height: 26px; border-radius: 50%; background: var(--sp-orange); color: #111; display: grid; place-items: center; font-family: "Anton", sans-serif; font-size: 14px; }
.sp-step-t { font-weight: 600; letter-spacing: .02em; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chip { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1.5px solid #343434; background: transparent; color: #E6E6E6; font-weight: 500; font-size: 15px; transition: all .15s; }
.sp-chip:hover { border-color: #666; }
.sp-chip[aria-checked="true"] { background: var(--sp-orange); border-color: var(--sp-orange); color: #111; font-weight: 600; }
.sp-plan-note { margin: 2px 0 0; color: #9C9C9C; font-size: 14px; min-height: 1.4em; }
#spLenWrap[hidden] { display: none; }
.sp-len { position: relative; padding: 6px 0 0; }
.sp-len input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; }
.sp-len input::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--sp-orange) 0 var(--p, 50%), #4a4a4a var(--p, 50%)); }
html[dir="rtl"] .sp-len input::-webkit-slider-runnable-track { background: linear-gradient(270deg, var(--sp-orange) 0 var(--p, 50%), #4a4a4a var(--p, 50%)); }
.sp-len input::-moz-range-track { height: 8px; border-radius: 4px; background: #4a4a4a; }
.sp-len input::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--sp-orange); }
.sp-len input::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -13px; border-radius: 50%; border: 0;
  background: radial-gradient(circle, #111 0 14%, #bbb 15% 26%, #444 27% 29%, #D7262E 30% 88%, #8a1218 89%); box-shadow: 0 4px 12px rgba(0,0,0,.6); }
.sp-len input::-moz-range-thumb { width: 34px; height: 34px; border-radius: 50%; border: 0; background: radial-gradient(circle, #111 0 14%, #bbb 15% 26%, #444 27% 29%, #D7262E 30% 88%, #8a1218 89%); }
.sp-len-ticks { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 2px; }
.sp-len-ticks span { font-size: 11px; color: #777; text-align: center; cursor: pointer; line-height: 1.2; padding: 4px 0; }
.sp-len-ticks span.on { color: #fff; font-weight: 600; }
.sp-price-board { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 4px; padding: 14px; border-radius: 16px; background: #0a0a0a; border: 1px solid #222; }
.sp-price-led { display: flex; align-items: flex-end; }
.sp-price-led.tick .led { animation: sp-pop .3s; }
.sp-price-facts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.sp-price-facts span { font-size: 13px; padding: 5px 10px; border-radius: 12px; background: #1d1d1d; color: #DADADA; }
.sp-price-facts span.save { background: rgba(30,158,74,.18); color: #6FE08E; }
.sp-trial { justify-self: center; }
.sp-fine { margin: 0; font-size: 12px; color: #7D7D7D; text-align: center; }

/* ---------- 6 open box ---------- */
.sp-box { padding: 44px 0 44px; background: linear-gradient(#0B0B0C, #111214); border-top: 1px solid #1c1c1c; border-bottom: 1px solid #1c1c1c; }
.sp-box-board { margin: 20px 0 14px; display: grid; gap: 12px; }
.sp-box-clock { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px; border-radius: 18px; background: #0a0a0a; border: 1px solid #242424; }
.sp-box-clock .led { --led: clamp(34px, 11vw, 52px); }
.sp-box-rows { display: grid; gap: 10px; }
.sp-box-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "lamp name state" "lamp line line"; column-gap: 12px; row-gap: 2px; align-items: center;
  padding: 14px 16px; border-radius: 16px; background: var(--sp-coal); border: 1px solid #242424; }
.sp-lamp { grid-area: lamp; width: 14px; height: 14px; border-radius: 50%; background: #5a1410; box-shadow: inset 0 0 0 2px rgba(0,0,0,.4); }
.sp-box-row.open .sp-lamp { background: #36E06A; box-shadow: 0 0 12px #36E06A, 0 0 2px #fff inset; animation: sp-lamp 2s infinite; }
@keyframes sp-lamp { 50% { box-shadow: 0 0 4px #36E06A; } }
.sp-box-name { grid-area: name; font-weight: 600; }
.sp-box-state { grid-area: state; font-family: "Anton", sans-serif; letter-spacing: .08em; font-size: 14px; color: #FF5A4E; text-transform: uppercase; }
html[lang="ar"] .sp-box-state { font-family: "Changa", sans-serif; letter-spacing: 0; font-weight: 800; }
.sp-box-row.open .sp-box-state { color: #36E06A; }
.sp-box-line { grid-area: line; font-size: 13px; color: #8E8E8E; }

/* ---------- 7 the coach ---------- */
.sp-coach { display: grid; gap: 22px; padding-top: 48px; padding-bottom: 48px; align-items: start; }
.sp-coach-pic { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: #1a1a1a; }
.sp-coach-pic img { width: 100%; height: 100%; object-fit: cover; }
.sp-facts { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; gap: 10px; }
.sp-facts li { position: relative; padding-inline-start: 26px; color: #D5D5D5; }
.sp-facts li::before { content: ""; position: absolute; inset-inline-start: 0; top: .32em; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, #111 0 22%, var(--sp-orange) 24%); }
.sp-pt { display: grid; gap: 8px; margin-bottom: 14px; }
.sp-pt-h { margin: 0 0 2px; font-family: "Anton", sans-serif; letter-spacing: .14em; font-size: 13px; color: #8E8E8E; text-transform: uppercase; }
html[lang="ar"] .sp-pt-h { font-family: "Changa", sans-serif; letter-spacing: 0; font-weight: 700; }
.sp-pt-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; min-height: 56px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid #2c2c2c;
  background: var(--sp-coal); color: #fff; text-align: start; }
.sp-pt-row[aria-pressed="true"] { border-color: var(--sp-orange); background: rgba(240,128,32,.08); }
.sp-pt-n b { font-family: "Anton", sans-serif; font-weight: 400; font-size: 22px; margin-inline-end: 4px; }
.sp-pt-kd { font-weight: 700; color: var(--sp-orange); }
.sp-pt-row small { grid-column: 1 / -1; color: #8a8a8a; font-size: 12px; }

/* ---------- 8 the wall ---------- */
.sp-wall { padding: 44px 0 56px; }
.sp-wall-grid { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 46vw; gap: 8px; padding: 22px var(--gutter) 0; max-width: 1120px; margin: 0 auto; }
.sp-tile { position: relative; overflow: hidden; border-radius: 14px; background: #1a1a1a; opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .6s, transform .6s var(--ease); transition-delay: calc(var(--k, 0) * 80ms); }
.sp-tile.in { opacity: 1; transform: none; }
.sp-tile.tall { grid-row: span 2; }
.sp-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.sp-tile:hover img { transform: scale(1.05); }

/* ---------- desktop ---------- */
@media (min-width: 720px) {
  .sp-home h2 { font-size: 52px; }
  .sp-lift-pin { height: calc(100svh - var(--header-h)); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; column-gap: 36px; padding-top: 20px; padding-bottom: 24px; }
  .sp-photo { grid-column: 1; grid-row: 1 / span 3; }
  .sp-board { grid-column: 2; grid-row: 1; align-self: start; }
  .sp-bar { grid-column: 2; grid-row: 2; align-self: center; height: min(250px, 30vh); }
  .sp-legend { display: grid; grid-column: 2; grid-row: 3; }
  .led-big { --led: 76px; }
  .sp-cue { left: 25%; bottom: 40px; }
  .sp-175 { grid-template-columns: 0.9fr 1.1fr; gap: 48px; padding-top: 90px; }
  .sp-175 .sp-kicker, html[lang="ar"] .sp-175 .sp-kicker { font-size: 92px; }
  .sp-175 h2 { font-size: 46px; }
  .sp-175-btns { grid-template-columns: auto auto; justify-content: start; gap: 22px; }
  .sp-175-btns .sp-btn { width: auto; padding: 0 36px; }
  .sp-plate-grid { grid-template-columns: repeat(5, 1fr); }
  .sp-disc.is-all { grid-column: auto; width: 74%; align-self: center; }
  .sp-drop-rail .card { flex-basis: 23%; }
  .sp-plan-box { padding: 28px; grid-template-columns: 1fr; max-width: 760px; }
  .sp-box-board { grid-template-columns: 0.9fr 1.1fr; align-items: stretch; }
  .sp-coach { grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
  .sp-wall-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-lift { height: auto; }
  .sp-lift-pin { position: relative; top: 0; }
  .sp-tile { opacity: 1; transform: none; }
}
html[dir="rtl"] .sp-kicker[dir="ltr"] { text-align: right; }
html[lang="ar"] .shop-title h1 { white-space: nowrap; font-size: 30px; }

/* ---------- pay for a membership online (2026-11-15) ---------- */
.sp-btn-ghost { background: transparent; color: #fff; border: 1.5px solid #3a3a3a; box-shadow: none; }
.sp-btn-ghost:hover { border-color: #777; box-shadow: none; }
.sp-pt-btns { display: grid; gap: 10px; }
.sp-sheet { position: fixed; inset: 0; z-index: 9990; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,0); transition: background .25s; }
.sp-sheet[hidden] { display: none; }
.sp-sheet.on { background: rgba(0,0,0,.62); }
.sp-sheet-card { position: relative; width: min(100%, 520px); max-height: calc(100svh - 24px); overflow-y: auto; padding: 22px 20px calc(22px + var(--safe-b)); border-radius: 24px 24px 0 0;
  background: #121213; color: #fff; border: 1px solid #262626; transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.sp-sheet.on .sp-sheet-card { transform: none; }
.sp-sheet-card h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0 0 12px; }
html[lang="en"] .sp-sheet-card h3 { text-transform: uppercase; }
html[lang="ar"] .sp-sheet-card h3 { font-weight: 800; }
.sp-sheet-x { position: absolute; top: 12px; inset-inline-end: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #1f1f1f; display: grid; place-items: center; }
.sp-sheet-x svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2; fill: none; }
.sp-pay-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #0a0a0a; border: 1px solid #222; margin-bottom: 14px; }
.sp-pay-sum span { font-weight: 600; } .sp-pay-sum b { color: var(--sp-orange); font-size: 20px; white-space: nowrap; }
#spPayForm { display: grid; gap: 12px; }
.sp-field { display: grid; gap: 6px; font-size: 14px; color: #BDBDBD; }
.sp-field .input { min-height: 48px; border-radius: 12px; border: 1.5px solid #333; background: #0b0b0c; color: #fff; padding: 0 14px; font-size: 16px; color-scheme: dark; }
.sp-field .input:focus { outline: none; border-color: var(--sp-orange); }
html[dir="rtl"] .sp-field input[dir="ltr"] { text-align: right; }
.sp-pay-dates { margin: 0; font-size: 13.5px; color: #F2B37A; min-height: 1.3em; }
.sp-pay-err { margin: 0; color: #FF6B5E; font-size: 14px; min-height: 1.2em; }
.sp-pay-err.shake { animation: sp-nope .42s; }
#spPayGo[disabled] { opacity: .65; }
@media (min-width: 720px) { .sp-sheet { align-items: center; } .sp-sheet-card { border-radius: 24px; transform: translateY(30px); opacity: 0; transition: transform .3s, opacity .3s; } .sp-sheet.on .sp-sheet-card { opacity: 1; }
  .sp-pt-btns { grid-template-columns: 1fr 1fr; } }

/* ---------- Memberships: its own page and tab (2026-11-15) ---------- */
.bottom-nav.sp-four { grid-template-columns: repeat(4, 1fr); }
.bottom-nav.sp-four a { font-size: 11px; white-space: nowrap; }
.sp-join h1 { font-size: 40px; line-height: 1; color: #fff; }
html[lang="en"] .sp-join h1 { text-transform: uppercase; }
html[lang="ar"] .sp-join h1 { font-weight: 800; }
.sp-join .sp-plan { padding-top: 28px; }
@media (min-width: 720px) { .sp-join h1 { font-size: 56px; } .sp-join .sp-plan { padding-top: 48px; } }

/* ---------- the Memberships page, pricing cards (2026-11-15, the user: "make it more professional") ---------- */
.mp-head { max-width: 640px; }
.sp-join .mp-head h1 { font-size: 34px; line-height: 1.05; margin: 2px 0 10px; }
.mp-head .sp-sub { margin: 0; font-size: 15px; line-height: 1.55; }
.mp-tabs { display: flex; gap: 4px; margin: 26px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid #232323; }
.mp-tabs::-webkit-scrollbar { display: none; }
.mp-tabs button { flex: none; min-height: 48px; padding: 0 14px; border: 0; background: none; color: #8F8F8F; font-size: 15px; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .15s, border-color .15s; }
.mp-tabs button:hover { color: #D6D6D6; }
.mp-tabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--sp-orange); }
.mp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: 20px 0 18px; }
.mp-len { display: flex; flex-direction: column; gap: 8px; min-width: 0; max-width: 100%; }
.mp-len[hidden] { display: none; }
.mp-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #7C7C7C; font-weight: 600; }
html[lang="ar"] .mp-label { letter-spacing: 0; font-size: 13px; }
.mp-seg { display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: #141415; border: 1px solid #252525; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.mp-seg::-webkit-scrollbar { display: none; }
.mp-seg button { flex: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: #A8A8A8; font-size: 14px; font-weight: 600; white-space: nowrap; }
.mp-seg button[aria-checked="true"] { background: #fff; color: #111; }
.mp-student { display: flex; align-items: center; gap: 12px; cursor: pointer; min-height: 44px; }
.mp-student[hidden] { display: none; }
.mp-student input { position: absolute; opacity: 0; pointer-events: none; }
.mp-switch { position: relative; width: 46px; height: 28px; border-radius: 14px; background: #333; flex: none; transition: background .2s; }
.mp-switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.mp-student input:checked + .mp-switch { background: var(--sp-orange); }
.mp-student input:checked + .mp-switch::after { transform: translateX(18px); }
html[dir="rtl"] .mp-student input:checked + .mp-switch::after { transform: translateX(-18px); }
.mp-student input:focus-visible + .mp-switch { outline: 2px solid var(--sp-orange); outline-offset: 2px; }
.mp-student b { display: block; font-size: 14px; } .mp-student small { display: block; font-size: 12px; color: #8a8a8a; }
.mp-cards { display: grid; gap: 12px; }
.mp-card { display: flex; flex-direction: column; padding: 20px; border-radius: 20px; background: linear-gradient(180deg, #161617, #111112); border: 1px solid #262626; transition: border-color .2s; }
.mp-card:hover { border-color: #3a3a3a; }
.mp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mp-card-name { margin: 0; font-family: var(--ui); font-size: 18px; font-weight: 600; letter-spacing: 0; text-transform: none !important; color: #fff; }
html[lang="ar"] .mp-card-name { font-family: "Changa", sans-serif; font-weight: 700; }
.mp-save { flex: none; padding: 4px 10px; border-radius: 999px; background: rgba(54,224,106,.12); color: #5CE08A; font-size: 12px; font-weight: 700; }
.mp-card-sub { margin: 4px 0 0; color: #8F8F8F; font-size: 13px; }
.mp-price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 0; flex-wrap: wrap; }
.mp-price b { font-family: "Anton", sans-serif; font-weight: 400; font-size: 46px; line-height: 1; color: #fff; letter-spacing: .01em; }
.mp-cur { font-weight: 700; color: #fff; font-size: 15px; }
.mp-per { color: #8F8F8F; font-size: 14px; }
.mp-per2 { margin: 6px 0 0; font-size: 13px; color: #F2B37A; min-height: 1.2em; }
.mp-feats { list-style: none; margin: 16px 0 20px; padding: 16px 0 0; border-top: 1px solid #242424; display: grid; gap: 10px; flex: 1; align-content: start; }
.mp-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: #D9D9D9; line-height: 1.4; }
.mp-feats svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--sp-orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mp-go { min-height: 50px; font-size: 16px; }
.mp-note { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13px; color: #9a9a9a; }
.mp-help { display: grid; gap: 8px; margin-top: 22px; }
.mp-help-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #121213; border: 1px solid #232323; color: #fff; transition: border-color .15s; }
.mp-help-row:hover { border-color: #3a3a3a; }
.mp-help-row b { display: block; font-size: 15px; } .mp-help-row small { display: block; font-size: 13px; color: #8F8F8F; }
.mp-help-row > span:nth-child(2) { flex: 1; }
.mp-help-row i { font-style: normal; font-size: 24px; color: #6a6a6a; }
html[dir="rtl"] .mp-help-row i { transform: scaleX(-1); }
.mp-ic { width: 40px; height: 40px; border-radius: 12px; background: #1d1d1e; display: grid; place-items: center; flex: none; }
.mp-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--sp-orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mp-trust { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid #1f1f1f; display: grid; gap: 10px; }
.mp-trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #8F8F8F; }
.mp-trust svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #8F8F8F; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 720px) {
  .sp-join .mp-head h1 { font-size: 50px; }
  .mp-tabs { margin-left: 0; margin-right: 0; padding: 0; }
  .mp-cards.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-cards.n3, .mp-cards.n4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mp-help { grid-template-columns: 1fr 1fr; }
  .mp-trust { grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; }
}

/* the plan's name is a small title, not a page heading (beats .sp-home h2) */
.sp-home .mp-card h2.mp-card-name { font-size: 19px; line-height: 1.25; }
/* phones: the lengths in a grid (no cut-off button at the edge); a computer: one row */
@media (max-width: 719px) {
  .mp-len { width: 100%; }
  .mp-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .mp-seg button { padding: 0 6px; font-size: 13px; }
}
