/* ==========================================================================
   HeyBubbles.pk - Official Skincare Theme Stylesheet (Updated)
   ========================================================================== */

:root {
  --primary: #ff6088;
  --primary-hover: #e84570;
  --primary-light: #fff0f4;
  --primary-subtle: #ffe4ec;
  --secondary: #ff8ca3;
  --accent-peach: #ffb4a2;
  --accent-sky: #8ec3f8;
  --accent-sky-light: #e5f1ff;
  --accent-green: #2ecc71;
  --accent-glow: rgba(255, 96, 136, 0.35);
  
  --bg-main: #fffcfd;
  --bg-card: #ffffff;
  --bg-subtle: #fff5f7;
  --bg-watermelon: #ffecef;
  
  --text-main: #2b2426;
  --text-muted: #6b5e62;
  --text-light: #9e8f93;
  
  --border-light: #fbe3eb;
  --border-subtle: #f2d0db;
  
  --shadow-sm: 0 4px 12px rgba(255, 96, 136, 0.08);
  --shadow-md: 0 8px 24px rgba(255, 96, 136, 0.12);
  --shadow-lg: 0 16px 36px rgba(255, 96, 136, 0.18);
  --shadow-glow: 0 0 25px rgba(255, 96, 136, 0.4);
  
  --font-heading: 'Jost', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html, body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- CONTINUOUS RUNNING TICKER (Matching Image 1) --- */
.ticker-wrap {
  background: linear-gradient(90deg, #99c7f4 0%, #a8d2f7 50%, #99c7f4 100%);
  color: #1a4269;
  overflow: hidden;
  height: 38px;
  line-height: 38px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  position: relative;
  z-index: 100;
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerLoop 32s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 0 30px;
}

.ticker-item .highlight {
  background: #ffffff;
  color: #0b5394;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ticker-separator {
  color: rgba(26, 66, 105, 0.4);
  font-size: 14px;
}

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

/* --- Header / Navbar --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 6px 0;
}

.site-main-logo {
  height: 78px;
  max-height: 85px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.site-main-logo:hover {
  transform: scale(1.03);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}

.brand-sparkle {
  font-size: 22px;
  animation: sparkleRotate 3s infinite linear;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 22px;
  align-items: center;
}

.nav-desktop-left, .nav-desktop-right {
  display: block;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #3b3034;
  position: relative;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

/* Lab Report Highlight (Matching Image 4) */
.nav-link.lab-report-link {
  color: #27ae60;
  font-weight: 700;
  position: relative;
}

.nav-link.lab-report-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #2ecc71;
  border-radius: 4px;
}

.nav-link.lab-report-link:hover {
  color: #219653;
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 220px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-main);
}

.dropdown-link:hover {
  background: var(--bg-subtle);
  color: var(--primary);
  padding-left: 24px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  background: var(--primary-light);
  border: 1px solid var(--border-light);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.icon-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* --- HERO BANNER SLIDER (Matching Image 1) --- */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  background: #f0f7fd;
}

.banner-slider-container {
  position: relative;
  width: 100%;
  min-height: 520px;
}

.banner-slide {
  display: none;
  width: 100%;
  min-height: 520px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.banner-slide.active {
  display: block;
  animation: fadeInSlide 0.6s ease;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: scale(1.01); }
  to { opacity: 1; transform: scale(1); }
}

/* Slide 1: Routine Bundle Panoramic Banner (Image 1 replica) */
.slide-routine-bundle {
  background: linear-gradient(180deg, #7ec4fa 0%, #b8e0fc 40%, #87c558 75%, #6aa43d 100%);
  background-image: 
    radial-gradient(ellipse at 50% 20%, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #74bcf7 0%, #c4e5fd 45%, #88c652 75%, #5d9834 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.slide-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.routine-banner-title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(23, 102, 172, 0.45);
  line-height: 1.05;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.routine-banner-tag {
  display: inline-block;
  background: #1c7ed6;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(28, 126, 214, 0.35);
}

.price-strike-box {
  display: inline-block;
  background: #1c7ed6;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(28, 126, 214, 0.4);
  margin-bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.strike-old {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: line-through;
  text-decoration-color: #111827;
  text-decoration-thickness: 4px;
  display: block;
}

.price-new-sale {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  display: block;
  letter-spacing: 0.5px;
}

.enjoy-free-del-text {
  font-size: 24px;
  font-weight: 900;
  color: #1c7ed6;
  text-shadow: 0 2px 0 #ffffff, 0 -2px 0 #ffffff, 2px 0 0 #ffffff, -2px 0 0 #ffffff, 0 4px 10px rgba(0,0,0,0.15);
  letter-spacing: 1px;
  margin-bottom: 24px;
  display: block;
}

.banner-bundle-img-wrap {
  position: relative;
  text-align: center;
}

.banner-bundle-img {
  max-height: 440px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25));
  transition: transform 0.4s ease;
}

.banner-bundle-img:hover {
  transform: scale(1.03);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #2b2426;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 10;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 32px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* --- WATERMELON MAGIC SHOWCASE SECTION (Matching Image 3) --- */
.watermelon-showcase-section {
  background: #ffecef;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.watermelon-section-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  color: #ff476d;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.watermelon-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.feature-list-col {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.wm-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.wm-check-icon {
  font-size: 22px;
  line-height: 1;
  color: #1e293b;
  flex-shrink: 0;
  margin-top: 2px;
}

.wm-feature-text h4 {
  font-size: 17px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wm-feature-text p {
  font-size: 14px;
  color: #52474a;
  line-height: 1.5;
}

.wm-center-hero {
  text-align: center;
  position: relative;
}

.wm-arch-card {
  background: #ffffff;
  border-radius: 180px 180px 30px 30px;
  padding: 30px 20px 20px;
  box-shadow: 0 20px 40px rgba(255, 71, 109, 0.15);
  display: inline-block;
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.wm-product-img {
  max-height: 380px;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.5s ease;
}

.wm-arch-card:hover .wm-product-img {
  transform: scale(1.05);
}

/* --- PRODUCT PAGE TABS & ALERTS (Matching Image 2) --- */
.product-promo-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.product-promo-alert .bell-icon {
  font-size: 24px;
  animation: bellShake 2.5s infinite;
}

@keyframes bellShake {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-15deg); }
  20%, 40% { transform: rotate(15deg); }
  50% { transform: rotate(0); }
}

.live-viewers-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #475569;
  font-weight: 600;
  margin-bottom: 24px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

/* Product Tabs Container & Navigation */
.product-tabs-wrapper {
  margin-top: 30px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.product-tabs-nav {
  display: flex;
  gap: 25px;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
  padding: 10px 0 12px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: #0284c7;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #0284c7;
  border-radius: 3px;
}

.tab-pane {
  display: none;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.7;
}

.tab-pane.active {
  display: block;
  animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- LAB REPORT PAGE STYLES --- */
.lab-cert-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.lab-cert-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: #a7f3d0;
}

.cert-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #6ee7b7;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  width: fit-content;
}

/* --- Section Header Styles (Matching Image 2: Trending Formulas & Best Sellers) --- */
.section {
  padding: 60px 0 70px;
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-tag {
  display: inline-block;
  background: #fff0f4;
  color: #ff3366;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: #64748b;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Make Your Moment With Bubbles Section --- */
/* --- Moment Banner Section (Matching HeyBubbles.pk Exactly) --- */
.moment-banner-section {
  width: 100%;
  background: #ffffff;
  padding: 35px 0 25px;
  overflow: hidden;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moment-banner-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 20px;
}

.moment-banner-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.moment-line-dark {
  font-family: 'Montserrat', var(--font-heading), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.moment-line-pink {
  font-family: 'Montserrat', var(--font-heading), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #ff6088;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.moment-banner-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.moment-badge-img {
  width: 175px;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .moment-banner-section {
    padding: 16px 0 12px !important;
  }
  .moment-banner-container {
    gap: 16px !important;
    padding: 0 16px !important;
    justify-content: center !important;
  }
  .moment-line-dark,
  .moment-line-pink {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }
  .moment-badge-img {
    width: 95px !important;
  }
}

@media (max-width: 380px) {
  .moment-banner-container {
    gap: 10px !important;
  }
  .moment-line-dark,
  .moment-line-pink {
    font-size: 19px !important;
  }
  .moment-badge-img {
    width: 80px !important;
  }
}

/* Remove duplicate square WhatsApp button from plugin (ht-ctc) per client request */
#ht-ctc-chat,
.ht-ctc,
.ht-ctc-chat,
.ctc_s_2,
.ht_ctc_style,
.ht_ctc_chat_style,
.ctc_wp_desktop,
.ctc_wp_mobile {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  left: -99999px !important;
  top: -99999px !important;
}


/* --- Product Cards & Details --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-subtle);
}

.product-media {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  z-index: 2;
  text-transform: uppercase;
}

.discount-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #10b981;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
}

.product-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #f59e0b;
}

.product-rating .count {
  color: var(--text-muted);
  font-size: 12px;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 16px;
}

.price-current {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.price-old {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* --- Delivery Badge under Buy Now (Critical User Requirement) --- */
.delivery-estimate-badge {
  background: #fff8fa;
  border: 1px dashed var(--secondary);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2b2426;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(255, 96, 136, 0.06);
}

.delivery-truck-icon {
  font-size: 22px;
  flex-shrink: 0;
  animation: truckBounce 2s infinite ease-in-out;
}

.delivery-badge-text {
  line-height: 1.4;
}

.delivery-badge-text strong {
  color: var(--primary);
  font-weight: 700;
  display: block;
  font-size: 14px;
}

.delivery-badge-text span {
  color: var(--text-muted);
  font-size: 12px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #ff537e, #ff7a99);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 83, 126, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e63e69, #ff6588);
  box-shadow: 0 12px 28px rgba(255, 83, 126, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary);
  border: 2px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-buy-now {
  background: linear-gradient(135deg, #ff3366, #ff5c8a);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(255, 51, 102, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-buy-now:hover {
  background: linear-gradient(135deg, #e62053, #f54a79);
  box-shadow: 0 14px 32px rgba(255, 51, 102, 0.55);
  transform: translateY(-2px);
}

.btn-add-cart {
  background: var(--primary-light);
  color: var(--primary);
  border: 2px solid var(--border-subtle);
  font-weight: 700;
  width: 100%;
  padding: 15px 25px;
  border-radius: var(--radius-md);
}

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

/* WooCommerce Single Product Form & Buttons */
.heybubbles-action-box form.cart {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.heybubbles-action-box form.cart .quantity {
  margin: 0;
}
.heybubbles-action-box form.cart .quantity .qty {
  width: 72px;
  height: 48px;
  border: 2px solid #fed7e2;
  border-radius: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  outline: none;
}
.heybubbles-action-box form.cart .single_add_to_cart_button {
  flex: 1;
  min-height: 48px;
  background: #fff0f5 !important;
  color: #ff3366 !important;
  border: 2px solid #ffccd8 !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  cursor: pointer;
  transition: all 0.25s ease !important;
  box-shadow: none !important;
}
.heybubbles-action-box form.cart .single_add_to_cart_button:hover {
  background: #ff3366 !important;
  color: #ffffff !important;
  border-color: #ff3366 !important;
  box-shadow: 0 8px 20px rgba(255, 51, 102, 0.3) !important;
  transform: translateY(-2px);
}

/* --- Section Layout --- */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: #1f1619;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Single Product Layout & Breadcrumbs --- */
.product-breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.product-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.product-breadcrumbs a:hover {
  color: var(--primary);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

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

.product-trust-badges-strip {
  margin-top: 40px;
  margin-bottom: 32px;
  background: #ffffff;
  border-top: 1.5px solid #FFE4E9;
  border-bottom: 1.5px solid #FFE4E9;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}

.product-trust-badges-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.product-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.product-trust-badge img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.product-trust-badge span {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  max-width: 150px;
  line-height: 1.35;
}

/* Enhanced Product Gallery */
.product-detail-gallery {
  position: relative;
  width: 100%;
}

.gallery-main-wrapper {
  position: relative;
  margin-bottom: 16px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.gallery-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #ff3366, #ff6b8b);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(255, 51, 102, 0.3);
}

.gallery-main-wrapper {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #f1e4e8;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 14px;
}

.gallery-main-slider,
.gallery-main {
  border-radius: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  border: none;
  background: #ffffff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
  touch-action: pan-x pan-y;
}

.gallery-main-slider::-webkit-scrollbar,
.gallery-main::-webkit-scrollbar {
  display: none;
}

.gallery-main-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

.gallery-main-slide img,
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
  margin: auto;
  transition: opacity 0.25s ease, transform 0.4s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-main-slide:hover img,
.gallery-main:hover img {
  transform: scale(1.02);
}

.gallery-zoom-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 5;
}

.gallery-zoom-btn:hover {
  background: #ff3366;
  color: #fff;
  transform: scale(1.08);
}

.gallery-arrow,
.gallery-main-wrapper .gallery-arrow {
  display: none !important;
}

.gallery-lightbox .gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #333;
  font-size: 18px;
  font-weight: bold;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100000;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.gallery-lightbox .gallery-arrow.prev { left: 24px; }
.gallery-lightbox .gallery-arrow.next { right: 24px; }

.gallery-lightbox .gallery-arrow:hover {
  background: #ff3366;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.gallery-counter {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  z-index: 5;
  letter-spacing: 0.5px;
}

.gallery-thumbs-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.thumb-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ecdbe0;
  color: #ff3366;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.thumb-nav-arrow:hover {
  background: #ff3366;
  color: #ffffff;
  border-color: #ff3366;
  transform: translateY(-50%) scale(1.1);
}

.thumb-nav-arrow.prev {
  left: -8px;
}

.thumb-nav-arrow.next {
  right: -8px;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 6px 10px 6px;
  scrollbar-width: thin;
  scrollbar-color: #ff3366 #f1f1f1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  touch-action: pan-x;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.gallery-thumbs:active {
  cursor: grabbing;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 5px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: #ff6b8b;
  border-radius: 10px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: #fdf2f4;
  border-radius: 10px;
}

.gallery-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  border: 2px solid #ecdbe0;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.gallery-thumb img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumb:hover {
  border-color: #ff85a2;
  transform: translateY(-2px);
}

.gallery-thumb.active {
  border-color: #ff3366;
  box-shadow: 0 0 0 2px rgba(255, 51, 102, 0.25), 0 4px 12px rgba(255, 51, 102, 0.2);
  transform: translateY(-2px);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

/* Lightbox Modal */
.gallery-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.gallery-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: zoomInLight 0.25s ease;
}

@keyframes zoomInLight {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s;
}

.lightbox-close:hover {
  transform: scale(1.2);
  color: #ff6b8b;
}

.detail-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.detail-price-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.detail-price-current {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.detail-price-old {
  font-size: 18px;
  color: var(--text-light);
  text-decoration: line-through;
}

.detail-save-tag {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.quantity-picker {
  display: flex;
  align-items: center;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 130px;
  background: #ffffff;
}

.qty-btn {
  width: 40px;
  height: 44px;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.single-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 10px;
}

/* --- Cart & Checkout Pages --- */
.cart-page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.cart-table-card, .cart-summary-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.cart-table td {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-light);
}

/* --- Footer --- */
.site-footer {
  background: #1f1619;
  color: #ffffff;
  padding: 70px 0 30px;
  margin-top: 80px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.footer-brand p {
  color: #b5a8ab;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #b5a8ab;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8c7e82;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 15px;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 95;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
}

/* ==========================================================================
   HeyBubbles.pk - Comprehensive Responsive Suite (Mobile Portrait & Landscape,
   Tablet, Laptop & Desktop Viewports)
   ========================================================================== */

/* Universal Anti-Horizontal Overflow Guard */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
  position: relative;
}

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

/* --- Mobile Navigation Drawer (Hidden by default, slides out on tap) --- */
.mobile-menu-btn {
  display: none !important;
}

.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999998 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: -330px;
  width: 310px;
  max-width: 86vw;
  height: 100%;
  background: #ffffff;
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.2);
  z-index: 999999 !important;
  display: flex;
  flex-direction: column;
  transition: left 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-drawer.active {
  left: 0 !important;
}

.mobile-menu-header {
  padding: 18px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff5f8;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 22px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.mobile-menu-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

.mobile-menu-body {
  padding: 14px 0 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li {
  border-bottom: 1px solid #f8fafc;
}

.mobile-nav-list a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 13px 20px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  text-align: left !important;
}

.mobile-nav-list a:hover {
  background: #fff0f5 !important;
  color: #ff3366 !important;
}

.mobile-nav-list a .nav-ico {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  font-size: 18px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.mobile-nav-list a .nav-ico img,
.mobile-nav-list a img.wp-smiley,
.mobile-nav-list a img.emoji {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.mobile-nav-list a .nav-txt {
  flex-grow: 0 !important;
  text-align: left !important;
}

.mobile-nav-has-sub > a {
  justify-content: space-between !important;
  width: 100% !important;
}

.mobile-nav-has-sub .nav-grp {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.mobile-nav-has-sub .arrow {
  margin-left: auto !important;
  font-size: 13px !important;
  color: #64748b !important;
  transition: transform 0.2s ease !important;
  flex-shrink: 0 !important;
}

.mobile-nav-has-sub.open > a .arrow {
  transform: rotate(180deg) !important;
}

.mobile-submenu {
  display: none;
  background: #f8fafc;
  padding: 4px 0;
  border-top: 1px solid #f1f5f9;
}

.mobile-submenu.open {
  display: block;
}

.mobile-submenu a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding: 11px 20px 11px 34px !important;
  font-size: 13.5px !important;
  color: #475569 !important;
  font-weight: 500 !important;
  text-align: left !important;
}

.mobile-submenu a .nav-ico {
  width: 18px !important;
  font-size: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.mobile-submenu a:hover {
  color: #ff3366 !important;
  background: #ffffff !important;
  padding-left: 38px !important;
}

/* --- Official Category & Trust Badges Strip --- */
.trust-categories-section {
  width: 100%;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.category-header-strip {
  background: #b5d9fb;
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid #9dc7f5;
}

.category-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
}

.cat-strip-link {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: #0b3266;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.cat-strip-link:hover {
  color: #ff3366;
  transform: translateY(-1px);
}

.trust-badges-bar {
  background: #ffffff;
  padding: 24px 16px;
  border-bottom: 1px solid #eef2f6;
}

.trust-badges-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: start;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.trust-badge-item:hover {
  transform: translateY(-2px);
}

.trust-badge-icon-wrap {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.trust-badge-label {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1.25;
}

/* --- Grids & Forms Structure --- */
.footer-main-row {
  display: grid;
  grid-template-columns: 240px 1fr 1.3fr 1.3fr;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.cart-page-grid, .contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: flex-start;
}

.contact-page-grid {
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.pf-tabs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

/* ==========================================================================
   BREAKPOINTS
   ========================================================================== */

/* --- 1. Large Tablets & Small Laptops (<= 1200px) --- */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* --- 2. Medium Tablets (<= 992px) --- */
@media (max-width: 992px) {
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    color: #1e293b;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }

  .mobile-menu-btn:hover, .mobile-menu-btn:active {
    background: #fff0f5;
    border-color: #ff6088;
    color: #ff3366;
  }

  .nav-desktop-left, .nav-desktop-right, .nav-menu {
    display: none !important;
  }

  .nav-wrapper {
    min-height: 66px !important;
    padding: 6px 0;
  }

  .site-main-logo {
    height: 52px !important;
    max-height: 54px !important;
  }

  .banner-slider-container, .banner-slide {
    min-height: auto !important;
    height: auto !important;
  }

  .banner-slide img {
    max-height: 540px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }

  .product-detail-grid, .cart-page-grid, .contact-page-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-main-row {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
}

/* --- 3. Tablets Portrait & Mobile Landscape (<= 860px) --- */
@media (max-width: 860px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Trust Badges & Category Strip Responsive */
  .category-header-strip {
    padding: 8px 0 !important;
  }
  .category-header-container {
    padding: 0 12px !important;
    gap: 12px 18px !important;
    justify-content: center !important;
  }
  .cat-strip-link {
    font-size: 12px !important;
  }
  .trust-badges-bar {
    padding: 18px 10px !important;
  }
  .trust-badges-container {
    gap: 12px 6px !important;
  }
  .trust-badge-icon-wrap {
    width: 52px !important;
    height: 52px !important;
  }
  .trust-badge-label {
    font-size: 10px !important;
    letter-spacing: 0.2px !important;
  }
}

/* --- 4. Mobile Devices (<= 768px) --- */
@media (max-width: 768px) {
  .section {
    padding: 32px 0 !important;
  }

  .section-header {
    margin-bottom: 22px !important;
  }

  .section-header h2 {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }

  .section-header p {
    font-size: 13.5px !important;
  }

  .routine-banner-title {
    font-size: 32px;
  }

  /* Compact, Non-Obtrusive Floating WhatsApp */
  .floating-whatsapp {
    bottom: 14px !important;
    right: 12px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 22px !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4) !important;
    z-index: 80 !important;
  }

  .floating-whatsapp svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* Single Product Breadcrumbs on Mobile */
  .product-breadcrumbs {
    margin-bottom: 10px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .product-breadcrumbs::-webkit-scrollbar {
    display: none !important;
  }

  /* Single Product Container & Page Width Fixes (Zero Mobile Cut-Off) */
  .container.product-single-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 14px !important;
    padding-bottom: 25px !important;
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .heybubbles-single-product {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Single Product Detail Grid & Gallery on Mobile */
  .product-detail-grid {
    grid-template-columns: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 16px !important;
    box-sizing: border-box !important;
  }

  .product-detail-gallery {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .gallery-main-wrapper {
    margin-bottom: 12px !important;
    border-radius: 16px !important;
    max-height: none !important;
    background: #ffffff !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .gallery-main-slider,
  .gallery-main {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    position: relative !important;
    touch-action: pan-x pan-y !important;
    box-sizing: border-box !important;
  }

  .gallery-main-slider::-webkit-scrollbar,
  .gallery-main::-webkit-scrollbar {
    display: none !important;
  }

  .gallery-main-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    background: #ffffff !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .gallery-main-slide img,
  .gallery-main img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    max-width: 100% !important;
    object-fit: contain !important;
    padding: 4px !important;
    margin: 0 auto !important;
    display: block !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
  }

  /* Arrows on Main Center Big Picture REMOVED Completely */
  .gallery-arrow,
  .gallery-main-wrapper .gallery-arrow {
    display: none !important;
  }

  .gallery-lightbox .gallery-arrow {
    display: flex !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }

  .gallery-counter {
    font-size: 11px !important;
    padding: 3px 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    z-index: 6 !important;
  }

  .gallery-zoom-btn {
    bottom: 8px !important;
    right: 8px !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
    z-index: 6 !important;
  }

  .gallery-thumbs-wrapper {
    margin-bottom: 12px !important;
    position: relative !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .thumb-nav-arrow {
    display: none !important;
  }

  .gallery-thumbs {
    gap: 8px !important;
    padding: 4px 2px 8px 2px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    touch-action: pan-x !important;
    cursor: grab !important;
    user-select: none !important;
    -webkit-user-select: none !important;
  }

  .gallery-thumbs::-webkit-scrollbar {
    display: none !important;
  }

  .gallery-thumb {
    flex: 0 0 62px !important;
    width: 62px !important;
    height: 62px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
  }

  .gallery-thumb img {
    padding: 3px !important;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
  }

  /* Product Details Info on Mobile */
  .product-detail-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .product-promo-alert {
    font-size: 11.5px !important;
    padding: 5px 10px !important;
    margin-bottom: 6px !important;
  }

  .live-viewers-badge {
    font-size: 11px !important;
    padding: 4px 8px !important;
    margin-bottom: 8px !important;
  }

  .product-category {
    font-size: 11px !important;
    font-weight: 700 !important;
  }

  .detail-title {
    font-size: 21px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    color: #1e293b !important;
  }

  .product-rating {
    margin-bottom: 10px !important;
    font-size: 13px !important;
  }

  .detail-price-box {
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  .detail-price-current {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
  }

  .detail-price-old {
    font-size: 15px !important;
  }

  .detail-save-tag {
    font-size: 11px !important;
    padding: 3px 8px !important;
  }

  /* Single Product Action Buttons on Mobile (Equal Prominence, Full Width Row) */
  .single-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .single-actions .btn {
    flex: 1 !important;
    width: auto !important;
    min-height: 48px !important;
    font-size: 13.5px !important;
    padding: 10px 8px !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
  }

  /* Delivery Estimate Badge on Mobile */
  .delivery-estimate-badge {
    padding: 10px 14px !important;
    border-radius: 10px !important;
    margin-top: 12px !important;
    gap: 10px !important;
  }

  .delivery-estimate-badge strong {
    font-size: 13.5px !important;
  }

  .delivery-estimate-badge span {
    font-size: 11.5px !important;
  }

  .delivery-truck-icon {
    font-size: 24px !important;
  }

  /* Product Trust Badges Strip (5 Circular Logos) */
  .product-trust-badges-strip {
    margin-top: 25px !important;
    margin-bottom: 20px !important;
    padding: 18px 12px !important;
    border-radius: 12px !important;
  }

  .product-trust-badges-strip > div {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 14px 10px !important;
  }

  .product-trust-badge {
    flex: 0 1 calc(33.333% - 8px) !important;
    min-width: 85px !important;
    gap: 6px !important;
  }

  .product-trust-badge img {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
  }

  .product-trust-badge span {
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.3px !important;
  }

  /* Product Tabs Wrapper & Navigation on Mobile */
  .product-tabs-wrapper {
    margin-top: 20px !important;
    padding: 18px 12px !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .product-tabs-nav {
    gap: 14px !important;
    margin-bottom: 16px !important;
    padding-bottom: 4px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .product-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }

  .tab-btn {
    font-size: 13px !important;
    padding: 6px 0 8px !important;
    white-space: nowrap !important;
  }

  .tab-pane {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Before & After Section on Mobile */
  .before-after-section {
    margin-top: 24px !important;
    padding: 20px 12px !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    display: block !important;
  }

  .ba-poster-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    margin-bottom: 16px !important;
    cursor: pointer !important;
  }

  .ba-poster-wrapper a,
  .ba-poster-wrapper img {
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    cursor: pointer !important;
  }

  /* Related Products Grid on Mobile */
  .related-products-section {
    margin-top: 24px !important;
    padding: 22px 14px !important;
    border-radius: 16px !important;
  }

  .related-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .related-products-grid .product-card {
    padding: 10px !important;
  }

  .reviews-summary-card {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .reviews-summary-card > div:first-child {
    border-right: none !important;
    border-bottom: 1px solid #f8d7e3 !important;
    padding-right: 0 !important;
    padding-bottom: 18px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center;
    gap: 14px;
  }

  /* Footer & Reviews Spacing on Mobile (Eliminates the empty white gap) */
  .site-footer {
    margin-top: 24px !important;
    padding: 35px 0 20px !important;
  }

  .product-single-container {
    padding-bottom: 8px !important;
  }

  .customer-reviews-section {
    padding: 20px 14px !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
  }
}

/* --- 5. Small Mobile / Form Row Collapse (<= 600px) --- */
@media (max-width: 600px) {
  .container {
    padding: 0 14px;
  }

  .ticker-wrap {
    height: 34px;
    line-height: 34px;
  }

  .ticker-item {
    font-size: 11.5px;
    padding: 0 16px;
    gap: 10px;
  }

  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Prevent auto-zooming on iOS Mobile Safari */
  #express-checkout-form input,
  #express-checkout-form select,
  #express-checkout-form textarea,
  #contact-form input,
  #contact-form textarea,
  .pf-card-exp,
  .qty-input {
    font-size: 16px !important;
  }

  .banner-slide img {
    max-height: 520px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .slider-arrow {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    opacity: 0.85;
  }

  .slider-arrow.prev { left: 8px !important; }
  .slider-arrow.next { right: 8px !important; }

  .slider-dots {
    bottom: 5px !important;
    gap: 5px !important;
    background: rgba(0, 0, 0, 0.22) !important;
    padding: 3px 8px !important;
    border-radius: 20px !important;
    backdrop-filter: blur(4px) !important;
  }

  .slider-dot {
    width: 6px !important;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.6) !important;
  }

  .slider-dot.active {
    width: 16px !important;
    background: #ff3366 !important;
    border-radius: 4px !important;
  }

  .before-after-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* --- 6. Mobile Portrait Viewport (<= 540px) --- */
@media (max-width: 540px) {
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .product-info {
    padding: 16px !important;
  }

  .product-name {
    font-size: 16px !important;
  }

  .price-current {
    font-size: 18px !important;
  }

  .card-actions .btn {
    min-height: 44px;
    font-size: 13.5px !important;
  }

  .single-actions {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .single-actions .btn {
    flex: 1 !important;
    min-height: 48px !important;
    font-size: 13.5px !important;
    padding: 10px 6px !important;
  }

  .delivery-estimate-badge {
    padding: 12px 14px !important;
    font-size: 12.5px !important;
  }

  .delivery-truck-icon {
    font-size: 22px !important;
  }

  .footer-main-row {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .pf-tabs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .cart-table-card, .cart-summary-card {
    padding: 20px 16px !important;
    border-radius: 12px !important;
  }
}

/* --- 7. Extra Small Mobile Phones (<= 480px) --- */
@media (max-width: 480px) {
  .cart-drawer {
    width: 100% !important;
    max-width: 100vw !important;
    right: -100% !important;
  }

  .cart-drawer.active {
    right: 0 !important;
  }

  .cart-drawer-header,
  .free-shipping-meter,
  .cart-drawer-body,
  .cart-drawer-footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #payfast-modal {
    padding: 12px !important;
  }

  #payfast-modal > div {
    border-radius: 12px !important;
    max-height: 92vh !important;
  }
}

.star-item {
  transition: transform 0.15s ease, color 0.15s ease;
  user-select: none;
}
.star-item:hover {
  transform: scale(1.2);
}
.rating-bar-row:hover span:first-child {
  color: var(--primary) !important;
}

/* --- Client Feedback Enhancements (v2.5.0) --- */
.header-cart-btn {
  background: #fff0f5 !important;
  border: 1.5px solid #ffccd9 !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  box-shadow: 0 2px 8px rgba(255, 51, 102, 0.15) !important;
  transition: all 0.25s ease !important;
}

.header-cart-btn:hover {
  background: #ff3366 !important;
  border-color: #ff3366 !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 4px 14px rgba(255, 51, 102, 0.3) !important;
}

.header-cart-btn svg {
  stroke: #ff3366;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.header-cart-btn:hover svg {
  stroke: #ffffff !important;
}

.cart-badge {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  background: #ff1a53 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}

@media (max-width: 992px) {
  .nav-actions .header-wa-btn {
    display: none !important;
  }
}

.footer-brand-wrap {
  background: transparent !important;
}

.footer-brand-wrap img {
  background: transparent !important;
  box-shadow: none !important;
  mix-blend-mode: multiply;
}

@media (max-width: 480px) {
  .moment-banner-section {
    padding: 24px 12px 20px !important;
  }
  .moment-banner-inner {
    gap: 12px !important;
  }
  .moment-title-main,
  .moment-title-sub {
    font-size: clamp(19px, 5.2vw, 24px) !important;
  }
  .moment-badge-img {
    width: clamp(75px, 20vw, 95px) !important;
  }
  .moment-bubble-1 { width: 38px !important; height: 38px !important; left: 10% !important; }
  .moment-bubble-2 { width: 32px !important; height: 32px !important; right: 8% !important; }
  .moment-bubble-3 { width: 44px !important; height: 44px !important; left: 5% !important; }
  .moment-bubble-4 { width: 36px !important; height: 36px !important; right: 10% !important; }

  .category-header-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    justify-content: flex-start !important;
    padding: 6px 14px !important;
    gap: 16px !important;
  }
  .category-header-container::-webkit-scrollbar {
    display: none !important;
  }
  .trust-badges-container {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 8px 4px !important;
  }
  .trust-badge-icon-wrap {
    width: 42px !important;
    height: 42px !important;
  }
  .trust-badge-label {
    font-size: 8px !important;
    line-height: 1.15 !important;
  }
}

/* Reviews and Star Rating Picker */
.customer-reviews-section {
  scroll-margin-top: 90px;
}

.star-rating-picker .star-item {
  font-size: 30px;
  cursor: pointer;
  color: #f59e0b;
  transition: transform 0.15s ease;
}

.star-rating-picker .star-item:hover {
  transform: scale(1.25);
}

.review-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* ==========================================================================
   HEYBUBBLES PRODUCT VIDEO REELS & MODAL STYLES
   ========================================================================== */

/* 1. Video Badge on Product Cards */
.card-video-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 4;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-video-badge:hover {
  background: #ff3366;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 51, 102, 0.4);
}

/* 2. Viral Reels Section (Homepage) */
.viral-reels-section {
  position: relative;
  overflow: hidden;
}

.reels-slider-wrapper {
  position: relative;
  padding: 0 10px;
}

.reels-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.reels-track::-webkit-scrollbar {
  height: 6px;
}

.reels-track::-webkit-scrollbar-track {
  background: transparent;
}

.reels-track::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 99px;
}

.reel-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.reel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.2);
}

.reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-top-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 51, 102, 0.9);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 99px;
  z-index: 3;
}

.reel-play-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: #ff3366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  z-index: 3;
  pointer-events: none;
}

.reel-card:hover .reel-play-center {
  transform: translate(-50%, -50%) scale(1.12);
  background: #ffffff;
}

.reel-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.88) 60%, rgba(15, 23, 42, 0.98) 100%);
  padding: 30px 14px 14px;
  z-index: 3;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reel-overlay-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel-overlay-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.reel-current-price {
  font-size: 14px;
  font-weight: 800;
  color: #a7f3d0;
}

.reel-old-price {
  font-size: 11.5px;
  color: #94a3b8;
  text-decoration: line-through;
}

.reel-shop-btn {
  background: #ff3366;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease;
  margin-top: 4px;
}

.reel-shop-btn:hover {
  background: #e11d48;
}

.reel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
}

.reel-nav-btn:hover {
  background: #ff3366;
  color: #ffffff;
  border-color: #ff3366;
}

.reel-nav-btn.prev { left: -14px; }
.reel-nav-btn.next { right: -14px; }

/* 3. Single Product Gallery Video Integration */
.gallery-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0f172a;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.gallery-thumb.video-thumb {
  position: relative;
  border: 2px solid #ff3366 !important;
}

.gallery-thumb.video-thumb .video-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 51, 102, 0.92);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.watch-reel-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff0f5;
  border: 1.5px solid #fed7e2;
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.watch-reel-cta-bar:hover {
  background: #ffe4ec;
  border-color: #fda4af;
  transform: translateY(-1px);
}

.watch-reel-cta-bar .cta-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #ff3366;
}

.watch-reel-cta-bar .cta-pill {
  background: #ff3366;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 4. Single Product Dedicated Reel Showcase Section */
.single-product-reel-showcase {
  margin-top: 40px;
  background: linear-gradient(135deg, #ffffff 0%, #fdf4f7 100%);
  border-radius: var(--radius-lg);
  border: 1.5px solid #fed7e2;
  padding: 36px 30px;
  box-shadow: 0 8px 30px rgba(255, 51, 102, 0.06);
}

.single-reel-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 36px;
  align-items: center;
}

.single-reel-video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 36px rgba(0,0,0,0.22);
  border: 3px solid #1e293b;
}

.single-reel-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-reel-sound-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  z-index: 4;
}

/* 5. Fullscreen / Lightbox Reel Modal */
.heybubbles-reel-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.heybubbles-reel-modal.active {
  display: flex;
  animation: fadeInModal 0.25s ease;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.reel-modal-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.reel-modal-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s;
}

.reel-modal-close:hover {
  transform: scale(1.1);
  background: #ff3366;
}

.reel-modal-sound-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.reel-modal-product-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 50%, rgba(0,0,0,0.98) 100%);
  padding: 30px 16px 18px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 12px;
}

.reel-modal-footer-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid #fff;
  flex-shrink: 0;
}

.reel-modal-footer-meta {
  flex: 1;
  min-width: 0;
}

.reel-modal-footer-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel-modal-footer-price {
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 800;
  margin: 0;
}

.reel-modal-buy-btn {
  background: #ff3366;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 51, 102, 0.4);
}

@media (max-width: 768px) {
  .reel-card {
    flex: 0 0 190px;
  }
  .reel-nav-btn {
    display: none;
  }
  .single-reel-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .single-reel-video-frame {
    max-width: 280px;
    margin: 0 auto;
  }
  .gallery-video-wrapper {
    aspect-ratio: 4 / 5;
  }
}




