/* ============================================
   extra_style.css — Default Theme Overrides
   Loaded after compiled app.css
   ============================================ */

/* ── Product card image: fill square ── */
.product_tricker .product_img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}
.product_tricker .product_img .product_img_iner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.product_tricker .product_img .product_img_iner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none !important;
  max-height: none !important;
}
.product_tricker .product_img .socal_icon {
  z-index: 2;
}
.single_product_item {
  margin-bottom: 20px;
}

/* ============================================
   HOMEPAGE BANNER / MEGA MENU REDESIGN
   ── Full sidebar + slider layout ──
   ============================================ */

/* ── Banner section wrapper ── */
.banner_part {
  position: relative;
  padding-top: 16px !important;
  font-family: 'Heebo', sans-serif;
}

/* ── Slider: use full available width in right column ── */
#slider {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  margin-bottom: 12px;
}

/* ── Category & product sections stack below slider ── */
#category {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  margin-bottom: 12px;
}

#product {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ── Slider hero banner ── */
.banner_part .single_banner_slider {
  background: #f0f0f0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
}
.banner_part .single_banner_slider .row {
  margin: 0;
}
.banner_part .single_banner_slider .slider_img_div {
  display: block;
  width: 100%;
  height: 380px;
  overflow: hidden;
}
.banner_part .single_banner_slider .slider_img_div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s ease;
}
.banner_part .single_banner_slider:hover .slider_img_div img {
  transform: scale(1.05);
}

/* ── Slider dots ── */
.banner_part .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  text-align: center;
  z-index: 99;
}
.banner_part .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  margin: 0 5px;
  display: inline-block;
  transition: all 0.3s;
}
.banner_part .owl-dots .owl-dot.active {
  width: 28px;
  border-radius: 5px;
  background: #fff;
}

@media (max-width: 991px) {
  .banner_part .single_banner_slider .slider_img_div { height: 260px; }
}
@media (max-width: 575px) {
  .banner_part .single_banner_slider .slider_img_div { height: 180px; }
}

/* ============================================
   SIDEBAR CATEGORY MEGA MENU ── COMPLETE REDESIGN
   ============================================ */

.side-menu {
  padding: 0;
  background: #fff;
  border: 1px solid #e4e4e4;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ── \"Categories\" header ── */
.side-menu h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  padding: 15px 20px;
  margin: 0;
  background: #fff;
  position: relative;
}
.side-menu h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #e8e8e8;
}

/* ── Category list ── */
.side-menu nav .nav {
  background: transparent;
}
.side-menu nav .nav.nav_width {
  padding-left: 0;
  padding-right: 0;
}
.side-menu nav .nav > li {
  width: 100%;
  display: block;
  border-bottom: 1px solid #e8e8e8;
  position: relative;
}
.side-menu nav .nav > li:last-child {
  border-bottom: none;
}

/* ── Parent category link ── */
.side-menu nav .nav > li > a {
  padding: 12px 20px;
  padding-right: 35px;
  color: #222;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  background: #fff;
  display: flex;
  align-items: center;
  transition: all 0.2s;
  position: relative;
  font-family: 'Heebo', sans-serif;
}

/* ── Category icon (hidden) ── */
.side-menu nav .nav > li > a i {
  display: none;
}

/* ── Arrow indicator for categories with children ── */
.side-menu nav .nav > li.dropdown > a::after {
  content: "›";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 700;
  color: #bbb;
  transition: color 0.2s, transform 0.2s;
  border: none;
  margin: 0;
  vertical-align: unset;
}

/* ── Hover state ── */
.side-menu nav .nav > li > a:hover {
  background: #f7f7f7;
  color: #000;
  padding-left: 24px;
}
.side-menu nav .nav > li > a:hover i {
  color: var(--base_color);
}
.side-menu nav .nav > li.dropdown > a:hover::after {
  color: var(--base_color);
  transform: translateY(-50%) rotate(90deg);
}

/* ── Active/expanded state ── */
.side-menu nav .nav .show > a,
.side-menu nav .nav > li.dropdown:hover > a {
  background: #f5faff;
  color: var(--base_color);
  font-weight: 600;
}
.side-menu nav .nav .show > a i,
.side-menu nav .nav > li.dropdown:hover > a i {
  color: var(--base_color);
}

/* ── Mega menu dropdown panel ── */
.side-menu nav .nav > li > .mega-menu {
  border: none;
  border-left: 3px solid var(--base_color);
  box-shadow: 6px 6px 24px rgba(0,0,0,0.1);
  min-height: 100%;
  padding: 0;
  background: #fff;
}
.side-menu nav .nav > li > .mega-menu .spn-content {
  background: #fff !important;
  padding: 20px 24px;
  margin: 0;
}
.side-menu nav .nav > li > .mega-menu .row {
  margin: 0;
}

/* ── Category group (column) ── */
.side-menu nav .nav > li > .mega-menu .links {
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}
.side-menu nav .nav > li > .mega-menu .links li a,
.side-menu nav .nav > li > .mega-menu .spn-content ul > li > a {
  font-size: 13px;
  font-weight: 400;
  color: #222;
  padding: 4px 0;
  display: block;
  transition: all 0.15s;
  font-family: 'Heebo', sans-serif;
  line-height: 1.5;
}
.side-menu nav .nav > li > .mega-menu .links li a:hover {
  color: var(--base_color);
  padding-left: 6px;
}

/* ── First link = category header ── */
.side-menu nav .nav > li > .mega-menu .links li:first-child a {
  font-weight: 600;
  font-size: 14px;
  color: #000;
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e0e0e0;
}
.side-menu nav .nav > li > .mega-menu .links li:first-child a:hover {
  color: var(--base_color);
  padding-left: 0;
}

/* ── Sub-sub-category indentation ── */
.side-menu nav .nav > li > .mega-menu .links li a[style*="padding-left:15px"] {
  padding-left: 10px !important;
  font-size: 12px !important;
  color: #333;
}
.side-menu nav .nav > li > .mega-menu .links li a[style*="padding-left:15px"]:hover {
  color: var(--base_color);
  padding-left: 14px !important;
}

/* ── Hover open (desktop) ── */
@media (min-width: 1200px) {
  .side-menu nav .nav > li.dropdown:hover > .mega-menu {
    display: block !important;
  }
}

/* ============================================
   CATEGORY ICON SECTION (below slider)
   ============================================ */

.banner_part .banner_product_item {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.banner_part .banner_product_item .single_product_item {
  flex: 0 0 calc(25% - 10px);
  max-width: calc(25% - 10px);
  margin-bottom: 0;
}
.banner_part .banner_product_item .single_product_item .single_product_item_iner {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 18px 12px 14px;
  text-align: center;
  transition: all 0.3s;
  overflow: hidden;
}
.banner_part .banner_product_item .single_product_item .single_product_item_iner:hover {
  border-color: var(--base_color);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}
.banner_part .banner_product_item .single_product_item .single_product_item_iner img {
  max-width: 72px;
  display: block;
  margin: 0 auto 10px;
  transition: 0.3s;
  border-radius: 50%;
}
.banner_part .banner_product_item .single_product_item .single_product_item_iner:hover img {
  transform: scale(1.12);
}
.banner_part .banner_product_item .single_product_item .single_product_item_iner p {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin: 0;
  line-height: 1.4;
  font-family: 'Heebo', sans-serif;
}

@media (max-width: 575px) {
  .banner_part .banner_product_item .single_product_item {
    flex: 0 0 calc(33% - 10px);
    max-width: calc(33% - 10px);
  }
}

/* ============================================
   PRODUCT SECTION (below category icons)
   ============================================ */

.banner_part .banner_product_list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.banner_part .banner_product_list .single_banner_product {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.banner_part .banner_product_list .single_banner_product:hover {
  border-color: var(--base_color);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.banner_part .banner_product_list .single_banner_product .product_img {
  display: block;
  padding: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  margin: 0;
  height: auto;
}
.banner_part .banner_product_list .single_banner_product .product_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.banner_part .banner_product_list .single_banner_product:hover .product_img img {
  transform: scale(1.08);
}
.banner_part .banner_product_list .single_banner_product .product_text {
  padding: 10px 12px 12px;
  text-align: center;
}
.banner_part .banner_product_list .single_banner_product .product_text .product_btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--base_color);
  font-family: 'Heebo', sans-serif;
}
.banner_part .banner_product_list .single_banner_product .product_text p {
  font-size: 12px;
  color: #888;
  margin: 4px 0 0;
  font-family: 'Heebo', sans-serif;
}

@media (max-width: 575px) {
  .banner_part .banner_product_list .single_banner_product {
    flex: 0 0 calc(50% - 6px);
  }
}

/* ============================================
   HIDE NEW USER ZONE COUPON (fallback)
   ============================================ */
.banner_part .user_cupon {
  display: none !important;
}

/* ============================================
   MOBILE DRAWER — White bg / Black text
   ============================================ */

/* backdrop */
.mm-backdrop {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.mm-backdrop.active { opacity: 1; visibility: visible; }

/* drawer shell */
.main_menu .single_page_menu {
  position: fixed !important;
  top: 0 !important; left: 0 !important;
  z-index: 9999 !important;
  width: min(320px,85vw) !important;
  height: 100dvh !important;
  max-height: none !important;
  background: #fff !important;
  border: none !important;
  overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
  transform: translateX(-105%) !important;
  transition: transform .35s cubic-bezier(.4,0,.2,1) !important;
  box-shadow: 4px 0 24px rgba(0,0,0,.15);
  -webkit-overflow-scrolling: touch;
  display: block !important;
}
.main_menu .single_page_menu.active {
  transform: translateX(0) !important;
}

/* header */
.mm-drawer-header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #ddd;
  background: #fff;
  position: sticky; top: 0; z-index: 1;
}
.main_menu .single_page_menu h4 {
  margin: 0 !important;
  font-size: 16px; font-weight: 700;
  text-transform: uppercase;
  color: #000 !important;
}
.mm-close-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0;
  border: none; border-radius: 50%;
  background: #eee; color: #333;
  font-size: 22px; line-height: 1;
  cursor: pointer;
}
.mm-close-btn:hover { background: #ddd; color: #000; }

/* list reset */
.mm-accordion { list-style: none; padding: 0; margin: 0; }
.mm-item { display: block; border-bottom: 1px solid #eee; }
.mm-item:last-child { border-bottom: none; }

/* override .side-menu span { color:#fff } in frontend_style.css */
.main_menu .single_page_menu .nav .mm-label {
  color: #000 !important;
}

/* links – !important beats every old rule */
.main_menu .single_page_menu .nav .mm-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 20px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: 'Heebo',sans-serif !important;
  color: #000 !important;
  background: #fff !important;
  text-decoration: none !important;
  min-height: 48px !important;
  cursor: pointer;
}
.main_menu .single_page_menu .nav .mm-link:hover,
.main_menu .single_page_menu .nav .mm-link:focus {
  background: #f5f5f5 !important;
  color: #000 !important;
}

/* icon */
.mm-cat-icon {
  width: 18px; text-align: center; flex-shrink: 0;
  color: var(--base_color); font-size: 14px;
}

/* arrow */
.main_menu .single_page_menu .nav .mm-arrow {
  font-size: 20px; font-weight: 700;
  color: #333; transition: transform .25s;
  line-height: 1; flex-shrink: 0; margin-left: auto;
  padding: 0 4px 0 16px;
}
.main_menu .single_page_menu .nav .mm-item.open > .mm-link .mm-arrow {
  transform: rotate(90deg); color: var(--base_color);
}

/* submenus */
.main_menu .single_page_menu .nav .mm-sub {
  list-style: none; padding: 0; margin: 0;
  display: none !important;
  background: #fafafa;
  border-top: 1px solid #eee;
}
.main_menu .single_page_menu .nav .mm-item.open > .mm-sub {
  display: block !important;
}
.main_menu .single_page_menu .nav .mm-sub .mm-item {
  border-bottom: 1px solid #eee;
}
.main_menu .single_page_menu .nav .mm-sub .mm-link {
  padding-left: 36px !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  min-height: 44px !important;
  background: transparent !important;
  color: #000 !important;
}
.main_menu .single_page_menu .nav .mm-sub .mm-link:hover {
  background: #f0f0f0 !important;
  color: #000 !important;
}
/* third level */
.main_menu .single_page_menu .nav .mm-sub .mm-sub .mm-link {
  padding-left: 54px !important;
  font-size: 12px !important;
  color: #000 !important;
  min-height: 40px !important;
}

/* open highlight */
.main_menu .single_page_menu .nav .mm-item.open > .mm-link {
  background: #f5faff !important;
  color: var(--base_color) !important;
  font-weight: 600 !important;
}

/* body scroll lock */
body.mm-open { overflow: hidden !important; }

/* ── Desktop (≥992px) – restore original behaviour ── */
@media (min-width: 992px) {
  .main_menu .single_page_menu {
    position: absolute !important;
    top: 90px !important; left: auto !important;
    width: auto !important; height: auto !important;
    max-height: calc(100vh - 100px) !important;
    background: #fff !important;
    border: 1px solid #e4e4e4 !important;
    box-shadow: 1px 14px 23px -14px rgba(0,0,0,.5) !important;
    transform: none !important;
    transition: none !important;
    overscroll-behavior: auto;
    display: block;
  }
  .main_menu .single_page_menu:not(.active) { display: none !important; }
  .main_menu .single_page_menu.active { display: block !important; }
  .mm-drawer-header { position: static; }
  .mm-close-btn { display: none !important; }
  .mm-backdrop { display: none !important; }
  body.mm-open { overflow: auto !important; }
  .main_menu .single_page_menu .nav .mm-sub .mm-link {
    background: #fff !important;
  }
}
