@charset "UTF-8";
:root {
  --status-switch-bg: linear-gradient(135deg, #f8faf8 0%, #f0fdf4 100%);
  --theme-bg: #f8faf8;
  --theme-bg-light: rgb(188 189 188 / 0.40);
  --theme-color: #252830;
  --theme-border-color: #d1d5db;
}

body.theme-dark {
  --status-switch-bg: linear-gradient(135deg, #252830 0%, #252830 100%);
  --theme-bg: #252830;
  --theme-bg-light: rgb(78 78 78 / 0.40);
  --theme-color: #f8faf8;
  --theme-border-color: rgba(255, 255, 255, 0.08);
}

/* Home Alt - Modern Design */
:root {
  --home-alt-primary: #5bb318;
  --home-alt-primary-rgb: 91, 179, 24;
  --home-alt-primary-subtle: rgba(91, 179, 24, 0.12);
  --home-alt-primary-light: rgba(91, 179, 24, 0.08);
}

/* Bengali locale: Anek Bangla font (loaded in layout when locale=bn) */
body.locale-bn,
body.locale-bn * {
  font-family: "Anek Bangla", sans-serif;
}

/* ── Hero Carousel ── */
.hero-carousel-section {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-slide-content {
  color: #fff;
  max-width: 560px;
}

.hero-slide-badge {
  display: inline-block;
  background: var(--home-alt-primary);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.hero-slide-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-slide-desc {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.hero-slide-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-slide-price-old {
  font-size: 1.1rem;
  text-decoration: line-through;
  opacity: 0.6;
}

.hero-slide-price-current {
  font-size: 2rem;
  font-weight: 800;
  color: var(--home-alt-primary);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-slide-price-unit {
  font-size: 0.95rem;
  opacity: 0.7;
}

.hero-slide-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-slide-btn {
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  box-shadow: 0 4px 15px rgba(91, 179, 24, 0.35);
}

.hero-slide-btn-outline {
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-width: 2px;
}

.hero-carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  font-size: 1.3rem;
  color: #fff;
  transition: all 0.3s;
}

.hero-carousel-arrow:hover {
  background: var(--home-alt-primary);
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: auto;
  padding: 1.5rem 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
  opacity: 1;
}

#heroCarousel .carousel-indicators {
  margin-bottom: 1.5rem;
}

#heroCarousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  opacity: 1;
  transition: all 0.3s;
}

#heroCarousel .carousel-indicators button.active {
  width: 32px;
  border-radius: 5px;
  background: var(--home-alt-primary);
  border-color: var(--home-alt-primary);
}

#heroCarousel .carousel-item {
  transition: transform 0.6s ease-in-out;
}

@media (max-width: 991.98px) {
  .hero-slide {
    height: 420px;
  }
  .hero-slide-title {
    font-size: 2rem;
  }
}
@media (max-width: 575.98px) {
  .hero-slide {
    height: 360px;
  }
  .hero-slide-title {
    font-size: 1.5rem;
  }
  .hero-slide-desc {
    font-size: 0.9rem;
  }
  .hero-slide-price-current {
    font-size: 1.5rem;
  }
  .hero-slide-btn, .hero-slide-btn-outline {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }
}
/* ── Need Help Top Bar ── */
.need-help-topbar {
  position: relative;
  z-index: 100; /* above sticky navbar (1020) so lang dropdown is visible */
  background: linear-gradient(180deg, #0f1f0f 0%, #1a2e1a 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.need-help-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.need-help-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.need-help-link:hover {
  color: var(--home-alt-primary);
}

.need-help-topbar .need-help-link iconify-icon {
  font-size: 0.95rem;
}

.need-help-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Marketplace language switch (modern, top bar) */
.marketplace-lang-switch {
  display: inline-flex;
}

.marketplace-lang-switch .dropdown-menu {
  z-index: 1060;
  margin-top: 0.5rem;
  padding: 0.5rem;
  min-width: 8.5rem;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
  font-size: 0.8125rem;
}
.marketplace-lang-switch .dropdown-menu li {
  margin-top: 5px;
}

.marketplace-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1rem 0.8rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.marketplace-lang-btn .marketplace-lang-icon {
  margin-top: 2px;
}

.marketplace-lang-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.marketplace-lang-btn:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
  outline: 0;
}

.marketplace-lang-btn[aria-expanded=true] {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.marketplace-lang-btn .marketplace-lang-icon iconify-icon {
  font-size: 0.75rem;
  opacity: 0.95;
}

.marketplace-lang-btn .marketplace-lang-chevron {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.marketplace-lang-btn .marketplace-lang-chevron iconify-icon {
  font-size: 0.65rem;
  opacity: 0.85;
}

.marketplace-lang-btn.dropdown-toggle::after {
  display: none;
}

.marketplace-lang-switch.show .marketplace-lang-btn .marketplace-lang-chevron {
  transform: rotate(180deg);
}

.marketplace-lang-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.marketplace-lang-dropdown .dropdown-item:hover {
  background: rgba(45, 90, 39, 0.08);
  color: var(--home-alt-primary, #2d5a27);
}

.marketplace-lang-dropdown .marketplace-lang-item.active {
  background: rgba(45, 90, 39, 0.12);
  color: var(--home-alt-primary, #2d5a27);
  font-weight: 600;
}

.marketplace-lang-dropdown .marketplace-lang-item.active:hover {
  background: rgba(45, 90, 39, 0.18);
}

.marketplace-lang-check {
  font-size: 1rem;
  color: var(--home-alt-primary, #2d5a27);
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .need-help-topbar {
    padding: 0.4rem 0;
    font-size: 0.8rem;
  }
  .need-help-right {
    gap: 1rem;
  }
}
@media (max-width: 575.98px) {
  .need-help-topbar {
    padding: 0.35rem 0;
    font-size: 0.75rem;
  }
  .need-help-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .need-help-topbar .need-help-link:first-child span {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .need-help-right {
    gap: 0.75rem;
  }
  .need-help-right .need-help-link {
    font-size: 0.75rem;
  }
  .home-alt-nav .navbar-brand {
    flex-shrink: 0;
  }
  .home-alt-nav .navbar-brand img {
    height: 28px;
  }
  .home-alt-nav .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
/* Mobile header: prevent overflow on very small screens */
@media (max-width: 399px) {
  .home-alt-nav .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .home-alt-nav .navbar-brand img {
    height: 24px;
  }
  .home-alt-nav .mobile-header-search .form-control {
    font-size: 0.8rem;
  }
  .home-alt-nav .mobile-header-search .form-control::placeholder {
    font-size: 0.8rem;
  }
  .home-alt-nav .nav-icon-btn {
    padding: 0.4rem !important;
  }
}
/* ── Modern Navbar ── */
.home-alt-nav {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  overflow: visible !important;
}

.home-alt-nav .navbar-collapse {
  overflow: visible !important;
}

.home-alt-nav .container {
  overflow: visible !important;
}

.home-alt-nav .nav-search-wrap {
  border: 1px solid rgba(91, 179, 24, 0.2);
  border-radius: 30px;
}
.home-alt-nav .nav-search-wrap .nav-search-location {
  background-color: var(--home-alt-primary-subtle) !important;
}
.home-alt-nav .nav-search-wrap .nav-search-separator {
  background-color: var(--home-alt-primary-subtle) !important;
  position: relative;
  width: 10px;
  display: grid;
  place-items: center;
}
.home-alt-nav .nav-search-wrap .nav-search-separator iconify-icon {
  margin-left: -15px;
  font-size: 0.8rem;
}

.home-alt-nav .nav-search-wrap .form-control {
  font-size: 0.95rem;
}

.home-alt-nav .nav-search-wrap .form-control::placeholder {
  color: var(--text-muted);
}

.btn-categories-dropdown {
  background: var(--home-alt-primary-subtle);
  color: var(--home-alt-primary);
  border: 1px solid rgba(91, 179, 24, 0.2);
  padding: 0.4rem 1.1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-categories-dropdown:hover {
  background: var(--home-alt-primary);
  color: white;
  border-color: var(--home-alt-primary);
  transform: translateY(-1px);
}

.cat-chevron {
  transition: transform 0.25s ease;
}

/* ── Mega Menu ── */
.nav-categories-wrap {
  position: relative;
}

.mega-menu-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  z-index: 1055;
  width: 850px;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.nav-categories-wrap.is-open .mega-menu-panel {
  display: block;
  animation: megaSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-categories-wrap.is-open .btn-categories-dropdown {
  background: var(--home-alt-primary);
  color: white;
  border-color: var(--home-alt-primary);
}

.nav-categories-wrap.is-open .cat-chevron {
  transform: rotate(180deg);
}

@keyframes megaSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ── Split Pane Mega Menu ── */
.mega-menu-inner {
  display: flex;
  max-height: 520px;
}

/* Sidebar */
.mega-sidebar {
  width: 250px;
  flex-shrink: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  background: #fafafa;
}

.mega-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  flex-grow: 1;
}

.mega-sidebar-list::-webkit-scrollbar {
  width: 4px;
}

.mega-sidebar-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.mega-sidebar-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mega-sidebar-item:last-child {
  border-bottom: none;
}

.mega-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mega-sidebar-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.mega-sidebar-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.mega-sidebar-label {
  flex-grow: 1;
}

.mega-sidebar-arrow {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

/* Hover & Active States */
.mega-sidebar-item:hover .mega-sidebar-link,
.mega-sidebar-item.active .mega-sidebar-link {
  background: #fff;
  color: var(--home-alt-primary);
  box-shadow: -3px 0 0 inset var(--home-alt-primary);
}

.mega-sidebar-item:hover .mega-sidebar-arrow,
.mega-sidebar-item.active .mega-sidebar-arrow {
  color: var(--home-alt-primary);
  transform: translateX(3px);
}

.mega-sidebar-footer {
  padding: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #f8fdf5;
}

.mega-browse-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--home-alt-primary);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mega-browse-all:hover {
  background: var(--home-alt-primary);
  color: white;
}

/* Content Area */
.mega-content {
  flex-grow: 1;
  padding: 1.5rem;
  background: #fff;
  overflow-y: auto;
  position: relative;
  scrollbar-width: thin;
}

.mega-content::-webkit-scrollbar {
  width: 4px;
}

.mega-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.mega-content-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.mega-content-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mega-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mega-content-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
}

.mega-content-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--home-alt-primary);
  text-decoration: none;
}

.mega-content-view-all:hover {
  text-decoration: underline;
}

/* Subcategories Grid */
.mega-subcats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}

.mega-subcat-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mega-subcat-card:hover {
  background: var(--home-alt-primary-subtle);
  transform: translateY(-1px);
}

.mega-subcat-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  color: var(--text-dark);
  border-radius: 6px;
  font-size: 1rem;
  flex-shrink: 0;
}

.mega-subcat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.mega-subcat-card:hover .mega-subcat-icon {
  background: #fff;
  color: var(--home-alt-primary);
}

.mega-subcat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
}

.mega-subcat-card:hover .mega-subcat-label {
  color: var(--home-alt-primary);
}

.mega-subcats-empty {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mega-subcats-empty .empty-icon {
  font-size: 2rem;
  opacity: 0.5;
}

.mega-subcat-info {
  display: flex;
  flex-direction: column;
}

.mega-subcat-count {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mega-promo-card {
  border-radius: 12px;
  background: #f8faf8;
  overflow: hidden;
  text-align: center;
  border: 1px dashed rgb(91, 179, 24);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mega-promo-img {
  width: 100%;
  height: 80px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  object-fit: fill;
  border-radius: 12px 12px 0 0;
  padding: 0;
}

.mega-promo-placeholder {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 2.2rem;
  color: var(--home-alt-primary-subtle);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mega-promo-content {
  padding: 0.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.mega-promo-content h6 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--home-alt-primary);
  margin-bottom: 0.5rem;
}

.mega-promo-content p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.mega-promo-btn {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.2rem 1rem;
  background-color: var(--home-alt-primary);
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.mega-promo-btn:hover {
  background-color: #4a9414;
  color: #fff;
}

/* Popular Inline */
.mega-popular-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.mega-popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.mega-popular-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 8px;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.mega-popular-item:hover {
  background: #fff;
  border-color: var(--home-alt-primary);
  box-shadow: 0 4px 12px rgba(91, 179, 24, 0.08);
}

.mega-popular-img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.mega-popular-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.mega-popular-item:hover .mega-popular-label {
  color: var(--home-alt-primary);
}

/* Mobile responsive */
@media (max-width: 991.98px) {
  .mega-menu-panel {
    display: none !important; /* Managed by offcanvas on mobile */
  }
}
/* Search location dropdown */
.nav-search-location-wrap {
  flex-shrink: 0;
}

.nav-search-location {
  border: none;
  background: #f0f0f0;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  color: #555;
  outline: none;
  cursor: pointer;
  height: 100%;
  border-radius: 18px 0 0 18px;
}

/* Nav search: focus effect on .nav-search-combo (group), not on the input – scoped to avoid affecting other forms */
.nav-search-combo .form-control:focus {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--home-alt-primary) !important;
}

:focus-visible {
  outline: 3px solid transparent !important;
  outline-offset: 3px !important;
}

.nav-search-combo {
  display: flex;
  align-items: stretch;
  background: #f1f5f9;
  border-radius: 30px;
  overflow: visible;
  border: 1px solid rgba(91, 179, 24, 0.2);
  transition: all 0.2s ease;
  position: relative;
  z-index: 1060;
}

.nav-search-combo:focus-within {
  background: white;
  box-shadow: 0 0 0 2px var(--home-alt-primary);
}

.btn-location {
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.btn-location:hover {
  color: var(--home-alt-primary);
}

.input-group.search-glass {
  background: transparent !important;
}

.nav-location-dropdown .dropdown-menu {
  min-width: 180px;
  padding: 0.5rem;
  border-radius: 12px;
}

.nav-location-dropdown .dropdown-item {
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-location-dropdown .dropdown-item:hover {
  background: var(--home-alt-primary-light);
  color: var(--home-alt-primary);
}

.nav-location-dropdown .dropdown-item iconify-icon {
  font-size: 1rem;
  opacity: 0.7;
}

.nav-help-link {
  color: var(--text-dark) !important;
}

.nav-help-link:hover {
  color: var(--home-alt-primary) !important;
}

/* Mobile accordion categories */
#mobileCatAccordion .accordion-button {
  box-shadow: none !important;
}

#mobileCatAccordion .accordion-button:not(.collapsed) {
  background: var(--home-alt-primary-light) !important;
  color: var(--home-alt-primary) !important;
}

#mobileCatAccordion .accordion-button::after {
  display: none;
}

/* ── Quick Order Cards (Modern) ── */
.quick-order-section {
  background: linear-gradient(180deg, rgba(91, 179, 24, 0.04) 0%, transparent 100%);
}

.quick-order-card {
  display: block;
  padding: 1.25rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.quick-order-card:hover {
  border-color: rgba(91, 179, 24, 0.25);
  box-shadow: 0 12px 36px rgba(91, 179, 24, 0.14);
  transform: translateY(-3px);
}

.quick-order-img {
  height: 110px;
  overflow: hidden;
  border-radius: 14px;
  background: #f8faf8;
}

.quick-order-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-order-card:hover .quick-order-img img {
  transform: scale(1.05);
}

.quick-order-title {
  color: var(--text-dark, #1a2e1a);
  font-size: 0.95rem;
  line-height: 1.35;
  transition: color 0.25s;
}

.quick-order-card:hover .quick-order-title {
  color: var(--home-alt-primary);
}

.quick-order-card small {
  font-size: 0.8rem;
}

/* Keep featured badge tiny in quick-order (override any broader icon size) */
.quick-order-section .badge-featured iconify-icon {
  font-size: 0.65rem !important;
}

/* Trust Badges */
.trust-badge-item {
  transition: all 0.2s ease;
}

.trust-badge-item .trust-badge-icon {
  height: 80px;
  width: 80px;
  display: grid;
  place-items: center;
  padding: 0 !important;
}

.trust-badge-item .trust-badge-icon iconify-icon {
  font-size: 2.4rem !important;
}

.trust-badge-item:hover .trust-badge-icon {
  background: var(--home-alt-primary) !important;
}

.trust-badge-item:hover .trust-badge-icon iconify-icon {
  color: white !important;
}

.trust-badge-icon {
  transition: all 0.2s ease;
}

/* ── Modern Product Badges (Featured, Verified) – compact pill, teal/slate ── */
.badge-featured,
.badge-verified {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  line-height: 1.2;
}

/* Featured: teal/cyan family (modern, distinct from orange) */
.badge-featured {
  color: #fff;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  box-shadow: 0 1px 4px rgba(13, 148, 136, 0.35);
}

.badge-featured iconify-icon {
  font-size: 0.65rem;
  opacity: 0.95;
}

/* Verified: keep brand green */
.badge-verified {
  color: #fff;
  background: linear-gradient(135deg, var(--home-alt-primary, #5bb318) 0%, #4a9a14 100%);
  box-shadow: 0 1px 4px rgba(91, 179, 24, 0.35);
}

.badge-verified iconify-icon {
  font-size: 0.65rem;
  opacity: 0.95;
}

/* ── Product Cards (Modern) ── */
.home-alt-product-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.home-alt-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(91, 179, 24, 0.14);
  border-color: rgba(91, 179, 24, 0.2);
}

.home-alt-product-card .card-img-container {
  height: 180px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}

.home-alt-product-card .card-body {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.25rem !important;
}

.home-alt-product-card .btn-primary-custom {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.home-alt-product-card .btn-primary-custom:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(91, 179, 24, 0.3);
}

.home-alt-product-card .card-img-top {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-alt-product-card:hover .card-img-top {
  transform: scale(1.06);
}

/* Vendor Cards */
/* Legacy vendor card (kept for compatibility) */
.vendor-card {
  text-decoration: none;
  color: var(--home-alt-primary-rgb);
}

.vendor-card-inner {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.vendor-card:hover .vendor-card-inner {
  border-color: var(--home-alt-primary);
  box-shadow: 0 8px 24px rgba(91, 179, 24, 0.12);
}

.vendor-card:hover .vendor-avatar {
  background: var(--home-alt-primary) !important;
}

.vendor-card:hover .vendor-avatar iconify-icon {
  color: white !important;
}

/* ── Modern Top Vendors Cards ── */
.top-vendors-section {
  background: linear-gradient(180deg, rgba(91, 179, 24, 0.04) 0%, #f8faf8 100%);
}

.vendor-card-modern-inner {
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.vendor-card-modern:hover .vendor-card-modern-inner {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(91, 179, 24, 0.14);
  border-color: rgba(91, 179, 24, 0.2);
}

.vendor-card-name {
  color: var(--home-alt-primary) !important;
}

.vendor-card-avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.vendor-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  padding: 2px;
}

.vendor-card-avatar-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--home-alt-primary-subtle, rgba(91, 179, 24, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.vendor-card-modern:hover .vendor-card-avatar {
  border-color: var(--home-alt-primary);
  box-shadow: 0 6px 20px rgba(91, 179, 24, 0.2);
}

.vendor-card-verified {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}
.vendor-card-verified .verify-badge {
  color: var(--home-alt-primary);
  font-size: 1rem;
}

.vendor-card-cta {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease;
}

/* Visit Store button – modern, green (no blue) */
.btn-vendor-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--home-alt-primary) !important;
  background: rgba(91, 179, 24, 0.1);
  border: 1px solid rgba(91, 179, 24, 0.25);
  border-radius: 50px;
  transition: all 0.25s ease;
}

.btn-vendor-visit .vendor-cta-icon {
  font-size: 1rem;
  color: var(--home-alt-primary);
}

.btn-vendor-visit .vendor-cta-arrow {
  font-size: 0.85rem;
  color: var(--home-alt-primary);
  transition: transform 0.25s ease;
}

.vendor-card-modern:hover .btn-vendor-visit,
.vendor-listing-card:hover .btn-vendor-visit {
  background: var(--home-alt-primary);
  color: #fff !important;
  border-color: var(--home-alt-primary);
}

.vendor-card-modern:hover .btn-vendor-visit .vendor-cta-icon,
.vendor-card-modern:hover .btn-vendor-visit .vendor-cta-arrow,
.vendor-listing-card:hover .btn-vendor-visit .vendor-cta-icon,
.vendor-listing-card:hover .btn-vendor-visit .vendor-cta-arrow {
  color: #fff !important;
}

.vendor-card-modern:hover .btn-vendor-visit .vendor-cta-arrow,
.vendor-listing-card:hover .btn-vendor-visit .vendor-cta-arrow {
  transform: translateX(3px);
}

/* Store icon in placeholder – green, properly sized */
.vendor-card-avatar-placeholder .vendor-store-icon,
.vendor-listing-avatar-placeholder .vendor-store-icon {
  font-size: 1.75rem;
  color: var(--home-alt-primary) !important;
}

.vendor-listing-avatar-placeholder .vendor-store-icon {
  font-size: 2rem;
}

.vendor-card-stats-compact {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.vendor-card-stats-compact span {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  color: #6b7280;
}

.vendor-card-stats-compact iconify-icon {
  font-size: 0.9rem;
}

.vendor-avatar {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

/* ── Popular Categories (Modern) ── */
.popular-categories-section {
  background: linear-gradient(180deg, #fff 0%, rgba(91, 179, 24, 0.02) 100%);
}

.category-card-modern-inner {
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.category-card-modern:hover .category-card-modern-inner {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(91, 179, 24, 0.14);
  border-color: rgba(91, 179, 24, 0.2);
}

.category-card-modern:hover .category-card-name {
  color: var(--home-alt-primary) !important;
}

.category-card-modern:hover .category-card-cta {
  color: var(--home-alt-primary);
}

.category-card-modern:hover .category-card-arrow {
  transform: translateX(3px);
}

.category-card-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.category-card-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  padding: 2px;
}

.category-card-modern:hover .category-card-img {
  border-color: var(--home-alt-primary);
  box-shadow: 0 6px 20px rgba(91, 179, 24, 0.2);
}

.category-card-icon-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(91, 179, 24, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.category-card-icon {
  font-size: 1.75rem;
  color: var(--home-alt-primary) !important;
  border-radius: 50%;
}

.category-card-modern:hover .category-card-icon-placeholder {
  background: rgba(91, 179, 24, 0.18);
}

.category-card-name {
  color: #1a2e1a;
  font-size: 0.9rem;
  line-height: 1.3;
}

.category-card-count {
  font-size: 0.75rem;
}

.category-card-cta {
  display: inline-flex;
  align-items: center;
  color: #6b7280;
  transition: color 0.25s ease;
}

.category-card-arrow {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

/* App Download Section */
section.bg-primary {
  background: var(--home-alt-primary) !important;
}

section.bg-primary .btn-light:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--home-alt-primary);
}

/* Ensure primary color consistency */
.home-alt-product-card .text-primary,
.home-alt-product-card .fw-bold.text-primary {
  color: var(--home-alt-primary) !important;
}

/* ── Trust Badges (Modern) ── */
.trust-badges-section {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.trust-badge-item {
  padding: 0.5rem;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.trust-badge-item:hover {
  background: var(--home-alt-primary-light);
}

/* ── Section Headers (Modern) ── */
.section-padding h2.fw-bold {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

/* ── Mobile Responsive ── */
@media (max-width: 991.98px) {
  .nav-search-wrap {
    order: 3;
    width: 100%;
    margin: 0.5rem 0 !important;
  }
  .nav-search-combo {
    width: 100%;
  }
  .home-alt-nav .navbar-collapse {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-categories-dropdown {
    margin-right: 0 !important;
  }
  .quick-order-img {
    height: 90px;
  }
  .quick-order-card {
    padding: 1rem;
  }
}
@media (max-width: 575.98px) {
  .home-alt-product-card .card-img-container {
    height: 140px;
  }
  .trust-badge-item span {
    font-size: 0.7rem;
  }
}
.stock-info {
  padding: 8px;
  font-size: 13px;
  border-radius: 999px;
  background: rgba(91, 179, 24, 0.08);
  color: #5bb318;
  border: 1px solid rgba(91, 179, 24, 0.2);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  justify-content: center;
}

.cd-order-overview-card {
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
@media (min-width: 768px) {
  .cd-order-overview-card {
    padding: 1.25rem;
  }
}
@media (min-width: 1200px) {
  .cd-order-overview-card {
    padding: 1.5rem;
  }
}

.cd-order-overview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cd-order-overview-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cd-order-overview-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}
@media (min-width: 768px) {
  .cd-order-overview-title {
    font-size: 1.15rem;
  }
}

.cd-order-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}
@media (min-width: 576px) {
  .cd-order-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .cd-order-overview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cd-overview-block {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cd-overview-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.cd-overview-icon {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.cd-overview-icon iconify-icon {
  line-height: 1;
}
@media (max-width: 420px) {
  .cd-overview-icon {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    font-size: 1.2rem;
  }
}

.cd-overview-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cd-overview-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

.cd-overview-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}
@media (min-width: 768px) {
  .cd-overview-value {
    font-size: 1.02rem;
  }
}

.cd-overview-price {
  font-size: 1.1rem;
}
@media (min-width: 768px) {
  .cd-overview-price {
    font-size: 1.2rem;
  }
}

/* neutral */
.status-neutral {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: #e2e8f0;
}
.status-neutral .cd-overview-icon {
  background: #eef2f7;
  color: #475569;
}

/* primary */
.status-primary {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
  border-color: rgba(59, 130, 246, 0.18);
}
.status-primary .cd-overview-icon {
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
}
.status-primary .cd-overview-value,
.status-primary .cd-overview-price {
  color: #1d4ed8;
}

/* success */
.status-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.18);
}
.status-success .cd-overview-icon {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
}
.status-success .cd-overview-value {
  color: #065f46;
}

/* danger */
.status-danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
  border-color: rgba(239, 68, 68, 0.18);
}
.status-danger .cd-overview-icon {
  background: rgba(239, 68, 68, 0.14);
  color: #dc2626;
}
.status-danger .cd-overview-value {
  color: #991b1b;
}

/* warning */
.status-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(217, 119, 6, 0.08) 100%);
  border-color: rgba(245, 158, 11, 0.2);
}
.status-warning .cd-overview-icon {
  background: rgba(245, 158, 11, 0.16);
  color: #d97706;
}
.status-warning .cd-overview-value {
  color: #92400e;
}

/* info */
.status-info {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(8, 145, 178, 0.08) 100%);
  border-color: rgba(6, 182, 212, 0.18);
}
.status-info .cd-overview-icon {
  background: rgba(6, 182, 212, 0.14);
  color: #0891b2;
}
.status-info .cd-overview-value {
  color: #155e75;
}

@media (min-width: 1200px) {
  .cd-overview-total .cd-overview-value {
    font-size: 1.1rem;
  }
}

.input-group.password-input {
  position: relative;
}
.input-group.password-input input.form-control {
  border-radius: 0.375rem !important;
}
.input-group.password-input .eye-button {
  position: absolute;
  right: 10px;
  top: calc(50% + 3px);
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 8;
  background: transparent;
  border: none;
  font-size: 1.2rem;
}

.mimba-share-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: 1px solid rgba(26, 71, 42, 0.2);
  border-radius: 50px;
  color: #1a472a;
  background: rgba(26, 71, 42, 0.08);
}
.mimba-share-trigger:hover {
  background: rgba(26, 71, 42, 0.1);
}

.panel-form .panel-input-icon-wrapper {
  position: relative;
  width: 100%;
}
.panel-form .panel-input-icon-field {
  padding-left: 2.5rem !important;
}
.panel-form .panel-input-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
  color: #9ca3af;
}
.panel-form .panel-input-icon iconify-icon {
  font-size: 1rem;
}
.panel-form .panel-input-icon-wrapper.is-textarea {
  align-items: flex-start;
}
.panel-form .panel-input-icon-wrapper.is-textarea .panel-input-icon {
  top: 0.85rem;
  transform: none;
}
.panel-form .panel-input-icon-wrapper.is-modern-select {
  display: block;
}
.panel-form .panel-input-icon-wrapper.is-modern-select .ts-wrapper.mimba-modern-select {
  width: 100%;
}
.panel-form .panel-input-icon-wrapper.is-modern-select .ts-control.panel-input-icon-field {
  padding-left: 2.75rem !important;
}
