/* Papery Bear - Aesthetic & Vibrant Kawaii Stationery Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #faf6f0;
  --bg-alt: #f4eeed;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-dark: #201824;
  --text: #2d2638;
  --muted: #796e85;
  --line: rgba(230, 195, 215, 0.45);
  --shadow: 0 16px 40px rgba(220, 140, 185, 0.12);
  --shadow-strong: 0 24px 60px rgba(200, 120, 165, 0.22);
  --shadow-glow: 0 0 25px rgba(255, 112, 166, 0.35);
  
  --radius: 24px;
  --radius-sm: 14px;
  
  /* Vibrant Pastel Palette */
  --pastel-pink: #ff70a6;
  --pastel-soft-pink: #ffe5ec;
  --pastel-coral: #ff9770;
  --pastel-yellow: #ffd670;
  --pastel-mint: #70e4d5;
  --pastel-teal: #2ec4b6;
  --pastel-purple: #9d4edd;
  --pastel-lavender: #e7c6ff;
  --pastel-blue: #70d6ff;
  
  --gradient-main: linear-gradient(135deg, #ff70a6 0%, #ff9770 50%, #ffd670 100%);
  --gradient-candy: linear-gradient(135deg, #70d6ff 0%, #e7c6ff 50%, #ff70a6 100%);
  --gradient-mint: linear-gradient(135deg, #70e4d5 0%, #70d6ff 100%);
  --gradient-dark: linear-gradient(135deg, #201824 0%, #3a2244 100%);
  
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 112, 166, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(112, 228, 213, 0.1) 0%, transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(231, 198, 255, 0.12) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
  padding-bottom: 70px; /* space for mobile bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

body.dark-mode {
  --bg: #16121e;
  --bg-alt: #1f192b;
  --surface: rgba(32, 24, 40, 0.85);
  --surface-strong: #261d30;
  --text: #f8f4fc;
  --muted: #bdaecf;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 112, 166, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(157, 78, 221, 0.15) 0%, transparent 40%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Top Ticker Marquee --- */
.top-marquee {
  background: var(--gradient-main);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 112, 166, 0.3);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  padding: 0.6rem 0;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Header & Navigation --- */
.site-header {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1040;
}

.luxury-nav {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

body.dark-mode .luxury-nav {
  background: rgba(24, 18, 30, 0.88);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.95);
}

body.dark-mode .navbar.scrolled {
  background: rgba(22, 18, 30, 0.96);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-orb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-candy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  font-size: 1.2rem;
  animation: floatOrb 4s ease-in-out infinite;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(8deg); }
}

.site-header .nav-link {
  color: var(--text) !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
  transition: all 0.25s ease;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.active {
  color: var(--pastel-pink) !important;
  background: var(--pastel-soft-pink);
}

body.dark-mode .nav-link:hover {
  background: rgba(255, 112, 166, 0.15);
}

/* Search Bar Pill */
.search-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  min-height: 42px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--surface-strong);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.search-pill:focus-within {
  border-color: var(--pastel-pink);
  box-shadow: var(--shadow-glow);
}

.search-pill i {
  color: var(--pastel-pink);
  font-size: 1.1rem;
}

.search-pill input {
  width: 130px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  outline: 0;
}

.search-pill input::placeholder {
  color: var(--muted);
}

/* Icon Buttons */
.icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-pill:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--pastel-pink);
  color: var(--pastel-pink);
  box-shadow: 0 8px 20px rgba(255, 112, 166, 0.25);
}

.icon-pill.tiny {
  width: 38px;
  height: 38px;
  font-size: 1rem;
}

.badge-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 112, 166, 0.4);
}

/* Mega Menu Positioning & Centering Fix */
.navbar {
  position: relative;
}

.mega-dropdown {
  position: static !important;
}

.mega-menu {
  width: min(860px, calc(100vw - 2rem));
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: auto !important;
  margin-top: 0.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-strong);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-strong);
  animation: megaFade 0.3s ease;
}

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

.mega-panel {
  background: var(--gradient-candy);
  color: #fff;
  padding: 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius) 0 0 var(--radius);
}

.mega-panel h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #fff;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: var(--bg);
  border: 2px solid var(--line);
  transition: all 0.25s ease;
  min-width: 0;
}

.mega-link:hover {
  transform: translateY(-3px);
  border-color: var(--pastel-pink);
  background: var(--pastel-soft-pink);
  box-shadow: var(--shadow);
}

.mega-link .icon-box {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  background: var(--gradient-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.mega-link div {
  min-width: 0;
  overflow: hidden;
}

.mega-link strong {
  font-size: 0.92rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-link span {
  font-size: 0.78rem;
  color: var(--muted);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 991px) {
  .mega-menu {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    left: 0 !important;
    box-shadow: none;
    border-radius: 18px;
  }
  
  .mega-panel {
    border-radius: 18px 18px 0 0;
    min-height: auto;
    padding: 1.5rem;
  }
}



/* Eyebrows & Section Headers */
.eyebrow {
  display: none !important;
}

.section-head h2,
.hero-panel h1,
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

/* --- Hero Stage --- */
.hero-stage {
  padding: 1.5rem 0 2.5rem;
}

.hero-panel {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: var(--shadow);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-panel h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--pastel-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-panel .lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

/* Buttons */
.btn-luxury {
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 800;
  font-size: 1rem;
  background: var(--gradient-main);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 25px rgba(255, 112, 166, 0.35);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-luxury:hover {
  transform: translateY(-3px) scale(1.02);
  color: #fff;
  box-shadow: 0 15px 35px rgba(255, 112, 166, 0.5);
}

.btn-outline-luxury {
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid var(--pastel-pink);
  color: var(--pastel-pink);
  background: var(--surface-strong);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-luxury:hover {
  background: var(--pastel-soft-pink);
  transform: translateY(-2px);
  color: var(--pastel-pink);
}

/* Hero Stat Chips */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-chip {
  padding: 1rem;
  border-radius: 20px;
  background: var(--surface-strong);
  border: 2px solid var(--line);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.stat-chip:hover {
  border-color: var(--pastel-mint);
  transform: translateY(-3px);
}

.stat-chip .chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pastel-soft-pink);
  color: var(--pastel-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.stat-chip strong {
  display: block;
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.stat-chip span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Hero Carousel - Soft Aesthetic Pastel Presentation */
.hero-slider,
.hero-slider-full {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--line);
  position: relative;
  background: #ffffff;
}

.hero-slide-wrapper {
  position: relative;
  width: 100%;
  height: clamp(260px, 38vw, 500px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fffbfd 0%, #fff2f6 50%, #faf6f0 100%);
}

.hero-slider .carousel-item img,
.hero-slider-full .carousel-item img,
.hero-slider-img {
  width: 100%;
  height: clamp(260px, 38vw, 500px);
  max-height: 500px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hero-slider-full .carousel-indicators {
  margin-bottom: 1.2rem;
  gap: 0.6rem;
  z-index: 5;
}

.hero-slider-full .carousel-indicators [data-bs-target] {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--pastel-pink);
  opacity: 0.85;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero-slider-full .carousel-indicators .active {
  width: 40px;
  border-radius: 999px;
  background: var(--gradient-main);
  opacity: 1;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(255, 112, 166, 0.6);
}

.slider-arrow-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 10px 25px rgba(255, 112, 166, 0.25);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-control-prev,
.carousel-control-next {
  width: 70px;
  opacity: 1;
  z-index: 5;
}

.carousel-control-prev:hover .slider-arrow-btn,
.carousel-control-next:hover .slider-arrow-btn {
  background: var(--gradient-main);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.14);
  box-shadow: 0 14px 35px rgba(255, 112, 166, 0.5);
}

.carousel-caption {
  text-align: left;
  left: 6%;
  right: 6%;
  bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.dark-mode .carousel-caption {
  background: rgba(32, 24, 40, 0.88);
  color: #fff;
}

.carousel-caption span {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--pastel-pink);
}

.carousel-caption h3 {
  font-family: var(--font-display);
  margin: 0.2rem 0 0;
  font-size: 1.8rem;
  font-weight: 800;
}

/* --- Section Bands & Tiles --- */
.section-band {
  padding: 2.5rem 0;
}

.section-band.alt {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body.dark-mode .section-band.alt {
  background: rgba(32, 24, 40, 0.4);
}

/* Category Filter Pills (TinyMinymo Style) */
.filter-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0 1.2rem;
  scrollbar-width: none;
}

.filter-pills-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  white-space: nowrap;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 2px solid var(--line);
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-pill:hover {
  transform: translateY(-2px);
  border-color: var(--pastel-pink);
  color: var(--pastel-pink);
}

.filter-pill.active {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(255, 112, 166, 0.3);
}

/* Category Cards Grid */
.category-tile {
  display: block;
  padding: 1.5rem;
  border-radius: var(--radius);
  min-height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--surface-strong);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--gradient-candy);
  opacity: 0.3;
  transition: transform 0.5s ease;
  pointer-events: none;
}

.category-tile:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--pastel-pink);
  box-shadow: var(--shadow-strong);
}

.category-tile:hover::after {
  transform: scale(1.3);
  opacity: 0.6;
}

.category-tile .tile-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.category-tile strong {
  display: block;
  font-size: 1.4rem;
  font-family: var(--font-display);
  font-weight: 800;
}

.category-tile span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pastel-pink);
}

.category-tile p {
  color: var(--muted);
  margin-top: 0.4rem;
  font-size: 0.88rem;
}

/* --- Product Card (TinyMinymo Aesthetic UX) --- */
.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-strong);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--pastel-pink);
  box-shadow: var(--shadow-strong), 0 0 20px rgba(255, 112, 166, 0.2);
}

.product-media {
  position: relative;
  overflow: hidden;
  background: #fcf8f6;
  border-bottom: 1px solid var(--line);
}

.product-media img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-media img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 2;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(255, 112, 166, 0.4);
  max-width: calc(100% - 46px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-badge.alt {
  background: var(--gradient-candy);
}

.wishlist-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 0;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wishlist-btn:hover,
.wishlist-btn.active {
  background: #ff70a6;
  color: #fff;
  transform: scale(1.12);
}

/* Overlay Quick View & Add Button */
.product-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.45rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 3;
}

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

.btn-card-action {
  flex: 1;
  min-width: 0;
  padding: 0.4rem 0.5rem;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
  font-size: 0.76rem;
  background: var(--surface-strong);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
}

.btn-card-action i {
  font-size: 0.85rem;
  flex-shrink: 0;
}

.btn-card-action span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-card-action:hover {
  background: var(--pastel-pink);
  color: #fff;
}

.product-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-stars {
  color: #ffb703;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-stars span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: 0.2rem;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text);
  line-height: 1.25;
}

.product-title a:hover {
  color: var(--pastel-pink);
}

.product-price-box {
  margin-top: auto;
  padding-top: 0.8rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--pastel-purple);
}

.compare-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.88rem;
}

/* --- Banner & Special Section --- */
.offer-panel {
  background: var(--gradient-candy);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.5rem);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.offer-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin: 1rem 0;
  line-height: 1.05;
}

/* Testimonial & Blog Cards */
.testimonial,
.blog-card {
  border-radius: 20px;
  padding: 1.4rem;
  border: 2px solid var(--line);
  background: var(--surface-strong);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0.8rem;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.insta-grid img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.3s ease;
}

.insta-grid img:hover {
  transform: scale(1.05);
}

/* --- Product Detail Page --- */
.product-page-gallery {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
}

.stock-urgency-bar {
  background: #fff0f5;
  border: 1.5px solid var(--pastel-pink);
  border-radius: 16px;
  padding: 0.8rem 1.2rem;
  margin: 1rem 0;
  color: var(--pastel-pink);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.stock-progress {
  height: 6px;
  background: #ffd6e0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.4rem;
}

.stock-progress-fill {
  height: 100%;
  width: 75%;
  background: var(--gradient-main);
}

/* Quantity Control Picker */
.qty-picker {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text);
}

.qty-input {
  width: 45px;
  border: 0;
  text-align: center;
  font-weight: 800;
  background: transparent;
  color: var(--text);
}

/* Color Swatches */
.swatch-group {
  display: flex;
  gap: 0.6rem;
  margin: 0.8rem 0 1.2rem;
}

.swatch-pill {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--line);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.swatch-pill.active,
.swatch-pill:hover {
  transform: scale(1.18);
  box-shadow: 0 0 0 2px var(--pastel-pink);
}

/* --- Mobile Bottom Navigation --- */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-top: 2px solid var(--line);
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
  box-shadow: 0 -8px 25px rgba(0,0,0,0.08);
}

body.dark-mode .mobile-bottom-nav {
  background: rgba(26, 20, 32, 0.94);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.15rem;
}

.mobile-nav-item i {
  font-size: 1.25rem;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--pastel-pink);
}

/* Toast Confetti Pop */
.toast-kawaii {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1100;
  background: var(--gradient-main);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(255, 112, 166, 0.4);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: toastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Light Aesthetic Pastel Footer */
.site-footer {
  background: var(--surface-strong);
  color: var(--text);
  border-top: 2px solid var(--line);
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.02);
}

/* Hide footer on mobile view (screens < 992px) */
@media (max-width: 991.98px) {
  .site-footer {
    display: none !important;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-link {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.footer-link:hover {
  color: var(--pastel-pink);
}

.newsletter-inline {
  display: flex;
  gap: 0.5rem;
}

.newsletter-inline input {
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--text);
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  outline: 0;
}

.newsletter-inline input::placeholder {
  color: var(--muted);
}

.newsletter-inline button {
  border-radius: 999px;
  background: var(--gradient-main);
  color: #fff;
  border: 0;
  padding: 0.55rem 1.3rem;
  font-weight: 800;
}

/* Mobile Responsive Optimization Fixes */
@media (max-width: 767.98px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .stat-chip {
    padding: 0.85rem;
  }

  .product-body {
    padding: 0.85rem;
  }

  .product-title {
    font-size: 1.05rem;
  }

  .product-price {
    font-size: 1.15rem;
  }

  .product-card-overlay {
    padding: 0.35rem;
    gap: 0.25rem;
  }

  .btn-card-action {
    padding: 0.35rem 0.3rem;
    font-size: 0.65rem;
    border-radius: 10px;
  }

  .btn-card-action i {
    font-size: 0.78rem;
  }

  .product-badge {
    top: 0.45rem;
    left: 0.45rem;
    font-size: 0.58rem;
    padding: 0.2rem 0.45rem;
    max-width: calc(100% - 40px);
  }

  .wishlist-btn {
    top: 0.45rem;
    right: 0.45rem;
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }

  .brand-mark {
    font-size: 1.2rem;
  }

  .brand-orb {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .site-footer {
    padding-bottom: 5rem; /* space for sticky mobile bottom bar */
  }
}

/* --- Admin CMS Custom Styling --- */
.admin-shell {
  min-height: 100vh;
  background-color: #f8f9fa;
  font-family: var(--font-main);
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: #ffffff;
  border-right: 1px solid #e9ecef;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.admin-main {
  flex-grow: 1;
  min-width: 0;
  background-color: #f8f9fa;
  padding-bottom: 3rem;
}

.admin-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
}

.admin-nav .nav-link {
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  color: #495057 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  padding: 0.7rem 1rem !important;
  border-radius: 12px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  background: transparent !important;
}

.admin-nav .nav-link:hover,
.admin-nav .nav-link.active {
  background: #fff0f5 !important;
  color: var(--pastel-pink) !important;
  transform: translateX(4px) !important;
}

@media (max-width: 991.98px) {
  .admin-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
  }
}

/* --- Global Image System (No Cropping / No Text Cutting) --- */
.product-media {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  width: 100%;
}

.product-media img,
.product-card-img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
  background: #ffffff;
  padding: 0.25rem;
}

.product-page-main-img {
  width: 100%;
  height: auto;
  max-height: 560px;
  min-height: 300px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.5rem;
}

.product-page-thumb-img {
  width: 80px;
  height: 80px;
  min-width: 80px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border-radius: 14px;
  border: 2px solid var(--line);
  padding: 0.2rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-page-thumb-img:hover,
.product-page-thumb-img.active {
  border-color: var(--pastel-pink);
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(255, 112, 166, 0.35);
}

.compare-img {
  width: 100%;
  height: 180px;
  max-height: 200px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.3rem;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  min-width: 60px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  padding: 0.15rem;
}

.offer-banner-img {
  max-height: 420px;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

.insta-grid-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  transition: transform 0.3s ease;
}

.insta-grid-img:hover {
  transform: scale(1.05);
}

.admin-thumb-img {
  width: 48px;
  height: 48px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 0.1rem;
}

/* Delivery Progress Stepper Timeline */
.delivery-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 1.2rem 0;
  padding: 0 0.5rem;
}

.delivery-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 4px;
  background: var(--line);
  z-index: 1;
}

.delivery-stepper-progress {
  position: absolute;
  top: 18px;
  left: 30px;
  height: 4px;
  background: var(--gradient-main);
  z-index: 2;
  transition: width 0.4s ease;
}

.stepper-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}

.stepper-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.stepper-node.active .stepper-icon {
  background: var(--gradient-main);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(255, 112, 166, 0.4);
  transform: scale(1.1);
}

.stepper-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.stepper-node.active .stepper-label {
  color: var(--text);
}

/* Instagram Reels Showcase Grid & Cards */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 992px) {
  .reels-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.reel-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(255, 112, 166, 0.12);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
  text-decoration: none;
  color: inherit;
}

.reel-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(255, 112, 166, 0.3);
  border-color: var(--pastel-pink);
}

.reel-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 380px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff5f8 0%, #fcecf3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

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

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(32, 24, 40, 0.88) 0%, rgba(32, 24, 40, 0.15) 55%, rgba(0, 0, 0, 0.25) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem;
  z-index: 2;
}

.reel-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #e1306c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  margin: auto;
  transition: all 0.3s ease;
}

.reel-card:hover .reel-play-btn {
  background: var(--gradient-main);
  color: #ffffff;
  transform: scale(1.22);
  box-shadow: 0 8px 22px rgba(255, 112, 166, 0.5);
}

.reel-badge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.reel-tag {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: #e1306c;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.reel-views {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.reel-caption {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Horizontal Scrolling Top 4★ & 5★ Reviews Slider */
.reviews-horizontal-slider {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.2rem 1.2rem 0.2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.reviews-horizontal-slider::-webkit-scrollbar {
  display: none;
}

.small-review-card {
  width: 290px;
  min-width: 290px;
  max-width: 290px;
  scroll-snap-align: start;
  border-radius: 20px;
  background: #ffffff;
  border: 2px solid var(--line);
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(255, 112, 166, 0.12);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.small-review-card:hover {
  transform: translateY(-6px);
  border-color: var(--pastel-pink);
  box-shadow: 0 14px 35px rgba(255, 112, 166, 0.25);
}

.small-review-card .stars-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.small-review-card .stars-badge {
  color: #ffb800;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.small-review-card .verified-chip {
  background: var(--pastel-soft-pink);
  color: var(--pastel-pink);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.small-review-card p {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.45;
  margin: 0.5rem 0;
  font-style: italic;
}

.small-review-card .reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line);
}

/* Mobile Responsiveness Overrides (@media max-width: 768px) */
@media (max-width: 768px) {
  /* Hero Carousel Mobile */
  .hero-slide-wrapper {
    height: clamp(220px, 48vw, 340px) !important;
  }
  
  .hero-slider .carousel-item img,
  .hero-slider-full .carousel-item img,
  .hero-slider-img {
    height: clamp(220px, 48vw, 340px) !important;
    max-height: 340px !important;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 44px !important;
  }

  .slider-arrow-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
  }

  .hero-slider-full .carousel-indicators {
    margin-bottom: 0.6rem !important;
    gap: 0.4rem !important;
  }

  .hero-slider-full .carousel-indicators [data-bs-target] {
    width: 10px !important;
    height: 10px !important;
  }

  .hero-slider-full .carousel-indicators .active {
    width: 26px !important;
  }

  /* Instagram Reels Mobile Grid */
  .reels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.6rem !important;
  }

  .reel-img-container {
    max-height: 280px !important;
  }

  .reel-play-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
  }

  .reel-tag, .reel-views {
    font-size: 0.6rem !important;
    padding: 0.15rem 0.45rem !important;
  }

  .reel-caption {
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
  }

  /* Horizontal Review Cards Slider Mobile */
  .reviews-horizontal-slider {
    gap: 0.75rem !important;
    padding: 0.4rem 0.1rem 1rem 0.1rem !important;
  }

  .small-review-card {
    width: 245px !important;
    min-width: 245px !important;
    max-width: 245px !important;
    padding: 0.9rem !important;
    border-radius: 16px !important;
  }

  .small-review-card p {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

  /* Delivery Stepper Timeline Mobile */
  .delivery-stepper {
    margin: 0.8rem 0 !important;
    padding: 0 0.2rem !important;
  }

  .delivery-stepper::before,
  .delivery-stepper-progress {
    top: 14px !important;
    left: 18px !important;
    right: 18px !important;
    height: 3px !important;
  }

  .stepper-icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.8rem !important;
  }

  .stepper-label {
    font-size: 0.64rem !important;
  }

  /* Modal Dialog Mobile */
  .modal-dialog {
    margin: 0.75rem !important;
  }

  .modal-content {
    border-radius: 20px !important;
  }
}

/* Product Page Image Scroller & Photo Gallery */
.product-gallery-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: linear-gradient(135deg, #fffbfd 0%, #fff2f6 50%, #faf6f0 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.product-gallery-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 480px;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.25s ease, transform 0.35s ease;
  cursor: zoom-in;
}

.gallery-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  z-index: 5;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.gallery-arrow-btn.prev-btn { left: 14px; }
.gallery-arrow-btn.next-btn { right: 14px; }

.gallery-arrow-btn:hover {
  background: var(--gradient-main);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 8px 22px rgba(255, 112, 166, 0.4);
}

.product-thumbs-scroller {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.6rem 0.2rem;
  scrollbar-width: none;
}

.product-thumbs-scroller::-webkit-scrollbar {
  display: none;
}

.product-thumb-card {
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  height: 72px !important;
  max-height: 72px !important;
  flex-shrink: 0 !important;
  scroll-snap-align: start;
  border-radius: 14px !important;
  border: 2px solid var(--line);
  background: #ffffff;
  padding: 4px;
  cursor: pointer;
  object-fit: contain !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-thumb-card:hover {
  transform: translateY(-3px);
  border-color: var(--pastel-pink);
}

.product-thumb-card.active {
  border: 3px solid var(--pastel-pink) !important;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 112, 166, 0.4);
}

/* Header Live Search Dropdown & Front Styling */
.search-pill input {
  width: clamp(140px, 16vw, 260px) !important;
}

@media (min-width: 992px) {
  .navbar-nav {
    flex-wrap: nowrap !important;
  }
}

.search-suggestions-dropdown {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1060 !important;
}

.search-suggest-item {
  transition: background 0.2s ease, transform 0.2s ease;
}

.search-suggest-item:hover {
  background: var(--pastel-soft-pink) !important;
  transform: translateX(4px);
}

/* Mobile Responsive Product Detail Layout & Sticky Bottom Bar */
.mobile-product-sticky-bar {
  position: fixed;
  bottom: 60px; /* Sits above mobile bottom nav */
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid var(--line);
  padding: 0.65rem 0;
  z-index: 1040;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  animation: slideUpBar 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpBar {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (max-width: 991.98px) {
  .product-page {
    padding-bottom: 120px !important;
  }
  .product-gallery-container {
    border-radius: 20px;
  }
  .product-gallery-main-img {
    max-height: 360px !important;
  }
  .product-thumb-card {
    width: 68px !important;
    min-width: 68px !important;
    height: 68px !important;
    border-radius: 14px;
  }
  .qty-picker {
    width: 100%;
    justify-content: space-between;
  }
}


