
header#masthead {
  padding: 0;
  /* box-shadow: rgb(149 157 165 / 15%) 0px 10px 24px; */
  position: sticky;
  top: 0;
  background-color: #fff !important;
  z-index: 1;
}

/* --------- */
a {
  outline: none !important;
  text-decoration: none !important;
}
select.dokan-form-control {
  height: auto !important;
}

input[type="submit"].dokan-btn-theme,
a.dokan-btn-theme,
.dokan-btn-theme {
  background-color: #db2424 !important;
}

.highlighted-text-red {
  color: #db2424;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

header .custom-logo-link img {
  max-width: 200px;
  width: 200px;
  object-fit: cover;
  height: 50px;
}
@media (max-width: 768px) {
  header .custom-logo-link img {
    max-width: 130px;
    width: 130px;
    object-fit: cover;
    height: 30px;
  }
}
#dokan-seller-listing-wrap ul.dokan-seller-wrap li .store-wrapper {
  box-shadow: none !important;
}

.dokan-store-products-filter-area .orderby-search {
  padding: 0 !important;
}

/* Home Search */

#dish-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  margin-top: 5px;
  z-index: 1000;
  padding: 0;
}

#dish-suggestions li {
  padding: 8px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
}

#dish-suggestions li:hover {
  background-color: #f0f0f0;
}

.suggestion-image {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 50%;
  object-fit: cover;
}

#restaurant-search-form {
  display: flex;
  align-items: center;
  background: #fff;
  border: none;
  border-radius: 4px;
  max-width: 100%;
  padding: 10px 20px;
  position: relative;
  gap: 10px;
  max-width: 700px !important;
  width: 700px !important	;
}
@media (max-width: 768px) {
  #restaurant-search-form {
    max-width: 700px !important;
    width: 100% !important;
    display: block !important;
  }
}
.input-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  flex: 1;
  gap: 10px;
  /* margin-bottom: 10px; */
}

#search-type {
  width: 100%;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
}
@media (max-width: 768px) {
  #search-type {
    margin-bottom: 10px;
  }
}
#city,
#area-district,
#search-dish {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
  border: 1px solid #ccc;
}

input#area-district {
  flex: 2;
}

#restaurant-search-form button {
  background: #db2424;
  color: #fff;
  cursor: pointer;
  padding: 8px 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  border: none;
  border-radius: 4px;
}
@media (max-width: 768px) {
  #restaurant-search-form button {
    margin-top: 10px;
  }
}
#location-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  margin-top: 5px;
  z-index: 1000;
  padding: 0;
}

#location-suggestions li {
  padding: 8px;
  cursor: pointer;
  list-style: none;
}

#location-suggestions li:hover {
  background-color: #f0f0f0;
}
/*  */
/* ------ STORE  PAGE ---------- */
.dokan-store-products-filter-area {
  padding-top: 3rem;
}
.dokan-store-products-filter-area .dokan-store-products-ordeby {
  display: flex !important;
  /* justify-content: space-between; */
}
@media (max-width: 768px) {
}
.dokan-store-products-filter-area .dokan-store-products-ordeby select.orderby {
  width: 40%;
  padding: 5px !important;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  .dokan-store-products-filter-area
    .dokan-store-products-ordeby
    select.orderby {
    width: 40%;
    padding: 5px !important;
    position: unset;
    transform: unset;
  }
}
.dokan-single-store
  .profile-frame
  .profile-info-box
  .profile-info-summery-wrapper
  .profile-info-summery
  .profile-info-head
  .profile-img {
  /* display: flex; */
}

/* ---------------------- */

.store-cat-stack-dokan.cat-drop-stack ul {
  max-height: 800px;
  overflow-y: scroll;
  scrollbar-width: thin;
  /* For Firefox */
  scrollbar-color: #c1c1c1 #ffa500 !important;
  /* Thumb and track color for Firefox */
}

/* Webkit-based browsers (Chrome, Safari, Edge) */
.store-cat-stack-dokan.cat-drop-stack ul::-webkit-scrollbar {
  width: 8px;
  /* Width of the scrollbar */
}

.store-cat-stack-dokan.cat-drop-stack ul::-webkit-scrollbar-thumb {
  background: #888;
  /* Scrollbar thumb color */
  border-radius: 10px;
  /* Rounded corners */
}

.store-cat-stack-dokan.cat-drop-stack ul::-webkit-scrollbar-thumb:hover {
  background: #555;
  /* Darker thumb on hover */
}

.store-cat-stack-dokan.cat-drop-stack ul::-webkit-scrollbar-track {
  background: #f0f0f0;
  /* Track background color */
  border-radius: 10px;
  /* Optional rounded track corners */
}
/* --------------------- */
.underline-title .elementor-heading-title {
  position: relative;
  width: max-content !important;
}
.underline-title .elementor-heading-title::after {
  content: "";
  position: absolute;
  height: 2px;
  background-color: #ffa500;
  bottom: -15%;
  width: 35%;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .underline-title .elementor-heading-title::after {
    content: "";
    left: 0%;
    transform: translateX(0%);
  }
}
/* ---------------------- */
select.orderby {
  border: 1px solid #cecece !important;
}
/* Shop product cards */
@media (max-width: 768px) {
  ul.products li.product {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    margin-bottom: 10px !important;
    border-radius: 12px;
    padding: 10px !important;
  }

  ul.products li.product > :nth-child(1) {
    width: 30%;
  }

  ul.products li.product > :nth-child(2) {
    width: 60%;
  }
  .products .astra-shop-summary-wrap .ast-woo-product-category,
  .products .astra-shop-summary-wrap .woocommerce-loop-product__title,
  .products .astra-shop-summary-wrap .price,
  .products .astra-shop-summary-wrap .button {
    margin-bottom: 0 !important;
  }
  ul.products
    li.product
    .astra-shop-thumbnail-wrap
    img.attachment-woocommerce_thumbnail {
    margin: 0;
  }
  .products .astra-shop-summary-wrap .button {
    border-radius: 12px;
    width: 60%;
    text-align: center;
  }
}

/* WIDGET AREA {STORE} */
.dokan-widget-area .widget-title {
  display: none;
}
@media (max-width: 768px) {
  .ast-header-break-point .site-header .main-header-bar-wrap .site-branding {
    padding: 0;
  }
  .ast-header-break-point .site-logo-img .custom-mobile-logo-link img {
    height: 30px;
    object-fit: contain;
    padding: 0 !important;
  }
}

/* RESTAURANT PAGE */

#restaurant_list .page-title-restaurant {
  font-size: 1.3rem;
  padding: 1rem 0rem;
  margin: 0;
}
