/* ═══════════════════════════════════════════════════════════════════════════
   نوید امداد — Premium Design System
   Palette: #D32F2F primary · #1565C0 secondary · #FAFAFA bg · #FFC107 accent
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 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-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --primary:       #D32F2F;
  --primary-dark:  #B71C1C;
  --primary-light: #FFEBEE;
  --secondary:     #1565C0;
  --secondary-dark:#0D47A1;
  --secondary-light:#E3F2FD;
  --accent:        #FFC107;
  --accent-dark:   #F57F17;
  --bg:            #FAFAFA;
  --bg-alt:        #F5F5F5;
  --navy:          #0D1B2A;
  --navy-mid:      #1A2E45;
  --text:          #1A1A2E;
  --text-muted:    #6B7280;
  --text-light:    #9CA3AF;
  --border:        rgba(0,0,0,.08);
  --white:         #FFFFFF;
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --shadow-sm:     0 1px 3px rgba(211,47,47,.06), 0 4px 12px rgba(211,47,47,.08);
  --shadow-md:     0 2px 6px rgba(211,47,47,.07), 0 12px 32px rgba(211,47,47,.10), 0 32px 72px rgba(211,47,47,.06);
  --shadow-lg:     0 4px 12px rgba(21,101,192,.08), 0 20px 56px rgba(21,101,192,.14), 0 48px 96px rgba(21,101,192,.08);
  --shadow-card:   0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.06), 0 20px 48px rgba(0,0,0,.04);
  --transition:    .22s cubic-bezier(.4,0,.2,1);
  --max-w:         1200px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 2;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: rgba(211,47,47,.18); color: var(--primary-dark); }

/* ── Scrollbar ─────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Typography Scale ──────────────────────────────────────────────────────── */
.display { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; line-height: 1.2; }
h1, .h1  { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 900; line-height: 1.25; }
h2, .h2  { font-size: clamp(1.5rem, 3vw, 2.25rem);  font-weight: 700; line-height: 1.3; }
h3, .h3  { font-size: clamp(1.15rem, 2vw, 1.5rem);  font-weight: 700; line-height: 1.4; }
h4, .h4  { font-size: 1.1rem; font-weight: 700; line-height: 1.5; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); }
.lead    { font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 2; color: var(--text-muted); }
.small   { font-size: .875rem; line-height: 1.8; }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.section-pad { padding: clamp(64px, 10vw, 120px) 0; }
.section-pad-sm { padding: clamp(40px, 6vw, 72px) 0; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(211,47,47,.35), 0 8px 24px rgba(211,47,47,.22);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(211,47,47,.45), 0 12px 36px rgba(211,47,47,.28);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(21,101,192,.3), 0 8px 24px rgba(21,101,192,.18);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  box-shadow: 0 4px 16px rgba(21,101,192,.4), 0 12px 36px rgba(21,101,192,.24);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-outline:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: var(--navy);
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(255,193,7,.4), 0 8px 24px rgba(255,193,7,.24);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 20px 60px rgba(0,0,0,.12);
}
.card-body { padding: 1.5rem; }
.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* ── Section Headings ──────────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header .eyebrow { margin-bottom: .75rem; display: block; }
.section-header h2 { margin-bottom: 1rem; }
.section-header .lead { max-width: 56ch; margin: 0 auto; }

/* ── Header / Nav ──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(211,47,47,.1);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 20px rgba(0,0,0,.05);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 2px 8px rgba(211,47,47,.35);
}
.logo-text { line-height: 1.2; }
.logo-text .brand { font-size: 1.15rem; font-weight: 900; color: var(--primary); display: block; }
.logo-text .tagline { font-size: .7rem; color: var(--text-muted); font-weight: 500; display: block; }

.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.header-actions { display: flex; align-items: center; gap: .75rem; }
.emergency-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 2px 8px rgba(211,47,47,.35);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  direction: ltr;
}
.emergency-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(211,47,47,.45);
}
.emergency-btn svg { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--primary-light); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13,27,42,.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 90vw);
  height: 100%;
  background: var(--white);
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-links { display: flex; flex-direction: column; gap: .5rem; }
.mobile-nav-links a {
  display: block;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-links a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-nav-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding-top: 72px;
  overflow: hidden;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: calc(100svh - 72px);
}

.hero-image-side {
  position: relative;
  overflow: hidden;
}
.hero-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 14s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(183,28,28,.82) 0%, rgba(211,47,47,.65) 50%, rgba(21,101,192,.4) 100%);
}
.hero-image-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: #fff;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.hero-image-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 1rem;
}
.hero-image-sub {
  font-size: .95rem;
  line-height: 1.9;
  color: rgba(255,255,255,.85);
}

.hero-content-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  background: var(--white);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.hero-title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}
.hero-title span { color: var(--primary); }
.hero-subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  line-height: 2;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: .95rem;
  line-height: 2;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 45ch;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stat .num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: .25rem;
}
.hero-stat .label { font-size: .8rem; color: var(--text-muted); font-weight: 500; }

/* ── Stats Band ────────────────────────────────────────────────────────────── */
.stats-band {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  padding: clamp(48px, 8vw, 80px) 0;
  position: relative;
  overflow: hidden;
}
.stats-band::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.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.stat-item { text-align: center; color: #fff; }
.stat-item .stat-num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  display: block;
  margin-bottom: .5rem;
}
.stat-item .stat-num span { color: var(--accent); }
.stat-item .stat-label {
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}
.stat-item .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--accent);
}

/* ── Service Cards ─────────────────────────────────────────────────────────── */
.services-section { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(211,47,47,.15);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition), color var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
}
.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.4; }
.service-card p { font-size: .875rem; color: var(--text-muted); line-height: 2; margin-bottom: 1.25rem; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--transition);
}
.service-link:hover { gap: .6rem; }

/* ── Featured Services ─────────────────────────────────────────────────────── */
.featured-section { background: var(--bg-alt); }
.featured-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}
.featured-row + .featured-row {
  border-top: 1px solid var(--border);
}
.featured-row.reverse { direction: ltr; }
.featured-row.reverse > * { direction: rtl; }
.featured-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.featured-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.featured-img-wrap:hover img { transform: scale(1.04); }
.featured-img-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: .6rem 1rem;
  box-shadow: var(--shadow-sm);
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.featured-content .eyebrow { margin-bottom: .75rem; display: block; }
.featured-content h2 { margin-bottom: 1rem; }
.featured-content p { color: var(--text-muted); line-height: 2; margin-bottom: 1.5rem; }
.feature-list { margin-bottom: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .925rem;
  line-height: 1.8;
}
.feature-list li .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .2rem;
}
.feature-list li .check-icon svg { width: 12px; height: 12px; }
.price-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ── Why Us ────────────────────────────────────────────────────────────────── */
.why-section { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.why-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21,101,192,.15);
}
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-light) 0%, rgba(21,101,192,.08) 100%);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: background var(--transition), color var(--transition);
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #fff;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.why-card p { font-size: .9rem; color: var(--text-muted); line-height: 2; }

/* ── Blog ──────────────────────────────────────────────────────────────────── */
.blog-section { background: var(--bg-alt); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  position: relative;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-cat {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: var(--primary);
  color: #fff;
  border-radius: 100px;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 700;
}
.blog-card-body { padding: 1.5rem; }
.blog-card-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.5; margin-bottom: .75rem; }
.blog-card-body p { font-size: .875rem; color: var(--text-muted); line-height: 2; margin-bottom: 1rem; }
.blog-meta { display: flex; align-items: center; gap: .75rem; font-size: .8rem; color: var(--text-light); }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 1rem;
}
.blog-read-more:hover { color: var(--primary); }

/* ── Contact Strip ─────────────────────────────────────────────────────────── */
.contact-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #7B1FA2 100%);
  padding: clamp(56px, 9vw, 96px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-strip::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,.06) 0%, transparent 70%);
}
.contact-strip-inner { position: relative; }
.contact-strip h2 { color: #fff; margin-bottom: 1rem; }
.contact-strip p { color: rgba(255,255,255,.82); margin-bottom: 2rem; }
.phone-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  direction: ltr;
}
.phone-display .phone-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: phonePulse 2s ease-in-out infinite;
}
@keyframes phonePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.4); }
  50%       { box-shadow: 0 0 0 16px rgba(255,255,255,0); }
}
.contact-strip-address {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.contact-strip-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: clamp(48px, 8vw, 80px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-text .brand { color: #fff; }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,.5); }
.footer-tagline {
  font-size: .875rem;
  line-height: 2;
  color: rgba(255,255,255,.6);
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}
.footer-trust-badges { display: flex; gap: .75rem; flex-wrap: wrap; }
.trust-badge {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: .5rem;
  line-height: 1.4;
}

.footer-col h4 {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition), padding-right var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer-links a:hover { color: var(--accent); padding-right: .35rem; }
.footer-links a::before { content: '›'; color: var(--primary); font-size: 1rem; }

.footer-contact-list { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}
.footer-contact-item .icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(211,47,47,.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.footer-contact-item .icon-wrap svg { width: 14px; height: 14px; }
.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: var(--accent); }
.phone-ltr { direction: ltr; unicode-bidi: embed; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ── Page Banner ───────────────────────────────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--secondary-dark) 100%);
  padding: clamp(80px, 12vw, 140px) 0 clamp(48px, 8vw, 72px);
  text-align: center;
  color: #fff;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(211,47,47,.2) 0%, transparent 60%);
}
.page-banner-inner { position: relative; }
.page-banner .eyebrow { color: var(--accent); margin-bottom: .75rem; display: block; }
.page-banner h1 { color: #fff; margin-bottom: 1rem; }
.page-banner p { color: rgba(255,255,255,.75); max-width: 52ch; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-top: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  direction: rtl;
}
.form-control::placeholder { color: var(--text-light); }
.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}
.form-control:invalid:not(:placeholder-shown) {
  border-color: var(--primary);
}
textarea.form-control { resize: vertical; min-height: 130px; }

/* ── Alerts / Flash ────────────────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.alert-success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.alert-error   { background: var(--primary-light); color: var(--primary-dark); border: 1px solid #EF9A9A; }

/* ── Decorative ────────────────────────────────────────────────────────────── */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-red  { background: radial-gradient(circle, rgba(211,47,47,.18) 0%, transparent 70%); }
.orb-blue { background: radial-gradient(circle, rgba(21,101,192,.14) 0%, transparent 70%); }

/* ── Utilities ─────────────────────────────────────────────────────────────── */
.text-primary  { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent   { color: var(--accent); }
.text-muted    { color: var(--text-muted); }
.text-white    { color: #fff; }
.text-center   { text-align: center; }
.font-bold     { font-weight: 700; }
.font-black    { font-weight: 900; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.d-none { display: none !important; }

/* ── Header Icon Buttons ───────────────────────────────────────────────────── */
.header-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.header-icon-btn:hover { background: var(--primary-light); color: var(--primary); }
.header-icon-btn svg { width: 20px; height: 20px; }

.cart-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ── Shop — Filter Bar ──────────────────────────────────────────────────────── */
.shop-filter-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.shop-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: .45rem 1.1rem;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.shop-filter-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.shop-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(211,47,47,.3);
}

/* ── Shop — Products Grid ───────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.product-card-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
}
.product-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: var(--primary);
  color: #fff;
  border-radius: 100px;
  padding: .25rem .75rem;
  font-size: .72rem;
  font-weight: 700;
}
.product-card-body { padding: 1.25rem; }
.product-card-title {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .75rem;
}
.product-card-title a { color: var(--text); }
.product-card-title a:hover { color: var(--primary); }
.product-card-price {
  font-size: 1rem;
  font-weight: 900;
  color: var(--primary);
}

/* ── Shop Product Detail ────────────────────────────────────────────────────── */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

/* Gallery */
.product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.product-gallery-main img:hover { transform: scale(1.03); }
.product-gallery-thumbs {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.product-gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-gallery-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(211,47,47,.2);
}
.product-gallery-thumb:hover { border-color: var(--primary); }

/* Product Info */
.product-info { display: flex; flex-direction: column; gap: 0; }
.product-cat-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  padding: .3rem .9rem;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 1rem;
  width: fit-content;
}
.product-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.product-desc {
  font-size: .95rem;
  line-height: 2;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.product-base-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1.75rem;
}
.product-price-label { font-size: .85rem; font-weight: 700; color: var(--primary-dark); }
.product-price-value { font-size: 1.35rem; font-weight: 900; color: var(--primary); }

/* Option selector */
.option-group {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.5rem;
}
.option-radio {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.option-radio:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
}
.option-radio input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; }
.option-label-inner { display: flex; justify-content: space-between; align-items: center; flex: 1; gap: .5rem; }
.option-name { font-size: .9rem; font-weight: 600; }
.option-price { font-size: .875rem; font-weight: 900; color: var(--primary); }

/* Qty selector */
.qty-group {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 1.5rem;
}
.qty-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  color: var(--text);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-btn svg { width: 16px; height: 16px; }
.qty-input {
  width: 64px;
  height: 44px;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  background: var(--white);
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Product features */
.product-features-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  list-style: none;
}
.product-features-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: var(--text-muted);
}
.product-features-list li svg { color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }

/* ── Cart ───────────────────────────────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}
.cart-items-col {}
.cart-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.cart-items-header h2 { font-size: 1.15rem; font-weight: 700; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-card);
}
.cart-item-img-wrap { flex-shrink: 0; }
.cart-item-img {
  width: 90px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; line-height: 1.4; }
.cart-item-name a { color: var(--text); }
.cart-item-name a:hover { color: var(--primary); }
.cart-item-meta { font-size: .85rem; color: var(--text-muted); margin-bottom: .35rem; }
.cart-item-subtotal { font-size: 1rem; font-weight: 900; color: var(--primary); }
.cart-item-remove-form { flex-shrink: 0; }
.cart-item-remove {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.cart-item-remove:hover { background: var(--primary-light); color: var(--primary); }
.cart-item-remove svg { width: 16px; height: 16px; }

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  position: sticky;
  top: 88px;
}
.cart-summary h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text);
  padding-top: 1rem;
  margin-top: .5rem;
  border-top: 2px solid var(--border);
}
.cart-summary-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: 1.25rem;
  padding: .85rem;
  background: var(--secondary-light);
  border-radius: var(--radius-sm);
  font-size: .8rem;
  color: var(--secondary-dark);
  line-height: 1.7;
}
.cart-summary-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .1rem; }

.cart-empty {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 1rem;
}
.cart-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.cart-empty-icon svg { width: 36px; height: 36px; }
.cart-empty h2 { margin-bottom: .75rem; }
.cart-empty p { color: var(--text-muted); margin-bottom: 2rem; }

/* ── Checkout ───────────────────────────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}
.checkout-form-col {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
}
.co-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .875rem;
  color: var(--text-muted);
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.co-item-name { flex: 1; line-height: 1.5; }
.co-item-price { font-weight: 700; color: var(--text); flex-shrink: 0; }

.checkout-success {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 1rem;
}
.checkout-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #E8F5E9;
  color: #2E7D32;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.checkout-success-icon svg { width: 40px; height: 40px; }
.checkout-success h2 { margin-bottom: .75rem; }
.checkout-success p { color: var(--text-muted); max-width: 48ch; margin: 0 auto 2rem; }
.checkout-success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Auth ───────────────────────────────────────────────────────────────────── */
.auth-section {}
.auth-card-wrap {
  max-width: 480px;
  margin: 0 auto;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: clamp(2rem, 5vw, 3rem);
}
.auth-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.auth-card-icon svg { width: 28px; height: 28px; }
.auth-card-title {
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: .5rem;
}
.auth-card-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 2rem;
}
.auth-alt-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.auth-alt-link a { color: var(--secondary); font-weight: 700; }
.auth-alt-link a:hover { color: var(--primary); }

/* ── Account Dashboard ──────────────────────────────────────────────────────── */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.account-sidebar {
  position: sticky;
  top: 88px;
}
.account-profile-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  margin-bottom: 1rem;
}
.account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.account-avatar svg { width: 24px; height: 24px; }
.account-name { font-weight: 700; font-size: 1rem; margin-bottom: .2rem; }
.account-phone { font-size: .85rem; color: var(--text-muted); }

.account-nav {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: .75rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.account-nav-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.account-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.account-nav-item:hover { background: var(--primary-light); color: var(--primary); }
.account-nav-item.active { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.account-logout { color: var(--primary); }
.account-logout:hover { background: var(--primary-light); }

.account-main {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 2rem;
}
.account-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.account-section-header h2 { font-size: 1.15rem; font-weight: 700; }

.account-empty {
  text-align: center;
  padding: 3rem 1rem;
}
.account-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.account-empty-icon svg { width: 28px; height: 28px; }
.account-empty h3 { margin-bottom: .5rem; }
.account-empty p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: .9rem; }

.orders-list { display: flex; flex-direction: column; gap: 1.25rem; }
.order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.order-id { font-size: .9rem; font-weight: 700; color: var(--text); }
.order-status {
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
}
.status-pending   { background: #FFF8E1; color: #F57F17; }
.status-confirmed { background: var(--secondary-light); color: var(--secondary-dark); }
.status-done      { background: #E8F5E9; color: #2E7D32; }
.status-cancelled { background: var(--primary-light); color: var(--primary-dark); }

.order-card-body { padding: 1rem 1.25rem; }
.order-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .875rem;
  color: var(--text-muted);
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
}
.order-item-row:last-child { border-bottom: none; }
.order-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.25rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.order-total { font-weight: 900; color: var(--primary); font-size: .95rem; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .option-label-inner { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .checkout-success-actions { flex-direction: column; align-items: center; }
  .cart-item { flex-wrap: wrap; }

  .hero-split { grid-template-columns: 1fr; }
  .hero-image-side { min-height: 45vw; max-height: 320px; }
  .hero-content-side { padding: 2rem 1.5rem 2.5rem; }
  .hero-stats { gap: 1.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .featured-row { grid-template-columns: 1fr; }
  .featured-row.reverse { direction: rtl; }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-strip-actions { flex-direction: column; align-items: center; }
  .contact-strip-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .shop-filter-bar { gap: .4rem; padding: .875rem 1rem; }
  .auth-card { padding: 1.5rem; }
}

@media (max-width: 390px) {
  .container { padding: 0 1rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .emergency-btn .btn-text { display: none; }
}
