/* ========================================
   Template : Bistrot Vintage
   Parchemin, encre sépia, typographie rétro
   ======================================== */

.menu-template.bistrot-vintage {
    --t-primary: var(--custom-primary, #5c3d2e);
    --t-secondary: var(--custom-secondary, #a0522d);
    --t-bg: var(--custom-bg, #f5eed6);
    --t-text: var(--custom-text, #4a3728);
    --t-heading-font: var(--custom-heading-font, 'Libre Baskerville', serif);
    --t-body-font: var(--custom-body-font, 'Crimson Text', serif);

    background: var(--t-bg);
    text-align: center;
    padding: 50px 45px;
    position: relative;
    box-shadow:
        0 0 40px rgba(160, 82, 45, 0.08),
        inset 0 0 100px rgba(160, 82, 45, 0.03);
}

/* Aged parchment texture with warm yellowed paper */
.bistrot-vintage .menu-texture-overlay {
    background:
        radial-gradient(ellipse at 20% 10%, rgba(160, 82, 45, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 90%, rgba(92, 61, 46, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 40%, rgba(160, 82, 45, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 70%, rgba(92, 61, 46, 0.04) 0%, transparent 35%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(160, 82, 45, 0.01) 2px,
            rgba(160, 82, 45, 0.01) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 3px,
            rgba(92, 61, 46, 0.008) 3px,
            rgba(92, 61, 46, 0.008) 6px
        );
}

/* Distressed vintage double border */
.bistrot-vintage::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 2px solid var(--t-secondary);
    opacity: 0.18;
    pointer-events: none;
    border-radius: 1px;
}

.bistrot-vintage::after {
    content: '';
    position: absolute;
    inset: 17px;
    border: 1px dashed var(--t-secondary);
    opacity: 0.12;
    pointer-events: none;
}

/* Header */
.bistrot-vintage .menu-header {
    margin-bottom: 35px;
    padding-bottom: 28px;
    position: relative;
}

/* SVG ornament handles decoration now — no unicode */
.bistrot-vintage .menu-header::after {
    content: '';
    display: block;
    margin: 22px auto 0;
    width: 80px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--t-secondary) 20%,
        var(--t-secondary) 80%,
        transparent 100%
    );
    opacity: 0.3;
}

.bistrot-vintage .menu-header-deco {
    font-size: 16px;
    color: var(--t-secondary);
    margin-bottom: 16px;
    opacity: 0.4;
    letter-spacing: 8px;
}

.bistrot-vintage .menu-restaurant-logo {
    margin: 0 auto 18px;
}

.bistrot-vintage .menu-restaurant-name {
    font-family: var(--t-heading-font);
    font-size: 2.5em;
    font-weight: 700;
    color: var(--t-primary);
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(92, 61, 46, 0.06);
}

.bistrot-vintage .menu-restaurant-subtitle {
    font-family: var(--t-body-font);
    font-size: 1.02em;
    font-style: italic;
    color: var(--t-secondary);
    letter-spacing: 0.06em;
}

/* Categories */
.bistrot-vintage .menu-category {
    margin-bottom: 34px;
}

.bistrot-vintage .menu-category-name {
    font-family: var(--t-heading-font);
    font-size: 1.35em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--t-primary);
    margin-bottom: 4px;
    padding-bottom: 6px;
    display: inline-block;
    border-bottom: 2px solid rgba(160, 82, 45, 0.2);
}

.bistrot-vintage .menu-category-desc {
    font-family: var(--t-body-font);
    font-size: 0.92em;
    font-style: italic;
    color: var(--t-text);
    opacity: 0.6;
    margin-bottom: 16px;
    margin-top: 6px;
}

.bistrot-vintage .menu-category-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.bistrot-vintage .menu-category-separator::before,
.bistrot-vintage .menu-category-separator::after {
    content: '';
    width: 55px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--t-secondary) 25%,
        var(--t-secondary) 75%,
        transparent 100%
    );
    opacity: 0.3;
}

/* Items with generous spacing */
.bistrot-vintage .menu-item {
    margin-bottom: 16px;
    padding: 2px 20px;
}

.bistrot-vintage .menu-item-header {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
}

.bistrot-vintage .menu-item-name {
    font-family: var(--t-body-font);
    font-size: 1.02em;
    font-weight: 600;
    color: var(--t-text);
}

.bistrot-vintage .menu-item-dots {
    flex: 1;
    border-bottom: 1px dotted var(--t-secondary);
    opacity: 0.3;
    min-width: 20px;
    margin-bottom: 4px;
}

.bistrot-vintage .menu-item-price {
    font-family: var(--t-body-font);
    font-size: 1.02em;
    font-weight: 600;
    color: var(--t-secondary);
}

.bistrot-vintage .menu-item-description {
    font-family: var(--t-body-font);
    font-size: 0.84em;
    font-style: italic;
    margin-top: 3px;
    color: var(--t-text);
    opacity: 0.5;
}

/* Footer */
.bistrot-vintage .menu-footer {
    margin-top: 40px;
    padding-top: 24px;
}

/* SVG ornament handles decoration now — no unicode */
.bistrot-vintage .menu-footer::before {
    content: '';
    display: block;
    margin: 0 auto 18px;
    width: 80px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--t-secondary) 20%,
        var(--t-secondary) 80%,
        transparent 100%
    );
    opacity: 0.3;
}

.bistrot-vintage .menu-restaurant-info {
    font-family: var(--t-body-font);
    font-size: 0.84em;
    font-style: italic;
    opacity: 0.55;
}

.bistrot-vintage .menu-restaurant-info p {
    margin: 3px 0;
}
