/* =============================================================================
   inLouth Menu Manager - Front-end styles
   Adjust to match your theme as needed.
============================================================================= */

/* Wrapper */
.inlouth-menu-wrap {
    font-size: 1rem;
    line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   Menu Archive
----------------------------------------------------------------------------- */

.menu-business-link .value ul {
	padding-inline-start: 0;
}
.menu-business-link .value li {
	list-style-type: none;
}

/* -----------------------------------------------------------------------------
   Business panel
----------------------------------------------------------------------------- */
.inlouth-menu-business-panel {
    padding: 1.5rem;
    margin-bottom: 2rem;
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.inlouth-menu-business-name {
    margin: 0 0 1rem;
    font-size: 1.4rem;
}

.inlouth-menu-business-name a {
    text-decoration: none;
}

.inlouth-menu-business-name a:hover {
    text-decoration: underline;
}

.inlouth-menu-business-details {
    margin-bottom: 1rem;
}

.inlouth-menu-business-details p {
    margin: 0 0 0.4rem;
}

.inlouth-menu-address {
    font-style: normal;
    margin-bottom: 0.75rem !important;
}

.inlouth-menu-phone a,
.inlouth-menu-mobile a,
.inlouth-menu-email a {
    color: inherit;
    text-decoration: none;
}

.inlouth-menu-phone a:hover,
.inlouth-menu-mobile a:hover,
.inlouth-menu-email a:hover {
    text-decoration: underline;
}

/* -----------------------------------------------------------------------------
   Opening hours
----------------------------------------------------------------------------- */
.inlouth-menu-hours {
    margin: 1rem 0;
}

.inlouth-menu-hours-heading {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.inlouth-menu-hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.inlouth-menu-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0;
    border-bottom: 1px solid #e5e5e5;
    max-width: 280px;
}

.inlouth-menu-hours-day {
    font-weight: 500;
}

.inlouth-menu-hours-time {
    color: #555;
}

/* -----------------------------------------------------------------------------
   Booking button
----------------------------------------------------------------------------- */
.inlouth-menu-booking {
    margin: 1.25rem 0 0;
}

.inlouth-menu-booking-btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.inlouth-menu-booking-btn:hover {
    background-color: #444;
    color: #fff;
}

/* -----------------------------------------------------------------------------
   Menu intro
----------------------------------------------------------------------------- */
.inlouth-menu-intro {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #444;
}

/* -----------------------------------------------------------------------------
   Menu sections
----------------------------------------------------------------------------- */
.inlouth-menu-sections {
    margin-bottom: 2rem;
}

.inlouth-menu-section {
    margin-bottom: 2.5rem;
}

.inlouth-menu-section-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #222;
}

/* -----------------------------------------------------------------------------
   Menu items
----------------------------------------------------------------------------- */
.inlouth-menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.inlouth-menu-item {
    padding: 0.85rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.inlouth-menu-item:last-child {
    border-bottom: none;
}

.inlouth-menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.3rem;
}

.inlouth-menu-item-name {
    font-weight: 600;
    font-size: 1rem;
}

.inlouth-menu-item-price {
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.95rem;
}

.inlouth-menu-item-price-small {
    font-weight: 400;
    font-size: 0.85rem;
    color: #666;
}

.inlouth-menu-item-allergens {
    margin: 0.3rem 0 0;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}


/* -----------------------------------------------------------------------------
   Dietary flags
----------------------------------------------------------------------------- */
.inlouth-menu-item-dietary {
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.inlouth-menu-dietary-flag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background-color: #f0f0f0;
    color: #333;
}

/* Individual flag colours - adjust to taste */
.inlouth-menu-dietary-vegan {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.inlouth-menu-dietary-vegetarian {
    background-color: #f1f8e9;
    color: #558b2f;
}

.inlouth-menu-dietary-gluten_free {
    background-color: #fff8e1;
    color: #f57f17;
}

.inlouth-menu-dietary-dairy_free {
    background-color: #e3f2fd;
    color: #1565c0;
}

.inlouth-menu-dietary-nut_free {
    background-color: #fce4ec;
    color: #ad1457;
}

/* -----------------------------------------------------------------------------
   Last verified
----------------------------------------------------------------------------- */
.inlouth-menu-verified {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #e5e5e5;
    padding-top: 1rem;
}

/* -----------------------------------------------------------------------------
   Responsive
----------------------------------------------------------------------------- */
@media ( max-width: 600px ) {

    .inlouth-menu-business-panel {
        padding: 1rem;
    }

    .inlouth-menu-item-header {
        flex-direction: column;
        gap: 0.2rem;
    }

    .inlouth-menu-item-price {
        font-size: 0.9rem;
    }

    .inlouth-menu-section-heading {
        font-size: 1.15rem;
    }

}