/* =====================================================================
   زرگرنگار — Luxury Persian Gold & Jewelry
   Shared stylesheet (RTL, onyx + warm gold)
   ===================================================================== */

/* Self-hosted fonts (replaces the render-blocking Google Fonts @import; fixes the hero layout shift when fonts swapped in late) */
@font-face { font-family: 'Vazirmatn'; src: url('../../assets/fonts/vazirmatn-fa-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-0899, U+08E0-08FF, U+200C-200D, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Vazirmatn'; src: url('../../assets/fonts/vazirmatn-latin-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA-02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../../assets/fonts/cormorant-garamond-latin-var.woff2') format('woff2'); font-style: normal; font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../../assets/fonts/cormorant-garamond-latin-italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --onyx: #0E0D0D;
  --onyx-2: #141111;
  --card: #161414;
  --card-2: #1c1917;
  --gold: #C6A15B;
  --gold-soft: #d8bd86;
  --gold-deep: #a8843f;
  --ivory: #F4EFE6;
  --ivory-dim: #cfc8ba;
  --muted: #8a8378;
  --line: rgba(198, 161, 91, 0.22);
  --line-soft: rgba(244, 239, 230, 0.08);
  --shadow-gold: 0 18px 50px -20px rgba(198, 161, 91, 0.35);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
  --font-body: 'Vazirmatn', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', 'Vazirmatn', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--onyx);
  color: var(--ivory);
  line-height: 1.9;
  font-weight: 300;
  overflow-x: hidden;
  font-size: 16px;
}

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

::selection { background: var(--gold); color: var(--onyx); }

/* Scrollbar */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--onyx); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 9px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.serif { font-family: var(--font-display); font-weight: 500; }
.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.32em; color: var(--gold);
  text-transform: uppercase; font-weight: 500;
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 700;
  margin: 0.6rem 0 0.4rem;
}
.section-sub { color: var(--ivory-dim); max-width: 620px; margin-inline: auto; font-weight: 300; }
.gold-text { color: var(--gold); }
.divider-gold {
  width: 64px; height: 1px; background: var(--gold); margin: 1.1rem auto;
  position: relative;
}
.divider-gold::before, .divider-gold::after {
  content: ''; position: absolute; top: 50%; width: 5px; height: 5px;
  background: var(--gold); transform: translateY(-50%) rotate(45deg);
}
.divider-gold::before { right: -14px; }
.divider-gold::after { left: -14px; }

/* Persian geometric hairline divider */
.pattern-divider {
  height: 26px; margin: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 6px, var(--line) 6px 7px);
  opacity: 0.5;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.4rem; }
.section { padding: 5.5rem 0; position: relative; }
.section-sm { padding: 3.5rem 0; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 2rem; font-size: 0.86rem; font-weight: 500; letter-spacing: 0.04em;
  border: 1px solid var(--gold); color: var(--gold); background: transparent;
  border-radius: var(--radius); transition: all 0.5s var(--ease); position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:hover { background: var(--gold); color: var(--onyx); box-shadow: var(--shadow-gold); }
.btn:hover::after { transform: translateX(120%); }
.btn-solid { background: var(--gold); color: var(--onyx); }
.btn-solid:hover { background: var(--gold-soft); }
.btn-ghost { border-color: var(--line-soft); color: var(--ivory-dim); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; box-shadow: none; }
.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.78rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: #0a0908; border-bottom: 1px solid var(--line-soft);
  font-size: 0.74rem; color: var(--muted); letter-spacing: 0.02em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-block: 0.5rem; gap: 1rem; }
.topbar a { color: var(--ivory-dim); transition: color 0.3s; }
.topbar a:hover { color: var(--gold); }
.topbar .tb-links { display: flex; gap: 1.3rem; align-items: center; }
.gold-ticker {
  display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold);
}
.gold-ticker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(198,161,91,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(198,161,91,0.5)} 70%{box-shadow:0 0 0 8px rgba(198,161,91,0)} 100%{box-shadow:0 0 0 0 rgba(198,161,91,0)} }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(14,13,13,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft); transition: border-color 0.4s;
}
.header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.05rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 38px; height: 38px; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold);
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name .fa { font-size: 1.18rem; font-weight: 700; letter-spacing: 0.01em; }
.brand-name .en { font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.34em; color: var(--gold); text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 1.7rem; }
.menu a {
  font-size: 0.86rem; color: var(--ivory-dim); font-weight: 400; position: relative; padding-block: 0.3rem;
  transition: color 0.3s;
}
.menu a::after {
  content: ''; position: absolute; bottom: 0; right: 0; height: 1px; width: 0; background: var(--gold);
  transition: width 0.4s var(--ease);
}
.menu a:hover, .menu a.active { color: var(--gold); }
.menu a:hover::after, .menu a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.9rem; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  color: var(--ivory-dim); transition: all 0.35s; position: relative;
}
.icon-btn:hover { color: var(--gold); background: rgba(198,161,91,0.08); }
.icon-btn .badge {
  position: absolute; top: 4px; left: 4px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--gold); color: var(--onyx); border-radius: 9px; font-size: 0.62rem; font-weight: 700;
  display: grid; place-items: center; font-family: var(--font-body);
}
.burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; place-items: center; }
.burger span { width: 22px; height: 1.5px; background: var(--ivory); transition: all 0.35s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none;
}
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; transition: opacity 0.4s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(82vw, 360px);
  background: var(--onyx-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 0.5s var(--ease);
  padding: 1.6rem; display: flex; flex-direction: column; gap: 0.4rem;
}
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer a { padding: 0.85rem 0.4rem; border-bottom: 1px solid var(--line-soft); color: var(--ivory-dim); font-size: 0.95rem; }
.drawer a:hover { color: var(--gold); }
.drawer .close { align-self: flex-start; color: var(--gold); font-size: 1.4rem; margin-bottom: 0.5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 120%; object-fit: cover; transform: scale(1.12);
  animation: heroZoom 14s var(--ease) forwards; will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,13,13,0.92) 0%, rgba(14,13,13,0.7) 38%, rgba(14,13,13,0.35) 100%),
              linear-gradient(0deg, rgba(14,13,13,0.9), transparent 40%);
}
.hero-inner { position: relative; z-index: 2; padding-block: 6rem; }
.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.6rem); font-weight: 700; line-height: 1.18; max-width: 16ch;
}
.hero .lead { color: var(--ivory-dim); font-size: 1.05rem; max-width: 46ch; margin-top: 1.4rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 2.2rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-meta .m-num { font-family: var(--font-display); font-size: 2rem; color: var(--gold); font-weight: 600; }
.hero-meta .m-label { font-size: 0.78rem; color: var(--muted); }

/* Staggered reveal */
.reveal-line { overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(110%); opacity: 0; }
.is-loaded .reveal-line > span { animation: lineUp 1s var(--ease) forwards; }
.is-loaded .reveal-line:nth-child(2) > span { animation-delay: 0.18s; }
.is-loaded .reveal-line:nth-child(3) > span { animation-delay: 0.34s; }
@keyframes lineUp { to { transform: translateY(0); opacity: 1; } }
.fade-up { opacity: 0; transform: translateY(26px); animation: fadeUp 1s var(--ease) forwards; }
.is-loaded .delay-1 { animation-delay: 0.5s; }
.is-loaded .delay-2 { animation-delay: 0.66s; }
.is-loaded .delay-3 { animation-delay: 0.82s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.scroll-cue { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--gold); font-size: 0.72rem; letter-spacing: 0.3em; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.scroll-cue .line { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 50.1%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- Gold price widget (homepage) ---------- */
.gold-card {
  background: linear-gradient(160deg, var(--card), var(--onyx-2));
  border: 1px solid var(--line); border-radius: 8px; padding: 1.6rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center;
}
.gold-card .g-icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); }
.gold-card .g-label { font-size: 0.78rem; color: var(--muted); }
.gold-card .g-price { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold); font-weight: 600; direction: ltr; }
.gold-card .g-change { font-size: 0.8rem; color: #7fd1a3; direction: ltr; }
.gold-card .g-change.down { color: #e08b8b; }
.gold-bars { display: flex; gap: 0.4rem; align-items: flex-end; height: 34px; }
.gold-bars span { width: 5px; background: var(--gold-deep); border-radius: 2px; opacity: 0.5; transition: height 0.6s, opacity 0.6s; }

/* ---------- Section head ---------- */
.head { text-align: center; margin-bottom: 3rem; }
.head.left { text-align: start; margin-bottom: 2.2rem; }
.head.left .divider-gold { margin-inline: 0; }

/* ---------- Collections (interactive) ---------- */
.coll-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.coll-card {
  position: relative; height: 440px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-soft);
  cursor: pointer; group: hover;
}
.coll-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.6s; filter: brightness(0.78); }
.coll-card:hover img { transform: scale(1.08); filter: brightness(0.9); }
.coll-card .ov {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem; background: linear-gradient(0deg, rgba(14,13,13,0.92) 0%, transparent 55%);
}
.coll-card .ov h3 { font-size: 1.25rem; }
.coll-card .ov p { font-size: 0.82rem; color: var(--ivory-dim); max-height: 0; overflow: hidden; opacity: 0; transition: all 0.5s var(--ease); }
.coll-card:hover .ov p { max-height: 60px; opacity: 1; margin-top: 0.4rem; }
.coll-card .ov .more { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.1em; transform: translateY(8px); opacity: 0; transition: all 0.5s var(--ease); }
.coll-card:hover .ov .more { transform: translateY(0); opacity: 1; }

/* ---------- Product grid & cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.prod-card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden;
  transition: all 0.5s var(--ease); display: flex; flex-direction: column;
}
.prod-card:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.prod-card .ph { position: relative; aspect-ratio: 1; overflow: hidden; background: #0c0b0b; }
.prod-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.prod-card:hover .ph img { transform: scale(1.07); }
.prod-card .tag { position: absolute; top: 0.8rem; right: 0.8rem; background: rgba(14,13,13,0.7); border: 1px solid var(--line); color: var(--gold); font-size: 0.68rem; padding: 0.25rem 0.6rem; border-radius: 3px; letter-spacing: 0.05em; }
.prod-card .quick {
  position: absolute; bottom: 0.8rem; left: 50%; transform: translate(-50%, 140%); opacity: 0;
  transition: all 0.45s var(--ease); white-space: nowrap;
}
.prod-card:hover .quick { transform: translate(-50%, 0); opacity: 1; }
.prod-card .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.prod-card .cat { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }
.prod-card h3 { font-size: 1.02rem; font-weight: 600; }
.prod-card .spec { font-size: 0.78rem; color: var(--ivory-dim); display: flex; gap: 0.8rem; }
.prod-card .spec span { color: var(--gold); }
.prod-card .price { margin-top: auto; padding-top: 0.7rem; display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line-soft); }
.prod-card .price .num { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); font-weight: 600; direction: ltr; }
.prod-card .price .unit { font-size: 0.7rem; color: var(--muted); }

/* ---------- Counters strip ---------- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.counter { text-align: center; padding: 1.6rem 1rem; border: 1px solid var(--line-soft); border-radius: 6px; background: var(--card); }
.counter .c-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); font-weight: 600; direction: ltr; }
.counter .c-label { font-size: 0.82rem; color: var(--ivory-dim); margin-top: 0.3rem; }

/* ---------- About teaser ---------- */
.about-teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.about-teaser .imgs { position: relative; }
.about-teaser .imgs .main { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.about-teaser .imgs .main img { width: 100%; height: 520px; object-fit: cover; }
.about-teaser .imgs .sub {
  position: absolute; bottom: -34px; left: -34px; width: 200px; border-radius: 6px; overflow: hidden;
  border: 4px solid var(--onyx); box-shadow: var(--shadow-gold);
}
.about-teaser .imgs .sub img { width: 100%; height: 240px; object-fit: cover; }
.about-teaser h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 0.7rem 0 1.2rem; }
.about-teaser p { color: var(--ivory-dim); margin-bottom: 1.1rem; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; }
.about-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; }
.about-list .ic { color: var(--gold); flex-shrink: 0; margin-top: 0.15rem; }

/* ---------- Testimonials ---------- */
.testi { position: relative; max-width: 760px; margin-inline: auto; text-align: center; }
.testi-track { overflow: hidden; }
.testi-slides { display: flex; transition: transform 0.7s var(--ease); }
.testi-slide { min-width: 100%; padding: 1rem; }
.testi-slide .quote { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; line-height: 1.7; color: var(--ivory); }
.testi-slide .who { margin-top: 1.4rem; color: var(--gold); font-weight: 500; }
.testi-slide .who small { display: block; color: var(--muted); font-weight: 300; font-size: 0.78rem; }
.testi-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.8rem; }
.testi-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: all 0.4s; }
.testi-dots button.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ---------- Two-col feature (used on inner pages) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.feature-row.rev .col-img { order: 2; }
.feature-row .col-img { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.feature-row .col-img img { width: 100%; height: 460px; object-fit: cover; }
.feature-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0.6rem 0 1.2rem; }
.feature-row p { color: var(--ivory-dim); margin-bottom: 1rem; }

/* ---------- Breadcrumbs ---------- */
.crumb { padding: 1.6rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.82rem; color: var(--muted); }
.crumb a { color: var(--ivory-dim); }
.crumb a:hover { color: var(--gold); }
.crumb .sep { margin: 0 0.5rem; color: var(--gold-deep); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 4.5rem 0 3.5rem; text-align: center; border-bottom: 1px solid var(--line-soft); position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; }
.page-hero p { color: var(--ivory-dim); max-width: 620px; margin: 1rem auto 0; }

/* ---------- Shop filters ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
.filters { position: sticky; top: 90px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 6px; padding: 1.6rem; }
.filters h4 { font-size: 0.95rem; margin-bottom: 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line-soft); }
.filter-group { margin-bottom: 1.6rem; }
.filter-group .fg-title { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.08em; margin-bottom: 0.7rem; }
.filter-opt { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0; font-size: 0.88rem; color: var(--ivory-dim); cursor: pointer; }
.filter-opt input { accent-color: var(--gold); width: 16px; height: 16px; }
.filter-opt:hover { color: var(--ivory); }
.range-wrap { display: flex; gap: 0.5rem; align-items: center; }
.range-wrap input { width: 100%; background: var(--onyx); border: 1px solid var(--line-soft); color: var(--ivory); padding: 0.5rem; border-radius: 4px; font-family: inherit; font-size: 0.82rem; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; flex-wrap: wrap; gap: 1rem; }
.shop-bar .count { color: var(--muted); font-size: 0.86rem; }
.shop-bar select { background: var(--card); border: 1px solid var(--line-soft); color: var(--ivory); padding: 0.55rem 1rem; border-radius: 4px; font-family: inherit; font-size: 0.85rem; }
.no-results { text-align: center; padding: 4rem; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; }
.gallery .main-img { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; aspect-ratio: 1; background: #0c0b0b; cursor: zoom-in; }
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery .main-img.zoomed img { transform: scale(1.8); }
.gallery .thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.7rem; margin-top: 0.8rem; }
.gallery .thumbs button { border: 1px solid var(--line-soft); border-radius: 4px; overflow: hidden; aspect-ratio: 1; transition: border-color 0.3s; }
.gallery .thumbs button.active { border-color: var(--gold); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: 2rem; }
.pd-info .pd-cat { color: var(--gold); font-size: 0.82rem; letter-spacing: 0.08em; }
.pd-price { display: flex; align-items: baseline; gap: 0.6rem; margin: 1.2rem 0; padding: 1.1rem 0; border-block: 1px solid var(--line-soft); }
.pd-price .num { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); font-weight: 600; direction: ltr; }
.pd-price .unit { color: var(--muted); font-size: 0.84rem; }
.price-break { background: var(--card); border: 1px solid var(--line-soft); border-radius: 6px; padding: 1.2rem; margin: 1.2rem 0; }
.price-break .row { display: flex; justify-content: space-between; padding: 0.45rem 0; font-size: 0.88rem; color: var(--ivory-dim); }
.price-break .row.total { border-top: 1px solid var(--line-soft); margin-top: 0.5rem; padding-top: 0.8rem; color: var(--gold); font-weight: 500; }
.spec-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.spec-table td { padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; }
.spec-table td:first-child { color: var(--muted); width: 45%; }
.spec-table td:last-child { color: var(--ivory); }

.data-table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: 0.9rem; }
.data-table th, .data-table td { padding: 0.85rem 0.6rem; border-bottom: 1px solid var(--line-soft); text-align: center; }
.data-table th { color: var(--gold); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.04em; border-bottom: 1px solid var(--line); background: var(--card); }
.data-table tr:hover td { background: rgba(198,161,91,0.06); }
.data-table td:first-child { color: var(--gold); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.steps-list { counter-reset: st; display: grid; gap: 1.1rem; }
.steps-list .step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: flex-start; }
.steps-list .step::before { counter-increment: st; content: counter(st); width: 38px; height: 38px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; flex-shrink: 0; }
.steps-list .step h4 { font-size: 0.98rem; margin-bottom: 0.2rem; }
.steps-list .step p { color: var(--ivory-dim); font-size: 0.88rem; }
.pd-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.qty button { width: 42px; height: 46px; color: var(--gold); font-size: 1.1rem; }
.qty input { width: 52px; height: 46px; text-align: center; background: transparent; border: none; border-inline: 1px solid var(--line); color: var(--ivory); font-family: inherit; }
.cert-lookup { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1.3rem; margin-top: 1.6rem; }
.cert-lookup h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.cert-lookup p { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.9rem; }
.cert-lookup .row { display: flex; gap: 0.6rem; }
.cert-lookup input { flex: 1; background: var(--onyx); border: 1px solid var(--line-soft); color: var(--ivory); padding: 0.7rem 1rem; border-radius: 4px; font-family: inherit; }
.cert-result { margin-top: 0.9rem; padding: 0.9rem; border-radius: 4px; font-size: 0.86rem; display: none; }
.cert-result.ok { display: block; background: rgba(127,209,163,0.1); border: 1px solid rgba(127,209,163,0.4); color: #9adcb6; }
.cert-result.bad { display: block; background: rgba(224,139,139,0.1); border: 1px solid rgba(224,139,139,0.4); color: #e8a8a8; }

/* ---------- Trust badges ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.trust-item { text-align: center; padding: 1.6rem 1rem; border: 1px solid var(--line-soft); border-radius: 6px; background: var(--card); }
.trust-item .ic { width: 50px; height: 50px; margin: 0 auto 0.9rem; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.trust-item h4 { font-size: 0.96rem; margin-bottom: 0.3rem; }
.trust-item p { font-size: 0.78rem; color: var(--muted); }
.badge-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.enamad { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--card); font-size: 0.82rem; }
.enamad .e-mark { width: 36px; height: 36px; border-radius: 4px; background: var(--gold); color: var(--onyx); display: grid; place-items: center; font-weight: 700; font-size: 0.7rem; }

/* ---------- Journal ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.j-card { border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden; background: var(--card); transition: all 0.5s var(--ease); }
.j-card:hover { border-color: var(--gold); transform: translateY(-5px); }
.j-card .ph { aspect-ratio: 16/10; overflow: hidden; }
.j-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.j-card:hover .ph img { transform: scale(1.06); }
.j-card .body { padding: 1.3rem 1.4rem 1.6rem; }
.j-card .meta { font-size: 0.74rem; color: var(--gold); letter-spacing: 0.06em; margin-bottom: 0.6rem; }
.j-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; line-height: 1.5; }
.j-card p { font-size: 0.88rem; color: var(--ivory-dim); }
.j-card .read { color: var(--gold); font-size: 0.82rem; margin-top: 0.9rem; display: inline-flex; gap: 0.4rem; align-items: center; }

/* article */
.article { max-width: 760px; margin-inline: auto; }
.article .a-hero { border-radius: 6px; overflow: hidden; margin: 1.6rem 0 2rem; }
.article .a-hero img { width: 100%; height: 420px; object-fit: cover; }
.article p { color: var(--ivory-dim); margin-bottom: 1.2rem; font-size: 1rem; }
.article h2 { font-size: 1.5rem; margin: 2.2rem 0 1rem; }
.article blockquote { border-right: 2px solid var(--gold); padding-right: 1.2rem; margin: 1.6rem 0; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ivory); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field label { display: block; font-size: 0.82rem; color: var(--gold); margin-bottom: 0.45rem; letter-spacing: 0.03em; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--card); border: 1px solid var(--line-soft); color: var(--ivory);
  padding: 0.85rem 1rem; border-radius: 4px; font-family: inherit; font-size: 0.92rem; transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 130px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-info .ci { display: flex; gap: 0.9rem; margin-bottom: 1.6rem; align-items: flex-start; }
.contact-info .ci .ic { width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); flex-shrink: 0; }
.contact-info .ci h4 { font-size: 0.96rem; margin-bottom: 0.2rem; }
.contact-info .ci p, .contact-info .ci a { color: var(--ivory-dim); font-size: 0.9rem; direction: ltr; }
.contact-info .ci a:hover { color: var(--gold); }

/* ---------- Account / auth ---------- */
.auth-card { max-width: 440px; margin-inline: auto; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 2.4rem; }
.auth-card h1 { font-size: 1.7rem; text-align: center; margin-bottom: 0.4rem; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: 0.88rem; margin-bottom: 1.8rem; }
.auth-tabs { display: flex; border: 1px solid var(--line-soft); border-radius: 4px; overflow: hidden; margin-bottom: 1.6rem; }
.auth-tabs button { flex: 1; padding: 0.7rem; font-size: 0.88rem; color: var(--muted); transition: all 0.3s; }
.auth-tabs button.active { background: var(--gold); color: var(--onyx); }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 1.2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.cart-item img { width: 90px; height: 90px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line-soft); }
.cart-item h4 { font-size: 0.98rem; }
.cart-item .ci-spec { font-size: 0.78rem; color: var(--muted); }
.cart-item .ci-price { color: var(--gold); font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; direction: ltr; }
.cart-item .rm { color: var(--muted); font-size: 0.8rem; transition: color 0.3s; }
.cart-item .rm:hover { color: #e08b8b; }
.cart-summary { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1.6rem; position: sticky; top: 90px; }
.cart-summary h3 { margin-bottom: 1.2rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line-soft); }
.cart-summary .row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.9rem; color: var(--ivory-dim); }
.cart-summary .row.total { border-top: 1px solid var(--line-soft); margin-top: 0.6rem; padding-top: 0.9rem; color: var(--gold); font-size: 1.1rem; font-weight: 500; }
.cart-empty { text-align: center; padding: 4rem 1rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line-soft); border-radius: 6px; margin-bottom: 0.8rem; overflow: hidden; background: var(--card); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.3rem; cursor: pointer; font-weight: 500; font-size: 0.96rem; }
.faq-q .pm { color: var(--gold); transition: transform 0.4s; flex-shrink: 0; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a .inner { padding: 0 1.3rem 1.2rem; color: var(--ivory-dim); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.footer { background: #0a0908; border-top: 1px solid var(--line); padding-top: 4rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-soft); }
.footer h4 { font-size: 0.96rem; margin-bottom: 1.2rem; color: var(--gold); }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a { color: var(--ivory-dim); font-size: 0.88rem; transition: color 0.3s; }
.footer ul a:hover { color: var(--gold); }
.footer .brand-name .fa { font-size: 1.3rem; }
.footer-about p { color: var(--muted); font-size: 0.86rem; margin: 1rem 0; max-width: 32ch; }
.footer-contact .fc { font-size: 0.86rem; color: var(--ivory-dim); margin-bottom: 0.6rem; display: flex; gap: 0.5rem; align-items: center; }
.footer-contact .fc a { direction: ltr; }
.footer-contact .fc a:hover { color: var(--gold); }
.social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.social a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ivory-dim); transition: all 0.35s; }
.social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.newsletter { display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter input { flex: 1; background: var(--card); border: 1px solid var(--line-soft); color: var(--ivory); padding: 0.7rem 0.9rem; border-radius: 4px; font-family: inherit; font-size: 0.84rem; }
.footer-bottom { padding: 1.6rem 0; text-align: center; color: var(--muted); font-size: 0.8rem; }
.footer-bottom .fb-links { display: flex; gap: 1.4rem; justify-content: center; margin-bottom: 0.7rem; flex-wrap: wrap; }
.footer-bottom .fb-links a:hover { color: var(--gold); }

/* ---------- Scroll animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.reveal.d4 { transition-delay: 0.48s; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translate(-50%, 120%); z-index: 300;
  background: var(--card); border: 1px solid var(--gold); color: var(--ivory); padding: 0.9rem 1.6rem;
  border-radius: 6px; font-size: 0.88rem; box-shadow: var(--shadow-gold); transition: transform 0.5s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .coll-grid, .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 860px) {
  .menu { display: none; }
  .burger { display: flex; }
  .nav-actions .icon-btn:not(.cart-btn) { display: none; }
  .topbar .tb-links { display: none; }
  .about-teaser, .feature-row, .contact-layout, .pd-grid, .shop-layout { grid-template-columns: 1fr; }
  .feature-row.rev .col-img { order: 0; }
  .shop-layout .filters { position: static; }
  .about-teaser .imgs .sub { width: 150px; left: -10px; }
  .feature-row .col-img img, .about-teaser .imgs .main img { height: 320px; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 3.6rem 0; }
  .coll-grid, .prod-grid, .journal-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .counters, .trust, .footer-grid, .form-grid-2 { grid-template-columns: 1fr; }
  .prod-grid .prod-card .body { padding: 0.8rem; }
  .prod-grid .prod-card h3 { font-size: 0.9rem; }
  .prod-grid .prod-card .price .num { font-size: 1.05rem; }
  .coll-card { height: 320px; }
  .hero { min-height: 88vh; }
  .hero-meta { gap: 1.4rem; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item .ci-price { grid-column: 2; }
  .topbar { display: none; }
  .gallery .thumbs { grid-template-columns: repeat(4, 1fr); }
  .auth-card { padding: 1.6rem; }
}
@media (max-width: 400px) {
  .coll-grid, .prod-grid, .journal-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero-bg img { transform: scale(1); }
  .reveal { opacity: 1; transform: none; }
  .reveal-line > span { transform: none; opacity: 1; }
}
