body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    width: 95%;
    margin: auto;
    background-color: #ff5733;
    color: white;
    padding: 20px  0 20px 0   ;
    text-align: center;
    display: flex;
    box-shadow: -5px 0 5px -5px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header1 { flex: 1; }
.header2 { flex: 3; }
.header3 { flex: 2; }
.header4 { flex: 2; }
.header5 { flex: 1; }
.header6 { flex: 1; }
.header7 { flex: 1; } 
.header8 { flex: 1; }
.header9 { flex: 1; }


header a {
    color: white;
    text-decoration: none;
}

header i {
    font-size: 2.5rem;
}
 

.container1 {
    display: flex;
    width: 95%; /* Ensure both containers have the same width */
    margin: auto; /* Center horizontally */
    text-align: center;
    border: 1px solid rgba(255, 235, 219, 1);
    background-color: rgba(255, 255, 255, 0.8);
}

.field {
    flex: 1;
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid transparent; /* Default bottom border color */
    border-left: 1px solid transparent; /* Default left border color */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for color change */
}

.left-field {
    
    border-right: 1px solid rgba(0, 0, 0, 0.1); /* Line between fields */
}

.right-field {
    border-left: 1px solid rgba(0, 0, 0, 0.1); /* Line between fields */
}

.ads-container {
    width: 95%; /* Adjusted width of the container */
    max-height: 150px; /* Ensures the container does not exceed 150px in height */
    margin: auto; /* Center horizontally */
    text-align: center;
    border: 1px solid rgba(255, 235, 219, 1);
    box-shadow: -5px 0 5px -5px rgba(0, 0, 0, 0.3),
                5px 0 5px -5px rgba(0, 0, 0, 0.3),
                0 5px 5px -5px rgba(0, 0, 0, 0.3);
    overflow: hidden; /* Ensures content does not overflow */
    position: relative; /* Allows absolute positioning of child elements */
    display: flex; /* Use flexbox to align items */
    align-items: center;
    justify-content: center
}

.ads-image {
    width: 100%; /* Let the width scale automatically */
    height: 70px; /* Maintain aspect ratio */
    
}


.main-container {
    width: 95%;
    text-align: left;
    margin: auto;
    padding: 20px  0 20px 0   ;
    border-left: 1px solid rgba(255, 235, 219, 1);
    border-right: 1px solid rgba(255, 235, 219, 1);
    box-shadow: -5px 0 5px -5px rgba(0, 0, 0, 0.3),
                5px 0 5px -5px rgba(0, 0, 0, 0.3),
                0 5px 5px -5px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.8);
}

.main-container h2 {
    margin-bottom: 10px;
}

.main-container p {
    line-height: 1.6;
}

button, .btn {
    background-color: #ff5733;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

button:hover, .btn:hover {
    background-color: #cc462a;
}

.bestseller-container{}
.all-container{}

.bestseller-product-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 2 columns */
    gap: 20px; /* Space between product items */
    padding: 20px;
}
.all-product-container {  
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 2 columns */
    gap: 20px; /* Space between product items */
    padding: 20px;
}

 
.orders-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 2 columns */
    gap: 20px; /* Space between product items */
    padding: 20px;
    width: 95%;
    margin: auto;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);

}
orders-account-container
{  
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: flex-end;
}


.account-container {  
    display: grid;
    width: 95%;
    margin: auto;
    grid-template-columns: repeat(1, 1fr); /* 2 columns */
    gap: 20px; /* Space between product items */
    padding: 20px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);

}

.product-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 20px; /* Space between product items */
    padding: 20px;
}

.product-item {
    border: 1px solid rgba(255, 235, 219, 1);
    background-color: #fff;
    width: 100%;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
}
.product-field {
    flex: 1; /* Each field takes up equal space */
    width:75%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.product-field-2 {
        width:75%;

    flex: 1; /* Takes up 2/3 of the width */
    flex-direction: column;
    justify-content: space-between;
}

.upper-section {
    flex: 3; /* Takes up 3/4 of the height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lower-section {
    flex: 1; /* Takes up 1/4 of the height */
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* Optional: add a border between sections */
    padding: 10px;
}


.product-item:hover {
    transform: scale(1.05);
}

.product-item img {
    max-width: 65%;
    height: auto;
    cursor: pointer;
}

.product-details {
    margin-top: 10px;
}

.product-detail-container {
    display: flex;
    padding: 30px;
     border-radius: 10px 10px 0 0;
        border-top: 1px solid #ddd;
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
    background-color: #fff;
    max-width: 900px;
    margin:  auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    align-content: center;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

.product-detail-upper {
    display: flex;
    width: 100%;
    margin-bottom: 20px; /* Space between upper content and addons */
}

/* Image styling */
.product-detail-image {
    flex: 1; /* Allow image section to take 50% */
    max-width: 50%; /* Ensure it doesn't exceed 50% */
    margin-right: 20px;
}

.product-detail-image img {
    width: 80%;
    border-radius: 10px;
}

/* Product information container */
.product-detail-info {
    
    flex: 1;
    max-width: 50%;
    text-align: center;
}    


/* Product title styling */
.product-detail-info h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Product description styling */
.product-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #555;
}

/* Product price styling */
.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

/* Addons container styling */
.addons-container {
    padding: 30px;
    border-top: 1px solid #ddd;
    border-left:  1px solid #ddd;
    border-right: 1px solid #ddd;
    border-radius: 10px 10px 10px 0;
    background-color: #fff;
    width: 100%;
    box-shadow: 0px -20px 20px 0px rgba(0, 0, 0, 0.1)
}
/* Addons container styling */

/* Addon categories container to arrange them in columns */
.addon-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust spacing between categories as needed */
}

/* Individual addon category styling */
.addon-category {
    flex: 1;
    min-width: 200px; /* Adjust the minimum width of each column */
}

.addon-category h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.addon-category ul {
    list-style-type: none;
    padding: 0;
}

.addon-category li {
    margin-bottom: 10px;
}


.product-quantity-container {
    display: flex;
    align-items: center;
    text-align: center;
    border: 1px solid grey;  
    border-radius: 10px; /* Optional: add border-radius for rounded corners */
     
}

.quantity-button-container {
    flex: 1; /* Each inner container will take up an equal portion of the parent container */

}
.quantity-input-container {
     border-left: 1px solid grey;
     border-right: 1px solid grey;   
     flex: 1;
}
 .fa-minus {
     cursor: pointer;
     color: red;
}
.fa-plus
{
    cursor: pointer;
     color: greenyellow;
}
.product-quantity {
    width: 20px; /* Make the input field take up the full width of its container */
    text-align: center;
    border:none;
    padding: 5px;
 }
 
 .product-quantity-cart {
    width: 30px; /* Make the input field take up the full width of its container */
    text-align: center;
    padding: 5px;
    border: 2px solid #aaa;  
 }
 
 .add-to-cart-container{
     text-align:right;
     
 }
/* Styles for the gray glass buttons */
.gray-glass-button {
    background: rgba(128, 128, 128, 0.5);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}
 
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}
 
 
.add-to-cart {
    background-color: #ff5733;
    flex: 1; /* Each inner container will take up an equal portion of the parent container */
    color: white;
    border: none;
    border-radius: 0 10px 10px 0;
    padding: 5px 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.add-to-cart:hover {
    background-color: #cc462a;
}

/* Add a spinner for loading more products */
.spinner {
    display: none; /* Hidden by default */
    margin: 20px auto;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #ff5733;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.split-container {
    display: flex;
    gap: 10px;
 }

.left-section {
    flex: 2;
}

.right-section {
    flex: 1;
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
}

  .checkout-product-container {
            display: flex;
            justify-content: space-between;
            align-items:first;
             padding: 10px;
            border-bottom: 1px solid #ddd;
        }
        
   .checkout-summary {
    width: 80%; /* Adjusted width */
    background-color: rgba(240, 240, 240, 0.3);
    padding: 10px; /* Reduced padding */
    margin: auto;
    border-radius: 10px;
    font-size: 0.9rem; /* Slightly larger font size */
    position: sticky;
    top: 20px; /* Adjusted sticky positioning */
}

.checkout-summary .item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px; /* Reduced margin bottom */
}

.checkout-summary .item .value {
    font-weight: bold;
}

.checkout-summary .item.discounts .value {
    color: green;
}

.checkout-summary .total {
    border-top: 2px dotted #000;
    padding-top: 8px; /* Reduced padding top */
    margin-top: 10px;
    font-size: 1rem;
    font-weight: bold;
}

        
    .checkout-product-quantity-container {
    display: flex;
    align-items: center;
    text-align: center;
    border: 1px solid grey;  
    border-radius: 10px; /* Optional: add border-radius for rounded corners */
    width: 30%;
     
}
        
/* Parent container for input and button */
/* Parent container for input and button */
.discount-code-container {
    width: 50%; /* Adjust width as needed */
    margin: auto;
    height: 20%;
    text-align: center;
    display: flex; /* Arrange children side by side */
    align-items: center; /* Vertically center items */
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid greenyellow;
    box-shadow: -5px 0 5px -5px rgba(0, 0, 0, 0.3),
                5px 0 5px -5px rgba(0, 0, 0, 0.3),
                0 5px 5px -5px rgba(0, 0, 0, 0.3);
    height: 40px; /* Fixed height */
}    
    
    
.customer-payment-container {
    margin-top: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
}

.customer-pickup-details,
.customer-delivery-details {
    display: none;
    padding-top: 10px;
}
.customer-pickup-details.expanded,
.customer-delivery-details.expanded{
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 20px; /* Adjust spacing between columns */
}
  
.customer-input, .payment-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.customer-details{
  display: block;
    gap: 10px; /* Adjust spacing between columns */
}

.cart-items {
    display: flex;    
    flex-direction: column;
    
}

.cart-item {
    display: flex;    
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left; /* Ensure all text is left-aligned */
}
 

.cart-item img {
    width: 100px;
    height: 100px;
}
.cart-img  {
    width: 100px;
    height: 100px;
    flex: 1; /* Takes up 1/3 of the width */
    margin-right: 20px; /* Space between image and details */
}
 
.cart-img img {
    width: 100px;
    height: 100px;
}
.cart-details {
    flex-grow: 1;
        flex: 1; /* Takes up 1/3 of the width */
        right: ;
}

.cart-details h4,
.cart-details p,
.cart-details ul,
.cart-details form {
    margin: 0;
    padding: 0;
}

.cart-details ul {
    list-style-type: none;
    padding-left: 0;
}

.edit-button{
        
    text-align: right;
    
}



select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

    .additional-instructions-container {
    flex: 1;
    width: 40%;
    background-color: #fff;
    padding: 10px;
    margin: 20px;
    margin-right: auto; /* Align to the right */
    border-radius: 10px;
    font-size: 0.5rem;
    border: 1px solid rgba(255, 235, 219, 1); /* border-right: 1px solid rgba(255, 235, 219, 1); */
    box-shadow: -5px 0 5px -5px rgba(0, 0, 0, 0.3), 
                5px 0 5px -5px rgba(0, 0, 0, 0.3), 
                0 5px 5px -5px rgba(0, 0, 0, 0.3);
    }

    .line {
        width: 80%;
        margin: auto;
        border-bottom: 1px solid rgba(105,105, 105, 0.3);
    }

 .notification a{
        width: 50%;
    margin: auto;
    font-size: 0.4rem;
      }
      
      
.footer {
    background-color: rgba(250, 249, 246 );
    padding: 20px  0 20px 0 ;  
    text-align: center;
    bottom: 0;
    width: 95%;
    margin: auto;
    border-left: 1px solid rgba(255, 235, 219, 1);
    border-right: 1px solid rgba(255, 235, 219, 1);
    border-bottom: 1px solid rgba(255, 235, 219, 1);
    display: flex;
    position: sticky;
    justify-content: space-around;
}

.footer a {
    color: gray;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    display: flex;    
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer a:hover {
    color: #ff5733;
}

.footer a i {
    margin-bottom: 5px;
}

.footer-item {
    flex: 1;
}
 
/* Add-to-cart container positioning */
.add-to-cart-container-footer {
    display: flex;
    justify-content: flex-end;
}


.add-to-cart-footer {
    background-color: #ff5733;
    color: white;
    border: none;
    height: 40px;
    width: 200px;
    border-radius: 0px 0 10px 10px;
    padding: 5px 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.add-to-cart-footer:hover {
    background-color: #cc462a;
}



.checkout-footer {
    background-color: rgba(250, 249, 246 );
    padding: 5px  0 5px 0 ;  
    text-align: center;
    bottom: 0;
    width: 95%;
    margin: auto;
    border-left: 1px solid rgba(255, 235, 219, 1);
    border-right: 1px solid rgba(255, 235, 219, 1);
    border-bottom: 1px solid rgba(255, 235, 219, 1);
    position: sticky;
  }
 
.checkout-footer-b {
    background-color: #ff6961;
    padding: 18px  0 18px 0 ;  
    width: 95%;
    color:white;
    margin: auto;
    font-weight: bold; 
    border-radius: 5px;

} 
.checkout-footer-bi {
    margin-bottom: 5px;
}


.cart-item img {
    width: 100px;
    height: auto;
}

.cart-details {
    flex-grow: 1;
}

.cart-details h4,
.cart-details p,
.cart-details ul,
.cart-details form {
    margin: 0;
    padding: 0;
}

.cart-details ul {
    list-style-type: none;
    padding-left: 0;
}


.checkout-footer-b:hover {
transform: scale(1.1);
}

@media (max-width: 768px) {
    .menu-item, .cart-item {
        width: 100%;
    }
    
     .product-container {
        grid-template-columns: 1fr; /* 1 column for small screens */
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
 