/*
Theme Name: Signcod Gaming Store
Theme URI: https://signcod.194-164-72-18.nip.io/
Author: Khalid
Description: قالب متجر ألعاب داكن بهوية تركوازية، مبني لووكومرس ويدعم العربية والاتجاه من اليمين لليسار. بنر متحرك، كاروسيلات منتجات، وبطاقات ألعاب.
Version: 2.2.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: signcod
Tags: e-commerce, rtl-language-support, custom-colors, custom-menu, translation-ready
*/

/* ==========================================================================
   1. Fonts — Baloo Bhaijaan 2 is the primary face (Arabic subset first),
      Cairo stays bundled as a fallback for anything Baloo misses.
   ========================================================================== */
@font-face {
  font-family: 'Baloo Bhaijaan 2';
  src: url('assets/fonts/baloo.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+08A0-08FF,
                 U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+2010-2011, U+FD3E-FD3F;
}
@font-face {
  font-family: 'Baloo Bhaijaan 2';
  src: url('assets/fonts/baloo-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('assets/fonts/cairo.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. Design tokens — values measured from the reference store
   ========================================================================== */
:root {
  /* Recoloured from the Customizer — see signcod_palette_css(). */
  --sc-primary: #04dcd2;
  --sc-primary-dark: #02b2a8;
  --sc-on-primary: #04121a; /* text that sits on top of the primary colour */

  --sc-bg: #000;
  --sc-bg-elevated: #0b0d12;
  --sc-card: #272a37;
  --sc-card-line: #343a49;

  --sc-text: #ededed;
  --sc-text-muted: #9ca3af;

  --sc-gold: #eab308;
  --sc-danger: #f87171;
  --sc-danger-bg: #b91c1c4d;

  --sc-radius-sm: 8px;   /* buttons          */
  --sc-radius-md: 12px;  /* category cards   */
  --sc-radius-lg: 16px;  /* product cards    */
  --sc-radius-pill: 999px;

  --sc-font: 'Baloo Bhaijaan 2', 'Cairo', system-ui, sans-serif;

  --sc-container: 1448px;
  --sc-header-h: 68px;
  --sc-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

/* No overflow-x here on purpose. Both `hidden` and `clip` on the root turn the
   viewport into a scroll container and kill `position: sticky` — measured, not
   assumed: with `visible` a sticky test element pins correctly, with either of
   the others it scrolls away. body's own overflow-x already absorbs the drift
   down to a single sub-pixel, which is not worth the checkout summary. */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sc-bg);
  color: var(--sc-text);
  font-family: var(--sc-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--sc-font);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 .5em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.sc-container {
  width: 100%;
  max-width: var(--sc-container);
  margin-inline: auto;
  padding-inline: 16px;
}

.sc-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   4. Scroll reveal
   ========================================================================== */
.sc-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--sc-ease), transform .7s var(--sc-ease);
}
.sc-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   5. Header
   ========================================================================== */
.sc-header {
  position: fixed;
  inset-block-start: 12px;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.sc-header__inner {
  pointer-events: auto;
  width: min(95%, 1240px);
  height: var(--sc-header-h);
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #12121aeb;
  border: 1px solid #ffffff14;
  border-radius: var(--sc-radius-lg);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px #00000059;
}

/* --------------------------------------------------------------------------
   Header, tuned around the logo.

   The wordmark is a 6.4:1 lockup: sized by height alone it comes out ~245px
   wide and crowds the nav, and the previous `flex: 0 1 auto; min-width: 0`
   let the nav squeeze it to nothing instead. It is now a fixed block that
   never shrinks, sized so its cap-height reads level with the nav text.
   -------------------------------------------------------------------------- */

.sc-logo {
  flex: 0 0 auto;      /* never let the nav crush it */
  display: flex;
  align-items: center;
}
.sc-logo a { display: block; line-height: 0; }
.sc-logo img {
  height: 26px;        /* → ~171px wide, balanced against a 68px bar */
  width: auto;
  max-width: 46vw;
  object-fit: contain;
  display: block;
}

/* The lockup's own tracking is wide and even. Echoing it in the nav is what
   makes the bar read as one designed object rather than a logo plus a menu. */
.sc-nav a {
  letter-spacing: .012em;
}

/* Nav spacing, the icon row and the icon buttons are left to their own rules
   further down this file — duplicating them here only produced dead
   declarations, since the later rules win. */

@media (max-width: 900px) {
  .sc-logo img { height: 24px; }
}

@media (max-width: 600px) {
  .sc-logo img { height: 22px; max-width: 42vw; }
}
.sc-logo__text {
  font-weight: 700;
  font-size: 21px;
  color: var(--sc-primary);
}

.sc-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sc-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #d7dbe4;
  transition: color .2s ease;
}
.sc-nav a:hover,
.sc-nav .current-menu-item > a { color: var(--sc-primary); }

/* --- categories mega menu ------------------------------------------------ */
.sc-nav li.sc-has-mega { position: relative; }
.sc-nav li.sc-has-mega > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin-inline-start: 7px;
  border-inline-end: 1.6px solid currentColor;
  border-block-end: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s var(--sc-ease);
}
.sc-nav li.sc-has-mega:hover > a::after,
.sc-nav li.sc-has-mega.is-open > a::after { transform: translateY(1px) rotate(225deg); }

.sc-mega {
  position: absolute;
  inset-block-start: calc(100% + 18px);
  inset-inline-start: 50%;
  z-index: 60;
  width: min(680px, 92vw);
  padding: 16px;
  background: #12141ff5;
  border: 1px solid #ffffff1f;
  border-radius: var(--sc-radius-lg);
  box-shadow: 0 24px 60px #000000a6;
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translate(50%, 10px);
  transition: opacity .25s var(--sc-ease), transform .25s var(--sc-ease), visibility .25s;
}
.sc-nav li.sc-has-mega:hover > .sc-mega,
.sc-nav li.sc-has-mega:focus-within > .sc-mega,
.sc-nav li.sc-has-mega.is-open > .sc-mega {
  opacity: 1;
  visibility: visible;
  transform: translate(50%, 0);
}
/* hover bridge so the pointer can travel from the link to the panel */
.sc-nav li.sc-has-mega::after {
  content: '';
  position: absolute;
  inset-block-start: 100%;
  inset-inline: -20px;
  height: 20px;
}

.sc-mega__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.sc-mega__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--sc-radius-md);
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s var(--sc-ease);
}
.sc-mega__item:hover {
  background: color-mix(in srgb, var(--sc-primary) 10%, transparent);
  border-color: color-mix(in srgb, var(--sc-primary) 35%, transparent);
  transform: translateY(-2px);
}
.sc-mega__thumb {
  flex: 0 0 auto;
  width: 78px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #1b2130;
}
.sc-mega__thumb.is-empty {
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--sc-primary) 22%, transparent), transparent 60%),
    linear-gradient(145deg, #1b2130, #0d1018);
}
.sc-mega__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-mega__meta { display: grid; gap: 2px; min-width: 0; }
.sc-mega__name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-mega__count { font-size: 12px; color: var(--sc-text-muted); }

.sc-mega__all {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ffffff14;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--sc-primary);
}
.sc-mega__all:hover { text-decoration: underline; }

.sc-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sc-icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #d7dbe4;
  transition: background .2s ease, color .2s ease;
}
.sc-icon-btn:hover { background: #ffffff12; color: var(--sc-primary); }
.sc-icon-btn svg { width: 20px; height: 20px; }

.sc-cart-count {
  position: absolute;
  inset-block-start: 2px;
  inset-inline-end: 2px;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  border-radius: var(--sc-radius-pill);
  background: var(--sc-primary);
  color: var(--sc-on-primary);
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}

.sc-tabbar {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 100;
  display: none;
  background: #0d0f15f2;
  border-block-start: 1px solid #ffffff14;
  backdrop-filter: blur(12px);
}
.sc-tabbar a {
  flex: 1;
  padding: 10px 4px;
  display: grid;
  justify-items: center;
  gap: 3px;
  font-size: 12px;
  color: var(--sc-text-muted);
}
.sc-tabbar a.is-active { color: var(--sc-primary); }
.sc-tabbar svg { width: 20px; height: 20px; }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.sc-hero {
  position: relative;
  height: clamp(460px, 86vh, 900px);
  overflow: hidden;
}
.sc-hero__track {
  display: flex;
  height: 100%;
  transition: transform .8s var(--sc-ease);
  will-change: transform;
}
.sc-hero__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}
.sc-hero__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sc-hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: #0000004d;
}
.sc-hero__title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px #000000a6;
}
.sc-hero__text {
  max-width: 680px;
  margin: 0 auto 24px;
  color: #e7ebf2;
  font-size: clamp(14px, 1.3vw, 16px);
  text-shadow: 0 2px 12px #000000a6;
}

/* Tint treatment — repaints the banner artwork in the store colour so the hero
   stops fighting the palette (e.g. green artwork under a blue theme).
   `mix-blend-mode: color` keeps the photo's luminosity and swaps only hue. */
.sc-hero--tint .sc-hero__slide img {
  filter: grayscale(1) contrast(1.06);
}
.sc-hero--tint .sc-hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sc-primary);
  mix-blend-mode: color;
  opacity: .92;
  pointer-events: none;
}

/* ambient treatment for artwork that already has printed text on it */
.sc-hero--ambient .sc-hero__slide img {
  filter: blur(7px) saturate(1.15);
  transform: scale(1.1);
  opacity: .5;
}
.sc-hero--ambient .sc-hero__overlay {
  background:
    radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--sc-primary) 12%, transparent), transparent 62%),
    radial-gradient(ellipse at 50% 50%, #00000073, #000000e0 72%),
    linear-gradient(180deg, #000000cc, #000);
}

.sc-hero__dots {
  position: absolute;
  inset-block-end: 22px;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.sc-hero__dots button {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: var(--sc-radius-pill);
  background: #ffffff59;
  transition: width .3s var(--sc-ease), background .3s ease;
}
.sc-hero__dots button.is-active {
  width: 26px;
  background: var(--sc-primary);
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */
.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--sc-radius-pill);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-dark));
  color: #fff;
  transition: transform .25s var(--sc-ease), box-shadow .25s ease, filter .2s ease;
}
.sc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--sc-primary) 24%, transparent);
  filter: brightness(1.06);
}
.sc-btn svg { width: 16px; height: 16px; }

/* outlined button — the store's default action style */
.sc-btn--outline {
  padding: 10px 16px;
  border: 1px solid var(--sc-primary);
  border-radius: var(--sc-radius-sm);
  background: transparent;
  color: var(--sc-primary);
  font-weight: 500;
  box-shadow: none;
}
.sc-btn--outline:hover {
  transform: none;
  background: color-mix(in srgb, var(--sc-primary) 12%, transparent);
  box-shadow: none;
  filter: none;
}

.sc-btn.is-disabled,
.sc-btn[disabled] {
  opacity: .45;
  pointer-events: none;
}

/* ==========================================================================
   8. Sections
   ========================================================================== */
.sc-section { padding-block: clamp(40px, 5.5vw, 72px); }

.sc-section__head {
  text-align: center;
  margin-bottom: 36px;
}
.sc-section__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.sc-section__rule {
  position: relative;
  width: 88px;
  height: 3px;
  margin: 0 auto 16px;
  border-radius: var(--sc-radius-pill);
  background: linear-gradient(90deg, var(--sc-primary), transparent);
}
.sc-section__rule::after {
  content: '';
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 0;
  width: 9px; height: 9px;
  border-radius: var(--sc-radius-pill);
  background: var(--sc-primary);
  transform: translateY(-50%);
  box-shadow: 0 0 12px var(--sc-primary);
}
.sc-section__text {
  max-width: 620px;
  margin: 0 auto;
  color: var(--sc-text-muted);
  font-size: 14px;
}

/* ==========================================================================
   9. Carousel shell
   ========================================================================== */
.sc-carousel { position: relative; }
.sc-carousel__viewport { overflow: hidden; }
.sc-carousel__track {
  display: flex;
  gap: 16px;
  transition: transform .6s var(--sc-ease);
  will-change: transform;
}
.sc-carousel__item { flex: 0 0 auto; }

.sc-carousel__nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.sc-carousel__nav button {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff1f;
  border-radius: var(--sc-radius-pill);
  background: #ffffff0a;
  color: var(--sc-text);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.sc-carousel__nav button:hover {
  background: color-mix(in srgb, var(--sc-primary) 12%, transparent);
  border-color: color-mix(in srgb, var(--sc-primary) 35%, transparent);
  color: var(--sc-primary);
}
.sc-carousel__nav svg { width: 18px; height: 18px; }

/* ==========================================================================
   10. Category cards
   ========================================================================== */
/* 16:9 keeps store artwork (wide product banners) fully legible — a square
   crop chopped the middle out of them. */
.sc-gamecard {
  position: relative;
  display: block;
  width: 300px;
  aspect-ratio: 16 / 9;
  border-radius: var(--sc-radius-md);
  overflow: hidden;
  background: #11141c;
  transition: transform .35s var(--sc-ease), box-shadow .35s ease;
}
.sc-gamecard:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px #000000a6;
}
.sc-gamecard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--sc-ease);
}
.sc-gamecard:hover img { transform: scale(1.06); }

.sc-gamecard--empty {
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--sc-primary) 15%, transparent), transparent 55%),
    linear-gradient(145deg, #1b2130, #0d1018);
}

.sc-gamecard__label {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: 30px 14px 12px;
  background: linear-gradient(to top, #000000e6, #0000);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.sc-postergrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.sc-postergrid .sc-gamecard {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* ==========================================================================
   11. Product card
   ========================================================================== */
.sc-product {
  position: relative;
  width: 330px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border-radius: var(--sc-radius-lg);
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  transition: transform .3s var(--sc-ease), border-color .3s ease, box-shadow .3s ease;
}
.sc-product:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--sc-primary) 35%, transparent);
  box-shadow: 0 16px 34px #00000073;
}

.sc-product__badges {
  position: absolute;
  inset-block-start: 16px;
  inset-inline: 16px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  pointer-events: none;
}
.sc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--sc-radius-pill);
  line-height: 1.5;
}
.sc-badge--rating {
  padding: 3px 10px;
  background: var(--sc-primary);
  color: var(--sc-on-primary);
  font-size: 14px;
  font-weight: 600;
}
.sc-badge--tag {
  padding: 4px 10px;
  background: var(--sc-gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* store artwork is 16:9 — a square frame left a dead band under every image */
.sc-product__thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: var(--sc-radius-md);
  overflow: hidden;
  background: #1d202b;
}
.sc-product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s var(--sc-ease);
}
.sc-product:hover .sc-product__thumb img { transform: scale(1.05); }

.sc-product__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.sc-product__excerpt {
  color: var(--sc-text-muted);
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 14px;
  min-height: 2.6em;
}

.sc-product__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 16px;
}
.sc-product__price del {
  color: #6b7280;
  font-size: 14px;
  margin-inline-end: 8px;
  text-decoration-thickness: 1px;
}
.sc-product__price ins {
  background: none;
  color: var(--sc-danger);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.sc-product__price .amount { font-weight: 700; }
.sc-discount {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--sc-danger-bg);
  color: var(--sc-danger);
  font-size: 14px;
  font-weight: 700;
}

.sc-product__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}
.sc-product__foot .sc-btn { flex: 1; }
.sc-wish {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff1f;
  border-radius: var(--sc-radius-sm);
  background: transparent;
  color: var(--sc-text-muted);
  transition: color .2s ease, border-color .2s ease;
}
.sc-wish:hover { color: var(--sc-danger); border-color: #f8717159; }
.sc-wish svg { width: 18px; height: 18px; }

/* ==========================================================================
   12. Features + steps
   ========================================================================== */
.sc-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}
.sc-feature__icon {
  width: 62px; height: 62px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: var(--sc-radius-lg);
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-dark));
  color: var(--sc-on-primary);
  transition: transform .3s var(--sc-ease);
}
.sc-feature:hover .sc-feature__icon { transform: translateY(-4px); }
.sc-feature__icon svg { width: 26px; height: 26px; }
.sc-feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.sc-feature p { color: var(--sc-text-muted); font-size: 14px; margin: 0; }

.sc-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}
.sc-step__num {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: var(--sc-radius-pill);
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-dark));
  color: var(--sc-on-primary);
  font-weight: 700;
  font-size: 22px;
}
.sc-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.sc-step p { color: var(--sc-text-muted); font-size: 14px; margin: 0; }

/* ==========================================================================
   13. Footer
   ========================================================================== */
.sc-footer {
  margin-top: 30px;
  padding-block: 42px 86px;
  background: var(--sc-bg-elevated);
  border-block-start: 1px solid #ffffff14;
}
.sc-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 28px;
}
.sc-footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--sc-primary);
}
.sc-footer p { color: var(--sc-text-muted); font-size: 14px; margin: 0; }
.sc-footer ul { margin: 0; padding: 0; list-style: none; }
.sc-footer li { margin-bottom: 8px; }
.sc-footer li a {
  color: var(--sc-text-muted);
  font-size: 14px;
  transition: color .2s ease;
}
.sc-footer li a:hover { color: var(--sc-primary); }
.sc-footer__bottom {
  padding-top: 18px;
  border-top: 1px solid #ffffff14;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
}

/* ==========================================================================
   14. WooCommerce pages
   ========================================================================== */
.sc-page { padding-block: 110px 60px; }
.sc-page__title { font-size: clamp(24px, 3vw, 34px); margin-bottom: 22px; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-inline-start: 3px solid var(--sc-primary);
  border-radius: var(--sc-radius-md);
  padding: 14px 18px;
  list-style: none;
  margin-bottom: 20px;
}
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  clear: both;
}
/* WooCommerce ships clearfix pseudo-elements on the list. In a grid container
   they become grid items, so the first cell was eaten and every row shifted. */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

/* archive toolbar: count on one side, sorting on the other */
.sc-woo .woocommerce-result-count {
  float: right;
  margin: 0;
  color: var(--sc-text-muted);
  font-size: 14px;
  line-height: 44px;
}
.sc-woo .woocommerce-ordering { float: left; margin: 0 0 18px; }
.sc-woo .woocommerce-ordering select {
  min-width: 190px;
  padding: 11px 13px;
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-sm);
  color: var(--sc-text);
  font-family: inherit;
  font-size: 14px;
}
.sc-woo .term-description,
.sc-woo .woocommerce-products-header {
  clear: both;
  text-align: center;
  color: var(--sc-text-muted);
}
.sc-woo .term-description p { margin: 0 0 18px; }
/* In the shop grid the card is the grid item itself, so it must be fluid —
   the fixed width it carries inside carousels would overflow the column. */
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; }
.woocommerce ul.products > .sc-product,
.woocommerce ul.products > li,
.woocommerce ul.products li.product .sc-product {
  width: 100%;
  margin: 0;
}

.woocommerce .quantity input,
.sc-page input[type="text"],
.sc-page input[type="email"],
.sc-page input[type="tel"],
.sc-page input[type="password"],
.sc-page textarea,
.sc-page select {
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-sm);
  color: var(--sc-text);
  padding: 10px 12px;
  font-family: inherit;
}
.woocommerce table.shop_table,
.woocommerce table.cart {
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
  border-collapse: collapse;
  width: 100%;
  overflow: hidden;
}
.woocommerce table th,
.woocommerce table td {
  padding: 12px;
  border-block-end: 1px solid var(--sc-card-line);
}
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--sc-primary);
  border-radius: var(--sc-radius-sm);
  background: transparent;
  color: var(--sc-primary);
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  transition: background .2s ease;
}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: color-mix(in srgb, var(--sc-primary) 12%, transparent); }

.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce .checkout-button {
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-dark));
  border-color: transparent;
  border-radius: var(--sc-radius-pill);
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
}

/* single product — WooCommerce ships float-based columns that break in RTL,
   so the product is laid out as an explicit grid instead. */
/* Direct child only — related/upsell cards inside the page also carry the
   `product` class and were being turned into two-column layouts. */
.sc-single > .product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.sc-single > .product::before,
.sc-single > .product::after { content: none; }

.sc-single .woocommerce-product-gallery,
.sc-single .summary {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}
.sc-single .woocommerce-product-gallery img { border-radius: var(--sc-radius-lg); }
/* the zoom overlay renders the full-size image (1600px+) and pushed the page
   sideways on phones — clip it to the gallery box */
.sc-single .woocommerce-product-gallery,
.sc-single .woocommerce-product-gallery__wrapper,
.sc-single .woocommerce-product-gallery__image {
  overflow: hidden;
  max-width: 100%;
}
.sc-single .woocommerce-product-gallery__trigger { inset-inline-end: 14px; inset-inline-start: auto; }

.sc-single .woocommerce-tabs,
.sc-single .related,
.sc-single .upsells,
.sc-single .up-sells { grid-column: 1 / -1; }

.sc-single .product_title { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 10px; }
.sc-single .price {
  display: block;
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--sc-primary);
}
.sc-single .price del { color: #6b7280; font-size: 17px; font-weight: 400; }
.sc-single .price ins { background: none; color: var(--sc-primary); text-decoration: none; }
.sc-single .woocommerce-product-details__short-description { color: var(--sc-text-muted); }
.sc-single .product_meta { margin-top: 18px; color: var(--sc-text-muted); font-size: 14px; }
.sc-single .product_meta a { color: var(--sc-primary); }

.sc-single form.cart { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.sc-single .quantity input { width: 76px; text-align: center; }

.woocommerce span.onsale {
  position: absolute;
  /* WooCommerce's default offsets are negative, which pushed the badge past the
     viewport edge on phones */
  inset-block-start: 12px;
  inset-inline-end: 12px;
  inset-inline-start: auto;
  margin: 0;
  z-index: 3;
  min-width: auto;
  min-height: auto;
  padding: 5px 12px;
  border-radius: var(--sc-radius-pill);
  background: var(--sc-danger);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

/* tabs */
.woocommerce-tabs { margin-top: 44px; }
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0 0 0;
  border-block-end: 1px solid var(--sc-card-line);
  list-style: none;
}
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after { content: none !important; display: none !important; }
.woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}
.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 10px 16px;
  color: var(--sc-text-muted) !important;
  font-weight: 700;
  font-size: 15px;
  border-block-end: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.woocommerce-tabs ul.tabs li a:hover { color: var(--sc-text) !important; }
.woocommerce-tabs ul.tabs li.active a {
  color: var(--sc-primary) !important;
  border-block-end-color: var(--sc-primary);
}
.woocommerce-tabs .panel {
  background: transparent;
  color: var(--sc-text);
}
.woocommerce-tabs .panel h2 { font-size: 20px; }

.sc-single .related > h2,
.sc-single .upsells > h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin-bottom: 20px;
}

/* ==========================================================================
   12b. Instant search overlay
   ========================================================================== */
.sc-search {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(60px, 12vh, 140px) 16px 20px;
  opacity: 0;
  transition: opacity .2s ease;
}
.sc-search.is-open { opacity: 1; }
.sc-search[hidden] { display: none; }

.sc-search__backdrop {
  position: absolute;
  inset: 0;
  background: #000000d1;
  backdrop-filter: blur(6px);
}

.sc-search__panel {
  position: relative;
  width: min(640px, 100%);
  max-height: 78vh;
  display: flex;
  flex-direction: column;
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
  box-shadow: 0 30px 70px #000000b3;
  overflow: hidden;
  transform: translateY(-12px);
  transition: transform .25s var(--sc-ease);
}
.sc-search.is-open .sc-search__panel { transform: none; }

.sc-search__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-block-end: 1px solid var(--sc-card-line);
}
.sc-search__bar svg { width: 20px; height: 20px; color: var(--sc-text-muted); flex: 0 0 auto; }
.sc-search__bar input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--sc-text);
  font-family: inherit;
  font-size: 17px;
}
.sc-search__close {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border: 0;
  border-radius: 8px;
  background: #ffffff0f;
  color: var(--sc-text-muted);
  font-size: 20px;
  line-height: 1;
}
.sc-search__close:hover { background: #ffffff1f; color: #fff; }

.sc-search__results { overflow-y: auto; padding: 10px; }
.sc-search__hint { margin: 14px; text-align: center; color: var(--sc-text-muted); font-size: 14px; }

.sc-search__hit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--sc-radius-md);
  transition: background .15s ease;
}
.sc-search__hit:hover { background: color-mix(in srgb, var(--sc-primary) 12%, transparent); }
.sc-search__thumb {
  flex: 0 0 auto;
  width: 74px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #1d202b;
}
.sc-search__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-search__meta { display: grid; gap: 2px; min-width: 0; }
.sc-search__name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-search__price { font-size: 13px; color: var(--sc-primary); }
.sc-search__all {
  display: block;
  margin-top: 8px;
  padding: 12px;
  text-align: center;
  border-block-start: 1px solid var(--sc-card-line);
  color: var(--sc-primary);
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================================================
   12c. Bundle — complete your setup
   ========================================================================== */
.sc-bundle {
  margin-top: 40px;
  padding: 24px;
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
}
.sc-bundle__title { font-size: 20px; margin-bottom: 4px; }
.sc-bundle__sub { margin: 0 0 20px; color: var(--sc-text-muted); font-size: 14px; }

.sc-bundle__items {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.sc-bundle__item {
  position: relative;
  flex: 1 1 200px;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-md);
  transition: border-color .2s ease, transform .2s var(--sc-ease);
}
.sc-bundle__item:not(.is-current):hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--sc-primary) 45%, transparent);
}
.sc-bundle__item.is-current { border-color: color-mix(in srgb, var(--sc-primary) 55%, transparent); }
.sc-bundle__thumb { display: block; border-radius: 8px; overflow: hidden; background: #1d202b; }
.sc-bundle__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sc-bundle__name { font-size: 14px; font-weight: 700; color: #fff; }
.sc-bundle__price { font-size: 14px; color: var(--sc-text-muted); }
.sc-bundle__price del { font-size: 12px; }
.sc-bundle__price ins { background: none; text-decoration: none; color: var(--sc-danger); }
.sc-bundle__badge {
  position: absolute;
  inset-block-start: -9px;
  inset-inline-end: 12px;
  padding: 2px 10px;
  border-radius: var(--sc-radius-pill);
  background: var(--sc-primary);
  color: var(--sc-on-primary);
  font-size: 11px;
  font-weight: 700;
}
.sc-bundle__plus {
  align-self: center;
  color: var(--sc-text-muted);
  font-size: 20px;
  font-weight: 700;
}

.sc-bundle__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--sc-card-line);
}
.sc-bundle__total { color: var(--sc-text-muted); font-size: 15px; }
.sc-bundle__total strong { color: #fff; font-size: 19px; margin-inline-start: 6px; }

@media (max-width: 700px) {
  .sc-bundle { padding: 18px; }
  .sc-bundle__plus { display: none; }
  .sc-bundle__foot { justify-content: center; text-align: center; }
  .sc-bundle__foot .sc-btn { width: 100%; }
}

/* ==========================================================================
   12d. Setup guide — "وش أحتاج؟"
   ========================================================================== */
.sc-guide {
  max-width: 900px;
  margin: 0 auto;
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
  overflow: hidden;
}

.sc-guide__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block-end: 1px solid var(--sc-card-line);
}
.sc-guide__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  border: 0;
  border-block-end: 2px solid transparent;
  background: #12151d;
  color: var(--sc-text-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.sc-guide__tab i {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: var(--sc-radius-pill);
  background: #2a3040;
  font-style: normal;
  font-size: 12px;
}
.sc-guide__tab.is-active {
  background: color-mix(in srgb, var(--sc-primary) 10%, transparent);
  border-block-end-color: var(--sc-primary);
  color: #fff;
}
.sc-guide__tab.is-active i,
.sc-guide__tab.is-done i { background: var(--sc-primary); color: var(--sc-on-primary); }
.sc-guide__tab.is-done { color: var(--sc-text); }
.sc-guide__tab:disabled { cursor: default; }
.sc-guide__tab:not(:disabled):hover { color: #fff; }

.sc-guide__body { padding: clamp(20px, 4vw, 34px); }
.sc-guide__counter {
  margin: 0 0 8px;
  text-align: center;
  color: var(--sc-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.sc-guide__q { text-align: center; font-size: clamp(20px, 2.8vw, 28px); margin-bottom: 6px; }
.sc-guide__hint { text-align: center; color: var(--sc-text-muted); font-size: 14px; margin: 0 0 26px; }

.sc-guide__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.sc-guide__option {
  display: grid;
  gap: 12px;
  padding: 0 0 16px;
  text-align: start;
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-md);
  overflow: hidden;
  font-family: inherit;
  color: var(--sc-text);
  transition: transform .25s var(--sc-ease), border-color .25s ease;
}
.sc-guide__option:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--sc-primary) 50%, transparent);
}
.sc-guide__option.is-selected {
  border-color: var(--sc-primary);
  background: color-mix(in srgb, var(--sc-primary) 10%, transparent);
}
.sc-guide__thumb { display: block; aspect-ratio: 16 / 9; background: #1d202b; }
.sc-guide__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-guide__thumb.is-blank {
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--sc-primary) 20%, transparent), transparent 60%),
    linear-gradient(145deg, #1b2130, #0d1018);
}
.sc-guide__optbody { display: grid; gap: 4px; padding-inline: 16px; }
.sc-guide__opttitle { font-size: 16px; font-weight: 700; color: #fff; }
.sc-guide__optdesc { font-size: 13px; color: var(--sc-text-muted); line-height: 1.6; }
.sc-guide__optprice { font-size: 14px; font-weight: 700; color: var(--sc-primary); margin-top: 4px; }
.sc-guide__badge {
  justify-self: start;
  padding: 2px 10px;
  border-radius: var(--sc-radius-pill);
  background: color-mix(in srgb, var(--sc-primary) 20%, transparent);
  color: var(--sc-primary);
  font-size: 11px;
  font-weight: 700;
}

.sc-guide__back,
.sc-guide__reset {
  display: block;
  margin: 22px auto 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sc-text-muted);
  font-family: inherit;
  font-size: 14px;
}
.sc-guide__back:hover,
.sc-guide__reset:hover { color: var(--sc-primary); }

/* result */
.sc-guide__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
}
.sc-guide__chip {
  padding: 5px 14px;
  border-radius: var(--sc-radius-pill);
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  font-size: 13px;
  color: var(--sc-text);
}

.sc-guide__listhead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 14px;
}
.sc-guide__listhead h4 { margin: 0; font-size: 19px; }
.sc-guide__tagline {
  padding: 3px 10px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--sc-primary) 18%, transparent);
  color: var(--sc-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}
.sc-guide__tagline.is-soft {
  background: #ffffff0f;
  color: var(--sc-text-muted);
}
.sc-guide__count { margin-inline-start: auto; color: var(--sc-text-muted); font-size: 13px; }

.sc-guide__list { display: grid; gap: 12px; }
.sc-guide__item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-md);
}
.sc-guide__itemthumb { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #1d202b; }
.sc-guide__itemthumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-guide__itemthumb.is-blank {
  background:
    radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--sc-primary) 18%, transparent), transparent 62%),
    linear-gradient(145deg, #1b2130, #0d1018);
}
.sc-guide__itembody h4 { margin: 2px 0 4px; font-size: 16px; }
.sc-guide__itembody p { margin: 0; font-size: 13px; color: var(--sc-text-muted); line-height: 1.7; }
.sc-guide__kind {
  color: var(--sc-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}
.sc-guide__itemprice { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 700; }

.sc-guide__note {
  margin: 24px 0 0;
  padding: 14px 16px;
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  border-inline-start: 3px solid var(--sc-primary);
  border-radius: var(--sc-radius-md);
  font-size: 14px;
  color: var(--sc-text-muted);
}
.sc-guide__note strong { color: #fff; }

.sc-guide__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--sc-card-line);
}
.sc-guide__help { color: #25d366; font-size: 14px; font-weight: 700; }
.sc-guide__foot .sc-guide__reset { margin: 0; }

@media (max-width: 700px) {
  .sc-guide__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sc-guide__tab span { display: none; }
  .sc-guide__tab { padding: 14px 4px; }
  .sc-guide__item { grid-template-columns: 88px minmax(0, 1fr); }
  .sc-guide__itemaction { grid-column: 1 / -1; }
  .sc-guide__itemaction .sc-btn { width: 100%; }
}

/* ==========================================================================
   13a. Compatibility finder
   ========================================================================== */
.sc-finder {
  max-width: 980px;
  margin: 0 auto;
  padding: 26px;
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
}

.sc-finder__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.sc-finder__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--sc-radius-pill);
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  color: var(--sc-text-muted);
  font-size: 13px;
  font-weight: 700;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.sc-finder__step i {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: var(--sc-radius-pill);
  background: #2a3040;
  color: var(--sc-text-muted);
  font-style: normal;
  font-size: 12px;
}
.sc-finder__step.is-active {
  color: #fff;
  border-color: color-mix(in srgb, var(--sc-primary) 55%, transparent);
  background: color-mix(in srgb, var(--sc-primary) 12%, transparent);
}
.sc-finder__step.is-active i,
.sc-finder__step.is-done i { background: var(--sc-primary); color: var(--sc-on-primary); }
.sc-finder__step.is-done { color: var(--sc-text); }

.sc-finder__q {
  margin: 0 0 18px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.sc-finder__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.sc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--sc-radius-sm);
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  color: var(--sc-text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  transition: transform .2s var(--sc-ease), border-color .2s ease, background .2s ease;
}
.sc-chip:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--sc-primary) 55%, transparent);
  background: color-mix(in srgb, var(--sc-primary) 10%, transparent);
}
.sc-chip.is-selected {
  border-color: var(--sc-primary);
  background: color-mix(in srgb, var(--sc-primary) 16%, transparent);
  color: #fff;
}
.sc-chip em {
  font-style: normal;
  font-size: 12px;
  padding: 1px 8px;
  border-radius: var(--sc-radius-pill);
  background: color-mix(in srgb, var(--sc-primary) 22%, transparent);
  color: var(--sc-primary);
}

.sc-finder__results { display: grid; gap: 12px; }
.sc-finder__card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-md);
  transition: border-color .2s ease, transform .2s var(--sc-ease);
}
.sc-finder__card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--sc-primary) 45%, transparent);
}
.sc-finder__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #1d202b;
}
.sc-finder__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-finder__name { font-size: 16px; font-weight: 700; color: #fff; }
.sc-finder__desc { margin: 2px 0 6px; font-size: 13px; color: var(--sc-text-muted); }
.sc-finder__price { font-size: 15px; font-weight: 700; }
.sc-finder__price del { color: #6b7280; font-size: 13px; margin-inline-end: 6px; }
.sc-finder__price ins { background: none; text-decoration: none; color: var(--sc-danger); }
.sc-finder__empty { text-align: center; color: var(--sc-text-muted); margin: 0; }

.sc-finder__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--sc-card-line);
}
.sc-finder__back,
.sc-finder__reset {
  padding: 0;
  border: 0;
  background: none;
  color: var(--sc-text-muted);
  font-family: inherit;
  font-size: 14px;
  transition: color .2s ease;
}
.sc-finder__back:hover,
.sc-finder__reset:hover { color: var(--sc-primary); }
.sc-finder__back { display: block; margin: 18px auto 0; }
.sc-finder__help { color: #25d366; font-size: 14px; font-weight: 700; }

@media (max-width: 700px) {
  .sc-finder { padding: 18px; }
  .sc-finder__card { grid-template-columns: 88px minmax(0, 1fr); }
  .sc-finder__card .sc-btn { grid-column: 1 / -1; }
}

/* ==========================================================================
   13b. Conversion — WhatsApp CTA, trust strip, sticky buy bar
   ========================================================================== */
.sc-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin: 0 0 20px;
  padding: 13px 22px;
  border-radius: var(--sc-radius-sm);
  background: #25d366;
  color: #04210f;
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s var(--sc-ease), box-shadow .2s ease, filter .2s ease;
}
.sc-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px #25d3663d;
  filter: brightness(1.04);
}
.sc-wa svg { width: 19px; height: 19px; }

.sc-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 16px;
  list-style: none;
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-md);
}
.sc-trust li { display: flex; align-items: center; gap: 10px; }
.sc-trust__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--sc-primary) 14%, transparent);
  color: var(--sc-primary);
}
.sc-trust__icon svg { width: 17px; height: 17px; }
.sc-trust__body { display: grid; line-height: 1.4; }
.sc-trust__body strong { font-size: 13px; color: #fff; font-weight: 700; }
.sc-trust__body em { font-size: 12px; color: var(--sc-text-muted); font-style: normal; }

/* sticky buy bar */
.sc-buybar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  background: #10131bf7;
  border-block-start: 1px solid var(--sc-card-line);
  backdrop-filter: blur(14px);
  box-shadow: 0 -8px 30px #00000073;
  transform: translateY(110%);
  transition: transform .35s var(--sc-ease);
}
.sc-buybar.is-visible { transform: none; }
.sc-buybar[hidden] { display: none; }

.sc-buybar__info { display: grid; gap: 2px; min-width: 0; }
.sc-buybar__name {
  font-size: 13px;
  color: var(--sc-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-buybar__price { font-size: 17px; font-weight: 700; color: #fff; }
.sc-buybar__price del { display: none; }
.sc-buybar__price ins { background: none; text-decoration: none; color: var(--sc-primary); }

.sc-buybar__actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.sc-buybar__wa {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--sc-radius-sm);
  background: #25d366;
  color: #04210f;
}
.sc-buybar__wa svg { width: 20px; height: 20px; }
.sc-buybar .sc-btn { padding: 13px 26px; }

/* the mobile tab bar would sit on top of the buy bar — hide it there */
body.single-product .sc-buybar.is-visible ~ .sc-tabbar,
body.single-product .sc-tabbar:has(~ .sc-buybar.is-visible) { display: none; }

/* ==========================================================================
   14a. Cart + checkout
   ========================================================================== */

/* every WooCommerce field, dark — Woo's own selectors are specific, so these
   have to be at least as specific to win. */
body.woocommerce-page .woocommerce form .form-row input.input-text,
body.woocommerce-page .woocommerce form .form-row textarea,
body.woocommerce-page .woocommerce form .form-row select,
body.woocommerce-page .woocommerce-page form .form-row input.input-text,
body.woocommerce-page input.input-text,
body.woocommerce-page textarea.input-text,
body.woocommerce-page .select2-container .select2-selection--single {
  height: auto;
  padding: 11px 13px;
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-sm);
  color: var(--sc-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color .2s ease;
}
body.woocommerce-page .woocommerce form .form-row input.input-text:focus,
body.woocommerce-page .woocommerce form .form-row textarea:focus,
body.woocommerce-page .select2-container--open .select2-selection--single {
  outline: none;
  border-color: var(--sc-primary);
}
body.woocommerce-page .woocommerce form .form-row label,
body.woocommerce-page .woocommerce-billing-fields label,
body.woocommerce-page .woocommerce-additional-fields label {
  margin-bottom: 6px;
  color: var(--sc-text-muted);
  font-size: 14px;
  font-weight: 500;
}
body.woocommerce-page .required { color: var(--sc-danger); }
body.woocommerce-page ::placeholder { color: #5d6672; }

/* select2 (country / state pickers) */
body .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--sc-text); line-height: 1.5; }
body .select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; }
body .select2-dropdown {
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-sm);
  color: var(--sc-text);
}
body .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--sc-primary);
  color: var(--sc-on-primary);
}
body .select2-search--dropdown .select2-search__field {
  background: #0d1017;
  border: 1px solid var(--sc-card-line);
  border-radius: 6px;
  color: var(--sc-text);
}

/* checkout layout: form on one side, a sticky order summary on the other */
.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 14px 28px;
  align-items: start;
}
.woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
.woocommerce-checkout form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; font-size: 19px; }
.woocommerce-checkout form.checkout #order_review {
  grid-column: 2;
  grid-row: 2;
  position: sticky;
  inset-block-start: 100px;
}

/* Woo floats these two halves; stack them into cards instead */
.woocommerce-checkout .col2-set { display: grid; gap: 18px; }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  width: 100% !important;
  float: none !important;
  padding: 22px;
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
}
.woocommerce-checkout .col2-set h3 { font-size: 18px; margin-bottom: 16px; }

.woocommerce-checkout #order_review {
  padding: 22px;
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
}
.woocommerce-checkout .shop_table {
  border: 0;
  border-radius: 0;
  margin-bottom: 18px;
}
.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td {
  padding: 11px 0;
  border-block-end: 1px solid var(--sc-card-line);
  background: transparent;
}
.woocommerce-checkout .shop_table tfoot .order-total th,
.woocommerce-checkout .shop_table tfoot .order-total td {
  border-block-end: 0;
  padding-block-start: 14px;
  font-size: 17px;
  color: #fff;
}
.woocommerce-checkout .shop_table tfoot .order-total .amount { color: var(--sc-primary); }

#payment.woocommerce-checkout-payment {
  background: transparent;
  border-radius: 0;
}
#payment ul.payment_methods {
  padding: 0 0 14px;
  border-block-end: 1px solid var(--sc-card-line);
  list-style: none;
}
#payment ul.payment_methods li {
  margin-bottom: 8px;
  padding: 14px;
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-md);
}
#payment ul.payment_methods li label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

/* The gateway ships one combined logo strip where some brands sit on white
   plates and others are transparent — on a dark card that reads as a jumble.
   Putting the whole strip on a single light plaque makes every brand legible
   and consistent. */
#payment ul.payment_methods li img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  max-height: none;
  margin: 14px auto 0;
  padding: 10px 16px;
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px #00000045;
}

#payment div.payment_box {
  margin: 10px 0 0;
  padding: 12px 14px;
  background: #0f131b !important;
  border-radius: var(--sc-radius-sm);
  color: var(--sc-text-muted);
  font-size: 14px;
}
#payment div.payment_box::before { display: none !important; }
#payment div.payment_box:empty,
#payment div.payment_box p:empty { display: none; }
#payment .place-order { padding: 16px 0 0; }
#payment #place_order {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
}

/* coupon / login notices */
.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle .woocommerce-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  margin-bottom: 18px;
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-inline-start: 3px solid var(--sc-primary);
  border-radius: var(--sc-radius-md);
  font-size: 14px;
}
.woocommerce-form-coupon-toggle .woocommerce-info::before,
.woocommerce-form-login-toggle .woocommerce-info::before { display: none; }
.woocommerce-form-coupon-toggle .woocommerce-info a,
.woocommerce-form-login-toggle .woocommerce-info a { color: var(--sc-primary); font-weight: 700; }

.checkout_coupon.woocommerce-form-coupon,
.woocommerce-form-login {
  padding: 20px;
  margin-bottom: 20px;
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
}

/* cart page */
.woocommerce-cart table.shop_table {
  background: var(--sc-card);
  border-radius: var(--sc-radius-lg);
  overflow: hidden;
}
.woocommerce-cart table.shop_table th {
  padding: 14px;
  background: #1e2230;
  color: var(--sc-text-muted);
  font-size: 14px;
}
.woocommerce-cart table.shop_table td { padding: 14px; vertical-align: middle; }
.woocommerce-cart .product-remove a.remove {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: var(--sc-radius-pill);
  background: var(--sc-danger-bg);
  color: var(--sc-danger) !important;
  font-size: 16px;
}
.woocommerce-cart .product-remove a.remove:hover { background: var(--sc-danger); color: #fff !important; }
.woocommerce-cart .cart_totals {
  padding: 22px;
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
}
.woocommerce-cart .cart_totals h2 { font-size: 18px; margin-bottom: 14px; }
.woocommerce-cart .coupon input#coupon_code { min-width: 180px; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; }

/* ==========================================================================
   14b. Content pages — FAQ + contact
   ========================================================================== */
.sc-pagehero { text-align: center; margin-bottom: 40px; }
.sc-pagehero__title { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 12px; }
.sc-pagehero__sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--sc-text-muted);
  font-size: 15px;
}
.sc-crumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--sc-text-muted);
}
.sc-crumbs a { transition: color .2s ease; }
.sc-crumbs a:hover { color: var(--sc-primary); }
.sc-crumbs .is-current { color: var(--sc-text); }

/* FAQ accordion */
.sc-faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.sc-faq__item {
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
  overflow: hidden;
  transition: border-color .25s ease;
}
.sc-faq__item[open],
.sc-faq__item:hover { border-color: color-mix(in srgb, var(--sc-primary) 35%, transparent); }

.sc-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  list-style: none;
}
.sc-faq__q::-webkit-details-marker { display: none; }

.sc-faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: var(--sc-radius-pill);
  background: color-mix(in srgb, var(--sc-primary) 16%, transparent);
}
.sc-faq__icon::before,
.sc-faq__icon::after {
  content: '';
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: 10px; height: 2px;
  border-radius: 2px;
  background: var(--sc-primary);
  transform: translate(50%, -50%);
  transition: transform .25s var(--sc-ease), opacity .25s ease;
}
.sc-faq__icon::after { transform: translate(50%, -50%) rotate(90deg); }
.sc-faq__item[open] .sc-faq__icon::after { opacity: 0; transform: translate(50%, -50%) rotate(0); }

.sc-faq__a {
  padding: 0 18px 18px;
  color: var(--sc-text-muted);
  font-size: 15px;
}
.sc-faq__a p { margin: 0 0 10px; }
.sc-faq__a p:last-child { margin-bottom: 0; }
.sc-faq__a strong { color: var(--sc-text); }
.sc-faq__a ul { margin: 10px 0 0; padding-inline-start: 18px; }
.sc-faq__a li { margin-bottom: 6px; }

.sc-faq__cta {
  max-width: 820px;
  margin: 34px auto 0;
  padding: 30px 24px;
  text-align: center;
  background: var(--sc-bg-elevated);
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
}
.sc-faq__cta h3 { font-size: 18px; margin-bottom: 6px; }
.sc-faq__cta p { color: var(--sc-text-muted); margin: 0 0 18px; }

/* contact */
.sc-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.sc-contact__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
  transition: transform .25s var(--sc-ease), border-color .25s ease;
}
.sc-contact__card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--sc-primary) 45%, transparent);
}
.sc-contact__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--sc-radius-md);
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-dark));
  color: var(--sc-on-primary);
}
.sc-contact__icon svg { width: 22px; height: 22px; }
.sc-contact__body { display: grid; gap: 2px; }
.sc-contact__label { font-size: 13px; color: var(--sc-text-muted); }
.sc-contact__value { font-size: 15px; font-weight: 700; color: #fff; }

/* form */
.sc-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 26px;
  background: var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
}
.sc-form h3 { font-size: 19px; margin-bottom: 4px; }
.sc-form__hint { color: var(--sc-text-muted); font-size: 14px; margin: 0 0 20px; }
.sc-form__trap { position: absolute; inset-inline-start: -9999px; }
.sc-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.sc-form label { display: block; margin-bottom: 14px; }
.sc-form label > span {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--sc-text-muted);
}
.sc-form input,
.sc-form textarea {
  width: 100%;
  padding: 11px 13px;
  background: #12151d;
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-sm);
  color: var(--sc-text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s ease;
}
.sc-form input:focus,
.sc-form textarea:focus {
  outline: none;
  border-color: var(--sc-primary);
}
.sc-form__notice {
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: var(--sc-radius-sm);
  font-size: 14px;
}
.sc-form__notice.is-success {
  background: color-mix(in srgb, var(--sc-primary) 14%, transparent);
  color: var(--sc-primary);
}
.sc-form__notice.is-error {
  background: var(--sc-danger-bg);
  color: var(--sc-danger);
}

/* ==========================================================================
   15. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .sc-postergrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --sc-header-h: 58px; }
  .sc-nav { display: none; }
  .sc-tabbar { display: flex; }
  body { padding-block-end: 62px; }
  .sc-header { inset-block-start: 0; }
  .sc-header__inner {
    width: 100%;
    border-radius: 0;
    border-inline: 0;
    border-block-start: 0;
  }
  .sc-page { padding-block: 84px 40px; }
  .sc-single,
  .sc-steps { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .sc-postergrid { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-gamecard { width: 240px; }
  .sc-product { width: 265px; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-hero__track,
  .sc-carousel__track,
  .sc-reveal { transition: none; }
  .sc-reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .sc-contact { grid-template-columns: 1fr; }
  .sc-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .woocommerce-checkout form.checkout #customer_details,
  .woocommerce-checkout form.checkout #order_review_heading,
  .woocommerce-checkout form.checkout #order_review {
    grid-column: 1;
    grid-row: auto;
    position: static;
  }
}

.sc-guide__thumb.is-icon,
.sc-guide__itemthumb.is-icon {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1b2130, #0d1018);
  color: var(--sc-primary);
}
.sc-guide__thumb.is-icon svg { width: 34px; height: 34px; }
.sc-guide__itemthumb.is-icon svg { width: 26px; height: 26px; }

.sc-guide__warn {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--sc-card-line);
  color: var(--sc-gold);
  font-size: 12px;
  line-height: 1.6;
}

/* ==========================================================================
   12e. Home-page invite into the setup guide
   ========================================================================== */
.sc-setupcta {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 22px 26px;
  background:
    radial-gradient(circle at 12% 30%, color-mix(in srgb, var(--sc-primary) 14%, transparent), transparent 55%),
    var(--sc-card);
  border: 1px solid var(--sc-card-line);
  border-radius: var(--sc-radius-lg);
  transition: transform .25s var(--sc-ease), border-color .25s ease, box-shadow .25s ease;
}
.sc-setupcta:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--sc-primary) 50%, transparent);
  box-shadow: 0 16px 40px #00000073;
}
.sc-setupcta__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: var(--sc-radius-md);
  background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-dark));
  color: var(--sc-on-primary);
}
.sc-setupcta__icon svg { width: 26px; height: 26px; }
.sc-setupcta__body { display: grid; gap: 4px; min-width: 0; }
.sc-setupcta__title { font-size: 19px; font-weight: 700; color: #fff; }
.sc-setupcta__text { font-size: 14px; color: var(--sc-text-muted); line-height: 1.7; }
.sc-setupcta .sc-btn { flex: 0 0 auto; }

@media (max-width: 700px) {
  .sc-setupcta { flex-direction: column; text-align: center; }
  .sc-setupcta .sc-btn { width: 100%; }
}

/* ==========================================================================
   Atmosphere — the page is black because the product art is neon on black,
   but flat #000 reads as an empty room. These layers give the black depth
   without lifting it: slow brand-coloured light, a barely-there grid, film
   grain to kill gradient banding, and a vignette to hold the edges.
   Everything derives from --sc-primary, so it follows the palette switch.
   ========================================================================== */

.sc-atmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

/* Three drifting pools of light. Blurred gradients, moved with transform only,
   so the compositor handles them and nothing repaints. */
.sc-atmos__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
  opacity: .55;
}

.sc-atmos__glow--a {
  width: 46vw; height: 46vw;
  inset-block-start: -12vw;
  inset-inline-start: -8vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--sc-primary) 26%, transparent), transparent 68%);
  animation: sc-drift-a 48s ease-in-out infinite;
}

.sc-atmos__glow--b {
  width: 38vw; height: 38vw;
  inset-block-start: 34%;
  inset-inline-end: -10vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--sc-primary) 20%, transparent), transparent 70%);
  animation: sc-drift-b 62s ease-in-out infinite;
}

.sc-atmos__glow--c {
  width: 52vw; height: 52vw;
  inset-block-end: -18vw;
  inset-inline-start: 22%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sc-primary) 16%, transparent), transparent 72%);
  animation: sc-drift-c 74s ease-in-out infinite;
}

@keyframes sc-drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(6vw, 8vh, 0) scale(1.12); }
}
@keyframes sc-drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.08); }
  50%      { transform: translate3d(-7vw, -6vh, 0) scale(1); }
}
@keyframes sc-drift-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(4vw, -7vh, 0) scale(1.1); }
}

/* A technical grid, faint enough to register as texture rather than pattern,
   faded out at the edges so it never fights the content. */
.sc-atmos__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--sc-primary) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--sc-primary) 7%, transparent) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, #000 10%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, #000 10%, transparent 78%);
  opacity: .5;
}

/* Grain: stops the wide gradients from banding on cheap panels and makes the
   black feel like a surface instead of an absence. */
.sc-atmos__grain {
  position: absolute;
  inset: -50%;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sc-atmos__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 45%, transparent 45%, rgba(0, 0, 0, .75) 100%);
}

/* --------------------------------------------------------------------------
   Section rhythm — 142px of untouched black between every block read as a
   gap in the page. A hairline and a pool of light under each heading turn
   that same space into a deliberate pause.
   -------------------------------------------------------------------------- */

.sc-section { position: relative; }

.sc-section + .sc-section::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 12%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--sc-primary) 22%, transparent) 35%,
    color-mix(in srgb, var(--sc-primary) 34%, transparent) 50%,
    color-mix(in srgb, var(--sc-primary) 22%, transparent) 65%,
    transparent
  );
}

.sc-section__head {
  position: relative;
  isolation: isolate;
}

.sc-section__head::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset-block-start: -46px;
  inset-inline-start: 50%;
  width: min(620px, 86vw);
  height: 190px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--sc-primary) 13%, transparent), transparent 70%);
  pointer-events: none;
}

.sc-section__title {
  text-shadow: 0 0 34px color-mix(in srgb, var(--sc-primary) 30%, transparent);
}

/* --------------------------------------------------------------------------
   Cards — give them a rim that catches the ambient light on hover, echoing
   the neon edge already present in the product artwork.
   -------------------------------------------------------------------------- */

.sc-gamecard,
.sc-product {
  transition: transform .32s cubic-bezier(.2, .7, .3, 1), box-shadow .32s ease, border-color .32s ease;
}

.sc-gamecard:hover,
.sc-product:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .6),
    0 0 0 1px color-mix(in srgb, var(--sc-primary) 40%, transparent),
    0 0 30px color-mix(in srgb, var(--sc-primary) 18%, transparent);
}

/* Reduced motion does not have to mean a dead page: drop the travel, which is
   what actually causes discomfort, and keep a slow breath so the black still
   feels alive. (Worth knowing: Windows' "show animations: off" turns this on,
   so a lot of ordinary visitors land here.) */
@media (prefers-reduced-motion: reduce) {
  .sc-atmos__glow--a,
  .sc-atmos__glow--b,
  .sc-atmos__glow--c { animation: sc-breathe 26s ease-in-out infinite; }
  .sc-atmos__glow--b { animation-duration: 34s; animation-delay: -8s; }
  .sc-atmos__glow--c { animation-duration: 42s; animation-delay: -16s; }
}

@keyframes sc-breathe {
  0%, 100% { opacity: .40; }
  50%      { opacity: .68; }
}

@media (max-width: 760px) {
  /* Big blurs are the expensive part on phones; fewer, smaller, no motion. */
  .sc-atmos__glow { filter: blur(64px); animation: none; opacity: .45; }
  .sc-atmos__glow--c { display: none; }
  .sc-atmos__grid { background-size: 48px 48px; opacity: .35; }
}

/* --------------------------------------------------------------------------
   Edges — a carousel rarely fits a whole number of cards, so the odd one at
   the end was being guillotined by overflow:hidden. Fading the last few
   pixels turns that accident into an invitation to scroll. Same idea under
   the hero: it used to stop dead against the page, now it dissolves into it.
   -------------------------------------------------------------------------- */

.sc-carousel__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}

@media (max-width: 700px) {
  .sc-carousel__viewport {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
  }
}

.sc-hero { position: relative; }

.sc-hero::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 130px;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(to bottom, transparent, var(--sc-bg));
}

/* Keep the dots readable now that they sit inside the fade. */
.sc-hero__dots { position: relative; z-index: 4; }

/* Long-form category copy: readable measure, clearly secondary to the grid. */
.sc-seotext {
  max-width: 78ch;
  margin-inline: auto;
  color: var(--sc-text-muted);
  font-size: 15px;
  line-height: 1.9;
}
.sc-seotext p { margin: 0 0 14px; }
.sc-seotext h2, .sc-seotext h3 { color: var(--sc-text); margin: 22px 0 10px; }
.sc-seotext a { color: var(--sc-primary); }

/* Breadcrumbs: a quiet trail, not a headline. Also the only "up" link a
   product page has, so it earns its place for navigation as much as SEO. */
.sc-crumbs {
  padding-block: 18px 4px;
  font-size: 13px;
}
.sc-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sc-crumbs li { display: flex; align-items: center; gap: 8px; color: var(--sc-text-muted); }
.sc-crumbs li + li::before {
  content: '';
  width: 5px; height: 5px;
  border-inline-end: 1px solid currentColor;
  border-block-start: 1px solid currentColor;
  transform: rotate(-135deg); /* points with the RTL reading direction */
  opacity: .55;
}
.sc-crumbs a { color: var(--sc-text-muted); text-decoration: none; transition: color .2s ease; }
.sc-crumbs a:hover { color: var(--sc-primary); }
.sc-crumbs [aria-current] span { color: var(--sc-text); }

@media (max-width: 600px) {
  .sc-crumbs { font-size: 12px; padding-block: 14px 2px; }
}

/* Social row: the store has a 636-member Discord and a TikTok audience, and
   until now the site linked to neither. Also corroborates the sameAs claim. */
.sc-social {
  display: flex;
  gap: 10px;
  margin-block-start: 18px;
}
.sc-social__link {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--sc-radius-md);
  border: 1px solid var(--sc-card-line);
  background: color-mix(in srgb, var(--sc-card) 55%, transparent);
  color: var(--sc-text-muted);
  transition: color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.sc-social__link svg { width: 19px; height: 19px; }
.sc-social__link:hover {
  color: var(--sc-primary);
  border-color: color-mix(in srgb, var(--sc-primary) 55%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 0 18px color-mix(in srgb, var(--sc-primary) 22%, transparent);
}

/* Store policies: quiet, but present on every page — a customer should never
   have to hunt for the refund terms, and orphan pages carry no SEO weight. */
.sc-policies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.sc-policies a { color: var(--sc-text-muted); text-decoration: none; transition: color .2s ease; }
.sc-policies a:hover { color: var(--sc-primary); text-decoration: underline; }
