/* ============================================================
   میهــن استور — Premium RTL E-commerce
   Vanilla CSS3 · Mobile First · Glassmorphism · Luxury Palette
   ============================================================ */

:root {
  /* Palette */
  --bg: #0b0b12;
  --bg-2: #10101a;
  --surface: #16161f;
  --surface-2: #1c1c28;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f1f1f5;
  --muted: #a0a0b2;
  --gold: #d4af6a;
  --gold-2: #f0d59a;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --danger: #ff5470;
  --success: #22c55e;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --grad-gold: linear-gradient(135deg, #d4af6a 0%, #f0d59a 50%, #d4af6a 100%);
  --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(124, 92, 255, .35), transparent 60%),
               radial-gradient(900px 500px at 10% 30%, rgba(34, 211, 238, .25), transparent 60%),
               linear-gradient(180deg, #0b0b12 0%, #10101a 100%);

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(0,0,0,.25);
  --shadow-md: 0 10px 30px rgba(0,0,0,.35);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.45);
  --shadow-gold: 0 12px 40px rgba(212, 175, 106, .25);

  /* Radius & spacing */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --container: 1280px;
  --header-h: 72px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0b0b12; }
::-webkit-scrollbar-thumb { background: #2a2a3a; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a4a; }

/* Selection */
::selection { background: var(--gold); color: #0b0b12; }

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

/* ============ Utility ============ */
.muted { color: var(--muted); }
.glass {
  background: rgba(22, 22, 31, .65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
}
.hide-sm { display: none; }
@media (min-width: 900px) { .hide-sm { display: inline-flex; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: all .25s ease; white-space: nowrap;
  border: 1px solid transparent; user-select: none;
}
.btn-primary {
  background: var(--grad-gold); color: #1a1408;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(212,175,106,.4); }
.btn-ghost {
  background: rgba(255,255,255,.04); color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--line-strong); }
.btn-accent {
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 12px 40px rgba(124,92,255,.35);
}
.btn-accent:hover { transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: inline-grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--text);
  transition: all .2s ease;
}
.icon-btn:hover { background: rgba(255,255,255,.09); border-color: var(--line-strong); transform: translateY(-1px); }
.badge {
  position: absolute; top: -6px; left: -6px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--gold); color: #1a1408;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 18, .75);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.header-inner {
  height: var(--header-h);
  display: grid; align-items: center; gap: 12px;
  grid-template-columns: auto 1fr auto auto;
}
@media (min-width: 1024px) {
  .header-inner { grid-template-columns: auto auto 1fr auto auto; }
}

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.logo-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 12px; background: var(--grad-gold); color: #1a1408;
  font-size: 20px; font-weight: 900;
  box-shadow: var(--shadow-gold);
}
.logo-text { font-size: 18px; letter-spacing: -.01em; }
.logo-text b { color: var(--gold); font-weight: 800; margin-right: 4px; }

.main-nav { display: none; gap: 6px; }
@media (min-width: 1024px) { .main-nav { display: inline-flex; } }
.main-nav a {
  padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 500;
  color: var(--muted); transition: all .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: rgba(255,255,255,.05); }

.header-search {
  position: relative;
  display: none; align-items: center; gap: 8px;
  padding: 0 14px; height: 44px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 999px; min-width: 240px; max-width: 380px;
  color: var(--muted);
}
@media (min-width: 768px) { .header-search { display: flex; } }
.header-search input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--text); font-size: 14px;
}
.header-search input::placeholder { color: var(--muted); }
.search-suggest {
  position: absolute; top: calc(100% + 8px); right: 0; left: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 8px;
  max-height: 380px; overflow-y: auto;
  box-shadow: var(--shadow-lg); z-index: 20;
}
.search-suggest a {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center;
  padding: 8px; border-radius: 10px;
}
.search-suggest a:hover { background: rgba(255,255,255,.05); }
.search-suggest img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: #222; }
.search-suggest .p-title { font-size: 13px; }
.search-suggest .p-price { font-size: 12px; color: var(--gold); font-weight: 700; }

.header-actions { display: inline-flex; gap: 8px; align-items: center; }
.menu-toggle { display: inline-grid; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; top: 0; right: -320px; bottom: 0; width: 300px;
  background: var(--surface); z-index: 200;
  padding: 20px; transition: right .3s cubic-bezier(.4,0,.2,1);
  border-left: 1px solid var(--line);
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-weight: 700; }
.mobile-drawer nav { display: grid; gap: 4px; }
.mobile-drawer nav a {
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid transparent;
}
.mobile-drawer nav a:hover { background: rgba(255,255,255,.04); border-color: var(--line); }
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px); z-index: 199;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

/* ============ MAIN ============ */
.app-main { min-height: calc(100vh - var(--header-h)); }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero);
  padding: 60px 0 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><circle cx='1' cy='1' r='1' fill='%23ffffff' opacity='0.05'/></svg>");
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.1fr .9fr; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(212, 175, 106, .12); color: var(--gold-2);
  border: 1px solid rgba(212, 175, 106, .3);
  font-size: 12px; font-weight: 600; margin-bottom: 20px;
  animation: fadeInUp .8s ease .1s both;
}
.hero-title {
  font-size: clamp(34px, 6vw, 62px); line-height: 1.15;
  font-weight: 900; letter-spacing: -.02em;
  animation: fadeInUp .8s ease .2s both;
}
.hero-title .accent {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; display: inline-block;
}
.hero-desc {
  color: var(--muted); font-size: 17px; max-width: 520px;
  margin: 20px 0 32px;
  animation: fadeInUp .8s ease .3s both;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeInUp .8s ease .4s both; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 40px; animation: fadeInUp .8s ease .5s both;
}
.hero-stats > div {
  padding: 16px; border-radius: var(--r-md);
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
}
.hero-stats strong { font-size: 22px; display: block; color: var(--gold-2); }
.hero-stats span { font-size: 12px; color: var(--muted); }

/* Hero visual */
.hero-visual {
  position: relative; height: 480px;
  animation: fadeIn 1s ease .3s both;
}
.hero-card {
  position: absolute; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
  transition: transform .5s ease;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; background: #1a1a2a; }
.hero-card-1 {
  width: 60%; height: 65%; top: 0; right: 0;
  animation: float 6s ease-in-out infinite;
}
.hero-card-2 {
  width: 50%; height: 50%; bottom: 0; left: 0;
  animation: float 6s ease-in-out infinite -3s;
}
.hero-card-3 {
  width: 45%; height: 35%; bottom: 30%; right: 40%;
  background: var(--grad-gold);
  display: grid; place-items: center; color: #1a1408;
  padding: 20px; text-align: center;
  animation: float 6s ease-in-out infinite -1.5s;
}
.hero-card-3 strong { font-size: 30px; display: block; }
.hero-card-3 span { font-size: 12px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ============ SECTION ============ */
.section { padding: 70px 0; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 32px; gap: 16px; flex-wrap: wrap;
}
.section-title {
  font-size: clamp(24px, 3.5vw, 34px); font-weight: 800;
  letter-spacing: -.02em;
}
.section-title .accent {
  background: var(--grad-gold); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.section-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.section-link { color: var(--gold-2); font-size: 14px; font-weight: 600; }
.section-link:hover { color: var(--gold); }

/* ============ ADVANTAGES ============ */
.adv-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.adv-card {
  padding: 24px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  transition: all .3s ease;
}
.adv-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.adv-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad-gold); color: #1a1408;
  display: grid; place-items: center; margin-bottom: 14px;
}
.adv-card h4 { font-size: 16px; margin-bottom: 6px; }
.adv-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* ============ CATEGORIES ============ */
.cat-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }
.cat-card {
  position: relative;
  padding: 22px 16px; border-radius: var(--r-lg); text-align: center;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  transition: all .3s ease; overflow: hidden;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-primary); opacity: 0;
  transition: opacity .3s;
}
.cat-card:hover::before { opacity: .1; }
.cat-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.cat-emoji { font-size: 32px; display: block; margin-bottom: 8px; position: relative; }
.cat-card h4 { font-size: 14px; font-weight: 600; position: relative; }
.cat-card span { font-size: 12px; color: var(--muted); position: relative; }

/* ============ PRODUCT CARD ============ */
.products-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.product-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  animation: scaleIn .5s ease both;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(212,175,106,.2);
}
.product-media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: #fff;
}
.product-media img {
  width: 100%; height: 100%; object-fit: contain; padding: 12px;
  transition: transform .5s ease;
}
.product-card:hover .product-media img { transform: scale(1.08); }

.product-badges {
  position: absolute; top: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 6px; z-index: 2;
}
.p-badge {
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  background: var(--danger); color: #fff;
}
.p-badge.new { background: var(--success); }
.p-badge.hot { background: var(--gold); color: #1a1408; }

.product-quick {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(-10px);
  transition: all .3s ease;
}
.product-card:hover .product-quick { opacity: 1; transform: translateX(0); }
.quick-btn {
  width: 34px; height: 34px; border-radius: 10px;
  background: #fff; color: #1a1a2a;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}
.quick-btn:hover { background: var(--gold); transform: scale(1.1); }
.quick-btn.active { background: var(--danger); color: #fff; }

.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-cat { font-size: 11px; color: var(--muted); font-weight: 600; }
.product-title {
  font-size: 14px; font-weight: 600; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 42px;
}
.product-title:hover { color: var(--gold-2); }
.product-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.product-rating .stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }

.product-price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: auto; padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.p-price { font-size: 16px; font-weight: 800; color: var(--gold-2); }
.p-price small { font-size: 11px; font-weight: 500; color: var(--muted); margin-right: 4px; }
.p-price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; }

.product-actions { display: flex; gap: 8px; padding: 0 16px 16px; }
.product-actions .btn { flex: 1; padding: 10px 14px; font-size: 13px; }

/* ============ TESTIMONIALS ============ */
.test-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.test-card {
  padding: 28px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  position: relative;
}
.test-card::before {
  content: '"'; position: absolute; top: 10px; left: 20px;
  font-size: 80px; color: var(--gold); opacity: .3; line-height: 1;
  font-family: serif;
}
.test-text { color: var(--text); font-size: 14px; line-height: 1.8; margin-bottom: 18px; }
.test-user { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-primary); display: grid; place-items: center;
  color: #fff; font-weight: 700;
}
.test-user h5 { font-size: 14px; }
.test-user span { font-size: 12px; color: var(--muted); }

/* ============ BRANDS ============ */
.brands {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (min-width: 640px) { .brands { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .brands { grid-template-columns: repeat(6, 1fr); } }
.brand {
  height: 80px; display: grid; place-items: center;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  color: var(--muted); font-weight: 700; font-size: 14px;
  transition: all .2s ease;
}
.brand:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

/* ============ FILTERS ============ */
.shop-layout {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .shop-layout { grid-template-columns: 280px 1fr; } }

.filters {
  padding: 20px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  height: fit-content; position: sticky; top: calc(var(--header-h) + 16px);
}
.filters h4 { font-size: 14px; margin-bottom: 12px; color: var(--gold-2); }
.filter-group { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; }
.filter-list { display: grid; gap: 8px; }
.filter-list label {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
  font-size: 13px; transition: background .2s;
}
.filter-list label:hover { background: rgba(255,255,255,.04); }
.filter-list input { accent-color: var(--gold); }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input {
  width: 100%; padding: 8px 10px; font-size: 13px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  border-radius: 8px; color: var(--text); outline: none;
}

.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
}
.shop-toolbar select {
  padding: 10px 14px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text); font-size: 13px; outline: none;
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  display: flex; gap: 8px; font-size: 13px; color: var(--muted);
  padding: 20px 0;
}
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb .sep { opacity: .5; }

/* ============ PRODUCT DETAILS ============ */
.pd-layout {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 60px;
}
@media (min-width: 900px) { .pd-layout { grid-template-columns: 1.1fr .9fr; } }

.pd-gallery { display: grid; gap: 12px; }
.pd-main-img {
  aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  background: #fff; padding: 20px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
}
.pd-main-img img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .3s ease;
  cursor: zoom-in;
}
.pd-main-img:hover img { transform: scale(1.5); }
.pd-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumbs button {
  width: 72px; height: 72px; border-radius: 12px;
  overflow: hidden; background: #fff; padding: 4px;
  border: 2px solid transparent; flex-shrink: 0;
}
.pd-thumbs button.active { border-color: var(--gold); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.pd-info h1 {
  font-size: clamp(24px, 3vw, 32px); line-height: 1.3; margin-bottom: 12px;
}
.pd-info .pd-cat { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.pd-price-block {
  padding: 20px; border-radius: var(--r-md); margin: 20px 0;
  background: rgba(212,175,106,.06); border: 1px solid rgba(212,175,106,.2);
}
.pd-price-block .p-price { font-size: 28px; }
.pd-desc { color: var(--muted); line-height: 1.9; margin-bottom: 20px; }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-features {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px;
}
.pd-features > div {
  padding: 12px; border-radius: 10px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.pd-features strong { display: block; color: var(--text); font-size: 13px; margin-bottom: 2px; }

/* Tabs */
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 8px; margin: 30px 0 20px; overflow-x: auto; }
.tabs button {
  padding: 12px 20px; font-weight: 600; font-size: 14px;
  color: var(--muted); border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.tabs button.active { color: var(--gold-2); border-color: var(--gold); }
.tab-panel { padding: 10px 0; color: var(--muted); line-height: 1.9; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table td:first-child { color: var(--muted); width: 40%; }

.social-share { display: flex; gap: 8px; margin-top: 24px; }
.social-share a {
  padding: 8px 14px; border-radius: 10px; font-size: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
}
.social-share a:hover { background: rgba(255,255,255,.08); color: var(--gold); }

/* ============ CART ============ */
.cart-layout {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1fr 340px; } }

.cart-items { display: grid; gap: 12px; }
.cart-item {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center;
  padding: 16px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
}
.cart-item img { width: 90px; height: 90px; object-fit: contain; background: #fff; border-radius: 12px; padding: 4px; }
.cart-item h4 { font-size: 14px; margin-bottom: 4px; }
.cart-item .p-price { font-size: 15px; }
.qty-control { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.qty-control button {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  font-weight: 700;
}
.qty-control span { min-width: 30px; text-align: center; font-weight: 700; }
.cart-remove { color: var(--danger); font-size: 12px; margin-top: 8px; display: inline-block; }

.cart-summary {
  padding: 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  height: fit-content; position: sticky; top: calc(var(--header-h) + 16px);
}
.cart-summary h3 { font-size: 18px; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.summary-row.total {
  border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 16px;
  font-size: 18px; font-weight: 800; color: var(--gold-2);
}

/* Empty state */
.empty-state {
  text-align: center; padding: 80px 20px;
  color: var(--muted);
}
.empty-state .emoji { font-size: 64px; margin-bottom: 16px; }
.empty-state h3 { color: var(--text); margin-bottom: 8px; font-size: 20px; }

/* ============ PAGES (about, contact, faq) ============ */
.page-hero {
  padding: 80px 0 40px; text-align: center;
  background: var(--grad-hero);
}
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 600px; margin: 0 auto; }

.content-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .content-grid { grid-template-columns: repeat(3, 1fr); } }
.info-card {
  padding: 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.info-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-gold); color: #1a1408;
  display: grid; place-items: center; margin-bottom: 12px; font-size: 20px;
}
.info-card h4 { margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* FAQ accordion */
.accordion { display: grid; gap: 10px; }
.acc-item {
  border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  overflow: hidden;
}
.acc-item summary {
  padding: 18px 20px; cursor: pointer; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.acc-item summary::after {
  content: '+'; font-size: 24px; color: var(--gold); transition: transform .3s;
}
.acc-item[open] summary::after { content: '−'; }
.acc-item[open] { border-color: var(--gold); }
.acc-item p { padding: 0 20px 20px; color: var(--muted); margin: 0; line-height: 1.9; }

/* Contact form */
.form-grid { display: grid; gap: 14px; }
.form-grid input, .form-grid textarea {
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--text); outline: none; font-size: 14px;
  transition: border-color .2s;
}
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--gold); }
.form-grid textarea { min-height: 130px; resize: vertical; }

/* Blog */
.blog-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.blog-card {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: all .3s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.blog-card .thumb {
  aspect-ratio: 16 / 10;
  background: var(--grad-primary);
  display: grid; place-items: center;
  font-size: 60px;
}
.blog-card .body { padding: 20px; }
.blog-card h4 { font-size: 16px; margin-bottom: 8px; }
.blog-card .meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.blog-card p { color: var(--muted); font-size: 13px; margin: 0; }

/* Account UI */
.account-layout {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .account-layout { grid-template-columns: 260px 1fr; } }
.account-nav {
  padding: 16px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  height: fit-content;
}
.account-nav a {
  display: block; padding: 10px 14px; border-radius: 10px;
  font-size: 14px; color: var(--muted); margin-bottom: 4px;
}
.account-nav a.active, .account-nav a:hover { background: rgba(255,255,255,.05); color: var(--gold-2); }

/* ============ FOOTER ============ */
.site-footer {
  margin-top: 80px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.4));
  border-top: 1px solid var(--line);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { font-size: 15px; margin-bottom: 16px; color: var(--gold-2); }
.site-footer ul li { padding: 6px 0; }
.site-footer ul a { color: var(--muted); font-size: 14px; }
.site-footer ul a:hover { color: var(--gold); }

.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted);
}
.socials a:hover { background: var(--grad-gold); color: #1a1408; border-color: transparent; }

.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input {
  flex: 1; padding: 12px 16px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--text); outline: none; font-size: 13px;
}
.newsletter input:focus { border-color: var(--gold); }

.footer-bottom {
  margin-top: 40px; padding: 24px 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 10px;
}

/* ============ MODAL ============ */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.7); backdrop-filter: blur(8px);
}
.modal-card {
  position: relative; z-index: 1;
  border-radius: var(--r-xl); max-width: 900px; width: 100%;
  max-height: 90vh; overflow: auto; padding: 30px;
  animation: scaleIn .3s ease;
}
.modal-close {
  position: absolute; top: 16px; left: 16px;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.06); display: grid; place-items: center;
}

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 30px; right: 30px; z-index: 500;
  padding: 14px 22px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(120%); opacity: 0;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  font-size: 14px; font-weight: 500; max-width: 360px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: all .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
