/* The Perfume Queen — Mobile-First Brand Styles */
:root {
  --black: #1C1C1C;
  --white: #FFFFFF;
  --lavender: #BFA2DB; /* primary */
  --lavender-deep: #9C7BBF; /* hover */
  --mist: #F6F6F9; /* alt bg */
  --warm-grey: #D9D9E0; /* borders */
  --rose: #F7C6D9; /* optional accent */
  --gold: #C5A46D; /* luxury touch */
  --radius: 14px;
  --shadow: 0 8px 30px rgba(28, 28, 28, 0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--black);
  background: var(--white);
  position: relative; /* enable ::before background layer */
  line-height: 1.7;
  font-size: 14px; /* Mobile-first smaller base */
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Tablet and up */
@media (min-width: 768px) {
  body { font-size: 16px; }
}

/* Site-wide blurred background image layer */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('https://plus.unsplash.com/premium_photo-1667662655276-b3751fbbe107?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(10px); /* approx strong blur (~50% look) */
  transform: scale(1.05); /* avoid edge clipping from blur */
}

img { max-width: 100%; display: block; }
a { 
  color: var(--lavender-deep); 
  text-decoration: none; 
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}
a:hover { text-decoration: underline; }

.container { 
  width: min(1100px, 94%); 
  margin-inline: auto; 
  padding-inline: 16px;
  position: relative; /* keep content above background layer */
  z-index: 1;
}

/* Tablet and up */
@media (min-width: 768px) {
  .container { 
    width: min(1100px, 92%); 
    padding-inline: 0;
  }
}

/* Header - Mobile First */
.site-header {
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  backdrop-filter: saturate(140%) blur(20px);
  background: rgba(255,255,255,0.85); 
  border-bottom: 1px solid rgba(217,217,224,0.3);
  box-shadow: 0 2px 20px rgba(28,28,28,0.04);
}
.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 12px 0; 
  gap: 10px;
}

/* Tablet and up */
@media (min-width: 768px) {
  .header-inner { 
    padding: 18px 0; 
    gap: 0;
  }
}

.brand { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  font-weight: 600; 
  color: var(--black); 
  transition: transform 200ms ease;
  flex-shrink: 0;
}

/* Tablet and up */
@media (min-width: 768px) {
  .brand {
    gap: 12px;
  }
}

.brand:hover {
  transform: scale(1.02);
}
.brand-text { 
  font-family: 'Montserrat', 'Poppins', sans-serif; 
  font-size: 24px; 
  letter-spacing: 0.5px; 
  color: var(--lavender-deep);
  font-weight: 700;
}

/* Tablet and up */
@media (min-width: 768px) {
  .brand-text { 
    font-size: 32px; 
  }
}

.brand.small .brand-text { font-size: 20px; }

/* Tablet and up */
@media (min-width: 768px) {
  .brand.small .brand-text { font-size: 26px; }
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.08));
  flex-shrink: 0;
}

/* Tablet and up */
@media (min-width: 768px) {
  .brand-logo {
    width: 52px;
    height: 52px;
  }
}

.nav-toggle { 
  display: inline-block; 
  background: none; 
  border: none; 
  font-size: 24px; 
  color: var(--lavender-deep);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 200ms ease;
}
.nav-toggle:hover {
  background: rgba(191,162,219,0.1);
}

/* Desktop and up */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

.nav-menu { 
  display: none; 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid rgba(217,217,224,0.3);
  box-shadow: 0 8px 30px rgba(28,28,28,0.1);
  flex-direction: column;
  gap: 0;
  z-index: 1000;
}
.nav-menu.open { 
  display: flex; 
}

/* Desktop and up */
@media (min-width: 1024px) {
  .nav-menu { 
    display: flex; 
    position: static;
    flex-direction: row;
    gap: 20px;
    background: none;
    border: none;
    box-shadow: none;
  }
  .nav-menu.open { 
    display: flex; 
  }
}

.nav-menu a { 
  padding: 16px 20px; 
  font-weight: 500;
  transition: all 200ms ease;
  color: var(--black);
  border-bottom: 1px solid rgba(217,217,224,0.2);
  display: block;
}

/* Desktop and up */
@media (min-width: 1024px) {
  .nav-menu a { 
    padding: 10px 16px; 
    border-radius: 25px; 
    border-bottom: none;
    display: inline-block;
  }
}

.nav-menu a:hover {
  background: rgba(191,162,219,0.1);
  color: var(--lavender-deep);
  text-decoration: none;
}
.nav-menu a.active { 
  background: var(--lavender); 
  color: var(--white);
}
.nav-menu li:last-child a {
  border-bottom: none;
}

.cart-link {
  position: relative;
}
.cart-count {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--rose);
  color: var(--white);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.cart-count.show {
  display: flex;
}

/* Desktop and up */
@media (min-width: 1024px) {
  .cart-count {
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-block; }
  .nav-menu { position: absolute; right: 4%; top: 58px; background: var(--white); border: 1px solid var(--warm-grey); border-radius: 12px; padding: 10px; display: none; flex-direction: column; width: min(280px, 92vw); box-shadow: var(--shadow); }
  .nav-menu.open { display: flex; }
}

/* Hero - Mobile First */
.hero {
  position: relative;
  padding: 110px 0 130px;
  color: var(--black);
  background:
    radial-gradient(circle at 18% 18%, rgba(191,162,219,0.28) 0%, rgba(191,162,219,0) 55%),
    radial-gradient(circle at 80% 8%, rgba(247,198,217,0.22) 0%, rgba(247,198,217,0) 60%),
    linear-gradient(180deg, #fefbff 0%, #f4f0fb 100%);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 130px 0 150px;
  }
}

@media (min-width: 1200px) {
  .hero {
    padding: 150px 0 170px;
  }
}

.hero-modern::before,
.hero-modern::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-modern::before {
  background: radial-gradient(65% 85% at 60% 90%, rgba(156,123,191,0.18) 0%, rgba(156,123,191,0) 70%);
}

.hero-modern::after {
  background: url('data:image/svg+xml,%3Csvg width="600" height="600" viewBox="0 0 600 600" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3ClinearGradient id="g" x1="100%25" y1="0%25" x2="0%25" y2="100%25"%3E%3Cstop stop-color="%23FFFFFF" stop-opacity="0.25" offset="0%25"/%3E%3Cstop stop-color="%23FFFFFF" stop-opacity="0" offset="100%25"/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width="600" height="600" fill="url(%23g)" opacity="0.35"/%3E%3C/svg%3E');
  mix-blend-mode: screen;
  opacity: 0.45;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
  }
}

.hero-meta {
  display: grid;
  gap: 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(191,162,219,0.18);
  border: 1px solid rgba(156,123,191,0.35);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(28,28,28,0.72);
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero-subtitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 520px;
  color: rgba(28,28,28,0.72);
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

@media (min-width: 600px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-stats {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.hero-stats li {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(191,162,219,0.35);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 18px 45px rgba(28,28,28,0.08);
  display: grid;
  gap: 10px;
  text-align: left;
  align-content: start;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.hero-stats li:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(28,28,28,0.12);
}

.hero-stats strong {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.25;
  font-weight: 600;
  color: var(--lavender-deep);
  letter-spacing: -0.01em;
  word-break: break-word;
}

.hero-stats span {
  font-size: 12.5px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(28,28,28,0.6);
  word-break: break-word;
}

.hero-preview {
  display: grid;
  gap: 24px;
  justify-items: center;
}

.hero-glass {
  position: relative;
  width: min(360px, 82vw);
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,0.78) 0%, rgba(245,240,250,0.92) 100%);
  border: 1px solid rgba(191,162,219,0.35);
  box-shadow: 0 30px 70px rgba(28,28,28,0.12);
  overflow: hidden;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 600ms ease;
}

@supports (backdrop-filter: blur(1px)) {
  .hero-glass {
    backdrop-filter: blur(18px);
  }
}

.hero-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 55%);
  mix-blend-mode: screen;
  opacity: 0.6;
  pointer-events: none;
}

.hero-glass:hover {
  transform: translateY(-16px) perspective(700px) rotateX(5deg) rotateY(-6deg);
  box-shadow: 0 40px 90px rgba(28,28,28,0.16);
}

.hero-glass img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(28,28,28,0.18);
  position: relative;
  z-index: 1;
}

.hero-chip {
  position: absolute;
  top: 30px;
  left: 28px;
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 18px 40px rgba(28,28,28,0.14);
  border: 1px solid rgba(191,162,219,0.45);
  display: grid;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: rgba(28,28,28,0.6);
  animation: floatChip 6s ease-in-out infinite alternate;
  z-index: 2;
}

.hero-chip strong {
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--lavender-deep);
}

.hero-chip--alt {
  top: auto;
  bottom: 30px;
  left: auto;
  right: 28px;
  animation-delay: 1.8s;
}

.hero-floating {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-badge {
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(191,162,219,0.18);
  border: 1px solid rgba(156,123,191,0.35);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(28,28,28,0.7);
  animation: floatBadge 7s ease-in-out infinite alternate;
}

.hero-badge:nth-child(2) {
  animation-delay: 1.4s;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.5px);
  opacity: 0.55;
  z-index: 0;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-orb--one {
  width: clamp(220px, 28vw, 360px);
  height: clamp(220px, 28vw, 360px);
  top: -80px;

/* Modern hero variant (split layout) */
.modern-hero {
  padding: 48px 0 80px;
  background: linear-gradient(180deg, rgba(191,162,219,0.06), rgba(255,255,255,0.02));
  color: var(--black);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-media { order: -1; margin-bottom: 18px; }
}

.hero-copy { z-index: 2; }
.hero-copy .eyebrow { text-transform: uppercase; letter-spacing: 2px; color: var(--lavender-deep); font-weight: 700; margin-bottom: 8px; }
.modern-hero .brand-heading { font-family: 'Montserrat', 'Poppins', sans-serif; font-weight: 700; font-size: clamp(36px, 7vw, 64px); color: var(--lavender-deep); margin: 0 0 12px; }
.modern-hero .lead { color: rgba(28,28,28,0.8); font-size: 18px; max-width: 560px; margin-bottom: 18px; }

.hero-actions { display:flex; gap:12px; align-items:center; margin-bottom: 18px; }
.btn-outline { padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(28,28,28,0.08); background: transparent; color: var(--black); }

/* Primary CTA micro-interaction */
.btn-primary {
  position: relative;
  overflow: hidden;
  padding: 12px 20px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--lavender) 0%, var(--lavender-deep) 100%);
  color: white;
  box-shadow: 0 8px 30px rgba(156, 123, 191, 0.18);
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms ease;
}
.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 50px rgba(156, 123, 191, 0.22);
}

.hero-highlights { list-style: none; padding: 0; margin: 0; display:flex; gap:12px; color: rgba(28,28,28,0.7); font-weight:500; }
.hero-highlights li { background: linear-gradient(180deg,#fff,#fbf9ff); padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(191,162,219,0.12); }

/* Media stage */
.hero-media { display:flex; justify-content:center; align-items:center; z-index:1; }
.media-stage { width: 100%; max-width: 420px; position: relative; border-radius: 18px; overflow: visible; transform-style: preserve-3d; }
.hero-image { width:100%; height:460px; object-fit:cover; border-radius: 18px; box-shadow: 0 24px 60px rgba(28,28,28,0.12); transform: translateZ(0); transition: transform 400ms ease; display:block; }
.media-decor { position:absolute; border-radius:50%; filter: blur(28px); opacity: 0.9; }
.media-decor.decor-1 { width:160px; height:160px; right: -30px; top: 10px; background: radial-gradient(circle at 30% 30%, rgba(191,162,219,0.95), rgba(156,123,191,0.6)); mix-blend-mode: screen; }
.media-decor.decor-2 { width:110px; height:110px; left: -20px; bottom: -30px; background: radial-gradient(circle at 70% 70%, rgba(197,164,109,0.9), rgba(197,164,109,0.4)); mix-blend-mode: screen; }

/* Parallax transforms (applied by JS) */
.media-stage.is-moving .hero-image { transform: translate3d(var(--tx,0), var(--ty,0), 0) rotate3d(0,0,1,var(--r,0deg)); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .btn-primary, .hero-image, .reveal { transition: none !important; animation: none !important; }
}
  right: -40px;
  background: radial-gradient(circle, rgba(191,162,219,0.55) 0%, rgba(191,162,219,0) 70%);
}

.hero-orb--two {
  width: clamp(180px, 25vw, 320px);
  height: clamp(180px, 25vw, 320px);
  bottom: -90px;
  left: -60px;
  background: radial-gradient(circle, rgba(247,198,217,0.55) 0%, rgba(247,198,217,0) 70%);
  animation-delay: 4s;
}

.hero-orb--three {
  width: clamp(140px, 20vw, 260px);
  height: clamp(140px, 20vw, 260px);
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 70%);
  animation-delay: 7s;
}

@media (max-width: 600px) {
  .hero-chip {
    padding: 10px 14px;
  }

  .hero-chip strong {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glass,
  .hero-chip,
  .hero-badge,
  .hero-orb,
  .hero-stats li {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* Sections - Mobile First */
.alt { 
  background: linear-gradient(180deg, var(--mist) 0%, #F8F8FB 100%); 
}
.features { 
  padding: 60px 0; 
}

/* Tablet and up */
@media (min-width: 768px) {
  .features { 
  overflow: hidden;
  z-index: 1; /* above blurred bg */
  }
}

.feature-list { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 24px; 
  list-style: none; 
  margin: 0; 
  padding: 0; 
}

/* Tablet and up */
@media (min-width: 768px) {
  .feature-list { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
  }
}

/* Desktop and up */
@media (min-width: 1024px) {
  .feature-list { 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
  }
}

.feature-list li {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(28,28,28,0.06);
  border: 1px solid rgba(217,217,224,0.3);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

/* Desktop and up */
@media (min-width: 1024px) {
  .feature-list li {
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(28,28,28,0.06);
  }
}

.feature-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(28,28,28,0.1);
}

/* Desktop and up */
@media (min-width: 1024px) {
  .feature-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(28,28,28,0.1);
  }
}

.feature-list h3 { 
  margin: 0 0 10px; 
  font-family: 'Montserrat', 'Poppins', sans-serif; 
  font-size: 24px; 
  color: var(--lavender-deep);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Tablet and up */
@media (min-width: 768px) {
  .feature-list h3 { 
    font-size: 26px; 
  }
}

/* Desktop and up */
@media (min-width: 1024px) {
  .feature-list h3 { 
    font-size: 28px; 
    margin: 0 0 12px; 
  }
}

.feature-list p {
  margin: 0;
  color: var(--black);
  font-weight: 300;
  line-height: 1.7;
  font-size: 14px;
}

/* Tablet and up */
@media (min-width: 768px) {
  .feature-list p {
    font-size: 15px;
  }
}

/* Desktop and up */
@media (min-width: 1024px) {
  .feature-list p {
    font-size: 16px;
  }
}
@media (max-width: 900px) { .feature-list { grid-template-columns: 1fr; } }

/* Mobile Navigation Overlay */
@media (max-width: 1023px) {
  .nav-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 28, 28, 0.5);
    backdrop-filter: blur(4px);
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }
  .nav-menu.open::before {
    opacity: 1;
    pointer-events: all;
  }
}

/* Bestsellers - Mobile First */
.bestsellers { 
  padding: 60px 0; 
}

/* Tablet and up */
@media (min-width: 768px) {
  .bestsellers { 
    padding: 80px 0; 
  }
}

.section-head { 
  display: flex; 
  align-items: baseline; 
  justify-content: space-between; 
  gap: 16px; 
  margin-bottom: 30px; 
  flex-wrap: wrap;
}

/* Tablet and up */
@media (min-width: 768px) {
  .section-head { 
    gap: 20px; 
    margin-bottom: 50px; 
    flex-wrap: nowrap;
  }
}

.section-title { 
  font-family: 'Montserrat', 'Poppins', sans-serif; 
  font-size: 32px; 
  margin: 0; 
  color: var(--black);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Tablet and up */
@media (min-width: 768px) {
  .section-title { 
    font-size: 42px; 
  }
}

/* Desktop and up */
@media (min-width: 1024px) {
  .section-title { 
    font-size: 48px; 
  }
}

/* Grid - Mobile First */
.product-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 20px; 
}

/* Small tablet */
@media (min-width: 520px) { 
  .product-grid { 
    grid-template-columns: repeat(2, 1fr); 
  } 
}

/* Tablet */
@media (min-width: 768px) { 
  .product-grid { 
    grid-template-columns: repeat(3, 1fr); 
  } 
}

/* Desktop */
@media (min-width: 1100px) { 
  .product-grid { 
    grid-template-columns: repeat(4, 1fr); 
  } 
}

/* Pagination Styles */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  padding: 20px 0;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--lavender);
  background: transparent;
  color: var(--lavender-deep);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--lavender);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(156,123,191,0.3);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: var(--warm-grey);
  color: var(--warm-grey);
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid transparent;
  background: transparent;
  color: var(--lavender-deep);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

.pagination-number:hover {
  background: rgba(191,162,219,0.1);
  color: var(--lavender-deep);
}

.pagination-number.active {
  background: var(--lavender);
  color: var(--white);
  border-color: var(--lavender);
}

.pagination-ellipsis {
  color: var(--warm-grey);
  font-weight: 500;
  padding: 0 4px;
}

@media (max-width: 520px) {
  .pagination {
    gap: 8px;
    margin-top: 30px;
  }
  
  .pagination-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .pagination-number {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

.card { 
  border: 1px solid rgba(217,217,224,0.4); 
  border-radius: 20px; 
  background: var(--white); 
  overflow: hidden; 
  box-shadow: 0 8px 30px rgba(28, 28, 28, 0.06); 
  display: flex; 
  flex-direction: column; 
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(28, 28, 28, 0.12);
}
.card-media { 
  aspect-ratio: 1/1; 
  background: linear-gradient(135deg, #fff 0%, #f8f4fc 100%); 
  display: grid; 
  place-items: center; 
  position: relative;
}
.card-media::before {
  content: '🌸';
  font-size: 48px;
  opacity: 0.3;
}
.card-body { 
  padding: 24px; 
  display: grid; 
  gap: 12px; 
}
.card-body h3 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 24px;
  margin: 0;
  color: var(--lavender-deep);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.price { 
  font-weight: 600; 
  font-size: 18px;
  color: var(--black);
}
.pill { 
  display: inline-block; 
  font-size: 11px; 
  background: rgba(191,162,219,0.15); 
  color: var(--lavender-deep);
  border: 1px solid rgba(191,162,219,0.3); 
  padding: 4px 12px; 
  border-radius: 20px; 
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Buttons - Mobile First */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 6px; 
  padding: 12px 24px; 
  border-radius: 50px; 
  border: 2px solid transparent; 
  cursor: pointer; 
  font-weight: 500; 
  font-size: 14px;
  transition: all 300ms ease; 
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  white-space: nowrap;
}

/* Tablet and up */
@media (min-width: 768px) {
  .btn { 
    gap: 8px; 
    padding: 14px 28px; 
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
}

.btn-primary { background: var(--lavender); color: var(--white); }
.btn-primary:hover { 
  background: var(--lavender-deep); 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(156,123,191,0.3);
}

/* Desktop and up */
@media (min-width: 1024px) {
  .btn-primary:hover { 
    box-shadow: 0 8px 25px rgba(156,123,191,0.3);
  }
}

.btn-secondary { 
  background: var(--white); 
  color: var(--lavender-deep); 
  border-color: var(--lavender); 
}
.btn-secondary:hover { 
  background: var(--lavender); 
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(156,123,191,0.2);
}

/* Desktop and up */
@media (min-width: 1024px) {
  .btn-secondary:hover { 
    box-shadow: 0 8px 25px rgba(156,123,191,0.2);
  }
}

/* Quick view button (attribute targeted) */
.btn[data-quick] {
  background: transparent;
  color: var(--lavender-deep);
  border-color: var(--lavender);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn[data-quick]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn[data-quick]:hover {
  background: var(--lavender);
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(156,123,191,0.3);
  border-color: var(--lavender-deep);
}

.btn[data-quick]:hover::before {
  left: 100%;
}

.btn[data-quick]:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}

.btn[data-quick]:focus-visible {
  outline: 3px solid rgba(191,162,219,0.45);
  outline-offset: 2px;
}

/* Hero button overrides */
.hero .btn-primary {
  box-shadow: 0 18px 45px rgba(156,123,191,0.28);
}

.hero .btn-primary:hover {
  box-shadow: 0 24px 60px rgba(156,123,191,0.35);
}

.btn-soft {
  background: rgba(255,255,255,0.78);
  color: var(--lavender-deep);
  border-color: rgba(156,123,191,0.4);
  box-shadow: 0 8px 24px rgba(28,28,28,0.05);
}

.btn-soft:hover {
  background: rgba(191,162,219,0.18);
  color: var(--lavender-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(28,28,28,0.08);
}

.btn-glow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -120%;
  background: radial-gradient(circle, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 60%);
  transform: translate(-20%, -20%);
  opacity: 0;
  transition: opacity 400ms ease;
  z-index: -1;
  animation: heroGlow 6s ease-in-out infinite;
}

.btn-glow:hover::before {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .btn-glow::before {
    animation: none;
  }
}

@keyframes heroGlow {
  0% { transform: translate(-20%, -10%) scale(0.6); opacity: 0.4; }
  50% { transform: translate(10%, 20%) scale(1); opacity: 0.8; }
  100% { transform: translate(30%, -10%) scale(0.6); opacity: 0.4; }
}

@keyframes floatChip {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(12px, -14px, 0); }
}

@keyframes floatBadge {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes heroDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, -30px, 0) scale(1.08); }
}
.icon-btn { 
  background: none; 
  border: none; 
  cursor: pointer; 
  font-size: 16px; 
  min-width: 44px; /* Better touch target */
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background-color 200ms ease;
}
.icon-btn:hover {
  background: rgba(191,162,219,0.1);
}

/* Forms - Mobile First */
input, select, textarea { 
  width: 100%; 
  padding: 14px 16px; 
  border-radius: 12px; 
  border: 1px solid var(--warm-grey); 
  background: var(--white); 
  font: inherit; 
  font-size: 16px; /* Prevent zoom on iOS */
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--lavender);
  box-shadow: 0 0 0 3px rgba(191, 162, 219, 0.1);
  outline: none;
}

/* Tablet and up */
@media (min-width: 768px) {
  input, select, textarea { 
    padding: 12px 12px; 
    font-size: inherit;
  }
}

label { 
  display: grid; 
  gap: 8px; 
  font-size: 14px; 
  font-weight: 500;
}

/* Tablet and up */
@media (min-width: 768px) {
  label { 
    gap: 6px; 
  }
}

.grid-2 { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 16px; 
}

/* Tablet and up */
@media (min-width: 768px) { 
  .grid-2 { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 14px; 
  } 
}

.form-note { 
  margin-top: 12px; 
  color: var(--lavender-deep); 
  font-size: 14px;
}

/* Tablet and up */
@media (min-width: 768px) {
  .form-note { 
    margin-top: 8px; 
  }
}

/* Page hero */
.page-hero { background: var(--lavender); color: var(--white); padding: 50px 0; }
.page-hero.alt { background: var(--mist); color: var(--black); }
.page-hero .brand-heading { font-family: 'Montserrat', 'Poppins', sans-serif; font-weight: 700; font-size: 48px; margin: 0 0 8px; letter-spacing: -0.01em; }

.catalog { padding: 36px 0 60px; }
.content { padding: 36px 0 60px; }
.prose { max-width: 70ch; }
.prose h2, .prose h3 { font-family: 'Montserrat', 'Poppins', sans-serif; font-weight: 600; letter-spacing: -0.01em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.stats > div { background: var(--mist); border: 1px solid var(--warm-grey); padding: 14px; border-radius: 12px; text-align: center; }
.stats strong { display: block; font-size: 22px; }
.stats span { font-size: 12px; color: var(--warm-grey); }

/* Footer - Modern Design */
.site-footer {
  background: radial-gradient(circle at 0% 0%, rgba(191,162,219,0.28), transparent 55%),
              radial-gradient(circle at 100% 0%, rgba(247,198,217,0.24), transparent 60%),
              linear-gradient(180deg, #10131a 0%, #080a10 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 60px 0 36px;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 140%;
  background:
    radial-gradient(40% 40% at 20% 40%, rgba(191,162,219,0.35) 0%, transparent 75%),
    radial-gradient(35% 35% at 80% 20%, rgba(247,198,217,0.28) 0%, transparent 70%),
    radial-gradient(25% 25% at 50% 80%, rgba(197,164,109,0.18) 0%, transparent 80%);
  opacity: 0.55;
  filter: blur(60px);
  transform: rotate(4deg);
  z-index: 0;
  pointer-events: none;
}

.footer-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191,162,219,0.7), transparent);
}

.footer-shell {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 0 20px;
}

.footer-shell::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 45px rgba(0,0,0,0.2);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.footer-brand .brand:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.26);
}

.footer-tagline {
  margin: 8px 0 0;
  font-size: 15px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.footer-description {
  margin: 0;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.6;
  font-size: 14.5px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 20px 0 4px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 220ms ease;
}

.footer-nav a:hover {
  background: rgba(191,162,219,0.22);
  border-color: rgba(191,162,219,0.6);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-socials {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 6px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  transition: all 220ms ease;
  backdrop-filter: blur(12px);
}

.social-link:hover {
  background: rgba(191,162,219,0.3);
  border-color: rgba(191,162,219,0.65);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: border-color 200ms ease, color 200ms ease;
}

.footer-contact span {
  opacity: 0.4;
}

.footer-contact a:hover {
  color: var(--white);
  border-color: rgba(191,162,219,0.65);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.34), transparent);
  margin: 30px 0 10px;
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  color: rgba(255,255,255,0.56);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-note {
  color: rgba(255,255,255,0.48);
}

@media (min-width: 768px) {
  .footer-shell {
    gap: 24px;
  }

  .footer-nav {
    gap: 18px;
  }

  .footer-contact {
    font-size: 15px;
  }
}

/* Newsletter - Mobile First */
.newsletter { 
  padding: 60px 0; 
  background: linear-gradient(135deg, var(--lavender) 0%, #A084C7 100%);
  color: var(--white);
  text-align: center;
}

/* Tablet and up */
@media (min-width: 768px) {
  .newsletter { 
    padding: 80px 0; 
  }
}

.newsletter .section-title {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 32px;
}

/* Tablet and up */
@media (min-width: 768px) {
  .newsletter .section-title {
    margin-bottom: 16px;
    font-size: 38px;
  }
}

/* Desktop and up */
@media (min-width: 1024px) {
  .newsletter .section-title {
    font-size: 42px;
  }
}

.newsletter p {
  font-size: 16px;
  opacity: 0.95;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: 16px;
}

/* Tablet and up */
@media (min-width: 768px) {
  .newsletter p {
    font-size: 18px;
    margin-bottom: 40px;
    padding-inline: 0;
  }
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  flex-direction: column;
  align-items: stretch;
  padding-inline: 16px;
}

/* Tablet and up */
@media (min-width: 768px) {
  .newsletter-form {
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: flex-start;
    padding-inline: 0;
  }
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.9);
  font-size: 16px;
}

/* Tablet and up */
@media (min-width: 768px) {
  .newsletter-form input {
    min-width: 280px;
  }
}

.newsletter-form .btn {
  white-space: nowrap;
  justify-self: center;
}

/* Cart Drawer - Mobile First */
.cart { 
  position: fixed; 
  right: 0; 
  top: 0; 
  width: min(100vw, 420px); 
  height: 100%; 
  background: var(--white); 
  box-shadow: -10px 0 30px rgba(0,0,0,0.1); 
  border-left: 1px solid var(--warm-grey); 
  transform: translateX(100%); 
  transition: transform 200ms ease; 
  display: grid; 
  grid-template-rows: auto 1fr auto; 
  z-index: 1200; 
}

/* Tablet and up */
@media (min-width: 768px) {
  .cart { 
    width: min(420px, 92vw); 
  }
}

.cart.open { transform: translateX(0%); }
.cart-header, .cart-footer { 
  padding: 16px; 
  border-bottom: 1px solid var(--warm-grey); 
}

/* Tablet and up */
@media (min-width: 768px) {
  .cart-header, .cart-footer { 
    padding: 14px; 
  }
}

.cart-footer { border-top: 1px solid var(--warm-grey); border-bottom: none; }
.cart-items { 
  padding: 12px 16px; 
  overflow: auto; 
  display: grid; 
  gap: 16px; 
}

/* Tablet and up */
@media (min-width: 768px) {
  .cart-items { 
    padding: 10px 14px; 
    gap: 12px; 
  }
}

.cart-item { 
  display: grid; 
  grid-template-columns: 60px 1fr auto; 
  gap: 12px; 
  align-items: center; 
}

/* Tablet and up */
@media (min-width: 768px) {
  .cart-item { 
    grid-template-columns: 70px 1fr auto; 
  }
}

.qty { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  border: 1px solid var(--warm-grey); 
  border-radius: 10px; 
  padding: 4px 8px; 
}

/* Tablet and up */
@media (min-width: 768px) {
  .qty { 
    gap: 6px; 
    padding: 2px 6px; 
  }
}

/* Cart Totals */
.totals {
  margin-bottom: 16px;
}

.totals > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
}

.totals .total-row {
  border-top: 1px solid var(--warm-grey);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 600;
  font-size: 16px;
}

.empty-cart {
  text-align: center;
  padding: 40px 20px;
  color: var(--warm-grey);
}

.empty-cart .btn {
  margin-top: 16px;
}

/* Chatbot removed */

/* Animations (enter) */
[data-animate] { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
[data-animate].in { opacity: 1; transform: translateY(0); }

/* Utilities */
.cta-group { 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap; 
  margin-top: 10px;
  justify-content: center;
}

/* Tablet and up */
@media (min-width: 768px) {
  .cta-group { 
    display: inline-flex; 
    gap: 16px; 
    justify-content: flex-start;
  }
}

.link { 
  color: var(--lavender-deep); 
  font-weight: 500; 
  font-size: 15px;
  transition: all 200ms ease;
}

/* Tablet and up */
@media (min-width: 768px) {
  .link { 
    font-size: 16px;
  }
}

.link:hover {
  color: var(--lavender);
  text-decoration: none;
}
.hidden { display: none !important; }

.note-text {
  color: #6b7280;
  font-size: 14px;
}

/* Notification bar (top) */
.notify-bar {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(28, 28, 28, 0.92);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: 3000;
  transition: top 300ms ease, background-color 300ms ease;
  font-weight: 500;
  letter-spacing: 0.2px;
  backdrop-filter: saturate(140%) blur(6px);
}
.notify-bar.show { top: 16px; }
.notify-bar[data-type="success"] { background: rgba(60, 141, 79, 0.95); }
.notify-bar[data-type="warning"] { background: rgba(191, 132, 27, 0.95); }
.notify-bar[data-type="info"] { background: rgba(28, 28, 28, 0.92); }

/* Sticky Checkout Button (bottom) */
.sticky-checkout {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(120%);
  background: var(--lavender);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(156,123,191,0.35);
  z-index: 2500;
  cursor: pointer;
  transition: transform 300ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
.sticky-checkout:hover {
  background: var(--lavender-deep);
  box-shadow: 0 14px 34px rgba(156,123,191,0.45);
}
.sticky-checkout.show { transform: translateX(-50%) translateY(0%); }

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 28, 28, 0.8);
  backdrop-filter: blur(8px);
  z-index: 10000;
  padding: 20px;
  overflow-y: auto;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  margin: 40px auto;
  box-shadow: var(--shadow);
  animation: modalSlideIn 0.3s ease-out;
}

.modal-content.large {
  max-width: 800px;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--warm-grey);
}

.modal-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--warm-grey);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 200ms ease;
}

.modal-close:hover {
  color: var(--black);
  background: var(--mist);
}

.modal-body {
  padding: 24px;
}

/* Quick View specific */
.modal-content.quick {
  max-width: 720px;
}

.quick-view-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .quick-view-body { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
}

.quick-view-image {
  display: grid;
  place-items: center;
  padding: 10px;
}

.quick-view-image img {
  width: min(520px, 90vw);
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--warm-grey);
  background: linear-gradient(160deg,#fff,#f4effb);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.quick-meta .price { font-size: 20px; }
.quick-desc {
  margin-top: 8px;
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
}

/* Celebration Confetti Overlay */
.celebration-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(191,162,219,0.15) 0%, rgba(0,0,0,0.05) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thank-you-message {
  position: absolute;
  top: 20%;
  background: linear-gradient(135deg, rgba(191,162,219,0.95) 0%, rgba(156,123,191,0.95) 100%);
  color: var(--white);
  padding: 18px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .5px;
  box-shadow: 0 20px 60px rgba(191,162,219,0.4), 0 0 0 1px rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  transform: scale(0);
  animation: celebrationPulse 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s forwards;
}

@keyframes celebrationPulse {
  0% { transform: scale(0) rotate(-10deg); opacity: 0; }
  50% { transform: scale(1.1) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.confetti {
  position: absolute;
  top: -10vh;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
  transform: rotate(var(--rot)) scale(var(--scale, 1));
  animation: 
    confettiFall var(--dur) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards,
    confettiSpin var(--dur) linear forwards,
    confettiGlow var(--dur) ease-in-out forwards;
  animation-delay: var(--delay);
}

.confetti::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: inherit;
  filter: blur(4px);
  opacity: 0.6;
  z-index: -1;
}

@keyframes confettiFall {
  0% { 
    transform: translateY(-15vh) translateX(var(--drift, 0)) rotate(var(--rot)) scale(var(--scale, 1)); 
    opacity: 0; 
  }
  15% { 
    opacity: 1; 
    transform: translateY(-10vh) translateX(calc(var(--drift, 0) * 0.3)) rotate(calc(var(--rot) * 1.5)) scale(var(--scale, 1)); 
  }
  85% { 
    opacity: 0.8; 
    transform: translateY(80vh) translateX(calc(var(--drift, 0) * 2)) rotate(calc(var(--rot) * 4)) scale(calc(var(--scale, 1) * 0.7)); 
  }
  100% { 
    transform: translateY(120vh) translateX(calc(var(--drift, 0) * 3)) rotate(calc(var(--rot) * 6)) scale(0); 
    opacity: 0; 
  }
}

@keyframes confettiSpin {
  0% { transform: rotate(var(--rot)); }
  100% { transform: rotate(calc(var(--rot) + 720deg)); }
}

@keyframes confettiGlow {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.3) saturate(1.5); }
}

/* Form Group Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--black);
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--warm-grey);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: var(--white);
  transition: all 200ms ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--lavender);
  box-shadow: 0 0 0 3px rgba(191, 162, 219, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Checkout Summary */
.checkout-summary {
  background: var(--mist);
  padding: 20px;
  border-radius: 8px;
  margin: 24px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.summary-row:last-child {
  margin-bottom: 0;
}

.summary-row.total-row {
  border-top: 1px solid var(--warm-grey);
  padding-top: 12px;
  margin-top: 12px;
  font-size: 16px;
}

/* Invoice Styles */
.invoice-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--lavender);
}

.invoice-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  background: var(--lavender);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.brand-text h2 {
  margin: 0;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 24px;
  color: var(--black);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tagline {
  margin: 2px 0 0 0;
  color: var(--warm-grey);
  font-size: 12px;
}

.invoice-title {
  text-align: right;
}

.invoice-title h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--lavender);
  letter-spacing: 2px;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #dc2626;
  color: #dc2626;
  font-size: 12px;
  border-radius: 20px;
  margin-top: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.invoice-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.meta-label {
  font-weight: 500;
  color: var(--warm-grey);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-value {
  font-weight: 600;
  color: var(--black);
  margin-left: 8px;
}

/* Invoice Details */
.invoice-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.invoice-section {
  margin-bottom: 24px;
}

.invoice-section h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--lavender-deep);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.invoice-section p {
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Order Summary */
.order-summary {
  background: var(--mist);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.order-summary h4 {
  margin: 0 0 12px 0;
  color: var(--black);
}

.order-summary p {
  margin: 6px 0;
  font-size: 14px;
}

/* Invoice Table */
.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.invoice-table th {
  background: var(--lavender);
  color: var(--white);
  font-weight: 600;
  padding: 12px 8px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.invoice-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--warm-grey);
  vertical-align: top;
}

.invoice-table .subtotal-row,
.invoice-table .delivery-row {
  background: var(--mist);
  font-weight: 600;
}

/* Invoice Total */
.invoice-total {
  text-align: right;
  margin: 24px 0;
}

.total-row.final-total {
  background: var(--lavender);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}

/* Invoice Footer */
.invoice-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--warm-grey);
}

.payment-terms h4,
.business-info {
  margin-bottom: 16px;
}

.payment-terms ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-terms li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.business-info {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--warm-grey);
}

.business-info p {
  margin: 8px 0;
  font-size: 14px;
}

/* Invoice Actions */
.invoice-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--warm-grey);
}

.invoice-actions .btn {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .modal {
    padding: 10px;
  }
  
  .modal-content {
    margin: 20px auto;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .invoice-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .invoice-title {
    text-align: left;
  }
  
  .invoice-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .invoice-meta {
    grid-template-columns: 1fr;
  }
  
  .invoice-actions {
    flex-direction: column;
  }
  
  .invoice-actions .btn {
    flex: none;
  }
  
  .invoice-table {
    font-size: 12px;
  }
  
  .invoice-table th,
  .invoice-table td {
    padding: 8px 4px;
  }
}

/* Invoice Action Styles */
.invoice-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--warm-grey);
}

.invoice-actions .btn {
  flex: 1;
  max-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.invoice-actions .btn i {
  font-size: 16px;
}

/* Status Badge Styles */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.unpaid {
  background: #fee2e2;
  color: #dc2626;
}

.status-badge.paid {
  background: #d1fae5;
  color: #059669;
}

/* Invoice Brand Styles */
.invoice-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  font-size: 32px;
  line-height: 1;
}

.brand-text h2 {
  margin: 0;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 28px;
  color: var(--royal-purple);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tagline {
  margin: 0;
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
}

/* Invoice Title Styles */
.invoice-title {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.invoice-title h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--royal-purple);
}

/* Meta Information Styles */
.invoice-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.invoice-meta > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.meta-label {
  font-weight: 500;
  color: var(--muted);
  font-size: 14px;
}

.meta-value {
  font-weight: 600;
  color: var(--black);
  font-size: 14px;
}
.meta-value a {
  color: var(--lavender-deep);
  text-decoration: none;
  transition: color 200ms ease;
}