/* ==========================================================================
   ROYAL TRADERS - LUXURY WEDDING & EVENT PROPS WEBSITE
   Master Design System & Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* User-Defined Aesthetic Color Palette */
  --primary-emerald: #0F5132;        /* Emerald Green (Royal feel) */
  --primary-emerald-dark: #18392B;   /* Deep Forest (Text & dark accents) */
  --primary-emerald-light: #215B40;
  --emerald-subtle: rgba(15, 81, 50, 0.08);

  --secondary-sage: #A8B8A5;         /* Sage Green (Modern aesthetic) */
  --sage-subtle: rgba(168, 184, 165, 0.2);

  --accent-gold: #D4AF37;            /* Champagne Gold (Luxury highlight) */
  --accent-gold-light: #E5C158;
  --accent-gold-dark: #AA8820;
  --gold-subtle: rgba(212, 175, 55, 0.14);
  --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);

  --bg-ivory: #FAF8F2;               /* Warm Ivory (Premium & clean canvas) */
  --bg-beige: #F5F2EA;               /* Soft Cream */
  --bg-card: #F5F2EA;                /* Soft Cream Cards */
  --bg-dark-accent: #18392B;         /* Deep Forest Accent */

  --text-charcoal: #18392B;          /* Deep Forest Typography */
  --text-muted: #3D5A4C;             /* Elegant Forest Muted */
  --text-light: #7E958A;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px rgba(15, 81, 50, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 81, 50, 0.12);
  --shadow-gold: 0 12px 30px rgba(212, 175, 55, 0.2);

  /* Glassmorphism */
  --glass-bg: rgba(255, 253, 245, 0.88);
  --glass-bg-dark: rgba(15, 81, 50, 0.85);
  --glass-border: 1px solid rgba(212, 175, 55, 0.25);
  --glass-blur: blur(16px);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1280px;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::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(--bg-ivory);
  color: var(--text-charcoal);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
  cursor: pointer;
  background: none;
}

/* Top Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: var(--gold-gradient);
  z-index: 2000;
  width: 0%;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
  transition: width 0.1s linear;
}

/* Utility Layout Classes */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

/* Skeleton Screen Shimmer Loaders */
.skeleton {
  background: linear-gradient(90deg, #EFEBE0 25%, #FAF8F2 50%, #EFEBE0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s infinite ease-in-out;
  border-radius: var(--radius-md);
}

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.product-img-wrapper.skeleton {
  border-radius: 24px 24px 0 0;
}

.product-img.loading {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-img.loaded {
  opacity: 1;
}

/* GPU Acceleration for 60FPS Smoothness */
.product-card, .category-card, .why-card, .btn, .quote-drawer, .quickview-card {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform, opacity;
}

/* Typography Utilities */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--gold-subtle);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-full);
  color: var(--primary-emerald-dark);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary-emerald-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & RIPPLE ANIMATIONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  min-height: 48px; /* 48px Touch target for mobile accessibility */
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Golden Sheen Shimmer Effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.btn:hover::before {
  left: 140%;
}

.btn-primary {
  background-color: var(--primary-emerald);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-emerald-dark);
  box-shadow: 0 12px 28px rgba(15, 81, 50, 0.3);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--primary-emerald-dark);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(212, 175, 55, 0.35);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary-emerald);
  border: 1.5px solid var(--primary-emerald);
}

.btn-outline:hover {
  background: var(--primary-emerald);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--accent-gold);
  border: 1.5px solid var(--accent-gold);
}

.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: var(--primary-emerald-dark);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR (GLASSMORPHIC)
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  background: rgba(250, 248, 242, 0.95); /* Fixed Permanent Warm Cream Glass */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 20px rgba(24, 57, 43, 0.08);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px; /* Slightly reduced logo size per MASTER PRD */
  height: 38px;
  background: var(--primary-emerald);
  border: 1.5px solid var(--accent-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(15, 81, 50, 0.2);
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-emerald-dark);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-charcoal);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-emerald);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-basket-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(15, 81, 50, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-emerald);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.quote-basket-btn:hover {
  background: var(--primary-emerald);
  color: #FFFFFF;
  transform: scale(1.05);
}

.quote-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-gold);
  color: var(--primary-emerald-dark);
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-emerald);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--bg-ivory);
  z-index: 1001;
  padding: 40px 24px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active { right: 0; }

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.mobile-nav-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-emerald-dark);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION (BRIGHT BACKGROUND - 40% REDUCED OVERLAY)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 80px;
  background-color: var(--primary-emerald-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88; /* Bright warm wedding night backdrop */
  transform: scale(1.02);
  filter: contrast(1.05) brightness(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(5, 20, 14, 0.90) 0%, rgba(8, 35, 22, 0.76) 45%, rgba(15, 81, 50, 0.22) 75%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 860px;
  color: #FFFFFF;
}

/* Floating Glass Badges */
.floating-hero-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 12;
  animation: floatBadge 6s ease-in-out infinite;
}

.floating-badge-1 {
  top: 25%;
  right: 6%;
}

.floating-badge-2 {
  bottom: 20%;
  right: 12%;
  animation-delay: -3s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-light);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gold-text.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

/* Floating Hero Scroll Down Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-gold-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  z-index: 15;
}

.hero-scroll-indicator:hover { opacity: 1; color: #FFFFFF; }

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 720px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* Feature Bullet Tags Bar - Premium Champagne Gold Glass Marquee */
.hero-bullets-wrapper {
  overflow: hidden;
  width: 100%;
  margin-bottom: 44px;
  background: rgba(255, 253, 245, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 0 15px rgba(212, 175, 55, 0.12);
  position: relative;
}

.hero-bullets-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: marqueeSlide 18s linear infinite;
}

.hero-bullets-wrapper:hover .hero-bullets-track {
  animation-play-state: paused;
}

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

.bullet-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(15, 81, 50, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--bg-ivory);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.bullet-tag:hover {
  background: var(--primary-emerald);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Stats Counter Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.stat-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* --------------------------------------------------------------------------
   6. COLLECTIONS (12 LUXURY CATEGORIES)
   -------------------------------------------------------------------------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  height: 310px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(15, 81, 50, 0.08);
}

.category-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

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

.category-card:hover .category-img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 81, 50, 0.1) 0%, rgba(10, 38, 27, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #FFFFFF;
}

.category-badge {
  align-self: flex-start;
  background: rgba(212, 175, 55, 0.25);
  color: var(--accent-gold-light);
  border: 1px solid var(--accent-gold);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}

.category-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
}

.category-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-gold-light);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.category-card:hover .category-action {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   7. PRODUCT INVENTORY SECTION (24px RADIUS & EQUAL HEIGHT CARDS)
   -------------------------------------------------------------------------- */
.product-search-bar {
  max-width: 520px;
  margin: 0 auto 30px;
  position: relative;
}

.product-search-input {
  width: 100%;
  padding: 14px 24px 14px 48px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(15, 81, 50, 0.15);
  background: var(--bg-card);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.product-search-input:focus {
  border-color: var(--primary-emerald);
  box-shadow: 0 0 0 4px rgba(15, 81, 50, 0.1);
}

.product-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-emerald);
  font-size: 1.1rem;
}

.products-filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-beige);
  color: var(--text-charcoal);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.tab-btn:hover {
  background: rgba(15, 81, 50, 0.08);
  color: var(--primary-emerald);
}

.tab-btn.active {
  background: var(--primary-emerald);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

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

/* Equal Card Height & 24px Radius */
.product-card {
  background: var(--bg-card);
  border-radius: 24px; /* 24px Radius per MASTER PRD */
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 81, 50, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%; /* Equal height cards */
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-4px);
}

.product-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #F3F4F6;
}

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

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

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 81, 50, 0.88);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.product-code-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-emerald-dark);
  border: 1px solid var(--accent-gold);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
}

.product-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-emerald-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

/* Maximum 2 Lines Description per MASTER PRD */
.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Strict 2 line clamp */
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-add-quote {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.825rem;
}

.btn-icon-action {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-beige);
  color: var(--primary-emerald);
  border: 1px solid rgba(15, 81, 50, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.btn-icon-action:hover {
  background: var(--primary-emerald);
  color: #FFFFFF;
}

/* Favorite Heart Toggle */
.btn-favorite.active {
  color: #EF4444;
  border-color: #EF4444;
  background: rgba(239, 68, 68, 0.12);
}

.btn-favorite.active svg {
  fill: #EF4444;
  stroke: #EF4444;
}

/* --------------------------------------------------------------------------
   8. WHY CHOOSE US (9 FEATURE CARDS)
   -------------------------------------------------------------------------- */
.why-us-section {
  background: var(--bg-beige);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.why-card {
  background: var(--bg-card);
  padding: 32px 26px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 81, 50, 0.08);
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.why-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gold-subtle);
  border: 1.5px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-emerald);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.why-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-emerald-dark);
  margin-bottom: 10px;
}

.why-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. PINTEREST MASONRY GALLERY & WORK PROCESS
   -------------------------------------------------------------------------- */
.gallery-masonry {
  column-count: 3;
  column-gap: 24px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  border-radius: 24px;
  transition: transform 0.6s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 38, 27, 0.88) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #FFFFFF;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.gallery-tag {
  font-size: 0.8rem;
  color: var(--accent-gold-light);
}

/* Process Roadmap */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 81, 50, 0.08);
  position: relative;
  transition: all var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-emerald);
  color: var(--accent-gold);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-gold);
}

.process-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-emerald-dark);
  margin-bottom: 8px;
}

.process-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.process-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 45px;
  right: -20px;
  font-size: 1.5rem;
  color: var(--accent-gold);
  z-index: 5;
}

/* --------------------------------------------------------------------------
   10. GLASS TESTIMONIALS & FAQ ACCORDION
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  padding: 36px;
  border-radius: 24px;
  border: var(--glass-border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.quote-text {
  font-size: 0.95rem;
  color: var(--text-charcoal);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-emerald);
  color: var(--accent-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.client-name {
  font-weight: 700;
  color: var(--primary-emerald-dark);
  font-size: 1rem;
}

.client-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  border: 1px solid rgba(15, 81, 50, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-item.active { border-color: var(--accent-gold); }

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-emerald-dark);
  text-align: left;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--emerald-subtle);
  color: var(--primary-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-gold);
  color: var(--primary-emerald-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 24px;
}

/* --------------------------------------------------------------------------
   11. FINAL CTA & CONTACT SECTION (BENGALURU ADDRESS)
   -------------------------------------------------------------------------- */
.final-cta-section {
  background: linear-gradient(135deg, var(--primary-emerald-dark) 0%, var(--primary-emerald) 100%);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 81, 50, 0.08);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.info-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gold-subtle);
  color: var(--primary-emerald);
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.info-value {
  font-weight: 600;
  color: var(--primary-emerald-dark);
  font-size: 1rem;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 81, 50, 0.08);
}

.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-emerald-dark);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid #E5E7EB;
  background: var(--bg-beige);
  color: var(--text-charcoal);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-emerald);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(15, 81, 50, 0.1);
}

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

/* --------------------------------------------------------------------------
   12. QUOTE DRAWER & QUICK VIEW MODAL
   -------------------------------------------------------------------------- */
.quickview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 38, 27, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.quickview-modal.active { opacity: 1; visibility: visible; }

.quickview-card {
  background: var(--bg-ivory);
  width: 100%;
  max-width: 820px;
  border-radius: 24px;
  overflow: hidden;
  border: var(--glass-border);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.quickview-img { width: 100%; height: 100%; object-fit: cover; }
.quickview-content { padding: 36px; display: flex; flex-direction: column; }

.quickview-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.4rem;
  color: var(--text-charcoal);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quickview-specs-table {
  margin: 16px 0;
  font-size: 0.85rem;
  border-collapse: collapse;
}

.quickview-specs-table td {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(15, 81, 50, 0.12);
}

.quickview-specs-table td:first-child {
  font-weight: 600;
  color: var(--primary-emerald-dark);
}

/* Quote Basket Drawer */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 38, 27, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.quote-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 460px;
  height: 100%;
  background: var(--bg-ivory);
  z-index: 2001;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}

.drawer-backdrop.active .quote-drawer { right: 0; }

.drawer-header {
  padding: 24px;
  background: var(--primary-emerald-dark);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--accent-gold);
}

.drawer-title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; }
.drawer-close { color: #FFFFFF; font-size: 1.5rem; }

.drawer-body { padding: 24px; overflow-y: auto; flex-grow: 1; }

.quote-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.quote-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 81, 50, 0.1);
}

.quote-item-img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; }
.quote-item-details { flex-grow: 1; }
.quote-item-title { font-size: 0.875rem; font-weight: 600; color: var(--primary-emerald-dark); }
.quote-item-code { font-size: 0.725rem; color: var(--text-muted); }

.qty-controls { display: flex; align-items: center; gap: 8px; margin-top: 6px; }

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-beige);
  border: 1px solid #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.qty-val { font-size: 0.85rem; font-weight: 600; }
.quote-item-remove { color: #EF4444; font-size: 1.1rem; padding: 4px; }

.drawer-footer { padding: 24px; background: var(--bg-card); border-top: 1px solid rgba(15, 81, 50, 0.1); }

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 38, 27, 0.92);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.lightbox-modal.active { opacity: 1; visibility: visible; }

.lightbox-content { position: relative; max-width: 900px; max-height: 85vh; }
.lightbox-img { max-width: 100%; max-height: 80vh; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--accent-gold); }
.lightbox-close { position: absolute; top: -40px; right: 0; color: #FFFFFF; font-size: 2rem; }

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--primary-emerald-dark);
  color: #FFFFFF;
  padding-top: 80px;
  padding-bottom: 30px;
  border-top: 2px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo-title { color: #FFFFFF; }

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--accent-gold); }

.social-links { display: flex; gap: 12px; }

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--accent-gold);
  color: var(--primary-emerald-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 16px;
}

/* Floating Action Button */
.floating-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 990;
  transition: all var(--transition-normal);
  animation: pulse 2s infinite;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --------------------------------------------------------------------------
   14. ANIMATIONS & RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .floating-hero-badge { display: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .process-card:not(:last-child)::after { display: none; }
  .gallery-masonry { column-count: 2; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .quickview-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-nav-toggle { display: block; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-gold {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    min-height: 34px !important;
    gap: 4px !important;
  }
  .nav-actions .btn-gold svg {
    width: 14px !important;
    height: 14px !important;
  }
  .logo-title { font-size: 1.05rem; }
  .logo-subtitle { font-size: 0.5rem; letter-spacing: 1px; }
  .quote-basket-btn { width: 36px; height: 36px; font-size: 0.85rem; }
  .hero-section { min-height: 100dvh; padding-top: 100px; padding-bottom: 50px; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 18px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 10px; }
  .stat-item:last-child { border-bottom: none; }
  .gallery-masonry { column-count: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-title { font-size: 2.1rem; }
  .section-padding { padding: 50px 0; }
}/* --------------------------------------------------------------------------
   17. MOBILE-FIRST COLLECTIONS ARCHITECTURE & 16:9 ASPECT CARDS
   -------------------------------------------------------------------------- */
.categories-grid.homepage-featured {
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 10px 4px 20px !important;
  gap: 20px !important;
  scrollbar-width: none !important;
}

.categories-grid.homepage-featured::-webkit-scrollbar {
  display: none !important;
}

.categories-grid.homepage-featured .category-card {
  flex: 0 0 320px !important;
  min-width: 320px !important;
}

.category-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* 16:9 Aspect Ratio Cards per request */
  height: auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(15, 81, 50, 0.08);
}

.category-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

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

.category-card:hover .category-img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 81, 50, 0.15) 0%, rgba(24, 57, 43, 0.94) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #FFFFFF;
}

.category-desc-short {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dedicated Collections Page View Overlay */
.collections-page-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-ivory);
  z-index: 2200;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding-bottom: 90px;
}

.collections-page-view.active {
  opacity: 1;
  visibility: visible;
}

.collections-sticky-filter-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 242, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.collections-search-box {
  flex: 1;
  position: relative;
}

.collections-search-box input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(15, 81, 50, 0.2);
  background: var(--bg-card);
  font-size: 0.875rem;
}

.collections-search-box span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-emerald);
}

.btn-filter-trigger {
  padding: 10px 16px;
  min-height: 42px;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
}

/* Bottom Sheet Modal */
.bottom-sheet-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 38, 27, 0.65);
  backdrop-filter: blur(8px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bottom-sheet-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  max-height: 85vh;
  background: var(--bg-ivory);
  border-radius: 28px 28px 0 0;
  z-index: 3001;
  padding: 24px;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.25);
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 2px solid var(--accent-gold);
}

.bottom-sheet-backdrop.active .bottom-sheet {
  bottom: 0;
}

.bottom-sheet-handle {
  width: 44px;
  height: 5px;
  background: rgba(24, 57, 43, 0.2);
  border-radius: 4px;
  margin: 0 auto 16px;
}

/* Mobile Sticky Bottom Bar */
.sticky-mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary-emerald-dark);
  padding: 12px 16px;
  z-index: 1800;
  display: flex;
  gap: 10px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.2);
  border-top: 1.5px solid var(--accent-gold);
}

.sticky-mobile-cta-bar .btn {
  flex: 1;
  padding: 12px 10px;
  font-size: 0.85rem;
  min-height: 48px;
}

@media (max-width: 768px) {
  .mobile-swipe-hint { display: block !important; }
  .categories-grid.homepage-featured {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 8px 4px 18px !important;
    gap: 16px !important;
    scrollbar-width: none !important;
  }

  .categories-grid.homepage-featured::-webkit-scrollbar {
    display: none !important;
  }

  .categories-grid.homepage-featured .category-card {
    flex: 0 0 84% !important;
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
  }
}

/* Responsive 2-Column Mobile Grid for Collections View per PRD */
#full-collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
}

.category-card:active {
  transform: scale(0.98);
}

/* Empty State Styling */
.coll-empty-state {
  text-align: center;
  padding: 60px 20px;
  display: none;
}

.coll-empty-icon {
  font-size: 3.2rem;
  margin-bottom: 12px;
}

.coll-empty-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--primary-emerald-dark);
  margin-bottom: 8px;
}

.coll-empty-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .hero-ctas {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .hero-ctas .btn {
    flex: 1 !important;
    width: auto !important;
    padding: 10px 6px !important;
    font-size: 0.725rem !important;
    min-height: 42px !important;
    white-space: nowrap !important;
    justify-content: center !important;
  }
  .hero-ctas .btn svg {
    width: 13px !important;
    height: 13px !important;
  }
  #full-collections-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  #full-collections-grid .category-card {
    aspect-ratio: 1 / 1.15 !important;
  }
  #full-collections-grid .category-name {
    font-size: 0.95rem !important;
  }
  #full-collections-grid .category-overlay {
    padding: 10px !important;
  }
  #full-collections-grid .category-badge {
    font-size: 0.625rem !important;
    padding: 2px 7px !important;
  }
}
