/* Online Ordering System Styles */

.localbuzz-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Location Selector */
.location-selector {
    margin-bottom: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.location-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.location-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

/* Menu Categories Tabs */
.menu-categories-tabs {
    margin-bottom: 100px;
    position: relative;
}

/* Desktop: Sidebar Layout */
.menu-categories-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.category-tabs {
    position: sticky;
    top: 100px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    border-bottom: none;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar styling for sidebar */
.category-tabs::-webkit-scrollbar {
    width: 6px;
}

.category-tabs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.category-tabs::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.category-tabs::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.category-tab {
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    border-bottom: none;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    width: 100%;
    border-radius: 6px;
    margin-bottom: 0;
}

.category-tab:hover {
    color: #ff6b35;
    background: #fff5f2;
}

.category-tab.active {
    color: #ff6b35;
    border-left-color: #ff6b35;
    background: #fff5f2;
}

.category-tab .item-count {
    background: #e0e0e0;
    color: #666;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
    margin-left: auto;
}

.category-tab.active .item-count {
    background: #ff6b35;
    color: #fff;
}

.category-content {
    position: relative;
    min-height: 400px;
}

.category-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    scroll-margin-top: 120px; /* Offset for sticky header */
}

@media (max-width: 768px) {
    .category-section-title {
        font-size: 24px;
        scroll-margin-top: 80px;
    }
}

.menu-category {
    display: block;
    animation: fadeIn 0.3s ease;
    margin-bottom: 40px;
}

.menu-category:last-child {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Menu Item Card */
.menu-item-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.menu-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-content {
    padding: 16px;
}

.item-name {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #2c3e50;
}

.item-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.item-price {
    font-size: 22px;
    font-weight: 400;
    color: #474848;
}

.btn-add-to-cart {
    background: #fff;
    color: #484848;
    border: 2px solid #bcbcbc;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 107, 53, .2);
    position: relative;
}

.btn-add-to-cart:hover {
    background: #ff6b35;
    color: #fff;
    border-color: #ff6b35;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-add-to-cart:active {
    background: #e55a2b;
    border-color: #e55a2b;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevent overflow issues */
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 24px;
}

.cart-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

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

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
}

.cart-item-top {
    display: flex;
    gap: 12px;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-price {
    color: #27ae60;
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.quantity-btn {
    background: #ffffff;
    border: none;
    width: 71px;
    height: 50px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    color: black;
    font-size: 18px;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #f5f5f5;
}

.quantity-input {
    width: 18% !important;
    text-align: center !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 4px !important;
    color: #666 !important;
    height: auto !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: var(--ast-border-color, #ddd) !important;
    background: var(--ast-comment-inputs-background, #fff) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: all .2s linear !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.cart-item-remove {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cart-item-remove:hover,
.cart-item-remove:focus {
    color: #f8fbfe;
    background-color: #fb4c06;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    flex-shrink: 0; /* Prevent footer from shrinking */
    display: flex;
    flex-direction: column;
}

.cart-totals {
    margin-bottom: 12px;
    order: 1; /* Show totals first */
}

.cart-subtotal, .cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cart-total {
    font-size: 20px;
    font-weight: 700;
    padding-top: 8px;
    border-top: 2px solid #ddd;
}

.btn-checkout {
    width: 100% !important;
    background: #fb4c06 !important;
    color: #f8fbfe !important;
    border: none !important;
    padding: 14px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    order: 2 !important; /* Show button after totals */
    margin-top: 0 !important;
}

.btn-checkout:hover,
.btn-checkout:focus {
    background-color: #e04506 !important;
    color: #f8fbfe !important;
}

/* Override theme input styles to match theme */
.localbuzz-menu-container input[type=email],
.localbuzz-menu-container input[type=number],
.localbuzz-menu-container input[type=password],
.localbuzz-menu-container input[type=reset],
.localbuzz-menu-container input[type=search],
.localbuzz-menu-container input[type=tel],
.localbuzz-menu-container input[type=text],
.localbuzz-menu-container input[type=url],
.localbuzz-menu-container select,
.localbuzz-menu-container textarea {
    color: #666 !important;
    padding: 1% !important;
    height: auto !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: var(--ast-border-color, #ddd) !important;
    border-radius: 2px !important;
    background: var(--ast-comment-inputs-background, #fff) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: all .2s linear !important;
}

.add-to-cart-modal input[type=email],
.add-to-cart-modal input[type=number],
.add-to-cart-modal input[type=password],
.add-to-cart-modal input[type=reset],
.add-to-cart-modal input[type=search],
.add-to-cart-modal input[type=tel],
.add-to-cart-modal input[type=text],
.add-to-cart-modal input[type=url],
.add-to-cart-modal select,
.add-to-cart-modal textarea {
    color: #666 !important;
    padding: 1% !important;
    height: auto !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: var(--ast-border-color, #ddd) !important;
    border-radius: 2px !important;
    background: var(--ast-comment-inputs-background, #fff) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: all .2s linear !important;
}

/* Cart Toggle Button */
.cart-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.cart-toggle svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
}

.cart-toggle:hover {
    background: #e55a2b;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5);
}

.cart-icon {
    width: 24px;
    height: 24px;
    display: block !important;
    color: #fff !important;
    fill: #fff !important;
    stroke: none;
    flex-shrink: 0;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Add to Cart Modal */
.add-to-cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;
    box-sizing: border-box;
}

.modal-content {
    background: #fff !important;
    border-radius: 12px !important;
    max-width: 600px !important;
    width: 90% !important;
    max-height: 90vh !important;
    position: relative !important;
    box-sizing: border-box !important;
    margin: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.modal-close {
    position: absolute !important;
    top: 25px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    z-index: 10003;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

#modal-item-details {
    padding: 20px 20px 20px 0 !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
}

#modal-item-details h3 {
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
}

.modal-quantity, .modal-special-instructions {
    margin: 20px 0 !important;
}

.modal-quantity label, .modal-special-instructions label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
}

.modal-quantity input {
    width: 12% !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    color: #666 !important;
    height: auto !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: var(--ast-border-color, #ddd) !important;
    background: var(--ast-comment-inputs-background, #fff) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: all .2s linear !important;
}

.modal-special-instructions textarea {
    width: 90% !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    resize: vertical !important;
    color: #666 !important;
    height: auto !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: var(--ast-border-color, #ddd) !important;
    background: var(--ast-comment-inputs-background, #fff) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: all .2s linear !important;
}

.btn-add-to-cart-confirm {
    width: 81% !important;
    background: #ff6b35 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.btn-add-to-cart-confirm:hover {
    background: #e55a2b !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

.modal-scrollable-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    padding-bottom: 100px;
}

.modal-sticky-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #eee;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    flex-shrink: 0;
    box-shadow: none;
}

.modal-quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-decrease-btn,
.quantity-increase-btn {
    width: 44px;
    height: 44px;
    border-radius: 0;
    border: none;
    background: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.2s;
    font-weight: 600;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto !important;
    position: relative;
    z-index: 10001;
}

.quantity-decrease-btn:hover,
.quantity-increase-btn:hover {
    background: #f5f5f5;
}

#modal-quantity {
    width: 50px;
    height: 44px;
    text-align: center;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    -moz-appearance: textfield;
    appearance: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 15px !important;
        width: calc(100% - 30px) !important;
        max-width: calc(100% - 30px) !important;
        max-height: calc(100vh - 30px) !important;
        border-radius: 12px !important;
    }
    
    .modal-scrollable-content {
        padding: 20px !important;
        padding-bottom: 100px !important;
    }
    
    .modal-sticky-footer {
        padding: 12px 15px !important;
        gap: 12px !important;
    }
    
    .add-to-cart-modal {
        align-items: center !important;
        justify-content: center !important;
        padding: 15px !important;
    }
    
    .modal-close {
        top: 20px !important;
        right: 10px !important;
        position: absolute !important;
    }
    
    .modal-scrollable-content {
        padding-top: 20px !important;
    }
    
    #modal-item-details {
        padding: 15px 15px 15px 0 !important;
        margin-top: 35px !important;
    }
    
    .modal-quantity-controls {
        display: flex !important;
        align-items: center !important;
        gap: 0px !important;
    }
    
    .quantity-decrease-btn {
        width: 20px !important;
        height: 24px !important;
    }
    
    #modal-quantity {
        width: 20px !important;
        height: 24px !important;
    }
    
    .quantity-increase-btn {
        width: 20px !important;
        height: 44px !important;
    }
    
    .quantity-btn {
        width: 50px;
        height: 44px;
        font-size: 16px;
    }
    
    .quantity-input {
        width: 50px;
        height: 44px;
        font-size: 14px;
    }
    
    .menu-categories-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Mobile: Horizontal Scrollable Categories */
    .category-tabs {
        position: sticky !important;
        top: 70px !important;
        background: #fff !important;
        z-index: 100 !important;
        padding: 12px 0 !important;
        margin-bottom: 20px !important;
        border-bottom: 2px solid #e0e0e0 !important;
        max-height: none !important;
        overflow-y: hidden !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #888 #f1f1f1;
        flex-direction: row !important;
        gap: 8px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    }
    
    .category-tabs::-webkit-scrollbar {
        height: 4px;
    }
    
    .category-tabs::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .category-tabs::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }
    
    .category-tab {
        background: transparent !important;
        border: none !important;
        border-left: 3px solid transparent !important;
        border-bottom: 3px solid transparent !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #666 !important;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        border-radius: 6px;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        min-width: auto !important;
        max-width: none !important;
        width: auto !important;
    }
    
    .category-tab .item-count {
        font-size: 10px !important;
        padding: 1px 5px !important;
        margin-left: 5px !important;
        min-width: auto !important;
    }
    
    .category-tab.active {
        border-left-color: transparent !important;
        border-bottom-color: #ff6b35 !important;
        background: transparent !important;
        color: #ff6b35 !important;
    }
    
    .category-tab.active .item-count {
        background: #ff6b35 !important;
        color: #fff !important;
    }
    
    .menu-items-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
        display: flex;
        flex-direction: column;
    }
    
    .cart-items {
        flex: 1;
        overflow-y: auto;
        padding-bottom: 20px;
        /* Ensure there's space for footer */
        margin-bottom: 0;
    }
    
    .cart-footer {
        position: sticky;
        bottom: 0;
        background: #f8f9fa;
        padding: 12px 20px 120px 20px;
        border-top: 2px solid #ddd;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 10;
        display: flex;
        flex-direction: column;
    }
    
    .cart-totals {
        order: 1;
        margin-bottom: 10px;
    }
    
    .cart-subtotal {
        margin-bottom: 6px;
    }
    
    .cart-total {
        margin-bottom: 10px;
    }
    
    .btn-checkout {
        width: 100% !important;
        padding: 16px !important;
        font-size: 18px !important;
        margin-top: 0 !important;
        position: relative !important;
        z-index: 11 !important;
        order: 2 !important;
        margin-bottom: 0 !important;
        align-self: flex-start !important;
    }
    
    .cart-toggle {
        bottom: 20px !important;
        right: 20px !important;
        z-index: 999 !important;
    }
}

/* Hide ShopEngine cart on restaurant menu and checkout pages */
.localbuzz-restaurant-profile .shopengine-sticky-fly-cart--fixed-cart,
.localbuzz-checkout-container .shopengine-sticky-fly-cart--fixed-cart,
body:has(.localbuzz-restaurant-profile) .shopengine-sticky-fly-cart--fixed-cart,
body:has(.localbuzz-checkout-container) .shopengine-sticky-fly-cart--fixed-cart {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hide entry title */
.header.entry-header .entry-title,
.entry-header .entry-title,
h1.entry-title,
.entry-title,
body:has(.localbuzz-restaurant-profile) h1.entry-title,
.localbuzz-restaurant-profile ~ h1.entry-title,
.localbuzz-restaurant-profile h1.entry-title {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Ensure h1 color in restaurant header */
.localbuzz-restaurant-profile .restaurant-header h1 {
    color: #292828 !important;
}

.localbuzz-restaurant-profile .restaurant-header p {
    color: white !important;
}

/* Override Astra theme background for restaurant menu pages */
.localbuzz-restaurant-profile .ast-separate-container .ast-article-single:not(.ast-related-post),
.localbuzz-restaurant-profile .woocommerce.ast-separate-container .ast-woocommerce-container,
.localbuzz-restaurant-profile .ast-separate-container .error-404,
.localbuzz-restaurant-profile .ast-separate-container .no-results,
.localbuzz-restaurant-profile .single.ast-separate-container .ast-author-meta,
.localbuzz-restaurant-profile .ast-separate-container .related-posts-title-wrapper,
.localbuzz-restaurant-profile .ast-separate-container .comments-count-wrapper,
.localbuzz-restaurant-profile .ast-box-layout.ast-plain-container .site-content,
.localbuzz-restaurant-profile .ast-padded-layout.ast-plain-container .site-content,
.localbuzz-restaurant-profile .ast-separate-container .ast-archive-description,
.localbuzz-restaurant-profile .ast-separate-container .comments-area .comment-respond,
.localbuzz-restaurant-profile .ast-separate-container .comments-area .ast-comment-list li,
.localbuzz-restaurant-profile .ast-separate-container .comments-area .comments-title {
    background-color: transparent !important;
    background-image: none !important;
    margin-top: 0 !important;
}

/* Logo header styling */
.restaurant-menu-header {
    display: flex;
    align-items: flex-start;
}

.restaurant-menu-logo {
    margin-bottom: 0;
}

/* Horizontal header styling */
.restaurant-menu-header-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    margin-bottom: 20px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    box-sizing: border-box;
    position: sticky !important;
    top: 0px !important;
    z-index: 1000;
}

.restaurant-menu-header-horizontal .header-logo {
    flex: 0 0 auto;
}

.restaurant-menu-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: background 0.2s;
    border-radius: 4px;
}

.restaurant-menu-hamburger:hover {
    background: #f5f5f5;
}

.restaurant-menu-dropdown {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    z-index: 1000 !important;
    min-width: 380px !important;
    width: 380px !important;
    max-width: 450px !important;
    margin-top: 5px !important;
}

/* Responsive header */
@media (max-width: 768px) {
    .restaurant-menu-header-horizontal {
        padding: 12px 15px;
    }
    
    .restaurant-menu-header-horizontal .header-logo img {
        max-width: 100px !important;
    }
    
    .restaurant-menu-hamburger {
        width: 36px;
        height: 36px;
    }
    
    .restaurant-menu-dropdown {
        right: 15px !important;
        left: -280px !important;
        min-width: auto !important;
        width: calc(100% - 30px) !important;
    }
}

/* Hide specific buttons - but allow location button on restaurant marketplace */
#search-restaurants-btn {
    display: none !important;
    visibility: hidden !important;
}

/* Show location button on restaurant marketplace */
.localbuzz-restaurant-marketplace #use-location-btn {
    display: inline-block !important;
    visibility: visible !important;
}

/* ============================================
   Chick-fil-A Style Menu Design
   ============================================ */

/* Categories View */
.cfa-menu-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.cfa-categories-view {
    width: 100%;
    padding: 0;
}

.cfa-categories-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.cfa-category-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.cfa-category-item:hover {
    background: #f8f9fa;
}

.cfa-category-item:active {
    background: #f0f0f0;
}

.cfa-category-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.cfa-category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cfa-category-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cfa-category-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.cfa-category-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Menu Items View */
.cfa-items-view {
    width: 100%;
    background: #fff;
}

.cfa-items-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.cfa-back-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.cfa-back-btn:hover {
    background: #f0f0f0;
}

.cfa-items-category-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
    flex: 1;
    text-align: center;
}

.cfa-items-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.cfa-item-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.cfa-item-row:hover {
    background: #f8f9fa;
}

.cfa-item-row:active {
    background: #f0f0f0;
}

.cfa-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.cfa-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cfa-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.cfa-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.cfa-item-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cfa-item-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cfa-item-arrow svg {
    color: #ff6b35;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cfa-category-item {
        padding: 12px 15px;
    }
    
    .cfa-category-image,
    .cfa-item-image {
        width: 70px;
        height: 70px;
    }
    
    .cfa-category-name {
        font-size: 16px;
    }
    
    .cfa-item-name {
        font-size: 15px;
    }
    
    .cfa-item-description {
        font-size: 13px;
    }
    
    .cfa-items-header {
        padding: 12px 15px;
    }
    
    .cfa-items-category-name {
        font-size: 18px;
    }
}
