/* ==========================================================================
   Bloom N Be Studio — Luxury Botanical E-Commerce Stylesheet
   Theme: Deep Plum, Warm Gold, Muted Rose & Warm Cream
   ========================================================================== */

:root {
  --primary: #5B2C6F;          /* Deep Regal Plum */
  --primary-light: #7D3C98;    /* Medium Plum */
  --primary-dark: #3D1B4B;     /* Midnight Plum */
  --gold: #C9A96E;             /* Radiant Warm Gold */
  --gold-light: #DFCA9B;       /* Soft Shimmer Gold */
  --gold-dark: #A38249;        /* Antique Gold */
  --rose: #E8B4C8;             /* Soft Rose Petal */
  --rose-muted: #8B3A62;       /* Deep Dusty Rose */
  --bg-cream: #FFF9F2;         /* Warm Sand Cream */
  --bg-surface: #FFFFFF;       /* Pure White for Cards */
  --bg-subtle: #F7EFE6;        /* Subtle Warm Tint */
  --text-main: #2C1E2E;        /* Deep Espresso Plum Text */
  --text-muted: #6E5D6C;       /* Soft Taupe Body Text */
  --border-light: #EADECF;     /* Delicate Golden Border */
  --success: #2E7D32;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(91, 44, 111, 0.06);
  --shadow-md: 0 8px 24px rgba(91, 44, 111, 0.08);
  --shadow-lg: 0 16px 40px rgba(91, 44, 111, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* Typography Helpers */
.font-serif { font-family: var(--font-serif); }
.font-heading { font-family: var(--font-heading); }
.font-sans { font-family: var(--font-sans); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 600;
  line-height: 1.25;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #3D1B4B 0%, #5B2C6F 50%, #3D1B4B 100%);
  color: #FFF9F2;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  text-align: center;
  position: relative;
  z-index: 50;
  font-weight: 500;
}

.announcement-bar span.code {
  background: rgba(201, 169, 110, 0.25);
  border: 1px dashed var(--gold);
  color: var(--gold-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Header & Nav */
.header {
  background-color: rgba(255, 249, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 40;
  transition: var(--transition);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  user-select: none;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.brand-n {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gold);
  font-weight: 700;
  margin: 0 2px;
}

.brand-sub {
  font-size: 0.625rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rose-muted);
  font-weight: 600;
  margin-top: 3px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

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

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

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

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Currency Selector */
.currency-select {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.currency-select:hover {
  border-color: var(--gold);
}

/* Cart Button */
.cart-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
  transition: var(--transition);
}

.cart-btn:hover {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

.cart-badge {
  background: var(--gold);
  color: #2C1E2E;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #461C57 100%);
  color: #FFF;
  box-shadow: 0 4px 14px rgba(91, 44, 111, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6B3482 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(91, 44, 111, 0.35);
  color: #FFF;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #2C1833;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(201, 169, 110, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #D6B77D 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 169, 110, 0.45);
}

.btn-secondary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #FFF;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

/* Hero Section */
.hero {
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91, 44, 111, 0.08);
  border: 1px solid rgba(91, 44, 111, 0.15);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--rose-muted);
  font-weight: 400;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* Hero Showcase Card */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: var(--transition);
}

.hero-card:hover {
  transform: translateY(-4px);
}

.hero-card-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  background: #EEDCCE;
}

.hero-card-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-card:hover .hero-card-img img {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  animation: float 4s ease-in-out infinite;
}

.badge-top-right {
  top: -16px;
  right: -16px;
}

.badge-bottom-left {
  bottom: 24px;
  left: -20px;
  animation-delay: -2s;
}

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

/* Section Common */
.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-muted);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

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

/* Featured Product Section */
.featured-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.main-preview {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: #EADECF;
}

.main-preview img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.thumb-btn {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: var(--transition);
}

.thumb-btn.active, .thumb-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.thumb-btn img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Product Info */
.product-badge {
  display: inline-block;
  background: rgba(201, 169, 110, 0.2);
  border: 1px solid var(--gold);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.product-title {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.product-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.stars {
  color: var(--gold);
}

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

.price-current {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

.price-original {
  font-size: 1.25rem;
  text-decoration: line-through;
  color: #A89CA8;
}

.price-save {
  background: #E8F5E9;
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.feature-list {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.feature-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.product-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.product-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

/* Value Props / Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

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

.benefit-icon {
  width: 56px;
  height: 56px;
  background: rgba(91, 44, 111, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  font-size: 1.5rem;
}

.benefit-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

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

/* Reviews Carousel */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: var(--gold);
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.author-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
}

.author-verify {
  font-size: 0.75rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  color: var(--gold);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* Lead Magnet / Newsletter Banner */
.newsletter-banner {
  background: linear-gradient(135deg, #3D1B4B 0%, #5B2C6F 60%, #461C57 100%);
  color: #FFF;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.newsletter-title {
  color: #FFF;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.newsletter-desc {
  color: #E8DCCF;
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 28px;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 10px;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  outline: none;
}

.newsletter-input::placeholder {
  color: #DFCA9B;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: #EADECF;
  padding: 70px 0 30px;
  font-size: 0.9375rem;
}

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

.footer-col h4 {
  color: var(--gold-light);
  font-size: 1.05rem;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

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

.footer-col a:hover {
  color: #FFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #B5A1A8;
}

/* Slide-out Cart Drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 30, 46, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg-surface);
  z-index: 100;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-cream);
}

.cart-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 72px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #EADECF;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary);
  margin: 6px 0;
}

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

.qty-btn {
  background: none;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  color: var(--primary);
}

.qty-val {
  padding: 2px 8px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary-dark);
  color: #FFF;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 200;
  font-size: 0.875rem;
  font-weight: 500;
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--gold);
}

.toast.show {
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .featured-box { grid-template-columns: 1fr; }
  .benefits-grid, .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .hero-title { font-size: 2.15rem; }
  .section-title { font-size: 1.85rem; }
}
