/* Tour request form — sidebar redesign (Etap 1, mockup v2.9)
   Scoped to body.page-template-page-requesttour. Used by page-requesttour.php.
   Design tokens local — bez globalizacji do :root (per feedback_lp_scope_discipline).
*/

body.page-template-page-requesttour .tour-sidebar {
    --teal: #4FC3B7;
    --teal-dark: #2E9B8E;
    --teal-bg: #F0FDF9;
    --teal-bg-border: #BEE6E0;
    --orange: #F39200;
    --green: #059669;
    --green-bg: #DCFCE7;
    --green-bg-border: #BBF7D0;
    --ink: #1F2937;
    --ink-soft: #4B5563;
    --line: #E5E7EB;
    --amber-bg: #FEF9E7;
    --amber-border: #F5D76E;
    --amber-text: #92400E;

    font-family: 'Rubik', -apple-system, system-ui, sans-serif;
    color: var(--ink);
    position: sticky;
    top: 24px;
}
/* .tour-review-card jest dzieckiem .tour-sidebar — variables dziedziczone */

/* Label nad całym sidebar card — orienting context dla user'a przychodzącego z bookmarka/email */
.tour-sidebar__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--teal-dark);
    margin: 0 0 12px;
}

/* ===== Card container ===== */
.tour-sidebar__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

/* ===== Hero (image + meta) ===== */
.tour-sidebar__hero-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: #e6e6e6;
}
.tour-sidebar__hero-info {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}
.tour-sidebar__cat-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 6px;
}
.tour-sidebar__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
    margin: 0 0 10px;
}
.tour-sidebar__title a {
    color: inherit;
    text-decoration: none;
}
.tour-sidebar__title a:hover { color: var(--teal-dark); }

.tour-sidebar__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--ink-soft);
}
.tour-sidebar__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tour-sidebar__meta-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ===== Reassurance bullets ===== */
.tour-sidebar__reassure {
    padding: 8px 20px 18px;
    border-bottom: 1px solid var(--line);
}
.reassure-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.reassure-item:last-child { border-bottom: 0; }
.reassure-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--teal-bg);
    color: var(--teal-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.reassure-icon svg { width: 18px; height: 18px; }
.reassure-title {
    font-weight: 500;
    font-size: 13px;
    color: var(--ink);
    margin: 0 0 3px;
    line-height: 1.3;
}
.reassure-desc {
    font-size: 12px;
    font-weight: 400;
    color: var(--ink-soft);
    line-height: 1.45;
    margin: 0;
}

/* ===== Warsaw office card ===== */
.warsaw-office-card {
    padding: 18px 20px;
    background: var(--teal-bg);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.warsaw-office-card__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #B8E5DC;
    color: var(--teal-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.warsaw-office-card__icon svg { width: 20px; height: 20px; }
.warsaw-office-card__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--teal-dark);
    margin: 0 0 4px;
}
.warsaw-office-card__company {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 4px;
}
.warsaw-office-card__address {
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0;
}
.warsaw-office-card__address a {
    color: var(--teal-dark);
    /* text-decoration: underline; */
    font-weight: 500;
}

/* ===== Estimated total ===== */
.tour-sidebar__price {
    padding: 18px 20px;
}
.tour-sidebar__price-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ink-soft);
    margin: 0 0 8px;
}
/* Existing JS hook .tour_item_totalprice_price — restyle, keep selector */
.tour-sidebar__price .tour_item_totalprice_price {
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.1;
    margin: 0 0 4px;
}
.tour-sidebar__price .tour_item_totalprice_price span {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
}
.tour-sidebar__price .price_before_promocode {
    font-size: 14px;
    color: var(--ink-soft);
    text-decoration: line-through;
    font-weight: 500;
    margin: 0 0 4px;
}
.tour-sidebar__price .price_after_promocode {
    font-size: 24px;
    font-weight: 600;
    color: var(--orange);
    margin: 0;
}
.tour-sidebar__price .price_after_promocode_info {
    font-size: 12px;
    color: var(--ink-soft);
    margin: 4px 0 0;
}

/* Currency selector — w sidebarze inline link instead of select stylowanego full-width */
.tour-sidebar__price #show_in_currency {
    margin-top: 10px;
    font-size: 13px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

/* ===== Promo code expandable ===== */
.tour-sidebar__promocode-wrap {
    padding: 0 20px 18px;
}
.tour-sidebar__promocode-toggle {
    background: none;
    border: 0;
    color: var(--teal-dark);
    font-size: 13px;
    cursor: pointer;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
}
.tour-sidebar__promocode-toggle:hover { color: var(--teal); }
.tour-sidebar__promocode-toggle svg { width: 14px; height: 14px; }
/* Existing .promocode + .show_promocode_link — schowane gdy collapsed, JS pokazuje */
.tour-sidebar__promocode-wrap .show_promocode_link,
.tour-sidebar__promocode-wrap .promocode { display: none; }
.tour-sidebar__promocode-wrap.is-expanded .promocode { display: block; }
.tour-sidebar__promocode-wrap .promocode {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}
.tour-sidebar__promocode-wrap .promocode_title {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--ink-soft);
    margin: 0 0 6px;
}
.tour-sidebar__promocode-wrap .promocode input[type="text"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 6px;
}
.tour-sidebar__promocode-wrap .promocode button {
    background: var(--teal);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}
.tour-sidebar__promocode-wrap .promocode button:hover { background: var(--teal-dark); }

/* ===== Per-tour review card (mirrors landing /guided-poland-tours/) ===== */
.tour-review-card {
    margin-top: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.tour-review-card__quote {
    font-size: 14px;
    font-style: italic;
    line-height: 1.55;
    color: var(--ink);
    margin: 0 0 12px;
}
.tour-review-card__author {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 4px;
}
.tour-review-card__author-separator {
    color: var(--ink-soft);
    margin: 0 2px;
}
.tour-review-card__date {
    font-size: 12px;
    color: var(--ink-soft);
    margin: 0 0 12px;
}
.tour-review-card__rating-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 4px 0 8px;
}
.tour-review-card__rating {
    font-size: 28px;
    font-weight: 600;
    color: var(--orange);
    line-height: 1;
}
.tour-review-card__rating-max {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
}
.tour-review-card__verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--teal-dark);
}
.tour-review-card__verified svg { width: 14px; height: 14px; }

/* ===== Extensions (existing block, slight restyle to match) ===== */
body.page-template-page-requesttour .extensions_request {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-top: 16px;
}
body.page-template-page-requesttour .extensions_request_title {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 10px;
}

/* ===== Hide legacy policy text blocks (now rendered as reassure-items) ===== */
/* Ukryj tylko gdy nowy sidebar Variant C jest na stronie (live-summary przejęła F&F disclaimer).
   W legacy mode (.tour-sidebar nieobecne) info_for_gde_f pozostaje widoczne. */
body.page-template-page-requesttour:has(.tour-sidebar) .info_for_gde_f { display: none; }

/* ===== Override legacy main.css `.main_single_tour_section_pad > div > div { padding-right: 100px }` =====
   Legacy reguła wypychała formularz w lewo o 100px (relikt ze starszej wersji single-tour layoutu).
   Po jej resecie ustawiamy asymetryczny gap: formularz traci 32px po prawej, sidebar tylko 16px po lewej
   → łączny gap 48px między kolumnami. Sidebar zachowuje pełną szerokość. */
@media (min-width: 992px) {
    body.page-template-page-requesttour .main_single_tour_section_pad > div > .col-md-8.form_page {
        padding-right: 32px;
        padding-left: 16px;
    }
    body.page-template-page-requesttour .main_single_tour_section_pad > div > .col-md-4 {
        padding-right: 16px;
        padding-left: 16px;
        padding-top: 0; /* Override legacy main.css `.main_single_tour_section_pad>div>.col-md-4{padding-top:100px}` */
    }
}

/* ===========================================================================
   ETAP 2 — Form structural redesign (mockup v2.9)
   Lewa kolumna (col-md-7) zawiera custom UI; CF7 form ukryty CSS-em.
   =========================================================================== */

/* Hide CF7 visible fields (zostaje wpcf7-response-output dla error feedback).
   Hidden inputs + honeypot są PRZED .request_form, więc nie są ukryte.
   `!important` defensive — Bootstrap `.row { display: flex }` ma większą specificity przez `> *` w naszej regule
   i niektóre browsery/mobile widoki łapały visible row (np. przez plugin mobile simulator cache CSS bypass). */
body.page-template-page-requesttour .cf7-hidden-wrapper .request_form > *:not(.wpcf7-response-output) {
    display: none !important;
}
/* Defensywne hide: elementy które mogą "wyciec" wizualnie spod CTA na mobile:
   - screen-reader-response: CF7 default a11y kontener (czasem visible jeśli CF7 plugin CSS nie załadowane)
   - fieldset.hidden-fields-container: zawiera tylko hidden inputs, ale fieldset ma domyślne browser border + padding (groove 2px) — widoczna ramka
   - .website-wrap (honeypot): ma inline style 0×0, ale dla pewności
   Pozostają w DOM (form submit OK), tylko display: none. */
body.page-template-page-requesttour .cf7-hidden-wrapper .screen-reader-response,
body.page-template-page-requesttour .cf7-hidden-wrapper fieldset.hidden-fields-container,
body.page-template-page-requesttour .cf7-hidden-wrapper .wpcf7-form-control-wrap.website-wrap {
    display: none !important;
}
body.page-template-page-requesttour .cf7-hidden-wrapper .wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #DC2626;
    border-radius: 8px;
    color: #DC2626;
    font-size: 14px;
}
/* CF7 renderuje `.wpcf7-response-output` jako pusty `<div aria-hidden="true">` przed submit. Z naszym
   padding + border = widoczny ~40px czerwony box pod CTA. Hide gdy pusty — pojawi się dopiero gdy
   CF7 wypełni go errorem/success'em (`:empty` przestanie matchować). */
body.page-template-page-requesttour .cf7-hidden-wrapper .wpcf7-response-output:empty {
    display: none;
}
body.page-template-page-requesttour .cf7-hidden-wrapper .wpcf7-mail-sent-ok {
    border-color: var(--teal-dark, #2E9B8E);
    color: var(--teal-dark, #2E9B8E);
}

/* Form root card */
body.page-template-page-requesttour .tour-request-form {
    --teal: #4FC3B7;
    --teal-dark: #2E9B8E;
    --teal-bg: #F0FDF9;
    --teal-bg-border: #BEE6E0;
    --orange: #F39200;
    --orange-dark: #D97B00;
    --green: #059669;
    --green-bg: #DCFCE7;
    --green-bg-border: #BBF7D0;
    --ink: #1F2937;
    --ink-soft: #4B5563;
    --line: #E5E7EB;
    --bg-soft: #F8FAFB;
    --required: #DC2626;
    --error: #DC2626;
    --error-bg: #FEF2F2;
    --error-dark: #991B1B;
    font-family: 'Rubik', -apple-system, system-ui, sans-serif;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.tour-request-form__h1 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 8px;
    color: var(--ink);
}
.tour-request-form__intro {
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0 0 20px;
}
.tour-request-form__intro strong { color: var(--ink); }

/* Trust strip */
body.page-template-page-requesttour .trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.trust-strip__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--teal-bg);
    color: var(--teal-dark);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--teal-bg-border);
    line-height: 1.4;
}
.trust-strip__badge svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Section title (Tour details / Your details) */
.form-section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ink-soft);
    margin: 24px 0 14px;
}
.form-section-title:first-child { margin-top: 0; }
/* Trust strip is flex (BFC) → its margin-bottom doesn't collapse with h2 margin-top.
   Without this override, gap below trust-strip border = 24 + 24 = 48px. */
.tour-request-form .trust-strip + .form-section-title { margin-top: 0; }
/* Modifier: horizontal divider above section title (used between Tour details and Your details) */
/* margin-top: 0 — gap above the border is controlled by prev sibling's margin-bottom (BFC siblings block collapse) */
.form-section-title--divided {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-top: 0;
}

/* Form field generic */
.form-field { margin-bottom: 20px; }
.form-field__label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: .01em;
}
.form-field__label-required { color: var(--required); }
.form-field__label-optional { font-weight: 400; color: #9CA3AF; }
.form-field__input {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    width: 100%;
    background: #fff;
    font-size: 15px;
    font-family: inherit;
    color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
.form-field__input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(79, 195, 183, .18);
}
.form-field__input--textarea { resize: vertical; min-height: 84px; }
/* Combobox input start jako readonly (defense vs Chrome autofill) — defaultowy styling readonly
   (szary bg + not-allowed cursor) byłby mylący. Po first focus JS zdejmuje atrybut. */
.combobox__input[readonly] { background: #fff; color: var(--ink); cursor: text; }
/* Placeholdery na inputach + textarea + datalist input — jasno-szary #9CA3AF (slate-400) */
body.page-template-page-requesttour .form-field__input::placeholder { color: #9CA3AF; opacity: 1; }
body.page-template-page-requesttour .form-field__input::-webkit-input-placeholder { color: #9CA3AF; }
body.page-template-page-requesttour .form-field__input::-moz-placeholder { color: #9CA3AF; opacity: 1; }
body.page-template-page-requesttour .form-field__input:-ms-input-placeholder { color: #9CA3AF; }
.form-field__input--select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.form-field__help { font-size: 12px; font-weight: 400; color: var(--ink-soft); margin: 6px 0 0; line-height: 1.4; }
.form-field__help strong { color: var(--ink); }

.form-row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Stepper */
.stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.stepper__btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--ink-soft);
    cursor: pointer;
    transition: background .15s, color .15s;
    font-family: inherit;
    padding: 0;
}
.stepper__btn:hover:not(:disabled) { background: var(--teal-bg); color: var(--teal-dark); }
.stepper__btn:disabled { opacity: .35; cursor: not-allowed; }
.stepper__value {
    min-width: 56px;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    padding: 0 8px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
}

/* Sleeping arrangement radio cards */
.sleeping-options { display: flex; flex-direction: column; gap: 8px; }
.option-card {
    display: flex;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
    background: #fff;
    cursor: pointer;
    transition: all .15s ease;
    position: relative;
    margin: 0;
}
.option-card:hover { border-color: var(--teal); background: var(--teal-bg); }
.option-card--selected {
    border-color: var(--teal);
    background: var(--teal-bg);
    box-shadow: 0 0 0 1px var(--teal);
}
.option-card__radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--line);
    border-radius: 50%;
    display: inline-block;
    margin-right: 12px;
    position: relative;
    margin-top: 2px;
    flex-shrink: 0;
    transition: border-color .15s;
}
.option-card--selected .option-card__radio { border-color: var(--teal); }
.option-card--selected .option-card__radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--teal);
    border-radius: 50%;
}
.option-card__body { flex: 1; }
.option-card__title { font-weight: 500; font-size: 14px; color: var(--ink); line-height: 1.3; }
.option-card__desc { font-size: 12px; font-weight: 400; color: var(--ink-soft); margin-top: 3px; line-height: 1.45; }
.option-card__price strong { color: var(--teal-dark); font-weight: 600; }
.option-card__desc em { font-style: italic; }
.option-card__desc strong { color: var(--teal-dark); }

/* Live summary — premium checkout card (Variant C v2.9) */
.live-summary {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}
.live-summary__header {
    background: var(--teal-bg);
    padding: 12px 24px;
    border-bottom: 1px solid var(--teal-bg-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.live-summary__eyebrow {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--teal-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.live-summary__eyebrow-icon { width: 16px; height: 16px; flex: 0 0 16px; }
.live-summary__currency-select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid var(--teal-bg-border);
    border-radius: 6px;
    padding: 4px 24px 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--teal-dark);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%232E9B8E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1 1 6 6 11 1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 8px 6px;
}
.live-summary__currency-select:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}
.live-summary__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.live-summary__line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
    color: var(--ink-soft);
}
.live-summary__line-label { color: var(--ink-soft); }
.live-summary__line-value { color: var(--ink); font-weight: 500; text-align: right; }
.live-summary__line--label > span { font-weight: 500; color: var(--ink); }
.live-summary__breakdown { display: flex; flex-direction: column; gap: 14px; }
.live-summary__breakdown.hidden { display: none; }
.live-summary__room-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 13px;
    padding-left: 16px;
    margin-top: 6px;
    color: var(--ink-soft);
}
.live-summary__room-line:first-child { margin-top: 0; }
.live-summary__room-line-value { color: var(--ink); font-weight: 500; }
.live-summary__room-line-meta { font-size: 12px; color: var(--ink-soft); font-weight: 400; }
.live-summary__divider { border-top: 1px dashed var(--line); margin: 4px 0; }
.live-summary__total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding-top: 4px;
}
.live-summary__total-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink);
}
.live-summary__total-value { text-align: right; }
.live-summary__price {
    font-size: 36px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.01em;
}
.live-summary__currency {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink-soft);
    margin-left: 4px;
}
.live-summary__price-onrequest {
    font-size: 16px;
    font-weight: 500;
    color: var(--teal-dark);
    font-style: italic;
}
.live-summary__ff-disclaimer {
    margin: 0;
    padding: 12px 24px;
    background: #FEF3C7;
    border-top: 1px solid #FDE68A;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #92400E;
}
.live-summary__ff-disclaimer[hidden] { display: none; }
.live-summary__ff-disclaimer svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; color: #B45309; }
.live-summary__promo {
    padding: 14px 24px 18px;
    border-top: 1px solid var(--line);
    background: #fff;
}
.live-summary__promo-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--teal-dark);
}
.live-summary__promo-trigger svg { width: 14px; height: 14px; flex: 0 0 14px; }
.live-summary__promo-trigger:hover { color: var(--teal); }
.live-summary__promo-trigger:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.live-summary__promo-wrapper {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.live-summary__promo-wrapper.hidden { display: none; }
.live-summary__promo-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    color: var(--ink);
    background: #fff;
}
.live-summary__promo-input:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.live-summary__promo-apply {
    padding: 9px 16px;
    background: var(--teal-dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    flex: 0 0 auto;
}
.live-summary__promo-apply:hover { background: var(--teal); }
.live-summary__promo-apply:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.live-summary__promo-apply:disabled { opacity: 0.6; cursor: wait; }
.live-summary__promo-status {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.4;
}
.live-summary__promo-status[hidden] { display: none; }
.live-summary__promo-status--success { color: var(--teal-dark); font-weight: 500; }
.live-summary__promo-status--error { color: #B91C1C; }

/* Sidebar total + promo HIDDEN (Variant C — moved to live-summary). DOM zostaje (JS hooks). */
.tour-sidebar__price--hidden,
.tour-sidebar__promocode-wrap--hidden { display: none !important; }

/* Country combobox (custom typeahead — datalist zamieniony bo natywny renderował 258 opcji na 100vh) */
.combobox { position: relative; }
.combobox__input { width: 100%; }
.combobox__listbox {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 50;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 280px;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.combobox__listbox[hidden] { display: none; }
.combobox__option,
.combobox__no-results {
    /* Override globalnego main.css `ul li` (margin:3px 0 3px 20px) i `ul li:before` (teal bullet • 28px) */
    margin: 0;
    position: static;
}
.combobox__option::before,
.combobox__no-results::before { content: none; display: none; }
.combobox__option {
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ink);
    cursor: pointer;
    user-select: none;
}
.combobox__option:hover { background: var(--teal-bg); }
.combobox__option--active {
    background: var(--teal-bg);
    color: var(--teal-dark);
}
.combobox__option mark {
    background: transparent;
    color: var(--teal-dark);
    font-weight: 600;
    padding: 0;
}
.combobox__no-results {
    padding: 10px 12px;
    font-size: 13px;
    color: var(--ink-soft);
    font-style: italic;
    list-style: none;
}

/* Consent */
.form-field--consent { margin-top: 8px; }
/* Modifier: horizontal divider above form-field (used between Your details and consent/CTA section) */
/* margin-top: 0 — same reasoning as .form-section-title--divided */
.form-field--divided {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-top: 0;
}
/* Prev sibling of a divider must contribute the 24px gap above the line itself */
.form-row--2col:has(+ .form-field--divided) > .form-field { margin-bottom: 24px; }
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
}
.consent-label__checkbox {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--teal-dark);
    cursor: pointer;
    flex-shrink: 0;
}
.consent-label a { color: var(--teal-dark); text-decoration: underline; font-weight: 500; }
.consent-label a:hover { color: var(--teal); }

/* Privacy reassurance */
.form-privacy {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ink-soft);
    margin: 16px 0 20px;
}
.form-privacy svg { width: 16px; height: 16px; color: var(--teal-dark); flex-shrink: 0; }

/* CTA */
.form-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
}
.form-cta__email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ink-soft);
}
.form-cta__email svg { width: 16px; height: 16px; color: var(--teal-dark); }
.form-cta__email a { color: var(--teal-dark); font-weight: 500; text-decoration: underline; }
.form-cta__email a:hover { color: var(--teal); }

/* .btn-primary scoped do new formularza (nie wycieka na legacy Bootstrap .btn-primary CF7 submit) */
body.page-template-page-requesttour:has(.tour-sidebar) .btn-primary {
    background: var(--orange);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .15s, box-shadow .15s, transform .1s;
    font-family: inherit;
    text-decoration: none;
}
body.page-template-page-requesttour:has(.tour-sidebar) .btn-primary:hover { background: var(--orange-dark); box-shadow: 0 8px 24px rgba(243, 146, 0, .25); color: #fff; }
body.page-template-page-requesttour:has(.tour-sidebar) .btn-primary:active { transform: translateY(1px); }
body.page-template-page-requesttour:has(.tour-sidebar) .btn-primary:disabled { opacity: .6; cursor: not-allowed; }
body.page-template-page-requesttour:has(.tour-sidebar) .btn-primary--loading { opacity: .7; cursor: wait; }
body.page-template-page-requesttour:has(.tour-sidebar) .btn-primary svg { width: 18px; height: 18px; }

.form-required-note {
    font-size: 12px;
    color: var(--ink-soft);
    margin: 12px 0 0;
}

/* What happens next timeline */
.next-timeline {
    margin-top: 40px;
    padding: 22px 26px;
    background: #F0FDF9;
    border: 1px solid #BEE6E0;
    border-radius: 12px;
}
.next-timeline__title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #2E9B8E;
    margin-bottom: 14px;
}
.next-timeline__step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #BEE6E0;
}
.next-timeline__step:first-child { padding-top: 0; }
.next-timeline__step:last-child { border-bottom: 0; padding-bottom: 0; }
.next-timeline__num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #4FC3B7;
    color: #2E9B8E;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.next-timeline__step-title { font-weight: 500; font-size: 14px; color: #1F2937; margin-bottom: 3px; line-height: 1.3; }
.next-timeline__step-desc { font-size: 13px; font-weight: 400; color: #4B5563; line-height: 1.5; }
.next-timeline__step-fallback { font-size: 12px; font-weight: 400; font-style: italic; color: #6B7280; line-height: 1.5; margin-top: 5px; }
.next-timeline__step-fallback a { color: #2E9B8E; text-decoration: underline; }
.next-timeline__step-fallback a:hover { color: #4FC3B7; }

/* ===========================================================================
   ETAP 3 — Polish UX (step indicator, tooltips, F&F dynamic, sleeping states)
   =========================================================================== */

/* Step indicator (nad formularzem) */
body.page-template-page-requesttour .step-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 18px;
    color: var(--ink-soft, #4B5563);
}
/* --full: pełna szerokość containera, NAD .row z formularz+sidebar (poza col-md-*) */
body.page-template-page-requesttour .step-indicator--full {
    margin: 0 0 24px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--line, #E5E7EB);
    border-radius: 12px;
}
.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--line, #E5E7EB);
    background: #fff;
    color: var(--ink-soft, #4B5563);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}
.step-dot svg { width: 14px; height: 14px; }
.step-dot--done { border-color: var(--teal, #4FC3B7); background: var(--teal, #4FC3B7); color: #fff; }
.step-dot--current { border-color: var(--teal, #4FC3B7); color: var(--teal-dark, #2E9B8E); }
.step-line { flex: 1; height: 2px; background: var(--line, #E5E7EB); min-width: 12px; }
.step-line--active { background: var(--teal, #4FC3B7); }
.step-label--active { color: var(--teal-dark, #2E9B8E); font-weight: 500; }

/* Tooltips (sleeping cards + sidebar reassure) */
.option-card__title-row {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: transparent;
    color: var(--ink-soft, #4B5563);
    margin-left: 2px;
    cursor: help;
    border: 0;
    padding: 0;
    position: relative;
    transition: color .15s;
    vertical-align: middle;
}
.tooltip-trigger:hover,
.tooltip-trigger:focus { color: var(--teal-dark, #2E9B8E); outline: none; }
.tooltip-trigger svg { width: 16px; height: 16px; pointer-events: none; }
.tooltip-trigger--sidebar { width: 16px; height: 16px; }
.tooltip-trigger--sidebar svg { width: 14px; height: 14px; }
.tooltip-content {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink, #1F2937);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    padding: 10px 12px;
    border-radius: 8px;
    width: 260px;
    line-height: 1.45;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
}
.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--ink, #1F2937);
}
.tooltip-content strong { color: #fff; font-weight: 500; }
.tooltip-trigger:hover .tooltip-content,
.tooltip-trigger:focus .tooltip-content,
.tooltip-trigger--active .tooltip-content {
    opacity: 1;
    pointer-events: auto;
}

/* Sleeping option-card hidden state (Triple gdy travelers !== 3) */
.option-card.hidden { display: none; }
/* Sleeping section hidden state (gdy travelers === 1) */
#ui-sleeping-section.hidden { display: none; }
/* Expandable notes field — wrapper collapsed by default */
#ui-notes-wrapper.hidden { display: none; }

/* Expandable notes — toggle button (collapsed state under "Anything you'd like us to know?") */
.tour-request-form__notes-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    background: none;
    border: 0;
    padding: 0;
    margin: 0 0 24px;
    font-size: 14px;
    font-weight: 400;
    color: var(--teal-dark);
    text-align: left;
    cursor: pointer;
}
.tour-request-form__notes-toggle:hover { color: var(--teal); }
.tour-request-form__notes-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 2px; }
.tour-request-form__notes-toggle-icon svg { width: 16px; height: 16px; display: block; }

/* F&F Saver — sidebar dynamic highlight (travelers ≥ 4) */
.reassure-item.reassure-item--highlighted {
    background: #FEF9E7;
    border-radius: 8px;
    padding: 12px;
    margin: 4px -4px;
    border: 1px solid #F5D76E;
}
/* F&F price disclaimer (amber, pod estimated total, hidden gdy travelers < 4) */
.tour-sidebar__price-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
    color: #92400E;
    margin: 10px 0 0;
    padding: 8px 10px;
    background: #FEF9E7;
    border-radius: 6px;
    line-height: 1.4;
}
.tour-sidebar__price-disclaimer svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }
.tour-sidebar__price-disclaimer[hidden] { display: none; }

/* Override browser default <strong> (700) — Rubik 700 wygląda za mocno vs mockup Inter.
   Scoped do custom UI Etap 1+2+3 (NIE wpływa na resztę motywu). */
body.page-template-page-requesttour .tour-request-form strong,
body.page-template-page-requesttour .tour-sidebar strong,
body.page-template-page-requesttour .next-timeline strong,
body.page-template-page-requesttour .tour-review-card strong,
body.page-template-page-requesttour .step-indicator strong,
body.page-template-page-requesttour .tooltip-content strong {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 991px) {
    body.page-template-page-requesttour .tour-sidebar {
        position: static;
        top: auto;
        margin-top: 24px;
    }
    body.page-template-page-requesttour .tour-request-form { padding: 20px 18px; }
    .tour-request-form__h1 { font-size: 24px; }
    .form-row--2col { grid-template-columns: 1fr; }
    .form-cta { flex-direction: column; align-items: stretch; }
    .form-cta__email { justify-content: center; }
    .btn-primary { justify-content: center; }
    .live-summary__body { padding: 20px; }
    .live-summary__header { padding: 10px 20px; }
    .live-summary__price { font-size: 32px; }
    .live-summary__ff-disclaimer { padding: 12px 20px; }
    .live-summary__promo { padding: 14px 20px 18px; }
    .step-indicator { flex-wrap: wrap; gap: 8px; font-size: 12px; }
    .step-indicator .step-line { display: none; }
    .tooltip-content { width: 200px; }
}

/* ===== Validation error states (Task 8 — 2026-05-19) ===== */

.form-field--invalid .form-field__input,
.form-field--invalid .combobox__input {
    border-color: var(--error);
    background-color: var(--error-bg);
}

.form-field--invalid .form-field__input:focus,
.form-field--invalid .combobox__input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.form-field--invalid .form-field__label {
    color: var(--error-dark);
}

.form-field__error {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--error);
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.form-field__error::before {
    content: "⚠";
    font-size: 14px;
    line-height: 1.4;
    flex-shrink: 0;
}

.form-field--consent.form-field--invalid .consent-label {
    color: var(--error-dark);
}

.form-field--consent.form-field--invalid .consent-label__checkbox {
    outline: 2px solid var(--error);
    outline-offset: 2px;
}

/* ===== Email typo suggestion (mailcheck.js) ===== */

.form-field__suggest {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink-soft);
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
}

/* Placeholder state — slot zawsze widoczny od page load ("Please double-check your email"),
   visualnie lżejszy żeby nie konkurować z helpem ("We'll reply here..."). Gdy mailcheck wykryje
   TLD typo, klasa --placeholder znika i wraca standardowy styl + przycisk. */
.form-field__suggest--placeholder {
    color: var(--ink-soft);
    font-style: italic;
    opacity: 0.75;
}

.form-field__suggest-btn {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    color: var(--teal-dark);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.form-field__suggest-btn:hover,
.form-field__suggest-btn:focus {
    color: var(--teal);
    outline: none;
    text-decoration: none;
}

.form-field__suggest-btn:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ===== Discount presentation (spec 2026-05-20-discount-presentation-design.md) ===== */

/* Date select — discounted option styling celowo POMINIĘTE:
   natywne <option> nie pozwala stylować PARTII tekstu (cała opcja bierze jeden styl).
   jQuery UI Selectmenu rozwiązuje to ale łamie nasze form-field styling (default theme +
   width:auto). Pragmatyczny wybór: zostawiamy plain text "(date) (-X%)" w opcji, sufiks
   widoczny jako informacja, bez kolorystyki — i tak gate'owany discount renderuje
   pełnokolorowy badge w live-summary po prawej. */

/* Option cards — struck old + bold green new per-person */
.option-card__price-old {
    color: var(--ink-soft);
    font-weight: 400;
    text-decoration: line-through;
    margin-right: 4px;
}
.option-card__price-new {
    color: var(--green);
    font-weight: 600;
}

/* Live-summary total — struck old NAD ceną total, badge POD ceną total (user feedback 2026-05-20).
   Cena total używa `.live-summary__price` (36px default, niezmieniona). */
.live-summary__discount-stack {
    display: block;
}
.live-summary__total-old {
    display: block;
    color: var(--ink-soft);
    font-weight: 400;
    text-decoration: line-through;
    font-size: 16px;
}
.live-summary__discount-badge {
    display: block;
    background-color: #007bff;
    color: #fff;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    width: fit-content;
    margin-left: auto; /* right-align pod text-align: right kontenerem .live-summary__total-value */
}

/* Omnibus 30-day low row — pod total, italic gray */
.live-summary__omnibus {
    margin: 4px 0 0;
    padding: 0;
    font-size: 12px;
    font-style: italic;
    color: var(--ink-soft);
    line-height: 1.4;
}

/* Mobile fallback dla długich Omnibus tekstów (PL/DE/RU mogą wrap-ować) */
@media (max-width: 480px) {
    .live-summary__omnibus {
        font-size: 11px;
        line-height: 1.35;
    }
}

/* ===========================================================================
   MOBILE BREAKPOINT — max-width: 767px
   Spec: docs/superpowers/specs/2026-05-XX-request-form-mobile-v1.6.html
   Strategia: display:contents flatten kolumn + flex order na .row; sticky bar; compact tour card.
   =========================================================================== */

/* Desktop defaults — ukryj mobile-only elementy */
.tour-request-form__mobile-tour { display: none; }
.tour-request-form__mobile-tour-label { display: none; }
.sp-sticky-bar { display: none; }

@media (max-width: 767px) {
    body.page-template-page-requesttour:has(.tour-request-form) .main_single_tour_section_pad .row {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-left: 0;
        margin-right: 0;
    }
    /* Bootstrap .row ma `::before` + `::after` clearfix — jako flex items zżerają 2× gap (~32px dead space). */
    body.page-template-page-requesttour:has(.tour-request-form) .main_single_tour_section_pad .row::before,
    body.page-template-page-requesttour:has(.tour-request-form) .main_single_tour_section_pad .row::after {
        display: none;
    }
    /* Flatten obu kolumn — children stają się flex items .row, można je reorderować przez `order:`. */
    body.page-template-page-requesttour:has(.tour-request-form) .main_single_tour_section_pad .row > .col-md-8.form_page,
    body.page-template-page-requesttour:has(.tour-request-form) .main_single_tour_section_pad .row > .col-md-4 {
        display: contents;
    }
    body.page-template-page-requesttour:has(.tour-request-form) .tour-sidebar,
    body.page-template-page-requesttour:has(.tour-request-form) .tour-sidebar__card {
        display: contents;
    }

    /* Hide elementów niepotrzebnych na mobile (trust strip, label sidebar, full hero, hidden price/promo) */
    body.page-template-page-requesttour:has(.tour-request-form) .trust-strip,
    body.page-template-page-requesttour:has(.tour-request-form) .tour-sidebar__label,
    body.page-template-page-requesttour:has(.tour-request-form) .tour-sidebar__hero-image,
    body.page-template-page-requesttour:has(.tour-request-form) .tour-sidebar__hero-info {
        display: none;
    }
    /* .tour-sidebar__price / .tour-sidebar__promocode-wrap zawsze renderują się z `--hidden` modifierem
       (page-requesttour.php:699/714) który już ma `display: none !important` (desktop CSS:831). Cascade działa. */

    /* Reorder przez flex `order` — flatten children .row */
    body.page-template-page-requesttour:has(.tour-request-form) .tour-request-form__mobile-tour-label { order: 1; display: block; }
    body.page-template-page-requesttour:has(.tour-request-form) .tour-request-form__mobile-tour       { order: 2; display: flex; }
    body.page-template-page-requesttour:has(.tour-request-form) .tour-request-form         { order: 3; }
    body.page-template-page-requesttour:has(.tour-request-form) .tour-sidebar__reassure    { order: 4; }
    body.page-template-page-requesttour:has(.tour-request-form) .warsaw-office-card        { order: 5; }
    body.page-template-page-requesttour:has(.tour-request-form) .next-timeline             { order: 6; margin-top: 0; }
    body.page-template-page-requesttour:has(.tour-request-form) .tour-review-card          { order: 7; margin-top: 0; }
    body.page-template-page-requesttour:has(.tour-request-form) .extensions_request        { order: 8; margin-top: 0; }

    /* Label "Your selected tour" — 1:1 z desktopowym `.tour-sidebar__label` (12px, 600, uppercase, teal-dark).
       Margin 0 — .row `gap: 16px` zapewnia symetryczny odstęp góra (od step-bar) i dół (od compact card). */
    .tour-request-form__mobile-tour-label {
        font-family: 'Rubik', -apple-system, system-ui, sans-serif;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: #2E9B8E;
        margin: 0;
    }

    /* Horizontal scroll fix — step-indicator full-bleed (width: 100vw + negative margins) lub Bootstrap
       row negative margins mogą wystawać poza viewport na niektórych urządzeniach. overflow-x: hidden
       na body scoped do template — nie wpływa na inne strony. clip zamiast hidden = brak scroll context
       (nie psuje position: sticky / fixed). Fallback hidden dla starszych Safari. */
    html, body.page-template-page-requesttour {
        overflow-x: clip;
        overflow-x: hidden;
    }

    /* Form fields — równe 20px odstępy wszędzie na mobile.
       Defaults: .form-field margin-bottom 20px (single); .form-row--2col grid gap 16px (desktop 2-col).
       Na mobile (grid 1fr column) gap 16 + field margin 20 = 36px między rows w 2col, vs 20 między
       single fields → wizualnie nierówne. Reset: gap 20px + field margin 0 w 2col + own row margin-bottom 20. */
    body.page-template-page-requesttour .tour-request-form .form-row--2col { gap: 20px; margin-bottom: 20px; }
    body.page-template-page-requesttour .tour-request-form .form-row--2col > .form-field { margin-bottom: 0; }
    /* `:has(+ .form-field--divided)` desktop podbija field mb na 24px dla border separator — na mobile zerujemy,
       .form-field--divided ma własny padding-top: 24px który tworzy separator nad consent. */
    body.page-template-page-requesttour .tour-request-form .form-row--2col:has(+ .form-field--divided) > .form-field { margin-bottom: 0; }

    /* Compact selected-tour card (top, spec sek. 2) */
    .tour-request-form__mobile-tour {
        gap: 12px;
        align-items: center;
        background: #fff;
        border: 1px solid var(--line, #E5E7EB);
        border-radius: 12px;
        padding: 12px 14px;
        box-shadow: 0 1px 2px rgba(0,0,0,.04);
        font-family: 'Rubik', -apple-system, system-ui, sans-serif;
        color: #1F2937;
    }
    .tour-request-form__mobile-tour-thumb {
        flex-shrink: 0;
        width: 72px;
        height: 72px;
        border-radius: 8px;
        background-size: cover;
        background-position: center;
        background-color: #e6e6e6;
        display: block;
    }
    .tour-request-form__mobile-tour-body { flex: 1; min-width: 0; }
    /* Cat-title — spójny z desktopowym `.tour-sidebar__cat-title` (uppercase, .06em, inherit color = ink, default weight) */
    .tour-request-form__mobile-tour-cat {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: #1F2937;
        font-weight: 400;
        margin: 0 0 4px;
    }
    /* Title — spójny z desktopowym `.tour-sidebar__title` (weight 500, line-height 1.3, ink); rozmiar 16px (desktop 18px, dostosowany do 72×72 layout) */
    .tour-request-form__mobile-tour-title {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.3;
        color: #1F2937;
        margin: 0 0 6px;
        /* 2-line clamp żeby długie tytuły nie pchały meta */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .tour-request-form__mobile-tour-meta {
        font-size: 13px;
        color: #4B5563;
        margin: 0;
        display: flex;
        gap: 6px;
        align-items: center;
        flex-wrap: wrap;
    }

    /* Form card — tighter padding na mobile */
    body.page-template-page-requesttour .tour-request-form { padding: 18px 16px; border-radius: 12px; }
    .tour-request-form__h1 { font-size: 22px; }
    .tour-request-form__intro { font-size: 14px; }

    /* Standalone cards dla reassure + warsaw (na desktop były inside .tour-sidebar__card stacked, na mobile flat) */
    body.page-template-page-requesttour:has(.tour-request-form) .tour-sidebar__reassure {
        padding: 8px 18px 14px;
        background: #fff;
        border: 1px solid var(--line, #E5E7EB);
        border-radius: 12px;
        border-bottom: 1px solid var(--line, #E5E7EB); /* override desktop "no border-bottom" — tu pełny border */
        box-shadow: 0 1px 2px rgba(0,0,0,.04);
    }
    body.page-template-page-requesttour:has(.tour-request-form) .warsaw-office-card {
        padding: 16px 18px;
        border: 1px solid #BEE6E0;
        border-radius: 12px;
        border-bottom: 1px solid #BEE6E0;
        box-shadow: 0 1px 2px rgba(0,0,0,.04);
    }
    body.page-template-page-requesttour:has(.tour-request-form) .next-timeline {
        padding: 18px 18px;
    }
    body.page-template-page-requesttour:has(.tour-request-form) .tour-review-card {
        padding: 18px 18px;
    }

    /* Inputs — font-size 16px anty-zoom iOS Safari */
    body.page-template-page-requesttour .form-field__input,
    body.page-template-page-requesttour .form-field__input--textarea,
    body.page-template-page-requesttour .combobox__input,
    body.page-template-page-requesttour .live-summary__promo-input {
        font-size: 16px;
    }

    /* Touch targets — stepper 48×48 (spec sek. Touch targets), consent checkbox 22, notes/promo trigger 44 min-height */
    body.page-template-page-requesttour .stepper__btn { width: 48px; height: 48px; }
    body.page-template-page-requesttour .stepper__value { height: 48px; }
    body.page-template-page-requesttour .consent-label__checkbox { width: 22px; height: 22px; }
    body.page-template-page-requesttour .tour-request-form__notes-toggle { min-height: 44px; }
    body.page-template-page-requesttour:has(.tour-sidebar) .btn-primary { min-height: 48px; width: 100%; justify-content: center; }
    /* tooltip-trigger tap area — sam SVG 18, pad zwiększa do >44 (cardy są klikalne, ale `?` osobno) */
    body.page-template-page-requesttour .tooltip-trigger { padding: 8px; margin: -8px -8px -8px 0; }

    /* Sticky bottom bar */
    .sp-sticky-bar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9000;
        background: #fff;
        border-top: 1px solid #E5E7EB;
        box-shadow: 0 -4px 16px rgba(0,0,0,.08);
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        font-family: 'Rubik', -apple-system, system-ui, sans-serif;
        transform: translateY(0);
        transition: transform .2s ease, opacity .2s ease;
        opacity: 1;
    }
    .sp-sticky-bar[hidden],
    .sp-sticky-bar.sp-sticky-bar--hidden {
        transform: translateY(110%);
        opacity: 0;
        pointer-events: none;
    }
    .sp-sticky-bar__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    .sp-sticky-bar__info {
        display: flex;
        flex-direction: column;
        min-width: 0;
        flex: 1;
    }
    .sp-sticky-bar__price {
        font-size: 18px;
        font-weight: 600;
        color: #1F2937;
        line-height: 1.1;
    }
    .sp-sticky-bar__meta {
        font-size: 11px;
        color: #4B5563;
        text-transform: uppercase;
        letter-spacing: .04em;
        font-weight: 500;
        margin-top: 2px;
    }
    .sp-sticky-bar__cta {
        flex-shrink: 0;
        background: #F39200;
        color: #fff;
        border: 0;
        border-radius: 8px;
        min-height: 48px;
        padding: 0 18px;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: inherit;
        transition: background .15s;
    }
    .sp-sticky-bar__cta:hover,
    .sp-sticky-bar__cta:active { background: #D97B00; color: #fff; }
    .sp-sticky-bar__cta svg { width: 16px; height: 16px; }

    /* Bottom padding na body — sticky bar (~72px) nie zakrywa ostatniej treści (footer / review) */
    body.page-template-page-requesttour { padding-bottom: 88px; }
    /* Step indicator pełnej szerokości (full-bleed) — przylega do headera, border-top/bottom oddziela.
       margin: 0 calc(50% - 50vw) + width 100vw to klasyczny full-bleed trick — wykracza poza container padding. */
    body.page-template-page-requesttour .step-indicator--full {
        margin: 0 calc(50% - 50vw) 16px;
        width: 100vw;
        padding: 10px 16px;
        background: #fff;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        border-top: 1px solid var(--line, #E5E7EB);
        border-bottom: 1px solid var(--line, #E5E7EB);
        font-size: 12px;
        gap: 6px;
    }
    /* Reset page-section padding-top żeby step-bar przylegał do headera (bez przerwy) */
    body.page-template-page-requesttour .main_single_tour_section { padding-top: 0; }

    /* Mniejsze kółka (22x22 z desktopowych 28x28) */
    body.page-template-page-requesttour .step-dot { width: 22px; height: 22px; font-size: 11px; border-width: 2px; }
    body.page-template-page-requesttour .step-dot svg { width: 12px; height: 12px; }

    /* Restore linie między etapami — tablet @media 991 ukrywa je, na mobile chcemy widoczne (per mockup v1.6) */
    body.page-template-page-requesttour .step-indicator .step-line {
        display: block;
        flex: 1;
        height: 2px;
        min-width: 8px;
        background: var(--line, #E5E7EB);
    }
    body.page-template-page-requesttour .step-indicator .step-line--active {
        background: var(--teal, #4FC3B7);
    }

    /* Ukryj wszystkie labelki poza current — kompaktowy bar (mockup pokazuje tylko "Send inquiry") */
    body.page-template-page-requesttour .step-indicator .step-label:not(.step-label--active) { display: none; }
    body.page-template-page-requesttour .step-indicator .step-label--active {
        font-weight: 600;
        color: var(--teal-dark, #2E9B8E);
        white-space: nowrap;
        font-size: 12px;
    }

    /* Live summary — tighten paddings + price size */
    .live-summary__header { padding: 10px 16px; }
    .live-summary__body { padding: 18px 16px; }
    .live-summary__ff-disclaimer { padding: 10px 16px; font-size: 12px; }
    .live-summary__promo { padding: 12px 16px 16px; }
    .live-summary__price { font-size: 28px; }
}
