/* ==========================================================================
   TopMark DZ V3.0 — ATELIER NOIR & IVORY (Architectural Quiet Luxury COD)
   Ultra-lightweight, 60fps GPU-accelerated, Mobile-First RTL Design System
   Modes: Porcelain Light (Default), Obsidian Dark, Parchment Comfort
   ========================================================================== */

:root,
[data-theme="light"] {
  --bg: #f7f5f0;
  --bg-elevated: #ffffff;
  --bg-subtle: #efeae0;
  --glass: rgba(247, 245, 240, 0.84);
  --glass-strong: rgba(255, 255, 255, 0.94);
  --ink: #0e1015;
  --ink-soft: #4a4f5a;
  --ink-muted: #787d88;
  --border: rgba(14, 16, 21, 0.09);
  --border-strong: rgba(14, 16, 21, 0.18);
  --gold: #b68d5c;
  --gold-soft: rgba(182, 141, 92, 0.13);
  --emerald: #0f6b54;
  --emerald-soft: rgba(15, 107, 84, 0.11);
  --danger: #b91c1c;
  --cta-bg: #0e1015;
  --cta-ink: #f7f5f0;
  --cta-accent: #0f6b54;
  --shadow-sm: 0 2px 10px rgba(14, 16, 21, 0.04);
  --shadow-md: 0 12px 32px rgba(14, 16, 21, 0.07);
  --shadow-lg: 0 24px 60px rgba(14, 16, 21, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #08090c;
  --bg-elevated: #111319;
  --bg-subtle: #181b24;
  --glass: rgba(17, 19, 25, 0.82);
  --glass-strong: rgba(17, 19, 25, 0.94);
  --ink: #f4f1ea;
  --ink-soft: #b8bdc9;
  --ink-muted: #7e8596;
  --border: rgba(244, 241, 234, 0.09);
  --border-strong: rgba(244, 241, 234, 0.18);
  --gold: #d4af7a;
  --gold-soft: rgba(212, 175, 122, 0.14);
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --danger: #ef4444;
  --cta-bg: #f4f1ea;
  --cta-ink: #08090c;
  --cta-accent: #10b981;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.7);
}

[data-theme="comfort"] {
  --bg: #efe8da;
  --bg-elevated: #f8f3e8;
  --bg-subtle: #e5dcc9;
  --glass: rgba(248, 243, 232, 0.88);
  --glass-strong: rgba(248, 243, 232, 0.96);
  --ink: #261e15;
  --ink-soft: #594b3b;
  --ink-muted: #827361;
  --border: rgba(38, 30, 21, 0.11);
  --border-strong: rgba(38, 30, 21, 0.22);
  --gold: #9a6b3a;
  --gold-soft: rgba(154, 107, 58, 0.14);
  --emerald: #17604c;
  --emerald-soft: rgba(23, 96, 76, 0.12);
  --danger: #a62626;
  --cta-bg: #261e15;
  --cta-ink: #f8f3e8;
  --cta-accent: #17604c;
  --shadow-sm: 0 4px 12px rgba(38, 30, 21, 0.06);
  --shadow-md: 0 14px 34px rgba(38, 30, 21, 0.1);
  --shadow-lg: 0 24px 55px rgba(38, 30, 21, 0.15);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
.num { font-variant-numeric: tabular-nums; }

.at-container {
  width: min(1200px, calc(100% - 28px));
  margin-inline: auto;
}

/* ---------- Announcement Hairline Ribbon ---------- */
.at-ribbon {
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 0;
}
[data-theme="dark"] .at-ribbon {
  background: #12151e;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
}
.at-ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.at-ribbon__dot { opacity: 0.35; }
.at-ribbon__tel { color: var(--gold); font-weight: 600; }

/* ---------- Architectural Glass Header ---------- */
.at-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.at-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}
.at-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.at-brand__seal {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  border: 1px solid var(--gold);
}
.at-brand__meta { display: flex; flex-direction: column; line-height: 1.2; }
.at-brand__meta strong { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.at-brand__meta small { font-size: 11px; color: var(--ink-muted); }

.at-nav { display: flex; align-items: center; gap: 24px; }
.at-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.at-nav a:hover { color: var(--ink); }

.at-header__actions { display: flex; align-items: center; gap: 8px; }
.at-theme-pill {
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}
.at-theme-btn {
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  width: 30px;
  height: 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 13px;
  display: grid;
  place-items: center;
  transition: all 0.2s var(--ease);
}
.at-theme-btn.is-active {
  background: var(--bg-elevated);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ---------- Buttons ---------- */
.at-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
  position: relative;
  overflow: hidden;
}
.at-btn:active { transform: scale(0.98); }
.at-btn--primary {
  background: var(--cta-bg);
  color: var(--cta-ink);
  box-shadow: var(--shadow-md);
}
.at-btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.at-btn--emerald {
  background: var(--emerald);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 107, 84, 0.25);
}
.at-btn--emerald:hover { transform: translateY(-2px); filter: brightness(1.06); }
.at-btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}
.at-btn--ghost:hover { background: var(--bg-subtle); }
.at-btn--sm { padding: 9px 16px; font-size: 13px; }
.at-btn--block { width: 100%; padding: 15px 24px; font-size: 15px; }

.at-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.18) 50%, transparent 75%);
  transform: translateX(120%);
  animation: atShimmer 3.8s infinite;
}
@keyframes atShimmer {
  0%, 55% { transform: translateX(120%); }
  100% { transform: translateX(-120%); }
}

/* ---------- Eyebrow & Section Headers ---------- */
.at-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(182, 141, 92, 0.22);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
}
.at-eyebrow--emerald {
  color: var(--emerald);
  background: var(--emerald-soft);
  border-color: rgba(15, 107, 84, 0.22);
}
.at-section { padding: 64px 0; }
.at-section--tight { padding: 36px 0; }
.at-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.at-section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.at-section-head p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  max-width: 520px;
}

/* ---------- Editorial Flagship Hero (Homepage) ---------- */
.at-hero {
  padding: 36px 0 56px;
}
.at-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.at-hero__title {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.at-hero__title em {
  font-style: normal;
  color: var(--gold);
}
.at-hero__lead {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 24px;
}
.at-hero__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.at-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.at-metric strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.at-metric span {
  font-size: 12px;
  color: var(--ink-muted);
}

/* ---------- Signature Product Inspection Stage ---------- */
.at-stage {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.at-stage__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.at-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald);
}
.at-live-pulse::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px var(--emerald-soft);
  animation: atPulse 2s infinite;
}
@keyframes atPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}
.at-stage__canvas {
  position: relative;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 50% 35%, var(--bg-subtle), var(--bg));
  aspect-ratio: 4 / 3.5;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
}
.at-stage__img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  transition: transform 0.55s var(--ease), opacity 0.35s var(--ease);
}
.at-stage__canvas:hover .at-stage__img { transform: scale(1.04); }
.at-badge-float {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* Interactive Hotspots */
.at-hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 0 6px rgba(182, 141, 92, 0.28);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
  z-index: 4;
}
.at-hotspot:hover, .at-hotspot.is-active {
  transform: scale(1.18);
  background: var(--emerald);
  box-shadow: 0 0 0 8px rgba(15, 107, 84, 0.25);
}
.at-hotspot-card {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: var(--glass-strong);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--shadow-md);
  z-index: 5;
  animation: atFadeUp 0.25s var(--ease);
}
.at-hotspot-card strong { display: block; font-size: 13px; color: var(--ink); }
.at-hotspot-card span { font-size: 12px; color: var(--ink-soft); }
.at-hotspot-close {
  border: 0;
  background: var(--bg-subtle);
  color: var(--ink);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}

.at-stage__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.at-stage__title { font-size: 15px; font-weight: 700; margin: 0 0 2px; }
.at-price-line { display: flex; align-items: baseline; gap: 8px; }
.at-price-now { font-size: 19px; font-weight: 800; color: var(--ink); }
.at-price-old { font-size: 13px; color: var(--ink-muted); text-decoration: line-through; }

.at-stage__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.at-thumb {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  padding: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s var(--ease);
}
.at-thumb.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.at-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Signature Interactive Unboxing Trust Seal ---------- */
.at-seal-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.at-seal-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--emerald));
}
.at-seal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.at-seal-head h3 { margin: 4px 0 0; font-size: 20px; font-weight: 700; }
.at-seal-head p { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; }
.at-seal-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), margin-top 0.35s var(--ease);
}
.at-seal-card.is-open .at-seal-steps {
  max-height: 460px;
  opacity: 1;
}
.at-seal-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}
.at-seal-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.at-seal-step strong { display: block; font-size: 14px; margin-bottom: 4px; }
.at-seal-step span { font-size: 13px; color: var(--ink-soft); }

/* ---------- Filter Pills & Flagship Catalog ---------- */
.at-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.at-filter-pill {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--ink-soft);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.at-filter-pill.is-active, .at-filter-pill:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.at-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.at-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.at-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.at-card__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  background: radial-gradient(circle at 50% 40%, var(--bg-subtle), var(--bg));
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
}
.at-card__media img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}
.at-card:hover .at-card__media img { transform: scale(1.06); }
.at-card__tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.at-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.at-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.at-card__desc {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.at-card__actions {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

/* ---------- UGC Stories Strip (TikTok / Instagram Style) ---------- */
.at-stories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.at-story {
  position: relative;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #1b202b, #0c0e14);
  color: #f4f1ea;
  aspect-ratio: 9 / 13;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.3s var(--ease);
}
.at-story:hover { transform: translateY(-4px); }
.at-story__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  z-index: 2;
}
.at-story__wilaya {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.at-story__play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.35);
  display: grid;
  place-items: center;
  font-size: 16px;
  align-self: center;
  z-index: 2;
}
.at-story__quote {
  z-index: 2;
  font-size: 13px;
  line-height: 1.5;
}
.at-story__quote strong { display: block; font-size: 13px; margin-bottom: 2px; color: var(--gold); }
.at-story__bg-art {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  object-fit: contain;
  padding: 24px;
  pointer-events: none;
}

/* ---------- Product Landing Page Split ---------- */
.at-pdp {
  padding: 24px 0 90px;
}
.at-pdp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.at-pdp__sticky-gallery {
  position: sticky;
  top: 86px;
}
.at-pdp__title {
  margin: 10px 0 8px;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
}
.at-pdp__price-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 18px;
}
.at-pdp__price-bar .at-price-now { font-size: 28px; }
.at-save-chip {
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}

/* ---------- 15-Second Tactile COD Form ---------- */
.at-form-shell {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.at-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.at-form-head h2 { margin: 0; font-size: 17px; font-weight: 700; }
.at-form-head span { font-size: 12px; color: var(--emerald); font-weight: 600; }

.at-field { margin-bottom: 14px; }
.at-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.at-input, .at-select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 13px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.at-input:focus, .at-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.at-input.is-valid {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px var(--emerald-soft);
}
.at-input.is-invalid {
  border-color: var(--danger);
}
.at-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Bundle Cards */
.at-bundles { display: flex; flex-direction: column; gap: 9px; }
.at-bundle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  transition: all 0.22s var(--ease);
}
.at-bundle.is-selected {
  border-color: var(--gold);
  background: var(--gold-soft);
  box-shadow: 0 6px 18px rgba(182, 141, 92, 0.14);
}
.at-bundle__left { display: flex; align-items: center; gap: 10px; }
.at-bundle__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.at-bundle.is-selected .at-bundle__radio {
  border-color: var(--emerald);
}
.at-bundle.is-selected .at-bundle__radio::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
}
.at-bundle__title { font-size: 13.5px; font-weight: 700; display: block; }
.at-bundle__sub { font-size: 11.5px; color: var(--emerald); font-weight: 600; }
.at-bundle__badge {
  position: absolute;
  top: -9px;
  left: 14px;
  background: var(--ink);
  color: var(--bg);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
}
.at-bundle__price { font-size: 15px; font-weight: 800; white-space: nowrap; }

/* Size Pills */
.at-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.at-pill {
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  padding: 7px 13px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.at-pill.is-selected {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* Quick Wilayas + Dynamic ETA */
.at-quick-wilayas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.at-qw {
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.at-qw:hover, .at-qw.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.at-eta-bar {
  margin-top: 10px;
  padding: 10px 13px;
  border-radius: 12px;
  background: var(--emerald-soft);
  border: 1px solid rgba(15, 107, 84, 0.2);
  color: var(--emerald);
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Delivery Toggle Cards */
.at-delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.at-deliv-card {
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: 13px;
  padding: 11px 12px;
  cursor: pointer;
  text-align: right;
  transition: all 0.2s var(--ease);
}
.at-deliv-card.is-selected {
  border-color: var(--emerald);
  background: var(--emerald-soft);
}
.at-deliv-card strong { display: block; font-size: 13px; color: var(--ink); }
.at-deliv-card span { font-size: 12px; color: var(--ink-soft); }

/* One-Click Order Bump */
.at-bump {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px dashed var(--gold);
  background: var(--gold-soft);
  margin: 14px 0;
  cursor: pointer;
}
.at-bump input { width: 18px; height: 18px; accent-color: var(--emerald); flex-shrink: 0; }
.at-bump strong { display: block; font-size: 13px; }
.at-bump span { font-size: 12px; color: var(--ink-soft); }

/* Summary Box */
.at-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 15px;
  margin-bottom: 14px;
}
.at-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.at-summary__row--total {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

/* ---------- Digital Parcel Ticket (Thank You + VIP Upsell) ---------- */
.at-ticket {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 0 auto;
  animation: atFadeUp 0.4s var(--ease);
}
.at-ticket__top {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-strong);
}
.at-ticket__check {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  font-size: 26px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  box-shadow: 0 12px 28px rgba(15, 107, 84, 0.3);
}
.at-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 20px 0;
  text-align: center;
}
.at-tl-step {
  padding: 10px 6px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--ink-muted);
}
.at-tl-step.is-done {
  border-color: var(--emerald);
  background: var(--emerald-soft);
  color: var(--emerald);
  font-weight: 700;
}
.at-upsell-box {
  margin: 20px 0;
  padding: 18px;
  border-radius: 16px;
  border: 1.5px solid var(--gold);
  background: var(--gold-soft);
}
.at-upsell-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.at-upsell-timer {
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* ---------- FAQ Accordion ---------- */
.at-faq { display: flex; flex-direction: column; gap: 10px; }
.at-faq details {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
}
.at-faq summary {
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.at-faq summary::after { content: "+"; font-size: 18px; color: var(--gold); }
.at-faq details[open] summary::after { content: "−"; }
.at-faq details p { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Floating Glass Dock (Mobile Sticky CTA) ---------- */
.at-dock {
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 55;
  background: var(--glass-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 8px 10px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  transform: translateY(130%);
  transition: transform 0.35s var(--ease);
  max-width: 520px;
  margin-inline: auto;
}
.at-dock.is-visible { transform: translateY(0); }
.at-dock__price strong { display: block; font-size: 16px; line-height: 1.1; }
.at-dock__price small { font-size: 11px; color: var(--emerald); font-weight: 600; }

/* ---------- Modal / Bottom Sheet (Quick Order & Story Lightbox) ---------- */
.at-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 9, 12, 0.62);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}
.at-modal.is-open { display: flex; }
.at-modal__sheet {
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  animation: atFadeUp 0.3s var(--ease);
}

/* ---------- Footer ---------- */
.at-footer {
  border-top: 1px solid var(--border);
  padding: 42px 0 90px;
  background: var(--bg-elevated);
}
.at-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.at-footer h4 { margin: 0 0 10px; font-size: 14px; }
.at-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }

/* Floating WhatsApp/Telegram Fab */
.at-fab-stack {
  position: fixed;
  bottom: 84px;
  left: 16px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.at-fab {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  font-size: 18px;
  transition: transform 0.2s var(--ease);
}
.at-fab:hover { transform: scale(1.08); }

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

/* ---------- Responsive (Mobile-First Polish) ---------- */
@media (max-width: 960px) {
  .at-hero__grid, .at-pdp__grid { grid-template-columns: 1fr; gap: 24px; }
  .at-pdp__sticky-gallery { position: static; }
  .at-grid { grid-template-columns: repeat(2, 1fr); }
  .at-stories { grid-template-columns: repeat(2, 1fr); }
  .at-seal-steps { grid-template-columns: 1fr; }
  .at-footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .at-nav { display: none; }
  .at-grid { grid-template-columns: 1fr; }
  .at-grid-2 { grid-template-columns: 1fr; }
  .at-timeline { grid-template-columns: repeat(2, 1fr); }
  .at-section { padding: 44px 0; }
  .at-form-shell { padding: 16px; }
  .at-modal { padding: 0; }
  .at-modal__sheet { border-radius: 24px 24px 0 0; }
}
