/* BUTTON */
.bc-browse-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3f4f6;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.bc-browse-icon {
  font-size: 18px;
}
/* CONTAINER */
.bc-menu-container {
  position: absolute;
  top: 100%;
  left: 0;
  width: 900px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  display: none;
  z-index: 9999;
}

.bc-menu-container.bc-open {
  display: block;
}

/* WRAPPER */
.bc-menu-wrapper {
  display: flex;
  min-height: 420px;
}

/* LEFT LIST */
.bc-main-list {
  width: 260px;
  border-right: 1px solid #eee;
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

.bc-main-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 500;
  color: #222;
}

.bc-main-item:hover {
  background: #f5f5f5;
}

.bc-main-icon {
  font-size: 18px;
}

.bc-main-arrow {
  margin-left: auto;
  font-size: 18px;
  color: #999;
}

/* RIGHT PANEL */
.bc-mega-panel {
  flex: 1;
  padding: 24px;
  display: none;
}

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

/* MEGA CONTENT */
.bc-mega-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}

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

.bc-mega-subtitle {
  font-weight: 600;
  color: #111;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.bc-mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bc-mega-list li {
  margin-bottom: 6px;
}

.bc-mega-list a {
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.bc-mega-list a:hover {
  color: #000;
}

/* ===============================
   HIDE BROWSE CATEGORIES ON MOBILE
   =============================== */
@media (max-width: 1023px) {
  #bc-browse-btn,
  #bc-menu {
    display: none !important;
  }
}


/* ===========================
   MOBILE SIDEBAR CORE
=========================== */
.mobile-sidebar {
  background: #f9fafb;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

/* SEARCH */
.ms-search {
  display: flex;
  align-items: center;
  background: #eef0f3;
  border-radius: 12px;
  margin: 0 0 14px;
}

.ms-search input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: 13px;
}

/* ===========================
   TABS
=========================== */
.ms-tabs {
  display: flex;
  background: #e5e7eb;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 12px;
}

.ms-tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  border-radius: 10px;
  cursor: pointer;
}

.ms-tab-btn.is-active {
  background: #ffffff;
  color: #111827;
}

/* ===========================
   TAB PANELS
=========================== */
.ms-panel {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ms-panel.is-active {
  display: block;
}

.ms-panel li {
  border-bottom: 1px solid #e5e7eb;
}

.ms-panel a,
.ms-category-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 6px;
  font-size: 15px;
  color: #1f2937;
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
}
/* ===========================
   CATEGORY LIST (MOBILE)
=========================== */

.ms-panel {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each category row */
.ms-panel > li {
  border-bottom: 1px solid #e5e7eb;
}

/* Main category button */
.ms-category-toggle {
  width: 100%;
  background: #ffffff;
  border: none;
  padding: 14px 6px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

/* Icon */
.ms-category-toggle i {
  font-size: 14px;
  transition: transform 0.25s ease;
  color: #6b7280;
}

/* Rotate when open */
.ms-category-toggle.is-open i {
  transform: rotate(180deg);
}

/* ===========================
   ACCORDION CONTENT
=========================== */

.ms-category-children {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  padding-left: 12px;
}

/* Sub-category links */
.ms-category-children a {
  display: block;
  padding: 10px 6px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
}

/* Hover / active */
.ms-category-children a:hover {
  color: #111827;
}

/* ===========================
   VIEW ALL LINK
=========================== */

.ms-panel > li:last-child a {
  font-weight: 600;
  color: #2563eb;
}


.cart-side-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9998;
}

.cart-side-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-widget-side {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 21.25rem;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 20px rgba(0, 0, 0, 0.12);
}

.cart-widget-side.active {
  transform: translateX(0);
}

.cart-side-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
}

.cart-side-title {
  font-size: 18px;
  font-weight: 600;
}

.cart-side-close {
  cursor: pointer;
  font-size: 18px;
  color: #555;
  transition: color 0.2s ease;
}

.cart-side-close:hover {
  color: #000;
}

.site-mini-cart {
  flex: 1;
  overflow: hidden;
}

.site-mini-cart-inner {
  height: 100%;
}

.site-mini-cart-body {
  height: 100%;
}

.fl-mini-cart-content {
  height: 100%;
  overflow-y: auto;
  padding: 15px 20px;
}

.c-products {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 65vh;
  overflow-y: scroll;
}

/* Mini Cart Item */
.woocommerce-mini-cart-item {
  position: relative;
  border-bottom: 1px solid #eee;
  padding: 12px 12px 12px 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.woocommerce-mini-cart-item:last-child {
  border-bottom: none;
}

/* Remove Button - Red Circle */
.remove_from_cart_button {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 1.125em;
  height: 1.125rem;
  background: #e11d48;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.remove_from_cart_button i {
  font-size: 0.75rem;
} 
.remove_from_cart_button:hover {
  background: red;
}

/* Product Wrapper */
.c-product-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1em;
}

/* Thumbnail */
.thumbnail-wrapper {
  width: 60px;
  flex-shrink: 0;
}

.product-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

/* Content */
.c-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 14px;
  margin: 0;
}

.product-title a {
  color: #000;
  font-weight: 500;
  font-size: 0.75rem;
  text-decoration: none;
}

.product-title a:hover {
  text-decoration: underline;
}

/* Quantity + Price */
.price {
  font-size: 16px;
  font-weight: 700;
  margin-top: 4px;
}

.c-quantity {
  display: inline-block;
  background: #f3f3f3;
  color: #111;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  margin-right: 6px;
}

/* Subtotal */
.woocommerce-mini-cart__total {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 15px;
  display: flex;
  justify-content: flex-start;
  gap: 6px;
}

/* Buttons */
.woocommerce-mini-cart__buttons {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.woocommerce-mini-cart__buttons .button {
  width: 100%;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
}

.woocommerce-mini-cart__buttons .wc-forward {
  background: #f3f3f3;
  color: #111;
}

.woocommerce-mini-cart__buttons .checkout {
  background: #111;
  color: #fff;
}

/* Mobile */
@media (max-width: 480px) {
  .cart-widget-side {
    width: 100%;
  }
}


/* Parent container */
.promo-banners {
  display: flex;
  gap: 24px;
  width: 100%;
}

/* Each banner takes 50% */
.promo-banner {
  flex: 1;
  min-width: 0;
}

/* Stack on mobile */
@media (max-width: 768px) {
  .promo-banners {
    flex-direction: column;
  }
}

.product-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #eee;
}

.tab-btn {
  position: relative;
  background: none;
  border: none;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #777;
  cursor: pointer;
  transition: color 0.25s ease;
}

.tab-btn:hover {
  color: #000;
}

.tab-btn.active {
  color: #000;
}

.tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.3s ease;
}

.tab-btn.active::after {
  width: 100%;
}

.elementor-element-e066b62 > .e-con-inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px;
}

.elementor-element-e066b62 > .e-con-inner > .e-child {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 33.333% !important;
  max-width: 33.333% !important;
}


.elementor-element-e066b62 img {
  width: 100%;
  height: auto;
  display: block;
}


@media (max-width: 1024px) {
  .elementor-element-e066b62 > .e-con-inner {
    flex-wrap: wrap !important;
  }
  .elementor-element-e066b62 > .e-con-inner > .e-child {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px;
  }
}


.home-owl-slider .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.home-owl-slider .owl-nav .owl-prev {
  left: -10px;
}
.home-owl-slider .owl-nav .owl-next {
  right: -10px;
}

.home-owl-slider .owl-prev,
.home-owl-slider .owl-next {
  pointer-events: all;
}


.owl-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  color: #000;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s ease;
}

.owl-nav-btn:hover {
  background: #f5f5f5;
}

.home-owl-slider .owl-prev {
  margin-left: 20px;
}

.home-owl-slider .owl-next {
  margin-right: 20px;
}


@media (max-width: 768px) {
  .site-banner {
    flex-direction: column !important;
  }

  .site-banner-image {
    display: block !important;
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  .site-banner-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}


/* Mobile adjustments */
@media (max-width: 768px) {
  .home-owl-slider .owl-nav {
    top: auto;
    bottom: 20px;
    transform: none;
    justify-content: center;
    gap: 20px;
  }

  .home-owl-slider .owl-prev,
  .home-owl-slider .owl-next {
    margin: 0;
  }
}



/* Slider wrapper */


/*Louis Continues*/
#bc-category-slider {
  display: flex;        /* Forces items into a row */
  flex-wrap: nowrap;    /* Prevents wrapping to next line */
  gap: 20px;            /* Space between cards */
  overflow-x: auto;     /* Enables horizontal scrolling */
  padding: 12px 10px 30px; /* Padding for the shadow/hover space */
  width: 100%;
  
  /* Hide scrollbar for cleaner look */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
#bc-category-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* --- CARD WRAPPER --- */
.bc-slide {
  flex: 0 0 auto;    /* Stops the card from shrinking or growing */
  width: 200px;      /* Set your desired card width here */
  height: 100%;
}

/* --- THE CARD (Your styled box) --- */
.bc-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;

  /* DYNAMIC COLORS: these variables are set by the JavaScript */
  background: var(--card-bg, #466dc4);
  color: var(--card-text, #ffffff);
  
  /* DYNAMIC SHADOW: Uses the variable for color */
  box-shadow:
    0 10px 0 var(--card-shadow, rgba(37, 99, 235, 0.55)),
    0 22px 36px rgba(0, 0, 0, 0.15);

  border-radius: 16px;
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover Effect */
.bc-box:hover {
  transform: translateY(-6px);
  /* Shadow moves down and gets slightly darker on hover */
  box-shadow:
    0 14px 0 var(--card-shadow, rgba(37, 99, 235, 0.7)),
    0 32px 54px rgba(0, 0, 0, 0.25);
}

.bc-box__text {
  line-height: 1.3;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 768px) {
  .bc-box { height: 90px; font-size: 15px; }
  .bc-slide { width: 150px; }
  .bc-box:active {
    transform: translateY(-6px);
    /* Shadow moves down and gets slightly darker on hover */
    box-shadow:
      0 7px 0 var(--card-shadow, rgba(37, 99, 235, 0.7)),
      0 20px 42px rgba(0, 0, 0, 0.25);
  }
  .bc-box: {
    transform: translateY(-6px);
    /* Shadow moves down and gets slightly darker on hover */
    box-shadow:
      0 7px 0 var(--card-shadow, rgba(37, 99, 235, 0.7)),
      0 20px 42px rgba(0, 0, 0, 0.25);
  }
 /* Slightly smaller cards on tablet */
}

@media (max-width: 480px) {
  .bc-box { height: 70px; font-size: 13px; }
  .bc-slide { width: 110px; } /* Smaller cards on mobile */
  .bc-box:active {
    transform: translateY(-6px);
    /* Shadow moves down and gets slightly darker on hover */
    box-shadow:
      0 4px 0 var(--card-shadow, rgba(37, 99, 235, 0.7)),
      0 10px 24px rgba(0, 0, 0, 0.25);
  }
}


/* ===================================
   CATEGORY NAV BAR (eBay-style)
   =================================== */

.cat-nav {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 900;
  display: none;          /* shown by JS once loaded */
}
.cat-nav.is-loaded {
  display: block;
}
.cat-nav__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: visible;
}
.cat-nav__list {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  gap: 0;
  flex-wrap: nowrap;
}

/* ── Individual tab ── */
.cat-nav__item {
  position: static;         /* mega positions relative to .cat-nav instead */
}
.cat-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.cat-nav__link:hover,
.cat-nav__item.is-open > .cat-nav__link {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

/* ── Mega dropdown ── */
.cat-nav__mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
  padding: 24px 28px;
  z-index: 9999;
  white-space: normal;
}
.cat-nav__item.is-open > .cat-nav__mega {
  display: block;
}

/* Two-column grid inside dropdown */
.cat-nav__mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px 36px;
}
.cat-nav__mega-col h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}
.cat-nav__mega-col h4 a {
  color: inherit;
  text-decoration: none;
}
.cat-nav__mega-col h4 a:hover {
  color: #2563eb;
}
.cat-nav__mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-nav__mega-col ul li {
  margin-bottom: 5px;
}
.cat-nav__mega-col ul a {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: color .12s;
}
.cat-nav__mega-col ul a:hover {
  color: #2563eb;
}

/* "View all" footer inside mega */
.cat-nav__mega-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  text-align: right;
}
.cat-nav__mega-footer a {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}
.cat-nav__mega-footer a:hover {
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .cat-nav {
    display: none !important;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .cat-nav__link {
    padding: 12px 14px;
    font-size: 13px;
  }
}
}