@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --bg:          #07080c;
  --bg-1:        #0d0f18;
  --bg-2:        #131620;

  --surface:     rgba(255,255,255,0.04);
  --surface-2:   rgba(255,255,255,0.07);
  --surface-3:   rgba(255,255,255,0.11);

  --line:        rgba(255,255,255,0.06);
  --line-2:      rgba(255,255,255,0.11);
  --line-3:      rgba(255,255,255,0.20);

  --text:        #eef0f8;
  --muted:       #7a8499;
  --muted-2:     #4a5468;

  --v:           #6d28d9;
  --v-2:         #5b21b6;
  --v-dim:       rgba(109,40,217,0.13);
  --v-glow:      rgba(109,40,217,0.28);
  --v-border:    rgba(109,40,217,0.32);

  --cyan:        #06b6d4;
  --cyan-dim:    rgba(6,182,212,0.10);
  --cyan-border: rgba(6,182,212,0.24);

  --green:       #10b981;
  --green-dim:   rgba(16,185,129,0.10);

  --red:         #ef4444;
  --red-dim:     rgba(239,68,68,0.08);

  --r-xl:  24px;
  --r-lg:  16px;
  --r-md:  10px;
  --r-sm:   6px;
  --r-pill: 9999px;

  --max-w: 1680px;
  --gut:   24px;

  --sh-sm:  0 2px 10px rgba(0,0,0,0.35);
  --sh-md:  0 8px 28px rgba(0,0,0,0.5);
  --sh-lg:  0 20px 60px rgba(0,0,0,0.65);
  --sh-v:   0 0 32px var(--v-glow);

  --spring: cubic-bezier(0.16,1,0.3,1);
  --ease:   cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   BASE
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; }

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 60% -10%, rgba(109,40,217,0.11), transparent),
    radial-gradient(ellipse 50% 40% at 100% 80%,  rgba(6,182,212,0.05), transparent);
  pointer-events: none;
  z-index: 0;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; background: none; border: none; }

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-w));
  margin: 0 auto;
  padding-bottom: 100px;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 14px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 14px;
  margin-bottom: 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgba(7,8,12,0.85);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--sh-md), inset 0 1px 0 rgba(255,255,255,0.05);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--v), #3b1172);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px var(--v-glow);
}

.brand-copy { line-height: 1.2; }
.brand-copy strong { font-size: 0.93rem; font-weight: 700; color: #fff; display: block; }
.brand-copy span   { font-size: 0.7rem; font-weight: 500; color: var(--muted); }

.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a {
  padding: 6px 13px;
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 140ms, background 140ms;
}
.topnav a:hover { color: var(--text); background: var(--surface-2); }

/* nav cart button */
.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px !important;
  border-radius: var(--r-pill) !important;
  background: var(--v-dim) !important;
  border: 1px solid var(--v-border);
  color: var(--text) !important;
  font-weight: 600 !important;
  transition: background 150ms, box-shadow 150ms;
}
.nav-cart:hover { background: rgba(109,40,217,0.22) !important; box-shadow: var(--sh-v); }
.nav-cart:hover::after { display: none; }

.nav-cart-icon { display: flex; align-items: center; color: #c4b5fd; }
.nav-cart-icon svg { width: 16px; height: 16px; }

.nav-cart-count {
  display: grid;
  place-items: center;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--v);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

/* =========================================================
   HERO
========================================================= */

.hero {

  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    470px;

  gap: 36px;

  align-items: center;

  padding: 48px;

  margin-bottom: 20px;

  overflow: hidden;

  border:
    1px solid
    var(--line-2);

  border-radius:
    var(--r-xl);

  background:
    linear-gradient(
      135deg,
      rgba(13,15,24,0.98),
      rgba(9,10,15,0.98)
    );

  box-shadow:
    var(--sh-md);
}


.hero::before {

  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(255,255,255,0.012) 3px,
      rgba(255,255,255,0.012) 4px
    );
}


.hero::after {

  content: "";

  position: absolute;

  top: -240px;

  right: -100px;

  width: 600px;

  height: 600px;

  border-radius: 50%;

  pointer-events: none;

  background:
    radial-gradient(
      circle,
      rgba(109,40,217,0.18),
      transparent 70%
    );
}


/* =========================================================
   HERO COPY
========================================================= */

.hero-copy {

  position: relative;

  z-index: 2;

  display: grid;

  gap: 20px;
}


.eyebrow {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  width: fit-content;

  padding: 5px 12px;

  border:
    1px solid
    var(--cyan-border);

  border-radius:
    var(--r-pill);

  background:
    var(--cyan-dim);

  color:
    var(--cyan);

  font-size: 0.67rem;

  font-weight: 700;

  letter-spacing:
    0.08em;

  text-transform:
    uppercase;
}


.eyebrow-dot {

  width: 6px;

  height: 6px;

  border-radius: 50%;

  background:
    var(--cyan);

  box-shadow:
    0 0 10px
    rgba(6,182,212,0.8);

  animation:
    blink 2.4s infinite;
}


.eyebrow-separator {

  opacity: 0.4;
}


.hero h1 {

  max-width: 720px;

  font-size:
    clamp(
      2.8rem,
      5vw,
      5rem
    );

  line-height: 1.02;

  letter-spacing:
    -0.055em;

  font-weight: 800;

  color: white;
}


.hero h1 em {

  font-style: normal;

  background:
    linear-gradient(
      130deg,
      #8b5cf6,
      #06b6d4
    );

  -webkit-background-clip:
    text;

  -webkit-text-fill-color:
    transparent;
}


.hero-text {

  max-width: 650px;

  color: var(--muted);

  font-size: 0.98rem;

  line-height: 1.75;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-actions {

  display: flex;

  align-items: center;

  gap: 10px;

  flex-wrap: wrap;
}


.button {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  min-height: 46px;

  padding: 0 23px;

  border:
    1px solid transparent;

  border-radius:
    var(--r-pill);

  font-size: 0.88rem;

  font-weight: 700;

  transition:
    all 160ms var(--ease);
}


.button-primary {

  background:
    var(--v);

  color: white;

  box-shadow:
    0 6px 24px
    var(--v-glow);
}


.button-primary:hover {

  background:
    var(--v-2);

  transform:
    translateY(-2px);

  box-shadow:
    0 10px 30px
    rgba(109,40,217,0.45);
}


.button-secondary {

  background:
    var(--surface-2);

  border-color:
    var(--line-2);

  color:
    var(--text);
}


.button-secondary:hover {

  background:
    var(--surface-3);

  border-color:
    var(--line-3);

  transform:
    translateY(-2px);
}


/* =========================================================
   HERO METRICS
========================================================= */

.hero-metrics {

  display: flex;

  align-items: center;

  gap: 20px;

  margin-top: 5px;
}


.hero-metric {

  display: flex;

  align-items: center;

  gap: 10px;
}


.metric-icon {

  display: grid;

  place-items: center;

  width: 38px;

  height: 38px;

  border-radius:
    11px;

  background:
    var(--surface-2);

  border:
    1px solid
    var(--line-2);

  font-size: 16px;
}


.hero-metric div:last-child {

  display: grid;

  line-height: 1.15;

  gap: 4px;
}


.hero-metric strong {

  color: white;

  font-size: 1.1rem;

  font-weight: 800;
}


.hero-metric span {

  color: var(--muted);

  font-size: 0.67rem;

  font-weight: 500;
}


.metric-divider {

  width: 1px;

  height: 35px;

  background:
    var(--line-2);
}


/* =========================================================
   HERO RIGHT
========================================================= */

.hero-panel {

  position: relative;

  z-index: 2;

  display: grid;

  gap: 12px;
}


.hero-live-card,
.hero-featured-card {

  border:
    1px solid
    var(--line-2);

  border-radius:
    var(--r-lg);

  background:
    rgba(255,255,255,0.035);

  box-shadow:
    inset 0 1px
    rgba(255,255,255,0.025);
}


/* =========================================================
   LIVE CARD
========================================================= */

.hero-live-card {

  padding: 20px;
}


.hero-live-top {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;
}


.hero-live-top strong {

  display: block;

  color: white;

  font-size: 1rem;

  font-weight: 800;

  margin-top: 2px;
}


.panel-label {

  display: block;

  color: var(--muted);

  font-size: 0.62rem;

  font-weight: 700;

  letter-spacing:
    0.1em;

  text-transform:
    uppercase;
}


.live-status {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 5px 9px;

  border-radius:
    var(--r-pill);

  background:
    rgba(16,185,129,0.08);

  border:
    1px solid
    rgba(16,185,129,0.18);

  color:
    var(--green);

  font-size: 0.58rem;

  font-weight: 800;

  letter-spacing:
    0.08em;
}


.live-dot {

  width: 6px;

  height: 6px;

  border-radius: 50%;

  background:
    var(--green);

  box-shadow:
    0 0 8px
    rgba(16,185,129,0.8);

  animation:
    blink 2s infinite;
}


.hero-live-divider {

  height: 1px;

  margin: 18px 0;

  background:
    var(--line);
}


.hero-data-grid {

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 10px;
}


.hero-data-item {

  padding: 13px;

  border-radius:
    var(--r-md);

  background:
    rgba(255,255,255,0.025);

  border:
    1px solid
    var(--line);
}


.hero-data-item > span {

  display: block;

  color: var(--muted);

  font-size: 0.62rem;

  font-weight: 600;

  margin-bottom: 3px;
}


.hero-data-item strong {

  display: block;

  color: white;

  font-size: 1.25rem;

  font-weight: 800;

  letter-spacing:
    -0.03em;
}


.hero-data-item small {

  display: block;

  color: var(--muted-2);

  font-size: 0.58rem;

  margin-top: 2px;
}


/* =========================================================
   FEATURED
========================================================= */

.hero-featured-card {

  padding: 16px;
}


.hero-featured-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 12px;
}


.hero-featured-header strong {

  display: block;

  color: white;

  font-size: 0.86rem;

  margin-top: 2px;
}


.featured-arrow {

  display: grid;

  place-items: center;

  width: 28px;

  height: 28px;

  border-radius: 50%;

  background:
    var(--surface-2);

  color:
    var(--muted);
}


/* =========================================================
   FEATURED STRIP
========================================================= */

.featured-strip {

  display: grid;

  grid-template-columns:
    1.3fr 1fr 1fr;

  grid-template-rows:
    72px 72px;

  gap: 6px;

  height: 150px;
}


.featured-card {

  position: relative;

  overflow: hidden;

  border:
    1px solid
    var(--line);

  border-radius:
    var(--r-md);

  background:
    var(--bg-2);
}


.featured-card-1 {

  grid-row:
    1 / 3;
}


.featured-card img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition:
    transform 400ms
    var(--spring);
}


.featured-card:hover img {

  transform:
    scale(1.07);
}


.featured-card-overlay {

  position: absolute;

  inset:
    auto 0 0;

  padding:
    20px 9px 8px;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.92),
      transparent
    );
}


.featured-card-overlay span {

  display: block;

  color:
    var(--cyan);

  font-size: 0.52rem;

  font-weight: 800;

  text-transform:
    uppercase;
}


.featured-card-overlay strong {

  display: block;

  color: white;

  font-size: 0.64rem;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}
/* ============================================================
   BUTTONS
   ============================================================ */
.button,
.shop-card-button,
.page-btn,
.filter-chip,
.request-btn,
.shop-card-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 160ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.button { min-height: 46px; padding: 0 24px; font-size: 0.9rem; }

.button-primary {
  background: var(--v);
  color: #fff;
  box-shadow: 0 5px 20px var(--v-glow);
}
.button-primary:hover { background: var(--v-2); transform: translateY(-2px); box-shadow: 0 9px 26px rgba(109,40,217,0.48); }

.button-secondary {
  background: var(--surface-2);
  border-color: var(--line-2);
  color: var(--text);
}
.button-secondary:hover { background: var(--surface-3); border-color: var(--line-3); }

/* ============================================================
   TOOLBAR
   ============================================================ */
.toolbar {
  position: sticky;
  top: 74px;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: rgba(7,8,12,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--sh-md);
}
.toolbar-left,
.toolbar-right { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }

.filter-chip {
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border-color: var(--line-2);
}
.filter-chip:hover  { color: var(--text); border-color: var(--line-3); background: var(--surface-2); }
.filter-chip.is-active { color: #fff; background: var(--v); border-color: var(--v); box-shadow: 0 3px 12px var(--v-glow); }

.search-field {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  min-width: 230px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  transition: border-color 150ms, box-shadow 150ms;
}
.search-field:focus-within { border-color: var(--v); box-shadow: 0 0 0 3px var(--v-dim); }
.search-icon { color: var(--muted-2); display: flex; }
.search-icon svg { width: 15px; height: 15px; }
.search-field input { flex: 1; background: transparent; outline: none; font-size: 0.85rem; color: var(--text); }
.search-field input::placeholder { color: var(--muted-2); }

.sort-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  font-size: 0.82rem;
  color: var(--muted);
}
.sort-field select { background: transparent; outline: none; min-width: 130px; cursor: pointer; font-size: 0.82rem; color: var(--text); }
.sort-field select option { background: var(--bg-1); }

.request-btn {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #fff;
  background: var(--v);
  border-color: var(--v);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.request-btn svg { width: 15px; height: 15px; }
.request-btn:hover { background: var(--v-2); }

/* ============================================================
   CATALOG HEAD
   ============================================================ */
.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0 14px;
}
.catalog-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v);
  display: block;
  margin-bottom: 4px;
}
.catalog-head h2 { font-size: clamp(1.3rem, 2vw, 1.85rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.catalog-count {
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================================
   CATALOG GRID & CARDS
   ============================================================ */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 18px;
  min-height: 200px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-1);
  box-shadow: var(--sh-sm);
  opacity: 0;
  transform: translateY(14px);
  animation: cardIn 360ms var(--spring) forwards;
  animation-delay: var(--delay, 0ms);
  transition: transform 220ms var(--spring), border-color 200ms, box-shadow 200ms;
}
.shop-card:hover {
  transform: translateY(-5px);
  border-color: var(--v-border);
  box-shadow: var(--sh-md);
}
.shop-card.is-selected {
  border-color: var(--v-border);
  background: rgba(109,40,217,0.05);
}

.shop-card-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-2);
  flex-shrink: 0;
}
.shop-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--spring); }
.shop-card:hover .shop-card-img { transform: scale(1.08); }

.shop-card-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7,8,12,0.55);
  opacity: 0;
  transition: opacity 180ms;
}
.shop-card:hover .shop-card-overlay { opacity: 1; }

.shop-card-overlay-add {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  background: var(--v);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 4px 16px var(--v-glow);
  transform: translateY(8px);
  transition: transform 200ms var(--spring);
}
.shop-card:hover .shop-card-overlay-add { transform: translateY(0); }

.shop-card-selected-mark {
  position: absolute;
  top: 8px; right: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--v);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px var(--v-glow);
  color: #fff;
}
.shop-card-selected-mark svg { width: 13px; height: 13px; }

.shop-card-body   { display: flex; flex-direction: column; gap: 9px; padding: 13px; flex: 1; }
.shop-card-head   { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.shop-card-name   { font-size: 0.9rem; font-weight: 700; line-height: 1.35; color: #fff; min-height: 2.6em; }

.shop-card-toggle {
  flex-shrink: 0;
  min-height: 28px;
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border-color: var(--line-2);
}
.shop-card-toggle:hover      { color: var(--text); border-color: var(--line-3); }
.shop-card-toggle.is-selected { color: #c4b5fd; background: var(--v-dim); border-color: var(--v-border); }

.shop-card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.shop-tag {
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.shop-tag:first-child { background: var(--v-dim); border-color: var(--v-border); color: #c4b5fd; }

.shop-card-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.shop-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.shop-card-meta { color: var(--muted-2); font-size: 0.72rem; font-weight: 500; }

.shop-card-button {
  min-height: 32px;
  padding: 0 13px;
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--v);
  color: #fff;
}
.shop-card-button:hover { background: var(--v-2); transform: translateY(-1px); }
.shop-card-button.is-selected { background: var(--surface-3); color: #c4b5fd; border: 1px solid var(--v-border); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  margin-bottom: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--bg-1);
}
.page-btn {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.82rem;
  color: var(--text);
  background: var(--surface);
  border-color: var(--line-2);
}
.page-btn:hover { background: var(--surface-2); border-color: var(--line-3); }
.page-meta { color: var(--muted); font-size: 0.82rem; font-weight: 500; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 40px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-xl);
  margin-bottom: 18px;
  animation: fadeIn 300ms ease;
}
.empty-state-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.empty-state-icon svg { width: 26px; height: 26px; }
.empty-state h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.empty-state p  { color: var(--muted); font-size: 0.88rem; }

/* ============================================================
   FLOATING CART
   ============================================================ */
/* ============================================================
   MODERN FLOATING CART
============================================================ */

.floating-cart {
  position: fixed;
  right: 24px;
  bottom: 24px;

  z-index: 400;

  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(109, 40, 217, 0.96),
      rgba(67, 24, 140, 0.96)
    );

  border: 1px solid rgba(255,255,255,0.16);

  color: #fff;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.45),
    0 0 30px rgba(109,40,217,0.28);

  transition:
    transform 180ms var(--spring),
    box-shadow 180ms var(--ease),
    border-color 180ms var(--ease);
}


/* subtle outer glow */

.floating-cart::before {
  content: "";

  position: absolute;
  inset: -5px;

  border-radius: 22px;

  border: 1px solid rgba(109,40,217,0.18);

  pointer-events: none;

  transition:
    opacity 180ms,
    transform 180ms var(--spring);
}


/* hover */

.floating-cart:hover {
  transform: translateY(-5px) scale(1.04);

  border-color:
    rgba(255,255,255,0.25);

  box-shadow:
    0 16px 40px rgba(0,0,0,0.55),
    0 0 42px rgba(109,40,217,0.42);
}


.floating-cart:hover::before {
  transform: scale(1.08);
  opacity: 0.8;
}


/* cart SVG */

.floating-cart-icon {
  width: 25px;
  height: 25px;

  display: block;

  color: #fff;

  transition:
    transform 180ms var(--spring);
}


.floating-cart:hover
.floating-cart-icon {
  transform: scale(1.08);
}


/* notification badge */

.floating-cart-count {
  position: absolute;

  top: -6px;
  right: -6px;

  min-width: 22px;
  height: 22px;

  padding: 0 6px;

  display: grid;
  place-items: center;

  border-radius: 999px;

  background: #ef4444;

  border: 3px solid var(--bg);

  color: #fff;

  font-size: 0.66rem;
  font-weight: 800;

  line-height: 1;

  box-shadow:
    0 4px 12px rgba(239,68,68,0.4);

  transition:
    transform 180ms var(--spring),
    opacity 180ms;
}


/* hide badge when cart is empty */

.floating-cart:not(.has-items)
.floating-cart-count {
  opacity: 0;

  transform: scale(0);
}


/* badge animation when items exist */

.floating-cart.has-items
.floating-cart-count {
  opacity: 1;

  transform: scale(1);

  animation:
    cartBadgeIn 300ms var(--spring);
}


@keyframes cartBadgeIn {
  0% {
    transform: scale(0.4);
  }

  70% {
    transform: scale(1.18);
  }

  100% {
    transform: scale(1);
  }
}


/* mobile */

@media (max-width: 600px) {

  .floating-cart {
    right: 16px;
    bottom: 16px;

    width: 54px;
    height: 54px;

    border-radius: 16px;
  }

  .floating-cart-icon {
    width: 23px;
    height: 23px;
  }
}

/* ============================================================
   TOAST
   ============================================================ */
.store-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--v-border);
  background: rgba(13,15,24,0.97);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--sh-lg);
  backdrop-filter: blur(20px);
  transition: opacity 200ms, transform 200ms var(--spring);
  white-space: nowrap;
}
.store-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  margin-top: 28px;
  padding: 32px 36px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: var(--bg-1);
}
.footer h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; margin: 6px 0; }
.footer p  { color: var(--muted); font-size: 0.88rem; }
.footer-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--v); margin-bottom: 2px; }
.footer-card {
  display: grid;
  gap: 5px;
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--surface);
  align-self: center;
}
.footer-card span   { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.footer-card strong { font-size: 1.3rem; font-weight: 800; color: var(--cyan); }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 44px;
  margin-bottom: 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: var(--bg-1);
}
.checkout-header h1 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.04em; color: #fff; margin: 5px 0; }
.checkout-header p  { color: var(--muted); }

.checkout-steps {
  display: flex;
  align-items: center;
  padding: 18px 28px;
  margin-bottom: 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--bg-1);
}
.checkout-step { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.checkout-step span {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  font-size: 0.76rem;
  font-weight: 800;
}
.checkout-step.is-active { color: #fff; }
.checkout-step.is-active span { background: var(--v); border-color: var(--v); color: #fff; box-shadow: 0 3px 12px var(--v-glow); }
.checkout-step strong { font-size: 0.86rem; font-weight: 600; }
.checkout-step-line { flex: 1; height: 1px; background: var(--line-2); margin: 0 16px; }

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 18px;
  align-items: start;
}

.checkout-main { border: 1px solid var(--line-2); border-radius: var(--r-xl); background: var(--bg-1); overflow: hidden; }

.checkout-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line);
}
.checkout-section-head h2 { font-size: 1.3rem; font-weight: 800; color: #fff; }

.checkout-count {
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--v-dim);
  border: 1px solid var(--v-border);
  color: #c4b5fd;
  font-size: 0.78rem;
  font-weight: 700;
}

.checkout-items { padding: 18px 24px; display: grid; gap: 10px; }

.checkout-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  animation: cardIn 300ms var(--spring);
  transition: border-color 160ms;
}
.checkout-item:hover { border-color: var(--line-2); }

.checkout-item-image {
  flex-shrink: 0;
  width: 100px; height: 64px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-2);
}
.checkout-item-image img { width: 100%; height: 100%; object-fit: cover; }

.checkout-item-content { flex: 1; min-width: 0; display: grid; gap: 8px; align-content: start; }
.checkout-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.checkout-item-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.checkout-item-top h3 { font-size: 0.94rem; font-weight: 700; color: #fff; }

.checkout-item-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.checkout-item-tag { padding: 1px 7px; border-radius: 4px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted); font-size: 0.62rem; font-weight: 600; text-transform: uppercase; }

.checkout-item-description { font-size: 0.78rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.checkout-remove {
  flex-shrink: 0;
  min-height: 28px;
  padding: 0 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 150ms;
}
.checkout-remove svg { width: 12px; height: 12px; }
.checkout-remove:hover { border-color: var(--red); color: var(--red); background: var(--red-dim); }

.checkout-empty { text-align: center; padding: 72px 40px; }
.checkout-empty-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.checkout-empty-icon svg { width: 28px; height: 28px; }
.checkout-empty h2 { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.checkout-empty p  { color: var(--muted); margin-bottom: 22px; font-size: 0.88rem; }

/* summary */
.checkout-summary {
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: var(--bg-1);
  padding: 22px;
  display: grid;
  gap: 14px;
  position: sticky;
  top: 88px;
}
.summary-header { display: flex; align-items: center; justify-content: space-between; }
.summary-header span:first-child { font-size: 0.95rem; font-weight: 700; color: #fff; }
.summary-secure { font-size: 0.7rem; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 4px; }
.summary-secure svg { width: 11px; height: 11px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.86rem; color: var(--muted); }
.summary-row strong { color: var(--text); font-weight: 700; }
.summary-divider { height: 1px; background: var(--line); }
.summary-total { display: flex; align-items: center; justify-content: space-between; }
.summary-total span  { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.summary-total strong { font-size: 1.35rem; font-weight: 800; color: #fff; }
.summary-note {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid rgba(16,185,129,0.18);
  background: var(--green-dim);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}
.summary-note-icon { color: var(--green); flex-shrink: 0; display: flex; padding-top: 2px; }
.summary-note-icon svg { width: 14px; height: 14px; }

.checkout-confirm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background: var(--v);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 20px var(--v-glow);
  transition: all 160ms;
  border: none;
}
.checkout-confirm:hover:not(:disabled) { background: var(--v-2); transform: translateY(-2px); box-shadow: 0 9px 26px rgba(109,40,217,0.48); }
.checkout-confirm:disabled { opacity: 0.38; cursor: not-allowed; }

.checkout-whatsapp { font-size: 0.78rem; color: var(--muted); text-align: center; }
.checkout-whatsapp strong { color: var(--cyan); }

.checkout-info { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 18px; }
.checkout-info-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--bg-1);
}
.info-icon { flex-shrink: 0; display: grid; place-items: start; color: var(--v); }
.info-icon svg { width: 20px; height: 20px; margin-top: 2px; }
.checkout-info-card strong { display: block; font-weight: 700; color: #fff; margin-bottom: 4px; font-size: 0.88rem; }
.checkout-info-card p { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

.checkout-error { text-align: center; padding: 60px 40px; }

/* ============================================================
   MODAL
   ============================================================ */
/* ============================================================
   MODAL
============================================================ */

.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 500;

  display: grid;
  place-items: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.78);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  animation: fadeIn 180ms ease;
}

/*
  IMPORTANT:
  The hidden HTML attribute controls whether
  the modal is visible.
*/

.confirm-modal[hidden] {
  display: none;
}


.confirm-modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  cursor: pointer;
}


.confirm-modal-card {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 460px;

  padding: 36px;

  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);

  background: var(--bg-1);

  box-shadow: var(--sh-lg);

  text-align: center;

  animation: modalIn 260ms var(--spring);
}


/* Close button */

.modal-close {
  position: absolute;

  top: 14px;
  right: 14px;

  width: 30px;
  height: 30px;

  border-radius: 50%;

  background: var(--surface-2);

  border: 1px solid var(--line-2);

  cursor: pointer;

  color: var(--muted);

  display: grid;
  place-items: center;

  transition:
    background 150ms,
    color 150ms,
    border-color 150ms;

  font-size: 1rem;
}


.modal-close:hover {
  background: var(--surface-3);
  border-color: var(--line-3);
  color: var(--text);
}


/* Icon */

.modal-icon {
  width: 52px;
  height: 52px;

  margin: 0 auto 14px;

  border-radius: var(--r-lg);

  background: var(--v-dim);

  border: 1px solid var(--v-border);

  display: grid;
  place-items: center;

  color: #c4b5fd;

  font-size: 1.5rem;
}


.modal-icon svg {
  width: 24px;
  height: 24px;
}


/* Title */

.confirm-modal-card h2 {
  font-size: 1.5rem;

  font-weight: 800;

  color: #fff;

  margin: 6px 0 8px;

  letter-spacing: -0.02em;
}


.confirm-modal-card > p {
  font-size: 0.86rem;

  color: var(--muted);

  margin-bottom: 18px;
}


/* Game list */

.modal-game-list {
  max-height: 250px;

  overflow-y: auto;

  display: grid;

  gap: 6px;

  margin-bottom: 22px;

  text-align: left;
}


.modal-game-list::-webkit-scrollbar {
  width: 4px;
}


.modal-game-list::-webkit-scrollbar-thumb {
  background: var(--line-3);

  border-radius: 4px;
}


/* Individual game */

.modal-game {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  padding: 9px 13px;

  border-radius: var(--r-md);

  background: var(--surface);

  border: 1px solid var(--line);

  font-size: 0.83rem;
}


.modal-game span {
  color: var(--text);

  font-weight: 500;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}


.modal-game-check {
  color: var(--green);

  flex-shrink: 0;

  font-weight: 800;
}


/* Modal buttons */

.modal-actions {
  display: flex;

  gap: 10px;
}


.modal-actions .button {
  flex: 1;

  justify-content: center;
}


/* Prevent background scrolling */

body.modal-open {
  overflow: hidden;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes cardIn  { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
@keyframes modalIn { from { opacity:0; transform:scale(0.93) translateY(10px); } to { opacity:1; transform:scale(1) translateY(0); } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes popIn   { 0%{transform:scale(0.5)} 70%{transform:scale(1.25)} 100%{transform:scale(1)} }
@keyframes blink   { 0%,100%{opacity:1} 50%{opacity:0.35} }

/* scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-3); border-radius: 4px; }

/* focus */
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible {
  outline: 2px solid var(--v);
  outline-offset: 3px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1500px) { .catalog-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width: 1280px) {
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .toolbar { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
@media (max-width: 960px)  {
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .checkout-info { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .checkout-header { flex-direction: column; align-items: flex-start; padding: 24px 24px; }
}
@media (max-width: 600px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .hero { padding: 26px 20px; }
  .hero-metrics { flex-wrap: wrap; gap: 14px; }
  .metric-divider { display: none; }
  .site-shell { width: calc(100% - 16px); }
  .floating-cart { right: 12px; bottom: 12px; min-width: 0; }
  .checkout-item { flex-direction: column; }
  .checkout-item-image { width: 100%; height: 110px; }
  .topnav a:not(.nav-cart) { display: none; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .toolbar-left, .toolbar-right { flex-wrap: wrap; }
  .search-field { min-width: 0; flex: 1; }
}
/* ============================================================
   MOBILE — ZACK4GAMES
   Optimized for phones
============================================================ */

@media (max-width: 600px) {

  /* ----------------------------------------------------------
     GLOBAL MOBILE
  ---------------------------------------------------------- */

  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
  }

  .site-shell {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
  }


  /* ----------------------------------------------------------
     HEADER
  ---------------------------------------------------------- */

  .topbar {
    width: 100%;
    min-height: 64px;
    padding: 10px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .brand {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .brand img {
    width: 145px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .topnav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
  }

  /* Hide Store / Filters / Contact on phone */
  .topnav a:not(.nav-cart) {
    display: none;
  }

  .nav-cart {
    min-height: 38px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .nav-cart-icon {
    width: 18px;
    height: 18px;
  }

  .nav-cart-count {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.65rem;
  }


  /* ----------------------------------------------------------
     HERO
  ---------------------------------------------------------- */

  .hero {
    width: 100%;
    padding: 34px 10px 24px;
    display: block;
    text-align: center;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .eyebrow {
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 0.65rem;
    line-height: 1.6;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
    line-height: 1.05;
    margin: 12px 0 14px;
    letter-spacing: -0.045em;
  }

  .hero-text {
    max-width: 430px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.65;
  }


  /* ----------------------------------------------------------
     HERO BUTTONS
  ---------------------------------------------------------- */

  .hero-actions {
    width: 100%;
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    box-sizing: border-box;
  }


  /* ----------------------------------------------------------
     HERO METRICS
  ---------------------------------------------------------- */

  .hero-metrics {
    width: 100%;
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .hero-metric {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    text-align: left;
  }

  .metric-divider {
    display: none;
  }


  /* ----------------------------------------------------------
     HIDE LARGE DESKTOP HERO PANEL
  ---------------------------------------------------------- */

  .hero-panel {
    display: none;
  }


  /* ----------------------------------------------------------
     FILTER TOOLBAR
  ---------------------------------------------------------- */

  .toolbar {
    width: 100%;
    margin: 8px 0 22px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-sizing: border-box;
    border-radius: 18px;
  }

  .toolbar-left,
  .toolbar-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }


  /* ----------------------------------------------------------
     FILTER CHIPS
  ---------------------------------------------------------- */

  .filter-group {
    width: 100%;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 3px;

    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .filter-group::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.75rem;
    white-space: nowrap;
  }


  /* ----------------------------------------------------------
     SEARCH BAR — MOBILE
  ---------------------------------------------------------- */

  .search-field {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 15px;
    box-sizing: border-box;
    border-radius: 14px;
  }

  .search-icon {
    flex-shrink: 0;
    font-size: 1.05rem;
  }

  .search-field input {
    width: 100%;
    min-width: 0;
    height: 44px;
    font-size: 0.9rem;
  }

  .search-field input::placeholder {
    font-size: 0.85rem;
  }


  /* ----------------------------------------------------------
     SORT
  ---------------------------------------------------------- */

  .sort-field {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    box-sizing: border-box;
    border-radius: 14px;
    justify-content: space-between;
  }

  .sort-field select {
    flex: 1;
    min-width: 0;
    width: 100%;
    text-align: right;
    font-size: 0.8rem;
  }


  /* ----------------------------------------------------------
     VIEW CART BUTTON
  ---------------------------------------------------------- */

  .request-btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    border-radius: 14px;
    box-sizing: border-box;
    font-size: 0.82rem;
  }


  /* ----------------------------------------------------------
     CATALOG HEADER
  ---------------------------------------------------------- */

  .catalog-head {
    width: 100%;
    margin: 20px 0 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .catalog-head h2 {
    font-size: 1.55rem;
  }

  .catalog-count {
    font-size: 0.72rem;
  }


  /* ----------------------------------------------------------
     PAGINATION
  ---------------------------------------------------------- */

  .pagination-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-sizing: border-box;
  }

  .page-btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .page-meta {
    font-size: 0.72rem;
    text-align: center;
    white-space: nowrap;
  }


  /* ----------------------------------------------------------
     GAME GRID
  ---------------------------------------------------------- */

  .catalog-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }


  /* ----------------------------------------------------------
     GAME CARD
  ---------------------------------------------------------- */

  .shop-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .shop-card-img-wrap {
    aspect-ratio: 16 / 9;
  }

  .shop-card-body {
    padding: 14px;
    gap: 10px;
  }

  .shop-card-name {
    font-size: 0.95rem;
  }

  .shop-card-desc {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .shop-card-button,
  .shop-card-toggle {
    min-height: 38px;
  }

  /*
     Hover effects don't make sense on touch screens.
     Keep cards stable on mobile.
  */

  .shop-card:hover {
    transform: none;
  }

  .shop-card:hover .shop-card-img {
    transform: none;
  }

  .shop-card-overlay {
    display: none;
  }


  /* ----------------------------------------------------------
     EMPTY STATE
  ---------------------------------------------------------- */

  .empty-state {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 45px 18px;
  }


  /* ----------------------------------------------------------
     FOOTER
  ---------------------------------------------------------- */

  .footer {
    width: 100%;
    margin-top: 24px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    box-sizing: border-box;
  }

  .footer h2 {
    font-size: 1.25rem;
  }

  .footer p {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .footer-card {
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
    text-align: center;
  }


  /* ----------------------------------------------------------
     FEATURED STRIP
  ---------------------------------------------------------- */

  .featured-strip {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .featured-strip::-webkit-scrollbar {
    display: none;
  }


  /* ----------------------------------------------------------
     FLOATING CART
  ---------------------------------------------------------- */

  .floating-cart {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
    min-width: 54px;
    padding: 0;
    border-radius: 17px;
  }

  .floating-cart-icon {
    width: 23px;
    height: 23px;
  }


  /* ----------------------------------------------------------
     TOAST
  ---------------------------------------------------------- */

  .store-toast {
    bottom: 82px;
    max-width: calc(100vw - 40px);
    padding: 10px 15px;
    font-size: 0.75rem;
    text-align: center;
    white-space: normal;
  }
}


/* ============================================================
   EXTRA SMALL PHONES
   360px and below
============================================================ */

@media (max-width: 380px) {

  .site-shell {
    padding: 0 9px;
  }

  .topbar {
    padding-left: 2px;
    padding-right: 2px;
  }

  .brand img {
    width: 125px;
  }

  .nav-cart {
    padding: 0 9px;
    font-size: 0.72rem;
  }

  .hero {
    padding-left: 6px;
    padding-right: 6px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 0.84rem;
  }

  .toolbar {
    padding: 11px;
  }

  .filter-chip {
    padding: 0 11px;
  }

  .catalog-head h2 {
    font-size: 1.4rem;
  }

  .page-btn {
    padding: 0 9px;
    font-size: 0.68rem;
  }
}@media (max-width: 700px) {

  .hero-metrics {
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }

  .hero-metric {
    justify-content: flex-start;
    text-align: left;
  }

}/* =========================================================
   ZACK4GAMES — PRICING
========================================================= */

.shop-card-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}


.shop-card-price strong {
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
}


.shop-card-price span {
  font-size: 10px;
  line-height: 1;
  color: rgba(255,255,255,0.4);
}


/* =========================================================
   STORE OFFER BANNER
========================================================= */

.offer-banner {
  position: relative;

  display: flex;
  align-items: center;

  gap: 20px;

  margin: 28px 0 34px;

  padding: 22px 25px;

  overflow: hidden;

  border-radius: 20px;

  border:
    1px solid rgba(124,58,237,0.28);

  background:
    radial-gradient(
      circle at 0% 50%,
      rgba(124,58,237,0.14),
      transparent 40%
    ),
    rgba(255,255,255,0.025);

  box-shadow:
    0 15px 45px rgba(0,0,0,0.15);
}


.offer-banner::after {
  content: "";

  position: absolute;

  width: 220px;
  height: 220px;

  right: -120px;
  top: -120px;

  border-radius: 50%;

  background:
    rgba(124,58,237,0.12);

  filter: blur(20px);

  pointer-events: none;
}


.offer-icon {
  flex: 0 0 58px;

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  background:
    rgba(124,58,237,0.13);

  border:
    1px solid rgba(124,58,237,0.25);

  font-size: 28px;
}


.offer-content {
  flex: 1;

  min-width: 0;
}


.offer-top {
  display: flex;
  align-items: center;

  gap: 9px;

  margin-bottom: 6px;
}


.offer-badge {
  display: inline-flex;

  padding: 5px 9px;

  border-radius: 999px;

  background:
    rgba(124,58,237,0.12);

  border:
    1px solid rgba(124,58,237,0.25);

  color:
    #a78bfa;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.08em;
}


.offer-price {
  font-size: 11px;

  font-weight: 700;

  color:
    rgba(255,255,255,0.45);
}


.offer-content h2 {
  margin: 0 0 5px;

  font-size: 20px;

  line-height: 1.25;
}


.offer-content h2 strong {
  color:
    #a78bfa;
}


.offer-content p {
  margin: 0;

  max-width: 600px;

  color:
    rgba(255,255,255,0.5);

  font-size: 12px;

  line-height: 1.5;
}


.offer-example {
  position: relative;
  z-index: 1;

  flex: 0 0 auto;

  min-width: 145px;

  padding: 14px 16px;

  text-align: center;

  border-radius: 14px;

  background:
    rgba(255,255,255,0.035);

  border:
    1px solid rgba(255,255,255,0.07);
}


.offer-example span {
  display: block;

  font-size: 11px;

  color:
    rgba(255,255,255,0.45);
}


.offer-example strong {
  display: block;

  margin: 3px 0;

  color:
    #a78bfa;

  font-size: 18px;
}


.offer-example small {
  display: block;

  font-size: 9px;

  color:
    rgba(255,255,255,0.35);
}


/* =========================================================
   CHECKOUT OFFER
========================================================= */

.checkout-offer-message {

  display: flex;

  align-items: center;

  gap: 9px;

  margin-top: 10px;

  padding: 11px 13px;

  border-radius: 12px;

  background:
    rgba(124,58,237,0.08);

  border:
    1px solid rgba(124,58,237,0.18);

  color:
    rgba(255,255,255,0.55);

  font-size: 12px;

  line-height: 1.4;
}


.checkout-offer-message strong {
  color:
    #a78bfa;
}


.checkout-offer-icon {

  display: flex;

  align-items: center;

  justify-content: center;

  flex: 0 0 27px;

  width: 27px;
  height: 27px;

  border-radius: 8px;

  background:
    rgba(124,58,237,0.15);

  font-size: 14px;
}


.checkout-offer-message.has-offer {

  background:
    rgba(34,197,94,0.07);

  border-color:
    rgba(34,197,94,0.18);
}


.checkout-offer-message.has-offer strong {

  color:
    #4ade80;
}


/* =========================================================
   CHECKOUT ITEM PRICE
========================================================= */

.checkout-item-price {

  display: inline-flex;

  margin-top: 10px;

  padding: 5px 9px;

  border-radius: 8px;

  background:
    rgba(255,255,255,0.04);

  color:
    rgba(255,255,255,0.65);

  font-size: 11px;

  font-weight: 700;
}


/* =========================================================
   MODAL OFFER
========================================================= */

.modal-offer {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 6px;

  margin-top: 14px;

  padding: 11px 13px;

  border-radius: 11px;

  background:
    rgba(124,58,237,0.08);

  border:
    1px solid rgba(124,58,237,0.18);

  color:
    rgba(255,255,255,0.55);

  font-size: 12px;

  text-align: center;
}


.modal-offer strong {
  color:
    #a78bfa;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .offer-banner {

    align-items: flex-start;

    gap: 13px;

    padding: 17px;

    margin:
      20px 0 25px;

    border-radius: 17px;
  }


  .offer-icon {

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    border-radius: 12px;

    font-size: 21px;
  }


  .offer-content h2 {

    font-size: 16px;
  }


  .offer-content p {

    font-size: 11px;
  }


  .offer-example {

    display: none;
  }


  .offer-top {

    flex-wrap: wrap;

    gap: 5px;
  }


  .offer-badge {

    font-size: 8px;
  }


  .offer-price {

    font-size: 9px;
  }


  .shop-card-price strong {

    font-size: 15px;
  }

}


@media (max-width: 420px) {

  .offer-banner {

    padding: 14px;

    gap: 11px;
  }


  .offer-icon {

    flex-basis: 40px;

    width: 40px;
    height: 40px;

    font-size: 19px;
  }


  .offer-content h2 {

    font-size: 15px;
  }

}/* =========================================================
   ZACK4GAMES — OFFER SYSTEM
========================================================= */

.zack-offer-box {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 28px;
  padding: 18px 20px;

  background:
    linear-gradient(
      135deg,
      rgba(124, 58, 237, 0.12),
      rgba(255, 255, 255, 0.025)
    );

  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 18px;

  box-sizing: border-box;

  overflow: hidden;
}


.zack-offer-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}


.zack-offer-icon {
  width: 44px;
  height: 44px;

  flex: 0 0 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: rgba(139, 92, 246, 0.15);

  font-size: 21px;
}


.zack-offer-content {
  min-width: 0;
  flex: 1;
}


.zack-offer-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}


.zack-offer-title-row strong {
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #ffffff;
}


.zack-offer-free-count {
  display: inline-flex;
  align-items: center;

  padding: 4px 8px;

  border-radius: 999px;

  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.28);

  color: #86efac;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}


.zack-offer-message {
  margin: 5px 0 0;

  color: rgba(255, 255, 255, 0.58);

  font-size: 12px;
  line-height: 1.4;

  white-space: normal;
}


.zack-offer-progress-wrap {
  margin-top: 15px;
}


.zack-offer-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-bottom: 7px;

  font-size: 10px;
  font-weight: 700;

  color: rgba(255, 255, 255, 0.42);
}


.zack-offer-saved {
  color: #86efac;
}


.zack-offer-progress {
  width: 100%;
  height: 6px;

  background: rgba(255, 255, 255, 0.07);

  border-radius: 999px;

  overflow: hidden;
}


.zack-offer-progress-fill {
  height: 100%;

  min-width: 0;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      #7c3aed,
      #a855f7
    );

  transition:
    width 0.35s ease;
}


.zack-offer-price {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-top: 11px;

  color: rgba(255, 255, 255, 0.38);

  font-size: 10px;
}


.zack-offer-price span:last-child {
  color: rgba(255, 255, 255, 0.55);
}


/* =========================================================
   FREE GAME STATE
========================================================= */

.zack-offer-box.has-free {

  border-color:
    rgba(34, 197, 94, 0.30);

  background:
    linear-gradient(
      135deg,
      rgba(34, 197, 94, 0.09),
      rgba(255, 255, 255, 0.025)
    );
}


.zack-offer-box.has-free
.zack-offer-progress-fill {

  background:
    linear-gradient(
      90deg,
      #16a34a,
      #4ade80
    );
}


.zack-offer-box.almost-free {

  border-color:
    rgba(250, 204, 21, 0.28);

}


.zack-offer-box.almost-free
.zack-offer-progress-fill {

  background:
    linear-gradient(
      90deg,
      #eab308,
      #facc15
    );

}


/* =========================================================
   CHECKOUT OFFER
========================================================= */

.checkout-offer-box {

  width: 100%;
  box-sizing: border-box;

  margin-bottom: 18px;
  padding: 16px;

  border-radius: 16px;

  border: 1px solid rgba(139, 92, 246, 0.25);

  background:
    linear-gradient(
      135deg,
      rgba(124, 58, 237, 0.10),
      rgba(255, 255, 255, 0.025)
    );
}


.checkout-offer-top {

  display: flex;
  align-items: center;

  gap: 12px;

  min-width: 0;
}


.checkout-offer-icon {

  width: 40px;
  height: 40px;

  flex: 0 0 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background:
    rgba(139, 92, 246, 0.14);

  font-size: 19px;
}


.checkout-offer-copy {

  flex: 1;
  min-width: 0;
}


.checkout-offer-title {

  font-size: 13px;
  font-weight: 800;

  color: #fff;

  letter-spacing: 0.035em;
}


.checkout-offer-message {

  margin-top: 4px;

  color:
    rgba(255, 255, 255, 0.55);

  font-size: 11px;
  line-height: 1.35;
}


.checkout-free-badge {

  flex: 0 0 auto;

  padding: 6px 9px;

  border-radius: 999px;

  background:
    rgba(34, 197, 94, 0.13);

  border:
    1px solid rgba(34, 197, 94, 0.25);

  color:
    #86efac;

  font-size: 9px;
  font-weight: 900;

  letter-spacing: 0.04em;
}


.checkout-offer-progress {

  width: 100%;
  height: 5px;

  margin-top: 14px;

  overflow: hidden;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.07);
}


.checkout-offer-fill {

  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      #7c3aed,
      #a855f7
    );

  transition:
    width 0.35s ease;
}


.checkout-offer-bottom {

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;

  margin-top: 8px;

  color:
    rgba(255, 255, 255, 0.40);

  font-size: 10px;
}


.checkout-offer-bottom strong {

  color: #86efac;

  font-size: 10px;
}


.checkout-offer-box.has-free {

  border-color:
    rgba(34, 197, 94, 0.28);

  background:
    linear-gradient(
      135deg,
      rgba(34, 197, 94, 0.08),
      rgba(255, 255, 255, 0.025)
    );
}


.checkout-offer-box.has-free
.checkout-offer-fill {

  background:
    linear-gradient(
      90deg,
      #16a34a,
      #4ade80
    );
}


/* =========================================================
   CHECKOUT GAME PRICE
========================================================= */

.checkout-item-price {

  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 10px;
}


.checkout-item-price strong {

  color: #ffffff;

  font-size: 15px;
}


.checkout-old-price {

  color:
    rgba(255, 255, 255, 0.30);

  text-decoration: line-through;

  font-size: 12px;
}


.checkout-item.is-free {

  border-color:
    rgba(34, 197, 94, 0.24);
}


.checkout-item.is-free
.checkout-item-price strong {

  color: #86efac;
}


.checkout-free-label {

  position: absolute;

  top: 10px;
  left: 10px;

  padding: 5px 8px;

  border-radius: 7px;

  background:
    #16a34a;

  color: white;

  font-size: 9px;
  font-weight: 900;

  letter-spacing: 0.05em;
}


/* =========================================================
   MODAL FREE LABEL
========================================================= */

.modal-free {

  display: inline-block;

  margin-left: 6px;

  padding: 3px 6px;

  border-radius: 999px;

  background:
    rgba(34, 197, 94, 0.13);

  color:
    #86efac;

  font-size: 8px;
  font-weight: 900;

  vertical-align: middle;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .zack-offer-box {

    margin:
      0 0 20px;

    padding:
      14px;

    border-radius:
      15px;

  }


  .zack-offer-main {

    gap: 10px;

  }


  .zack-offer-icon {

    width: 38px;
    height: 38px;

    flex-basis: 38px;

    border-radius: 10px;

    font-size: 17px;

  }


  .zack-offer-title-row {

    gap: 6px;

  }


  .zack-offer-title-row strong {

    font-size: 11px;

  }


  .zack-offer-free-count {

    padding:
      3px 6px;

    font-size:
      8px;

  }


  .zack-offer-message {

    font-size:
      10px;

    margin-top:
      4px;

  }


  .zack-offer-progress-wrap {

    margin-top:
      12px;

  }


  .zack-offer-progress-top {

    font-size:
      9px;

  }


  .zack-offer-price {

    font-size:
      9px;

  }


  .checkout-offer-box {

    padding:
      13px;

    border-radius:
      14px;

  }


  .checkout-offer-top {

    gap:
      9px;

  }


  .checkout-offer-icon {

    width:
      36px;

    height:
      36px;

    flex-basis:
      36px;

    font-size:
      16px;

  }


  .checkout-offer-title {

    font-size:
      11px;

  }


  .checkout-offer-message {

    font-size:
      9px;

  }


  .checkout-free-badge {

    padding:
      5px 7px;

    font-size:
      8px;

  }


  .checkout-offer-bottom {

    font-size:
      9px;

  }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

  .zack-offer-box {

    padding:
      12px;

  }


  .zack-offer-icon {

    width:
      34px;

    height:
      34px;

    flex-basis:
      34px;

  }


  .zack-offer-title-row strong {

    font-size:
      10px;

  }


  .zack-offer-message {

    font-size:
      9px;

  }


  .checkout-free-badge {

    padding:
      4px 6px;

  }

}