/* Flatpickr Custom Styles */
.flatpickr-calendar {
    font-family: "Plus Jakarta Sans", "Noto Sans", sans-serif !important;
    width: 336px !important;
    padding: 16px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
                0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    border-radius: 12px !important;
    background: #FFFFFF !important;
}

/* Selected date */
.flatpickr-day.selected {
    background: #EE7F2B !important;
    border-color: #EE7F2B !important;
    color: #FFFFFF !important;
}


/* Navigation arrows */
.flatpickr-months .flatpickr-prev-month, 
.flatpickr-months .flatpickr-next-month {
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    width: 18px !important;
    height: 18px !important;
    margin: 15px;
    fill: #1C160C !important;
    transition: transform 0.2s ease !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    transform: scale(1.1) !important;
}

/* Input field styles */
.apo-datepicker {
    padding: 8px 12px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
    transition: all 0.2s ease;
    background: #FFFFFF;
}

.apo-datepicker:focus {
    outline: none;
    border-color: #EE7F2B;
    box-shadow: 0 0 0 3px rgba(1, 152, 99, 0.1);
}

.apo-datepicker::placeholder {
    color: #9CA3AF;
}

/* Calendar container animation */
.flatpickr-calendar.open {
    animation: fpFadeInDown 200ms ease-out !important;
}

@keyframes fpFadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -10px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Month dropdown styling */
.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1C160C !important;
}

.flatpickr-current-month input.cur-year {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1C160C !important;
}

/* General styles and fonts */
.apo-option-group {
    font-family: "Outfit", "Noto Sans", sans-serif;
    max-width: 480px;
    padding: 0 1rem;
}

.apo-option-group h3 {
    color: #1C160C;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 1.25rem 0 0.5rem 0;
    text-align: center;
}

/* Option container */
.apo-option {
    margin-bottom: 1rem;
}

/* Option label */
.apo-option > label {
    color: #1C160C;
    font-size: 1rem;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 0.5rem;
    display: block;
}

/* Text and Select inputs */
.apo-option input[type="text"],
.apo-option select,
.apo-datepicker {
    width: 100%;
    min-width: 0;
    flex: 1;
    border: none;
    border-radius: 0.75rem;
    background-color: #e2d8c7;
    height: 3.5rem;
    padding: 1rem;
    color: #1C160C;
    font-size: 1rem;
    font-weight: normal;
    line-height: normal;
}

.apo-option input[type="text"]::placeholder,
.apo-option select::placeholder,
.apo-datepicker::placeholder {
    color: #A18249;
}

.apo-option input[type="text"]:focus,
.apo-option select:focus,
.apo-datepicker:focus {
    outline: none;
    ring: 0;
    border: none;
}

/* Radio buttons container */
.apo-option label {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e2d8c7;
    padding: 15px;
    margin-bottom: 0.75rem;
}

/* Radio buttons */
.apo-option input[type="radio"] {
    height: 15px;
    width: 1.25rem;
    border: 2px solid #E9DFCE;
    background-color: transparent;
    color: transparent;
    margin-right: 5px;
}

.apo-option input[type="radio"]:checked {
    border-color: #019863;
    background-image: url('data:image/svg+xml,%3csvg viewBox=%270 0 16 16%27 fill=%27rgb(1,152,99)%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3ccircle cx=%278%27 cy=%278%27 r=%273%27/%3e%3c/svg%3e') !important;
}

.apo-option input[type="radio"]:focus {
    outline: none;
    ring: 0;
    ring-offset: 0;
}

.apo-option input[type="radio"]:checked:focus {
    border-color: #019863;
}

/* Option text next to radio */
.apo-option label span {
    color: #1C160C;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: normal;
}

/* Price adjustments */
.price-adjustment {
    color: #A18249;
}

/* Add to cart button styling */
.single_add_to_cart_button {
    display: flex;
    min-width: 84px;
    max-width: 480px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 9999px;
    height: 3rem;
    padding: 0 1.25rem;
    flex: 1;
    background-color: #019863;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.015em;
    border: none;
    margin: 0;
}

.single_add_to_cart_button:hover {
    background-color: #018357;
}

/* Grid layout for multiple options */
.apo-option-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.apo-option-grid .apo-option {
    min-width: 10rem;
    flex: 1;
}

/* Required field indicator */
.required {
    color: #019863;
    margin-left: 0.25rem;
}

/* Modal Styles */
.apo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    font-family: "Plus Jakarta Sans", "Noto Sans", sans-serif;
}

.apo-modal-content {
    position: relative;
    background: #FFFFFF;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.apo-modal-header {
    padding: 1rem;
    border-bottom: 1px solid #F4EFE6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.apo-modal-header h3 {
    color: #1C160C;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #A18249;
}

.apo-modal-body {
    padding: 1rem;
    max-height: 60vh;
    overflow-y: auto;
}

.meal-addon-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #E9DFCE;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
}

.addon-details {
    flex: 1;
}

.addon-name {
    color: #1C160C;
    font-size: 0.875rem;
    font-weight: 500;
}

.addon-price {
    color: #A18249;
    font-size: 0.875rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: #F4EFE6;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1C160C;
}

.quantity-input {
    width: 40px;
    text-align: center;
    border: 1px solid #E9DFCE;
    border-radius: 4px;
    padding: 2px;
}

.apo-modal-footer {
    padding: 1rem;
    border-top: 1px solid #F4EFE6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.apply-addons-button {
    background: #019863;
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    cursor: pointer;
    font-weight: 700;
}

/* Container for add to cart section */
.cart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 480px;
}

#meal-addons-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F4EFE6;
    color: #1C160C;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    margin-left: 0;
}

/* Option container */
.apo-option-group {
    font-family: "Plus Jakarta Sans", "Noto Sans", sans-serif;
    max-width: 100%;
    padding: 0 1rem;
}

/* Grid layout for options */
.apo-options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Individual option styling */
.apo-option {
    margin-bottom: 1rem;
    min-width: 0; /* Prevents overflow in grid items */
}

/* Option label */
.apo-option > label {
    color: #1C160C;
    font-size: 1rem;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 0.5rem;
    display: block;
}

/* Text and Select inputs */
.apo-option input[type="text"],
.apo-option select,
.apo-datepicker {
    width: 100%;
    min-width: 0;
    flex: 1;
    border: none;
    border-radius: 0.75rem;
    background-color: #e2d8c7;
    height: 3.5rem;
    padding: 1rem;
    color: #1C160C;
    font-size: 1rem;
    font-weight: normal;
    line-height: normal;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .apo-options-container {
        grid-template-columns: 1fr;
    }
    
    .apo-option {
        margin-bottom: 1rem;
    }
}
#meal-addons-list > div > div.quantity-controls > button.quantity-btn.minus {
    display: flex !important;
}
#meal-addons-list > div > div.quantity-controls > button.quantity-btn.plus {
    display: flex !important;
}

/* ... rest of existing code ... */