/* Fleura.pk — Core site styles */
@import url('../../design/fleura-tokens.css');

:root {
  --clr-lilac: #C4B5D4;
  --clr-lilac-light: #E8E0F0;
  --clr-lilac-dark: #9B8AAF;
  --clr-baby-pink: #E2A3B7;
  --clr-baby-pink-deep: #D494AA;
  --clr-sage: #9CAF88;
  --clr-sage-light: #B8C9AE;
  --clr-sage-dark: #7A9170;
  --clr-ivory: #FAF8F5;
  --clr-cream: #F5F0E8;
  --clr-beige: #E5DDD0;
  --clr-charcoal: #5C534C;
  --clr-forest: #4A4541;
  --clr-border: rgba(92, 83, 76, 0.1);
  --shadow-soft: 0 8px 32px rgba(92, 83, 76, 0.08);
  --shadow-card: 0 12px 40px rgba(92, 83, 76, 0.1);
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --ff-heading: 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'Outfit', 'Helvetica Neue', sans-serif;
  --ff-script: 'Pinyon Script', 'Cormorant Garamond', cursive;
}

body.home-editorial {
  padding-top: 0 !important;
}

.brand-logo-link { display: inline-block; line-height: 0; }
.brand-logo { display: block; height: auto; max-width: 100%; object-fit: contain; }
.brand-logo--header { max-height: 44px; }
@media (min-width: 768px) { .brand-logo--header { max-height: 52px; } }
.brand-logo--loader { max-width: min(280px, 72vw); }
.brand-logo--footer { max-height: 56px; }

.footer {
  position: relative;
  background-color: var(--clr-ivory);
  background-image:
    radial-gradient(at 8% 12%, rgba(156, 175, 136, 0.48) 0px, transparent 52%),
    radial-gradient(at 92% 8%, rgba(184, 201, 174, 0.42) 0px, transparent 48%),
    radial-gradient(at 48% 0%, rgba(156, 175, 136, 0.32) 0px, transparent 42%),
    radial-gradient(at 22% 55%, rgba(184, 201, 174, 0.38) 0px, transparent 50%),
    radial-gradient(at 78% 42%, rgba(156, 175, 136, 0.22) 0px, transparent 46%),
    radial-gradient(at 55% 88%, rgba(245, 240, 232, 0.92) 0px, transparent 52%),
    radial-gradient(at 12% 95%, rgba(250, 248, 245, 0.98) 0px, transparent 45%),
    radial-gradient(at 88% 78%, rgba(196, 181, 212, 0.1) 0px, transparent 40%);
  color: var(--clr-charcoal);
  padding: 3.5rem 1.5rem 1.75rem;
  border-top: 1px solid rgba(156, 175, 136, 0.28);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 35% 25%, rgba(255, 255, 255, 0.35) 0px, transparent 38%),
    radial-gradient(at 65% 70%, rgba(184, 201, 174, 0.15) 0px, transparent 45%);
  pointer-events: none;
}

.footer > * {
  position: relative;
  z-index: 1;
}
.footer-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-heading {
  font-family: var(--ff-heading);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-charcoal);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(92, 83, 76, 0.72);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--clr-sage-dark); }
.footer-bottom {
  max-width: 72rem;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(92, 83, 76, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(92, 83, 76, 0.52);
}
.footer-bottom a { color: inherit; text-decoration: none; }
.social-icons { display: flex; gap: 0.75rem; }
.social-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 248, 245, 0.7);
  transition: background 0.25s, color 0.25s;
}
.social-icon:hover { background: var(--clr-sage); color: #fff; }

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', 'Helvetica Neue', sans-serif;
  font-weight: 400;
  color: var(--clr-charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-beige); }
::-webkit-scrollbar-thumb { background: var(--clr-sage); border-radius: 999px; }

/* ── Loader (fullscreen — must stay position:fixed) ── */
.loader {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99999 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #FDFBF8 0%, #FAF6F0 42%, #F5F0E8 100%);
  transition: opacity 0.65s ease, visibility 0.65s ease;
  pointer-events: all;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(92, 83, 76, 0.12);
  margin-top: 2rem;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.loader-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--clr-sage);
  animation: loaderBarFill 2.2s 0.6s ease-in-out forwards;
}

@keyframes loaderBarFill { to { width: 100%; } }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 1.5rem;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(92, 83, 76, 0.06);
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(92, 83, 76, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(92, 83, 76, 0.75);
  transition: color 0.25s;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--clr-lilac);
}

.nav-glass {
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(92, 83, 76, 0.08);
}

body.home-editorial #navbar {
  display: none !important;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--clr-sage);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  background: #7A9170;
  box-shadow: 0 8px 24px rgba(156, 175, 136, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border: 1.5px solid var(--clr-lilac);
  color: #9B8AAF;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  background: transparent;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: rgba(196, 181, 212, 0.15);
}

/* ── Product cards ── */
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(92, 83, 76, 0.08);
  transition: transform 0.35s, box-shadow 0.35s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(92, 83, 76, 0.1);
}

.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--clr-charcoal);
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
}

/* ── Cart badge ── */
.cart-badge {
  display: none;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  font-size: 0.6rem;
  line-height: 1rem;
  text-align: center;
  background: var(--clr-lilac);
  color: #fff;
  border-radius: 999px;
}

.cart-badge--visible,
.cart-badge:not([style*='display: none']) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 9000;
  padding: 0.85rem 1.5rem;
  background: var(--clr-charcoal);
  color: var(--clr-ivory);
  border-radius: 999px;
  font-size: 0.85rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s, transform 0.35s;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Page padding for fixed nav ── */
body:not(.home-editorial) {
  padding-top: 72px;
}

main {
  min-height: 50vh;
}

/* ── Footer brand ── */
.footer-brand img {
  max-height: 56px;
  width: auto;
}

/* ── Utilities ── */
.no-scroll { overflow: hidden; }
.text-gold { color: var(--clr-sage) !important; }
.bg-gold { background-color: var(--clr-sage) !important; }

.navbar.legacy-hidden { display: none; }

/* ── Layout helpers (subpages) ── */
.section-padding { padding: 4rem 1.5rem; }
@media (min-width: 768px) { .section-padding { padding: 5rem 2rem; } }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-charcoal);
  transition: transform 0.3s, opacity 0.3s;
}
@media (min-width: 1024px) {
  .hamburger { display: none !important; }
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
    visibility: hidden !important;
  }
}

.filter-btn { cursor: pointer; }
.add-to-cart { cursor: pointer; }

.cart-line {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(92, 83, 76, 0.08);
  align-items: center;
}
.cart-line img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================================
   TYPOGRAPHY & UTILITIES
   ============================================================ */
.text-caption {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clr-sage);
}

.font-script {
  font-family: var(--ff-script);
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ============================================================
   SCROLL REVEALS (CSS + IntersectionObserver — lightweight)
   ============================================================ */
html.js-reveals .reveal-up:not(.is-visible):not(.revealed) {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

html.js-reveals .reveal-left:not(.is-visible):not(.revealed) {
  opacity: 0;
  transform: translate3d(-24px, 0, 0);
}

html.js-reveals .reveal-right:not(.is-visible):not(.revealed) {
  opacity: 0;
  transform: translate3d(24px, 0, 0);
}

html.js-reveals .reveal-up,
html.js-reveals .reveal-left,
html.js-reveals .reveal-right {
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-reveals .reveal-stagger > *:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

html.js-reveals .reveal-stagger > *.is-visible {
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.revealed,
.reveal-up.is-visible,
.reveal-left.revealed,
.reveal-left.is-visible,
.reveal-right.revealed,
.reveal-right.is-visible,
.no-js .reveal-up,
.no-js .reveal-left,
.no-js .reveal-right {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================================
   SECTION DIVIDERS & ORNAMENTS
   ============================================================ */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto 0;
  max-width: 200px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-lilac), transparent);
}

.section-divider .ornament {
  width: 8px;
  height: 8px;
  margin: 0 1rem;
  border-radius: 50%;
  background: var(--clr-lilac);
  box-shadow: 0 0 0 4px rgba(196, 181, 212, 0.25);
}

/* ============================================================
   FLORAL PAGE ACCENTS
   ============================================================ */
.floral-accent-tr,
.floral-accent-tl,
.section-has-florals {
  position: relative;
}

/* Floral corner accents — see florals.css */

.floral-wash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(250, 248, 245, 0.4) 100%);
  pointer-events: none;
}

.floral-side {
  width: min(120px, 12vw);
  opacity: 0.35;
  z-index: 0;
}

/* ============================================================
   QUICK VIEW & PRODUCT INTERACTIONS
   ============================================================ */
.quick-view {
  opacity: 0;
  padding: 0.65rem 1.25rem;
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-charcoal);
  background: rgba(250, 248, 245, 0.95);
  border: 1px solid rgba(92, 83, 76, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.35s var(--transition), transform 0.35s var(--transition), background 0.25s;
  pointer-events: none;
}

.product-card:hover .quick-view,
.group:hover .quick-view {
  opacity: 1;
  pointer-events: auto;
}

.quick-view:hover {
  background: var(--clr-lilac);
  color: #fff;
  border-color: var(--clr-lilac);
}

.product-card .add-to-cart {
  transition: background 0.3s, transform 0.2s;
}

.product-card .add-to-cart:hover {
  transform: translateY(-1px);
}

.price {
  font-family: var(--ff-heading);
  font-weight: 500;
  color: var(--clr-sage-dark);
}

.wishlist-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--clr-charcoal);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}

.wishlist-btn:hover {
  background: var(--clr-lilac);
  color: #fff;
  transform: scale(1.08);
}

.filter-btn.active {
  background: var(--clr-charcoal) !important;
  color: var(--clr-ivory) !important;
  border-color: transparent !important;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 100%;
}

.newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 1rem;
  font-family: var(--ff-body);
  font-size: 0.875rem;
  color: var(--clr-charcoal);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.newsletter-input::placeholder {
  color: rgba(250, 248, 245, 0.45);
}

.newsletter-input:focus {
  border-color: var(--clr-lilac);
  box-shadow: 0 0 0 3px rgba(196, 181, 212, 0.25);
}

.newsletter-btn {
  padding: 0.65rem 1.25rem;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-forest);
  background: var(--clr-sage);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--clr-sage-light);
  transform: translateY(-1px);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  padding: 0.85rem 1.5rem;
  background: var(--clr-charcoal);
  color: var(--clr-ivory);
  border-radius: 999px;
  font-size: 0.85rem;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s, transform 0.35s;
}

.toast--visible,
.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast--hide {
  opacity: 0;
  transform: translateY(8px);
}

/* ============================================================
   DARK MODE
   ============================================================ */
[data-theme='dark'] {
  color-scheme: dark;
}

[data-theme='dark'] body {
  color: #E8E4DF;
}

[data-theme='dark'] .navbar,
[data-theme='dark'] .site-header {
  background: rgba(36, 33, 30, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme='dark'] .nav-link,
[data-theme='dark'] .site-nav a {
  color: rgba(232, 228, 223, 0.75);
}

[data-theme='dark'] .product-card,
[data-theme='dark'] .product-card-mockup {
  background: #2a2724 !important;
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme='dark'] .mobile-menu,
[data-theme='dark'] #mobile-menu {
  background: #2a2724;
}

[data-theme='dark'] .footer {
  background-color: #262320;
  background-image:
    radial-gradient(at 10% 15%, rgba(122, 145, 112, 0.35) 0px, transparent 50%),
    radial-gradient(at 88% 10%, rgba(90, 110, 82, 0.3) 0px, transparent 48%),
    radial-gradient(at 50% 5%, rgba(156, 175, 136, 0.2) 0px, transparent 42%),
    radial-gradient(at 25% 60%, rgba(74, 99, 66, 0.28) 0px, transparent 52%),
    radial-gradient(at 75% 50%, rgba(122, 145, 112, 0.15) 0px, transparent 48%),
    radial-gradient(at 50% 95%, rgba(38, 35, 32, 0.95) 0px, transparent 50%);
  color: rgba(250, 248, 245, 0.9);
  border-top-color: rgba(122, 145, 112, 0.25);
}

[data-theme='dark'] .footer::before {
  background:
    radial-gradient(at 40% 20%, rgba(255, 255, 255, 0.04) 0px, transparent 40%),
    radial-gradient(at 60% 75%, rgba(122, 145, 112, 0.08) 0px, transparent 45%);
}

[data-theme='dark'] .footer-heading {
  color: var(--clr-sage-light);
}

[data-theme='dark'] .footer-links a,
[data-theme='dark'] .footer-tagline,
[data-theme='dark'] .footer-bottom {
  color: rgba(250, 248, 245, 0.6);
}

[data-theme='dark'] .footer-links a:hover {
  color: var(--clr-sage-light);
}

[data-theme='dark'] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme='dark'] .footer .newsletter-input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--clr-ivory);
}

[data-theme='dark'] .footer .newsletter-btn {
  background: var(--clr-sage);
  color: var(--clr-forest);
}

.theme-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--clr-charcoal);
}

[data-theme='dark'] .theme-toggle .icon-sun { opacity: 0; }
[data-theme='dark'] .theme-toggle .icon-moon { opacity: 1 !important; }
[data-theme='light'] .theme-toggle .icon-moon,
:root:not([data-theme='dark']) .theme-toggle .icon-moon { opacity: 0; }

/* ============================================================
   PARTICLES (page heroes)
   ============================================================ */
.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(196, 181, 212, 0.35);
  animation: particleFloat 6s ease-in-out infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .particles-container { display: none; }
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-20px) scale(1.2); opacity: 0.8; }
}

/* ============================================================
   OCCASION & CATEGORY CARDS
   ============================================================ */
.occasion-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.35s var(--transition), box-shadow 0.35s;
}

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

.occasion-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74, 69, 65, 0.7) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

/* ============================================================
   TESTIMONIALS SWIPER
   ============================================================ */
.testimonial-swiper {
  padding-bottom: 3rem !important;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-soft);
}

.testimonial-card blockquote {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--clr-charcoal);
  line-height: 1.6;
}

/* ============================================================
   FOOTER FLORAL
   ============================================================ */
.footer-floral {
  position: relative;
  overflow: hidden;
}

.footer-garland {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto 1.5rem;
  opacity: 0.72;
  filter: none;
}

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  height: 55vh;
  overflow: hidden;
}

.page-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 48rem;
}

/* ============================================================
   ABOUT / CONTACT CONTENT BLOCKS
   ============================================================ */
.content-block {
  max-width: 42rem;
  margin: 0 auto;
}

.content-block p {
  color: rgba(92, 83, 76, 0.75);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.info-card {
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 2rem;
  transition: box-shadow 0.3s;
}

.info-card:hover {
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  color: var(--clr-charcoal);
  margin-bottom: 0.75rem;
}

.info-card a {
  color: var(--clr-lilac-dark);
  transition: color 0.2s;
}

.info-card a:hover {
  color: var(--clr-sage-dark);
}

/* ============================================================
   MOBILE MENU — hidden off-screen until hamburger opens it
   ============================================================ */
.mobile-menu {
  position: fixed !important;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--clr-ivory);
  padding: 5rem 2rem 2rem;
  z-index: 1100;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu .nav-link {
  font-family: var(--ff-heading);
  font-size: 1.35rem;
}

.mobile-menu-overlay {
  position: fixed !important;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1099;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

/* ============================================================
   SHADOWS & POLISH
   ============================================================ */
.shadow-gold {
  box-shadow: 0 8px 28px rgba(156, 175, 136, 0.35);
}

.border-elegant {
  border: 1px solid var(--clr-border);
}

/* ============================================================
   NAVBAR ENHANCED
   ============================================================ */
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
  gap: 1rem;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cart {
  position: relative;
  display: flex;
  padding: 0.35rem;
  color: var(--clr-charcoal);
}

.navbar--transparent {
  /* Same solid bar as default — class kept for build compat only */
  background: rgba(250, 248, 245, 0.92) !important;
  border-bottom: 1px solid rgba(92, 83, 76, 0.06) !important;
  position: fixed !important;
  width: 100%;
}

body.page-home {
  padding-top: 0 !important;
}

body.page-home .navbar {
  position: fixed;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(92, 83, 76, 0.06);
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}

body.page-home .navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--clr-border);
  box-shadow: 0 4px 20px rgba(92, 83, 76, 0.08);
}

.mobile-menu__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--clr-charcoal);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-padding {
  padding: 4.5rem 0;
}

.section-padding-sm {
  padding: 2.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--clr-charcoal);
  line-height: 1.15;
}

.trust-item {
  text-align: center;
  padding: 1rem;
}

.trust-item strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-charcoal);
  margin-bottom: 0.25rem;
}

.trust-item span {
  font-size: 0.8rem;
  color: rgba(92, 83, 76, 0.55);
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(92, 83, 76, 0.68);
  max-width: 20rem;
  line-height: 1.6;
  margin-top: 0.75rem;
}

.footer-newsletter-text {
  font-size: 0.8rem;
  color: rgba(92, 83, 76, 0.58);
  margin-bottom: 0.75rem;
}

.footer .newsletter-input {
  color: var(--clr-charcoal);
  background: #fff;
  border: 1px solid rgba(92, 83, 76, 0.14);
}

.footer .newsletter-input::placeholder {
  color: rgba(92, 83, 76, 0.42);
}

.footer .newsletter-btn {
  color: var(--clr-charcoal);
  background: var(--clr-sage);
}

.footer .newsletter-btn:hover {
  background: var(--clr-sage-light);
}

.footer .social-icon {
  border-color: rgba(92, 83, 76, 0.14);
  color: rgba(92, 83, 76, 0.65);
}

.footer .social-icon:hover {
  background: var(--clr-sage);
  border-color: var(--clr-sage);
  color: #fff;
}

/* ============================================================
   PRODUCT CARD LUXURY
   ============================================================ */
.product-card-luxury {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: transform 0.4s var(--transition), box-shadow 0.4s;
}

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

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--clr-cream);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card-luxury:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__body {
  padding: 1rem 1.1rem 1.25rem;
  text-align: center;
}

.product-card__body .product-name {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.btn-add {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--clr-border);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-add:hover {
  background: var(--clr-sage);
  border-color: var(--clr-sage);
  color: #fff;
}

/* Loader vine + logo entrance */
.loader-logo-wrap {
  background: none;
  padding: 0;
  border: none;
  box-shadow: none;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  animation: loaderLogoIn 1s 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.loader-progress {
  margin-top: 2rem;
  width: min(300px, 82vw);
  opacity: 0;
  animation: loaderFadeUp 0.7s 0.5s forwards;
}

.loader-vine-svg {
  width: 100%;
  height: 64px;
  display: block;
  overflow: visible;
}

.loader-vine-stem {
  fill: none;
  stroke: var(--clr-sage);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: vineGrow 2.2s 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.loader-vine-leaf {
  fill: var(--clr-sage);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.4);
  animation: loaderLeafIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.loader-vine-leaf--1 { animation-delay: 1.35s; }
.loader-vine-leaf--2 { animation-delay: 1.48s; }
.loader-vine-leaf--3 { animation-delay: 1.62s; }
.loader-vine-leaf--4 { animation-delay: 1.76s; }
.loader-vine-leaf--5 { animation-delay: 1.9s; }
.loader-vine-leaf--6 { animation-delay: 2.04s; }

.loader-vine-bloom {
  opacity: 0;
  animation: loaderBloomIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.loader-vine-bloom--1 { animation-delay: 1.5s; }
.loader-vine-bloom--2 { animation-delay: 1.68s; }
.loader-vine-bloom--3 { animation-delay: 1.86s; }

.loader .loader-bloom-petal {
  fill: #e2a3b7 !important;
  opacity: 1 !important;
}

.loader .loader-bloom-center {
  fill: #d494aa !important;
  opacity: 1 !important;
}

.loader .loader-vine-bud {
  fill: #e2a3b7 !important;
  opacity: 0;
  animation: loaderBloomIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 2.05s forwards;
}

@keyframes loaderLeafIn {
  to {
    opacity: 0.82;
    transform: scale(1);
  }
}

@keyframes loaderBloomIn {
  to { opacity: 1; }
}

.loader-progress-label {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--ff-body);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(92, 83, 76, 0.55);
}

@keyframes loaderLogoIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes loaderFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes vineGrow {
  to { stroke-dashoffset: 0; }
}

body.is-loading {
  overflow: hidden;
}

/* Cursor */
@media (pointer: fine) {
  .cursor-dot {
    width: 10px;
    height: 10px;
    background: var(--clr-sage);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  }
  .cursor-ring {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(156, 175, 136, 0.45);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99997;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  }
  body.cursor-hover .cursor-dot {
    width: 14px;
    height: 14px;
    background: var(--clr-lilac);
  }
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--clr-border);
  background: #fff;
  color: var(--clr-charcoal);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-charcoal);
  color: var(--clr-ivory);
  border-color: var(--clr-charcoal);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-up { opacity: 1; transform: none; }

  .loader-vine-stem {
    stroke-dashoffset: 0;
    animation: none;
  }

  .loader-vine-leaf,
  .loader-vine-bloom,
  .loader-vine-bud {
    opacity: 1;
    animation: none;
  }
}
