 #wrapper {
    padding-right: 370px;
    transition: all 0.5s ease;
    overflow: hidden;
 }
 
 #wrapper.toggled {
    padding-right: 0;
    overflow: hidden;
 }
 
 #sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    right: 0;
    width: 370px;
    height: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); 
    padding: 10px;
    transition: all 0.5s ease;
 }
 
 #wrapper.toggled #sidebar-wrapper {
    width: 0;
 }
 
 #wrapper.toggled #page-content-wrapper {
    margin-right: 370px;
 }
 
 /* Sidebar Styles */
 
 .sidebar-nav {
    position: absolute;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 2px;
 }
 
 .sidebar-nav li {
    text-indent: 15px;
    line-height: 40px;
    color: #ffffff;
 }
 
 .sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999999;
 }
 .sidebar-nav li.active a {
    color: #f9a825;
}
/* Header Row Styles */
.header-row {
    background-color: #f4f6fc;
    padding: 10px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #6f6e7c;
    display: flex;
    justify-content: space-between;
}

.header-col {
    flex: 1; 
} 
.header-row .header-col:nth-child(2) {
    text-align: left; 
} 
 .header-row .header-col:nth-child(3) {
    text-align: right;
}
.addedimg{
    padding-left: 80px;
    width: 100%; 
    max-width: 250px;
}
.button-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border: 2px solid #ccc;
    border-radius: 30px;
    overflow: hidden;
    background-color: #f4f4f4;
    padding: 5px;
}

.button {
    flex: 1;
    margin-right: 10px;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: Arial, sans-serif; 
    color: #7b7b7b;
    text-align: center;
    position: relative;
}
.button:last-child {
    margin-right: 0;
}

.button.active {
    background-color: #f9a825; 
    color: #fff;
    border-radius: 20px; 
}

.button span.time {
    font-size: 14px;
    color: inherit;
    margin-top: 5px;
}

.button.pickup.active {
    background-color: #f9a825; 
}

.button.delivery.active {
    background-color: #f9a825; 
}

.button.delivery .time {
    color: #c0392b; 
}

.button:hover {
    opacity: 0.9;
}

/*  */
.summary-container {
    width: 100%;
    max-width: 400px;
    background-color: #f4f6fc;
    border-radius: 8px;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #6f6e7c;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 16px;
    margin-bottom: 10px;
}

.summary-row span {
    font-weight: bold;
}

.total-row {
    display: flex;
    justify-content: space-between;
    background-color: #ffa500;
    color: white;
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    font-size: 18px;
    margin-bottom: 10px;
}


.price, .total-price {
    font-weight: bold;
    color: #333;
}
@media (max-width: 768px) {
    #wrapper {
        padding-right: 250px; /* Reduce sidebar width for smaller screens */
    }
    #sidebar-wrapper {
        width: 250px; /* Narrower sidebar for small screens */
    }
    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }
    #wrapper.toggled #page-content-wrapper {
        margin-right: 250px;
    }
    .button-container {
        flex-direction: column;
        margin-bottom: 0;
    }
    .button {
        width: 100%;
        margin-bottom: 10px;
    }
    .addedimg {
        margin-left: 30px;
        max-width: 150px;
        margin: 0 auto; /* Center the image */
    }
    .header-row {
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start;
    }
    .header-col {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }
    .summary-row, .total-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .price, .total-price {
        margin-top: 5px;
    }
}

 /* hover */
.card {
    transition: background-color 0.3s ease;
    height: 180px; 
    width: 200px; 
    display: flex;
    align-items: center;
    justify-content: center; 
    flex-direction: row;
  }

.card img {
    flex-shrink: 0;
    width: 70px;
    margin-right: 10px;
  }
  
  .card div {
    display: flex;
    flex-direction: column;
    align-items: start; 
  }
  
.hover-earn-points:hover {
    background-color: #f7b731; 
  }
  
  .hover-special-gift:hover {
    background-color: #e74c3c;
  }
  
  .hover-schedule:hover {
    background-color: #3498db;
  }
  
  .hover-restaurant-timing:hover {
    background-color: #2ecc71; 
  }
  
  .card:hover p, .card:hover strong {
    color: white;
  }
  @media (min-width: 992px) {
    .row {
      flex-wrap: wrap;
      gap: 15px;
    }
  
    .card {
      width: 180px; /* Ensure consistent size */
    }
  }
  
  /* For tablets and smaller screens */
  @media (max-width: 768px) {
    .row {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      justify-content: space-between;
    }
  
    .card {
      width: calc(50% - 15px); /* Two cards per row */
      margin-bottom: 15px;
    }
  
    .card img {
      width: 50px;
    }
  }
  
  /* For mobile phones */
  @media (max-width: 576px) {
    .row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
  
    .card {
      width: calc(50% - 10px); /* Two cards per row on small screens */
      margin-bottom: 10px;
    }
  
    .card img {
      width: 50px;
      margin-bottom: 10px;
    }
  
    .card div {
      align-items: center;
    }
  }

/* container */
#page-content-wrapper {
    position: relative;
    padding: 15px;
    width: 100%;
    max-width: 100%;
    transition: all 0.5s ease;
    right: 0;
    overflow-x: hidden; 
 }

 .store-banner {
    background-color: white;
    position: relative;
    box-shadow: 2px 2px 5px rgba(230, 225, 225, 0.3);
}

.btn-outline-warning {
    border-radius: 5px;
}

.btn-warning {
    background-color: #ffb400;
    border-color: #ffb400;
    color: white;
}

.position-absolute {
    position: absolute;
}

.btn-group {
    margin: 0; 
    background-color: #f4f6fc;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
}

.hr {
    margin: 0.2rem 0; /* Adjust as needed */
    border: 0;
    border-top: 1px solid #171515; /* Light border for hr */
  }
  @media (max-width: 576px) {
    .btn-group {
      flex-wrap: wrap;
      gap: 10px;
    }
  
    .btn-group .btn {
      width: 100%;
      margin-bottom: 5px;
    }
  }
   
  .card-container {
    display: flex;
    gap: 15px;
    justify-content: space-around;
    background-color: #f4f6fc;
    padding: 15px;
    border-radius: 10px;
    flex-wrap: wrap; 
  }
  .product-title {
    font-family: 'Arial', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
  }

   .product-card {
    display: flex;
    background-color: #fff;
    justify-content: space-between;
    border-radius: 15px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 350px;
    max-width: 100%;
    position: relative;
    align-items: center;
  }
  
  .product-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid orangered;
  }
  
  .product-image {
    max-width: 100px;
    height: 150px;
    border-radius: 10px;
    margin-right: 16px;
  }
  
  .product-details {
    flex: 1;
    padding: 10px 0;
    text-align: left;
  }
  
  .product-details h2 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #333;
    font-weight: bold;
  }
  
  .product-details p {
    font-size: 14px;
    color: #777;
    margin: 0 0 15px 0;
  }
  
  .product-price {
    font-size: 22px;
    font-weight: bold;
    color: #333;
  }
  
  .product-button {
    position: absolute;
    right: 10px;
    bottom: 20px;
  }
  
  .product-button button {
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  
  .product-button button:hover {
    background-color: #f0f0f0;
    border-color: #999;
  }
/* Media Queries */


 @media (max-width: 768px) {
    .card-container {
      justify-content: center;
      flex-direction: column;
      gap: 30px;
    }
  
    .product-card {
      width: 100%;
      flex-direction: column;
      align-items: center; 
    }
  
    .product-image {
      margin-right: 0;
      margin-bottom: 16px; 
      width: 100%; 
      max-width: 300px; 
    }
  
    .product-button {
      position: static; 
      margin-top: 15px;
      text-align: center; 
    }
  }
  
@media (min-width: 769px) and (max-width: 1024px) {
    .card-container {
        justify-content: space-around;
        gap: 20px;
    }

    .product-card {
        width: 48%;
    }
}

/* Desktop screens (1025px and above) */
@media (min-width: 1025px) {
    .card-container {
        justify-content: space-around;
    }

    .product-card {
        width: 30%;
    }
}