/* ===== DESIGN BISTROT - PAGE CARTE ===== */
/* Adapté de carte_exemple/style.css */

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

/* Scoping variables to avoid global conflicts */
.carte-bistrot-wrapper {
    --carte-bg: #f4f1ea;
    /* Beige papier */
    --carte-text: #2c2c2c;
    /* Gris anthracite */
    --carte-accent: #a04000;
    /* Terracotta */

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--carte-text);
    background-color: var(--carte-bg);
}

/* Reset specific for the wrapper to standard box model */
.carte-bistrot-wrapper * {
    box-sizing: border-box;
}

/* Main Container */
.menu-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm) var(--spacing-lg);
    background-color: var(--carte-bg);
}

/* Header Menu */
.menu-header {
    text-align: center;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.carte-main-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--carte-accent);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.carte-sub-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    color: var(--carte-text);
    opacity: 0.9;
}

.separator-ornament {
    font-size: 1.5rem;
    color: var(--carte-accent);
    margin: var(--spacing-sm) 0;
    text-align: center;
}

.intro-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
    color: #555;
    font-style: italic;
    text-align: center;
}



/* Main Content Wrapper */
.menu-content-wrapper {
    padding-top: var(--spacing-lg);
}

/* Sections */
.menu-section {
    margin-bottom: var(--spacing-lg);
    scroll-margin-top: 100px;
    /* Offset for sticky nav */
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--carte-accent);
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Lignes décoratives autour des titres */
.section-title::before,
.section-title::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 1px;
    background-color: var(--carte-accent);
    vertical-align: middle;
    margin: 0 15px;
    opacity: 0.6;
}

/* Reset default h3 styling overlap if needed */
h3.section-title {
    margin-top: 0;
}

.section-subtitle {
    text-align: center;
    font-style: italic;
    margin-top: -1.5rem;
    margin-bottom: var(--spacing-md);
    color: #666;
}

.subsection-title {
    font-family: var(--font-heading);
    color: var(--carte-text);
    font-size: 1.3rem;
    margin: var(--spacing-md) 0 var(--spacing-sm);
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}

.subsection-info {
    font-size: 0.9rem;
    font-weight: normal;
    color: #666;
}

/* Menu Items */
.menu-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 12px;
}

.item-info {
    display: flex;
    flex-direction: column;
}

.item-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--carte-text);
}

.item-desc {
    font-size: 0.85rem;
    font-style: italic;
    color: #666;
}

.item-dots {
    flex-grow: 1;
    border-bottom: 1px dotted #999;
    margin: 0 10px;
    position: relative;
    top: -5px;
}

.item-price {
    font-weight: 700;
    color: var(--carte-accent);
    white-space: nowrap;
}

/* Special Items Highlight */
.special-item .item-name {
    color: var(--carte-accent);
}

.compact-list {
    text-align: center;
    border: 1px solid var(--carte-accent);
    padding: var(--spacing-sm);
    border-radius: 4px;
}

.compact-list p {
    margin: 5px 0;
}

/* Override global site styles if necessary */
.carte-bistrot-wrapper h1,
.carte-bistrot-wrapper h2,
.carte-bistrot-wrapper h3,
.carte-bistrot-wrapper h4 {
    color: inherit;
}

.carte-bistrot-wrapper a:hover {
    color: var(--carte-accent);
    text-decoration: none;
}

/* Layout Wrapper specific */
@media (min-width: 768px) {
    .menu-content-wrapper {
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Styles pour les items de type "Texte" */
.menu-item-text {
    text-align: center;
    margin: 0rem 0 1.5rem 0;
    width: 100%;
}

.menu-text-title {
    font-family: 'Lato', sans-serif !important;
    font-size: 1.15rem;
    color: #a04000 !important;
    margin: 0 0 0.5rem 0 !important;
    font-weight: 700;
    font-style: italic;
}

.menu-text-content {
    font-family: 'Lato', sans-serif;
    color: #666;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
}