html,
body {
  height: 100%;
  margin: 0;
}

.badge-over-image {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background-color: rgba(255, 0, 0, 0.8);
  color: #fff;
}

.badge-over-image2 {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  z-index: 10;
  background-color: rgba(255, 0, 0, 0.8);
  color: #fff;
  border-radius: 50%;
  padding: 0.25em 0.4em;
  font-size: 0.75rem;
}

.cart-container {
  position: relative;
  display: inline-block;
}

.cart-icon {
  font-size: 35px;
}

.content {
  /*min-height: calc(100vh - 80px); */
  display: flex;
  flex-direction: column;
}

.footer {
  background-color: #f8f9fa;
  padding: 10px 0;
  text-align: center;
  border-top: 1px solid #dee2e6;
  width: 100%;
}

.nav-space {
  margin-left: 1rem;
  margin-right: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand i {
  font-size: 45px;
}

.card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.standout-item:hover {
  color: rgba(36, 215, 247, 0.829);
}

.standout {
  position: relative;
}

/* Ensures no overlap and correct spacing */
.row {
  margin-right: -15px;
  margin-left: -15px;
}

.col-12,
.col-sm-6,
.col-md-4,
.col-lg-3 {
  padding-right: 15px;
  padding-left: 15px;
}

.img-thumbnail {
  max-width: 100%;
  height: auto;
}

.brand-img {
  max-width: 100%;
  height: auto;
}

.banner {
  background-size: contain; /* Ensure the entire image is visible */
  background-position: center; /* Center the image within the container */
  background-repeat: no-repeat; /* Prevent image repetition */
  width: 100%; /* Full width for responsiveness */
  height: 25vh; /* Set height to 25% of the viewport height */
  position: relative; /* Positioning context for the message */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Align the message to the bottom */
  color: white; /* Ensure text is visible over the image */
  overflow: hidden; /* Prevent any overflow issues */
}

.message {
  background-color: rgba(0, 0, 0, 0.5); /* Add a semi-transparent background for better text visibility */
  width: 100%; /* Full width of the banner */
  padding: 10px 20px; /* Add spacing around the text */
  font-size: 1.5rem; /* Font size for responsiveness */
  font-weight: bold; /* Make the text bold */
  text-align: left; /* Align text to the left */
  position: absolute; /* Positioning for the message */
  bottom: 0; /* Place the message at the bottom of the banner */
  left: 0; /* Align the message to the left edge */
  box-sizing: border-box; /* Ensure padding doesn't affect dimensions */
}


/* Responsive adjustments for screens smaller than 768px */
@media (max-width: 768px) {
  .banner {
    height: 30vh;
    /* Decrease banner height on smaller screens */
    background-size: contain;
    /* Ensure the image is fully visible */
  }

  .message {
    font-size: 1.5rem;
    /* Decrease font size on smaller screens */
    padding: 8px 16px;
    /* Adjust padding for smaller screens */
  }
}

/* For very small screens */
@media (max-width: 576px) {
  .banner {
    height: 25vh;
    /* Further decrease banner height on very small screens */
  }

  .message {
    font-size: 1.2rem;
    /* Further decrease font size on very small screens */
    padding: 6px 12px;
    /* Adjust padding for very small screens */
  }
}

/* Adjustments for larger screens */
@media (min-width: 769px) {
  .banner {
    height: 60vh;
    /* Increase the height to show more of the banner on larger screens */
    background-size: cover;
    /* Ensure the image covers the entire container */
  }
}

/* Responsive adjustments for form and icons */
.form-control {
  border: none;
  box-shadow: none;
}

.btn {
  font-size: 1.2rem;
  /* Adjust button font size if needed */
}

.img-fluid {
  max-width: 100%;
  /* Ensures image scales with parent container */
  height: auto;
  /* Maintains aspect ratio */
}

/* Adjustments for different screen sizes */
@media (max-width: 576px) {
  .form-control {
    font-size: 0.9rem;
    /* Adjust input font size for small screens */
  }

  .btn {
    font-size: 1rem;
    /* Adjust button font size for small screens */
  }
}

@media (min-width: 576px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}

@media (min-width: 992px) {
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}


@media (min-width: 768px) { /* Apply styles only for medium (md) screens and larger */
  .navbar-nav .nav-link {
      white-space: nowrap; /* Prevents text from wrapping */
  }
}


.row {
  margin-left: 0;
  margin-right: 0;
}

.mb-3 {
  margin-bottom: 1rem;
}

/* Scroll to top button styles */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  /* Adjust bottom position */
  right: 30px;
  /* Adjust right position */
  z-index: 99;
  /* Ensure it stays above other elements */
  display: none;
  /* Hidden by default */
  font-size: 24px;
  /* Larger font size for the button */
  padding: 15px;
  /* Larger padding */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  color: black;
  /* Icon color */
  border: none;
  /* Remove border */
  transition: background-color 0.3s;
  /* Smooth background color change on hover */
}

#scrollTopBtn:hover {
  transform: scale(1.09);
  /* Scale up by 5% on hover */
}

#scrollTopBtn i {
  transition: transform 0.3s;
  /* Smooth transition for icon */
}

.scroll-to-top-active i {
  color: white;
  /* Icon color when at the bottom */
}

/*drop down search*/
#searchResults {
  position: absolute;
  top: 100%;
  /* Position below the input */
  left: 0;
  z-index: 1050;
  /* Higher than typical navbar z-index */
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  display: none;
  max-height: 300px;
  /* Optional: set max height to limit dropdown size */
  overflow-y: auto;
  /* Allows scrolling if results exceed max height */
}

#searchResults .dropdown-item {
  padding: 0.5rem;
}

#searchResults img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

/* Scale image on hover */
.product-image {
  width: 250px;
  height: auto;
  transition: transform 0.3s ease;
  /* Smooth scaling effect */
}

.product-image:hover {
  transform: scale(1.25) translateY(-8px);
  /* Slightly enlarge the image on hover */
}

/* Custom styles for carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: black;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
}

/*tom select */

.tom-select .dropdown-item {
  display: flex;
  align-items: center;
}

.color-square {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #000;
  margin-right: 10px;
}

.unsubscribe {
  text-decoration: none;
}

.min-h {
  min-height: 40px;
}


#shopCarouselIndicators,
#carouselIndicators {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc; /* Default inactive color */
  transition: background-color 0.3s;
}

.carousel-indicator.active {
  background-color: #3b5998; /* Active dot color */
}