.aircraft-catalog {
    padding: 0px 0;
    max-width: 100%;
    margin: 0 auto;
}

.catalog-grid {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 30px;
}
@media (max-width: 870px) {
    .catalog-grid {
        display: flex;
        flex-direction: column-reverse;
    }
}

.catalog-content {
    background-color: #FFF;
    border-radius: 16px;
    border: 1px solid #252B3A;
    padding: 46px 24px 46px 24px;
    position: relative;
    min-height: 151px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    order: 1;
}

.catalog-menu {
    background-color: #FFF;
    border-radius: 16px;
    border: 1px solid #252B3A;
    padding: 46px 24px 46px 24px;
    position: relative;
    min-height: 151px;
    position: sticky;
    top: 20px;
    height: fit-content;
    order: 2;
}

.aircraft-image {
    margin-bottom: 20px;
    position: relative;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: none;
    background: #fff;
}

.main-image img.active {
    display: block;
}

.image-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-top: 10px;;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #007bff #f8f9fa;
}

.image-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.image-thumbnails::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 3px;
}

.image-thumbnails::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 3px;
}

.thumbnail {
    flex: 0 0 100px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    background: #fff;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumbnail:first-child {margin-left: 10px;}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    opacity: 1;
    box-shadow: 0 0 0 2px #007bff;
}

.thumbnail img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.aircraft-info {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 20px;
}

.aircraft-info h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 24px;
}

.aircraft-info .description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #666;
}

.specifications {
    margin-top: 20px;
}

.specs-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.specs-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.specs-list li:last-child {
    border-bottom: none;
}

.aircraft-types {
    flex: 1;
    padding-left: 20px;
    border-left: 1px solid #eee;
}

.types-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.types-list li {
    margin-bottom: 5px;
    color: #666;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-menu-link {
    display: block;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.cat-menu-link:hover {
    background: #f8f9fa;
    color: #333;
}

.cat-menu-link.active {
    background: #007bff;
    color: #fff;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.aircraft-cards {
    width: 100%;
    margin-top: 40px;
}

.aircraft-cards h2 {
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.aircraft-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 200px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #252b3a;
    padding: 24px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card-image {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 18px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    text-align: center;
}

.card-class {
    font-size: 18px;
    color: #000;
    font-weight: normal;
}

.card-title {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1.45;
    color: #000;
    font-weight: bold;
}

@media (max-width: 1200px) {
    .aircraft-card {
        flex: 0 0 calc(33.333% - 15px);
    }
}

@media (max-width: 900px) {
    .aircraft-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .aircraft-card {
        flex: 0 0 100%;
    }
}

.aircraft-content {
    width: 100%;
    position: relative;
}

.aircraft-content .steps_item_title {
    font-size: 24px;
    color: #252B3A;
    font-weight: 600;
    letter-spacing: -1.2px;
    margin-bottom: 10px;
}

.aircraft-content .steps_item_text {
    color: #808A9A;
    font-size: 14px;
    line-height: 120%;
    font-weight: 400;
} 