/* ============================================================
   FashionShop-Vegarix — Ultra Luxury Design & Animation Engine
   High-End Obsidian & Champagne Gold Aesthetics
   ============================================================ */

:root {
  --lux-obsidian: #0b0d11;
  --lux-charcoal: #14171f;
  --lux-surface: #1c202a;
  --lux-gold-primary: #d4af37;
  --lux-gold-light: #f5e7a9;
  --lux-gold-dark: #aa8214;
  --lux-gold-gradient: linear-gradient(135deg, #f5e7a9 0%, #d4af37 50%, #aa8214 100%);
  --lux-gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);
  --lux-ivory: #faf8f5;
  --lux-card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.06);
  --lux-card-hover: 0 20px 40px -12px rgba(212, 175, 55, 0.22), 0 8px 24px -4px rgba(0, 0, 0, 0.18);
  --lux-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --lux-radius-sm: 8px;
  --lux-radius-md: 14px;
  --lux-radius-lg: 22px;
}

/* Smooth Scrolling & Typography */
html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--lux-ivory);
  color: #111111;
  font-family: 'Plus Jakarta Sans', 'Inter', 'Noto Sans Bengali', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, .font-serif, .font-serif-title {
  font-family: 'Playfair Display', 'Noto Serif Bengali', serif;
  letter-spacing: -0.02em;
}

/* Keyframe Animations */
@keyframes luxShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes luxPulseGold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    transform: scale(1.02);
  }
}

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

@keyframes luxGlowBorder {
  0%, 100% { border-color: rgba(212, 175, 55, 0.4); }
  50% { border-color: rgba(212, 175, 55, 0.9); }
}

/* Glassmorphism Header */
header, .site-header, nav {
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  transition: var(--lux-transition);
}

/* Luxury Announcement Bar */
.announcement-bar, [class*="announcement"] {
  background: linear-gradient(90deg, #0b0d11 0%, #1e1b18 50%, #0b0d11 100%) !important;
  color: #f5e7a9 !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Hero Section Enhancements */
.hero-section, [class*="hero"] {
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Product Cards & Luxury Hover Effects */
.product-card, [class*="ProductCard"], [class*="product-card"] {
  border-radius: var(--lux-radius-md) !important;
  transition: var(--lux-transition) !important;
  border: 1px solid rgba(232, 227, 216, 0.8) !important;
  background: #ffffff !important;
  position: relative;
  overflow: hidden;
}

.product-card:hover, [class*="ProductCard"]:hover, [class*="product-card"]:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: var(--lux-card-hover) !important;
  border-color: rgba(212, 175, 55, 0.5) !important;
}

.product-card img, [class*="ProductCard"] img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card:hover img, [class*="ProductCard"]:hover img {
  transform: scale(1.06) !important;
}

/* Luxury Price Tags & Badges */
.badge-discount, [class*="discount-badge"], [class*="badge-sale"] {
  background: var(--lux-gold-gradient) !important;
  color: #0b0d11 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35) !important;
  letter-spacing: 0.05em;
  border-radius: 6px !important;
}

.price-current, [class*="price-current"], .lux-price {
  color: #0b0d11 !important;
  font-weight: 800 !important;
}

/* Luxury Size Selector Buttons */
button[class*="size-btn"], .size-option {
  border: 1.5px solid #e2e8f0 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: var(--lux-transition) !important;
}

button[class*="size-btn"]:hover, .size-option:hover {
  border-color: var(--lux-gold-primary) !important;
  color: var(--lux-gold-dark) !important;
  transform: translateY(-2px);
}

button[class*="size-btn"].active, .size-option.active, button[class*="size-btn"][aria-selected="true"] {
  background: #0b0d11 !important;
  color: #f5e7a9 !important;
  border-color: var(--lux-gold-primary) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

/* Cash On Delivery Master CTA Buttons */
.btn-cod, button[type="submit"], [class*="btn-order"], [class*="btn-primary"] {
  background: linear-gradient(135deg, #1c202a 0%, #0b0d11 100%) !important;
  color: #f5e7a9 !important;
  border: 1px solid rgba(212, 175, 55, 0.6) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  border-radius: var(--lux-radius-sm) !important;
  transition: var(--lux-transition) !important;
  position: relative;
  overflow: hidden;
}

.btn-cod::before, button[type="submit"]::before, [class*="btn-order"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(245, 231, 169, 0.25), transparent);
  transition: 0.5s;
}

.btn-cod:hover::before, button[type="submit"]:hover::before, [class*="btn-order"]:hover::before {
  left: 100%;
}

.btn-cod:hover, button[type="submit"]:hover, [class*="btn-order"]:hover, [class*="btn-primary"]:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px -4px rgba(212, 175, 55, 0.4), 0 0 15px rgba(212, 175, 55, 0.3) !important;
  border-color: var(--lux-gold-primary) !important;
}

/* Flash Sale Countdown Timer */
.countdown-box, [class*="timer-box"], [class*="countdown-digit"] {
  background: #0b0d11 !important;
  color: #f5e7a9 !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

/* Sticky Mobile Quick Order Bar */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(11, 13, 17, 0.95);
  backdrop-filter: blur(16px);
  padding: 12px 18px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

/* Modern Shopping Cart Drawer */
.cart-drawer, [class*="cart-drawer"], [class*="drawer-content"] {
  background: #ffffff !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25) !important;
  border-left: 1px solid rgba(212, 175, 55, 0.3) !important;
}

/* POS Thermal Receipt Preview */
.thermal-receipt-container {
  background: #ffffff;
  color: #000000;
  font-family: 'Courier New', Courier, monospace;
  width: 80mm;
  padding: 16px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px dashed #cccccc;
  line-height: 1.35;
}

/* High-Security Admin Dashboard Overrides */
body.admin-view, .admin-container {
  background: #0b0d11 !important;
  color: #f1f5f9 !important;
}

.admin-card {
  background: #14171f !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--lux-radius-md) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.admin-card:hover {
  border-color: rgba(212, 175, 55, 0.35) !important;
}
