/*-------------------
This theme uses Bootstrap v5.1.

It is highly recommended to check out Bootstrap's guiding principles,
strategies, and techniques at https://getbootstrap.com/docs/5.1/extend/approach/
before adding custom styling.

To learn more about Bootstrap v4.6, please check
out https://getbootstrap.com/docs/5.1/getting-started/introduction/.
/*-------------------*/

/*-------------------*/
/* GENERAL */
/*-------------------*/
* {
  font-family: "Avenir Next World";
}
.notification-container, .modal {
  z-index: 20000;
}
.mobile-slider {
   position: fixed;
}

/*-------------------*/
/* TOP NAV */
/*-------------------*/

/*-------------------*/
/* HEADER */
/*-------------------*/
.secondary-header-logo {
  height: 40px;           
  width: auto;            
  object-fit: contain;
  aspect-ratio: 3.75 / 1; 
  
  display: block;        
 
}

@media (max-width: 767px) {
  .secondary-header-logo {
    height: 22px;        

  }
}

@media (max-width: 380px) {
  .secondary-header-logo {
    display: none;        
  }
}
/*-------------------*/
/* CATEGORY NAV */
/*-------------------*/
@media (max-width: 991px) {
  .mobile-slider {
    max-height: 100vh; 
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-slider .nav.flex-column {
    display: block !important; 
    width: 100%;
  }

  .mobile-slider .nav-item {
    display: block !important;
    width: 100% !important;
    float: none !important;
  }
}
/*-------------------*/
/* CONTENT */
/*-------------------*/
.homepage-banner-row {
  justify-content: space-around;
  gap: 5px;

  margin: 5px !important;
  border-radius: 15px;

}
.banner-container {
  padding: 0;
  overflow: hidden;
  border-radius: 15px;
  margin-top: 10px;
}
/*-------------------*/
/* PRODUCT THUMBS */
/*-------------------*/
.category-price-modifier {
  display: inline-block;
  position: absolute;
  top: 12px;
  left: 0px;
  background-color: #FF00FF;
  padding: 18px 15px;
  border-radius: 0 5px 5px 0;
  color: #FFF;
}
/*-------------------*/
/* PRODUCT */
/*-------------------*/
.product-page-main .main-img-container, .product-page-main .images-wrapper ul li {
  border: none;
}
.product-header, .product-page-main .prod_option_block .product-options .product-option-wrapper, .multiple-quantity-product-option, .product-options-wrapper-qd-sc {
  border-bottom: none;
}
.product-overview * {
  font-family: "Avenir Next World" !important;
}
.virtual-logo-container button {
  background: #cfcfcf;
}
.virtual-logo-container button:hover {
  background-color: #9c9c9c !important;
}
.product-page-main .add-to-cart-area {
  position: relative;
}
#fakebuttonerror {
  display: none;
  text-align: center;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: red;
}

/*-------------------*/
/* CART/CHECKOUT */
/*-------------------*/
.line-item-warning {
  padding: 0 !important;
}
.line-item-warning-text {
  padding: 5px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: white;
  background: red;
  margin-bottom: 10px;
}
.line-item-warning-text a {
  color: #fff;
  text-decoration: underline;
}
.line-item-warning-text a:hover {
  text-decoration: none;
}
.charlimittext {
  margin-bottom: 6px;
  font-size: 12px;
}

/*-------------------*/
/* FOOTER */
/*-------------------*/
.footerlinks ul > li > a {
  font-size: 14px;
  padding: 0.5rem 2rem;
}
@media (max-width: 992px) {
  /* 1. Force the list to stay in a centered row */
  .footerlinks ul.nav.links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* Forces one row */
    justify-content: center !important; /* Centers them */
    align-items: center;
    padding: 0;
  }

  /* 2. Adjust the items to fit */
  .footerlinks .nav-item {
    padding: 0 4px !important; /* Tighten spacing between links */
  }

  /* 3. Scale down the text and prevent line breaks */
  .footerlinks .nav-link {
    padding: 5px 2px !important;
    font-size: 10px !important; /* Smaller font to ensure it fits across the width */
    white-space: nowrap; /* Prevents long links from breaking into 2 lines */
  }
}

/*-------------------*/
/* MEDIA QUERIES */
/*-------------------*/
@media screen and (min-width: 661px){

}

@media screen and (max-width: 1200px){

}

@media screen and (max-width: 768px){
  .homepage-banner-row .banner-container {
    width: calc((100% - 15px) / 2) !important;
  }
}
/* Only targets screens smaller than 992px (Tablets and Mobiles) */
@media (max-width: 991.98px) {
  
  /* 1. Force the navbar into a single horizontal row */
  .header-navbar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* 2. Scale the logo so it doesn't crowd out the buttons */
  .logo-container img {
    width: 140px !important; /* Adjust this value to your liking */
    height: auto !important;
  }

  /* 3. Hide the bulky inline search bar (rely on the search button/modal) */
  #search-bar-inline {
    display: none !important;
  }

  /* 4. Ensure the toggle and search buttons stay on the same line */
  #mobile-slider-button, 
  [data-bs-target="#search-modal"] {
    display: inline-flex !important;
    padding: 0.5rem !important;
    flex-shrink: 0 !important;
  }

  /* 5. Clean up the SVG sizing for better thumb-tapping */
  #mobile-slider-button svg, 
  [data-bs-target="#search-modal"] svg {
    width: 24px !important;
    height: auto !important;
  }

  /* 6. Fix the "extra" image if it's causing horizontal scrolling */
  .header-navbar > img {
    max-width: 100px;
    height: auto;
  }
}
/* Only targets Tablets and Mobiles (below 992px) */
@media (max-width: 991.98px) {
  .top-navbar-notification-container {
    padding: 8px 12px !important; /* Adds some breathing room on the sides */
  }

  .top-navbar-notification-container p {
    font-size: 11px !important; /* Smaller text to prevent excessive height */
    line-height: 1.4 !important; /* Better spacing between lines */
    margin-bottom: 5px !important;
    text-align: center !important;
  }

  /* Makes the link easier to tap (larger hit area) */
  .top-navbar-notification-container a {
    display: inline-block;
    text-decoration: underline;
    padding: 2px 4px;
  }

  /* Optional: Separates the Disclaimer from the Browser notice for readability */
  .top-navbar-notification-container br {
    display: block !important;
    content: "";
    margin-top: 6px !important;
  }
}
/* Only targets Mobile and Tablet */
  @media (max-width: 991.98px) {
    .category-banner {
      width: 100% !important;
      overflow: hidden !important;
      line-height: 0; /* Removes tiny gap at bottom of image */
    }

    .category-banner img {
      width: 100% !important;
      height: auto !important;
      /* Ensures the image covers the area and stays sharp */
      object-fit: cover; 
      /* If the image text gets cut off on very small phones, 
         you can adjust the min-height below */
      min-height: 120px; 
    }
  }
/* Only targets Mobile and Tablet */
  @media (max-width: 991.98px) {
    .category-banner {
      width: 100% !important;
      overflow: hidden !important;
      line-height: 0; /* Removes tiny gap at bottom of image */
    }

    .category-banner img {
      width: 100% !important;
      height: auto !important;
      object-fit: contain; 
      min-height: 120px; 
    }
  }
/*-----------------------*/
/*        POPUP          */
/*-----------------------*/
#important-notice {
  font-family: "Avenir Next World";
  font-size: 12px;
  line-height: 19px;
  letter-spacing: .05em;
  position: fixed;
  max-width: 480px;
  left: 32px;
  bottom: 32px;
  width: 100%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 5px rgba(165, 175, 186, 0.5);
  padding: 16px;
  text-shadow: none;
  color: #000;
  z-index: 2147483647;
  box-sizing: border-box;
}
#important-notice[hidden] {
  display: none;
}
#important-notice p {
  margin: 0 0 1em;
}
#important-notice a {
  color: #000000;
  text-decoration: underline;
  opacity: 1;
}
#important-notice a:hover {
  color: #170f5f;
}
#important-notice button {
  display: block;
  margin: 26px auto 0;
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: bold;
  min-height: 48px;
  padding: 12px 16px;
  width: 100%;
  max-width: 310px;
  text-transform: uppercase;
  color: #fff;
  background: #191919;
  box-shadow: inset 0 -2px #0067f0;
  opacity: 1;
  border: 0 none;
  outline: none;
  letter-spacing: inherit;
}
#important-notice button:hover, #important-notice button:focus {
  background: #0067f0;
}
#important-notice button:active {
  box-shadow: 0 2px #0067f0;
  background: #191919;
}
#important-notice p:first-child {
  font-weight: bold;
  text-transform: uppercase;
}