/* ============================================================
   VENDORA PREMIUM — DARK LUXURY MARKETPLACE
   Full CSS Rewrite v3.0 | Navy + Gold Theme
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Manrope:wght@400;500;600;700&display=swap");

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes flipIn {
  0% {
    transform: rotateX(90deg);
    opacity: 0;
  }
  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}
@keyframes alertSlide {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
  }
}
@keyframes goldShimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
@keyframes pulseCartBtn {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.2);
  }
  70% {
    transform: scale(1.04);
    box-shadow: 0 0 0 10px rgba(17, 17, 17, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(17, 17, 17, 0);
  }
}
.countdown-num.flip {
  animation: flipIn 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.hero-cta-icon {
  transition: transform 0.25s ease;
}
.hero-cta:hover .hero-cta-icon {
  transform: translateX(5px);
}
.btn-add-cart.pulse-add {
  animation: pulseCartBtn 0.4s ease-out;
  background: var(--button-primary);
  color: #fff;
  border-color: var(--button-primary);
}

/* ============================================================
   DESIGN TOKENS — WHITE LUXURY MODERN
   ============================================================ */
:root {
  --bg-primary: #fafaf8;
  --bg-secondary: #f5f5f3;
  --card-bg: #ffffff;

  --text-primary: #111111;
  --text-secondary: #666666;
  --text-light: #999999;

  --border: #eceae4;

  --button-primary: #111111;
  --button-hover: #222222;

  --success: #3ba776;
  --danger: #e45858;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.04);

  /* Legacy variable mapping to keep existing CSS working but adapted to white luxury */
  --gold: #111111;
  --gold-light: #222222;
  --gold-dark: #000000;
  --gold-soft: #f5f5f3;
  --gold-glow: rgba(0, 0, 0, 0.02);
  --gold-border: #eceae4;

  --primary: #111111;
  --primary-hover: #222222;
  --primary-soft: #f5f5f3;
  --primary-glow: rgba(0, 0, 0, 0.02);

  --bg-1: #fafaf8;
  --bg-2: #f5f5f3;
  --bg-3: #ffffff;
  --body-bg: #fafaf8;
  --surface: #ffffff;
  --surface-2: #f5f5f3;
  --dark-bg: #f5f5f3;
  --dark-surface: #ffffff;

  --border-focus: #111111;
  --dark-border: #eceae4;

  --text-main: #111111;
  --text-muted: #666666;
  --text-placeholder: #999999;
  --text-inverse: #ffffff;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.01);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-gold: 0 10px 30px rgba(0, 0, 0, 0.04);

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-full: 9999px;

  --font: "Inter", system-ui, sans-serif;
  --font-display: "Inter", system-ui, sans-serif;
  --font-button: "Manrope", sans-serif;
  --font-logo: "Playfair Display", Georgia, serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.18s;
  --dur-base: 0.28s;
  --dur-slow: 0.38s;
  --navbar-h: 90px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg-1);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.72;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: var(--font);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-2);
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.5);
}
::selection {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
}

/* ============================================================
   PROFILE DROPDOWN
   ============================================================ */
.nav-profile-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  min-width: 230px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease);
  z-index: 100;
  backdrop-filter: blur(20px);
}
.nav-profile-dropdown:hover .dropdown-menu,
.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: all 0.2s;
  cursor: pointer;
}
.dropdown-item:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}
.dropdown-item.danger {
  color: #f87171;
}
.dropdown-item.danger:hover {
  background: rgba(239, 68, 68, 0.05);
}

/* ============================================================
   NAVBAR — GLASSMORPHISM LUXURY
   ============================================================ */
#main-navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--navbar-h);
  background: rgba(250, 250, 248, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 clamp(30px, 6vw, 80px);
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-mark {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-base) var(--ease);
}
.nav-logo-mark img,
.nav-logo-mark svg {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transform: scale(1.2);
  filter: none;
}
.nav-logo:hover .nav-logo-mark {
  transform: scale(1.08) rotate(-3deg);
}

.nav-logo-text {
  font-family: var(--font-logo);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #111111;
  -webkit-text-fill-color: initial;
  background: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-left: -15px;
  margin-top: 15px;
}

/* Mega Menu Wrapper */
.mega-menu-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Categories button */
.nav-category-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur-fast) var(--ease);
  flex-shrink: 0;
}
.nav-category-btn svg {
  transition: transform var(--dur-fast) var(--ease);
}
.nav-category-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}
.nav-category-btn:hover svg {
  transform: rotate(180deg);
}

/* Mega Dropdown */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: clamp(400px, 50vw, 600px);
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--r-xl);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.04),
    0 0 0 1px var(--border);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 200;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  backdrop-filter: blur(20px);
}
.mega-menu-wrapper:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mega-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  letter-spacing: 0.5px;
}
.mega-link {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition:
    color 0.2s,
    padding-left 0.2s;
  padding-left: 0;
}
.mega-link:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

/* Search bar */
.nav-search {
  flex: 1;
  min-width: 0;
  position: relative;
  max-width: 680px;
  margin: 0 24px;
}
.nav-search input {
  width: 100%;
  height: 52px;
  padding: 0 42px 0 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: all var(--dur-base) var(--ease);
}
.nav-search input::placeholder {
  color: var(--text-light);
}
.nav-search input:focus {
  border-color: var(--text-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.05);
}
.nav-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  transition: color var(--dur-fast) var(--ease);
}
.nav-search input:focus ~ .nav-search-icon {
  color: var(--text-primary);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--gold-border);
  margin: 0 4px;
}

/* Icon button */
.nav-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: var(--r-md);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.nav-icon-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}
.nav-icon-btn.active-cart {
  color: var(--gold);
}

/* Cart badge */
.nav-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 17px;
  height: 17px;
  background: var(--gold);
  color: var(--bg-1);
  font-size: 9px;
  font-weight: 800;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--bg-1);
  pointer-events: none;
  transform: scale(0);
  transition: transform var(--dur-fast) var(--ease);
}
.nav-cart-badge.visible {
  transform: scale(1);
}

/* Auth buttons */
.btn-nav-login {
  padding: 7px 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--r-md);
  transition: all var(--dur-fast) var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-nav-login:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.btn-nav-register {
  padding: 8px 18px;
  background: var(--button-primary);
  border: none;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 12px;
  transition: all var(--dur-fast) var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: none;
}
.btn-nav-register:hover {
  background: var(--button-hover);
  transform: translateY(-1px);
  box-shadow: none;
}

/* User avatar */
.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.nav-user:hover {
  background: rgba(212, 175, 55, 0.08);
}

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--bg-1);
  border: 2px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.nav-role-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  letter-spacing: 0.3px;
}
.nav-role-badge.admin {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}
.nav-role-badge.seller {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}
.nav-role-badge.buyer {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}

/* ============================================================
   RESET & BASE — BODY
   ============================================================ */
#alert-container {
  position: fixed;
  top: calc(var(--navbar-h) + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: max-content;
  max-width: 90vw;
}
.alert {
  padding: 12px 20px;
  border-radius: var(--r-lg);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: alertSlide 0.3s var(--ease) both;
  border: 1px solid transparent;
  backdrop-filter: blur(16px);
}
.alert-success {
  background: #065f46; /* Deep green */
  border-color: #064e3b;
  color: #fff;
}
.alert-error {
  background: #991b1b; /* Deep red */
  border-color: #7f1d1d;
  color: #fff;
}

/* ============================================================
   HERO SECTION — IMMERSIVE VIDEO
   ============================================================ */
.hero-section {
  padding: 0;
}
.hero-landscape {
  position: relative;
  width: 100%;
  height: clamp(320px, 45vw, 520px);
  overflow: hidden;
}
.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.video-background iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}
.hero-landscape-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(5, 11, 24, 0.97) 0%,
    rgba(5, 11, 24, 0.75) 45%,
    rgba(5, 11, 24, 0.2) 100%
  );
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 6%, 80px);
}
.hero-landscape-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--r-full);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-landscape-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero-landscape-title span {
  color: var(--gold);
}
.hero-landscape-sub {
  font-size: clamp(14px, 1.5vw, 17px);
  color: rgba(245, 236, 208, 0.7);
  margin-bottom: 36px;
  line-height: 1.65;
  max-width: 460px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-1);
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur-base) var(--ease);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.35);
}
.hero-cta:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(212, 175, 55, 0.5);
}

/* Hero carousel (old) */
.hero-carousel {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-3);
  height: 340px;
  box-shadow: var(--shadow-lg);
}
.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}
.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 5%, 60px);
  flex-shrink: 0;
}
.hero-slide-1 {
  background: linear-gradient(120deg, #050b18 0%, #0d1b3a 40%, #0a2020 100%);
}
.hero-slide-2 {
  background: linear-gradient(120deg, #090512 0%, #1a1030 40%, #050b18 100%);
}
.hero-slide-3 {
  background: linear-gradient(120deg, #050b18 0%, #0a1820 40%, #021510 100%);
}

.hero-slide::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: var(--r-full);
  background: rgba(212, 175, 55, 0.04);
  right: -80px;
  top: -100px;
  pointer-events: none;
}
.hero-slide::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: var(--r-full);
  background: rgba(212, 175, 55, 0.03);
  right: 80px;
  bottom: -60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}
.hero-title {
  font-family: var(--font-logo);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.5px;
  color: var(--text-main);
  margin-bottom: 24px;
}
.hero-title span {
  color: var(--gold);
}
.hero-sub,
.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 34px;
  letter-spacing: 0.01em;
}

.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.hero-prev {
  left: 14px;
}
.hero-next {
  right: 14px;
}
.hero-prev:hover,
.hero-next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-1);
  transform: translateY(-50%) scale(1.08);
}
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: rgba(212, 175, 55, 0.25);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
  border: none;
  padding: 0;
}
.hero-dot.active {
  background: var(--gold);
  width: 22px;
}

/* Hero mini-cards */
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.hero-visual-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 24px;
  transform: rotate(-4deg) scale(0.9);
}
.hero-mini-card {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-mini-card-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  object-fit: cover;
  background: rgba(212, 175, 55, 0.08);
}
.hero-mini-card-line {
  height: 6px;
  border-radius: var(--r-full);
  background: rgba(212, 175, 55, 0.1);
}
.hero-mini-card-line.short {
  width: 60%;
  background: rgba(212, 175, 55, 0.3);
}

/* ============================================================
   MAIN CONTAINER / LAYOUT
   ============================================================ */
.page-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 36px) clamp(16px, 4vw, 40px) 80px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
}
.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 400;
}
.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--dur-fast) var(--ease);
}
.section-link:hover {
  gap: 8px;
  color: var(--gold-light);
}
.section-sep {
  height: 1px;
  background: var(--gold-border);
  margin: 0 clamp(16px, 4%, 40px);
}

/* ============================================================
   PRODUCT GRID — RESPONSIVE
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ============================================================
   PRODUCT CARD — DARK LUXURY
   ============================================================ */
/* ============================================================
   PRODUCT CARD — WHITE LUXURY
   ============================================================ */
.product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transform: translateY(-8px);
  border-color: var(--border);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-2);
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}
.product-card:hover .product-img {
  transform: scale(1.07);
}

.product-stock-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.badge-green {
  background: rgba(59, 167, 118, 0.12);
  color: var(--success);
}
.badge-red {
  background: rgba(228, 88, 88, 0.12);
  color: var(--danger);
}
.badge-yellow {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}
.badge-gray {
  background: var(--bg-2);
  color: var(--text-secondary);
}

.product-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-shop-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 8px;
}
.product-shop-tag .verified-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--r-full);
  background: var(--text-primary);
  flex-shrink: 0;
}
.product-name {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  font-family: "Manrope", var(--font);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  margin-top: auto;
  padding-top: 10px;
}
.product-stock-text {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 3px;
}

.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--text-primary);
  border-radius: 12px;
  font-family: "Manrope", var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.btn-add-cart:hover {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.btn-add-cart:disabled {
  background: var(--bg-2);
  color: var(--text-light);
  border-color: var(--border);
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   CART DRAWER — DARK LUXURY
   ============================================================ */
#cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(5, 11, 24, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease);
}
#cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  width: 390px;
  max-width: 100vw;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  box-shadow: -8px 0 48px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease);
  border-left: 1px solid var(--border);
}
#cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-item-count-pill {
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 2px 8px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
}
.cart-close-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 18px;
  transition: all var(--dur-fast) var(--ease);
}
.cart-close-btn:hover {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: transparent;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #ffffff;
  transition: all var(--dur-fast) var(--ease);
}
.cart-item:hover {
  border-color: var(--text-secondary);
  background: #ffffff;
}

.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  object-fit: cover;
  background: var(--bg-secondary);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  font-size: 12px;
  color: var(--text-secondary);
}
.cart-item-price strong {
  color: var(--text-primary);
  font-weight: 700;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--r-xs);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--dur-fast) var(--ease);
  line-height: 1;
}
.qty-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: var(--bg-secondary);
}
.qty-value {
  font-size: 13px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
  color: var(--text-primary);
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transition: color var(--dur-fast) var(--ease);
  flex-shrink: 0;
  margin-top: 2px;
}
.cart-item-remove:hover {
  color: var(--danger);
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-secondary);
  text-align: center;
  padding: 40px 20px;
}
.cart-empty svg {
  opacity: 0.2;
}
.cart-empty p {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.cart-empty span {
  font-size: 12px;
  color: var(--text-light);
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-secondary);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  margin-bottom: 18px;
}
.cart-total-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.cart-total-amount {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  text-shadow: none;
}
.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px;
  background: var(--button-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
  box-shadow: none;
}
.btn-checkout:hover {
  background: var(--button-hover);
  box-shadow: none;
  transform: translateY(-2px);
}
.btn-checkout:disabled {
  background: var(--border);
  color: var(--text-light);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   GENERIC BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--dur-base) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-1);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}
.btn-accent {
  background: var(--gold);
  color: var(--bg-1);
  border-color: var(--gold);
}
.btn-accent:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.btn-danger {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}
.btn-danger:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border-color: var(--gold-border);
  color: var(--text-main);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}

/* ============================================================
   GLASS PANEL (Seller/Admin pages)
   ============================================================ */
.glass-panel {
  background: rgba(10, 22, 48, 0.7);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition: all var(--dur-base) var(--ease);
  backdrop-filter: blur(16px);
}
.glass-panel:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.3);
}

/* ============================================================
   FORMS — DARK LUXURY
   ============================================================ */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: #FFFFFF;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: all var(--dur-base) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form-control::placeholder {
  color: var(--text-placeholder);
  font-weight: 400;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  background: rgba(212, 175, 55, 0.03);
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}
select.form-control option {
  background: #FFFFFF;
  color: var(--text-primary);
}
textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* Auth helpers */
.auth-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.auth-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--text-main);
  background: rgba(5, 11, 24, 0.6);
  transition: all 0.3s var(--ease);
  font-family: var(--font);
  outline: none;
}
.auth-input:focus {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.03);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
textarea.auth-input {
  min-height: 80px;
  resize: vertical;
}
.auth-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-1);
  border: none;
  border-radius: var(--r-lg);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
  font-family: var(--font);
}
.auth-submit:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(212, 175, 55, 0.45);
}

/* ============================================================
   AUTH PAGE — DARK LUXURY
   ============================================================ */
.auth-wrapper {
  min-height: calc(100vh - var(--navbar-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 0%,
      rgba(212, 175, 55, 0.08) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #050b18 0%, #081426 100%);
}
.auth-card {
  width: 100%;
  max-width: 480px;
  background: rgba(8, 20, 38, 0.92);
  border-radius: var(--r-2xl);
  border: 1px solid var(--gold-border);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(212, 175, 55, 0.08);
  padding: clamp(32px, 5vw, 52px) clamp(24px, 5vw, 44px);
  animation: cardIn 0.4s var(--ease) both;
  backdrop-filter: blur(20px);
}
.auth-card-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
  gap: 12px;
}
.logo-icon-lg {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.5));
}
.logo-icon-lg img,
.logo-icon-lg svg {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #f5d17a 0%, #d4af37 50%, #e8c96a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.auth-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-md);
  padding: 4px;
  margin-bottom: 28px;
  border: 1px solid var(--gold-border);
}
.auth-tab {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
}
.auth-tab.active {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.2),
    rgba(212, 175, 55, 0.1)
  );
  color: var(--gold);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 175, 55, 0.25);
}
.auth-view h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.auth-view .auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.auth-divider hr {
  flex: 1;
  border: none;
  border-top: 1px solid var(--gold-border);
}
.auth-divider span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-placeholder);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.auth-toggle-link {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}
.auth-toggle-link a {
  color: var(--gold);
  font-weight: 700;
}
.auth-toggle-link a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1.5px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.btn-google:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
}

/* ============================================================
   SELLER / ADMIN PAGES
   ============================================================ */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-main);
  margin-bottom: 8px;
}
.sub-title {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}
th {
  padding: 13px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-border);
  text-align: left;
  background: rgba(212, 175, 55, 0.04);
}
td {
  padding: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  font-size: 14px;
  color: var(--text-main);
}
tr:last-child td {
  border-bottom: none;
}
tr:hover td {
  background: rgba(212, 175, 55, 0.03);
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 24, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease);
  padding: 20px;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  width: 100%;
  max-width: 580px;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--dur-base) var(--ease);
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.modal-overlay.active .modal-container {
  transform: translateY(0);
}

/* modal-content (used by index.html) */
.modal-content {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h2,
.modal-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}
.modal-close,
.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease);
}
.modal-close:hover,
.modal-close-btn:hover {
  background: rgba(228, 88, 88, 0.1);
  color: var(--danger);
  border-color: transparent;
}
.modal-body {
  padding: 24px;
}
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: var(--bg-secondary);
}

/* Stat cards */
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
}
.stat-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--gold);
}

/* ============================================================
   GRAND PRODUCT SPOTLIGHT
   ============================================================ */
#product-spotlight {
  padding: clamp(24px, 4%, 48px) clamp(16px, 4%, 40px) 0;
}

.spotlight-wrap {
  display: flex;
  min-height: 480px;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: rgba(8, 20, 38, 0.9);
  position: relative;
  box-shadow:
    0 32px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px var(--gold-border);
  border: 1px solid var(--gold-border);
}
.spotlight-media {
  flex: 0 0 55%;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
.spotlight-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.85) saturate(1.1);
}
.spotlight-wrap:hover .spotlight-media-img {
  transform: scale(1.04);
}

.spotlight-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 60% at 80% 50%,
      rgba(212, 175, 55, 0.12) 0%,
      transparent 65%
    ),
    linear-gradient(to right, rgba(5, 11, 24, 0.4) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.spotlight-watermark {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 40px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.spotlight-watermark-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse-dot 2s infinite;
}
.spotlight-content {
  flex: 0 0 45%;
  padding: clamp(32px, 4%, 52px) clamp(24px, 4%, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  gap: 0;
}
.spotlight-content::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80px;
  width: 80px;
  background: linear-gradient(to right, transparent, rgba(8, 20, 38, 0.9));
  pointer-events: none;
  z-index: -1;
}
.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.08);
  border-radius: 40px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}
.spotlight-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.spotlight-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 6px;
}
.spotlight-title-accent {
  color: var(--gold);
}
.spotlight-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 20px 0 16px;
}
.spotlight-price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -1px;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.3);
}
.spotlight-price-old {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-placeholder);
  text-decoration: line-through;
}
.spotlight-discount-badge {
  padding: 3px 9px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}
.spotlight-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 320px;
}
.spotlight-shop {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.spotlight-shop-avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--bg-1);
  flex-shrink: 0;
}
.spotlight-shop-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.spotlight-shop-verified {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
}
.spotlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-1);
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.35);
  width: fit-content;
}
.spotlight-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.spotlight-cta:hover::before {
  opacity: 1;
}
.spotlight-cta:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.5);
}
.spotlight-cta-arrow {
  transition: transform 0.3s var(--ease);
}
.spotlight-cta:hover .spotlight-cta-arrow {
  transform: translateX(5px);
}
.spotlight-corner-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 40px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  z-index: 3;
}

/* ============================================================
   FLASH SALE + BENTO GRID
   ============================================================ */
#flash-bento-section {
  padding: clamp(24px, 4%, 48px) clamp(16px, 4%, 40px) 0;
}

.flash-bento-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.flash-fire-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 40px;
  color: #fca5a5;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 14px;
}
.bento-main {
  grid-column: span 3;
  grid-row: span 2;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  min-height: 300px;
  background: linear-gradient(135deg, #081426 0%, #0d1b3a 50%, #050b18 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-border);
}
.bento-main:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    var(--shadow-gold);
}
.bento-main-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 70% at 70% 30%,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 50% at 20% 80%,
      rgba(212, 175, 55, 0.06) 0%,
      transparent 55%
    );
  pointer-events: none;
}
.bento-main-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}
.bento-main-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.bento-main-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 260px;
  position: relative;
  z-index: 2;
}
.bento-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.bento-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bento-stat-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.bento-stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bento-main-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-1);
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
  transition: all 0.25s var(--ease);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}
.bento-main-cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateX(3px);
}

.bento-flash {
  grid-column: span 3;
  grid-row: span 1;
  background: linear-gradient(135deg, #08102a 0%, #0d1840 100%);
  border-radius: var(--r-xl);
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease);
  border: 1px solid var(--gold-border);
}
.bento-flash:hover {
  transform: translateY(-3px);
}
.bento-flash::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.05);
  pointer-events: none;
}
.bento-flash-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.bento-flash-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}
.countdown-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.countdown-num {
  min-width: 46px;
  height: 50px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
  transition: background 0.3s;
}
.countdown-unit:hover .countdown-num {
  background: rgba(212, 175, 55, 0.15);
}
.countdown-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.countdown-sep {
  font-size: 20px;
  font-weight: 900;
  color: var(--gold-border);
  margin-bottom: 16px;
}

.bento-cell {
  grid-column: span 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 140px;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s var(--ease);
  border: 1px solid rgba(212, 175, 55, 0.1);
}
.bento-cell:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    var(--shadow-gold);
}
.bento-cell-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.bento-cell:hover .bento-cell-img {
  transform: scale(1.07);
}
.bento-cell-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 11, 24, 0.75) 0%,
    transparent 55%
  );
  z-index: 1;
}
.bento-cell-content {
  position: relative;
  z-index: 2;
  padding: 12px 14px;
}
.bento-cell-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.bento-cell-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}
.bento-cell-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  margin-top: 3px;
}
.bento-cell-wide {
  grid-column: span 2;
}

/* ============================================================
   CATALOG SECTION
   ============================================================ */
.catalog-section-wrap {
  padding: clamp(24px, 4%, 48px) clamp(16px, 4%, 40px) 0;
}
.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 18px;
}
.catalog-head-left {
}
.catalog-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.catalog-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
  line-height: 1.25;
}
.catalog-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.75;
}

.catalog-filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 10px 20px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.filter-chip:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: var(--bg-secondary);
}
.filter-chip.active {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
  box-shadow: none;
}

/* ============================================================
   PAYMENT MODAL (Snap)
   ============================================================ */
.snap-amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.snap-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.snap-method-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font);
}
.snap-method-btn:hover {
  border-color: var(--text-primary);
  background: var(--bg-secondary);
}
.snap-method-icon {
  width: 44px;
  height: 26px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--text-primary);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge-primary {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.25);
}
.badge-yellow {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.badge-red {
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-primary) !important;
  border-top: 1px solid var(--border) !important;
  color: var(--text-secondary) !important;
}
footer a {
  color: var(--text-primary) !important;
  font-weight: 600;
}
footer a:hover {
  color: var(--text-secondary) !important;
}

/* ============================================================
   BOTTOM NAVIGATION BAR — MOBILE ONLY
   ============================================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 600;
  background: rgba(8, 20, 38, 0.92);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gold-border);
  border-radius: 24px;
  padding: 10px 16px;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(212, 175, 55, 0.08),
    var(--shadow-gold);
  width: calc(100% - 32px);
  max-width: 400px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  color: var(--text-placeholder);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  padding: 6px 4px;
  border-radius: var(--r-md);
  transition: all 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  min-width: 0;
}
.bottom-nav-item:active {
  transform: scale(0.92);
}
.bottom-nav-item.active,
.bottom-nav-item:focus {
  color: var(--gold);
  outline: none;
}
.bottom-nav-item.active svg,
.bottom-nav-item:hover svg {
  stroke: var(--gold);
}
.bottom-nav-item:hover {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}
.bottom-nav-item svg {
  transition: stroke 0.2s;
  flex-shrink: 0;
}

.bottom-nav-cart {
  position: relative;
}
.bn-cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  background: var(--gold);
  color: var(--bg-1);
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid rgba(8, 20, 38, 0.9);
}
.bn-cart-badge.visible {
  display: flex;
}

/* Bottom Nav Avatar styling */
.bn-avatar-wrapper .bn-avatar {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: var(--bg-1) !important;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

/* ============================================================
   RESPONSIVE — ALL BREAKPOINTS
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .bento-main {
    grid-column: span 2;
    grid-row: span 2;
  }
  .bento-flash {
    grid-column: span 2;
  }
  .bento-cell-wide {
    grid-column: span 2;
  }
  .spotlight-title {
    font-size: 32px;
  }
}

/* Mobile hamburger button */
.nav-mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--gold);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: background 0.2s;
}
.nav-mobile-menu-btn:hover {
  background: rgba(212, 175, 55, 0.08);
}

/* Responsive Adjustments for Mobile (Keeping Desktop Layout) */
@media (max-width: 768px) {
  #main-navbar {
    padding: 12px 16px;
    gap: 8px;
  }
  .nav-logo {
    flex: 0 0 auto;
  }
  .mega-menu-wrapper {
    display: none;
  }
  .nav-search {
    flex: 1;
    min-width: 120px;
  }


  .nav-logo-text {
    font-size: 17px;
    letter-spacing: 1.5px;
  }
  .nav-logo-mark img {
    width: 30px;
    height: 30px;
  }
  .nav-icon-btn {
    width: 36px;
    height: 36px;
  }

  .hero-landscape {
    height: clamp(240px, 55vw, 320px);
  }
  .hero-landscape-title {
    font-size: clamp(22px, 6vw, 32px);
  }
  .hero-landscape-sub {
    font-size: 13px;
  }
  .hero-landscape-content {
    padding: 24px 20px;
  }

  .spotlight-wrap {
    flex-direction: column;
    min-height: auto;
  }
  .spotlight-media {
    flex: none;
    width: 100%;
    height: 240px;
  }
  .spotlight-content {
    flex: none;
    width: 100%;
    padding: 28px 20px;
  }
  .spotlight-title {
    font-size: 28px;
  }
  .spotlight-content::after {
    display: none;
  }

  #product-spotlight {
    padding: 24px 16px 0;
  }
  #flash-bento-section {
    padding: 24px 16px 0;
  }
  .catalog-section-wrap {
    padding: 24px 16px 0;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .bento-main {
    grid-column: span 2;
    min-height: 220px;
  }
  .bento-flash {
    grid-column: span 2;
  }
  .bento-cell-wide {
    grid-column: span 2;
  }

  .page-container {
    padding: 20px 16px 90px;
  }
  .auth-card {
    padding: 32px 20px;
  }

  #cart-drawer {
    width: 100%;
    bottom: 80px;
    top: auto;
    border-radius: 20px 20px 0 0;
    max-height: 80vh;
  }

  .modal-content {
    width: 95%;
    border-radius: var(--r-xl);
  }
  .modal-container {
    border-radius: var(--r-xl);
    width: 95%;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .flash-bento-title {
    font-size: 18px;
  }
  .catalog-filter-bar {
    gap: 6px;
  }
  .filter-chip {
    padding: 7px 14px;
    font-size: 12px;
  }

  footer {
    padding: 24px 20px !important;
  }
  .hero-carousel {
    height: 220px;
  }
  .hero-title {
    font-size: 22px;
  }
  .hero-sub {
    display: none;
  }
  .hero-visual {
    display: none;
  }
  .hero-slide {
    padding: 0 40px 0 20px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .products-grid {
    gap: 8px;
  }
  .hero-landscape-title {
    font-size: 22px;
  }
  .spotlight-title {
    font-size: 24px;
  }
  .nav-logo-text {
    font-size: 15px;
    letter-spacing: 1px;
  }
  .bento-main-title {
    font-size: 20px;
  }
}

/* Very small mobile */
@media (max-width: 375px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .hero-landscape-title {
    font-size: 20px;
  }
  .auth-card {
    padding: 28px 16px;
  }
  .bottom-nav {
    padding: 8px 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }
}

/* ============================================================
   PRODUCT DETAIL MODAL SYSTEM
   ============================================================ */
.product-detail-modal-content {
  background: #fafaf8 !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.06);
}

.p-detail-container {
  display: flex;
  gap: 40px;
  padding: 32px;
  color: var(--text-primary);
  max-width: 1400px;
  margin: 0 auto;
}

/* KIRI: Galeri */
.p-detail-gallery {
  flex: 0 0 55%;
  max-width: 55%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-main-img-wrapper {
  width: 100%;
  aspect-ratio: 16/11; /* Landscape ratio sesuai mockup */
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.p-main-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Thumbnails */
.p-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.p-thumbnails::-webkit-scrollbar {
  height: 4px;
}
.p-thumbnails::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.p-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  background: #ffffff;
  transition: all 0.25s ease;
}
.p-thumb:hover {
  border-color: var(--text-secondary);
}
.p-thumb.active {
  border-color: #111111;
  box-shadow: none;
}
.p-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* KANAN: Informasi */
.p-detail-info {
  flex: 0 0 45%;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-info-category {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.p-info-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.p-info-price {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  font-family: "Manrope", sans-serif;
}

.p-info-desc-short {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.p-info-stock {
  font-size: 13px;
  color: var(--text-secondary);
}
.p-info-stock strong {
  color: var(--success);
}

/* Qty selector */
.p-info-qty {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}
.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}
.qty-btn {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
}
.qty-btn:hover {
  background: var(--bg-secondary);
}
#qty-input {
  width: 44px;
  height: 32px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  -moz-appearance: textfield;
}
#qty-input::-webkit-outer-spin-button,
#qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Buttons */
.p-info-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.btn-p-add-cart {
  flex: 1;
  height: 52px;
  border: 1.5px solid var(--button-primary);
  border-radius: 12px;
  background: transparent;
  color: var(--button-primary);
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.btn-p-add-cart:hover {
  background: rgba(17, 17, 17, 0.03);
  box-shadow: none;
}
.btn-p-buy-now {
  flex: 1;
  height: 52px;
  border: none;
  border-radius: 12px;
  background: var(--button-primary);
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.btn-p-buy-now:hover {
  background: var(--button-hover);
  box-shadow: none;
}

.btn-p-add-cart:disabled,
.btn-p-buy-now:disabled {
  border-color: var(--border) !important;
  background: var(--bg-secondary) !important;
  color: var(--text-light) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* Accordions */
.p-detail-accordions {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.p-accordion-item {
  border-bottom: 1px solid var(--border);
}

.p-accordion-header {
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: color 0.2s;
  text-align: left;
}
.p-accordion-header:hover {
  color: var(--text-primary);
}

.p-accordion-icon {
  color: var(--text-secondary);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.p-accordion-item.active .p-accordion-icon {
  transform: rotate(180deg);
  color: var(--text-primary);
}

.p-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.p-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.p-spec-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.06);
  font-size: 13px;
}
.p-spec-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
}
.p-spec-table td:last-child {
  color: var(--text-main);
  font-weight: 600;
}

.p-spec-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  padding-bottom: 16px;
}

.p-seller-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
}
.p-seller-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}
.p-seller-verified {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}
.p-seller-address {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) {
  .p-detail-container {
    flex-direction: column;
    gap: 30px;
    padding: 24px;
  }
  .p-detail-gallery,
  .p-detail-info {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .p-detail-container {
    flex-direction: column;
    gap: 24px;
    padding: 16px;
  }
  .p-detail-gallery,
  .p-detail-info {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .p-main-img-wrapper {
    border-radius: 12px;
  }
  .p-info-actions {
    flex-direction: column;
    gap: 10px;
  }
  .qty-selector {
    margin-left: auto;
  }
}

/* ============================================================
   PROFILE MODAL - CLEAN LIGHT THEME (SHOPEE-STYLE)
   ============================================================ */
#profile-modal .modal-content {
  background: #ffffff;
  color: #333333;
}
#profile-modal .modal-title {
  color: #1a1a1a;
  font-family: var(--font-display, 'Inter', sans-serif);
}
#profile-modal .auth-label {
  color: #555555;
  font-weight: 600;
}
#profile-modal .auth-input {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #1a1a1a;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
}
#profile-modal .auth-input::placeholder {
  color: #9ca3af;
}
#profile-modal .auth-input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
  background: #ffffff;
}
#profile-modal .auth-submit {
  background: #d4af37;
  color: #ffffff;
  border-radius: 6px;
  padding: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}
#profile-modal .auth-submit:hover {
  background: #c59b27;
}

@media(max-width: 992px) {
  #main-navbar {
    flex-wrap: wrap;
    height: auto !important;
    padding: 12px clamp(15px, 3vw, 20px) !important;
    gap: 12px !important;
    align-items: center !important;
  }
  .nav-logo {
    align-items: center !important;
  }
  .nav-logo-mark, .nav-logo-mark img, .nav-logo-mark svg { 
    width: 38px !important; 
    height: 38px !important; 
    transform: none !important;
    margin: 0 !important;
  }
  .nav-logo-text { 
    display: inline-block !important; 
    font-size: 20px !important;
    margin-top: 0px !important;
    margin-left: -5px !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-indent: 0 !important;
    transform: translateY(2px) !important;
  }
  .nav-actions {
    align-items: center !important;
    margin: 0 !important;
  }
  .nav-search { 
    order: 10; 
    flex: 1 1 100%; 
    margin: 0 !important; 
    max-width: 100% !important;
  }
  .nav-category-btn, .nav-mobile-menu-btn, .top-bar-banner { 
    display: none !important; 
  }
}
