/* =============================================================
   Imperial Pet Food — Public Site Styles
   Theme: Premium Dark / Gold
   ============================================================= */

/* ── Google Fonts ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --bg:          #0a0a0a;
  --surface:     #141414;
  --card:        #1a1a1a;
  --card-hover:  #1f1f1f;
  --border:      #2a2a2a;
  --border-light:#333;

  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-dark:   #a8883a;
  --gold-glow:   rgba(201,168,76,0.15);

  --text:        #f0f0f0;
  --text-muted:  #999;
  --text-dim:    #666;

  --success:     #2ecc71;
  --danger:      #e74c3c;
  --warning:     #f39c12;
  --info:        #3498db;

  --radius:      8px;
  --radius-lg:   14px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.6);
  --transition:  0.2s ease;

  --font:        'Inter', sans-serif;
  --font-serif:  'Playfair Display', serif;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

ul { list-style: none; }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { color: var(--text-muted); margin-bottom: 1rem; }
.serif { font-family: var(--font-serif); }

/* ── Container ───────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ── Section ─────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-title .gold-line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: var(--font);
  white-space: nowrap;
  text-decoration: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #000;
  box-shadow: 0 4px 20px var(--gold-glow);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold-glow);
  color: var(--gold-light);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-light); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c0392b; color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,10,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.1;
}
.nav-logo-sub { font-size: 0.65rem; color: var(--text-dim); font-family: var(--font); letter-spacing: 0.1em; text-transform: uppercase; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); background: var(--gold-glow); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cart-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.cart-badge:hover { color: var(--gold); border-color: var(--gold); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Language Switcher ───────────────────────────────────── */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}
.lang-btn:hover,
.lang-switcher.open .lang-btn { border-color: var(--gold); color: var(--gold); }
.lang-flag { font-size: 1.1rem; line-height: 1; }
.lang-code { letter-spacing: 0.05em; }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 160px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.lang-option:hover { background: var(--gold-glow); color: var(--gold); }
.lang-option.lang-active { color: var(--gold); background: var(--gold-glow); }

/* ── Mobile nav toggle ───────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero / Carousel ─────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 70px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.4) 50%,
    transparent 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
  padding: 0 24px;
  margin: 0 auto 0 max(24px, calc((100vw - 1280px) / 2 + 24px));
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.hero-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }
.hero-arrows {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}
.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: #000; }

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover { border-color: var(--border-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.card-body { padding: 24px; }
.card-img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ── Product grid ────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card { cursor: pointer; }
.product-card .card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--surface); }
.product-card .card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .card-img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-category {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 6px;
}
.product-name { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.product-price { font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.product-price-small { font-size: 0.8rem; color: var(--text-dim); text-decoration: line-through; margin-left: 6px; }
.product-actions { display: flex; gap: 8px; margin-top: 14px; }

/* ── Stats strip ─────────────────────────────────────────── */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border);
}
.stat-item {
  padding: 48px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── About section ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--gold), transparent);
  border-radius: calc(var(--radius-lg) + 3px);
  z-index: -1;
}
.about-text h2 { margin-bottom: 20px; }
.about-text h2 span { color: var(--gold); }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 14px; }
.testimonial-text { color: var(--text-muted); font-style: italic; margin-bottom: 20px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.testimonial-company { font-size: 0.8rem; color: var(--text-dim); }

/* ── Partners strip ──────────────────────────────────────── */
.partners-strip { background: var(--surface); padding: 48px 0; }
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
}
.partner-logo {
  height: 48px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(1);
  transition: all var(--transition);
}
.partner-logo:hover { opacity: 1; filter: none; }

/* ── News cards ──────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.news-card .card-img { aspect-ratio: 16/9; }
.news-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.news-date { font-size: 0.8rem; color: var(--text-dim); }
.news-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 600;
}
.news-title { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.news-excerpt { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 14px; }

/* ── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; }
.form-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.form-control::placeholder { color: var(--text-dim); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 0.8rem; color: var(--text-dim); margin-top: 4px; }

/* ── Alert / Flash ───────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success { background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.3); color: #2ecc71; }
.alert-danger  { background: rgba(231,76,60,0.1);  border: 1px solid rgba(231,76,60,0.3);  color: #e74c3c; }
.alert-warning { background: rgba(243,156,18,0.1); border: 1px solid rgba(243,156,18,0.3); color: #f39c12; }
.alert-info    { background: rgba(52,152,219,0.1); border: 1px solid rgba(52,152,219,0.3); color: #3498db; }

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-success   { background: rgba(46,204,113,0.15); color: #2ecc71; }
.badge-danger    { background: rgba(231,76,60,0.15);  color: #e74c3c; }
.badge-warning   { background: rgba(243,156,18,0.15); color: #f39c12; }
.badge-info      { background: rgba(52,152,219,0.15); color: #3498db; }
.badge-primary   { background: rgba(201,168,76,0.15); color: var(--gold); }
.badge-secondary { background: rgba(255,255,255,0.06); color: var(--text-dim); }

/* ── Auth pages ──────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at top right, rgba(201,168,76,0.08) 0%, transparent 60%),
    var(--bg);
}
.auth-box {
  width: 100%;
  max-width: 460px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo .logo-mark {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
}
.auth-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; text-align: center; }
.auth-subtitle { font-size: 0.9rem; color: var(--text-muted); text-align: center; margin-bottom: 32px; }

/* ── Contact page ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-glow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 4px; }
.contact-info-value { font-size: 0.95rem; color: var(--text); }

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  padding: 120px 0 60px;
  background:
    radial-gradient(ellipse at top, rgba(201,168,76,0.06) 0%, transparent 70%),
    var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-dim);
  justify-content: center;
  margin-top: 16px;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--border-light); }
.breadcrumb-current { color: var(--gold); }

/* ── Pagination ──────────────────────────────────────────── */
.pagination-nav { display: flex; justify-content: center; margin-top: 48px; }
.pagination { display: flex; gap: 6px; }
.page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.page-item.active .page-link,
.page-item .page-link:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* ── Map / Find reseller ─────────────────────────────────── */
#reseller-map { height: 500px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }

/* ── Chat widget ─────────────────────────────────────────── */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
}
.chat-toggle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  transition: all var(--transition);
}
.chat-toggle-btn:hover { transform: scale(1.1); }
.chat-box {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  height: 480px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}
.chat-box.open { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header h4 { font-size: 0.95rem; font-weight: 700; }
.chat-close { background: none; border: none; cursor: pointer; color: rgba(0,0,0,0.6); font-size: 1rem; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 80%; }
.chat-msg.visitor { align-self: flex-end; }
.chat-msg.admin   { align-self: flex-start; }
.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.chat-msg.visitor .chat-bubble { background: var(--gold); color: #000; border-bottom-right-radius: 4px; }
.chat-msg.admin .chat-bubble   { background: var(--surface); color: var(--text); border-bottom-left-radius: 4px; }
.chat-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}
.chat-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  color: var(--text);
  font-size: 0.88rem;
  font-family: var(--font);
  outline: none;
}
.chat-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  color: #000;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.chat-send:hover { background: var(--gold-light); }

/* ── Cookie banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── Contest wheel ───────────────────────────────────────── */
.contest-section { text-align: center; }
.wheel-wrap { position: relative; display: inline-block; margin: 32px auto; }
#spin-canvas { display: block; border-radius: 50%; box-shadow: 0 0 40px rgba(201,168,76,0.3); }
.spin-btn-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #000;
  border: 3px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition);
}
.spin-btn-center:hover { background: var(--gold); color: #000; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 36px; }
.footer-logo-text { font-family: var(--font-serif); font-size: 1.2rem; color: var(--gold); }
.footer-desc { font-size: 0.9rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--gold-glow); color: var(--gold); border-color: var(--gold); }
.footer-heading { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 16px; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: var(--text-dim); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--gold); }

/* ── Utility classes ─────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.w-100 { width: 100%; }
.hidden { display: none !important; }
.gold-text { background: linear-gradient(90deg, var(--gold), var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── Product detail ──────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-gallery { }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 72px; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { margin-bottom: 8px; }
.product-sku { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 16px; }
.product-price-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; }
.product-price-label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.product-price-big { font-size: 2rem; font-weight: 700; color: var(--gold); }
.qty-control { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; width: fit-content; }
.qty-btn { width: 36px; height: 36px; background: var(--surface); border: none; color: var(--text); cursor: pointer; font-size: 1rem; transition: background var(--transition); }
.qty-btn:hover { background: var(--border); }
.qty-input { width: 60px; height: 36px; background: transparent; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); color: var(--text); text-align: center; font-family: var(--font); font-size: 0.95rem; }

/* ── 404 page ────────────────────────────────────────────── */
.not-found-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.not-found-code { font-size: 8rem; font-weight: 800; line-height: 1; color: var(--border-light); margin-bottom: 8px; }
.not-found-code span { color: var(--gold); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    z-index: 999;
    gap: 4px;
  }
  .nav-links.mobile-open a { padding: 12px 16px; width: 100%; }
  .hero-content { margin-left: 24px; }
  .hero-arrows { display: none; }
  .hero-actions { flex-direction: column; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .product-detail { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .chat-box { width: 300px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .auth-box { padding: 32px 24px; }
  .section { padding: 56px 0; }
}
