/* ================================================================
   شهر قطعات طالب زاده — Design System
   Palette: #0D0D0D bg | #B80015 crimson | #C9A035 gold | #F5F5F5 white
================================================================ */

/* ── Vazirmatn Self-hosted ────────────────────────────────────── */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-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;
}

/* ── Custom Properties ───────────────────────────────────────── */
:root {
  --bg:          #0D0D0D;
  --bg-2:        #1A1A1A;
  --bg-3:        #1E1E1E;
  --bg-4:        #242424;
  --crimson:     #B80015;
  --crimson-d:   #8f0010;
  --crimson-l:   #d4001a;
  --gold:        #C9A035;
  --gold-d:      #a07c20;
  --gold-l:      #e2b840;
  --white:       #F5F5F5;
  --gray-100:    #E8E8E8;
  --gray-300:    #B0B0B0;
  --gray-500:    #707070;
  --gray-700:    #3a3a3a;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.45);
  --shadow-md:   0 4px 20px rgba(0,0,0,.6);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.7);
  --shadow-gold: 0 0 20px rgba(201,160,53,.18);
  --shadow-red:  0 0 20px rgba(184,0,21,.25);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --transition:  .22s ease;
  --font:        'Vazirmatn', Tahoma, Arial, sans-serif;
}

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

/* ── Typography scale ────────────────────────────────────────── */
.t-hero   { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.3; }
.t-h1     { font-size: clamp(1.35rem, 2.5vw, 2rem);  font-weight: 700; }
.t-h2     { font-size: clamp(1.15rem, 2vw,  1.6rem); font-weight: 700; }
.t-h3     { font-size: clamp(1rem,    1.5vw, 1.25rem);font-weight: 600; }
.t-body   { font-size: 0.95rem; }
.t-sm     { font-size: 0.82rem; }
.t-xs     { font-size: 0.72rem; }

/* ── Container ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 640px) { .container { padding-inline: 16px; } }

/* ── Utility ─────────────────────────────────────────────────── */
.text-gold     { color: var(--gold); }
.text-crimson  { color: var(--crimson); }
.text-white    { color: var(--white); }
.text-muted    { color: var(--gray-500); }
.text-gray     { color: var(--gray-300); }
.fw-bold       { font-weight: 700; }
.fw-semi       { font-weight: 600; }
.ltr           { direction: ltr; unicode-bidi: embed; }
.d-none        { display: none !important; }
.d-flex        { display: flex; }
.align-center  { align-items: center; }
.gap-2         { gap: .5rem; }
.gap-3         { gap: .75rem; }
.gap-4         { gap: 1rem; }
.mt-1          { margin-top: .25rem; }
.mt-2          { margin-top: .5rem; }
.mt-4          { margin-top: 1rem; }
.mb-2          { margin-bottom: .5rem; }
.mb-4          { margin-bottom: 1rem; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .55rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--transition), border-color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--crimson);
  border-color: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--crimson-l);
  border-color: var(--gold-l);
  box-shadow: 0 0 28px rgba(184,0,21,.45);
}
.btn-secondary {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-secondary:hover {
  background: rgba(201,160,53,.12);
  border-color: var(--gold-l);
  color: var(--gold-l);
}
.btn-outline {
  background: transparent;
  border-color: var(--gray-500);
  color: var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--gray-300);
  color: var(--white);
}
.btn-sm { padding: .38rem 1rem; font-size: .82rem; }
.btn-lg { padding: .75rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-3);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ── Form elements ───────────────────────────────────────────── */
.form-group    { margin-bottom: 1.2rem; }
.form-label    { display: block; margin-bottom: .4rem; font-size: .88rem; color: var(--gray-300); font-weight: 500; }
.form-control  {
  width: 100%;
  padding: .65rem 1rem;
  background: var(--bg-4);
  border: 1.5px solid var(--gray-700);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  direction: rtl;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,160,53,.15);
}
.form-control::placeholder { color: var(--gray-500); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
  padding: .8rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}
.alert-success { background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.3); color: #4ade80; }
.alert-error   { background: rgba(184,0,21,.12);  border-color: rgba(184,0,21,.3);  color: #f87171; }
.alert-info    { background: rgba(201,160,53,.1);  border-color: rgba(201,160,53,.3);color: var(--gold-l); }

/* ── Badge ───────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
}
.badge-red  { background: var(--crimson); color: #fff; }
.badge-gold { background: var(--gold); color: #000; }

/* ── Divider ─────────────────────────────────────────────────── */
.divider       { height: 1px; background: var(--gray-700); margin: 1.5rem 0; }
.divider-gold  { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ── Section layout ──────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.section-title h2 .accent-line {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.section-title p {
  color: var(--gray-300);
  margin-top: .5rem;
  font-size: .9rem;
}

/* ================================================================
   HEADER
================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-2);
  border-bottom: 1px solid rgba(201,160,53,.15);
  box-shadow: 0 2px 24px rgba(0,0,0,.5);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  background: rgba(18,18,18,.94);
  border-bottom-color: rgba(201,160,53,.34);
  box-shadow: 0 10px 34px rgba(0,0,0,.58), 0 0 22px rgba(184,0,21,.12);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}
.site-logo img.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.site-logo .brand-text {
  display: flex;
  flex-direction: column;
}
.site-logo .brand-fa {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.site-logo .brand-lat {
  font-size: .62rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
  direction: ltr;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  color: var(--gray-100);
  font-size: .88rem;
  font-weight: 500;
  padding: .45rem .85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--gold);
  background: rgba(201,160,53,.08);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.cart-btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--gold);
  font-size: .88rem;
  font-weight: 600;
  padding: .4rem .6rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  position: relative;
}
.cart-btn:hover { background: rgba(201,160,53,.1); }
.cart-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--crimson);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: .3rem;
  border-radius: 4px;
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 999;
  backdrop-filter: blur(4px);
}
.mobile-nav.open { display: flex; flex-direction: column; }
.mobile-nav-inner {
  background: var(--bg-2);
  padding: 1.5rem;
  width: min(320px, 85vw);
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-right: auto;
  border-left: 2px solid rgba(201,160,53,.2);
}
.mobile-nav-inner .nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--gray-300);
  cursor: pointer;
  margin-bottom: .5rem;
}
.mobile-nav-inner a {
  color: var(--gray-100);
  font-size: 1rem;
  font-weight: 500;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition);
}
.mobile-nav-inner a:hover,
.mobile-nav-inner a.active {
  color: var(--gold);
  background: rgba(201,160,53,.08);
  border-color: rgba(201,160,53,.2);
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
}
@media (max-width: 480px) {
  .header-inner { height: 58px; }
  .site-logo .brand-lat { display: none; }
}

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(13,13,13,0.35) 0%,
    rgba(13,13,13,0.60) 40%,
    rgba(13,13,13,0.92) 80%,
    rgba(13,13,13,0.98) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 80px 0;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(184,0,21,.15);
  border: 1px solid rgba(184,0,21,.4);
  color: var(--crimson);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hero-title {
  font-size: clamp(1.55rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: .8rem;
}
.hero-title .gold-line {
  display: inline-block;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 2px;
}
.hero-sub {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--gray-300);
  margin-bottom: 2.2rem;
  line-height: 1.8;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,160,53,.2);
}
.hero-stat-item {
  text-align: right;
}
.hero-stat-item .num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-item .num svg,
.about-stat-num svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}
.hero-stat-item .lbl {
  font-size: .75rem;
  color: var(--gray-500);
  margin-top: .2rem;
}
@media (max-width: 640px) {
  .hero { min-height: 480px; }
  .hero-content { padding: 60px 0 50px; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
}

/* ================================================================
   CATEGORIES
================================================================ */
.categories-section { background: var(--bg); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 720px)  { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  background: var(--bg-2);
  border: 1px solid rgba(201,160,53,.1);
  border-top: 3px solid var(--crimson);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-top-color var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: inherit;
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(184,0,21,.2);
  border-top-color: var(--gold);
}
.cat-card .cat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(201,160,53,.08);
  border: 2px solid rgba(201,160,53,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}
.cat-card:hover .cat-icon {
  background: rgba(201,160,53,.15);
  border-color: var(--gold);
}
.cat-card .cat-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201,160,53,.25);
}
.cat-card .cat-img[src$=".svg"],
.cat-card .cat-img[src*="logo-"] {
  object-fit: contain;
  background: rgba(255,255,255,.92);
  padding: 6px;
}
.cat-card .cat-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
}
.cat-card .cat-count {
  font-size: .75rem;
  color: var(--gray-500);
}
.brand-cat-card {
  align-items: stretch;
  gap: 1.1rem;
  padding: 1.35rem;
}
.brand-cat-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .75rem;
  color: inherit;
}
.brand-subcats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}
.brand-subcats a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .55rem .65rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(201,160,53,.6);
  background: rgba(201,160,53,.16);
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}
.brand-subcats a svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}
.brand-subcats a:hover,
.brand-subcats a:focus-visible {
  color: var(--white);
  border-color: var(--gold);
  background: rgba(201,160,53,.1);
  transform: translateY(-2px);
}
@media (max-width: 480px) {
  .brand-subcats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ================================================================
   ANNOUNCEMENTS
================================================================ */
.ann-section { background: var(--bg-2); }
.ann-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .ann-grid { grid-template-columns: 1fr; } }

.ann-card {
  background: var(--bg-3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-right: 4px solid var(--crimson);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ann-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.ann-date {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(201,160,53,.1);
  border: 1px solid rgba(201,160,53,.2);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 20px;
  width: fit-content;
}
.ann-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.ann-excerpt {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.ann-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--crimson);
  font-size: .82rem;
  font-weight: 600;
  margin-top: .25rem;
  transition: color var(--transition);
}
.ann-link:hover { color: var(--gold); }

/* ================================================================
   PRODUCTS
================================================================ */
.products-section { background: var(--bg); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--bg-3);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  border-color: rgba(201,160,53,.2);
}
.product-img-wrap {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
  background: var(--bg-4);
}
.product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}
.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--crimson);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 20px;
  z-index: 1;
}
.product-body {
  padding: 1rem 1rem .75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.product-cat {
  font-size: .72rem;
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.product-name {
  font-size: .92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  flex: 1;
}
.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  direction: rtl;
}
.product-price-sep {
  display: block;
  height: 1px;
  background: rgba(201,160,53,.2);
  margin: .4rem 0;
}
.product-footer {
  padding: 0 1rem 1rem;
}
.product-footer .btn {
  width: 100%;
  font-size: .82rem;
}

/* ================================================================
   TRUST BAR
================================================================ */
.trust-bar {
  background: var(--bg);
  border-top: 1px solid rgba(201,160,53,.15);
  border-bottom: 1px solid rgba(201,160,53,.15);
  padding: 36px 0;
}
.trust-items {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .75rem 2.5rem;
  flex: 1;
  min-width: 200px;
  border-left: 1px solid rgba(201,160,53,.15);
}
.trust-item:last-child { border-left: none; }
.trust-icon {
  color: var(--gold);
  flex-shrink: 0;
}
.trust-text strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.trust-text span {
  font-size: .75rem;
  color: var(--gray-500);
}
@media (max-width: 640px) {
  .trust-items { flex-direction: column; }
  .trust-item  { border-left: none; border-bottom: 1px solid rgba(201,160,53,.1); padding: .75rem 1rem; }
  .trust-item:last-child { border-bottom: none; }
}

/* ================================================================
   ABOUT TEASER (homepage strip)
================================================================ */
.about-strip {
  background: var(--bg-2);
  padding: 72px 0;
}
.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-strip-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(201,160,53,.2);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.about-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-strip-body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.about-strip-body h2 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--white);
}
.about-strip-body p {
  font-size: .92rem;
  color: var(--gray-300);
  line-height: 1.9;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: .5rem;
}
.about-feat-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .85rem;
  color: var(--gray-300);
}
.about-feat-item .check-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 768px) {
  .about-strip-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-features { grid-template-columns: 1fr; }
}

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: var(--bg-2);
  border-top: 3px solid var(--crimson);
  padding: 60px 0 0;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 3rem;
  padding-bottom: 48px;
}
.footer-col-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(201,160,53,.2);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.2rem;
}
.footer-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.footer-brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}
.footer-desc {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .85rem;
  color: var(--gray-300);
}
.footer-contact-item .icon-wrap { color: var(--gold); flex-shrink: 0; }
.footer-contact-item .phone-num { direction: ltr; unicode-bidi: embed; font-weight: 600; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.footer-links a {
  font-size: .87rem;
  color: var(--gray-300);
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color var(--transition), padding-right var(--transition);
  padding: .2rem 0;
}
.footer-links a:hover {
  color: var(--gold);
  padding-right: 6px;
}
.social-links {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,160,53,.2);
  color: var(--gray-300);
  transition: all var(--transition);
}
.social-link:hover {
  background: rgba(201,160,53,.12);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.trust-badges {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.trust-badge-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,160,53,.15);
  border-radius: var(--radius-sm);
  padding: .5rem .9rem;
  font-size: .7rem;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.5;
}
.trust-badge-item strong { display: block; color: var(--gray-300); font-size: .75rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.2rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom-inner p {
  font-size: .75rem;
  color: var(--gray-700);
}
.footer-bottom-inner p a { color: var(--gray-500); transition: color var(--transition); }
.footer-bottom-inner p a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ================================================================
   PAGE LAYOUTS (stubs for other pages)
================================================================ */
.page-hero {
  background: var(--bg-2);
  padding: 48px 0 36px;
  border-bottom: 1px solid rgba(201,160,53,.1);
}
.page-hero h1 {
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-500); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gray-700); }
.breadcrumb .current { color: var(--gray-300); }

/* ── Product detail ─────────────────────────────────────────── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.product-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(201,160,53,.15);
  aspect-ratio: 1;
}
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}
@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; }
}

/* ── Cart ────────────────────────────────────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  background: var(--bg-2);
  padding: .75rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-500);
  text-align: right;
  border-bottom: 1px solid var(--gray-700);
}
.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  vertical-align: middle;
}
.cart-product-cell { display: flex; align-items: center; gap: .9rem; }
.cart-product-cell img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); }
.qty-ctrl {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--bg-2);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-sm);
  padding: .2rem .4rem;
  width: fit-content;
}
.qty-btn {
  background: none;
  border: none;
  color: var(--gray-300);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color var(--transition);
  padding: .15rem;
}
.qty-btn:hover { color: var(--gold); }
.qty-num { font-size: .88rem; font-weight: 600; min-width: 24px; text-align: center; }
.cart-summary {
  background: var(--bg-2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(201,160,53,.15);
  position: sticky;
  top: 88px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .88rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--gray-300);
}
.cart-summary-row:last-of-type { border-bottom: none; }
.cart-summary-row.total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

/* ── Account / Auth ─────────────────────────────────────────── */
.auth-card {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(201,160,53,.15);
  max-width: 440px;
  margin: 0 auto;
}
.auth-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.75rem;
  text-align: center;
}

/* ── Table (admin) ─────────────────────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.admin-table thead th {
  background: var(--bg-2);
  padding: .75rem 1rem;
  font-weight: 600;
  color: var(--gray-500);
  text-align: right;
  border-bottom: 2px solid var(--gray-700);
  white-space: nowrap;
}
.admin-table tbody td {
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--gray-100);
  vertical-align: middle;
}
.admin-table tbody tr:hover td { background: rgba(255,255,255,.02); }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .6rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  background: var(--bg-2);
  border: 1px solid var(--gray-700);
  color: var(--gray-300);
  transition: all var(--transition);
}
.page-link:hover  { border-color: var(--gold); color: var(--gold); }
.page-link.active { background: var(--crimson); border-color: var(--crimson); color: #fff; }

/* ── Order status pills ─────────────────────────────────────── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .7rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
}
.status-pending    { background: rgba(251,191,36,.12); color: #fbbf24; border: 1px solid rgba(251,191,36,.3); }
.status-processing { background: rgba(59,130,246,.12); color: #60a5fa; border: 1px solid rgba(59,130,246,.3); }
.status-shipped    { background: rgba(168,85,247,.12); color: #c084fc; border: 1px solid rgba(168,85,247,.3); }
.status-delivered  { background: rgba(34,197,94,.12);  color: #4ade80; border: 1px solid rgba(34,197,94,.3); }
.status-cancelled  { background: rgba(239,68,68,.12);  color: #f87171; border: 1px solid rgba(239,68,68,.3); }

/* ── Gallery grid ────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ── Contact ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── Skeleton loader ─────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--bg-3) 25%, var(--bg-4) 50%, var(--bg-3) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--radius-sm);
}

/* ── Scroll to top ────────────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 42px;
  height: 42px;
  background: var(--crimson);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  z-index: 900;
  box-shadow: var(--shadow-red);
  transition: background var(--transition), transform var(--transition);
}
#scroll-top:hover { background: var(--crimson-l); transform: translateY(-2px); }
#scroll-top.visible { display: flex; }

/* ── Scroll reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease, box-shadow var(--transition), border-color var(--transition);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Focus rings ─────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) { outline: none; }

/* ── Smooth scroll on anchor ──────────────────────────────────── */
html { scroll-behavior: smooth; }

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

/* ================================================================
   PAGE BANNER (inner pages header)
================================================================ */
.page-banner {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(201,160,53,.15);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(184,0,21,.04), transparent);
  pointer-events: none;
}
.page-banner-sm { padding: 2rem 0 1.5rem; }
.page-banner-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-top: .75rem;
}
.page-banner-sub {
  color: var(--gray-300);
  font-size: .9rem;
  margin-top: .4rem;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-300); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.bc-sep { color: var(--gray-700); }

/* ================================================================
   SHOP / CATEGORIES PAGE
================================================================ */
.shop-search-wrap { margin-bottom: 1.75rem; }
.shop-search {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--bg-3);
  border: 1.5px solid var(--gray-700);
  border-radius: var(--radius-md);
  padding: .5rem 1rem;
  transition: border-color var(--transition);
  max-width: 520px;
}
.shop-search:focus-within { border-color: var(--gold); }
.shop-search svg { color: var(--gray-500); flex-shrink: 0; }
.shop-search-input {
  border: none;
  background: transparent;
  padding: .3rem 0;
  flex: 1;
  font-size: .9rem;
}
.shop-search-input:focus { box-shadow: none; border: none; }

.cat-filter-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.cat-filter-level {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.cat-filter-level-1 { padding-inline-start: .75rem; }
.cat-filter-level-2 { padding-inline-start: 1.5rem; }
.cat-filter-tab {
  padding: .4rem 1.1rem;
  border-radius: 20px;
  border: 1.5px solid var(--gray-700);
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.cat-filter-tab-level-1 { border-color: rgba(201,160,53,.55); }
.cat-filter-tab-level-2 {
  font-size: .78rem;
  padding: .34rem .9rem;
  color: var(--white);
}
.cat-filter-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255,255,255,.94);
  padding: 2px;
  flex-shrink: 0;
}
.cat-filter-svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.cat-filter-tab:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,160,53,.07); }
.cat-filter-tab.active { background: var(--crimson); border-color: var(--gold); color: #fff; }

.body-choice-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.body-choice-card {
  min-height: 92px;
  border: 1.5px solid rgba(201,160,53,.28);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(184,0,21,.24), rgba(201,160,53,.1)),
    var(--bg-2);
  color: var(--white);
  text-decoration: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 8px 26px rgba(184,0,21,.12);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.body-choice-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 14px 36px rgba(184,0,21,.2);
}
.body-choice-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.body-choice-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(201,160,53,.2);
}
.body-choice-icon svg {
  width: 22px;
  height: 22px;
}
.body-choice-title {
  font-size: 1rem;
  font-weight: 700;
}
.body-choice-arrow {
  color: var(--gold);
  display: inline-flex;
}
@media (max-width: 640px) {
  .body-choice-panel { grid-template-columns: 1fr; }
  .body-choice-card { min-height: 78px; padding: 1rem; }
}

.shop-meta { margin-bottom: 1.5rem; }
.shop-count { font-size: .85rem; color: var(--gray-500); }

/* ── Empty state ─────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.empty-icon { color: var(--gray-700); }
.empty-icon svg { width: 48px; height: 48px; }
.empty-state h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-300); }
.empty-state p  { color: var(--gray-500); font-size: .9rem; }

/* ================================================================
   PRODUCT DETAIL PAGE
================================================================ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}
@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Gallery */
.pd-gallery { display: flex; flex-direction: column; gap: 1rem; }
.pd-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-3);
  border: 1px solid rgba(201,160,53,.15);
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: .5rem; flex-wrap: wrap; }
.pd-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--gray-700);
  cursor: pointer;
  background: none;
  padding: 0;
  transition: border-color var(--transition);
}
.pd-thumb.active, .pd-thumb:hover { border-color: var(--gold); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Info */
.pd-title {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
}
.pd-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pd-badge-item {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .28rem .75rem;
  border-radius: 20px; font-size: .72rem; font-weight: 700;
}
.badge-green { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #4ade80; }
.badge-blue  { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.3); color: #60a5fa; }
.badge-gold  { background: rgba(201,160,53,.1);  border: 1px solid rgba(201,160,53,.3);  color: var(--gold); }
.badge-red   { background: rgba(184,0,21,.1);    border: 1px solid rgba(184,0,21,.3);    color: #f87171; }

.pd-price-box {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-3);
  border: 1.5px solid rgba(201,160,53,.25);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}
.pd-price-label { font-size: .85rem; color: var(--gray-500); }
.pd-price { font-size: 1.35rem; font-weight: 700; color: var(--gold); }
.pd-desc { font-size: .9rem; color: var(--gray-300); line-height: 1.9; margin-bottom: 1rem; }
.pd-add-form { margin-top: 1rem; }
.pd-qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.pd-qty-row .form-label { margin: 0; white-space: nowrap; }
.pd-trust-row {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-700);
}
.pd-trust-item {
  display: flex; align-items: center; gap: .4rem;
  font-size: .78rem; color: var(--gray-500);
}
.pd-trust-item svg { color: var(--gold); width:16px; height:16px; }

/* Qty control */
.qty-control { display: flex; align-items: center; gap: 0; }
.qty-btn {
  width: 36px; height: 36px;
  background: var(--bg-4);
  border: 1.5px solid var(--gray-700);
  color: var(--gray-100);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  border-radius: 0;
}
.qty-btn:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.qty-btn:last-child  { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.qty-btn:hover { background: var(--bg-2); border-color: var(--gold); color: var(--gold); }
.qty-input {
  width: 52px !important;
  text-align: center;
  border-radius: 0 !important;
  border-right: none !important;
  border-left: none !important;
  padding: .4rem !important;
  font-size: .9rem;
}

/* Related section */
.related-section { padding-top: 3rem; border-top: 1px solid var(--gray-700); }

/* ================================================================
   CART PAGE
================================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--bg-2);
  border: 1px solid rgba(201,160,53,.1);
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
}
@media (max-width: 640px) {
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item-actions, .cart-item-subtotal { grid-column: 1/-1; }
}
.cart-item-img { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-size: .92rem; font-weight: 600; color: var(--white); display: block; margin-bottom: .25rem; }
.cart-item-price { font-size: .82rem; color: var(--gray-500); }
.cart-item-actions { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.cart-item-subtotal { font-size: .92rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.cart-qty-form .qty-control { gap: 0; }

/* Cart summary */
.cart-summary {
  background: var(--bg-2);
  border: 1px solid rgba(201,160,53,.15);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}
.cart-summary-title { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.cart-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem 0; font-size: .88rem; color: var(--gray-300);
}
.cart-summary-total { font-size: 1rem; font-weight: 700; color: var(--white); }
.cart-trust {
  display: flex; gap: 1rem; justify-content: center;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--gray-700);
  font-size: .75rem; color: var(--gray-500);
}
.cart-trust div { display: flex; align-items: center; gap: .3rem; }
.cart-trust svg { color: var(--gold); width:14px; height:14px; }

.btn-icon-only {
  background: none; border: none; cursor: pointer;
  color: var(--gray-500); padding: .4rem;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: color var(--transition);
}
.btn-icon-only:hover { color: var(--crimson); }

/* ================================================================
   CHECKOUT PAGE
================================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-col { order: -1; }
}
.checkout-form-col {}
.checkout-summary-col {}
.co-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--gray-700);
}
.co-item:last-child { border-bottom: none; }
.co-item-img { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.co-item-body { flex: 1; }
.co-item-name { font-size: .85rem; font-weight: 600; color: var(--white); }
.co-item-qty  { font-size: .78rem; color: var(--gray-500); }
.co-item-price { font-size: .88rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.checkout-success {
  text-align: center;
  padding: 5rem 1rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.checkout-success-icon {
  width: 80px; height: 80px;
  background: rgba(34,197,94,.1);
  border: 3px solid rgba(34,197,94,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #4ade80;
}
.checkout-success-icon svg { width: 36px; height: 36px; }
.checkout-success h2 { font-size: 1.5rem; font-weight: 700; color: var(--white); }
.checkout-success p  { color: var(--gray-300); font-size: .95rem; max-width: 480px; }
.checkout-success-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* form-row-2 */
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row-2 { grid-template-columns: 1fr; } }

/* ================================================================
   ABOUT PAGE
================================================================ */
.about-hero-section {
  background: var(--bg-2);
  padding: 4rem 0;
}
.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .about-hero-inner { grid-template-columns: 1fr; gap: 2rem; } }
.about-hero-body h2 { font-size: clamp(1.2rem,2.5vw,1.7rem); font-weight:700; color:var(--white); margin-bottom:1rem; }
.about-hero-body p  { font-size:.92rem; color:var(--gray-300); line-height:1.9; margin-bottom:.75rem; }
.about-stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1rem; margin-top: 1.5rem;
}
@media (max-width: 640px) { .about-stats-grid { grid-template-columns: repeat(2,1fr); } }
.about-stat { text-align: center; }
.about-stat-num { font-size: 1.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.about-stat-lbl { font-size: .72rem; color: var(--gray-500); margin-top: .2rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--bg-2);
  border: 1px solid rgba(201,160,53,.1);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon { color: var(--gold); margin-bottom: 1rem; display:flex; justify-content:center; }
.value-icon svg { width: 32px; height: 32px; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .6rem; }
.value-card p  { font-size: .85rem; color: var(--gray-400,var(--gray-500)); line-height: 1.8; }

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid rgba(201,160,53,.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  flex-wrap: wrap;
}
.cta-body h2 { font-size: clamp(1.1rem,2vw,1.45rem); font-weight:700; color:var(--white); margin-bottom:.4rem; }
.cta-body p  { color: var(--gray-300); font-size: .9rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ================================================================
   CONTACT PAGE
================================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-col { order: 2; }
  .contact-form-col { order: 1; }
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--gray-700);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info-label { font-size: .78rem; color: var(--gray-500); margin-bottom: .15rem; }
.contact-info-value { font-size: .9rem; color: var(--gray-100); font-weight: 500; }

/* ================================================================
   AUTH PAGES
================================================================ */
.auth-wrap {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.auth-logo { display: flex; justify-content: center; }
.auth-logo .logo-img { height: 52px; width: auto; }
.auth-title { font-size: 1.2rem; font-weight: 700; color: var(--white); text-align: center; }
.auth-sep { text-align: center; color: var(--gray-500); font-size: .82rem; margin: .5rem 0; }

/* ================================================================
   ACCOUNT PAGES
================================================================ */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 768px) { .account-layout { grid-template-columns: 1fr; } }
.account-sidebar { position: sticky; top: 90px; }
.account-avatar {
  width: 64px; height: 64px;
  background: rgba(201,160,53,.1);
  border: 2px solid rgba(201,160,53,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin: 0 auto 1rem;
}
.account-avatar svg { width: 28px; height: 28px; }
.account-greeting { text-align: center; margin-bottom: 1rem; }
.account-name { font-weight: 700; color: var(--white); font-size: .95rem; }
.account-phone { font-size: .8rem; color: var(--gray-500); direction: ltr; }
.account-nav { display: flex; flex-direction: column; gap: .25rem; }
.account-nav-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--gray-300);
  transition: all var(--transition);
  text-decoration: none;
}
.account-nav-link:hover { background: rgba(201,160,53,.07); color: var(--gold); }
.account-nav-link.active { background: rgba(201,160,53,.1); color: var(--gold); font-weight: 600; }
.account-nav-link svg { width: 16px; height: 16px; flex-shrink: 0; }

.account-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem;
}
@media (max-width: 560px) { .account-stats { grid-template-columns: 1fr; } }
.account-stat-card {
  background: var(--bg-2);
  border: 1px solid rgba(201,160,53,.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}
.account-stat-icon { color: var(--gold); margin-bottom: .5rem; display:flex; justify-content:center; }
.account-stat-icon svg { width:20px; height:20px; }
.account-stat-num { font-size: 1.3rem; font-weight: 700; color: var(--white); }
.account-stat-lbl { font-size: .72rem; color: var(--gray-500); margin-top: .2rem; }
.account-section-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:1rem; }

/* Orders table */
.orders-table-wrap { overflow-x: auto; }
.orders-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.orders-table th { text-align: right; padding: .6rem .75rem; color: var(--gray-500); font-weight: 600; border-bottom: 1px solid var(--gray-700); white-space: nowrap; }
.orders-table td { padding: .75rem; border-bottom: 1px solid rgba(201,160,53,.06); color: var(--gray-100); vertical-align: middle; }
.orders-table tr:last-child td { border-bottom: none; }

/* Order status badges */
.order-status-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .25rem .7rem;
  border-radius: 20px; font-size: .72rem; font-weight: 700;
}

/* Order card (orders list page) */
.orders-list { display: flex; flex-direction: column; gap: 1rem; }
.order-card { padding: 1.25rem; }
.order-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .75rem;
}
.order-id { font-weight: 700; font-size: 1rem; margin-left: .75rem; }
.order-date { font-size: .78rem; color: var(--gray-500); }
.order-card-body { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .75rem; }
.order-detail-row {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .85rem; color: var(--gray-300);
}
.order-detail-row svg { color: var(--gold); flex-shrink: 0; margin-top:2px; width:14px; height:14px; }
.order-card-footer {
  padding-top: .75rem;
  border-top: 1px solid var(--gray-700);
  font-size: .88rem; color: var(--gray-300);
}

/* ================================================================
   ANNOUNCEMENTS (full page)
================================================================ */
.ann-full-grid {
  display: flex; flex-direction: column; gap: 1.5rem;
  max-width: 780px; margin: 0 auto;
}
.ann-full-card { padding: 1.75rem 2rem; border-right: 4px solid var(--crimson); }
.ann-full-header { margin-bottom: .75rem; }
.ann-full-title { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: .6rem; }
.ann-full-text  { font-size: .9rem; color: var(--gray-300); line-height: 1.9; }

/* ================================================================
   GALLERY PAGE
================================================================ */
.gallery-item {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  background: var(--bg-3);
}
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  display: flex; align-items: flex-end;
  padding: .75rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: .82rem; font-weight: 600; color: #fff; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-inner img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-caption { color: var(--gray-300); font-size: .88rem; margin-top: .75rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer;
  transition: background var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.2); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ================================================================
   ABOUT PAGE extra
================================================================ */
.about-hero-section .about-hero-body { display: flex; flex-direction: column; gap: 1rem; }
