/* ── Vazirmatn self-hosted ───────────────────────────────────────────────── */
@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 {
  --navy:        #2B3A67;
  --navy-dark:   #1e2a4d;
  --navy-light:  #3d5089;
  --cream:       #F8F7F4;
  --cream-dark:  #f0ede5;
  --gold:        #D4A843;
  --gold-light:  #e8be5a;
  --gold-dark:   #b8902f;
  --teal:        #0d9488;
  --teal-hover:  #0f766e;
  --white:       #ffffff;
  --text:        #1a1f36;
  --text-muted:  #6b7280;
  --text-light:  #9ca3af;
  --border:      #e5e7eb;
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 16px rgba(43,58,103,.10), 0 1px 4px rgba(0,0,0,.06);
  --shadow-lg:   0 12px 40px rgba(43,58,103,.16), 0 4px 8px rgba(0,0,0,.08);
  --shadow-gold: 0 4px 20px rgba(212,168,67,.25);
  --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', Tahoma, Arial, sans-serif;
  font-weight: 400;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
}

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

/* ── Typography scale (capped) ───────────────────────────────────────────── */
.h1 { font-size: clamp(1.5rem, 3vw, 2rem);   font-weight: 700; line-height: 1.3; }
.h2 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 700; line-height: 1.35; }
.h3 { font-size: clamp(1rem, 2vw, 1.2rem);   font-weight: 700; line-height: 1.4; }
.h4 { font-size: 1rem;                         font-weight: 600; }

/* ── Layout container ────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Section spacing ─────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-title {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to left, var(--gold), transparent);
  margin-right: .5rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--transition);
  line-height: 1;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-gold:hover { background: var(--gold-light); box-shadow: var(--shadow-gold); transform: translateY(-1px); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: var(--teal-hover); transform: translateY(-1px); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-1px); }

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

.btn-sm { padding: .45rem 1rem; font-size: .8rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo (right in RTL) */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
  color: var(--white);
}
.navbar-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.navbar-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.navbar-logo-sub {
  font-size: .65rem;
  color: var(--gold);
  font-weight: 400;
  display: block;
  line-height: 1;
}

/* Nav links (center) */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 1;
  justify-content: center;
}
.navbar-nav a {
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
  padding: .45rem .75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}

/* Search + actions (left in RTL) */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.navbar-search {
  position: relative;
  display: flex;
  align-items: center;
}
.navbar-search input {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: .45rem 2.2rem .45rem .9rem;
  color: var(--white);
  font-size: .85rem;
  width: 180px;
  transition: all var(--transition);
  direction: rtl;
}
.navbar-search input::placeholder { color: rgba(255,255,255,.5); }
.navbar-search input:focus {
  outline: none;
  background: rgba(255,255,255,.18);
  border-color: var(--gold);
  width: 220px;
}
.navbar-search-icon {
  position: absolute;
  right: .6rem;
  color: rgba(255,255,255,.6);
  pointer-events: none;
}

.cart-btn {
  position: relative;
  color: var(--white);
  padding: .4rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: flex;
  align-items: center;
}
.cart-btn:hover { background: rgba(255,255,255,.12); }
.cart-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: .65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.login-btn {
  background: var(--gold);
  color: var(--navy-dark) !important;
  font-weight: 600;
  font-size: .82rem;
  padding: .45rem 1rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.login-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Mobile hamburger */
.navbar-toggle {
  display: none;
  color: var(--white);
  padding: .4rem;
  border-radius: var(--radius-sm);
}
.navbar-toggle:hover { background: rgba(255,255,255,.12); }

/* Mobile menu */
.navbar-mobile {
  display: none;
  background: var(--navy-dark);
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.navbar-mobile.open { display: block; }
.navbar-mobile a {
  display: block;
  color: rgba(255,255,255,.85);
  padding: .6rem 0;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color var(--transition);
}
.navbar-mobile a:last-child { border-bottom: none; }
.navbar-mobile a:hover { color: var(--gold); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .45;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(43,58,103,.9) 40%, rgba(43,58,103,.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 560px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.hero-sub {
  color: rgba(255,255,255,.8);
  font-size: clamp(.88rem, 1.5vw, 1rem);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
}

/* ── Category cards strip ────────────────────────────────────────────────── */
.categories-section {
  background: var(--white);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.cat-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.cat-scroll::-webkit-scrollbar { height: 4px; }
.cat-scroll::-webkit-scrollbar-track { background: transparent; }
.cat-scroll::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.cat-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--cream);
  cursor: pointer;
  transition: all var(--transition);
  min-width: 110px;
  text-align: center;
  text-decoration: none;
  color: var(--navy);
}
.cat-card:hover {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.cat-name {
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

/* ── Product cards grid ──────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.product-name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-cat {
  font-size: .75rem;
  color: var(--text-muted);
}
.stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: .8rem;
}
.product-price-row {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  margin-top: auto;
}
.price-old {
  font-size: .78rem;
  color: var(--text-light);
  text-decoration: line-through;
}
.price-new {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold-dark);
}
.product-footer {
  padding: .75rem 1rem 1rem;
  border-top: 1px solid var(--border);
}
.add-to-cart {
  width: 100%;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: .5rem;
  font-size: .82rem;
  font-weight: 600;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.add-to-cart:hover { background: var(--teal-hover); }

/* ── Sale banner ─────────────────────────────────────────────────────────── */
.sale-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1a2545 50%, var(--navy) 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.sale-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/img/specials.webp') center/cover no-repeat;
  opacity: .08;
}
.sale-banner-inner {
  position: relative;
  z-index: 1;
}
.sale-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.sale-title-block {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.sale-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #ef4444;
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
  width: fit-content;
}
.sale-heading {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--white);
}
.sale-sub {
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}
.countdown {
  display: flex;
  gap: .6rem;
  align-items: center;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: .5rem .8rem;
  min-width: 54px;
}
.countdown-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.countdown-label {
  font-size: .65rem;
  color: rgba(255,255,255,.6);
  margin-top: .1rem;
}
.countdown-sep {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: -4px;
}

.sale-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.sale-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.sale-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.sale-card-img {
  aspect-ratio: 1/1;
  overflow: hidden;
}
.sale-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.sale-card:hover .sale-card-img img { transform: scale(1.04); }
.sale-card-info {
  padding: .85rem;
}
.sale-card-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}
.sale-discount-badge {
  display: inline-block;
  background: #ef4444;
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: .1rem .5rem;
  border-radius: 50px;
  margin-bottom: .4rem;
}
.sale-price-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.sale-price-old { font-size: .75rem; color: rgba(255,255,255,.45); text-decoration: line-through; }
.sale-price-new { font-size: .95rem; font-weight: 700; color: var(--gold); }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonials-section {
  background: var(--cream-dark);
  padding: 5rem 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.testimonial-card::before {
  content: '❝';
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  font-size: 2.5rem;
  color: var(--gold);
  opacity: .3;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-stars { color: var(--gold); font-size: .85rem; margin-bottom: .75rem; }
.testimonial-text {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.testimonial-name { font-size: .88rem; font-weight: 600; }
.testimonial-role { font-size: .75rem; color: var(--text-muted); }

/* ── Features strip ──────────────────────────────────────────────────────── */
.features-strip {
  background: var(--navy);
  padding: 2.5rem 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(212,168,67,.15);
  border: 1.5px solid rgba(212,168,67,.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.feature-label { font-size: .8rem; font-weight: 600; color: var(--white); }
.feature-sub   { font-size: .72rem; color: rgba(255,255,255,.6); margin-top: .1rem; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-name { font-size: 1rem; font-weight: 700; }
.footer-tagline { font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 1.25rem; }
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  margin-bottom: .5rem;
}
.footer-contact-row a { transition: color var(--transition); }
.footer-contact-row a:hover { color: var(--gold); }
.footer-phone { direction: ltr; display: inline-block; }

.footer-col-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  background: rgba(0,0,0,.2);
  padding: 1.25rem;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 50px;
}
.badge-gold   { background: var(--gold);  color: var(--navy-dark); }
.badge-teal   { background: var(--teal);  color: var(--white); }
.badge-red    { background: #ef4444;      color: var(--white); }
.badge-navy   { background: var(--navy);  color: var(--white); }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}
.form-control {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  direction: rtl;
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(43,58,103,.12);
}

/* ── Alert boxes ─────────────────────────────────────────────────────────── */
.alert {
  padding: .85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  margin-bottom: 1rem;
}
.alert-success { background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; }
.alert-error   { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-info    { background: #dbeafe; border: 1px solid #93c5fd; color: #1e40af; }

/* ── Page hero (inner pages) ─────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 2.5rem 0;
  color: var(--white);
}
.page-hero-title {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  margin-bottom: .3rem;
}
.page-hero-breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  display: flex;
  gap: .4rem;
  align-items: center;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,.75); transition: color var(--transition); }
.page-hero-breadcrumb a:hover { color: var(--gold); }

/* ── Stub pages ──────────────────────────────────────────────────────────── */
.stub-page {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  gap: 1rem;
}
.stub-page h1 { font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.stub-page p  { color: var(--text-muted); font-size: .9rem; }

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

@media (max-width: 768px) {
  .navbar-nav    { display: none; }
  .navbar-search { display: none; }
  .navbar-toggle { display: flex; }

  .products-grid     { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .sale-grid         { grid-template-columns: repeat(2, 1fr); }
  .features-grid     { grid-template-columns: 1fr 1fr; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .section           { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .products-grid  { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .sale-grid      { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .features-grid  { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  .hero-stats     { gap: 1rem; }
  .hero-actions   { flex-direction: column; }

  .countdown      { gap: .35rem; }
  .countdown-unit { padding: .4rem .5rem; min-width: 44px; }
  .countdown-num  { font-size: 1.1rem; }
}

@media (max-width: 390px) {
  .container { padding: 0 .9rem; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .product-info  { padding: .7rem; }
  .product-name  { font-size: .8rem; }
  .price-new     { font-size: .85rem; }
  .add-to-cart   { font-size: .75rem; padding: .4rem; }
}

/* ── Shop category filter bar ────────────────────────────────────────────── */
.shop-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
  position: sticky;
  top: 56px;
  z-index: 99;
}
.shop-filter-tabs {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.shop-filter-tabs::-webkit-scrollbar { display: none; }
.shop-filter-tab {
  flex-shrink: 0;
  padding: .38rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  background: transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.shop-filter-tab:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.shop-filter-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ── Quantity control (product page) ─────────────────────────────────────── */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  width: 140px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 38px;
  height: 38px;
  background: var(--cream);
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}
.qty-btn:hover { background: var(--cream-dark); }
.qty-input {
  flex: 1;
  text-align: center;
  border: none;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  background: var(--white);
  padding: 0 .25rem;
  height: 38px;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-input:focus { outline: none; }

/* ── Utility ─────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--text-muted); }
.fw-700      { font-weight: 700; }
.mt-1        { margin-top: .5rem; }
.mt-2        { margin-top: 1rem; }
.mt-3        { margin-top: 1.5rem; }
.mb-1        { margin-bottom: .5rem; }
.mb-2        { margin-bottom: 1rem; }
.mb-3        { margin-bottom: 1.5rem; }
.d-flex      { display: flex; }
.align-center{ align-items: center; }
.gap-1       { gap: .5rem; }
.gap-2       { gap: 1rem; }
.w-100       { width: 100%; }
