.other-models-swiper .swiper-wrapper,
.similar-models-swiper .swiper-wrapper {
    align-items: stretch;
}

.other-models-swiper .swiper-slide,
.similar-models-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.other-model-card {
    display: flex !important;
    flex-direction: column;
    width: 100%;
}

.other-model-card > div {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.other-model-card > div > div:last-child {
    margin-top: auto;
}

.car-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

.gallery-section {
    position: relative;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.swiper-main {
    width: 100%;
    height: 500px;
    background: #000;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-thumbs {
    height: 150px;
    box-sizing: border-box;
    padding: 10px 0 !important;
}

.swiper-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
}

.swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #C62828;
    border-radius: 4px;
}

.swiper-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.car-header-info {
    margin-bottom: 40px;
}

.header-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.header-row-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #C62828;
    padding: 6px 20px;
    border-radius: 50px;
    background: #fff;
    margin: 0;
}

.brand-badge img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.brand-badge span {
    font-weight: 700;
    color: #000;
    font-size: 16px;
}

.price-info-left {
    display: flex;
    flex-direction: column;
}

.main-price {
    font-size: 36px;
    font-weight: 800;
    color: #000;
    margin: 5px 0;
    line-height: 1;
}

.price-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

.avg-rating-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avg-rating-score {
    font-size: 28px;
    font-weight: 800;
    color: #333;
    line-height: 1;
}

.rating-details-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.avg-rating-stars {
    display: flex;
    gap: 2px;
}

.avg-rating-label {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    margin-top: 2px;
}

.dt-star-icon {
    width: 16px;
    height: 16px;
}

.dt-star-fill {
    fill: #FFC107;
}

.dt-star-empty {
    fill: #E0E0E0;
}

.specs-bar-container {
    border: 1px solid #C62828;
    border-radius: 16px;
    padding: 20px 0;
    margin-bottom: 10px;
    background: #fff;
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.spec-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
    position: relative;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.spec-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background-color: #eee;
}

.spec-icon-img {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.spec-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #000;
}

.spec-info p {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: #666;
}

.view-more-link {
    display: block;
    width: 100%;
    flex-basis: 100%;
    text-align: center;
    color: #C62828;
    text-decoration: none;
    font-size: 14px;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #f9f9f9;
    font-weight: 700;
    cursor: pointer;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.left-col {
    min-width: 0;
}

.other-models-swiper {
    width: 100%;
    overflow: hidden;
}

.description-box {
    margin-top: 20px;
}

.section-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 8px;
}

.description-box h3 {
    color: #C62828;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 0;
}

.desc-content {
    line-height: 1.8;
    color: #444;
    font-size: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.desc-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

.desc-content p {
    margin-bottom: 15px;
    white-space: normal;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    color: #C62828;
    display: flex;
    align-items: center;
}

.model-car-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.model-car-info {
    font-weight: 700;
    font-size: 14px;
    flex: 1;
    padding-right: 20px;
    min-width: 0;
}

.model-car-price {
    color: #C62828;
    font-weight: 800;
    width: 150px;
    text-align: left;
    flex-shrink: 0;
    white-space: nowrap;
}

.model-car-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 330px;
    justify-content: flex-end;
    flex-shrink: 0;
}

.btn-compare {
    background: #eef2ff;
    color: #4f46e5;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.btn-brochure {
    color: #C62828;
    background: transparent;
    text-decoration: none;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    border: none;
}

.btn-brochure:hover {
    background: #fff5f5;
}

.article-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
}

.article-card:hover .article-title {
    color: #C62828;
}

.article-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0;
    display: block;
}

.article-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.article-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
    color: #333;
    text-decoration: none;
}

.article-meta {
    font-size: 0.8rem;
    color: #C62828;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.eye-icon {
    width: 14px;
    height: 14px;
    fill: #C62828;
}

.ads-frame {
    padding-top: 0px !important;
}

.share-info-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-main-brochure {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #C62828;
    color: #fff;
    padding: 0 20px;
    height: 38px;
    border-radius: 23px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background-color 0.2s ease;
    border: 1px solid #C62828;
}

.btn-main-brochure:hover {
    background-color: #fff;
    color: #C62828;
}

.brochure-icon-svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.other-models-swiper .swiper-button-prev::after, 
.other-models-swiper .swiper-button-next::after,
.similar-models-swiper .swiper-button-prev::after, 
.similar-models-swiper .swiper-button-next::after {
    font-size: 12px !important;
    color: #C62828 !important;
    font-weight: bold !important;
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .specs-bar-container {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 20px 10px;
    }

    .spec-box {
        min-width: 150px;
        flex: 0 0 auto;
        border-right: 1px solid #eee;
    }

    .spec-box:not(:last-child)::after {
        display: none;
    }

    .model-car-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .model-car-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .model-articles-section div[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .header-row-top {
        flex-direction: row;
        justify-content: space-between;
    }

    .header-row-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .model-articles-section div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}