         :root {
            --delivery-fee: 100;
            /* Default delivery fee */
        }

        body {
            font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
            background: #f0f2f5;
            font-size: 16px;
            color: #050505;
            line-height: 1.4;
            overflow-x: hidden;
            /* Prevent horizontal scroll */
        }

        h2,
        h3,
        h4 {
            color: #1877f2;
            margin-bottom: 8px;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
            /* Text shadow for readability */

        }

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

        label {
            font-weight: 600;
            display: block;
            margin-bottom: 4px;
            color: #606770;
        }

        input,
        select,
        textarea {
            width: 100%;
            padding: 8px;
            font-size: 16px;
            border-radius: 8px;
            border: 1px solid #ccd0d5;
            box-sizing: border-box;
            margin-bottom: 4px;
        }

        input:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: #1877f2;
            box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
        }

        input:required,
        select:required,
        textarea:required {
            border: 1px solid red;
            /* Or any color you prefer */
        }

        input:valid,
        select:valid,
        textarea:valid {
            border-color: #ccd0d5;
            /* Reset to default border color when valid */
        }

        input:focus:invalid,
        select:focus:invalid,
        textarea:focus:invalid {
            border-color: #e41e3f;
            /* Keep invalid color even on focus */
        }

        label.required:after {
            content: " *";
            color: red;
        }

        textarea {
            resize: vertical;
        }

        .invalid {
            border-color: #e41e3f;
        }

        #product-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
            margin-bottom: 16px;
        }

        .product-group {
            background: white;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            padding: 12px;
        }

        .product-image {
            width: 100%;
            border-radius: 8px;
            margin-bottom: 8px;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            cursor: pointer;
        }

        .product-option {
            display: flex;
            flex-direction: column;
            margin-bottom: 8px;
        }

        .product-label {
            font-weight: 500;
            margin-bottom: 4px;
        }

        .quantity-selector {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border: 1px solid #ccd0d5;
            border-radius: 8px;
            overflow: hidden;
        }

        .quantity-button {
            background: none;
            border: none;
            font-size: 18px;
            padding: 8px 10px;
            cursor: pointer;
            color: #1877f2;
            transition: background-color 0.2s;
            display: flex;
            align-items: center;
        }

        .quantity-button:hover {
            background-color: rgba(24, 119, 242, 0.1);
        }

        .quantity-input {
            width: 40px;
            text-align: center;
            border: none;
            font-size: 16px;
            -moz-appearance: textfield;
            -webkit-appearance: none;
            margin: 0;
        }

        .quantity-input::-webkit-outer-spin-button,
        .quantity-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .price-quantity {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .product-price {
            font-weight: bold;
            color: #333;
        }

        button {
            background-color: #1877f2;
            color: white;
            padding: 10px 16px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.2s;
            margin-top: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            /* More pronounced shadow */
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
            /* Text shadow for readability */


        }

        button:hover {
            background-color: #166fe5;
        }

        button:active {
            background-color: #1464d2;
        }

        .divbox {
            background: white;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            padding: 16px;
            margin-bottom: 16px;
        }

        #order-summary {
            margin-bottom: 12px;
        }

        #order-summary div {
            padding: 6px 0;
            border-bottom: 1px solid #eee;
        }

        #order-summary div:last-child {
            border-bottom: none;
        }

        #sticky-footer {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.9);
            padding: 10px;
            /* Slightly reduce padding */
            text-align: center;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 100;
            backdrop-filter: blur(10px);
            box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.05);
        }

        #footer-total {
            font-size: 16px;
            /* Slightly reduce font size */
            font-weight: 600;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            /* Align left */
            line-height: 1.1;
        }

        #footer-total small {
            font-size: 0.7em;
            font-weight: normal;
            color: #606770;
        }

        #scroll-buttons {
            display: flex;
            align-items: center;
        }

        #scroll-buttons button {
            margin: 2px;
            /* Reduce button margin */
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: #606770;
            transition: color 0.2s;
            padding: 4px;
            /* Reduce padding*/
        }

        #scroll-buttons button:hover {
            color: #1877f2;
        }

        #delivery-toast,
        #copy-notification {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #1877f2;
            color: white;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 16px;
            z-index: 1000;
            display: none;
            animation: slideIn 0.5s, slideOut 0.5s 3s;
        }

        @keyframes slideIn {
            from {
                bottom: 0;
                opacity: 0;
            }

            to {
                bottom: 20px;
                opacity: 1;
            }
        }

        @keyframes slideOut {
            from {
                bottom: 20px;
                opacity: 1;
            }

            to {
                bottom: 0;
                opacity: 0;
            }
        }

        #item-added-toast {
            position: fixed;
            bottom: 20px;
            /* Display at the top */
            left: 50%;
            transform: translateX(-50%);
            background-color: #1877f2;
            color: white;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 16px;
            z-index: 1000;
            display: none;
            animation: slideIn 0.5s, slideOut 0.5s 3s;
        }

        #loading-message {
            text-align: center;
            font-size: 1.1em;
            padding: 1em;
            color: #888;
        }

        #payment-instructions p {
            margin-bottom: 8px;
        }

        #payment-instructions strong {
            font-weight: 600;
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 1001;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.8);
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 90%;
            border-radius: 8px;
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: #f1f1f1;
            font-size: 30px;
            font-weight: bold;
            transition: color 0.2s;
            cursor: pointer;
        }

        .modal-close:hover,
        .modal-close:focus {
            color: #bbb;
            text-decoration: none;
            cursor: pointer;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 16px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        h1,
        h2 {
            text-align: center;
        }

        form {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        label {
            margin-bottom: 6px;
            color: #555;
        }

        input[type="submit"] {
            background-color: #4CAF50;
            color: white;
            padding: 10px 16px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        input[type="submit"]:hover {
            background-color: #45a049;
        }

        .product-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
        }

        .product-item {
            width: 30%;
            margin-bottom: 16px;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            text-align: center;
        }

        .product-item img {
            max-width: 100%;
            height: auto;
            margin-bottom: 8px;
        }

        .order-summary {
            margin-top: 16px;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        .order-summary h3 {
            color: #333;
        }

        .delivery-info {
            margin-top: 16px;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        .delivery-info h3 {
            color: #333;
        }

        #delivery-toast {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #1877f2;
            color: white;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 18px;
            z-index: 1000;
            display: none;
            animation: slideIn 0.5s, slideOut 0.5s 3s;
        }

        @keyframes slideIn {
            from {
                bottom: 0;
                opacity: 0;
            }

            to {
                bottom: 20px;
                opacity: 1;
            }
        }

        @keyframes slideOut {
            from {
                bottom: 20px;
                opacity: 1;
            }

            to {
                bottom: 0;
            }
        }

        .disabled-button {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Styles for hiding elements */

        .hidden {
            display: none !important;
        }

        /* Style for hiding specific order line */

        .hide-party-pitchi {
            display: none;
        }

        /* Collapsible styles */

        .collapsible {
            background-color: #eee;
            color: #444;
            cursor: pointer;
            padding: 18px;
            width: 100%;
            border: none;
            text-align: left;
            outline: none;
            font-size: 16px;
            border-radius: 12px 12px 0 0;
        }

        .active,
        .collapsible:hover {
            background-color: #ddd;
        }

        .collapsible-content {
            padding: 0 18px;
            background-color: white;
            border-radius: 0 0 12px 12px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }

        .collapsible:after {
            content: '\02795';
            /* Unicode character for "plus" sign (+) */
            font-size: 13px;
            color: #777;
            float: right;
            margin-left: 5px;
        }

        .active:after {
            content: "\2796";
            /* Unicode character for "minus" sign (-) */
        }

        /* QR Code Styling */

        #qr-code-image {
            max-width: 100%;
            /* Make sure it fits within its container */
            height: auto;
            /* Maintain aspect ratio */
            cursor: pointer;
        }

        #kakanin-preview-image {
            max-width: 100%;
            /* Make sure it fits within its container */
            height: auto;
            /* Maintain aspect ratio */
            cursor: pointer;
        }

        /* Style for disabled products */
        .disabled-product .quantity-input {
            background-color: #eee;
            /* Light gray background */
            color: #999;
            /* Light gray text */
            cursor: not-allowed;
            /* Indicate not allowed */
        }

        .disabled-product .quantity-button {
            color: #aaa;
            cursor: not-allowed;
        }

        .disabled-product .quantity-button:hover {
            background-color: transparent;
            /* Disable hover effect */
        }

        .copy-button {
            color: black;
            border: 1px solid #ddd;
            background: #fff;
            border-radius: 10px;
            padding: 4px 8px;
            cursor: pointer
        }

        .copy-button:hover {
            background-color: #166fe5;
        }

        .copy-button:active {
            background-color: #1464d2;
        }

        /* Styles for the swiper container */
        #swiper-container {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            /* Enable smooth scrolling on iOS */
            width: 100%;
            /* Ensure it takes the full width */
        }

        /* Styles for each slide */
        .slide {
            width: 100%;
            flex-shrink: 0;
            scroll-snap-align: start;
            padding: 16px;
            box-sizing: border-box;
            min-height: 100vh;
            /* Ensure each slide takes at least the full viewport height */
            overflow-y: auto;
            /* Enable vertical scrolling within the slide */
        }

        /* Add this style to limit the scrollable area */
        .slide-content {
            max-height: calc(100vh - 100px);
            /* Adjust '100px' to account for header/footer */
            overflow-y: auto;
        }


.delivery-option-disabled {
  color: gray !important;
  pointer-events: none; /* Prevent interaction */
  opacity: 0.6; /* Optional: visually indicate disabled state */
}

.delivery-option-disabled input[type="radio"] {
  pointer-events: none; /* Ensure radio buttons are also disabled */
}

.delivery-option-disabled span {
    color: gray !important;
}

        /* Styles for the navigation dots */
        /* #navigation-dots {
        position: fixed;
        bottom: 80px; /* Adjust as needed to position above the sticky footer */
        /* left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 101; /* Ensure it's above the sticky footer */
        /* } */

        /* .dot {
        width: 10px;
        /* height: 10px; */
        /* border-radius: 50%;
        background-color: #ccd0d5; /* Inactive dot color */
        /* cursor: pointer;
        transition: background-color 0.3s ease;
        text-decoration: none; /* Add this line */

        /* } */

        /* .dot.active {
        background-color: #1877f2; /* Active dot color (your primary color) */
        /* } */

        /* .dot:focus {
        outline: none !important;
        border: none !important;
        text-decoration: none !important;
        /* } */

        /* Styles for the tab navigation */
        /* #tab-navigation {
        position: fixed;
        bottom: 75px;
        left: 0;
        width: 100%;
        height: 10px;
        display: flex;
        z-index: 100;
        background-color: #f0f2f5; /* Optional: add a background color */
        /* } */

        /* .tab {
        flex: 1;
        height: 100%;
        background-color: #ccd0d5;
        cursor: pointer;
        transition: background-color 0.3s ease;
        }

        .tab.active {
        background-color: #1877f2;
        } */

        /* Progress indicator styles */
        .progress-indicator {
            display: flex;
            width: 100%;
            background-color: #f0f2f5;
            padding: 0;
            margin-bottom: 5px;
            /* Add some space below the indicator */
        }

        .progress-step {
            flex: 1;
            height: 5px;
            background-color: #ddd;
            border-radius: 5px;
            margin: 0 5px;
        }

        /* Specific active states for each slide */
        .slide:nth-child(1) .progress-step:nth-child(1) {
            background-color: #1877f2;
        }

        .slide:nth-child(2) .progress-step:nth-child(-n+2) {
            background-color: #1877f2;
        }

        .slide:nth-child(3) .progress-step:nth-child(-n+3) {
            background-color: #1877f2;
        }

        .slide:nth-child(4) .progress-step:nth-child(-n+4) {
            background-color: #1877f2;
        }

        /* New styles for Meryenda Packs */
        .meryenda-pack-item {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .meryenda-pack-image-container {
            width: 25%;
            padding-right: 10px;
            box-sizing: border-box;
        }

        .meryenda-pack-image {
            width: 100%;
            border-radius: 8px;
            object-fit: cover;
            aspect-ratio: 1/1;
            /* Make it a square */
        }

        .meryenda-pack-details {
            width: 75%;
            box-sizing: border-box;
        }

        /* Style for checked labels */
        .label-checked::before {
            content: '\f00c';
            /* Font Awesome checkmark icon */
            font-family: FontAwesome;
            color: #1877f2;
            margin-right: 5px;
        }



        /* Style for quantity selector in cart */
        .quantity-selector.in-cart {
            border: 2px solid #1877f2;
        }

        /* Style for product name in cart */
        .product-label.in-cart::before {
            content: '\f291';
            /* Font Awesome checkmark icon */
            font-family: FontAwesome;
            color: #1877f2;
            margin-right: 5px;
        }

        #cart-cleared-toast {
            position: fixed;
            bottom: 20px;
            /* Position at the bottom */
            left: 50%;
            transform: translateX(-50%);
            background-color: #1877f2;
            /* Reddish color */
            color: white;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 16px;
            z-index: 1000;
            display: none;
            animation: slideIn 0.5s, slideOut 0.5s 3s;
        }

        .blue {
            color: #1877f2;
        }

        .white {
            color: #ffffff;
        }

/* Add this to your styles.css */
.radio-label {
  font-weight: 400;
  display: flex;
  align-items: flex-start; /* Vertically align items */
  margin-bottom: 5px; /* Add some spacing between radio button groups */
}

.radio-label input[type="radio"] {
  /* Hide the default radio button */
  appearance: none;
  -webkit-appearance: none;
  /* Add a custom check */
  position: relative;
  width: 0.8em;
  height: 0.8em;
  border: 1px solid #ccc; /* Adjust border color as needed */
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  margin-right: 8px;
  margin-left: 0;
  vertical-align: top;
  margin-bottom: 4px;
}

/* Add the Font Awesome check when checked */
.radio-label input[type="radio"]:checked::before {
  font-family: FontAwesome; /* Or the appropriate Font Awesome family */
  font-weight: 900; /* Solid style */
  content: "\f004"; /* Font Awesome checkmark icon */
  font-size: 1.2em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1877f2; /* Adjust checkmark color as needed */
}

.radio-label span {
  word-break: break-word; /* Prevent long words from overflowing */
  max-width: 300px; /* Adjust as needed */
}

.radio-label input[type="radio"]:checked + span {
  font-weight: bold;
}

.radio-label input[type="radio"]:disabled + span {
  color: lightgrey; /* Or any other light grey color you prefer */
}

.radio-label input[type="radio"]:disabled {
  border-color: lightgrey; /* Optional: Also dim the border */
}

/* If you have a custom checkmark (like Font Awesome), dim it too */
.radio-label input[type="radio"]:disabled::before {
  color: lightgrey; /* Adjust checkmark color as needed */
}





















#category-menu-container {
    position: fixed; /* Changed to fixed */
    bottom: 80px; /* Adjust to sit above sticky footer */
    right: 20px; /* Position on the right */
    z-index: 101; /* Ensure it's above the sticky footer */
    width: 50px; /* Adjust size as needed */
    height: 50px; /* Adjust size as needed */
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Add a shadow */
    border-radius: 50%; /* Make it round */
}

#category-menu {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: visibility 0.3s ease-out, max-height 0.3s ease-out;
    max-height: 500px; /* Set a max height */
    visibility: hidden; /* ADD THIS LINE */
    position: fixed; /* Changed to fixed */
    bottom: 80px;  /* Position below the button. Adjust as needed */
    right: 20px;   /* Align with the button */
    width: 200px;  /* Wider menu */
    background-color: #f9f9f9; /* Background color for the menu */
    border: 1px solid #ccc; /* Border for the menu */
    border-radius: 5px; /* Rounded corners for the menu */
    padding: 10px; /* Add padding to the menu */
    z-index: 102; /* Ensure it's above the container */
    max-height: 0; /* Set height to 0*/
}

#category-menu.expanded {
    visibility: visible; /* ADD THIS LINE */
    max-height: 250px;
    overflow-y: auto;
}

#category-menu a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}

#category-menu a:hover {
    background-color: #ddd;
}

#category-menu a:last-child {
    border-bottom: none;
}

#menu-toggle {
    background-color: #007bff; /* Blue color */
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 1.5em; /* Adjust icon size */
    display: flex;
    align-items: center;
    justify-content: center;
}

#menu-toggle:hover {
    background-color: #0056b3;
}

/* Add an icon to the menu toggle */
#menu-toggle::before {
    content: '\f0c9'; /* FontAwesome bars icon */
    font-family: FontAwesome;
    font-weight: 900;
}