
  /* Custom Styles */
  .carousel img {
    height: 200px;
    margin: 0 10px;
    border-radius: 10px;
}

.category-item img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
}
.fix-banner-box {
    background-size: cover;
    background-position: center;
    min-height: 200px !important;
}


.category-item p {
    margin-top: 8px;
    font-size: 14px;
}
.offer-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
    border: 1px solid #b2f7b2;
    box-shadow: 0 2px 10px rgb(204, 252, 204) !important;
}
#search-results {
    top: 100%;
    left: 0;
    z-index: 1050;
    max-height: 350px;
    overflow-y: auto;
    background: #fff;
    border:none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 0.25rem 0;
}

 @media (max-width: 576px) {
    .restaurant-product-image {
      max-width: 105px;
      max-height: 90px;
      min-width: 105px;
      min-height: 90px;
    }
  }

  @media (min-width: 577px) {
    .restaurant-product-image {
      max-width: 150px;
      max-height: 150px;
      min-width: 150px;
      min-height: 150px;
    }
  }

  @media (min-width: 768px) {
    .restaurant-product-image {
      max-width: 190px;
      max-height: 190px;
      min-width: 190px;
      min-height: 190px;
    }
  }
 @media (max-width: 576px) {
    .ecommerce-product-image {
      max-width: 155px;
      max-height: 155px;
      min-width: 155px;
      min-height: 155px;
    }
  }

  @media (min-width: 577px) {
    .ecommerce-product-image {
      max-width: 150px;
      max-height: 150px;
      min-width: 150px;
      min-height: 150px;
    }
  }

  @media (min-width: 768px) {
    .ecommerce-product-image {
      max-width: 260px;
      max-height: 260px;
      min-width: 260px;
      min-height: 260px;
    }
  }
 @media (max-width: 576px) {
    .restaurant-category-image {
      max-width: 100px;
      max-height: 100px;
      min-width: 100px;
      min-height: 100px;
    }
  }

  @media (min-width: 577px) {
    .restaurant-category-image {
      max-width: 120px;
      max-height: 120px;
      min-width: 120px;
      min-height: 120px;
    }
  }

  @media (min-width: 768px) {
    .restaurant-category-image {
      max-width: 140px;
      max-height: 140px;
      min-width: 140px;
      min-height: 140px;
    }
  }



    .custom-prevs, .custom-nexts {
 padding:6px 12px;
  border: 2px solid transparent;
  border-radius: 10px;
  background-color: #f1f1f1;
  color: #333;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}
.owl-theme .owl-nav {
    margin: 10px !important;
}

.custom-prevs:hover, .custom-nexts:hover {
  background-color: #dee6e2;
  border: none;
}

/* Smooth fade-in animation */
.fade-in {
    animation: fadeInUp 0.3s ease-out forwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Item styles */
.search-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

.search-item:hover {
    background-color: #f8f9fa;
}


.offer-card img {
    transition: transform 0.3s ease-in-out;
}

.offer-card:hover img {
    transform: scale(1.05);
}

.hover-buttons {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: space-around;
    padding: 10px;
    transition: bottom 0.3s ease-in-out;
}

.offer-card:hover .hover-buttons {
    bottom: 0;
}

.hover-buttons button {
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease-in-out;
}

.btn-wishlist {
    background: #eef13e;
    color: rgb(27, 27, 27);
}

.btn-wishlist:hover {
    background: #d8db31;
}

.btn-cart {
    background: #055935;
    color: white;
}

.btn-cart:hover {
    background: #055935;
}
.btn-view {
    background: #7b807b;
    color: white;
}

.btn-view:hover {
    background: #7b807b;
}

  .badge-offer {
    background-color: #055935;
    color: #fff;
    width: 80%;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 18px;
  }
  .resturant_badge {
    border: 1px solid #055935;
    color: #055935;
    padding: 5px 10px;
    border-radius: 5px;
  }
  .price-old {
    text-decoration: line-through;
    color: #888;
  }
  .price{
    color:#055935;
    font-weight: bold;
    font-size: 18px;

  }
  .distance, .time {
    font-size: 14px;
    color: #6c757d;
  }


  .resturant_card{
    box-shadow: 0 4px 10px rgb(204, 252, 204);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    border: none;
}

  .resturant_card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .icon-img-bg{
    background-color: #055935;
    border-radius: 50%;
    border: 8px solid #959ca1;
  }

  .text-primary{
    color: #055935 !important;
  }
  .active-text-primary{
    color: #055935 !important;
  }

  /* Container Styling */
.newsletter-container {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    transition: box-shadow 0.3s ease-in-out;
}

/* Input Field Styling */
.newsletter-input {
    background-color: transparent;
    outline: none;
    transition: all 0.3s ease-in-out;
}

/* Apply focus effect on .newsletter-container when input is focused */
.newsletter-input:focus ~ .newsletter-button,
.newsletter-input:focus {
    outline: none;
}

/* Add shadow effect to the container when the input is focused */
.newsletter-input:focus-within,
.newsletter-input:focus-visible {
    outline: none;
}

.newsletter-container:has(.newsletter-input:focus) {
    box-shadow: 0 0 10px #055935;
    border-color: #055935;
}

/* Button Styling */
.newsletter-button {
    background-color: #055935;
    color: white;
    border: none;
    transition: background-color 0.3s ease-in-out, transform 0.2s;
}

/* Button Hover Effect */
.newsletter-button:hover {
    background-color: #055935;
    transform: scale(1.05);
}
.newsletter-input:focus {
    box-shadow:none !important;
    background-color: transparent !important;
}

  .navbar_bg{
    background-color: #edf0ed !important;
  }

  .bg-primary{
    background-color: #055935 !important;
  }
  a{
    text-decoration: none;
  }

  .custom-nav{
    background-color: #54a3571a;
    border-radius: 30px;
  }

  .nav-active{
    background-color: #055935;
    border-radius: 30px;
  }

  .text-dark{
    color: #6c757d !important;
  }

  /* product detail */


/* Image Container Styles */
.image-container {
  position: relative;
  width: 100%; /* Set to 100% for responsive scaling */
  max-width: 400px; /* Limit max width */
  height: auto;
  margin: auto;
  margin-bottom: 30px;
}

.background-image {
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 1;
  border-radius: 10px;
}

.product-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 80%;
  height: auto;
}

.card {
  border-radius: 10px;
  border: none !important;
  box-shadow: 0 2px 10px rgb(204, 252, 204) !important;
  background-color: #fff;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0;
  border-bottom: none;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
}


.card-body {
  padding: 20px;
}

.card-text {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.5;
}

/* Quantity Controls */
.btns {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

input[type="number"] {
  width: 50px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 5px;
}


/* Responsiveness */
@media (max-width: 768px) {
  .image-container {
    max-width: 300px;
    height: auto;
  }
  .custom-switch{
    font-size:10px !important;
  }

  .nav-link {
    text-decoration: none;
    margin: 0 0rem !important;
  }
  .footer-image{
    width:150px;
  }

  .product-image {
    max-width: 70%;
  }

  .card-header h2 {
    font-size: 1.2rem;
  }

  .card-header h1 {
    font-size: 1.5rem;
  }

  .card-text {
    font-size: 0.85rem;
  }

  .btn-lg {
    font-size: 0.9rem;
    /* padding: 10px; */
  }
}

@media (max-width: 576px) {
  .image-container {
    max-width: 250px;
    height: auto;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .text-primary {
    font-size: 1.2rem;
  }



  input[type="number"] {
    width: 40px;
  }
}

.star i{
  color: rgb(243, 243, 50);
}

.restaurant-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}
.restaurants-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.restaurants-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.restaurant-card .info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 15px;
  border-radius: 10px;
}
.restaurants-card .info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 15px;
  border-radius: 10px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.categories button {
  padding:6px 12px;
  border: 2px solid transparent;
  border-radius: 10px;
  background-color: #f1f1f1;
  color: #333;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}


/* for custom nav */
.custom-nav-container {
  display: flex;
  justify-content: center;
}

.custom-nav {
  display: inline-flex;
  padding: 0.5rem 1rem;
  background-color: white;
  border-radius: 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: fit-content;
  border:1px solid #055935 !important;
}

.nav-link {
  text-decoration: none;
  margin: 0 0.5rem;
}

.nav-active {
  color: white;
  background-color: #055935;
  font-weight: bold;
  border: none !important;
}

.resturant-detail-nav a{
  border-radius: 50px;
  border: 1px solid #333;
}


.menu-item {
  background: #fff;
  box-shadow: 0 2px 10px rgb(204, 252, 204) !important;
  border: none !important;
  border-radius: 15px;
  overflow: hidden;
  padding: 5px;
  text-align: center;
}

.menu-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}



.menu-item h6 {
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 1rem;
}

.menu-item p {
  margin-bottom: 10px;
  color: #055935;
  font-weight: bold;
}

.menu-item .add-button {
  background-color: #055935;
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .restaurant-card img {
    height: 20px;
  }
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

.header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.search-icon {
  font-size: 1rem;
  color: #333;
  cursor: pointer;
}



/* for checkout */

.checkout-header {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.checkout-header a {
  text-decoration: none;
  color: #6c757d;
}

.table th, .table td {
  vertical-align: middle;
}

.btn-quantity {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-quantity.add {
  background-color: #055935;
  color: white;
  border: none;
}

.btn-quantity.subtract {
  background-color: #333;
  color: white;
  border: none;


}

.card {
  border: none;
  background-color: #fff;
}
.card-bg{
    background-color: #F0F5FA;
}

.delivery-location {
  padding: 5px;
  background-color: #F0F5FA;
  border-radius: 10px;
  font-size: 0.9rem;
  box-shadow: none !important;
}

.promo-input{
  background-color: #F0F5FA;
}
.delivery-location p {
  margin: 0;
  font-weight: bold;
}

.promo-code {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.promo-code input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
}

.promo-code button {
  margin-left: 10px;
  background-color: #055935;
  color: white;
  border-radius: 10px;
  border: none;
  padding: 10px 15px;
}

.summary-card {
  padding: 20px;
  border-radius: 10px;
  background-color: #f9f9f9;
}

.summary-card .line {
  border-top: 2px dashed #ddd;
  margin: 10px 0;
}

.total {
  font-weight: bold;
  font-size: 1.2rem;
  color: #055935;
}

.checkout-btn {
  color: white;
  padding: 15px;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
}


/* for checkout */

.summary-card, .payment-card {
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
}

.line {
  border-top: 2px dashed #ddd;
  margin: 15px 0;
}

.total {
  font-weight: bold;
  font-size: 1.5rem;
  color: #055935;
}
.payment-methods {
    display: flex;
    gap: 35px;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .payment-method {
    width: 190px;
    height: 100px;
    border: 2px solid #ddd;
    border-radius: 10px;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    /* position: relative; */
  }


  .payment-method input {
    position: absolute;
    opacity: 0;
  }

  .payment-method img {
    max-width: 70%;
    transition: transform 0.3s ease-in-out;
  }

  .payment-method:hover {
    border-color: #055935;
    background-color: #f0fff4;
  }

  .payment-method.selected {
    border-color: #055935;
    background-color: #f0fff4;
  }

  .payment-method.selected img {
    transform: scale(1.1);
  }

  .tip-options {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 20px 0;
    }

    .tip-option {
        padding: 5px 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: white;
    }

    .tip-option.selected {
        background-color: #055935;
        color: white;
        border: none;
    }

    #custom-tip-container {
        display: none;
        margin-top: 10px;
        width: 80px;
    }
.btn-pay {
  background-color: #055935;
  color: white;
  border: none;
  padding: 15px;
  font-weight: bold;
  border-radius: 10px;
  width: 100%;
  cursor: pointer;
}

.btn-pay:hover {
  background-color: #055935;
}


/* track order  */

.track {
  position: relative;
  background-color: #ddd;
  height: 7px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 60px;
  margin-top: 50px
}

.track .step {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  width: 25%;
  margin-top: -18px;
  text-align: center;
  position: relative
}

.track .step.active:before {
  background: #055935;
}

.track .step::before {
  height: 7px;
  position: absolute;
  content: "";
  width: 100%;
  left: 0;
  top: 18px
}

.track .step.active .icon {
  background: #055935;
  color: #fff
}

.track .icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  position: relative;
  border-radius: 100%;
  background: #ddd
}

.track .step.active .text {
  font-weight: 400;
  color: #2e2e2e
}

.track .text {
  display: block;
  margin-top: 7px
}


.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  color:#055935 !important;
  background: none !important;
  border-bottom: 2px solid #055935;
  border-radius: 0%;
}
.nav-pills .nav-link, .nav-pills .show>.nav-link {
  color:#555a55 !important;
  background: none !important;
  border-bottom: none;
  border-radius: 0%;
}


/* for banner */

.product-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.product {
  flex: 0 0 33.33%; /* Show three products at once */
  padding: 15px;
  text-align: center;
}

.product img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;

}

.carousel-control-prev, .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-control-prev {
  left: -15px;
}

.carousel-control-next {
  right: -15px;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: #055935;
  width: 30px;
  height: 30px;
  border-radius: 5px;
}


 /* Container Styling */
 .search-form {
    border-radius: 5px;
    transition: box-shadow 0.3s ease-in-out;
}

/* Input Field Styling */
.search-input {
    background-color: white;
    outline: none;
    transition: all 0.3s ease-in-out;
    box-shadow: none !important;
}


/* Apply focus effect on .search-form when input is focused */
.search-form:has(.search-input:focus) {
    box-shadow: 0 0 2px #055935;
    border-color: #055935;
}

/* Button Styling */
.search-button {
    background-color: #055935;
    color: white;
    border: none;
    transition: background-color 0.3s ease-in-out, transform 0.2s;
}

/* Button Hover Effect */
.search-button:hover {
    background-color: #055935;
    transform: scale(1.05);
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #055935 !important;
    width:30px !important;

}

.item {
    position: relative;
    display: inline-block;
}

.overlay-text {
    top: 70%;
    left: 5%;
    transform: translateY(-50%);
    background: rgba(49, 218, 34, 0.5); /* Optional: Background overlay */
    padding: 10px 20px;
    border-radius: 5px;
}

  /* Change pagination colors */
  .pagination .page-link {
    color: grey; /* Text color */
    background-color: #F8F9FA !important; /* Background color */
    border: 1px solid #F8F9FA; /* Border color */
}

/* Change hover effect */
.pagination .page-link:hover {
    background-color: #055935 !important;
    color: #fff;
}

/* Active page */
.pagination .active .page-link {
    background-color: #055935 !important; /* Active page background */
    border-color: #055935;
    color: white;
}

/* Disabled page */
.pagination .disabled .page-link {
    background-color: #e9ecef;
    color: #6c757d;
    border-color: #dee2e6;
}

@media (max-width: 768px) {
    .icon-img-bg img {
        height: 40px !important;
        /* Reduce image size */
    }
     .pb-6 {
    padding-bottom: 5rem !important;
}
    .delivery_text{
        font-size:12px !important;
    }
    .overlay-text {
        top: 60%;
        left: 5%;
        transform: translateY(-50%);
        background: rgba(49, 218, 34, 0.5); /* Optional: Background overlay */
        padding: 10px 20px;
        border-radius: 5px;
    }

    .icon-img-bg {
        padding: 10px !important;
        /* Reduce padding */
    }

    .feature-text {
        font-size: 12px !important;
        /* Reduce text size */
    }

    .feature-title {
        font-size: 14px !important;
        /* Reduce title size */
    }
}

.btn-outline-primary {
    --bs-btn-color: #055935 !important;
    --bs-btn-border-color: #055935 !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #055935 !important;
    --bs-btn-hover-border-color: #055935 !important;
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #055935 !important;
    --bs-btn-active-border-color: #055935 !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #055935 !important;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #055935 !important;
    --bs-gradient: none
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #055935 !important;
    --bs-btn-border-color: #055935 !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #055935 !important;
    --bs-btn-hover-border-color: #055935 !important;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #055935 !important;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #055935 !important;
    --bs-btn-disabled-border-color: #055935 !important
}
.banner-box {
    width: 100%;
    height: 400px !important; /* Default height for desktop */
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .banner-box {
        height: 200px !important; /* Height for mobile */
    }
}


/* .fix-banner-box {
    min-height: 300px !important;
} */

@media (max-width: 768px) {
    .fix-banner-box {
        min-height: 200px !important;
    }
}
/* rating */
.rating {
    display: flex;
    flex-direction: row;
    justify-content:left;
    font-size: 2rem;
    direction: rtl;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    color: #ccc;
    transition: color 0.3s;
}

.rating label:hover,
.rating label:hover ~ label,
.rating input:checked ~ label {
    color: #055935;
}


.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.dropdown-menu .dropdown-item:focus {
    background-color: #91f591 !important; /* Change to your desired color */
    color: white !important; /* Ensure text is visible */
}

.form-check-input:checked {
    background-color: #055935 !important;
    border-color: #055935 !important;
}

.table-light {
    --bs-table-color: #000000;
    --bs-table-bg: #F0F5FA;
    --bs-table-border-color: #055935;
    --bs-table-striped-bg: #ecedee;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #dfe0e1;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #e5e6e7;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.custom-border-radius{
    border-radius: 40px 40px;
  }



