/* =====================================================================
   Pompcenter — Premium Design System
   Palette: sky #5ab4e8 | deep blue #155a8a | slate #64748b | mist #f2f8fc | charcoal #1f3342
   ===================================================================== */

/* ——— @font-face ———————————————————————————————————————————————— */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-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;
}

/* ——— CSS Variables ————————————————————————————————————————————— */
:root {
  --navy:        #1A237E;
  --navy-dark:   #101957;
  --steel:       #4fb3e8;
  --amber:       #64748b;
  --amber-dark:  #475569;
  --white:       #ffffff;
  --grey:        #1A237E;
  --grey-mid:    #303f9f;
  --charcoal:    #1f3342;
  --text-muted:  #607080;
  --border:      #d7e6ef;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-navy: 0 4px 20px rgba(45,156,219,0.2);

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;

  --transition:  0.2s ease;

  --font:        'Vazirmatn', Tahoma, Arial, sans-serif;
}

/* ——— 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: var(--font);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.9;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font);
}

/* ——— Typography ————————————————————————————————————————————————— */
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ——— Layout Utilities ——————————————————————————————————————————— */
.container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 4rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* ——— SVG Icons ————————————————————————————————————————————————— */
.icon    { width: 1.375rem; height: 1.375rem; flex-shrink: 0; }
.icon-sm { width: 1.25rem;  height: 1.25rem;  flex-shrink: 0; }
.icon-xs { width: 1rem;     height: 1rem;     flex-shrink: 0; }
.icon-lg { width: 1.75rem;  height: 1.75rem;  flex-shrink: 0; }
.icon-xl { width: 2.5rem;   height: 2.5rem;   flex-shrink: 0; }

/* ——— Buttons ——————————————————————————————————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(100,116,139,0.28);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--steel);
  border-color: var(--steel);
  transform: translateY(-1px);
  box-shadow: var(--shadow-navy);
}

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

/* ——— Announcement Bar —————————————————————————————————————————— */
.announce-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  padding: 0.55rem 1rem;
  line-height: 1.9;
}

.announce-bar a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— Header ———————————————————————————————————————————————————— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(45,156,219,0.12);
  transition: box-shadow var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(1.12) saturate(1.08) drop-shadow(0 2px 4px rgba(45,156,219,0.18));
}

.logo-mark-sm {
  width: 30px;
  height: 30px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline: auto;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: var(--grey);
}

.nav-link.active {
  font-weight: 700;
}

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

.search-form {
  display: flex;
  align-items: center;
  background: var(--grey);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition);
}

.search-form:focus-within {
  border-color: var(--steel);
}

.search-btn {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.6rem;
  color: rgba(255,255,255,0.82);
  background: none;
  transition: color var(--transition);
}

.search-btn:hover { color: var(--navy); }
.search-form .search-btn:hover { color: var(--white); }

.search-input {
  border: none;
  background: transparent;
  padding: 0.45rem 0.5rem;
  font-size: 0.83rem;
  color: var(--white);
  width: 160px;
  outline: none;
  direction: rtl;
}

.search-input::placeholder { color: rgba(255,255,255,0.78); }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--charcoal);
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.cart-btn:hover {
  color: var(--white);
  background: var(--grey);
}

.cart-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--amber);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

.btn-outline-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--navy);
  color: var(--navy);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-outline-nav:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  transition: background var(--transition);
  white-space: nowrap;
}

.btn-nav-primary:hover { background: var(--steel); }

/* Mobile menu trigger */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.45rem;
  color: var(--charcoal);
  border-radius: var(--radius-sm);
  margin-inline-start: auto;
  transition: background var(--transition);
}

.mobile-menu-btn:hover { background: var(--grey); color: var(--white); }

/* ——— Mobile Menu ——————————————————————————————————————————————— */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(21,90,138,0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--white);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}

.mobile-menu.open .mobile-menu-inner {
  transform: translateX(0);
}

.mobile-menu-close {
  align-self: flex-start;
  color: var(--charcoal);
  padding: 0.3rem;
  border-radius: var(--radius-sm);
}

.mobile-menu-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 0.25rem 0.75rem;
}

.mobile-menu-logo img {
  width: 120px;
  max-width: 62%;
  height: auto;
  object-fit: contain;
  filter: contrast(1.12) saturate(1.08) drop-shadow(0 3px 8px rgba(45,156,219,0.18));
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  border-bottom: 1px solid var(--grey);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--grey);
  color: var(--white);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
}

.btn-full-outline {
  display: block;
  text-align: center;
  padding: 0.7rem;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}

.btn-full-outline:hover { background: var(--navy); color: var(--white); }

.btn-full-primary {
  display: block;
  text-align: center;
  padding: 0.7rem;
  background: var(--amber);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition);
}

.btn-full-primary:hover { background: var(--amber-dark); }

.mobile-contact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  direction: rtl;
}

.mobile-contact a {
  color: var(--navy);
  font-weight: 700;
}

/* ——— Hero Section ——————————————————————————————————————————————— */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/hero.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(21,90,138,0.92) 40%, rgba(45,156,219,0.52) 70%, rgba(45,156,219,0.18) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  padding-block: 5rem;
}

.hero-text {
  max-width: 520px;
  color: var(--white);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
  background: rgba(100,116,139,0.2);
  border: 1px solid rgba(100,116,139,0.4);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
  letter-spacing: 0;
}

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

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
  border: none;
}

.hero-dot.active {
  background: var(--amber);
  width: 24px;
}

/* ——— Stats Band ——————————————————————————————————————————————— */
.stats-band {
  background: var(--navy);
  padding-block: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem 1rem;
  border-left: 1px solid rgba(255,255,255,0.12);
}

.stat-item:first-child { border-left: none; }

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  direction: ltr;
  display: block;
}

.stat-number span {
  color: var(--amber);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ——— Trust Features ————————————————————————————————————————————— */
.trust-strip {
  background: var(--white);
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.trust-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: rgba(45,156,219,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.trust-body {}

.trust-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.trust-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ——— Section Header ———————————————————————————————————————————— */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.sec-head .section-title { margin-bottom: 0; }

.sec-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition);
}

.sec-link:hover { color: var(--navy); }

/* ——— Categories Section ————————————————————————————————————————— */
.cats-section {
  background: var(--grey);
  padding-block: 4rem;
  color: var(--white);
}

.cats-section .section-title,
.blog-section .section-title,
.cart-summary-box .section-title,
.cats-section .section-subtitle,
.blog-section .section-subtitle,
.cart-summary-box,
.cats-section .sec-link,
.blog-section .sec-link {
  color: var(--white);
}

.cats-section .section-subtitle,
.blog-section .section-subtitle {
  color: rgba(255,255,255,0.78);
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition), transform var(--transition);
  display: block;
}

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

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

.cat-card:hover img { transform: scale(1.06); }

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21,90,138,0.82) 0%, rgba(45,156,219,0.2) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  pointer-events: none;
}

.cat-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.cat-card-count {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.2rem;
}

/* ——— Products Section ——————————————————————————————————————————— */
.products-section {
  background: var(--white);
  padding-block: 4rem;
}

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

.product-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--navy);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--grey);
}

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

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

.product-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(34,197,94,0.15);
  color: #166534;
  border: 1px solid rgba(34,197,94,0.35);
}

.product-badge.out {
  background: rgba(239,68,68,0.12);
  color: #991b1b;
  border-color: rgba(239,68,68,0.3);
}

.product-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-cat {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.4;
  flex: 1;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--amber);
  margin-top: 0.25rem;
}

.product-actions {
  padding: 0 1rem 1rem;
}

.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition);
}

.btn-add-cart:hover {
  background: var(--amber);
  transform: translateY(-1px);
}

/* ——— Blog Section ——————————————————————————————————————————————— */
.blog-section {
  background: var(--grey);
  padding-block: 4rem;
  color: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--grey);
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.blog-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.blog-cat-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber);
  background: rgba(100,116,139,0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(100,116,139,0.25);
  width: fit-content;
}

.blog-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  flex: 1;
}

.blog-excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-read-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition);
}

.blog-read-more:hover { color: var(--amber); }

/* ——— Footer ————————————————————————————————————————————————————— */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-logo-img {
  width: 150px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: contrast(1.08) saturate(1.05) drop-shadow(0 4px 12px rgba(0,0,0,0.22));
}

.footer-logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--amber);
  width: fit-content;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition), padding-right var(--transition);
  display: inline-flex;
  align-items: center;
}

.footer-links a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  margin-left: 0.5rem;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-right: 4px;
}

.footer-links a:hover::before { opacity: 1; }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.footer-contact-list li .icon-xs {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.trust-seals {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.seal-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  transition: background var(--transition);
}

.seal-box:hover { background: rgba(255,255,255,0.1); }

.footer-bottom {
  padding-block: 1.25rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-credit {
  color: rgba(255,255,255,0.35);
}

/* ——— Page Stubs ————————————————————————————————————————————————— */
.stub-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 1.5rem;
  text-align: center;
}

.stub-page h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.stub-page p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ——— Forms ————————————————————————————————————————————————————— */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
}

.form-control {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  direction: rtl;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(79,179,232,0.18);
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  margin-inline: auto;
}

.form-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 1.75rem;
}

/* ——— Alert ————————————————————————————————————————————————————— */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.alert-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #166534;
}

.alert-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #991b1b;
}

/* ——— Breadcrumb ————————————————————————————————————————————————— */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-block: 1rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--steel);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--navy); }

.breadcrumb-sep {
  color: var(--grey-mid);
  font-size: 0.7rem;
}

/* ——— Pagination ————————————————————————————————————————————————— */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
}

.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--charcoal);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.page-btn:hover,
.page-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ——— Responsive (Mobile ≤768px) ———————————————————————————————— */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-nav        { display: none; }
  .search-form     { display: none; }
  .btn-outline-nav,
  .btn-nav-primary { display: none; }
  .mobile-menu-btn { display: flex; }

  .header-inner { gap: 0.75rem; }

  .hero { min-height: 460px; }
  .hero-inner { padding-block: 3.5rem; }
  .hero-overlay { background: linear-gradient(to top, rgba(21,90,138,0.92) 30%, rgba(45,156,219,0.65) 70%, rgba(45,156,219,0.28) 100%); }

  .trust-grid   { grid-template-columns: repeat(2, 1fr); }
  .cats-grid    { grid-template-columns: repeat(2, 1fr); }
  .products-grid{ grid-template-columns: repeat(2, 1fr); }
  .blog-grid    { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }

  .stat-item { border-left: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .trust-grid    { grid-template-columns: 1fr; }
  .cats-grid     { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr; }
  .hero-cta      { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 390px) {
  .container { padding-inline: 1rem; }
  .hero-title { font-size: 1.45rem; }
  .section-title { font-size: 1.25rem; }
}

/* ——— Page Layout Classes ———————————————————————————————————————— */
.shop-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.shop-sidebar {
  width: 220px;
  flex-shrink: 0;
}

.shop-sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--amber);
}

.shop-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.shop-sidebar-list a {
  font-size: 0.875rem;
  color: var(--charcoal);
  padding: 0.25rem 0;
  display: block;
  transition: color var(--transition);
}

.shop-sidebar-list a:hover { color: var(--navy); }

.shop-sidebar-list a.active {
  color: var(--navy);
  font-weight: 700;
}

.shop-main { flex: 1; min-width: 0; }

.page-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.cart-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.cart-layout > :first-child { flex: 1; min-width: 0; }

.cart-summary-box {
  width: 280px;
  flex-shrink: 0;
  background: var(--grey);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1.5px solid var(--border);
}

.cart-summary-box,
.cart-summary-box .price-final,
.cart-summary-box .price-original {
  color: var(--white);
}

.cart-summary-box .price-original {
  opacity: 0.72;
}

.discount-form {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.discount-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.discount-row .form-control {
  min-width: 0;
}

.discount-row .btn {
  padding-inline: 0.9rem;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .shop-layout { flex-direction: column; }
  .shop-sidebar { width: 100%; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
  .shop-sidebar-list { flex-direction: row; flex-wrap: wrap; gap: 0.4rem; }
  .shop-sidebar-list a {
    padding: 0.25rem 0.6rem;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    font-size: 0.78rem;
  }
  .shop-sidebar-list a.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
  }
  .page-two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .checkout-grid { grid-template-columns: 1fr; }
  .cart-layout { flex-direction: column; }
  .cart-summary-box { width: 100%; }
  .account-grid { grid-template-columns: 1fr; }
}

/* ——— Product Detail Extensions ———————————————————————————————— */
.price-final {
  color: var(--amber);
  font-weight: 700;
}

.price-original {
  color: var(--text-muted);
  font-size: 0.82em;
  text-decoration: line-through;
  margin-inline-start: 0.5rem;
}

.btn-add-cart:disabled {
  cursor: not-allowed;
  background: var(--grey-mid);
  color: rgba(255,255,255,0.78);
  transform: none;
}

.product-gallery {
  display: grid;
  gap: 1rem;
}

.product-gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--grey);
  border: 1.5px solid var(--border);
}

.product-gallery-main img,
.product-gallery-main video,
.product-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 0.65rem;
}

.product-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--grey);
  transition: border-color var(--transition), transform var(--transition);
}

.product-thumb.active,
.product-thumb:hover,
.product-thumb:focus-visible {
  border-color: var(--amber);
  transform: translateY(-1px);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb-video {
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-thumb-video span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(132px, 160px);
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 0.25rem 0.1rem 1rem;
  scrollbar-color: var(--amber) var(--grey);
}

.product-scroll-row .product-card {
  scroll-snap-align: start;
}

.product-card-compact .product-body {
  padding: 0.6rem;
  gap: 0.28rem;
}

.product-card-compact .product-name {
  font-size: 0.76rem;
  line-height: 1.55;
}

.product-card-compact .product-price {
  font-size: 0.8rem;
}

.product-card-compact .product-actions {
  padding: 0 0.6rem 0.6rem;
}

.product-card-compact .btn-add-cart {
  min-height: 32px;
  font-size: 0.72rem;
  padding: 0.38rem 0.48rem;
}

.product-video {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--white);
}

.product-video h2 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.product-video video {
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  background: var(--navy-dark);
}

.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-info-panel h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}

.product-rating-summary,
.reviews-head,
.review-item-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rating-stars {
  color: var(--grey-mid);
  white-space: nowrap;
  font-size: 1rem;
  letter-spacing: 0;
}

.rating-stars .filled {
  color: #f59e0b;
}

.product-info-tabs {
  display: grid;
  gap: 0.85rem;
}

.product-service-note {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--grey);
  color: var(--white);
  border-radius: var(--radius-sm);
}

.product-service-note > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.product-info-tabs section,
.review-form,
.review-item,
.services-panel {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.product-info-tabs section {
  padding: 1rem;
}

.product-info-tabs h2 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.product-info-tabs p,
.services-content {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.9;
}

.product-price-large {
  font-size: 1.35rem;
}

.stock-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  color: #166534;
  border: 1px solid rgba(34,197,94,0.3);
}

.stock-pill.out {
  background: rgba(239,68,68,0.1);
  color: #991b1b;
  border-color: rgba(239,68,68,0.25);
}

.reviews-section,
.product-row-section {
  margin-top: 3rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.star-rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
  border: 0;
  padding: 0;
  margin: 0;
}

.star-rating-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-rating-input label {
  color: var(--grey-mid);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  padding: 0.2rem 0.08rem;
  transition: color var(--transition), transform var(--transition);
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
  color: #f59e0b;
}

.star-rating-input input:focus-visible + label {
  outline: 3px solid rgba(26,35,126,0.28);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.star-rating-input label:hover {
  transform: translateY(-1px);
}

.reviews-head {
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
  gap: 1.25rem;
}

.review-form {
  padding: 1.25rem;
}

.review-list {
  display: grid;
  gap: 0.85rem;
}

.review-item {
  padding: 1rem;
}

.review-item p,
.empty-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.9;
  margin-top: 0.65rem;
}

.services-panel {
  margin-top: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}

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