/* ==========================================================================
   PHONE STORE — PREMIUM UAE E-COMMERCE DESIGN SYSTEM v1.0
   Emerald × Navy × Gold — RTL-first, Cairo typography
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/npm/@fontsource/cairo@5.0.16/index.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/cairo@5.0.16/300.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/cairo@5.0.16/500.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/cairo@5.0.16/600.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/cairo@5.0.16/700.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/cairo@5.0.16/800.css');

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand — Deep Navy Blue (primary) */
  --primary: #0F2C4A;
  --primary-hover: #0A1F36;
  --primary-dark: #061427;
  --primary-light: #E6EDF5;
  --primary-glow: rgba(15, 44, 74, 0.15);

  /* Secondary — Navy Blue shades (for depth) */
  --navy: #0F2C4A;
  --navy-hover: #0A1F36;
  --navy-light: #1E4266;
  --navy-lighter: #2A5680;
  --navy-deep: #061427;

  /* Accent — Gold */
  --gold: #C9A961;
  --gold-hover: #B89750;
  --gold-dark: #9A7C3D;
  --gold-light: #F9F4E8;
  --gold-glow: rgba(201, 169, 97, 0.25);

  /* Neutrals */
  --bg: #FAFAF9;
  --surface: #FFFFFF;
  --surface-alt: #F5F5F4;
  --border: #E7E5E4;
  --border-strong: #D6D3D1;

  /* Text */
  --text: #1C1917;
  --text-light: #57534E;
  --text-muted: #A8A29E;
  --text-on-dark: #FAFAF9;
  --text-on-gold: #1C1917;

  /* Semantic */
  --success: #059669;
  --success-light: #D1FAE5;
  --danger: #DC2626;
  --danger-light: #FEE2E2;
  --warning: #D97706;
  --warning-light: #FEF3C7;
  --info: #0891B2;
  --info-light: #CFFAFE;

  /* Typography */
  --font-sans: 'Cairo', 'Segoe UI', -apple-system, system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* Container */
  --container-max: 1400px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06), 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 4px 6px rgba(28, 25, 23, 0.05), 0 2px 4px rgba(28, 25, 23, 0.04);
  --shadow-lg: 0 10px 15px rgba(28, 25, 23, 0.06), 0 4px 6px rgba(28, 25, 23, 0.04);
  --shadow-xl: 0 20px 25px rgba(28, 25, 23, 0.08), 0 8px 10px rgba(28, 25, 23, 0.04);
  --shadow-2xl: 0 25px 50px rgba(28, 25, 23, 0.12);
  --shadow-gold: 0 4px 14px rgba(201, 169, 97, 0.25);
  --shadow-emerald: 0 4px 14px rgba(15, 44, 74, 0.25);
  --shadow-navy: 0 4px 14px rgba(15, 44, 74, 0.3);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #1E4266 0%, #0F2C4A 50%, #061427 100%);
  --gradient-gold: linear-gradient(135deg, #C9A961 0%, #9A7C3D 100%);
  --gradient-emerald: linear-gradient(135deg, #1E4266 0%, #0A1F36 100%);
  --gradient-navy: linear-gradient(135deg, #2A5680 0%, #0F2C4A 50%, #061427 100%);
  --gradient-navy-soft: linear-gradient(135deg, #1E4266 0%, #0F2C4A 100%);

  /* Header heights */
  --topbar-h: 36px;
  --navbar-h: 72px;
  --subnav-h: 48px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--primary-hover); }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button { cursor: pointer; border: none; background: none; }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-4xl); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--text-3xl); font-weight: 700; }
h3 { font-size: var(--text-2xl); font-weight: 700; }
h4 { font-size: var(--text-xl); font-weight: 600; }
h5 { font-size: var(--text-lg); font-weight: 600; }
h6 { font-size: var(--text-base); font-weight: 600; }

p { color: var(--text-light); }

::selection { background: var(--gold); color: var(--text-on-gold); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-6); }
}
@media (min-width: 1024px) {
  .container { padding-inline: var(--space-8); }
}

.section { padding-block: var(--space-16); }
.section-sm { padding-block: var(--space-10); }
.section-lg { padding-block: var(--space-24); }

.main {
  flex: 1 0 auto;
  padding-block: var(--space-6) var(--space-12);
}

/* Grid */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

@media (max-width: 1023px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.split { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }

/* ==========================================================================
   4. TYPOGRAPHY UTILITIES
   ========================================================================== */
.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }
.text-2xl  { font-size: var(--text-2xl); }
.text-3xl  { font-size: var(--text-3xl); }
.text-4xl  { font-size: var(--text-4xl); }
.text-5xl  { font-size: var(--text-5xl); }
.text-6xl  { font-size: var(--text-6xl); }

.font-light     { font-weight: 300; }
.font-normal    { font-weight: 400; }
.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-primary { color: var(--primary) !important; }
.text-navy    { color: var(--navy) !important; }
.text-gold    { color: var(--gold) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-light   { color: var(--text-light) !important; }
.text-danger  { color: var(--danger) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-white   { color: #fff !important; }

.text-center { text-align: center; }
.text-start  { text-align: start; }
.text-end    { text-align: end; }

.leading-tight  { line-height: 1.2; }
.leading-snug   { line-height: 1.35; }
.leading-normal { line-height: 1.5; }
.leading-loose  { line-height: 1.8; }

.uppercase { text-transform: uppercase; letter-spacing: 0.05em; }
.tracking-wide { letter-spacing: 0.03em; }

/* ==========================================================================
   5. SPACING UTILITIES
   ========================================================================== */
.m-0 { margin: 0; }    .m-1 { margin: var(--space-1); }   .m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); } .m-4 { margin: var(--space-4); } .m-6 { margin: var(--space-6); }
.m-8 { margin: var(--space-8); } .m-12 { margin: var(--space-12); }

.mt-0 { margin-top: 0; }  .mt-1 { margin-top: var(--space-1); } .mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); } .mt-12 { margin-top: var(--space-12); } .mt-16 { margin-top: var(--space-16); }

.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: var(--space-1); } .mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); } .mb-4 { margin-bottom: var(--space-4); } .mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); } .mb-12 { margin-bottom: var(--space-12); } .mb-16 { margin-bottom: var(--space-16); }

.ms-0 { margin-inline-start: 0; } .ms-1 { margin-inline-start: var(--space-1); } .ms-2 { margin-inline-start: var(--space-2); }
.ms-3 { margin-inline-start: var(--space-3); } .ms-4 { margin-inline-start: var(--space-4); } .ms-auto { margin-inline-start: auto; }

.me-0 { margin-inline-end: 0; } .me-1 { margin-inline-end: var(--space-1); } .me-2 { margin-inline-end: var(--space-2); }
.me-3 { margin-inline-end: var(--space-3); } .me-4 { margin-inline-end: var(--space-4); } .me-auto { margin-inline-end: auto; }

.mx-auto { margin-inline: auto; } .my-0 { margin-block: 0; } .my-auto { margin-block: auto; }
.mx-2 { margin-inline: var(--space-2); } .mx-4 { margin-inline: var(--space-4); }
.my-2 { margin-block: var(--space-2); } .my-4 { margin-block: var(--space-4); } .my-6 { margin-block: var(--space-6); } .my-8 { margin-block: var(--space-8); }

.p-0 { padding: 0; } .p-1 { padding: var(--space-1); } .p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); } .p-4 { padding: var(--space-4); } .p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); } .p-12 { padding: var(--space-12); }

.pt-0 { padding-top: 0; } .pt-2 { padding-top: var(--space-2); } .pt-4 { padding-top: var(--space-4); } .pt-6 { padding-top: var(--space-6); } .pt-8 { padding-top: var(--space-8); }
.pb-0 { padding-bottom: 0; } .pb-2 { padding-bottom: var(--space-2); } .pb-4 { padding-bottom: var(--space-4); } .pb-6 { padding-bottom: var(--space-6); } .pb-8 { padding-bottom: var(--space-8); }
.ps-2 { padding-inline-start: var(--space-2); } .ps-4 { padding-inline-start: var(--space-4); } .ps-6 { padding-inline-start: var(--space-6); }
.pe-2 { padding-inline-end: var(--space-2); } .pe-4 { padding-inline-end: var(--space-4); } .pe-6 { padding-inline-end: var(--space-6); }
.px-2 { padding-inline: var(--space-2); } .px-4 { padding-inline: var(--space-4); } .px-6 { padding-inline: var(--space-6); } .px-8 { padding-inline: var(--space-8); }
.py-2 { padding-block: var(--space-2); } .py-4 { padding-block: var(--space-4); } .py-6 { padding-block: var(--space-6); } .py-8 { padding-block: var(--space-8); } .py-12 { padding-block: var(--space-12); }

.gap-1 { gap: var(--space-1); } .gap-2 { gap: var(--space-2); } .gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); } .gap-6 { gap: var(--space-6); } .gap-8 { gap: var(--space-8); }

/* ==========================================================================
   6. DISPLAY / FLEX UTILITIES
   ========================================================================== */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none !important; }
.grid-d { display: grid; }

.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.items-end    { align-items: flex-end; }
.items-stretch { align-items: stretch; }

.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start   { justify-content: flex-start; }
.justify-end     { justify-content: flex-end; }
.justify-around  { justify-content: space-around; }

.flex-col  { flex-direction: column; }
.flex-row  { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1    { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }

.self-center { align-self: center; }

/* ==========================================================================
   7. BACKGROUNDS, BORDERS, RADIUS, SHADOWS
   ========================================================================== */
.bg-surface       { background-color: var(--surface); }
.bg-surface-alt   { background-color: var(--surface-alt); }
.bg-bg            { background-color: var(--bg); }
.bg-primary       { background-color: var(--primary); color: #fff; }
.bg-navy          { background-color: var(--navy); color: #fff; }
.bg-gold          { background-color: var(--gold); color: var(--text-on-gold); }
.bg-gold-light    { background-color: var(--gold-light); }
.bg-primary-light { background-color: var(--primary-light); }
.bg-gradient-hero { background: var(--gradient-hero); color: #fff; }
.bg-gradient-gold { background: var(--gradient-gold); color: var(--text-on-gold); }

.border          { border: 1px solid var(--border); }
.border-strong   { border: 1px solid var(--border-strong); }
.border-top      { border-top: 1px solid var(--border); }
.border-bottom   { border-bottom: 1px solid var(--border); }
.border-start    { border-inline-start: 1px solid var(--border); }
.border-end      { border-inline-end: 1px solid var(--border); }
.border-gold     { border: 1px solid var(--gold); }
.border-primary  { border: 1px solid var(--primary); }

.rounded      { border-radius: var(--radius-md); }
.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-xl   { border-radius: var(--radius-xl); }
.rounded-2xl  { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-xs  { box-shadow: var(--shadow-xs); }
.shadow-sm  { box-shadow: var(--shadow-sm); }
.shadow-md  { box-shadow: var(--shadow-md); }
.shadow-lg  { box-shadow: var(--shadow-lg); }
.shadow-xl  { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
.shadow-gold { box-shadow: var(--shadow-gold); }
.shadow-none { box-shadow: none; }

/* ==========================================================================
   8. SIZE UTILITIES
   ========================================================================== */
.w-full { width: 100%; }
.w-auto { width: auto; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* ==========================================================================
   9. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); color: #fff; box-shadow: var(--shadow-emerald); }

.btn-secondary {
  background-color: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-secondary:hover { background-color: var(--navy-hover); border-color: var(--navy-hover); color: #fff; }

.btn-gold {
  background-color: var(--gold);
  color: var(--text-on-gold);
  border-color: var(--gold);
  font-weight: 700;
}
.btn-gold:hover { background-color: var(--gold-hover); border-color: var(--gold-hover); color: var(--text-on-gold); box-shadow: var(--shadow-gold); }

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background-color: var(--primary); color: #fff; }

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
}
.btn-outline-gold:hover { background-color: var(--gold); color: var(--text-on-gold); }

.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background-color: #fff; color: var(--navy); border-color: #fff; }

.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--text);
}
.btn-ghost:hover { background-color: var(--surface-alt); box-shadow: none; transform: none; }

.btn-danger {
  background-color: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.btn-danger:hover { background-color: #B91C1C; border-color: #B91C1C; color: #fff; }

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}
.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}
.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
  font-weight: 700;
  border-radius: var(--radius-lg);
}

.btn-block { display: flex; width: 100%; }

.btn-icon {
  padding: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.btn-icon.btn-sm { width: 34px; height: 34px; }
.btn-icon.btn-lg { width: 52px; height: 52px; }

.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ==========================================================================
   10. CARDS
   ========================================================================== */
.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.card-hover { cursor: pointer; }
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.card-premium {
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
}

.card-body { padding: var(--space-6); }
.card-header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border);
  background-color: var(--surface-alt);
}
.card-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
  background-color: var(--surface-alt);
}

/* ==========================================================================
   11. PRODUCT CARDS
   ========================================================================== */
.product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold);
  color: inherit;
}

.product-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--surface-alt);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-4);
  transition: transform var(--duration-slow) var(--ease-out);
}
.product-card:hover .product-card__image img { transform: scale(1.06); }
.product-card__image .no-img {
  font-size: 4rem;
  color: var(--text-muted);
}

.product-card__badge {
  position: absolute;
  top: var(--space-3);
  inset-inline-start: var(--space-3);
  background-color: var(--gold);
  color: var(--text-on-gold);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.product-card__badge.new { background-color: var(--primary); color: #fff; }
.product-card__badge.sale { background-color: var(--danger); color: #fff; }

.product-card__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.product-card__brand {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.product-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__rating {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: var(--text-sm);
}
.product-card__rating .count { color: var(--text-muted); font-size: var(--text-xs); margin-inline-start: var(--space-2); }

.product-card__price {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold-dark);
  margin-top: var(--space-1);
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.product-card__price .currency {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.product-card__old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

.product-card__installment {
  font-size: var(--text-xs);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-top: var(--space-2);
  font-weight: 700;
  align-self: flex-start;
}

.product-card__stock {
  font-size: var(--text-xs);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.product-card__stock.in  { color: var(--success); }
.product-card__stock.out { color: var(--danger); }
.product-card__stock::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

.product-card__cta {
  margin-top: auto;
  padding-top: var(--space-3);
}

/* ==========================================================================
   12. FORMS
   ========================================================================== */
.form-group { margin-bottom: var(--space-5); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.form-control,
.form-select {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text);
  background-color: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  line-height: 1.5;
}
.form-control:hover, .form-select:hover { border-color: var(--text-muted); }
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:disabled { background-color: var(--surface-alt); cursor: not-allowed; }

.form-control-lg {
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2357534E' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  background-size: 16px 12px;
  padding-inline-start: var(--space-10);
  appearance: none;
}

.form-check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font-size: var(--text-sm);
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-error {
  display: block;
  color: var(--danger);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-top: var(--space-1);
}
.form-hint {
  display: block;
  color: var(--text-muted);
  font-size: var(--text-xs);
  margin-top: var(--space-1);
}

.input-group {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--surface);
}
.input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.input-group .form-control {
  border: none;
  border-radius: 0;
}
.input-group .form-control:focus { box-shadow: none; }
.input-group-text {
  display: flex;
  align-items: center;
  padding: 0 var(--space-4);
  background-color: var(--surface-alt);
  color: var(--text-light);
  font-size: var(--text-sm);
  font-weight: 600;
}

.floating-label {
  position: relative;
}
.floating-label .form-control {
  padding-top: var(--space-6);
  padding-bottom: var(--space-2);
}
.floating-label label {
  position: absolute;
  top: 50%;
  inset-inline-start: var(--space-4);
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: all var(--duration-fast) var(--ease-out);
  font-size: var(--text-base);
  background-color: transparent;
}
.floating-label .form-control:focus + label,
.floating-label .form-control:not(:placeholder-shown) + label {
  top: var(--space-3);
  transform: none;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   13. ALERTS
   ========================================================================== */
.alert {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-4);
  animation: alertSlide var(--duration-normal) var(--ease-out);
}
@keyframes alertSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.alert-success, .alert.alert-success {
  background-color: var(--success-light);
  color: var(--success);
  border-color: rgba(5, 150, 105, 0.2);
}
.alert-danger, .alert-error, .alert.alert-error {
  background-color: var(--danger-light);
  color: var(--danger);
  border-color: rgba(220, 38, 38, 0.2);
}
.alert-warning {
  background-color: var(--warning-light);
  color: var(--warning);
  border-color: rgba(217, 119, 6, 0.2);
}
.alert-info {
  background-color: var(--info-light);
  color: var(--info);
  border-color: rgba(8, 145, 178, 0.2);
}
.alert-dismissible { position: relative; padding-inline-end: var(--space-10); }
.alert-dismissible .alert-close {
  position: absolute;
  top: var(--space-2);
  inset-inline-end: var(--space-2);
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 1.2em;
  opacity: 0.7;
}

/* ==========================================================================
   14. BADGES
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background-color: var(--surface-alt);
  color: var(--text);
  border: 1px solid var(--border);
}
.badge-primary { background-color: var(--primary-light); color: var(--primary-dark); border-color: transparent; }
.badge-gold    { background-color: var(--gold-light); color: var(--gold-dark); border-color: var(--gold); }
.badge-navy    { background-color: var(--navy); color: #fff; border-color: transparent; }
.badge-success { background-color: var(--success-light); color: var(--success); border-color: transparent; }
.badge-danger  { background-color: var(--danger-light); color: var(--danger); border-color: transparent; }
.badge-warning { background-color: var(--warning-light); color: var(--warning); border-color: transparent; }

.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

/* ==========================================================================
   15. TABLES (Premium)
   ========================================================================== */
.table-premium {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: var(--text-sm);
}
.table-premium thead {
  background: linear-gradient(to bottom, var(--surface-alt), var(--surface));
  position: relative;
}
.table-premium thead tr:first-child th {
  border-bottom: 2px solid var(--gold);
}
.table-premium th {
  padding: var(--space-4) var(--space-5);
  text-align: start;
  font-weight: 700;
  color: var(--navy);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
.table-premium td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.table-premium tbody tr:last-child td { border-bottom: none; }

.table-striped tbody tr:nth-child(even) { background-color: var(--surface-alt); }
.table-hover tbody tr { transition: background-color var(--duration-fast); }
.table-hover tbody tr:hover { background-color: var(--primary-light); }

.table-actions {
  display: flex;
  gap: var(--space-2);
  justify-content: flex-end;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}

/* Legacy table */
table.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
table.table th, table.table td { padding: var(--space-3) var(--space-4); text-align: start; border-bottom: 1px solid var(--border); }
table.table th { background: var(--surface-alt); font-weight: 700; color: var(--navy); font-size: var(--text-sm); }
table.table tr:last-child td { border-bottom: none; }

/* ==========================================================================
   16. TOPBAR & HEADER / NAVBAR
   ========================================================================== */
.topbar {
  background-color: var(--navy);
  color: var(--text-on-dark);
  font-size: var(--text-xs);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--topbar-h);
}
.topbar__left, .topbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  color: rgba(255,255,255,0.75);
}
.topbar a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: color var(--duration-fast);
}
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 14px; height: 14px; }

/* Main header */
.header {
  background-color: var(--navy);
  color: var(--text-on-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--duration-normal);
}
.header.scrolled { box-shadow: var(--shadow-xl); }

.navbar, .header > .container {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-height: var(--navbar-h);
  padding-block: var(--space-3);
}

.navbar-brand, .logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  position: relative;
  padding: var(--space-2) 0;
}
.navbar-brand:hover, .logo:hover { color: #fff; }
.logo span, .navbar-brand__tld {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.7em;
  position: relative;
  top: -0.5em;
}

/* Search */
.navbar-search, .header-search {
  flex: 1;
  max-width: 640px;
  display: flex;
  background-color: #fff;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid transparent;
  transition: all var(--duration-fast);
  box-shadow: var(--shadow-sm);
}
.navbar-search:focus-within, .header-search:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
}
.navbar-search input, .header-search input {
  flex: 1;
  padding: var(--space-3) var(--space-5);
  border: none;
  outline: none;
  font-size: var(--text-sm);
  color: var(--text);
  background: transparent;
  font-family: var(--font-sans);
  font-weight: 500;
}
.navbar-search input::placeholder, .header-search input::placeholder { color: var(--text-muted); }
.navbar-search button, .header-search button {
  background-color: var(--gold);
  color: var(--text-on-gold);
  border: none;
  padding: 0 var(--space-5);
  cursor: pointer;
  transition: background-color var(--duration-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-search button:hover, .header-search button:hover { background-color: var(--gold-hover); }
.navbar-search svg, .header-search svg { width: 18px; height: 18px; }

/* Navbar actions */
.navbar-actions, .header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}
.navbar-actions > a, .header-actions > a,
.navbar-actions > form > button, .header-actions > form > button {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: var(--space-2) var(--space-3);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background-color var(--duration-fast);
  font-size: var(--text-xs);
  line-height: 1.3;
  border: 1px solid transparent;
  background: none;
}
.navbar-actions > a:hover, .header-actions > a:hover,
.navbar-actions > form > button:hover, .header-actions > form > button:hover {
  background-color: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}

.label-small { font-size: var(--text-xs); color: rgba(255,255,255,0.65); font-weight: 400; }
.label-bold  { font-size: var(--text-sm); font-weight: 700; color: #fff; }

.cart-link {
  position: relative;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: var(--space-2) !important;
  padding: var(--space-3) var(--space-4) !important;
  background-color: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: var(--radius-md) !important;
}
.cart-link:hover { background-color: var(--gold) !important; border-color: var(--gold) !important; }
.cart-link:hover .label-bold, .cart-link:hover svg { color: var(--text-on-gold) !important; }
.cart-link svg { width: 22px; height: 22px; color: #fff; }

.cart-count {
  position: absolute;
  top: -6px;
  inset-inline-start: -6px;
  background-color: var(--gold);
  color: var(--text-on-gold);
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
  animation: bounce var(--duration-slow) var(--ease-bounce);
}
@keyframes bounce {
  0% { transform: scale(0); }
  80% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.logout-link { background: none !important; border: 1px solid transparent !important; cursor: pointer; }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sub navigation */
.sub-header, .subnav {
  background-color: var(--navy-light);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sub-header .container, .subnav .container {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  min-height: var(--subnav-h);
  overflow-x: auto;
  scrollbar-width: none;
}
.sub-header .container::-webkit-scrollbar, .subnav .container::-webkit-scrollbar { display: none; }
.sub-header a, .subnav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
  position: relative;
}
.sub-header a:hover, .subnav a:hover {
  color: var(--gold);
  background-color: rgba(255,255,255,0.05);
}
.sub-header a.active, .subnav a.active { color: var(--gold); }

/* Mega menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  padding: var(--space-8);
  display: none;
  z-index: 99;
}
.mega-menu.open { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.mega-menu__col h4 { color: var(--navy); font-size: var(--text-sm); margin-bottom: var(--space-3); text-transform: uppercase; letter-spacing: 0.05em; }
.mega-menu__col a { display: block; padding: var(--space-1) 0; color: var(--text-light); font-size: var(--text-sm); }
.mega-menu__col a:hover { color: var(--primary); }

/* Mobile drawer */
.mobile-overlay, .mobile-drawer__backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 44, 74, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
  z-index: 200;
}
.mobile-overlay.open, .mobile-drawer__backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav, .mobile-drawer {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: min(340px, 85vw);
  height: 100vh;
  height: 100dvh;
  background-color: var(--surface) !important;
  box-shadow: var(--shadow-2xl);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  z-index: 9999 !important;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  visibility: visible;
}
html[dir="rtl"] .mobile-nav,
html[dir="rtl"] .mobile-drawer {
  transform: translateX(-100%);
}
.mobile-nav.open,
.mobile-drawer.open,
html[dir="rtl"] .mobile-nav.open,
html[dir="rtl"] .mobile-drawer.open {
  transform: translateX(0) !important;
}
.mobile-overlay,
.mobile-drawer__backdrop {
  z-index: 9998 !important;
}

.mobile-nav-header, .mobile-drawer__header {
  padding: var(--space-6) var(--space-5);
  background: var(--gradient-hero);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-lg);
  border-bottom: 3px solid var(--gold);
}

.mobile-nav a, .mobile-drawer a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-base);
  border-bottom: 1px solid var(--border);
  transition: all var(--duration-fast);
}
.mobile-nav a:hover, .mobile-drawer a:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding-inline-start: var(--space-6);
}

.nav-divider {
  height: 1px;
  background-color: var(--border);
  margin: var(--space-2) 0;
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.footer-top {
  background-color: var(--navy-light);
  text-align: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-top a {
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
}
.footer-top a:hover { color: var(--gold); }

.footer-premium, .footer-main {
  background-color: var(--navy);
  color: var(--text-on-dark);
  padding: var(--space-16) 0 var(--space-12);
  margin-top: auto;
}

.footer-newsletter {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--navy) 100%);
  padding: var(--space-12) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--gold);
  color: #fff;
}
.footer-newsletter__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.footer-newsletter__text h3 {
  color: #fff;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}
.footer-newsletter__text p {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-base);
}
.footer-newsletter__form {
  display: flex;
  gap: var(--space-2);
  background-color: rgba(255,255,255,0.08);
  padding: var(--space-2);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
}
.footer-newsletter__form input {
  flex: 1;
  padding: var(--space-3) var(--space-5);
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
}
.footer-newsletter__form input::placeholder { color: rgba(255,255,255,0.55); }
.footer-newsletter__form input:focus { outline: none; }

.footer-grid, .footer-main .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
}

.footer-col h4, .footer-col__title {
  color: #fff;
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: var(--space-3);
}
.footer-col h4::after, .footer-col__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 32px;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
}

.footer-col p {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: var(--space-2);
}

.footer-col a, .footer-col__link {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: var(--text-sm);
  padding: var(--space-1) 0;
  transition: all var(--duration-fast);
  font-weight: 500;
}
.footer-col a:hover, .footer-col__link:hover {
  color: var(--gold);
  padding-inline-start: var(--space-2);
}

.footer-socials {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.footer-socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  color: #fff;
  padding: 0;
  transition: all var(--duration-fast);
}
.footer-socials a:hover {
  background-color: var(--gold);
  color: var(--text-on-gold);
  transform: translateY(-2px);
  padding-inline-start: 0;
  border-color: var(--gold);
}
.footer-socials svg { width: 18px; height: 18px; }

.footer-payments {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-4);
  align-items: center;
}
.footer-payments__badge {
  background-color: #fff;
  color: var(--navy);
  font-size: var(--text-xs);
  font-weight: 800;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
  min-width: 48px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}

.footer-bottom {
  background-color: var(--navy-hover);
  color: rgba(255,255,255,0.55);
  padding: var(--space-5) 0;
  font-size: var(--text-sm);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-bottom p { color: inherit; margin: 0; }

/* ==========================================================================
   18. HERO SECTIONS
   ========================================================================== */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: #fff;
  padding: var(--space-20) var(--space-6);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: var(--space-12);
  text-align: center;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 169, 97, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(42, 86, 128, 0.5) 0%, transparent 50%);
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.02) 75%, transparent 75%, transparent);
  background-size: 40px 40px;
  opacity: 0.5;
  z-index: -1;
}

.hero h1, .hero__title {
  font-size: clamp(2rem, 5vw, var(--text-5xl));
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-5);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: heroFadeUp var(--duration-slow) var(--ease-out);
}
.hero p, .hero__subtitle {
  font-size: clamp(1rem, 2vw, var(--text-xl));
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
  animation: heroFadeUp var(--duration-slow) var(--ease-out) 100ms both;
}
.hero-buttons, .hero__cta {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeUp var(--duration-slow) var(--ease-out) 200ms both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background-color: var(--gold);
  color: var(--text-on-gold);
  font-weight: 800;
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-gold);
  border: 2px solid var(--gold);
}
.btn-hero-primary:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--text-on-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 97, 0.4);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background-color: transparent;
  color: #fff;
  font-weight: 700;
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-hero-outline:hover {
  background-color: #fff;
  color: var(--navy);
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-compact {
  padding: var(--space-12) var(--space-6);
  margin-bottom: var(--space-6);
}
.hero-compact h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3.5vw, var(--text-3xl));
  margin-bottom: var(--space-3);
}
.hero-compact p {
  max-width: 520px;
  margin-bottom: var(--space-6);
  font-size: var(--text-base);
}

.hero-slider { position: relative; }
.hero-slide { min-height: 420px; }

/* ==========================================================================
   19. HOMEPAGE — TRUST BAR, PROMO, CATEGORIES
   ========================================================================== */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-12);
  box-shadow: var(--shadow-sm);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-2);
}
.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.trust-icon svg { width: 24px; height: 24px; }
.trust-icon.emerald { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.trust-icon.navy    { background: linear-gradient(135deg, var(--navy-light), var(--navy)); }
.trust-icon.gold    { background: var(--gradient-gold); color: var(--text-on-gold); }
.trust-icon.rose    { background: linear-gradient(135deg, #E11D48, #9F1239); }
.trust-icon.violet  { background: linear-gradient(135deg, #7C3AED, #4C1D95); }

.trust-item h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-1);
}
.trust-item p {
  font-size: var(--text-xs);
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* Promo grid */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-12);
}
.promo-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform var(--duration-normal) var(--ease-out);
}
.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.promo-card:hover::before { transform: scaleX(1); }
.promo-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-2);
}
.promo-card p {
  color: var(--text-light);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}
.promo-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--primary);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all var(--duration-fast);
}
.promo-link:hover { color: var(--gold-dark); gap: var(--space-2); }

/* Brand tiles */
.brand-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.brand-tile {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.brand-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity var(--duration-normal);
  z-index: 0;
}
.brand-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}
.brand-tile:hover::before { opacity: 1; }
.brand-tile:hover .brand-tile__name,
.brand-tile:hover .brand-tile__cta { color: #fff; }
.brand-tile > * { position: relative; z-index: 1; }
.brand-tile__name {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--space-2);
  transition: color var(--duration-normal);
  letter-spacing: -0.02em;
}
.brand-tile__cta {
  font-size: var(--text-sm);
  color: var(--text-light);
  font-weight: 600;
  transition: color var(--duration-normal);
}

/* Section headers */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
  gap: var(--space-4);
}
.section-header h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--navy);
  position: relative;
  padding-bottom: var(--space-2);
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  inset-inline-start: 0;
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.section-header .section-subtitle {
  color: var(--text-light);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
  font-weight: 500;
}
.section-title-center {
  text-align: center;
  margin-bottom: var(--space-10);
}
.section-title-center h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--space-2);
}
.section-title-center h2 span { color: var(--gold); }
.section-title-center p { color: var(--text-light); }

/* Legacy product card img-wrap + info (backward compat) */
.product-card .img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--surface-alt);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-4);
  transition: transform var(--duration-slow) var(--ease-out);
}
.product-card:hover .img-wrap img { transform: scale(1.06); }
.product-card .img-wrap .no-img { font-size: 4rem; color: var(--text-muted); }
.product-card .info {
  padding: var(--space-4) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}
.product-card .brand {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.product-card .name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .price {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold-dark);
}
.product-card .price-currency {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-inline-start: var(--space-1);
}
.product-card .stock {
  font-size: var(--text-xs);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.product-card .stock-in  { color: var(--success); }
.product-card .stock-out { color: var(--danger); }
.product-card .stock::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  display: inline-block;
}
.installment-hint {
  font-size: var(--text-xs);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  display: inline-block;
  font-weight: 700;
  align-self: flex-start;
}

/* ==========================================================================
   20. ADMIN LAYOUT
   ========================================================================== */
/* ============================================================
   Admin Layout — FLEXBOX (more robust than grid for RTL)
   ============================================================ */
body.admin-body {
  display: block !important;
  flex-direction: unset !important;
  background-color: var(--bg) !important;
  margin: 0 !important;
  padding: 0 !important;
}
.admin-layout {
  display: flex !important;
  flex-direction: row !important;
  min-height: 100vh;
  width: 100%;
  background-color: var(--bg);
}
.admin-sidebar, .sidebar {
  flex: 0 0 260px !important;
  width: 260px !important;
  max-width: 260px;
  min-width: 260px;
  order: 1;
}
.admin-main, .admin-content {
  flex: 1 1 auto !important;
  min-width: 0;
  width: auto;
  max-width: 100%;
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  order: 2;
}
.admin-page {
  flex: 1;
  padding: var(--space-6) var(--space-8);
  min-height: calc(100vh - 80px);
  max-width: 100%;
}
/* Hide the mobile toggle button on desktop */
.admin-menu-toggle {
  display: none;
}
/* Mobile: sidebar becomes off-canvas drawer */
@media (max-width: 1023px) {
  .admin-layout {
    flex-direction: column !important;
  }
  .admin-sidebar, .sidebar {
    position: fixed !important;
    top: 0;
    inset-inline-end: 0;
    width: min(280px, 85vw) !important;
    max-width: 280px;
    height: 100dvh;
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 201;
    overflow-y: auto;
    flex: none !important;
  }
  html[dir="rtl"] .admin-sidebar,
  html[dir="rtl"] .sidebar { transform: translateX(-100%); }
  .admin-sidebar.open, .sidebar.open { transform: translateX(0) !important; }
  .admin-menu-toggle {
    display: flex;
    position: fixed;
    top: 16px;
    inset-inline-end: 16px;
    z-index: 200;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
  }
  .admin-main, .admin-content {
    width: 100%;
  }
}
.admin-sidebar, .sidebar {
  background-color: var(--navy);
  color: var(--text-on-dark);
  padding: var(--space-6) 0;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  border-inline-end: 1px solid rgba(255,255,255,0.05);
}
.admin-sidebar__logo {
  padding: 0 var(--space-6) var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-4);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
}
.admin-sidebar__logo span { color: var(--gold); }

.admin-sidebar__nav { display: flex; flex-direction: column; gap: var(--space-1); padding: 0 var(--space-3); }

.admin-sidebar__item, .sidebar a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
  position: relative;
}
.admin-sidebar__item:hover, .sidebar a:hover {
  background-color: rgba(255,255,255,0.06);
  color: #fff;
}
.admin-sidebar__item.active, .sidebar a.active {
  background-color: var(--primary);
  color: #fff;
  border-inline-start: 3px solid var(--gold);
}
.admin-sidebar__icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
  display: inline-block;
}
.admin-sidebar__item .admin-sidebar__icon,
.admin-sidebar .admin-sidebar__icon {
  width: 20px !important;
  height: 20px !important;
}
/* Global safety: any SVG without dimensions inside admin scope */
.admin-layout svg:not([width]):not([height]),
.admin-sidebar svg:not([width]):not([height]),
.admin-main svg:not([width]):not([height]),
.admin-topbar svg:not([width]):not([height]) {
  width: 20px;
  height: 20px;
  max-width: 100%;
  flex-shrink: 0;
}
/* Headers/titles inside sidebar */
.admin-sidebar__section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: var(--space-4) var(--space-4) var(--space-2);
  letter-spacing: 0.1em;
}

.admin-topbar {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-xs);
}
/* .admin-main base — padding handled by .admin-page child */
.admin-main-legacy {
  padding: var(--space-8);
  min-height: 100vh;
  background-color: var(--bg);
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
  gap: var(--space-4);
  flex-wrap: wrap;
}
.page-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 0;
}
.page-subtitle {
  color: var(--text-light);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

/* Stat cards */
.stat-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
}
.stat-card__label {
  font-size: var(--text-xs);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.stat-card__value {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-card__trend {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-top: var(--space-3);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
}
.stat-card__trend.up { color: var(--success); background-color: var(--success-light); }
.stat-card__trend.down { color: var(--danger); background-color: var(--danger-light); }

/* ==========================================================================
   21. LEGACY COMPAT
   ========================================================================== */
.mt-3 { margin-top: var(--space-6); }
.mt-4 { margin-top: var(--space-8); }
.mb-3 { margin-bottom: var(--space-6); }
.mb-4 { margin-bottom: var(--space-8); }
.hide-mobile { display: inline-flex; }
.show-mobile { display: none; }

/* ==========================================================================
   22. ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { transform: translateX(30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes shimmer {
  from { background-position: -200% 0; }
  to { background-position: 200% 0; }
}
.animate-fade     { animation: fadeIn var(--duration-slow) var(--ease-out); }
.animate-fade-up  { animation: fadeInUp var(--duration-slow) var(--ease-out); }
.animate-pulse    { animation: pulse 2s infinite; }
.skeleton {
  background: linear-gradient(90deg, var(--surface-alt) 25%, var(--border) 50%, var(--surface-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   23. RESPONSIVE
   ========================================================================== */
@media (max-width: 1279px) {
  .footer-grid, .footer-main .container { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-8); }
  .brand-tiles { gap: var(--space-4); }
}

@media (max-width: 1023px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-tiles { grid-template-columns: repeat(4, 1fr); }
  .footer-grid, .footer-main .container { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer-newsletter__grid { grid-template-columns: 1fr; text-align: center; }
  /* Admin sidebar becomes off-canvas drawer on tablets/mobile */
  .admin-sidebar, .sidebar {
    position: fixed;
    top: 0;
    inset-inline-end: 0;
    width: min(280px, 85vw);
    transform: translateX(100%);
    transition: transform var(--duration-normal) var(--ease-out);
    z-index: 201;
  }
  html[dir="rtl"] .admin-sidebar, html[dir="rtl"] .sidebar { transform: translateX(-100%); }
  .admin-sidebar.open, .sidebar.open { transform: translateX(0); }
}

@media (max-width: 767px) {
  :root {
    --navbar-h: 60px;
  }
  .hide-mobile { display: none !important; }
  .show-mobile { display: inline-flex !important; }
  .menu-toggle { display: flex; }

  .topbar .container { font-size: 11px; gap: var(--space-2); }
  .topbar__right { display: none; }

  .navbar, .header > .container {
    flex-wrap: wrap;
    gap: var(--space-3);
    padding-block: var(--space-3);
  }
  .navbar-brand, .logo { font-size: var(--text-xl); order: 1; }
  .navbar-actions, .header-actions { order: 2; margin-inline-start: auto; }
  .navbar-search, .header-search {
    order: 3;
    flex: 1 0 100%;
    max-width: none;
  }

  .hero { padding: var(--space-12) var(--space-5); border-radius: var(--radius-xl); }
  .hero h1 { font-size: var(--text-3xl); }
  .hero p { font-size: var(--text-base); }
  .btn-hero-primary, .btn-hero-outline { padding: var(--space-3) var(--space-6); font-size: var(--text-sm); }

  .trust-bar { grid-template-columns: 1fr; gap: var(--space-4); padding: var(--space-5); }
  .promo-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .brand-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid, .footer-main .container { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom .container { justify-content: center; text-align: center; }

  .section { padding-block: var(--space-10); }
  .section-header { flex-direction: column; align-items: flex-start; }
  .section-header h2 { font-size: var(--text-2xl); }

  .admin-main { padding: var(--space-5); }
  .page-title { font-size: var(--text-2xl); }
}

@media (max-width: 479px) {
  .promo-grid { grid-template-columns: 1fr; }
  .brand-tiles { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons > a { width: 100%; justify-content: center; }
}

/* ==========================================================================
   24. PRINT (invoices)
   ========================================================================== */
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .header, .topbar, .sub-header, .footer-main, .footer-bottom, .footer-top,
  .footer-newsletter, .footer-premium, .mobile-nav, .mobile-overlay,
  .menu-toggle, .navbar-actions, .header-actions, .sidebar, .admin-sidebar,
  .admin-topbar, .btn, .page-header .btn, .no-print {
    display: none !important;
  }
  .main, .admin-main { padding: 0; }
  .container { max-width: none; padding: 0; }
  .card, .table-premium, table.table { box-shadow: none; border: 1px solid #333; }
  .invoice-header {
    border-bottom: 2px solid #000;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
  a { color: #000; text-decoration: none; }
  .hero { background: none; color: #000; padding: 0; }
  @page { margin: 1.5cm; }
}
