/*-------------------
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 v5.1, please check
out https://getbootstrap.com/docs/5.1/getting-started/introduction/.
/*-------------------*/

/*-------------------*/
/* GENERAL */
/*-------------------*/

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

/*-------------------*/
/* HEADER */
/*-------------------*/

/*-------------------*/
/* CATEGORY NAV */
/*-------------------*/

/*-------------------*/
/* SLIDESHOW BUTTONS */
/*-------------------*/
.custom-carousel-layer{
  z-index: 1;
  width: 100%;
  background-color: transparent;
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 40px;
    margin-top: 30px;

}
#carousel-header {
  padding: 2rem;
  width: 80%;
  margin: auto;
  background-color: #fff;
  border-radius: 5px;
}
#carousel-header p {
  font-size: 15px;
}
#carousel-header p:last-of-type {
  margin-bottom: 0;
}
#category-buttons {
  z-index: 2;
  width: 100%;

}
#category-buttons ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  margin-bottom: 40px;
}
#category-buttons ul li {
  width: 40%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(53, 58, 72, 0.7);
  padding: 20px 10px;
  transition: 0.2s ease-out;
}
#category-buttons ul li a {
  color: #fff;
  line-height: 1.4;
  font-size: 24px;
  font-weight: 600;
}
#category-buttons ul li:hover {
  background-color: #212530;
}

/*-------------------*/
/* CONTENT */
/*-------------------*/

/*-------------------*/
/* PRODUCT THUMBS */
/*-------------------*/

/*-------------------*/
/* PRODUCT */
/*-------------------*/

/*-------------------*/
/* CART/CHECKOUT */
/*-------------------*/

/*-------------------*/
/* FOOTER */
/*-------------------*/
.custom-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 20px auto 36px;
}
.custom-footer > * {
  width: 30%;
  max-width: 150px;
}
.custom-footer-column {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.custom-footer svg {
  width: 20px;
  height: 23px;
  fill: #fff;
}
.custom-footer a {
  font-weight: bold;
}

/*-------------------*/
/* MEDIA QUERIES */
/*-------------------*/


/* ==========================================================================
   Carousel Overlay Scale Optimization (Desktop, Laptop, Tablet, Mobile)
   ========================================================================== */

.homepage-carousel-container {
  overflow: hidden;
  position: relative;
}

.custom-carousel-layer {
  z-index: 2;
  width: 90%;
  max-width: 1100px;
  background-color: transparent;
  padding: 1.5rem 1rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px !important; 
  margin-top: 0 !important;
}

#carousel-header {
  padding: 1.25rem 1.5rem !important; 
  width: 90% !important;
  margin: 0 auto !important;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#carousel-header p {
  font-size: 13px !important; 
  line-height: 1.4 !important;
  margin-bottom: 6px !important;
}

#carousel-header p:last-of-type {
  margin-bottom: 0 !important;
}

#category-buttons {
  z-index: 3;
  width: 90%;
  margin: 0 auto;
}

#category-buttons ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px !important; 
  flex-wrap: wrap;
  padding: 0;
  margin: 0 !important;
  list-style: none;
}

#category-buttons ul li {
  width: 45% !important;
  height: 44px !important; 
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(53, 58, 72, 0.85);
  padding: 8px 10px !important;
  border-radius: 4px;
  transition: background-color 0.2s ease-out;
}

#category-buttons ul li a {
  color: #fff;
  line-height: 1.2;
  font-size: 16px !important; 
  font-weight: 600;
  text-decoration: none;
}

#category-buttons ul li:hover {
  background-color: #212530;
}

#category-buttons ul li.back-btn-li {
  width: 45% !important;
  height: 38px !important;
  background-color: rgba(33, 37, 48, 0.95);
  margin-top: 4px;
}

#category-buttons ul li.back-btn-li a {
  font-size: 14px !important;
}

#homepage-carousel .carousel-item img {
  min-height: 540px !important;
  object-fit: cover !important;
}

@media screen and (max-width: 1024px) {
  .custom-carousel-layer {
    padding: 1rem !important;
    gap: 10px !important;
  }

  #carousel-header {
    width: 95% !important;
    padding: 1rem !important;
  }

  #carousel-header p {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  #category-buttons ul li {
    height: 40px !important;
  }

  #category-buttons ul li a {
    font-size: 15px !important;
  }
}

@media screen and (max-width: 768px) {
  #homepage-carousel .carousel-item img {
    min-height: 600px !important;
  }

  #category-buttons ul li {
    width: 100% !important; 
    height: 42px !important;
  }

  #category-buttons ul li.back-btn-li {
    width: 100% !important;
  }
}
