/* =====================================================
   FIRSTMYTRIP HOLIDAY BUILDER V3
===================================================== */

body.fmt-holidays-page {
    margin: 0 !important;
    overflow-x: hidden;
    background: #f7fbff;
}

body.fmt-holidays-page #page,
body.fmt-holidays-page .site,
body.fmt-holidays-page .site-content,
body.fmt-holidays-page .content-area,
body.fmt-holidays-page .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.fmt-holiday-page,
.fmt-holiday-page * {
    box-sizing: border-box;
}

.fmt-holiday-page {
    --holiday-blue: #0878f9;
    --holiday-blue-dark: #0065e7;
    --holiday-navy: #072c59;
    --holiday-text: #294966;
    --holiday-muted: #74889c;
    --holiday-border: #d7e6f4;
    --holiday-light: #f2f9ff;
    --holiday-white: #ffffff;
    width: 100%;
    margin: 0;
    overflow: hidden;
    color: var(--holiday-text);
    background: #ffffff;
    font-family: Manrope, Arial, sans-serif;
}

.fmt-holiday-page button,
.fmt-holiday-page input,
.fmt-holiday-page select,
.fmt-holiday-page textarea {
    font-family: inherit;
}

.fmt-holiday-page button {
    cursor: pointer;
}

.fmt-holiday-page .fmt-container {
    width: min(1450px, calc(100% - 48px));
    max-width: 1450px;
    margin: 0 auto;
}


/* =====================================================
   HERO — LOCKED DESIGN
===================================================== */

.fmt-holiday-hero-v2 {
    position: relative;
    min-height: 400px;
    padding: 51px 0 88px;
    overflow: hidden;
    background-color: #e9f8ff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.fmt-holiday-hero-v2::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(245,252,255,.95) 0%,
        rgba(242,251,255,.84) 31%,
        rgba(235,249,255,.25) 57%,
        rgba(231,247,255,.02) 100%
    );
}

.fmt-holiday-hero-content {
    width: min(660px, 48%);
}

.fmt-holiday-eyebrow {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #285988;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
}

.fmt-holiday-eyebrow i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--holiday-blue);
}

.fmt-holiday-hero-content h1 {
    margin: 0;
    color: var(--holiday-navy);
    font-size: clamp(48px, 4.4vw, 69px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.055em;
}

.fmt-holiday-hero-content h1 strong {
    color: var(--holiday-blue);
}

.fmt-holiday-hero-content > p {
    max-width: 530px;
    margin: 16px 0 0;
    color: #23466b;
    font-size: 18px;
    line-height: 1.4;
}

.fmt-holiday-hero-actions {
    margin-top: 23px;
    display: flex;
    gap: 12px;
}

.fmt-holiday-primary-btn,
.fmt-holiday-secondary-btn {
    min-width: 205px;
    min-height: 51px;
    padding: 0 24px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: .22s ease;
}

.fmt-holiday-primary-btn {
    border: 1px solid var(--holiday-blue);
    color: #fff;
    background: linear-gradient(135deg,#006ce9,#169cff);
    box-shadow: 0 13px 27px rgba(0,105,232,.27);
}

.fmt-holiday-secondary-btn {
    border: 1px solid #7bb8fa;
    color: #0871eb;
    background: rgba(255,255,255,.92);
}

.fmt-holiday-primary-btn:hover,
.fmt-holiday-secondary-btn:hover {
    transform: translateY(-2px);
}

.fmt-holiday-hero-benefits {
    max-width: 650px;
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.fmt-holiday-hero-benefits > div {
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.fmt-holiday-hero-benefits > div:first-child {
    padding-left: 0;
}

.fmt-holiday-hero-benefits > div + div {
    border-left: 1px solid rgba(68,121,168,.25);
}

.fmt-holiday-hero-benefits > div > span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: var(--holiday-blue);
    background: rgba(226,244,255,.95);
    font-weight: 900;
}

.fmt-holiday-hero-benefits p,
.fmt-holiday-hero-benefits strong,
.fmt-holiday-hero-benefits small {
    margin: 0;
    display: block;
}

.fmt-holiday-hero-benefits strong {
    color: var(--holiday-navy);
    font-size: 9px;
}

.fmt-holiday-hero-benefits small {
    margin-top: 2px;
    color: #63819b;
    font-size: 7px;
}


/* =====================================================
   FLOATING SEARCH
===================================================== */

.fmt-holiday-quick-search {
    position: relative;
    z-index: 30;
    height: 0;
}

.fmt-holiday-search-bar {
    min-height: 91px;
    padding: 10px;
    border: 1px solid rgba(190,216,239,.95);
    border-radius: 21px;
    display: grid;
    grid-template-columns:
        minmax(200px,1.15fr)
        minmax(185px,.95fr)
        minmax(180px,.95fr)
        minmax(190px,1fr)
        210px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 25px 55px rgba(8,68,124,.18);
    transform: translateY(-50%);
}

.fmt-holiday-search-field {
    position: relative;
    min-width: 0;
    padding: 13px 13px 10px 53px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fmt-holiday-search-field + .fmt-holiday-search-field {
    border-left: 1px solid var(--holiday-border);
}

.fmt-search-field-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--holiday-blue);
    background: #e7f4ff;
    font-weight: 900;
    transform: translateY(-50%);
}

.fmt-holiday-search-field > label {
    margin-bottom: 5px;
    color: #7890a5;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fmt-holiday-search-field input {
    width: 100%;
    height: 27px;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--holiday-navy);
    background: transparent;
    font-size: 13px;
    font-weight: 900;
}

.fmt-holiday-find-button {
    min-height: 69px;
    padding: 0 21px;
    border: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: #fff;
    background: linear-gradient(135deg,#0068e8,#1199ff);
    box-shadow: 0 12px 27px rgba(0,105,232,.27);
    font-size: 13px;
    font-weight: 900;
}

.fmt-holiday-suggestions {
    position: absolute;
    z-index: 150;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 8px;
    border: 1px solid var(--holiday-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 50px rgba(8,48,86,.2);
}

.fmt-holiday-suggestions.is-open {
    display: block;
}

.fmt-holiday-suggestion-item {
    width: 100%;
    min-height: 47px;
    padding: 8px 10px;
    border: 0;
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--holiday-navy);
    background: #fff;
    text-align: left;
}

.fmt-holiday-suggestion-item:hover {
    color: var(--holiday-blue);
    background: #edf7ff;
}

.fmt-holiday-suggestion-item > span {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: var(--holiday-blue);
    background: #e8f4ff;
}

.fmt-holiday-suggestion-item strong,
.fmt-holiday-suggestion-item small {
    display: block;
}

.fmt-holiday-suggestion-item strong {
    font-size: 11px;
}

.fmt-holiday-suggestion-item small {
    margin-top: 2px;
    color: var(--holiday-muted);
    font-size: 8px;
}


/* Traveller popup */

.fmt-holiday-traveller-button {
    width: 100%;
    height: 30px;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--holiday-navy);
    background: transparent;
    text-align: left;
}

.fmt-holiday-traveller-button strong,
.fmt-holiday-traveller-button small {
    display: block;
}

.fmt-holiday-traveller-button strong {
    font-size: 13px;
    font-weight: 900;
}

.fmt-holiday-traveller-button small {
    margin-top: 2px;
    color: #8498aa;
    font-size: 7px;
}

.fmt-holiday-traveller-popup {
    position: absolute;
    z-index: 160;
    top: calc(100% + 10px);
    left: 0;
    width: 285px;
    display: none;
    padding: 15px;
    border: 1px solid var(--holiday-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 23px 55px rgba(7,48,87,.2);
}

.fmt-holiday-traveller-popup.is-open {
    display: block;
}

.fmt-holiday-counter {
    padding: 11px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fmt-holiday-counter + .fmt-holiday-counter {
    border-top: 1px solid #e8eff6;
}

.fmt-holiday-counter strong,
.fmt-holiday-counter small {
    display: block;
}

.fmt-holiday-counter strong {
    color: var(--holiday-navy);
    font-size: 11px;
}

.fmt-holiday-counter small {
    margin-top: 3px;
    color: var(--holiday-muted);
    font-size: 8px;
}

.fmt-counter-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fmt-counter-controls button {
    width: 29px;
    height: 29px;
    padding: 0;
    border: 1px solid #cbddec;
    border-radius: 8px;
    color: var(--holiday-blue);
    background: #fff;
    font-size: 16px;
    font-weight: 900;
}

.fmt-counter-controls span {
    min-width: 17px;
    color: var(--holiday-navy);
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

.fmt-holiday-traveller-done {
    width: 100%;
    min-height: 37px;
    margin-top: 9px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--holiday-blue);
    font-size: 10px;
    font-weight: 900;
}


/* =====================================================
   BUILDER LAYOUT
===================================================== */

.fmt-holiday-builder {
    padding: 92px 0 52px;
    background:
        radial-gradient(circle at 50% 0,rgba(225,243,255,.75),transparent 35%),
        #fff;
}

.fmt-holiday-builder-heading {
    margin-bottom: 22px;
    text-align: center;
}

.fmt-holiday-builder-heading h2 {
    margin: 0;
    color: var(--holiday-navy);
    font-size: 39px;
    font-weight: 900;
    letter-spacing: -.045em;
}

.fmt-holiday-builder-heading h2 strong {
    color: var(--holiday-blue);
}

.fmt-holiday-builder-heading p {
    margin: 7px 0 0;
    color: #59748d;
    font-size: 13px;
}

.fmt-holiday-builder-layout {
    display: grid;
    grid-template-columns: minmax(0,1.18fr) minmax(390px,.82fr);
    align-items: start;
    gap: 19px;
}

.fmt-itinerary-editor,
.fmt-itinerary-preview {
    border: 1px solid #dbe8f3;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 15px 38px rgba(11,59,101,.09);
}

.fmt-itinerary-editor {
    min-width: 0;
    padding: 19px;
}


/* =====================================================
   FIVE STEPS
===================================================== */

.fmt-itinerary-steps {
    margin-bottom: 15px;
    display: grid;
    grid-template-columns: repeat(5,1fr);
}

.fmt-itinerary-steps button {
    min-width: 0;
    min-height: 38px;
    padding: 4px;
    border: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #60788f;
    background: transparent;
    font-size: 9px;
    font-weight: 800;
}

.fmt-itinerary-steps button b {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #466783;
    background: #edf3f8;
}

.fmt-itinerary-steps button.is-active {
    color: var(--holiday-blue);
}

.fmt-itinerary-steps button.is-active b {
    color: #fff;
    background: var(--holiday-blue);
    box-shadow: 0 7px 15px rgba(8,120,249,.22);
}

.fmt-wizard-panel {
    padding: 16px;
    border: 1px solid #dce8f2;
    border-radius: 14px;
    background: linear-gradient(145deg,#f9fcff,#f1f8fe);
}

.fmt-wizard-panel[hidden] {
    display: none !important;
}

.fmt-wizard-panel-heading {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.fmt-wizard-panel-heading span {
    display: block;
    margin-bottom: 4px;
    color: var(--holiday-blue);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
}

.fmt-wizard-panel-heading h3 {
    margin: 0;
    color: var(--holiday-navy);
    font-size: 18px;
    font-weight: 900;
}

.fmt-wizard-panel-heading > small {
    color: var(--holiday-muted);
    font-size: 8px;
}


/* =====================================================
   STEP 1 — MULTI-CITY
===================================================== */

.fmt-trip-mode-selector {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.fmt-trip-mode-selector > span {
    color: #506d86;
    font-size: 8px;
    font-weight: 900;
}

.fmt-trip-mode-selector > div {
    display: flex;
    gap: 7px;
}

.fmt-trip-mode-selector input {
    position: absolute;
    opacity: 0;
}

.fmt-trip-mode-selector b {
    min-height: 38px;
    padding: 0 17px;
    border: 1px solid #d4e2ed;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    color: #526d84;
    background: #fff;
    font-size: 9px;
    cursor: pointer;
}

.fmt-trip-mode-selector input:checked + b {
    border-color: #58a5fa;
    color: var(--holiday-blue);
    background: #eaf5ff;
    box-shadow: inset 0 0 0 1px rgba(8,120,249,.08);
}

.fmt-multicity-routes {
    display: grid;
    gap: 9px;
}

.fmt-city-route {
    min-height: 72px;
    padding: 9px;
    border: 1px solid #d7e5f0;
    border-radius: 11px;
    display: grid;
    grid-template-columns: 32px minmax(160px,1.4fr) minmax(125px,.7fr) 32px;
    align-items: end;
    gap: 10px;
    background: #fff;
}

.fmt-city-order {
    width: 30px;
    height: 30px;
    margin-bottom: 4px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--holiday-blue);
    font-size: 10px;
    font-weight: 900;
}

.fmt-city-route label > span,
.fmt-builder-main-fields label > span,
.fmt-room-preferences label > span,
.fmt-special-request-field > span {
    display: block;
    margin-bottom: 6px;
    color: #506d86;
    font-size: 8px;
    font-weight: 800;
}

.fmt-city-route select,
.fmt-builder-main-fields input,
.fmt-builder-main-fields select,
.fmt-room-preferences select,
.fmt-special-request-field textarea {
    width: 100%;
    border: 1px solid #d3e2ee;
    border-radius: 9px;
    outline: 0;
    color: var(--holiday-navy);
    background: #fff;
    font-size: 10px;
    font-weight: 800;
}

.fmt-city-route select,
.fmt-builder-main-fields input,
.fmt-builder-main-fields select,
.fmt-room-preferences select {
    height: 43px;
    padding: 0 11px;
}

.fmt-remove-city {
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
    padding: 0;
    border: 1px solid #ffd1d1;
    border-radius: 8px;
    color: #e64343;
    background: #fff4f4;
    font-size: 17px;
}

.fmt-remove-city:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.fmt-add-city-button {
    min-height: 38px;
    margin-top: 10px;
    padding: 0 15px;
    border: 1px dashed #68aff8;
    border-radius: 10px;
    color: var(--holiday-blue);
    background: #f5fbff;
    font-size: 9px;
    font-weight: 900;
}

.fmt-builder-main-fields {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 13px;
}

.fmt-builder-secondary-fields {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #dce8f2;
}

.fmt-total-duration {
    height: 43px;
    padding: 0 12px;
    border: 1px solid #d3e2ee;
    border-radius: 9px;
    display: flex;
    align-items: center;
    color: var(--holiday-navy);
    background: #fff;
    font-size: 10px;
}

.fmt-budget-field > strong {
    min-height: 20px;
    display: block;
    color: var(--holiday-blue);
    font-size: 10px;
    text-align: center;
}

.fmt-budget-field input[type="range"] {
    height: 5px;
    margin-top: 9px;
    padding: 0;
    border: 0;
    accent-color: var(--holiday-blue);
}


/* =====================================================
   STEP 2 — TRAVELLERS
===================================================== */

.fmt-traveller-details-list {
    display: grid;
    gap: 11px;
}

.fmt-traveller-detail-card {
    padding: 13px;
    border: 1px solid #d6e5f1;
    border-radius: 11px;
    background: #fff;
}

.fmt-traveller-card-heading {
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fmt-traveller-card-heading strong {
    color: var(--holiday-navy);
    font-size: 11px;
}

.fmt-traveller-card-heading strong span {
    margin-left: 7px;
    padding: 5px 8px;
    border-radius: 50px;
    color: #067d56;
    background: #dcf8eb;
    font-size: 7px;
}

.fmt-traveller-detail-fields {
    display: grid;
    grid-template-columns: 90px 1.5fr 120px 145px 1fr 1.25fr;
    gap: 9px;
}

.fmt-traveller-detail-fields label > span {
    display: block;
    margin-bottom: 5px;
    color: #647e94;
    font-size: 7px;
    font-weight: 800;
}

.fmt-traveller-detail-fields input,
.fmt-traveller-detail-fields select {
    width: 100%;
    height: 39px;
    padding: 0 9px;
    border: 1px solid #d5e3ee;
    border-radius: 8px;
    outline: 0;
    color: var(--holiday-navy);
    background: #fff;
    font-size: 9px;
    font-weight: 700;
}

.fmt-traveller-security-note {
    margin: 13px 0 0;
    color: #6c8296;
    font-size: 8px;
}


/* =====================================================
   STEP 3 — HOTEL SELECTION
===================================================== */

.fmt-city-hotels {
    display: grid;
    gap: 14px;
}

.fmt-city-hotel-block {
    padding: 13px;
    border: 1px solid #d8e6f1;
    border-radius: 12px;
    background: #fff;
}

.fmt-city-hotel-heading {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fmt-city-hotel-heading strong {
    color: var(--holiday-navy);
    font-size: 11px;
}

.fmt-city-hotel-heading small {
    color: #7b8fa1;
    font-size: 8px;
}

.fmt-hotel-choice-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
}

.fmt-hotel-option {
    position: relative;
}

.fmt-hotel-option input {
    position: absolute;
    opacity: 0;
}

.fmt-hotel-option-card {
    min-height: 105px;
    padding: 11px;
    border: 1px solid #d7e5f0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    color: #526d84;
    background: #fff;
    cursor: pointer;
}

.fmt-hotel-option-card > span {
    margin-bottom: 11px;
    font-size: 20px;
}

.fmt-hotel-option-card strong {
    color: var(--holiday-navy);
    font-size: 9px;
}

.fmt-hotel-option-card small {
    margin-top: 4px;
    color: #758a9c;
    font-size: 7px;
    line-height: 1.4;
}

.fmt-hotel-option input:checked + .fmt-hotel-option-card {
    border-color: var(--holiday-blue);
    color: var(--holiday-blue);
    background: #eaf5ff;
    box-shadow: inset 0 0 0 1px rgba(8,120,249,.1);
}

.fmt-room-preferences {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

.fmt-special-request-field {
    margin-top: 13px;
    display: block;
}

.fmt-special-request-field textarea {
    min-height: 78px;
    padding: 11px;
    resize: vertical;
    font-weight: 600;
}


/* =====================================================
   STEP 4 — EXPERIENCES
===================================================== */

.fmt-city-experiences {
    display: grid;
    gap: 13px;
}

.fmt-city-experience-block {
    padding: 13px;
    border: 1px solid #d8e6f1;
    border-radius: 11px;
    background: #fff;
}

.fmt-city-experience-block > strong {
    display: block;
    margin-bottom: 10px;
    color: var(--holiday-navy);
    font-size: 11px;
}

.fmt-experience-options,
.fmt-transfer-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.fmt-experience-options input,
.fmt-transfer-options input {
    position: absolute;
    opacity: 0;
}

.fmt-experience-options b,
.fmt-transfer-options b {
    min-height: 39px;
    padding: 0 14px;
    border: 1px solid #d4e2ed;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    color: #526d84;
    background: #fff;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

.fmt-experience-options input:checked + b,
.fmt-transfer-options input:checked + b {
    border-color: #58a5fa;
    color: var(--holiday-blue);
    background: #eaf5ff;
}

.fmt-transfer-options {
    margin-top: 14px;
}


/* =====================================================
   STEP 5 — REVIEW
===================================================== */

.fmt-review-summary {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
}

.fmt-review-card {
    padding: 13px;
    border: 1px solid #d8e6f1;
    border-radius: 11px;
    background: #fff;
}

.fmt-review-card > span {
    color: var(--holiday-blue);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .1em;
}

.fmt-review-card h4 {
    margin: 6px 0 8px;
    color: var(--holiday-navy);
    font-size: 12px;
}

.fmt-review-card p,
.fmt-review-card li {
    margin: 4px 0;
    color: #61798f;
    font-size: 8px;
    line-height: 1.5;
}

.fmt-review-card ul {
    margin: 0;
    padding-left: 15px;
}

.fmt-review-notice {
    margin-top: 12px;
    padding: 11px 13px;
    border: 1px solid #bcdcff;
    border-radius: 10px;
    display: flex;
    gap: 9px;
    color: #426780;
    background: #eaf6ff;
}

.fmt-review-notice span {
    color: var(--holiday-blue);
    font-weight: 900;
}

.fmt-review-notice p {
    margin: 0;
    font-size: 8px;
    line-height: 1.5;
}


/* Wizard navigation */

.fmt-wizard-navigation {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fmt-wizard-back,
.fmt-wizard-next {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 900;
}

.fmt-wizard-back {
    border: 1px solid #a9cbea;
    color: #54738d;
    background: #fff;
}

.fmt-wizard-next {
    margin-left: auto;
    border: 1px solid var(--holiday-blue);
    color: #fff;
    background: var(--holiday-blue);
    box-shadow: 0 9px 20px rgba(8,120,249,.2);
}


/* =====================================================
   LIVE PDF PREVIEW
===================================================== */

.fmt-itinerary-preview {
    position: sticky;
    top: 105px;
    padding: 18px;
}

.fmt-preview-heading {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fmt-preview-heading > strong {
    color: var(--holiday-navy);
    font-size: 12px;
}

.fmt-preview-heading > span {
    padding: 7px 10px;
    border-radius: 50px;
    color: #078459;
    background: #ddf8eb;
    font-size: 8px;
    font-weight: 900;
}

.fmt-itinerary-document {
    position: relative;
    width: min(430px,100%);
    margin: 0 auto;
    padding: 19px;
    border: 1px solid #dce5ec;
    background: #fff;
    box-shadow: 0 14px 32px rgba(8,43,76,.16),8px 8px 0 #eff4f7;
}

.fmt-document-brand {
    text-align: center;
}

.fmt-document-brand img {
    width: 135px;
    margin: 0 auto 7px;
    display: block;
}

.fmt-document-brand > small {
    display: block;
    color: var(--holiday-navy);
    font-size: 9px;
    font-weight: 800;
}

.fmt-document-brand h3 {
    margin: 3px 0 12px;
    color: var(--holiday-navy);
    font-size: 18px;
    font-weight: 900;
}

.fmt-document-cover {
    position: relative;
    height: 147px;
    padding: 18px;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
    color: #fff;
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.fmt-document-cover::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg,rgba(5,32,58,.08),rgba(5,32,58,.55));
}

.fmt-document-cover span {
    font: italic 23px Georgia,serif;
}

.fmt-document-cover strong {
    max-width: 180px;
    margin-top: 3px;
    font: italic 11px/1.25 Georgia,serif;
    text-align: right;
}

.fmt-document-summary {
    padding: 11px 0;
    border-bottom: 1px solid #dce7ef;
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.fmt-document-summary > div {
    min-width: 0;
    padding: 0 7px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.fmt-document-summary > div + div {
    border-left: 1px solid #dce7ef;
}

.fmt-document-summary > div > span {
    color: var(--holiday-blue);
}

.fmt-document-summary p,
.fmt-document-summary strong,
.fmt-document-summary small {
    margin: 0;
    display: block;
}

.fmt-document-summary strong {
    color: var(--holiday-navy);
    font-size: 8px;
}

.fmt-document-summary small {
    margin-top: 2px;
    color: #71879a;
    font-size: 7px;
}

.fmt-document-route {
    padding: 11px 0;
    border-bottom: 1px solid #dce7ef;
}

.fmt-document-route h4,
.fmt-document-details h4 {
    margin: 0 0 8px;
    color: var(--holiday-navy);
    font-size: 9px;
}

#fmt-preview-route {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#fmt-preview-route > div {
    padding: 6px 8px;
    border-radius: 7px;
    color: #557087;
    background: #edf6fd;
    font-size: 7px;
}

#fmt-preview-route span {
    color: var(--holiday-navy);
    font-weight: 900;
}

#fmt-preview-route b {
    margin-left: 5px;
    color: var(--holiday-blue);
}

.fmt-document-details {
    padding: 12px 0;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 15px;
}

.fmt-document-details ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    list-style: none;
}

.fmt-document-day-plan li {
    position: relative;
    padding-left: 13px;
    color: #61798f;
    font-size: 7px;
}

.fmt-document-day-plan li::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--holiday-blue);
}

.fmt-document-day-plan li b {
    margin-right: 6px;
    color: var(--holiday-navy);
}

.fmt-document-inclusions li {
    color: #58738b;
    font-size: 7px;
}

.fmt-document-budget {
    padding: 11px 13px;
    border-radius: 8px;
    background: linear-gradient(135deg,#e8f5ff,#d9efff);
}

.fmt-document-budget span,
.fmt-document-budget strong,
.fmt-document-budget small {
    display: block;
}

.fmt-document-budget span {
    color: #55738d;
    font-size: 8px;
}

.fmt-document-budget strong {
    color: var(--holiday-navy);
    font-size: 25px;
    font-weight: 900;
}

.fmt-document-budget small {
    color: #698198;
    font-size: 7px;
}

.fmt-pdf-watermark {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(8,120,249,.09);
    font-size: 65px;
    font-weight: 900;
    transform: rotate(-28deg);
    pointer-events: none;
}

.fmt-preview-actions {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
}

.fmt-preview-actions button {
    min-height: 43px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 900;
}

#fmt-download-itinerary {
    border: 1px solid var(--holiday-blue);
    color: #fff;
    background: var(--holiday-blue);
}

#fmt-send-holiday-enquiry {
    border: 1px solid var(--holiday-blue);
    color: var(--holiday-blue);
    background: #fff;
}

#fmt-pay-holiday {
    grid-column: 1 / -1;
    border: 1px solid #0caf6d;
    color: #fff;
    background: #0caf6d;
}

#fmt-pay-holiday:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.fmt-preview-note {
    margin-top: 8px;
    display: block;
    color: #7890a4;
    font-size: 7px;
    text-align: center;
}


/* =====================================================
   POPULAR PACKAGES
===================================================== */

.fmt-popular-holiday-packages {
    padding: 0 0 45px;
    background: #fff;
}

.fmt-package-section-heading {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.fmt-package-section-heading h2 {
    margin: 0;
    color: var(--holiday-navy);
    font-size: 30px;
    font-weight: 900;
}

.fmt-package-section-heading h2 strong {
    color: var(--holiday-blue);
}

.fmt-package-section-heading a {
    color: var(--holiday-blue);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
}

.fmt-holiday-package-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.fmt-holiday-package-card {
    overflow: hidden;
    border: 1px solid #dbe8f2;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(9,57,99,.08);
    transition: .22s ease;
}

.fmt-holiday-package-card:hover {
    transform: translateY(-5px);
}

.fmt-package-image {
    position: relative;
    height: 133px;
    background-position: center;
    background-size: cover;
}

.fmt-package-image > span {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 10px;
    border-radius: 50px;
    color: #fff;
    font-size: 7px;
    font-weight: 900;
}

.fmt-package-image .orange { background:#ff861f; }
.fmt-package-image .green { background:#19b96c; }
.fmt-package-image .blue { background:#1387ed; }
.fmt-package-image .pink { background:#ff2584; }

.fmt-package-content {
    padding: 11px 12px 12px;
}

.fmt-package-content h3 {
    margin: 0 0 7px;
    color: var(--holiday-navy);
    font-size: 15px;
}

.fmt-package-content ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
    list-style: none;
}

.fmt-package-content li {
    color: #617990;
    font-size: 8px;
}

.fmt-package-price {
    margin-top: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.fmt-package-price p {
    margin: 0;
}

.fmt-package-price strong {
    color: var(--holiday-navy);
    font-size: 18px;
}

.fmt-package-price small {
    color: #7e91a3;
    font-size: 7px;
}

.fmt-package-price button {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--holiday-blue);
    background: #e5f3ff;
    font-size: 17px;
}


/* =====================================================
   BOTTOM BENEFITS
===================================================== */

.fmt-holiday-bottom-benefits {
    padding: 0 0 20px;
    background: #fff;
}

.fmt-holiday-bottom-benefit-grid {
    min-height: 73px;
    padding: 10px 20px;
    border: 1px solid #d6e8f5;
    border-radius: 14px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: linear-gradient(135deg,#e9f6ff,#f4fbff);
}

.fmt-holiday-bottom-benefit-grid article {
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}

.fmt-holiday-bottom-benefit-grid article + article {
    border-left: 1px solid #cfe1ef;
}

.fmt-holiday-bottom-benefit-grid article > span {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--holiday-blue);
    background: #d3ebff;
    font-size: 19px;
}

.fmt-holiday-bottom-benefit-grid strong,
.fmt-holiday-bottom-benefit-grid small {
    display: block;
}

.fmt-holiday-bottom-benefit-grid strong {
    color: var(--holiday-navy);
    font-size: 9px;
}

.fmt-holiday-bottom-benefit-grid small {
    color: #71879a;
    font-size: 7px;
}


/* =====================================================
   MODAL
===================================================== */

.fmt-holiday-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fmt-holiday-modal.is-open {
    display: flex;
}

.fmt-holiday-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3,28,55,.65);
    backdrop-filter: blur(7px);
}

.fmt-holiday-modal-card {
    position: relative;
    z-index: 2;
    width: min(430px,100%);
    padding: 34px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
    text-align: center;
}

.fmt-holiday-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 33px;
    height: 33px;
    border: 0;
    border-radius: 50%;
    background: #eef5fa;
}

.fmt-holiday-modal-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #16b978;
    font-size: 26px;
}

.fmt-holiday-modal-card h2 {
    color: var(--holiday-navy);
}

.fmt-holiday-modal-card p {
    color: var(--holiday-muted);
    font-size: 11px;
    line-height: 1.7;
}

.fmt-holiday-modal-done {
    min-width: 130px;
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--holiday-blue);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:1180px) {

    .fmt-holiday-search-bar {
        grid-template-columns: repeat(2,1fr) 190px;
    }

    .fmt-holiday-find-button {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .fmt-holiday-builder {
        padding-top: 145px;
    }

    .fmt-holiday-builder-layout {
        grid-template-columns: 1fr;
    }

    .fmt-itinerary-preview {
        position: relative;
        top: auto;
    }

    .fmt-traveller-detail-fields {
        grid-template-columns: repeat(3,1fr);
    }

    .fmt-hotel-choice-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:760px) {

    .fmt-holiday-page .fmt-container {
        width: calc(100% - 24px);
    }

    .fmt-holiday-hero-v2 {
        min-height: 600px;
        padding: 38px 0 130px;
        background-position: 64% center;
    }

    .fmt-holiday-hero-v2::before {
        background: linear-gradient(
            180deg,
            rgba(239,249,255,.97),
            rgba(239,249,255,.80),
            rgba(239,249,255,.20)
        );
    }

    .fmt-holiday-hero-content {
        width: 100%;
        text-align: center;
    }

    .fmt-holiday-eyebrow,
    .fmt-holiday-hero-actions {
        justify-content: center;
    }

    .fmt-holiday-hero-benefits {
        grid-template-columns: repeat(2,1fr);
    }

    .fmt-holiday-quick-search {
        height: auto;
        margin-top: -88px;
    }

    .fmt-holiday-search-bar {
        grid-template-columns: 1fr;
        transform: none;
    }

    .fmt-holiday-search-field + .fmt-holiday-search-field {
        border-top: 1px solid var(--holiday-border);
        border-left: 0;
    }

    .fmt-holiday-find-button {
        grid-column: auto;
        grid-row: auto;
        min-height: 55px;
    }

    .fmt-holiday-builder {
        padding-top: 45px;
    }

    .fmt-holiday-builder-heading h2 {
        font-size: 31px;
    }

    .fmt-itinerary-steps {
        overflow-x: auto;
        grid-template-columns: repeat(5,minmax(105px,1fr));
    }

    .fmt-city-route {
        grid-template-columns: 30px 1fr 120px 30px;
    }

    .fmt-builder-main-fields,
    .fmt-room-preferences,
    .fmt-traveller-detail-fields,
    .fmt-review-summary {
        grid-template-columns: 1fr;
    }

    .fmt-holiday-package-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .fmt-holiday-bottom-benefit-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .fmt-document-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width:520px) {

    .fmt-holiday-hero-v2 {
        min-height: 630px;
    }

    .fmt-holiday-hero-content h1 {
        font-size: 38px;
    }

    .fmt-holiday-primary-btn,
    .fmt-holiday-secondary-btn {
        width: 100%;
    }

    .fmt-holiday-hero-benefits {
        display: none;
    }

    .fmt-trip-mode-selector,
    .fmt-wizard-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .fmt-city-route {
        grid-template-columns: 30px 1fr 30px;
    }

    .fmt-city-route label:nth-of-type(2) {
        grid-column: 2;
    }

    .fmt-remove-city {
        grid-column: 3;
        grid-row: 1;
    }

    .fmt-hotel-choice-grid,
    .fmt-holiday-package-grid,
    .fmt-holiday-bottom-benefit-grid {
        grid-template-columns: 1fr;
    }

    .fmt-preview-actions {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   PDF — NO EMPTY PAGES
===================================================== */

@media print {

    @page {
        size: A4 portrait;
        margin: 10mm;
    }

    html,
    body {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    body.fmt-holidays-page #wpadminbar,
    body.fmt-holidays-page .fmt-global-header,
    body.fmt-holidays-page .fmt-holiday-hero,
    body.fmt-holidays-page .fmt-holiday-quick-search,
    body.fmt-holidays-page .fmt-holiday-builder-heading,
    body.fmt-holidays-page .fmt-itinerary-editor,
    body.fmt-holidays-page .fmt-preview-heading,
    body.fmt-holidays-page .fmt-preview-actions,
    body.fmt-holidays-page .fmt-preview-note,
    body.fmt-holidays-page .fmt-popular-holiday-packages,
    body.fmt-holidays-page .fmt-holiday-bottom-benefits,
    body.fmt-holidays-page .fmt-holiday-modal,
    body.fmt-holidays-page footer,
    body.fmt-holidays-page .fmt-footer {
        display: none !important;
    }

    body.fmt-holidays-page #page,
    body.fmt-holidays-page .site,
    body.fmt-holidays-page .site-content,
    body.fmt-holidays-page .content-area,
    body.fmt-holidays-page .entry-content,
    body.fmt-holidays-page .fmt-app,
    body.fmt-holidays-page .fmt-holiday-page,
    body.fmt-holidays-page .fmt-holiday-builder-builder,
    body.fmt-holidays-page .fmt-holiday-builder > .fmt-container,
    body.fmt-holidays-page .fmt-holiday-builder-layout,
    body.fmt-holidays-page .fmt-itinerary-preview {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        display: block !important;
        overflow: visible !important;
        background: #fff !important;
        box-shadow: none !important;
        transform: none !important;
    }

    body.fmt-holidays-page #fmt-itinerary-document {
        position: static !important;
        width: 100% !important;
        max-width: 190mm !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 8mm !important;
        border: 1px solid #dce5ec !important;
        display: block !important;
        overflow: visible !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .fmt-document-brand,
    .fmt-document-cover,
    .fmt-document-summary,
    .fmt-document-route,
    .fmt-document-budget,
    #fmt-preview-days li {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    .fmt-document-details,
    #fmt-preview-days {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    * {
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }
}

/* =========================================================
   HOLIDAY BUILDER STEP 1 FIX
   Only fixes the broken destination/multi-city panel
========================================================= */

#fmt-holiday-builder .fmt-wizard-panel[hidden] {
    display: none !important;
}

#fmt-holiday-builder .fmt-wizard-panel.is-active {
    display: block;
}

/* Light blue inner panel */
#fmt-holiday-builder .fmt-wizard-panel[data-panel="1"] {
    padding: 18px;
    border: 1px solid #cfe2f5;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fcff 0%, #eef7ff 100%);
}

/* Trip type */
#fmt-holiday-builder .fmt-trip-mode-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

#fmt-holiday-builder .fmt-trip-mode-selector > span {
    color: #0a2d54;
    font-size: 12px;
    font-weight: 800;
}

#fmt-holiday-builder .fmt-trip-mode-selector > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

#fmt-holiday-builder .fmt-trip-mode-selector label {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid #cbdff3;
    border-radius: 20px;
    background: #fff;
    color: #49647f;
    cursor: pointer;
    transition: .2s ease;
}

#fmt-holiday-builder .fmt-trip-mode-selector label:has(input:checked) {
    border-color: #087cf0;
    background: #edf6ff;
    color: #0874df;
    box-shadow: 0 5px 14px rgba(8, 124, 240, .11);
}

#fmt-holiday-builder .fmt-trip-mode-selector input {
    width: 15px;
    height: 15px;
    margin: 0 7px 0 0;
    accent-color: #087cf0;
}

#fmt-holiday-builder .fmt-trip-mode-selector b {
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

/* Destination rows */
#fmt-holiday-builder .fmt-multicity-routes {
    display: grid;
    gap: 10px;
}

#fmt-holiday-builder .fmt-city-route {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(160px, 1.35fr) minmax(120px, .8fr) 34px;
    align-items: end;
    gap: 10px;
    padding: 12px;
    border: 1px solid #d3e4f5;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(9, 63, 116, .05);
}

#fmt-holiday-builder .fmt-city-order {
    align-self: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #087cf0;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 5px 13px rgba(8, 124, 240, .22);
}

#fmt-holiday-builder .fmt-city-route > label {
    display: grid;
    gap: 6px;
}

#fmt-holiday-builder .fmt-city-route > label > span,
#fmt-holiday-builder .fmt-builder-secondary-fields label > span {
    color: #607995;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#fmt-holiday-builder .fmt-city-route select,
#fmt-holiday-builder .fmt-builder-secondary-fields input[type="date"] {
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #cbdff3;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #082c55;
    font-family: Manrope, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    appearance: auto;
}

#fmt-holiday-builder .fmt-city-route select:focus,
#fmt-holiday-builder .fmt-builder-secondary-fields input:focus {
    border-color: #087cf0;
    box-shadow: 0 0 0 3px rgba(8, 124, 240, .09);
}

#fmt-holiday-builder .fmt-remove-city {
    width: 32px;
    height: 32px;
    align-self: end;
    margin-bottom: 5px;
    padding: 0;
    border: 1px solid #ffd1d1;
    border-radius: 9px;
    background: #fff5f5;
    color: #e53935;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

#fmt-holiday-builder .fmt-remove-city:disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* Add city */
#fmt-holiday-builder .fmt-add-city-button {
    min-height: 38px;
    margin-top: 11px;
    padding: 0 16px;
    border: 1px dashed #087cf0;
    border-radius: 10px;
    background: #fff;
    color: #0874df;
    font-family: Manrope, Arial, sans-serif;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

#fmt-holiday-builder .fmt-add-city-button[hidden] {
    display: none !important;
}

/* Travel date, duration and budget */
#fmt-holiday-builder .fmt-builder-secondary-fields {
    display: grid;
    grid-template-columns: minmax(145px, .75fr) minmax(140px, .8fr) minmax(220px, 1.5fr);
    align-items: end;
    gap: 14px;
    margin-top: 15px;
}

#fmt-holiday-builder .fmt-builder-secondary-fields > label {
    display: grid;
    gap: 7px;
    min-width: 0;
}

#fmt-holiday-builder .fmt-total-duration {
    display: flex;
    align-items: center;
    min-height: 42px;
    color: #092f5a;
    font-size: 14px;
    font-weight: 900;
}

#fmt-holiday-builder .fmt-budget-field strong {
    color: #087cf0;
    font-size: 11px;
    font-weight: 900;
    text-align: right;
}

#fmt-holiday-builder .fmt-budget-field input[type="range"] {
    width: 100%;
    margin: 4px 0 0;
    accent-color: #087cf0;
    cursor: pointer;
}

/* Wizard bottom buttons */
#fmt-holiday-builder .fmt-wizard-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

#fmt-holiday-builder .fmt-wizard-back,
#fmt-holiday-builder .fmt-wizard-next {
    min-height: 42px;
    padding: 0 19px;
    border-radius: 11px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

#fmt-holiday-builder .fmt-wizard-back {
    border: 1px solid #bdd8f4;
    background: #fff;
    color: #086fe0;
}

#fmt-holiday-builder .fmt-wizard-next {
    border: 0;
    background: linear-gradient(135deg, #087cf0, #006be8);
    color: #fff;
    box-shadow: 0 8px 20px rgba(8, 124, 240, .22);
}

#fmt-holiday-builder .fmt-wizard-back[hidden] {
    display: none !important;
}

/* Tablet/mobile */
@media (max-width: 760px) {
    #fmt-holiday-builder .fmt-trip-mode-selector {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    #fmt-holiday-builder .fmt-trip-mode-selector > div {
        width: 100%;
        flex-wrap: wrap;
    }

    #fmt-holiday-builder .fmt-city-route {
        grid-template-columns: 32px minmax(0, 1fr) 32px;
    }

    #fmt-holiday-builder .fmt-city-route > label:nth-of-type(2) {
        grid-column: 2 / 3;
    }

    #fmt-holiday-builder .fmt-remove-city {
        grid-column: 3;
        grid-row: 1;
    }

    #fmt-holiday-builder .fmt-builder-secondary-fields {
        grid-template-columns: 1fr;
    }

    #fmt-holiday-builder .fmt-budget-field strong {
        text-align: left;
    }
}

/* =========================================================
   HOLIDAY WORLDWIDE CITY + TRIP MODE FINAL OVERRIDES
   Keep this block at the very end of holidays.css
========================================================= */

/* Remove the double pill without changing the approved look */
#fmt-holiday-builder .fmt-trip-mode-selector label,
#fmt-holiday-builder .fmt-trip-mode-selector label:has(input:checked) {
    position: relative;
    display: inline-flex;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

#fmt-holiday-builder .fmt-trip-mode-selector input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

#fmt-holiday-builder .fmt-trip-mode-selector b {
    min-width: 122px;
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid #cbdff3;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #526d84;
    background: #fff;
    box-shadow: none;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}

#fmt-holiday-builder .fmt-trip-mode-selector input:checked + b {
    border-color: #087cf0;
    color: #0874df;
    background: #edf6ff;
    box-shadow: 0 5px 14px rgba(8,124,240,.12), inset 0 0 0 1px rgba(8,124,240,.08);
}

/* Searchable worldwide city control */
#fmt-holiday-builder .fmt-city-search-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
}

#fmt-holiday-builder .fmt-city-route input.fmt-city-destination {
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 38px 0 13px;
    border: 1px solid #cbdff3;
    border-radius: 10px;
    outline: 0;
    color: #082c55;
    background: #fff;
    font-family: Manrope,Arial,sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 42px;
    box-sizing: border-box;
}

#fmt-holiday-builder .fmt-city-search-wrap:after {
    content: '⌕';
    position: absolute;
    top: 0;
    right: 13px;
    height: 42px;
    display: flex;
    align-items: center;
    color: #087cf0;
    font-size: 15px;
    font-weight: 900;
    pointer-events: none;
}

#fmt-holiday-builder .fmt-city-route input.fmt-city-destination:focus {
    border-color: #087cf0;
    box-shadow: 0 0 0 3px rgba(8,124,240,.09);
}

#fmt-holiday-builder .fmt-city-suggestions {
    position: absolute;
    z-index: 150;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: none;
    max-height: 255px;
    padding: 6px;
    overflow-y: auto;
    border: 1px solid #cfe1f3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(5,45,86,.16);
}

#fmt-holiday-builder .fmt-city-suggestions.is-open {
    display: grid;
    gap: 2px;
}

#fmt-holiday-builder .fmt-city-suggestions button {
    width: 100%;
    min-height: 39px;
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #173b60;
    background: #fff;
    text-align: left;
    font-family: Manrope,Arial,sans-serif;
    cursor: pointer;
}

#fmt-holiday-builder .fmt-city-suggestions button:hover,
#fmt-holiday-builder .fmt-city-suggestions button:focus {
    color: #0874df;
    background: #eef7ff;
    outline: 0;
}

#fmt-holiday-builder .fmt-city-suggestions button span {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #087cf0;
    background: #eaf5ff;
    font-size: 11px;
}

#fmt-holiday-builder .fmt-city-suggestions button strong {
    font-size: 10px;
    font-weight: 800;
}

/* City-wise activity and airport-transfer choices */
#fmt-holiday-builder .fmt-city-transfer-options {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0ebf5;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

#fmt-holiday-builder .fmt-city-transfer-options label {
    position: relative;
    display: inline-flex;
    margin: 0;
    cursor: pointer;
}

#fmt-holiday-builder .fmt-city-transfer-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

#fmt-holiday-builder .fmt-city-transfer-options b {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #d4e2ed;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: #526d84;
    background: #fff;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
    transition: .2s ease;
}

#fmt-holiday-builder .fmt-city-transfer-options input:checked + b {
    border-color: #58a5fa;
    color: #0874df;
    background: #eaf5ff;
    box-shadow: 0 4px 11px rgba(8,120,249,.08);
}

#fmt-holiday-builder .fmt-city-experience-block {
    overflow: visible;
}

#fmt-holiday-builder .fmt-city-route {
    overflow: visible;
}

@media (max-width:760px) {
    #fmt-holiday-builder .fmt-trip-mode-selector > div {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        width: 100%;
    }

    #fmt-holiday-builder .fmt-trip-mode-selector label,
    #fmt-holiday-builder .fmt-trip-mode-selector b {
        width: 100%;
    }

    #fmt-holiday-builder .fmt-city-transfer-options {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    #fmt-holiday-builder .fmt-city-transfer-options label,
    #fmt-holiday-builder .fmt-city-transfer-options b {
        width: 100%;
    }

    #fmt-holiday-builder .fmt-city-transfer-options b {
        justify-content: center;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width:480px) {
    #fmt-holiday-builder .fmt-city-transfer-options {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   FINAL A4 ITINERARY PDF FIX
   Full A4 width + readable text + automatic extra pages
========================================================= */

@media print {

    @page {
        size: A4 portrait;
        margin: 8mm;
    }

    html,
    body {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    body.fmt-holidays-page #wpadminbar,
    body.fmt-holidays-page .fmt-global-header,
    body.fmt-holidays-page .fmt-holiday-hero,
    body.fmt-holidays-page .fmt-holiday-quick-search,
    body.fmt-holidays-page .fmt-holiday-builder-heading,
    body.fmt-holidays-page .fmt-itinerary-editor,
    body.fmt-holidays-page .fmt-preview-heading,
    body.fmt-holidays-page .fmt-preview-actions,
    body.fmt-holidays-page .fmt-preview-note,
    body.fmt-holidays-page .fmt-popular-holiday-packages,
    body.fmt-holidays-page .fmt-holiday-bottom-benefits,
    body.fmt-holidays-page .fmt-holiday-modal,
    body.fmt-holidays-page footer,
    body.fmt-holidays-page .fmt-footer {
        display: none !important;
    }

    body.fmt-holidays-page #page,
    body.fmt-holidays-page .site,
    body.fmt-holidays-page .site-content,
    body.fmt-holidays-page .content-area,
    body.fmt-holidays-page .entry-content,
    body.fmt-holidays-page .fmt-app,
    body.fmt-holidays-page .fmt-holiday-page,
    body.fmt-holidays-page .fmt-holiday-builder,
    body.fmt-holidays-page .fmt-holiday-builder > .fmt-container,
    body.fmt-holidays-page .fmt-holiday-builder-layout,
    body.fmt-holidays-page .fmt-itinerary-preview {
        position: static !important;
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        box-shadow: none !important;
        transform: none !important;
    }

    body.fmt-holidays-page #fmt-itinerary-document {
        position: static !important;
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 8mm !important;
        border: 1px solid #dce5ec !important;
        overflow: visible !important;
        background: #fff !important;
        box-shadow: none !important;
        transform: none !important;
        zoom: 1 !important;
        box-sizing: border-box !important;
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    /* Logo and heading */
    body.fmt-holidays-page .fmt-document-brand {
        margin-bottom: 5mm !important;
        text-align: center !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    body.fmt-holidays-page .fmt-document-brand img {
        width: auto !important;
        height: 15mm !important;
        max-width: 48mm !important;
        margin: 0 auto 2mm !important;
    }

    body.fmt-holidays-page .fmt-document-brand small {
        display: block !important;
        margin-bottom: 1.5mm !important;
        font-size: 8pt !important;
        line-height: 1.3 !important;
        letter-spacing: .12em !important;
    }

    body.fmt-holidays-page .fmt-document-brand h3 {
        margin: 0 !important;
        font-size: 17pt !important;
        line-height: 1.2 !important;
    }

    /* Destination cover */
    body.fmt-holidays-page .fmt-document-cover {
        width: 100% !important;
        height: 57mm !important;
        min-height: 57mm !important;
        margin-bottom: 4mm !important;
        border-radius: 3mm !important;
        background-size: cover !important;
        background-position: center !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    body.fmt-holidays-page .fmt-document-cover span {
        font-size: 20pt !important;
        line-height: 1.1 !important;
    }

    body.fmt-holidays-page .fmt-document-cover strong {
        font-size: 10pt !important;
        line-height: 1.35 !important;
    }

    /* Summary row */
    body.fmt-holidays-page .fmt-document-summary {
        margin-bottom: 4mm !important;
        padding: 3mm 0 !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    body.fmt-holidays-page .fmt-document-summary strong {
        font-size: 9pt !important;
        line-height: 1.3 !important;
    }

    body.fmt-holidays-page .fmt-document-summary small {
        font-size: 7.5pt !important;
        line-height: 1.35 !important;
    }

    /* Route */
    body.fmt-holidays-page .fmt-document-route {
        margin-bottom: 4mm !important;
        padding-bottom: 3mm !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    body.fmt-holidays-page .fmt-document-route h4,
    body.fmt-holidays-page .fmt-document-details h4,
    body.fmt-holidays-page .fmt-document-inclusions h4 {
        margin: 0 0 2.5mm !important;
        font-size: 11pt !important;
        line-height: 1.3 !important;
    }

    body.fmt-holidays-page #fmt-preview-route {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 2mm !important;
    }

    body.fmt-holidays-page #fmt-preview-route > div {
        padding: 2mm 3mm !important;
        font-size: 8.5pt !important;
        line-height: 1.3 !important;
    }

    /* Day plan and inclusions */
    body.fmt-holidays-page .fmt-document-details {
        display: grid !important;
        grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) !important;
        gap: 7mm !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        align-items: start !important;
    }

    body.fmt-holidays-page #fmt-preview-days,
    body.fmt-holidays-page #fmt-preview-inclusions {
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    body.fmt-holidays-page #fmt-preview-days li,
    body.fmt-holidays-page #fmt-preview-inclusions li {
        margin-bottom: 2mm !important;
        font-size: 8.5pt !important;
        line-height: 1.45 !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    body.fmt-holidays-page #fmt-preview-days li b {
        min-width: 15mm !important;
        margin-right: 2mm !important;
        font-size: 8.5pt !important;
    }

    /* Budget */
    body.fmt-holidays-page .fmt-document-budget {
        width: 100% !important;
        margin-top: 6mm !important;
        padding: 5mm !important;
        border-radius: 3mm !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    body.fmt-holidays-page .fmt-document-budget span,
    body.fmt-holidays-page .fmt-document-budget small {
        font-size: 8pt !important;
        line-height: 1.4 !important;
    }

    body.fmt-holidays-page .fmt-document-budget strong {
        display: block !important;
        margin: 1mm 0 !important;
        font-size: 23pt !important;
        line-height: 1.15 !important;
    }

    body.fmt-holidays-page #fmt-itinerary-document * {
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
    }
}

/* =========================================================
   FINAL PDF TEXT CLARITY AND READABILITY
========================================================= */

@media print {

    body.fmt-holidays-page #fmt-itinerary-document {
        color: #102f50 !important;
        font-family: Manrope, Arial, sans-serif !important;
        text-rendering: geometricPrecision !important;
        -webkit-font-smoothing: antialiased !important;
    }

    /* Main section headings */
    body.fmt-holidays-page .fmt-document-route h4,
    body.fmt-holidays-page .fmt-document-details h4,
    body.fmt-holidays-page .fmt-document-inclusions h4 {
        margin: 0 0 3mm !important;
        color: #062b55 !important;
        opacity: 1 !important;
        font-size: 12pt !important;
        font-weight: 900 !important;
        line-height: 1.3 !important;
    }

    /* Day-wise itinerary */
    body.fmt-holidays-page #fmt-preview-days {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    body.fmt-holidays-page #fmt-preview-days li {
        position: relative !important;
        display: flex !important;
        align-items: flex-start !important;
        margin: 0 0 2.8mm !important;
        padding: 0 0 0 4mm !important;
        color: #183b5f !important;
        opacity: 1 !important;
        font-size: 10pt !important;
        font-weight: 700 !important;
        line-height: 1.55 !important;
        letter-spacing: 0 !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    body.fmt-holidays-page #fmt-preview-days li:before {
        content: "" !important;
        position: absolute !important;
        top: 5.5pt !important;
        left: 0 !important;
        width: 2.2mm !important;
        height: 2.2mm !important;
        border-radius: 50% !important;
        background: #087cf0 !important;
    }

    body.fmt-holidays-page #fmt-preview-days li b {
        min-width: 18mm !important;
        flex: 0 0 18mm !important;
        margin: 0 2mm 0 0 !important;
        color: #062b55 !important;
        opacity: 1 !important;
        font-size: 10pt !important;
        font-weight: 900 !important;
        line-height: 1.55 !important;
    }

    /* Inclusions */
    body.fmt-holidays-page #fmt-preview-inclusions {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    body.fmt-holidays-page #fmt-preview-inclusions li {
        margin: 0 0 3mm !important;
        color: #183b5f !important;
        opacity: 1 !important;
        font-size: 9.5pt !important;
        font-weight: 700 !important;
        line-height: 1.5 !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    /* Route chips */
    body.fmt-holidays-page #fmt-preview-route > div {
        min-height: 10mm !important;
        padding: 2.5mm 3.5mm !important;
        color: #082f59 !important;
        background: #eaf5ff !important;
        opacity: 1 !important;
        font-size: 9.5pt !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
    }

    body.fmt-holidays-page #fmt-preview-route span,
    body.fmt-holidays-page #fmt-preview-route b {
        color: #082f59 !important;
        opacity: 1 !important;
        font-size: 9.5pt !important;
        font-weight: 900 !important;
    }

    /* Date, travellers and departure */
    body.fmt-holidays-page .fmt-document-summary strong {
        color: #062b55 !important;
        opacity: 1 !important;
        font-size: 10pt !important;
        font-weight: 900 !important;
    }

    body.fmt-holidays-page .fmt-document-summary small {
        color: #31516f !important;
        opacity: 1 !important;
        font-size: 8.5pt !important;
        font-weight: 700 !important;
    }

    /* Budget clarity */
    body.fmt-holidays-page .fmt-document-budget span,
    body.fmt-holidays-page .fmt-document-budget small {
        color: #31516f !important;
        opacity: 1 !important;
        font-size: 9pt !important;
        font-weight: 700 !important;
    }

    body.fmt-holidays-page .fmt-document-budget strong {
        color: #052c59 !important;
        opacity: 1 !important;
        font-weight: 900 !important;
    }

    /* Allow genuine extra pages */
    body.fmt-holidays-page .fmt-document-details,
    body.fmt-holidays-page #fmt-preview-days,
    body.fmt-holidays-page #fmt-preview-inclusions {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        break-inside: auto !important;
        page-break-inside: auto !important;
    }
}

.fmt-pdf-watermark,
#fmt-pdf-watermark {
    display: none !important;
}

@media print {
    .fmt-pdf-watermark,
    #fmt-pdf-watermark {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}