/* ── Fonts ────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ── Custom Properties ────────────────────────────────────────────────── */
:root {
  --navy:         #1a3c5b;
  --navy-dark:    #122a40;
  --navy-mid:     #1e4a70;
  --blue:         #2b6c9e;
  --blue-light:   #3a82bc;
  --amber:        #f59e0b;
  --amber-dark:   #d97706;
  --amber-light:  #fbbf24;
  --white:        #ffffff;
  --gray-50:      #f8f9fa;
  --gray-100:     #f1f3f5;
  --gray-200:     #e9ecef;
  --gray-300:     #dee2e6;
  --gray-400:     #ced4da;
  --gray-500:     #adb5bd;
  --gray-600:     #6c757d;
  --gray-700:     #495057;
  --gray-800:     #343a40;
  --gray-900:     #212529;
  --success:      #16a34a;
  --success-bg:   #dcfce7;
  --warning:      #ea580c;
  --warning-bg:   #fff7ed;
  --danger:       #dc2626;
  --danger-bg:    #fee2e2;

  --radius-xs:    4px;
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    18px;
  --radius-xl:    24px;

  --shadow-xs:    0 1px 3px rgba(0,0,0,.06);
  --shadow-sm:    0 1px 6px rgba(0,0,0,.08);
  --shadow:       0 2px 12px rgba(0,0,0,.10);
  --shadow-md:    0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.14);
  --shadow-navy:  0 4px 20px rgba(26,60,91,.35);
  --shadow-amber: 0 4px 16px rgba(245,158,11,.40);

  --font:         'Vazirmatn', system-ui, sans-serif;
  --section-pad:  80px;
  --header-h:     68px;
  --container:    1200px;
}

/* ── Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-800);
  background: var(--white);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font-family: var(--font);
  font-size: 1rem;
}
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.3; color: var(--gray-900); }

/* ── Container ────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Typography ───────────────────────────────────────────────────────── */
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);    font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-amber {
  background: var(--amber);
  color: var(--navy-dark);
  border-color: var(--amber);
  box-shadow: var(--shadow-amber);
}
.btn-amber:hover { background: var(--amber-dark); border-color: var(--amber-dark); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-navy);
}
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }

.btn-sm { padding: 7px 16px; font-size: .875rem; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }

/* ── Badges ───────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
}
.badge-navy    { background: var(--navy);    color: var(--white); }
.badge-blue    { background: var(--blue);    color: var(--white); }
.badge-amber   { background: var(--amber);   color: var(--navy-dark); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-gray    { background: var(--gray-100); color: var(--gray-700); }

/* ── Cards ────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ── Section Defaults ─────────────────────────────────────────────────── */
section { padding-block: var(--section-pad); }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-header h2 { margin: 0; }
.section-eyebrow {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--amber);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.section-subtitle {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-top: 10px;
}
.view-all {
  color: var(--blue);
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
  flex-shrink: 0;
}
.view-all:hover { gap: 8px; color: var(--navy); }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  height: var(--header-h);
  box-shadow: 0 2px 16px rgba(0,0,0,.20);
  transition: background .22s, box-shadow .22s, transform .22s;
}
.site-header.scrolled { background: rgba(18,42,64,.96); box-shadow: 0 8px 28px rgba(0,0,0,.24); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.logo span { color: var(--amber); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: rgba(255,255,255,.8);
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color .18s, background .18s;
}
.main-nav a:hover,
.main-nav a.active { color: var(--white); background: rgba(255,255,255,.12); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-inline-start: auto;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius-sm);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  padding: 12px 16px 20px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background .18s;
}
.mobile-nav a:hover { background: rgba(255,255,255,.1); color: var(--white); }
.mobile-nav .mobile-btns {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.mobile-nav .mobile-btns .btn { flex: 1; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1e5a8a 100%);
  padding-block: 80px 70px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-content { order: 1; }
.hero-image   { order: 2; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(245,158,11,.18);
  color: var(--amber-light);
  font-size: .82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(245,158,11,.3);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.25;
}
.hero h1 .accent {
  color: var(--amber);
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
  opacity: .6;
}
.hero-desc {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-size: .88rem;
}
.trust-item svg { color: var(--amber); flex-shrink: 0; }
.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  aspect-ratio: 16/11;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── How It Works ─────────────────────────────────────────────────────── */
.how-it-works { background: var(--white); }
.how-it-works .section-header { text-align: center; justify-content: center; flex-direction: column; }
.how-it-works .section-header h2 { text-align: center; }
.steps-wrap { position: relative; }
.steps-line {
  display: none;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  right: calc(16.67% + 20px);
  left:  calc(16.67% + 20px);
  height: 2px;
  border-top: 2px dashed var(--gray-300);
  z-index: 0;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform .22s, box-shadow .22s;
  border: 1px solid var(--gray-100);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-navy);
  position: relative;
}
.step-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 3px solid var(--gray-100);
}
.step-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.step-card p  { color: var(--gray-600); font-size: .92rem; line-height: 1.7; }

/* ── Latest Requests ──────────────────────────────────────────────────── */
.latest-requests { background: var(--gray-50); }
.requests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.req-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .22s, box-shadow .22s;
  border: 1px solid var(--gray-100);
}
.req-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.req-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.req-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
  line-height: 1.4;
  flex: 1;
}
.req-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.req-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
}
.req-chip-green  { background: var(--success-bg); color: var(--success); }
.req-chip-orange { background: var(--warning-bg); color: var(--warning); }
.req-chip-blue   { background: #eff6ff; color: var(--blue); }
.req-chip-gray   { background: var(--gray-100); color: var(--gray-700); }
.req-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}
.offer-count {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-600);
  font-size: .85rem;
}
.offer-count strong { color: var(--navy); }

/* ── Stats Strip ──────────────────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  padding-block: 64px;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/img/stats.webp') center/cover no-repeat;
  opacity: .08;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.stat-item {
  text-align: center;
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
}
.stat-num {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--amber);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}

/* ── CTA Section ──────────────────────────────────────────────────────── */
.cta-section {
  background: var(--gray-50);
  padding-block: 80px;
}
.cta-inner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-navy);
  overflow: hidden;
  position: relative;
}
.cta-inner::after {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(245,158,11,.12);
}
.cta-text h2 { color: var(--white); margin-bottom: 12px; }
.cta-text p  { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 520px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; flex-shrink: 0; position: relative; }

/* ── Subscriptions ────────────────────────────────────────────────────── */
.subscriptions { background: var(--white); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
}
.plan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 2px solid var(--gray-200);
  text-align: center;
  transition: transform .22s, border-color .22s, box-shadow .22s;
  position: relative;
  overflow: hidden;
}
.plan-card:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: var(--shadow-md); }
.plan-card.featured {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
}
.plan-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--amber);
  color: var(--navy-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.plan-img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 auto 18px;
}
.plan-name { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.plan-cat  { font-size: .82rem; color: var(--gray-600); margin-bottom: 16px; }
.plan-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.1;
}
.plan-price .currency { font-size: .9rem; font-weight: 500; color: var(--gray-600); display: block; margin-top: 2px; }

/* ── About Preview ────────────────────────────────────────────────────── */
.about-preview {
  background: var(--gray-50);
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-content .section-eyebrow { margin-bottom: 12px; }
.about-content h2 { margin-bottom: 16px; }
.about-content p { color: var(--gray-600); margin-bottom: 24px; line-height: 1.9; }
.about-feats { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.about-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--gray-800);
}
.about-feat svg { color: var(--success); flex-shrink: 0; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding-top: 60px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo { font-size: 1.6rem; display: inline-block; margin-bottom: 14px; }
.footer-brand p {
  font-size: .9rem;
  line-height: 1.8;
  color: rgba(255,255,255,.65);
  margin-bottom: 20px;
}
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: color .2s;
}
.footer-contact a:hover { color: var(--amber); }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  line-height: 1.8;
}
.footer-contact-list svg {
  color: var(--amber);
  flex: 0 0 auto;
  margin-top: 5px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--amber); }
.footer-bottom {
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-badges { display: flex; gap: 12px; align-items: center; }
.trust-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  text-align: center;
}

/* ── Forms ────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-weight: 600; font-size: .9rem; color: var(--gray-700); }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-900);
  transition: border-color .18s, box-shadow .18s;
  direction: rtl;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43,108,158,.15);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { min-height: 100px; resize: vertical; }
select.form-control { cursor: pointer; }

/* ── Alert ────────────────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.alert-success { background: var(--success-bg); color: #14532d; border: 1px solid #bbf7d0; }
.alert-danger  { background: var(--danger-bg);  color: #7f1d1d; border: 1px solid #fecaca; }
.alert-warning { background: var(--warning-bg); color: #7c2d12; border: 1px solid #fed7aa; }
.alert-info    { background: #eff6ff; color: #1e3a5f; border: 1px solid #bfdbfe; }

/* ── Auth Pages ───────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  padding: 40px 24px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}
.auth-card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.auth-card .auth-sub { color: var(--gray-600); font-size: .9rem; margin-bottom: 28px; }
.auth-divider {
  text-align: center;
  color: var(--gray-500);
  font-size: .85rem;
  margin-block: 20px;
  position: relative;
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  border-top: 1px solid var(--gray-200);
  z-index: 0;
}
.auth-divider span {
  background: var(--white);
  padding-inline: 12px;
  position: relative;
  z-index: 1;
}

/* ── Dashboard Layout ─────────────────────────────────────────────────── */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--header-h));
  gap: 0;
}
.dash-sidebar {
  background: var(--navy);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.75);
  font-weight: 500;
  font-size: .95rem;
  transition: background .18s, color .18s;
}
.dash-sidebar a:hover,
.dash-sidebar a.active {
  background: rgba(255,255,255,.12);
  color: var(--white);
}
.dash-sidebar .sidebar-sep {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin-block: 10px;
}
.dash-main {
  background: var(--gray-50);
  padding: 32px;
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.dash-header h1 { font-size: 1.4rem; }
.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.stats-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}
.stats-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stats-card-icon.navy   { background: rgba(26,60,91,.1);  color: var(--navy); }
.stats-card-icon.blue   { background: rgba(43,108,158,.1); color: var(--blue); }
.stats-card-icon.amber  { background: rgba(245,158,11,.1); color: var(--amber-dark); }
.stats-card-icon.green  { background: var(--success-bg);   color: var(--success); }
.stats-card-num { font-size: 1.6rem; font-weight: 800; color: var(--gray-900); line-height: 1; margin-bottom: 2px; }
.stats-card-label { font-size: .82rem; color: var(--gray-600); }

/* ── Table ────────────────────────────────────────────────────────────── */
.table-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.data-table th {
  background: var(--gray-50);
  padding: 12px 16px;
  font-weight: 700;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
  text-align: right;
  white-space: nowrap;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray-50); }
.data-table .actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ── Page Stub ────────────────────────────────────────────────────────── */
.page-stub {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 60px 24px;
}
.page-stub h1 { font-size: 1.4rem; color: var(--navy); }
.page-stub p  { color: var(--gray-600); }

/* ── Breadcrumb ───────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb svg { color: var(--gray-400); }

/* ── Pagination ───────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.page-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}
.page-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.page-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── Admin pages ──────────────────────────────────────────────────────── */
.admin-header {
  background: var(--navy);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-header .logo { font-size: 1.2rem; }
.admin-header a { color: rgba(255,255,255,.75); font-size: .9rem; }
.admin-header a:hover { color: var(--white); }
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
}

/* ── Chat ─────────────────────────────────────────────────────────────── */
.chat-bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .9rem;
  line-height: 1.6;
  position: relative;
}
.chat-bubble.sent    { background: var(--navy); color: var(--white); margin-inline-start: auto; border-bottom-left-radius: 4px; }
.chat-bubble.received { background: var(--gray-100); color: var(--gray-800); border-bottom-right-radius: 4px; }
.chat-time { font-size: .72rem; color: rgba(255,255,255,.6); margin-top: 4px; }
.chat-time.light { color: var(--gray-500); }

/* ── Utilities ────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.text-amber  { color: var(--amber); }
.text-blue   { color: var(--blue); }
.text-muted  { color: var(--gray-600); }
.text-sm     { font-size: .875rem; }
.text-xs     { font-size: .78rem; }
.fw-bold     { font-weight: 700; }
.fw-semi     { font-weight: 600; }
.d-flex      { display: flex; }
.align-center{ align-items: center; }
.gap-8       { gap: 8px; }
.gap-12      { gap: 12px; }
.mt-4        { margin-top: 4px; }
.mt-8        { margin-top: 8px; }
.mt-16       { margin-top: 16px; }
.mt-24       { margin-top: 24px; }
.mb-8        { margin-bottom: 8px; }
.mb-16       { margin-bottom: 16px; }
.mb-24       { margin-bottom: 24px; }
.p-16        { padding: 16px; }
.p-24        { padding: 24px; }
.bg-white    { background: var(--white); }
.bg-gray     { background: var(--gray-50); }
.rounded     { border-radius: var(--radius); }
.shadow      { box-shadow: var(--shadow); }

/* ── Motion ──────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 60px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-cards { grid-template-columns: repeat(2, 1fr); }
  .dash-layout { grid-template-columns: 200px 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 48px; }
  .main-nav, .header-actions { display: none; }
  .mobile-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-image { order: -1; }
  .hero h1 { font-size: 1.9rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .steps-grid::before { display: none; }
  .requests-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .cta-actions { justify-content: center; }
  .cta-text p { max-width: none; }
  .plans-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-main { padding: 20px 16px; }
  .stats-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .requests-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .stats-cards { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .cta-inner { padding: 32px 20px; }
}

@media (max-width: 390px) {
  .container { padding-inline: 16px; }
  .hero { padding-block: 48px 40px; }
  .req-card { padding: 16px; }
  .step-card { padding: 24px 18px; }
}

/* ── Cart nav button ──────────────────────────────────────────────────── */
.cart-nav-btn {
  position: relative;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.85);
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: color .18s, background .18s;
}
.cart-nav-btn:hover { color: var(--white); background: rgba(255,255,255,.12); }
.cart-nav-count {
  position: absolute;
  top: -2px;
  left: -2px;
  background: var(--amber);
  color: var(--navy-dark);
  font-size: .65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Shop / Product Grid ──────────────────────────────────────────────── */
.shop-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding-block: 48px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.shop-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.shop-hero > .container { position: relative; }
.shop-hero h1 { color: var(--white); margin-bottom: 10px; }
.shop-hero p  { color: rgba(255,255,255,.8); font-size: 1rem; max-width: 500px; margin: 0 auto; }

.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding-block: 16px;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  box-shadow: var(--shadow-xs);
}
.filter-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-label { font-size: .875rem; color: var(--gray-600); font-weight: 600; white-space: nowrap; }
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s;
}
.filter-pill:hover  { border-color: var(--navy); color: var(--navy); }
.filter-pill.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.shop-main { background: var(--gray-50); padding-block: 40px; min-height: 50vh; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: transform .22s, box-shadow .22s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--gray-50);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-cat-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  background: rgba(26,60,91,.1);
  color: var(--navy);
  align-self: flex-start;
}
.product-cat-badge.service { background: rgba(245,158,11,.12); color: var(--amber-dark); }
.product-name { font-weight: 700; font-size: .95rem; color: var(--gray-900); line-height: 1.4; flex: 1; }
.product-price { font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.product-card-footer { padding: 0 18px 18px; }

/* ── Product Detail ───────────────────────────────────────────────────── */
.product-detail { background: var(--gray-50); padding-block: 40px 60px; min-height: 60vh; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-gallery { display: flex; flex-direction: column; gap: 14px; }
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--white);
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
}
.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.product-gallery-main:hover img { transform: scale(1.04); }
.product-gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .18s, opacity .18s;
  opacity: .65;
}
.gallery-thumb.active { border-color: var(--navy); opacity: 1; }
.gallery-thumb:hover  { opacity: .9; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info { display: flex; flex-direction: column; gap: 22px; }
.product-info h1 { font-size: 1.5rem; color: var(--gray-900); line-height: 1.3; }
.product-info-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.product-info-price strong {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
}
.product-info-price small { font-size: .9rem; color: var(--gray-500); }
.product-info-desc { color: var(--gray-600); line-height: 1.9; font-size: .95rem; }

.product-divider { height: 1px; background: var(--gray-200); }

.product-options label { font-size: .9rem; font-weight: 600; color: var(--gray-700); display: block; margin-bottom: 12px; }
.variant-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-pill {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
  user-select: none;
  color: var(--gray-800);
  background: var(--white);
}
.variant-pill:hover  { border-color: var(--navy); color: var(--navy); }
.variant-pill.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.qty-row { display: flex; align-items: center; gap: 16px; }
.qty-row label { font-size: .9rem; font-weight: 600; color: var(--gray-700); }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-700);
  transition: background .18s;
  line-height: 1;
}
.qty-btn:hover { background: var(--gray-200); }
.qty-input {
  width: 52px;
  text-align: center;
  border: none;
  border-inline: 1.5px solid var(--gray-200);
  font-size: .95rem;
  font-weight: 600;
  padding: 8px 4px;
  color: var(--gray-900);
  background: var(--white);
  font-family: var(--font);
  -moz-appearance: textfield;
}
.qty-input:focus { outline: none; }
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.product-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Cart ─────────────────────────────────────────────────────────────── */
.cart-page { background: var(--gray-50); padding-block: 48px; min-height: 60vh; }
.cart-page > .container { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-items {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.cart-items-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-100);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-100);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: .95rem; color: var(--gray-900); margin-bottom: 4px; }
.cart-item-variant { font-size: .82rem; color: var(--gray-500); }
.cart-item-price { font-weight: 700; color: var(--navy); font-size: .95rem; white-space: nowrap; }
.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  padding: 4px;
  transition: color .18s;
  flex-shrink: 0;
}
.cart-item-remove:hover { color: var(--danger); }
.cart-empty-state {
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  color: var(--gray-500);
}
.cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.cart-summary h3 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  color: var(--gray-600);
}
.summary-line.total {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  padding-top: 14px;
  border-top: 1.5px solid var(--gray-200);
}
.summary-line.total span:last-child { color: var(--navy); font-size: 1.15rem; }

/* ── Checkout ─────────────────────────────────────────────────────────── */
.checkout-page { background: var(--gray-50); padding-block: 48px; min-height: 60vh; }
.checkout-page > .container { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.checkout-form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}
.checkout-form-card h2 { font-size: 1.15rem; margin-bottom: 22px; color: var(--navy); }
.checkout-order-summary {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.checkout-order-summary h3 { font-size: .95rem; color: var(--navy); margin-bottom: 16px; }
.checkout-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-block: 12px;
  border-bottom: 1px solid var(--gray-100);
}
.checkout-item:last-of-type { border-bottom: none; }
.checkout-item img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-xs); flex-shrink: 0; }
.checkout-item-info { flex: 1; min-width: 0; }
.checkout-item-name { font-size: .875rem; font-weight: 600; color: var(--gray-800); }
.checkout-item-qty  { font-size: .78rem; color: var(--gray-500); }
.checkout-item-price { font-weight: 700; color: var(--navy); font-size: .875rem; white-space: nowrap; }

.order-success {
  max-width: 560px;
  margin: 60px auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.order-success .success-icon {
  width: 80px;
  height: 80px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  margin-bottom: 8px;
}
.order-success h2 { color: var(--navy); }
.order-success p  { color: var(--gray-600); max-width: 380px; }
.order-ref {
  display: inline-block;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-800);
  direction: ltr;
}

/* ── Account Page ─────────────────────────────────────────────────────── */
.account-page { background: var(--gray-50); padding-block: 48px; min-height: 60vh; }
.account-page > .container { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.account-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.account-sidebar-user {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 28px 20px;
  text-align: center;
}
.account-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 3px solid rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}
.account-sidebar-user h3 { color: var(--white); font-size: .95rem; margin-bottom: 4px; }
.account-sidebar-user p  { color: rgba(255,255,255,.7); font-size: .8rem; }
.account-sidebar-nav { padding: 10px 8px; }
.account-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-size: .9rem;
  font-weight: 500;
  transition: background .18s, color .18s;
}
.account-sidebar-nav a:hover,
.account-sidebar-nav a.active { background: var(--gray-100); color: var(--navy); }
.account-main { display: flex; flex-direction: column; gap: 24px; }
.account-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.account-card-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
}
.account-card-body { padding: 22px; }
.profile-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--gray-100);
  font-size: .92rem;
}
.profile-row:last-child { border-bottom: none; }
.profile-row dt { width: 160px; flex-shrink: 0; font-weight: 600; color: var(--gray-600); }
.profile-row dd { color: var(--gray-900); }

/* ── Responsive additions ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .cart-page > .container { grid-template-columns: 1fr; }
  .checkout-page > .container { grid-template-columns: 1fr; }
  .account-page > .container { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .checkout-order-summary { position: static; }
  .cart-summary { position: static; }
}
@media (max-width: 480px) {
  .shop-grid { grid-template-columns: 1fr; }
  .product-actions { flex-direction: column; }
  .product-actions .btn { width: 100%; justify-content: center; }
}
