/* ==========================================================================
   VRIDDHI VIBES - LUXURY RETURN GIFTS & HAMPERS STUDIO
   Original Signature OKLCH Pink & Royal Gold Design System
   Source: /Users/kiran/Downloads/output
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Exact Design Tokens from Original Source */
  --radius: 1rem;
  --radius-2xl: calc(var(--radius) + 8px);
  --radius-3xl: calc(var(--radius) + 12px);
  --radius-full: 9999px;

  /* Colors in authentic OKLCH */
  --background: oklch(98% 0.012 80);
  --foreground: oklch(25% 0.03 300);
  --card: oklch(100% 0 0);
  --card-foreground: oklch(25% 0.03 300);
  --popover: oklch(100% 0 0);
  --popover-foreground: oklch(25% 0.03 300);
  
  --primary: oklch(42% 0.14 305);
  --primary-foreground: oklch(98% 0.012 80);
  --primary-hover: oklch(36% 0.15 305);

  --secondary: oklch(94% 0.02 75);
  --secondary-foreground: oklch(30% 0.05 305);

  --muted: oklch(95% 0.015 75);
  --muted-foreground: oklch(48% 0.03 300);

  --accent: oklch(90% 0.06 350);
  --accent-foreground: oklch(30% 0.1 340);

  --gold: oklch(78% 0.14 78);
  --gold-foreground: oklch(25% 0.05 60);

  --pink: oklch(82% 0.09 350);
  --pink-foreground: oklch(30% 0.1 340);

  --destructive: oklch(60% 0.22 25);
  --destructive-foreground: oklch(98% 0.01 80);

  --border: oklch(90% 0.02 75);
  --input: oklch(90% 0.02 75);
  --ring: oklch(42% 0.14 305);

  /* WhatsApp Official */
  --whatsapp: #25D366;
  --whatsapp-hover: #20BA5A;

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Gradients */
  --shadow-soft: 0 10px 40px -12px oklch(50% 0.08 320 / 0.15);
  --shadow-luxe: 0 20px 60px -20px oklch(40% 0.1 300 / 0.25);
  --gradient-hero: linear-gradient(135deg, oklch(96% 0.02 80) 0%, oklch(94% 0.03 340) 50%, oklch(92% 0.04 300) 100%);
  --gradient-gold: linear-gradient(135deg, oklch(82% 0.13 85) 0%, oklch(72% 0.15 70) 100%);
  --gradient-card-box: linear-gradient(135deg, oklch(96% 0.02 80) 0%, oklch(93% 0.04 345) 100%);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

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

/* Typography Utilities */
.font-serif {
  font-family: var(--font-serif);
}

.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.primary-text {
  color: var(--primary);
}

/* Containers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Luxe Card Component (Direct from original source) */
.luxe-card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}

.luxe-card:hover {
  box-shadow: var(--shadow-luxe);
  transform: translateY(-6px);
  border-color: oklch(85% 0.05 340);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR & NAVIGATION
   ========================================================================== */
.announcement-bar {
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.825rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  text-align: center;
  letter-spacing: 0.03em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.announcement-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 25px -10px oklch(50% 0.08 320 / 0.1);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.brand-logo img {
  height: 48px;
  width: auto;
  border-radius: 8px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-foreground);
  font-weight: 600;
  margin-top: 2px;
}

.nav-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.nav-search input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--muted);
  font-size: 0.9rem;
  color: var(--foreground);
  transition: var(--transition);
}

.nav-search input:focus {
  border-color: var(--primary);
  background: var(--card);
  box-shadow: 0 0 0 3px oklch(42% 0.14 305 / 0.15);
}

.search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  pointer-events: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Role Switcher Badge */
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--secondary-foreground);
  transition: var(--transition);
}

.role-badge.admin-active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: 0 4px 12px oklch(42% 0.14 305 / 0.3);
}

.role-badge:hover {
  transform: translateY(-1px);
}

.btn-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.btn-cart:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-luxe);
}

.cart-count {
  background: var(--gold);
  color: var(--gold-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
}

/* ==========================================================================
   HERO SECTION (Original Gradient & Ambient Blur Balls)
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border);
}

.hero-glow-1 {
  position: absolute;
  top: 5rem;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  background: oklch(82% 0.09 350 / 0.4);
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  bottom: 0;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  background: oklch(42% 0.14 305 / 0.2);
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid oklch(78% 0.14 78 / 0.4);
  background: oklch(78% 0.14 78 / 0.12);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-foreground);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.025em;
  margin-bottom: 1.35rem;
}

.hero-title em {
  font-style: italic;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-luxe);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-gold);
  color: var(--gold-foreground);
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-luxe);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--whatsapp);
  color: #FFF;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-luxe);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.stat-item h4 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-glow {
  position: absolute;
  inset: -1rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, oklch(78% 0.14 78 / 0.3) 0%, oklch(82% 0.09 350 / 0.2) 50%, oklch(42% 0.14 305 / 0.2) 100%);
  filter: blur(24px);
  z-index: 0;
}

.hero-image-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-luxe);
  border: 4px solid var(--card);
  z-index: 1;
}

.hero-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.hero-float-badge {
  position: absolute;
  bottom: -15px;
  left: -20px;
  background: var(--card);
  padding: 1rem 1.35rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-luxe);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
}

.hero-float-badge .badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: oklch(42% 0.14 305 / 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

/* ==========================================================================
   OCCASION CATEGORY TABS
   ========================================================================== */
.occasions-nav-section {
  padding: 3rem 0 1.5rem;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: var(--foreground);
  font-weight: 700;
}

.occasions-carousel {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.occasion-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  white-space: nowrap;
}

.occasion-pill:hover {
  background: oklch(90% 0.06 350 / 0.3);
  border-color: var(--pink);
  color: var(--primary);
}

.occasion-pill.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: var(--shadow-luxe);
}

.occasion-pill .pill-count {
  font-size: 0.725rem;
  opacity: 0.85;
  background: oklch(78% 0.14 78 / 0.18);
  color: var(--gold-foreground);
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-full);
}

.occasion-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFF;
}

/* ==========================================================================
   STOREFRONT CONTROLS & FILTER BAR
   ========================================================================== */
.controls-section {
  padding: 2rem 0 1rem;
}

.controls-card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  padding: 1rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.budget-btn {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--secondary);
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: var(--transition);
}

.budget-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.budget-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  font-weight: 600;
}

.sort-select {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.85rem;
  color: var(--foreground);
  cursor: pointer;
}

/* Admin Toolbar */
.admin-toolbar {
  display: none;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-luxe);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-toolbar.visible {
  display: flex;
}

.admin-toolbar-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.admin-toolbar-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-admin-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-admin-add {
  background: var(--gold);
  color: var(--gold-foreground);
}

.btn-admin-orders {
  background: rgba(255, 255, 255, 0.2);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.admin-orders-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.28);
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0 0.45rem;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  line-height: 1;
}

/* ==========================================================================
   PRODUCT CATALOGUE GRID
   ========================================================================== */
.catalog-section {
  padding: 1rem 0 5rem;
}

.catalog-stats-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.85rem;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-luxe);
  border-color: oklch(78% 0.14 78 / 0.4);
}

.product-image-box {
  position: relative;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  background: var(--secondary);
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-box img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.product-badge.gold {
  background: var(--gradient-gold);
  color: var(--gold-foreground);
  border: none;
}

.product-moq-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(30, 20, 25, 0.85);
  color: #FFF;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

/* Admin Card Actions Overlay */
.admin-card-actions {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  gap: 0.4rem;
  z-index: 5;
}

.admin-mode-active .admin-card-actions {
  display: flex;
}

.btn-card-action {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  color: var(--foreground);
}

.btn-card-action.edit:hover {
  background: var(--gold);
  color: var(--gold-foreground);
}

.btn-card-action.delete:hover {
  background: var(--destructive);
  color: var(--destructive-foreground);
}

.product-content {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-occasion-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.product-title:hover {
  color: var(--primary);
}

.product-desc {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  font-size: 0.78rem;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--border);
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-starting {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.product-actions-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: oklch(42% 0.14 305 / 0.1);
  color: var(--primary);
  border: 1px solid oklch(42% 0.14 305 / 0.2);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

/* Empty Catalog State */
.empty-catalog {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px dashed var(--border);
}

.empty-catalog h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   CART SLIDE-OVER DRAWER
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 25, 0.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: var(--card);
  z-index: 201;
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.drawer-backdrop.open .cart-drawer {
  transform: translateX(0);
}

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

.cart-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--foreground);
  font-weight: 700;
}

.btn-close-drawer {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted-foreground);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.btn-close-drawer:hover {
  background: var(--muted);
  color: var(--foreground);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--secondary);
  border: 1px solid var(--border);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.2;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0.2rem 0 0.5rem;
}

.cart-item-moq-hint {
  font-size: 0.725rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--secondary);
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-weight: bold;
  display: grid;
  place-items: center;
  color: var(--foreground);
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--accent);
}

.qty-val {
  padding: 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 32px;
  text-align: center;
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 0.4rem;
  transition: var(--transition);
}

.btn-remove-item:hover {
  color: var(--destructive);
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--secondary);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.cart-summary-row.total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
  margin-bottom: 1.25rem;
}

.cart-summary-row.total .total-amount {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--primary);
}

/* ==========================================================================
   MODALS (CHECKOUT, ADMIN LOGIN, PRODUCT ADD/EDIT, ORDERS)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 25, 0.65);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-luxe);
  border: 1px solid var(--border);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-card.large {
  max-width: 820px;
}

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

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--foreground);
  font-weight: 700;
}

.modal-body {
  padding: 1.75rem 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--secondary);
  font-size: 0.9rem;
  color: var(--foreground);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: var(--card);
  box-shadow: 0 0 0 3px oklch(42% 0.14 305 / 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.3rem;
}

/* Image Upload Preview in Modal */
.image-preview-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.image-preview-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--secondary);
}

.image-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Checkout Success Invoice Preview */
.invoice-preview-card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1rem 0;
  font-size: 0.875rem;
}

.invoice-preview-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}

.invoice-item-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

/* Orders Management Table */
.orders-table-wrapper {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.orders-table th {
  background: var(--secondary);
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 2px solid var(--border);
}

.orders-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.status-new { background: #FEF3C7; color: #92400E; }
.status-contacted { background: #E0E7FF; color: #3730A3; }
.status-production { background: #EDE9FE; color: #5B21B6; }
.status-dispatched { background: #D1FAE5; color: #065F46; }

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: var(--card);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  box-shadow: var(--shadow-luxe);
  border-left: 4px solid var(--pink);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 400px;
  pointer-events: auto;
  animation: slideInToast 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.success { border-left-color: var(--emerald-500); }
.toast.error { border-left-color: var(--destructive); }

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Floating WhatsApp Quick Action */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--whatsapp);
  color: #FFF;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}

.floating-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--gold);
}

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

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--primary-foreground);
  opacity: 0.9;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--primary-foreground);
  opacity: 0.85;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  opacity: 1;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 2rem;
  }
  .hero-actions, .hero-stats {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .nav-search {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Top Announcement Bar: sleek horizontal ticker */
  .announcement-bar {
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
    gap: 0.85rem;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .announcement-bar::-webkit-scrollbar {
    display: none;
  }
  .announcement-bar span {
    flex-shrink: 0;
  }

  /* Mobile Navbar Alignment: prevent overlap */
  .nav-container {
    padding: 0.55rem 0.85rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }
  .brand-logo {
    gap: 0.5rem;
    min-width: 0;
    flex: 1 1 auto;
  }
  .brand-logo img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
  }
  .brand-name {
    font-size: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
  }
  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-actions {
    gap: 0.4rem;
    flex-shrink: 0;
  }
  .role-badge {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    white-space: nowrap;
    gap: 0.25rem;
  }
  .role-badge #roleText {
    max-width: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .btn-cart {
    padding: 0.38rem 0.75rem;
    font-size: 0.78rem;
    white-space: nowrap;
    gap: 0.35rem;
  }
}

@media (max-width: 380px) {
  .brand-tagline {
    display: none;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .role-badge {
    padding: 0.35rem 0.5rem;
  }
  .role-badge #roleText {
    display: none;
  }
}

/* ==========================================================================
   PRODUCT MEDIA GALLERY (MULTIPLE IMAGES & VIDEO PLAYER)
   ========================================================================== */
.product-media-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-media-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand-50);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media-main img,
.product-media-main video,
.product-media-main iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media-main video,
.product-media-main iframe {
  object-fit: contain;
  background: #000;
}

.product-thumbs-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
}

.product-thumb-item {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  background: var(--sand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-thumb-item.active {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb-video-icon {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.badge-media-count {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  backdrop-filter: blur(4px);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  pointer-events: none;
  z-index: 2;
}

/* Admin Multi-Image Manager Cards */
#productModalBackdrop .modal-card {
  max-width: 720px;
}

.media-gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 0.85rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  min-height: 125px;
}

.media-thumb-card {
  position: relative;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--sand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.media-thumb-card.is-primary {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}

.media-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-thumb-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  z-index: 3;
}

.media-thumb-actions {
  position: absolute;
  bottom: 4px;
  right: 4px;
  display: flex;
  gap: 4px;
  z-index: 3;
}

.media-thumb-btn {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: none;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.media-thumb-btn:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.media-thumb-btn.delete:hover {
  background: oklch(55% 0.22 25);
}

/* Occasion Multi-Select Chips */
.occasion-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.occasion-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.occasion-chip.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: 0 2px 8px oklch(42% 0.14 305 / 0.25);
}


