/*
 * Đặt Xe Nhanh - Frontend UI
 * Bố cục thống nhất cho desktop, tablet và mobile.
 */
.wpgdx-wrap {
    width: 100%;
    position: relative;
    isolation: isolate;
    font-family: Roboto, Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.wpgdx-wrap::before {
    z-index: -1;
}

.wpgdx-box,
.wpgdx-box * {
    box-sizing: border-box;
}

.wpgdx-box {
    width: calc(100% - 32px);
    margin: 32px auto;
    border: 1px solid #dce3df;
    background: #fff;
    color: #1d2939;
}

.wpgdx-box h2 {
    margin: 0 0 18px;
    text-align: center;
    font-size: clamp(22px, 2.4vw, 27px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.025em;
}

.wpgdx-form {
    width: 100%;
    margin: 0;
}

.wpgdx-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.wpgdx-alert {
    display: flex;
    align-items: flex-start;
    min-height: 46px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #f5c78e;
    border-radius: 10px;
    background: #fff8ef;
    color: #9a4b0b;
    font-size: 14px;
    line-height: 1.5;
}

.wpgdx-address-grid,
.wpgdx-trip-grid,
.wpgdx-customer-grid {
    display: grid;
    width: 100%;
    gap: 14px;
    margin: 0 0 14px;
}

.wpgdx-address-grid,
.wpgdx-customer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wpgdx-trip-grid {
    grid-template-columns: minmax(145px, .85fr) minmax(185px, 1fr) minmax(235px, 1.25fr);
}

.wpgdx-form.wpgdx-has-return .wpgdx-trip-grid {
    grid-template-columns: minmax(135px, .78fr) minmax(185px, 1fr) minmax(205px, 1.12fr) minmax(205px, 1.12fr);
}

.wpgdx-field {
    position: relative;
    min-width: 0;
}

.wpgdx-field input,
.wpgdx-field select,
.wpgdx-radio-box {
    display: flex;
    width: 100%;
    min-width: 0;
    margin: 0;
    border: 1px solid #ccd5d0;
    border-radius: 8px;
    background: #fff;
    color: #1d2939;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.35;
    outline: none;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.wpgdx-field input,
.wpgdx-field select {
    padding: 0 14px;
}

.wpgdx-field select {
    cursor: pointer;
}

.wpgdx-field input::placeholder {
    color: #7a8694;
    opacity: 1;
}

.wpgdx-box .wpgdx-with-icon > input,
.wpgdx-box .wpgdx-with-icon > select,
.wpgdx-box .wpgdx-with-icon .wpgdx-input-inner > input,
.wpgdx-box .wpgdx-with-icon > .wpgdx-radio-box,
.wpgdx-box .wpgdx-datetime-display {
    padding-left: 46px !important;
}

.wpgdx-field input:focus,
.wpgdx-field select:focus,
.wpgdx-radio-box:focus-within {
    border-color: var(--wpgdx-input-focus, #11753e);
    box-shadow: 0 0 0 3px rgba(17, 117, 62, .12);
}

.wpgdx-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    z-index: 3;
    display: flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    color: var(--wpgdx-primary, #11753e);
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}

.wpgdx-field-icon svg,
.wpgdx-field-icon .wpgdx-svg-icon {
    display: block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    fill: currentColor;
}

.wpgdx-input-inner {
    position: relative;
    width: 100%;
}

.wpgdx-input-inner input {
    padding-right: 48px !important;
}

.wpgdx-locate-btn {
    position: absolute;
    top: 50%;
    right: 6px;
    z-index: 4;
    display: flex;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #25312b;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .18s ease, color .18s ease;
}

.wpgdx-locate-btn:hover,
.wpgdx-locate-btn:focus-visible {
    background: #eef7f1;
    color: var(--wpgdx-primary, #11753e);
    outline: none;
}

.wpgdx-locate-btn svg,
.wpgdx-locate-btn .wpgdx-svg-icon {
    display: block;
    width: 19px;
    height: 19px;
    min-width: 19px;
    min-height: 19px;
    fill: currentColor;
}

.wpgdx-radio-box {
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 10px;
}

.wpgdx-service-field {
    min-width: 0;
}

.wpgdx-service-field .wpgdx-radio-box {
    flex-wrap: nowrap;
}

.wpgdx-radio-box label {
    display: inline-flex !important;
    height: 100%;
    margin: 0 !important;
    align-items: center;
    gap: 7px;
    color: #1d2939;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}

.wpgdx-radio-box input[type="radio"] {
    position: static !important;
    display: inline-block !important;
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: var(--wpgdx-primary, #11753e);
    box-shadow: none !important;
    transform: none !important;
}

.wpgdx-return-time {
    display: none;
}

.wpgdx-form.wpgdx-has-return .wpgdx-return-time {
    display: block;
}

.wpgdx-datetime-control {
    position: relative;
    width: 100%;
    min-width: 0;
    height: max(var(--wpgdx-input-height, 46px), 46px);
}

.wpgdx-box .wpgdx-datetime-display {
    position: relative;
    z-index: 1;
    height: 100% !important;
    min-height: 100% !important;
    padding-right: 44px !important;
    background: var(--wpgdx-input-bg, #fff) !important;
    color: #1d2939 !important;
    cursor: pointer;
    pointer-events: auto;
    -webkit-text-fill-color: #1d2939;
}

.wpgdx-box .wpgdx-datetime-display::placeholder {
    color: #667085;
    opacity: 1;
}

.wpgdx-box .wpgdx-datetime-native {
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    z-index: -1 !important;
    display: block !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    box-shadow: none !important;
}

.wpgdx-datetime-end-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 3;
    display: flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    color: #344054;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}

.wpgdx-datetime-end-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}


/* Bộ chọn ngày giờ tiếng Việt. Khi mở, JS đưa bảng lịch trực tiếp vào body
   để không bị section, overflow hoặc stacking context của theme che khuất. */
.wpgdx-datetime-picker {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 2147483646;
    display: none;
    width: min(380px, calc(100vw - 28px));
    padding: 14px;
    border: 1px solid #d5ddd8;
    border-radius: 12px;
    background: #fff;
    color: #1d2939;
    box-shadow: 0 18px 42px rgba(16, 24, 40, .18);
}

.wpgdx-datetime-picker.is-open {
    display: block;
}

body > .wpgdx-datetime-picker.is-portaled {
    position: fixed !important;
    z-index: 2147483646 !important;
    right: auto !important;
    margin: 0 !important;
    isolation: isolate;
    overscroll-behavior: contain;
}

.wpgdx-wrap.wpgdx-picker-active,
.wpgdx-wrap.wpgdx-picker-active > .wpgdx-box {
    overflow: visible !important;
}

.wpgdx-picker-header {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.wpgdx-picker-title {
    color: #1d2939;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.wpgdx-picker-nav,
.wpgdx-picker-day,
.wpgdx-picker-now,
.wpgdx-picker-done {
    margin: 0 !important;
    border: 0;
    box-shadow: none !important;
    cursor: pointer;
    text-transform: none;
}

.wpgdx-picker-nav {
    display: inline-flex;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f2f6f3;
    color: #344054;
    font-size: 22px;
    line-height: 1;
}

.wpgdx-picker-nav:hover,
.wpgdx-picker-nav:focus-visible {
    background: #e7f2eb;
    color: var(--wpgdx-primary, #11753e);
    outline: none;
}

.wpgdx-picker-weekdays,
.wpgdx-picker-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.wpgdx-picker-weekdays {
    margin-bottom: 5px;
}

.wpgdx-picker-weekdays span {
    padding: 5px 0;
    color: #667085;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.wpgdx-picker-day {
    display: inline-flex;
    aspect-ratio: 1 / 1;
    min-width: 0;
    min-height: 34px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
    color: #1d2939;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.wpgdx-picker-day:hover,
.wpgdx-picker-day:focus-visible {
    background: #edf7f0;
    color: var(--wpgdx-primary, #11753e);
    outline: none;
}

.wpgdx-picker-day.is-today {
    box-shadow: inset 0 0 0 1px #9acbad !important;
    color: var(--wpgdx-primary, #11753e);
}

.wpgdx-picker-day.is-selected {
    background: var(--wpgdx-primary, #11753e);
    color: #fff;
    box-shadow: none !important;
}

.wpgdx-picker-day:disabled {
    background: transparent;
    color: #c0c7c3;
    cursor: not-allowed;
}

.wpgdx-picker-day.is-empty {
    visibility: hidden;
    pointer-events: none;
}

.wpgdx-picker-time {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #edf1ef;
}

.wpgdx-picker-time label {
    display: block !important;
    margin: 0 !important;
    color: #475467;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.wpgdx-picker-time select {
    width: 100%;
    height: 40px !important;
    min-height: 40px !important;
    margin: 6px 0 0 !important;
    padding: 0 34px 0 11px !important;
    border: 1px solid #ccd5d0 !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    color: #1d2939 !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.wpgdx-picker-footer {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    justify-content: space-between;
}

.wpgdx-picker-now,
.wpgdx-picker-done {
    display: inline-flex;
    min-height: 40px;
    padding: 0 15px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.wpgdx-picker-now {
    background: #edf7f0;
    color: var(--wpgdx-primary, #11753e);
}

.wpgdx-picker-done {
    min-width: 92px;
    background: var(--wpgdx-primary, #11753e);
    color: #fff;
}

.wpgdx-picker-now:hover,
.wpgdx-picker-now:focus-visible,
.wpgdx-picker-done:hover,
.wpgdx-picker-done:focus-visible {
    filter: brightness(.95);
    outline: none;
}

.wpgdx-autocomplete-wrap {
    z-index: 6;
}

.wpgdx-suggest {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    z-index: 100;
    display: none;
    max-height: 260px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #ccd5d0;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(16, 24, 40, .14);
}

.wpgdx-suggest-item {
    padding: 10px 12px;
    border-bottom: 1px solid #edf1ef;
    color: #1d2939;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}

.wpgdx-suggest-item:last-child {
    border-bottom: 0;
}

.wpgdx-suggest-item:hover {
    background: #f2f8f4;
}

.wpgdx-suggest-item strong,
.wpgdx-suggest-item span {
    display: block;
}

.wpgdx-suggest-item strong {
    color: #1d2939;
    font-weight: 700;
}

.wpgdx-suggest-item span {
    margin-top: 2px;
    color: #667085;
}

.wpgdx-current-location {
    border-color: var(--wpgdx-primary, #11753e) !important;
    background: #f4fbf6 !important;
}

.wpgdx-geo-note {
    display: none !important;
}

.wpgdx-result {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 0;
    padding: 10px;
    overflow: hidden;
    border: 1px solid #b9dfc7;
    border-radius: 12px;
    background: #f4fbf6;
    transition: opacity .2s ease, filter .2s ease;
}

.wpgdx-result-item {
    display: flex;
    min-width: 0;
    min-height: 62px;
    padding: 10px 12px;
    flex-direction: column;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
}

.wpgdx-result-label {
    margin-bottom: 5px;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
}

.wpgdx-result strong,
.wpgdx-map-row a,
.wpgdx-map-empty {
    color: var(--wpgdx-price-color, #11753e);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.wpgdx-result .wpgdx-price {
    font-size: 17px;
    letter-spacing: -.01em;
}

.wpgdx-map-row a {
    text-decoration: none;
}

.wpgdx-map-row a:hover {
    text-decoration: underline;
}

.wpgdx-roundtrip-note {
    grid-column: 1 / -1;
    padding: 2px 4px 0;
    color: #475467;
    font-size: 12px;
    line-height: 1.4;
}

.wpgdx-result.wpgdx-loading {
    opacity: .58;
    filter: saturate(.8);
    pointer-events: none;
}

.wpgdx-result.wpgdx-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 26px;
    height: 26px;
    margin: -13px 0 0 -13px;
    border: 3px solid rgba(17, 117, 62, .18);
    border-top-color: var(--wpgdx-primary, #11753e);
    border-radius: 50%;
    animation: wpgdxSpin .8s linear infinite;
}

@keyframes wpgdxSpin {
    to { transform: rotate(360deg); }
}

.wpgdx-actions {
    display: flex;
    margin-top: 14px;
    justify-content: center;
}

.wpgdx-submit {
    display: inline-flex;
    width: min(100%, 220px);
    min-height: 46px;
    margin: 0;
    padding: 0 28px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: var(--wpgdx-button-bg, #11753e);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.wpgdx-submit:hover,
.wpgdx-submit:focus-visible {
    background: var(--wpgdx-button-hover, #0b5f31);
    color: #fff;
    outline: none;
    box-shadow: 0 8px 18px rgba(17, 117, 62, .2);
    transform: translateY(-1px);
}

.wpgdx-submit:disabled {
    cursor: not-allowed;
    opacity: .58;
    box-shadow: none;
    transform: none;
}

.wpgdx-message {
    min-height: 0;
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.wpgdx-message:empty {
    display: none;
}

.wpgdx-message.ok {
    color: #08783c;
}

.wpgdx-message.err {
    color: #b42318;
}

.wpgdx-note {
    margin: 16px 0 0;
    color: #667085;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .wpgdx-box {
        margin: 24px auto;
    }

    .wpgdx-trip-grid,
    .wpgdx-form.wpgdx-has-return .wpgdx-trip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wpgdx-trip-grid .wpgdx-pickup-time,
    .wpgdx-trip-grid .wpgdx-return-time {
        grid-column: auto;
    }

    .wpgdx-result {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .wpgdx-wrap {
        width: 100vw;
        max-width: 100vw;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        overflow: visible;
    }

    .wpgdx-box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 16px !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .wpgdx-datetime-picker {
        right: auto;
        left: 0;
        width: 100%;
        min-width: 0;
        padding: 12px;
    }

    .wpgdx-box h2 {
        margin-bottom: 16px;
        font-size: 21px;
    }

    .wpgdx-alert {
        margin-bottom: 14px;
        padding: 11px 13px;
        font-size: 13px;
    }

    .wpgdx-address-grid,
    .wpgdx-customer-grid {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-bottom: 11px;
    }

    .wpgdx-trip-grid,
    .wpgdx-form.wpgdx-has-return .wpgdx-trip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
        margin-bottom: 11px;
    }

    .wpgdx-trip-grid .wpgdx-pickup-time,
    .wpgdx-trip-grid .wpgdx-return-time {
        grid-column: 1 / -1;
    }

    .wpgdx-field input,
    .wpgdx-field select,
    .wpgdx-radio-box {
        font-size: 14px;
    }

    .wpgdx-field-icon {
        left: 13px;
    }

    .wpgdx-box .wpgdx-with-icon > input,
    .wpgdx-box .wpgdx-with-icon > select,
    .wpgdx-box .wpgdx-with-icon .wpgdx-input-inner > input,
    .wpgdx-box .wpgdx-with-icon > .wpgdx-radio-box,
    .wpgdx-box .wpgdx-datetime-display {
        padding-left: 44px !important;
    }


    .wpgdx-datetime-end-icon {
        right: 13px;
    }

    .wpgdx-service-field .wpgdx-radio-box {
        justify-content: center;
        gap: 8px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .wpgdx-radio-box label {
        gap: 4px;
        font-size: 12px;
    }

    .wpgdx-radio-box input[type="radio"] {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        min-height: 14px !important;
    }

    .wpgdx-suggest {
        max-height: 230px;
    }

    .wpgdx-result {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 14px;
        padding: 8px;
    }

    .wpgdx-result-item {
        min-height: 66px;
        padding: 9px 10px;
    }

    .wpgdx-result-label {
        font-size: 11px;
    }

    .wpgdx-result strong,
    .wpgdx-map-row a,
    .wpgdx-map-empty {
        font-size: 14px;
    }

    .wpgdx-actions {
        margin-top: 13px;
    }

    .wpgdx-submit {
        width: 100%;
        min-height: 48px;
        padding: 0 18px;
        font-size: 14px;
    }

    .wpgdx-note {
        margin-top: 14px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .wpgdx-trip-grid,
    .wpgdx-form.wpgdx-has-return .wpgdx-trip-grid {
        grid-template-columns: 1fr;
    }

    .wpgdx-trip-grid .wpgdx-pickup-time,
    .wpgdx-trip-grid .wpgdx-return-time {
        grid-column: auto;
    }

    .wpgdx-result {
        grid-template-columns: 1fr;
    }
}


/* v1.0.36 - Route price cards, mobile 1.5-card slider, desktop mouse drag */
.wpgdx-route-prices,
.wpgdx-route-prices * {
    box-sizing: border-box;
}

.wpgdx-route-prices {
    width: 100%;
    margin: 0 auto;
    font-family: inherit;
    --wpgdx-route-header-bg: #ffca21;
    --wpgdx-route-header-text: #0b0b0b;
    --wpgdx-route-card-bg: #fffdf2;
    --wpgdx-route-card-border: #f5bd00;
    --wpgdx-route-body-text: #2e3034;
    --wpgdx-route-meta-bg: #ffffff;
    --wpgdx-route-meta-border: #e9e9e9;
    --wpgdx-route-meta-text: #4f5661;
    --wpgdx-route-price: #f2312c;
    --wpgdx-route-divider: #e5e1d5;
    --wpgdx-route-dot: #ffe499;
    --wpgdx-route-dot-active: #f5bd00;
}

.wpgdx-route-price-page {
    display: grid;
    grid-template-columns: repeat(var(--wpgdx-route-columns, 3), minmax(0, 1fr));
    gap: 20px;
}

.wpgdx-route-price-page[hidden] {
    display: none !important;
}

.wpgdx-route-price-card {
    overflow: hidden;
    min-width: 0;
    border: 2px solid var(--wpgdx-route-card-border);
    border-radius: 15px;
    background: var(--wpgdx-route-card-bg);
    box-shadow: none;
}

.wpgdx-route-price-card__head {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 10px 14px;
    background: var(--wpgdx-route-header-bg);
    text-align: center;
}

.wpgdx-route-price-card__head h3 {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--wpgdx-route-header-text) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.wpgdx-route-price-card__body {
    padding: 14px 16px 16px;
    color: var(--wpgdx-route-body-text);
}

.wpgdx-route-price-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    margin-bottom: 10px;
    padding: 8px 12px;
    border: 1px solid var(--wpgdx-route-meta-border);
    border-radius: 11px;
    background: var(--wpgdx-route-meta-bg);
    color: var(--wpgdx-route-meta-text);
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.wpgdx-route-price-meta__time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.wpgdx-route-price-meta__time svg {
    flex: 0 0 auto;
}

.wpgdx-route-price-meta__separator {
    color: var(--wpgdx-route-meta-text);
    opacity: .72;
}

.wpgdx-route-price-list {
    display: grid;
}

.wpgdx-route-price-row {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--wpgdx-route-divider);
    color: var(--wpgdx-route-body-text);
    font-size: 14px;
    line-height: 1.4;
}

.wpgdx-route-price-row:last-child {
    border-bottom: 0;
}

.wpgdx-route-price-row__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-width: 22px;
    font-size: 15px;
    line-height: 1;
}

.wpgdx-route-price-row__name {
    min-width: 0;
}

.wpgdx-route-price-row__price {
    color: var(--wpgdx-route-price) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: right;
    white-space: nowrap;
}

.wpgdx-route-price-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.wpgdx-route-price-dot {
    width: 10px !important;
    min-width: 10px !important;
    height: 10px !important;
    min-height: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--wpgdx-route-dot) !important;
    box-shadow: none !important;
    cursor: pointer;
}

.wpgdx-route-price-dot.is-active {
    background: var(--wpgdx-route-dot-active) !important;
}

.wpgdx-route-price-dot:focus-visible {
    outline: 2px solid var(--wpgdx-route-dot-active);
    outline-offset: 3px;
}

@media (min-width: 641px) {
    .wpgdx-route-prices[data-wpgdx-route-slider] {
        overscroll-behavior: contain;
    }

    .wpgdx-route-prices[data-wpgdx-route-slider] .wpgdx-route-price-pages {
        overflow: hidden;
    }

    .wpgdx-route-prices[data-wpgdx-route-slider].is-wheel-ready .wpgdx-route-price-pages,
    .wpgdx-route-prices[data-wpgdx-route-slider].is-drag-ready .wpgdx-route-price-pages {
        cursor: grab;
    }

    .wpgdx-route-prices[data-wpgdx-route-slider].is-dragging .wpgdx-route-price-pages {
        cursor: grabbing;
        user-select: none;
        -webkit-user-select: none;
    }

    .wpgdx-route-prices[data-wpgdx-route-slider].is-dragging .wpgdx-route-price-page {
        will-change: transform, opacity;
    }
}

@media (max-width: 980px) and (min-width: 641px) {
    .wpgdx-route-price-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .wpgdx-route-prices {
        overflow: hidden;
    }

    .wpgdx-route-price-pages {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: max(250px, calc((100% - 14px) / 1.5));
        gap: 14px;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 7px;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-x pan-y;
    }

    .wpgdx-route-price-pages::-webkit-scrollbar {
        display: none;
    }

    .wpgdx-route-price-page,
    .wpgdx-route-price-page[hidden] {
        display: contents !important;
    }

    .wpgdx-route-price-card {
        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }

    .wpgdx-route-price-card__head {
        min-height: 44px;
        padding: 9px 12px;
    }

    .wpgdx-route-price-card__head h3 {
        font-size: 16px !important;
    }

    .wpgdx-route-price-card__body {
        padding: 12px 13px 14px;
    }

    .wpgdx-route-price-meta {
        min-height: 40px;
        padding: 7px 9px;
        font-size: 12px;
    }

    .wpgdx-route-price-row {
        grid-template-columns: 21px minmax(0, 1fr) auto;
        gap: 5px;
        min-height: 36px;
        padding: 6px 0;
        font-size: 12.5px;
    }

    .wpgdx-route-price-row__price {
        font-size: 12.5px !important;
    }

    .wpgdx-route-price-dots {
        display: none !important;
    }
}

@media (max-width: 360px) {
    .wpgdx-route-price-pages {
        grid-auto-columns: 250px;
        gap: 12px;
    }

    .wpgdx-route-price-meta {
        flex-wrap: wrap;
        gap: 3px 5px;
        font-size: 11.5px;
    }

    .wpgdx-route-price-row,
    .wpgdx-route-price-row__price {
        font-size: 12px !important;
    }
}

/* v1.0.39 - Desktop route slider moves one column per drag */
@media (min-width: 641px) {
    .wpgdx-route-price-pages.is-desktop-column-track {
        display: flex;
        align-items: stretch;
        gap: 20px;
        width: 100%;
        overflow-x: hidden !important;
        overflow-y: visible;
        scroll-behavior: smooth;
        scrollbar-width: none;
        touch-action: none;
    }

    .wpgdx-route-price-pages.is-desktop-column-track::-webkit-scrollbar {
        display: none;
    }

    .wpgdx-route-price-pages.is-desktop-column-track.is-dragging-track {
        scroll-behavior: auto;
    }

    .wpgdx-route-price-column {
        display: grid;
        flex: 0 0 calc(
            (100% - ((var(--wpgdx-route-visible-columns, 3) - 1) * 20px)) /
            var(--wpgdx-route-visible-columns, 3)
        );
        grid-auto-rows: minmax(0, auto);
        gap: 20px;
        min-width: 0;
        align-content: start;
    }

    .wpgdx-route-price-column > .wpgdx-route-price-card {
        width: 100%;
    }

    .wpgdx-route-prices.is-column-slider-ready .wpgdx-route-price-dots {
        margin-top: 14px;
    }
}

@media (max-width: 980px) and (min-width: 641px) {
    .wpgdx-route-price-pages.is-desktop-column-track {
        gap: 16px;
    }

    .wpgdx-route-price-column {
        flex-basis: calc(
            (100% - ((var(--wpgdx-route-visible-columns, 2) - 1) * 16px)) /
            var(--wpgdx-route-visible-columns, 2)
        );
        gap: 16px;
    }
}
