/* sticky */
.sticky-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  transform: translateY(0) !important;
}

.sticky {
  position: fixed;
  top: -120px;
  width: 100%;
  z-index: 99;
}
.fixed-sticky{
  transition: 0.05s ease;
}
ul.dropdown-menu.logged-user {
  border: none;
  border-radius: 10px;
  min-width: 113px;
  padding: 8px 0 !important;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

ul.dropdown-menu.logged-user li a.user-action-item {
  color: #681e77;
  font-family:  "Lato", serif;
  font-size: 14px;
  justify-content: flex-start;
  padding: 8px 10px;
}
.fade-scale {
  transform: scale(0);
  opacity: 0;
  -webkit-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
  transition: all 0.25s linear;
}

.fade-scale.show {
  opacity: 1;
  z-index: 9999;
  transform: scale(1);
}

.modal-style-1 {
  .modal-content {
    border-radius: 10px;
    .modal-body {
      padding: 30px;
      .login-icon {
        width: fit-content;
        padding: 8px 10px;
        background: #f9f9f9;
        margin: auto;
        display: flex;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        svg {
          color: #681e77;
        }
      }
      input[type="number"] {
        -moz-appearance: textfield;
      }
      input[type="number"]::-webkit-outer-spin-button,
      input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
      }
      input,
      textarea {
        padding: 7px;
        background-color: #ebf2f3;
      }
      .loginLoading {
        display: none;
      }
      .msglerr,
      .msgl {
        display: none;
      }
      .popup-heading {
        h2 {
          color: #681e77;
        }
      }
      .signup_link {
        a {
          font-family:  "Lato", serif;
          font-size: 14px;
          &:hover {
            text-decoration: underline;
            text-underline-offset: 4px;
          }
        }
      }
      .submit-button {
        background-color: #681e77;
        box-shadow: none;
        padding: 8px 62px;
        color: white;
        text-align: center;
        font-family:  "Lato", serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        border-radius: 5px;
        border: 1px solid rgba(0, 0, 0, 0.25) !important;
        transition: all 0.3s;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
          0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
      }
      .submit-button:hover {
        background-color: white;
        color: #681e77;
        border: 1px solid rgba(0, 0, 0, 0.25);
      }
    }
  }
}

.popup-heading {
  h2 {
    color: #681e77;
  }
  p {
    font-size: 14px;
  }
}
#topbar{
  transition: 0.3s ease;
}
.sticky-desktop {
  .sticky-fixed {
    top: 0 !important;
  }
}
@media (max-width: 640px) {
  .sticky {
    position: unset !important;
  }
}

/* searchbar */
.searchbar_custom {
  background-color: #f3f7fa;
  border: 0.2px solid #fe5e00;
  border-radius: 50px;
  padding: 5px 15px;
  display: flex;
  align-items: center;
  box-shadow: 0px 4px 4px 0px rgba(104, 30, 119, 0.25), inset 0 0 5px rgba(0, 0, 0, 0.1);
  flex-grow: 1;
  @media (max-width:640px) {
    
  }
  input.form-control {
    background-color: #f3f7fa;
   
    &:focus {
      background-color: #f3f7fa;
    }
    &::placeholder{
      color: #808080;
    }
  }
  @media (max-width: 640px) {
    .search_input {
      padding: 0.175rem .75rem;
   }
  }
}

.search_input {
  border: none;
  background: transparent;
  outline: none;
  flex-grow: 1;
  padding-left: 10px;
 
  border-radius: 0;
}
.search_input:focus {
  background-color: transparent;
}

.search_input::placeholder {
  color: #a9b1bd;
}

.search-icon {
  color: #681e77;
  cursor: pointer;
}

.searchbar_custom .dropdown-menu {
  border-radius: 1px;
  z-index: 99;
}

.searchbar_custom .dropdown-item:hover {
  background-color: #f1f1f1;
}
.searchbar_custom .dropdown {
  position: relative;
  button {
    padding-left: 39px;
    box-shadow: none;
    background: none;
    color: #681e77;
    border-right: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 0;
  }
  button:hover {
    box-shadow: none;
  }
}

.searchbar_custom .dropdown i {
  position: absolute;
  height: fit-content;
  cursor: pointer;
  color: #681e77;
  top: 12%;
  left: 0;
  padding: 7px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.2s;
}
.searchbar_custom .dropdown i:hover {
  cursor: pointer;
  background-color: #681e77;
  color: white;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* end of searchbar */

.dropdown-menu {
  padding-bottom: 60px !important;
}

.navbar-fixed {
  position: fixed;
  top: 3em;
}

#topbar_links {
  gap: 12px;
}

#topbar_social {
  gap: 12px;
  .follow_us {
    color: rgba(0, 0, 0, 0.75);
    font-size: smaller;
    font-family:  "Lato", serif;
  }
  a {
    i {
      color: #681e77;
      width: 20px;
      height: 20px;
    }
    img {
      width: 20px;
      height: 20px;
      object-fit: contain;
    }
  }
}

.top_links {
  color: rgba(0, 0, 0, 0.75);
  font-size: smaller;
  text-transform: capitalize;
  font-family:  "Lato", serif;
}

#topbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.75);
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
  @media (max-width:640px) {
    display: none;
  }
}
#promotion-bar {
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
  background-color: #fe5e00;
  .container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
  .promtion-text {
    text-align: center;
    font-size: 14px;
    font-family: "Lato", serif;
    color: #fff;
  }
  .promotion-remove-icon {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
  }
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
  display: flex;
  gap: 20px;
  justify-content: space-between !important;
  .collapse {
     /* width: fit-content; */
    flex-grow: unset;
  }
  #pricebuttons {
    gap: 12px !important;
    .cartbuttons a {
      background-color: transparent;
      i {
        font-size: 10px;
      }
    }
  }
  .cartbuttons i {
    width: 20px;
    height: 20px;
    color: white;
    cursor: pointer;
  }
  .cartbuttons .fw-bold:hover {
    color: #fe5e00 !important;
  }
}

#search_bar {
  position: relative;
  #search_btn {
    position: absolute;
    top: -2px;
    right: 10px;
  }
  .form-control {
    border-radius: 30px;
    padding-left: 120px;
    background-color: #ebf2f3;
  }
}

.logo_white {
  width: 158px;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 648px) {
  .logo_white {
    max-width: 243px;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.navbar-expand-lg .navbar-nav .nav-link {
  font-family:  "Lato", serif;
  padding-left: 0px;
  font-weight: 500;
  text-transform: capitalize;
  color: white;
  &:hover{
    color: #fff !important;
  }
  @media (max-width: 991px) {
    padding-top: 1px;
    padding-bottom: 1px;
  }
}
.mobile-social{
  display: none !important;
  @media (max-width:991px) {
    display:flex !important;
  }
  i{
    color: #681e77;
  }
}
.call_button,.whatsapp-icon,.email_action {
  a {
    width: 40px;
    border-radius: 100px;
    height: 40px;
    font-size: 14px;
    background-color: #fe5e00;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border: 1px solid #fe5e00;
    transition: 0.3s ease-in;
    &:hover{
      background-color: transparent;
    }
  }
}

#search_container {
  padding-top: 12px;
  padding-bottom: 12px;
  z-index: 1004;
}

.dropdown-hover:hover > .dropdown-menu {
  display: inline-block;
}

.dropdown-hover > .dropdown-toggle:active {
  pointer-events: none;
}

#search_btn {
  box-shadow: none;
}

#search-form {
  flex-grow: 1;
  .row {
    align-items: center;
  }
  button {
    box-shadow: none;
  }
}
.navbar-brand {
  display: none;
}
#exampleFormControlSelect1 {
  display: none;
}
#search {
  border-radius: 30px;
}
#search-form {
  position: relative;
  height: fit-content;
}
#search_container {
  align-items: center;
  gap: 60px;
  @media (max-width:991px) {
    gap: 40px;
  }
  @media (max-width:640px) {
    gap: 20px;
  }
  @media (max-width:475px) {
    gap: 10px;
  }
}
header button.navbar-toggler {
  padding-right: 0px;
}
.search_btn {
  position: absolute;
  top: -5px;
  right: -15px;
}

.header_logo {
  width: 251px;
  height: 41px;
}

.user-link--top {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #681e77;
  display: flex;
  justify-content: center;
  align-items: center;
  i {
    color: white;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.wishlist_icon.user-link--top {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #681e77 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  i {
    color: white;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.show_cart.user-link--top {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #681e77 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  i {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 768px) {
  /* Your styles here */
  .navbar-brand {
    display: block;
  }
  #exampleFormControlSelect1 {
    display: block;
    border-radius: 30px 0 0 30px;
    border-right: none;
  }

  #search {
    border-radius: 0 30px 30px 0;
  }
  .cartbuttons {
    .cart_button {
      position: relative !important;
    }
  }
  .cart_button {
    .cart_number {
      position: absolute;
      top: -10px;
      right: -12px;
      width: 20px;
      height: 20px;
      background-color: #fe5e00;
      border-radius: 50%;
      color: white;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
}

.menu-content,
.sticky-menu-content,
.sticky-acc-menu-content,
.menu-acc-content {
  overflow-y: auto;
  .row {
    a {
      color: var(--bs-heading-color) !important;
    }
  }
}

@media (max-width: 640px) {
  #topbar_links {
    a {
      font-size: 7px !important;
    }
  }
  #topbar_social {
    a {
      img {
        width: 12px;
        height: 12px;
        object-fit: contain;
      }
      i {
        font-size: 0.8rem !important;
        width: 12px;
        height: 12px;
      }
    }
  }
  .menu-content,
  .sticky-menu-content,
  .sticky-acc-menu-content,
  .menu-acc-content {
    max-height: 130px;
    overflow-y: auto;
    .row {
      a {
        color: var(--bs-heading-color) !important;
      }
    }
  }
  #search_container{
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (max-width: 1024px) {
  .follow_us {
    display: none;
  }
  #topbar_links {
    a {
      font-size: 11px;
    }
  }
}
.dropdown-menu .container .row {
  width: 100%;
}
.menu-content,
.sticky-menu-content,
.sticky-acc-menu-content,
.menu-acc-content {
  scrollbar-color: #681e77;
  img {
    width: 60px;
    height: 60px;
    object-fit: cover;
  }
  h6 {
    font-size: 1rem;
  }
  p {
    font-size: 12px;
  }
}
@media (max-width: 640px) {
  .menu-content,
  .sticky-menu-content,
  .sticky-acc-menu-content,
  .menu-acc-content {
    overflow-x: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
    img {
      width: 40px !important;
      height: 40px !important;
      object-fit: cover;
    }
    h6 {
      font-size: 0.8rem;
    }
    p {
      font-size: 10px;
    }
  }
}
#show_cart,#show_cart_link {
  position: relative;
}

.cart_number {
  background-color: #fe5e00;
  position: absolute;
  top: -43%;
  right: -35%;
  width: 20px;
  height: 19px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
}
.wishlist_icon {
  position: relative;
}

.wishlist_number {
  background-color: #fe5e00;
  position: absolute;
  top: -45%;
  right: -35%;
  width: 20px;
  height: 19px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
}
.wishlist_number.fixed_wislist {
  background-color: #fe5e00;
  position: absolute;
  top: -43% !important;
  right: -35%;
  width: 20px;
  height: 19px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
}

@media (max-width: 991px) {
  li.nav-item.dropdown.position-static {
    position: relative !important;
  }
  .nav-link.dropdown-toggle {
    width: 100%;
  }
  .nav-link.dropdown-toggle::after {
    display: none;
  }
}

.menu-content .product_image,
.sticky-menu-content .product_image,
.sticky-acc-menu-content .product_image,
.menu-acc-content .product_image {
  overflow: hidden;
  width: 60px;
}
.menu-content a:hover img,
.sticky-menu-content a:hover img,
.sticky-acc-menu-content a:hover img,
.menu-acc-content a:hover img {
  transition: transform 0.4s ease-in-out;
}
.menu-content a:hover img,
.sticky-menu-content a:hover img,
.sticky-acc-menu-content a:hover img,
.menu-acc-content a:hover img {
  transform: scale(1.07);
}
.menu-content::-webkit-scrollbar-track,
.sticky-menu-content::-webkit-scrollbar-track,
.sticky-acc-menu-content::-webkit-scrollbar-track,
.menu-acc-content::-webkit-scrollbar-track {
  background-color: #d9d9d9 !important;
}
.menu-content::-webkit-scrollbar-thumb,
.sticky-menu-content::-webkit-scrollbar-thumb,
.sticky-acc-menu-content::-webkit-scrollbar-thumb,
.menu-acc-content::-webkit-scrollbar-thumb {
  background-color: #681e77 !important;
}

.minus-close {
  transform: scale(0);
  transition: 0.6s;
}
.customToggleIcon.show span.mega_add.d-inline-block.d-lg-none {
  display: none !important;
}

.customToggleIcon.show span.mega_minus.d-inline-block.d-lg-none {
  display: inline-block !important;
}

.customToggleIcon span.mega_minus.d-inline-block.d-lg-none {
  display: none !important;
}

.form-control:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: #bdbdbd !important;
}

/* For the select dropdown */
.form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: #bdbdbd;
}

/* For the button to match styles */
.search_btn:focus {
  outline: none;
  box-shadow: none;
  border-color: #bdbdbd;
}

.view_all_btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.view-all-static {
  display: inline;
  border: 2px solid #681e77;
  padding: 2px 10px;
  background-color: #681e77;
  transition: all 0.4s;
  font-size: 16px;
  font-weight: bold;
  z-index: 2;
  color: white;
}

.view-all-static:hover {
  color: #681e77 !important;
}

@media (max-width: 640px) {
  .view-all-static {
    font-size: 12px;
  }
}

.login_close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 20px;
  color: #681e77;
  cursor: pointer;
}

/* search suggestions */

.searchbar_custom {
  position: relative;
}

.search-results {
  position: absolute;
  top: 60%;
  left: 0;
  right: 0;
  border: 1px solid #ddd;
  background: #fff;
  max-height: 60vh;
  overflow-y: auto;
  display: none;
  z-index: -999;
  padding-top: 20px;
  border-radius: 0 0 20px 20px;
  &::-webkit-scrollbar-track {
    /*  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); */
    border-radius: 10px;
    background-color: #d9d9d9;
  }

  &::-webkit-scrollbar {
    width: 6px;
    background-color: #d9d9d9;
  }

  &::-webkit-scrollbar-thumb {
    border-radius: 10px;
    /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); */
    background-color: #681e77;
  }
}
.search-result-more {
  padding: 10px;
  a.show-more-btn{
    display: block;
    padding: 8px 16px;
    background-color: #fe5e00;
    color: white;
    border: none;
    width: fit-content;
    line-height: 1.2;
    border-radius: 25px;
    font-weight: bold;
    margin: auto;
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    &:hover{
      background-color: #681e77;
    }
  }
}
.search-result-item {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #d6d6d6;
  cursor: pointer;
  align-items: center;
  gap: 5px;
  .search-result-detail{
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
   a:not(.add-to-cart-btn) {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    @media (max-width:425px) {
      max-width: 60%;
    }
    @media (max-width:375px) {
      max-width: 80%;
    }
}
a.add-to-cart-btn{
  min-width: 110px;
  display: flex;
  justify-content: space-between;
  i{
    font-size: 13px;
    @media (max-width:430px) {
      /* display: none; */
      font-size: 11px;
    }
  }
  @media (max-width:430px) {
  justify-content: center;
  min-width: 80px;
  padding: 5px 6px !important;
    span#card-text{
      font-size: 12px;
    }
    
  }
  @media (max-width:768px) {
    margin-left: 0;
  }
}

  @media (max-width:640px) {
    padding: 5px 8px;
  }
  img {
    @media (max-width:768px) {
      width: 40px !important;
      height: 40px !important;
    }
    border-radius: 10px;
    mix-blend-mode: multiply;
  }
  span {
    &.search_p_title{
      line-height: 1.2;
      display: block;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    @media (max-width:768px) {
      font-size: 14px;
    }
    &.search_p_code{
      line-height: 1;
      font-size: 14px;
      display: block;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
      font-weight: 600;
      @media (max-width: 768px) {
        font-size: 12px;
      }
    }
  }
}
.search-link .search-result-item{
  border-bottom: none;
}

.search-result-item:hover {
  background: #f0f0f0;
}

.modal-style-1 .modal-body {
  position: relative;
}

/* login popup close btn */
.popup_close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 20px;
  color: #681e77;
  font-weight: 700;
}

#logoutLoader .loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  z-index: 9999; /* Ensure it appears above other content */
}
.brand-primary {
  color: #fe5e00;
}

#productList #loader {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  color: #681e77;
  margin: 20px 0;
}

#productList .spinner {
  border: 4px solid #f3f3f3; /* Light gray */
  border-top: 4px solid #681e77; /* Branding color */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* nested dropdown menu */

.menu-nested {
  overflow: unset !important;
  padding: 0 !important;
  padding-bottom: 12px !important;
  li {
    border-top: 1px rgba(0, 0, 0, 0.2) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;

    &:first-child {
      border-top: none !important;
    }

    &:last-child {
      border-bottom: none !important;
    }

    a {
      text-wrap-mode: wrap;
    }
  }
}

.dropdown-nested {
  .dropdown-menu {
    overflow: unset !important;
    a {
      color: var(--bs-list-group-color) !important;
    }
  }
  .menu-sub {
    position: absolute !important;
    top: 0;
    left: 100% !important;
  }
  .sub-dropend {
    a {
      padding: 5px !important;
      font-size: 15px !important;
    }
  }
}

.dropdown-nested .dropend .dropdown-toggle {
  color: var(--bs-list-group-color) !important;
  width: 100% !important;
  margin-left: 1em;
  font-weight: 400;
  font-size: 1rem;
}
.dropdown-nested .dropend .dropdown-toggle::after {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
}
.dropdown-nested .dropdown-item:hover {
  background-color: #681e77;
  color: #fff !important;
}
.dropdown-nested .dropdown-menu.menu-nested {
  display: none !important;
}
.dropdown-nested:hover > .dropdown-menu.menu-nested,
.dropend:hover > .dropdown-menu.menu-nested {
  display: block !important;
  margin-top: 0 !important;
  margin-left: 0.125em !important;
}
.dropend:hover {
  background-color: #681e77;
  color: white;
}
@media screen and (min-width: 769px) {
  .dropend:hover > .dropdown-menu.menu-nested {
    position: absolute !important;
    top: 0;
    left: 98% !important;
  }
  .dropend .dropdown-toggle {
    margin-left: 0.5em !important;
  }
}

.dropdown-menu.menu-nested .nested-list {
  padding-left: 14px !important;
}

/* mobile sub dropdown */

.sub-mobile-link {
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 6px;
  border-top: 1px rgba(0, 0, 0, 0.2) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;

  &:first-child {
    border-top: none !important;
  }

  &:last-child {
    border-bottom: none !important;
  }

  a {
    text-wrap-mode: wrap;
  }
  span {
    padding-left: 4px;
  }
}
.sub-mobile-link:hover {
  background-color: #9554a3 !important;
  color: white;
}

.sub-mobile-link:hover span {
  color: white;
}

.default-query {
  padding: 5px;
  margin-left: 14px;
  @media (max-width:640px) {
    margin-left: 0;
  }
}
.default-query b {
  margin-left: 12px;
}
.result-section .search-title {
  margin-left: 12px;
  padding: 5px;
  @media (max-width:640px) {
    margin-left: 0;
    padding: 5px 8px;
  }
}
.lazyload {
  background: #f0f0f0;
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.5s ease, background 0.5s ease;
  opacity: 0;
}

.lazyloaded {
  opacity: 1;
  background: none;
}