/* ══════════════════════════════════════════════════════
   POLICE KISH — Premium Design System
   Dark luxury: charcoal · gold · off-white
   RTL Farsi · Vazirmatn · Responsive 390px+
══════════════════════════════════════════════════════ */

/* ── 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 {
  --bg:          #0E0E0E;
  --bg-2:        #141414;
  --bg-3:        #1A1A1A;
  --bg-card:     #161616;
  --gold:        #C9A84C;
  --gold-light:  #DFC068;
  --gold-dim:    #9A7A34;
  --gold-10:     rgba(201,168,76,.10);
  --gold-20:     rgba(201,168,76,.20);
  --gold-40:     rgba(201,168,76,.40);
  --text:        #E8E0D0;
  --text-muted:  #8A8070;
  --text-dim:    #5A5348;
  --border:      rgba(201,168,76,.18);
  --border-card: rgba(201,168,76,.14);
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   14px;
  --shadow-gold: 0 0 24px rgba(201,168,76,.15), 0 4px 24px rgba(0,0,0,.5);
  --shadow-card: 0 2px 20px rgba(0,0,0,.6), 0 0 0 1px var(--border-card);
  --transition:  220ms cubic-bezier(.4,0,.2,1);
  --header-h:    72px;
  --container:   1200px;
}

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

/* ── Container ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: #0A0A0A;
  border: 1px solid var(--gold);
  box-shadow: 0 0 18px rgba(201,168,76,.25);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 0 32px rgba(201,168,76,.45);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-40);
}
.btn-outline:hover {
  background: var(--gold-10);
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(201,168,76,.2);
}
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ── Section headings ────────────────────────────────── */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.gold-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: none;
  margin: 0;
  opacity: .5;
}

/* ══════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(14,14,14,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,.7);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo { flex-shrink: 0; }
.site-logo svg { display: block; }

.main-nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; right: 10px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: calc(100% - 20px); }
.nav-link.active { color: var(--gold); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.header-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.header-icon-btn:hover { color: var(--gold); background: var(--gold-10); }
.cart-badge {
  position: absolute;
  top: 4px; left: 4px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--gold);
  color: #0A0A0A;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.hamburger:hover { color: var(--gold); background: var(--gold-10); }
.hamburger span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  width: 22px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.mobile-menu.open { max-height: 500px; }
.mobile-nav-list { padding: 16px 0 24px; }
.mobile-nav-link {
  display: block;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color var(--transition), padding-right var(--transition);
}
.mobile-nav-link:hover { color: var(--gold); padding-right: 28px; }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - var(--header-h));
  max-height: 700px;
  overflow: hidden;
  position: relative;
}
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 80px) clamp(24px, 5vw, 64px);
  background: linear-gradient(90deg, var(--bg) 60%, rgba(14,14,14,.7));
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title span { color: var(--gold); }
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-feature svg { color: var(--gold); flex-shrink: 0; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════
   CATEGORY STRIP
══════════════════════════════════════════════════════ */
.cat-section {
  padding: 64px 0;
  background: var(--bg-2);
}
.cat-section .section-header {
  text-align: center;
  margin-bottom: 44px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, var(--gold-10) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}
.cat-card:hover {
  border-color: var(--gold-40);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.cat-card:hover::before { opacity: 1; }
.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--gold);
  border: 1px solid var(--gold-20);
  transition: background var(--transition);
}
.cat-card:hover .cat-icon { background: var(--gold-20); }
.cat-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.cat-count {
  font-size: 12px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════════════════ */
.products-section {
  padding: 72px 0;
  background: var(--bg);
}
.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 16px;
  flex-wrap: wrap;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--gold-40);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.product-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #121212;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #0A0A0A;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}
.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-cat {
  font-size: 11px;
  color: var(--gold-dim);
  font-weight: 500;
  letter-spacing: 1px;
}
.product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-top: auto;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.product-sizes {
  display: flex;
  gap: 5px;
}
.size-dot {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  border: 1px solid var(--border);
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), color var(--transition);
}
.product-card:hover .size-dot { border-color: var(--gold-40); color: var(--gold); }
.product-cart-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-40);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.product-cart-btn:hover { background: var(--gold); color: #0A0A0A; }

/* ══════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════ */
.trust-section {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  border-left: 1px solid var(--border);
  transition: background var(--transition);
}
.trust-item:last-child { border-left: none; }
.trust-item:hover { background: var(--gold-10); }
.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-10);
  border: 1px solid var(--gold-20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.trust-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.trust-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════
   SIZE GUIDE BANNER
══════════════════════════════════════════════════════ */
.size-guide-banner {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.size-guide-bg {
  position: absolute;
  inset: 0;
}
.size-guide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.size-guide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,14,14,.96) 40%, rgba(14,14,14,.7) 100%);
}
.size-guide-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.size-guide-content .section-label { margin-bottom: 14px; }
.size-guide-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.4;
}
.size-guide-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.8;
}
.size-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid var(--gold-40);
  padding-bottom: 2px;
  transition: border-color var(--transition), gap var(--transition);
}
.size-guide-link:hover { border-color: var(--gold); gap: 14px; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo { margin-bottom: 14px; }
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 22px;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.social-link:hover { color: var(--gold); border-color: var(--gold-40); background: var(--gold-10); }

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition), padding-right var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-right: 6px; }

.footer-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  direction: ltr;
  text-align: left;
}
.footer-phone svg { color: var(--gold); flex-shrink: 0; }
.footer-phone a { color: inherit; }
.footer-phone a:hover { color: var(--gold); }
.footer-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  background: var(--bg);
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* ══════════════════════════════════════════════════════
   SHOP PAGE
══════════════════════════════════════════════════════ */
.page-hero {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
}
.page-hero-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--gold); }
.filter-bar {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.filter-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  color: var(--gold);
  border-color: var(--gold-40);
  background: var(--gold-10);
}
.shop-section { padding: 56px 0; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

/* ══════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
══════════════════════════════════════════════════════ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 64px 0;
  align-items: start;
}
.product-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.product-main-img {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  background: #121212;
}
.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.detail-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 24px;
}
.detail-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 28px;
}
.size-picker { margin-bottom: 28px; }
.size-picker-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}
.size-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.size-btn {
  min-width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  padding: 0 10px;
  transition: all var(--transition);
}
.size-btn:hover { border-color: var(--gold-40); color: var(--gold); }
.size-btn.selected { border-color: var(--gold); color: var(--gold); background: var(--gold-10); }

/* ══════════════════════════════════════════════════════
   CART PAGE
══════════════════════════════════════════════════════ */
.cart-section { padding: 56px 0; }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: right;
}
.cart-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 14px;
  color: var(--text);
}
.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.cart-summary-row:last-of-type { border-bottom: none; }
.cart-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════
   FORMS (Account / Contact)
══════════════════════════════════════════════════════ */
.form-section {
  padding: 64px 0;
  display: flex;
  justify-content: center;
}
.form-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  text-align: center;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  direction: rtl;
}
.form-input::placeholder { color: var(--text-dim); }
.form-input:focus {
  border-color: var(--gold-40);
  box-shadow: 0 0 0 3px rgba(201,168,76,.08);
}
textarea.form-input { min-height: 110px; resize: vertical; }
.form-error {
  background: rgba(220,50,50,.1);
  border: 1px solid rgba(220,50,50,.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: #e07070;
  margin-bottom: 18px;
}
.form-success {
  background: rgba(50,200,100,.1);
  border: 1px solid rgba(50,200,100,.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: #5cd48a;
  margin-bottom: 18px;
}
.form-link {
  font-size: 13px;
  color: var(--gold);
  text-align: center;
  margin-top: 16px;
}
.form-link a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════
   ABOUT / BLOG / GALLERY STUBS
══════════════════════════════════════════════════════ */
.content-section { padding: 64px 0; }
.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.content-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.content-img img { width: 100%; height: auto; display: block; }
.prose { font-size: 15px; color: var(--text-muted); line-height: 1.9; }
.prose p { margin-bottom: 16px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.blog-card:hover { border-color: var(--gold-40); transform: translateY(-3px); }
.blog-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-body { padding: 20px; }
.blog-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.blog-date { font-size: 12px; color: var(--text-muted); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}
.gallery-item:hover { border-color: var(--gold-40); transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }

/* ══════════════════════════════════════════════════════
   ADMIN
══════════════════════════════════════════════════════ */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - var(--header-h));
}
.admin-sidebar {
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  padding: 28px 0;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.admin-nav-link:hover, .admin-nav-link.active {
  color: var(--gold);
  background: var(--gold-10);
}
.admin-content { padding: 32px; }
.admin-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th {
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--text);
}
.data-table tr:hover td { background: rgba(255,255,255,.02); }

/* ══════════════════════════════════════════════════════
   EMPTY / 404
══════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-state svg { color: var(--gold-dim); margin: 0 auto 20px; }
.empty-state h3 { font-size: 20px; color: var(--text); margin-bottom: 10px; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .product-detail { grid-template-columns: 1fr; gap: 36px; }
  .product-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr; min-height: auto; max-height: none; }
  .hero-image { aspect-ratio: 16/9; }
  .hero-image::after { background: linear-gradient(180deg, transparent 40%, var(--bg) 100%); }
  .hero-content { padding: 32px 20px 48px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-left: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }
  .content-grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { padding: 24px 14px; }
  .hero-title { font-size: 24px; }
  .products-header { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 28px 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 390px) {
  body { font-size: 14px; }
  .container { padding-inline: 14px; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════
   CHECKOUT PAGE
══════════════════════════════════════════════════════ */
.checkout-section { padding: 56px 0; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}
.checkout-block {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.checkout-block-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.checkout-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.checkout-summary-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.checkout-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.checkout-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkout-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.checkout-item-info { flex: 1; min-width: 0; }
.checkout-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkout-item-meta { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.checkout-item-price { font-size: 13px; font-weight: 600; color: var(--gold); flex-shrink: 0; }
.checkout-totals {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text);
}
.checkout-grand-total {
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 15px;
}

/* ── Quantity picker (product detail) ───────────────── */
.qty-picker { margin-bottom: 24px; }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 10px;
}
.qty-btn {
  width: 40px;
  height: 40px;
  font-size: 18px;
  color: var(--text-muted);
  background: var(--bg-3);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), background var(--transition);
  font-family: inherit;
}
.qty-btn:hover { color: var(--gold); background: var(--gold-10); }
.qty-input {
  width: 52px;
  height: 40px;
  text-align: center;
  background: var(--bg-2);
  color: var(--text);
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ══════════════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════════════ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
