.ticket {
    background: #fff;
    border-radius: 1rem;
    margin-bottom: 1.25rem;
    padding: 1.5rem 1.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: none;
}
.ticket--highlighted {
    border: 0.125rem solid #F5C17B;
    background: #FEF6EE;
}
.ticket__header {
    display: flex;
    align-items: center;
    gap: 1.5625rem;
    font-size: 1.1875rem;
}
.ticket__type {
    font-weight: 600;
}
.ticket__price {
    display: flex;
    align-items: center;
    color: #F05623;
    font-weight: 600;
    font-size: 1.3125rem;
    margin-right: 1.5625rem;
}
.ticket__price-dot {
    width: 0.6875rem;
    height: 0.6875rem;
    background: #F05623;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.625rem;
}
.ticket__class {
    color: #757575;
}
.ticket__beds {
    color: #757575;
    font-size: 1rem;
    margin-left: 0.75rem;
    line-height: 1.2;
}
.ticket__meal {
    background: #22B573;
    color: #fff;
    border-radius: 0.3125rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.9375rem;
    margin-left: 1rem;
    font-weight: 600;
}
.ticket__features {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    margin-left: 1.875rem;
}
.ticket__choose {
    background: #01AEF0;
    color: #fff;
    border: none;
    border-radius: 1.6875rem;
    padding: 0.875rem 2.375rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 2.5rem;
    transition: background 0.2s;
}
.ticket__choose:hover {
    background: #01AEF0;
}

/* ---------------- WAGON MAP ---------------- */
.wagon-map {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem 1.5rem 0.75rem 1.5rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.03);
    margin-bottom: 2rem;
}
.wagon-map__title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.wagon-map__img {
    width: 100%;
    min-height: 5rem;
    background: #eee;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------------- WAGONS LIST & LEGEND ---------------- */
.wagons {
    margin-bottom: 2rem;
}
.wagins__item{
    display: flex;
    justify-content: center;
}
.wagons__list {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.wagon-btn {
    background: #fff;
    border: none;
    border-radius: 0.375rem;
    padding: 1.125rem 2rem;
    font-size: 1.125rem;
    color: #222;
    box-shadow: 0 0.125rem 0.375rem rgba(0,0,0,0.04);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 8.75rem;
    transition: background 0.2s;
}
.wagon-btn--active {
    background: #ffb840;
    color: #fff;
}
.wagon-btn__seats {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    color: #888;
}
.wagons__legend {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9375rem;
    margin-top: 0.5rem;
}
.legend {
    display: inline-block;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 0.25rem;
    margin-right: 0.25rem;
    vertical-align: middle;
}
.legend--free { background: #82BFFF; border: 1px solid #82BFFF; }
.legend--busy { background: #bcbcbc; }
.legend--selected { background: #47545a; }

/* ---------------- GALLERY ---------------- */
.gallery {
    display: flex;
    gap: 1.125rem;
    margin-bottom: 2rem;
    justify-content: space-between;
}
.gallery__item {
    width: 7rem;
    height: 5rem;
    background: #e6e6e6;
    border-radius: 0.375rem;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.3125rem;
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------------- ORDER SIDEBAR ---------------- */
/*.order {
    top: 23.75rem;
    right: 3.75rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.08);
    padding: 1.75rem 1.5rem 1.5rem 1.5rem;
    min-width: 20.625rem;
    z-index: 10;
}
.order__selected {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.order__continue {
    width: 100%;
    padding: 1rem 0;
    background: #ff7300;
    color: #fff;
    font-size: 1.125rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: bold;
    margin-top: 0.75rem;
    transition: background 0.2s;
}
.order__continue:hover {
    background: #e26200;
}*/

.make-reservation{
    background: #01AEF0;
    color: #fff;
    border: none;
    border-radius: 1.6875rem;
    padding: 0.875rem 2.375rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}


/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1440px) {
}
@media (max-width: 1024px) {

}
@media (max-width: 768px) {
    .ticket { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1rem 0.5rem; }
}
@media (max-width: 425px) {
    .ticket { flex-direction: column; align-items: flex-start; gap: 0.7rem; padding: 0.7rem 0.2rem; }
    .ticket__header { flex-wrap: wrap; gap: 0.7rem; font-size: 1rem; }
    .ticket__choose { margin-left: 0; width: 100%; font-size: 1rem; padding: 0.7rem 0; }
}
@media (max-width: 320px) {
}