@media (max-width: 768px) {
    .booking-ticket-details-button {
         width: auto; 
    }
}

.booking-ticket-details-additional-services{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.booking-ticket-details-additional-services .booking-ticket-details-button{
    flex: 1 1 calc(33.333% - 11px);
    min-width: 230px;
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;

    padding: 14px 18px;
    border: 1px solid #d9e2ea;
    border-radius: 12px;
    background: #fff;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    color: #1c2d41;

    transition: .2s;
    cursor: pointer;
}

.booking-ticket-details-additional-services .booking-ticket-details-button:hover{
    border-color: #0d6efd;
    box-shadow: 0 4px 14px rgba(13,110,253,.12);
    transform: translateY(-2px);
}

.booking-ticket-details-additional-services .booking-ticket-details-button object,
.booking-ticket-details-additional-services .booking-ticket-details-button img{
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: block;
}

.booking-ticket-details-additional-services .booking-ticket-details-button object{
    pointer-events: none;
}

@media (max-width: 992px){
    .booking-ticket-details-additional-services .booking-ticket-details-button{
        flex-basis: calc(50% - 8px);
    }
}

@media (max-width: 576px){
    .booking-ticket-details-additional-services .booking-ticket-details-button{
        flex-basis: 100%;
        width:100% !important;
    }
}


.booking-ticket-details-button {
    margin: 0px;
}

.booking-payment-information-main-col {
    max-width: 305px;
}
.booking-payment-information-value {
    position: relative;
}

/* Стилизация для всех веб-браузеров на основе WebKit */
.booking-seat-choice-table-wrapper::-webkit-scrollbar {
    width: 12px; /* Ширина скроллбара */
}

.booking-seat-choice-table-wrapper::-webkit-scrollbar-track {
    background: #e0e0e0; /* Цвет фона полосы прокрутки */
}

.booking-seat-choice-table-wrapper::-webkit-scrollbar-thumb {
    background-color: #888; /* Цвет бегунка прокрутки */
    border-radius: 10px; /* Скругление углов бегунка */
    border: 2px solid #e0e0e0; /* Отступы вокруг бегунка */
}

.booking-seat-choice-table-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Цвет бегунка при наведении */
}

/* Стилизация для Firefox */
.booking-seat-choice-table-wrapper {
    scrollbar-width: thin; /* Толщина скроллбара */
    scrollbar-color: #888 #e0e0e0; /* Цвет бегунка и фона полосы прокрутки */
}

/* Стилизация для Internet Explorer и Edge */
.booking-seat-choice-table-wrapper {
    -ms-overflow-style: -ms-autohiding-scrollbar; /* Автоматическое скрытие полосы прокрутки в IE и Edge */
}


.booking-ticket-details-type{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #1c2d41;
}

.booking-ticket-details-type .flight-number{
    padding: 4px 10px;
    background: #eef5ff;
    color: #0056b3;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.booking-ticket-details-type .route-city{
    white-space: nowrap;
}

.booking-ticket-details-type object,
.booking-ticket-details-type img{
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}



.booking-services-box > label {
    margin: 2px 2px;
}

.booking-service  {
        min-height: 50px;
}
.booking-service svg {
        color: #fff;
        display: inline-block;
        margin-right: 12px;
}
/* speqmodal */
#speqmodal .modal-box {
        max-width: 680px;
        width: 100%;
}
.speq-modal-heading {
        font-size: 22px;
        font-weight: 700;
        color: #1a2a4a;
        margin-bottom: 28px;
}
.speq-cards {
        display: flex;
        gap: 16px;
        justify-content: center;
        margin-bottom: 32px;
}
.speq-card {
        position: relative;
        flex: 1;
        border: 1.5px solid #e0e4ef;
        border-radius: 14px;
        padding: 24px 16px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        cursor: pointer;
        transition: border-color .15s, background .15s;
        background: white;
        min-width: 140px;
        user-select: none;
}
.speq-card img {
        width: 88px;
        height: 88px;
        object-fit: contain;
}
.speq-card-label {
        font-size: 17px;
        color: #2D5490;
        font-weight: 500;
}
.speq-card-check {
        display: none;
        position: absolute;
        top: 10px;
        right: 10px;
        width: 24px;
        height: 24px;
        background: #4CAF50;
        border-radius: 50%;
        color: white;
        font-size: 13px;
        font-weight: 700;
        align-items: center;
        justify-content: center;
}
.speq-card--selected {
        border-color: #4a7fd4;
        background: #EEF5FF;
}
.speq-card--selected .speq-card-check {
        display: flex;
}
.speq-footer {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        margin-top: 8px;
}
/* petsmodal */
#petsmodal .modal-box {
        max-width: 880px;
        width: 100%;
}

#pets-tabs {
        display: flex;
        gap: 10px;
        margin-bottom: 18px;
        flex-wrap: wrap;
}
.pets-tab {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 18px;
        border-radius: 10px;
        border: none;
        cursor: pointer;
        font-size: 15px;
        background: #EBEBEB;
        color: #001D38;
        transition: background .15s, color .15s;

}

.pets-tab svg {
        color: #AFAFAF
}
.pets-tab--active {
        background: #D8F0FF;
        color: #2D5490;
}
.pets-tab--active svg {
        color: #2D5490
}
.pets-tab svg {
        flex-shrink: 0;
}
.pets-card {
        display: flex;
        align-items: center;
        gap: 20px;
        background: #fff;
        border: 1.5px solid #e0e4ef;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 14px;
        transition: border-color .15s;
        @media screen and (max-width: 991px) {
                flex-direction: column;
        }
}
.pets-card-img {
        width: 155px;
        min-width: 155px;
        height: 115px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
}
.pets-card-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
}
.pets-card-body {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 20px;
        @media screen and (max-width: 767px) {
                flex-direction: column;
        }
}
.pets-card-content {
        flex: 1;
        min-width: 0;
}
.pets-card-title {
        font-size: 17px;
        font-weight: 700;
        color: #001D38;
}
.pets-card-subtitle {
        color: #3790FF;
        font-size: 14px;
        margin-bottom: 10px;
}
.pets-card--selected {
        border: 1px solid #2D5490;
        background: #fff;
}
.pets-card-desc-list {
        padding-left: 0;
        list-style: none;
        margin: 8px 0 0;
        color: #333;
        font-size: 14px;
        line-height: 1.5;
}
.pets-card-desc-list li {
        padding-left: 14px !important;
        position: relative;
        margin-bottom: 3px !important;
}
.pets-card-desc-list li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 7px !important;
        width: 5px !important;
        height: 5px !important;
        background: #000 !important;
        border-radius: 50%;
}
.pets-card-desc {
        color: #333;
        font-size: 14px;
        line-height: 1.5;
}
.pets-card-desc + .pets-card-desc {
        margin-top: 4px;
}
.pets-card-desc--gap {
        margin-bottom: 12px;
}
#pets-weights {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
}
.pets-card-action {
        flex-shrink: 0;
        margin-left: auto;
}
.pets-select-btn {
        background: #2D5490;
        color: white;
        border: 1px solid #2D5490;
        border-radius: 10px;
        font-size: 16px;
        cursor: pointer;
        min-width: 130px;
        white-space: nowrap;
        height: 40px;
}
.pets-select-btn--selected {
        background: white;
        color: #2D5490;
}
.pets-weight-btn {
        padding: 10px 18px;
        border-radius: 8px;
        border: 1px solid #2D5490;
        background: white;
        color: #2D5490;
        font-size: 14px;
        cursor: pointer;
        min-width: 97px;
}
.pets-weight-btn--selected {
        background: #2D5490;
        color: white;
}
.pets-footer {
        text-align: right;
        margin-top: 20px;
        display: flex;
        gap: 10px;
        justify-content: flex-end;
}
.pets-pre-grid {
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:12px;
        margin-bottom:16px;
        @media screen and (max-width: 767px) {
                grid-template-columns:1fr;
        }
}
.pets-pre-card {
        border-radius:8px;padding:20px;background:#F0F2F5
}

.pets-pre-card-header{
        display:flex;
        align-items:center;
        gap:15px;
        margin-bottom:10px
}

.pets-pre-card-header h6{
        font-weight:600;
        font-size:16px;
        color:#001d38;
        margin:0
}

.pets-pre-card-body{
        color: #001D38;
        font-size: 14px;
        line-height: 1.3;
}

.pets-pre-card-body p{
        margin:0 0 6px
}
.pets-pre-card-body ul{
        padding-left:0;
        list-style:none;
}

.pets-pre-card-body ul li{
        padding-left: 10px !important;
        position:relative;
        margin-bottom:4px !important;
        line-height: 1.3;
}

.pets-pre-card-body ul li::before {
        width: 5px !important;
        height: 5px !important;
        background: #001D38 !important;
        border-radius: 50% !important;
        top: 6px !important;
}

.pets-pre-modal .modal-box,
.modal-window .modal-box {
        max-height: 100vh;
        overflow: auto;
}



.pets-pre-footer{
        display:flex;
        align-items:center;
        justify-content:space-between;
        padding: 15px;
        margin-bottom:16px;
        min-height: 63px;
        background: #EDF4FF;
        border-radius: 8px;
        @media screen and (max-width: 767px) {
                flex-direction: column;
                gap: 12px;
                align-items: flex-start;
        }
}
.pets-pre-contacts{
        display:flex;
        gap:20px;
        @media screen and (max-width: 767px) {
                flex-direction: column;
        }
}
.pets-pre-contact{display:flex;align-items:center;gap:6px;font-size:12px;color:#333}
.pets-pre-rules-link{
        font-size:15px;
        white-space:nowrap;
        color: #3790FF;
}

.pets-pre-card--restrictions {
        background-color: #FFEEEE;
}


.special-food-box-form{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin:15px 0;
}

.special-food-box-item{
    flex:1 1 250px;
    margin:0;
    cursor:pointer;
}

.special-food-box-item input{
    display:none;
}

.special-food-box-item .item-box{
    display:flex;
    align-items:center;
    padding:14px 18px;
    border:2px solid #dfe6ee;
    border-radius:12px;
    background:#fff;
    transition:.2s;
}

.special-food-box-item .title{
    font-size:15px;
    color:#24364b;
    font-weight:500;
}

.special-food-box-item .title strong{
    font-weight:600;
}

.special-food-box-item input:checked + .item-box{
    border-color:#0068d7;
    background:#eef6ff;
    box-shadow:0 4px 12px rgba(0,104,215,.15);
}

.special-food-box-item:hover .item-box{
    border-color:#7fb5ff;
}
