@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-accent: #35bfe5;
  --color-accent-2: #d238e4;
  --color-accent-3: #e29747;
  --color-accent-warm: #e19506;
  --color-accent-soft: #e4eef0;
  --color-accent-2-soft: #efe4f0;
  --color-accent-3-soft: #f0eae4;
  --color-accent-warm-soft: #f2ece2;

  --color-bg: #fdf2f5;
  --color-bg-2: #fbcfe8;
  --color-bg-white: #ffffff;
  --color-bg-rgb: 253, 242, 245;
  --color-bg-white-rgb: 255, 255, 255;

  --color-text: #4a0e1f;
  --color-text-secondary: #7a1c33;
  --color-text-muted: #a96b7d;

  --color-border: #f4d7e2;
  --color-border-light: #fbe7ee;

  --color-footer-bg: #9f1239;
  --color-footer-text: #fbcfe8;
  --color-footer-muted: #f4a8c4;
  --color-footer-link: #fdd5e3;
  --color-footer-border: rgba(251, 207, 232, 0.18);
  --color-footer-social-bg: rgba(251, 207, 232, 0.12);
  --color-footer-social-border: rgba(251, 207, 232, 0.2);

  --font-heading: 'Fraunces', 'Georgia', serif;
  --font-body: 'Outfit', -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 6px rgba(159, 18, 57, 0.06);
  --shadow-md: 0 6px 16px rgba(159, 18, 57, 0.08);
  --shadow-lg: 0 14px 32px rgba(159, 18, 57, 0.10);
  --shadow-xl: 0 24px 48px rgba(159, 18, 57, 0.14);
}

body {
  background:
    radial-gradient(ellipse at 15% 10%, rgba(251, 207, 232, 0.55) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(159, 18, 57, 0.07) 0%, transparent 50%),
    var(--color-bg);
  background-attachment: fixed;
}

/* ── Announcement & Header ─────────────────────────────────────────────── */
.announcement-bar {
  background: linear-gradient(90deg, #9f1239 0%, #be185d 50%, #9f1239 100%);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-size: 11px;
}
.announcement-bar strong { color: #fbcfe8; }

.site-header {
  background: rgba(253, 242, 245, 0.86);
  border-bottom: 1px solid rgba(159, 18, 57, 0.1);
}
.logo-text {
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #9f1239 0%, #be185d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-link.active {
  background: linear-gradient(135deg, #fbcfe8, #f9a8d4);
  color: #9f1239;
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO — Elegant Scent Boutique
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(251, 207, 232, 0.8) 0%, transparent 55%),
    linear-gradient(180deg, #fdf2f5 0%, #fbe7ee 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(159, 18, 57, 0.06) 0%, transparent 25%),
    radial-gradient(circle at 82% 70%, rgba(251, 207, 232, 0.5) 0%, transparent 30%);
  pointer-events: none;
}

.hero-content { text-align: center; }
.hero-actions { justify-content: center; }
.hero-subtitle {
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(159, 18, 57, 0.2);
  color: #9f1239;
  letter-spacing: 3px;
  backdrop-filter: blur(8px);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}
.hero-badge::before {
  content: '❀';
  font-size: 14px;
  color: #9f1239;
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #4a0e1f 0%, #9f1239 60%, #be185d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════════════
   PERFUME BOTTLE VERTICAL CARDS
   ═══════════════════════════════════════════════════════════════════════ */
.product-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #fdf2f5 100%);
  border: 1px solid rgba(159, 18, 57, 0.12);
  border-radius: 0 0 60px 60px / 0 0 80px 80px;
  position: relative;
  padding-top: 14px;
  overflow: visible;
}

/* The perfume bottle "cap" */
.product-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 22px;
  background: linear-gradient(180deg, #9f1239 0%, #be185d 100%);
  border-radius: 6px 6px 4px 4px;
  box-shadow: 0 4px 10px rgba(159, 18, 57, 0.3);
  z-index: 3;
}
/* The "neck" of the bottle */
.product-card::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 10px;
  background: linear-gradient(180deg, #fbcfe8 0%, #f9a8d4 100%);
  border-left: 1px solid rgba(159, 18, 57, 0.15);
  border-right: 1px solid rgba(159, 18, 57, 0.15);
  z-index: 2;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(159, 18, 57, 0.18);
  border-color: rgba(159, 18, 57, 0.25);
}

.card-image-wrapper {
  background: linear-gradient(180deg, #fbcfe8 0%, #fdf2f5 100%);
  margin: 8px 14px 0;
  border-radius: 8px 8px 0 0;
  padding-top: calc(100% - 14px);
}
.card-image-wrapper::after {
  content: '';
  position: absolute;
  top: 12%;
  left: 18%;
  width: 28%;
  height: 18%;
  background: linear-gradient(135deg, rgba(255,255,255,0.55) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transform: rotate(-15deg);
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 18px 22px 26px;
}

.card-brand {
  color: #9f1239;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 2px;
}
.card-title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.3px;
}
.card-rating, .card-viewers, .card-popularity { justify-content: center; }
.card-price { justify-content: center; }
.price-current {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: #9f1239;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-primary,
.btn-cta {
  background: linear-gradient(135deg, #9f1239 0%, #be185d 100%);
  box-shadow: 0 4px 14px rgba(159, 18, 57, 0.28);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}
.btn-primary:hover,
.btn-cta:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 22px rgba(159, 18, 57, 0.35);
}

.btn-outline {
  border: 1px solid #9f1239;
  color: #9f1239;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
}
.btn-outline:hover {
  background: #9f1239;
  color: #fbcfe8;
  border-color: #9f1239;
}

/* ── Section Titles ──────────────────────────────────────────────────── */
.section-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #9f1239;
}
.section-header {
  position: relative;
}
.section-header::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #9f1239, transparent);
  margin: 14px auto 0;
}

/* ── Categories ──────────────────────────────────────────────────────── */
.category-card {
  background: linear-gradient(180deg, #ffffff 0%, #fdf2f5 100%);
  border: 1px solid rgba(159, 18, 57, 0.1);
}
.category-card:hover {
  border-color: #d238e4;
  box-shadow: 0 12px 28px rgba(210, 56, 228, 0.12);
}
.category-icon {
  background: linear-gradient(135deg, #efe4f0 0%, #fbcfe8 100%);
  color: #9f1239;
  box-shadow: inset 0 2px 6px rgba(159, 18, 57, 0.08);
}
.category-card h3 { font-family: 'Fraunces', serif; font-weight: 500; }

/* ── Filters ─────────────────────────────────────────────────────────── */
.filter-btn { font-family: 'Outfit', sans-serif; }
.filter-btn.active,
.page-num.active {
  background: linear-gradient(135deg, #9f1239 0%, #be185d 100%);
  border-color: #9f1239;
}

/* ── Newsletter ──────────────────────────────────────────────────────── */
.newsletter-section {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(251, 207, 232, 0.7) 0%, transparent 60%),
    linear-gradient(180deg, #fdf2f5 0%, #fbe7ee 100%);
}
.newsletter-text h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: #9f1239;
}
.newsletter-form input { border: 1px solid rgba(159, 18, 57, 0.18); }
.newsletter-form input:focus { border-color: #9f1239; box-shadow: 0 0 0 3px rgba(159,18,57,0.1); }
.newsletter-form button {
  background: linear-gradient(135deg, #9f1239 0%, #be185d 100%);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 12px;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq-section {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(251, 207, 232, 0.4) 0%, transparent 50%),
    var(--color-accent-2-soft);
}
.faq-item { background: rgba(255, 255, 255, 0.85); }
.faq-item[open] { border-color: #d238e4; box-shadow: 0 6px 18px rgba(210,56,228,0.1); }
.faq-question { font-family: 'Fraunces', serif; font-weight: 500; }

/* ── Buying Guide ────────────────────────────────────────────────────── */
.guide-card {
  background: linear-gradient(180deg, #ffffff 0%, #fdf2f5 100%);
  border: 1px solid rgba(159, 18, 57, 0.1);
}
.guide-card:hover { border-color: #e19506; }
.guide-number {
  background: linear-gradient(135deg, #e19506, #e29747);
  font-family: 'Fraunces', serif;
}
.guide-card-title { font-family: 'Fraunces', serif; font-weight: 500; }

/* ── Testimonials ────────────────────────────────────────────────────── */
.testimonials-section {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(251, 207, 232, 0.5) 0%, transparent 50%),
    var(--color-accent-3-soft);
}
.testimonial-card { background: rgba(255, 255, 255, 0.92); border-radius: 16px; }
.testimonial-text { font-family: 'Fraunces', serif; font-style: italic; font-size: 15px; }
.testimonial-avatar {
  background: linear-gradient(135deg, #fbcfe8, #f9a8d4);
  color: #9f1239;
  font-family: 'Fraunces', serif;
}

/* ── Stats ───────────────────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, #9f1239 0%, #be185d 50%, #d238e4 100%);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(251, 207, 232, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(251, 207, 232, 0.15) 0%, transparent 40%);
  pointer-events: none;
}
.stat-number {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  color: #fbcfe8;
}

/* ── Top Picks ───────────────────────────────────────────────────────── */
.top-picks-section {
  background:
    radial-gradient(ellipse at 70% 80%, rgba(251, 207, 232, 0.4) 0%, transparent 50%),
    var(--color-accent-warm-soft);
}
.top-pick-item { background: rgba(255, 255, 255, 0.95); }
.top-pick-item:hover { border-color: #e19506; }
.top-pick-rank { font-family: 'Fraunces', serif; font-style: italic; color: #e19506; }
.top-pick-name { font-family: 'Fraunces', serif; font-weight: 500; }

/* ── Product Page ────────────────────────────────────────────────────── */
.product-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  color: #4a0e1f;
}
.product-brand-link { color: #9f1239; }
.product-price-block {
  background: linear-gradient(135deg, #fdf2f5 0%, #fbe7ee 100%);
  border: 1px solid rgba(159, 18, 57, 0.12);
}
.price-big { font-family: 'Fraunces', serif; color: #9f1239; }
.price-save { background: rgba(159, 18, 57, 0.08); color: #9f1239; }

/* ── Widgets: Delivery, Pros/Cons, Price History, Reviews, Social Proof ─── */
.delivery-widget {
  background: linear-gradient(135deg, #fdf2f5 0%, #ffffff 100%);
  border: 1px solid rgba(159, 18, 57, 0.12);
}
.delivery-item svg { color: #9f1239; }

.pros-cons-widget {
  background: linear-gradient(135deg, #fdf2f5 0%, #ffffff 100%);
  border: 1px solid rgba(159, 18, 57, 0.12);
}
.pros-cons-widget h3 { font-family: 'Fraunces', serif; font-style: italic; color: #9f1239; }

.price-history-section,
.user-reviews-section {
  background: linear-gradient(180deg, #ffffff 0%, #fdf2f5 100%);
  border: 1px solid rgba(159, 18, 57, 0.12);
}
.price-history-section .section-title,
.user-reviews-section .section-title { text-align: left; }
.chart-bar {
  background: linear-gradient(180deg, #fbcfe8 0%, #be185d 100%);
}
.chart-bar-current {
  background: linear-gradient(180deg, #9f1239 0%, #4a0e1f 100%);
  box-shadow: 0 0 14px rgba(159, 18, 57, 0.4);
}
.reviews-big-number { font-family: 'Fraunces', serif; color: #9f1239; }
.review-avatar { background: linear-gradient(135deg, #9f1239, #be185d); }
.review-bar-fill { background: linear-gradient(90deg, #fbcfe8, #9f1239); }

.social-proof-popup {
  background: linear-gradient(135deg, #ffffff 0%, #fdf2f5 100%);
  border: 1px solid rgba(159, 18, 57, 0.18);
  border-radius: 16px;
}
.popup-icon { background: linear-gradient(135deg, #9f1239, #be185d); }
.popup-text strong { color: #9f1239; }

/* ── Brand Showcase / Trending ───────────────────────────────────────── */
.brand-initial { background: linear-gradient(135deg, #9f1239, #be185d); }
.brand-name { font-family: 'Fraunces', serif; }
.trending-rank { font-family: 'Fraunces', serif; color: #9f1239; }
.trending-name { font-family: 'Fraunces', serif; font-weight: 500; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(190, 24, 93, 0.4) 0%, transparent 50%),
    #9f1239;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  color: #fbcfe8;
}
.social-links a:hover { background: #fbcfe8; color: #9f1239; }

/* ── Subtle floating petal animation ─────────────────────────────────── */
@keyframes petal-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50% { transform: translateY(-12px) rotate(8deg); opacity: 0.8; }
}
.hero-badge { animation: petal-drift 6s ease-in-out infinite; }

@keyframes shimmer {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}
.product-card::before { animation: shimmer 4s ease-in-out infinite; }

/* ── Card Layout Guards (mandatory) ──────────────────────────────────── */
.product-card { display: flex; flex-direction: column; }
.card-body { flex: 1; display: flex; flex-direction: column; }
.card-body .btn-cta { margin-top: auto; }

@media (max-width: 768px) {
  .product-card::before { width: 44%; }
  .product-card::after { width: 32%; }
  .hero-badge { animation: none; }
}