/* ============================================================
   Gondűző Pizzéria – Digitális Étlap
   ============================================================ */

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

:root {
    --gpe-red:       #c8433a;
    --gpe-red-dark:  #9e2d25;
    --gpe-gold:      #d4a843;
    --gpe-gold-light:#f5e6c0;
    --gpe-bg:        #faf8f4;
    --gpe-bg-card:   #ffffff;
    --gpe-text:      #2a2118;
    --gpe-text-muted:#7a6a58;
    --gpe-border:    #e8dece;
    --gpe-nav-bg:    #1a1208;
    --gpe-nav-text:  #f5e6c0;
    --gpe-row-even:  #fffdf7;
    --gpe-row-odd:   #f9f4ea;
    --gpe-row-hover: #f5e6c0;
    --gpe-font-head: 'Playfair Display', Georgia, serif;
    --gpe-font-body: 'Lato', system-ui, sans-serif;
}

/* === ALAP – kitör a Divi konténerből, teljes szélességű === */
.gpe-wrap {
    font-family: var(--gpe-font-body);
    background: var(--gpe-bg);
    color: var(--gpe-text);
    /* Kitörés a szülő konténerből */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    padding: 0;
    overflow-x: hidden;
}

/* === NYELV VÁLTÓ === */
.gpe-lang-switcher {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    padding: 10px 16px;
    background: var(--gpe-nav-bg);
    position: sticky;
    top: 0;
    z-index: 101;
}

.gpe-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(245,230,192,0.25);
    background: transparent;
    color: var(--gpe-nav-text);
    font-family: var(--gpe-font-body);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}
.gpe-lang-btn:hover {
    background: rgba(245,230,192,0.12);
    border-color: rgba(245,230,192,0.5);
    color: #fff;
}
.gpe-lang-btn.gpe-lang-active {
    background: var(--gpe-red);
    border-color: var(--gpe-red);
    color: #fff;
}
.gpe-lang-btn span { font-size: 11px; }

/* === NAVIGÁCIÓ === */
.gpe-nav {
    position: sticky;
    top: 37px;
    z-index: 100;
    background: var(--gpe-nav-bg);
    border-bottom: 2px solid var(--gpe-red);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.gpe-nav::-webkit-scrollbar { display: none; }

.gpe-nav-inner {
    display: flex;
    padding: 0 8px;
    min-width: max-content;
}

.gpe-nav-group {
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.gpe-nav-title {
    background: none;
    border: none;
    color: var(--gpe-gold);
    font-family: var(--gpe-font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 10px 14px 6px;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    transition: color 0.2s;
    text-align: left;
}
.gpe-nav-title:hover { color: #fff; }

.gpe-nav-cats {
    display: flex;
    flex-wrap: wrap;
}

.gpe-nav-cat {
    background: none;
    border: none;
    color: rgba(245,230,192,0.65);
    font-family: var(--gpe-font-body);
    font-size: 11px;
    padding: 4px 10px 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: left;
}
.gpe-nav-cat:hover { color: var(--gpe-gold); }

/* === TARTALOM === */
.gpe-content { padding: 0 0 40px; }

/* === SZEKCIÓ === */
.gpe-section {
    margin-bottom: 0;
    scroll-margin-top: 95px;
}

.gpe-section-title {
    font-family: var(--gpe-font-head);
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 700;
    color: #fff;
    background: var(--gpe-red);
    margin: 0;
    padding: 18px 20px 16px;
    letter-spacing: 0.5px;
}
.gpe-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gpe-gold);
    margin-top: 8px;
}

/* === KATEGÓRIA === */
.gpe-category {
    scroll-margin-top: 95px;
    background: var(--gpe-bg-card);
    margin-bottom: 2px;
}
.gpe-category-title {
    font-family: var(--gpe-font-head);
    font-size: clamp(14px, 3.5vw, 18px);
    font-weight: 600;
    color: var(--gpe-red-dark);
    background: var(--gpe-gold-light);
    margin: 0;
    padding: 10px 20px 9px;
    border-left: 4px solid var(--gpe-gold);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* === TÉTELEK – váltakozó sorok + hover === */
.gpe-items { padding: 0; }

.gpe-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 11px 20px 10px;
    border-bottom: 1px solid var(--gpe-border);
    gap: 12px;
    transition: background 0.15s;
}
.gpe-item:last-child { border-bottom: none; }
.gpe-item:nth-child(even) { background: var(--gpe-row-even); }
.gpe-item:nth-child(odd)  { background: var(--gpe-row-odd); }
.gpe-item:hover           { background: var(--gpe-row-hover) !important; }

.gpe-item-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.gpe-item-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1px solid var(--gpe-border);
}
.gpe-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.gpe-item-name {
    font-weight: 700;
    font-size: clamp(13px, 3vw, 15px);
    color: var(--gpe-text);
    line-height: 1.3;
}
.gpe-item-desc {
    font-size: 12px;
    color: var(--gpe-text-muted);
    line-height: 1.4;
    font-style: italic;
}
.gpe-item-allergens { font-size: 11px; color: #a08060; }
.gpe-allergen-label { font-weight: 700; }

.gpe-item-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
}
.gpe-price { display: flex; flex-direction: column; align-items: flex-end; }
.gpe-price-label {
    font-size: 10px;
    color: var(--gpe-text-muted);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1;
}
.gpe-price-value {
    font-weight: 700;
    font-size: clamp(13px, 3vw, 15px);
    color: var(--gpe-red);
    white-space: nowrap;
}

/* === PIZZALAP === */
.gpe-pizza-group {
    scroll-margin-top: 95px;
    margin-bottom: 2px;
}
.gpe-pizza-base-title {
    font-family: var(--gpe-font-head);
    font-size: clamp(13px, 3.5vw, 17px);
    font-weight: 600;
    color: var(--gpe-red-dark);
    background: var(--gpe-gold-light);
    margin: 0;
    padding: 10px 16px 9px;
    border-left: 4px solid var(--gpe-gold);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.gpe-pizza-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.gpe-pizza-table {
    width: 100%;
    min-width: 320px;
    border-collapse: collapse;
    font-size: clamp(12px, 2.8vw, 14px);
}

/* Pizza fejléc – arany háttér, jól látható */
.gpe-pizza-table thead tr { background: var(--gpe-gold-light); }
.gpe-pizza-th-name {
    text-align: left;
    padding: 9px 16px;
    font-family: var(--gpe-font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gpe-red-dark);
    background: var(--gpe-gold-light);
}
.gpe-pizza-th-price {
    text-align: right;
    padding: 9px 14px;
    font-family: var(--gpe-font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    width: 70px;
    color: var(--gpe-red-dark);
    background: var(--gpe-gold-light);
    border-left: 1px solid var(--gpe-border);
}

.gpe-pizza-row-even { background: var(--gpe-row-even); }
.gpe-pizza-row-odd  { background: var(--gpe-row-odd); }
.gpe-pizza-row      { transition: background 0.15s; }
.gpe-pizza-row:hover { background: var(--gpe-row-hover) !important; }

.gpe-pizza-td-name { padding: 9px 16px; vertical-align: top; }
.gpe-pizza-name {
    display: block;
    font-weight: 700;
    color: var(--gpe-text);
    line-height: 1.3;
}
.gpe-pizza-desc {
    display: block;
    font-size: 11px;
    color: var(--gpe-text-muted);
    font-style: italic;
    margin-top: 2px;
    line-height: 1.4;
}
.gpe-pizza-allergens {
    display: block;
    font-size: 10px;
    color: #a08060;
    margin-top: 2px;
}
.gpe-pizza-td-price {
    text-align: right;
    padding: 9px 14px;
    font-weight: 700;
    color: var(--gpe-red);
    white-space: nowrap;
    vertical-align: top;
    font-size: clamp(12px, 2.8vw, 14px);
    border-left: 1px solid var(--gpe-border);
}

/* === SERVICE NOTE === */
.gpe-service-note {
    text-align: center;
    padding: 20px 10px;
    font-size: 13px;
    color: var(--gpe-text-muted);
    font-style: italic;
    border-top: 1px solid var(--gpe-border);
    margin-top: 8px;
}
.gpe-empty {
    padding: 40px;
    text-align: center;
    color: var(--gpe-text-muted);
    font-style: italic;
}

/* ============================================================
   RESZPONZÍV – MOBIL
   ============================================================ */
@media ( max-width: 768px ) {
    /* Mobilon a nav csoportok egymás alá mennek, és wrap-elnek */
    .gpe-nav-inner {
        flex-direction: column;
        min-width: 0;
        width: 100%;
    }
    .gpe-nav-group {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        width: 100%;
    }
    .gpe-nav-title {
        padding: 8px 14px;
        font-size: 12px;
        width: 100%;
    }
    .gpe-nav-cats {
        flex-wrap: wrap;
        padding: 0 0 6px 0;
    }
    .gpe-nav-cat {
        font-size: 11px;
        padding: 4px 10px;
        border-top: none;
        border-right: 1px solid rgba(255,255,255,0.06);
    }
}

@media ( max-width: 600px ) {
    .gpe-lang-btn span { display: none; }
    .gpe-lang-btn { padding: 5px 8px; font-size: 16px; }

    .gpe-section-title  { padding: 14px 16px 12px; }
    .gpe-category-title, .gpe-pizza-base-title { padding: 8px 16px 7px; }
    .gpe-item { padding: 10px 12px; gap: 8px; }
    .gpe-item-img { width: 44px; height: 44px; }

    .gpe-pizza-th-price { width: 54px; padding: 7px 8px; font-size: 10px; }
    .gpe-pizza-td-price { padding: 8px 8px; font-size: 12px; }
    .gpe-pizza-td-name  { padding: 8px 10px; }
    .gpe-pizza-name     { font-size: 13px; }
}

@media ( max-width: 380px ) {
    .gpe-pizza-th-price { width: 46px; padding: 6px 5px; font-size: 10px; }
    .gpe-pizza-td-price { padding: 7px 5px; font-size: 11px; }
    .gpe-pizza-desc     { display: none; }
}
