/* ============================================================
   FLEURÉ — Velvet Flowers for Your Occasions
   Mobile-First E-Commerce Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --clr-primary: #6B1D3A;
  --clr-primary-dark: #4A0E26;
  --clr-primary-light: #8B3A56;
  --clr-blush: #F0D4CE;
  --clr-blush-light: #FDF3F0;
  --clr-cream: #FDF8F5;
  --clr-gold: #C9A96E;
  --clr-gold-light: #E8D5AA;
  --clr-white: #FFFFFF;
  --clr-black: #1A1A1A;
  --clr-text: #2D2D2D;
  --clr-text-light: #777777;
  --clr-border: #E8E0DC;
  --clr-overlay: rgba(26, 26, 26, 0.55);

  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Lato', 'Segoe UI', sans-serif;

  --fs-xs: 0.7rem;
  --fs-sm: 0.8rem;
  --fs-base: 0.95rem;
  --fs-md: 1.1rem;
  --fs-lg: 1.35rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 22px;
  --radius-full: 50%;

  --shadow-sm: 0 2px 8px rgba(107, 29, 58, 0.08);
  --shadow-md: 0 6px 24px rgba(107, 29, 58, 0.1);
  --shadow-lg: 0 12px 40px rgba(107, 29, 58, 0.14);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.05);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 56px;
  --bottom-nav-h: 64px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--clr-text);
  background: var(--clr-cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bottom-nav-h);
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  font-weight: 600;
  color: var(--clr-black);
  line-height: 1.25;
}

.section-badge {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 10px;
}

.section-title {
  font-size: var(--fs-xl);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  max-width: 500px;
}

/* ---------- Utility ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader img { width: 160px; animation: preloaderPulse 1.4s ease-in-out infinite; }

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.96); }
  50%      { opacity: 1;   transform: scale(1); }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(253, 248, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 224, 220, 0.5);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
.header.scrolled {
  background: rgba(253, 248, 245, 0.97);
  box-shadow: var(--shadow-sm);
}
.header-logo { display: flex; align-items: center; }
.header-logo img {
  height: 80px;
  width: auto;
  margin-left: -8px;
}
.header-actions { display: flex; align-items: center; gap: 4px; }

.header-cart-btn,
.header-menu-btn {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}
.header-cart-btn:active,
.header-menu-btn:active { background: var(--clr-blush); }
.header-cart-btn svg,
.header-menu-btn svg {
  width: 21px; height: 21px;
  stroke: var(--clr-primary); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  width: 17px; height: 17px;
  border-radius: var(--radius-full);
  background: var(--clr-primary); color: var(--clr-white);
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0);
  transition: var(--transition-spring);
}
.cart-badge.show { opacity: 1; transform: scale(1); }

/* ---------- Hamburger ---------- */
.hamburger {
  width: 20px; height: 14px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--clr-primary); border-radius: 2px;
  transition: var(--transition-base); transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU — compact slide-in panel
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: auto;
  z-index: 999;
  width: 260px;
  display: flex;
  flex-direction: column;
  background: var(--clr-white);
  border-radius: 0 0 0 var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: calc(var(--header-h) + 16px) 28px 28px;
  transform: translateX(110%);
  transition: transform var(--transition-slow);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  color: var(--clr-black);
  padding: 14px 0;
  border-bottom: 1px solid var(--clr-border);
  opacity: 0; transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, color var(--transition-fast);
}
.mobile-menu.open a { opacity: 1; transform: translateX(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.14s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:active { color: var(--clr-primary); }
.mobile-menu-backdrop {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,0.25);
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}
.mobile-menu-backdrop.open { opacity: 1; visibility: visible; }

/* ============================================================
   BOTTOM NAV (Mobile)
   ============================================================ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  height: var(--bottom-nav-h);
  display: flex; align-items: center; justify-content: space-around;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(232,224,220,0.6);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 12px; font-size: var(--fs-xs);
  color: var(--clr-text-light); transition: color var(--transition-fast);
  position: relative;
}
.bottom-nav a.active { color: var(--clr-primary); }
.bottom-nav a svg {
  width: 22px; height: 22px; stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.bottom-nav .nav-cart-badge {
  position: absolute; top: 0; right: 4px;
  width: 16px; height: 16px;
  border-radius: var(--radius-full);
  background: var(--clr-primary); color: var(--clr-white);
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0); transition: var(--transition-spring);
}
.bottom-nav .nav-cart-badge.show { opacity: 1; transform: scale(1); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 60px 24px 100px;
  background: var(--clr-primary);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(139,58,86,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-logo {
  width: 80vw;
  max-width: 420px;
  margin: 0 auto 32px;
  opacity: 0;
  animation: heroFadeUp 1s ease 0.3s forwards;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 36px;
  border: 1.5px solid var(--clr-blush); border-radius: 50px;
  color: var(--clr-blush);
  font-size: var(--fs-sm); font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-fast);
  opacity: 0; animation: heroFadeUp 1s ease 0.7s forwards;
}
.hero-cta:active {
  transform: scale(0.96);
  background: var(--clr-blush); color: var(--clr-primary);
}
.hero-cta svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none; stroke-width: 2;
  transition: transform var(--transition-base);
}
.hero-cta:active svg { transform: translateX(4px); }

.hero-scroll-hint {
  position: absolute;
  bottom: 90px;
  left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(240,212,206,0.5);
  font-size: var(--fs-xs); letter-spacing: 2px; text-transform: uppercase;
  animation: scrollHintBounce 2s ease-in-out infinite;
}
.hero-scroll-hint svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none; stroke-width: 1.5;
}

/* ---------- Floating petals ---------- */
.petal {
  position: absolute; width: 8px; height: 8px;
  background: rgba(240,212,206,0.15);
  border-radius: 50% 0 50% 50%;
  pointer-events: none;
  animation: floatPetal linear infinite;
}
.petal:nth-child(1) { left:10%; top:-10%; animation-duration:12s; animation-delay:0s; width:10px; height:10px; }
.petal:nth-child(2) { left:25%; top:-10%; animation-duration:15s; animation-delay:2s; width:6px; height:6px; }
.petal:nth-child(3) { left:45%; top:-10%; animation-duration:11s; animation-delay:4s; }
.petal:nth-child(4) { left:65%; top:-10%; animation-duration:14s; animation-delay:1s; width:12px; height:12px; }
.petal:nth-child(5) { left:80%; top:-10%; animation-duration:13s; animation-delay:3s; width:7px; height:7px; }
.petal:nth-child(6) { left:15%; top:-10%; animation-duration:16s; animation-delay:5s; width:9px; height:9px; }
.petal:nth-child(7) { left:55%; top:-10%; animation-duration:10s; animation-delay:2.5s; }
.petal:nth-child(8) { left:90%; top:-10%; animation-duration:14s; animation-delay:0.5s; width:11px; height:11px; }

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section { padding: 52px 0; }
.section-header { text-align: center; margin-bottom: 28px; }

/* ============================================================
   FEATURED — Auto-scroll carousel
   ============================================================ */
.featured-track-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  touch-action: pan-x;
  cursor: grab;
}
.featured-track-wrapper:active { cursor: grabbing; }
.featured-track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.featured-card {
  flex: 0 0 150px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.featured-card:active { transform: scale(0.97); }
.featured-card-img {
  position: relative; width: 100%;
  aspect-ratio: 3 / 3.5;
  overflow: hidden;
}
.featured-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.featured-card:active .featured-card-img img { transform: scale(1.05); }
.featured-card-body { padding: 10px 12px 12px; }
.featured-card-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.featured-card-name small {
  font-weight: 400; font-style: italic;
  color: var(--clr-text-light); font-size: var(--fs-xs);
}
.featured-card-price {
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--clr-primary); margin-top: 2px;
}

/* ============================================================
   QUALITIES / WHY US SECTION
   ============================================================ */
.qualities-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; padding: 0 20px;
}
.quality-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 20px 14px; text-align: center;
  box-shadow: var(--shadow-card);
}
.quality-icon {
  width: 40px; height: 40px;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--clr-blush-light); border-radius: var(--radius-full);
}
.quality-icon svg {
  width: 20px; height: 20px;
  stroke: var(--clr-primary); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.quality-card h3 { font-size: var(--fs-sm); font-family: var(--ff-heading); margin-bottom: 4px; }
.quality-card p { font-size: var(--fs-xs); color: var(--clr-text-light); line-height: 1.5; }

/* ============================================================
   CTA BANNER (Home)
   ============================================================ */
.cta-banner {
  margin: 0 20px; padding: 40px 24px;
  background: var(--clr-primary); border-radius: var(--radius-lg);
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  top: -50%; right: -30%; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(240,212,206,0.12) 0%, transparent 70%);
  border-radius: var(--radius-full);
}
.cta-banner h2 { font-size: var(--fs-xl); color: var(--clr-blush); margin-bottom: 10px; position: relative; }
.cta-banner p { font-size: var(--fs-sm); color: rgba(240,212,206,0.7); margin-bottom: 24px; position: relative; }
.cta-banner .btn-light { position: relative; }

/* ============================================================
   SHOP PAGE
   ============================================================ */
.page-header {
  padding: calc(var(--header-h) + 24px) 20px 24px;
  text-align: center;
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
}
.page-header h1 { font-size: var(--fs-xl); }
.page-header p { font-size: var(--fs-sm); color: var(--clr-text-light); margin-top: 4px; }

/* Product grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 14px 14px 40px;
}
.product-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.product-card:active { transform: scale(0.97); }
.product-card-img {
  position: relative; display: block;
  width: 100%;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: var(--clr-blush-light);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:active .product-card-img img { transform: scale(1.06); }
.product-card-add {
  position: absolute; bottom: 8px; right: 8px;
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  background: var(--clr-white); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-fast); z-index: 2;
}
.product-card-add:active { background: var(--clr-primary); }
.product-card-add svg {
  width: 16px; height: 16px;
  stroke: var(--clr-primary); fill: none;
  stroke-width: 2; stroke-linecap: round;
  transition: stroke var(--transition-fast);
}
.product-card-add:active svg { stroke: var(--clr-white); }
.product-card-body { padding: 10px 10px 12px; display: block; }
.product-card-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-xs); font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-card-price { font-size: var(--fs-xs); font-weight: 700; color: var(--clr-primary); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail { padding-top: var(--header-h); }
.product-detail-img {
  width: 100%; aspect-ratio: 1 / 1;
  overflow: hidden; background: var(--clr-blush-light);
}
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info { padding: 24px 24px 40px; }
.product-detail-category {
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--clr-gold); margin-bottom: 8px;
}
.product-detail-name { font-size: var(--fs-2xl); margin-bottom: 4px; }
.product-detail-name small {
  font-weight: 400; font-style: italic;
  color: var(--clr-text-light); font-size: var(--fs-lg);
}
.product-detail-price {
  font-size: var(--fs-xl); font-weight: 700;
  color: var(--clr-primary); margin-bottom: 20px;
}
.product-detail-desc {
  font-size: var(--fs-base); color: var(--clr-text-light);
  line-height: 1.7; margin-bottom: 28px;
}

.quantity-selector {
  display: flex; align-items: center;
  margin-bottom: 24px;
  border: 1.5px solid var(--clr-border); border-radius: var(--radius-sm);
  width: fit-content; overflow: hidden;
}
.quantity-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-lg); color: var(--clr-text);
  transition: background var(--transition-fast);
}
.quantity-btn:active { background: var(--clr-blush-light); }
.quantity-value {
  width: 50px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: var(--fs-base);
  border-left: 1.5px solid var(--clr-border);
  border-right: 1.5px solid var(--clr-border);
}

.btn-add-cart {
  width: 100%; padding: 16px 24px;
  border-radius: var(--radius-sm);
  background: var(--clr-primary); color: var(--clr-white);
  font-size: var(--fs-base); font-weight: 600; letter-spacing: 1px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.btn-add-cart:active { background: var(--clr-primary-dark); transform: scale(0.98); }
.btn-add-cart svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.related-section { padding: 40px 0; background: var(--clr-white); }

/* ============================================================
   CART SIDEBAR
   ============================================================ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.4);
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1101;
  width: 92%; max-width: 380px;
  background: var(--clr-cream);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex; flex-direction: column;
}
.cart-sidebar.open { transform: translateX(0); }
.cart-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--clr-border);
}
.cart-sidebar-header h2 { font-size: var(--fs-lg); }
.cart-close-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}
.cart-close-btn:active { background: var(--clr-blush); }
.cart-close-btn svg {
  width: 20px; height: 20px;
  stroke: var(--clr-text); fill: none; stroke-width: 2; stroke-linecap: round;
}
.cart-sidebar-body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--clr-text-light); }
.cart-empty svg {
  width: 60px; height: 60px; stroke: var(--clr-border);
  fill: none; stroke-width: 1.2; margin-bottom: 16px;
}
.cart-empty p { font-size: var(--fs-sm); margin-bottom: 20px; }

/* Cart item — stable layout for smooth updates */
.cart-item {
  display: flex; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--clr-border);
}
.cart-item-img {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0;
  background: var(--clr-blush-light);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info {
  flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0;
}
.cart-item-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-xs); font-weight: 600; margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item-price { font-size: var(--fs-xs); color: var(--clr-primary); font-weight: 600; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-item-qty button {
  width: 26px; height: 26px;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-xs); color: var(--clr-text);
  transition: var(--transition-fast);
}
.cart-item-qty button:active { background: var(--clr-blush); }
.cart-item-qty span { font-weight: 600; font-size: var(--fs-xs); min-width: 18px; text-align: center; }
.cart-item-remove { align-self: flex-start; padding: 4px; margin-left: auto; }
.cart-item-remove svg {
  width: 14px; height: 14px;
  stroke: var(--clr-text-light); fill: none;
  stroke-width: 2; stroke-linecap: round;
  transition: stroke var(--transition-fast);
}
.cart-item-remove:active svg { stroke: #e53e3e; }

.cart-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-white);
}
.cart-total-row {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 14px;
}
.cart-total-label { font-size: var(--fs-base); color: var(--clr-text-light); }
.cart-total-value { font-size: var(--fs-lg); font-weight: 700; color: var(--clr-primary); }
.btn-checkout {
  width: 100%; padding: 14px; border-radius: var(--radius-sm);
  background: var(--clr-primary); color: var(--clr-white);
  font-size: var(--fs-base); font-weight: 600; letter-spacing: 1px;
  text-align: center; display: block;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.btn-checkout:active { background: var(--clr-primary-dark); transform: scale(0.98); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: calc(var(--header-h) + 40px) 24px 40px;
  text-align: center; background: var(--clr-primary);
}
.about-hero h1 { font-size: var(--fs-2xl); color: var(--clr-blush); margin-bottom: 8px; }
.about-hero p { font-size: var(--fs-sm); color: rgba(240,212,206,0.7); max-width: 400px; margin: 0 auto; }
.about-section { padding: 48px 24px; }
.about-section h2 { font-size: var(--fs-xl); margin-bottom: 16px; }
.about-section p { font-size: var(--fs-base); color: var(--clr-text-light); line-height: 1.8; margin-bottom: 16px; }
.about-values { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.about-value-card {
  display: flex; gap: 14px; padding: 18px;
  background: var(--clr-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card);
}
.about-value-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--clr-blush-light); border-radius: var(--radius-full);
}
.about-value-icon svg {
  width: 22px; height: 22px; stroke: var(--clr-primary); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.about-value-card h3 { font-family: var(--ff-heading); font-size: var(--fs-base); margin-bottom: 4px; }
.about-value-card p { font-size: var(--fs-sm); color: var(--clr-text-light); margin-bottom: 0; }

/* ============================================================
   CONTACT / ORDER PAGE
   ============================================================ */
.order-hero {
  padding: calc(var(--header-h) + 40px) 24px 40px;
  text-align: center; background: var(--clr-primary);
}
.order-hero h1 { font-size: var(--fs-2xl); color: var(--clr-blush); margin-bottom: 8px; }
.order-hero p { font-size: var(--fs-sm); color: rgba(240,212,206,0.7); }
.order-form-section { padding: 32px 20px 60px; }
.order-summary {
  background: var(--clr-white); border-radius: var(--radius-md);
  padding: 20px; margin-bottom: 28px; box-shadow: var(--shadow-card);
}
.order-summary h2 { font-size: var(--fs-md); margin-bottom: 16px; }
.order-summary-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--clr-border); font-size: var(--fs-sm);
}
.order-summary-item:last-of-type { border-bottom: none; }
.order-summary-total {
  display: flex; justify-content: space-between;
  padding-top: 14px; border-top: 2px solid var(--clr-primary);
  margin-top: 8px; font-weight: 700; font-size: var(--fs-md); color: var(--clr-primary);
}
.order-empty-msg { text-align: center; padding: 24px; color: var(--clr-text-light); font-size: var(--fs-sm); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: var(--fs-sm); font-weight: 600;
  color: var(--clr-text); margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--clr-border); border-radius: var(--radius-sm);
  font-size: var(--fs-base); color: var(--clr-text); background: var(--clr-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(107,29,58,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--clr-text-light); opacity: 0.6; }

/* GPS Button */
.btn-location-gps {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--clr-primary); border-radius: var(--radius-sm);
  background: var(--clr-white); color: var(--clr-primary);
  font-size: var(--fs-base); font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.btn-location-gps:active {
  background: var(--clr-primary); color: var(--clr-white);
}
.btn-location-gps.success {
  background: #e8f5e9; border-color: #4caf50; color: #2e7d32;
}

/* Divider */
.location-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 14px 0;
}
.location-divider::before,
.location-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--clr-border);
}
.location-divider span {
  font-size: var(--fs-xs); color: var(--clr-text-light); white-space: nowrap;
}

/* Search */
.location-search-wrapper {
  position: relative;
}
.location-search-input {
  width: 100%; padding: 12px 44px 12px 14px;
  border: 1.5px solid var(--clr-border); border-radius: var(--radius-sm);
  font-size: var(--fs-base); color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color var(--transition-fast);
}
.location-search-input:focus {
  outline: none; border-color: var(--clr-primary);
}
.location-search-btn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: none; border-radius: var(--radius-sm);
  background: transparent; color: var(--clr-text-light);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.location-search-results {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 600;
  background: var(--clr-white); border: 1px solid var(--clr-border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 200px; overflow-y: auto;
  display: none; list-style: none; margin: 0; padding: 0;
}
.location-search-results.open { display: block; }
.location-search-results li {
  padding: 10px 14px; font-size: var(--fs-sm);
  cursor: pointer; border-bottom: 1px solid var(--clr-border);
  transition: background var(--transition-fast);
}
.location-search-results li:last-child { border-bottom: none; }
.location-search-results li:active { background: var(--clr-blush-light); }

/* Paste input */
.location-paste-input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--clr-border); border-radius: var(--radius-sm);
  font-size: var(--fs-base); color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color var(--transition-fast);
}
.location-paste-input:focus {
  outline: none; border-color: var(--clr-primary);
}

/* Map container */
.map-picker-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--clr-border);
}
.location-map {
  width: 100%;
  height: 220px;
  z-index: 0;
}

/* Hint text */
.map-hint {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  margin-top: 8px;
  opacity: 0.7;
}
.map-hint.has-location {
  color: var(--clr-primary);
  opacity: 1;
  font-weight: 500;
}

.btn-whatsapp {
  width: 100%; padding: 16px; border-radius: var(--radius-sm);
  background: #25D366; color: var(--clr-white);
  font-size: var(--fs-base); font-weight: 600; letter-spacing: 0.5px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.btn-whatsapp:active { background: #1ea952; transform: scale(0.98); }
.btn-whatsapp svg { width: 22px; height: 22px; fill: currentColor; }

.btn-light {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  background: var(--clr-blush); color: var(--clr-primary);
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-light:active { transform: scale(0.96); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-primary-dark);
  color: rgba(240,212,206,0.6);
  padding: 40px 24px 100px;
  text-align: center;
}
.footer-logo { width: 200px; margin: 0 auto 20px; opacity: 0.85; }
.footer-links {
  display: flex; justify-content: center; gap: 24px; margin-bottom: 24px;
}
.footer-links a {
  font-size: var(--fs-sm); color: rgba(240,212,206,0.6);
  transition: color var(--transition-fast);
}
.footer-links a:active { color: var(--clr-blush); }
.footer-social {
  display: flex; justify-content: center; gap: 16px; margin-bottom: 24px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(240,212,206,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.footer-social a:active {
  border-color: var(--clr-blush); background: rgba(240,212,206,0.1);
}
.footer-social svg { width: 18px; height: 18px; fill: rgba(240,212,206,0.6); }
.footer-copy { font-size: var(--fs-xs); opacity: 0.5; margin-bottom: 12px; }
.footer-credit {
  font-size: var(--fs-xs);
  color: rgba(240,212,206,0.4);
}
.footer-credit a {
  color: rgba(240,212,206,0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}
.footer-credit a:active { color: var(--clr-blush); }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  top: calc(var(--header-h) + 10px);
  left: 50%; transform: translateX(-50%) translateY(-120%);
  z-index: 2000;
  padding: 10px 20px; border-radius: var(--radius-sm);
  background: var(--clr-primary); color: var(--clr-white);
  font-size: var(--fs-sm); font-weight: 500;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s ease;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollHintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}
@keyframes floatPetal {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}

/* ============================================================
   DESKTOP / TABLET OVERRIDES
   ============================================================ */
@media (min-width: 768px) {
  :root {
    --fs-base: 1rem; --fs-lg: 1.5rem;
    --fs-xl: 2rem; --fs-2xl: 2.75rem; --fs-3xl: 3.5rem;
  }
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .header { padding: 0 40px; }
  .header-logo img { height: 80px; }
  .container { padding: 0 40px; }
  .hero { min-height: 100vh; padding: 120px 40px 100px; }
  .hero-logo { width: 460px; max-width: 50vw; }
  .section { padding: 80px 0; }
  .featured-card { flex: 0 0 200px; }
  .qualities-grid { grid-template-columns: repeat(4, 1fr); padding: 0 40px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 16px 40px 60px; }
  .product-detail { display: grid; grid-template-columns: 1fr 1fr; }
  .product-detail-img { aspect-ratio: auto; height: calc(100vh - var(--header-h)); position: sticky; top: var(--header-h); }
  .product-detail-info { padding: 48px 48px 60px; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .footer { padding-bottom: 40px; }

  .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .product-card:hover .product-card-img img { transform: scale(1.06); }
  .featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .featured-card:hover .featured-card-img img { transform: scale(1.05); }
  .product-card-add:hover { background: var(--clr-primary); }
  .product-card-add:hover svg { stroke: var(--clr-white); }
  .hero-cta:hover { background: var(--clr-blush); color: var(--clr-primary); }
  .hero-cta:hover svg { transform: translateX(4px); }
  .btn-light:hover { box-shadow: var(--shadow-md); }
  .footer-links a:hover { color: var(--clr-blush); }
  .footer-social a:hover { border-color: var(--clr-blush); background: rgba(240,212,206,0.1); }
  .footer-credit a:hover { color: var(--clr-blush); }
}

@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .featured-card { flex: 0 0 220px; }
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + 16px); right: 16px;
  z-index: 900;
  width: 42px; height: 42px;
  border-radius: var(--radius-full);
  background: var(--clr-white); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg {
  width: 20px; height: 20px;
  stroke: var(--clr-primary); fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (min-width: 768px) {
  .back-to-top { bottom: 32px; right: 32px; }
}
