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

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

:root {
  --rose: #e6b3d0;
  --rose-dark: #d699bf;
  --rose-deep: #cc80b3;
  --rose-light: #f5e6f0;
  --rose-mid: #e8ccdd;
  --gold: #c9a84c;
  --gold-light: #fdf3e0;
  --dark: #1a1010;
  --text: #2e1f1f;
  --muted: #7a6060;
  --border: #e8d8d8;
  --white: #fff;
  --offwhite: #fdf9f9;
  --success: #cc80b3;
  --error: #c0392b;
  --font-head: 'Playfair Display', serif;
  --font-body: 'Jost', sans-serif;
  --shadow: 0 4px 24px rgba(139,92,92,.10);
  --shadow-hover: 0 8px 32px rgba(139,92,92,.18);
  --transition: all .28s cubic-bezier(.4,0,.2,1);
}

body { font-family: var(--font-body); color: var(--text); background: var(--offwhite); min-height: 100vh; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }
input, select, textarea { font-family: var(--font-body); outline: none; }
ul { list-style: none; }

/* TOAST */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; min-width: 240px; box-shadow: var(--shadow); animation: slideIn .3s ease; display: flex; align-items: center; gap: 10px; }
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }
.toast.info { background: var(--rose-dark); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(26,16,16,.55); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: 16px; padding: 32px; max-width: 960px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; transform: scale(.95); transition: transform .3s; }
.modal-overlay.active .modal { transform: scale(1); }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; font-size: 24px; color: var(--muted); transition: var(--transition); }
.modal-close:hover { color: var(--rose-dark); transform: rotate(90deg); }

/* NAV */
.nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 16px rgba(139,92,92,.06); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav-brand { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--rose-dark); letter-spacing: .5px; white-space: nowrap; }
.nav-brand span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 10px; }
.nav-link, .nav-link:link, .nav-link:visited { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--rose-dark); background: transparent; border: 1px solid rgba(255, 182, 193, 0.75); text-decoration: none !important; }
.nav-link:hover, .nav-link:focus { color: var(--rose-dark); background: rgba(255, 182, 193, 0.12); border-color: rgba(255, 182, 193, 1); }
.nav-link.active { color: var(--rose-dark); background: rgba(255, 182, 193, 0.2); border-color: rgba(255, 182, 193, 1); }
.nav-icon-btn { position: relative; padding: 10px 12px; border-radius: 12px; font-size: 18px; color: var(--text); transition: var(--transition); background: none; }
.nav-icon-btn:hover { background: var(--rose-light); color: var(--rose-dark); }
.nav-badge { position: absolute; top: 4px; right: 4px; background: var(--rose-dark); color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.nav-user { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 24px; background: var(--rose-light); border: 1px solid var(--rose-mid); font-size: 13px; font-weight: 500; color: var(--rose-dark); transition: var(--transition); }
.nav-user:hover { background: var(--rose-mid); }
.hamburger { display: none; background: none; font-size: 24px; padding: 8px; color: var(--text); min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

/* HERO / BANNER */
.hero-carousel { position: relative; height: 720px; overflow: hidden; background: var(--rose-light); }
.carousel-slides { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.carousel-slide { min-width: 100%; height: 100%; position: relative; overflow: hidden; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.carousel-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,16,16,.65) 0%, rgba(26,16,16,.25) 60%, transparent 100%); display: flex; align-items: center; padding: 0 80px; }
.carousel-content { color: #fff; max-width: 520px; }
.carousel-content h1 { font-family: var(--font-head); font-size: clamp(28px, 4vw, 52px); line-height: 1.2; margin-bottom: 12px; }
.carousel-content p { font-size: 16px; opacity: .9; margin-bottom: 28px; font-weight: 300; }
.carousel-btn { padding: 13px 32px; background: var(--gold); color: var(--dark); font-weight: 600; font-size: 14px; border-radius: 32px; letter-spacing: .5px; transition: var(--transition); display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.carousel-btn:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.carousel-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: var(--transition); border: none; }
.carousel-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.2); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); backdrop-filter: blur(4px); }
.carousel-arrow:hover { background: rgba(255,255,255,.4); }
.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

/* SECTIONS */
.section { padding: 64px 24px; max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-family: var(--font-head); font-size: clamp(26px, 3vw, 40px); color: var(--text); margin-bottom: 8px; }
.section-header p { color: var(--muted); font-size: 15px; font-weight: 300; }
.section-divider { width: 48px; height: 2px; background: var(--gold); margin: 12px auto 0; }

/* CATEGORIES STRIP — visible strip (JS fills chips); was display:none and never shown */
.categories-strip { display: block; background: var(--white); border-bottom: 1px solid var(--border); }
.categories-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.categories-inner::-webkit-scrollbar { display: none; }
.cat-chip { padding: 16px 24px; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; cursor: pointer; border-bottom: 2px solid transparent; transition: var(--transition); background: none; border-top: none; border-left: none; border-right: none; }
.cat-chip:hover, .cat-chip.active { color: var(--rose-dark); border-bottom-color: var(--rose-dark); }

/* PRODUCT GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  position: relative;
  
}

/* ENTRY ANIMATIONS */
.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: cardEntry 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }
.product-card:nth-child(9) { animation-delay: 0.9s; }
.product-card:nth-child(10) { animation-delay: 1.0s; }

@keyframes cardEntry {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.8);
  }
  60% {
    opacity: 0.8;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* HOVER EFFECTS */
.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 182, 193, 0.3), 0 0 0 1px rgba(255, 182, 193, 0.1);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(45deg, var(--gold), var(--rose-dark), var(--gold));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover::before {
  opacity: 1;
}

/* Hover Overlay */
.product-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
}

.product-card:hover .product-card-overlay {
  transform: translateY(0);
  opacity: 1;
}

.quick-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.quick-btn {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--rose-light);
  cursor: pointer;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  transform-origin: center center;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.1);
}

/* Parallax effect on scroll - subtle and safe */
.product-img-wrap img[data-parallax] {
  transition: transform 0.1s ease-out;
}

.product-img-wrap img.parallax-active {
  transform: translateY(var(--parallax-y, 0px));
}

.product-tag { position: absolute; top: 12px; left: 12px; background: var(--rose-dark); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.product-tag.new { background: var(--gold); color: var(--dark); }
.product-tag.bestseller { background: var(--rose-deep); }
.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--muted);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  border: none;
  z-index: 3;
  cursor: pointer;
}

.wishlist-btn:hover {
  color: var(--rose-dark);
  transform: scale(1.2) rotate(360deg);
  box-shadow: 0 6px 20px rgba(139,92,92,.3);
}

.wishlist-btn.active {
  color: #e74c3c;
  animation: heartPulse 1.5s ease-in-out infinite;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

@keyframes heartPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.6);
  }
}
.product-info { padding: 16px; }
.product-name { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; line-height: 1.3; }
.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.stars { color: var(--gold); font-size: 13px; }
.rating-count { font-size: 12px; color: var(--muted); }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price-current { font-size: 18px; font-weight: 700; color: var(--rose-dark); }
.price-original { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.price-discount { font-size: 12px; color: var(--success); font-weight: 600; }
.btn-view-options {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--rose-dark), var(--rose-deep));
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-view-options::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.6s ease;
}

.btn-view-options:hover::before {
  left: 100%;
}

.btn-view-options:hover {
  background: linear-gradient(135deg, var(--rose-deep), var(--rose-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,92,92,.4);
}

/* SKELETON LOADER */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeletonShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.skeleton-img {
  aspect-ratio: 3/4;
  background: var(--rose-light);
}

.skeleton-content {
  padding: 16px;
}

.skeleton-title {
  height: 16px;
  margin-bottom: 8px;
}

.skeleton-text {
  height: 12px;
  margin-bottom: 6px;
}

.skeleton-text:last-child {
  width: 60%;
}

.skeleton-btn {
  height: 36px;
  margin-top: 14px;
}

/* CART ANIMATIONS */
.cart-icon {
  position: relative;
  transition: transform 0.3s ease;
}

.cart-icon.bounce {
  animation: cartBounce 0.6s ease;
}

@keyframes cartBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--rose-dark);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgePulse 0.5s ease;
}

@keyframes badgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* FLY TO CART ANIMATION */
.fly-to-cart {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  animation: flyToCart 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes flyToCart {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(0.8) rotate(180deg);
    opacity: 0.8;
  }
  100% {
    transform: scale(0.1) rotate(360deg);
    opacity: 0;
  }
}

/* GRID SHUFFLE ANIMATIONS */
.products-grid.shuffling .product-card {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card.flipping {
  animation: cardFlip 0.6s ease-in-out;
}

@keyframes cardFlip {
  0% { transform: rotateY(0deg) scale(1); }
  50% { transform: rotateY(180deg) scale(0.95); }
  100% { transform: rotateY(360deg) scale(1); }
}

/* SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* PRODUCT DETAIL MODAL */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main { aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; background: var(--rose-light); position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.1s ease-out; cursor: zoom-in; }
.zoom-lens { position: absolute; width: 100px; height: 100px; border: 2px solid var(--rose-dark); border-radius: 50%; background: rgba(255, 255, 255, 0.3); pointer-events: none; display: none; z-index: 10; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; }
.gallery-thumb { width: 70px; height: 88px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; transition: var(--transition); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--rose-dark); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info { display: flex; flex-direction: column; gap: 16px; }
.detail-category { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.detail-name { font-family: var(--font-head); font-size: clamp(22px, 2.5vw, 32px); line-height: 1.2; }
.detail-rating { display: flex; align-items: center; gap: 8px; }
.detail-price { display: flex; align-items: baseline; gap: 12px; }
.detail-price .current { font-size: 28px; font-weight: 700; color: var(--rose-dark); }
.detail-price .original { font-size: 16px; color: var(--muted); text-decoration: line-through; }
.detail-price .discount { font-size: 14px; color: var(--success); font-weight: 600; background: #e8f5ee; padding: 2px 8px; border-radius: 4px; }
.detail-description { font-size: 14px; color: var(--muted); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 16px; }
.size-label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.sizes-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--text); background: none; transition: var(--transition); position: relative; }
.size-btn:hover:not(.out-of-stock) { border-color: var(--rose-dark); color: var(--rose-dark); }
.size-btn.selected { border-color: var(--rose-dark); background: var(--rose-dark); color: #fff; }
.size-btn.out-of-stock { color: #ccc; border-color: #eee; cursor: not-allowed; text-decoration: line-through; }
.qty-wrap { display: flex; align-items: center; gap: 12px; }
.qty-label { font-size: 13px; font-weight: 600; }
.qty-control { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-btn { padding: 8px 14px; background: var(--rose-light); font-size: 18px; color: var(--rose-dark); transition: var(--transition); border: none; }
.qty-btn:hover { background: var(--rose-mid); }
.qty-num { padding: 8px 16px; font-size: 15px; font-weight: 600; min-width: 48px; text-align: center; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-add-cart { flex: 1; padding: 14px; border: 2px solid var(--rose-dark); color: var(--rose-dark); background: none; border-radius: 10px; font-size: 14px; font-weight: 600; transition: var(--transition); min-width: 140px; display: flex; align-items: center; justify-content: center; text-align: center; }
.btn-add-cart:hover { background: var(--rose-dark); color: #fff; }
.btn-buy-now { flex: 1; padding: 14px; background: var(--rose-dark); color: #fff; border-radius: 10px; font-size: 14px; font-weight: 600; transition: var(--transition); min-width: 140px; display: flex; align-items: center; justify-content: center; text-align: center; }
.btn-buy-now:hover { background: var(--rose-deep); transform: translateY(-1px); }
.detail-icons { display: flex; gap: 12px; }
.detail-icon-btn { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--muted); transition: var(--transition); background: none; }
.detail-icon-btn:hover { border-color: var(--rose-dark); color: var(--rose-dark); background: var(--rose-light); }

/* RELATED PRODUCTS */
.related-products-section { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); }
.related-products-section h3 { font-family: var(--font-head); font-size: 24px; margin-bottom: 20px; color: var(--text); }
.related-products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.related-product-card { background: var(--offwhite); border-radius: 12px; overflow: hidden; cursor: pointer; transition: var(--transition); border: 1px solid var(--border); }
.related-product-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.related-product-img { aspect-ratio: 3/4; overflow: hidden; position: relative; }
.related-product-img img { width: 100%; height: 100%; object-fit: cover; }
.related-product-info { padding: 16px; }
.related-product-name { font-size: 14px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-product-price { display: flex; align-items: baseline; gap: 8px; }
.related-product-price .price-current { font-size: 16px; font-weight: 700; color: var(--rose-dark); }
.related-product-price .price-original { font-size: 12px; color: var(--muted); text-decoration: line-through; }

/* REVIEWS CAROUSEL */
.reviews-section { background: var(--white); }
.reviews-track-wrap { overflow: hidden; position: relative; }
.reviews-track { display: flex; gap: 24px; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.review-card { min-width: 340px; background: var(--offwhite); border-radius: 16px; padding: 28px; border: 1px solid var(--border); flex-shrink: 0; }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--rose-mid); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--rose-dark); flex-shrink: 0; }
.review-meta h4 { font-size: 15px; font-weight: 600; }
.review-meta p { font-size: 12px; color: var(--muted); }
.review-text { font-size: 14px; color: var(--muted); line-height: 1.7; font-style: italic; }
.reviews-nav { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.reviews-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); background: none; font-size: 18px; color: var(--muted); transition: var(--transition); }
.reviews-nav button:hover { border-color: var(--rose-dark); color: var(--rose-dark); background: var(--rose-light); }

/* FOOTER */
footer { background: var(--dark); color: #c8a2a2; padding: 64px 24px 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h2 { font-family: var(--font-head); font-size: 28px; color: #fff; margin-bottom: 12px; }
.footer-brand h2 span { color: var(--gold); }
.footer-brand p { font-size: 13px; color: #a08080; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #3a2828; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #c8a2a2; transition: var(--transition); }
.social-icon:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: #a08080; margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { color: var(--rose); }
.footer-bottom { border-top: 1px solid #2e1f1f; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: #6a4f4f; }

/* BUTTONS */
.btn { padding: 12px 28px; border-radius: 8px; font-size: 14px; font-weight: 600; transition: var(--transition); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.btn-primary { background: var(--rose-dark); color: #fff; }
.btn-primary:hover { background: var(--rose-deep); transform: translateY(-1px); }
.btn-outline { background: none; border: 2px solid var(--rose-dark); color: var(--rose-dark); }
.btn-outline:hover { background: var(--rose-dark); color: #fff; }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: #b8963c; }

/* FORMS */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.form-input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--text); background: var(--white); transition: var(--transition); }
.form-input:focus { border-color: var(--rose-dark); box-shadow: 0 0 0 3px rgba(200,162,162,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { font-size: 12px; color: var(--error); margin-top: 4px; }

/* SHOP PAGE */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; max-width: 1280px; margin: 0 auto; padding: 32px 24px; align-items: start; }
.shop-main { min-width: 0; }
.shop-sidebar { background: var(--white); border-radius: 16px; padding: 24px; border: 1px solid var(--border); position: sticky; top: 88px; }
.filter-section { margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--text); margin-bottom: 14px; }
.filter-option { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; cursor: pointer; font-size: 14px; color: var(--muted); transition: var(--transition); }
.filter-option:hover { color: var(--rose-dark); }
.filter-option input { accent-color: var(--rose-dark); }
.category-group { margin-bottom: 16px; }
.category-main { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.category-sub { margin-left: 16px; margin-bottom: 12px; }
.category-sub-title { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; text-transform: capitalize; }
.sub-option { margin-left: 12px; margin-bottom: 6px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.shop-toolbar p { font-size: 14px; color: var(--muted); }
.search-wrap { position: relative; flex: 1; max-width: 320px; }
.search-wrap input { width: 100%; padding: 10px 16px 10px 40px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; }
.search-wrap input:focus { border-color: var(--rose-dark); }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 16px; }
.sort-select { padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; color: var(--text); background: var(--white); }

/* CART SIDEBAR */
.cart-overlay { position: fixed; inset: 0; background: rgba(26,16,16,.5); z-index: 500; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.active { opacity: 1; pointer-events: all; }
.cart-panel { position: fixed; right: 0; top: 0; bottom: 0; width: 420px; background: var(--white); z-index: 501; display: flex; flex-direction: column; box-shadow: -8px 0 32px rgba(0,0,0,.12); transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.cart-panel.active { transform: translateX(0); }
.cart-header { padding: 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-family: var(--font-head); font-size: 22px; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: flex; gap: 14px; padding: 14px; border-radius: 12px; background: var(--offwhite); border: 1px solid var(--border); }
.cart-item-img { width: 70px; height: 88px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cart-item-size { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.cart-item-price { font-size: 15px; font-weight: 700; color: var(--rose-dark); }
.cart-item-remove { background: none; color: var(--muted); font-size: 18px; transition: var(--transition); padding: 4px; }
.cart-item-remove:hover { color: var(--error); }
.cart-footer { padding: 20px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 16px; font-weight: 600; }
.cart-total span:last-child { font-size: 20px; color: var(--rose-dark); }
.cart-empty { text-align: center; padding: 48px 24px; color: var(--muted); }
.cart-empty .empty-icon { font-size: 56px; margin-bottom: 16px; }
.cart-empty p { font-size: 15px; }

/* CHECKOUT PAGE */
.checkout-layout { max-width: 1000px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.checkout-card { background: var(--white); border-radius: 16px; padding: 28px; border: 1px solid var(--border); margin-bottom: 20px; }
.checkout-title { font-family: var(--font-head); font-size: 20px; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.checkout-title span { width: 28px; height: 28px; border-radius: 50%; background: var(--rose-dark); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer; transition: var(--transition); }
.payment-option:hover { border-color: var(--rose); }
.payment-option.selected { border-color: var(--rose-dark); background: var(--rose-light); }
.payment-option input { accent-color: var(--rose-dark); }
.payment-option label { cursor: pointer; font-size: 14px; font-weight: 500; }
.payment-icon { font-size: 22px; }
.order-summary-card { background: var(--white); border-radius: 16px; padding: 24px; border: 1px solid var(--border); position: sticky; top: 88px; }
.order-item { display: flex; gap: 12px; margin-bottom: 16px; }
.order-item-img { width: 60px; height: 75px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--rose-light); }
.order-item-info { flex: 1; }
.order-item-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.order-item-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.order-item-price { font-size: 14px; font-weight: 700; color: var(--rose-dark); }
.order-totals { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 8px; }
.order-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; color: var(--muted); }
.order-row.total { font-size: 17px; font-weight: 700; color: var(--text); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; }

/* ADMIN */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 68px); }
.admin-sidebar { background: var(--dark); padding: 24px 0; position: sticky; top: 68px; height: calc(100vh - 68px); overflow-y: auto; }
.admin-nav-item { display: flex; align-items: center; gap: 12px; padding: 14px 24px; font-size: 14px; color: #a08080; cursor: pointer; transition: var(--transition); border: none; background: none; width: 100%; text-align: left; }
.admin-nav-item:hover, .admin-nav-item.active { color: #fff; background: rgba(200,162,162,.12); border-left: 3px solid var(--rose); }
.admin-nav-item .icon { font-size: 18px; }
.admin-content { padding: 32px; }
.admin-header { margin-bottom: 28px; }
.admin-header h1 { font-family: var(--font-head); font-size: 28px; color: var(--text); }
.admin-header p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.admin-table th { background: var(--rose-light); padding: 14px 16px; text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--rose-dark); }
.admin-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--offwhite); }
.admin-table img { width: 50px; height: 63px; object-fit: cover; border-radius: 6px; }
.status-badge { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.status-badge.confirmed { background: #e8f5ee; color: var(--success); }
.status-badge.processing { background: var(--gold-light); color: #8b6914; }
.status-badge.shipped { background: #e3f0fb; color: #1a5a8b; }
.status-badge.delivered { background: #e8f5ee; color: var(--success); }
.status-badge.cancelled { background: #fdecea; color: var(--error); }
.admin-actions { display: flex; gap: 8px; }
.admin-btn { padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; transition: var(--transition); }
.admin-btn.edit { background: var(--gold-light); color: #7a5900; border: none; }
.admin-btn.edit:hover { background: var(--gold); color: var(--dark); }
.admin-btn.delete { background: #fdecea; color: var(--error); border: none; }
.admin-btn.delete:hover { background: var(--error); color: #fff; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card { background: var(--white); border-radius: 14px; padding: 24px; border: 1px solid var(--border); }
.stat-card .stat-icon { font-size: 32px; margin-bottom: 12px; }
.stat-card .stat-value { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--rose-dark); }
.stat-card .stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
.add-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 22px; background: var(--rose-dark); color: #fff; border-radius: 8px; font-size: 14px; font-weight: 600; transition: var(--transition); text-align: center; }
.add-btn:hover { background: var(--rose-deep); }

/* AUTH MODAL */
.auth-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.auth-tab { flex: 1; padding: 12px; text-align: center; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; transition: var(--transition); background: none; border-top: none; border-left: none; border-right: none; }
.auth-tab.active { color: var(--rose-dark); border-bottom-color: var(--rose-dark); }

/* WISHLIST PAGE */
.wishlist-empty, .cart-empty-state { text-align: center; padding: 80px 24px; }
.empty-icon-large { font-size: 72px; margin-bottom: 20px; opacity: .4; }

/* PAGE HEADER */
.page-header { background: var(--rose-light); padding: 40px 24px; text-align: center; border-bottom: 1px solid var(--border); }
.page-header h1 { font-family: var(--font-head); font-size: clamp(28px, 4vw, 44px); color: var(--text); margin-bottom: 8px; }
.page-header p { color: var(--muted); font-size: 15px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.breadcrumb a:hover { color: var(--rose-dark); }

/* LOADING */
.loading { display: flex; justify-content: center; padding: 48px; }
.spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--rose-dark); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* RESPONSIVE */
button.filter-toggle-btn { display: none; }

@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; display: flex; flex-wrap: wrap; padding: 12px; gap: 4px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-carousel { height: 360px; }
  .carousel-overlay { padding: 0 32px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-detail { grid-template-columns: 1fr; }
  .cart-panel { width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  
  /* Mobile Filter Styles */
  .filter-toggle-btn { display: flex !important; align-items: center; gap: 8px; width: 100%; padding: 12px 16px; margin-bottom: 16px; background: var(--white); border: 1.5px solid var(--rose-dark); color: var(--rose-dark); border-radius: 8px; font-weight: 600; cursor: pointer; transition: var(--transition); }
  .filter-toggle-btn:active { background: var(--rose-light); }
  .filter-toggle-icon { font-size: 16px; }
  .shop-sidebar { display: none; position: fixed; left: 0; right: 0; top: 68px; bottom: 0; width: 100%; max-width: 100%; z-index: 100; border-radius: 0; background: var(--white); border: none; padding: 20px 16px; overflow-y: auto; box-shadow: var(--shadow); animation: slideInLeft .3s ease-out; }
  .shop-sidebar.mobile-open { display: block; }
  .filter-close-btn { display: flex !important; }
  @keyframes slideInLeft { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .modal { padding: 20px; }
  .hero-carousel { height: 320px; }
  .carousel-content h1 { font-size: 26px; margin-bottom: 8px; }
  .carousel-content p { font-size: 14px; margin-bottom: 16px; line-height: 1.4; }
  .carousel-btn { padding: 10px 24px; font-size: 13px; border-radius: 24px; }
  .carousel-overlay { padding: 0 20px; }
  .btn { padding: 10px 20px; font-size: 13px; }
  .product-name { font-size: 13px; margin-bottom: 4px; line-height: 1.2; }
  .price-current { font-size: 15px; }
  .price-original { font-size: 11px; }
  .price-discount { font-size: 10px; }
  .btn-view-options { padding: 8px; font-size: 12px; border-radius: 6px; }
  .section { padding: 40px 16px; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 24px; margin-bottom: 6px; }
  .section-header p { font-size: 13px; }
  .related-product-img { aspect-ratio: 4/5; }
  .nav-brand { font-size: 22px; }
}

/* ================================================================
   APPEND THIS TO THE END OF YOUR css/style.css
   These are additions only — do not replace existing styles
   ================================================================ */

/* ── Visual category chips with circular images ─────────────── */
.categories-strip { display: block; background: var(--white); border-bottom: 1px solid var(--border); }
.categories-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 16px 24px;
  justify-content: center;
  display: flex; gap: 24px; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.categories-inner::-webkit-scrollbar { display: none; }

/* Override the old text-only chip */
.cat-chip {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 0; background: none; border: none !important;
  cursor: pointer; flex-shrink: 0; transition: var(--transition);
}
.cat-chip-img {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 2.5px solid var(--border);
  transition: var(--transition); background: var(--rose-light);
  display: block;
}
.cat-chip-label {
  font-size: 12px; font-weight: 600; color: var(--muted);
  white-space: nowrap; transition: var(--transition);
}
.cat-chip:hover .cat-chip-img,
.cat-chip.active .cat-chip-img {
  border-color: var(--rose-dark);
  box-shadow: 0 0 0 3px rgba(139,92,92,.2);
  transform: scale(1.07);
}
.cat-chip:hover .cat-chip-label,
.cat-chip.active .cat-chip-label {
  color: var(--rose-dark);
}

@media (max-width: 480px) {
  .cat-chip-img  { width: 58px; height: 58px; }
  .cat-chip-label { font-size: 11px; }
  .categories-inner { gap: 10px; padding: 12px 16px; }
}

/* ── My Orders nav link active state ────────────────────────── */
.nav-link[href*="orders"].active { color: var(--rose-dark); background: var(--rose-light); }
/* ================================================================
   APPEND TO END OF  frontend/css/style.css
   New styles for: recently viewed, WhatsApp button,
   related products, customer review form, export button
   ================================================================ */

/* ── Recently viewed scrollbar ──────────────────────────────── */
#recently-viewed-strip { transition: opacity .3s; }
#recently-viewed-strip::-webkit-scrollbar { height: 4px; }
#recently-viewed-strip::-webkit-scrollbar-track { background: var(--border); border-radius: 4px; }
#recently-viewed-strip::-webkit-scrollbar-thumb { background: var(--rose-mid); border-radius: 4px; }

/* ── WhatsApp share button in product modal ──────────────────── */
.detail-icon-btn svg { pointer-events: none; }
.detail-icon-btn[href*="whatsapp"] { color: #25D366; border-color: #25D366; }
.detail-icon-btn[href*="whatsapp"]:hover { background: #25D366; }

/* ── Related products section ────────────────────────────────── */
#related-products-section { animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Star rating picker ──────────────────────────────────────── */
#star-picker span { user-select: none; display: inline-block; transition: transform .12s; }
#star-picker span:hover { transform: scale(1.2); }

/* ── Export button green ─────────────────────────────────────── */
.add-btn[onclick*="Export"], .add-btn[onclick*="export"] {
  background: var(--success) !important;
}

/* ── Pending reviews badge ───────────────────────────────────── */
.admin-nav-item span.badge-count {
  background: var(--gold);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  margin-left: 8px;
}
/* ================================================================
   LADYPRISSO — UI UPGRADE
   APPEND THIS TO THE END OF  frontend/css/style.css
   ================================================================ */

/* ── 1. PAGE LOAD ─────────────────────────────────────────────── */
body { animation: pageFadeIn .45s ease; }
@keyframes pageFadeIn {
  from { opacity:0; transform:translateY(8px); }
  to   { opacity:1; transform:none; }
}

/* ── 2. NAV ───────────────────────────────────────────────────── */
.nav-brand { transition: transform .25s; display:inline-block; }
.nav-brand:hover { transform: scale(1.04); }

.nav-link { position:relative; overflow:visible; }
.nav-link::after { display:none; }
.nav-icon-btn { transition: background .2s, color .2s, transform .15s; }
.nav-icon-btn:active { transform: scale(.88); }

/* ── 3. BUTTONS ───────────────────────────────────────────────── */
.btn-primary, .btn-view-options, .btn-buy-now, .btn-add-cart, .add-btn, .btn-gold {
  position:relative; overflow:hidden;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary:hover    { transform:translateY(-2px); box-shadow:0 6px 20px rgba(139,92,92,.28); }
.btn-primary:active   { transform:scale(.97) translateY(1px); }

.btn-view-options {
  background: linear-gradient(135deg, var(--rose-dark), var(--rose-deep));
  background-size: 200% auto;
  transition: background-position .4s, transform .2s, box-shadow .2s;
}
.btn-view-options:hover {
  background-position: right center;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(139,92,92,.3);
}
.btn-view-options:active { transform:scale(.97); }

.btn-gold { animation: goldPulse 3s ease-in-out infinite; }
@keyframes goldPulse {
  0%,100% { box-shadow:0 0 0 0 rgba(201,168,76,.45); }
  50%     { box-shadow:0 0 0 9px rgba(201,168,76,0); }
}

.btn-outline { transition: background .22s, color .22s, transform .2s, box-shadow .2s; }
.btn-outline:hover { transform:translateY(-2px); box-shadow:0 4px 18px rgba(139,92,92,.15); }
.btn-outline:active { transform:scale(.97); }

/* Ripple on click */
.btn-primary::after, .btn-view-options::after, .btn-buy-now::after {
  content:''; position:absolute; inset:0;
  background:rgba(255,255,255,0); transition:background .3s;
}
.btn-primary:hover::after, .btn-view-options:hover::after, .btn-buy-now:hover::after {
  background:rgba(255,255,255,.08);
}

/* ── 4. PRODUCT CARDS ─────────────────────────────────────────── */
.product-card {
  transition: transform .32s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.product-card:hover {
  transform: translateY(-7px) scale(1.012);
  box-shadow: 0 18px 44px rgba(139,92,92,.18);
}

.wishlist-btn { transition:transform .2s cubic-bezier(.34,1.56,.64,1), color .2s, background .2s; }
.wishlist-btn:hover { transform:scale(1.22); }
.wishlist-btn.active { animation:heartPop .3s cubic-bezier(.34,1.56,.64,1); }
@keyframes heartPop {
  0%{transform:scale(1)} 50%{transform:scale(1.45)} 100%{transform:scale(1)}
}

.product-tag { animation:tagSlide .4s .1s both; }
@keyframes tagSlide {
  from{opacity:0;transform:translateX(-8px)} to{opacity:1;transform:none}
}

/* ── 5. MODAL ─────────────────────────────────────────────────── */
.modal-overlay.active .modal {
  animation: modalSpring .32s cubic-bezier(.34,1.2,.64,1);
}
@keyframes modalSpring {
  from{transform:scale(.88) translateY(18px);opacity:.3}
  to  {transform:scale(1) translateY(0);opacity:1}
}
.modal-close { transition:transform .25s, color .2s; }
.modal-close:hover { transform:rotate(90deg) scale(1.1); color:var(--rose-dark); }

/* ── 6. GALLERY + SIZES ───────────────────────────────────────── */
.gallery-thumb { transition:transform .2s, opacity .2s, border-color .2s; opacity:.75; }
.gallery-thumb:hover { transform:scale(1.07); opacity:1; }
.gallery-thumb.active { opacity:1; }

.size-btn { transition: background .2s, color .2s, border-color .2s, transform .15s; }
.size-btn:not(.out-of-stock):hover { border-color:var(--rose-dark); color:var(--rose-dark); transform:scale(1.06); }
.size-btn.selected { animation:sizePop .2s cubic-bezier(.34,1.56,.64,1); }
@keyframes sizePop { 0%{transform:scale(1)} 50%{transform:scale(1.14)} 100%{transform:scale(1)} }

.qty-btn { transition:background .15s, transform .12s; }
.qty-btn:hover { background:var(--rose-mid); }
.qty-btn:active { transform:scale(.86); }

.detail-icon-btn { transition:background .2s, color .2s, border-color .2s, transform .2s; }
.detail-icon-btn:hover { border-color:var(--rose-dark); color:var(--rose-dark); background:var(--rose-light); transform:scale(1.1); }

/* ── 7. CAROUSEL ──────────────────────────────────────────────── */
.carousel-content { animation:heroFade .75s ease; }
@keyframes heroFade { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:none} }
.carousel-arrow { transition:background .25s, transform .25s; }
.carousel-arrow:hover { background:rgba(255,255,255,.5); transform:translateY(-50%) scale(1.14); }

/* ── 8. CATEGORY CIRCLES ──────────────────────────────────────── */
.cat-chip-img { transition:border-color .25s, transform .36s cubic-bezier(.34,1.56,.64,1), box-shadow .25s; }
.cat-chip:hover .cat-chip-img, .cat-chip.active .cat-chip-img {
  transform:scale(1.12); border-color:var(--rose-dark);
  box-shadow:0 0 0 4px rgba(139,92,92,.2);
}
.cat-chip-label { transition:color .2s, font-weight .2s; }
.cat-chip:hover .cat-chip-label, .cat-chip.active .cat-chip-label {
  color:var(--rose-dark); font-weight:600;
}

/* ── 9. INPUTS ─────────────────────────────────────────────────── */
.form-input { transition:border-color .2s, box-shadow .2s, transform .15s; }
.form-input:focus {
  border-color:var(--rose-dark);
  box-shadow:0 0 0 3px rgba(139,92,92,.13);
  transform:translateY(-1px);
}
.form-input:hover:not(:focus) { border-color:var(--rose-mid); }

/* ── 10. SCROLL REVEAL ────────────────────────────────────────── */
.reveal { opacity:0; transform:translateY(26px); transition:opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity:1; transform:none; }

.products-grid .product-card:nth-child(1) { transition-delay:.00s; }
.products-grid .product-card:nth-child(2) { transition-delay:.06s; }
.products-grid .product-card:nth-child(3) { transition-delay:.12s; }
.products-grid .product-card:nth-child(4) { transition-delay:.18s; }
.products-grid .product-card:nth-child(5) { transition-delay:.24s; }
.products-grid .product-card:nth-child(6) { transition-delay:.30s; }

/* ── 11. SKELETON ─────────────────────────────────────────────── */
.skeleton {
  background:linear-gradient(90deg,var(--border) 25%,var(--rose-light) 50%,var(--border) 75%);
  background-size:200% 100%; animation:shimmer 1.4s infinite;
  border-radius:8px;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.skeleton-card{background:var(--white);border-radius:16px;overflow:hidden;border:1px solid var(--border)}
.skeleton-img{height:240px}
.skeleton-text{height:13px;margin:12px 16px 6px}
.skeleton-text.s{width:55%}
.skeleton-price{height:17px;margin:0 16px 10px;width:38%}
.skeleton-btn{height:36px;margin:0 16px 16px;border-radius:8px}

/* ── 12. TOAST ─────────────────────────────────────────────────── */
.toast { animation:toastIn .36s cubic-bezier(.34,1.56,.64,1); border-left:4px solid rgba(255,255,255,.3); }
@keyframes toastIn { from{transform:translateX(110%);opacity:0} to{transform:none;opacity:1} }

/* ── 13. CART ─────────────────────────────────────────────────── */
.cart-item { animation:cartIn .3s ease; }
@keyframes cartIn { from{opacity:0;transform:translateX(14px)} to{opacity:1;transform:none} }
.cart-item:hover { background:var(--rose-light); }
.cart-item-remove { transition:color .2s, transform .2s; }
.cart-item-remove:hover { color:var(--error); transform:rotate(90deg) scale(1.2); }

/* ── 14. FOOTER LINKS ─────────────────────────────────────────── */
footer .footer-col a { position:relative; transition:color .2s, padding-left .2s; }
footer .footer-col a:hover { color:var(--rose); padding-left:8px; }
footer .footer-col a::before {
  content:'→'; position:absolute; left:-4px; opacity:0;
  transition:opacity .2s, left .2s; font-size:12px;
}
footer .footer-col a:hover::before { opacity:1; left:-2px; }
.social-icon { transition:background .25s, border-color .25s, transform .25s, color .25s; }
.social-icon:hover { background:var(--rose-dark); border-color:var(--rose-dark); color:#fff; transform:translateY(-3px) rotate(6deg); }

/* ── 15. ADMIN CARDS ──────────────────────────────────────────── */
.stat-card { transition:transform .25s, box-shadow .25s; }
.stat-card:hover { transform:translateY(-4px); box-shadow:0 8px 26px rgba(139,92,92,.13); }
.admin-table tbody tr:hover td { background:var(--rose-light); }
.admin-btn { transition:background .18s, color .18s, transform .15s; }
.admin-btn:hover { transform:scale(1.07); }
.status-badge { animation:badgePop .35s ease; }
@keyframes badgePop { 0%{transform:scale(.8);opacity:0} 60%{transform:scale(1.1)} 100%{transform:scale(1);opacity:1} }

/* ── 16. SCROLL TO TOP ────────────────────────────────────────── */
.scroll-top-btn {
  position:fixed; bottom:80px; right:24px;
  width:44px; height:44px; background:var(--rose-dark); color:#fff;
  border:none; border-radius:50%; font-size:20px; cursor:pointer; z-index:300;
  opacity:0; transform:translateY(16px);
  transition:opacity .3s, transform .3s, background .2s, box-shadow .2s;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 16px rgba(139,92,92,.3);
}
.scroll-top-btn.visible { opacity:1; transform:none; }
.scroll-top-btn:hover { background:var(--rose-deep); transform:translateY(-3px); box-shadow:0 8px 24px rgba(139,92,92,.4); }

/* ── 17. REVIEW CARDS ─────────────────────────────────────────── */
.review-card { transition:transform .25s, box-shadow .25s; }
.review-card:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(139,92,92,.12); }

/* ── 18. STEP DOTS (orders) ───────────────────────────────────── */
.step-dot { transition:background .4s, border-color .4s, transform .3s; }
.step.active .step-dot { animation:stepPulse 2.2s ease-in-out infinite; }
@keyframes stepPulse {
  0%,100%{box-shadow:0 0 0 0 rgba(139,92,92,.35)}
  50%{box-shadow:0 0 0 9px rgba(139,92,92,0)}
}

/* ── 19. STAR PICKER (reviews) ────────────────────────────────── */
#star-picker span { user-select:none; display:inline-block; transition:transform .12s; }
#star-picker span:hover { transform:scale(1.25); }

/* ── MOBILE ────────────────────────────────────────────────────── */
@media (max-width:768px) {
  .product-card:hover { transform:none; box-shadow:var(--shadow); }
  .product-card:active { transform:scale(.98); }
  .carousel-arrow { display:none; }
  .cat-chip:active { transform:scale(.94); }
}

/* ── REDUCED MOTION ───────────────────────────────────────────── */
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}
/* ================================================================
   LADYPRISSO — PRO MAX UI UPGRADE
   Design System · Framer-Motion Animations · Mobile-First
   Append this to the END of frontend/css/style.css
   ================================================================

   DESIGN TOKENS (mirrors Figma variables)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Rose Dark     #8b5c5c  — Primary actions
   Rose Deep     #6b3f3f  — Hover/pressed
   Gold          #c9a84c  — Accent / CTA
   Text Primary  #2e1f1f
   Text Muted    #7a6060
   ================================================================ */

* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  --spring:      cubic-bezier(.34,1.56,.64,1);
  --ease-out:    cubic-bezier(.22,1,.36,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --dur-xs: 80ms;   --dur-sm: 160ms;  --dur-md: 280ms;
  --dur-lg: 420ms;  --dur-xl: 600ms;

  --shadow-sm:  0 2px 8px  rgba(139,92,92,.10);
  --shadow-md:  0 4px 20px rgba(139,92,92,.14);
  --shadow-lg:  0 12px 40px rgba(139,92,92,.20);
  --shadow-xl:  0 24px 64px rgba(139,92,92,.28);
}

/* ── 1. PAGE FADE-IN ────────────────────────────────────────── */
body { animation: lp-page-in var(--dur-lg) var(--ease-out) both; }
@keyframes lp-page-in {
  from { opacity:0; transform:translateY(8px); }
  to   { opacity:1; transform:none; }
}

/* ── 2. NAV — fixed, no double underline ────────────────────── */
/* 
   ROOT CAUSE: style.css gives .nav-link:hover a rose-light background.
   promax previously added ::before underline on top, creating two lines.
   FIX: Kill the background on hover entirely. Use a single inset
   box-shadow (bottom line only) instead of ::before or border-bottom.
   This matches the clean icon-button style of cart / wishlist.
*/
.nav {
  transition: box-shadow var(--dur-md) ease, background var(--dur-md) ease;
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(139,92,92,.10);
}

/* Keep nav links button-like and remove underline styling */
.nav-link {
  position: relative;
  border-bottom: none !important;
  transition: color var(--dur-sm) ease, box-shadow var(--dur-sm) ease;
}

.nav-link::after {
  display: none;
}
.nav-link:hover::after,
.nav-link.active::after {
  display: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--rose-dark);
}

/* Nav icon buttons — identical interaction to nav-link but no underline */
.nav-icon-btn {
  transition: transform var(--dur-sm) var(--spring), color var(--dur-sm) ease;
}
.nav-icon-btn:hover  { transform: scale(1.12); color: var(--rose-dark); background: none; }
.nav-icon-btn:active { transform: scale(.88); }

/* Nav brand */
.nav-brand { transition: transform var(--dur-md) var(--spring); display:inline-block; }
.nav-brand:hover { transform: scale(1.03); }

/* Badge bounce */
.nav-badge.bump { animation: badge-bump .3s var(--spring); }
@keyframes badge-bump {
  0%  {transform:scale(1)}  40% {transform:scale(1.5)}  100%{transform:scale(1)}
}

/* ── 3. MODAL — FIXED ───────────────────────────────────────── */
/*
   ROOT CAUSE: previous CSS animated `opacity` inside @keyframes on
   .modal which conflicted with the overlay's own opacity transition,
   causing the modal to appear half-transparent or clipped.

   FIX: The overlay owns opacity (already in style.css).
   The modal itself ONLY animates scale + translateY — no opacity.
   backdrop-filter REMOVED from .modal-overlay because it was
   creating a new stacking context that clipped the modal height.
*/
.modal-overlay {
  /* REMOVED: backdrop-filter — it collapses stacking context */
  background: rgba(26,16,16,.62);    /* slightly darker to compensate */
}
.modal {
  /* REMOVED: any conflicting transform from style.css is preserved */
  /* Ensure full visibility — these must never be 0 */
  opacity: 1 !important;
  visibility: visible !important;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal {
  /* Only scale + translateY — NO opacity in keyframe */
  animation: modal-spring var(--dur-md) var(--spring);
}
@keyframes modal-spring {
  from { transform: scale(.92) translateY(20px); }
  to   { transform: scale(1)   translateY(0); }
}
.modal-close {
  transition: transform var(--dur-md) var(--spring), color var(--dur-sm) ease;
}
.modal-close:hover { transform: rotate(90deg) scale(1.15); color: var(--rose-dark); }

/* ── 4. BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  position: relative; overflow: hidden;
  transition: transform var(--dur-sm) var(--spring),
              box-shadow var(--dur-md) ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-primary:active  { transform: scale(.97); box-shadow: var(--shadow-sm); }

/* Shine sweep on hover */
.btn-primary::after {
  content: '';
  position: absolute; top:0; left:-100%; width:60%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-20deg);
  transition: left var(--dur-lg) ease;
}
.btn-primary:hover::after { left: 150%; }

/* Gold CTA */
.btn-gold {
  animation: gold-glow 3s ease-in-out infinite;
  transition: transform var(--dur-sm) var(--spring), box-shadow var(--dur-md) ease;
}
@keyframes gold-glow {
  0%,100%{ box-shadow:0 0 0 0 rgba(201,168,76,.5); }
  50%    { box-shadow:0 0 0 10px rgba(201,168,76,0); }
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(201,168,76,.4); }
.btn-gold:active { transform: scale(.97); }

/* Outline */
.btn-outline {
  transition: transform var(--dur-sm) var(--spring), box-shadow var(--dur-md) ease,
              background var(--dur-md) ease, color var(--dur-md) ease;
}
.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--rose-dark);
  color: #fff;
  border-color: var(--rose-dark);
}
.btn-outline:active { transform: scale(.97); }

/* View options */
.btn-view-options {
  transition: transform var(--dur-sm) var(--spring), box-shadow var(--dur-md) ease,
              background var(--dur-md) ease;
}
.btn-view-options:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,92,92,.32);
  background: var(--rose-deep);
}
.btn-view-options:active { transform: scale(.97); }

/* ── 5. PRODUCT CARDS ───────────────────────────────────────── */
.product-card {
  transition: transform var(--dur-md) var(--spring), box-shadow var(--dur-md) ease;
}
.product-card:hover {
  transform: translateY(-7px) scale(1.012);
  box-shadow: var(--shadow-xl);
}
.product-card:active { transform: scale(.98); }

/* Wishlist heart */
.wishlist-btn {
  transition: transform var(--dur-sm) var(--spring), color var(--dur-sm) ease;
}
.wishlist-btn:hover  { transform: scale(1.22); }
.wishlist-btn:active { transform: scale(.88); }
.wishlist-btn.active { animation: heart-pop .32s var(--spring); }
@keyframes heart-pop {
  0%{transform:scale(1)} 40%{transform:scale(1.5)} 100%{transform:scale(1)}
}

/* Tag */
.product-tag { animation: tag-in var(--dur-md) var(--ease-out) .1s both; }
@keyframes tag-in {
  from{opacity:0;transform:translateX(-8px)} to{opacity:1;transform:none}
}

/* ── 6. SIZE BUTTONS ────────────────────────────────────────── */
.size-btn {
  transition: all var(--dur-sm) var(--spring);
}
.size-btn:not(.out-of-stock):hover {
  border-color: var(--rose-dark); color: var(--rose-dark);
  transform: scale(1.07);
  box-shadow: 0 3px 10px rgba(139,92,92,.2);
}
.size-btn.selected {
  background: var(--rose-dark); color: #fff; border-color: var(--rose-dark);
  animation: size-pop var(--dur-sm) var(--spring);
}
@keyframes size-pop {
  0%{transform:scale(1)} 50%{transform:scale(1.1)} 100%{transform:scale(1)}
}

/* ── 7. INPUTS ──────────────────────────────────────────────── */
.form-input {
  transition: border-color var(--dur-md) ease, box-shadow var(--dur-md) ease;
}
.form-input:focus {
  border-color: var(--rose-dark);
  box-shadow: 0 0 0 3px rgba(139,92,92,.13);
}
.form-input:hover:not(:focus) { border-color: var(--rose-mid); }

/* ── 8. HERO CAROUSEL ───────────────────────────────────────── */
.carousel-content { animation: hero-in var(--dur-xl) var(--ease-out) .15s both; }
@keyframes hero-in {
  from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none}
}
.carousel-arrow {
  transition: background var(--dur-md) ease, transform var(--dur-sm) var(--spring);
}
.carousel-arrow:hover {
  background: rgba(255,255,255,.52);
  transform: translateY(-50%) scale(1.12);
}

/* ── 9. CATEGORY CIRCLES ────────────────────────────────────── */
.cat-img-wrap {
  transition: border-color var(--dur-md) ease, box-shadow var(--dur-md) ease,
              transform var(--dur-md) var(--spring);
}
.cat-chip:hover .cat-img-wrap,
.cat-chip.active .cat-img-wrap {
  border-color: var(--rose-dark);
  box-shadow: 0 0 0 3px rgba(139,92,92,.18);
  transform: scale(1.08);
}
.cat-chip-label { transition: color var(--dur-md) ease; }
.cat-chip:hover .cat-chip-label,
.cat-chip.active .cat-chip-label { color: var(--rose-dark); font-weight:700; }

/* ── 10. CART PANEL ─────────────────────────────────────────── */
.cart-item { transition: background var(--dur-sm) ease; }
.cart-item:hover { background: var(--rose-light); }
.cart-item-remove {
  transition: color var(--dur-sm) ease, transform var(--dur-sm) var(--spring);
}
.cart-item-remove:hover { color: var(--error); transform: rotate(90deg) scale(1.2); }

/* ── 11. SKELETON ───────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg,var(--border) 0%,var(--rose-light) 50%,var(--border) 100%);
  background-size:250% 100%;
  animation:shimmer 1.5s ease-in-out infinite;
  border-radius:8px;
}
@keyframes shimmer{0%{background-position:250% 0}100%{background-position:-250% 0}}
.skeleton-card{background:var(--white);border-radius:16px;overflow:hidden;border:1px solid var(--border)}
.skeleton-img{height:240px}.skeleton-text{height:13px;margin:12px 16px 6px}
.skeleton-text.s{width:55%}.skeleton-price{height:17px;margin:0 16px 10px;width:38%}
.skeleton-btn{height:38px;margin:0 16px 16px;border-radius:8px}

/* ── 12. TOAST ──────────────────────────────────────────────── */
.toast { animation: toast-in var(--dur-md) var(--spring); border-left:4px solid rgba(255,255,255,.3); }
@keyframes toast-in { from{transform:translateX(110%);opacity:0} to{transform:none;opacity:1} }
.toast-progress {
  position:absolute;bottom:0;left:0;height:3px;
  background:rgba(255,255,255,.45); border-radius:0 0 8px 8px;
  animation: toast-drain linear forwards;
}
@keyframes toast-drain{from{width:100%}to{width:0}}

/* ── 13. STATUS BADGES ──────────────────────────────────────── */
.status-badge { animation:badge-pop var(--dur-md) var(--spring); }
@keyframes badge-pop{0%{transform:scale(.8);opacity:0}60%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}

/* ── 14. FOOTER LINKS ───────────────────────────────────────── */
footer .footer-col a {
  position:relative;
  transition: color var(--dur-sm) ease, padding-left var(--dur-md) var(--spring);
}
footer .footer-col a::before {
  content:'→';position:absolute;left:-2px;opacity:0;font-size:12px;
  transition:opacity var(--dur-sm) ease, left var(--dur-md) var(--spring);
}
footer .footer-col a:hover{ color:var(--rose); padding-left:14px; }
footer .footer-col a:hover::before{ opacity:1; left:0; }
.social-icon {
  transition:background var(--dur-md) ease, border-color var(--dur-md) ease,
             transform var(--dur-md) var(--spring), color var(--dur-md) ease;
}
.social-icon:hover {
  background:var(--rose-dark); border-color:var(--rose-dark); color:#fff;
  transform:translateY(-4px) rotate(6deg);
}

/* ── 15. REVIEW CARDS ───────────────────────────────────────── */
.review-card { transition:transform var(--dur-md) var(--spring), box-shadow var(--dur-md) ease; }
.review-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }

/* ── 16. ADMIN STATS ────────────────────────────────────────── */
.stat-card {
  transition:transform var(--dur-md) var(--spring), box-shadow var(--dur-md) ease;
  cursor:default;
}
.stat-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.admin-table tbody tr { transition:background var(--dur-xs) ease; }
.admin-table tbody tr:hover td { background:var(--rose-light); }

/* ── 17. ORDER STEP DOTS ────────────────────────────────────── */
.step-dot { transition:background var(--dur-lg) ease, border-color var(--dur-lg) ease; }
.step.active .step-dot { animation:step-pulse 2s ease-in-out infinite; }
@keyframes step-pulse{0%,100%{box-shadow:0 0 0 0 rgba(139,92,92,.4)}50%{box-shadow:0 0 0 9px rgba(139,92,92,0)}}

/* ── 18. SCROLL REVEAL ──────────────────────────────────────── */
[data-reveal] {
  opacity:0; transform:translateY(22px);
  transition:opacity var(--dur-xl) var(--ease-out), transform var(--dur-xl) var(--ease-out);
}
[data-reveal].visible { opacity:1; transform:none; }
[data-reveal="left"]  { transform:translateX(-22px); }
[data-reveal="right"] { transform:translateX(22px); }
[data-reveal="scale"] { transform:scale(.94); }
[data-reveal="left"].visible,
[data-reveal="right"].visible,
[data-reveal="scale"].visible { transform:none; }

/* ── 19. FLOATING BUTTONS ───────────────────────────────────── */
.wa-float {
  position:fixed; bottom:24px; right:24px;
  width:54px; height:54px; background:#25D366; color:#fff;
  border-radius:50%; border:none; cursor:pointer; z-index:499;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 18px rgba(37,211,102,.45);
  animation:wa-bounce 2.5s ease-in-out 2s infinite;
  transition:transform var(--dur-md) var(--spring), box-shadow var(--dur-md) ease;
  text-decoration:none;
}
.wa-float:hover { transform:scale(1.12) translateY(-4px); animation:none; box-shadow:0 10px 30px rgba(37,211,102,.55); }
@keyframes wa-bounce{0%,100%{transform:translateY(0)}40%{transform:translateY(-8px)}60%{transform:translateY(-4px)}}

.call-float {
  display: none !important;
  position:fixed; bottom:86px; right:24px;
  width:48px; height:48px; background:var(--rose-dark); color:#fff;
  border-radius:50%; border:none; cursor:pointer; z-index:498;
  align-items:center; justify-content:center;
  box-shadow:var(--shadow-md);
  animation:call-ring 3s ease-in-out 4s infinite;
  transition:transform var(--dur-md) var(--spring), box-shadow var(--dur-md) ease;
  text-decoration:none;
}
.call-float:hover { transform:scale(1.1) translateY(-3px); animation:none; box-shadow:var(--shadow-xl); }
@keyframes call-ring{0%,100%{box-shadow:var(--shadow-md)}50%{box-shadow:0 0 0 10px rgba(139,92,92,0),var(--shadow-md)}}

/* ── 20. SCROLL-TO-TOP ──────────────────────────────────────── */
.scroll-top-btn {
  position:fixed; bottom:90px; right:24px;
  width:44px; height:44px;
  background:linear-gradient(135deg,var(--rose-dark),var(--rose-deep));
  color:#fff; border:none; border-radius:50%; font-size:18px; cursor:pointer; z-index:497;
  opacity:0; transform:translateY(16px) scale(.8);
  transition:opacity var(--dur-md) ease, box-shadow var(--dur-md) ease;
  box-shadow:var(--shadow-md); display:flex; align-items:center; justify-content:center;
}
.scroll-top-btn.visible { opacity:1; transform:none; animation:scroll-float 2.2s ease-in-out infinite; }
.scroll-top-btn:hover { animation:none; transform:translateY(-4px) scale(1.08); box-shadow:var(--shadow-xl); }
@keyframes scroll-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}

/* ── GALLERY THUMBS ─────────────────────────────────────────── */
.gallery-thumb {
  transition:opacity var(--dur-sm) ease, transform var(--dur-sm) var(--spring), border-color var(--dur-sm) ease;
  opacity:.72;
}
.gallery-thumb:hover { opacity:1; transform:scale(1.06); }
.gallery-thumb.active { opacity:1; }

/* ── CHECKOUT CARD FOCUS ────────────────────────────────────── */
.checkout-card { transition:box-shadow var(--dur-md) ease, transform var(--dur-md) var(--spring); }
.checkout-card:focus-within { box-shadow:var(--shadow-lg); transform:translateY(-2px); }

/* ── CUSTOM SCROLLBAR ───────────────────────────────────────── */
::-webkit-scrollbar { width:6px; height:6px; }
::-webkit-scrollbar-track { background:var(--offwhite); }
::-webkit-scrollbar-thumb { background:var(--rose-mid); border-radius:999px; }
::-webkit-scrollbar-thumb:hover { background:var(--rose-dark); }

/* ── SELECTION ──────────────────────────────────────────────── */
::selection { background:var(--rose-mid); color:var(--rose-deep); }

/* ── FOCUS RING (accessibility) ─────────────────────────────── */
*:focus-visible { outline:3px solid var(--rose-dark); outline-offset:3px; border-radius:4px; }

/* Skip link — first focusable for keyboard / screen reader users */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 20px;
  clip: auto;
  overflow: visible;
  white-space: normal;
  z-index: 10001;
  background: var(--dark);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.skip-link:focus:hover { color: #fff; }

/* Visually hidden labels for forms */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── LAZY IMAGE FADE ────────────────────────────────────────── */
img[loading="lazy"] { opacity:0; transition:opacity var(--dur-md) ease; }
img[loading="lazy"].loaded { opacity:1; }

/* ── MOBILE ─────────────────────────────────────────────────── */
@media(max-width:768px) {
  .product-card:hover { transform:none; box-shadow:var(--shadow-md); }
  .product-card:active { transform:scale(.97); }
  .wa-float    { bottom:16px; right:16px; width:56px; height:56px; }
  .call-float  { bottom:80px; right:16px; }
  .scroll-top-btn { bottom:84px; right:16px; }

  /* Keep modal full-height on mobile */
  .modal { max-height:96vh; padding:20px; }
}

/* ── REDUCED MOTION (accessibility) ────────────────────────── */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  [data-reveal]{opacity:1;transform:none;}
}
/* ================================================================
   LADYPRISSO — CUTE FLORAL PINK THEME  (redesigned)
   Design direction: Tiny 5-petal daisy flowers, mini cherry blossoms,
   small heart-shaped blooms in soft candy pinks. Kawaii-meets-Indian
   — delicate, sweet, and unmistakably feminine.
   ================================================================ */

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

/* ── Extended pastel pink tokens ─────────────────────────────── */
:root {
  --petal-1:   #fce4ec;
  --petal-2:   #f8bbd0;
  --petal-3:   #f48fb1;
  --petal-4:   #ec407a;
  --petal-5:   #fff0f6;
  --vine:      #d4a5b0;
  --leaf:      #c8a2b2;
  --floral-bg: linear-gradient(135deg, #fff5f8 0%, #fce8f0 50%, #fff0f5 100%);
}

/*
  CUTE FLOWER SVG KEY:
  - 5-petal daisy: 5 rounded ellipses radiating from center + yellow dot
  - Cherry blossom: 5 heart-like notched petals + pink center
  - Tiny bloom: 4 small rounded petals + dot
  All kept tiny (8–14px) so they tile sweetly without overpowering.
*/

/* ── SHARED CUTE FLOWER MIXINS (data URIs) ───────────────────── */

/* Daisy tile — 5 rounded petals, repeating */
/* SVG: 5 ellipses rotated 72° each, tiny yellow center */
:root {
  --daisy-sm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg transform='translate(15,15)'%3E%3Cellipse cx='0' cy='-5' rx='2.5' ry='5' fill='%23fbb6ce' opacity='.75'/%3E%3Cellipse cx='0' cy='-5' rx='2.5' ry='5' fill='%23fbb6ce' opacity='.75' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-5' rx='2.5' ry='5' fill='%23f9a8d4' opacity='.7' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-5' rx='2.5' ry='5' fill='%23f9a8d4' opacity='.7' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-5' rx='2.5' ry='5' fill='%23fbb6ce' opacity='.7' transform='rotate(288)'/%3E%3Ccircle r='2' fill='%23fde68a' opacity='.9'/%3E%3C/g%3E%3Cg transform='translate(45,42)'%3E%3Cellipse cx='0' cy='-4' rx='2' ry='4' fill='%23fbcfe8' opacity='.6'/%3E%3Cellipse cx='0' cy='-4' rx='2' ry='4' fill='%23fbcfe8' opacity='.6' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-4' rx='2' ry='4' fill='%23f9a8d4' opacity='.55' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-4' rx='2' ry='4' fill='%23f9a8d4' opacity='.55' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-4' rx='2' ry='4' fill='%23fbcfe8' opacity='.6' transform='rotate(288)'/%3E%3Ccircle r='1.5' fill='%23fde68a' opacity='.8'/%3E%3C/g%3E%3C/svg%3E");

  --daisy-xs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg transform='translate(12,12)'%3E%3Cellipse cx='0' cy='-4' rx='2' ry='4' fill='%23fbb6ce' opacity='.7'/%3E%3Cellipse cx='0' cy='-4' rx='2' ry='4' fill='%23fbb6ce' opacity='.7' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-4' rx='2' ry='4' fill='%23f9a8d4' opacity='.65' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-4' rx='2' ry='4' fill='%23f9a8d4' opacity='.65' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-4' rx='2' ry='4' fill='%23fbb6ce' opacity='.65' transform='rotate(288)'/%3E%3Ccircle r='1.5' fill='%23fde68a' opacity='.85'/%3E%3C/g%3E%3Cg transform='translate(30,28)'%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fbcfe8' opacity='.5'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fbcfe8' opacity='.5' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fce4ec' opacity='.45' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fce4ec' opacity='.45' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fbcfe8' opacity='.5' transform='rotate(288)'/%3E%3Ccircle r='1' fill='%23fde68a' opacity='.7'/%3E%3C/g%3E%3C/svg%3E");

  --blossom-md: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg transform='translate(20,20)'%3E%3Cellipse cx='0' cy='-6' rx='3' ry='6' fill='%23fbcfe8' opacity='.5' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-6' rx='3' ry='6' fill='%23f9a8d4' opacity='.45' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-6' rx='3' ry='6' fill='%23fbb6ce' opacity='.5' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-6' rx='3' ry='6' fill='%23f9a8d4' opacity='.45' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-6' rx='3' ry='6' fill='%23fbcfe8' opacity='.5' transform='rotate(288)'/%3E%3Ccircle r='2.5' fill='%23fda4af' opacity='.6'/%3E%3C/g%3E%3Cg transform='translate(58,55)'%3E%3Cellipse cx='0' cy='-5' rx='2.5' ry='5' fill='%23fce4ec' opacity='.4' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2.5' ry='5' fill='%23fbcfe8' opacity='.35' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-5' rx='2.5' ry='5' fill='%23fce4ec' opacity='.4' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-5' rx='2.5' ry='5' fill='%23fbcfe8' opacity='.35' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-5' rx='2.5' ry='5' fill='%23fce4ec' opacity='.4' transform='rotate(288)'/%3E%3Ccircle r='2' fill='%23fda4af' opacity='.45'/%3E%3C/g%3E%3Ccircle cx='40' cy='12' r='1.5' fill='%23fbb6ce' opacity='.4'/%3E%3Ccircle cx='65' cy='30' r='1' fill='%23f9a8d4' opacity='.35'/%3E%3Ccircle cx='10' cy='55' r='1.5' fill='%23fbb6ce' opacity='.3'/%3E%3C/svg%3E");
}

/* Pattern 1 — cute daisy scatter (hero bg, section bg) */
.floral-bg {
  background-color: var(--petal-5);
  background-image: var(--daisy-sm);
  background-repeat: repeat;
  background-size: 60px 60px;
}

/* Pattern 2 — blossom corners (for cards, modals) */
.floral-corner::before,
.floral-corner::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='translate(18,18)'%3E%3Cellipse cx='0' cy='-8' rx='3.5' ry='8' fill='%23fbb6ce' opacity='.65' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-8' rx='3.5' ry='8' fill='%23f9a8d4' opacity='.6' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-8' rx='3.5' ry='8' fill='%23fbcfe8' opacity='.65' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-8' rx='3.5' ry='8' fill='%23f9a8d4' opacity='.6' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-8' rx='3.5' ry='8' fill='%23fbb6ce' opacity='.6' transform='rotate(288)'/%3E%3Ccircle r='3' fill='%23fde68a' opacity='.8'/%3E%3C/g%3E%3Cg transform='translate(40,14)'%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbcfe8' opacity='.5' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbb6ce' opacity='.45' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbcfe8' opacity='.5' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbb6ce' opacity='.45' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbcfe8' opacity='.5' transform='rotate(288)'/%3E%3Ccircle r='2' fill='%23fde68a' opacity='.7'/%3E%3C/g%3E%3Cg transform='translate(14,42)'%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fce4ec' opacity='.45' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbcfe8' opacity='.4' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fce4ec' opacity='.45' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbcfe8' opacity='.4' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fce4ec' opacity='.45' transform='rotate(288)'/%3E%3Ccircle r='1.5' fill='%23fde68a' opacity='.6'/%3E%3C/g%3E%3Ccircle cx='55' cy='25' r='2' fill='%23fbb6ce' opacity='.3'/%3E%3Ccircle cx='25' cy='58' r='2' fill='%23f9a8d4' opacity='.3'/%3E%3Ccircle cx='48' cy='6' r='1.2' fill='%23fbcfe8' opacity='.4'/%3E%3Ccircle cx='6' cy='48' r='1.2' fill='%23fbb6ce' opacity='.4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}
.floral-corner::before { top: 0; left: 0; }
.floral-corner::after  { bottom: 0; right: 0; transform: rotate(180deg); }

/* Pattern 3 — cute daisy vine border */
.floral-border-top {
  border-top: none;
  position: relative;
}
.floral-border-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='10'%3E%3Cpath d='M0 5 Q12.5 1 25 5 Q37.5 9 50 5' stroke='%23fbb6ce' stroke-width='1.2' fill='none' opacity='.55'/%3E%3Cg transform='translate(10,5)'%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fbb6ce' opacity='.7'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fbb6ce' opacity='.7' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23f9a8d4' opacity='.65' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23f9a8d4' opacity='.65' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fbb6ce' opacity='.65' transform='rotate(288)'/%3E%3Ccircle r='1' fill='%23fde68a' opacity='.8'/%3E%3C/g%3E%3Cg transform='translate(40,5)'%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fbcfe8' opacity='.6'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fbcfe8' opacity='.6' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fbb6ce' opacity='.55' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fbb6ce' opacity='.55' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fbcfe8' opacity='.6' transform='rotate(288)'/%3E%3Ccircle r='1' fill='%23fde68a' opacity='.7'/%3E%3C/g%3E%3C/svg%3E") repeat-x center;
  background-size: 50px 10px;
}

/* ── BODY BACKGROUND — very subtle cute daisy texture ─────────── */
body {
  background-color: #fff8fb !important;
  background-image: var(--blossom-md) !important;
  background-repeat: repeat !important;
  background-size: 80px 80px !important;
}

/* ── HERO SECTION — cute petal scatter overlay ───────────────── */
.hero-carousel .carousel-overlay::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Cg transform='translate(12,12)'%3E%3Cellipse cx='0' cy='-4' rx='1.8' ry='4' fill='%23fff' opacity='.18' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-4' rx='1.8' ry='4' fill='%23fff' opacity='.15' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-4' rx='1.8' ry='4' fill='%23fce4ec' opacity='.18' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-4' rx='1.8' ry='4' fill='%23fff' opacity='.15' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-4' rx='1.8' ry='4' fill='%23fff' opacity='.18' transform='rotate(288)'/%3E%3Ccircle r='1.5' fill='%23fde68a' opacity='.2'/%3E%3C/g%3E%3Cg transform='translate(38,34)'%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fff' opacity='.12' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fce4ec' opacity='.1' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fff' opacity='.12' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fff' opacity='.1' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-3' rx='1.5' ry='3' fill='%23fce4ec' opacity='.12' transform='rotate(288)'/%3E%3Ccircle r='1' fill='%23fde68a' opacity='.15'/%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

/* ── SECTION HEADERS — cute daisy accent ────────────────────── */
.section-header {
  position: relative;
}
.section-header h2::before {
  content: '✿ ';
  color: var(--petal-3);
  font-size: .85em;
  opacity: .8;
}
.section-header h2::after {
  content: ' ✿';
  color: var(--petal-3);
  font-size: .85em;
  opacity: .8;
}
.section-divider {
  background: linear-gradient(90deg, transparent, var(--petal-3), var(--petal-2), var(--petal-3), transparent) !important;
  height: 2px !important;
  width: 80px !important;
}

/* ── PRODUCT CARDS — tiny corner daisy ───────────────────────── */
.product-card {
  background: linear-gradient(160deg, #fff 70%, #fff5f8 100%) !important;
  border-color: var(--petal-2) !important;
}
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 52px; height: 52px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52'%3E%3Cg transform='translate(38,38)'%3E%3Cellipse cx='0' cy='-7' rx='3' ry='7' fill='%23fbb6ce' opacity='.45' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-7' rx='3' ry='7' fill='%23f9a8d4' opacity='.4' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-7' rx='3' ry='7' fill='%23fbb6ce' opacity='.45' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-7' rx='3' ry='7' fill='%23f9a8d4' opacity='.4' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-7' rx='3' ry='7' fill='%23fbb6ce' opacity='.4' transform='rotate(288)'/%3E%3Ccircle r='2.5' fill='%23fde68a' opacity='.55'/%3E%3C/g%3E%3Ccircle cx='44' cy='10' r='1.5' fill='%23fbb6ce' opacity='.3'/%3E%3Ccircle cx='10' cy='44' r='1.5' fill='%23f9a8d4' opacity='.25'/%3E%3C/svg%3E") no-repeat bottom right;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
  opacity: .8;
  transition: opacity .3s;
}
.product-card:hover::after { opacity: 1; }
.product-card { position: relative; }

/* ── MODALS — cute daisy frame corners ──────────────────────── */
.modal {
  background: linear-gradient(160deg, #fff 80%, #fff5f8 100%) !important;
  position: relative;
}
.modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 90px; height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 90'%3E%3Cg transform='translate(16,16)'%3E%3Cellipse cx='0' cy='-9' rx='4' ry='9' fill='%23fbb6ce' opacity='.6' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-9' rx='4' ry='9' fill='%23f9a8d4' opacity='.55' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-9' rx='4' ry='9' fill='%23fbcfe8' opacity='.6' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-9' rx='4' ry='9' fill='%23f9a8d4' opacity='.55' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-9' rx='4' ry='9' fill='%23fbb6ce' opacity='.55' transform='rotate(288)'/%3E%3Ccircle r='3.5' fill='%23fde68a' opacity='.7'/%3E%3C/g%3E%3Cg transform='translate(36,12)'%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbcfe8' opacity='.45' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbb6ce' opacity='.4' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbcfe8' opacity='.45' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbb6ce' opacity='.4' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbcfe8' opacity='.45' transform='rotate(288)'/%3E%3Ccircle r='1.8' fill='%23fde68a' opacity='.6'/%3E%3C/g%3E%3Cg transform='translate(12,38)'%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fce4ec' opacity='.4' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbcfe8' opacity='.35' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fce4ec' opacity='.4' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fbcfe8' opacity='.35' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fce4ec' opacity='.4' transform='rotate(288)'/%3E%3Ccircle r='1.5' fill='%23fde68a' opacity='.55'/%3E%3C/g%3E%3Ccircle cx='50' cy='8' r='1.5' fill='%23fbb6ce' opacity='.35'/%3E%3Ccircle cx='8' cy='50' r='1.5' fill='%23f9a8d4' opacity='.3'/%3E%3C/svg%3E") no-repeat top left;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
  border-radius: 16px 0 0 0;
}
.modal::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 90px; height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 90'%3E%3Cg transform='translate(74,74)'%3E%3Cellipse cx='0' cy='-8' rx='3.5' ry='8' fill='%23fbb6ce' opacity='.55' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-8' rx='3.5' ry='8' fill='%23f9a8d4' opacity='.5' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-8' rx='3.5' ry='8' fill='%23fbcfe8' opacity='.55' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-8' rx='3.5' ry='8' fill='%23f9a8d4' opacity='.5' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-8' rx='3.5' ry='8' fill='%23fbb6ce' opacity='.5' transform='rotate(288)'/%3E%3Ccircle r='3' fill='%23fde68a' opacity='.65'/%3E%3C/g%3E%3Ccircle cx='82' cy='58' r='1.5' fill='%23fbb6ce' opacity='.3'/%3E%3Ccircle cx='58' cy='82' r='1.5' fill='%23f9a8d4' opacity='.25'/%3E%3C/svg%3E") no-repeat bottom right;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
  border-radius: 0 0 16px 0;
}
.modal > * { position: relative; z-index: 1; }

/* ── NAV — tiny daisy accent ─────────────────────────────────── */
.nav {
  background: linear-gradient(90deg, #fff8fb, #fff, #fff8fb) !important;
  border-bottom: 2px solid var(--petal-2) !important;
}
.nav::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='4'%3E%3Cg transform='translate(6,2)'%3E%3Cellipse cx='0' cy='-2' rx='1' ry='2' fill='%23fbb6ce' opacity='.7'/%3E%3Cellipse cx='0' cy='-2' rx='1' ry='2' fill='%23fbb6ce' opacity='.7' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-2' rx='1' ry='2' fill='%23f9a8d4' opacity='.65' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-2' rx='1' ry='2' fill='%23f9a8d4' opacity='.65' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-2' rx='1' ry='2' fill='%23fbb6ce' opacity='.65' transform='rotate(288)'/%3E%3Ccircle r='0.8' fill='%23fde68a' opacity='.7'/%3E%3C/g%3E%3Cg transform='translate(24,2)'%3E%3Cellipse cx='0' cy='-2' rx='1' ry='2' fill='%23fbcfe8' opacity='.6'/%3E%3Cellipse cx='0' cy='-2' rx='1' ry='2' fill='%23fbcfe8' opacity='.6' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-2' rx='1' ry='2' fill='%23fbb6ce' opacity='.55' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-2' rx='1' ry='2' fill='%23fbb6ce' opacity='.55' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-2' rx='1' ry='2' fill='%23fbcfe8' opacity='.6' transform='rotate(288)'/%3E%3Ccircle r='0.8' fill='%23fde68a' opacity='.6'/%3E%3C/g%3E%3C/svg%3E") repeat-x;
  background-size: 36px 4px;
  pointer-events: none;
}

/* ── PAGE HEADERS — cute daisy bg ───────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--petal-5) 0%, var(--petal-1) 50%, var(--petal-5) 100%) !important;
  border-bottom: 2px solid var(--petal-2) !important;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--daisy-xs);
  background-repeat: repeat;
  background-size: 40px 40px;
  pointer-events: none;
  opacity: .6;
}
.page-header > * { position: relative; z-index: 1; }

/* ── BRAND BANNER — cute flower overlay ─────────────────────── */
section[style*="background:var(--rose-dark)"],
.brand-banner {
  position: relative;
  overflow: hidden;
}
section[style*="background:var(--rose-dark)"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70'%3E%3Cg transform='translate(18,18)'%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fff' opacity='.08' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fff' opacity='.07' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fce4ec' opacity='.09' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fff' opacity='.07' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-5' rx='2' ry='5' fill='%23fff' opacity='.08' transform='rotate(288)'/%3E%3Ccircle r='2' fill='%23fff' opacity='.08'/%3E%3C/g%3E%3Cg transform='translate(52,50)'%3E%3Cellipse cx='0' cy='-4' rx='1.5' ry='4' fill='%23fff' opacity='.07' transform='rotate(0)'/%3E%3Cellipse cx='0' cy='-4' rx='1.5' ry='4' fill='%23fce4ec' opacity='.06' transform='rotate(72)'/%3E%3Cellipse cx='0' cy='-4' rx='1.5' ry='4' fill='%23fff' opacity='.07' transform='rotate(144)'/%3E%3Cellipse cx='0' cy='-4' rx='1.5' ry='4' fill='%23fff' opacity='.06' transform='rotate(216)'/%3E%3Cellipse cx='0' cy='-4' rx='1.5' ry='4' fill='%23fff' opacity='.07' transform='rotate(288)'/%3E%3Ccircle r='1.5' fill='%23fff' opacity='.07'/%3E%3C/g%3E%3C/svg%3E") repeat;
  background-size: 70px 70px;
  pointer-events: none;
}

/* ── FOOTER — cute daisy strip ───────────────────────────────── */
footer {
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--petal-2), var(--petal-3), var(--petal-2), var(--petal-3), var(--petal-2));
}
footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--daisy-xs);
  background-repeat: repeat;
  background-size: 40px 40px;
  pointer-events: none;
  opacity: .04;
}
footer > * { position: relative; z-index: 1; }

/* ── CART PANEL — soft daisy tint ───────────────────────────── */
.cart-panel {
  background: linear-gradient(180deg, #fff8fb 0%, #fff 40%) !important;
}
.cart-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--petal-2), var(--petal-3), var(--petal-2));
}

/* ── BUTTONS — rose petal enhancement ───────────────────────── */
.btn-primary,
.btn-buy-now {
  background: linear-gradient(135deg, var(--rose-dark) 0%, #a06070 50%, var(--rose-dark) 100%) !important;
  background-size: 200% auto !important;
  transition: background-position .4s ease, transform .2s, box-shadow .2s !important;
}
.btn-primary:hover, .btn-buy-now:hover {
  background-position: right center !important;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #d4b86a 50%, var(--gold) 100%) !important;
  background-size: 200% auto !important;
}

/* ── REVIEW CARDS ────────────────────────────────────────────── */
.review-card {
  background: linear-gradient(160deg, #fff 70%, #fff5f8 100%) !important;
  border-color: var(--petal-2) !important;
}

/* ── CHECKOUT & ORDER CARDS ──────────────────────────────────── */
.checkout-card, .order-card {
  background: linear-gradient(160deg, #fff 80%, #fff8fb 100%) !important;
  border-color: var(--petal-2) !important;
}

/* ── SHOP SIDEBAR ────────────────────────────────────────────── */
.shop-sidebar {
  background: linear-gradient(180deg, #fff8fb 0%, #fff 100%) !important;
  border-right: 1.5px solid var(--petal-2) !important;
}

/* ── FLOATING BUTTONS ────────────────────────────────────────── */
.wa-float {
  box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 3px rgba(248,187,208,.4) !important;
}
.call-float {
  box-shadow: 0 4px 16px rgba(139,92,92,.25), 0 0 0 3px rgba(248,187,208,.3) !important;
}

/* ── CATEGORY CIRCLES ────────────────────────────────────────── */
.cat-img-wrap {
  border: 2.5px solid var(--petal-2) !important;
  background: var(--petal-5) !important;
}
.cat-chip:hover .cat-img-wrap,
.cat-chip.active .cat-img-wrap {
  border-color: var(--petal-3) !important;
  box-shadow: 0 0 0 4px var(--petal-1), 0 0 0 6px var(--petal-2) !important;
}

/* ── FORM INPUTS ─────────────────────────────────────────────── */
.form-input:focus {
  border-color: var(--petal-3) !important;
  box-shadow: 0 0 0 3px rgba(244,143,177,.2) !important;
}

/* ── STAT CARDS (admin) ──────────────────────────────────────── */
.stat-card {
  background: linear-gradient(160deg, #fff 70%, #fff5f8 100%) !important;
  border-color: var(--petal-2) !important;
}

/* ── TOAST ───────────────────────────────────────────────────── */
.toast.info { background: linear-gradient(135deg, var(--rose-dark), #b06880) !important; }
.toast.success { background: linear-gradient(135deg, var(--success), #2e8f5e) !important; }

/* ── SIZE GUIDE ──────────────────────────────────────────────── */
.sg-th {
  background: linear-gradient(90deg, var(--rose-dark), #a06070) !important;
}
.sg-section-header {
  background: linear-gradient(90deg, var(--rose-dark), #a06070) !important;
}

/* ── LOADING SPINNER ─────────────────────────────────────────── */
.spinner {
  border-top-color: var(--petal-3) !important;
  border-right-color: var(--petal-2) !important;
}

/* ── LOW STOCK BADGE & WARN ──────────────────────────────────── */
.low-stock-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #856404;
}
.stock-warn-msg {
  margin-top: 6px;
  font-size: 12px;
  color: #c0392b;
  font-weight: 500;
}

/* ── QTY SHAKE ANIMATION ─────────────────────────────────────── */
@keyframes qty-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-4px); }
  40%       { transform: translateX(4px); }
  60%       { transform: translateX(-3px); }
  80%       { transform: translateX(3px); }
}
.qty-shake {
  animation: qty-shake 0.35s ease !important;
  color: #c0392b !important;
}

.bill-to h4,
.ship-to h4,
.invoice-bill-label,
.invoice-ship-label {
  margin-bottom: 10px;        /* gap below the heading */
}

.bill-to .customer-name,
.ship-to .customer-name,
.invoice-customer-name {
  margin-top: 8px;            /* extra breathing room above name */
  font-weight: 600;
}

/* Offer banner */
.offer-banner {
  background: var(--dark);
  color: #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
}
.offer-banner-track {
  display: inline-flex;
  min-width: 100%;
  gap: 0;
  padding: 8px 0;
  animation: offer-marquee 40s linear infinite;
}
.offer-banner-track span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.offer-msg-item {
  display: inline-block;
  margin-right: 120px;
}
@keyframes offer-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Disable floral overlays/patterns globally */
body {
  background-color: var(--offwhite) !important;
  background-image: none !important;
}
.hero-carousel .carousel-overlay::after,
.section-header h2::before,
.section-header h2::after,
.product-card::after,
.modal::before,
.modal::after,
.nav::after,
.page-header::before,
section[style*="background:var(--rose-dark)"]::before,
footer::before,
footer::after,
.cart-panel::before {
  content: none !important;
  background: none !important;
}

/* Global mild floral background on all pages */
html, body {
  width: 100%;
  min-height: 100%;
}

body {
  background-color: var(--offwhite) !important;
  background-image:
    linear-gradient(rgba(253, 249, 249, 0.82), rgba(253, 249, 249, 0.82)),
    url('../images/floral-bg-2.png') !important;
  background-repeat: repeat-x !important;
  background-position: center bottom !important;
  background-size: auto 45vh !important;
  background-attachment: fixed !important;
}

/* ================================================================
   PROFESSIONAL UI/UX ANIMATIONS & IMPROVEMENTS
   ================================================================ */

/* Glassmorphism for navigation and cart panel */
.nav.glass {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.3s ease;
}

.nav.nav-hidden {
  transform: translateY(-100%);
}

.cart-panel.glass {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.modal.glass {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--offwhite);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.loader-logo {
  font-family: var(--font-head);
  font-size: 36px;
  color: var(--rose-dark);
  animation: pulseLoader 1.5s infinite;
}
@keyframes pulseLoader {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Floating aesthetic elements */
.floating-element {
  position: absolute;
  font-size: 24px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 10;
  user-select: none;
}

/* Hero Text Staggering */
.carousel-content h1 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-content p {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.15s;
}
.carousel-content .carousel-btn {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.3s;
}

.carousel-slide.active-slide .carousel-content h1,
.carousel-slide.active-slide .carousel-content p,
.carousel-slide.active-slide .carousel-content .carousel-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Button Shimmer Effect */
.btn-primary, .carousel-btn, .btn-gold {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .carousel-btn::after, .btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: btnShimmer 4s infinite;
}
@keyframes btnShimmer {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}
}

/* ================================================================
   USP STRIP RESPONSIVE
   ================================================================ */
.usp-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}
.usp-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.usp-icon { font-size: 36px; margin-bottom: 12px; }
.usp-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.usp-item p { font-size: 13px; color: var(--muted); }

@media (max-width: 768px) {
  .usp-grid { gap: 16px; }
  .usp-icon { font-size: 28px; margin-bottom: 8px; }
  .usp-item h4 { font-size: 13px; margin-bottom: 4px; }
  .usp-item p { font-size: 11px; }
  .usp-section { padding: 24px 16px; }
}
@media (max-width: 480px) {
  .usp-grid { gap: 8px; }
  .usp-icon { font-size: 24px; margin-bottom: 6px; }
  .usp-item h4 { font-size: 11px; margin-bottom: 2px; }
  .usp-item p { font-size: 10px; line-height: 1.2; }
}

/* ================================================================
   NEW ARRIVALS BANNER RESPONSIVE
   ================================================================ */
.new-arrivals-section {
  background: var(--rose-mid);
  padding: 60px 24px;
}
.new-arrivals-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.new-arrivals-tag {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.new-arrivals-content h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 16px;
  color: var(--text);
}
.new-arrivals-desc {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.8;
}
.new-arrivals-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.new-arrivals-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .new-arrivals-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .new-arrivals-section {
    padding: 40px 20px;
  }
  .new-arrivals-img {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 480px) {
  .new-arrivals-section {
    padding: 32px 16px;
  }
  .new-arrivals-content h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .new-arrivals-desc {
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.5;
  }
  .new-arrivals-img {
    aspect-ratio: 2/1;
    border-radius: 12px;
  }
}

/* RECENT PURCHASE POPUP */
.recent-purchase-popup {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(139,92,92,.18);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  z-index: 999;
  transform: translateX(-150%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-width: 380px;
  border: 1px solid var(--border);
}
.recent-purchase-popup.show {
  transform: translateX(0);
  opacity: 1;
}
.recent-purchase-img {
  width: 65px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--rose-light);
}
.recent-purchase-info {
  display: flex;
  flex-direction: column;
}
.recent-purchase-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.4;
}
.recent-purchase-text strong {
  font-weight: 600;
  color: var(--rose-dark);
  font-size: 15.5px;
}
.recent-purchase-time {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.recent-purchase-time::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
}
.recent-purchase-close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.recent-purchase-close:hover {
  color: var(--rose-dark);
}
@media (max-width: 768px) {
  .recent-purchase-popup {
    bottom: 80px;
    left: 16px;
    right: 16px;
    max-width: none;
  }
}

/* ── Shop by Category Section ────────────────────────────────── */
.shop-by-cat-section {
  padding: 60px 24px;
  background: var(--offwhite);
  text-align: center;
}
.shop-by-cat-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 38px);
  color: var(--rose-dark);
  margin-bottom: 8px;
}
.shop-by-cat-subtitle {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 40px;
}
.shop-by-cat-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.shop-by-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 140px;
  transition: transform var(--dur-md) var(--spring);
}
.shop-by-cat-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-md) var(--spring), border-color var(--dur-md) ease, box-shadow var(--dur-md) ease;
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-by-cat-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--dur-md) var(--spring);
}
.shop-by-cat-label {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--dur-sm) ease;
  text-align: center;
}
.shop-by-cat-item:hover {
  transform: translateY(-4px);
}
.shop-by-cat-item:hover .shop-by-cat-circle {
  border-color: var(--rose-dark);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(139,92,92,.15);
}
.shop-by-cat-item:hover .shop-by-cat-circle img {
  transform: scale(1.08);
}
.shop-by-cat-item:hover .shop-by-cat-label {
  color: var(--rose-dark);
}

@media (max-width: 768px) {
  .shop-by-cat-section {
    padding: 40px 16px;
  }
  .shop-by-cat-grid {
    gap: 20px;
  }
  .shop-by-cat-item {
    width: 110px;
  }
  .shop-by-cat-circle {
    width: 105px;
    height: 105px;
  }
  .shop-by-cat-label {
    font-size: 13px;
    margin-top: 10px;
  }
}

/* ── Nav Dropdown Menu ────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-arrow {
  font-size: 8px;
  margin-left: 3px;
  transition: transform 0.25s ease;
  display: inline-block;
  vertical-align: middle;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: flex;
  gap: 32px;
  min-width: 420px;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  transition: opacity var(--dur-md) ease, transform var(--dur-md) var(--spring), visibility var(--dur-md) ease;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
  text-align: left;
}
.dropdown-header {
  font-size: 11px;
  font-weight: 700;
  color: var(--rose-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
}
.dropdown-item {
  font-size: 13.5px;
  color: var(--text);
  text-decoration: none;
  padding: 4px 0;
  transition: color var(--dur-sm) ease, padding-left var(--dur-sm) ease;
  font-weight: 500;
}
.dropdown-item.parent-item {
  font-weight: 600;
  color: var(--dark);
}
.dropdown-item:hover {
  color: var(--rose-dark);
  padding-left: 4px;
}

/* Mobile dropdown style */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
    text-align: center;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    padding: 0 0 12px 16px;
    flex-direction: column;
    gap: 16px;
    min-width: auto;
    opacity: 1;
    visibility: visible;
    display: none; /* hidden by default on mobile, toggled by .active class */
  }
  .nav-dropdown.active .nav-dropdown-menu {
    display: flex;
  }
  .nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }
  .dropdown-col {
    gap: 4px;
  }
  .dropdown-header {
    margin-top: 8px;
    font-size: 11px;
  }
  .dropdown-item {
    font-size: 13px;
  }
}
