/* ═══════════════════════════════════════════════════════════
   NIVA HERITAGE — Premium Design System
   Palette: Navy #0B192C · Teal #00B4D8 · Gold #D4AF37
            Off-white #E8E8E8 · Dark card #111D2E
   ═══════════════════════════════════════════════════════════ */

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

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --navy:       #0B192C;
  --navy-card:  #111D2E;
  --navy-light: #162539;
  --teal:       #00B4D8;
  --teal-dim:   #0096b5;
  --gold:       #D4AF37;
  --gold-dim:   #b8962e;
  --off-white:  #E8E8E8;
  --muted:      #94A3B8;
  --border:     rgba(212,175,55,.2);
  --border-mid: rgba(212,175,55,.4);
  --border-hi:  rgba(212,175,55,.7);

  --header-h: 72px;
  --ticker-h: 44px;

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;

  --shadow-gold: 0 0 24px rgba(212,175,55,.12);
  --shadow-card: 0 4px 24px rgba(0,0,0,.35);

  --transition: .22s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  background: var(--navy);
  color: var(--off-white);
  line-height: 2;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Container ──────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* ── Utility ────────────────────────────────────────────── */
.mt-lg { margin-top: 2rem; }
.mt    { margin-top: 1.5rem; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), box-shadow var(--transition);
  border: 1.5px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover, .btn-gold:focus-visible {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-gold);
  outline: none;
}
.btn-teal {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}
.btn-teal:hover, .btn-teal:focus-visible {
  background: var(--teal-dim);
  border-color: var(--teal-dim);
  outline: none;
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: rgba(212,175,55,.08);
  outline: none;
}
.btn-sm { padding: .55rem 1.1rem; font-size: .875rem; }

/* ── Section commons ────────────────────────────────────── */
.section {
  padding-block: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin-bottom: 2.5rem;
}
.section-head--light .section-kicker,
.section-head--light .section-title { /* same tokens */ }

.section-kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  padding: .25rem .75rem;
  border: 1px solid var(--teal);
  border-radius: 100px;
}
.kicker--light { color: var(--gold); border-color: var(--gold); }

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.4;
}
.title--light { color: #fff; }

.section-more {
  margin-right: auto;
  margin-left: 0;
  font-size: .875rem;
  color: var(--teal);
  font-weight: 500;
  transition: color var(--transition);
}
.section-more:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  flex-shrink: 0;
}
.logo-fa {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
}
.logo-en {
  font-size: .6rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Desktop nav */
.main-nav {
  display: flex;
  gap: .25rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: .45rem .85rem;
  font-size: .9rem;
  color: var(--off-white);
  border-radius: var(--r-sm);
  transition: color var(--transition), background var(--transition);
  font-weight: 500;
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(212,175,55,.07);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.header-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  color: var(--off-white);
  transition: color var(--transition), background var(--transition);
}
.header-btn:hover { color: var(--teal); background: rgba(0,180,216,.08); }

.cart-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  min-width: 18px;
  height: 18px;
  border-radius: 100px;
  background: var(--teal);
  color: var(--navy);
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--teal);
  font-weight: 500;
  white-space: nowrap;
  padding: .4rem .8rem;
  border: 1px solid rgba(0,180,216,.35);
  border-radius: var(--r-sm);
  transition: border-color var(--transition), background var(--transition);
}
.header-phone:hover {
  border-color: var(--teal);
  background: rgba(0,180,216,.06);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  display: flex;
  flex-direction: column;
  background: var(--navy-card);
  border-top: 1px solid var(--border);
  padding: 1rem;
  gap: .25rem;
}
.mobile-nav[hidden] { display: none; }
.mob-link {
  padding: .65rem 1rem;
  font-size: .95rem;
  color: var(--off-white);
  border-radius: var(--r-sm);
  transition: color var(--transition), background var(--transition);
}
.mob-link:hover, .mob-link.active { color: var(--gold); background: rgba(212,175,55,.07); }
.mob-phone { color: var(--teal); }

/* ══════════════════════════════════════════════════════════
   PRICE TICKER
══════════════════════════════════════════════════════════ */
.price-ticker {
  height: var(--ticker-h);
  background: var(--navy-card);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-track {
  width: 100%;
  overflow: hidden;
}
.ticker-items {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
  will-change: transform;
}
.ticker-items:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding-inline: 1.5rem;
  font-size: .8rem;
  border-left: 1px solid var(--border);
}
.ticker-label { color: var(--muted); }
.gold-val { color: var(--gold); font-weight: 700; }
.ticker-unit { color: var(--muted); font-size: .7rem; }
.ticker-delta { font-size: .72rem; font-weight: 600; }
.ticker-delta.up   { color: #22c55e; }
.ticker-delta.down { color: #ef4444; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: clamp(420px, 55vw, 680px);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(11,25,44,.85) 0%,
    rgba(11,25,44,.55) 50%,
    rgba(11,25,44,.35) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-block: 2rem;
}
.hero-kicker {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1.3;
  letter-spacing: .03em;
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  color: var(--off-white);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════
   CATEGORIES
══════════════════════════════════════════════════════════ */
.categories-section { background: var(--navy-card); }

.cats-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1rem;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: .75rem .5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  background: var(--navy);
}
.cat-card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}
.cat-img-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-mid);
}
.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cat-name {
  font-size: .8rem;
  font-weight: 500;
  color: var(--off-white);
}

/* ══════════════════════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════════════════════ */
.products-section { background: var(--navy); }

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

.product-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.product-img-link {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
.product-card:hover .product-img { transform: scale(1.05); }

.product-cat-pill {
  position: absolute;
  top: .75rem;
  right: .75rem;
  font-size: .7rem;
  font-weight: 600;
  background: var(--teal);
  color: var(--navy);
  padding: .2rem .6rem;
  border-radius: 100px;
}

.product-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.product-name {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
}
.product-name a:hover { color: var(--gold); }
.product-price {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}
.product-add-form { margin-top: auto; padding-top: .5rem; }

/* ══════════════════════════════════════════════════════════
   LIVE PRICE PANEL
══════════════════════════════════════════════════════════ */
.price-panel-section {
  background: var(--navy-card);
}

.price-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.price-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.price-card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--shadow-gold);
}
.price-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212,175,55,.07);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.price-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.price-card-label {
  font-size: .8rem;
  color: var(--muted);
}
.price-card-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.price-card-unit {
  font-size: .7rem;
  color: var(--muted);
}
.price-card-delta {
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.price-card-delta.up   { color: #22c55e; }
.price-card-delta.down { color: #ef4444; }

.price-note {
  font-size: .75rem;
  color: var(--muted);
  text-align: center;
}

/* ══════════════════════════════════════════════════════════
   ABOUT STRIP
══════════════════════════════════════════════════════════ */
.about-strip { background: var(--navy); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--r-sm);
  padding: .75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}
.badge-num {
  font-size: 1.75rem;
  font-weight: 700;
}
.badge-text {
  font-size: .75rem;
  font-weight: 500;
}

.about-content { display: flex; flex-direction: column; gap: 1rem; }
.about-features { display: flex; flex-direction: column; gap: .65rem; }
.about-features li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .9rem;
}

/* ══════════════════════════════════════════════════════════
   CONSULTATION BANNER
══════════════════════════════════════════════════════════ */
.consultation-banner {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
}
.consultation-bg {
  position: absolute;
  inset: 0;
}
.consult-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.consult-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,25,44,.88);
}
.consultation-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.consultation-copy { display: flex; flex-direction: column; gap: 1rem; }
.consult-desc {
  color: rgba(232,232,232,.8);
  line-height: 1.8;
  font-size: .95rem;
}

.consultation-form {
  background: rgba(17,29,46,.85);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.consultation-form input,
.consultation-form select {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: .75rem 1rem;
  color: var(--off-white);
  transition: border-color var(--transition);
}
.consultation-form input::placeholder { color: var(--muted); }
.consultation-form input:focus,
.consultation-form select:focus {
  outline: none;
  border-color: var(--gold);
}
.consultation-form select option { background: var(--navy); }

/* ══════════════════════════════════════════════════════════
   BLOG
══════════════════════════════════════════════════════════ */
.blog-section { background: var(--navy); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}
.blog-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}
.blog-img-link {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-img { transform: scale(1.04); }
.blog-cat-pill {
  position: absolute;
  top: .75rem;
  right: .75rem;
  font-size: .7rem;
  font-weight: 600;
  background: var(--teal);
  color: var(--navy);
  padding: .2rem .6rem;
  border-radius: 100px;
}
.blog-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.blog-title { font-size: 1rem; font-weight: 600; line-height: 1.5; }
.blog-title a:hover { color: var(--gold); }
.blog-excerpt { font-size: .85rem; color: var(--muted); line-height: 1.7; }
.blog-more {
  font-size: .85rem;
  color: var(--teal);
  font-weight: 500;
  margin-top: auto;
  transition: color var(--transition);
}
.blog-more:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════════ */
.trust-bar {
  padding-block: 2.5rem;
  background: var(--navy-card);
  border-top: 1px solid var(--border);
}
.trust-bar-inner {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 200px;
}
.trust-item > div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.trust-item strong {
  font-size: .9rem;
  color: var(--off-white);
}
.trust-item span {
  font-size: .78rem;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-card);
  border-top: 1px solid var(--gold);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr;
  gap: 3rem;
  padding-block: 3rem;
}

.footer-logo { display: flex; flex-direction: column; align-items: flex-end; margin-bottom: 1rem; }
.footer-tagline { font-size: 1rem; color: var(--gold); font-weight: 500; margin-bottom: .5rem; }
.footer-desc { font-size: .85rem; color: var(--muted); line-height: 1.8; }
.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: color var(--transition), border-color var(--transition);
}
.social-link:hover { color: var(--gold); border-color: var(--gold); }

.footer-heading {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .875rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--off-white); }

.contact-list { display: flex; flex-direction: column; gap: .75rem; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .875rem;
  color: var(--muted);
}
.contact-list a { color: var(--teal); }
.contact-list a:hover { color: var(--gold); }
.contact-list svg { flex-shrink: 0; margin-top: .2em; color: var(--gold); }

.trust-badges {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  font-size: .65rem;
  color: var(--muted);
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.25rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════════════
   SHOP PAGE
══════════════════════════════════════════════════════════ */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  padding-block: 3rem;
}
.shop-sidebar { border-left: 1px solid var(--border); padding-left: 1.5rem; }
.filter-group { margin-bottom: 2rem; }
.filter-group h3 {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  padding: .35rem 0;
  cursor: pointer;
  color: var(--off-white);
  transition: color var(--transition);
}
.filter-group label:hover { color: var(--gold); }
.filter-group input[type="checkbox"] { accent-color: var(--gold); width: 14px; height: 14px; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-content: start;
}

/* ══════════════════════════════════════════════════════════
   CART
══════════════════════════════════════════════════════════ */
.cart-page { padding-block: 3rem; }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}
.cart-items-list { display: flex; flex-direction: column; gap: 1rem; }
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  align-items: center;
}
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: .95rem; }
.cart-item-price { color: var(--gold); font-size: .875rem; }
.cart-qty {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.cart-qty input[type="number"] {
  width: 56px;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: .35rem .5rem;
  color: var(--off-white);
  text-align: center;
}

.cart-summary {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
}
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.cart-summary-total span:last-child { color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   GOLD PRICES PAGE
══════════════════════════════════════════════════════════ */
.prices-page { padding-block: 3rem; }
.prices-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.prices-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.prices-table th {
  background: var(--navy-card);
  padding: .85rem 1.25rem;
  text-align: right;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
}
.prices-table td {
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--off-white);
}
.prices-table tr:last-child td { border-bottom: none; }
.prices-table tr:hover td { background: rgba(212,175,55,.03); }
.prices-table .price-val { color: var(--gold); font-weight: 700; }
.prices-table .delta.up   { color: #22c55e; }
.prices-table .delta.down { color: #ef4444; }

/* ══════════════════════════════════════════════════════════
   CONSULTATION FORM PAGE
══════════════════════════════════════════════════════════ */
.consultation-page { padding-block: 3rem; }
.consult-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.form-page {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-page input,
.form-page select,
.form-page textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: .75rem 1rem;
  color: var(--off-white);
  transition: border-color var(--transition);
  resize: vertical;
}
.form-page input:focus,
.form-page select:focus,
.form-page textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-page input::placeholder,
.form-page textarea::placeholder { color: var(--muted); }
.form-label { font-size: .875rem; font-weight: 500; color: var(--off-white); }
.form-group { display: flex; flex-direction: column; gap: .4rem; }

/* ══════════════════════════════════════════════════════════
   BLOG SINGLE
══════════════════════════════════════════════════════════ */
.blog-single-page { padding-block: 3rem; }
.blog-single-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
.blog-single-body { line-height: 2; font-size: .95rem; color: var(--off-white); }
.blog-single-hero-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}
.blog-single-title {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════════════════════
   ACCOUNT / AUTH
══════════════════════════════════════════════════════════ */
.auth-page {
  padding-block: 3rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.auth-box {
  max-width: 420px;
  margin-inline: auto;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.auth-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.75rem;
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════ */
.about-page { padding-block: 3rem; }
.about-page-hero {
  width: 100%;
  aspect-ratio: 21/7;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: 3rem;
  border: 1px solid var(--border);
}
.about-page-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════════════ */
.contact-page { padding-block: 3rem; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-info-text h4 { font-weight: 600; font-size: .9rem; margin-bottom: .2rem; }
.contact-info-text p,
.contact-info-text a { font-size: .875rem; color: var(--muted); }

/* ══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════════════════ */
.page-hero {
  padding-block: 2.5rem;
  background: var(--navy-card);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.page-hero-title { font-size: clamp(1.3rem, 2.5vw, 1.75rem); font-weight: 700; color: var(--off-white); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--teal); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--border-mid); }

/* ══════════════════════════════════════════════════════════
   NOT FOUND
══════════════════════════════════════════════════════════ */
.not-found-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
.not-found-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.not-found-code {
  font-size: 5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

/* ══════════════════════════════════════════════════════════
   ALERTS
══════════════════════════════════════════════════════════ */
.alert {
  padding: .85rem 1.25rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  margin-bottom: 1.25rem;
}
.alert-success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #86efac; }
.alert-error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3);  color: #fca5a5; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 1024px
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cats-grid          { grid-template-columns: repeat(4, 1fr); }
  .products-grid      { grid-template-columns: repeat(3, 1fr); }
  .price-cards-grid   { grid-template-columns: repeat(2, 1fr); }
  .about-inner        { gap: 2.5rem; }
  .consultation-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner       { grid-template-columns: 1fr 1fr; }
  .footer-col.footer-contact { grid-column: span 2; }
  .shop-layout        { grid-template-columns: 1fr; }
  .shop-sidebar       { border-left: none; padding-left: 0; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
  .blog-single-layout { grid-template-columns: 1fr; }
  .about-page-body    { grid-template-columns: 1fr; }
  .contact-layout     { grid-template-columns: 1fr; }
  .consult-page-layout{ grid-template-columns: 1fr; }
  .cart-layout        { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 768px
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --header-h: 62px; }

  .main-nav    { display: none; }
  .header-phone { display: none; }
  .hamburger   { display: flex; }

  .cats-grid   { grid-template-columns: repeat(4, 1fr); gap: .6rem; }
  .cat-img-wrap { width: 48px; height: 48px; }
  .cat-name    { font-size: .72rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid     { grid-template-columns: 1fr; }
  .about-inner   { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }
  .footer-col.footer-contact { grid-column: auto; }
  .trust-bar-inner { flex-direction: column; gap: 1.25rem; }
  .trust-item  { min-width: unset; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 480px (mobile)
══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .cats-grid { grid-template-columns: repeat(4, 1fr); gap: .5rem; }
  .cat-img-wrap { width: 40px; height: 40px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .price-cards-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════
   PRODUCT DETAIL
══════════════════════════════════════════════════════════ */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-block: 3rem;
  align-items: start;
}
.product-detail-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.product-detail-title { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 700; }
.product-detail-cat { color: var(--teal); font-size: .85rem; font-weight: 500; }
.product-detail-price { font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.product-detail-desc  { font-size: .9rem; color: var(--off-white); line-height: 1.9; }
.product-detail-meta { display: flex; flex-direction: column; gap: 1.25rem; }

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

/* ══════════════════════════════════════════════════════════
   PRODUCT GALLERY
══════════════════════════════════════════════════════════ */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.product-gallery-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--navy-card);
  aspect-ratio: 1;
}
.product-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity .2s ease;
}
.product-gallery-thumbs {
  display: flex;
  gap: .6rem;
}
.gallery-thumb {
  flex: 1;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  background: none;
  padding: 0;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.gallery-thumb:hover { border-color: var(--border-mid); }
.gallery-thumb.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

/* ── Size selector ─────────────────────────────────────── */
.size-select {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: .75rem 1rem;
  color: var(--off-white);
  transition: border-color var(--transition);
  cursor: pointer;
  appearance: auto;
}
.size-select:focus { outline: none; border-color: var(--gold); }
.size-select option { background: var(--navy-card); }

/* ── Qty input on product detail ───────────────────────── */
.qty-input {
  width: 70px;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: .5rem;
  color: var(--off-white);
  text-align: center;
}
.qty-input:focus { outline: none; border-color: var(--gold); }
