/* ===== SHEPUNZEL — CSS ===== */

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

:root {
  --pink-deep: #d4547a;
  --pink-mid: #e8799a;
  --pink-light: #f5b8cc;
  --pink-pale: #fde8ef;
  --pink-blush: #fff0f5;
  --rose: #c9456b;
  --gold: #c9a96e;
  --white: #ffffff;
  --text-dark: #2d1a24;
  --text-mid: #6b3d52;
  --text-light: #a8768a;
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans: 'Jost', sans-serif;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(212,84,122,0.15);
  --shadow-card: 0 8px 40px rgba(212,84,122,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-sans);
  color: var(--text-dark);
  background: #fff0f5;
  overflow-x: hidden;
  cursor: default;
}

a {
    text-decoration: none;
}

/* ===== CANVAS BACKGROUND ===== */
#bgCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== PETALS ===== */
.petals-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.petal {
    position: absolute;
    top: -50px; /* Start well above the screen */
    pointer-events: none;
    z-index: 999;
    user-select: none;
    opacity: 0; /* Start hidden */
    animation: petalFall linear infinite;
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Behind everything */
    pointer-events: none; /* Allows clicking through the canvas */
}

/* IMPORTANT: If your .hero or .bestsellers sections have 
   background-color: white;, change them to background: transparent; 
   otherwise, you won't see the falling flowers through them! */
.hero, .bestsellers {
    background: transparent !important;
}

@keyframes petalFall {
    0% { 
        transform: translateY(0) rotate(0deg) translateX(0); 
        opacity: 0;
    }
    10% {
        opacity: 0.5; /* Fade in slowly */
    }
    50% {
        /* Add a gentle mid-way sway to the side */
        transform: translateY(50vh) rotate(180deg) translateX(30px);
    }
    90% {
        opacity: 0.5;
    }
    100% { 
        /* Total fall height and final rotation */
        transform: translateY(110vh) rotate(360deg) translateX(-20px); 
        opacity: 0; /* Fade out at the bottom */
    }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  z-index: 1000;
  /* Default state: slightly visible so it's not "invisible" */
  background: rgba(255, 240, 245, 0.4); 
  backdrop-filter: blur(5px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.policy{
    color: #6b3d52;
}

.nav-container-left {
  display: flex;
  align-items: center;
  gap: 40px; /* Adjust this value to bring Policy closer or further from the logo */
}


.navbar.scrolled {
  padding: 12px 60px;
  background-color: #FDE8EF;
}


.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-script {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--pink-deep);
  letter-spacing: 1px;
}

.logo-tag {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: -2px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--pink-deep);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--pink-deep); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 25px; /* Space between Policy and the Icons */
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-mid);
  font-size: 1rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  position: relative;
}

.icon-btn:hover {
  background: var(--pink-pale);
  color: var(--pink-deep);
}

.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--pink-deep);
  color: white;
  font-size: 0.6rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-sans);
  font-weight: 500;
}

.hamburger { display: none; background: none; border: none; cursor: pointer; font-size: 1.2rem; color: var(--text-mid); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-content: center;
  padding: 120px 60px 80px;
  position: relative;
  z-index: 2;
  gap: 40px;
  background-color: #fde8ef;
}

.hero-content { display: flex; flex-direction: column; max-width: 560px; justify-content: center; align-items: center;  }

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--pink-mid);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: var(--ff-serif);
  font-size: 120px;
  font-weight: 300;
  line-height: 1.05;
  color: var(--pink-mid);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero-title em {
  font-style: italic;
  color: var(--pink-deep);
}

/* ===== 🌼 DAISY BLOOM & DANCE ===== */

/* This makes the flowers stick to the left and right of the text */
.hero-title span {
    position: relative;
    display: inline-block;
}

/* Base style for both flowers */
.hero-title span::before,
.hero-title span::after {
    content: '🌷';
    position: absolute;
    top: 50%;
    font-size: 3.5rem; /* Size of the daisy */
    pointer-events: none;
    transform: translateY(-50%) scale(0); /* Start hidden */
    
    /* Animation 1: Bloom (1s), Animation 2: Dance (Infinite sway) */
    animation: 
        daisyBloom 5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
        daisyDance 4s ease-in-out infinite 1.2s;
}

/* Left Flower Position & Initial Tilt */
.hero-title span::before {
    left: -70px;
    --initial-tilt: -25deg;
    transform-origin: right center;
}

/* Right Flower Position & Initial Tilt */
.hero-title span::after {
    right: -70px;
    --initial-tilt: 25deg;
    transform-origin: left center;
}

/* Animation: Growing and tilting outward on refresh */
@keyframes daisyBloom {
    0% {
        transform: translateY(-50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    100% {
        transform: translateY(-50%) scale(1) rotate(var(--initial-tilt));
        opacity: 1;
    }
}

/* Animation: Slow left-to-right dance */
@keyframes daisyDance {
    0%, 100% {
        transform: translateY(-50%) scale(1) rotate(var(--initial-tilt));
    }
    50% {
        /* This makes them sway towards the inside slightly and back */
        transform: translateY(-50%) scale(1.05) rotate(calc(var(--initial-tilt) * -0.3));
    }
}

/* Mobile Fix: Make room for flowers on smaller screens */
@media (max-width: 768px) {
    .hero-title { font-size: 60px; padding: 0 40px; }
    .hero-title span::before, .hero-title span::after { font-size: 1.5rem; }
    .hero-title span::before { left: -45px; }
    .hero-title span::after { right: -45px; }
}

.hero-sub {
  font-size: 30px;
  color: var(--pink-mid);
  margin-bottom: 40px;
  font-weight: 300;
  animation: fadeUp 0.8s ease 0.2s both;
  display: flex;
  justify-content: center;
  align-items: center;

}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeUp 0.8s ease 0.3s both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-deep), var(--rose));
  color: white;
  border: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(212,84,122,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(212,84,122,0.45);
}

.btn-primary.light {
  background: white;
  color: var(--pink-deep);
  box-shadow: 0 8px 30px rgba(255,255,255,0.3);
}

.btn-primary.full { width: 100%; margin-top: 12px; }

.btn-ghost {
  background: transparent;
  color: var(--pink-deep);
  border: 1.5px solid var(--pink-light);
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-ghost:hover {
  background: var(--pink-pale);
  border-color: var(--pink-deep);
}

.hero-stats {
  display: flex;
  gap: 32px;
  align-items: center;
  animation: fadeUp 0.8s ease 0.4s both;
}

.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--ff-serif); font-size: 2rem; font-weight: 300; color: var(--pink-deep); }
.stat-label { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); }
.stat-divider { width: 1px; height: 40px; background: var(--pink-light); opacity: 0.5; }

/* ===== HERO VISUAL ===== */
.hero-visual {
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,84,122,0.2);
  animation: ringPulse 4s ease-in-out infinite;
}

.ring-1 { width: 380px; height: 380px; animation-delay: 0s; }
.ring-2 { width: 460px; height: 460px; animation-delay: 0.5s; border-style: dashed; }
.ring-3 { width: 540px; height: 540px; animation-delay: 1s; opacity: 0.5; }

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.03); opacity: 0.7; }
}

.hero-img-wrap {
  position: relative;
  z-index: 2;
}

.hero-product-card {
  width: 300px; height: 380px;
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(253,232,239,0.8));
  border-radius: 30px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(1deg); }
  66% { transform: translateY(-8px) rotate(-0.5deg); }
}

.product-glow {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,121,154,0.4), transparent 70%);
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

.hero-bottle {
  width: 100px; height: 200px;
  background: linear-gradient(160deg, #f0a0bc, #d4547a, #a83060);
  border-radius: 50px 50px 20px 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(212,84,122,0.4), inset 2px 2px 8px rgba(255,255,255,0.3);
  z-index: 1;
}

.hero-bottle::before {
  content: '';
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 30px;
  background: linear-gradient(160deg, #e8799a, #c9456b);
  border-radius: 8px 8px 0 0;
}

.hero-bottle::after {
  content: 'Shepunzel';
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  letter-spacing: 2px;
}

.hero-badge {
  position: absolute;
  bottom: 24px;
  background: linear-gradient(135deg, var(--gold), #e8c078);
  color: white;
  font-size: 0.7rem;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(201,169,110,0.4);
}

/* ===== MARQUEE ===== */
/* .marquee-bar {
  background: linear-gradient(135deg, var(--pink-deep), var(--rose));
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}

.marquee-track span {
  color: white;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
} */

/* ===== SECTIONS ===== */
section { position: relative; z-index: 2; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--pink-mid);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--pink-mid);
}

/* ===== CATEGORIES ===== */
.categories { padding: 100px 60px; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cat-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(253,232,239,0.6));
  border: 1px solid rgba(212,84,122,0.12);
  border-radius: var(--radius);
  padding: 40px 30px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cat-card::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle, hsla(var(--hue), 70%, 75%, 0.25), transparent 70%);
  border-radius: 50%;
  transition: all 0.4s;
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--pink-light);
}

.cat-card:hover::before { transform: scale(2.5); }

.cat-card.featured {
  background: linear-gradient(145deg, var(--pink-deep), var(--rose));
  border-color: transparent;
}

.cat-card.featured h3, .cat-card.featured p, .cat-card.featured .cat-arrow { color: white !important; }

.cat-icon { font-size: 2.5rem; margin-bottom: 16px; }
.cat-card h3 { font-family: var(--ff-serif); font-size: 1.5rem; font-weight: 400; color: var(--text-dark); margin-bottom: 8px; }
.cat-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.cat-arrow { display: block; margin-top: 20px; font-size: 1.2rem; color: var(--pink-deep); transition: transform 0.3s; }
.cat-card:hover .cat-arrow { transform: translateX(6px); }

/* ===== PRODUCTS ===== */
.bestsellers { padding: 100px 60px; background: #fde8ef; }

/* ===== SEARCH BAR THEME ===== */
.search-container {
  max-width: 500px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 84, 122, 0.2);
  border-radius: 50px;
  padding: 5px 20px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(212, 84, 122, 0.05);
}

.search-wrapper:focus-within {
  border-color: var(--pink-deep);
  box-shadow: 0 8px 25px rgba(212, 84, 122, 0.15);
  background: #fff;
  transform: translateY(-2px);
}

.search-icon {
  color: var(--pink-mid);
  margin-right: 12px;
  font-size: 0.9rem;
}

#productSearch {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  padding: 12px 0;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  color: var(--text-mid);
}

#productSearch::placeholder {
  color: #c9a5b1;
}

.search-clear {
  background: none;
  border: none;
  color: var(--pink-mid);
  cursor: pointer;
  padding: 5px;
  display: none; /* Hidden by default */
}

/* No Results Styling */
.no-results {
  text-align: center;
  padding: 40px;
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  color: var(--pink-mid);
}

input::placeholder {
  font-style: normal; /* Removes the default italic style often applied by browsers */
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(212,84,122,0.08);
  box-shadow: var(--shadow-card);
  
  /* Added these */
  display: flex;
  flex-direction: column;
  height: 100%; /* Makes all cards in a row equal height */
}

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

/* This targets the actual images you render via JS */
.product-actual-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Shows the whole image clearly */
  padding: 20px;       /* Gives it some breathing room */
  transition: transform 0.5s ease;
}

.product-card:hover .product-actual-img {
  transform: scale(1.1); /* Subtle zoom on hover */
}

/* If you are using Emojis as backups */
.product-emoji-display {
  font-size: 5rem;
}

/* Color Selection Modal */
.color-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.color-modal {
  background: white;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.close-modal {
  position: absolute;
  top: 15px; right: 15px;
  background: none; border: none; font-size: 1.2rem;
  cursor: pointer; color: #d4547a;
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.variant-option {
  cursor: pointer;
  transition: transform 0.2s;
}

.variant-option img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid transparent;
}

.variant-option:hover img {
  border-color: #d4547a;
  transform: scale(1.05);
}

.variant-option span {
  font-size: 0.75rem;
  display: block;
  margin-top: 5px;
  color: #666;
}

.product-img {
  width: 100%;
  height: 280px;        /* Force a consistent height for all image areas */
  display: flex;        /* Centering the image inside */
  align-items: center;
  justify-content: center;
  overflow: hidden;     /* Hides any overflow if the image is too big */
  position: relative;
  background: #f9f9f9;  /* Light background in case image is transparent */
}

.product-wish {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: opacity 0.3s;
  cursor: pointer;
  border: none;
  color: var(--pink-deep);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-wish:hover {
  width: 40px;
  height: 40px;
  transition: all, 0.3s;
}


.product-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--pink-deep);
  color: white;
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* This takes up all remaining space */
  text-align: center;
}
.product-category { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); margin-bottom: 6px; }
.product-name {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  margin-bottom: 8px;
  min-height: 2.4em; /* Reserves space for 2 lines of text so 1-line titles don't shift price up */
  display: flex;
  align-items: center;
  justify-content: center;
}.product-rating { color: var(--gold); font-size: 0.85rem; margin-bottom: 12px; }
.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.price-main { font-size: 1.1rem; font-weight: 500; color: var(--pink-deep); }
.price-old { font-size: 0.85rem; color: var(--text-light); text-decoration: line-through; }

.add-to-cart {
  margin-top: auto; /* THE MAGIC LINE: Pushes button to the bottom */
  width: 100%;
  padding: 12px;
  background: #d4547a;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.add-to-cart:hover {
  background: linear-gradient(135deg, var(--pink-deep), var(--rose));
  color: white;
  border-color: transparent;
  transition: all, 0.5s;
}

/* ===== PROMO BANNER ===== */
.promo-banner {
  padding: 100px 60px;
  background: linear-gradient(135deg, #c9456b 0%, #e8799a 50%, #d4547a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 300px;
  width: 100%;
}

.banner-inner { position: relative; z-index: 2; }

.promo-banner .section-eyebrow { color: rgba(255,255,255,0.7); }

.promo-banner h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.promo-banner h2 em { font-style: italic; }

.banner-sub { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 40px; }
.banner-sub strong { background: rgba(255,255,255,0.2); padding: 2px 10px; border-radius: 6px; }

.banner-flowers {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 4rem;
  opacity: 0.15;
  pointer-events: none;
}

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 60px; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testi-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(212,84,122,0.1);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.4s;
  backdrop-filter: blur(10px);
}

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

.testi-card.featured {
  background: linear-gradient(145deg, var(--pink-deep), var(--rose));
  border-color: transparent;
  color: white;
}

.testi-card.featured p { color: rgba(255,255,255,0.9) !important; }

.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; }
.testi-card p { font-size: 0.95rem; line-height: 1.8; color: var(--text-mid); font-style: italic; font-family: var(--ff-serif); margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }

.avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--pink-mid), var(--pink-deep));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
}

.testi-card.featured .avatar { background: rgba(255,255,255,0.25); }

.testi-author span { font-size: 0.85rem; font-weight: 500; color: var(--text-dark); }
.testi-card.featured .testi-author span { color: white; }

/* ===== NEWSLETTER ===== */
.newsletter {
  padding: 100px 60px;
  background: #fde8ef;
  text-align: center;
}

.newsletter-inner h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.newsletter-inner h2 em { font-style: italic; color: var(--pink-deep); }

.newsletter-inner p { color: var(--text-mid); margin-bottom: 32px; font-size: 0.95rem; }

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

.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  border: 1.5px solid var(--pink-light);
  border-radius: 50px;
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: white;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input:focus { border-color: var(--pink-deep); }
.newsletter-form input::placeholder { color: var(--text-light); }

/* ===== FOOTER ===== */
.footer {
  background: #FDE8EF;
  color: rgba(255,255,255,0.7);
  padding: 80px 60px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-script { color: var(--pink-light); font-size: 2.2rem; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 24px; }

.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.social-links a:hover { background: var(--pink-deep); border-color: var(--pink-deep); color: white; }

.footer-links h4 {
  color: white;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--pink-light); }

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.cart-sidebar {
  position: fixed;
  top: 0; right: -420px;
  width: 400px; height: 100vh;
  background: white;
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -20px 0 60px rgba(212,84,122,0.15);
}

.cart-sidebar.open { right: 0; }

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

.cart-header h3 { font-family: var(--ff-serif); font-size: 1.4rem; color: var(--text-dark); }
.cart-header button { background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--text-light); transition: color 0.2s; }
.cart-header button:hover { color: var(--pink-deep); }

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

.empty-cart {
  text-align: center;
  color: var(--text-light);
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 60px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--pink-pale);
  align-items: center;
}

.cart-item-emoji { font-size: 2.5rem; width: 60px; text-align: center; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.9rem; font-weight: 500; color: var(--text-dark); margin-bottom: 4px; }
.cart-item-price { font-size: 0.85rem; color: var(--pink-deep); }
.cart-item-remove { background: none; border: none; color: var(--text-light); cursor: pointer; font-size: 0.8rem; transition: color 0.2s; }
.cart-item-remove:hover { color: var(--rose); }

.cart-footer { padding: 24px; border-top: 1px solid var(--pink-pale); }
.cart-total { display: flex; justify-content: space-between; font-size: 1rem; color: var(--text-dark); margin-bottom: 4px; }
.cart-total strong { color: var(--pink-deep); font-size: 1.1rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .navbar { padding: 18px 30px; }
  .hero { padding: 120px 30px 80px; }
  .categories, .bestsellers, .testimonials, .newsletter, .footer { padding-left: 30px; padding-right: 30px; }
  .cat-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-visual { width: 280px; }
  .ring-1 { width: 260px; height: 260px; }
  .ring-2 { width: 320px; height: 320px; }
  .ring-3 { width: 380px; height: 380px; }
  .hero-stats { justify-content: center; }
  .hero-btns { justify-content: center; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-form { flex-direction: column; }
  .promo-banner { padding: 80px 30px; }
  .cart-sidebar { width: 100%; right: -100%; }
}

/* ===== FOOTER & POLICY STYLES ===== */
.footer {
  background: #FDE8EF; /* Match your light pink bg */
  padding: 80px 60px 20px;
  border-top: 1px solid rgba(212, 84, 122, 0.1);
  /* margin-top: 100px; */
  position: relative;
  z-index: 2;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  
  gap: 60px;
}

.footer-brand .logo-script {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.policy-title {
  font-family: var(--ff-serif);
  font-size: 2rem;
  color: var(--pink-deep);
  margin-bottom: 30px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Creates 3 equal columns */
  gap: 30px;
}

/* This targets the 4th item (Returns) and makes it span all 3 columns */
.policy-item:nth-child(4) {
  grid-column: 1 / span 3;
  margin-top: 20px; /* Adds a bit of space from the top row */
  padding-top: 20px;
  border-top: 1px solid rgba(212, 84, 122, 0.2); /* Adds a nice separator line */
}

.policy-item h4 {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--pink-mid);
  margin-bottom: 10px;
}

.policy-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-mid);
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 84, 122, 0.05);
  font-size: 0.8rem;
  color: #c9a5b1;
}

/* Mobile responsive footer */
@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; gap: 40px; }
  .policy-grid { grid-template-columns: 1fr; }
}