/* ==========================================================================
   Le Spice New Eltham - Custom Theme Styling (WordPress Match)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --lespice-red: #D8232A;
    --lespice-red-hover: #b71b21;
    --lespice-red-light: rgba(216, 35, 42, 0.08);
    --lespice-dark: #1f1f1f;
    --lespice-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* 1. Full-Width Hero Banner */
.lespice-hero-banner {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    height: 320px;
    background-image: url('/upload/1/imgi_12_Cover-Image-of-Le-Spice-New-Eltham.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.lespice-hero-banner .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lespice-hero-banner .hero-title {
    color: #ffffff !important;
    font-family: var(--lespice-serif);
    font-size: 54px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
    text-align: center;
}

/* 2. Full-Width Red Alert Ribbon (Store Closed) */
.section-store-status,
.store-closed-alert,
.alert-store-closed,
#vue-schedule-order .container-fluid {
    background-color: var(--lespice-red) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    padding: 13px 24px !important;
    border-radius: 4px !important;
    margin-bottom: 22px !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(216, 35, 42, 0.25) !important;
}

.store-closed-alert p,
.store-closed-alert a,
.store-closed-alert span,
#vue-schedule-order .container-fluid p,
#vue-schedule-order .container-fluid a {
    color: #ffffff !important;
    margin: 0 !important;
    font-size: 14px !important;
}

#vue-schedule-order .container-fluid h4 {
    display: none !important;
}

/* 3. Category Headings */
.category-title,
.section-menu h5,
.menu-category-title {
    color: var(--lespice-red) !important;
    font-family: var(--lespice-serif) !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    margin-top: 28px !important;
    margin-bottom: 16px !important;
    letter-spacing: 0.3px;
    border-bottom: 2px solid rgba(216, 35, 42, 0.12);
    padding-bottom: 8px;
}

/* Category sidebar title */
.category-sidebar-title,
.menu-left h5 {
    font-family: var(--lespice-serif) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #222 !important;
    margin-bottom: 16px !important;
    padding-bottom: 6px;
    border-bottom: 2px solid #eee;
}

/* 4. Hide All Dish Image Placeholders */
.menu-item-card .item-image,
.menu-item-card .image-holder,
.menu-item-card img,
.items-list .item-image,
.menu-item-row .item-image-wrapper,
.item-image-preview,
.list-item-rows .col-3 {
    display: none !important;
}

.list-item-rows .col-9 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* 5. Clean 2-Column Menu Items Grid */
.menu-items-grid,
.items-holder,
.items-container,
.items-wrapper,
.section-menu .items-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    margin-bottom: 25px !important;
}

@media (max-width: 768px) {

    .menu-items-grid,
    .items-holder,
    .items-container,
    .items-wrapper,
    .section-menu .items-wrapper {
        grid-template-columns: 1fr !important;
    }

    .lespice-hero-banner {
        height: 200px;
    }

    .lespice-hero-banner .hero-title {
        font-size: 34px;
    }
}

/* 6. Dish Item Card & Content Styling */
.menu-item-card,
.item-card,
.menu-item-row {
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 6px !important;
    padding: 14px 18px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.menu-item-card:hover {
    border-color: #e0e0e0 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-1px);
}

.menu-item-card .item-details {
    flex: 1 !important;
    padding-right: 12px !important;
}

.menu-item-card .item-title,
.menu-item-card h6 {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2b2b2b !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.35;
}

.menu-item-card .item-price,
.menu-item-card .price,
.menu-item-card .price-val {
    font-size: 14px !important;
    color: #555555 !important;
    font-weight: 500 !important;
}

/* 7. Red "Add +" Action Button */
.menu-item-card .btn-add,
.menu-item-card .btn-addon,
.menu-item-card .btn-primary,
.menu-item-card button.btn,
.btn-add,
.quantity-add-cart {
    background-color: var(--lespice-red) !important;
    border-color: var(--lespice-red) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 7px 18px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
    cursor: pointer !important;
}

.menu-item-card .btn-add:hover,
.btn-add:hover,
.quantity-add-cart:hover {
    background-color: var(--lespice-red-hover) !important;
    border-color: var(--lespice-red-hover) !important;
    color: #ffffff !important;
}

/* Quantity Stepper (when item is added) */
.quantity-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--lespice-red);
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
}

.quantity-stepper .btn-stepper {
    background-color: var(--lespice-red);
    color: #ffffff !important;
    width: 28px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.quantity-stepper .btn-stepper:hover {
    background-color: var(--lespice-red-hover);
}

.quantity-stepper .stepper-qty {
    min-width: 28px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #222;
    padding: 0 4px;
}

/* 8. Category Sidebar Navigation Badges */
.category-nav,
.menu-category {
    padding-left: 0 !important;
}

.category-nav .nav-link,
.menu-category li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #333333 !important;
    font-size: 13.5px !important;
    padding: 9px 12px !important;
    border-radius: 4px;
    margin-bottom: 2px;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.category-nav .nav-link:hover,
.menu-category li a:hover {
    color: var(--lespice-red) !important;
    background-color: var(--lespice-red-light) !important;
}

.category-nav .nav-link.active,
.menu-category li a.active {
    color: var(--lespice-red) !important;
    font-weight: 600 !important;
    background-color: var(--lespice-red-light) !important;
    border-left: 3px solid var(--lespice-red) !important;
}

.category-nav .badge-count,
.menu-category .badge-count {
    background-color: #e9ecef !important;
    color: #6c757d !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 2px 8px !important;
    margin-left: 6px;
}

.category-nav .nav-link.active .badge-count,
.menu-category li a.active .badge-count {
    background-color: var(--lespice-red) !important;
    color: #ffffff !important;
}

/* 9. Promo Deal Cards */
.promo-banner-card {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.promo-banner-card:hover {
    border-color: #d1d5db !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06) !important;
}

/* 10. Floating Cart and Global Red Highlights */
.floating-cart button.btn-black,
.section-cart .btn-black,
.btn-submit-order {
    background-color: var(--lespice-red) !important;
    border-color: var(--lespice-red) !important;
}

.floating-cart button.btn-black:hover,
.section-cart .btn-black:hover {
    background-color: var(--lespice-red-hover) !important;
    border-color: var(--lespice-red-hover) !important;
}

.text-danger {
    color: var(--lespice-red) !important;
}

.fav-wrap {
    display: none !important;
}

/* ==========================================================================
   11. Brand Safety Overrides (Remove Multi Restaurant Branding)
   ========================================================================== */
.navbar-brand .logo-text,
.navbar-brand span:not(.merchant-name),
.top-logo .logo-text,
.top-logo span:not(.merchant-name) {
    display: none !important;
}

.navbar-brand,
.top-logo {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.navbar-brand img,
.top-nav .logo img,
.top-logo img,
.footer-logo img {
    max-height: 46px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
}