/*
Theme Name: NLSZ 2027
Theme URI: https://nemzetilovasszinhaz.hu
Author: Nemzeti Lovas Szinhaz
Description: A Nemzeti Lovas Szinhaz jegyertekesito oldala. Onallo tema, a nlsz-ticketing pluginhoz keszult.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: nlsz2027
*/

/* =========================================================
   ALAP
========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    color: #25201b;
    background: #f1e9dd;
    font: 400 15px/1.65 'Montserrat', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: #8a661c; }

h1, h2, h3, h4 {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    color: #1f1813;
    text-wrap: balance;
}

.nls-skip {
    position: absolute;
    left: -9999px;
}

.nls-skip:focus {
    left: 12px;
    top: 12px;
    z-index: 999;
    padding: 10px 14px;
    background: #c99a45;
    color: #211606;
}

:where(button, a, input, select, textarea):focus-visible {
    outline: 3px solid #c99a45;
    outline-offset: 2px;
}

/* =========================================================
   FOMENU
========================================================= */

.nls-nav {
    position: relative;
    z-index: 15;
    background: #0e0b09;
    border-bottom: 1px solid rgba(201,154,69,.22);
}

.nls-nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(1480px, calc(100% - 60px));
    min-height: 74px;
    margin: 0 auto;
}

.nls-nav-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.nls-nav-logo img {
    display: block;
    width: auto;
    height: 112px;
    margin-bottom: -38px;
}

.nls-nav-logo span {
    color: #fff;
    font: 700 19px/1.1 'Cinzel', Georgia, serif;
    letter-spacing: .5px;
}

.nls-nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 0 auto 0 0;
    padding: 0;
    list-style: none;
}

.nls-nav-menu li { margin: 0; }

.nls-nav-menu a {
    display: inline-flex;
    align-items: center;
    padding: 10px 13px;
    color: rgba(255,255,255,.86);
    font: 700 11.5px/1 'Cinzel', Georgia, serif;
    letter-spacing: .6px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s ease;
}

.nls-nav-menu a:hover,
.nls-nav-menu .current-menu-item > a {
    color: #f0d18a;
}

.nls-nav-cart {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    padding: 11px 16px;
    color: #211606;
    background: #c99a45;
    font: 800 11px/1 'Montserrat', sans-serif;
    letter-spacing: .8px;
    text-transform: uppercase;
    text-decoration: none;
    transition: .2s ease;
}

.nls-nav-cart:hover { background: #f0d18a; color: #211606; }

.nls-nav-cart b { font-variant-numeric: tabular-nums; }

.nls-nav-toggle {
    display: none;
    margin-left: auto;
    padding: 10px 12px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255,255,255,.22);
    cursor: pointer;
    font: 800 11px/1 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 1080px) {
    .nls-nav-inner { flex-wrap: wrap; width: calc(100% - 28px); gap: 12px; min-height: 60px; }
    .nls-nav-logo img { height: 66px; margin-bottom: 0; }
    .nls-nav-toggle { display: inline-block; }
    .nls-nav-menu {
        display: none;
        order: 3;
        flex-basis: 100%;
        flex-direction: column;
        gap: 0;
        padding-bottom: 10px;
    }
    .nls-nav-menu.is-open { display: flex; }
    .nls-nav-menu a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
    .nls-nav-cart { order: 2; }
}

/* =========================================================
   TARTALOM
========================================================= */

.nls-page {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding-block: 54px 78px;
}

.nls-page h1 { margin-top: 0; font-size: clamp(30px, 4vw, 48px); }

.nls-entry p { max-width: 68ch; }

/* =========================================================
   ELOADASLISTA
========================================================= */

.nls-events {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 32px;
    padding: 0;
    list-style: none;
}

.nls-event-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ddd3c6;
    overflow: hidden;
}

.nls-event-thumb {
    display: block;
    aspect-ratio: 3 / 4;
    background: #17110e center / cover no-repeat;
}

.nls-event-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 18px;
}

.nls-event-body h2 {
    margin: 0;
    font-size: 19px;
    line-height: 1.25;
}

.nls-event-body h2 a { color: #1f1813; text-decoration: none; }

.nls-event-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nls-event-dates li {
    padding: 5px 9px;
    background: #f5efe5;
    border: 1px solid #e0d6c8;
    font-size: 11.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.nls-event-from {
    margin-top: auto;
    color: #74121a;
    font-size: 14px;
    font-weight: 800;
}

.nls-event-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    color: #211606;
    background: #c99a45;
    font: 800 11.5px/1 'Montserrat', sans-serif;
    letter-spacing: .8px;
    text-transform: uppercase;
    text-decoration: none;
    transition: .2s ease;
}

.nls-event-button:hover { background: #f0d18a; color: #211606; }

/* =========================================================
   WOOCOMMERCE OLDALAK (kosar, penztar, fiok)
========================================================= */

.nls-woo { background: #f1e9dd; }

.nls-woo .nls-page { max-width: 1200px; }

.woocommerce table.shop_table,
.woocommerce-cart table.cart {
    width: 100%;
    background: #fff;
    border: 1px solid #ddd3c6;
    border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 14px 16px;
    border-bottom: 1px solid #ece3d6;
    text-align: left;
    vertical-align: middle;
}

.woocommerce table.shop_table th {
    font: 800 11px/1 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #756b61;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #place_order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 22px;
    color: #211606 !important;
    background: #c99a45;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    font: 800 12px/1 'Montserrat', sans-serif;
    letter-spacing: .9px;
    text-transform: uppercase;
    text-decoration: none;
    transition: .2s ease;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce #place_order:hover {
    background: #f0d18a;
    color: #211606 !important;
}

.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    color: #fff !important;
    background: #74121a;
}

.woocommerce .button.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #98242e;
    color: #fff !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    background: #fff;
    border: 1px solid #ddd3c6;
    border-radius: 0;
    font: 400 14px/1.4 'Montserrat', sans-serif;
    color: #25201b;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: #574e45;
}

.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce .cart-collaterals .cart_totals {
    padding: 22px;
    background: #f5efe5;
    border-top: 6px solid #c99a45;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    margin: 0 0 22px;
    padding: 14px 16px;
    list-style: none;
    background: #f5efe5;
    border-left: 4px solid #c99a45;
    font-size: 13.5px;
}

.woocommerce-error { border-left-color: #74121a; }

.woocommerce-breadcrumb { display: none; }


/* A landing.css a Divi konteneribol tort ki 100vw-vel; itt nem kell. */
.nls-topbar,
.nls-footer {
    left: auto;
    width: 100%;
    margin-left: 0;
}


/* =========================================================
   TERMEKOLDAL KIEGESZITESEK
========================================================= */

.nls-code-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    padding: 11px 0;
    background: none;
    border: 0;
    border-top: 1px dashed #d7cec1;
    cursor: pointer;
    color: #8a661c;
    font: 600 12.5px/1.3 'Montserrat', sans-serif;
    text-align: left;
}

.nls-code-toggle::before { content: "+"; font-size: 16px; line-height: 1; }
.nls-code-toggle[aria-expanded="true"]::before { content: "\2013"; }

.nls-code-box {
    padding: 14px;
    background: #fff;
    border: 1px solid #ddd3c6;
}

.nls-code-row { display: flex; gap: 8px; }

.nls-code-row input {
    flex: 1;
    min-width: 0;
    padding: 12px 11px;
    background: #fff;
    border: 1px solid #d7cec1;
    color: #25201b;
    font: 600 13px/1 'Montserrat', sans-serif;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.nls-code-row button {
    padding: 0 17px;
    color: #f5efe5;
    background: #211a15;
    border: 0;
    cursor: pointer;
    font: 800 11.5px/1 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nls-code-hint { margin: 9px 0 0; color: #7b7268; font-size: 11.5px; line-height: 1.5; }

.nls-code-state { margin: 9px 0 0; font-size: 12.5px; font-weight: 600; }
.nls-code-state.is-ok { color: #2f6a3f; }
.nls-code-state.is-bad { color: #74121a; }

.nls-seat-open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 17px 18px;
    background: #fff;
    border: 1px solid #211a15;
    cursor: pointer;
    color: #211a15;
    font: 800 12.5px/1 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .2s ease;
}

.nls-seat-open:hover:not([disabled]) { color: #f5efe5; background: #211a15; }
.nls-seat-open[disabled] { border-color: #ddd3c6; color: #9a9187; cursor: not-allowed; }

.nls-picked { display: grid; gap: 7px; margin-top: 12px; }

.nls-picked-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #ded4c7;
}

.nls-picked-row i { width: 11px; height: 11px; flex: 0 0 auto; }
.nls-picked-row .who { flex: 1; min-width: 0; font-size: 12.5px; }
.nls-picked-row .who b { font-family: 'Cinzel', Georgia, serif; font-size: 13.5px; }
.nls-picked-row .who span { color: #7b7268; }
.nls-picked-row .amount { font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.nls-picked-row button {
    padding: 0 3px;
    background: none;
    border: 0;
    color: #74121a;
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
}

.nls-picked-note { margin: 12px 0 0; color: #7b7268; font-size: 12.5px; }

/* Nezoter teljes kepernyon */

.nls-seat-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    overflow: auto;
    background: rgba(9,7,6,.88);
    -webkit-overflow-scrolling: touch;
}

.nls-seat-overlay[hidden] { display: none; }

.nls-seat-overlay .nls-seat-app { min-height: 100%; }

.nls-seat-sector-head {
    margin: 0 0 10px;
    color: #897b6e;
    font: 800 10px/1 'Montserrat', sans-serif;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}

.nls-seat-gap { flex: 0 0 auto; }

.nls-seat-loading { padding: 60px 0; text-align: center; color: #756b61; font-size: 13px; }

body.nls-locked { overflow: hidden; }

/* A nezoter szelesebb lehet a panelnal: a gorgetokonteneren belul maradjon. */
.nls-seat-map {
    min-width: max-content;
    margin: 0 auto;
}

.nls-seat-auditorium { min-width: max-content; }

/* Uzenetek a sotet jegyoldalon */
.nls-notices .woocommerce-message,
.nls-notices .woocommerce-info,
.nls-notices .woocommerce-error {
    color: #f5efe5;
    background: rgba(255,255,255,.07);
    border-left-color: #c99a45;
}

.nls-notices .woocommerce-error { border-left-color: #e0707a; }
.nls-notices a { color: #f0d18a; }

/* =========================================================
   NEZOTER: TELJES SZELESSEG + ALSO SAV
========================================================= */

.nls-seat-overlay .nls-seat-layout {
    grid-template-columns: minmax(0, 1fr);
}

.nls-seat-bar {
    position: sticky;
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-top: 18px;
    padding: 16px 20px;
    color: #fff;
    background: #15110e;
    border-top: 4px solid #c99a45;
    box-shadow: 0 -14px 34px rgba(0,0,0,.34);
}

.nls-seat-bar-info {
    flex: 1 1 260px;
    min-width: 0;
}

.nls-seat-bar-info strong {
    display: block;
    font: 700 15px/1.3 'Cinzel', Georgia, serif;
}

.nls-seat-bar-info span {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.66);
    font-size: 12.5px;
    line-height: 1.45;
}

.nls-seat-bar-clear {
    padding: 0;
    color: #f0d18a;
    background: none;
    border: 0;
    cursor: pointer;
    font: 800 11px/1 'Montserrat', sans-serif;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.nls-seat-bar-total {
    display: flex;
    align-items: baseline;
    gap: 10px;
    white-space: nowrap;
}

.nls-seat-bar-total span {
    color: rgba(255,255,255,.62);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.nls-seat-bar-total strong {
    color: #f0d18a;
    font: 700 24px/1 'Cinzel', Georgia, serif;
    font-variant-numeric: tabular-nums;
}

.nls-seat-bar-cancel {
    padding: 15px 18px;
    color: rgba(255,255,255,.78);
    background: transparent;
    border: 1px solid rgba(255,255,255,.22);
    cursor: pointer;
    font: 800 11.5px/1 'Montserrat', sans-serif;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.nls-seat-bar-cancel:hover { color: #fff; border-color: #c99a45; }

.nls-seat-bar .nls-seat-continue { width: auto; min-width: 190px; }

/* Nem valaszthato hely: latszik, de kattintasra magyarazatot ad. */
.nls-seat.is-taken {
    background: #2a2422 !important;
    color: rgba(255,255,255,.45);
    border-color: rgba(255,255,255,.12);
    box-shadow: none;
    cursor: not-allowed;
}

.nls-seat.is-taken:hover { transform: none; outline: 0; }

.nls-seat.is-off {
    background: #cfc7bb !important;
    color: #7d7568;
    cursor: not-allowed;
}

.nls-seat.is-off:hover { transform: none; outline: 0; }

/* Felugro uzenet */
.nls-seat-toast {
    margin: 0;
    max-width: min(520px, calc(100% - 30px));
    font-weight: 600;
}

.nls-seat-toast.is-bad { border-left-color: #e0707a; }

@media (max-width: 760px) {
    .nls-seat-bar {
        padding: 14px;
        gap: 10px 12px;
    }

    .nls-seat-bar-info { flex-basis: 100%; }
    .nls-seat-bar-cancel { flex: 1 1 auto; }
    .nls-seat-bar .nls-seat-continue { flex: 2 1 auto; min-width: 0; }
}

/* Az also sav mindig lassz0n, ne csak a lap aljan. */
.nls-seat-overlay .nls-seat-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.nls-seat-overlay .nls-seat-shell {
    padding-bottom: 150px;
}

.nls-seat-overlay .nls-seat-toast {
    bottom: 124px;
}

@media (max-width: 760px) {
    .nls-seat-overlay .nls-seat-shell { padding-bottom: 190px; }
    .nls-seat-overlay .nls-seat-toast { bottom: 164px; }
}

/* A nezoter kapja meg a kepernyot: felul-alul keskeny keret, oldalt semmi
   felesleges. A szektorok igy egyben latszanak. */
.nls-seat-overlay .nls-seat-shell {
    width: calc(100% - 20px);
    max-width: none;
    padding-top: 26px;
}

.nls-seat-overlay .nls-seat-topbar {
    margin-bottom: 18px;
}

.nls-seat-overlay .nls-seat-topbar h2 {
    font-size: clamp(24px, 2.4vw, 36px);
    margin-bottom: 8px;
}

.nls-seat-overlay .nls-seat-map-panel {
    padding: 22px 14px;
}

/* Fix nezoke, de a vasarloi oldalon magasabb: nagyitva tobb sor latszik
   egyszerre, es kevesebbet kell gorgetni. */
.nls-seat-overlay .nlsz-map-scroll {
    height: clamp(340px, 62vh, 860px);
}

@media (min-width: 1600px) {
    .nls-seat-overlay .nls-seat-shell { width: calc(100% - 32px); }
}

/* A landing CSS-eben minden soron van display, ami erosebb a bongeszo
   [hidden] szabalyanal — igy a rejtett sorok megis latszanananak. */
[hidden] {
    display: none !important;
}

/* =========================================================
   MINI KOSAR A FEJLECBEN
========================================================= */

.nls-cart {
    position: relative;
    flex: 0 0 auto;
}

.nls-cart .nls-nav-cart {
    border: 0;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.nls-cart-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 30;
    width: min(360px, calc(100vw - 32px));
    padding: 16px;
    color: #25201b;
    background: #f5efe5;
    border-top: 5px solid #c99a45;
    box-shadow: 0 22px 48px rgba(0,0,0,.34);
}

.nls-cart-empty {
    margin: 0;
    color: #7b7268;
    font-size: 13px;
    text-align: center;
}

.nls-cart-list {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    max-height: 46vh;
    overflow: auto;
}

.nls-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 22px;
    gap: 4px 10px;
    align-items: start;
    padding: 11px 0;
    border-bottom: 1px solid #e2d8c9;
}

.nls-cart-item:first-child { padding-top: 0; }
.nls-cart-item:last-child { border-bottom: 0; }

.nls-cart-what strong {
    display: block;
    font: 700 13.5px/1.3 'Cinzel', Georgia, serif;
    color: #1f1813;
}

.nls-cart-what span {
    display: block;
    margin-top: 2px;
    color: #7b7268;
    font-size: 11.5px;
    line-height: 1.4;
}

.nls-cart-price {
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.nls-cart-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #74121a !important;
    background: #ece2d4;
    text-decoration: none;
    font-size: 15px;
    line-height: 1;
}

.nls-cart-remove:hover { color: #fff !important; background: #74121a; }

.nls-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #ddd3c6;
}

.nls-cart-total span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
    color: #7b7268;
}

.nls-cart-total strong {
    font: 700 20px/1 'Cinzel', Georgia, serif;
    color: #74121a;
}

.nls-cart-checkout {
    display: block;
    margin-top: 13px;
    padding: 14px;
    color: #211606 !important;
    background: #c99a45;
    text-align: center;
    text-decoration: none;
    font: 800 12px/1 'Montserrat', sans-serif;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.nls-cart-checkout:hover { background: #f0d18a; }

@media (max-width: 1080px) {
    .nls-cart-panel { right: auto; left: 0; }
}

/* =========================================================
   FOGLALASI VISSZASZAMLALO A PENZTARBAN
========================================================= */

.nls-hold {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin: 0 0 22px;
    padding: 14px 18px;
    color: #f5efe5;
    background: #15110e;
    border-left: 5px solid #c99a45;
}

.nls-hold-label { font-size: 13px; color: rgba(255,255,255,.72); }

.nls-hold-clock {
    font: 700 22px/1 'Cinzel', Georgia, serif;
    color: #f0d18a;
    font-variant-numeric: tabular-nums;
}

.nls-hold.is-soon { border-left-color: #e0707a; }
.nls-hold.is-soon .nls-hold-clock { color: #f2a6ad; }

.nls-hold.is-over .nls-hold-clock { font-size: 15px; font-family: 'Montserrat', sans-serif; }

/* =========================================================
   PENZTAR
========================================================= */

.woocommerce-checkout .nls-page h1 { margin-bottom: 22px; }

.nls-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    gap: 22px;
    align-items: start;
}

.nls-checkout-card {
    padding: 26px;
    background: #fff;
    border: 1px solid #e2d8c9;
    border-top: 5px solid #c99a45;
}

.nls-checkout-card + .nls-checkout-card { margin-top: 18px; }

.nls-checkout-card.is-review {
    position: sticky;
    top: 20px;
    background: #f5efe5;
    padding: 0;
    overflow: hidden;
}

.nls-checkout-card.is-review > h3,
.nls-checkout-card.is-review > .woocommerce-checkout-review-order { padding-inline: 22px; }
.nls-checkout-card.is-review > h3 { padding-top: 22px; }

.woocommerce-checkout h3,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading {
    margin: 0 0 16px;
    font: 700 19px/1.25 'Cinzel', Georgia, serif;
    color: #1f1813;
}

.woocommerce-checkout h3:not(:first-child) { margin-top: 26px; }

/* Mezok ket hasabban, a szeles mezok atfogjak */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.woocommerce-checkout .form-row {
    display: block;
    margin: 0 0 14px;
    padding: 0;
}

.woocommerce-checkout .form-row-wide,
.woocommerce-checkout .form-row.notes,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #billing_company_field,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_email_field { grid-column: 1 / -1; }

.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #6b6258;
}

.woocommerce-checkout .form-row .required { color: #74121a; text-decoration: none; }

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single {
    min-height: 48px;
    border-color: #ddd3c6;
    border-radius: 0;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus {
    outline: 2px solid #c99a45;
    outline-offset: 0;
    border-color: #c99a45;
}

.woocommerce-checkout .form-row textarea { min-height: 96px; }

/* A rendeles tartalma */
.woocommerce-checkout-review-order table.shop_table {
    width: 100%;
    margin: 0;
    background: transparent;
    border: 0;
}

.woocommerce-checkout-review-order table.shop_table thead { display: none; }

.woocommerce-checkout-review-order table.shop_table td,
.woocommerce-checkout-review-order table.shop_table th {
    padding: 12px 0;
    border-bottom: 1px solid #e2d8c9;
    vertical-align: top;
    font-size: 13px;
}

.woocommerce-checkout-review-order .cart_item td.product-name {
    font: 700 14px/1.3 'Cinzel', Georgia, serif;
    color: #1f1813;
}

.woocommerce-checkout-review-order .cart_item td.product-total {
    text-align: right;
    font-weight: 800;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.woocommerce-checkout-review-order .product-quantity {
    color: #7b7268;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* A jegy adatai: Idopont / Hely / Jegytipus egy sorban */
.woocommerce-checkout-review-order dl.variation {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 8px;
    margin: 7px 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.45;
}

.woocommerce-checkout-review-order dl.variation dt {
    margin: 0;
    color: #8b8177;
    font-weight: 600;
}

.woocommerce-checkout-review-order dl.variation dd { margin: 0; color: #4c443c; }
.woocommerce-checkout-review-order dl.variation dd p { margin: 0; }

.woocommerce-checkout-review-order tfoot th {
    font: 600 12.5px/1.4 'Montserrat', sans-serif;
    color: #6b6258;
    text-align: left;
}

.woocommerce-checkout-review-order tfoot td {
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.woocommerce-checkout-review-order tfoot tr.order-total th,
.woocommerce-checkout-review-order tfoot tr.order-total td {
    padding-top: 16px;
    border-bottom: 0;
    border-top: 1px solid #d8cdbc;
}

.woocommerce-checkout-review-order tfoot tr.order-total th {
    font: 800 12px/1 'Montserrat', sans-serif;
    letter-spacing: .9px;
    text-transform: uppercase;
    color: #1f1813;
}

.woocommerce-checkout-review-order tfoot tr.order-total td {
    font: 700 24px/1 'Cinzel', Georgia, serif;
    color: #74121a;
}

.woocommerce-checkout-review-order tfoot tr.order-total small { display: block; margin-top: 4px; font-size: 10.5px; color: #8b8177; font-family: 'Montserrat', sans-serif; font-weight: 500; }

/* Fizetesi modok: valaszthato kartyak, sajat radiogombbal */
#payment {
    margin: 18px -22px 0;
    padding: 20px 22px 24px;
    background: #ece3d5;
    border-top: 1px solid #ddd3c6;
}

#payment ul.payment_methods {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    border: 0;
}

#payment ul.payment_methods li.wc_payment_method {
    position: relative;
    margin: 0 0 9px;
    padding: 0;
    background: #fff;
    border: 1px solid #ddd3c6;
    transition: border-color .16s ease, box-shadow .16s ease;
}

#payment ul.payment_methods li.wc_payment_method:last-child { margin-bottom: 0; }

#payment ul.payment_methods li.wc_payment_method:hover { border-color: #c99a45; }

#payment ul.payment_methods li.wc_payment_method:has( input:checked ) {
    border-color: #74121a;
    box-shadow: inset 0 0 0 1px #74121a;
}

#payment ul.payment_methods li.wc_payment_method > input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

#payment ul.payment_methods li.wc_payment_method > label {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0;
    padding: 16px 17px;
    cursor: pointer;
    font: 600 13.5px/1.35 'Montserrat', sans-serif;
    color: #25201b;
}

#payment ul.payment_methods li.wc_payment_method > label::before {
    content: "";
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #c6bbab;
    border-radius: 50%;
    transition: .16s ease;
}

#payment ul.payment_methods li.wc_payment_method:has( input:checked ) > label::before {
    background: #74121a;
    border-color: #74121a;
    box-shadow: inset 0 0 0 3.5px #fff;
}

#payment ul.payment_methods li.wc_payment_method > input:focus-visible + label::before {
    outline: 3px solid #c99a45;
    outline-offset: 2px;
}

#payment ul.payment_methods li.wc_payment_method > label img {
    max-height: 24px;
    width: auto;
    margin: 0 0 0 auto;
}

#payment div.payment_box {
    margin: 0;
    padding: 0 17px 15px 50px;
    background: transparent;
    border: 0;
    color: #6b6258;
    font-size: 12px;
    line-height: 1.55;
}

#payment div.payment_box::before,
#payment div.payment_box::after { display: none; }

#payment div.payment_box p { margin: 0; }

#payment .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.55;
    color: #6b6258;
}

#payment .form-row.place-order { margin: 0; }

.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 58px;
    background: #74121a;
    color: #fff !important;
    font-size: 14px;
    letter-spacing: 1px;
}

.woocommerce-checkout #place_order:hover { background: #98242e; color: #fff !important; }

/* Kupon es ertesitesek */
.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
    background: #f5efe5;
    border-left-color: #c99a45;
}

.checkout_coupon.woocommerce-form-coupon {
    margin: 0 0 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e2d8c9;
}

.checkout_coupon.woocommerce-form-coupon .form-row { display: inline-block; width: auto; margin-right: 10px; }

@media (max-width: 1000px) {
    .nls-checkout-grid { grid-template-columns: minmax(0, 1fr); }
    .nls-checkout-card.is-review { position: static; }
}

@media (max-width: 560px) {
    .nls-checkout-card { padding: 20px 16px; }
    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper,
    .woocommerce-additional-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
    .nls-checkout-card.is-review > h3,
    .nls-checkout-card.is-review > .woocommerce-checkout-review-order { padding-inline: 16px; }
    #payment { margin-inline: -16px; padding-inline: 16px; }
}

/* Az ASZF jelolonegyzete */
#payment .woocommerce-terms-and-conditions-wrapper .form-row {
    margin: 12px 0 0;
}

#payment label.woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #4c443c;
    cursor: pointer;
}

#payment label.woocommerce-form__label-for-checkbox input[type="checkbox"] {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin: 1px 0 0;
    accent-color: #74121a;
}

#payment .woocommerce-privacy-policy-text p {
    margin: 0 0 4px;
    font-size: 11.5px;
    line-height: 1.55;
    color: #7b7268;
}

/* Muszaki hely a vasarloi nezoteren: helykitolto, nem latszik. */
.nls-seat-overlay .nlsz-seat.is-technical {
    visibility: hidden;
    pointer-events: none;
}

/* =========================================================
   FOGLALASI VISSZASZAMLALO A TERMEKOLDALON
   Az elso kivalasztott helytol lathato, jobb also sarokban.
========================================================= */

.nls-holdbar {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9500;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    color: #f5efe5;
    background: #15110e;
    border-left: 5px solid #c99a45;
    box-shadow: 0 18px 44px rgba(0,0,0,.4);
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.nls-holdbar.is-on { opacity: 1; transform: none; }

.nls-holdbar-label {
    max-width: 210px;
    font-size: 12.5px;
    line-height: 1.35;
    color: rgba(255,255,255,.72);
}

.nls-holdbar-clock {
    font: 700 24px/1 'Cinzel', Georgia, serif;
    color: #f0d18a;
    font-variant-numeric: tabular-nums;
}

.nls-holdbar.is-soon { border-left-color: #e0707a; }
.nls-holdbar.is-soon .nls-holdbar-clock { color: #f2a6ad; }

.nls-holdbar.is-over {
    border-left-color: #e0707a;
    background: #2a1113;
}

.nls-holdbar.is-over .nls-holdbar-label { color: #f2a6ad; max-width: 260px; }

/* Nyitott nezoternel az also sav es a hibauzenet fole kerul. */
body.nls-locked .nls-holdbar { bottom: 180px; }

@media (max-width: 760px) {
    .nls-holdbar {
        right: 12px;
        left: 12px;
        bottom: 12px;
        justify-content: space-between;
        gap: 10px;
    }

    .nls-holdbar-label { max-width: none; font-size: 12px; }
    .nls-holdbar-clock { font-size: 20px; }

    body.nls-locked .nls-holdbar { top: 66px; z-index: 99999;        bottom: unset; }
}

/* =========================================================
   KEZDOLAP: ELOADASKARTYAK
========================================================= */

.nls-home-intro { margin-bottom: 34px; }

.nls-home-head { margin: 0 0 28px; }

.nls-home-kicker {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #a9781f;
}

.nls-home-head h1 { margin: 0 0 10px; }

.nls-home-lead { margin: 0; max-width: 64ch; color: #6d6459; }

.nls-home-empty { margin-top: 28px; color: #6d6459; }

.nls-shows {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(520px, 1fr));
    gap: 24px;
    margin-top: 26px;
}

.nls-show {
    display: grid;
    grid-template-columns: minmax(200px, 50%) minmax(0, 1fr);
    background: #fff;
    border: 1px solid #e6dccd;
    box-shadow: 0 10px 30px rgba(31,24,19,.06);
}

.nls-show-poster {
    position: relative;
    display: block;
    align-self: stretch;
    background: #17110e;
}

/* A plakat kitolti a hasabot a kartya tetejetol az aljaig. */
.nls-show-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.nls-show-noimage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 20px;
    color: rgba(245,239,229,.6);
    font: 400 15px/1.3 'Cinzel', Georgia, serif;
    text-align: center;
}

.nls-show-city {
    position: absolute;
    top: 0;
    left: 0;
    padding: 7px 14px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #211606;
    background: #c99a45;
}

.nls-show-body {
    display: flex;
    flex-direction: column;
    padding: 26px 28px;
}

.nls-show-body > :first-child { margin-top: 0; }

.nls-show-kicker {
    margin: 0 0 8px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8e8478;
}

.nls-show-title {
    margin: 0 0 14px;
    font: 400 30px/1.14 'Cinzel', Georgia, serif;
    text-transform: uppercase;
    color: #1f1813;
}

.nls-show-title a { color: inherit; text-decoration: none; }
.nls-show-title a:hover { color: #74121a; }

.nls-show-lead {
    margin: 0 0 20px;
    color: #6d6459;
    font-size: 14.5px;
    line-height: 1.6;
}

.nls-show-meta {
    margin: 0 0 22px;
    padding-top: 18px;
    border-top: 1px solid #ece3d6;
}

.nls-show-meta-row { margin: 0 0 16px; }
.nls-show-meta-row:last-child { margin-bottom: 0; }

.nls-show-meta dt {
    position: relative;
    margin: 0 0 6px;
    padding-left: 16px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #8e8478;
}

/* Arany rombusz a cimke elott, a plakatok jelolesehez igazodva. */
.nls-show-meta dt::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 7px;
    height: 7px;
    background: #c99a45;
    transform: rotate(45deg);
}

.nls-show-meta dd { margin: 0 0 0 16px; color: #2a2119; font-size: 14.5px; }

.nls-show-meta dd ul { margin: 0; padding: 0 0 0 18px; list-style: disc; }
.nls-show-meta dd li { margin-bottom: 3px; }
.nls-show-meta dd li.is-more { list-style: none; margin-left: -18px; color: #8e8478; font-size: 13px; }

.nls-show-actions {
    display: flex;
    gap: 12px;
    margin: auto 0 0;
}

.nls-show-buy {
    flex: 0 0 auto;
    min-width: 220px;
    padding: 15px 22px;
    font: 700 12px/1 'Montserrat', sans-serif;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.nls-show-buy {
    color: #fff;
    background: #74121a;
    border: 1px solid #74121a;
}

.nls-show-buy:hover { background: #8f1a24; border-color: #8f1a24; color: #fff; }

@media (max-width: 1100px) {
    .nls-shows { grid-template-columns: minmax(0, 1fr); }
    .nls-show { grid-template-columns: minmax(200px, 38%) minmax(0, 1fr); }
}

@media (max-width: 620px) {
    .nls-show { grid-template-columns: minmax(0, 1fr); }
    .nls-show-body { padding: 22px 20px; }
    .nls-show-title { font-size: 25px; }
    .nls-show-actions { flex-direction: column; }
}

/* =========================================================
   MOBIL FEJLEC: KAPCSOLAT ES KOZOSSEGI IKONOK
   A gombok helyett a cim, az e-mail es a kozossegi oldalak allnak itt.
========================================================= */

@media (max-width: 760px) {
    .nls-topbar-mobile-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
    }

    .nls-topbar-mobile-contact {
        display: flex;
        flex-direction: column;
        gap: 3px;
        min-width: 0;
    }

    .nls-topbar-mobile-line {
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
        color: #211606 !important;
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: .2px;
        line-height: 1.25;
        text-decoration: none !important;
    }

    .nls-topbar-mobile-line > span {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .nls-topbar-mobile-line svg {
        flex: none;
        width: 13px;
        height: 13px;
    }

    .nls-topbar-mobile-social {
        display: flex;
        flex: none;
        align-items: center;
        gap: 6px;
    }

    .nls-topbar-mobile-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        color: #211606 !important;
        background: rgba(255,255,255,.28);
        border: 1px solid rgba(33,22,6,.28);
        transition: .2s ease;
    }

    .nls-topbar-mobile-social a:hover {
        color: #fff !important;
        background: #74121a;
        border-color: #74121a;
    }

    .nls-topbar-mobile-social svg { width: 16px; height: 16px; }
}

@media (max-width: 430px) {
    .nls-topbar-mobile-actions { gap: 8px; }
    .nls-topbar-mobile-line { font-size: 9.5px; }
    .nls-topbar-mobile-social a { width: 27px; height: 27px; }
    .nls-topbar-mobile-social svg { width: 14px; height: 14px; }
}

/* Mobilon a fomenu fentmarad gorgeteskor, a kapcsolati sav viszont
   elgorduelhet — igy a logo, a menu es a kosar mindig kezben van. */
@media (max-width: 760px) {
    .nls-nav {
        position: sticky;
        top: 0;
        z-index: 900;
        box-shadow: 0 8px 24px rgba(0,0,0,.28);
    }

}

/*
 * A WordPress admin savja 600 pixel alatt mar nem rogzitett, egyutt gordul az
 * oldallal — ott tehat nem szabad alatta helyet hagyni, mert lyuk marad a menu
 * felett. Csak e folott toljuk le a menut az admin sav magassagaval.
 */
@media (min-width: 601px) and (max-width: 760px) {
    body.admin-bar .nls-nav { top: 46px; }
}
