.order-menu-pro-item-details-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}
.item-info-left {
    flex: 1;
}
.item-price-right {
    font-size: 1.5em;
    font-weight: bold;
    white-space: nowrap;
}
.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.label-left {
    flex-grow: 1;
}
.price-right {
    margin-left: auto;
    font-weight: 500;
}

/* Layout container for options and extras */
.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

/* Makes label span full width */
.option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Left side (option name) */
.label-left {
    flex: 1;
    text-align: left;
    margin-left: 10px;
}

/* Right side (price) */
.price-right {
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
    margin-left: auto;
}

/* Optional: Style for inputs */
.option-row input[type="radio"],
.option-row input[type="checkbox"] {
    margin-right: 10px;
}

/* Frontend Styles - Order Menu Pro */
.order-menu-pro-loading, 
.order-menu-pro-error {
    padding: 40px;
    text-align: center;
    font-size: 16px;
    color: #000000;
}

.order-menu-pro-error {
    color: #d9534f;
}

.order-menu-pro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.order-menu-pro-notice {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
    text-align: center;
}

.order-menu-pro-category {
    margin-bottom: 40px;
}

.order-menu-pro-category-title {
    font-size: 24px;
    color: #000000;
    border-bottom: 2px solid #dddddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.order-menu-pro-category-description {
    color: #000000;
    margin-bottom: 15px;
    font-size: 16px;
}

.order-menu-pro-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.order-menu-pro-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.order-menu-pro-item-image {
    height: 200px;
    overflow: hidden;
}

.order-menu-pro-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.order-menu-pro-item:hover .order-menu-pro-item-image img {
    transform: scale(1.05);
}

.order-menu-pro-item-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.order-menu-pro-item-name {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin: 0 0 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-menu-pro-item-price {
    font-weight: bold;
    color: #000000;
    margin-left: 10px;
    white-space: nowrap;
}

.order-menu-pro-item-description {
    color: #000000;
    font-size: 14px;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.order-menu-pro-item-allergies {
    color: #d9534f;
    font-size: 13px;
    margin: 0 0 10px 0;
    font-style: italic;
}

/* Modal Styles */
.order-menu-pro-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    overflow: hidden;
}

.order-menu-pro-modal.active {
    display: block;
}

.order-menu-pro-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(2px);
}

.order-menu-pro-modal-content {
    position: fixed;
    background-color: #ffffff;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 80vh;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.order-menu-pro-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
    color: #000000;
}

.order-menu-pro-modal-body {
    padding: 20px 0;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

.order-menu-pro-item-details h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #000000;
}

.order-menu-pro-item-details p {
    margin-bottom: 15px;
    color: #000000;
}

.order-menu-pro-item-details .price {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
}

.order-menu-pro-option-group, 
.order-menu-pro-extra-group {
    margin-bottom: 20px;
}

.order-menu-pro-option-group h3, 
.order-menu-pro-extra-group h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #000000;
}

.order-menu-pro-option-item, 
.order-menu-pro-extra-item {
    margin-bottom: 10px;
}

.order-menu-pro-option-item label, 
.order-menu-pro-extra-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #000000;
    font-size: 15px;
}

.order-menu-pro-option-item input[type="radio"], 
.order-menu-pro-extra-item input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

.order-menu-pro-special-instructions {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    min-height: 80px;
    color: #000000;
    font-family: inherit;
}

.order-menu-pro-action-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
}

.order-menu-pro-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #dddddd;
    border-radius: 4px;
    overflow: hidden;
}

.order-menu-pro-quantity button {
    width: 40px;
    height: 40px;
    background: #f8f8f8;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    color: #000000;
}

.order-menu-pro-quantity button:hover {
    background: #e8e8e8;
}

.order-menu-pro-quantity-input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    font-size: 16px;
    background: white;
    -moz-appearance: textfield;
    color: #000000;
}

.order-menu-pro-quantity-input::-webkit-outer-spin-button,
.order-menu-pro-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.order-menu-pro-add-to-cart {
    flex-grow: 1;
    height: 40px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    margin-left: 15px;
    width: 80%;
    max-width: 300px;
}

.order-menu-pro-add-to-cart:hover {
    background: #b71c1c;
}

.order-menu-pro-closed-message {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
}

.order-menu-pro-preorder-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #28a745;
    color: white;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.2s;
}

.order-menu-pro-preorder-btn:hover {
    background: #218838;
    color: white;
}

/* Mobile Styles */
@media (max-width: 782px) {
    .order-menu-pro-items {
        grid-template-columns: 1fr;
    }

    .order-menu-pro-modal-content {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        max-height: 80vh;
        transform: translateY(100%);
        border-radius: 20px 20px 0 0;
        transition: transform 0.4s ease-out;
    }

    .order-menu-pro-modal.active .order-menu-pro-modal-content {
        transform: translateY(0);
    }

    .order-menu-pro-modal-body {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }

    .order-menu-pro-add-to-cart {
        height: 50px;
        font-size: 18px;
    }

    .order-menu-pro-quantity button {
        width: 45px;
        height: 45px;
    }
}

/* Prevent body scroll when modal is open */
body.order-menu-pro-modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}
/* Closed Message Styles */
.order-menu-pro-closed-message {
    background: #fff3cd;
    color: #856404;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    animation: fadeIn 0.5s ease-out;
}

/* Pre-order Button Styles */
.order-menu-pro-preorder-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: #28a745;
    color: white;
    text-align: center;
    border-radius: 4px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    animation: slideUp 0.5s ease-out;
}

.order-menu-pro-preorder-btn:hover {
    background: #218838;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}