@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Orbitron:wght@700;800;900&display=swap');

:root {
  --color-sand-50: #fdfbf7;
  --color-sand-100: #f8f4ec;
  --color-sand-200: #efe7da;
  --color-rose-50: #fcf8f6;
  --color-rose-100: #f7ece8;
  --color-gold-400: #d4a373;
  --color-gold-500: #c59b73;
  --color-gold-600: #b08259;
  --color-gold-700: #93683f;
  --color-dark-900: #1b1716;
  --color-dark-800: #292423;
  --color-dark-700: #3f3938;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #292423;
  background-color: #fdfbf7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-serif-luxury {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-editorial {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f8f4ec;
}
::-webkit-scrollbar-thumb {
  background: #d4a373;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b08259;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 163, 115, 0.18);
}

.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(229, 220, 207, 0.8);
}

.glass-dark {
  background: rgba(27, 23, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Shimmer Gold Gradient */
.gold-shimmer {
  background: linear-gradient(135deg, #c59b73 0%, #ecd0b5 50%, #b08259 100%);
  background-size: 200% auto;
  animation: shine 4s linear infinite;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #93683f 0%, #c59b73 50%, #754f2a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Soft Box Shadows */
.shadow-luxury {
  box-shadow: 0 10px 30px -10px rgba(130, 95, 60, 0.08), 0 4px 10px -3px rgba(0, 0, 0, 0.03);
}

.shadow-luxury-hover {
  box-shadow: 0 20px 40px -15px rgba(130, 95, 60, 0.16), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
}

/* Product Card Smooth Hover */
.product-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card .img-zoom {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .img-zoom {
  transform: scale(1.06);
}

/* Pulse animation for shipping bar */
@keyframes softPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.98); }
}
.soft-pulse {
  animation: softPulse 2.5s ease-in-out infinite;
}

/* Drawer transitions */
.drawer-backdrop {
  transition: opacity 0.3s ease-out;
}
.drawer-panel {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Quick toast */
.toast-enter {
  animation: slideUpFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Countdown Timer Styling */
.countdown-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 163, 115, 0.35);
  border-radius: 6px;
  padding: 2px 6px;
  font-family: 'Plus Jakarta Sans', monospace;
  font-weight: 700;
  font-size: 0.75rem;
  color: #f7ece8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
}

@media (max-width: 640px) {
  .countdown-box {
    padding: 1.5px 4.5px;
    font-size: 0.65rem;
    min-width: 22px;
    border-radius: 4px;
  }
}

/* =========================================================================
   ROSE GOLD / PINK WHATSAPP FLOATING ICON
   ========================================================================= */
.whatsapp-rose-btn {
  background: linear-gradient(135deg, #f5cac3 0%, #e89890 50%, #c47168 100%);
  box-shadow: 0 10px 25px rgba(232, 152, 144, 0.45), 0 0 18px rgba(245, 202, 195, 0.5);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 45;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

@media (max-width: 1024px) {
  .whatsapp-rose-btn {
    bottom: 74px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
}

.whatsapp-rose-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 30px rgba(232, 152, 144, 0.6), 0 0 25px rgba(245, 202, 195, 0.75);
}

.whatsapp-rose-btn svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #e89890;
  opacity: 0.8;
  animation: rosePulse 2.4s cubic-bezier(0.25, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes rosePulse {
  0% { transform: scale(0.95); opacity: 0.85; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Tooltip for rose whatsapp */
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #1b1716;
  color: #FAF5EF;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(212, 163, 115, 0.3);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.25s ease;
}

.whatsapp-rose-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================================================
   DOUBLE ROW MARQUEE (INFINITE SOCIAL PROOF)
   ========================================================================= */
.marquee-container {
  overflow: hidden;
  user-select: none;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.marquee-track-left {
  display: flex;
  width: max-content;
  animation: scrollLeft 42s linear infinite;
  gap: 1.25rem;
}

.marquee-track-right {
  display: flex;
  width: max-content;
  animation: scrollRight 46s linear infinite;
  gap: 1.25rem;
}

.marquee-container:hover .marquee-track-left,
.marquee-container:hover .marquee-track-right {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.review-marquee-card {
  width: 320px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(229, 220, 207, 0.85);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 8px 24px -8px rgba(130, 95, 60, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-marquee-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -8px rgba(130, 95, 60, 0.16);
}

@media (max-width: 640px) {
  .marquee-track-left,
  .marquee-track-right {
    gap: 0.75rem;
  }
  .review-marquee-card {
    width: 225px;
    padding: 0.75rem 0.85rem;
    border-radius: 0.875rem;
    box-shadow: 0 4px 14px -4px rgba(130, 95, 60, 0.06);
  }
  .review-marquee-card h4 {
    font-size: 0.75rem !important;
    line-height: 1.05rem !important;
    margin-bottom: 0.25rem !important;
  }
  .review-marquee-card p {
    font-size: 0.6875rem !important;
    line-height: 0.95rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* =========================================================================
   UNIQUE STANDOUT PRODUCT CAROUSEL
   ========================================================================= */
.spotlight-carousel-wrap {
  position: relative;
}

.spotlight-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0.5rem 2rem 0.5rem;
  scrollbar-width: none;
}
.spotlight-carousel-track::-webkit-scrollbar {
  display: none;
}

.spotlight-slide {
  flex: 0 0 290px;
  scroll-snap-align: start;
  border-radius: 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(229, 220, 207, 0.85);
  overflow: hidden;
  box-shadow: 0 12px 30px -10px rgba(130, 95, 60, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

@media (min-width: 640px) {
  .spotlight-slide {
    flex: 0 0 320px;
  }
}

.spotlight-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 45px -12px rgba(130, 95, 60, 0.2);
  border-color: #c59b73;
}

.spotlight-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.spotlight-slide:hover .spotlight-glow {
  opacity: 1;
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(229, 220, 207, 0.9);
  color: #1b1716;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  cursor: pointer;
}

.carousel-nav-btn:hover {
  background: #1b1716;
  color: #ffffff;
  transform: scale(1.08);
  border-color: #1b1716;
}

/* =========================================================================
   CREATED BY SYSTECT (EXACT SAME AS WWW.AQWAKE.CO.ZA)
   ========================================================================= */
.footer-systect-credit {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.footer-created-by-text {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.systect-neon-led {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00f0ff;
  background: rgba(8, 8, 10, 0.78);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 4px rgba(0, 0, 0, 0.95),
     0 0 5px rgba(0, 240, 255, 0.75),
     0 0 12px rgba(0, 240, 255, 0.35);
  animation: systectNeonPulse 6s ease-in-out infinite;
  transition: all 0.25s ease;
}

.systect-neon-led:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes systectNeonPulse {
  0%, 100% {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(0, 240, 255, 0.75),
       0 0 12px rgba(0, 240, 255, 0.35);
  }
  20% {
    color: #ff3de6;
    border-color: rgba(255, 61, 230, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(255, 61, 230, 0.75),
       0 0 12px rgba(255, 61, 230, 0.35);
  }
  40% {
    color: #00ff88;
    border-color: rgba(0, 255, 136, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(0, 255, 136, 0.75),
       0 0 12px rgba(0, 255, 136, 0.35);
  }
  60% {
    color: #ffe600;
    border-color: rgba(255, 230, 0, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(255, 230, 0, 0.75),
       0 0 12px rgba(255, 230, 0, 0.35);
  }
  80% {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(0, 240, 255, 0.75),
       0 0 12px rgba(0, 240, 255, 0.35);
  }
}
/* Category Carousel Styles */
.category-carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem 1.5rem 0.25rem;
  scrollbar-width: none;
}
.category-carousel-track::-webkit-scrollbar {
  display: none;
}

.category-slide-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(229, 220, 207, 0.85);
  box-shadow: 0 10px 25px -8px rgba(130, 95, 60, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

@media (min-width: 640px) {
  .category-slide-card {
    flex: 0 0 270px;
  }
}

.category-slide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -10px rgba(130, 95, 60, 0.2);
  border-color: #c59b73;
}

.category-slide-card .cat-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-slide-card:hover .cat-img {
  transform: scale(1.08);
}

/* Header Dropdown Menu Styling */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-content {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 163, 115, 0.25);
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px -10px rgba(27, 23, 22, 0.15), 0 0 1px 1px rgba(212, 163, 115, 0.1);
  padding: 0.6rem;
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown:focus-within .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: #1b1716;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
}

.nav-dropdown-item:hover {
  background: #faf5ef;
  color: #93683f;
  transform: translateX(3px);
}

/* =========================================================================
   3D COVERFLOW CAROUSEL (COMPACT & NEAT LUXURY PROPORTIONS)
   ========================================================================= */
.coverflow-stage-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 0 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coverflow-stage {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
  overflow: visible;
  touch-action: pan-y;
}

@media (max-width: 640px) {
  .coverflow-stage {
    height: 290px;
  }
}

.coverflow-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 340px;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-sizing: border-box;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.45s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  cursor: pointer;
  will-change: transform, opacity;
}

@media (min-width: 1024px) {
  .coverflow-card {
    width: 235px;
    height: 350px;
  }
}

/* Center Active Card (Focused, scaled up, bronze accent border, elevated shadow) */
.coverflow-card.pos-0 {
  transform: translate(-50%, -50%) scale(1.04) translateZ(40px);
  z-index: 30;
  opacity: 1;
  pointer-events: auto;
  border: 1.5px solid #93683f;
  box-shadow: 0 18px 36px -10px rgba(147, 104, 63, 0.25), 0 6px 14px -3px rgba(0, 0, 0, 0.06);
}

/* Immediate Left & Right Cards (Behind center, scaled 0.88, rotated 5 deg) */
.coverflow-card.pos-left-1 {
  transform: translate(calc(-50% - 145px), -50%) scale(0.88) rotateY(5deg);
  z-index: 20;
  opacity: 0.88;
  border: 1px solid rgba(212, 163, 115, 0.35);
  box-shadow: 0 10px 22px -6px rgba(0, 0, 0, 0.1);
}

.coverflow-card.pos-right-1 {
  transform: translate(calc(-50% + 145px), -50%) scale(0.88) rotateY(-5deg);
  z-index: 20;
  opacity: 0.88;
  border: 1px solid rgba(212, 163, 115, 0.35);
  box-shadow: 0 10px 22px -6px rgba(0, 0, 0, 0.1);
}

/* Outer Left & Right Cards (Behind 1st level, scaled 0.75, rotated 10 deg) */
.coverflow-card.pos-left-2 {
  transform: translate(calc(-50% - 265px), -50%) scale(0.75) rotateY(10deg);
  z-index: 10;
  opacity: 0.55;
  border: 1px solid rgba(229, 220, 207, 0.7);
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.07);
}

.coverflow-card.pos-right-2 {
  transform: translate(calc(-50% + 265px), -50%) scale(0.75) rotateY(-10deg);
  z-index: 10;
  opacity: 0.55;
  border: 1px solid rgba(229, 220, 207, 0.7);
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.07);
}

/* Far Hidden Cards */
.coverflow-card.pos-hidden-left {
  transform: translate(calc(-50% - 370px), -50%) scale(0.6) rotateY(14deg);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.coverflow-card.pos-hidden-right {
  transform: translate(calc(-50% + 370px), -50%) scale(0.6) rotateY(-14deg);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

/* Mobile Screen Adjustments for Best Sellers Coverflow */
@media (max-width: 640px) {
  .coverflow-card {
    width: 172px;
    height: 268px;
    border-radius: 0.75rem;
  }
  .coverflow-card.pos-0 {
    transform: translate(-50%, -50%) scale(1.02) translateZ(20px);
  }
  .coverflow-card.pos-left-1 {
    transform: translate(calc(-50% - 82px), -50%) scale(0.85) rotateY(5deg);
  }
  .coverflow-card.pos-right-1 {
    transform: translate(calc(-50% + 82px), -50%) scale(0.85) rotateY(-5deg);
  }
  .coverflow-card.pos-left-2 {
    transform: translate(calc(-50% - 148px), -50%) scale(0.7) rotateY(8deg);
  }
  .coverflow-card.pos-right-2 {
    transform: translate(calc(-50% + 148px), -50%) scale(0.7) rotateY(-8deg);
  }
}

/* =========================================================================
   CATEGORY 3D COVERFLOW (EXACT MATCH TO USER SCREENSHOT)
   ========================================================================= */
.category-coverflow-stage {
  height: 390px;
}

@media (max-width: 640px) {
  .category-coverflow-stage {
    height: 275px;
  }
}

.category-card-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 255px;
  height: 355px;
  background: #ffffff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-sizing: border-box;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.45s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  cursor: pointer;
  will-change: transform, opacity;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.12);
}

@media (min-width: 1024px) {
  .category-card-item {
    width: 265px;
    height: 365px;
  }
}

@media (max-width: 640px) {
  .category-card-item {
    width: 170px;
    height: 250px;
    border-radius: 0.875rem;
  }
}

/* Center Active Category Card (In front of everything, prominent brown/bronze border) */
.category-card-item.pos-0 {
  transform: translate(-50%, -50%) scale(1.05);
  z-index: 50;
  opacity: 1;
  pointer-events: auto;
  border: 2px solid #5a3820;
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.24), 0 10px 22px -5px rgba(90, 56, 32, 0.3);
}

/* Foreground Left Card ("Camp Life Coolers" in screenshot: tilted counter-clockwise, foreground) */
.category-card-item.pos-left-1 {
  transform: translate(calc(-50% - 245px), calc(-50% + 14px)) scale(0.95) rotate(-4.5deg);
  z-index: 40;
  opacity: 1;
  border: 1px solid rgba(229, 220, 207, 0.9);
  box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.16);
}

/* Foreground Right Card ("Handbags & Slings" in screenshot: tilted clockwise, foreground) */
.category-card-item.pos-right-1 {
  transform: translate(calc(-50% + 245px), calc(-50% + 14px)) scale(0.95) rotate(4.5deg);
  z-index: 40;
  opacity: 1;
  border: 1px solid rgba(229, 220, 207, 0.9);
  box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.16);
}

/* Background Left Card ("Wallets & ..." in screenshot: tucked between Center and Left-1, shifted UP) */
.category-card-item.pos-left-2 {
  transform: translate(calc(-50% - 125px), calc(-50% - 30px)) scale(0.84) rotate(-2deg);
  z-index: 20;
  opacity: 0.96;
  border: 1px solid rgba(229, 220, 207, 0.75);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.12);
}

/* Background Right Card ("Executive Bags" in screenshot: tucked between Center and Right-1, shifted UP) */
.category-card-item.pos-right-2 {
  transform: translate(calc(-50% + 125px), calc(-50% - 30px)) scale(0.84) rotate(2deg);
  z-index: 20;
  opacity: 0.96;
  border: 1px solid rgba(229, 220, 207, 0.75);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.12);
}

/* Far Background Left Card (Peeking on far left, behind Left-1, shifted UP) */
.category-card-item.pos-left-3 {
  transform: translate(calc(-50% - 365px), calc(-50% - 24px)) scale(0.74) rotate(-7deg);
  z-index: 10;
  opacity: 0.85;
  border: 1px solid rgba(229, 220, 207, 0.65);
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.08);
}

/* Far Background Right Card (Peeking on far right, behind Right-1, shifted UP) */
.category-card-item.pos-right-3 {
  transform: translate(calc(-50% + 365px), calc(-50% - 24px)) scale(0.74) rotate(7deg);
  z-index: 10;
  opacity: 0.85;
  border: 1px solid rgba(229, 220, 207, 0.65);
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.08);
}

/* Hidden Cards beyond the 7 visible */
.category-card-item.pos-hidden {
  transform: translate(-50%, -50%) scale(0.5);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

/* Mobile Screen Adjustments for Fanned Cards */
@media (max-width: 640px) {
  .category-card-item {
    width: 170px;
    height: 250px;
    border-radius: 0.875rem;
  }
  .category-card-item.pos-0 {
    transform: translate(-50%, -50%) scale(1.02);
    z-index: 50;
  }
  .category-card-item.pos-left-1 {
    transform: translate(calc(-50% - 95px), calc(-50% + 6px)) scale(0.88) rotate(-4deg);
    z-index: 40;
  }
  .category-card-item.pos-right-1 {
    transform: translate(calc(-50% + 95px), calc(-50% + 6px)) scale(0.88) rotate(4deg);
    z-index: 40;
  }
  .category-card-item.pos-left-2 {
    transform: translate(calc(-50% - 48px), calc(-50% - 18px)) scale(0.78) rotate(-2deg);
    z-index: 20;
  }
  .category-card-item.pos-right-2 {
    transform: translate(calc(-50% + 48px), calc(-50% - 18px)) scale(0.78) rotate(2deg);
    z-index: 20;
  }
  .category-card-item.pos-left-3 {
    transform: translate(calc(-50% - 138px), calc(-50% - 14px)) scale(0.66) rotate(-6deg);
    z-index: 10;
    opacity: 0.45;
  }
  .category-card-item.pos-right-3 {
    transform: translate(calc(-50% + 138px), calc(-50% - 14px)) scale(0.66) rotate(6deg);
    z-index: 10;
    opacity: 0.45;
  }
}

/* Badges Matching User Screenshot */
.cat-badge-bronze {
  background: linear-gradient(135deg, rgba(140, 88, 54, 0.92), rgba(95, 60, 35, 0.92));
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.cat-badge-dark {
  background: rgba(27, 23, 22, 0.82);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.cat-badge-count {
  background: rgba(27, 23, 22, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

@media (max-width: 640px) {
  .cat-badge-bronze,
  .cat-badge-dark {
    font-size: 0.53125rem;
    padding: 0.2rem 0.45rem;
    gap: 0.2rem;
  }
  .cat-badge-count {
    font-size: 0.53125rem;
    padding: 0.2rem 0.45rem;
  }
}

/* Floating Navigation Arrows (Neat Compact Match) */
.coverflow-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(212, 163, 115, 0.4);
  color: #1b1716;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  z-index: 40;
  transition: all 0.25s ease;
  cursor: pointer;
}

.coverflow-nav-btn:hover {
  background: #1b1716;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  border-color: #1b1716;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.coverflow-prev {
  left: 4px;
}

.coverflow-next {
  right: 4px;
}

@media (min-width: 1024px) {
  .coverflow-prev {
    left: -16px;
  }
  .coverflow-next {
    right: -16px;
  }
}

/* Color / Shade swatch circles from screenshot */
.shade-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.shade-dot:hover {
  transform: scale(1.3);
}

/* Green save badge from screenshot */
.save-badge-green {
  background: #eaf5ed;
  color: #276738;
  border: 1px solid #cce5d2;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 0.25rem;
  display: inline-flex;
  align-items: center;
}

/* Dark Green / Olive CTA button from screenshot */
.coverflow-add-btn {
  background: #3f4f34;
  color: #ffffff;
  width: 100%;
  padding: 0.45rem 0.65rem;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(63, 79, 52, 0.18);
}

.coverflow-add-btn:hover {
  background: #2b3724;
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(63, 79, 52, 0.28);
}

@media (max-width: 640px) {
  .coverflow-add-btn {
    padding: 0.35rem 0.5rem;
    font-size: 0.625rem;
  }
}

/* =========================================================================
   MOBILE BOTTOM NAVIGATION BAR & CAROUSEL DOTS
   ========================================================================= */
#mobileBottomNav {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 6px);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08);
}

.mobile-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.2rem;
  color: #5a5351;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item:active {
  transform: scale(0.92);
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: #1b1716;
}

.mobile-nav-item i {
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-item:active i {
  transform: translateY(-2px);
}

/* Carousel Pagination Dots */
.carousel-dots-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 0.75rem;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #e2d9cd;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  width: 20px;
  background: #93683f;
  box-shadow: 0 1px 4px rgba(147, 104, 63, 0.35);
}

/* Mobile viewport content spacing to prevent bottom bar overlap */
@media (max-width: 1024px) {
  body {
    padding-bottom: 72px;
  }
}
