/* Styles for the search bar container */
.search-bar-container {
  display: flex;
  justify-content: space-between; /* Place the search bars next to each other */
  width: 450px;
  margin-left: 8%;
  gap: 10px;
}

/* Styles for each search bar */
.search-bar {
  left: -21px;
  position: relative;
  height: 35px;
  width: 450px;
  display: flex;
  align-items: center;
  border: 1px solid #555;
  border-radius: 5px;
  padding: 5px;
  background-color: #fff;
  margin-right: 10px;
}
#size {
  width: 210px !important ;
}

.search-bar input[type="text"] {
  border: none;
  outline: none;
  width: 315px;
  padding: 5px;
  padding-left: 1px; 
}

/* Styles for the clickable search icon */
.search-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
  cursor: pointer;
  border-left: 1px solid #555;
  padding-left: 8px;
}

.loc-icon {
  position: absolute;
  width: 30px !important;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
}

/* Styles for the Detect My Location button and spinner container */
.detect-location-container {
  display: flex;
  align-items: center;
}

.detect-location-button {
  font-size: 20px !important;
  height: 30px;
  width: 300px !important;
  text-align: left;
  font-weight: 500;

  border: none;
  border-radius: 5px;

  cursor: pointer;
}
.detect-location-button:hover {
  background-color: white !important;
}
.btn-link {
  color:brown !important;
  text-decoration: none;
}

.dropdown-content2 {
  display: none;
  overflow: hidden;
}

.loader {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 4px solid #333;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin-left: 8px; /* Adjust margin to separate from the button */
  display: none; /* Initially, hide the spinner */
}

/* Styles for the dropdown */
.dropdown1 {
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  z-index: 1;
  max-height: 250px;
  overflow-y: auto;
}

.dropdown-content1 a {
  padding: 10px;
  text-decoration: none;
  display: block;
  color: #333;
  cursor: pointer;
}
.nav-link {
  font-weight: 550 !important;
  font-size: 14px !important;
  color: black !important;
  /* padding: 0!important; */
}
.nav-link:hover {
  color: white !important;
}
.dropdown-item:hover {
  color: white !important;
}

.dropdown-content1 a:hover {
  background-color: #ddd;
}
.icon-color {
  color: #e14e68;
}

/* CSS to decrease opacity of previous location */
.search-bar.typing .previous-location {
  opacity: 0.5;
}

.store-name {
  color: black;
}

.nav-link:hover {
  background-color: #e14e68 !important;
}

.viewall {
  font-size: 17px;
}

/* sinlge store */
.single-rat {
  display: flex !important;

  margin-top: -30px;
}

/* Loading spinner styles */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.footer-last {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}
.footer-last:hover {
  color: black;
}
.footer-dv {
  padding: 0;
  background: #000;
  text-align: center;
}
.iw {
  width: 200px;
}
.search-bar-container-test {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.search-bar-test {
  left: -12%;
  display: flex;
  align-items: center;
  width: 238px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 35px;
  padding: 6px;
  position: relative;
  transition: box-shadow 0.3s ease-in-out;
  box-shadow: 0 0 8px rgba(255, 71, 87, 0.5); /* Glowing effect */
}

.location-icon-test {
  margin-right: 10px;
  color: #ff4757;
}

#location-input-test {
  height: 130%;
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  background-color: #fff;
}

.dropdown-icon-test {
  margin-left: 10px;
  cursor: pointer;
}

.dropdown-menu-test {
  display: none;
  position: absolute;
  top: 100%;
  left:-32px;
  width: 100%;
  background: #fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1000;
}

.detect-location-test {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  color: #ff4757;
  cursor: pointer;
}

.detect-icon-test {
  margin-right: 10px;
}

.detect-text-test {
  font-size: 16px;
}

.recent-locations-test {
  height: 200px;
  overflow-y: auto;
  padding: 10px;
}

.location-item-test {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align:left ;
  cursor: pointer;
}

.location-item-test:last-child {
  border-bottom: none;
}

.location-item-test:hover {
  background-color: #f9f9f9;
}

.area-sel {
  background-color: lightgray;
}

 .brand-hidden {
    display: none !important;
}

@media (max-width: 767px) {
  .search-bar-test{
   position: relative;
   left: -21px;
  }
  .dropdown-menu-test {
    width: 340px;
    left: -18px;
    top: 77%;
  }
  .search-bar-container-test {
    width: 344px;
  }
  .search-bar-test {
    margin-bottom: 10px;
    width: 344px;
  }
  .search-bar {
    width: 344px;
    margin-bottom: 10px;
  }
  .search-bar-container {
    width: 230px;
    display: block;
  }
  .search-bar input[type="text"] {
    width: 250px;
  }
  .detect-location-button {
    margin-left: 20px;
    font-size: 15px !important;
  }
  
  #size {
    width: 344px !important;
  }
}
@media only screen and (min-width: 600px) and (max-width: 1024px) {
  .search-bar {
    width: 300px;
    margin-bottom: 10px;
  }
  .search-bar-container {
    width: 230px;
    display: block;
  }
  .search-bar input[type="text"] {
    width: 250px;
  }
  .detect-location-button {
    margin-left: 20px;
    font-size: 15px !important;
  }
  #size {
    width: 300px !important;
  }
  .user-menus {
    display: flex;
    /* flex-direction: column; */
    align-items: flex-end;
  }
  .user-menus span.signin {
    /* margin-bottom: 10px; Adjust the margin as needed */
  }
  .logo-wrapper {
    flex: 0 0 41.66667%;
    max-width: 41.66667%;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1024px) and (min-height: 600px) and (max-height: 600px) {
  .search-bar-container {
    display: flex !important;
  }
}
@media only screen and (height: 820px) and (width: 1180px) {
  .search-bar input[type="text"] {
    border: none;
    outline: none;
    width: 285px;
    padding: 5px;
    padding-left: 10px;
  }
  .search-bar-container {
    width: 230px;
    display: block;
}
.city-dropdown-container {
  display: flex;
  align-items: baseline;}
  .search-bar {
    width: 336px !important;
    margin-bottom: 10px;
    top: 8px;
}
.icons-dropdown {
  position: relative;
  left: 35%;
}
.search-bar-test {
  top: 2px;
  left: -17px!important;}
  .navbar-nav {
    flex-wrap: wrap;
  }
  .desktop-main-navigation {
    margin-top: 80px;
}

}

@media screen and (min-width: 768px) and (max-width: 1024px) {
          .search-bar {
        top: 10px;
          left: 6px!important;
          position: relative;}
          .search-bar-test {
            left: 4px;}}