/* 
  NEROSE OFFICIAL LUXURY STORE STYLESHEET
  Grace in Every Detail
*/

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

:root {
  --primary-gold: #D4AF37;
  --gold-dark: #A37E1C;
  --gold-light: #F9E7B8;
  --gold-gradient: linear-gradient(135deg, #F4D06F 0%, #D4AF37 50%, #B8860B 100%);
  --rose-gradient: linear-gradient(135deg, #FFE5EC 0%, #F8D7DA 50%, #F1C6C9 100%);
  --orchid-accent: #7E57C2;
  --orchid-light: #F3E5F5;
  --bg-cream: #FAF7F2;
  --bg-soft: #FFF9F5;
  --text-dark: #1F1F1F;
  --text-muted: #6B7280;
  --border-subtle: #EBE5DC;
  --shadow-luxury: 0 10px 30px -10px rgba(212, 175, 55, 0.18), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 35px -12px rgba(212, 175, 55, 0.28), 0 8px 12px -4px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
  padding-bottom: 70px; /* Space for mobile sticky bottom navigation */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* Typography Overrides */
.font-serif-luxury {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-editorial {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Luxury Gold & Shimmer Effects */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-border {
  border-color: var(--primary-gold);
}

.bg-gold-gradient {
  background: var(--gold-gradient);
}

.shimmer-btn {
  background: var(--gold-gradient);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@keyframes btnShimmer {
  0% { transform: rotate(30deg) translate(-100%, -100%); }
  25%, 100% { transform: rotate(30deg) translate(100%, 100%); }
}

.shimmer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Glassmorphism Header & Cards */
.glass-header {
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(235, 229, 220, 0.85);
}

/* Product Card Styling */
.product-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: #FFFFFF;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-card .img-container {
  overflow: hidden;
  position: relative;
}

.product-card .img-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-card .quick-action-bar {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

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

/* Infinite Moving Reviews Marquee */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

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

/* Live Purchase Toast / Social Proof */
.live-sales-popup {
  position: fixed;
  bottom: 85px;
  left: 20px;
  z-index: 950;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid #D4AF37;
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  animation: slideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (min-width: 768px) {
  .live-sales-popup {
    bottom: 24px;
    left: 24px;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Sticky Mobile Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid #EBE5DC;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 12px 10px 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #6B7280;
  font-size: 10px;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
}

.mobile-nav-item.active,
.mobile-nav-item:active,
.mobile-nav-item:hover {
  color: #A37E1C;
}

/* Floating WhatsApp button position */
.whatsapp-float {
  position: fixed;
  bottom: 85px;
  right: 20px;
  z-index: 940;
  animation: pulse-green 2.5s infinite;
}

@media (min-width: 768px) {
  .whatsapp-float {
    bottom: 24px;
    right: 24px;
  }
}

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

/* Interactive Hamper Step Card */
.hamper-step-card {
  border: 2px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}

.hamper-step-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.hamper-step-card.selected {
  border-color: #D4AF37;
  background: #FFFDF9;
  box-shadow: 0 0 0 1px #D4AF37, 0 6px 20px rgba(212, 175, 55, 0.18);
}

/* Mobile grid optimization */
@media (max-width: 640px) {
  .product-card .quick-action-bar {
    opacity: 1 !important;
    transform: translateY(0) !important;
    position: static;
    padding: 0 8px 10px 8px;
  }

  .product-card .img-container {
    height: 180px;
  }
}
