/**
 * Menu Page — Plugin CSS Overrides
 *
 * Restyles all .oo- prefixed plugin elements to match the Smokeboxx dark design.
 * Loaded AFTER the plugin CSS via wp_enqueue_style dependency.
 *
 * @package Smokeboxx
 */

/* ==================== MENU PAGE LAYOUT ==================== */

.sb-menu-page {
    background: var(--sb-black);
    min-height: 100vh;
}

/* ==================== MENU WRAP ==================== */

.oo-menu-wrap {
    background: var(--sb-black);
    color: var(--sb-white);
    font-family: 'Montserrat', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

/* ==================== CLOSED NOTICE ==================== */

.oo-closed-notice {
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.4);
    border-radius: 0;
    padding: 20px 24px;
    margin-bottom: 24px;
    text-align: center;
    color: var(--sb-white);
}

.oo-closed-notice p {
    color: var(--sb-white);
}

/* ==================== CATEGORY NAVIGATION ==================== */

.oo-category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
    position: sticky !important;
    top: 83px !important;
    z-index: 50;
    background: var(--sb-black);
    overflow: visible !important;
    -webkit-overflow-scrolling: auto !important;
    border-bottom: none;
    margin-bottom: 40px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.oo-category-nav::-webkit-scrollbar {
    display: none;
}

.oo-category-nav.oo-sticky {
    background: var(--sb-black);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
    padding: 16px 0;
    margin: 0 0 40px;
    top: 83px !important;
    overflow: visible !important;
}

.oo-category-nav a {
    display: inline-block;
    padding: 14px 28px;
    background: var(--sb-surface);
    color: var(--sb-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    border: 3px solid var(--sb-orange);
    border-radius: 0;
    transition: all 0.15s;
    box-shadow: none;
    transform: none;
}

.oo-category-nav a:hover {
    background: var(--sb-orange);
    border-color: var(--sb-orange);
    color: var(--sb-white);
    box-shadow: 4px 4px 0 #E94E1B;
    transform: translate(-2px, -2px);
}

.oo-category-nav a.active {
    background: var(--sb-orange);
    border-color: var(--sb-orange);
    color: var(--sb-white);
    box-shadow: 4px 4px 0 #E94E1B;
    transform: translate(-2px, -2px);
}

/* ==================== MENU CATEGORY SECTIONS ==================== */

.oo-menu-category {
    margin-bottom: 48px;
    scroll-margin-top: 150px;
}

.oo-menu-category h2 {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sb-white);
    padding-bottom: 12px;
    border-bottom: 3px solid var(--sb-orange);
    margin-bottom: 24px;
    display: inline-block;
}

.oo-category-description {
    color: var(--sb-gray);
    font-size: 14px;
    margin-bottom: 24px;
    margin-top: -16px;
}

/* ==================== MENU GRID ==================== */

.oo-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* ==================== MENU ITEMS ==================== */

.oo-menu-item {
    background: #1A1A1A;
    border: 1px solid var(--sb-light-gray);
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    gap: 14px;
    padding: 14px;
    transition: background 0.2s;
    cursor: pointer;
    overflow: visible;
    position: relative;
}

.oo-menu-item:hover {
    background: #0A0A0A;
    border-color: var(--sb-light-gray);
    box-shadow: none;
    transform: none;
}

/* Item Image — positioned on right */
.oo-menu-item-image-wrap {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    order: 2;
}

.oo-menu-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--sb-dark-gray);
    transition: none;
}

.oo-menu-item:hover .oo-menu-item-image {
    transform: none;
}

.oo-no-image {
    background: var(--sb-dark-gray);
}

.oo-menu-item-placeholder {
    width: 100%;
    height: 100%;
    background: var(--sb-dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.oo-menu-item-placeholder::after {
    background: var(--sb-light-gray);
}

/* Item Content — positioned on left */
.oo-menu-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    order: 1;
    padding: 0;
}

.oo-menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
}

.oo-menu-item-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--sb-white);
    text-transform: none;
    line-height: 1.3;
    letter-spacing: 0;
}

.oo-menu-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--sb-white);
    white-space: nowrap;
    letter-spacing: 0;
}

.oo-menu-item-description {
    font-size: 13px;
    color: var(--sb-gray);
    line-height: 1.4;
    margin: 0 0 10px;
    flex: none;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(2 * 1.4em);
}

/* ==================== DIETARY TAGS ==================== */

.oo-dietary-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.oo-tag {
    display: inline-block;
    padding: 3px 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    border: 1px solid var(--sb-light-gray);
    color: var(--sb-gray);
    background: transparent;
}

.oo-tag.vegetarian,
.oo-tag-v {
    color: #22C55E;
    border-color: #22C55E;
    background: transparent;
}

.oo-tag.vegan,
.oo-tag-vg {
    color: #10B981;
    border-color: #10B981;
    background: transparent;
}

.oo-tag.gluten-free,
.oo-tag-gf {
    color: #F59E0B;
    border-color: #F59E0B;
    background: transparent;
}

.oo-tag.halal,
.oo-tag-halal {
    color: #8B5CF6;
    border-color: #8B5CF6;
    background: transparent;
}

/* ==================== SPICE LEVEL ==================== */

.oo-spice-level {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--sb-gray);
    margin-bottom: 8px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    width: auto;
}

/* ==================== ADD TO CART BUTTON ==================== */

.oo-add-to-cart {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 0;               /* hide "Add to Basket" text */
    font-weight: 700;
    border: none;
    border-radius: 50%;
    background: white;
    color: var(--sb-dark, #0A0A0A);
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 2;
    text-transform: none;
    letter-spacing: 0;
    gap: 0;
    text-align: center;
    line-height: 1;
}

/* "+" pseudo-element replaces button text */
.oo-add-to-cart::after {
    content: '+';
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: var(--sb-dark, #0A0A0A);
}

.oo-add-to-cart:hover {
    background: #f0f0f0;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.oo-add-to-cart:active {
    transform: scale(0.95);
}

.oo-add-to-cart.oo-added {
    background: var(--sb-success);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.oo-add-to-cart.oo-added::after {
    content: '\2713';            /* checkmark */
    color: white;
}

.oo-add-to-cart:disabled {
    opacity: 0.5;
}

/* Hide the inner price span inside the button */
.oo-add-price {
    display: none;
}

/* Out of Stock */
.oo-out-of-stock {
    display: block;
    margin-top: auto;
    padding: 10px 16px;
    background: var(--sb-dark-gray);
    color: var(--sb-gray);
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
}

/* ==================== CART TOGGLE (FAB) ==================== */

.oo-cart-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: var(--sb-orange);
    color: var(--sb-white);
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(233, 78, 27, 0.4);
    transition: all 0.2s;
}

.oo-cart-toggle:hover {
    background: var(--sb-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 78, 27, 0.5);
}

.oo-cart-toggle:active {
    transform: translateY(0);
}

.oo-cart-toggle svg {
    width: 24px;
    height: 24px;
}

.oo-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 24px;
    height: 24px;
    background: var(--sb-white);
    color: var(--sb-orange);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0 6px;
    border: 2px solid var(--sb-orange);
}

/* ==================== CART OVERLAY ==================== */

.oo-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.oo-cart-overlay.oo-cart-open,
.oo-cart-sidebar-open .oo-cart-overlay {
    opacity: 1;
    visibility: visible;
}

/* ==================== CART SIDEBAR ==================== */

/* Mobile: slide-in overlay (default) */
.oo-cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: #1A1A1A;
    border-left: 3px solid var(--sb-orange);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: none;
}

.oo-cart-sidebar.oo-cart-open,
.oo-cart-sidebar-open .oo-cart-sidebar {
    transform: translateX(0);
}

/* Desktop: sticky sidebar visible by default, side-by-side with menu */
@media (min-width: 1024px) {
    .oo-menu-wrap {
        max-width: 1400px;
    }

    /* Flex layout created by JS: categories left, cart right */
    .oo-menu-layout {
        display: flex;
        gap: 32px;
        align-items: flex-start;
    }

    .oo-menu-main {
        flex: 1;
        min-width: 0;
    }

    .oo-cart-sidebar {
        position: sticky;
        top: 180px;
        display: flex !important;
        flex-direction: column;
        width: 380px;
        flex-shrink: 0;
        height: fit-content;
        max-height: calc(100vh - 170px);
        overflow-y: auto;
        background: #1A1A1A;
        border-radius: 12px;
        border-left: none;
        transform: none !important;
        z-index: auto;
    }

    /* Always visible on desktop */
    .oo-cart-sidebar.oo-cart-open,
    .oo-cart-sidebar-open .oo-cart-sidebar {
        transform: none !important;
    }

    /* Hide close button on desktop — cart is always visible */
    .oo-cart-close {
        display: none;
    }

    /* Hide overlay and FAB toggle on desktop */
    .oo-cart-overlay {
        display: none !important;
    }

    .oo-cart-toggle {
        display: none;
    }
}

.oo-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--sb-surface);
    border-bottom: 1px solid var(--sb-light-gray);
    color: var(--sb-white);
}

.oo-cart-header h3 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sb-white);
}

.oo-cart-close {
    background: none;
    border: none;
    color: var(--sb-gray);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    width: auto;
    height: auto;
    border-radius: 0;
}

.oo-cart-close:hover {
    color: var(--sb-white);
    background: none;
    transform: none;
}

.oo-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    background: var(--sb-dark);
}

/* ==================== CART ITEMS ==================== */

.oo-cart-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
}

.oo-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--sb-light-gray);
}

.oo-cart-item:hover {
    box-shadow: none;
}

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

.oo-cart-item-details {
    flex: 1;
    min-width: 0;
}

.oo-cart-item-name {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
    color: var(--sb-white);
}

.oo-cart-reward-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--sb-orange);
    background: rgba(233, 78, 27, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}

.oo-cart-item-price {
    font-size: 13px;
    color: var(--sb-orange);
    font-weight: 700;
}

.oo-cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--sb-surface);
    border-radius: 0;
    padding: 0;
    border: 1px solid var(--sb-light-gray);
}

.oo-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    color: var(--sb-white);
    box-shadow: none;
}

.oo-qty-btn:hover {
    background: var(--sb-orange);
    color: var(--sb-white);
    transform: none;
}

.oo-qty-delete svg {
    pointer-events: none;
}

.oo-qty-value {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--sb-white);
}

.oo-cart-item-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.oo-cart-item-mods {
    font-size: 11px;
    color: #888888;
    margin-bottom: 4px;
    display: block;
}

.oo-cart-item-options {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oo-cart-option {
    font-size: 11px;
    color: #888888;
}

.oo-cart-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.oo-cart-edit-btn {
    background: none;
    border: none;
    color: #888888;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.15s;
}

.oo-cart-edit-btn:hover {
    color: #FFFFFF;
}

/* ==================== CART TOTALS ==================== */

.oo-cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.oo-cart-subtotal-label {
    color: #888888;
    font-size: 14px;
}

.oo-cart-subtotal-value {
    font-size: 20px;
    font-weight: 800;
    color: #FFFFFF;
}

.oo-cart-subtotals {
    padding: 16px 0;
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
    border-top: 1px solid var(--sb-light-gray);
}

.oo-cart-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--sb-gray);
}

.oo-cart-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--sb-orange);
    background: transparent;
    border-radius: 0;
    border-top: 2px solid var(--sb-light-gray);
}

.oo-cart-discount {
    color: var(--sb-success);
    font-weight: 600;
}

.oo-cart-empty {
    text-align: center;
    padding: 60px 24px;
    color: var(--sb-gray);
}

.oo-cart-empty-icon {
    color: var(--sb-light-gray);
}

.oo-cart-empty p {
    color: var(--sb-white);
}

.oo-cart-empty span {
    color: var(--sb-gray);
}

/* ==================== PROMO CODE ==================== */

.oo-promo-input input {
    background: var(--sb-surface);
    border: 2px solid var(--sb-light-gray);
    border-radius: 0;
    color: var(--sb-white);
    font-family: 'Montserrat', sans-serif;
}

.oo-promo-input input:focus {
    border-color: var(--sb-orange);
    box-shadow: none;
}

.oo-promo-input input::placeholder {
    color: var(--sb-gray);
}

.oo-promo-input button {
    background: var(--sb-orange);
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
}

.oo-promo-input button:hover {
    background: var(--sb-orange-dark);
}

/* ==================== CART FOOTER ==================== */

.oo-cart-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--sb-light-gray);
    background: var(--sb-dark);
    box-shadow: none;
}

.oo-cart-checkout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px;
    background: var(--sb-orange);
    color: var(--sb-white);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    border: none;
    border-radius: 0;
    cursor: pointer;
    box-shadow: none;
    gap: 0;
}

.oo-cart-checkout:hover {
    background: var(--sb-orange-dark);
    transform: none;
    box-shadow: none;
    color: var(--sb-white);
}

.oo-cart-checkout:active {
    transform: none;
}

/* ==================== TOAST / NOTICES ==================== */

.oo-notice {
    background: var(--sb-surface);
    border: 1px solid var(--sb-light-gray);
    color: var(--sb-white);
    border-radius: 0;
}

.oo-notice-success {
    background: var(--sb-success);
    border-color: var(--sb-success);
}

.oo-notice-error {
    background: var(--sb-error);
    border-color: var(--sb-error);
}

/* ==================== NO PRODUCTS ==================== */

.oo-no-products {
    text-align: center;
    color: var(--sb-gray);
    padding: 60px 20px;
    font-size: 16px;
}

/* ==================== DELIVERY / COLLECTION TOGGLE ==================== */

.order-type-section {
    display: none;                /* mobile only — shown via media query */
    padding: 0 16px 16px;
}

.order-type-toggle {
    display: flex;
    gap: 0;
    background: #1A1A1A;
    border-radius: 12px;
    padding: 4px;
}

.order-type-toggle .toggle-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    border: none;
    background: transparent;
    color: var(--sb-gray, #888888);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.order-type-toggle .toggle-btn.active {
    background: var(--sb-orange, #E94E1B);
    color: var(--sb-white, #FFFFFF);
}

.order-type-toggle .toggle-btn svg {
    flex-shrink: 0;
}

/* ==================== STORE INFO SECTION ==================== */

.store-info-section {
    display: none;                /* mobile only — shown via media query */
    padding: 20px 16px;
    text-align: center;
    background: linear-gradient(to bottom, #141414, var(--sb-black, #000000));
}

.store-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sb-white, #FFFFFF);
}

.store-stats strong {
    color: var(--sb-orange, #E94E1B);
}

.store-stats .stat-divider {
    color: var(--sb-light-gray, #333333);
}

.store-address {
    font-size: 12px;
    color: var(--sb-gray, #888888);
    margin-bottom: 4px;
}

.store-hours-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.store-hours {
    font-size: 12px;
    color: var(--sb-orange, #E94E1B);
    font-weight: 600;
}

.store-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    background: transparent;
    border: 1.5px solid var(--sb-gray, #888888);
    border-radius: 50%;
    color: var(--sb-gray, #888888);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* ==================== BOTTOM SHEET (Store Info) ==================== */

.bottom-sheet-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.bottom-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    max-height: 85vh;
    background: #1A1A1A;
    border-radius: 16px 16px 0 0;
    z-index: 1101;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px 20px;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    visibility: hidden;
}

.bottom-sheet.active {
    transform: translateY(0);
    visibility: visible;
}

.bottom-sheet-handle {
    display: flex;
    justify-content: center;
    padding: 12px 0 8px;
    cursor: grab;
}

.bottom-sheet-handle span {
    width: 40px;
    height: 4px;
    background: #444;
    border-radius: 2px;
}

.bottom-sheet-title {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--sb-white, #FFFFFF);
    margin-bottom: 16px;
    text-align: center;
}

.bottom-sheet-section {
    margin-bottom: 16px;
}

.bottom-sheet-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sb-gray, #888888);
    margin-bottom: 8px;
}

.cert-cards {
    display: flex;
    gap: 10px;
}

.cert-card {
    flex: 1;
    background: #0A0A0A;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.cert-icon {
    width: 44px;
    height: 44px;
    background: var(--sb-orange, #E94E1B);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 8px;
    color: #FFFFFF;
}

.cert-icon-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
    margin: 0 auto 8px;
    display: block;
}

.cert-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--sb-white, #FFFFFF);
}

.cert-link {
    font-size: 10px;
    color: var(--sb-orange, #E94E1B);
    margin-top: 4px;
}

.bottom-sheet-hours {
    padding: 0;
    margin: 0;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    color: var(--sb-gray, #888888);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-row.today {
    color: var(--sb-orange, #E94E1B);
    font-weight: 700;
}

.bottom-sheet-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #0A0A0A;
    border-radius: 8px;
    color: var(--sb-white, #FFFFFF);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.bottom-sheet-link:last-child {
    margin-bottom: 0;
}

.bottom-sheet-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.bottom-sheet-text {
    font-size: 13px;
    color: var(--sb-gray, #888888);
    line-height: 1.5;
    margin: 0;
}

/* ==================== MOBILE BOTTOM NAV ==================== */

.bottom-nav {
    display: none;                /* hidden by default, shown on mobile */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(70px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--sb-dark, #0A0A0A);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    align-items: stretch;
    z-index: 100;
}

.bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: var(--sb-gray, #888888);
    font-size: 10px;
    font-weight: 600;
    transition: color 0.2s;
}

.bottom-nav .nav-item.active {
    color: var(--sb-orange, #E94E1B);
}

.bottom-nav .nav-item:active {
    color: var(--sb-orange, #E94E1B);
}

.bottom-nav .nav-item svg {
    width: 24px;
    height: 24px;
}

.bottom-nav .nav-item.active svg {
    stroke: var(--sb-orange, #E94E1B);
}

/* ==================== PRODUCT DETAIL MODAL ==================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1200;
    padding: 40px;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.item-modal {
    background: #1A1A1A;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.modal-overlay.show .item-modal {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    position: relative;
}

.modal-img {
    width: 100%;
    height: 220px;
    background: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.modal-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
    font-size: 28px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 8px;
}

.modal-desc {
    font-size: 14px;
    color: #888888;
    line-height: 1.5;
    margin: 0 0 12px;
}

.modal-price {
    font-size: 18px;
    font-weight: 700;
    color: #E94E1B;
    margin-bottom: 16px;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #0A0A0A;
    display: flex;
    align-items: center;
    gap: 16px;
}

.modal-qty {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0A0A0A;
    border-radius: 8px;
    padding: 8px 12px;
}

.modal-qty button {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 0;
    transition: background 0.15s;
}

.modal-qty button:hover {
    background: #E94E1B;
}

.modal-qty span {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    width: 24px;
    text-align: center;
}

.modal-add-btn {
    flex: 1;
    padding: 14px 24px;
    background: #E94E1B;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-add-btn:hover {
    background: #C7411A;
}

.modal-add-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Modal Option Sections */
.modal-section {
    margin-bottom: 20px;
}

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

.modal-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
}

.modal-tag {
    font-size: 9px;
    padding: 3px 6px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
}

.modal-tag.required {
    background: #E94E1B;
    color: #FFFFFF;
}

.modal-tag.optional {
    background: #E94E1B;
    color: #FFFFFF;
}

.modal-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #1A1A1A;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s;
}

.modal-option:hover {
    background: #0A0A0A;
}

.modal-option.selected {
    border-color: #E94E1B;
    background: rgba(233, 78, 27, 0.1);
}

.modal-option-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #888888;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-radio-dot {
    width: 8px;
    height: 8px;
    background: #E94E1B;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.15s;
}

.modal-option.selected .modal-radio {
    border-color: #E94E1B;
}

.modal-option.selected .modal-radio-dot {
    opacity: 1;
}

.modal-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #888888;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-checkbox svg {
    width: 12px;
    height: 12px;
    opacity: 0;
    stroke: #E94E1B;
}

.modal-option.selected .modal-checkbox {
    border-color: #E94E1B;
    background: #E94E1B;
}

.modal-option.selected .modal-checkbox svg {
    opacity: 1;
    stroke: #FFFFFF;
}

.modal-option-name {
    font-size: 14px;
    color: #FFFFFF;
}

.modal-option-price {
    font-size: 13px;
    color: #888888;
}

.modal-option.out-of-stock {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.modal-option-unavailable {
    font-size: 12px;
    color: #EF4444;
    font-style: italic;
}

.modal-section-error .modal-section-title {
    color: #EF4444;
}

.modal-section-error .modal-tag.required {
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* Upsell Section */
.oo-upsell-section {
    padding: 16px;
    border-top: 1px solid #0A0A0A;
}

.oo-upsell-header {
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.oo-upsell-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #0A0A0A;
    border-radius: 8px;
    margin-bottom: 6px;
    transition: background 0.15s;
}

.oo-upsell-item:hover {
    background: #111111;
}

.oo-upsell-item img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.oo-upsell-info {
    flex: 1;
    min-width: 0;
}

.oo-upsell-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
}

.oo-upsell-price {
    font-size: 11px;
    color: #888888;
}

.oo-upsell-add {
    width: 28px;
    height: 28px;
    border: none;
    background: #E94E1B;
    color: #FFFFFF;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

.oo-upsell-add:hover {
    background: #C7411A;
}

@media (max-width: 767px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
        width: 100vw;
        left: 0;
        right: auto;
        overflow-x: hidden;
    }

    .item-modal {
        width: 100vw;
        max-width: 100vw;
        max-height: 95vh;
        max-height: 95dvh;
        border-radius: 16px 16px 0 0;
        box-sizing: border-box;
    }

    .modal-img {
        height: 180px;
    }

    .modal-body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1;
        min-height: 0;
    }

    .modal-footer {
        position: sticky;
        bottom: 0;
        flex-shrink: 0;
    }
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .oo-menu-wrap {
        display: block;           /* override desktop grid on mobile */
        padding: 16px;
    }

    .oo-menu-grid {
        grid-template-columns: 1fr;
    }

    .oo-category-nav,
    .oo-category-nav.oo-sticky {
        top: 60px !important;
        padding: 12px 0 16px !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch !important;
        margin-bottom: 0 !important;
        gap: 8px;
    }

    .oo-category-nav a {
        padding: 10px 18px;
        font-size: 11px;
        border-width: 2px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .oo-menu-item {
        padding: 12px;
        gap: 12px;
    }

    .oo-menu-item-image-wrap {
        width: 80px;
        height: 80px;
    }

    .oo-menu-category h2 {
        font-size: 22px;
    }

    .oo-cart-toggle {
        bottom: 86px;             /* above bottom nav */
        right: 16px;
        width: 56px;
        height: 56px;
    }

    .oo-cart-sidebar {
        max-width: 100%;
    }

    /* Show mobile-only elements */
    .order-type-section {
        display: block;
    }

    .store-info-section {
        display: block;
    }

    .bottom-nav {
        display: flex;
    }

    /* Hide desktop-only elements on mobile */
    .sb-header-nav {
        display: none;
    }
}

@media (max-width: 375px) {
    .oo-category-nav a {
        padding: 8px 14px;
        font-size: 10px;
    }

    .oo-menu-item-image-wrap {
        width: 70px;
        height: 70px;
    }
}
