/* ==========================================================================
   MAAZSAFDER.STORE STYLE REBUILD FOR Z BY ZARLISH
   ========================================================================== */

:root {
  --color-bg-black: #000000;
  --color-bg-card: #121212;
  --color-bg-subtle: #181818;
  --color-border: rgba(241, 253, 225, 0.15);
  --color-border-dark: #222222;
  
  --color-text-main: #ffffff;
  --color-text-cream: #f1fde1;
  --color-text-muted: #a1a1a1;
  --color-gold: #fbd50b;
  --color-sale-red: #ff0000;
  --color-btn-hover: #e6fbc9;

  --font-heading: 'Funnel Display', 'Fjalla One', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;

  --container-width: 1320px;
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* LIGHT MODE THEME OVERRIDES */
[data-theme="light"] {
  --color-bg-black: #f8f9fa;
  --color-bg-card: #ffffff;
  --color-bg-subtle: #f1f3f5;
  --color-border: rgba(0, 0, 0, 0.12);
  --color-border-dark: #e9ecef;
  
  --color-text-main: #111111;
  --color-text-cream: #1a2510;
  --color-text-muted: #555555;
  --color-gold: #d4a017;
  --color-sale-red: #d32f2f;
  --color-btn-hover: #1a2510;
}

[data-theme="light"] .luxury-header {
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .logo-title {
  color: #111111;
}

[data-theme="light"] .logo-sub {
  color: #333333;
}

[data-theme="light"] .card-title {
  color: #111111;
}

[data-theme="light"] .price-current {
  color: #111111;
}

[data-theme="light"] .btn-add-cart {
  background: #111111;
  color: #ffffff;
}

[data-theme="light"] .btn-add-cart:hover {
  background: #333333;
}

[data-theme="light"] .btn-pill-primary {
  background: #111111;
  color: #ffffff;
}

[data-theme="light"] .btn-pill-primary:hover {
  background: #333333;
  color: #ffffff;
}

[data-theme="light"] .btn-checkout {
  background: #111111;
  color: #ffffff;
}

[data-theme="light"] .cart-drawer {
  background: #ffffff;
}

[data-theme="light"] .free-shipping-bar {
  background: #f1f3f5;
  color: #111111;
}

[data-theme="light"] .modal-box {
  background: #ffffff;
}

[data-theme="light"] .form-input {
  background: #f8f9fa;
  color: #111111;
  border-color: #dddddd;
}

[data-theme="light"] .reviews-section {
  background: #f1f3f5;
}

[data-theme="light"] .site-footer {
  background: #e9ecef;
  color: #111111;
}

.theme-toggle-btn {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(241, 253, 225, 0.2);
  border-color: var(--color-text-cream);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg-black);
  color: var(--color-text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.text-center { text-align: center; }
.gold-text { color: var(--color-gold); }
.cream-text { color: var(--color-text-cream); }

/* ==========================================================================
   TOP ANNOUNCEMENT MARQUEE BAR
   ========================================================================== */
.announcement-bar {
  background: #111111;
  border-bottom: 1px solid var(--color-border-dark);
  padding: 0.6rem 0;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text-cream);
  text-transform: uppercase;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   MAIN HEADER / NAVIGATION BAR
   ========================================================================== */
.luxury-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-badge {
  width: 38px;
  height: 38px;
  background: var(--color-text-cream);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(241, 253, 225, 0.4);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--color-text-cream);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
  padding: 0.4rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text-cream);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text-cream);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  position: relative;
}

.icon-btn:hover {
  background: rgba(241, 253, 225, 0.1);
  border-color: var(--color-text-cream);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-sale-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-portal-btn {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  color: var(--color-text-cream);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.admin-portal-btn:hover {
  background: var(--color-text-cream);
  color: #000;
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
}

/* ==========================================================================
   HERO MOTION BANNER SLIDESHOW (MAAZSAFDER HIGH-MOTION STYLE)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero-slides-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  animation: kenBurnsZoom 10s ease-out infinite alternate;
}

@keyframes kenBurnsZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 75%, #000000 100%);
}

.hero-content-container {
  position: relative;
  z-index: 10;
  padding: 4rem 1.5rem;
}

.hero-animated-box {
  max-width: 850px;
}

.hero-tag-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(241, 253, 225, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(241, 253, 225, 0.25);
  padding: 0.4rem 1.25rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-sparkle-icon {
  font-size: 0.9rem;
  animation: pulseSparkle 2s infinite alternate;
}

@keyframes pulseSparkle {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 8px #fbd50b); }
}

.hero-tag {
  color: var(--color-text-cream);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-heading-motion {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6.2vw, 4.8rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
  animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.accent-glow-text {
  color: var(--color-text-cream);
  background: linear-gradient(135deg, #ffffff 0%, #f1fde1 50%, #fbd50b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: textGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes textGlowPulse {
  0% { filter: drop-shadow(0 0 10px rgba(241, 253, 225, 0.3)); }
  100% { filter: drop-shadow(0 0 25px rgba(251, 213, 11, 0.7)); }
}

.hero-subtitle-motion {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2.2rem;
  max-width: 620px;
  line-height: 1.6;
  animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.hero-actions-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.btn-motion-glow {
  position: relative;
  overflow: hidden;
}

.btn-motion-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: rotate(30deg);
  animation: shimmerSweep 4s infinite;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

.hero-chips-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

.chip-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ddd;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
}

/* Slide Navigation Controls Bar */
.hero-controls-bar {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1rem;
  border-radius: 40px;
}

.slider-arrow-btn {
  background: transparent;
  border: none;
  color: var(--color-text-cream);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-arrow-btn:hover {
  background: rgba(241, 253, 225, 0.2);
  transform: scale(1.15);
}

.slider-dots-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  width: 24px;
  border-radius: 12px;
  background: var(--color-text-cream);
  box-shadow: 0 0 10px rgba(241, 253, 225, 0.6);
}

/* Keyframes */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.btn-pill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--color-text-cream);
  color: #000000;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  border: none;
  transition: var(--transition-fast);
  box-shadow: 0 10px 25px rgba(241, 253, 225, 0.2);
}

.btn-pill-primary:hover {
  background: var(--color-btn-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(241, 253, 225, 0.35);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: transparent;
  color: var(--color-text-cream);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 30px;
  border: 1px solid var(--color-text-cream);
  transition: var(--transition-fast);
  margin-left: 1rem;
}

.btn-pill-outline:hover {
  background: rgba(241, 253, 225, 0.1);
}

/* ==========================================================================
   CATEGORY / COLLECTION CIRCLES
   ========================================================================== */
.collections-section {
  padding: 3.5rem 0 2rem 0;
}

.collection-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0;
}

.collection-circle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  min-width: 110px;
  transition: var(--transition-normal);
}

.circle-icon-wrap {
  width: 80px;
  height: 80px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition-fast);
}

.collection-circle-card:hover .circle-icon-wrap,
.collection-circle-card.active .circle-icon-wrap {
  border-color: var(--color-text-cream);
  background: rgba(241, 253, 225, 0.15);
  transform: scale(1.08);
}

.collection-name {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.collection-circle-card.active .collection-name {
  color: var(--color-text-cream);
}

/* ==========================================================================
   PRODUCT CATALOG GRID (MAAZSAFDER SHOPIFY CARDS)
   ========================================================================== */
.products-section {
  padding: 2.5rem 0 5rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-sub {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-dark);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.product-card:hover {
  border-color: var(--color-border);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.8);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #090909;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .card-img {
  transform: scale(1.06);
}

.badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-sale-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-out-stock {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.8);
  color: #aaa;
  font-weight: 700;
  font-size: 0.68rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-cat {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.reviews-count {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: auto;
  margin-bottom: 1rem;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-cream);
}

.price-original {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.btn-add-cart {
  width: 100%;
  background: var(--color-text-cream);
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  border-radius: 25px;
  border: none;
  transition: var(--transition-fast);
}

.btn-add-cart:hover {
  background: var(--color-btn-hover);
  transform: scale(1.02);
}

.btn-add-cart:disabled {
  background: #333;
  color: #777;
  cursor: not-allowed;
}

/* ==========================================================================
   FEATURED BRAND STORY BANNER
   ========================================================================== */
.brand-story-section {
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 5rem 0;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.story-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.story-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.story-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ==========================================================================
   OUR STORE OUTLETS SECTION
   ========================================================================== */
.outlets-section {
  padding: 5rem 0;
}

.outlets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.outlet-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-dark);
  padding: 1.5rem;
  border-radius: 12px;
  transition: var(--transition-fast);
}

.outlet-card:hover {
  border-color: var(--color-border);
}

.outlet-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text-cream);
}

.outlet-address {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.outlet-meta {
  font-size: 0.78rem;
  color: var(--color-text-main);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* ==========================================================================
   CUSTOMER REVIEWS (JUDGE.ME STYLE)
   ========================================================================== */
.reviews-section {
  background: #080808;
  border-top: 1px solid var(--color-border-dark);
  padding: 5rem 0;
}

.reviews-header-box {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: 16px;
  max-width: 600px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.reviews-score {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-text-cream);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.review-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-dark);
  padding: 1.5rem;
  border-radius: 12px;
}

.review-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.verified-badge {
  background: rgba(0, 200, 83, 0.15);
  color: #00e676;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
}

.review-comment {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ==========================================================================
   SLIDE-OUT CART DRAWER (SHOPIFY STYLE)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
}

.drawer-overlay[hidden] { display: none !important; }

.cart-drawer {
  width: 100%;
  max-width: 450px;
  height: 100dvh;
  background: #0a0a0a;
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.9);
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
}

.free-shipping-bar {
  background: #141414;
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--color-border-dark);
  color: var(--color-text-cream);
}

.drawer-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  background: var(--color-bg-card);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--color-border-dark);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  font-size: 0.88rem;
  color: var(--color-text-cream);
  font-weight: 700;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  background: #222;
  color: #fff;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  font-weight: 700;
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border-dark);
  background: #0d0d0d;
}

.drawer-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--color-text-cream);
}

.btn-checkout {
  width: 100%;
  background: var(--color-text-cream);
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 1rem;
  border-radius: 30px;
  border: none;
  transition: var(--transition-fast);
}

.btn-checkout:hover {
  background: var(--color-btn-hover);
}

/* ==========================================================================
   MODALS (ADMIN PORTAL & CHECKOUT RECEIPT)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay[hidden] { display: none !important; }

.modal-box {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
}

.admin-modal-box {
  max-width: 900px;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  background: #181818;
  border: 1px solid var(--color-border-dark);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
}

.form-input:focus {
  border-color: var(--color-text-cream);
}

/* Admin Table */
.admin-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th, .admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border-dark);
  text-align: left;
}

.admin-table th {
  background: #181818;
  color: var(--color-text-cream);
  text-transform: uppercase;
}

/* FOOTER */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--color-border-dark);
  padding: 4rem 0 2rem 0;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--color-text-cream);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-text-cream);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .outlets-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-toggle-btn { display: block; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .outlets-grid { grid-template-columns: 1fr; }
  .hero-heading { font-size: 2.2rem; }
  .btn-pill-outline { margin-left: 0; margin-top: 0.75rem; }
}
