/* ═══════════════════════════════════════════════════════════
   GalleryEsii — Premium RTL Persian Design System
   Palette: Navy #1a1a2e | Cream #f8f6f0 | Gold #c9a96e
═══════════════════════════════════════════════════════════ */

/* ── Fonts ─────────────────────────────────────────────── */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@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-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ── CSS Custom Properties ──────────────────────────────── */
:root {
  --navy:        #1a1a2e;
  --navy-mid:    #16213e;
  --navy-deep:   #0f0f23;
  --gold:        #c9a96e;
  --gold-light:  #dfc08a;
  --gold-dark:   #a6834a;
  --cream:       #f8f6f0;
  --cream-dark:  #ede9df;
  --white:       #ffffff;
  --text-dark:   #1a1a2e;
  --text-mid:    #4a4a6a;
  --text-light:  #8888aa;
  --burgundy:    #6b1e3a;

  --shadow-sm:   0 2px 8px rgba(26,26,46,.08);
  --shadow-md:   0 4px 20px rgba(26,26,46,.14);
  --shadow-lg:   0 8px 40px rgba(26,26,46,.18);
  --shadow-gold: 0 4px 24px rgba(201,169,110,.25);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-full: 999px;

  --header-h:    72px;
  --transition:  .25s ease;
}

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

/* ── Layout Utilities ───────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--navy { background: var(--navy-mid); color: var(--white); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: .5rem; }
.section-header .gold-line {
  display: inline-block;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: .75rem auto 1rem;
}
.section-header p { color: var(--text-mid); font-size: .95rem; }
.section--dark .section-header p,
.section--navy .section-header p { color: rgba(255,255,255,.65); }

/* ── SVG Icons ──────────────────────────────────────────── */
.icon { width: 22px; height: 22px; flex-shrink: 0; vertical-align: middle; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }
.icon--gold { color: var(--gold); }
.icon--white { color: var(--white); }

/* ── Flash Messages ─────────────────────────────────────── */
.flash {
  position: fixed; top: calc(var(--header-h) + 8px); left: 50%;
  transform: translateX(-50%);
  padding: .75rem 2rem; border-radius: var(--radius-full);
  font-size: .9rem; font-weight: 700; z-index: 9999;
  box-shadow: var(--shadow-md); transition: opacity .4s;
}
.flash--success { background: #1a4a2e; color: #7ee8a2; }
.flash--error   { background: #4a1a1a; color: #f8a0a0; }
.flash--info    { background: var(--navy); color: var(--gold); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  font-size: .9rem; font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer; white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(201,169,110,.4);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}
.btn--outline-gold {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn--outline-white {
  border: 1.5px solid rgba(255,255,255,.5);
  color: var(--white);
  background: transparent;
}
.btn--outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
}
.btn--sm { padding: .5rem 1.25rem; font-size: .82rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Form Elements ──────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: .4rem; color: var(--text-mid); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  transition: border-color var(--transition);
  font-size: .95rem;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,.12);
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(26,26,46,.97);
  /* mobilenav-fix: backdrop-filter removed (broke fixed .main-nav on scroll) */
  box-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.header-spacer { height: calc(var(--header-h) + 44px); }

/* Logo */
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-fa { font-size: 1.25rem; font-weight: 900; color: var(--gold); letter-spacing: .02em; }
.logo-lat { font-size: .65rem; font-weight: 400; color: rgba(255,255,255,.45); letter-spacing: .12em; text-transform: uppercase; }
.logo--footer .logo-fa { color: var(--gold); }
.logo--footer .logo-lat { color: rgba(255,255,255,.35); }

/* Nav */
.main-nav ul { display: flex; gap: .25rem; align-items: center; }
.main-nav ul li a {
  padding: .45rem .85rem;
  font-size: .9rem; font-weight: 700;
  color: rgba(255,255,255,.75);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--gold);
  background: rgba(201,169,110,.08);
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .25rem; }
.icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.icon-btn:hover { color: var(--gold); background: rgba(201,169,110,.08); }
.cart-badge {
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: var(--gold); color: var(--navy-deep);
  border-radius: 50%; font-size: .65rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; }
.nav-close   { display: none; }

/* Search bar */
.search-bar {
  background: var(--navy-deep);
  border-top: 1px solid rgba(201,169,110,.1);
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.search-bar.open { max-height: 72px; padding: .75rem 0; overflow: visible; }
.search-form { display: flex; gap: .5rem; max-width: 500px; }
.search-form input {
  flex: 1; padding: .6rem 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(201,169,110,.2);
  border-radius: var(--radius-sm);
  color: var(--white);
}
.search-form input::placeholder { color: rgba(255,255,255,.35); }
.search-form button {
  padding: .6rem .9rem;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: var(--radius-sm);
  display: flex; align-items: center;
}

/* Nav overlay */
.nav-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(2px);
}
.nav-overlay.show { display: block; }

/* ── Hero Slider ─────────────────────────────────────────── */
.hero {
  position: relative;
  height: min(92vh, 800px);
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-slides { display: flex; height: 100%; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.hero-slide {
  min-width: 100%; height: 100%;
  position: relative;
  display: flex; align-items: center;
}
.hero-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
}
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,10,30,.82) 40%, rgba(10,10,30,.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-right: 8%;
  max-width: 600px;
}
.hero-content .eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700;
  color: var(--gold);
  letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding: .3rem .9rem;
  border: 1px solid rgba(201,169,110,.35);
  border-radius: var(--radius-full);
  background: rgba(201,169,110,.06);
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero-content h1 span { color: var(--gold); }
.hero-content p {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 420px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slider controls */
.hero-dots {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: .5rem; z-index: 5;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none; padding: 0;
  transition: all .3s;
  cursor: pointer;
}
.hero-dot.active {
  width: 28px; border-radius: 4px;
  background: var(--gold);
}
.hero-arrow {
  position: absolute; top: 50%; z-index: 5;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hero-arrow--prev { right: 1.5rem; }
.hero-arrow--next { left: 1.5rem; }

/* ── Brands Strip ───────────────────────────────────────── */
.brands-strip { background: var(--white); padding: 2rem 0; border-bottom: 1px solid var(--cream-dark); }
.brands-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; overflow: hidden;
}
.brand-item {
  flex: 1; text-align: center;
  padding: .75rem 1rem;
  border-right: 1px solid var(--cream-dark);
  color: var(--text-light);
  font-size: .9rem; font-weight: 700;
  letter-spacing: .1em;
  transition: color var(--transition);
  white-space: nowrap;
}
.brand-item:first-child { border-right: none; }
.brand-item:hover { color: var(--gold); }

/* ── Stats Bar ──────────────────────────────────────────── */
.stats-bar { background: var(--navy); padding: 2.5rem 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.08);
}
.stat-item {
  text-align: center; padding: 1.5rem;
  background: var(--navy);
}
.stat-item .num {
  font-size: 1.9rem; font-weight: 900;
  color: var(--gold); line-height: 1.1;
  display: block;
}
.stat-item .lbl { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: .35rem; }

/* ── Product Grid ───────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1.5px solid transparent;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.product-card .card-img {
  aspect-ratio: 1/1;
  overflow: hidden; background: var(--cream);
  position: relative;
}
.product-card .card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .card-img img { transform: scale(1.07); }
.product-card .card-badge {
  position: absolute; top: .75rem; right: .75rem;
  background: var(--gold); color: var(--navy);
  font-size: .7rem; font-weight: 700;
  padding: .2rem .6rem; border-radius: var(--radius-full);
}
.product-card .card-body {
  padding: 1.1rem 1rem 1.25rem;
  display: flex; flex-direction: column; flex: 1;
}
.product-card .card-cat {
  font-size: .75rem; color: var(--gold); font-weight: 700;
  margin-bottom: .35rem; letter-spacing: .04em;
}
.product-card .card-name {
  font-size: .92rem; font-weight: 700; color: var(--navy);
  margin-bottom: .6rem; flex: 1; line-height: 1.4;
}
.product-card .card-price {
  font-size: 1rem; font-weight: 900; color: var(--gold);
  margin-bottom: .9rem;
}
.product-card .card-price .old { text-decoration: line-through; color: var(--text-light); font-size: .8rem; font-weight: 400; margin-right: .5rem; }

/* ── Category Banners ───────────────────────────────────── */
.cat-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.cat-banner {
  position: relative; border-radius: var(--radius-md);
  overflow: hidden; min-height: 320px;
  display: flex; align-items: flex-end;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}
.cat-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.cat-banner:hover img { transform: scale(1.05); }
.cat-banner::after {
  content: ''; position: absolute; inset: 0;
  transition: opacity var(--transition);
}
.cat-banner--men::after   { background: linear-gradient(0deg, rgba(26,26,46,.92) 30%, rgba(26,26,46,.3) 100%); }
.cat-banner--women::after { background: linear-gradient(0deg, rgba(107,30,58,.88) 30%, rgba(107,30,58,.25) 100%); }
.cat-banner:hover::after { opacity: .85; }
.cat-banner-content {
  position: relative; z-index: 1;
  padding: 2rem;
}
.cat-banner-content .tag {
  display: inline-block;
  border: 1px solid rgba(201,169,110,.5); color: var(--gold);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  padding: .2rem .7rem; border-radius: var(--radius-full);
  margin-bottom: .75rem;
}
.cat-banner-content h3 { font-size: 1.6rem; font-weight: 900; color: var(--white); margin-bottom: .5rem; }
.cat-banner-content p { color: rgba(255,255,255,.65); font-size: .85rem; margin-bottom: 1.1rem; }
.cat-banner-content .arrow-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--gold); font-size: .85rem; font-weight: 700;
  transition: gap var(--transition);
}
.cat-banner:hover .arrow-link { gap: .75rem; }

/* ── Countdown Timer ────────────────────────────────────── */
.countdown-section {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  padding: 3.5rem 0;
}
.countdown-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.countdown-text h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 900; color: var(--navy); }
.countdown-text p { color: var(--navy-mid); font-size: .9rem; opacity: .7; margin-top: .35rem; }
.countdown-timer { display: flex; gap: 1rem; align-items: center; }
.timer-block {
  text-align: center;
  background: rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  padding: .9rem 1.2rem;
  min-width: 70px;
  backdrop-filter: blur(4px);
}
.timer-block .num {
  font-size: 1.8rem; font-weight: 900; color: var(--navy);
  display: block; line-height: 1;
}
.timer-block .lbl { font-size: .7rem; color: var(--navy-mid); margin-top: .25rem; opacity: .7; }
.timer-sep { font-size: 1.4rem; font-weight: 900; color: var(--navy); opacity: .5; }
.countdown-cta .btn--navy { min-width: 150px; justify-content: center; }

/* ── Testimonials ───────────────────────────────────────── */
.testimonials-wrap { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.testimonial-card {
  min-width: calc(33.333% - 1rem);
  margin-left: 1.5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.testimonial-stars { display: flex; gap: .2rem; color: var(--gold); margin-bottom: 1rem; }
.testimonial-stars .icon { width: 16px; height: 16px; }
.testimonial-card blockquote {
  font-size: .9rem; color: rgba(255,255,255,.8);
  line-height: 1.75; margin-bottom: 1.25rem;
  font-style: normal;
}
.testimonial-card blockquote::before { content: '«'; color: var(--gold); margin-left: .25rem; }
.testimonial-card blockquote::after  { content: '»'; color: var(--gold); margin-right: .25rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-weight: 900; font-size: .9rem;
  flex-shrink: 0;
}
.author-name { font-weight: 700; color: var(--white); font-size: .88rem; }
.author-title { font-size: .75rem; color: rgba(255,255,255,.45); }

/* ── Blog Cards ─────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card .card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .card-img img { transform: scale(1.05); }
.blog-card .card-body { padding: 1.25rem; }
.blog-card .card-meta { font-size: .75rem; color: var(--gold); font-weight: 700; margin-bottom: .5rem; }
.blog-card .card-title { font-size: .95rem; font-weight: 700; color: var(--navy); line-height: 1.45; margin-bottom: .75rem; }
.blog-card .card-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--gold); font-size: .82rem; font-weight: 700;
  transition: gap var(--transition);
}
.blog-card:hover .card-link { gap: .6rem; }

/* ── Newsletter ─────────────────────────────────────────── */
.newsletter { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); padding: 4rem 0; }
.newsletter-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.newsletter h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); font-weight: 900; color: var(--white); margin-bottom: .75rem; }
.newsletter p { color: rgba(255,255,255,.55); margin-bottom: 2rem; }
.newsletter-form { display: flex; gap: .75rem; }
.newsletter-form input {
  flex: 1; padding: .8rem 1.2rem;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(201,169,110,.25);
  border-radius: var(--radius-sm);
  color: var(--white); font-size: .9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); }
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; padding: 4rem 2rem;
  max-width: 1280px; margin: 0 auto;
}
.footer-col h4 {
  font-size: .9rem; font-weight: 700; color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(201,169,110,.15);
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li a {
  font-size: .85rem; color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-brand p {
  font-size: .85rem; line-height: 1.7;
  color: rgba(255,255,255,.45); margin: 1.1rem 0 1.25rem;
  max-width: 280px;
}
.social-links { display: flex; gap: .5rem; }
.social-link {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.55);
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,169,110,.06); }

.contact-list { display: flex; flex-direction: column; gap: .75rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: rgba(255,255,255,.55); }
.contact-list li .icon { color: var(--gold); flex-shrink: 0; margin-top: .1rem; }
.contact-list li a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.contact-list li a:hover { color: var(--gold); }

.enamad-badge { margin-top: 1.25rem; }
.enamad-placeholder {
  display: inline-flex; padding: .5rem .9rem;
  border: 1px solid rgba(201,169,110,.2);
  border-radius: var(--radius-sm);
  font-size: .75rem; color: rgba(255,255,255,.35);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.3);
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom strong { color: var(--gold); }

/* ── Shop Page ──────────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.shop-sidebar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--header-h) + 1.5rem);
}
.sidebar-section { margin-bottom: 1.75rem; }
.sidebar-section h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: .9rem; border-bottom: 1px solid var(--cream-dark); padding-bottom: .5rem; }
.sidebar-cats { display: flex; flex-direction: column; gap: .3rem; }
.sidebar-cats a {
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .88rem; color: var(--text-mid);
  transition: all var(--transition);
  display: flex; justify-content: space-between; align-items: center;
}
.sidebar-cats a:hover,
.sidebar-cats a.active { background: var(--cream); color: var(--gold); font-weight: 700; }
.sidebar-cats a .count { font-size: .75rem; color: var(--text-light); background: var(--cream); padding: .1rem .4rem; border-radius: var(--radius-full); }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 3.5rem 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; color: var(--white); margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.55); font-size: .9rem; }
.breadcrumb {
  display: flex; gap: .5rem; align-items: center;
  justify-content: center; margin-top: 1rem;
  font-size: .8rem; color: rgba(255,255,255,.45);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span::before { content: '›'; margin-left: .5rem; }

/* ── Cart ───────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.cart-table { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.cart-table table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 1rem 1.25rem; text-align: right; border-bottom: 1px solid var(--cream-dark); font-size: .9rem; }
.cart-table th { font-weight: 700; color: var(--text-mid); font-size: .82rem; background: var(--cream); }
.cart-table td img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); }
.qty-control { display: flex; align-items: center; gap: .5rem; }
.qty-btn { width: 28px; height: 28px; border: 1px solid var(--cream-dark); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: .8rem; transition: all var(--transition); }
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.cart-summary { background: var(--white); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.cart-summary h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--cream-dark); }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; font-size: .88rem; }
.summary-row.total { font-weight: 700; color: var(--navy); border-top: 1px solid var(--cream-dark); margin-top: .5rem; padding-top: .9rem; font-size: 1rem; }
.summary-row.total .price { color: var(--gold); }

/* ── Auth Forms ─────────────────────────────────────────── */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  padding: 2rem;
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.auth-card .auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-card .auth-logo .logo-fa { color: var(--gold); font-size: 1.5rem; }
.auth-card h2 { font-size: 1.3rem; font-weight: 700; text-align: center; margin-bottom: 1.75rem; color: var(--navy); }
.auth-card .auth-footer { text-align: center; margin-top: 1.25rem; font-size: .85rem; color: var(--text-mid); }
.auth-card .auth-footer a { color: var(--gold); font-weight: 700; }

/* ── Product Detail ─────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.product-gallery .main-img { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1; margin-bottom: 1rem; }
.product-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info .price { font-size: 1.5rem; font-weight: 900; color: var(--gold); margin: 1rem 0; }
.product-info .desc { color: var(--text-mid); line-height: 1.8; margin-bottom: 1.5rem; font-size: .9rem; }
.product-info .add-cart { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* ── Checkout ───────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; }
.checkout-form { background: var(--white); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-sm); }
.checkout-form h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--cream-dark); }

/* ── Contact ────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form-card { background: var(--white); border-radius: var(--radius-md); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-info-card { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--white); border-radius: var(--radius-md);
  padding: 1.25rem; box-shadow: var(--shadow-sm);
}
.contact-info-item .ic { width: 44px; height: 44px; background: rgba(201,169,110,.1); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.contact-info-item h4 { font-size: .88rem; font-weight: 700; margin-bottom: .25rem; }
.contact-info-item p { font-size: .85rem; color: var(--text-mid); }

/* ── Gallery ────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.gallery-item:hover img { transform: scale(1.06); }

/* ── About ──────────────────────────────────────────────── */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img { border-radius: var(--radius-md); overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 900; margin-bottom: 1rem; }
.about-text p { color: var(--text-mid); line-height: 1.85; margin-bottom: 1rem; font-size: .92rem; }
.feature-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.feature-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .88rem; }
.feature-item .ic { width: 26px; height: 26px; background: rgba(201,169,110,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }

/* ── Account ────────────────────────────────────────────── */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.account-menu { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.account-menu a {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1.25rem; font-size: .88rem; color: var(--text-mid);
  border-bottom: 1px solid var(--cream-dark);
  transition: all var(--transition);
}
.account-menu a:last-child { border-bottom: none; }
.account-menu a:hover, .account-menu a.active { color: var(--gold); background: rgba(201,169,110,.06); }
.account-panel { background: var(--white); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-sm); }

/* ── Pagination ─────────────────────────────────────────── */
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 700;
  border: 1.5px solid var(--cream-dark);
  color: var(--text-mid);
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination span.current { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ── Misc ───────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--cream-dark); margin: 2rem 0; }
.tag-pill {
  display: inline-flex; align-items: center;
  padding: .25rem .75rem; border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 700;
  background: rgba(201,169,110,.1); color: var(--gold);
}
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state .icon { width: 56px; height: 56px; color: var(--text-light); margin: 0 auto 1rem; }
.empty-state p { color: var(--text-mid); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
}

@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-banners { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }

  /* Mobile nav */
  .main-nav {
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: min(280px, 85vw);
    background: var(--navy);
    z-index: 1100;
    padding: 1.5rem;
    transition: right .3s ease;
    overflow-y: auto;
    display: flex; flex-direction: column;
    visibility: hidden; pointer-events: none;
  }
  .main-nav.open { right: 0; visibility: visible; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 0; margin-top: 2.5rem; }
  .main-nav ul li a { display: block; padding: .9rem 1rem; font-size: 1rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-toggle { display: flex; }
  .nav-close { display: flex; position: absolute; top: 1rem; left: 1rem; color: rgba(255,255,255,.6); }

  .hero { height: 80vh; min-height: 480px; }
  .hero-content { padding-right: 1.25rem; padding-left: 1.25rem; }
  .hero-content h1 { font-size: 1.7rem; }
  .hero-actions { gap: .75rem; }
  .hero-arrow { display: none; }

  .brands-inner { flex-wrap: wrap; }
  .brand-item { min-width: 33%; border-right: none; border-bottom: 1px solid var(--cream-dark); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid,.shop-products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
  .product-card .card-body form,.product-card .btn--full{width:100%}
  .product-card .btn{white-space:nowrap}
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .countdown-inner { flex-direction: column; text-align: center; }
  .countdown-timer { justify-content: center; }

  .testimonial-card { min-width: calc(90vw - 2rem); }

  .newsletter-form { flex-direction: column; }

  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) { display: none; }
}

@media (max-width:540px){
  .products-grid,.shop-products-grid{grid-template-columns:1fr}
}

@media (max-width:768px){body{background-attachment:scroll!important}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}

@media (max-width: 390px) {
  .products-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 1.75rem 1.25rem; }
  .timer-block { padding: .65rem .8rem; min-width: 56px; }
  .timer-block .num { font-size: 1.4rem; }
}

/* nav category dropdown (ticket #55, click-toggle) */
.main-nav .has-dropdown { position: relative; }
.main-nav .nav-cats-toggle { cursor: pointer; }
.main-nav .nav-caret { font-size: .72em; opacity: .75; display: inline-block; transition: transform .2s ease; }
.main-nav .has-dropdown.open .nav-caret { transform: rotate(180deg); }
.main-nav .nav-dropdown { position: absolute; top: 100%; right: 0; min-width: 210px; background: var(--navy); border-radius: 0 0 12px 12px; box-shadow: 0 14px 34px rgba(0,0,0,.4); padding: .35rem 0; margin: 0; list-style: none; display: none; z-index: 1200; }
.main-nav .has-dropdown.open > .nav-dropdown { display: block; }
.main-nav .nav-dropdown li { border: 0; }
.main-nav .nav-dropdown li a { display: block; padding: .6rem 1.2rem; white-space: nowrap; font-size: .9rem; border: 0; }
.main-nav .nav-dropdown li a:hover { background: rgba(255,255,255,.08); }
@media (max-width: 900px) {
  .main-nav .nav-dropdown { position: static; box-shadow: none; background: rgba(255,255,255,.05); border-radius: 8px; margin: .2rem 0 .55rem; min-width: 0; }
  .main-nav .nav-dropdown li a { padding: .7rem 1.5rem; font-size: .92rem; }
}

/* CR808: header logo mark */
.logo--head{flex-direction:row;align-items:center;gap:.55rem}
.logo--head .logo-img{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:0 0 auto;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.logo--head .logo-text{display:flex;flex-direction:column;line-height:1.1}
