/* ==========================================================================
   EVANIQUE SAREE BOUTIQUE - CSS DESIGN SYSTEM
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
  /* Brand Palette */
  --primary-burgundy: #5c0612;
  --primary-burgundy-light: #800f1e;
  --primary-burgundy-dark: #3a0007;
  --accent-gold: #c5a059;
  --accent-gold-light: #dec083;
  --accent-gold-dark: #967533;
  
  /* Neutral Palette */
  --text-dark: #1f1f1f;
  --text-muted: #666666;
  --text-light: #ffffff;
  --bg-cream: #fbfaf7;
  --bg-card: #ffffff;
  --bg-dark: #121212;
  --bg-dark-gray: #1a1a1a;
  
  /* Status Colors */
  --status-available: #2e7d32;
  --status-sold: #c62828;
  --status-sale: #d84315;
  
  /* Layout Values */
  --header-height: 80px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --box-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --box-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.15);
  
  /* Glassmorphism Blur */
  --glass-blur: blur(12px);
  --glass-bg: rgba(18, 18, 18, 0.85);
  --glass-border: rgba(197, 160, 89, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

button {
  cursor: pointer;
}

/* Global Helpers */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 1. Announcement Bar */
.announcement-bar {
  background-color: var(--primary-burgundy-dark);
  color: var(--accent-gold-light);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 8px 12px;
  z-index: 1001;
  position: relative;
  border-bottom: 1px solid var(--accent-gold-dark);
}

/* 2. Glassmorphic Header */
.main-header {
  height: var(--header-height);
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid var(--accent-gold);
}

.brand-name {
  font-size: 1.8rem;
  color: var(--text-light);
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--text-light) 30%, var(--accent-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header Navigation */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-smooth);
}

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

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-btn {
  color: var(--text-light);
  font-size: 1.2rem;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent-gold-light);
}

/* Cart Badge animation */
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--primary-burgundy-light);
  border: 1.5px solid var(--accent-gold);
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 0.5s ease-out;
}

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

/* Collapsible Header Search overlay */
.search-overlay-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--bg-dark);
  border-bottom: 1.5px solid var(--accent-gold);
  padding: 16px 24px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
  z-index: 999;
}

.search-overlay-bar.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.search-inner-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 8px 20px;
}

.search-bar-icon {
  color: var(--accent-gold);
}

#global-search-input {
  flex-grow: 1;
  color: var(--text-light);
  background: transparent;
  font-size: 0.95rem;
}

#global-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-close-btn {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.search-close-btn:hover {
  color: var(--text-light);
}

/* Mobile Toggle Hamburger button */
.menu-toggle-btn {
  display: none;
}

/* 3. Hero Section */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('Images/product/saree-01/main.jpg') no-repeat center center/cover;
  color: var(--text-light);
  text-align: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 18, 0.8) 0%,
    rgba(92, 6, 18, 0.45) 50%,
    rgba(18, 18, 18, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-gold-light);
  margin-bottom: 16px;
  display: inline-block;
  font-weight: 600;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-burgundy);
  color: var(--text-light);
  border: 1px solid var(--accent-gold);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(92, 6, 18, 0.3);
  transition: var(--transition-smooth);
}

.hero-cta-btn:hover {
  background-color: var(--accent-gold);
  color: var(--primary-burgundy-dark);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
  transform: translateY(-2px);
}

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

/* 4. Main Store Catalog Layout */
.store-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 80px;
  align-items: start;
}

.mobile-filters-bar {
  display: none;
}

/* 5. Filters Sidebar Styles */
.filters-sidebar {
  background-color: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  box-shadow: var(--box-shadow-sm);
  position: sticky;
  top: 100px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--bg-cream);
  padding-bottom: 12px;
}

.sidebar-header h3 {
  font-size: 1.3rem;
  color: var(--primary-burgundy);
}

.sidebar-close-btn {
  display: none;
}

.filter-group {
  margin-bottom: 30px;
}

.filter-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-burgundy-dark);
}

/* Search input styling */
.search-input-wrapper {
  position: relative;
}

.search-input-wrapper input {
  width: 100%;
  background-color: var(--bg-cream);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 40px 12px 16px;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.search-input-wrapper input:focus {
  border-color: var(--accent-gold);
  background-color: var(--text-light);
}

.search-input-wrapper i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Custom Radio Styles */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  user-select: none;
}

.custom-radio input {
  display: none;
}

.radio-checkmark {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: var(--transition-smooth);
}

.custom-radio input:checked + .radio-checkmark {
  border-color: var(--primary-burgundy);
  background-color: var(--primary-burgundy);
}

.radio-checkmark::after {
  content: '';
  position: absolute;
  display: none;
  width: 8px;
  height: 8px;
  background: var(--text-light);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-radio input:checked + .radio-checkmark::after {
  display: block;
}

/* Custom Checkbox Styles */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  user-select: none;
}

.custom-checkbox input {
  display: none;
}

.checkbox-checkmark {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius-sm);
  display: inline-block;
  position: relative;
  transition: var(--transition-smooth);
}

.custom-checkbox input:checked + .checkbox-checkmark {
  border-color: var(--primary-burgundy);
  background-color: var(--primary-burgundy);
}

.checkbox-checkmark::after {
  content: '';
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--text-light);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked + .checkbox-checkmark::after {
  display: block;
}

/* Price Range Slider */
.price-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: #ddd;
  outline: none;
  margin: 15px 0;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-burgundy);
  border: 1.5px solid var(--accent-gold);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Custom Select Dropdowns */
.select-wrapper {
  position: relative;
}

#sort-select {
  width: 100%;
  background-color: var(--bg-cream);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 40px 12px 16px;
  border-radius: var(--border-radius-md);
  appearance: none;
  -webkit-appearance: none;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-smooth);
}

#sort-select:focus {
  border-color: var(--accent-gold);
  background-color: var(--text-light);
}

.select-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Reset Button */
.reset-filters-btn {
  width: 100%;
  background-color: transparent;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  padding: 12px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  margin-top: 10px;
}

.reset-filters-btn:hover {
  color: var(--primary-burgundy);
  border-color: var(--primary-burgundy);
  background-color: rgba(92, 6, 18, 0.02);
}

/* 6. Catalog Section Styles */
.catalog-section {
  display: flex;
  flex-direction: column;
}

.catalog-results-header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.results-count {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

/* Saree Product Card */
.product-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-md);
  border-color: rgba(197, 160, 89, 0.25);
}

/* Card Image Area */
.card-image-wrapper {
  position: relative;
  padding-top: 135%; /* Tall vertical aspect ratio for sarees */
  overflow: hidden;
  background-color: #eaeaea;
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Overlaid badges */
.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card-badge.sale-badge {
  background-color: var(--status-sale);
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.2);
}

.card-badge.sold-badge {
  background-color: var(--status-sold);
  color: var(--text-light);
}

/* Quick details button overlay on hover */
.card-overlay-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  z-index: 3;
}

.product-card:hover .card-overlay-actions {
  opacity: 1;
  transform: translateY(0);
}

.quick-view-btn {
  background-color: var(--text-light);
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: var(--transition-smooth);
}

.quick-view-btn:hover {
  background-color: var(--accent-gold);
  color: var(--text-light);
}

/* Card details pane */
.card-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-id-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--primary-burgundy);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7rem;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 18px;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-burgundy);
}

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

.discount-tag-pill {
  background-color: rgba(216, 67, 21, 0.1);
  color: var(--status-sale);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--border-radius-sm);
}

/* Card Add To Cart Action button */
.card-cart-btn {
  width: 100%;
  background-color: var(--primary-burgundy);
  color: var(--text-light);
  padding: 12px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.card-cart-btn:hover {
  background-color: var(--accent-gold);
  color: var(--primary-burgundy-dark);
}

.card-cart-btn:disabled, .card-cart-btn.sold-out {
  background-color: #ddd !important;
  color: #999 !important;
  cursor: not-allowed;
  box-shadow: none !important;
}

/* Empty State Styles */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  border: 1px dashed rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.empty-state-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.empty-state h4 {
  font-size: 1.4rem;
  color: var(--primary-burgundy);
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.empty-state-reset-btn {
  background-color: var(--primary-burgundy);
  color: var(--text-light);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.empty-state-reset-btn:hover {
  background-color: var(--accent-gold);
  color: var(--primary-burgundy-dark);
}

/* 7. Loading Skeletons */
.grid-skeleton {
  display: contents; /* inherit grid structure */
}

.skeleton-card {
  height: 480px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--border-radius-lg);
}

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

/* 8. About Section Styles */
.about-section {
  background-color: var(--bg-dark-gray);
  color: var(--text-light);
  padding: 100px 0;
  border-top: 1px solid var(--accent-gold-dark);
  border-bottom: 1.5px solid var(--accent-gold-dark);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--accent-gold-dark);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.about-img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 520px;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--accent-gold);
  padding: 16px 24px;
  border-radius: var(--border-radius-md);
  text-align: center;
}

.badge-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1.1;
  font-family: 'Playfair Display', serif;
}

.badge-txt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
}

.about-content {
  display: flex;
  flex-direction: column;
}

.section-tag {
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.about-title {
  font-size: 2.8rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-content p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
  font-weight: 300;
}

.heritage-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.4rem;
  color: var(--accent-gold);
  padding: 10px;
  background-color: rgba(197, 160, 89, 0.1);
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.feature-item h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-light);
}

.feature-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* 9. Interactive Detail Modal (Dialog) */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.product-modal-container {
  background-color: var(--bg-card);
  width: 100%;
  max-width: 1050px;
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--accent-gold);
  box-shadow: var(--box-shadow-lg);
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-backdrop.active .product-modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  box-shadow: var(--box-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background-color: var(--primary-burgundy);
  color: var(--text-light);
  transform: rotate(90deg);
}

/* Modal Internal Layout Grid */
.modal-body-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

/* Modal Gallery */
.modal-gallery-pane {
  background-color: var(--bg-cream);
  padding: 30px;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  justify-content: center;
}

.modal-main-image-wrapper {
  position: relative;
  padding-top: 120%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--box-shadow-sm);
  background-color: #fff;
}

.modal-main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modal-main-image-wrapper:hover .modal-main-image {
  transform: scale(1.08);
}

/* Badges on main image */
.modal-badge-sale, .modal-badge-sold {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: none; /* Controlled by display toggling script */
}

.modal-badge-sale {
  background-color: var(--status-sale);
  color: var(--text-light);
}

.modal-badge-sold {
  background-color: var(--status-sold);
  color: var(--text-light);
}

/* Thumbnail Carousel Row */
.modal-thumbnails-wrapper {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.modal-thumb {
  width: 70px;
  height: 85px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  box-shadow: var(--box-shadow-sm);
}

.modal-thumb:hover {
  opacity: 0.8;
}

.modal-thumb.active {
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

/* Modal Details (Right Pane) */
.modal-details-pane {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.modal-product-tag {
  color: var(--accent-gold-dark);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.modal-product-title {
  font-size: 2rem;
  color: var(--primary-burgundy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-price-current {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-burgundy);
}

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

.modal-discount-tag {
  background-color: var(--status-sale);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
}

.modal-availability-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.status-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-indicator-dot.available {
  background-color: var(--status-available);
  box-shadow: 0 0 8px rgba(46, 125, 50, 0.4);
}

.status-indicator-dot.sold-out {
  background-color: var(--status-sold);
  box-shadow: 0 0 8px rgba(198, 40, 40, 0.4);
}

.modal-divider {
  border: 0;
  height: 1.5px;
  background-color: rgba(0, 0, 0, 0.05);
  margin: 16px 0 24px 0;
}

.modal-description-wrapper {
  margin-bottom: 24px;
}

.modal-description-wrapper h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--primary-burgundy-dark);
  margin-bottom: 8px;
}

.modal-description-wrapper p {
  font-size: 0.9rem;
  color: rgba(0,0,0,0.7);
  line-height: 1.6;
}

.product-specifications {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--bg-cream);
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  border-left: 3px solid var(--accent-gold);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.spec-label {
  font-weight: 600;
  color: var(--text-muted);
}

.spec-val {
  font-weight: 500;
  color: var(--text-dark);
}

/* Modal Action Controls */
.modal-action-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}

.quantity-selector-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 48px;
  background-color: #fff;
}

.qty-btn {
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background-color: var(--bg-cream);
}

#modal-qty-input {
  width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  border-left: 1px solid rgba(0,0,0,0.1);
  border-right: 1px solid rgba(0,0,0,0.1);
}

/* Chrome, Safari, Edge, Opera: remove spinner controls */
#modal-qty-input::-webkit-outer-spin-button,
#modal-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.modal-add-to-cart-btn {
  flex-grow: 1;
  height: 48px;
  background-color: var(--primary-burgundy);
  color: var(--text-light);
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(92, 6, 18, 0.2);
  transition: var(--transition-smooth);
}

.modal-add-to-cart-btn:hover {
  background-color: var(--accent-gold);
  color: var(--primary-burgundy-dark);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.35);
}

.sold-out-alert-text {
  background-color: rgba(198, 40, 40, 0.05);
  border-left: 3px solid var(--status-sold);
  color: var(--status-sold);
  padding: 12px 16px;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 10px;
}

/* 10. Shopping Cart Sidebar Drawer */
.cart-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cart-drawer-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background-color: var(--bg-card);
  box-shadow: var(--box-shadow-lg);
  z-index: 1060;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.cart-drawer-header {
  padding: 24px;
  border-bottom: 1.5px solid var(--bg-cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  font-size: 1.3rem;
  color: var(--primary-burgundy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.cart-drawer-close-btn:hover {
  background-color: var(--primary-burgundy);
  color: var(--text-light);
}

/* Cart Items Container */
.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Single Cart Item Layout */
.cart-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-item-img {
  width: 75px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0,0,0,0.05);
}

.cart-item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-id {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-burgundy-dark);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-burgundy);
}

.cart-item-price-old {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

/* Item quantity management row */
.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-sm);
  height: 32px;
  background-color: #fff;
}

.cart-qty-btn {
  width: 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition-smooth);
}

.cart-qty-btn:hover {
  background-color: var(--bg-cream);
}

.cart-item-qty input {
  width: 28px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.cart-item-remove-btn {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  padding: 6px;
}

.cart-item-remove-btn:hover {
  color: var(--status-sold);
}

/* Cart calculation and checkout foot pane */
.cart-drawer-footer {
  padding: 24px;
  background-color: var(--bg-cream);
  border-top: 1.5px solid rgba(0, 0, 0, 0.05);
}

.cart-delivery-form {
  margin: 16px 0;
  background: rgba(255, 255, 255, 0.5);
  padding: 14px;
  border-radius: var(--border-radius-md);
  border: 1.5px solid var(--bg-cream);
}

.cart-delivery-form h4 {
  font-size: 0.8rem;
  color: var(--primary-burgundy);
  margin-top: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.cart-delivery-form input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  background-color: var(--text-light);
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition-smooth);
}

.cart-delivery-form input:last-child {
  margin-bottom: 0;
}

.cart-delivery-form input:focus {
  border-color: var(--accent-gold);
  background-color: var(--text-light);
  outline: none;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.savings-row {
  color: var(--status-sale);
  font-weight: 600;
}

.cart-divider {
  border: 0;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 12px 0;
}

.total-row {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.shipping-progress-msg {
  font-size: 0.78rem;
  background-color: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: var(--accent-gold-dark);
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  text-align: center;
  margin-bottom: 18px;
}

.whatsapp-checkout-btn {
  width: 100%;
  height: 52px;
  background-color: #25d366; /* WhatsApp official green */
  color: var(--text-light);
  border-radius: var(--border-radius-md);
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  transition: var(--transition-smooth);
}

.whatsapp-checkout-btn:hover {
  background-color: #20ba5a;
  box-shadow: 0 6px 20px rgba(32, 186, 90, 0.35);
  transform: translateY(-1px);
}

/* Cart Drawer Empty State */
.cart-empty-state {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.empty-cart-icon {
  font-size: 3.5rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
  opacity: 0.7;
}

.cart-empty-state h4 {
  font-size: 1.25rem;
  color: var(--primary-burgundy);
  margin-bottom: 8px;
}

.cart-empty-state p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 260px;
}

.cart-shop-btn {
  background-color: var(--primary-burgundy);
  color: var(--text-light);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

.cart-shop-btn:hover {
  background-color: var(--accent-gold);
  color: var(--primary-burgundy-dark);
}

/* 11. Footer Styles */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 0 0;
  border-top: 2px solid var(--accent-gold);
}

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

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1.5px;
  background-color: var(--accent-gold);
}

.brand-col .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-family: 'Playfair Display', serif;
  color: var(--text-light);
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--accent-gold);
}

.footer-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  margin-bottom: 24px;
  font-weight: 300;
  line-height: 1.6;
}

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

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background-color: var(--accent-gold);
  color: var(--primary-burgundy-dark);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.links-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  font-weight: 300;
}

.links-col a:hover {
  color: var(--accent-gold);
  padding-left: 6px;
}

.contact-col p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 300;
}

.contact-col p i {
  color: var(--accent-gold);
  font-size: 1rem;
}

.contact-col a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.contact-col a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  background-color: var(--primary-burgundy-dark);
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

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

.crafted-credit {
  font-style: italic;
}

/* ==========================================================================
   12. RESPONSIVE DESIGN - MEDIA QUERIES
   ========================================================================== */

/* Medium desktops / tablets landscape */
@media (max-width: 1200px) {
  .store-layout {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }
  .about-container {
    gap: 40px;
  }
  .about-img {
    height: 440px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
}

/* Tablets Portrait & Lower */
@media (max-width: 991px) {
  .store-layout {
    grid-template-columns: 1fr; /* Stack sidebar */
    gap: 0;
    padding-top: 30px;
  }
  
  /* Collapsible mobile filter drawer */
  .filters-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%); /* Hidden on left */
    width: 100%;
    max-width: 340px;
    height: 100vh;
    z-index: 1100;
    border-radius: 0;
    box-shadow: var(--box-shadow-lg);
    overflow-y: auto;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }
  
  .filters-sidebar.active {
    transform: translateX(0);
  }
  
  .sidebar-close-btn {
    display: flex;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    align-items: center;
    justify-content: center;
  }
  
  .mobile-filters-bar {
    display: block;
    margin-bottom: 24px;
  }
  
  .mobile-filter-btn {
    width: 100%;
    background-color: var(--primary-burgundy);
    color: var(--text-light);
    border: 1px solid var(--accent-gold);
    padding: 14px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--box-shadow-sm);
  }
  
  /* About layout */
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img {
    height: 360px;
  }
  
  /* Footer layout */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  /* Modal Layout */
  .product-modal-container {
    max-width: 650px;
  }
  .modal-body-content {
    grid-template-columns: 1fr; /* Stack modal panels */
  }
  .modal-gallery-pane {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 24px;
  }
  .modal-details-pane {
    padding: 24px;
  }
}

/* Small mobile devices */
@media (max-width: 768px) {
  /* Navigation */
  .menu-toggle-btn {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    border-bottom: 1.5px solid var(--accent-gold);
    padding: 24px;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 998;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  /* Hero */
  .hero-section {
    height: 55vh;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-description {
    font-size: 0.95rem;
  }
  
  /* Grid */
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Super Small mobiles */
@media (max-width: 480px) {
  .header-container {
    padding: 0 16px;
  }
  .brand-name {
    font-size: 1.4rem;
  }
  .logo-image {
    width: 36px;
    height: 36px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-cta-btn {
    padding: 12px 24px;
    font-size: 0.88rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr; /* Single column on tiny screens */
  }
  
  .modal-action-row {
    flex-direction: column;
    align-items: stretch;
  }
  .quantity-selector-wrapper {
    justify-content: center;
  }
}

/* ==========================================================================
   CONTACT MODAL STYLING (DARK GOLD THEME)
   ========================================================================== */
.contact-modal-container {
  background-color: var(--bg-dark);
  width: 100%;
  max-width: 550px;
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--accent-gold);
  box-shadow: var(--box-shadow-lg);
  position: relative;
  padding: 40px;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  color: var(--text-light);
}

.modal-backdrop.active .contact-modal-container {
  transform: translateY(0);
}

.contact-modal-container .contact-header {
  text-align: center;
  margin-bottom: 28px;
}

.contact-modal-container .contact-title {
  font-family: var(--font-header);
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin: 8px 0;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.contact-modal-container .contact-subtitle {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form-modal {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.contact-modal-container .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.contact-modal-container .form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-modal-container .form-group input,
.contact-modal-container .form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--bg-dark-gray);
  color: var(--text-light);
  transition: var(--transition-smooth);
  width: 100%;
}

.contact-modal-container .form-group input::placeholder,
.contact-modal-container .form-group textarea::placeholder {
  color: #666;
}

.contact-modal-container .form-group input:focus,
.contact-modal-container .form-group textarea:focus {
  outline: none;
  background-color: var(--bg-dark);
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
}

.contact-modal-container .form-submit-row {
  text-align: right;
  margin-top: 24px;
}

.contact-modal-container .form-submit-btn {
  background-color: var(--bg-dark);
  color: var(--accent-gold);
  border: 1.5px solid var(--accent-gold);
  padding: 12px 30px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--box-shadow-sm);
}

.contact-modal-container .form-submit-btn:hover {
  background-color: var(--accent-gold);
  color: var(--bg-dark);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
  transform: translateY(-2px);
}

.contact-modal-container .form-submit-btn:active {
  transform: translateY(0);
}
