/* Header Container */
.header-content.w-block-box {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 449;
}

/* Header Menu Block - Burger Navigation */
.header-menu-holder.w-block-box {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  z-index: 450;
}

.header-menu-holder .burger-icon {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Preserve burger/mobile menu icon - never hide */
.header-content .burger-icon,
.header-content .menu-toggle,
.header-content .mobile-menu,
.header-content .hamburger,
.header-content .navbar-toggler,
.header-content [class*="menu-icon"],
.header-content [class*="burger"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Header Content - Main Flexbox Container */
.header-content > .block {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  flex-wrap: nowrap;
}

/* Ensure all child boxes align properly */
.header-content > .block > .box {
  display: flex;
  align-items: center;
}

/* Logo Section */
.header-content .logo-holder {
  flex: 0 0 auto;
  width: 200px;
  margin-right: 2rem;
}

.header-content .logo-holder a {
  display: inline-block;
  text-decoration: none;
}

.header-content .logo-holder h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #183D78;
  margin: 0;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
  line-height: 1.2;
}

.header-content .logo-holder a:hover h2 {
  color: #1a4a91;
}

/* Search Section - Leave default styling for functionality */
.header-content .box.w-search,
.header-content .box.search-bar {
  flex: 1 1 auto;
  max-width: 500px;
  margin-right: auto;
}

/* All Products Link */
.header-content .all-products {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
  margin-left: 1rem;
}

.header-content .all-products a {
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 0 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  background: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  min-width: 130px;
}

.header-content .all-products a:hover {
  border-color: #183D78;
  color: #183D78;
  background: #f8f9fa;
  text-decoration: none;
}

/* Account Section */
.header-content .box.w-account,
.header-content .box.account-icon {
  flex: 0 0 auto;
  margin-right: 0.5rem;
}

.header-content .account-icon .account-top {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-content .account-icon .my-acc-link {
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 0 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  background: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 46px;
  width: 46px;
  min-width: 46px;
}

.header-content .account-icon .my-acc-link:hover {
  border-color: #183D78;
  color: #183D78;
  background: #f8f9fa;
  text-decoration: none;
}

.header-content .account-icon .my-acc-link:before {
  font-size: 1.4rem;
  color: #183D78;
  margin-right: 0 !important;
}

/* Hide the text in account link */
.header-content .account-icon .my-acc-link .no-text {
  display: none;
}

/* Shopping Cart Section */
.header-content .box.w-cart,
.header-content .box.cart-icon {
  flex: 0 0 auto;
  margin-left: 0;
}

.header-content .cart-icon .cart-box-link {
  background: linear-gradient(135deg, #183D78 0%, #1a4a91 100%);
  border: none;
  border-radius: 6px;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(24, 61, 120, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  height: 46px;
  min-height: 46px;
  min-width: 160px;
}

.header-content .cart-icon .cart-box-link:hover {
  background: linear-gradient(135deg, #1a4a91 0%, #0d2d5a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(24, 61, 120, 0.4);
  text-decoration: none;
  color: #fff !important;
}

.header-content .cart-icon .cart-box-link:before {
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
}

.header-content .cart-icon .strong {
  font-weight: 600;
  line-height: 1.2;
  font-size: 1rem;
}

/* Search dropdown - leave as-is to preserve functionality */

/* Responsive Design */
@media (max-width: 1400px) {
  .header-content > .block {
    padding: 0 1.5rem;
  }

}

@media (max-width: 1200px) {
  .header-content > .block {
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .header-content .logo-holder {
    width: 160px;
    margin-right: 1.5rem;
  }

  .header-content .logo-holder h2 {
    font-size: 1.75rem;
  }


  .header-content .all-products a {
    min-width: 120px;
    padding: 0 1rem;
    font-size: 0.95rem;
  }

  .header-content .cart-icon .cart-box-link {
    min-width: 140px;
    padding: 0 1.25rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 992px) {
  /* wtf check on this */
  #box-241152 {
    display: block !important;
  }
  .header-content > .block {
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .header-content .logo-holder {
    width: 140px;
    margin-right: 1rem;
  }

  .header-content .logo-holder h2 {
    font-size: 1.5rem;
  }


  .header-content .all-products a {
    min-width: 100px;
    font-size: 0.9rem;
  }

  .header-content .cart-icon .cart-box-link {
    min-width: 120px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  /* Header Menu Block stays visible */
  .header-menu-holder.w-block-box {
    display: block !important;
    padding: 0;
    border-bottom: none;
  }

  .header-menu-holder .burger-icon {
    display: block !important;
  }

  .header-content.w-block-box {
    padding: 0.75rem 0;
  }

  .header-content > .block {
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0 1rem;
    align-items: center;
  }

  .header-content .logo-holder {
    flex: 1 1 auto;
    width: auto;
    margin-right: 0;
    text-align: left;
    order: 1;
    display: block !important;
    visibility: visible !important;
  }

  .header-content .logo-holder a {
    display: block !important;
  }

  .header-content .logo-holder h2 {
    font-size: 1.5rem;
    display: block !important;
    visibility: visible !important;
  }

  .header-content .box.search-bar {
    flex: 0 0 auto;
    max-width: none;
    margin-right: 0;
    order: 2;
  }

  /* Hide All Products on mobile - should be in burger menu */
  .header-content .all-products {
    display: none;
  }

  .header-content .account-icon {
    flex: 0 0 auto;
    order: 3;
    margin-right: 0;
  }

  .header-content .account-icon .my-acc-link {
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 0;
  }

  .header-content .cart-icon {
    flex: 0 0 auto;
    order: 4;
    margin-left: 0;
  }

  .header-content .cart-icon .cart-box-link {
    width: 48px;
    min-width: 48px;
    font-size: 0;
    height: 48px;
    padding: 0;
    gap: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Show only cart icon on mobile, hide text */
  .header-content .cart-icon .cart-box-link .no-text,
  .header-content .cart-icon .cart-box-link .strong {
    display: none !important;
  }

  .header-content .cart-icon .cart-box-link:before {
    margin: 0 !important;
    font-size: 1.3rem !important;
    display: inline-block !important;
    content: '\f07a' !important;
    font-family: FontAwesome !important;
    color: #fff !important;
  }

  .header-content .suggest {
    min-width: 300px;
    right: 0;
  }
}

@media (max-width: 576px) {
  .header-menu-holder.w-block-box {
    padding: 0;
  }

  .header-content.w-block-box {
    padding: 0.5rem 0;
  }

  .header-content > .block {
    padding: 0 0.75rem;
    gap: 0.5rem;
  }

  .header-content .logo-holder h2 {
    font-size: 1.25rem;
    display: block !important;
  }

  .header-content .account-icon .my-acc-link,
  .header-content .cart-icon .cart-box-link {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .header-content .cart-icon .cart-box-link:before {
    font-size: 1.2rem !important;
    display: inline-block !important;
  }
}

/* Custom icon overrides - Higher specificity */
div.w-account a.my-acc-link:before {
  background-image: none !important;
  content: '\e906' !important;
  font-family: trueloaded !important;
  font-size: 1.5em !important;
  line-height: 0.75 !important;
  vertical-align: middle !important;
  display: inline-block !important;
  margin-right: 8px !important;
  width: auto !important;
  height: auto !important;
}

/* ===================================
   BEST SELLERS SECTION
   =================================== */

/* Make parent block 100% width and remove float */
.block:has(.w-bestsellers) {
  width: 100% !important;
  float: none !important;
}

.w-bestsellers {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 3rem 0;
}

.w-bestsellers .bestsellers {
  max-width: 1400px;
  margin: 0 auto;
}

/* Heading with decorative elements */
.w-bestsellers .heading-3 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #183D78;
  margin: 0 0 2.5rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 4px solid #183D78;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.w-bestsellers .heading-3:before {
  content: '\f005';
  font-family: FontAwesome;
  color: #FFD700;
  font-size: 2rem;
  text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

/* Bestsellers list container */
.bestsellers-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Individual bestseller items */
.bestsellers-list .item {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

/* Override any default :before pseudo-element */
.w-bestsellers .item:before {
  display: none !important;
}

.bestsellers-list .item:hover {
  border-color: #183D78;
  box-shadow: 0 8px 24px rgba(24, 61, 120, 0.2);
  transform: translateY(-2px);
  background: #f8f9fa;
}

/* Counter badges with gradient */
.bestsellers-list .counter {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, #183D78 0%, #1a4a91 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(24, 61, 120, 0.3);
  transition: all 0.3s ease;
}

.bestsellers-list .item:hover .counter {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(24, 61, 120, 0.4);
}

/* Top 3 special styling */
.bestsellers-list .item:nth-child(1) .counter {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #333;
  font-size: 1.5rem;
}

.bestsellers-list .item:nth-child(2) .counter {
  background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
  color: #333;
}

.bestsellers-list .item:nth-child(3) .counter {
  background: linear-gradient(135deg, #CD7F32 0%, #B8732A 100%);
  color: #fff;
}

/* Product name links */
.bestsellers-list .name {
  flex: 1;
  color: #333;
  font-size: 1.15rem;
  line-height: 1.6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
}

.bestsellers-list .item:hover .name {
  color: #183D78;
  text-decoration: underline;
}

/* Add icons for top 3 - removed */

/* Responsive design */
@media (max-width: 992px) {
  .bestsellers-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.875rem;
  }

  .w-bestsellers {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }

  .w-bestsellers .heading-3 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .bestsellers-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .w-bestsellers {
    padding: 1.25rem;
    margin: 1rem 0;
    border-radius: 8px;
  }

  .w-bestsellers .heading-3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .bestsellers-list .item {
    padding: 1rem;
  }

  .bestsellers-list .counter {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 0.9rem;
  }

  .bestsellers-list .name {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .w-bestsellers {
    padding: 1rem;
    border-radius: 6px;
  }

  .w-bestsellers .heading-3 {
    font-size: 1.35rem;
    gap: 0.75rem;
  }

  .w-bestsellers .heading-3:before {
    font-size: 1.25rem;
  }

  .bestsellers-list .item {
    padding: 0.875rem;
  }

  .bestsellers-list .counter {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 0.85rem;
  }

  .bestsellers-list .name {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}