:root {
  --primary: #623ab3;
  --primary-dark: #4814b1;
  --secondary: #1577a5;
  --dark: #222222;
  --gray-light: #f5f5f5;
  --gray-mid: #e0e0e0;
  --text-muted: #777;
  --blue-cta: #0056b3;
  --navbar-height: 70px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Hind Siliguri", sans-serif;
  color: var(--dark);
  background: #fff;
  margin: 0;
}

/* ── TOP BAR ── */
.top-bar {
  background: #fff;
  border-bottom: 1px solid var(--gray-mid);
  padding: 5px 0;
  font-size: 12px;
}
.top-bar a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.top-bar a:hover {
  text-decoration: underline;
}

/* ── NAVBAR ── */
.main-navbar {
  background: #fff;
  border-bottom: 2px solid var(--gray-mid);
  height: var(--navbar-height);
  padding: 0 15px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-right: 12px;
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  background: #fff;
  color: var(--dark);
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.mobile-menu-toggle i {
  font-size: 24px;
}
.navbar-brand img {
  height: 42px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.search-bar {
  flex: 1;
  margin: 0 20px;
  position: relative;
}
.search-bar input {
  width: 100%;
  border: 2px solid var(--gray-mid);
  border-radius: 4px;
  padding: 9px 50px 9px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.search-bar input:focus {
  border-color: var(--primary);
}
.search-bar button {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 0 16px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.2s;
}
.search-bar button:hover {
  background: var(--primary-dark);
}
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  background: #fff;
  border: 1px solid rgba(98, 58, 179, 0.14);
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  z-index: 1005;
}
.search-suggestions.is-visible {
  display: block;
}
.search-suggestions-list {
  margin: 0;
  padding: 6px 0;
  list-style: none;
}
.search-suggestions-empty {
  padding: 14px 16px;
  color: var(--text-muted);
  font-size: 13px;
}
.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: inherit;
  text-decoration: none;
  transition: background 0.18s ease;
}
.search-suggestion-item:hover {
  background: #f7f4ff;
}
.search-suggestion-thumb {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 10px;
  object-fit: cover;
  background: #f5f5f5;
}
.search-suggestion-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-suggestion-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-suggestion-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.search-suggestion-original {
  color: #9b9b9b;
  font-weight: 500;
  text-decoration: line-through;
}
.nav-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--dark);
  font-size: 11px;
  position: relative;
  cursor: pointer;
}
.nav-icon-btn i {
  font-size: 22px;
  margin-bottom: 2px;
}
.nav-icon-btn:hover {
  color: var(--primary);
}
.badge-count {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-links a {
  color: var(--dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.auth-links a:hover {
  color: var(--primary);
}
.mobile-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
  z-index: 1040;
}
.mobile-sidebar-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: min(88vw, 360px);
  height: 100vh;
  background: #fff;
  box-shadow: 18px 0 42px rgba(15, 23, 42, 0.18);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1050;
  display: flex;
  flex-direction: column;
}
.mobile-sidebar.is-open {
  transform: translateX(0);
}
.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--gray-mid);
}
.mobile-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.mobile-sidebar-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  background: #fff;
  color: var(--dark);
}
.mobile-sidebar-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--gray-mid);
}
.mobile-sidebar-tab {
  border: 1px solid var(--gray-mid);
  background: #fff;
  color: var(--dark);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
}
.mobile-sidebar-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.mobile-sidebar-panels {
  flex: 1;
  overflow: hidden;
}
.mobile-sidebar-panel {
  display: none;
  height: 100%;
  overflow-y: auto;
}
.mobile-sidebar-panel.is-active {
  display: block;
}
.mobile-sidebar-list {
  padding: 12px 16px 24px;
}
.mobile-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.mobile-sidebar-link:hover {
  color: var(--primary);
}
.mobile-sidebar-link-media {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.mobile-sidebar-link-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mobile-sidebar-link-media i {
  font-size: 18px;
  color: var(--primary);
}
body.mobile-menu-open {
  overflow: hidden;
}

/* ── CATEGORY NAV ── */
.cat-nav {
  background: #fff;
  border-bottom: 1px solid var(--gray-mid);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar {
  display: none;
}
.cat-nav-inner {
  display: flex;
  padding: 10px 15px;
  gap: 0px;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 75px;
  text-decoration: none;
  color: var(--dark);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 4px 6px;
  border-radius: 8px;
  transition:
    background 0.2s,
    color 0.2s;
}
.cat-item:hover {
  /* background: #ffeaea; */
  color: var(--primary);
}
.cat-item .cat-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-light);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-item .cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-item .cat-icon i {
  font-size: 22px;
  color: var(--primary);
}

/* ── HERO SECTION ── */
.hero-section {
  background: var(--gray-light);
  padding: 12px 0;
}
.hero-carousel .carousel-item {
  height: 320px;
  background: linear-gradient(120deg, #fff5cc 0%, #fff 100%);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-promo {
  background: var(--secondary);
  border-radius: 8px;
  padding: 30px 40px;
  text-align: center;
  color: #222;
}
.hero-promo .hero-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}
.hero-promo .hero-sub {
  font-size: 14px;
  margin: 8px 0 16px;
}
.hero-promo .hero-badge {
  background: #fff;
  color: var(--primary);
  border-radius: 20px;
  padding: 4px 18px;
  font-weight: 700;
  font-size: 13px;
  display: inline-block;
}
.hero-promo .powered {
  font-size: 11px;
  margin-top: 12px;
  color: #555;
}
.side-banners {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side-banner {
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f0ff, #c8dcff);
  height: 97px;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #333;
  padding: 10px;
  position: relative;
}
.side-banner.baby {
  background: linear-gradient(135deg, #fff0f5, #ffd6e7);
}
.side-banner.kitchen {
  background: linear-gradient(135deg, #f0fff0, #c8f0c8);
}
.side-banner.deal {
  background: linear-gradient(135deg, #fff8e1, #ffe082);
}

/* ── TRUST BAR ── */
.trust-bar {
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 14px 0;
  margin: 14px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--gray-mid);
  padding: 0 20px;
}
.trust-item:last-child {
  border-right: none;
}
.trust-item i {
  font-size: 26px;
  color: var(--primary);
}
.trust-item .t-title {
  font-size: 13px;
  font-weight: 600;
}
.trust-item .t-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── SECTION TITLE ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-header h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  position: relative;
}
.section-header h5::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.section-header a {
  font-size: 13px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
}
.section-header a:hover {
  color: var(--primary);
}

/* ── PRODUCT CARD ── */
.product-card {
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition:
    box-shadow 0.25s,
    transform 0.2s;
  cursor: pointer;
  height: 100%;
}
.product-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}
.product-card .img-wrap {
  position: relative;
  padding: 16px;
  background: var(--gray-light);
  text-align: center;
  /* height: 210px; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .img-wrap img {
      max-height: 200px;
  max-width: 100%;
  object-fit: contain;
}
.product-card .badge-off {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}
.product-card .badge-emi {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: #1976d2;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}
.product-card .badge-warranty {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #4caf50;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}
.product-card .wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--gray-mid);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: #aaa;
  transition: color 0.2s;
}
.product-card .wishlist-btn:hover {
  color: var(--primary);
}
.product-card .card-body {
  padding: 12px;
}
.product-card .p-name {
    font-size: 13px;
    color: var(--dark);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
.product-name-link {
  color: inherit;
  text-decoration: none;
}
.product-name-link:hover {
  color: var(--primary);
}
.product-card .stars {
  color: #f7a700;
  font-size: 11px;
}
.product-card .reviews {
  color: var(--text-muted);
  font-size: 11px;
}
.product-card .price-now {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}
.product-card .price-old {
  font-size: 12px;
  color: #aaa;
  text-decoration: line-through;
}
.product-card .btn-buy {
  width: 100%;
  background: #fff;
  color: var(--dark);
  border: 1.5px solid var(--gray-mid);
  border-radius: 4px;
  padding: 7px;
  font-size: 12px;
  font-weight: 600;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  cursor: pointer;
}
.product-card .btn-buy:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── HOT DEAL LARGE CARD ── */
.hot-deal-card {
  border: 1.5px solid var(--gray-mid);
  border-radius: 10px;
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #fff;
  align-items: center;
  transition: box-shadow 0.2s;
}
.hot-deal-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.hot-deal-card .img-side {
  width: 140px;
  min-width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
}
.hot-deal-card .img-side img {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
}
.hot-deal-card .info {
  flex: 1;
}
.hot-deal-card .p-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
  }
.hot-deal-card .price-now {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}
.hot-deal-card .price-old {
  font-size: 13px;
  color: #aaa;
  text-decoration: line-through;
}
.hot-deal-card .btn-buy {
  background: #fff;
  border: 1.5px solid var(--gray-mid);
  color: var(--dark);
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  cursor: pointer;
  transition: 0.2s;
}
.hot-deal-card .btn-buy:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.product-slider-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.product-slider-track {
  flex: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.product-slider-track::-webkit-scrollbar {
  display: none;
}
.product-slider-row {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 2px;
}
.product-slider-item {
  width: 240px;
  flex: 0 0 240px;
}

@media (min-width: 1200px) {
  .product-slider-item {
    width: calc((100vw - 240px) / 6);
    flex-basis: calc((100vw - 240px) / 6);
  }
}
.product-slider-control {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  box-shadow: 0 10px 24px rgba(34, 34, 34, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.product-slider-control:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: #fff;
}
.product-slider-control i {
  font-size: 20px;
}

/* ── PROMO BANNER ── */
.promo-banner {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(120deg, #1a237e, #1565c0);
  color: #fff;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.promo-banner.yellow {
  background: linear-gradient(120deg, #f57f17, #fbc02d);
  color: #222;
}
.promo-banner.green {
  background: linear-gradient(120deg, #1b5e20, #388e3c);
}
.promo-banner h4 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
}
.promo-banner p {
  font-size: 13px;
  margin: 5px 0 0;
}
.promo-banner .btn-promo {
  background: #fff;
  color: var(--dark);
  border: none;
  border-radius: 4px;
  padding: 8px 22px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.promo-banner .btn-promo:hover {
  opacity: 0.85;
}

/* ── FASHION / SALE BANNER ── */
.big-brand-banner {
  background: linear-gradient(135deg, #3949ab 0%, #8e24aa 100%);
  border-radius: 10px;
  padding: 28px 32px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}
.big-brand-banner .sale-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.big-brand-banner .sub {
  font-size: 16px;
  margin-top: 5px;
}
.brand-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
.brand-logo {
  background: #fff;
  color: var(--dark);
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 15px;
}

/* ── TOP BRANDS ── */
.brand-card {
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
  cursor: pointer;
  height: 100%;
}
.brand-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.brand-card .brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--gray-mid);
}
.brand-card .brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  overflow: hidden;
}
.brand-card .brand-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-card .brand-name {
  font-weight: 700;
  font-size: 14px;
}
.brand-card .brand-count {
  font-size: 11px;
  color: var(--text-muted);
}
.brand-card .brand-stars {
  color: #f7a700;
  font-size: 12px;
}
.brand-card .brand-products {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: var(--gray-light);
}
.brand-card .brand-products img {
  width: calc(33.33% - 4px);
  height: 65px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

/* ── GROCERY BANNER ── */
.grocery-banner {
  background: linear-gradient(120deg, #1565c0, #1976d2, #0288d1);
  border-radius: 10px;
  padding: 30px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}
.grocery-banner h3 {
  font-size: 30px;
  font-weight: 900;
  margin: 0;
}
.grocery-banner p {
  font-size: 14px;
  margin: 6px 0 0;
}

/* ── APP DOWNLOAD BANNER ── */
.app-banner {
  background: linear-gradient(120deg, #0d47a1, #1565c0 60%, #1e88e5);
  border-radius: 10px;
  padding: 28px 36px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}
.app-banner h4 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
}
.app-banner p {
  font-size: 13px;
  margin: 6px 0 12px;
}
.btn-google-play {
  background: #000;
  color: #fff;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* ── NEWSLETTER ── */
.newsletter-bar {
  background: linear-gradient(120deg, #623ab3, #4904d4);
  color: #fff;
  padding: 22px 0;
}
.newsletter-bar h6 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}
.newsletter-bar p {
  font-size: 12px;
  margin: 0;
  opacity: 0.85;
}
.newsletter-bar .input-group input {
  border-radius: 4px 0 0 4px;
  border: none;
  padding: 9px 14px;
  font-size: 13px;
}
.newsletter-bar .input-group button {
  border-radius: 0 4px 4px 0;
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.download-cta {
  text-align: right;
}
.download-cta h6 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.download-cta p {
  font-size: 12px;
  margin: 0 0 10px;
  opacity: 0.85;
}
.btn-download {
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: 4px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-download:hover {
  opacity: 0.9;
}

/* ── FOOTER ── */
footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 36px 0 18px;
}
footer .footer-logo {
  margin-bottom: 10px;
}
footer .footer-logo img {
  height: 36px;
  filter: brightness(2);
}
footer h6 {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li {
  margin-bottom: 8px;
}
footer ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
footer ul li a:hover {
  color: #fff;
}
footer .footer-contact {
  font-size: 13px;
  color: #aaa;
}
footer .footer-contact strong {
  color: #fff;
  font-size: 18px;
  display: block;
  margin: 4px 0 10px;
}
footer .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
footer .social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
}
footer .social-icons a:hover {
  background: var(--primary);
}
footer .footer-bottom {
  border-top: 1px solid #333;
  margin-top: 24px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #888;
}
footer .footer-copyright {
  flex: 1 1 220px;
}
footer .payment-methods {
  display: flex;
  flex: 1 1 280px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
footer .payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
footer .payment-methods .pm {
  background: #fff;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
  color: #333;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .main-navbar {
    height: auto;
    min-height: var(--navbar-height);
    padding: 10px 12px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .navbar-brand {
    margin-right: 0 !important;
    flex: 1;
    min-width: 0;
  }
  .navbar-brand-text {
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .search-bar {
    order: 3;
    flex: 0 0 100%;
    margin: 0;
  }
  .search-bar input {
    padding: 10px 48px 10px 14px;
  }
  .search-suggestions {
    top: calc(100% + 6px);
    border-radius: 12px;
  }
  .search-suggestion-item {
    padding: 10px 12px;
  }
  .search-suggestion-thumb {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
  .search-suggestion-name {
    font-size: 13px;
  }
  .product-card .img-wrap {
    height: 170px;
  }
  .product-card .img-wrap img {
    max-height: 140px;
  }
  .nav-icons {
    gap: 10px;
    margin-left: auto;
  }
  .auth-links {
    display: none !important;
  }
  .nav-icon-btn {
    font-size: 10px;
  }
  .nav-icon-btn span:last-child {
    display: none;
  }
  .nav-icon-btn i {
    font-size: 20px;
    margin-bottom: 0;
  }
  .badge-count {
    top: -5px;
    right: -6px;
  }
  .hero-carousel .carousel-item {
    height: auto;
  }
  .hot-deal-card {
    flex-direction: column;
  }
  .hot-deal-card .img-side {
    width: 100%;
  }
  .product-slider-shell {
    display: block;
  }
  .big-brand-banner {
    flex-direction: column;
    gap: 16px;
  }
  footer {
    padding: 28px 0 18px;
  }
  footer .row.g-4 > div {
    text-align: left;
  }
  footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  footer .footer-copyright,
  footer .payment-methods {
    flex: 0 0 auto;
    width: 100%;
  }
  footer .payment-methods {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  footer .payment-badges {
    justify-content: flex-start;
  }
  footer .payment-methods .pm {
    min-width: 0;
  }
}

/* ── INLINE STYLE REPLACEMENTS ── */

/* Navbar Brand */
.navbar-brand-text {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
}
.navbar-brand-icon {
  color: var(--primary);
}
.navbar-brand-secondary {
  color: var(--secondary);
}

/* Auth Links */
.auth-separator {
  color: #ccc;
}

/* Carousel */
.carousel-rounded {
  border-radius: 10px;
  overflow: hidden;
}

#heroCarousel .carousel-indicators {
  margin-bottom: 14px;
  gap: 8px;
}

#heroCarousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  opacity: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transition:
    width 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

#heroCarousel .carousel-indicators .active {
  width: 28px;
  background: var(--primary);
  box-shadow: 0 6px 18px rgba(232, 35, 42, 0.3);
}

#heroCarousel .carousel-indicators [data-bs-target]:hover {
  transform: translateY(-1px);
  background: #fff;
}

/* Hero Promo Variants */
.hero-promo-blue {
  background: linear-gradient(120deg, #e3f2fd, #bbdefb);
}
.hero-promo-blue .hero-title {
  color: #1565c0;
}
.hero-promo-blue .hero-sub {
  color: #333;
}
.hero-promo-blue .hero-badge {
  background: var(--primary);
  color: #fff;
}
.hero-promo-purple {
  background: linear-gradient(120deg, #f3e5f5, #e1bee7);
}
.hero-promo-purple .hero-title {
  color: #6a1b9a;
}
.hero-promo-purple .hero-sub {
  color: #333;
}
.hero-promo-purple .hero-badge {
  background: #6a1b9a;
  color: #fff;
}

/* Side Banner Content */
.side-banner-title {
  font-size: 11px;
  font-weight: 700;
}
.side-banner-percent {
  font-size: 22px;
  font-weight: 900;
}
.side-banner-sub {
  font-size: 11px;
}
.side-banner-icon {
  position: absolute;
  right: 10px;
}
.side-banner.baby .side-banner-title {
  color: #e91e63;
}
.side-banner.baby .side-banner-percent {
  color: #e91e63;
}
.side-banner.baby .side-banner-icon {
  font-size: 40px;
  color: #f48fb1;
  opacity: 0.5;
}
.side-banner.kitchen .side-banner-title {
  color: #2e7d32;
}
.side-banner.kitchen .side-banner-percent {
  color: #2e7d32;
}
.side-banner.kitchen .side-banner-icon {
  font-size: 38px;
  color: #a5d6a7;
  opacity: 0.6;
}
.side-banner.deal .side-banner-title {
  color: #e65100;
}
.side-banner.deal .side-banner-percent {
  color: #e65100;
}
.side-banner.deal .side-banner-icon {
  font-size: 38px;
  color: #ffcc02;
  opacity: 0.6;
}

/* Big Brand Banner Colors */
.brand-logo-red {
  color: #e91e63;
}
.brand-logo-maroon {
  color: #d32f2f;
}
.brand-logo-blue {
  color: #1565c0;
}
.brand-logo-orange {
  color: #f57f17;
}

/* Hot Deal Card Badges */
.deal-badge {
  position: absolute;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}
.deal-badge-green {
  top: 6px;
  left: 6px;
  background: #4caf50;
  color: #fff;
}
.deal-badge-yellow {
  top: 6px;
  left: 6px;
  background: #f7a700;
  color: #222;
}
.deal-badge-blue {
  bottom: 6px;
  left: 6px;
  background: #1976d2;
  color: #fff;
}

/* Product Card Icons */
.product-icon {
  font-size: 70px;
  opacity: 0.4;
}
.product-icon-lg {
  font-size: 80px;
}
.product-icon-sm {
  font-size: 24px;
}
.product-icon-router {
  color: #1565c0;
}
.product-icon-phone {
  color: #333;
}
.product-icon-watch {
  color: #795548;
}
.product-icon-pink {
  color: #e91e63;
}
.product-icon-blue {
  color: #2196f3;
}
.product-icon-purple {
  color: #9c27b0;
}
.product-icon-gray {
  color: #607d8b;
}
.product-icon-yellow {
  color: #ffc107;
}
.product-icon-green {
  color: #4caf50;
}
.product-icon-dark {
  color: #37474f;
}
.product-icon-light {
  color: #90a4ae;
}
.product-icon-navy {
  color: #1a237e;
}
.product-icon-black {
  color: #212121;
}
.product-icon-orange {
  color: #ff6f00;
}
.product-icon-red {
  color: #e53935;
}

/* Promo Banner Variants */
.promo-banner-orange {
  background: linear-gradient(120deg, #e65100, #f57f17);
  color: #fff;
}
.promo-banner-pink {
  background: linear-gradient(120deg, #880e4f, #e91e63);
}
.promo-banner-green {
  background: linear-gradient(120deg, #1b5e20, #388e3c);
}
.promo-banner-violet {
  background: linear-gradient(120deg, #4a148c, #7b1fa2);
}
.promo-banner-orange .btn-promo {
  color: #e65100;
}

/* Grocery Banner CTA */
.grocery-cta {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
}

/* App Banner Icon */
.app-banner-icon {
  font-size: 60px;
  opacity: 0.3;
}

/* Brand Card Variants */
.brand-logo-bg-pink {
  background: #fce4ec;
}
.brand-logo-bg-blue {
  background: #e3f2fd;
}
.brand-logo-bg-yellow {
  background: #fff8e1;
}
.brand-product-box {
  flex: 1;
  height: 60px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Newsletter Icon */
.newsletter-icon {
  font-size: 30px;
  opacity: 0.8;
}

/* Footer */
.footer-logo-text {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}
.footer-trustpilot {
  color: #00b67a;
  font-weight: 700;
}

/* Payment Methods */
.pm-bkash {
  color: #c0392b;
}
.pm-visa {
  color: #003087;
}
.pm-mc {
  color: #eb001b;
}
.pm-amex {
  color: #003087;
}
.pm-nagad {
  color: #2e7d32;
}
.payment-label {
  font-size: 11px;
  color: #888;
}

/* Brand Logo Text */
.brand-logo-text-pink {
  color: #e91e63;
  font-size: 11px;
  font-weight: 900;
}

/* Hero Promo Min Height */
.hero-promo-center {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Hot Deal Image Side */
.hot-deal-img-side {
  position: relative;
}

/* Brand Products Box */
.brand-products-box {
  background: var(--gray-light);
}

/* Newsletter Input */
.newsletter-input {
  max-width: 340px;
}

/* Footer Review Text */
.footer-review-text {
  font-size: 11px;
  color: #888;
}

/* EBL Service Text */
.ebl-service-text {
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 600;
}

/* Category Slider Upgrade */
.cat-nav {
  background:
    radial-gradient(circle at top left, rgba(247, 167, 0, 0.16), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fff8f1 100%);
  border-bottom: 1px solid rgba(224, 224, 224, 0.9);
  padding: 14px 0 18px;
  overflow: hidden;
  white-space: normal;
}
.cat-nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-nav-track {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  cursor: grab;
}
.cat-nav-track::-webkit-scrollbar {
  display: none;
}
.cat-nav-track.is-dragging {
  cursor: grabbing;
}
.cat-nav-inner {
  display: flex;
  gap: 0px;
  padding: 6px 2px;
  width: max-content;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 112px;
  max-width: 118px;
  padding: 8px 4px 2px;
  color: var(--dark);
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  scroll-snap-align: start;
  transition:
    transform 0.22s ease,
    color 0.22s ease;
}
.cat-item:hover,
.cat-item.is-active {
  color: var(--primary);
  transform: scale(0.96);
}
.cat-item .cat-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  /* background: radial-gradient(circle at 30% 30%, #dff8ff 0%, #bfeefe 65%, #a9e5fb 100%); */
  box-shadow: 0 10px 22px rgba(20, 124, 167, 0.14);
  transition:
    box-shadow 0.22s ease,
    transform 0.22s ease;
}
.cat-item .cat-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-item:hover .cat-icon,
.cat-item.is-active .cat-icon {
  box-shadow:
    0 0 0 5px #fff,
    0 0 0 9px rgba(114, 203, 241, 0.18),
    0 12px 24px rgba(20, 124, 167, 0.18);
  transform: scale(0.96);
}
.cat-item .cat-icon i {
  font-size: 31px;
  color: #1577a5;
}
.cat-label {
  display: -webkit-box;
  min-height: 2.6em;
  overflow: hidden;
  line-height: 1.25;
  text-transform: uppercase;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cat-nav-control {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  box-shadow: 0 10px 24px rgba(34, 34, 34, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.cat-nav-control:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: #fff;
}
.cat-nav-control.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.cat-nav-control i {
  font-size: 20px;
}
.cat-nav-progress {
  width: min(420px, calc(100% - 40px));
  height: 5px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.08);
  overflow: hidden;
}
.cat-nav-progress-bar {
  display: block;
  width: 28%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  transition:
    width 0.2s ease,
    transform 0.2s ease;
}

@media (max-width: 991.98px) {
  .cat-nav-shell {
    gap: 8px;
  }
  .cat-item {
    min-width: 106px;
    max-width: 112px;
  }
}

@media (max-width: 767.98px) {
  .cat-nav {
    padding: 10px 0 14px;
  }
  .product-slider-control {
    display: none;
  }
  .product-slider-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .product-slider-row {
    display: flex;
    gap: 12px;
    width: max-content;
  }
  .product-slider-item {
    width: calc((100vw - 36px) / 2);
    flex: 0 0 calc((100vw - 36px) / 2);
    scroll-snap-align: start;
  }
  .cat-nav-control {
    display: none;
  }
  .cat-nav-track {
    scroll-snap-type: x mandatory;
  }
  .cat-nav-inner {
    gap: 0;
    padding: 4px 2px;
  }
  .cat-item {
    min-width: 96px;
    max-width: 102px;
    padding: 6px 2px 0;
    font-size: 11px;
  }
  .cat-item .cat-icon {
    width: 66px;
    height: 66px;
    margin-bottom: 8px;
  }
  .cat-item .cat-icon i {
    font-size: 26px;
  }
  .cat-label {
    min-height: 2.5em;
  }
}
