/* Custom CSS for Cambazar E-commerce - CAMBAZAR Home-Digital Theme */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #000000;
  --secondary-color: #111111;
  --accent-color: #ffb800; /* Logo Yellow/Amber Accent */
  --accent-hover: #e0a200; /* Darker Yellow Hover */
  --star-color: #ffb800; /* Rating Stars Gold */
  --text-dark: #222222;
  --text-muted: #777777;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;
  --border-light: #eeeeee;
  --border-medium: #e5e5e5;
  
  --font-primary: 'Poppins', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-premium: 0px 5px 15px rgba(0, 0, 0, 0.03);
}

/* Dark Theme Variables override */
[data-bs-theme="dark"] {
  --primary-color: #ffffff;
  --secondary-color: #f5f5f5;
  --text-dark: #e5e5e5;
  --text-muted: #a0a0a0;
  --bg-light: #1c1c1e;
  --bg-white: #121212;
  --border-light: #2c2c2e;
  --border-medium: #3a3a3c;
  --shadow-premium: 0px 5px 15px rgba(0, 0, 0, 0.25);
}

/* Base Styles */
body, .ecommerce-body {
  font-family: var(--font-primary) !important;
}

.ecommerce-body {
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

/* Top Announcement Bar */
.announcement-bar {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Top bar navigation */
.top-header-bar {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.top-header-bar a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.top-header-bar a:hover {
  color: var(--accent-color);
}

.main-ecommerce-header {
  padding: 20px 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.header-top-border-accent {
  height: 8px; /* Symmetrical thick top accent line */
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
  width: 100%;
}

/* Logo Hover micro-interaction & Shine Sweep */
.app-brand-link {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 2px;
}

.app-brand-link img {
  transition: var(--transition-smooth);
}

.app-brand-link:hover img {
  transform: scale(1.04);
  opacity: 0.95;
}

.app-brand-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
}

.app-brand-link:hover::after {
  animation: logo-shine-sweep 0.8s ease-in-out;
}

@keyframes logo-shine-sweep {
  0% {
    left: -100%;
  }
  100% {
    left: 150%;
  }
}

.search-header-box {
  max-width: 600px;
  width: 100%;
}

.search-header-box form.premium-search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-medium);
  background-color: var(--bg-light);
  transition: var(--transition-smooth);
  border-radius: 50px; /* Modern capsule shape */
  overflow: hidden;
  padding: 0;
}

.search-header-box form.premium-search-form:focus-within {
  border-color: var(--accent-color);
  background-color: var(--bg-white);
  box-shadow: 0 5px 20px rgba(255, 184, 0, 0.12); /* Warm yellow brand-aligned shadow */
}

.search-category-select {
  display: flex;
  align-items: center;
  padding: 0 15px 0 20px;
  border-right: 1px solid var(--border-medium);
  height: 100%;
}

.search-category-select select {
  border: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-position: right 6px center !important;
  background-size: 10px 10px !important;
  background-repeat: no-repeat !important;
  padding: 0 26px 0 8px !important;
  background-color: transparent !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text-dark);
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  min-width: 125px;
  width: auto;
}

.search-category-select select::-ms-expand {
  display: none !important;
}

.search-header-box .form-control {
  border: none !important;
  border-radius: 0 !important;
  flex-grow: 1;
  outline: none;
  box-shadow: none !important;
  background-color: transparent !important;
  padding: 12px 20px;
  font-size: 13.5px;
  color: var(--text-dark);
}

.search-header-btn {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: none;
  padding: 13px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  border-radius: 0 50px 50px 0; /* Align with search capsule shape */
  height: 100%;
}

.search-header-btn:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.search-header-btn i {
  font-size: 18px;
}

.header-utility-icons .nav-link {
  color: var(--text-dark);
  font-size: 24px;
  position: relative;
  padding: 5px 10px;
  transition: var(--transition-smooth);
}

.header-utility-icons .nav-link:hover {
  color: var(--accent-color);
}

.header-utility-icons .badge-count {
  position: absolute;
  top: 0;
  right: 2px;
  background-color: var(--accent-color);
  color: var(--bg-white);
  font-size: 9px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.header-utility-icons .badge-count.bg-dark {
  background-color: var(--primary-color) !important;
}

/* Navigation Menu (CAMBAZAR Sticky Nav) */
.ecommerce-sticky-navbar {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 0;
  box-shadow: none;
}

.category-dropdown-btn {
  background-color: var(--primary-color);
  color: var(--bg-white) !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 25px;
  border-radius: 0;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-dropdown-btn:hover {
  background-color: var(--accent-color);
}

.navbar-nav-links .nav-link {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #222222 !important;
  padding: 16px 20px !important;
  transition: var(--transition-smooth);
}

.navbar-nav-links .nav-link:hover,
.navbar-nav-links .nav-link.active {
  color: var(--accent-color) !important;
}

.premium-support-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 15px;
  cursor: pointer;
  text-decoration: none !important;
}

.premium-support-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-light);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary-color);
  transition: var(--transition-smooth);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.premium-support-box:hover .premium-support-icon {
  background-color: var(--primary-color);
  color: var(--accent-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.premium-support-box:hover .premium-support-icon i {
  animation: headset-tilt 0.4s ease-in-out;
}

@keyframes headset-tilt {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-12deg); }
  75% { transform: rotate(12deg); }
  100% { transform: rotate(0deg); }
}

.premium-support-details {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.premium-support-label {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  transition: var(--transition-smooth);
}

.premium-support-box:hover .premium-support-label {
  color: var(--primary-color);
}

.premium-support-phone {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.premium-support-box:hover .premium-support-phone {
  color: var(--accent-color);
}

/* Section Main Heading Styles */
.cambazar-section-header {
  text-align: center;
  margin-bottom: 45px;
  position: relative;
}

.cambazar-section-header .subtitle {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  display: inline-block;
  padding: 6px 16px;
  line-height: 1.2;
  background: rgba(255, 184, 0, 0.08);
  border-radius: 30px;
  border: 1px solid rgba(255, 184, 0, 0.15);
  transition: var(--transition-smooth);
}

[data-bs-theme="dark"] .cambazar-section-header .subtitle {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.25);
}

.cambazar-section-header:hover .subtitle {
  background: rgba(255, 184, 0, 0.15);
  transform: translateY(-2px);
}

.cambazar-section-header .main-title {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 500;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  display: block;
  margin-top: 4px;
}

.cambazar-section-header .main-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-color) 30%, var(--accent-color) 70%, transparent);
  margin: 14px auto 0 auto;
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.cambazar-section-header:hover .main-title::after {
  width: 90px;
}

/* Asymmetrical Digital Hero Banner Grid (CAMBAZAR Style) */
.hero-grid-section-wrapper {
  background-color: #eef2f5; /* Premium soft blue-grey tint */
  width: 100%;
  padding: 40px 0;
}

[data-bs-theme="dark"] .hero-grid-section-wrapper {
  background-color: #0c0c0e !important;
}

.digital-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.75fr 1fr;
  gap: 16px;
  max-width: 1400px;
  padding: 0 15px;
  margin: 0 auto;
}

.hero-grid-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  color: #ffffff;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.hero-grid-item:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.hero-grid-item.height-stacked {
  height: 282px;
  align-items: flex-end;
}

.hero-grid-item.height-tall {
  height: 580px;
  align-items: flex-end;
}

.hero-grid-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.hero-grid-item:hover .hero-grid-img-bg {
  transform: scale(1.05);
}

.hero-grid-item.height-stacked .hero-grid-img-bg {
  object-fit: contain;
  max-height: 75%;
  width: auto;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.85;
}

.hero-grid-item.height-stacked:hover .hero-grid-img-bg {
  transform: translate(-50%, -50%) scale(1.05);
}

/* Gradient overlay for readability and depth */
.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.hero-grid-item.height-tall .hero-grid-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-grid-item:hover .hero-grid-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.65) 100%);
}

.hero-grid-item.height-tall:hover .hero-grid-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-grid-content {
  position: relative;
  z-index: 3;
  padding: 24px;
  width: 100%;
  box-sizing: border-box;
}

.hero-grid-item.height-tall .hero-grid-content {
  text-align: center;
  padding: 40px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.hero-grid-tag {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  margin-bottom: 4px;
  display: block;
}

.hero-grid-title {
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  line-height: 1.15;
  color: #ffffff;
}

.hero-grid-item.height-tall .hero-grid-title {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.1;
}

.hero-grid-desc {
  font-size: 12.5px;
  color: #dddddd;
  margin-bottom: 0;
  font-weight: 400;
}

.hero-grid-item.height-tall .hero-grid-desc {
  font-size: 14.5px;
  color: #e5e5e5;
  margin-bottom: 25px;
  max-width: 320px;
}

.hero-grid-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.hero-grid-btn:hover {
  background-color: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Align text to right for visual variation */
.hero-text-right {
  text-align: right;
}

@media (max-width: 991px) {
  .digital-hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-grid-item.height-stacked {
    height: 240px;
  }
  .hero-grid-item.height-tall {
    height: 400px;
  }
}

/* Category Double Banner Block (2 Columns) */
.promo-double-banners {
  padding: 20px 0;
}

.promo-banner-card {
  position: relative;
  height: 320px;
  overflow: hidden;
  background-color: #f7e9e6; /* Pastel Peach */
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.promo-banner-card.bg-light-blue {
  background-color: #e2eaf0; /* Pastel Blue */
}

.promo-image-box {
  position: absolute;
  right: 5%;
  width: 48%;
  height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.promo-image-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.promo-banner-card:hover .promo-image-box {
  transform: scale(1.06);
}

.promo-banner-content {
  position: relative;
  z-index: 5;
  padding: 40px;
  max-width: 52%;
}

.promo-banner-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.promo-banner-title {
  font-size: 26px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.promo-banner-btn {
  background-color: var(--primary-color) !important;
  color: var(--bg-white) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em;
  padding: 12px 28px !important;
  border-radius: 0px !important;
  border: 1px solid var(--primary-color) !important;
  display: inline-block;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.promo-banner-btn:hover {
  background-color: transparent !important;
  color: var(--primary-color) !important;
}

/* CAMBAZAR Premium Product Grid Cards */
.cambazar-product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 30px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform, box-shadow;
  /* Removed overflow: hidden to prevent shadow clipping */
}

/* Premium Embossed Border Gradient on Hover */
.cambazar-product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 12px;
  padding: 1px; /* border thickness */
  background: linear-gradient(135deg, var(--accent-color), transparent 60%);
  
  /* Webkit browsers (Chrome, Safari, Edge) */
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  -webkit-mask-composite: xor;
  
  /* Standard / Firefox */
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  mask-composite: exclude;
  
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.cambazar-product-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  /* Amplified drop shadow for clear embossing */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

[data-bs-theme="dark"] .cambazar-product-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55), 0 5px 15px rgba(0, 0, 0, 0.35);
}

.cambazar-img-container {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: #fafafa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-bs-theme="dark"] .cambazar-img-container {
  background-color: #1c1c1e;
}

.cambazar-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 35px;
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cambazar-product-img.img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/* Card hover triggers image swap and zoom cohesive feedback */
.cambazar-product-card:hover .img-primary {
  opacity: 0;
}

.cambazar-product-card:hover .img-hover {
  opacity: 1;
}

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

/* Badges */
.cambazar-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  letter-spacing: 0.05em;
  z-index: 10;
  pointer-events: none;
}

.cambazar-badge.badge-sale {
  background-color: var(--accent-color);
  color: var(--bg-white);
}

.cambazar-badge.badge-new {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.cambazar-badge.badge-hot {
  background-color: #ffb800;
  color: var(--primary-color);
}

/* Wishlist Heart Icon overlay */
.cambazar-wishlist-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background-color: var(--bg-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
  transition: var(--transition-smooth);
}

.cambazar-wishlist-icon:hover {
  background-color: var(--accent-color);
  color: var(--bg-white);
}

/* Add to Cart Hover overlay */
.cambazar-cart-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  width: calc(100% - 40px);
  transform: translateY(150%);
  transition: var(--transition-smooth);
  z-index: 15;
}

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

.cambazar-quick-add-btn {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: none;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px;
  letter-spacing: 0.05em;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: var(--transition-smooth);
}

.cambazar-quick-add-btn:hover {
  background-color: var(--accent-color);
}

/* Product details styling */
.cambazar-product-details {
  padding: 15px 10px;
  text-align: left;
}

.cambazar-product-vendor {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.cambazar-product-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  margin-bottom: 6px;
  display: block;
  transition: var(--transition-smooth);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cambazar-product-title:hover {
  color: var(--accent-color);
}

.cambazar-rating {
  font-size: 11px;
  color: var(--star-color);
  margin-bottom: 6px;
}

.cambazar-price-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cambazar-price-current {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
}

.cambazar-price-current.sale-price {
  color: var(--accent-color);
}

.cambazar-price-old {
  font-size: 13px;
  text-decoration: line-through;
  color: var(--text-muted);
}

/* Full Width Countdown Flash Sale Banner */
.countdown-flash-section {
  position: relative;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  padding: 120px 0;
  color: #ffffff;
  margin: 40px 0;
  overflow: hidden;
}

.countdown-flash-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.7) 45%, rgba(18, 18, 18, 0.1) 100%);
}

@media (max-width: 768px) {
  .countdown-flash-overlay {
    background: rgba(18, 18, 18, 0.85); /* Darker overlay on mobile for readability */
  }
}

.flash-subtext {
  font-size: 15px;
  font-weight: 500;
  color: #e0e0e0;
  margin-bottom: 15px;
  letter-spacing: 0.02em;
}

.flash-main-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .flash-main-title {
    font-size: 32px;
  }
}

.flash-timer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 44px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 35px;
  font-family: var(--font-primary);
}

.flash-timer span {
  display: inline-block;
  min-width: 65px;
  text-align: center;
}

.flash-timer span#days {
  min-width: 85px;
}

@media (max-width: 768px) {
  .flash-timer {
    font-size: 28px;
    gap: 8px;
  }
  .flash-timer span {
    min-width: 38px;
  }
  .flash-timer span#days {
    min-width: 50px;
  }
}

.flash-shop-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #111111;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 36px;
  border-radius: 30px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  border: 1px solid #ffffff;
}

.flash-shop-btn:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Floating organic green badge in the center */
.flash-save-badge {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 105px;
  height: 105px;
  background-color: #619e75;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; /* organic wavy shape */
  box-shadow: 0 5px 15px rgba(97, 158, 117, 0.3);
  animation: organicPulse 8s infinite ease-in-out;
  z-index: 12;
}

.flash-save-badge span {
  display: block;
}

@keyframes organicPulse {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  }
  33% {
    transform: translate(-50%, -50%) rotate(120deg) scale(1.03);
    border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
  }
  66% {
    transform: translate(-50%, -50%) rotate(240deg) scale(0.98);
    border-radius: 30% 70% 40% 60% / 50% 60% 40% 50%;
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  }
}

@media (max-width: 991px) {
  .flash-save-badge {
    display: none; /* Hide badge on medium/small screens to prevent overlap */
  }
}

/* Premium Alternating Feature Banners (Samsung/Airpods style) */
.feature-block-section {
  padding: 50px 0;
}

.feature-block-row {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

.feature-block-row:last-child {
  margin-bottom: 0;
}

.feature-image-container {
  position: relative;
  width: 100%;
  height: 480px;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-image-container img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 1.5s ease;
}

.feature-image-container:hover img {
  transform: scale(1.05);
}

/* Video modal trigger overlay */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: var(--transition-smooth);
}

.video-play-btn:hover {
  background-color: var(--accent-color);
  color: var(--bg-white);
  transform: translate(-50%, -50%) scale(1.1);
}

.feature-text-container {
  padding: 40px 60px;
}

.feature-block-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  display: block;
}

.feature-block-title {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.feature-block-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.6;
}

.feature-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
}

.feature-spec-list li {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-spec-list li i {
  color: var(--accent-color);
  font-size: 16px;
}

/* Clean Blog Cards (Latest News) */
.cambazar-blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  margin-bottom: 30px;
  transition: var(--transition-smooth);
}

.cambazar-blog-card:hover {
  box-shadow: var(--shadow-premium);
  border-color: var(--border-medium);
}

.cambazar-blog-img-box {
  height: 160px;
  overflow: hidden;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cambazar-blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  box-sizing: border-box;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cambazar-blog-card:hover .cambazar-blog-img-box img {
  transform: scale(1.05);
}

.cambazar-blog-body {
  padding: 25px;
  text-align: left;
}

.cambazar-blog-date {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: block;
}

.cambazar-blog-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.35;
}

.cambazar-blog-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.cambazar-blog-title a:hover {
  color: var(--accent-color);
}

.cambazar-blog-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.cambazar-blog-link {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-smooth);
}

.cambazar-blog-link:hover {
  color: var(--accent-color);
}

.cambazar-blog-link:hover i {
  transform: translateX(3px);
}

/* Values bar in CambaZar footer top */
.cambazar-footer-values {
  background-color: #111111;
  padding: 40px 0;
  color: #ffffff;
}

.cambazar-footer-value-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  justify-content: flex-start;
}

@media (min-width: 576px) {
  .cambazar-footer-value-item {
    justify-content: center;
  }
}

.cambazar-footer-value-icon {
  font-size: 32px;
  color: var(--accent-color);
  width: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.cambazar-footer-value-title {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cambazar-footer-value-desc {
  font-size: 12.5px;
  color: #aaaaaa;
}

/* CAMBAZAR Footer Styles */
.cambazar-footer {
  background-color: var(--bg-light);
  color: var(--text-muted);
  padding: 60px 0 20px;
  font-size: 13.5px;
  line-height: 1.6;
  position: relative;
}
[data-bs-theme="dark"] .cambazar-footer {
  background: linear-gradient(180deg, #111111 0%, #000000 100%);
  color: #aaaaaa;
}



.cambazar-footer-title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 0.1em;
  margin-bottom: 25px;
}
[data-bs-theme="dark"] .cambazar-footer-title {
  color: #ffffff;
}

.cambazar-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cambazar-footer-links li {
  margin-bottom: 10px;
}

.cambazar-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}
[data-bs-theme="dark"] .cambazar-footer-links a {
  color: #aaaaaa;
}

.cambazar-footer-links a:hover {
  color: var(--accent-color);
  padding-left: 3px;
}

/* Footer newsletter signup */
.cambazar-footer-newsletter {
  position: relative;
}

.newsletter-form-group {
  display: flex;
  border: 1px solid var(--border-medium);
  background-color: var(--bg-white);
  padding: 2px;
  margin-bottom: 15px;
  transition: var(--transition-smooth);
}

.newsletter-form-group:focus-within {
  border-color: var(--primary-color);
}

.newsletter-form-group input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 10px 15px;
  font-size: 13px;
  outline: none;
}

.newsletter-form-group button {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: none;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 20px;
  transition: var(--transition-smooth);
}

.newsletter-form-group button:hover {
  background-color: var(--accent-color);
}

/* Social icons bottom */
.cambazar-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.cambazar-social-link {
  width: 32px;
  height: 32px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-medium);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.cambazar-social-link:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--bg-white);
}

/* Footer Bottom Area */
.cambazar-footer-bottom {
  border-top: 1px solid var(--border-medium);
  padding-top: 20px;
  margin-top: 40px;
  font-size: 12px;
}

.cambazar-payments-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Swiper Slider adjustments */
.swiper-button-next,
.swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
  background-color: var(--bg-white);
  color: var(--primary-color) !important;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: var(--transition-smooth);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--primary-color);
  color: var(--bg-white) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: 500;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .feature-block-row {
    flex-direction: column;
  }
  .feature-image-container {
    height: 350px;
  }
  .feature-text-container {
    padding: 30px 15px;
  }
  .promo-banner-card {
    margin-bottom: 20px;
  }
  .hero-banner-card {
    margin-bottom: 20px;
  }
}

/* Custom E-commerce Dark Mode Visual Adjustments */
[data-bs-theme="dark"] .app-brand-link img {
  filter: invert(1) hue-rotate(180deg);
}

[data-bs-theme="dark"] .dropdown-menu {
  background-color: var(--bg-light) !important;
  border-color: var(--border-light) !important;
}

[data-bs-theme="dark"] .dropdown-item {
  color: var(--text-dark) !important;
}

[data-bs-theme="dark"] .dropdown-item:hover {
  background-color: var(--border-light) !important;
  color: var(--accent-color) !important;
}

[data-bs-theme="dark"] .promo-banner-card {
  background-color: #1e1a19 !important; /* Elegant deep copper for dark mode */
}

[data-bs-theme="dark"] .promo-banner-card.bg-light-blue {
  background-color: #13171c !important; /* Elegant deep navy for dark mode */
}

[data-bs-theme="dark"] .cambazar-img-container {
  background-color: #18181b !important;
}

[data-bs-theme="dark"] .category-dropdown-btn {
  color: var(--bg-white) !important;
}

[data-bs-theme="dark"] .header-top-border-accent {
  background: linear-gradient(90deg, var(--accent-color) 0%, #000000 50%, var(--accent-color) 100%);
}

[data-bs-theme="dark"] .top-header-bar {
  background-color: #1a1a1c !important;
  border-color: var(--border-light) !important;
}

[data-bs-theme="dark"] .form-control {
  color: var(--text-dark) !important;
}

[data-bs-theme="dark"] .form-control::placeholder {
  color: var(--text-muted) !important;
}

[data-bs-theme="dark"] .card, 
[data-bs-theme="dark"] .modal-content, 
[data-bs-theme="dark"] .list-group-item {
  background-color: var(--bg-light) !important;
  border-color: var(--border-light) !important;
}

[data-bs-theme="dark"] .bg-light {
  background-color: var(--bg-light) !important;
}

[data-bs-theme="dark"] .text-dark {
  color: var(--text-dark) !important;
}

[data-bs-theme="dark"] .blog-item-card, 
[data-bs-theme="dark"] .newsletter-section {
  background-color: var(--bg-light) !important;
}

[data-bs-theme="dark"] .premium-support-icon {
  background-color: var(--bg-white) !important;
  border-color: var(--border-light) !important;
  color: var(--accent-color) !important;
}

[data-bs-theme="dark"] .premium-support-box:hover .premium-support-icon {
  background-color: var(--primary-color) !important;
  color: var(--accent-color) !important;
}

/* ==========================================
   CLASSIC CATEGORY SCROLLER SECTION
   ========================================== */
.category-scroller-section {
  background-color: transparent;
  padding: 40px 0;
  transition: var(--transition-smooth);
}

[data-bs-theme="dark"] .category-scroller-section {
  background-color: transparent;
  border-top: none;
  border-bottom: none;
}

.category-scroller-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 10px 1rem; /* Match px-3 padding */
  margin: 0 -1rem; /* Negative margin pulls it to screen edges */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
  align-items: center;
}

/* Fix WebKit bug where right padding is ignored in scroll containers */
.category-scroller-wrapper::after {
  content: '';
  padding-right: 0.02px;
}

@media (min-width: 768px) {
  .category-scroller-wrapper {
    gap: 30px;
  }
}

@media (min-width: 992px) {
  .category-scroller-wrapper {
    padding: 10px 0;
    margin: 0;
    justify-content: space-between;
  }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.category-scroller-wrapper::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.category-scroller-wrapper {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  min-width: 85px;
  flex: 0 0 auto;
  transition: var(--transition-smooth);
  text-align: center;
}

@media (min-width: 768px) {
  .category-item {
    min-width: 120px;
  }
}
.category-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.04);
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: var(--transition-smooth);
  position: relative;
}

/* Dynamic dark mode background for the circle cards */
[data-bs-theme="dark"] .category-circle {
  background-color: #1a1a1d; 
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #333333;
}

.category-circle img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

/* Hover effects */
.category-item:hover .category-circle {
  transform: translateY(-8px);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-color);
  background-color: #ffffff;
}

[data-bs-theme="dark"] .category-item:hover .category-circle {
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.4);
  background-color: #222226;
  border-color: var(--accent-color);
}

.category-item:hover .category-circle img {
  transform: scale(1.1);
}

.category-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition-smooth);
  font-family: var(--font-primary);
}

.category-item:hover .category-name {
  color: var(--accent-color);
}

/* Navigation buttons styling */
.scroller-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  color: #222222;
}

[data-bs-theme="dark"] .scroller-nav-btn {
  background-color: #252528;
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.scroller-nav-btn:hover {
  background-color: var(--accent-color);
  color: #000000;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

[data-bs-theme="dark"] .scroller-nav-btn:hover {
  background-color: var(--accent-color);
  color: #000000;
  border-color: var(--accent-color);
}

.scroller-nav-btn.btn-left {
  left: 20px;
}

.scroller-nav-btn.btn-right {
  right: 20px;
}

.scroller-nav-btn i {
  font-size: 24px;
}

/* Container responsive adjustments for arrow positioning */
@media (max-width: 991px) {
  .scroller-nav-btn.btn-left {
    left: 10px;
  }
  .scroller-nav-btn.btn-right {
    right: 10px;
  }
}

/* Hide arrows on mobile screens since user can swipe */
@media (max-width: 768px) {
  .scroller-nav-btn {
    display: none;
  }
}


