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

/* ── Design Tokens ───────────────────────────────────────────── */
:root {
  --green:        #1A5C2A;
  --green-dark:   #124020;
  --green-mid:    #236b36;
  --green-light:  #e8f3eb;
  --amber:        #F5A623;
  --amber-dark:   #d48d0f;
  --amber-light:  #fff8ec;
  --charcoal:     #1C1C1C;
  --text-mid:     #4a4a4a;
  --text-soft:    #767676;
  --sage:         #F4F8F5;
  --white:        #ffffff;
  --border:       #e2ece5;
  --shadow-sm:    0 2px 8px rgba(26,92,42,.08);
  --shadow-md:    0 4px 20px rgba(26,92,42,.14);
  --shadow-lg:    0 8px 40px rgba(26,92,42,.18);
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-pill:  100px;
  --header-h:     72px;
  --transition:   .2s ease;
}

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  direction: rtl;
}

/* ── Typography ──────────────────────────────────────────────── */
h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.3; }
h2 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; line-height: 1.4; }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; line-height: 1.4; }
h4 { font-size: 1rem; font-weight: 600; }
p  { font-size: .95rem; color: var(--text-mid); line-height: 1.8; }

/* ── Layout ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-gap { padding: 72px 0; }
.section-gap-sm { padding: 48px 0; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  box-shadow: 0 4px 16px rgba(245,166,35,.35);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--green);
}
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,92,42,.3);
}
.btn-sm { padding: 7px 16px; font-size: .8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-logo img {
  width: 40px;
  height: 40px;
}
.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
}
.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.header-search form {
  display: flex;
  align-items: center;
  background: var(--sage);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search form:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,92,42,.1);
}
.header-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: .9rem;
  outline: none;
  color: var(--charcoal);
}
.header-search button {
  padding: 10px 16px;
  color: var(--green);
  display: flex;
  align-items: center;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: auto;
}
.header-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  color: var(--text-mid);
  transition: all var(--transition);
}
.header-icon-btn:hover {
  background: var(--sage);
  color: var(--green);
}
.header-icon-btn .badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--amber);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.header-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--charcoal);
}

/* ── Category Nav ────────────────────────────────────────────── */
.cat-nav {
  background: var(--green);
}
.cat-nav-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 18px;
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
  border-bottom: 2px solid transparent;
  flex-shrink: 0;
}
.cat-nav-item:hover, .cat-nav-item.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
  border-bottom-color: var(--amber);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  background: var(--sage);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 72px 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-content { max-width: 520px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green);
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.hero-eyebrow span { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 16px;
}
.hero-title em {
  font-style: normal;
  color: var(--green);
}
.hero-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Stats Strip ─────────────────────────────────────────────── */
.stats-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 8px;
}
.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
}
.stat-label { font-size: .8rem; color: var(--text-soft); }

/* ── Section Header ──────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.section-title {
  position: relative;
  padding-right: 16px;
}
.section-title::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--amber);
  border-radius: 2px;
}
.section-title h2 { font-size: 1.3rem; font-weight: 700; }
.section-title p  { font-size: .85rem; color: var(--text-soft); margin-top: 2px; }
.section-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.section-link:hover { gap: 8px; }

/* ── Product Card ────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sage);
  position: relative;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}
.product-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--amber);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}
.product-card-badge.new {
  background: var(--green);
}
.product-card-actions {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition);
}
.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateX(0);
}
.product-card-action-btn {
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.product-card-action-btn:hover { color: var(--green); background: var(--sage); }
.product-card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.product-card-cat {
  font-size: .73rem;
  font-weight: 500;
  color: var(--green);
  background: var(--green-light);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  display: inline-block;
  width: fit-content;
}
.product-card-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  margin-top: auto;
}
.product-card-add {
  width: 100%;
  padding: 9px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: var(--white);
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.product-card-add:hover {
  background: var(--green-dark);
  box-shadow: 0 4px 12px rgba(26,92,42,.25);
}

/* ── Promo Banners ───────────────────────────────────────────── */
.promo-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.promo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 2.2/1;
}
.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.promo-card:hover img { transform: scale(1.04); }
.promo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,92,42,.75) 0%, rgba(26,92,42,.2) 100%);
  display: flex;
  align-items: center;
  padding: 28px 32px;
}
.promo-card-content { color: var(--white); }
.promo-tag {
  font-size: .75rem;
  font-weight: 700;
  background: var(--amber);
  color: var(--white);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 10px;
}
.promo-card-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.promo-card-content p {
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 14px;
}

/* ── Category Cards ──────────────────────────────────────────── */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/2;
  background: var(--sage);
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26,92,42,.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.cat-card-overlay h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}
.cat-card-overlay span {
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  display: block;
  margin-top: 2px;
}

/* ── Offer Section ───────────────────────────────────────────── */
.offer-section {
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.offer-content h2 { color: var(--white); font-size: 1.5rem; }
.offer-content p { color: rgba(255,255,255,.8); margin-top: 8px; }
.offer-cta { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }

/* ── Trust Bar ───────────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.trust-title { font-size: .9rem; font-weight: 600; color: var(--charcoal); }
.trust-desc { font-size: .78rem; color: var(--text-soft); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.8);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo .logo-text { color: var(--white); font-size: 1.3rem; }
.footer-desc {
  font-size: .85rem;
  line-height: 1.9;
  color: rgba(255,255,255,.65);
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--amber);
  color: var(--white);
}
.footer-col-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}
.footer-links a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 1px; color: var(--amber); }
.footer-contact-item .ltr { direction: ltr; unicode-bidi: embed; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--text-soft);
  padding: 14px 0;
}
.breadcrumb a { color: var(--text-soft); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb-sep { color: var(--border); }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-label { font-size: .875rem; font-weight: 600; color: var(--charcoal); }
.form-control {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .9rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  direction: rtl;
}
.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,92,42,.1);
}
textarea.form-control { min-height: 120px; resize: vertical; }

/* ── Card / Box ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  margin-bottom: 20px;
  border-right: 4px solid;
}
.alert-success { background: #edf7ed; color: #1e5f20; border-color: var(--green); }
.alert-error   { background: #fdeaea; color: #9b1c1c; border-color: #e53e3e; }
.alert-info    { background: var(--amber-light); color: #7c5a0a; border-color: var(--amber); }

/* ── Page banner ─────────────────────────────────────────────── */
.page-banner {
  background: var(--green);
  color: var(--white);
  padding: 36px 0;
  margin-bottom: 48px;
}
.page-banner h1 { color: var(--white); font-size: 1.5rem; }
.page-banner .breadcrumb { color: rgba(255,255,255,.65); margin-top: 8px; }
.page-banner .breadcrumb a { color: rgba(255,255,255,.65); }
.page-banner .breadcrumb a:hover { color: var(--white); }

/* ── Stub pages ──────────────────────────────────────────────── */
.page-stub {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-stub-inner { max-width: 460px; }
.page-stub-icon {
  width: 80px;
  height: 80px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--green);
}
.page-stub-inner h2 { margin-bottom: 12px; }
.page-stub-inner p { margin-bottom: 24px; }

/* ── Mobile menu overlay ─────────────────────────────────────── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 300px;
  background: var(--white);
  z-index: 1101;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-links { padding: 16px 0; flex: 1; }
.mobile-nav-link {
  display: block;
  padding: 12px 20px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.mobile-nav-link:hover { background: var(--sage); color: var(--green); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .header-search { display: none; }
  .header-menu-btn { display: flex; }
  .cat-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px; }
  .hero-image { order: -1; max-height: 280px; }
  .hero-title { font-size: 1.5rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .promo-banners { grid-template-columns: 1fr; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .offer-section { grid-template-columns: 1fr; padding: 32px 24px; }
  .offer-cta { justify-content: flex-start; }
  .section-gap { padding: 48px 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .product-card-body { padding: 10px; }
}

@media (max-width: 390px) {
  .container { padding: 0 14px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ── Utilities ───────────────────────────────────────────────── */
.text-green   { color: var(--green); }
.text-amber   { color: var(--amber); }
.text-muted   { color: var(--text-soft); }
.text-center  { text-align: center; }
.fw-700       { font-weight: 700; }
.fw-600       { font-weight: 600; }
.mb-0         { margin-bottom: 0; }
.mt-auto      { margin-top: auto; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-8        { gap: 8px; }
.gap-12       { gap: 12px; }
.hidden       { display: none !important; }
.ltr          { direction: ltr; unicode-bidi: embed; }

/* ── Product Gallery ─────────────────────────────────────────── */
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1;
  background: var(--sage);
  cursor: zoom-in;
}
.product-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-gallery-main:hover img { transform: scale(1.06); }
.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.product-gallery-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  background: var(--sage);
}
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumb.active { border-color: var(--green); }
.product-gallery-thumb:hover { border-color: var(--green-mid); }

/* ── Size Picker ─────────────────────────────────────────────── */
.size-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.size-option { position: relative; }
.size-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.size-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  transition: all var(--transition);
  min-width: 76px;
  text-align: center;
  line-height: 1.4;
}
.size-option label .size-price { font-size: .68rem; font-weight: 400; color: var(--text-soft); }
.size-option input:checked + label {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green);
}
.size-option input:checked + label .size-price { color: var(--green-mid); }
.size-option label:hover { border-color: var(--green-mid); }

/* ── Qty Stepper (product page) ──────────────────────────────── */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  width: fit-content;
}
.qty-stepper-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-mid);
  background: transparent; border: none; cursor: pointer;
  transition: all var(--transition); font-family: inherit;
}
.qty-stepper-btn:hover:not(:disabled) { background: var(--sage); color: var(--green); }
.qty-stepper-btn:disabled { opacity: .35; cursor: not-allowed; }
.qty-stepper-val {
  padding: 0 16px; font-size: 1rem; font-weight: 700;
  min-width: 48px; text-align: center;
  border-right: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

/* ── Cart Qty Controls ───────────────────────────────────────── */
.cart-qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: var(--radius-pill); overflow: hidden;
}
.cart-qty-btn {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; font-weight: 700;
  background: transparent; border: none; cursor: pointer;
  color: var(--text-mid); transition: all var(--transition); font-family: inherit;
}
.cart-qty-btn:hover { background: var(--sage); color: var(--green); }
.cart-qty-val {
  padding: 0 8px; font-size: .85rem; font-weight: 700;
  min-width: 32px; text-align: center;
  border-right: 1px solid var(--border); border-left: 1px solid var(--border);
}

/* ── Auth pages ──────────────────────────────────────────────── */
.auth-wrap {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  padding: 48px 20px;
}
.auth-box { width: 100%; max-width: 460px; }
.auth-box .card { padding: 36px; }
.auth-toggle { text-align: center; margin-top: 20px; font-size: .875rem; color: var(--text-soft); }
.auth-toggle a { color: var(--green); font-weight: 600; }

/* ── Product page responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr !important; }
  .size-option label { min-width: 64px; padding: 8px 10px; font-size: .75rem; }
}

/* --- shop sidebar categories (CR #905) --- */
/* Deliberately NOT .footer-links: that rule paints links white for the dark footer. */
.shop-cats { display: flex; flex-direction: column; gap: 2px; }
.shop-cats a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: #000;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.shop-cats a::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background var(--transition);
}
.shop-cats a:hover { background: var(--sage); color: var(--green); }
.shop-cats a.is-active {
  background: #fbeaea;
  color: #c0392b;
  font-weight: 700;
}
.shop-cats a.is-active::before { background: #c0392b; width: 7px; height: 7px; }
