:root {
  --bg-pitch:            #080808;
  --surface-base:        #101010;
  --surface-secondary:   #171717;
  --surface-elevated:    #1D1D1D;
  --surface-border:      rgba(255, 255, 255, 0.08);
  --surface-border-bold: rgba(255, 255, 255, 0.16);

  --text-primary:        #F5F5F2;
  --text-secondary:      #A5A5A5;
  --text-tertiary:       #6F6F6F;
  --text-inverse:        #080808;

  --accent-cyan:         #00F0FF;
  --accent-cyan-dim:     rgba(0, 240, 255, 0.12);
  --sale-red:            #E32636;
  --sale-red-dim:        rgba(227, 38, 54, 0.14);
  --pitch-grass:         #23E25B;
  --pitch-grass-dim:     rgba(35, 226, 91, 0.12);

  --space-2xs: 4px;
  --space-xs:  8px;
  --space-sm:  12px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --transition-instant: 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-card:    250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-drawer:  320ms cubic-bezier(0.32, 0.72, 0, 1);
  --transition-reveal:  500ms cubic-bezier(0.25, 1, 0.5, 1);

  --max-width-site:     1440px;
  --header-height:      68px;
  --mobile-nav-height:  64px;
  --safe-bottom:        env(safe-area-inset-bottom, 20px);

  --font-display-en: 'Space Grotesk', -apple-system, sans-serif;
  --font-body-en:    'Inter', -apple-system, sans-serif;
  --font-ar:         'IBM Plex Sans Arabic', -apple-system, sans-serif;
}

/* ================= RESET & RESILIENT BASE ================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  background-color: var(--bg-pitch);
  color: var(--text-primary);
  font-family: var(--font-body-en);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  color-scheme: dark;
}

html[dir="rtl"] {
  font-family: var(--font-ar);
}

body {
  min-height: 100vh;
  position: relative;
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================= UTILITY CLASSES ================= */
.text-cyan { color: var(--accent-cyan); }
.text-sale { color: var(--sale-red); }
.text-secondary { color: var(--text-secondary); }
.desktop-only { display: flex; }
.lg-hidden { display: none; }
.mt-lg { margin-top: var(--space-lg); }

@media (max-width: 900px) {
  .desktop-only { display: none !important; }
  .lg-hidden { display: flex !important; }
}

/* ================= PROMO MARQUEE ================= */
.marquee-wrap {
  background: #000;
  border-bottom: 1px solid var(--surface-border);
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  contain: inline-size;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 0;
  color: #fff;
  z-index: 101;
  position: relative;
}
.marquee-track {
  display: inline-block;
  animation: marquee-roll 28s linear infinite;
}
.marquee-track.is-slow { animation-duration: 42s; }
.marquee-track.is-fast { animation-duration: 16s; }
.marquee-item {
  display: inline-block;
  padding: 0 16px;
}
.marquee-item .dot {
  color: var(--accent-cyan);
  margin-inline-start: 8px;
}
@keyframes marquee-roll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ================= DYNAMIC NAVIGATION ================= */
.nav-header {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 100%;
  height: var(--header-height);
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-border);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--transition-instant);
}
.nav-container {
  width: 100%;
  max-width: var(--max-width-site);
  min-width: 0;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-start {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  max-width: min(56vw, 200px);
  margin-inline-start: 2px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.brand-logo-img {
  display: block;
  width: auto;
  height: 36px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  mix-blend-mode: normal;
}
.brand-logo-img--footer {
  height: 48px;
  max-width: min(80vw, 240px);
}
.brand-dot { color: var(--accent-cyan); }
.brand-descriptor {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  gap: var(--space-xl);
}
.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: color var(--transition-instant);
  position: relative;
  padding: 8px 0;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
}
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.nav-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition-instant);
}
.nav-icon-btn:hover {
  background: var(--surface-secondary);
}
.cart-badge {
  position: absolute;
  top: 4px;
  inset-inline-end: 4px;
  background: var(--accent-cyan);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-badge[hidden] {
  display: none !important;
}
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--surface-base);
  border: 1px solid var(--surface-border);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}
.lang-btn {
  cursor: pointer;
  color: var(--text-secondary);
  padding: 2px 4px;
}
.lang-btn.active {
  color: var(--accent-cyan);
  font-weight: 700;
}
.lang-div { color: var(--text-tertiary); }
.admin-quick-switch {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.tag-status {
  background: var(--surface-secondary);
  border: 1px solid var(--surface-border);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
}

/* ================= 100svh CINEMATIC HERO ================= */
.hero-cinematic {
  min-height: calc(100svh - var(--header-height));
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: var(--space-3xl) var(--space-lg);
  overflow: hidden;
}
.hero-media-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #050505;
  overflow: hidden;
}
.hero-placeholder-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(0, 240, 255, 0.12), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(227, 38, 54, 0.08), transparent 40%);
}
.pitch-lines {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(600px) rotateX(45deg) scale(1.6);
  transform-origin: center bottom;
}
.hero-poster-img,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-poster-img { z-index: 0; }
.hero-video { z-index: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(8,8,8,0.2) 0%, rgba(8,8,8,0.7) 65%, #080808 100%);
}
.hero-title, .hero-subline, .hero-tag { overflow-wrap: anywhere; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width-site);
  width: 100%;
  margin: 0 auto;
}
.hero-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  margin-bottom: var(--space-sm);
}
.hero-title {
  font-family: var(--font-display-en);
  font-size: clamp(48px, 9vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}
.hero-subline {
  font-size: clamp(20px, 4vw, 36px);
  letter-spacing: -0.02em;
  color: var(--text-secondary);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  max-width: 100%;
}

/* ================= BUTTON SYSTEM ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  padding: 14px 28px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform var(--transition-instant), background var(--transition-instant), border var(--transition-instant);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--text-primary);
  color: var(--bg-pitch);
}
.btn-primary:hover {
  background: #ffffff;
}
.btn-secondary {
  background: var(--surface-secondary);
  color: var(--text-primary);
  border: 1px solid var(--surface-border-bold);
}
.btn-secondary:hover {
  background: var(--surface-elevated);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-block { width: 100%; }
.btn-xl { padding: 18px 32px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 11px; }

/* ================= SECTION LAYOUTS ================= */
.section-pad {
  max-width: var(--max-width-site);
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-lg);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: var(--space-md);
}
.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: var(--space-2xs);
}
.section-heading {
  font-family: var(--font-display-en);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}
.section-link:hover { color: var(--accent-cyan); }

/* ================= PRODUCT CARD WITH PERSPECTIVE HOVER ================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
}
@media (max-width: 400px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: var(--surface-base);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-card), transform var(--transition-card);
  cursor: pointer;
}
.product-card:hover {
  border-color: var(--surface-border-bold);
}
@media (pointer: fine) {
  .product-card {
    transform-style: preserve-3d;
  }
  .product-card:hover {
    transform: translateY(-4px);
  }
  .product-card.is-tilting {
    transition: transform 80ms linear, border-color var(--transition-card);
  }
}
@media (pointer: coarse) {
  .product-card:hover { transform: none; }
}
.card-media {
  position: relative;
  background: radial-gradient(circle, #1a1a1a 0%, #0e0e0e 100%);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img {
  width: 82%;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-card);
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.7));
}
.product-card:hover .card-img {
  transform: scale(1.08) rotate(-2deg);
}
.card-pill {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
  z-index: 2;
}
.pill-sale { background: var(--sale-red); color: #fff; }
.pill-stock { background: rgba(0,0,0,0.85); border: 1px solid var(--sale-red); color: var(--sale-red); }

.card-details {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-brand {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card-name {
  font-size: 15px;
  font-weight: 600;
  margin: 4px 0 var(--space-xs);
  line-height: 1.3;
}
.card-price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}
.card-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
.card-old-price {
  font-size: 12px;
  color: var(--text-tertiary);
  text-decoration: line-through;
}
.card-swatches {
  display: flex;
  gap: 6px;
  margin-top: var(--space-sm);
}
.swatch-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ================= CATEGORY TILES ================= */
.category-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 820px) {
  .category-tiles { grid-template-columns: 1fr; }
}
.category-tile {
  height: 380px;
  position: relative;
  background: var(--surface-base);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--space-xl);
  cursor: pointer;
  transition: border-color var(--transition-instant);
}
.category-tile:hover {
  border-color: var(--accent-cyan);
}
.cat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s;
}
.cat-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.15) 0%, rgba(8, 8, 8, 0.72) 100%);
  pointer-events: none;
}
.cat-boots-bg {
  background-image: url("/media/categories/boots-bg.jpg");
  background-position: center 40%;
  opacity: 0.85;
}
.cat-clothes-bg {
  background-image: url("/media/categories/clothing-bg.jpg");
  background-position: center center;
  opacity: 0.85;
}
.cat-equip-bg { background-image: radial-gradient(#1f2b1c, #0a0a0a); }
.category-tile:hover .cat-bg {
  transform: scale(1.06);
  opacity: 0.65;
}
.category-tile:hover .cat-boots-bg,
.category-tile:hover .cat-clothes-bg {
  opacity: 1;
}
.cat-content {
  position: relative;
  z-index: 2;
}
.cat-num {
  font-family: var(--font-display-en);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-cyan);
  display: block;
}
.cat-title {
  font-family: var(--font-display-en);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 4px 0 8px;
}
.cat-desc {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 220px;
}
.cat-arrow {
  margin-top: var(--space-md);
  display: inline-block;
  font-size: 18px;
  color: var(--accent-cyan);
  transition: transform var(--transition-instant);
}
.category-tile:hover .cat-arrow {
  transform: translateX(6px);
}

/* ================= CAMPAIGN BREAK ================= */
.campaign-banner {
  background: #050505;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: clamp(88px, 14vw, 160px) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.campaign-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  opacity: 1;
  filter: none;
}
.campaign-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 40%, rgba(0, 0, 0, 0.42) 100%);
}
.campaign-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.campaign-inner .campaign-sub,
.campaign-inner .badge-pill {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.9);
}
.campaign-statement { overflow-wrap: anywhere; }
.campaign-inner .campaign-statement {
  color: #000;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55), 0 2px 18px rgba(255, 255, 255, 0.35);
}
.badge-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--surface-secondary);
  border: 1px solid var(--surface-border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}
.campaign-statement {
  font-family: var(--font-display-en);
  font-size: clamp(40px, 8vw, 92px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}
.campaign-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* ================= CATALOG LAYOUT & FILTER SIDEBAR ================= */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-2xl);
  max-width: var(--max-width-site);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}
@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
}
.filter-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: var(--space-sm);
}
.filter-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.reset-filter-btn {
  font-size: 11px;
  color: var(--text-secondary);
  cursor: pointer;
}
.reset-filter-btn:hover { color: var(--accent-cyan); }

.filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.filter-group-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}
.filter-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.price-field {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  margin-bottom: 8px;
  background: transparent;
  color: inherit;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xs);
  padding: 8px 10px;
}
.filter-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  cursor: pointer;
}
.filter-swatch[aria-pressed="true"] {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}
.applied-filters { margin: 12px 0; }
.catalog-empty, .catalog-status { margin: 12px 0 20px; }
.catalog-status { color: var(--text-secondary); }
#catalog-more { margin: 8px auto 28px; }
.search-hit {
  display: block;
  width: 100%;
  text-align: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--surface-border);
  font-weight: 700;
  cursor: pointer;
}
#search-heading { font-size: clamp(22px, 4vw, 36px); margin: 0 0 16px; color: #fff; }
.sheet-footer { display: flex; gap: 8px; flex-wrap: wrap; }
.sheet-footer .btn { flex: 1 1 140px; }
.mobile-sheet, .search-box, .catalog-stream, .filter-sidebar { max-width: 100%; min-width: 0; }
.filter-chip {
  padding: 6px 12px;
  background: var(--surface-base);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-instant);
}
.filter-chip:hover {
  border-color: var(--surface-border-bold);
}
.filter-chip.active {
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.range-slider {
  width: 100%;
  accent-color: var(--accent-cyan);
}
.slider-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.catalog-stream {
  display: flex;
  flex-direction: column;
}
.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--surface-border);
}
.catalog-summary {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}
.catalog-title {
  font-family: var(--font-display-en);
  font-size: 24px;
  font-weight: 700;
}
.catalog-count {
  font-size: 12px;
  color: var(--text-secondary);
}
.control-actions {
  display: flex;
  gap: var(--space-md);
}
.sort-select {
  background: var(--surface-base);
  border: 1px solid var(--surface-border);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ================= PRODUCT DETAIL PAGE (55% / 45%) ================= */
.pdp-container {
  max-width: var(--max-width-site);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}
.back-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  cursor: pointer;
  display: inline-block;
}
.back-link:hover { color: #fff; }

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: var(--space-3xl);
  align-items: start;
  min-width: 0;
}
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

.pdp-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
}
.pdp-main-image-viewport {
  background: radial-gradient(circle, #1c1c1c 0%, #0d0d0d 100%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.pdp-hero-img {
  width: 78%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8));
}
.stock-pill {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  background: var(--sale-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}
.pdp-thumb-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-sm);
  width: 100%;
}
.pdp-thumb {
  background: var(--surface-base);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xs);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
  color: inherit;
  overflow: hidden;
  width: 100%;
}
.pdp-thumb.active { border-color: var(--accent-cyan); }
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.pdp-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.pdp-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
  gap: 12px;
}
.pdp-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
}
.pdp-surface-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  background: var(--surface-secondary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xs);
  color: var(--accent-cyan);
  white-space: nowrap;
}
.pdp-title {
  font-family: var(--font-display-en);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  margin: 0;
}
.pdp-pricing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.pdp-price {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
.pdp-old-price {
  font-size: 16px;
  color: var(--text-tertiary);
  text-decoration: line-through;
  line-height: 1;
}
.discount-badge {
  background: var(--sale-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: var(--radius-xs);
  line-height: 1;
}

.pdp-option-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-border);
}
.option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
}
.option-selection { color: var(--text-secondary); }
.size-guide-btn {
  color: var(--accent-cyan);
  cursor: pointer;
  font-size: 11px;
  text-decoration: underline;
}

.swatch-list {
  display: flex;
  gap: var(--space-sm);
}
.swatch-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
}
.swatch-btn.active {
  border-color: var(--accent-cyan);
}
.swatch-inner {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  display: block;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
}
.pdp-actions {
  padding-top: 4px;
}
.pdp-actions .btn-block {
  width: 100%;
}
.size-tile {
  background: var(--surface-base);
  border: 1px solid var(--surface-border);
  min-height: 48px;
  padding: 12px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: border-color var(--transition-instant), color var(--transition-instant), background var(--transition-instant);
}
.size-tile:hover {
  border-color: var(--surface-border-bold);
}
.size-tile.active {
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.size-tile.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

.pdp-specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: 8px;
  padding-top: 8px;
}
.spec-accordion {
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: var(--space-sm);
}
.spec-accordion summary {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 8px 0;
}
.spec-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 8px 0 12px;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(16, 16, 16, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--surface-border);
  padding: 12px var(--space-lg);
  padding-bottom: calc(12px + var(--safe-bottom));
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 90;
}
.sticky-price { font-size: 18px; font-weight: 700; }
.sticky-meta { font-size: 11px; color: var(--text-secondary); }

/* ================= CART DRAWER ================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 150;
  display: none;
  justify-content: flex-end;
  overflow: hidden;
  max-width: 100%;
}
.cart-overlay.active { display: flex; }
.cart-panel {
  width: min(440px, 100%);
  max-width: 100%;
  box-sizing: border-box;
  background: var(--surface-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.8);
  animation: slide-drawer 320ms cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes slide-drawer {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
[dir="rtl"] .cart-panel {
  animation: slide-drawer-rtl 320ms cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes slide-drawer-rtl {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
.cart-header {
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--surface-border);
}
.cart-title-wrap {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}
.cart-title { font-family: var(--font-display-en); font-size: 18px; font-weight: 700; }
.cart-count { font-size: 12px; color: var(--accent-cyan); font-weight: 700; }
.close-btn { font-size: 20px; cursor: pointer; color: var(--text-secondary); }
.close-btn:hover { color: #fff; }

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.cart-item-card {
  display: grid;
  grid-template-columns: 80px 1fr 24px;
  gap: var(--space-md);
  background: var(--surface-secondary);
  border: 1px solid var(--surface-border);
  padding: var(--space-sm);
  border-radius: var(--radius-xs);
  align-items: center;
}
.cart-item-thumb {
  aspect-ratio: 1;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
}
.cart-item-thumb img { width: 85%; }
.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.cart-qty button {
  min-width: 36px;
  min-height: 36px;
  border: 1px solid var(--surface-border);
  background: var(--surface-secondary);
  color: var(--text-primary);
  border-radius: var(--radius-xs);
}
#checkout-errors {
  color: #ffd0d0;
  background: rgba(180, 40, 40, 0.18);
  border: 1px solid rgba(255, 140, 140, 0.45);
  padding: 12px 14px;
  border-radius: var(--radius-xs);
}
#checkout-errors[hidden] { display: none; }
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.c-item-title { font-size: 13px; font-weight: 600; }
.c-item-meta { font-size: 11px; color: var(--text-secondary); }
.c-item-price { font-size: 14px; font-weight: 700; margin-top: 4px; }
.c-item-del { color: var(--text-tertiary); cursor: pointer; }
.c-item-del:hover { color: var(--sale-red); }

.cart-footer {
  padding: var(--space-lg);
  padding-bottom: calc(var(--space-lg) + var(--safe-bottom));
  border-top: 1px solid var(--surface-border);
  background: var(--surface-base);
}
.cart-totals { margin-bottom: var(--space-md); }
.t-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.t-total {
  font-size: 18px;
  font-weight: 700;
  border-top: 1px dashed var(--surface-border-bold);
  padding-top: 8px;
  margin-top: 8px;
}

/* ================= SINGLE-PAGE CHECKOUT ================= */
.checkout-wrapper {
  max-width: var(--max-width-site);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}
.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--surface-border);
}
.checkout-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-cyan); }

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

.checkout-form { display: flex; flex-direction: column; gap: var(--space-xl); }
.checkout-section {
  background: var(--surface-base);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: var(--space-xl);
}
.ch-sec-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-md);
}
.form-field label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}
.ch-input, .ch-select {
  background: var(--surface-secondary);
  border: 1px solid var(--surface-border);
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  color: #fff;
  font-size: 14px;
  transition: border-color var(--transition-instant);
}
.ch-input:focus, .ch-select:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.payment-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.pay-option input { display: none; }
.pay-card {
  border: 1px solid var(--surface-border);
  background: var(--surface-secondary);
  padding: var(--space-md);
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all var(--transition-instant);
}
.pay-option input:checked + .pay-card {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
}
.pay-name { font-size: 13px; font-weight: 700; }
.pay-desc { font-size: 11px; color: var(--text-secondary); }

.instapay-box {
  margin-top: var(--space-md);
  background: #000;
  border: 1px dashed var(--accent-cyan);
  padding: var(--space-md);
  border-radius: var(--radius-xs);
}
.ip-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.ip-title { font-size: 11px; font-weight: 700; color: var(--accent-cyan); }
.badge-active { font-size: 9px; background: var(--pitch-grass); color: #000; font-weight: 700; padding: 2px 6px; }
.ip-detail { font-size: 13px; margin-bottom: 4px; }
.ip-note { font-size: 11px; color: var(--text-secondary); margin-top: 8px; line-height: 1.4; }

.order-ticket {
  background: var(--surface-base);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: var(--space-xl);
}
.ticket-title { font-family: var(--font-display-en); font-size: 16px; margin-bottom: var(--space-lg); }
.ticket-items { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-lg); }
.ticket-math { border-top: 1px solid var(--surface-border); padding-top: var(--space-md); }
.coupon-row { flex-wrap: wrap; align-items: center; gap: 8px; }
.coupon-row .ch-input { flex: 1 1 8rem; min-width: 0; width: auto; max-width: 100%; }
.coupon-row .btn { min-height: 44px; }

/* ================= ORDER SUCCESS ================= */
.success-screen {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-lg);
}
.success-ticket {
  max-width: 520px;
  width: 100%;
  background: var(--surface-base);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}
.success-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--pitch-grass);
  margin-bottom: var(--space-sm);
}
.success-headline {
  font-family: var(--font-display-en);
  font-size: 36px;
  margin-bottom: var(--space-md);
}
.ticket-barcode {
  letter-spacing: 0.35em;
  color: var(--text-tertiary);
  margin: var(--space-md) 0;
  font-size: 18px;
}
.success-code {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: var(--space-md);
}
.success-message {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-2xl);
}
.success-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* ================= MAGICO ASSISTANT (disabled) ================= */
.assistant-wrap,
#magico-assistant,
#assistant-trigger,
.assistant-window,
.assistant-fab {
  display: none !important;
}
.fab-icon { font-size: 18px; }
.fab-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }

.assistant-window {
  display: none;
  position: absolute;
  bottom: 60px;
  inset-inline-end: 0;
  width: min(380px, calc(100vw - 24px));
  max-height: min(70vh, 640px);
  background: var(--surface-base);
  border: 1px solid var(--surface-border-bold);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0,0,0,0.8);
  overflow: hidden;
  flex-direction: column;
}
.assistant-window.active { display: flex; }
.assistant-header {
  padding: var(--space-md);
  background: var(--surface-secondary);
  border-bottom: 1px solid var(--surface-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ast-title { display: flex; align-items: center; gap: 8px; }
.ast-name { font-size: 12px; font-weight: 700; }
.ast-status { font-size: 9px; color: var(--pitch-grass); }
.close-btn-sm { cursor: pointer; color: var(--text-tertiary); font-size: 14px; }

.assistant-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-height: none;
  min-height: 180px;
  overflow-y: auto;
  flex: 1;
}
.assistant-compose {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--surface-border);
}
.assistant-compose input {
  flex: 1;
  min-width: 0;
  background: transparent;
  color: inherit;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xs);
  min-height: 44px;
  padding: 8px 10px;
}
.advisor-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--surface-border);
}
.advisor-card img { width: 72px; height: 72px; object-fit: cover; background: #000; }
.advisor-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
@media (max-width: 767px) {
  .assistant-window {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    height: min(88vh, 720px);
    max-height: 88vh;
    border-radius: 16px 16px 0 0;
    padding-bottom: var(--safe-bottom);
  }
}
.chat-bubble {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.4;
  max-width: 85%;
}
.chat-bubble.bot {
  background: var(--surface-secondary);
  color: var(--text-primary);
  align-self: flex-start;
}
.chat-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}
.ast-opt {
  background: #000;
  border: 1px solid var(--surface-border);
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-xs);
  text-align: left;
  cursor: pointer;
}
[dir="rtl"] .ast-opt { text-align: right; }
.ast-opt:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }

/* ================= SEARCH OVERLAY ================= */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}
.search-overlay.active { display: flex; }
.search-box {
  width: 100%;
  max-width: 720px;
  padding: 0 var(--space-lg);
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border-bottom: 2px solid var(--text-primary);
  padding-bottom: var(--space-md);
}
.search-input-wrap input {
  width: 100%;
  font-size: clamp(20px, 4vw, 32px);
  color: #fff;
  font-weight: 600;
}
.search-input-wrap input:focus { outline: none; }
.search-results-list { margin-top: var(--space-xl); }
.search-quick-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sq-title { font-size: 11px; font-weight: 700; color: var(--text-tertiary); }
.sq-chip {
  padding: 4px 10px;
  background: var(--surface-secondary);
  border-radius: var(--radius-full);
  font-size: 12px;
  cursor: pointer;
}
.sq-chip:hover { background: var(--accent-cyan); color: #000; }

/* ================= ADMIN OPERATIONAL INTERFACE ================= */
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 90vh;
  border-top: 1px solid var(--surface-border);
}
@media (max-width: 820px) {
  .admin-shell { grid-template-columns: 1fr; }
}
.admin-nav {
  background: var(--surface-base);
  border-inline-end: 1px solid var(--surface-border);
  padding: var(--space-xl) var(--space-md);
}
.admin-brand { font-size: 16px; font-weight: 700; margin-bottom: var(--space-2xl); }
.badge-hq {
  font-size: 9px;
  background: var(--accent-cyan);
  color: #000;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  margin-inline-start: 4px;
}
.admin-links { display: flex; flex-direction: column; gap: 4px; }
.adm-btn {
  text-align: left;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}
[dir="rtl"] .adm-btn { text-align: right; }
.adm-btn:hover { background: var(--surface-secondary); color: #fff; }
.adm-btn.active { background: #fff; color: #000; }

.admin-content { padding: var(--space-2xl); }
.adm-tab { display: none; }
.adm-tab.active { display: block; }
.adm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-card {
  background: var(--surface-base);
  border: 1px solid var(--surface-border);
  padding: var(--space-lg);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.border-sale { border-color: var(--sale-red); }
.stat-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--text-secondary); }
.stat-num { font-size: 24px; font-weight: 700; }
.stat-change { font-size: 11px; color: var(--text-tertiary); }

.adm-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
  font-size: 12px;
}
.adm-table th {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--surface-border-bold);
  color: var(--text-secondary);
}
[dir="rtl"] .adm-table th { text-align: right; }
.adm-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--surface-border);
}
.cost-col { color: #facc15; font-weight: 700; }

/* ================= FOOTER ================= */
.footer-wrap {
  background: #000;
  border-top: 1px solid var(--surface-border);
  padding: var(--space-4xl) var(--space-lg) var(--space-2xl);
}
.footer-grid {
  max-width: var(--max-width-site);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: var(--space-md) 0;
  max-width: 320px;
}
.footer-col { display: flex; flex-direction: column; gap: var(--space-sm); font-size: 13px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--text-secondary); margin-bottom: 6px; }
.footer-col a { color: var(--text-secondary); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-width-site);
  margin: 0 auto;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--surface-border);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-tertiary);
}

/* ================= PAGE ROUTING VIEW SWITCHER ================= */
.page-view { display: none; }
.page-view.active { display: block; }

/* Surfaces the shell uses beyond the system above */
[hidden] { display: none !important; }
.bg-pitch { background: var(--bg-pitch); }
.text-primary { color: var(--text-primary); }
.bg-surface { background: var(--surface-base); }
.antialiased { -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent-cyan); color: var(--bg-pitch); }
body.no-scroll { overflow: hidden; }
button.product-card { width: 100%; text-align: start; color: inherit; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.card-pill { direction: ltr; }
.discount-badge { direction: ltr; }

html[dir="rtl"] .hero-title,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .pdp-title,
html[dir="rtl"] .campaign-statement,
html[dir="rtl"] .catalog-title,
html[dir="rtl"] .cat-title,
html[dir="rtl"] .success-headline,
html[dir="rtl"] .cart-title,
html[dir="rtl"] .btn {
  font-family: var(--font-ar);
}
html[dir="rtl"] .nav-link:hover::after { left: auto; right: 0; }
html[dir="rtl"] .category-tile:hover .cat-arrow { transform: translateX(-6px); }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(0, 0, 0, 0.72);
  display: none;
}
.mobile-menu-overlay.active { display: block; }
.mobile-menu-inner {
  width: min(420px, 100%);
  height: 100%;
  background: var(--surface-base);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-links { margin-top: var(--space-2xl); display: flex; flex-direction: column; }
.mobile-link {
  font-family: var(--font-display-en);
  font-size: clamp(32px, 8vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  padding: 6px 0;
}
html[dir="rtl"] .mobile-link { font-family: var(--font-ar); }
.mobile-menu-footer { margin-top: auto; }
.match-meta, .brand-badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
.meta-tag {
  border: 1px solid var(--surface-border);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.mobile-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: flex-end;
}
.mobile-sheet-overlay.active { display: flex; }
.mobile-sheet {
  width: 100%;
  max-height: 85vh;
  background: var(--surface-secondary);
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--safe-bottom);
}
.sheet-head, .sheet-footer, .sheet-body { padding: var(--space-md) var(--space-lg); }
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--surface-border);
}
.sheet-head h3 { font-size: 14px; letter-spacing: 0.08em; }
.sheet-body { overflow: auto; }

.qty-ctrl { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; }
.qty-ctrl button {
  width: 22px;
  height: 22px;
  border: 1px solid var(--surface-border-bold);
  border-radius: var(--radius-xs);
  cursor: pointer;
}
.search-hit, .ticket-line {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--surface-border);
  text-align: start;
  cursor: pointer;
  color: inherit;
}
.search-hit img, .ticket-line img { width: 56px; height: 56px; object-fit: cover; background: #000; }
.catalog-empty, .cart-empty, .search-empty { color: var(--text-secondary); padding: var(--space-lg) 0; }
.chat-bubble.user { background: var(--accent-cyan-dim); align-self: flex-end; }
.status-select, .adm-search, .date-range-badge {
  background: var(--surface-secondary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xs);
  padding: 8px 10px;
}
.adm-search { min-width: min(280px, 100%); }
.admin-content, .adm-tab { overflow-x: auto; }
.low { color: var(--sale-red); font-weight: 700; }
.size-grid.shake { animation: shake 0.35s linear; }
@keyframes shake {
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}
.stat-num { direction: ltr; }
.line-meta { color: var(--text-secondary); font-size: 12px; }

#toast {
  position: fixed;
  z-index: 250;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(8px);
  max-width: min(420px, calc(100vw - 32px));
  background: var(--text-primary);
  color: var(--bg-pitch);
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}
#toast.show { opacity: 1; transform: translateX(-50%); }

@media (min-width: 901px) {
  .lg-hidden { display: none !important; }
}
@media (max-width: 900px) {
  #view-pdp { padding-bottom: calc(128px + var(--safe-bottom)); }
  .size-tile, #pdp-add-btn { scroll-margin-bottom: calc(128px + var(--safe-bottom)); }
  .control-actions, .catalog-controls, .section-head, .footer-bottom { flex-wrap: wrap; gap: 12px; }
  .nav-header { height: auto; min-height: var(--header-height); }
  .nav-container { flex-wrap: wrap; row-gap: 6px; padding: 8px 12px; }
  .nav-actions { margin-inline-start: auto; }
  .nav-icon-btn { width: 44px; height: 44px; }
  .filter-chip { min-height: 48px; padding: 12px 16px; }
  .mobile-sheet {
    animation: sheet-up 320ms cubic-bezier(0.32, 0.72, 0, 1);
  }
  body[data-view="pdp"] .assistant-wrap { bottom: calc(88px + var(--safe-bottom)); }
  body[data-view="pdp"] #toast { bottom: 100px; }
}
@keyframes sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Phase 18 � wishlist / cards */
.wishlist-btn {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  border: 1px solid var(--surface-border);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.wishlist-btn.is-active { color: var(--sale-red); }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; }
.nav-actions { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; max-width: 100%; }
.nav-start { min-width: 0; }
.brand-logo { max-width: min(56vw, 200px); overflow: visible; }
.brand-logo-img { height: clamp(28px, 7vw, 36px); }
.brand-descriptor { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* Hostinger / mobile polish */
@media (max-width: 767px) {
  html, body {
    overflow-x: clip;
  }
  .hero-cinematic {
    min-height: calc(100svh - var(--header-height));
    padding: var(--space-xl) var(--space-md) calc(var(--space-2xl) + 8px);
    align-items: flex-end;
  }
  .hero-title {
    font-size: clamp(32px, 11vw, 48px);
  }
  .hero-ctas {
    display: grid;
    gap: 10px;
  }
  .hero-ctas .btn {
    width: 100%;
    min-height: 48px;
  }
  .nav-container {
    padding: 0 var(--space-md);
  }
  .section-pad {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  .pdp-container {
    padding: var(--space-md);
  }
  .pdp-info-panel {
    gap: 16px;
  }
  .pdp-title {
    font-size: clamp(24px, 8vw, 34px);
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card-name {
    font-size: 13px;
  }
  .checkout-layout,
  .catalog-layout {
    gap: 16px;
  }
  .btn, .nav-icon-btn, .size-tile, .lang-btn {
    touch-action: manipulation;
  }
  .campaign-banner {
    min-height: min(62vh, 520px);
    padding: 64px var(--space-md);
  }
}
