/* ═══════════════════════════════════════════════════════════════════════════
   Chap Parvaz — Premium RTL Design System
   Palette: Royal Blue #003366 · Teal Accent #007a78 · Navy Footer #002244
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 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-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 {
  --blue:        #003366;
  --blue-dark:   #002244;
  --blue-mid:    #004080;
  --blue-light:  #e8f0fb;
  --orange:      #007a78;
  --orange-dark: #00615f;
  --orange-light:#e5f6f5;
  --white:       #ffffff;
  --off-white:   #f7f9fc;
  --gray-100:    #f2f4f8;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #64748b;
  --gray-800:    #1e293b;
  --text:        #1a2332;
  --text-muted:  #5a6a7a;

  /* Radius system */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-pill:999px;

  /* Shadows — brand-tinted multi-stop */
  --shadow-card:
    0 1px 3px rgba(0,51,102,.06),
    0 8px 24px rgba(0,51,102,.10),
    0 24px 56px rgba(0,51,102,.08);
  --shadow-card-hover:
    0 2px 6px rgba(0,51,102,.08),
    0 16px 40px rgba(0,51,102,.16),
    0 40px 80px rgba(0,51,102,.12);
  --shadow-btn:
    0 2px 8px rgba(0,122,120,.24),
    0 8px 24px rgba(0,122,120,.14);
  --shadow-header:
    0 1px 0 rgba(0,51,102,.06),
    0 4px 20px rgba(0,51,102,.10);

  /* Spacing scale (8px base) */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  40px;
  --sp-xl:  64px;
  --sp-2xl: 96px;
  --sp-3xl: 128px;

  /* Section padding */
  --section-py: clamp(64px, 10vw, 120px);

  /* Type scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  clamp(1.4rem, 3vw, 1.75rem);
  --fs-3xl:  clamp(1.8rem, 3.5vw, 2.5rem);
  --fs-hero: clamp(2rem, 5vw, 3.25rem);
}

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

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

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

::selection {
  background: rgba(0,51,102,.15);
  color: var(--blue-dark);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button { cursor: pointer; font-family: inherit; border: none; background: none; }

svg { display: inline-block; vertical-align: middle; }

/* ── Utilities ─────────────────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.section { padding-block: var(--section-py); }
.section--alt { background: var(--off-white); }
.section--blue { background: var(--blue); color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-light);
  padding: 4px 14px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-sm);
  letter-spacing: 0;
}

.section-heading {
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1.4;
  color: var(--blue-dark);
  margin-bottom: var(--sp-sm);
}

.section-sub {
  color: var(--text-muted);
  font-size: var(--fs-lg);
  line-height: 2;
  max-width: 52ch;
}

.section-header {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-header--center {
  text-align: center;
}
.section-header--center .section-sub {
  margin-inline: auto;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 11px 24px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
  transition: all .22s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,122,120,.32), 0 16px 40px rgba(0,122,120,.16);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
  transition: all .2s;
}
.btn-outline-sm:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-outline-sm svg { width: 16px; height: 16px; }

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,51,102,.25), 0 8px 24px rgba(0,51,102,.15);
}
.btn-blue:hover, .btn-blue:focus-visible {
  background: var(--blue-mid);
  transform: translateY(-2px);
}

.btn--added { background: #1a7a4a !important; }

.btn-sm {
  padding: 10px 22px;
  font-size: var(--fs-sm);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,51,102,.08);
  transition: box-shadow .3s;
}

.header--scrolled {
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 54px;
  height: 54px;
  background: var(--white);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.logo-icon svg { width: 22px; height: 22px; }
.logo-icon--image {
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.logo-icon--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-fa {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--blue);
}

.logo-en {
  max-width: 270px;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-muted);
  direction: rtl;
  line-height: 1.6;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  transition: all .2s;
  text-decoration: none;
}

.nav-link:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.nav-link.active {
  background: var(--blue);
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--blue-light);
  color: var(--blue);
  transition: all .2s;
  text-decoration: none;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn:hover { background: var(--blue); color: var(--white); }

.cart-badge {
  position: absolute;
  top: -6px;
  left: -6px;
  min-width: 20px;
  height: 20px;
  border-radius: var(--r-pill);
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--blue-light);
  color: var(--blue);
  transition: background .2s;
}
.mobile-menu-toggle:hover { background: var(--blue); color: var(--white); }
.mobile-menu-toggle svg { width: 22px; height: 22px; }
.mobile-menu-toggle .icon-close { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-menu  { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: var(--sp-sm);
}
.mobile-menu.is-open { display: block; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: block;
  padding: 12px var(--sp-sm);
  border-radius: var(--r-sm);
  font-weight: 600;
  color: var(--text);
  transition: background .2s;
}
.mobile-nav-link:hover { background: var(--blue-light); color: var(--blue); }

/* ── Trust Bar ─────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding-block: 8px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  overflow: hidden;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-label { font-weight: 700; color: var(--blue); }

.trust-partner {
  font-weight: 700;
  color: var(--text);
  font-size: 11px;
}

.trust-sep { color: var(--gray-400); }
.trust-sep--wide { margin-inline: 4px; }

.trust-info {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.trust-icon { width: 14px; height: 14px; }

.trust-info--phone {
  margin-inline-start: auto;
  font-weight: 700;
  color: var(--blue);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(480px, 60vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  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-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(0,20,51,.85) 0%,
    rgba(0,34,80,.75) 40%,
    rgba(0,51,102,.30) 70%,
    transparent 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 12vw, 120px);
}

.hero-content {
  max-width: 560px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--orange);
  background: rgba(0,122,120,.18);
  border: 1px solid rgba(0,122,120,.28);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-sm);
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: var(--sp-sm);
}

.hero-title span { color: var(--orange); }

.hero-sub {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.80);
  line-height: 2;
  margin-bottom: var(--sp-lg);
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero-stats-inner {
  display: flex;
  justify-content: space-around;
  padding-block: var(--sp-md);
}

.hero-stat {
  text-align: center;
  color: var(--white);
}

.hero-stat-num {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--orange);
  display: block;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  opacity: .8;
}

/* ── Category Scroller ─────────────────────────────────────────────────── */
.categories {
  padding-block: clamp(48px, 7vw, 80px);
  background: var(--white);
}

.categories-scroller {
  position: relative;
}

.cat-track {
  display: flex;
  gap: var(--sp-sm);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.cat-track::-webkit-scrollbar { display: none; }

.cat-tile {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 110px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: var(--white);
  border-radius: var(--r-md);
  padding: 22px 12px 18px;
  text-decoration: none;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(0,51,102,.16);
  border: 1px solid rgba(255,255,255,.08);
}

.cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,51,102,.28);
  background: linear-gradient(135deg, var(--orange) 0%, #0a9b98 100%);
}

.cat-tile svg {
  width: 28px;
  height: 28px;
  opacity: .95;
}

.cat-tile-label {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.cat-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  z-index: 2;
  transition: all .2s;
}
.cat-scroll-btn:hover { background: var(--blue); color: var(--white); }
.cat-scroll-btn svg { width: 16px; height: 16px; }
.cat-scroll-btn[data-dir="prev"] { right: -20px; }
.cat-scroll-btn[data-dir="next"] { left: -20px; transform: translateY(-50%) rotate(180deg); }

/* ── Shop Categories ───────────────────────────────────────────────────── */
.shop-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text);
  transition: all .2s;
  text-decoration: none;
}
.shop-cat-link svg {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}
.shop-cat-link:hover,
.shop-cat-link.is-active {
  color: var(--white);
  background: var(--blue);
}

.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: var(--sp-md);
}

.shop-category-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr 28px;
  align-items: center;
  gap: var(--sp-sm);
  min-height: 112px;
  padding: var(--sp-md);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid rgba(0,51,102,.08);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.shop-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,122,120,.28);
  box-shadow: var(--shadow-card-hover);
}
.shop-category-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--blue-light);
}
.shop-category-icon svg { width: 23px; height: 23px; }
.shop-category-title {
  display: block;
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--text);
  line-height: 1.5;
}
.shop-category-count {
  display: block;
  grid-column: 2;
  margin-top: -24px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.shop-category-arrow {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  background: var(--orange-light);
}
.shop-category-arrow svg {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}

/* ── Products Grid ─────────────────────────────────────────────────────── */
.products {
  background: var(--off-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-md);
}

.product-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,51,102,.06);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.product-card-body {
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  flex: 1;
}

.product-card-cat {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
}

.product-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--gray-200);
  gap: var(--sp-xs);
  flex-wrap: wrap;
}

.price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
}

.product-card form { display: inline; }

.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.add-to-cart-btn:hover { background: var(--orange); transform: translateY(-1px); }
.add-to-cart-btn svg { width: 15px; height: 15px; }

/* ── Workshop Strip ─────────────────────────────────────────────────────── */
.workshop-strip {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.workshop-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0,20,51,.92) 0%, rgba(0,34,80,.80) 50%, rgba(0,51,102,.50) 100%);
}

.workshop-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.workshop-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: var(--sp-sm);
}

.workshop-sub {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.80);
  line-height: 2;
  margin-bottom: var(--sp-lg);
}

/* ── Why Us ────────────────────────────────────────────────────────────── */
.whyus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-md);
}

.whyus-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--sp-lg) var(--sp-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,51,102,.06);
  transition: transform .25s, box-shadow .25s;
  text-align: center;
}

.whyus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.whyus-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
}
.whyus-icon svg { width: 28px; height: 28px; }

.whyus-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-xs);
}

.whyus-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 2;
}

/* ── Gallery Strip ─────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  box-shadow: var(--shadow-card);
  display: block;
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,34,80,.75) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: var(--sp-md);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-label {
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-sm);
}

/* ── Blog Cards ─────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-md);
}

.blog-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,51,102,.06);
  transition: all .3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-100);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-body {
  padding: var(--sp-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.blog-card-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.blog-card-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
}

.blog-card-excerpt {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 2;
  flex: 1;
}

.blog-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--blue);
  margin-top: var(--sp-xs);
}
.blog-card-more svg { width: 14px; height: 14px; transform: rotate(180deg); }

/* ── CTA Band ───────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding-block: clamp(56px, 9vw, 100px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  transform: translateX(-50%);
}

.cta-band-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--sp-sm);
  position: relative;
}

.cta-band-sub {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.80);
  margin-bottom: var(--sp-lg);
  position: relative;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.80);
  padding-top: clamp(56px, 8vw, 96px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: var(--sp-md);
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.footer-logo-icon svg { width: 24px; height: 24px; }

.footer-logo-text { display: flex; flex-direction: column; }

.footer-logo-fa {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-logo-en {
  font-size: 0.68rem;
  color: rgba(255,255,255,.50);
  direction: ltr;
}

.footer-desc {
  font-size: var(--fs-sm);
  line-height: 2;
  color: rgba(255,255,255,.65);
  margin-bottom: var(--sp-md);
}

.footer-socials {
  display: flex;
  gap: var(--sp-xs);
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  text-decoration: none;
}
.social-link svg { width: 18px; height: 18px; }

.social-link--instagram { background: rgba(228,64,95,.15); color: #e44060; }
.social-link--instagram:hover { background: #e44060; color: var(--white); }
.social-link--telegram  { background: rgba(0,136,204,.15); color: #0088cc; }
.social-link--telegram:hover  { background: #0088cc; color: var(--white); }
.social-link--whatsapp  { background: rgba(37,211,102,.15); color: #25d366; }
.social-link--whatsapp:hover  { background: #25d366; color: var(--white); }

.footer-heading {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.65);
  transition: color .2s;
  text-decoration: none;
}
.footer-links a:hover { color: var(--orange); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: var(--sp-md);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.65);
}

.footer-contact-list a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
}

.footer-contact-list a:hover {
  color: var(--orange);
}

.fc-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--orange);
}

.footer-badges {
  display: flex;
  gap: var(--sp-sm);
}

.trust-badge {
  width: 72px;
  height: 72px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.05);
}

.trust-badge--enamad {
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.55);
}

.badge-placeholder {
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--blue-dark);
  text-align: center;
}

.footer-bottom {
  padding-block: var(--sp-md);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.footer-copy { font-size: var(--fs-xs); color: rgba(255,255,255,.50); }

.footer-phone {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.50);
  direction: ltr;
}

/* ── Page Stubs ─────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding-block: clamp(56px, 8vw, 96px);
  text-align: center;
  color: var(--white);
}

.page-hero-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: var(--sp-sm);
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.70);
}

.page-hero-breadcrumb a { color: var(--orange); }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--sp-md);
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  direction: rtl;
}

.form-control::placeholder { color: var(--gray-400); }

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,51,102,.10);
}

textarea.form-control { resize: vertical; min-height: 120px; }

.checkout-shipping {
  display: grid;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.shipping-option:hover,
.shipping-option:focus-within {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(0,51,102,.10);
}

.shipping-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  flex: 0 0 auto;
}

.shipping-option strong,
.shipping-option small {
  display: block;
}

.shipping-option strong {
  font-size: var(--fs-base);
  color: var(--text);
}

.shipping-option small {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.payment-note {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: var(--sp-sm);
  margin-bottom: var(--sp-md);
  border-radius: var(--r-sm);
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.payment-note svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex: 0 0 auto;
}

/* ── Alert ──────────────────────────────────────────────────────────────── */
.alert {
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-md);
}

.alert-success { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.alert-error   { background: #fce4ec; color: #880e4f; border: 1px solid #f48fb1; }
.alert-info    { background: var(--blue-light); color: var(--blue-dark); border: 1px solid rgba(0,51,102,.2); }

/* ── Table ──────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.data-table th {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  padding: 12px 16px;
  text-align: right;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--text);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--off-white); }

/* ── Admin ──────────────────────────────────────────────────────────────── */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 72px);
}

.admin-sidebar {
  background: var(--blue-dark);
  color: var(--white);
  padding: var(--sp-lg) var(--sp-md);
}

.admin-sidebar-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: rgba(255,255,255,.50);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--sp-md);
  font-size: 11px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255,255,255,.75);
  transition: all .2s;
  margin-bottom: 4px;
}
.admin-nav-link:hover, .admin-nav-link.active { background: rgba(255,255,255,.12); color: var(--white); }
.admin-nav-link svg { width: 18px; height: 18px; }

.admin-main {
  background: var(--off-white);
  padding: var(--sp-lg);
}

.admin-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: var(--sp-lg);
}

.admin-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--sp-md);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
}

.stat-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  box-shadow: var(--shadow-card);
  border-right: 4px solid var(--blue);
}

.stat-card-num {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ── Cart & Checkout ────────────────────────────────────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { font-size: var(--fs-sm); font-weight: 700; color: var(--text-muted); padding: var(--sp-sm); border-bottom: 1px solid var(--gray-200); }
.cart-table td { padding: var(--sp-sm); border-bottom: 1px solid var(--gray-200); vertical-align: middle; }
.cart-total { font-size: var(--fs-xl); font-weight: 800; color: var(--blue); }

/* ── Product Detail ────────────────────────────────────────────────────── */
.prod-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

.prod-gallery { display: flex; flex-direction: column; gap: var(--sp-sm); }

.prod-gallery-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  cursor: zoom-in;
}

.prod-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.prod-gallery-main:hover img { transform: scale(1.04); }

.prod-gallery-thumbs { display: flex; gap: var(--sp-xs); flex-wrap: wrap; }

.prod-gallery-thumb {
  width: 84px; height: 72px;
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  flex-shrink: 0;
  transition: border-color .2s;
  background: none; padding: 0;
}
.prod-gallery-thumb.is-active { border-color: var(--blue); }
.prod-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.prod-details { display: flex; flex-direction: column; gap: 0; }

.prod-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1.4;
  color: var(--blue-dark);
  margin-bottom: var(--sp-sm);
}

.prod-price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: var(--sp-md);
}

.prod-desc {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: var(--sp-lg);
}

.prod-option-label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-xs);
}

.prod-form { margin-top: var(--sp-sm); }

.prod-form-row {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
  flex-wrap: wrap;
}

.prod-add-btn { flex: 1; justify-content: center; min-width: 200px; }

.prod-trust-row {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-top: var(--sp-lg);
  padding: var(--sp-md);
  background: var(--blue-light);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--blue);
  font-weight: 600;
}
.prod-trust-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.prod-trust-row svg { width: 16px; height: 16px; }

/* ── Qty Stepper ────────────────────────────────────────────────────────── */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--gray-200);
  border-radius: var(--r-pill);
  overflow: hidden;
  height: 48px;
}

.qty-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700;
  color: var(--blue);
  background: transparent;
  border: none;
  transition: background .2s;
  cursor: pointer;
  font-family: inherit;
}
.qty-btn:hover { background: var(--blue-light); }

.qty-input {
  width: 56px; height: 44px;
  border: none;
  border-right: 1px solid var(--gray-200);
  border-left: 1px solid var(--gray-200);
  text-align: center;
  font-size: var(--fs-lg);
  font-weight: 700;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-input:focus { outline: none; background: var(--blue-light); }

/* ── Size Selector ──────────────────────────────────────────────────────── */
.size-options {
  display: flex;
  gap: var(--sp-xs);
  flex-wrap: wrap;
  margin-bottom: var(--sp-md);
}

.size-chip {
  padding: 8px 22px;
  border-radius: var(--r-pill);
  border: 2px solid var(--gray-200);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  background: var(--white);
  font-family: inherit;
  color: var(--text);
}
.size-chip:hover { border-color: var(--blue); color: var(--blue); }
.size-chip.is-active { border-color: var(--blue); background: var(--blue); color: var(--white); }

/* ── Lightbox ───────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,20,40,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox-img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: var(--r-md);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.50);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: background .2s;
  border: none;
}
.lightbox-close:hover { background: rgba(255,255,255,.28); }
.lightbox-close svg { width: 20px; height: 20px; }

/* ── 404 Page ───────────────────────────────────────────────────────────── */
.err404-num {
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: var(--sp-sm);
  letter-spacing: -4px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
  }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header-inner {
    gap: 10px;
    height: auto;
    min-height: 66px;
    padding-block: 8px;
  }
  .site-logo { min-width: 0; flex: 1; }
  .logo-icon { width: 46px; height: 46px; }
  .logo-text { min-width: 0; }
  .logo-fa { font-size: .95rem; }
  .logo-en {
    max-width: 42vw;
    font-size: .58rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-actions { gap: 8px; }
  .header-actions .btn-outline-sm {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }
  .header-actions .btn-outline-sm svg { width: 19px; height: 19px; }
  .mobile-menu {
    position: fixed;
    top: 66px;
    right: 0;
    left: 0;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    box-shadow: var(--shadow-header);
  }

  .trust-info--phone { display: none; }
  .trust-sep--wide, .trust-sep:nth-child(n+4) { display: none; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-sm);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-inner {
    gap: var(--sp-sm);
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar { display: none; }

  .prod-layout {
    grid-template-columns: 1fr;
  }
  .prod-gallery-main img { object-fit: contain; }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 520px;
    align-items: flex-start;
  }
  .hero-inner { padding-block: 56px 120px; }
  .hero-title { font-size: clamp(1.55rem, 7vw, 2.2rem); }
  .hero-sub { font-size: var(--fs-base); }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .footer-col--brand { grid-column: auto; }

  .cat-tile { width: 90px; padding: 16px 8px 14px; }
  .cat-tile svg { width: 24px; height: 24px; }
  .cat-tile-label { font-size: 10px; }

  .hero-actions { flex-direction: column; align-items: stretch; width: min(100%, 260px); }
  .hero-actions .btn { justify-content: center; }

  .product-card-footer { flex-direction: column; align-items: flex-start; }
  .shop-category-grid { grid-template-columns: 1fr; }
  .shop-category-card { min-height: 96px; }
}

@media (max-width: 390px) {
  :root { --section-py: clamp(48px, 10vw, 80px); }
  .container { padding-inline: 16px; }
  .hero { min-height: 500px; }
  .hero-stats { display: none; }
  .cart-btn,
  .mobile-menu-toggle,
  .header-actions .btn-outline-sm {
    width: 38px;
    height: 38px;
  }
  .logo-icon { width: 42px; height: 42px; }
  .logo-en { display: none; }
}

/* ── Scrollbar ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: rgba(0,51,102,.30); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ── Animations ─────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .product-card, .blog-card, .whyus-card, .cat-tile, .gallery-item {
    animation: fadeInUp .5s ease both;
  }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

body.menu-open { overflow: hidden; }

/* ── Shop layout responsive (fix 2026-09-02): fixed 220px sidebar squeezed the
   product column to 98px at 390px viewport -> 497px horizontal blowout. ── */
.shop-sidebar { width: 220px; flex-shrink: 0; }
.shop-main { flex: 1; min-width: 0; }
@media (max-width: 768px) {
  .shop-sidebar { width: 100%; flex: 0 0 100%; }
  .shop-main { flex: 1 1 100%; width: 100%; min-width: 0; }
  .shop-layout { gap: var(--sp-md); }
}

/* ── Hero eyebrow icon sizing (fix 2026-09-02): the inline SVG carries no
   width/height, so when the eyebrow text wraps on mobile the icon grew to
   67px and the pill became an 84px blob over the hero. ── */
.hero-eyebrow svg { width: 16px; height: 16px; flex: 0 0 16px; }
@media (max-width: 768px) {
  .hero-eyebrow { line-height: 1.6; padding: 5px 12px; }
}
/* #B64 mobile-reachability fix 2026-09-03 */
@media (max-width:860px){
  main.admin-main{min-width:0}
}
