/* ═══════════════════════════════════════════════════════════════════
   KSA DATA — Saudi Data Atlas Design System v1.0
   Branch: redesign/atlas-v1
   Direction: RTL-first | Mobile-first
   ═══════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ── Design Tokens ───────────────────────────────────────────────── */
:root {
  /* Colors */
  --clr-forest:       #0D2818;
  --clr-forest-deep:  #081A10;
  --clr-forest-mid:   #132A13;
  --clr-forest-light: #1C3D1C;
  --clr-forest-hover: #1E4A1E;

  --clr-ivory:        #FAF8F0;
  --clr-ivory-warm:   #F5F0E8;
  --clr-ivory-dark:   #EDE8DC;

  --clr-gold:         #C8A96E;
  --clr-gold-light:   #DFC28F;
  --clr-gold-dark:    #A8882E;
  --clr-gold-muted:   rgba(200,169,110,.15);

  --clr-cyan:         #00B4D8;
  --clr-cyan-muted:   rgba(0,180,216,.12);

  --clr-text-dark:    #1A1A1A;
  --clr-text-mid:     #3D3D3D;
  --clr-text-light:   #6B6B6B;
  --clr-text-ivory:   #FAF8F0;
  --clr-text-muted:   rgba(250,248,240,.65);

  --clr-border:       rgba(200,169,110,.2);
  --clr-border-light: rgba(200,169,110,.1);
  --clr-divider:      rgba(26,26,26,.1);

  /* Typography */
  --font-ar:   'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md:   1.125rem;   /* 18px */
  --text-lg:   1.25rem;    /* 20px */
  --text-xl:   1.5rem;     /* 24px */
  --text-2xl:  1.875rem;   /* 30px */
  --text-3xl:  2.25rem;    /* 36px */
  --text-4xl:  3rem;       /* 48px */
  --text-5xl:  3.75rem;    /* 60px */

  --weight-light:  300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semi:   600;
  --weight-bold:   700;

  --leading-tight:  1.25;
  --leading-snug:   1.4;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  /* Spacing */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;

  /* Layout */
  --container-max:  1280px;
  --container-wide: 1440px;
  --sidebar-w:      280px;
  --header-h:       64px;
  --bottom-nav-h:   64px;

  /* Borders */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.18);
  --shadow-gold: 0 2px 12px rgba(200,169,110,.25);

  /* Transitions */
  --transition:      150ms ease;
  --transition-slow: 300ms ease;
}

/* ── Reset & Base ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-ar);
  font-weight: var(--weight-normal);
  line-height: var(--leading-normal);
  color: var(--clr-text-dark);
  background: var(--clr-ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

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

/* ── Typography ──────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: inherit;
}
p { line-height: var(--leading-loose); }

.mono { font-family: var(--font-mono); }

/* ── Layout Utilities ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
@media (min-width: 768px)  { .container { padding-inline: var(--sp-8); } }
@media (min-width: 1024px) { .container { padding-inline: var(--sp-12); } }

.section { padding-block: var(--sp-16); }
@media (min-width: 768px) { .section { padding-block: var(--sp-24); } }

/* ── SKIP LINK ───────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  right: var(--sp-4);
  background: var(--clr-gold);
  color: var(--clr-forest-deep);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm);
  font-weight: var(--weight-bold);
  z-index: 9999;
}
.skip-link:focus { top: var(--sp-4); }

/* ═══════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════ */
.atlas-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--clr-forest-deep);
  border-bottom: 1px solid var(--clr-border-light);
  height: var(--header-h);
}

.atlas-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--sp-6);
}

/* Brand */
.atlas-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  text-decoration: none;
}
.atlas-brand__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.atlas-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.atlas-brand__name {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--clr-gold);
  letter-spacing: .02em;
}
.atlas-brand__tagline {
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  font-weight: var(--weight-light);
}

/* Desktop Nav */
.atlas-nav {
  display: none;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
  justify-content: center;
}
@media (min-width: 1024px) { .atlas-nav { display: flex; } }

.atlas-nav__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--clr-text-muted);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.atlas-nav__link:hover,
.atlas-nav__link[aria-current="page"] {
  color: var(--clr-ivory);
  background: var(--clr-forest-light);
}
.atlas-nav__link--highlight {
  color: var(--clr-gold);
  border: 1px solid var(--clr-border);
}
.atlas-nav__link--highlight:hover {
  background: var(--clr-gold-muted);
  color: var(--clr-gold-light);
}

/* Header Actions */
.atlas-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.atlas-lang-toggle {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-sm);
  padding: var(--sp-1) var(--sp-3);
  transition: all var(--transition);
  letter-spacing: .05em;
}
.atlas-lang-toggle:hover { color: var(--clr-ivory); border-color: var(--clr-border); }

.atlas-wa-btn {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  background: #25D366;
  color: #fff;
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  transition: opacity var(--transition);
}
.atlas-wa-btn:hover { opacity: .9; }
@media (min-width: 768px) { .atlas-wa-btn { display: flex; } }

/* Hamburger */
.atlas-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.atlas-hamburger:hover { background: var(--clr-forest-light); }
.atlas-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-gold);
  border-radius: 2px;
  transition: all var(--transition-slow);
}
@media (min-width: 1024px) { .atlas-hamburger { display: none; } }

/* Mobile Menu Overlay */
.atlas-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: none;
}
.atlas-mobile-menu.is-open { display: block; }

.atlas-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,26,16,.8);
  backdrop-filter: blur(4px);
}
.atlas-mobile-menu__panel {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--clr-forest-deep);
  padding: var(--sp-6);
  overflow-y: auto;
  border-inline-end: 1px solid var(--clr-border-light);
}
.atlas-mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-8);
}
.atlas-mobile-menu__close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border-light);
  color: var(--clr-text-muted);
  font-size: var(--text-xl);
  transition: all var(--transition);
}
.atlas-mobile-menu__close-btn:hover { color: var(--clr-ivory); background: var(--clr-forest-light); }

.atlas-mobile-menu__links { display: flex; flex-direction: column; gap: var(--sp-1); }
.atlas-mobile-menu__link {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--clr-text-muted);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.atlas-mobile-menu__link:hover {
  color: var(--clr-ivory);
  background: var(--clr-forest-light);
}
.atlas-mobile-menu__link--primary {
  background: var(--clr-gold-muted);
  color: var(--clr-gold);
  border: 1px solid var(--clr-border);
  margin-top: var(--sp-4);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════ */
.atlas-hero {
  position: relative;
  background: var(--clr-forest);
  overflow: hidden;
  padding-block: var(--sp-16) var(--sp-20);
}
@media (min-width: 768px) { .atlas-hero { padding-block: var(--sp-24); } }

/* Topographic overlay */
.atlas-hero__topo {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 120% 100% at 50% 0%, rgba(13,40,24,.6) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.018' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .7;
  pointer-events: none;
}

/* Topographic SVG lines */
.atlas-hero__topo::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'%3E%3Cg fill='none' stroke='%23C8A96E' stroke-width='0.6' opacity='0.12'%3E%3Cellipse cx='400' cy='300' rx='380' ry='260'/%3E%3Cellipse cx='400' cy='300' rx='320' ry='210'/%3E%3Cellipse cx='400' cy='300' rx='260' ry='165'/%3E%3Cellipse cx='400' cy='300' rx='200' ry='125'/%3E%3Cellipse cx='400' cy='300' rx='145' ry='90'/%3E%3Cellipse cx='400' cy='300' rx='90' ry='55'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: .6;
}

.atlas-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.atlas-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--clr-gold-muted);
  border: 1px solid var(--clr-border);
  color: var(--clr-gold);
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  padding: var(--sp-1) var(--sp-4);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-6);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.atlas-hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--clr-cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.atlas-hero__title {
  font-size: clamp(var(--text-2xl), 5vw, var(--text-5xl));
  font-weight: var(--weight-bold);
  color: var(--clr-ivory);
  line-height: var(--leading-tight);
  margin-bottom: var(--sp-5);
}
.atlas-hero__title-accent {
  color: var(--clr-gold);
  display: block;
}

.atlas-hero__subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  color: var(--clr-text-muted);
  line-height: var(--leading-loose);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}

/* Hero Search */
.atlas-hero__search {
  position: relative;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
}
.atlas-hero__search-input {
  width: 100%;
  height: 56px;
  padding-inline-start: var(--sp-6);
  padding-inline-end: 110px; /* room for button */
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.06);
  color: var(--clr-ivory);
  font-size: var(--text-base);
  font-family: var(--font-ar);
  transition: all var(--transition);
  -webkit-appearance: none;
}
.atlas-hero__search-input::placeholder { color: var(--clr-text-muted); }
.atlas-hero__search-input:focus {
  outline: none;
  border-color: var(--clr-gold);
  background: rgba(255,255,255,.1);
}
.atlas-hero__search-btn {
  position: absolute;
  inset-inline-end: var(--sp-2);
  top: 50%;
  transform: translateY(-50%);
  height: 42px;
  padding-inline: var(--sp-5);
  background: var(--clr-gold);
  color: var(--clr-forest-deep);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  font-family: var(--font-ar);
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  white-space: nowrap;
}
.atlas-hero__search-btn:hover { background: var(--clr-gold-light); }

/* Hero CTAs */
.atlas-hero__ctas {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}

/* Hero Trust */
.atlas-hero__trust {
  display: flex;
  gap: var(--sp-6);
  justify-content: center;
  flex-wrap: wrap;
}
.atlas-hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-text-muted);
  font-size: var(--text-sm);
}
.atlas-hero__trust-icon {
  color: var(--clr-cyan);
  font-size: var(--text-base);
}
.atlas-hero__trust-num {
  font-family: var(--font-mono);
  font-weight: var(--weight-semi);
  color: var(--clr-gold);
  font-size: var(--text-base);
}

/* ═══════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-ar);
  font-weight: var(--weight-semi);
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
  border: 2px solid transparent;
}

/* Sizes */
.btn--sm  { font-size: var(--text-sm);  padding: var(--sp-2) var(--sp-5);  min-height: 36px; }
.btn--md  { font-size: var(--text-sm);  padding: var(--sp-3) var(--sp-6);  min-height: 44px; }
.btn--lg  { font-size: var(--text-base); padding: var(--sp-4) var(--sp-8); min-height: 52px; }
.btn--full { width: 100%; }

/* Variants */
.btn--primary {
  background: var(--clr-gold);
  color: var(--clr-forest-deep);
  border-color: var(--clr-gold);
}
.btn--primary:hover {
  background: var(--clr-gold-light);
  border-color: var(--clr-gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--clr-ivory);
  border-color: rgba(250,248,240,.35);
}
.btn--outline:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  background: var(--clr-gold-muted);
}

.btn--outline-dark {
  background: transparent;
  color: var(--clr-forest);
  border-color: var(--clr-forest);
}
.btn--outline-dark:hover {
  background: var(--clr-forest);
  color: var(--clr-ivory);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-gold);
  border-color: transparent;
}
.btn--ghost:hover { background: var(--clr-gold-muted); }

/* ═══════════════════════════════════════════════════════════════════
   DATASET DOSSIER — Core Display Component
   ═══════════════════════════════════════════════════════════════════ */
.dossier {
  display: grid;
  grid-template-columns: 52px 4px 1fr auto;
  gap: 0 var(--sp-4);
  align-items: start;
  padding: var(--sp-5) var(--sp-5);
  background: var(--clr-ivory);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-divider);
  transition: all var(--transition-slow);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.dossier:hover {
  border-color: var(--clr-gold);
  box-shadow: var(--shadow-md);
  transform: translateX(-2px);
}

.dossier__num {
  width: 52px;
  height: 52px;
  background: var(--clr-forest);
  color: var(--clr-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: var(--weight-semi);
  font-size: var(--text-sm);
  flex-shrink: 0;
  letter-spacing: .05em;
  align-self: center;
}

.dossier__accent {
  width: 3px;
  background: var(--clr-gold);
  border-radius: 3px;
  align-self: stretch;
  flex-shrink: 0;
}

.dossier__body { min-width: 0; }

.dossier__name {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--clr-forest);
  margin-bottom: var(--sp-2);
  line-height: var(--leading-snug);
}
@media (min-width: 768px) { .dossier__name { font-size: var(--text-md); } }

.dossier__meta {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  align-items: center;
}

.dossier__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-xs);
  padding: 2px var(--sp-3);
  border-radius: var(--radius-pill);
  background: var(--clr-ivory-dark);
  color: var(--clr-text-mid);
  font-weight: var(--weight-medium);
  white-space: nowrap;
}
.dossier__tag--cyan {
  background: var(--clr-cyan-muted);
  color: var(--clr-cyan);
}

.dossier__records {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--clr-text-mid);
  display: flex;
  align-items: center;
  gap: 4px;
}
.dossier__records-dot {
  width: 5px;
  height: 5px;
  background: var(--clr-cyan);
  border-radius: 50%;
}

.dossier__date {
  font-size: var(--text-xs);
  color: var(--clr-text-light);
}

.dossier__desc {
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  margin-top: var(--sp-2);
  line-height: var(--leading-normal);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dossier__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-3);
  flex-shrink: 0;
  align-self: center;
  padding-right: var(--sp-2);
}

.dossier__price {
  text-align: left;
}
.dossier__price-new {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--clr-forest);
  display: block;
  white-space: nowrap;
}
.dossier__price-old {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--clr-text-light);
  text-decoration: line-through;
  display: block;
}
.dossier__currency {
  font-size: var(--text-xs);
  color: var(--clr-text-light);
}

.dossier__cta {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  color: var(--clr-gold);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: gap var(--transition);
}
.dossier:hover .dossier__cta { gap: var(--sp-2); }

/* Compact dossier variant for catalog list */
.dossier--compact {
  padding: var(--sp-4) var(--sp-4);
  border-radius: 0;
  border-right: 0;
  border-left: 0;
  border-top: 0;
  border-bottom-color: var(--clr-divider);
}
.dossier--compact:last-child { border-bottom: 0; }
.dossier--compact:hover { transform: none; border-bottom-color: var(--clr-gold); }

/* ═══════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
  flex-wrap: wrap;
}
.section-header__left {}
.section-header__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  color: var(--clr-gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.section-header__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-gold);
}
.section-header__title {
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  font-weight: var(--weight-bold);
  color: var(--clr-forest);
}
.section-header__sub {
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  margin-top: var(--sp-2);
  max-width: 540px;
}

/* Dark variant */
.section-header--dark .section-header__title { color: var(--clr-ivory); }
.section-header--dark .section-header__sub   { color: var(--clr-text-muted); }

/* ═══════════════════════════════════════════════════════════════════
   FEATURED DATASETS SECTION (Home)
   ═══════════════════════════════════════════════════════════════════ */
.atlas-featured { background: var(--clr-ivory-warm); }

.atlas-featured__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.atlas-featured__more {
  text-align: center;
  margin-top: var(--sp-8);
}

/* ═══════════════════════════════════════════════════════════════════
   CATEGORIES SECTION (Home)
   ═══════════════════════════════════════════════════════════════════ */
.atlas-cats { background: var(--clr-forest); padding-block: var(--sp-16); }

.atlas-cats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
@media (min-width: 640px)  { .atlas-cats__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .atlas-cats__grid { grid-template-columns: repeat(5, 1fr); } }

.atlas-cat-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4);
  background: var(--clr-forest-light);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
}
.atlas-cat-item:hover {
  background: var(--clr-forest-hover);
  border-color: var(--clr-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.atlas-cat-item__icon {
  font-size: var(--text-xl);
  line-height: 1;
  margin-bottom: var(--sp-1);
}
.atlas-cat-item__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--clr-ivory);
  line-height: var(--leading-snug);
}
.atlas-cat-item__count {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--clr-gold);
}

/* ═══════════════════════════════════════════════════════════════════
   HOW IT WORKS (3 Steps)
   ═══════════════════════════════════════════════════════════════════ */
.atlas-steps { background: var(--clr-ivory); }

.atlas-steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  position: relative;
}
@media (min-width: 768px) {
  .atlas-steps__grid { grid-template-columns: repeat(3, 1fr); }
}

.atlas-step {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
}

/* Connector line on desktop */
@media (min-width: 768px) {
  .atlas-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    left: -50%; /* RTL: connecting to next step */
    width: 50%;
    height: 1px;
    background: linear-gradient(to left, var(--clr-gold), transparent);
    pointer-events: none;
  }
}

.atlas-step__num {
  width: 48px;
  height: 48px;
  background: var(--clr-forest);
  color: var(--clr-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  flex-shrink: 0;
}
.atlas-step__title {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--clr-forest);
}
.atlas-step__desc {
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  line-height: var(--leading-loose);
}

/* ═══════════════════════════════════════════════════════════════════
   TRUST / VALUE PROPS
   ═══════════════════════════════════════════════════════════════════ */
.atlas-trust { background: var(--clr-ivory-warm); }

.atlas-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 768px)  { .atlas-trust__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .atlas-trust__grid { grid-template-columns: repeat(4, 1fr); } }

.atlas-trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--clr-ivory);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-divider);
}
.atlas-trust-item__icon {
  width: 40px;
  height: 40px;
  background: var(--clr-forest);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  font-size: var(--text-lg);
}
.atlas-trust-item__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--clr-forest);
}
.atlas-trust-item__desc {
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  line-height: var(--leading-normal);
}

/* ═══════════════════════════════════════════════════════════════════
   CUSTOM REQUEST SECTION
   ═══════════════════════════════════════════════════════════════════ */
.atlas-custom {
  background: var(--clr-forest);
  position: relative;
  overflow: hidden;
}
.atlas-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cg fill='none' stroke='%23C8A96E' stroke-width='0.5' opacity='0.08'%3E%3Ccircle cx='300' cy='200' r='280'/%3E%3Ccircle cx='300' cy='200' r='220'/%3E%3Ccircle cx='300' cy='200' r='160'/%3E%3Ccircle cx='300' cy='200' r='100'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/cover;
  pointer-events: none;
}
.atlas-custom__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.atlas-custom__title {
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  font-weight: var(--weight-bold);
  color: var(--clr-ivory);
  margin-bottom: var(--sp-4);
}
.atlas-custom__desc {
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  line-height: var(--leading-loose);
  margin-bottom: var(--sp-8);
}
.atlas-custom__ctas {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════ */
.atlas-faq { background: var(--clr-ivory); }

.atlas-faq__list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.atlas-faq-item {
  border-bottom: 1px solid var(--clr-divider);
  overflow: hidden;
}
.atlas-faq-item:first-child { border-top: 1px solid var(--clr-divider); }

.atlas-faq-item__trigger {
  width: 100%;
  text-align: right;
  padding: var(--sp-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  background: none;
  color: var(--clr-forest);
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  font-family: var(--font-ar);
  cursor: pointer;
  transition: color var(--transition);
}
.atlas-faq-item__trigger:hover { color: var(--clr-gold-dark); }

.atlas-faq-item__icon {
  width: 24px;
  height: 24px;
  background: var(--clr-gold-muted);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  font-size: var(--text-base);
  flex-shrink: 0;
  transition: all var(--transition);
}
.atlas-faq-item.is-open .atlas-faq-item__icon { background: var(--clr-gold); color: var(--clr-forest-deep); }

.atlas-faq-item__body {
  display: none;
  padding-bottom: var(--sp-5);
  color: var(--clr-text-mid);
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
}
.atlas-faq-item.is-open .atlas-faq-item__body { display: block; }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.atlas-footer {
  background: var(--clr-forest-deep);
  border-top: 1px solid var(--clr-border-light);
  padding-block: var(--sp-16) var(--sp-8);
}

.atlas-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
@media (min-width: 640px)  { .atlas-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .atlas-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.atlas-footer__brand {}
.atlas-footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  line-height: var(--leading-loose);
  margin-top: var(--sp-4);
  max-width: 280px;
}
.atlas-footer__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.atlas-footer__social-link {
  width: 36px;
  height: 36px;
  background: var(--clr-forest-light);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all var(--transition);
}
.atlas-footer__social-link:hover {
  color: var(--clr-gold);
  border-color: var(--clr-border);
  background: var(--clr-gold-muted);
}

.atlas-footer__col-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  color: var(--clr-gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.atlas-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.atlas-footer__col-link {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: color var(--transition);
  line-height: var(--leading-snug);
}
.atlas-footer__col-link:hover { color: var(--clr-ivory); }

.atlas-footer__bottom {
  border-top: 1px solid var(--clr-border-light);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.atlas-footer__copy {
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
}
.atlas-footer__bottom-links {
  display: flex;
  gap: var(--sp-4);
}
.atlas-footer__bottom-link {
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.atlas-footer__bottom-link:hover { color: var(--clr-ivory); }

/* ═══════════════════════════════════════════════════════════════════
   BOTTOM NAV (Mobile only)
   ═══════════════════════════════════════════════════════════════════ */
.atlas-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 800;
  background: var(--clr-forest-deep);
  border-top: 1px solid var(--clr-border-light);
  height: var(--bottom-nav-h);
}
@media (min-width: 1024px) { .atlas-bottom-nav { display: none; } }

/* Hide bottom nav on product pages on mobile to prevent double sticky bar clash */
body:has(.product-page) .atlas-bottom-nav,
.product-page ~ .atlas-bottom-nav {
  display: none !important;
}

/* Add bottom padding so content doesn't hide behind nav */
body:has(.atlas-bottom-nav) {
  padding-bottom: var(--bottom-nav-h);
}
body:has(.product-page) {
  padding-bottom: 0 !important;
}

.atlas-bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: var(--clr-text-muted);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  padding-block: var(--sp-2);
  transition: color var(--transition);
  border: none;
  background: none;
  font-family: var(--font-ar);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.atlas-bottom-nav__item:hover,
.atlas-bottom-nav__item[aria-current="page"] {
  color: var(--clr-gold);
}
.atlas-bottom-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 1;
}
.atlas-bottom-nav__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}
.atlas-bottom-nav__item:hover .atlas-bottom-nav__icon svg,
.atlas-bottom-nav__item[aria-current="page"] .atlas-bottom-nav__icon svg {
  stroke: var(--clr-gold);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════ */
.text-gold    { color: var(--clr-gold); }
.text-ivory   { color: var(--clr-ivory); }
.text-forest  { color: var(--clr-forest); }
.text-muted   { color: var(--clr-text-muted); }
.text-light   { color: var(--clr-text-light); }
.text-center  { text-align: center; }
.text-right   { text-align: right; }

.bg-forest     { background: var(--clr-forest); }
.bg-ivory      { background: var(--clr-ivory); }
.bg-ivory-warm { background: var(--clr-ivory-warm); }

.font-mono  { font-family: var(--font-mono); }
.font-bold  { font-weight: var(--weight-bold); }
.font-semi  { font-weight: var(--weight-semi); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.mt-auto { margin-top: auto; }
.mb-4    { margin-bottom: var(--sp-4); }
.mb-8    { margin-bottom: var(--sp-8); }

/* ═══════════════════════════════════════════════════════════════════
   ATLAS LOGO SVG INLINE STYLES
   ═══════════════════════════════════════════════════════════════════ */
.atlas-logo-svg {
  width: 36px;
  height: 36px;
}

/* ═══════════════════════════════════════════════════════════════════
   CATALOG PAGE
   ═══════════════════════════════════════════════════════════════════ */
.catalog-header {
  background: var(--clr-forest);
  padding: var(--sp-10) 0 var(--sp-8);
  border-bottom: 1px solid var(--clr-border);
}
.catalog-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-4);
}
.catalog-header__breadcrumb a {
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.catalog-header__breadcrumb a:hover { color: var(--clr-gold); }
.catalog-header__breadcrumb-sep { opacity: .5; }
.catalog-header__title {
  font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  color: var(--clr-ivory);
  margin-bottom: var(--sp-3);
}
.catalog-header__sub {
  font-size: var(--text-base);
  color: var(--clr-text-muted);
  max-width: 600px;
  line-height: var(--leading-loose);
  margin-bottom: var(--sp-6);
}

/* Search bar */
.catalog-search {
  position: relative;
  max-width: 480px;
}
.catalog-search__icon {
  position: absolute;
  right: var(--sp-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-muted);
  pointer-events: none;
}
.catalog-search__input {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-pill);
  padding: var(--sp-3) var(--sp-5) var(--sp-3) var(--sp-5);
  padding-right: var(--sp-12);
  font-family: var(--font-ar);
  font-size: var(--text-base);
  color: var(--clr-ivory);
  direction: rtl;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.catalog-search__input::placeholder { color: var(--clr-text-muted); }
.catalog-search__input:focus {
  outline: none;
  border-color: var(--clr-gold);
  background: rgba(255,255,255,.12);
}

/* Mobile filter chips */
.catalog-mobile-filters {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding-bottom: var(--sp-2);
  scrollbar-width: none;
}
.catalog-mobile-filters::-webkit-scrollbar { display: none; }
.catalog-mobile-filter-btn {
  flex-shrink: 0;
  background: var(--clr-ivory-dark);
  border: 1px solid var(--clr-divider);
  border-radius: var(--radius-pill);
  padding: var(--sp-2) var(--sp-4);
  font-family: var(--font-ar);
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  cursor: pointer;
  transition: all var(--dur-fast);
  white-space: nowrap;
}
.catalog-mobile-filter-btn:hover,
.catalog-mobile-filter-btn.active {
  background: var(--clr-forest);
  color: var(--clr-ivory);
  border-color: var(--clr-forest);
}

/* Catalog layout (sidebar + results) */
.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-16);
  align-items: start;
}
@media (min-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 260px 1fr;
  }
  .catalog-mobile-filters { display: none; }
}

/* Sidebar */
.catalog-sidebar { display: none; }
@media (min-width: 1024px) {
  .catalog-sidebar { display: block; }
}
.catalog-sidebar__sticky { position: sticky; top: 80px; }
.catalog-sidebar__panel {
  background: var(--clr-ivory);
  border: 1px solid var(--clr-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.catalog-sidebar__head {
  background: var(--clr-forest);
  color: var(--clr-ivory);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.catalog-filter-group {
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--clr-divider);
}
.catalog-filter-group:last-child { border-bottom: none; }
.catalog-filter-group__title {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--clr-text-light);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.catalog-filter-chips { display: flex; flex-direction: column; gap: var(--sp-2); }
.catalog-filter-chip {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  cursor: pointer;
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast);
}
.catalog-filter-chip:hover { background: var(--clr-ivory-dark); }
.catalog-filter-chip.active { color: var(--clr-forest); font-weight: var(--weight-semi); }
.catalog-filter-chip__check {
  width: 16px;
  height: 16px;
  background: var(--clr-ivory-dark);
  border: 1px solid var(--clr-divider);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--clr-forest);
  flex-shrink: 0;
  transition: all var(--dur-fast);
}
.catalog-filter-chip.active .catalog-filter-chip__check {
  background: var(--clr-forest);
  border-color: var(--clr-forest);
  color: var(--clr-ivory);
}

/* Results header */
.catalog-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.catalog-results-count {
  font-size: var(--text-sm);
  color: var(--clr-text-light);
}
.catalog-results {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

/* ── Dossier compact (catalog list) ─────────────────────────────── */
.dossier--compact {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: var(--clr-ivory);
  border: 1px solid var(--clr-divider);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all var(--dur-fast);
}
.dossier--compact:hover {
  border-color: var(--clr-gold);
  box-shadow: var(--shadow-md);
  transform: translateX(-2px);
}
.dossier__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--clr-text-light);
  min-width: 24px;
  flex-shrink: 0;
}
.dossier__accent {
  width: 3px;
  height: 40px;
  background: linear-gradient(180deg, var(--clr-gold), transparent);
  border-radius: 2px;
  flex-shrink: 0;
}
.dossier__body {
  flex: 1;
  min-width: 0;
}
.dossier__name {
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--clr-text-dark);
  margin-bottom: var(--sp-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .dossier__name { white-space: normal; font-size: var(--text-sm); }
}
.dossier__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.dossier__tag {
  font-size: var(--text-xs);
  background: var(--clr-ivory-dark);
  color: var(--clr-text-mid);
  padding: 1px var(--sp-2);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.dossier__tag--cyan {
  background: var(--clr-cyan-muted);
  color: var(--clr-cyan);
}
.dossier__records {
  font-size: var(--text-xs);
  color: var(--clr-text-light);
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
}
.dossier__records-dot {
  width: 5px; height: 5px;
  background: var(--clr-gold);
  border-radius: 50%;
}
.dossier__date {
  font-size: var(--text-xs);
  color: var(--clr-text-light);
}
.dossier__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-1);
  flex-shrink: 0;
}
.dossier__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.dossier__price-new {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--clr-forest);
}
.dossier__price-old {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--clr-text-light);
  text-decoration: line-through;
}
.dossier__currency { font-size: var(--text-xs); }
.dossier__cta {
  font-size: var(--text-xs);
  color: var(--clr-gold);
  font-weight: var(--weight-semi);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════ */
.product-header {
  background: var(--clr-forest);
  padding: var(--sp-6) 0 var(--sp-4);
  border-bottom: 1px solid var(--clr-border);
}
.product-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--clr-text-muted);
}
.product-header__breadcrumb a {
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.product-header__breadcrumb a:hover { color: var(--clr-gold); }
.product-header__breadcrumb span:last-child {
  color: var(--clr-gold);
  font-weight: var(--weight-semi);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: start;
}
@media (min-width: 1100px) {
  .product-layout { grid-template-columns: 1fr 340px; }
  .passport-sidebar-desktop { display: block !important; }
}

.product-main__title {
  font-size: clamp(var(--text-xl), 4vw, var(--text-3xl));
  font-weight: var(--weight-bold);
  color: var(--clr-forest);
  line-height: var(--leading-tight);
  margin-bottom: var(--sp-4);
}

/* ── Passport Card ───────────────────────────────────────────────── */
.passport-card {
  background: var(--clr-ivory);
  border: 1px solid var(--clr-divider);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.passport-card__body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* Price block */
.passport-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  background: var(--clr-ivory-dark);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-divider);
}
.passport-price__new {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--clr-forest);
  line-height: 1;
}
.passport-price__currency { font-size: var(--text-base); }
.passport-price__old {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--clr-text-light);
  text-decoration: line-through;
  margin-top: var(--sp-1);
  display: block;
}
.passport-price__save {
  background: #D4EDDA;
  color: #155724;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
}

/* CTA buttons */
.passport-card__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* Specs grid */
.passport-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  border-top: 1px solid var(--clr-divider);
  padding-top: var(--sp-4);
}
.passport-spec {
  text-align: center;
  padding: var(--sp-2);
  background: var(--clr-ivory-dark);
  border-radius: var(--radius-sm);
}
.passport-spec__val {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--clr-forest);
  line-height: 1;
  margin-bottom: 2px;
}
.passport-spec__label {
  font-size: var(--text-xs);
  color: var(--clr-text-light);
}

/* ── Product sections ────────────────────────────────────────────── */
.product-section {
  background: var(--clr-ivory);
  border: 1px solid var(--clr-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--sp-4);
}
.product-section__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  cursor: pointer;
  background: var(--clr-ivory-dark);
  transition: background var(--dur-fast);
  border: none;
  width: 100%;
  text-align: right;
}
.product-section__head:hover { background: var(--clr-ivory-warm); }
.product-section__head-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.product-section__head-title {
  flex: 1;
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--clr-text-dark);
}
.product-section__toggle {
  font-size: var(--text-xl);
  color: var(--clr-gold);
  font-weight: var(--weight-bold);
  transition: transform var(--dur-fast);
  flex-shrink: 0;
}
.product-section.is-open .product-section__toggle { transform: rotate(45deg); }
.product-section__body {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}
.product-section.is-open .product-section__body {
  padding: var(--sp-5);
  max-height: 2000px;
}

/* Fields grid */
.product-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}
@media (min-width: 600px) {
  .product-fields { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .product-fields { grid-template-columns: repeat(4, 1fr); }
}
.product-field {
  background: var(--clr-ivory-dark);
  border: 1px solid var(--clr-divider);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

/* Audience list */
.product-audience {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.product-audience-item {
  padding: var(--sp-3) var(--sp-4);
  background: var(--clr-ivory-dark);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  line-height: var(--leading-loose);
  border-right: 3px solid var(--clr-gold);
}
.product-audience-item strong { color: var(--clr-text-dark); }

/* Related products */
.product-related { margin-top: var(--sp-8); }

/* Mobile sticky CTA — sits cleanly at bottom of screen */
.product-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--clr-ivory);
  border-top: 1px solid var(--clr-divider);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  gap: var(--sp-3);
  z-index: 850;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}
.product-mobile-cta .btn { flex: 1; justify-content: center; font-size: var(--text-sm); min-height: 48px; border-radius: var(--radius-md); }
@media (min-width: 1024px) {
  .product-mobile-cta { display: none; }
  .product-page { padding-bottom: 0; }
}
.product-page { padding-bottom: 85px; }
@media (min-width: 1024px) { .product-page { padding-bottom: 0; } }

/* ═══════════════════════════════════════════════════════════════════
   BTN MODIFIERS (add missing)
   ═══════════════════════════════════════════════════════════════════ */
.btn--sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
}
.btn--full { width: 100%; justify-content: center; }
.btn--outline-dark {
  background: transparent;
  border: 1.5px solid var(--clr-divider);
  color: var(--clr-text-dark);
}
.btn--outline-dark:hover {
  border-color: var(--clr-forest);
  color: var(--clr-forest);
  background: var(--clr-ivory-dark);
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURED DATASETS GRID (Home — Desktop 4 Columns Matching Mockup)
   ═══════════════════════════════════════════════════════════════════ */
.atlas-featured__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px) {
  .atlas-featured__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .atlas-featured__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.atlas-dataset-card {
  background: var(--clr-ivory);
  border: 1px solid var(--clr-divider);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-3);
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.atlas-dataset-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-gold);
  box-shadow: 0 12px 24px rgba(13, 40, 24, 0.08);
}
.atlas-dataset-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}
.atlas-dataset-card__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--clr-forest-deep);
  color: var(--clr-gold);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  line-height: 1;
}
.atlas-dataset-card__cat {
  font-size: var(--text-xs);
  color: var(--clr-cyan);
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.atlas-dataset-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--clr-text-dark);
  line-height: var(--leading-snug);
  margin: var(--sp-1) 0;
  min-height: 44px;
}
.atlas-dataset-card__stats {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--clr-text-mid);
}
.atlas-dataset-card__records {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--clr-forest);
}
.atlas-dataset-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.atlas-dataset-card__tag {
  font-size: 11px;
  padding: 2px 6px;
  background: var(--clr-ivory-dark);
  border-radius: 4px;
  color: var(--clr-text-mid);
}
.atlas-dataset-card__tag--gold {
  background: rgba(200, 169, 110, 0.15);
  color: #8c6a28;
  font-weight: 600;
}
.atlas-dataset-card__footer {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--clr-divider);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.atlas-dataset-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.atlas-dataset-card__price {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--clr-forest-deep);
}
.atlas-dataset-card__btn {
  width: 100%;
  justify-content: center;
  font-size: var(--text-xs);
  padding: 8px 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER TOGGLE SWITCH (Matching Mockup)
   ═══════════════════════════════════════════════════════════════════ */
.atlas-lang-toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--clr-border-light);
  border-radius: 20px;
  padding: 4px 10px;
  text-decoration: none;
  color: var(--clr-ivory);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  transition: all var(--transition);
}
.atlas-lang-toggle-switch:hover {
  background: rgba(200, 169, 110, 0.15);
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}
.atlas-lang-toggle-switch__pill {
  width: 26px;
  height: 14px;
  background: var(--clr-forest-light);
  border-radius: 10px;
  position: relative;
  display: inline-block;
  border: 1px solid var(--clr-border);
}
.atlas-lang-toggle-switch__dot {
  width: 8px;
  height: 8px;
  background: var(--clr-gold);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  transition: transform var(--transition);
}

/* ═══════════════════════════════════════════════════════════════════
   CATALOG MOBILE PILLS & BOTTOM SHEET FILTERS (Matching Mockup)
   ═══════════════════════════════════════════════════════════════════ */
.catalog-filter-pills-bar {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding-block: var(--sp-3);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.catalog-filter-pills-bar::-webkit-scrollbar { display: none; }

.catalog-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--clr-ivory);
  border: 1px solid var(--clr-divider);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--clr-text-dark);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  font-family: var(--font-ar);
}
.catalog-pill-btn:hover {
  border-color: var(--clr-gold);
  background: var(--clr-ivory-warm);
}
.catalog-pill-btn.active {
  background: var(--clr-gold);
  color: var(--clr-forest-deep);
  border-color: var(--clr-gold);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(200, 169, 110, 0.3);
}

.catalog-bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-end;
}
.catalog-bottom-sheet.is-open {
  display: flex;
}
.catalog-bottom-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 40, 24, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease-out;
}
.catalog-bottom-sheet__content {
  position: relative;
  width: 100%;
  max-height: 85vh;
  background: var(--clr-ivory);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  border-top: 2px solid var(--clr-gold);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideSheetUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideSheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.catalog-bottom-sheet__header {
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--clr-divider);
  background: var(--clr-forest);
  color: var(--clr-ivory);
}
.catalog-bottom-sheet__title {
  font-size: var(--text-base);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.catalog-bottom-sheet__close {
  background: none;
  border: none;
  color: var(--clr-ivory);
  font-size: var(--text-2xl);
  cursor: pointer;
  padding: var(--sp-1);
  line-height: 1;
}
.catalog-bottom-sheet__body {
  padding: var(--sp-5);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.catalog-bottom-sheet__section-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--clr-forest);
  margin-bottom: var(--sp-2);
}
.catalog-bottom-sheet__footer {
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--clr-divider);
  display: flex;
  gap: var(--sp-3);
  background: var(--clr-ivory-dark);
}




/* ── HERO SEARCH & CTA MATCHING MOCKUP ──────────────── */
.atlas-hero__title {
  font-size: clamp(var(--text-3xl), 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--clr-ivory);
  line-height: 1.25;
  margin-bottom: var(--sp-4);
  max-width: 960px;
  margin-inline: auto;
}
.atlas-hero__title-accent {
  color: var(--clr-gold);
  display: inline;
}

.atlas-hero__search {
  position: relative;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
  width: 100%;
}
.atlas-hero__search-input {
  width: 100%;
  height: 52px;
  padding: 0 52px 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
  background: #ffffff !important;
  color: #111827 !important;
  font-size: var(--text-base);
  font-family: var(--font-ar);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  transition: all var(--transition);
  direction: rtl;
}
[dir="ltr"] .atlas-hero__search-input {
  direction: ltr;
  padding: 0 24px 0 52px;
}
.atlas-hero__search-input::placeholder {
  color: #64748b !important;
}
.atlas-hero__search-input:focus {
  outline: none;
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.35);
}
.atlas-hero__search-icon {
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
  z-index: 2;
}

.atlas-hero__ctas {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--sp-8);
}
.atlas-hero__ctas .btn {
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: var(--text-base);
}
.atlas-hero__ctas .btn--primary {
  background: #C8A261;
  color: #062319;
  border-color: #C8A261;
}
.atlas-hero__ctas .btn--primary:hover {
  background: #d8b475;
  border-color: #d8b475;
  color: #062319;
}
.atlas-hero__ctas .btn--outline {
  background: rgba(6, 35, 25, 0.6);
  border: 1px solid rgba(200, 162, 97, 0.6);
  color: #ffffff;
}
.atlas-hero__ctas .btn--outline:hover {
  background: #062319;
  border-color: #C8A261;
  color: #C8A261;
}

@media (max-width: 640px) {
  .atlas-hero {
    padding-block: 2.5rem 3rem;
  }
  .atlas-hero__title {
    font-size: 1.85rem;
    line-height: 1.3;
  }
  .atlas-hero__title-accent {
    display: block;
    margin-top: 4px;
  }
  .atlas-hero__search-input {
    border-radius: 8px;
    height: 48px;
    font-size: 14px;
  }
  .atlas-hero__ctas {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .atlas-hero__ctas .btn {
    width: 100%;
    border-radius: 8px;
    padding: 14px 20px;
  }
  .atlas-hero__trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: var(--sp-6);
  }
  .atlas-hero__trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
    padding-inline: 4px;
    font-size: 13px;
  }
  .atlas-hero__trust-item:first-child {
    border-inline-start: none;
  }
  .atlas-hero__trust-num {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   CATALOG PAGE — LUXURY FIDELITY (Matching Mockup)
   ═══════════════════════════════════════════════════════════════════ */
.catalog-page {
  background: #FAF8F5;
  min-height: 100vh;
}

.catalog-header {
  background: #FAF8F5;
  padding: var(--sp-6) 0 var(--sp-4);
  border-bottom: none;
}
.catalog-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  color: #8C733E;
  margin-bottom: var(--sp-3);
  font-weight: 600;
}
.catalog-header__breadcrumb a {
  color: #8C733E;
  text-decoration: none;
}
.catalog-header__breadcrumb a:hover {
  color: #062319;
}
.catalog-header__breadcrumb-sep {
  opacity: 0.6;
  color: #8C733E;
}
.catalog-header__title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #062319;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
}
.catalog-header__sub {
  font-size: 14px;
  color: #4B5563;
  max-width: 600px;
  line-height: 1.5;
  margin-bottom: var(--sp-5);
}

/* Catalog Search Bar (White Rounded Box with Border) */
.catalog-search {
  position: relative;
  max-width: 100%;
  margin-bottom: var(--sp-4);
}
.catalog-search__icon {
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748B;
  pointer-events: none;
  z-index: 2;
}
.catalog-search__input {
  width: 100%;
  height: 48px;
  background: #ffffff;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  padding: 0 16px 0 48px;
  font-family: var(--font-ar);
  font-size: 14px;
  color: #111827;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
[dir="rtl"] .catalog-search__input {
  direction: rtl;
  padding: 0 48px 0 16px;
}
[dir="rtl"] .catalog-search__icon {
  inset-inline-start: auto;
  inset-inline-end: 16px;
}
.catalog-search__input::placeholder {
  color: #9CA3AF;
}
.catalog-search__input:focus {
  outline: none;
  border-color: #C8A261;
  box-shadow: 0 0 0 3px rgba(200, 162, 97, 0.2);
}

/* Mobile Filter Pills */
.catalog-filter-pills-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  width: 100%;
  padding-bottom: 12px;
  margin-bottom: var(--sp-4);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.catalog-filter-pills-bar::-webkit-scrollbar { display: none; }
.catalog-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid #D1D5DB;
  background: #ffffff;
  color: #374151;
  transition: all 0.2s ease;
  font-family: var(--font-ar);
}
.catalog-pill-btn:hover {
  border-color: #C8A261;
  background: #FFFDF9;
}
.catalog-pill-btn.active {
  background: linear-gradient(135deg, #C8A261 0%, #BFA15F 100%);
  border-color: #BFA15F;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(200, 162, 97, 0.3);
}

/* Results Count */
.catalog-results-header {
  margin-bottom: var(--sp-3);
}
.catalog-results-count {
  font-size: 18px;
  font-weight: 800;
  color: #062319;
}
/* ── Dossier Compact Card & Catalog Results (100% Mockup Parity) ── */
.catalog-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 767px) {
  .catalog-results {
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    gap: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  }
}

.dossier--compact {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #ffffff !important;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 18px;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  margin-bottom: 2px;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .dossier--compact {
    border: none !important;
    border-bottom: 1px solid #E2E8F0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    padding: 14px 14px !important;
  }
  .dossier--compact:last-child {
    border-bottom: none !important;
  }
}

.dossier--compact:hover {
  border-color: #C8A261 !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.dossier--compact .dossier__num {
  width: auto !important;
  height: auto !important;
  min-width: 28px !important;
  background: transparent !important;
  border-radius: 0 !important;
  color: #062319 !important;
  font-family: var(--font-ar), var(--font-sans), sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: normal !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  flex-shrink: 0 !important;
  text-align: center !important;
}

.dossier--compact .dossier__accent {
  width: 3px !important;
  height: auto !important;
  min-height: 48px !important;
  background: #C8A261 !important;
  border-radius: 2px !important;
  margin: 0 12px !important;
  align-self: stretch !important;
  flex-shrink: 0 !important;
}

.dossier--compact .dossier__body {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 4px !important;
  text-align: right !important;
}

[dir="ltr"] .dossier--compact .dossier__body {
  align-items: flex-start !important;
  text-align: left !important;
}

.dossier--compact .dossier__name {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #062319 !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  text-align: right !important;
}

[dir="ltr"] .dossier--compact .dossier__name {
  text-align: left !important;
}

@media (min-width: 768px) {
  .dossier--compact .dossier__name {
    font-size: 16px !important;
  }
}

.dossier--compact .dossier__meta {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin-top: 2px !important;
  text-align: right !important;
}

[dir="ltr"] .dossier--compact .dossier__meta {
  text-align: left !important;
  justify-content: flex-start !important;
}

@media (max-width: 640px) {
  .dossier--compact .dossier__meta > .dossier__tag:first-child {
    display: none !important;
  }
  .dossier--compact .dossier__date {
    display: block !important;
    width: 100% !important;
    margin-top: 2px !important;
  }
  .dossier--compact .dossier__price-old {
    display: none !important;
  }
}

.dossier--compact .dossier__tag {
  font-size: 11px !important;
  background: #F1F5F9 !important;
  color: #475569 !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.dossier--compact .dossier__tag--cyan {
  background: #E8F5E9 !important;
  color: #1B5E20 !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.dossier--compact .dossier__tag--cyan::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B5E20'%3E%3Cpath d='M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.dossier--compact .dossier__records {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  background: #F1F5F9 !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.dossier--compact .dossier__records-dot {
  width: 4px !important;
  height: 4px !important;
  background: #C8A261 !important;
  border-radius: 50% !important;
  display: inline-block !important;
}

.dossier--compact .dossier__date {
  font-size: 11px !important;
  color: #64748B !important;
  margin-inline-start: 2px !important;
}

.dossier--compact .dossier__date::before {
  content: "تحديث ";
}

[dir="ltr"] .dossier--compact .dossier__date::before {
  content: "Updated ";
}

.dossier--compact .dossier__actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 4px !important;
  flex-shrink: 0 !important;
  margin-inline-start: 12px !important;
}

.dossier--compact .dossier__price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  text-align: end !important;
}

.dossier--compact .dossier__price-new {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #062319 !important;
  font-family: var(--font-ar), var(--font-sans), sans-serif !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.dossier--compact .dossier__price-old {
  font-size: 11px !important;
  color: #94A3B8 !important;
  text-decoration: line-through !important;
  margin-top: 2px !important;
}

.dossier--compact .dossier__cta {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #062319 !important;
  text-decoration: underline !important;
  white-space: nowrap !important;
  margin-top: 4px !important;
  transition: color 0.2s ease !important;
}

.dossier--compact:hover .dossier__cta {
  color: #C8A261 !important;
}


/* ═══════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE — LUXURY FIDELITY (Matching Mockup)
   ═══════════════════════════════════════════════════════════════════ */
.product-page {
  background: #FAF8F5;
}
.product-header {
  background: #062319;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.product-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 12px;
  color: #C8A261;
}
.product-header__breadcrumb a {
  color: #C8A261;
  text-decoration: none;
}
.product-header__breadcrumb a:hover {
  color: #ffffff;
}
.product-header__breadcrumb span:last-child {
  color: #FAF8F0;
  font-weight: 600;
}

/* Passport Card (Light Card with Royal Gold Circle Badge) */
.passport-card {
  background: #ffffff;
  border: 1.5px solid #E5E7EB;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  text-align: center;
  margin-bottom: var(--sp-6);
  position: relative;
  overflow: hidden;
}
.passport-card__num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E6CA85 0%, #C8A261 50%, #9E7D3B 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 14px rgba(200, 162, 97, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.passport-card__title {
  font-size: 22px;
  font-weight: 800;
  color: #062319;
  line-height: 1.35;
  margin-bottom: 10px;
}
.passport-card__desc {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 480px;
  margin-inline: auto;
}
.passport-divider {
  height: 1px;
  background: #E5E7EB;
  margin: 18px 0;
  border: none;
}
.passport-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
}
.passport-price__new {
  font-size: 32px;
  font-weight: 800;
  color: #062319;
  line-height: 1;
}
.passport-price__old {
  font-size: 16px;
  color: #9CA3AF;
  text-decoration: line-through;
}
.passport-card__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.passport-card__ctas .btn--sample {
  width: 100%;
  padding: 14px;
  background: #ffffff;
  border: 1.5px solid #062319;
  color: #062319;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.passport-card__ctas .btn--sample:hover {
  background: #F3F4F6;
}
.passport-card__ctas .btn--buy {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #C8A261 0%, #BFA15F 100%);
  color: #ffffff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(200, 162, 97, 0.3);
  transition: all 0.2s ease;
}
.passport-card__ctas .btn--buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200, 162, 97, 0.4);
}

/* 6-Item Data Specs Grid (Matching Mockup 3x2 Grid) */
.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.product-spec-box {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 14px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.product-spec-box__val {
  font-size: 15px;
  font-weight: 800;
  color: #062319;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-spec-box__label {
  font-size: 11px;
  color: #6B7280;
  margin-top: 4px;
  font-weight: 500;
}


/* ── RESPONSIVE MOBILE FIXES MATCHING MOCKUP ── */
@media (max-width: 640px) {
  .atlas-brand__tagline {
    display: none !important;
  }
  .atlas-logo-svg {
    width: 36px !important;
    height: 36px !important;
    transform: none !important;
  }
  .catalog-header__sub {
    display: none !important;
  }
  .catalog-header {
    padding: var(--sp-4) 0 var(--sp-3) !important;
  }
  .atlas-header__inner {
    gap: var(--sp-2) !important;
    padding-inline: 0 !important;
  }
  .atlas-brand {
    gap: 8px !important;
  }
  .atlas-header__actions {
    gap: 8px !important;
  }
}

/* Hide desktop sidebar on mobile, grid layout on desktop */
.catalog-sidebar {
  display: none !important;
}
@media (min-width: 1024px) {
  .catalog-sidebar {
    display: block !important;
  }
}
.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  width: 100%;
}
@media (min-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 280px 1fr;
  }
}

/* Prevent horizontal overflow on catalog and cards */
.catalog-page,
.catalog-results,
.catalog-header,
.catalog-layout {
  max-width: 100%;
  box-sizing: border-box;
}

.dossier--compact {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ═══════════════════════════════════════════════════════════════════
   PREMIUM UX/UI ENHANCEMENTS (ITEMS 1, 2, 3)
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Gold Shimmer Micro-Animation on Buy Buttons ── */
@keyframes goldShimmer {
  0% { transform: translateX(130%); }
  25%, 100% { transform: translateX(-130%); }
}

.passport-card__ctas .btn--buy,
#mobile-buy-btn,
.product-bottom-bar .btn--primary {
  position: relative !important;
  overflow: hidden !important;
}

.passport-card__ctas .btn--buy::after,
#mobile-buy-btn::after,
.product-bottom-bar .btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(130%);
  animation: goldShimmer 4s infinite ease-in-out;
  pointer-events: none;
}

/* ── 2. Payment Trust Badges (Saudi Mada, Apple Pay, Visa, Mastercard) ── */
.payment-trust-bar {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #E2E8F0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.payment-trust-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #1E293B;
  letter-spacing: 0.02em;
}
.pay-badge--mada {
  color: #007A3D;
  font-weight: 800;
}
.pay-badge--apple {
  color: #000000;
  font-weight: 800;
}
.pay-badge--visa {
  color: #1A1F71;
  font-weight: 800;
  font-style: italic;
}
.pay-badge--master {
  color: #EB001B;
  font-weight: 800;
}
.payment-trust-note {
  font-size: 11px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

/* ── 3. B2B WhatsApp Share Button ── */
.b2b-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  margin-top: 8px;
  background: #E8F5E9;
  border: 1px solid #C8E6C9;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #1B5E20;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.b2b-share-btn:hover {
  background: #C8E6C9;
  color: #0A3611;
  transform: translateY(-1px);
}

/* ── 4. Data Completeness Micro-Progress Bar ── */
.product-spec-progress {
  width: 52px;
  height: 4px;
  background: #E2E8F0;
  border-radius: 9999px;
  margin: 4px auto 2px auto;
  overflow: hidden;
}
.product-spec-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #C8A261, #10B981);
  border-radius: 9999px;
}

/* ── 5. Toast Notification for Sample Downloads ── */
.atlas-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: #062319;
  color: #ffffff;
  border: 1.5px solid #C8A261;
  border-radius: 9999px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.atlas-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ── 6. Hero Live Search Dropdown Preview ── */
.atlas-hero__search-wrap {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}
.atlas-hero__live-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  z-index: 100;
  overflow: hidden;
  display: none;
  text-align: right;
  max-height: 380px;
  overflow-y: auto;
}
[dir="ltr"] .atlas-hero__live-results {
  text-align: left;
}
.atlas-hero__live-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid #F1F5F9;
  text-decoration: none;
  color: #062319;
  transition: background 0.15s ease;
}
.atlas-hero__live-item:last-child {
  border-bottom: none;
}
.atlas-hero__live-item:hover,
.atlas-hero__live-item:focus {
  background: #FAF8F5;
}
.atlas-hero__live-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.atlas-hero__live-name {
  font-size: 14px;
  font-weight: 800;
  color: #062319;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.atlas-hero__live-meta {
  font-size: 11px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
}
.atlas-hero__live-price {
  font-size: 15px;
  font-weight: 800;
  color: #062319;
  white-space: nowrap;
  margin-inline-start: 12px;
  font-family: var(--font-ar);
}
.atlas-hero__live-empty {
  padding: 16px;
  text-align: center;
  color: #64748B;
  font-size: 13px;
  font-weight: 600;
}

