/* Дополнительные стили для шаблона страницы направления MinivanGo.
   Подключать после основных CSS-файлов сайта:
   <link rel="stylesheet" href="css/route-page.css">
*/

.route-pricing-section {
    padding-bottom: 55px;
}

.route-summary {
    max-width: 980px;
    margin: 0 auto 50px;
    padding: 28px 32px;
    border: 1px solid #e8e8e8;
    background: #f8f8f8;
    line-height: 1.75;
}

.route-summary p:last-child {
    margin-bottom: 0;
}

.route-summary-lead {
    margin-bottom: 12px;
    font-size: 19px;
    line-height: 1.65;
}

.route-tariff-note {
    max-width: 960px;
    margin: 0 auto 42px;
    text-align: center;
    line-height: 1.7;
}

.route-taxi-option {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 30px;
    margin-top: 38px;
    padding: 24px 28px;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #d8b136;
    background: #fafafa;
}

.route-taxi-option h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.route-taxi-option p {
    margin: 0;
    line-height: 1.65;
}

.route-taxi-option-action {
    -ms-flex: 0 0 auto;
        flex: 0 0 auto;
}

.route-details-section {
    background: #fff;
}

.route-content-block {
    margin-bottom: 75px;
}

.route-content-block:last-child {
    margin-bottom: 0;
}

.route-included-list {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.route-included-list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 28px;
    line-height: 1.6;
}

.route-included-list li:before {
    position: absolute;
    top: 0;
    left: 0;
    content: "✓";
    font-weight: 700;
}

.route-waiting-note {
    margin: 0;
    padding-top: 4px;
}

.route-extra-options {
    height: 100%;
    padding: 24px 26px;
    border: 1px solid #e7e7e7;
    background: #f8f8f8;
}

.route-extra-options h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
}

.route-extra-options p {
    margin: 0;
    line-height: 1.65;
}

.route-section-intro {
    max-width: 850px;
    margin: 0 auto 34px;
    text-align: center;
    line-height: 1.7;
}

.vehicle-choice-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.vehicle-choice-row > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 30px;
}

.vehicle-choice-card {
    width: 100%;
    min-height: 190px;
    padding: 25px 25px 22px;
    border: 1px solid #e8e8e8;
    background: #fff;
    -webkit-box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
            box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
}

.vehicle-choice-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
}

.vehicle-choice-card p {
    margin: 0;
    line-height: 1.65;
}

.vehicle-choice-card-wide {
    min-height: 150px;
}

.route-order-panel {
    padding: 30px 34px;
    border: 1px solid #e5e5e5;
    background: #f8f8f8;
}

.route-order-title {
    margin: 0 0 13px;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 500;
}

.order-hint {
    margin: 0;
    line-height: 1.7;
}

.route-order-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
}

.route-order-actions .btn {
    width: 100%;
    margin: 0;
    white-space: normal;
}

.route-faq-list {
    max-width: 980px;
    margin: 0 auto;
    border-top: 1px solid #e5e5e5;
}

.route-faq-item {
    padding: 24px 0 22px;
    border-bottom: 1px solid #e5e5e5;
}

.route-faq-item h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.45;
    font-weight: 600;
}

.route-faq-item p {
    margin: 0;
    line-height: 1.72;
}

.destination-info {
    padding-top: 3px;
}

.destination-info-text {
    max-width: 980px;
    margin: 0 auto;
    line-height: 1.75;
}

.destination-info-text > *:last-child {
    margin-bottom: 0;
}

.related-routes-list {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px 28px;
    border: 1px solid #e5e5e5;
    background: #f8f8f8;
}

@media only screen and (max-width: 991px) {
    .route-taxi-option {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: stretch;
            -ms-flex-align: stretch;
                align-items: stretch;
    }

    .route-taxi-option-action .btn {
        width: 100%;
    }

    .route-extra-options {
        margin-top: 28px;
    }

    .route-order-actions {
        margin-top: 25px;
    }

    .vehicle-choice-card,
    .vehicle-choice-card-wide {
        min-height: 0;
    }
}

@media only screen and (max-width: 767px) {
    .route-summary {
        margin-bottom: 38px;
        padding: 22px 20px;
    }

    .route-summary-lead {
        font-size: 17px;
    }

    .route-tariff-note {
        margin-bottom: 32px;
        text-align: left;
    }

    .route-taxi-option {
        margin-top: 28px;
        padding: 21px 20px;
    }

    .route-content-block {
        margin-bottom: 55px;
    }

    .route-order-panel {
        padding: 24px 20px;
    }

    .route-order-title {
        font-size: 21px;
    }

    .route-faq-item {
        padding: 21px 0 19px;
    }

    .route-faq-item h3 {
        font-size: 17px;
    }
    .related-routes {
    margin-top: 10px;
}

.related-routes-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;

    margin: 0 -10px;
    padding: 0;

    list-style: none;
}

.related-routes-item {
    width: 50%;
    margin: 0;
    padding: 0 10px 18px;
}

.related-routes-item a {
    display: block;

    height: 100%;
    padding: 18px 20px;

    border: 1px solid #e5e5e5;
    background: #f8f8f8;

    line-height: 1.45;
    text-decoration: none;

    -webkit-transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        -webkit-transform 0.2s ease;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        -webkit-transform 0.2s ease;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease,
        -webkit-transform 0.2s ease;
}

.related-routes-item a:hover,
.related-routes-item a:focus {
    border-color: #cfcfcf;
    background: #fff;

    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
}

@media only screen and (max-width: 767px) {
    .related-routes-list {
        margin: 0;
    }

    .related-routes-item {
        width: 100%;
        padding: 0 0 12px;
    }

    .related-routes-item a {
        padding: 16px 17px;
    }
}
}
