<style>
/* Reset and Base Styles */
* {
   margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body, html {
    /* margin: 0;
    padding: 0; */
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    width: 100%;
    max-width: 100%;
    height:100%;
    overflow-x: hidden; 
}
/*header*/
.bottom-nav {
  position: relative;
  left: 0;
  right: 0;
  height: 70px;
  background-color: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #ccc;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 15px 15px 0 0;
  z-index: 1000;
  margin-top: 10px;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #aaa;
  font-size: 10px;
}

.nav-item .nav-icon {
  width: 24px;
  height: 24px;
  stroke: #aaa;
}

.nav-item.active {
  color: #001f4d;
  font-weight: bold;
}

.nav-item.active .nav-icon {
  stroke: #001f4d;
}

/*login*/
.login-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  font-family: Arial, sans-serif;
}

.login-content {
  background: #fff;
  margin: 5% auto;
  padding: 20px 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 
  300px;
  position: relative;
}

.close {
  position: absolute;
  top: 15px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.welcome-title {
  font-weight: bold;
  color: #0A1A3A;
  font-size: 22px;
}

.country-code,
.phone-input,
.referral-input {
  border: none;
  outline: none;
  background-color: transparent;
  font-size: 16px;
  box-shadow: none;
  padding: 5px 0;
}

.input-group {
  display: flex;
  /* gap: 10px; */
  margin-bottom: 10px;
}

.country-code {
  width: 30%;
  padding: 10px;
  font-size: 14px;
}

.phone-input {
  width: 70%;
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
}

.referral-input {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: bold;
}

.continue-button {
  width: 100%;
  padding: 12px;
  background: #e0e0e0;
  border: none;
  font-weight: bold;
  color: #aaa;
  cursor: not-allowed;
}

.icon-buttons {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.icon-buttons button {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: none;
  background: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 24px; /* Adjust icon size */
}

.checkboxes {
  font-family: Arial, sans-serif;
}

.checkbox-item {
    display: inline-block;
  vertical-align: top;
  margin-bottom: 12px;
  font-size: 12px;
}

.checkbox-item input[type="checkbox"] {
  vertical-align: top;
  margin-top: 4px;
  margin-right: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #333;
  cursor: pointer;
  position: relative;
}

.checkbox-item span {
  display: inline-block;
  max-width: 85%;
  line-height: 1.4;
}

.link {
  color: blue;
  font-size: 13px;
  text-decoration: none;
}
/* Main Container (Mobile-first) */
.chagee-container {
    width: 100%; /* Full width for mobile */
    /* height: 500px; Adjust height for mobile view */
    /* overflow: hidden; */
    position: relative;
}

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

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

img {
    width: 100%;  /* Make images responsive to the container */
    height: auto;  /* Maintain aspect ratio */
    object-fit: cover;  /* Ensure the image covers the entire slide */
}

/* Navigation buttons */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.slider-button.prev {
    left: 10px;
}

.slider-button.next {
    right: 10px;
}

/* Header Section */
.header {
    padding: 20px 15px;
    text-align: center;
}

.header h1 {
    font-size: 30px; /* Adjust font size for mobile */
    font-weight: 700;
    /* color: #d62c1a; */
    line-height: 1.3;
}

.subtitle {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* Welcome Section */
.welcome-card {
    margin:0 auto;
    justify-content: center;
    align-items: center;
  max-width: 90%;
  padding: 10px;
  background-color: #fff;
  /* border-radius: 5px; */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.welcome-section {
    text-align: left;
    display: flex;
    justify-content: space-between;  /* Align text and button on opposite sides */
    align-items: center;  /* Vertically center the items */
}

.welcome-text {
    padding-left:30px;
    font-size: 15px;
    color: #333;
    /* margin-bottom: 8px; */
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color:  #8c5b1d;
}

/* Login Container */
.login-container {
    padding-right:30px;
    display: flex;
    align-items: center;
    text-align: center;
}

.login-img {
    width: 30px;  /* Adjust the size of the image */
    height: 30px;
    /* margin-top:20px; */
}

.text{
  font-size:17px;
}

/* Cards Container */
.cards-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;  /* Space between login and cards */
    gap: 5px;
    padding: 0 15px; /* Adds space between content and edges */
}

/* Card Style */
.card {
    width: 100%;
    height: 150px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Hover effect for cards */
.card:hover {
    transform: translateY(-5px);
}

/* Pickup Card */
.pickup-card {
    background-color:#f8f1e6; 
}

.delivery-card {
    background-color:#f8f1e6; 
}

/* Card Image */
.card-img {
    color:rgb(0, 0, 0);
    width: auto;  /* Adjust the size of the icon */
    height: auto;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Card Text */
.card-text {
    font-size: 30px;
    color: #8c5b1d;
    font-weight: bold;
    text-decoration:none;
}

/*promotion*/
.promo-card {
  max-width: 600px;
  /* margin: 20px auto; */
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* padding: 24px; */
}
.cardses {
    width: 100%;
    height: 70px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.promo-section {
      border: 1px dashed #ccc;
      padding: 20px;
      width: 90%;
      max-width: 700px;
      margin: 20px auto;
      background-color: #fff;
    }

    .section-title {
      font-weight: bold;
      color: #0b1d3c;
      font-size: 16px;
      /* margin-bottom: 15px; */
    }

    .promo-cards {
        width: 100%;
        /* height: 300px;  */
        overflow: auto; /* This makes it scroll when content is too big */
      display: flex;
      justify-content: space-between;
      gap: 10px;
      /* margin-bottom: 20px; */
      padding: 10px;
    }

    .cardses {
      flex: 1;
      background: url('https://i.imgur.com/YOUR_PATTERN_IMAGE.png'); /* Optional: add pattern */
      background-color: #f8f1e6;
      border-radius: 5px;
      padding: 20px;
      text-align: center;
      border: 1px solid #e0d7c8;
      text-align: left;
    }

    .cardses h3 {
  font-size: 10px;
  margin: 0 0 10px;
  color: #333;
  font-weight: normal;
}

    .highlight {
      font-size: 15px;
      font-weight: bold;
      color: #8c5b1d;
      text-align: left;
    }

    .label {
      font-size: 12px;
      color: #a89f91;
      margin-top: 5px;
      border-top: 3px dashed #ccc;
      padding-top: 5px;
      width:100%;
    }

    .collect-btn {
      display: block;
      width: 100%;
      padding: 12px;
      background: none;
      border: 1px solid rgb(0, 0, 0);
      color: #0b1d3c;
      font-weight: bold;
      text-align: center;
      cursor: pointer;
    }

    .collect-btn:hover {
      background-color:rgb(0, 0, 0);
      color: white;
    }

    .content-a {
            background-color: #fff;
            flex: 1;
            width:100%;
        }
        .banner-a img {
            width: 100%;
            height:150px;
        }
    /*about us*/
/* Cards container to display two cards per row */
.card-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping of the cards */
    justify-content: space-between; /* Space cards evenly */
    /* gap: 10px; Adjust gap between cards */

}


.cards {
  margin-top:10px;
  width: calc(51% - 10px);
  aspect-ratio: 1 / 1; 
   box-sizing: border-box;
   background-color:rgb(255, 255, 255); 
       overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 10px;
    border:2px solid rgba(103, 89, 42, 0.89);
    /* background-image: url('media/1.jpg'); */
    /* border: 12px solid black; */
}
.card-imgs {
 flex-direction: column;
align-items: center;
 font-size: 55px;
 color: #000000;
margin-top: 40px; 
}



.cards-text {
    color: #8c5b1d;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
}

/*menu*/

        
        /* Variation Modal Styles */
        .variation-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 1000;
            overflow-y: auto;
        }

        .variation-modal-content {
            background-color: white;
            margin: 20px auto;
            padding: 20px;
            border-radius: 8px;
            width: 90%;
            max-width: 500px;
            max-height: 80vh;
            overflow-y: auto;
        }

        .variation-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .variation-modal-title {
            font-size: 18px;
            font-weight: bold;
            color: #2a6496;
        }

        .close-variation-modal {
            font-size: 24px;
            cursor: pointer;
            color: #aaa;
        }

        .close-variation-modal:hover {
            color: #333;
        }

        .variation-modal-body {
            margin-bottom: 15px;
        }

        .variation-modal-footer {
            display: flex;
            justify-content: flex-end;
        }

        .variation-type-section {
            margin-bottom: 20px;
        }

        .variation-type-title {
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
        }

        .variation-options-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 10px;
        }

        .variation-option-card {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 10px;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
        }

        .variation-option-card:hover {
            border-color: #2a6496;
            background-color: #f5f9ff;
        }

        .variation-option-card.selected {
            background-color: #2a6496;
            color: white;
            border-color: #2a6496;
        }

        .variation-option-card.auto-selected {
            border-color: #4CAF50;
            background-color: #f5fff5;
        }

        .variation-option-card.auto-selected.selected {
            background-color:rgb(15, 178, 228);
            color: white;
        }

        .variation-price-badge {
            font-size: 12px;
            color: #666;
            margin-top: 5px;
        }

        .variation-option-card.selected .variation-price-badge {
            color: #ddd;
        }

        .add-to-order-btn {
            margin-top: 12px;
            padding: 8px 16px;
            background-color: #2a6496;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 13px;
            transition: background-color 0.2s;
        }
        
        .add-to-order-btn:hover {
            background-color: #1d4e78;
        }
        
        .add-to-order-btn:disabled {
            background-color: #cccccc;
            cursor: not-allowed;
        }
        
        .quantity-control {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            margin: 15px 0;
        }
        
        .quantity-control button {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 1px solid #ddd;
            background: white;
            font-size: 16px;
            cursor: pointer;
        }
        
        .quantity-control button:hover {
            background: #f5f5f5;
        }
        
        .quantity-control span {
            font-size: 18px;
            min-width: 30px;
            text-align: center;
        }
        
        .live-price {
            text-align: center;
            font-weight: bold;
            font-size: 18px;
            color: #2a6496;
            margin-bottom: 15px;
        }
        
        /* Cart Modal Styles */
        .cart-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 1000;
            overflow-y: auto;
        }

        .cart-modal-content {
            background-color: white;
            margin: 20px auto;
            padding: 20px;
            border-radius: 8px;
            width: 90%;
            max-width: 500px;
            max-height: 80vh;
            overflow-y: auto;
        }

        .cart-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            border-bottom: 1px solid #eee;
            /* padding-bottom: 10px; */
        }

        .cart-modal-title {
            font-size: 18px;
            font-weight: bold;
            color: #2a6496;
        }

        .close-cart-modal {
            font-size: 24px;
            cursor: pointer;
            color: #aaa;
        }

        .close-cart-modal:hover {
            color: #333;
        }

        .cart-modal-body {
            margin-bottom: 15px;
        }

        .cart-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid #f5f5f5;
            cursor: pointer;
        }

        .cart-item:hover {
            background-color: #f9f9f9;
        }

        .cart-item-name {
            flex: 2;
            font-weight: bold;
        }

        .cart-item-variation {
            flex: 1;
            color: #666;
            font-size: 0.9em;
        }

        .cart-item-quantity {
            flex: 1;
            text-align: center;
        }

        .cart-item-price {
            flex: 1;
            text-align: right;
            font-weight: bold;
        }

        .cart-modal-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }

        .cart-total {
            font-weight: bold;
            font-size: 1.2em;
        }

        .cart-info {
        cursor: pointer;
        background-color: black;
        color: white;
        padding: 10px;
        transition: 0.3s;
        border: none;
        border-radius: 4px;
    }

    .cart-info:hover {
        background-color: white;
        color: black;
    }
        .place-order-btn {
            padding: 10px 20px;
            background-color:rgb(0, 0, 0);
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.2s;
        }
        
        .place-order-btn:hover {
            background-color:rgb(255, 255, 255);
            color: black;
        }
        
        .place-order-btn:disabled {
            background-color: #cccccc;
            cursor: not-allowed;
        }
        
        .empty-cart-message {
            text-align: center;
            padding: 20px;
            color: #666;
        }

        /* Edit Cart Modal Styles */
        .edit-cart-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 1001;
        }

        .edit-cart-modal-content {
            background-color: white;
            margin: 20px auto;
            padding: 20px;
            border-radius: 8px;
            width: 90%;
            max-width: 400px;
        }

        .edit-cart-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            border-bottom: 1px solid #eee;
            /* padding-bottom: 10px; */
        }

        .edit-cart-modal-title {
            font-size: 18px;
            font-weight: bold;
            color: #2a6496;
        }

        .close-edit-cart-modal {
            font-size: 24px;
            cursor: pointer;
            color: #aaa;
        }

        .close-edit-cart-modal:hover {
            color: #333;
        }

        .edit-cart-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }

        .remove-from-cart-btn {
            padding: 8px 16px;
            background-color: #e74c3c;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.2s;
        }
        
        .remove-from-cart-btn:hover {
            background-color: #c0392b;
        }

        .update-cart-btn {
            padding: 8px 16px;
            background-color: #2a6496;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.2s;
        }
        
        .update-cart-btn:hover {
            background-color: #1d4e78;
        }

        @media (max-width: 768px) {
            .variation-options-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            }
            
            .cart-item {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .cart-item-name {
                margin-bottom: 5px;
            }
            
            .cart-item-quantity,
            .cart-item-price {
                align-self: flex-end;
            }
        }
.header {
            background:rgb(0, 0, 0);
            color: white;
            padding: 15px;
            text-align: center;
        }
        .pickup-info {
            background: #f8f8f8;
            padding: 15px;
            text-align: center;
            border-bottom: 1px solid #ddd;
        }
        .main-container {
            display: flex;
            flex: 1;
            overflow: hidden;
        }
        .category-sidebar {
            width: 90px;
            background: #f5f5f5;
            border-right: 1px solid #ddd;
            overflow-y: auto;
            padding: 10px 0;
        }
        .category-item {
            font-size:10px;
            padding: 12px 15px;
            cursor: pointer;
            transition: background 0.2s;
        }
        .category-item:hover {
            background: #eee#F9CA85;
        }
        .category-item.active {
            background: #8c5b1d;
            color:#f8f1e6 ;
            /* font-weight: bold; */
        }
        .products-container {
            flex: 1;
            overflow-y: auto;
            padding: 15px;
        }
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
        }
        /* Force 2 per row on small screens */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
        .product-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: transform 0.2s;
        }
        .product-card:hover {
            transform: translateY(-5px);
        }
        .product-image {
            width: 100%;
            height: 100px;
            object-fit: cover;
        }
        /* .product-info {
            padding: 10px;
        } */
        .product-name {
    margin: 0 0 5px 0;
    font-size: 14px;
    /* font-weight: 600; */
    white-space: normal;       /* Allow wrapping */
    overflow: visible;         /* No clipping */
    text-overflow: unset;      /* No ellipsis */
    word-break: break-word;    /* Break long words if needed */
    overflow-wrap: break-word; /* Modern alternative */
}

        .product-price {
            color:rgb(0, 0, 0);
            font-weight: bold;
        }
        .modal {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        .modal.active {
            display: flex;
        }
        .modal-content {
            background: white;
            padding: 20px;
            border-radius: 8px;
            /* width: 320px; */
            max-width: 90%;
            max-height: 80%;
            overflow-y: auto;
            box-sizing: border-box;
        }
        .modal-header {
            font-size: 18px;
            margin-bottom: 15px;
            font-weight: 700;
        }
        .variation-list {
            list-style: none;
            padding: 0;
            margin: 0 0 15px 0;
            max-height: 200px;
            overflow-y: auto;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        .variation-list li {
            padding: 10px;
            border-bottom: 1px solid #ddd;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
        }
        .variation-list li:last-child {
            border-bottom: none;
        }
        .variation-list li.selected {
            background-color: #e74c3c;
            color: white;
            font-weight: 700;
        }
        .quantity-control {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 15px;
        }
        .quantity-control button {
            background:rgb(0, 0, 0);
            border: none;
            color: white;
            font-size: 20px;
            padding: 5px 15px;
            cursor: pointer;
            border-radius: 4px;
            margin: 0 10px;
        }
        .quantity-control span {
            font-size: 18px;
            min-width: 30px;
            text-align: center;
            user-select: none;
        }
        .modal-footer {
            text-align: center;
        }
        .add-to-cart-btn {
            background:rgb(0, 0, 0);
            color: white;
            border: none;
            padding: 10px 25px;
            font-size: 16px;
            border-radius: 4px;
            cursor: pointer;
        }
        .cart-container {
            position: fixed;
            bottom: 70px; left: 0; right: 0;
            background: white;
            border-top: 1px solid #ddd;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
            z-index: 1100;
        }
        .cart-info {
            font-weight: 700;
        }
        .place-order-btn {
            background:rgb(0, 0, 0);
            color: white;
            border: none;
            padding: 10px 25px;
            font-size: 16px;
            border-radius: 4px;
            cursor: pointer;
        }
        .cart-items-count {
            background:rgb(0, 0, 0);
            color: white;
            border-radius: 50%;
            padding: 2px 7px;
            font-size: 14px;
            margin-left: 5px;
            vertical-align: top;
        }
        #orderConfirmModal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #fff;
            padding: 20px;
            border: 1px solid #ccc;
            max-width: 400px;
            width: 90%;
            z-index: 1000;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        #orderConfirmModal h3 {
            margin-top: 0;
            color: #333;
        }
        #orderConfirmModal .modal-buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }
        #orderConfirmModal button {
            padding: 8px 16px;
            border: none;
            cursor: pointer;
        }
        #cancelOrderBtn {
            background: #ccc;
        }
        #confirmOrderBtn {
            background: #e74c3c;
            color: white;
        }
        #orderConfirmModal input, #orderConfirmModal select {
            width: 100%;
            padding: 8px;
            margin: 5px 0 15px 0;
            box-sizing: border-box;
        }

        /*profile*/
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-left, .header-right {
    display: flex;
    align-items: center;
}

.header-logo {
    cursor: pointer;
    margin-right: 20px;
}

.header-icon {
    margin-left: 20px;
    cursor: pointer;
    position: relative;
    font-size: 18px;
}

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

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.dropdown-content a i {
    margin-right: 10px;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-popup {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 100;
}

.notification-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

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

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    /* width: 50%; */
    max-width: 500px;
    border-radius: 5px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.save-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.save-btn:hover {
    background-color: #45a049;
}

.profile-container {
    /* margin-top:10px; */
    width: 100%;
}

/* Header */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 10px solid #fff ;
}

.header-left {
    display: flex;
    align-items: center;
    padding-left:10px;
}

.header-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color:rgb(0, 0, 0); /* Example logo color */
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    font-size: 16px;
}

.header-login {
    color: #333;
    font-weight: bold;
    font-size:25px;
}

.header-right {
    display: flex;
    gap: 15px;
}

.header-icon {
    color: #777;
    font-size: 30px;
}

/* Friend Section */



.friend-text {
    padding-left:10px;
    margin-top:5px;
    font-size: 20px;
    color: #333;
    font-weight: bold;
    align-self: flex-start; 
}

.friend-info {
    display: flex;
    flex-direction: column;
    align-items: center; /* Optional: center align items */
    text-align: center;  /* Optional: center text */
}

.friend-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    font-weight: bold;
    margin-bottom: 5px;
    /* You might use an image here instead */
}

.friend-benefits {
    color: #555;
    font-size: 14px;
    cursor: pointer;
    font-size: 15px;
    color: #007bff;
}

/* My Account Section */
.my-account-section {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.my-account-title {
    font-size: 17px;
    color: #333;
    font-weight: bold;
    margin-bottom: 21px;
    
}

.account-cards {
  border-radius:10px;
  height:22%;
  background-color: #F9CA85;
  margin-top:10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;                     
}

.account-card {
  flex: 1;
  min-width: 50px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}


.column-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-icon {
    border-radius:25px;
    border:1px solid #fff;
    background:none;
  width: 45px;
  height: 45px;
  stroke:rgb(0, 0, 0);
  margin-bottom: 5px;
}

.card-label {
    color: #777;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.card-label span {
    font-size: 20px;
}

.card-value {
    font-size: 25px;
    font-weight: bold;
    color: #333;
}

.promo-inner {
    background-color: #f0f8ff; /* Light blue background */
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-text {
    height:100px;
}
.promo-arrow {
    font-size: 20px;
    color: #777;
}

/* Collection and FAQ */
.list-item {
    margin-top: 10px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    cursor: pointer;
}

.list-item:last-child {
    border-bottom: 25px;
}

.list-item span {
    font-size: 20px;
}

.list-item .arrow {
    font-size: 20px;
    color: #777;
}

/*order*/
        :root {
            --primary-color: #4CAF50;
            --secondary-color: #45a049;
            --danger-color: #d9534f;
            --warning-color: #f0ad4e;
            --info-color: #5bc0de;
            --light-gray: #f8f9fa;
            --dark-gray: #343a40;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f5f5;
            color: #333;
        }
        
        .container {
            max-width: 1200px;
            margin: 20px auto;
            padding: 0 15px;
        }
        
        .order-history-header {
            text-align: center;
            margin: 30px 0;
            color: var(--dark-gray);
            font-size: 2.2rem;
        }
        
        .order-tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            border-bottom: 1px solid #ddd;
            /* padding-bottom: 10px; */
        }
        
        .tab {
            padding: 10px 20px;
            margin: 0 5px;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.3s;
            text-decoration: none;
            color: var(--dark-gray);
        }
        
        .tab.active, .tab:hover {
            background-color: var(--primary-color);
            color: white;
        }
        
        .orders-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 20px;
            padding: 20px 0;
        }
        
        .order-card {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 20px;
            transition: transform 0.3s;
        }
        
        .order-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .order-id {
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 10px;
            color: var(--dark-gray);
        }
        
        .order-meta {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            font-size: 0.9rem;
            color: #666;
        }
        
        .order-items {
            margin: 15px 0;
            padding: 10px 0;
            border-top: 1px dashed #ddd;
            border-bottom: 1px dashed #ddd;
        }
        
        .item-list {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }
        
        .item-list li {
            padding: 5px 0;
            display: flex;
            justify-content: space-between;
        }
        
        .order-total {
            font-weight: bold;
            font-size: 1.1rem;
            text-align: right;
            margin-top: 10px;
        }
        
        .order-status {
            display: inline-block;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
            margin-top: 10px;
        }
        
        .status-pending {
            background-color: var(--warning-color);
            color: white;
        }
        
        .status-preparing {
            background-color: var(--info-color);
            color: white;
        }
        
        .status-ready {
            background-color: var(--primary-color);
            color: white;
        }
        
        .status-completed {
            background-color: var(--dark-gray);
            color: white;
        }
        
        .time-info {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            font-size: 0.9rem;
        }
        
        .time-left {
            font-weight: bold;
        }
        
        .ready {
            color: var(--primary-color);
        }
        
        .warning {
            color: var(--warning-color);
        }
        
        .danger {
            color: var(--danger-color);
        }
        
        .no-orders-container {
            text-align: center;
            padding: 60px 20px;
            background: white;
            border-radius: 8px;
            margin-top: 30px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .no-orders-image {
            width: 150px;
            margin-bottom: 20px;
            opacity: 0.7;
        }
        
        .no-orders-text {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: var(--dark-gray);
        }
        
        .no-orders-subtext {
            color: #666;
            margin-bottom: 30px;
        }
        
        .order-now-button {
            padding: 12px 30px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: bold;
            transition: all 0.3s;
        }
        
        .order-now-button:hover {
            background-color: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        @media (max-width: 768px) {
            .orders-list {
                grid-template-columns: 1fr;
            }
            
            .order-history-header {
                font-size: 1.8rem;
            }
        }
        
        
        /* Container for main content */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* Checkout Header (Optional, if you want a top banner) */
        .checkout-header {
            background-color: var(--primary);
            color: white;
            padding: 20px 0;
            text-align: center;
            margin-bottom: 30px;
        }
        
        .checkout-header h1 {
            font-size: 2rem;
            margin-bottom: 10px;
        }
        
        /* Checkout Progress Steps (Styling for multiple steps, if needed) */
        .checkout-progress {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            display: none; /* Hidden as per previous feedback */
        }
        
        .progress-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0 15px;
            position: relative;
        }
        
        .progress-step:not(:last-child):after {
            content: '';
            position: absolute;
            top: 20px;
            left: 50px;
            width: 60px;
            height: 2px;
            background-color: var(--primary);
        }
        
        .step-number {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--secondary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .step-active .step-number {
            background-color: var(--success);
        }
        
        .step-label {
            font-size: 0.9rem;
            color: var(--dark);
        }
        
        /* Main Grid Layout for Checkout */
        .checkout-grid {
            display: grid;
            grid-template-columns: 2fr 1fr; /* Two columns: main content and sidebar */
            gap: 30px;
        }
        
        /* Card-like sections */
        .order-summary, .payment-section {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Soft shadow */
            padding: 25px;
        }
        
        /* Section Titles within the cards */
        .section-title {
            font-size: 1.3rem;
            color: var(--primary);
            margin-bottom: 20px;
            /* padding-bottom: 10px; */
            border-bottom: 1px solid #eee; /* Light separator */
        }
        
        /* Typo in original CSS - keeping for consistency but recommend fixing to 'section-title' */
        .section-tittle {
            font-size: 1.3rem;
            color: var(--primary);
            margin-bottom: 20px;
            /* padding-bottom: 10px; */
            border-bottom: 1px solid #eee;
        }
        
        /* Customer Info Block */
        .customer-info {
            margin-bottom: 30px;
        }
        
        .info-item {
            margin-bottom: 15px;
        }
        
        .info-label {
            font-weight: bold;
            display: block;
            margin-bottom: 5px;
            color: var(--dark);
        }
        
        /* Typo in original CSS - keeping for consistency but recommend fixing to 'info-item' */
        .infor-item {
            margin-bottom: 15px;
        }
        
        /* Typo in original CSS - keeping for consistency but recommend fixing to 'info-label' */
        .infor-label {
            font-weight: bold;
            display: block;
            margin-bottom: 5px;
            color: var(--dark);
        }
        
        .info-value {
            padding: 10px;
            background-color: var(--light);
            border-radius: 4px;
            border: 1px solid #ddd; /* Added border for input consistency */
            width: 100%; /* Make info-value fill container if used as input */
        }
        
        /* Order Items List */
        .order-items {
            margin-bottom: 30px;
        }
        
        .order-item {
            display: flex;
            justify-content: space-between;
            align-items: flex-start; /* Align items to the top */
            padding: 15px 0;
            border-bottom: 1px solid #eee;
        }
        
        .item-image {
            flex-shrink: 0; /* Prevents image from shrinking */
            width: 60px;
            height: 60px;
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f5f5f5;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .item-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain; /* Ensures image fits within bounds */
        }
        
        .item-details {
            flex: 1; /* Allows details to take available space */
            display: flex;
            flex-direction: column;
        }
        
        .item-name {
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .item-variation {
            display: block; /* Each variation on new line */
            font-size: 0.9rem;
            color: #666;
            margin-left: 0; /* Reset margin */
            margin-top: 5px;
        }
        
        .item-qty {
            margin-top: 10px;
            font-size: 0.9rem;
            color: #666;
        }
        
        .item-price {
            font-weight: bold;
            min-width: 80px; /* Ensures price column has minimum width */
            text-align: right;
            margin-left: 15px;
        }
        
        /* Order Totals */
        .order-totals {
            margin-top: 20px;
        }
        
        .total-row {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            font-size: 1.1rem;
        }
        
        .grand-total {
            font-weight: bold;
            font-size: 1.3rem;
            color: var(--secondary);
            border-top: 1px solid #eee;
            padding-top: 15px;
            margin-top: 10px;
        }
        
        /* Payment Methods */
        .payment-methods {
            margin-bottom: 20px;
        }
        
        .payment-method {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .payment-method:hover {
            border-color: var(--primary);
        }
        
        .payment-method input[type="radio"] {
            margin-right: 10px;
            /* Style custom radio if needed */
        }
        
        .payment-method label {
            display: flex;
            align-items: center;
            cursor: pointer;
            width: 100%;
        }
        
        .payment-icon {
            width: 40px;
            height: auto; /* Maintain aspect ratio */
            margin-right: 10px;
        }
        
        /* Buttons */
        .btn {
            display: inline-block;
            padding: 12px 24px;
            background-color: var(--secondary);
            color: black;
            border: 1px solid black;
            border-radius: 4px;
            font-size: 1rem;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            transition: background-color 0.3s;
        }
        
        .btn:hover {
            background-color: #c0392b; /* Darker red */
        }
        
        .btn-block {
            display: block;
            width: 100%;
        }
        
        .btn-success {
            background-color: var(--success);
        }
        
        .btn-success:hover {
            background-color: #219955; /* Darker green */
        }
        
        .btn:disabled {
            background-color: #95a5a6; /* Grayed out when disabled */
            cursor: not-allowed;
        }
        
        /* Back Link */
        .back-link {
            display: inline-block;
            margin-top: 15px;
            color: var(--primary);
            text-decoration: none;
        }
        
        .back-link:hover {
            text-decoration: none;
        }
        
        /* Messages (Error, Success) */
        .message-box { /* Generic message box style */
            padding: 15px;
            border-radius: 4px;
            margin-bottom: 20px;
            display: none; /* Initially hidden */
        }
        
        .error-message {
            color: #e74c3c;
            background: #fde8e8;
            border-left: 4px solid #e74c3c;
            display: block; /* Displayed by JS when needed */
        }
        
        .success-message {
            color: #27ae60;
            background: #e9fceb;
            border-left: 4px solid #27ae60;
            display: block; /* Displayed by JS when needed */
        }
        
        /* Loading Spinner for AJAX */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255,255,255,.3);
            border-radius: 50%;
            border-top-color: white; /* Color of the spinning part */
            animation: spin 1s ease-in-out infinite;
            margin-left: 10px;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* Voucher Section Specific Styles */
        .voucher-section {
            margin-top: 20px; /* Add some space above */
            margin-bottom: 20px;
        }
        
        #voucher-message {
            margin-top: 5px;
            font-size: 0.9rem;
        }

        .voucher-row {
            /* This will be shown/hidden by JS */
            display: none; 
            justify-content: space-between;
            padding: 10px 0;
            font-size: 1.1rem;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .checkout-grid {
                grid-template-columns: 1fr; /* Stack columns on small screens */
            }
            
            .checkout-progress {
                flex-wrap: wrap;
            }
            
            .progress-step {
                margin: 10px;
            }
            
            .progress-step:not(:last-child):after {
                display: none; /* Remove lines between steps on small screens */
            }
        }
        .voucher-row { display: none;           
            justify-content: space-between;
            padding: 10px 0;
            font-size: 1.1rem; }
        #voucher-message {
            margin-top: 5px;
            font-size: 0.9rem;
            padding: 5px;
        }
        .success-message {
            color: #27ae60;
            background: #e9fceb;
            border-left: 4px solid #27ae60;
        }
        .error-message {
            color: #e74c3c;
            background: #fde8e8;
            border-left: 4px solid #e74c3c;
        }
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255,255,255,.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
            margin-left: 10px;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        /*refer friend*/
        .referral-program {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            max-width: 500px;
            margin: 20px auto;
            padding: 25px;
            background-color: #ffffff;
            color: #333333;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        /* Header styling */
        .referral-header {
            text-align: center;
            margin-bottom: 20px;
        }

        .referral-header h1 {
            font-size: 24px;
            font-weight: 700;
            color: #222;
            margin-bottom: 10px;
        }

        .subheader {
            font-size: 16px;
            color: #555;
            margin-bottom: 20px;
            text-align: center;
            line-height: 1.4;
        }

        /* Section styling */
        .referral-section {
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .referral-section:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .referral-section h2 {
            font-size: 18px;
            font-weight: 600;
            color: #222;
            margin-bottom: 15px;
        }

        /* Reward items styling */
        .reward-items {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 15px;
        }

        .reward-item {
            background-color: #f8f8f8;
            border-radius: 8px;
            padding: 12px;
            min-width: 80px;
            text-align: center;
            flex: 1;
        }

        .reward-item strong {
            display: block;
            font-size: 16px;
            margin-bottom: 5px;
        }

        .reward-item span {
            font-size: 14px;
            color: #666;
        }

        /* How it works styling */
        .how-it-works {
            list-style-type: none;
            padding-left: 0;
        }

        .how-it-works li {
            margin-bottom: 12px;
            padding-left: 20px;
            position: relative;
            line-height: 1.5;
        }

        .how-it-works li:before {
            content: "•";
            position: absolute;
            left: 0;
            color: #ff6b6b;
            font-weight: bold;
            font-size: 20px;
        }

        /* Invitation progress styling */
        .invitation-progress {
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-align: center;
            margin: 20px 0;
        }

        .progress-step {
            flex: 1;
        }

        .progress-number {
            font-size: 24px;
            font-weight: 700;
            color: #ff6b6b;
            margin-bottom: 5px;
        }

        .progress-label {
            font-size: 12px;
            color: #777;
            text-transform: uppercase;
            line-height: 1.3;
        }

        .progress-arrow {
            font-size: 20px;
            color: #ccc;
            padding: 0 5px;
            margin-top: -15px;
        }

        /* Button styling */
        .invite-button {
            display: block;
            width: 100%;
            padding: 14px;
            background-color: #ff6b6b;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            transition: background-color 0.3s;
            margin-top: 20px;
        }

        .invite-button:hover {
            background-color: #ff5252;
        }

        /* Divider styling */
        .divider {
            height: 1px;
            background-color: #eee;
            margin: 20px 0;
        }

        /* Note text styling */
        .note-text {
            font-size: 14px;
            color: #666;
            margin-top: 15px;
            line-height: 1.4;
        }
        
        /* Share options modal */
        .share-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .share-content {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            width: 80%;
            max-width: 300px;
            text-align: center;
        }
        
        .share-options {
            display: flex;
            justify-content: space-around;
            margin: 20px 0;
        }
        
        .share-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
        }
        
        .share-option img {
            width: 50px;
            height: 50px;
            margin-bottom: 5px;
        }
        
        .close-share {
            margin-top: 15px;
            padding: 8px 15px;
            background-color: #ff6b6b;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .loading-spinner {
            display: none;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top: 3px solid #ff6b6b;
            width: 20px;
            height: 20px;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .login-prompt {
            text-align: center;
            padding: 20px;
            background-color: #f8f8f8;
            border-radius: 8px;
            margin-top: 20px;
        }
</style>
