/* ═══════════════════════════════════════════════════════
   BazaarHub Theme — Main CSS
   ═══════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bh-primary:    #2e7d32;
  --bh-primary-light: #43a047;
  --bh-primary-dark:  #1b5e20;
  --bh-secondary:  #ff6f00;
  --bh-accent:     #e8f5e9;
  --bh-orange:     #ff6f00;
  --bh-red:        #e53935;
  --bh-topbar-bg:  #1a7a3c;
  --bh-footer-bg:  #1b1b1b;
  --bh-white:      #ffffff;
  --bh-gray-50:    #fafafa;
  --bh-gray-100:   #f5f5f5;
  --bh-gray-200:   #eeeeee;
  --bh-gray-300:   #e0e0e0;
  --bh-gray-500:   #9e9e9e;
  --bh-gray-700:   #616161;
  --bh-gray-900:   #212121;
  --bh-text:       #2d2d2d;
  --bh-text-light: #757575;
  --bh-border:     #e8e8e8;
  --bh-radius:     10px;
  --bh-radius-lg:  16px;
  --bh-radius-xl:  24px;
  --bh-shadow:     0 2px 12px rgba(0,0,0,.08);
  --bh-shadow-md:  0 4px 20px rgba(0,0,0,.12);
  --bh-shadow-lg:  0 8px 32px rgba(0,0,0,.16);
  --bh-transition: all .25s ease;
  --bh-font:       'Nunito', sans-serif;
  --bh-font-head:  'Poppins', sans-serif;
  --bh-container:  1280px;
  --bh-header-h:   72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--bh-font); color: var(--bh-text); background: var(--bh-gray-50); line-height: 1.6; font-size: 15px; }
a { color: inherit; text-decoration: none; transition: var(--bh-transition); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--bh-font); }
ul { list-style: none; }

/* ── Container ── */
.bh-container { max-width: var(--bh-container); margin: 0 auto; padding: 0 20px; }

/* ── TOP BAR ── */
.bh-topbar { color: #fff; font-size: 13px; padding: 7px 0; }
.bh-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bh-topbar__text { font-weight: 600; }
.bh-topbar__right { display: flex; align-items: center; gap: 16px; }
.bh-topbar__phone { color: #fff; font-weight: 700; }
.bh-topbar__phone:hover { color: #ffeb3b; }
.bh-topbar__nav { display: flex; gap: 12px; }
.bh-topbar__nav a { color: rgba(255,255,255,.85); font-size: 12.5px; display: flex; align-items: center; gap: 4px; }
.bh-topbar__nav a:hover { color: #fff; }

/* ── HEADER ── */
.bh-header {
  background: var(--bh-white);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  position: sticky; top: 0; z-index: 1000;
  height: var(--bh-header-h);
  display: flex; align-items: center;
}
.bh-header__inner {
  display: flex; align-items: center;
  gap: 20px; width: 100%;
}
.bh-header__logo { flex-shrink: 0; min-width: 160px; }
.bh-logo-text {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--bh-font-head);
  font-size: 22px; font-weight: 800;
  color: var(--bh-primary);
}
.bh-logo-icon { font-size: 26px; color: var(--bh-primary); }
.bh-header__tagline { display: block; font-size: 11px; color: var(--bh-text-light); margin-top: -2px; }
.bh-logo-text--light { color: var(--bh-white); }

/* Search */
.bh-header__search { flex: 1; max-width: 560px; }
.bh-search-wrap {
  display: flex; align-items: center;
  border: 2px solid var(--bh-primary);
  border-radius: 50px; overflow: visible;
  position: relative; background: #fff;
}
.bh-search-cat {
  border: none; outline: none;
  padding: 0 12px; height: 44px;
  background: var(--bh-gray-100);
  border-right: 1px solid var(--bh-border);
  font-family: var(--bh-font); font-size: 13px;
  color: var(--bh-gray-700);
  border-radius: 50px 0 0 50px;
  min-width: 120px; cursor: pointer;
}
.bh-search-input {
  flex: 1; border: none; outline: none;
  padding: 0 16px; height: 44px;
  font-family: var(--bh-font); font-size: 14px;
  background: transparent; min-width: 0;
}
.bh-search-btn {
  background: var(--bh-primary); color: #fff;
  border-radius: 0 50px 50px 0;
  width: 48px; height: 44px;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: var(--bh-transition); flex-shrink: 0;
}
.bh-search-btn:hover { background: var(--bh-primary-dark); }
.bh-search-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border-radius: var(--bh-radius);
  box-shadow: var(--bh-shadow-lg);
  z-index: 9999; display: none; overflow: hidden;
}
.bh-search-dropdown.active { display: block; }
.bh-search-results { }
.bh-search-results li a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; transition: background .2s;
}
.bh-search-results li a:hover { background: var(--bh-gray-100); }
.bh-search-results img { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }
.bh-sr-title { font-weight: 600; font-size: 14px; }
.bh-sr-price { font-weight: 700; color: var(--bh-primary); margin-left: auto; font-size: 13px; }
.bh-search-all {
  display: block; text-align: center;
  padding: 10px; background: var(--bh-accent);
  color: var(--bh-primary); font-weight: 700; font-size: 13px;
}
.bh-search-empty { padding: 16px; text-align: center; color: var(--bh-text-light); }

/* Header Actions */
.bh-header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.bh-action-btn {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 6px 10px; border-radius: 8px;
  color: var(--bh-gray-700); font-size: 12px;
  transition: var(--bh-transition); position: relative; cursor: pointer;
}
.bh-action-btn i { font-size: 20px; }
.bh-action-btn:hover { color: var(--bh-primary); background: var(--bh-accent); }
.bh-action-count {
  position: absolute; top: 2px; right: 4px;
  background: var(--bh-secondary); color: #fff;
  font-size: 10px; font-weight: 800;
  width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.bh-action-label { font-size: 11px; color: var(--bh-text-light); }

/* Hamburger */
.bh-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: 6px; cursor: pointer;
}
.bh-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--bh-text); border-radius: 2px;
  transition: var(--bh-transition);
}
.bh-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.bh-hamburger.active span:nth-child(2) { opacity: 0; }
.bh-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── NAVBAR ── */
.bh-navbar {
  background: var(--bh-primary);
  position: sticky; top: var(--bh-header-h); z-index: 999;
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
}
.bh-navbar__inner {
  display: flex; align-items: center;
  height: 48px; gap: 0;
}

/* All Categories Button */
.bh-all-cats { position: relative; }
.bh-all-cats__btn {
  background: rgba(0,0,0,.2);
  color: #fff; padding: 0 18px; height: 48px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--bh-font); font-size: 14px; font-weight: 700;
  white-space: nowrap; transition: var(--bh-transition);
  border-radius: 0;
}
.bh-all-cats__btn:hover, .bh-all-cats--open .bh-all-cats__btn { background: rgba(0,0,0,.35); }
.bh-all-cats__btn i:last-child { font-size: 11px; transition: transform .2s; }
.bh-all-cats--open .bh-all-cats__btn i:last-child { transform: rotate(180deg); }

.bh-all-cats__panel {
  position: absolute; top: 100%; left: 0;
  width: 240px; background: #fff;
  box-shadow: var(--bh-shadow-lg);
  border-radius: 0 0 var(--bh-radius) var(--bh-radius);
  display: none; z-index: 9998; overflow: visible;
}
.bh-all-cats--open .bh-all-cats__panel { display: block; }

/* Category side nav */
.bh-cat-nav__list { }
.bh-cat-nav__item { position: relative; }
.bh-cat-nav__link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: 13.5px; font-weight: 600;
  color: var(--bh-text); transition: var(--bh-transition);
}
.bh-cat-nav__link:hover, .bh-cat-nav__item:hover > .bh-cat-nav__link {
  background: var(--bh-accent); color: var(--bh-primary);
}
.bh-cat-nav__icon { width: 24px; height: 24px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.bh-cat-nav__icon img { width: 100%; height: 100%; object-fit: cover; }
.bh-cat-nav__link i { margin-left: auto; font-size: 11px; color: var(--bh-gray-500); }

.bh-cat-subnav {
  position: absolute; left: 100%; top: 0;
  width: 200px; background: #fff;
  box-shadow: var(--bh-shadow-lg);
  border-radius: 0 var(--bh-radius) var(--bh-radius) 0;
  display: none; z-index: 9997;
}
.bh-cat-nav__item:hover .bh-cat-subnav { display: block; }
.bh-cat-subnav ul { padding: 6px 0; }
.bh-cat-subnav li a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; font-size: 13px;
  color: var(--bh-text); transition: background .2s;
}
.bh-cat-subnav li a:hover { background: var(--bh-accent); color: var(--bh-primary); }
.bh-cat-subnav li a img { width: 24px; height: 24px; object-fit: cover; border-radius: 4px; }

/* Primary Nav */
.bh-primary-nav { flex: 1; overflow: visible; }
.bh-nav-list { display: flex; align-items: center; height: 48px; }
.bh-nav-item { position: relative; height: 100%; }
.bh-nav-item > a {
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px; height: 100%;
  color: rgba(255,255,255,.92); font-size: 13.5px; font-weight: 600;
  white-space: nowrap; transition: var(--bh-transition);
}
.bh-nav-item > a:hover,
.bh-nav-item.has-mega > a:hover { background: rgba(0,0,0,.2); color: #fff; }
.bh-nav-arrow { font-size: 10px; }
.bh-nav-cat-img { width: 20px; height: 20px; border-radius: 3px; overflow: hidden; }
.bh-nav-cat-img img { width: 100%; height: 100%; object-fit: cover; }

/* Mega Dropdown */
.bh-mega-dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 600px; max-width: 900px;
  background: #fff; border-radius: 0 var(--bh-radius) var(--bh-radius) var(--bh-radius);
  box-shadow: var(--bh-shadow-lg);
  display: none; z-index: 9997;
}
.bh-nav-item.has-mega:hover .bh-mega-dropdown { display: block; }
.bh-mega-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; padding: 16px;
}
.bh-mega-inner > li { padding: 8px; }
.bh-mega-inner > li > a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 8px; border-radius: 8px;
  color: var(--bh-text); font-size: 13px; font-weight: 600;
  text-align: center; transition: background .2s;
}
.bh-mega-inner > li > a:hover { background: var(--bh-accent); color: var(--bh-primary); }
.bh-mega-col-header img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.bh-sub-menu { margin-top: 4px; }
.bh-sub-menu li a {
  display: block; padding: 4px 0;
  font-size: 12px; color: var(--bh-text-light);
  transition: color .2s;
}
.bh-sub-menu li a:hover { color: var(--bh-primary); }

/* Deals Badge */
.bh-navbar__deals {
  background: var(--bh-secondary);
  color: #fff; padding: 0 16px; height: 48px;
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 800; white-space: nowrap;
  transition: var(--bh-transition);
}
.bh-navbar__deals:hover { background: #e65100; color: #fff; }
.bh-navbar__deals i { animation: pulse 1s infinite; }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }

/* Mini Cart */
.bh-cart-wrap { position: relative; }
.bh-mini-cart {
  position: absolute; top: calc(100% + 12px); right: -10px;
  width: 340px; background: #fff;
  border-radius: var(--bh-radius-lg);
  box-shadow: var(--bh-shadow-lg);
  z-index: 9999; display: none;
  overflow: hidden;
}
.bh-cart-wrap:hover .bh-mini-cart,
.bh-mini-cart.active { display: block; }
.bh-mini-cart__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--bh-border);
  font-weight: 700; font-size: 15px; background: var(--bh-accent);
}
.bh-mini-cart__close { color: var(--bh-gray-500); font-size: 18px; }
.bh-mini-cart__close:hover { color: var(--bh-red); }
.bh-mini-cart__body { max-height: 360px; overflow-y: auto; }

/* ── MOBILE MENU ── */
.bh-mobile-menu {
  position: fixed; top: 0; left: -100%;
  width: 280px; height: 100vh;
  background: #fff; z-index: 10001;
  box-shadow: var(--bh-shadow-lg);
  transition: left .3s ease; overflow-y: auto;
}
.bh-mobile-menu.active { left: 0; }
.bh-mobile-menu__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: var(--bh-primary); color: #fff; font-weight: 700;
}
.bh-mobile-menu__header button { color: #fff; font-size: 20px; }
.bh-mobile-nav li a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; font-size: 14px; font-weight: 600;
  border-bottom: 1px solid var(--bh-gray-100); color: var(--bh-text);
}
.bh-mobile-nav li a:hover { background: var(--bh-accent); color: var(--bh-primary); }
.bh-mobile-nav .sub-menu { padding-left: 20px; }

/* Overlay */
.bh-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 10000;
  display: none; backdrop-filter: blur(2px);
}
.bh-overlay.active { display: block; }

/* ── HERO ── */
.bh-hero { padding: 20px 0; background: #fff; }
.bh-hero__layout { display: grid; grid-template-columns: 1fr 280px; gap: 16px; align-items: start; }
.bh-hero__main { border-radius: var(--bh-radius-lg); overflow: hidden; }
.bh-hero-swiper { border-radius: var(--bh-radius-lg); overflow: hidden; }
.bh-hero__slide {
  display: flex; align-items: center; justify-content: space-between;
  padding: 40px 48px; min-height: 340px;
  position: relative; overflow: hidden;
}
.bh-hero__content { flex: 1; z-index: 2; }
.bh-hero__tag {
  display: inline-block;
  background: var(--bh-secondary); color: #fff;
  padding: 4px 12px; border-radius: 50px;
  font-size: 12px; font-weight: 700; margin-bottom: 10px;
}
.bh-hero__title {
  font-family: var(--bh-font-head);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800; color: #1a3c1f;
  line-height: 1.2; margin-bottom: 8px;
}
.bh-hero__subtitle { font-size: 16px; color: #4a7b50; margin-bottom: 20px; }
.bh-hero__img { flex: 1; max-width: 280px; display: flex; align-items: center; justify-content: center; z-index: 2; }
.bh-hero__img img { max-height: 280px; width: auto; object-fit: contain; }
.bh-hero__img--placeholder {}
.bh-hero-placeholder {
  width: 200px; height: 200px;
  background: rgba(46,125,50,.1); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 48px; color: var(--bh-primary);
}
.bh-hero-placeholder span { font-size: 14px; font-weight: 700; color: var(--bh-primary); margin-top: 8px; }
.swiper-button-next, .swiper-button-prev { color: var(--bh-primary) !important; }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 18px !important; font-weight: 900 !important; }
.swiper-pagination-bullet-active { background: var(--bh-primary) !important; }

/* Hero Side Banners */
.bh-hero__side { display: flex; flex-direction: column; gap: 16px; }
.bh-hero__side-banner {
  flex: 1; border-radius: var(--bh-radius-lg);
  overflow: hidden; display: block;
  transition: transform .3s; min-height: 155px;
}
.bh-hero__side-banner:hover { transform: scale(1.02); }
.bh-hero__side-banner img { width: 100%; height: 100%; object-fit: cover; }
.bh-side-placeholder {
  width: 100%; height: 100%; min-height: 155px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--bh-primary); font-size: 24px;
}
.bh-side-placeholder span { font-size: 13px; font-weight: 700; }

/* ── FEATURES BAR ── */
.bh-features { background: #fff; padding: 16px 0; border-top: 1px solid var(--bh-border); }
.bh-features__grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
.bh-feature-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: var(--bh-radius);
  border: 1.5px solid var(--bh-border);
  transition: var(--bh-transition);
}
.bh-feature-item:hover { border-color: var(--bh-primary); background: var(--bh-accent); }
.bh-feature-item i { font-size: 28px; color: var(--bh-primary); flex-shrink: 0; }
.bh-feature-item strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--bh-text); }
.bh-feature-item span { font-size: 12px; color: var(--bh-text-light); }

/* ── CATEGORY CIRCLES ── */
.bh-cat-circles { padding: 28px 0; background: #fff; margin-top: 16px; }
.bh-cat-swiper { padding: 8px 4px 12px !important; }
.bh-cat-circle {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 8px 4px;
}
.bh-cat-circle__img {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 3px solid var(--bh-border);
  overflow: hidden; background: var(--bh-gray-100);
  display: flex; align-items: center; justify-content: center;
  transition: var(--bh-transition);
}
.bh-cat-circle__img img { width: 100%; height: 100%; object-fit: cover; }
.bh-cat-circle:hover .bh-cat-circle__img { border-color: var(--bh-primary); box-shadow: 0 0 0 3px rgba(46,125,50,.2); transform: translateY(-4px); }
.bh-cat-circle__name { font-size: 12px; font-weight: 700; text-align: center; color: var(--bh-text); line-height: 1.3; }
.bh-cat-icon-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--bh-primary);
}
.bh-cat-next, .bh-cat-prev { background: var(--bh-white) !important; width: 32px !important; height: 32px !important; border-radius: 50% !important; box-shadow: var(--bh-shadow) !important; }
.bh-cat-next:after, .bh-cat-prev:after { font-size: 12px !important; color: var(--bh-primary) !important; }

/* ── OFFER BANNERS ── */
.bh-offer-banners { padding: 20px 0; }
.bh-offer-banners__grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.bh-offer-banner {
  border-radius: var(--bh-radius-lg); overflow: hidden;
  display: block; transition: transform .3s; aspect-ratio: 2/1;
}
.bh-offer-banner:hover { transform: translateY(-4px); box-shadow: var(--bh-shadow-md); }
.bh-offer-banner img { width: 100%; height: 100%; object-fit: cover; }
.bh-offer-banner__placeholder {
  width: 100%; height: 100%; min-height: 100px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--bh-primary); font-size: 24px;
}

/* ── SECTION HEADERS ── */
.bh-section-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.bh-section-title {
  font-family: var(--bh-font-head);
  font-size: 22px; font-weight: 800; color: var(--bh-text);
  display: flex; align-items: center; gap: 8px;
}
.bh-fire-icon { color: var(--bh-secondary); animation: pulse 1s infinite; }
.bh-view-all {
  color: var(--bh-primary); font-weight: 700; font-size: 13.5px;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border: 2px solid var(--bh-primary);
  border-radius: 50px; transition: var(--bh-transition);
}
.bh-view-all:hover { background: var(--bh-primary); color: #fff; }

/* ── COUNTDOWN ── */
.bh-countdown { display: flex; align-items: center; gap: 10px; }
.bh-countdown > span { font-size: 13px; font-weight: 700; color: var(--bh-text-light); }
.bh-countdown__box {
  display: flex; flex-direction: column; align-items: center;
  background: var(--bh-primary); color: #fff;
  padding: 6px 10px; border-radius: 8px; min-width: 48px;
}
.bh-countdown__box span { font-size: 20px; font-weight: 800; line-height: 1; }
.bh-countdown__box small { font-size: 10px; opacity: .8; margin-top: 2px; }

/* ── PRODUCT CARD ── */
.bh-product-card {
  background: #fff; border-radius: var(--bh-radius-lg);
  border: 1.5px solid var(--bh-border);
  overflow: hidden; transition: var(--bh-transition);
  display: flex; flex-direction: column;
}
.bh-product-card:hover {
  box-shadow: var(--bh-shadow-md); border-color: var(--bh-primary-light);
  transform: translateY(-4px);
}
.bh-product-card__img {
  position: relative; overflow: hidden;
  aspect-ratio: 1; background: var(--bh-gray-100);
}
.bh-product-card__img a { display: block; height: 100%; }
.bh-product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bh-product-card:hover .bh-product-card__img img { transform: scale(1.06); }
.bh-product-card__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
.bh-badge {
  display: inline-block; padding: 3px 8px;
  border-radius: 50px; font-size: 11px; font-weight: 800; line-height: 1.2;
}
.bh-badge--sale { background: var(--bh-red); color: #fff; }
.bh-badge--hot  { background: var(--bh-secondary); color: #fff; }
.bh-badge--new  { background: #1565c0; color: #fff; }
.bh-badge--low  { background: #ffc107; color: #333; }
.bh-product-card__actions {
  position: absolute; top: 8px; right: 8px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(8px); transition: var(--bh-transition);
}
.bh-product-card:hover .bh-product-card__actions { opacity: 1; transform: translateX(0); }
.bh-wishlist-btn, .bh-quickview-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; box-shadow: var(--bh-shadow);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--bh-text-light);
  transition: var(--bh-transition);
}
.bh-wishlist-btn:hover, .bh-wishlist-btn.active { background: #ffebee; color: var(--bh-red); }
.bh-wishlist-btn.active { color: var(--bh-red); }
.bh-quickview-btn:hover { background: var(--bh-accent); color: var(--bh-primary); }

.bh-product-card__body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bh-product-card__cat { font-size: 11px; color: var(--bh-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.bh-product-card__title { font-size: 14px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bh-product-card__title a:hover { color: var(--bh-primary); }
.bh-product-card__rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--bh-gray-500); }
.bh-stars i { font-size: 12px; color: #ffa726; }
.bh-product-card__price { margin-top: auto; }
.bh-product-card__price .price { font-size: 16px; font-weight: 800; color: var(--bh-primary); }
.bh-product-card__price del { font-size: 13px; color: var(--bh-gray-500); }
.bh-product-card__price ins { text-decoration: none; }

/* ── BUTTONS ── */
.bh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 50px;
  font-family: var(--bh-font); font-size: 13.5px; font-weight: 700;
  transition: var(--bh-transition); cursor: pointer; border: 2px solid transparent;
}
.bh-btn--green { background: var(--bh-primary); color: #fff; border-color: var(--bh-primary); }
.bh-btn--green:hover { background: var(--bh-primary-dark); border-color: var(--bh-primary-dark); }
.bh-btn--outline { background: transparent; color: var(--bh-primary); border-color: var(--bh-primary); }
.bh-btn--outline:hover { background: var(--bh-primary); color: #fff; }
.bh-btn--lg { padding: 12px 28px; font-size: 15px; }
.bh-btn--sm { padding: 7px 14px; font-size: 12px; }
.bh-add-to-cart { width: 100%; border-radius: 8px; padding: 9px 16px; font-size: 13px; }
.bh-add-to-cart:hover { background: var(--bh-primary-dark); }

/* ── DEALS SECTION ── */
.bh-deals { padding: 28px 0; background: #fff; margin-top: 16px; }
.bh-deals-swiper { padding: 8px 4px 16px !important; }
.bh-deals-next, .bh-deals-prev {
  background: #fff !important; width: 40px !important; height: 40px !important;
  border-radius: 50% !important; box-shadow: var(--bh-shadow-md) !important;
  border: 1px solid var(--bh-border) !important;
}
.bh-deals-next::after, .bh-deals-prev::after { font-size: 14px !important; color: var(--bh-primary) !important; font-weight: 900 !important; }

/* ── FEATURED / ARRIVALS GRID ── */
.bh-featured-products, .bh-new-arrivals { padding: 28px 0; }
.bh-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.bh-arrivals-swiper { padding: 8px 4px 16px !important; }

/* ── PROMO BANNERS ── */
.bh-promo-banners { padding: 16px 0; }
.bh-promo-banners__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bh-promo-banner {
  display: block; border-radius: var(--bh-radius-lg); overflow: hidden;
  transition: transform .3s; aspect-ratio: 3/1;
}
.bh-promo-banner:hover { transform: translateY(-4px); box-shadow: var(--bh-shadow-md); }
.bh-promo-banner img { width: 100%; height: 100%; object-fit: cover; }
.bh-promo-placeholder {
  width: 100%; height: 100%; min-height: 120px;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; font-size: 28px; color: var(--bh-secondary);
}

/* ── FOOTER ── */
.bh-footer { color: #ccc; }
.bh-footer__top { padding: 48px 0 32px; }
.bh-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr) 1.5fr; gap: 32px; }
.bh-footer__col h3 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.bh-footer__col p { font-size: 13.5px; line-height: 1.7; color: #aaa; }
.bh-footer__col ul li { margin-bottom: 8px; }
.bh-footer__col ul li a { color: #aaa; font-size: 13.5px; transition: color .2s; display: flex; align-items: center; gap: 6px; }
.bh-footer__col ul li a:hover { color: var(--bh-primary-light); padding-left: 4px; }
.bh-footer__about .bh-logo-text--light { margin-bottom: 12px; font-size: 20px; }

/* Social */
.bh-social-links { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.bh-social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff; transition: transform .2s, opacity .2s;
}
.bh-social-btn:hover { transform: scale(1.15); opacity: .9; }
.bh-social-btn--facebook  { background: #1877f2; }
.bh-social-btn--instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.bh-social-btn--twitter   { background: #1da1f2; }
.bh-social-btn--youtube   { background: #ff0000; }
.bh-social-btn--whatsapp  { background: #25d366; }

/* Widget */
.widget-title { color: #fff !important; font-size: 15px !important; font-weight: 800 !important; margin-bottom: 16px !important; text-transform: uppercase; letter-spacing: .5px; }
.widget ul { margin: 0; padding: 0; }
.widget ul li { margin-bottom: 8px; }
.widget ul li a { color: #aaa !important; font-size: 13.5px; transition: color .2s; }
.widget ul li a:hover { color: var(--bh-primary-light) !important; }

/* Newsletter */
.bh-newsletter-form { display: flex; gap: 0; margin-top: 8px; }
.bh-newsletter-form input {
  flex: 1; padding: 10px 14px; border: 1.5px solid #444;
  background: #2a2a2a; color: #fff; border-radius: 8px 0 0 8px;
  font-family: var(--bh-font); font-size: 13px; outline: none;
}
.bh-newsletter-form input:focus { border-color: var(--bh-primary-light); }
.bh-newsletter-form button {
  background: var(--bh-primary); color: #fff;
  padding: 10px 16px; border-radius: 0 8px 8px 0;
  font-weight: 700; font-size: 13px; white-space: nowrap;
  transition: background .2s;
}
.bh-newsletter-form button:hover { background: var(--bh-primary-dark); }

/* Footer Bottom */
.bh-footer__bottom { border-top: 1px solid #333; padding: 16px 0; }
.bh-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.bh-footer__bottom p { font-size: 13px; color: #888; }
.bh-footer__payment { display: flex; align-items: center; gap: 12px; font-size: 24px; color: #aaa; }
.bh-footer__payment span { font-size: 12px; }

/* ── QUICK VIEW MODAL ── */
.bh-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; }
.bh-modal.active { display: flex; }
.bh-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.bh-modal__content {
  position: relative; background: #fff;
  border-radius: var(--bh-radius-xl); max-width: 800px; width: 90%;
  max-height: 90vh; overflow-y: auto; z-index: 1;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
  animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
.bh-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bh-gray-100); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--bh-transition); z-index: 2;
}
.bh-modal__close:hover { background: var(--bh-red); color: #fff; }
.bh-modal__body { padding: 32px; }
.bh-quickview { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bh-quickview__gallery img { width: 100%; border-radius: var(--bh-radius-lg); }
.bh-quickview__info { display: flex; flex-direction: column; gap: 12px; }
.bh-quickview__info h2 { font-family: var(--bh-font-head); font-size: 20px; font-weight: 700; }
.bh-quickview__price .price { font-size: 22px; font-weight: 800; color: var(--bh-primary); }
.bh-quickview__desc { font-size: 14px; color: var(--bh-text-light); line-height: 1.6; }
.bh-quickview__detail-link { font-weight: 700; color: var(--bh-primary); font-size: 13.5px; }

/* ── TOAST ── */
.bh-toast {
  position: fixed; bottom: 24px; right: 24px;
  background: #fff; color: var(--bh-text);
  padding: 14px 20px; border-radius: var(--bh-radius);
  box-shadow: var(--bh-shadow-lg);
  border-left: 4px solid var(--bh-primary);
  font-weight: 600; font-size: 14px;
  transform: translateX(200%); transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  z-index: 99999; max-width: 320px;
}
.bh-toast.show { transform: translateX(0); }
.bh-toast.error { border-color: var(--bh-red); }

/* ── BACK TO TOP ── */
.bh-back-top {
  position: fixed; bottom: 80px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bh-primary); color: #fff;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--bh-shadow-md);
  opacity: 0; transform: translateY(16px); transition: var(--bh-transition);
  z-index: 9998; pointer-events: none;
}
.bh-back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.bh-back-top:hover { background: var(--bh-primary-dark); }

/* ── SHOP PAGE ── */
.bh-shop-page { padding: 24px 0; }
.bh-shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.bh-shop-sidebar { background: #fff; border-radius: var(--bh-radius-lg); padding: 20px; border: 1px solid var(--bh-border); align-self: start; position: sticky; top: calc(var(--bh-header-h) + 60px); }
.bh-shop-title { font-family: var(--bh-font-head); font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.bh-woo-wrap { padding: 24px 0; }
.bh-woo-main { flex: 1; min-width: 0; }

/* ── WISHLIST ── */
.bh-wishlist-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 16px; padding: 20px 0; }
.bh-wishlist-empty, .bh-wishlist-login {
  text-align: center; padding: 64px 20px;
  color: var(--bh-text-light);
}
.bh-wishlist-empty i { font-size: 64px; color: var(--bh-gray-300); margin-bottom: 16px; }
.bh-wishlist-empty p, .bh-wishlist-login p { font-size: 16px; margin-bottom: 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .bh-hero__layout { grid-template-columns: 1fr 220px; }
  .bh-offer-banners__grid { grid-template-columns: repeat(2,1fr); }
  .bh-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .bh-footer__newsletter { grid-column: span 3; }
}
@media (max-width: 1024px) {
  .bh-features__grid { grid-template-columns: repeat(2,1fr); }
  .bh-mega-dropdown { min-width: 500px; }
  .bh-mega-inner { grid-template-columns: repeat(3,1fr); }
  .bh-shop-layout { grid-template-columns: 220px 1fr; }
}
@media (max-width: 768px) {
  :root { --bh-header-h: 60px; }
  .bh-topbar__right { display: none; }
  .bh-header__search { max-width: 100%; }
  .bh-search-cat { display: none; }
  .bh-action-label { display: none; }
  .bh-hamburger { display: flex; }
  .bh-primary-nav, .bh-all-cats, .bh-navbar__deals { display: none; }
  .bh-navbar { display: none; }
  .bh-hero__layout { grid-template-columns: 1fr; }
  .bh-hero__side { flex-direction: row; }
  .bh-hero__slide { padding: 24px; min-height: 240px; }
  .bh-hero__img { display: none; }
  .bh-hero__title { font-size: 24px; }
  .bh-features__grid { grid-template-columns: 1fr 1fr; }
  .bh-offer-banners__grid { grid-template-columns: 1fr 1fr; }
  .bh-promo-banners__grid { grid-template-columns: 1fr; }
  .bh-footer__grid { grid-template-columns: 1fr 1fr; }
  .bh-shop-layout { grid-template-columns: 1fr; }
  .bh-shop-sidebar { position: static; }
  .bh-quickview { grid-template-columns: 1fr; }
  .bh-mini-cart { width: 300px; right: -16px; }
}
@media (max-width: 480px) {
  .bh-hero__slide { min-height: 200px; padding: 20px; }
  .bh-hero__title { font-size: 20px; }
  .bh-features__grid { grid-template-columns: 1fr; }
  .bh-offer-banners__grid { grid-template-columns: 1fr; }
  .bh-footer__grid { grid-template-columns: 1fr; }
  .bh-products-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .bh-product-card__body { padding: 10px; }
  .bh-toast { right: 12px; left: 12px; max-width: 100%; }
}
