/* ═══════════════════════════════════════════════════════════════
   ImplantStore — Premium Design System
   RTL · Vazirmatn · Medical Green Palette
   ═══════════════════════════════════════════════════════════════ */

/* ── Vazirmatn @font-face ───────────────────────────────────── */
@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;
}

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Palette */
  --clr-primary:       #1B5E20;
  --clr-primary-mid:   #2E7D32;
  --clr-primary-light: #388E3C;
  --clr-accent:        #4CAF50;
  --clr-accent-soft:   #E8F5E9;
  --clr-cta:           #FF6F00;
  --clr-cta-hover:     #E65100;
  --clr-bg:            #FFFFFF;
  --clr-bg-soft:       #F5F5F5;
  --clr-bg-tinted:     #F1F8F1;
  --clr-footer:        #1A3A1F;
  --clr-body:          #212121;
  --clr-body-muted:    #5C5C5C;
  --clr-border:        rgba(27,94,32,0.12);
  --clr-white:         #FFFFFF;

  /* Radius system (ONE set) */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-pill: 100px;

  /* Shadows — multi-stop, brand-tinted */
  --shadow-card:
    0 1px 2px rgba(27,94,32,0.08),
    0 6px 20px rgba(27,94,32,0.10),
    0 20px 48px rgba(27,94,32,0.08);
  --shadow-card-hover:
    0 2px 4px rgba(27,94,32,0.10),
    0 12px 32px rgba(27,94,32,0.16),
    0 32px 72px rgba(27,94,32,0.12);
  --shadow-header:
    0 1px 3px rgba(0,0,0,0.10),
    0 4px 16px rgba(0,0,0,0.08);
  --shadow-btn:
    0 2px 8px rgba(255,111,0,0.30),
    0 8px 24px rgba(255,111,0,0.20);

  /* Typography */
  --font: 'Vazirmatn', system-ui, sans-serif;
  --fs-hero:   clamp(1.875rem, 5vw, 3.25rem);
  --fs-h2:     clamp(1.5rem, 3.5vw, 2.125rem);
  --fs-h3:     clamp(1.125rem, 2vw, 1.375rem);
  --fs-body:   1rem;
  --fs-sm:     0.8125rem;
  --lh-heading: 1.45;
  --lh-body:    1.9;

  /* Spacing */
  --section-py: clamp(64px, 10vw, 120px);
  --gap-card:   1.5rem;
  --container:  1200px;
}

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

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

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--clr-body);
  background: var(--clr-bg);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

::selection { background: rgba(76,175,80,0.25); color: var(--clr-primary); }

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

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: none;
  text-align: center;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--clr-accent);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--clr-cta);
  color: var(--clr-white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--clr-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,111,0,0.40), 0 12px 32px rgba(255,111,0,0.24);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--clr-primary-mid);
  color: var(--clr-primary-mid);
}
.btn-outline:hover {
  background: var(--clr-primary-mid);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--clr-white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-sm);
}

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--clr-primary);
  box-shadow: var(--shadow-header);
}

.header-top {
  border-bottom: 3px solid var(--clr-cta);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.875rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--clr-white);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  flex-shrink: 0;
}
.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--clr-cta);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.site-logo:hover { opacity: 0.92; }

/* Search */
.header-search {
  position: relative;
  max-width: 480px;
  margin-inline: auto;
  width: 100%;
}
.header-search input {
  width: 100%;
  height: 42px;
  padding: 0 1rem 0 3rem;
  border-radius: var(--r-pill);
  border: none;
  background: rgba(255,255,255,0.15);
  color: var(--clr-white);
  font-size: var(--fs-sm);
  font-family: var(--font);
  transition: background 0.2s;
}
.header-search input::placeholder { color: rgba(255,255,255,0.65); }
.header-search input:focus {
  outline: none;
  background: rgba(255,255,255,0.25);
}
.header-search .search-btn {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  padding: 0;
  background: none;
  border: none;
}
.header-search .search-btn:hover { color: var(--clr-white); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.header-phone span[dir="ltr"] { letter-spacing: 0.03em; }
.header-phone:hover { color: var(--clr-white); }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--clr-white);
  transition: background 0.2s;
}
.cart-btn:hover { background: rgba(255,255,255,0.22); }
.cart-badge {
  position: absolute;
  top: -2px;
  left: -2px;
  min-width: 18px;
  height: 18px;
  background: var(--clr-cta);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* Nav bar */
.header-nav {
  background: rgba(0,0,0,0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.nav-inner a {
  display: block;
  padding: 0.625rem 1.125rem;
  color: rgba(255,255,255,0.82);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: color 0.18s, background 0.18s;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.nav-inner a:hover,
.nav-inner a.active {
  color: var(--clr-white);
  background: rgba(255,255,255,0.10);
}

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  color: var(--clr-white);
  padding: 0.25rem;
}

/* ── Mobile nav drawer ──────────────────────────────────────── */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
}
.mobile-nav-drawer.is-open { display: block; }
.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(80vw, 320px);
  height: 100%;
  background: var(--clr-primary);
  padding: 1.5rem 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.drawer-close {
  align-self: flex-start;
  color: var(--clr-white);
  margin-bottom: 1rem;
}
.drawer-panel a {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  border-radius: var(--r-sm);
  transition: background 0.18s;
}
.drawer-panel a:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ── Hero Section ────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--clr-primary) 0%, #1B4C1C 40%, #0D2E0E 100%);
  min-height: clamp(420px, 60vh, 620px);
  display: flex;
  align-items: center;
}

.hero-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,175,80,0.18) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(48px, 8vw, 96px);
  position: relative;
  z-index: 1;
}

.hero-content { color: var(--clr-white); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--r-pill);
  padding: 0.375rem 1rem;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.90);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--clr-white);
  margin-bottom: 1rem;
}

.hero-title .highlight {
  color: var(--clr-cta);
}

.hero-subtitle {
  font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { text-align: right; }
.hero-stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-accent);
  display: block;
  line-height: 1.2;
}
.hero-stat-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.30),
    0 32px 80px rgba(0,0,0,0.25);
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 16s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.hero-img-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.95);
  border-radius: var(--r-md);
  padding: 0.625rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-img-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-accent);
  flex-shrink: 0;
}

/* ── Section Header ──────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-primary-mid);
  background: var(--clr-accent-soft);
  padding: 0.3rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--clr-body);
}
.section-title span { color: var(--clr-primary-mid); }
.section-subtitle {
  margin-top: 0.75rem;
  color: var(--clr-body-muted);
  font-size: 0.9375rem;
  max-width: 56ch;
  margin-inline: auto;
  line-height: 1.75;
}

/* ── Categories Section ──────────────────────────────────────── */
.categories-section {
  padding-block: var(--section-py);
  background: var(--clr-bg-soft);
  position: relative;
}
.categories-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent), var(--clr-cta));
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-card);
}

.cat-card {
  background: var(--clr-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.cat-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--clr-bg-soft);
}
.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat-card:hover .cat-card-img img { transform: scale(1.06); }
.cat-card-body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex: 1;
}
.cat-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-body);
  line-height: 1.4;
}
.cat-card-arrow {
  color: var(--clr-primary-mid);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.cat-card:hover .cat-card-arrow { transform: translateX(-4px); }

/* ── Products Section ────────────────────────────────────────── */
.products-section {
  padding-block: var(--section-py);
  background: var(--clr-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-card);
}

.product-card {
  background: var(--clr-white);
  border-radius: var(--r-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}
.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--clr-bg-soft);
  position: relative;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card-img img.product-img-contain {
  object-fit: contain;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--clr-cta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-pill);
}
.product-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}
.product-card-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--clr-body);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--clr-primary-mid);
  margin-top: auto;
}
.product-card-price .unit {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--clr-body-muted);
}
.product-card-footer {
  padding: 0 1rem 1rem;
}
.product-card-footer .btn {
  width: 100%;
  justify-content: center;
  font-size: var(--fs-sm);
  padding: 0.625rem 1rem;
}

/* ── Trust Strip ─────────────────────────────────────────────── */
.trust-section {
  padding-block: clamp(48px, 8vw, 80px);
  background: var(--clr-bg-tinted);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}
.trust-section::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,175,80,0.10) 0%, transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.trust-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--clr-white);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary-mid);
  flex-shrink: 0;
}
.trust-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--clr-body);
  margin-bottom: 0.25rem;
}
.trust-desc {
  font-size: var(--fs-sm);
  color: var(--clr-body-muted);
  line-height: 1.7;
  max-width: 22ch;
  margin-inline: auto;
}

/* ── About Teaser ────────────────────────────────────────────── */
.about-section {
  padding-block: var(--section-py);
  background: var(--clr-bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.about-img-wrap {
  position: relative;
}
.about-img-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card-hover);
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-accent {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 120px;
  height: 120px;
  background: var(--clr-accent-soft);
  border-radius: var(--r-lg);
  border: 4px solid var(--clr-white);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  gap: 0.25rem;
}
.about-accent-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1;
}
.about-accent-label {
  font-size: 11px;
  color: var(--clr-body-muted);
  line-height: 1.3;
}
.about-content { }
.about-content .section-eyebrow { margin-bottom: 1rem; }
.about-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--clr-body);
  margin-bottom: 1.125rem;
}
.about-title span { color: var(--clr-primary-mid); }
.about-desc {
  color: var(--clr-body-muted);
  line-height: var(--lh-body);
  margin-bottom: 1.75rem;
}
.about-checks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.about-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--clr-body);
}
.about-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--clr-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary-mid);
  flex-shrink: 0;
}

/* ── CTA Band ─────────────────────────────────────────────────── */
.cta-band {
  padding-block: clamp(48px, 8vw, 80px);
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-mid) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--clr-white);
  line-height: var(--lh-heading);
  margin-bottom: 0.75rem;
}
.cta-band-sub {
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}
.cta-band-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-footer);
  color: rgba(255,255,255,0.75);
  padding-top: clamp(48px, 8vw, 80px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 2.5rem;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid rgba(255,255,255,0.10);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--clr-white);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.875rem;
}
.footer-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--clr-cta);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.footer-enamad {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.45);
  text-align: center;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
  transition: color 0.18s, padding-right 0.18s;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.footer-links a::before {
  content: '›';
  color: var(--clr-accent);
  font-size: 1rem;
  line-height: 1;
}
.footer-links a:hover { color: var(--clr-white); padding-right: 4px; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
}
.footer-contact-item svg { margin-top: 2px; flex-shrink: 0; color: var(--clr-accent); }
.footer-contact-item a { color: inherit; }
.footer-contact-item a:hover { color: var(--clr-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
}
.footer-copy a { color: rgba(255,255,255,0.55); }
.footer-copy a:hover { color: var(--clr-white); }
.footer-credits {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--fs-sm);
  color: var(--clr-body-muted);
  padding-block: 1rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--clr-primary-mid); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: rgba(0,0,0,0.25); }

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-mid) 100%);
  padding-block: clamp(32px, 6vw, 64px);
  color: var(--clr-white);
  text-align: center;
}
.page-hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  font-weight: 700;
  margin-bottom: 0.375rem;
}
.page-hero-sub {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.70);
}

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-body);
  margin-bottom: 0.375rem;
}
.form-control {
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: var(--r-sm);
  font-size: var(--fs-body);
  font-family: var(--font);
  color: var(--clr-body);
  background: var(--clr-white);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-control:focus {
  outline: none;
  border-color: var(--clr-primary-mid);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.12);
}
.form-control::placeholder { color: #aaa; }
textarea.form-control {
  height: auto;
  padding-block: 0.75rem;
  resize: vertical;
  min-height: 120px;
}

/* ── Alert ───────────────────────────────────────────────────── */
.alert {
  padding: 0.875rem 1.25rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: 1rem;
}
.alert-success {
  background: var(--clr-accent-soft);
  color: var(--clr-primary);
  border: 1px solid rgba(46,125,50,0.25);
}
.alert-error {
  background: #FFEBEE;
  color: #B71C1C;
  border: 1px solid rgba(183,28,28,0.20);
}

/* ── Pagination ──────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-body);
  background: var(--clr-bg-soft);
  border: 1px solid var(--clr-border);
  transition: all 0.18s;
}
.page-link:hover, .page-link.active {
  background: var(--clr-primary-mid);
  color: var(--clr-white);
  border-color: var(--clr-primary-mid);
}

/* ── Cart / Checkout ─────────────────────────────────────────── */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th, .cart-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--clr-border);
  text-align: right;
  font-size: var(--fs-sm);
}
.cart-table th {
  background: var(--clr-bg-soft);
  font-weight: 700;
  color: var(--clr-body-muted);
}
.cart-table td { color: var(--clr-body); }
.cart-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--r-sm);
  object-fit: cover;
}
.cart-summary-actions,
.checkout-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.checkout-actions {
  grid-template-columns: 1.4fr 1fr;
}
.cart-summary-actions .btn,
.checkout-actions .btn {
  width: 100%;
  justify-content: center;
}
.checkout-actions .btn {
  font-size: 1rem;
  padding: 0.875rem 1.5rem;
}

/* ── Scroll reveal ───────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto auto;
  }
  .header-search { display: none; }
  .header-phone  { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header-nav { display: none; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { order: -1; }
  .about-img-accent { bottom: -1rem; left: auto; right: 1rem; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .products-grid   { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid      { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; }
  .hero-grid       { grid-template-columns: 1fr; }
  .hero-visual     { display: none; }
  .footer-bottom   { flex-direction: column; text-align: center; }
  .hero-stats      { gap: 1rem; }
  .hero-actions    { flex-direction: column; align-items: flex-start; }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .cart-summary-actions,
  .checkout-actions { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .products-grid   { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  body { font-size: 0.9375rem; }
}

/* ── Stub page styles ────────────────────────────────────────── */
.page-content {
  padding-block: var(--section-py);
}
.empty-state {
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 1rem;
  color: var(--clr-body-muted);
}
.empty-state h2 {
  font-size: var(--fs-h3);
  color: var(--clr-body);
  margin-bottom: 0.5rem;
}
/* #B64 mobile-reachability fix 2026-09-03 */
@media (max-width:860px){
  main.adm-main{min-width:0}
  div.adm-topbar{flex-wrap:wrap;row-gap:8px}
}
/* #B64 round2 2026-09-03 */
@media (max-width:860px){
  body .adm-card{overflow-x:auto;overflow-y:visible;max-width:100%}
  body .adm-main{max-width:100vw}
}
