/* ── 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 {
  /* Palette */
  --c-iron:       #3A3F44;
  --c-iron-light: #4E555C;
  --c-orange:     #E87A2A;
  --c-orange-d:   #C96920;
  --c-orange-l:   #FEF0E4;
  --c-body:       #F8F9FA;
  --c-footer:     #1A1D20;
  --c-footer-mid: #252A2F;
  --c-text:       #2C3136;
  --c-muted:      #6C757D;
  --c-border:     #DDE0E3;
  --c-card:       #FFFFFF;
  --c-green:      #28A745;

  /* Typography */
  --f-sans: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-xs:  0.75rem;
  --fs-sm:  0.875rem;
  --fs-md:  1.0625rem;
  --fs-lg:  1.25rem;
  --fs-xl:  1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.25rem;

  /* Shadows */
  --sh-sm: 0 1px 4px rgba(26,29,32,0.08);
  --sh-md: 0 4px 18px rgba(26,29,32,0.12);
  --sh-lg: 0 8px 32px rgba(26,29,32,0.16);
  --sh-orange: 0 4px 18px rgba(232,122,42,0.28);

  /* Radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-full: 9999px;

  /* Spacing */
  --space-section: 72px;
  --container: 1220px;
  --header-h: 70px;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--f-sans);
  font-size: var(--fs-md);
  color: var(--c-text);
  background: var(--c-body);
  line-height: 1.9;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: var(--f-sans);
  font-size: inherit;
}
button { cursor: pointer; }

/* ── Container ──────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section spacing ────────────────────────────────────────────────────────── */
.section { padding: var(--space-section) 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }

/* ── Section heading ────────────────────────────────────────────────────────── */
.section-head {
  text-align: center;
  margin-bottom: 44px;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--c-orange);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--c-muted);
  font-size: var(--fs-md);
  max-width: 560px;
  margin: 0 auto;
}
.section-head .divider {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--c-orange);
  border-radius: var(--r-full);
  margin: 16px auto 0;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--r-md);
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-orange);
  color: #fff;
  border-color: var(--c-orange);
}
.btn-primary:hover {
  background: var(--c-orange-d);
  border-color: var(--c-orange-d);
  box-shadow: var(--sh-orange);
}

.btn-outline {
  background: transparent;
  color: var(--c-orange);
  border-color: var(--c-orange);
}
.btn-outline:hover {
  background: var(--c-orange);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.75);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-iron {
  background: var(--c-iron);
  color: #fff;
  border-color: var(--c-iron);
}
.btn-iron:hover {
  background: var(--c-iron-light);
  border-color: var(--c-iron-light);
}

.btn-sm { padding: 8px 18px; font-size: var(--fs-xs); }
.btn-lg { padding: 14px 36px; font-size: 1rem; }
.btn-wide { min-width: 200px; }
.btn-block { display: flex; width: 100%; }

/* ── Form controls ──────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--c-text);
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.form-control:focus {
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(232,122,42,0.14);
}
.form-control::placeholder { color: #AAB0B7; }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { appearance: none; padding-left: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 12px center; background-size: 16px; }

/* ── Alerts ─────────────────────────────────────────────────────────────────── */
.alert {
  padding: 13px 18px;
  border-radius: var(--r-sm);
  margin-bottom: 20px;
  font-size: var(--fs-sm);
  font-weight: 500;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: var(--c-orange-l); color: #7a3800; border: 1px solid rgba(232,122,42,0.3); }

/* ── Cards ──────────────────────────────────────────────────────────────────── */
.card {
  background: var(--c-card);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  border: 1px solid rgba(221,224,227,0.6);
  overflow: hidden;
  transition: box-shadow .22s, transform .22s;
}
.card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .48s ease, transform .48s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: var(--c-iron);
  box-shadow: 0 2px 16px rgba(26,29,32,0.22);
  transition: background .2s, box-shadow .2s;
}
.site-header.scrolled {
  background: rgba(26,29,32,0.96);
  box-shadow: 0 6px 28px rgba(26,29,32,0.28);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo .logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.site-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.site-logo .logo-fa {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.site-logo .logo-lat {
  font-size: 0.65rem;
  color: var(--c-orange);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  direction: ltr;
}

/* Main nav */
.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 6px 14px;
  color: rgba(255,255,255,0.82);
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.main-nav a.active { color: var(--c-orange); background: transparent; }

/* Header phone */
.header-phone {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--c-orange);
  color: #fff;
  padding: 7px 16px;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: background .18s;
  white-space: nowrap;
}
.header-phone:hover { background: var(--c-orange-d); }
.header-phone .ph-num { direction: ltr; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #fff;
  margin-right: auto;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(26,29,32,0.6);
  backdrop-filter: blur(4px);
}
.mobile-nav.open { display: flex; }
.mobile-nav-panel {
  background: var(--c-iron);
  width: min(86vw, 340px);
  max-width: 100vw;
  height: 100%;
  padding: 24px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-right: 0;
  animation: slideInRight .25s ease;
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
.mobile-nav-close {
  align-self: flex-start;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  padding: 4px;
}
.mobile-nav-panel a {
  display: block;
  padding: 13px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: background .18s;
}
.mobile-nav-panel a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.mobile-nav-phone {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-orange);
  font-weight: 700;
}
.mobile-nav-phone .ph-num { direction: ltr; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 620px;
  min-height: 480px;
  background: var(--c-iron);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(26,29,32,0.82) 0%,
    rgba(26,29,32,0.65) 45%,
    rgba(26,29,32,0.30) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,122,42,0.18);
  border: 1px solid rgba(232,122,42,0.45);
  color: var(--c-orange);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  margin-bottom: 20px;
  width: fit-content;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, var(--fs-3xl));
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hero-sub {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  line-height: 1.9;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat .num {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-orange);
  display: block;
}
.hero-stat .label {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.65);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CATEGORIES
═══════════════════════════════════════════════════════════════════════════ */
.categories-section {
  padding: 36px 0 0;
  background: var(--c-card);
  position: relative;
  z-index: 2;
}
.categories-strip {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 2px solid var(--c-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.categories-strip::-webkit-scrollbar { display: none; }
.cat-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 28px 16px;
  flex-shrink: 0;
  color: var(--c-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .18s, border-color .18s;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.cat-tab:hover { color: var(--c-orange); }
.cat-tab.active {
  color: var(--c-orange);
  border-bottom-color: var(--c-orange);
}
.cat-tab .cat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-body);
  border-radius: var(--r-md);
  transition: background .18s;
}
.cat-tab:hover .cat-icon,
.cat-tab.active .cat-icon {
  background: var(--c-orange-l);
}
.cat-tab .cat-name {
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* ── Category cards (grid version used in products page) */
.cat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--c-card);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  text-decoration: none;
  transition: box-shadow .22s, transform .22s, color .18s;
}
.cat-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
  color: var(--c-orange);
}
.cat-card .icon-wrap {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-body);
  border-radius: var(--r-md);
  color: var(--c-orange);
}
.cat-card:hover .icon-wrap { background: var(--c-orange-l); }
.cat-card-name { font-size: var(--fs-sm); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT CARDS
═══════════════════════════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--c-card);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  border: 1px solid rgba(221,224,227,0.7);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s, transform .22s;
}
.product-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-body);
}
.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-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--c-orange);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
  box-shadow: var(--sh-sm);
}
.product-card-body {
  padding: 16px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-cat {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  font-weight: 500;
}
.product-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--c-border);
}
.product-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-orange);
}
.product-price .unit { font-size: var(--fs-xs); color: var(--c-muted); font-weight: 400; }
.product-card-footer {
  padding: 0 16px 16px;
}
.product-card-footer .btn {
  width: 100%;
  padding: 9px;
  font-size: var(--fs-xs);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRICE TICKER / LIVE PRICE
═══════════════════════════════════════════════════════════════════════════ */
.price-ticker {
  background: var(--c-iron);
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
  animation: tickerRTL 38s linear infinite;
  width: max-content;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes tickerRTL {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  border-left: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
  font-size: var(--fs-sm);
}
.ticker-item:last-child { border-left: none; }
.ticker-name { color: rgba(255,255,255,0.75); }
.ticker-price { color: var(--c-orange); font-weight: 700; }
.ticker-label {
  background: var(--c-orange);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--r-full);
  white-space: nowrap;
  margin-left: 16px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CALCULATOR
═══════════════════════════════════════════════════════════════════════════ */
.calc-section {
  background: var(--c-iron);
  padding: var(--space-section) 0;
}
.calc-section .section-head h2 { color: #fff; }
.calc-section .section-head p  { color: rgba(255,255,255,0.65); }
.calc-section .section-head .eyebrow { color: var(--c-orange); }
.calc-section .section-head .divider { background: var(--c-orange); }
.calc-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 40px;
  max-width: 820px;
  margin: 0 auto;
}
.calc-box .form-label { color: rgba(255,255,255,0.8); }
.calc-box .form-control {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.calc-box .form-control:focus {
  border-color: var(--c-orange);
  background: rgba(255,255,255,0.1);
}
.calc-box .form-control::placeholder { color: rgba(255,255,255,0.3); }
.calc-box select.form-control option { background: var(--c-iron); }
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.calc-inputs { display: none; }
.calc-inputs.active { display: block; }
.calc-result-box {
  margin-top: 28px;
  padding: 24px;
  background: rgba(232,122,42,0.12);
  border: 1px solid rgba(232,122,42,0.3);
  border-radius: var(--r-md);
  text-align: center;
  display: none;
}
.calc-result-box.show { display: block; }
.calc-result-num {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-orange);
  display: block;
  margin-bottom: 4px;
}
.calc-result-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.65);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST / FEATURES
═══════════════════════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--c-card);
  border-radius: var(--r-md);
  padding: 32px 24px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-border);
  text-align: center;
  transition: box-shadow .22s, transform .22s;
}
.feature-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.feature-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-orange-l);
  border-radius: var(--r-lg);
  margin: 0 auto 20px;
  color: var(--c-orange);
}
.feature-card h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--c-text);
}
.feature-card p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════════════════════ */
.testimonials-section { background: var(--c-body); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--c-card);
  border-radius: var(--r-md);
  padding: 28px 24px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .22s, transform .22s;
}
.testimonial-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.testimonial-stars { color: #F59E0B; display: flex; gap: 3px; }
.testimonial-body {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testimonial-body::before { content: '«'; color: var(--c-orange); font-style: normal; margin-left: 4px; }
.testimonial-body::after  { content: '»'; color: var(--c-orange); font-style: normal; margin-right: 4px; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--c-iron);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  font-size: var(--fs-md);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: var(--fs-sm); }
.testimonial-role { font-size: var(--fs-xs); color: var(--c-muted); }

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT STRIP / PROJECTS
═══════════════════════════════════════════════════════════════════════════ */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-strip.reverse { direction: ltr; }
.about-strip.reverse > * { direction: rtl; }
.about-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4/3;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}
.about-text p {
  color: var(--c-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-list { margin: 20px 0; display: flex; flex-direction: column; gap: 12px; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--c-text);
}
.about-list li .check { color: var(--c-orange); flex-shrink: 0; margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--sh-md);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.project-card:hover img { transform: scale(1.06); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,29,32,0.88) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.project-overlay h3 { font-size: var(--fs-sm); font-weight: 700; color: #fff; }
.project-overlay .meta { font-size: var(--fs-xs); color: rgba(255,255,255,0.65); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--c-card);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s, transform .22s;
}
.blog-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--c-body); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.blog-date { font-size: var(--fs-xs); color: var(--c-muted); }
.blog-title { font-size: var(--fs-sm); font-weight: 700; color: var(--c-text); line-height: 1.5; }
.blog-summary { font-size: var(--fs-sm); color: var(--c-muted); flex: 1; }
.blog-more { color: var(--c-orange); font-size: var(--fs-xs); font-weight: 700; margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; }
.blog-more:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--c-orange) 0%, #C96920 100%);
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.cta-banner .btn-outline-white { padding: 13px 36px; font-size: 1rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--c-footer);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .foot-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-decoration: none;
}
.footer-brand .foot-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand p {
  font-size: var(--fs-sm);
  line-height: 1.75;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.6);
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-sm);
  color: rgba(255,255,255,0.7);
  transition: background .18s, color .18s;
}
.social-btn:hover { background: var(--c-orange); color: #fff; }
.footer-col h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-orange);
  display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  transition: color .18s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a:hover { color: var(--c-orange); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: var(--fs-sm);
}
.footer-contact-item .icon { color: var(--c-orange); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a:hover { color: var(--c-orange); }
.footer-phone-list,
.contact-phone-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.7);
}
.trust-badge .ico { color: var(--c-orange); }
.footer-bottom {
  margin-top: 48px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: var(--fs-xs); color: rgba(255,255,255,0.4); }
.footer-bottom .ph-num { direction: ltr; display: inline; }

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE: INNER PAGES
═══════════════════════════════════════════════════════════════════════════ */
.page-banner {
  background: var(--c-iron);
  padding: 48px 0;
  color: #fff;
}
.page-banner h1 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 6px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--c-orange); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ── Contact page ── */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--c-card);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-border);
  margin-bottom: 16px;
}
.ci-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-orange-l);
  border-radius: var(--r-sm);
  color: var(--c-orange);
  flex-shrink: 0;
}
.ci-body .title { font-weight: 700; font-size: var(--fs-sm); margin-bottom: 4px; }
.ci-body .value { font-size: var(--fs-sm); color: var(--c-muted); }
.ci-body a.value:hover { color: var(--c-orange); }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--c-card);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: right;
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-q:hover { color: var(--c-orange); }
.faq-q .chevron {
  width: 18px;
  height: 18px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s, color .18s;
  flex-shrink: 0;
  color: var(--c-muted);
  display: inline-block;
  margin-top: -4px;
}
.faq-item.open .faq-q .chevron { transform: rotate(-135deg); color: var(--c-orange); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 20px 18px; font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.75; }

/* ── Login / Account ── */
.auth-wrap {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.auth-box {
  width: 100%;
  max-width: 420px;
  background: var(--c-card);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--c-border);
}
.auth-box h1 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--c-text);
}
.auth-box .subtitle {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin-bottom: 28px;
}
.auth-sep {
  text-align: center;
  color: var(--c-muted);
  font-size: var(--fs-xs);
  margin: 16px 0;
  position: relative;
}
.auth-sep::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-border);
  z-index: 0;
}
.auth-sep span { position: relative; z-index: 1; background: var(--c-card); padding: 0 12px; }

/* ── Inquiry form ── */
.inquiry-wrap {
  max-width: 700px;
  margin: 0 auto;
}
.inquiry-box {
  background: var(--c-card);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--sh-md);
  border: 1px solid var(--c-border);
}

/* ── Pagination ── */
.pagination { display: flex; gap: 6px; justify-content: center; padding-top: 32px; }
.pagination a, .pagination span {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  border: 1.5px solid var(--c-border);
  color: var(--c-text);
  transition: all .18s;
  text-decoration: none;
}
.pagination a:hover { border-color: var(--c-orange); color: var(--c-orange); }
.pagination .current { background: var(--c-orange); border-color: var(--c-orange); color: #fff; }

/* ── 404 ── */
.not-found {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.not-found-num {
  font-size: 7rem;
  font-weight: 700;
  color: var(--c-border);
  line-height: 1;
  margin-bottom: 16px;
}
.not-found h2 { font-size: var(--fs-xl); margin-bottom: 12px; }
.not-found p  { color: var(--c-muted); margin-bottom: 28px; }

/* ── Utility ── */
.text-orange { color: var(--c-orange); }
.text-muted  { color: var(--c-muted); }
.text-center { text-align: center; }
.fw-700      { font-weight: 700; }
.mt-auto     { margin-top: auto; }
.d-flex      { display: flex; }
.align-center{ align-items: center; }
.gap-8       { gap: 8px; }
.gap-12      { gap: 12px; }
.hidden      { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — 1100px
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — 860px
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  :root { --space-section: 52px; }
  .main-nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .about-strip { grid-template-columns: 1fr; gap: 32px; }
  .about-strip.reverse { direction: rtl; }
  .contact-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-row { grid-template-columns: 1fr; }
  .hero { height: 520px; }
  .hero h1 { font-size: 1.75rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — 390px (mobile)
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 540px) {
  :root { --space-section: 40px; --header-h: 60px; }
  .container { padding: 0 16px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { height: 440px; min-height: 380px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-sub { font-size: var(--fs-sm); }
  .hero-ctas { gap: 10px; }
  .hero-stats { gap: 18px; }
  .hero-stat .num { font-size: var(--fs-lg); }
  .section-head h2 { font-size: var(--fs-xl); }
  .cta-banner h2 { font-size: var(--fs-xl); }
  .calc-box { padding: 24px 16px; }
  .auth-box { padding: 28px 20px; }
  .inquiry-box { padding: 24px 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cat-tab { padding: 14px 18px 12px; }
  .product-card-img { aspect-ratio: 3/2; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER CART ICON
═══════════════════════════════════════════════════════════════════════════ */
.header-cart {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.85);
  border-radius: var(--r-sm);
  transition: color .18s, background .18s;
}
.header-cart:hover { color: var(--c-orange); background: rgba(255,255,255,0.08); }
.cart-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  background: var(--c-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT DETAIL — gallery + info grid
═══════════════════════════════════════════════════════════════════════════ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Gallery */
.product-gallery-col { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-body);
  aspect-ratio: 4/3;
  box-shadow: var(--sh-md);
  margin-bottom: 12px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .25s;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: calc(33.33% - 7px);
  aspect-ratio: 4/3;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--c-body);
  border: 2px solid var(--c-border);
  padding: 0;
  cursor: pointer;
  transition: border-color .18s, opacity .18s;
  opacity: 0.7;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 0.9; border-color: var(--c-orange); }
.gallery-thumb.active { border-color: var(--c-orange); opacity: 1; }

/* Product info column */
.product-cat-label {
  display: inline-block;
  background: var(--c-orange-l);
  color: var(--c-orange);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 10px;
}
.product-detail-name {
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}
.product-price-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-orange-l);
  border: 1px solid rgba(232,122,42,0.2);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-bottom: 24px;
}
.ppanel-label { font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: 4px; }
.ppanel-price { font-size: var(--fs-xl); font-weight: 700; color: var(--c-orange); }
.ppanel-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.ppanel-badge svg { color: var(--c-orange); }

/* Quantity control */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 40px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-body);
  border: none;
  font-size: 1.25rem;
  color: var(--c-text);
  cursor: pointer;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.qty-btn:hover { background: var(--c-orange-l); color: var(--c-orange); }
.qty-input {
  width: 64px;
  height: 42px;
  border: none;
  border-right: 1.5px solid var(--c-border);
  border-left: 1.5px solid var(--c-border);
  text-align: center;
  font-family: var(--f-sans);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--c-text);
  background: #fff;
  outline: none;
  padding: 0 8px;
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-sm .qty-btn  { width: 34px; height: 36px; font-size: 1rem; }
.qty-sm .qty-input{ width: 52px; height: 36px; font-size: var(--fs-sm); }

.product-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 24px;
}
.product-trust-mini {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 20px;
}
.pt-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.pt-item svg { color: var(--c-orange); }
.product-desc-box {
  padding: 20px;
  background: var(--c-body);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
}
.product-desc-box h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--c-text);
}
.product-desc-box p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CART PAGE
═══════════════════════════════════════════════════════════════════════════ */
.cart-empty {
  text-align: center;
  padding: 80px 24px;
}
.cart-empty-icon {
  color: var(--c-border);
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.cart-empty h2 { font-size: var(--fs-xl); font-weight: 700; margin-bottom: 12px; }
.cart-empty p  { color: var(--c-muted); margin-bottom: 24px; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.cart-items-col { min-width: 0; }
.cart-table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--c-border); background: var(--c-card); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  padding: 14px 16px;
  background: var(--c-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-muted);
  text-align: right;
  border-bottom: 1px solid var(--c-border);
  white-space: nowrap;
}
.cart-row td { padding: 16px; border-bottom: 1px solid rgba(221,224,227,0.5); vertical-align: middle; }
.cart-row:last-child td { border-bottom: none; }
.cart-prod { display: flex; align-items: center; gap: 14px; min-width: 200px; }
.cart-prod-img { width: 72px; height: 72px; flex-shrink: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--c-body); }
.cart-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-prod-name { font-size: var(--fs-sm); font-weight: 700; color: var(--c-text); display: block; line-height: 1.4; }
.cart-prod-name:hover { color: var(--c-orange); }
.cart-prod-cat  { font-size: var(--fs-xs); color: var(--c-muted); display: block; margin-top: 3px; }
.cart-price     { font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; }
.cart-subtotal  { font-size: var(--fs-sm); font-weight: 700; color: var(--c-orange); white-space: nowrap; }
.cart-del-btn   { background: none; border: none; color: var(--c-muted); cursor: pointer; padding: 4px; transition: color .18s; }
.cart-del-btn:hover { color: #e53e3e; }
.cart-qty-cell  { min-width: 120px; }
.cart-qty-form  { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cart-actions-row {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* Cart summary sidebar */
.cart-summary-col { position: sticky; top: calc(var(--header-h) + 20px); }
.cart-summary-box {
  background: var(--c-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-sm);
  padding: 24px;
}
.cart-summary-title {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-border);
}
.cart-summary-rows { margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.cs-row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-xs); }
.cs-label { color: var(--c-muted); flex: 1; }
.cs-qty { color: var(--c-orange); font-weight: 700; }
.cs-val { font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.cs-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 2px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  font-weight: 700;
  margin-bottom: 12px;
}
.cs-total-price { font-size: var(--fs-lg); color: var(--c-orange); }
.cs-note {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.cs-note svg { flex-shrink: 0; margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════════════════
   CHECKOUT PAGE
═══════════════════════════════════════════════════════════════════════════ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}
.checkout-form-col { min-width: 0; }
.checkout-summary-col { position: sticky; top: calc(var(--header-h) + 20px); }
.checkout-success {
  text-align: center;
  padding: 80px 24px;
  max-width: 560px;
  margin: 0 auto;
}
.checkout-success-icon {
  color: var(--c-green);
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.checkout-success h2 { font-size: var(--fs-xl); font-weight: 700; margin-bottom: 14px; }
.checkout-success p  { color: var(--c-muted); font-size: var(--fs-md); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════════════════
   CUSTOMER ACCOUNT PAGE
═══════════════════════════════════════════════════════════════════════════ */
.customer-account-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.customer-sidebar {
  background: var(--c-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  min-height: 300px;
}
.cust-profile-card {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 8px;
}
.cust-avatar {
  width: 64px;
  height: 64px;
  background: var(--c-iron);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--fs-xl);
  font-weight: 700;
  margin: 0 auto 12px;
}
.cust-name  { font-weight: 700; font-size: var(--fs-md); }
.cust-phone { font-size: var(--fs-sm); color: var(--c-muted); direction: ltr; }
.cust-nav { display: flex; flex-direction: column; gap: 4px; }
.cust-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text);
  transition: background .18s, color .18s;
}
.cust-nav a:hover { background: var(--c-body); color: var(--c-orange); }
.cust-nav a.active { background: var(--c-orange-l); color: var(--c-orange); font-weight: 700; }
.cust-section-title { font-size: var(--fs-lg); font-weight: 700; margin-bottom: 20px; }
.orders-list { display: flex; flex-direction: column; gap: 14px; }
.order-card {
  background: var(--c-card);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  padding: 18px 20px;
  box-shadow: var(--sh-sm);
}
.order-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.order-num  { font-weight: 700; font-size: var(--fs-sm); display: block; }
.order-date { font-size: var(--fs-xs); color: var(--c-muted); }
.order-status-badge {
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--r-full);
  white-space: nowrap;
  flex-shrink: 0;
}
.order-items-summary {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-bottom: 6px;
}
.order-address {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* Flash messages */
.flash-bar {
  padding: 12px 24px;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: center;
}
.flash-bar.alert-success { background: #d4edda; color: #155724; }
.flash-bar.alert-error   { background: #f8d7da; color: #721c24; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — new components
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-gallery-col { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-col { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary-col { position: static; }
  .customer-account-grid { grid-template-columns: 1fr; }
  .customer-sidebar { position: static; }
}
@media (max-width: 860px) {
  .header-cart { display: flex; }
  .product-ctas { flex-direction: column; }
  .product-ctas .btn { width: 100%; justify-content: center; }
}
@media (max-width: 540px) {
  .gallery-thumb { width: calc(50% - 5px); }
  .cart-table th:nth-child(2),
  .cart-table td:nth-child(2) { display: none; }
  .orders-list { gap: 10px; }
}
