/* Подключение шрифтов Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* body {
    background-color: #212121;
    color: #fff;
} */

/* Общие стили для контейнера Carrera */
.carrera-wrapper {
    background-color: #212121;
    color: #fff;
    width: 100%;
}

.carrera-container {
    max-width: 1050px;
    margin: 0 auto;
    width: 100%;
    background-color: #212121;
}

/* Новый героический блок */
.carrera-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 0 60px;
    overflow: hidden;
}

.carrera-hero-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.carrera-hero-logo {
    position: absolute;
    top: 0;
    left: 60px;
    z-index: 3;
}

.carrera-hero-logo img {
    width: auto;
    height: 50px;
}

.carrera-hero-text {
    text-align: left;
    max-width: 600px;
}

.carrera-hero-title {
    font-size: 27px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #fff;
    width: 500px;
}

.carrera-hero-subtitle {
    font-size: 24px;
    line-height: 1.4;
    color: #FFF870;
    opacity: 0.9;
    margin-bottom: 30px;
    font-weight: bold;
}

.carrera-hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
    opacity: 0.8;
}

/* Декоративные элементы */
.carrera-hero-decoration {
    display: none;
}

/* Tabs Section Styles */
.carrera-tabs-section {
    background-color: #212121;
    padding: 20px 0;
}

.carrera-tabs-container {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.carrera-tab {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 18px 24px;
    gap: 8px;
    width: 343px;
    height: 62px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    flex: none;
    flex-grow: 0;
}

/* Невыбранный таб */
.carrera-tab {
    background: #212121;
    color: #FFF870;
    border-bottom: 2px solid #FFF870;
}

/* Выбранный таб */
.carrera-tab.carrera-tab-active {
    background: #FFF870;
    color: #212121;
    border-bottom: none;
}

.carrera-tab:hover {
    opacity: 0.8;
}

/* Tab Content Styles */
.carrera-tab-content {
    display: none;
    background-color: #212121;
    padding: 20px 0;
}

.carrera-tab-content.carrera-tab-content-active {
    display: block;
}

.carrera-video-description {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    background-color: #343333;
    font-size: 25px;
    line-height: 1.5;
    padding-top: 32px;
    padding-bottom: 60px;
}

.carrera-category-section {
    background-color: #333;
    margin-bottom: 20px;
    overflow: hidden;
}

.carrera-category-content {
    position: relative;
    padding: 60px 0 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 4px solid #FFF870;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Add this new class for right-aligned content */
.carrera-category-content.carrera-align-right {
    align-items: flex-end;
}

.carrera-category-content.carrera-align-right .carrera-category-text {
    text-align: left;
    color: #212121;
    margin-right: 49px;
}

.carrera-category-content.carrera-align-right .carrera-category-text h2{
    color: #fff;
}

.carrera-category-content.carrera-align-right .carrera-category-text p{
    color: #fff;
}

.carrera-category-content.carrera-align-right .carrera-button-container {
    justify-content: flex-end;
    margin-right: 82px;
}

.carrera-category-content.carrera-align-right .carrera-expand-button {
    margin: 0;
}

.carrera-button-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-bottom: 0;
    margin-bottom: 0;
    height: auto;
}

.carrera-category-text {
    position: relative;
    max-width: 35%;
    margin-left: 82px;
    margin-top: 130px;
    padding: 0 20px 0 0px;
    z-index: 2;
    color: #212121;
}

.carrera-category-text h2 {
    font-size: 35px;
    margin-bottom: 15px;
    color: #212121;
}

.carrera-category-text p {
    font-size: 25px;
    line-height: 1.2;
    color: #212121;
}

.carrera-expand-button {
    display: inline-block;
    width: auto;
    min-width: 180px;
    background-color: #FFF870;
    color: #000;
    text-align: center;
    padding: 16px 10px 10px 19px;
    margin: 0 0 0 82px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    z-index: 2;
    align-self: flex-start;
    border: none;
}

.carrera-subcategories {
    display: block;
    max-height: 0;
    overflow: hidden;
    background-color: #222;
    transition: max-height 0.5s ease-in-out;
    opacity: 0;
}

.carrera-subcategories.carrera-active {
    max-height: 1800px;
    opacity: 1;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out 0.1s;
}

/* Стили для подкатегорий */
.carrera-subcategory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.carrera-subcategory-item {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #444;
}

.carrera-subcategory-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 15px;
}

.carrera-subcategory-item h4 {
    color: #FFF;
    font-size: 18px;
    margin: 0;
    padding: 8px 15px;
    text-align: center;
}

.carrera-subcategory-item img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
}

.carrera-subcategory-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.carrera-subcategory-link:hover .carrera-subcategory-item {
    transform: scale(1.03);
    transition: transform 0.2s ease;
}

.carrera-brand-section {
    background-color: #000;
    background-size: cover;
    background-position: 75% center;
    color: #fff;
    padding: 40px 20px;
    position: relative;
}

.carrera-brand-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
    gap: 5px;
}

.carrera-brand-image {
    flex: 1;
    max-width: 600px;
}

.carrera-brand-image img {
    width: 100%;
    height: auto;
    display: block;
}

.carrera-brand-info {
    flex: 0.8;
    padding-right: 20px;
}

.carrera-brand-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}

.carrera-brand-info p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    padding-right: 50px;
}

.carrera-brand-stats {
    margin-top: 30px;
}

.carrera-stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.carrera-stat-item {
    flex: 1;
}

.carrera-stat-number {
    font-size: 52px;
    font-weight: bold;
    color: #FFF;
    margin-bottom: 10px;
}

.carrera-stat-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
}

.carrera-timeline-container {
    max-width: 1160px;
    margin: 50px auto 0;
    overflow-x: auto;
    padding-bottom: 20px;
}

.carrera-timeline {
    display: flex;
    min-width: 900px;
    position: relative;
}

.carrera-timeline-item {
    flex: 1;
    text-align: center;
    padding: 0 4px;
    position: relative;
}

.carrera-timeline-year {
    font-size: 28px;
    font-weight: bold;
    color: #FFF870;
    margin-bottom: 10px;
}

.carrera-timeline-line {
    height: 10px;
    background-color: #FFF870;
    width: 100%;
    margin: 15px 0;
}

.carrera-timeline-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    text-align: left;
    padding: 0 30px 0 30px;
}

.carrera-brand-footer {
    margin-top: 40px;
    text-align: center;
}

.carrera-designed-in {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #fff;
}

.carrera-designed-in img {
    height: 20px;
    width: auto;
}

.carrera-footer {
    text-align: center;
    padding: 20px;
    background-color: #111;
}

/* Replace the existing arrow styles */
.carrera-arrow {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
    vertical-align: middle;
    margin-left: 5px;
}

.carrera-expanded .carrera-arrow {
    transform: rotate(180deg);
}

/* Фоны для десктопной версии */
.carrera-brand-bg {
    background-image: url('images/brand/banner.webp');
    background-size: cover;
    background-position: 90% center;
}

.kitchen-bg {
    background-image: url('images/mkt/banner.webp');
    background-position: right center;
}

.home-bg {
    background-image: url('images/tdd/banner.webp');
    background-position: left center;
}

.beauty-bg {
    background-image: url('images/kiz/banner.webp');
    background-position: right center;
}

.tv-bg {
    background-image: url('images/tv/banner.webp');
    background-position: left center;
    background-size: 112%;
    background-repeat: no-repeat;
}

.comp-bg {
    background-image: url('images/comp/banner.webp');
    background-position: right center;
}

.gaming-bg {
    background-image: url('images/gaming/banner.webp');
    background-position: left center;
    background-size: 100%;
}

.brand-bg {
    background-image: url('images/brand/banner.webp');
    background-size: cover;
    background-position: 90% center;
}

/* Адаптивные стили */
@media (max-width: 992px) {
    /* Скрываем UTP блоки и показываем слайдеры на планшетах */
    .carrera-temperature-block,
    .carrera-ceramic-block,
    .carrera-attachments-block,
    .carrera-accessories-block {
        display: none !important;
    }
    
    .carrera-mobile-slider {
        display: block;
    }
    
    /* Обновленные стили для героического блока на планшетах */
    .carrera-hero-section {
        min-height: 360px;
        padding:0px 0 32px 32px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .carrera-hero-content {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }

    .carrera-hero-logo {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 30px;
        width: 100%;
        text-align: left;
    }

    .carrera-hero-text {
        margin-top: 0;
        max-width: 100%;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .carrera-hero-title {
        font-size: 32px;
        width: 100%;
        max-width: 430px;
        text-align: left;
    }

    .carrera-hero-subtitle {
        font-size: 20px;
        text-align: left;
    }
    
    .carrera-hero-description {
        text-align: left;
        max-width: 600px;
    }

    .carrera-hero-product-image {
        max-width: 300px;
    }

    /* Стили для блока стайлеров в планшетной версии */
    .carrera-stylers-block {
        height: 650px;
        padding: 30px 40px;
    }

    .carrera-stylers-title {
        width: 450px;
        font-size: 35px;
    }

    .carrera-stylers-description {
        font-size: 20px;
    }

    .carrera-stylers-button {
        width: 240px;
        height: 70px;
        padding: 18px 28px;
        font-size: 14px;
    }

    .carrera-subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .carrera-category-text {
        max-width: 43%;
        margin-left: 20px; 
        margin-right: 20px;
        margin-top: 0;
    }
    
    .carrera-category-text h2 {
        font-size: 25px;
    }
    
    .carrera-category-text p {
        font-size: 18px;
        line-height: 1.3;
    }
    
    /* Выравнивание кнопок слева для всех секций */
    .carrera-category-content.carrera-align-right .carrera-button-container {
        justify-content: flex-start;
        padding-right: 0;
        margin-right: 0;
        margin-left: 20px;
    }
    
    .carrera-category-text {
        max-width: 70%;
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 0;
    }
    
    .carrera-category-content.carrera-align-right .carrera-expand-button {
        margin: 0 0 0 0;
    }
    
    .carrera-expand-button {
        margin: 0 0 0 20px;
    }
    
    .carrera-brand-content {
        flex-direction: column;
    }
    
    /* Увеличиваем высоту блока категорий для планшетов */
    .carrera-category-content {
        min-height: 390px;
    }
    
    .carrera-category-text {
        max-width: 40%;
        margin-left: 20px;
        margin-right: 20px;
    }
    
    /* Отступы для кнопок align-right в планшетной версии */
    .carrera-category-content.carrera-align-right .carrera-expand-button {
        margin: 0 40px 0 0;
    }

    /* Стили для видео-описания в планшетной версии */
    .carrera-video-description {
        font-size: 25px;
        line-height: 1.2;
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Стиль для brand-info в планшетной версии */
    .carrera-brand-info {
        padding-left: 40px;
    }

    /* Устанавливаем высоту карточек подкатегорий для планшетной версии */
    .carrera-subcategory-item {
        height: 401px;
    }

    /* Фоновые изображения для планшетной версии */
    .carrera-brand-bg {
        background-image: url('images/brand/banner-mobile.webp');
    }

    .kitchen-bg {
        background-image: url('images/mkt/banner-mobile.webp');
    }

    .home-bg {
        background-image: url('images/tdd/banner-mobile.webp');
    }

    .beauty-bg {
        background-image: url('images/kiz/banner-mobile.webp');
    }

    .tv-bg {
        background-image: url('images/tv/banner-mobile.webp');
    }

    .comp-bg {
        background-image: url('images/comp/banner-mobile.webp');
    }

    .gaming-bg {
        background-image: url('images/gaming/banner-mobile.webp');
    }

    .brand-bg {
        background-image: url('images/brand/banner-mobile.webp');
    }
}

@media (max-width: 768px) {
    /* Скрываем UTP блоки на мобильных устройствах */
    .carrera-temperature-block,
    .carrera-ceramic-block,
    .carrera-attachments-block,
    .carrera-accessories-block {
        display: none !important;
    }
    
    .carrera-hero-section {
        min-height: 563px;
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        background-position: center bottom !important;
    }

    .carrera-hero-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .carrera-hero-logo {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 30px;
        align-self: flex-start;
    }

    .carrera-hero-logo img {
        height: 50px;
    }

    .carrera-hero-text {
        margin-top: 0;
        max-width: 100%;
        margin-bottom: 30px;
        text-align: left;
    }

    .carrera-hero-title {
        font-size: 25px;
        padding-right: 34px;
        width: 100%;
        margin-top: 0;
    }

    .carrera-hero-subtitle {
        font-size: 18px;
    }

    .carrera-hero-description {
        font-size: 16px;
    }

    .carrera-hero-product-image {
        max-width: 250px;
    }

    /* Стили для блока стайлеров в мобильной версии */
    #stylers-content .carrera-stylers-block {
        height: 488px;
        padding: 0 30px;
        padding-top: 42px;
        background-size: cover !important;
        background-position: bottom center !important;
    }

    #stylers-content .carrera-stylers-title {
        width: 100%;
        font-size: 30px;
    }

    #stylers-content .carrera-stylers-description {
        font-size: 20px;
        margin-bottom: 30px;
    }

    #stylers-content .carrera-stylers-button {
        width: 221.15px;
        height: 53.94px;
        padding: 16px 24px;
        font-size: 14px;
    }

    /* Стили для блока фенов в мобильной версии */
    #hair-dryers-content .carrera-stylers-block {
        height: 488px;
        padding: 0 30px;
        padding-top: 42px;
        background-size: cover !important;
        background-position: center !important;
    }

    #hair-dryers-content .carrera-stylers-title {
        width: 100%;
        font-size: 30px;
    }

    #hair-dryers-content .carrera-stylers-description {
        font-size: 20px;
        margin-bottom: 30px;
    }

    #hair-dryers-content .carrera-stylers-button {
        width: 221.15px;
        height: 53.94px;
        padding: 16px 24px;
        font-size: 14px;
    }

    .carrera-brand-content {
        flex-direction: column;
    }
    
    /* Дополнительное выравнивание для мобильных устройств */
    .carrera-category-content {
        align-items: flex-start;
        min-height: 420px;
        padding: 30px 0 0;
    }
    
    .carrera-category-content.carrera-align-right {
        align-items: flex-start;
    }
    
    .carrera-category-content.carrera-align-right .carrera-category-text {
        margin-left: 20px;
        margin-right: 20px;
        text-align: left;
    }
    
    .carrera-category-text {
        margin-left: 20px;
        margin-right: 20px;
        max-width: 90%;
        margin-top: 40px;
    }

    /* Новые стили для текста в категориях */
    .carrera-category-text p {
        font-size: 16px;
        line-height: 1.5;
        padding-right: 10%;
    }
    
    .carrera-button-container {
        justify-content: flex-start;
        margin-left: 0;
    }
    
    .carrera-expand-button {
        margin: 0 0 0 20px;
    }
    
    .carrera-brand-image {
        max-width: 80%;
        margin-bottom: 30px;
    }
    
    .carrera-brand-info {
        padding-right: 30px;
        padding-left: 30px;
    }

    .carrera-brand-info p {
        padding-right: 0;
    }
    
    .carrera-stat-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        flex-direction: unset;
    }
    
    .carrera-stat-item {
        flex: none;
    }
    
    .carrera-stat-number {
        font-size: 32px;
    }
    
    .carrera-stat-desc {
        font-size: 14px;
    }

    .carrera-timeline-container {
        margin-top: 40px;
    }

    .carrera-video-description {
        font-size: 18px;
        line-height: 28px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* Изменение высоты карточек подкатегорий для мобильной версии */
    .carrera-subcategory-item {
        height: 180px;
    }

    /* Уменьшаем шрифт для заголовков подкатегорий */
    .carrera-subcategory-item h4 {
        font-size: 12px;
    }
    
    /* Убираем верхний отступ для контейнера изображений подкатегорий */
    .carrera-subcategory-image-container {
        padding-top: 0px;
    }
    
    /* Специфичные стили для stylers-content */
    #stylers-content .carrera-temperature-text {
        padding-left: 71px !important;
        margin-top: 73px !important;
    }
}

/* Стили для мобильного слайдера */
.carrera-mobile-slider {
    display: none; /* По умолчанию скрыт */
    width: 100%;
}

.carrera-mobile-slider .swiper {
    width: 100%;
    height: 100%;
}

.carrera-mobile-slider .swiper-slide {
    text-align: center;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.carrera-mobile-slider .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;

}

.carrera-mobile-slider-text {
    padding: 0 15px;
    text-align: center;
}

.carrera-mobile-slider-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    margin: 0;
}

.carrera-mobile-slider .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.carrera-mobile-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
}

.carrera-mobile-slider .swiper-pagination-bullet-active {
    background: #000;
}

/* Показываем мобильный слайдер на мобильных экранах и планшетах */
@media (max-width: 992px) {
    .carrera-mobile-slider {
        display: block;
    }
    
    /* Скрываем UTP блоки на мобильных устройствах и планшетах */
    .carrera-temperature-block,
    .carrera-ceramic-block,
    .carrera-attachments-block,
    .carrera-accessories-block {
        display: none !important;
    }
}

/* Stylers Block Styles */
.carrera-stylers-block {
    position: relative;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    height: 600px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 60px;
    padding-top: 60px;
    overflow: hidden;
}

.carrera-stylers-content {
    max-width: 260px;
    z-index: 2;
    position: relative;
}

.carrera-stylers-title {
    width: 300px;
    font-size: 27px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #212121;
}

.carrera-stylers-description {
    font-size: 20px;
    line-height: 1.2;
    color: #212121;
    margin-bottom: 40px;
}

.carrera-stylers-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20.2978px 31.5743px;
    gap: 11.28px;
    width: 250px;
    height: 55px;
    background: #FFF870;
    border: 2px solid transparent;
    border-radius: 2.25531px;
    flex: none;
    order: 2;
    flex-grow: 0;
    text-decoration: none;
    color: #212121;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.carrera-stylers-button:hover {
    background: #212121;
    color: #FFF870;
    border: 2px solid #FFF870;
    transform: translateY(-2px);
}

/* Стили для первого блока в табе стайлеров (белый шрифт) */
#stylers-content .carrera-stylers-title {
    color: #FFFFFF;
}

#stylers-content .carrera-stylers-description {
    color: #FFFFFF;
}

/* Images Block Styles */
.carrera-images-block {
    background-color: #212121;
    padding: 20px 0 20px;
}

.carrera-images-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    gap: 5px;
}

.carrera-image-item {
    flex: 1;
}

.carrera-image-item:first-child {
    width: auto;
}

.carrera-image-item:last-child {
    width: auto;
}

.carrera-image-item img {
    width: 100%;
    height: 350px;
    display: block;
    object-fit: cover;
}

/* Стили для блока с картинками в мобильной версии */
@media (max-width: 768px) {
    .carrera-images-block {
        padding: 20px 0;
    }

    .carrera-images-container {
        flex-direction: row;
        gap: 20px;
        padding: 0;
    }

    .carrera-image-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* Temperature Block Styles */
.carrera-temperature-block {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 80px;
    overflow: hidden;
}

.carrera-temperature-content {
    max-width: 400px;
    width: 400px;
    z-index: 2;
    position: relative;
}

.carrera-temperature-text {
    font-size: 25px;
    line-height: 1.2;
    color: #212121;
    margin: 0;
    text-align: left;
}

/* Ceramic Block Styles */
.carrera-ceramic-block {
    position: relative;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
    margin-top: 6px;
    overflow: hidden;
}

.carrera-ceramic-content {
    max-width: 540px;
    z-index: 2;
    position: relative;
}

.carrera-ceramic-text {
    font-size: 25px;
    line-height: 1.2;
    color: #212121;
    margin: 0;
    width: 370px;
}

/* Attachments Block Styles */
.carrera-attachments-block {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 80px;
    margin-top: 6px;
    overflow: hidden;
}

.carrera-attachments-content {
    max-width: 400px;
    width: 400px;
    z-index: 2;
    position: relative;
}

.carrera-attachments-content {
    max-width: 460px;
    z-index: 2;
    position: relative;
}

.carrera-attachments-text {
    font-size: 25px;
    line-height: 1.2;
    color: #212121;
    margin: 0;
    text-align: left;
}

/* Accessories Block Styles */
.carrera-accessories-block {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
    margin-top: 6px;
    overflow: hidden;
}

.carrera-accessories-content {
    max-width: 400px;
    z-index: 2;
    position: relative;
}

.carrera-accessories-text {
    font-size: 25px;
    line-height: 1.2;
    color: #212121;
    margin: 0;
}

/* Comparison Block Styles */
.carrera-comparison-block {
    background-color: #212121;
    padding: 0;
    margin-top: 6px;
}

.carrera-comparison-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.carrera-comparison-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.carrera-comparison-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background-color: #212121;
    height: 100%;
    justify-content: space-between;
}

.carrera-comparison-image {
    width: 100%;
    margin-bottom: 20px;
}

.carrera-comparison-image img {
    width: 100%;
    height: auto;
    display: block;
}

.carrera-comparison-title {
    width: 100%;
    max-width: 280px;
    height: auto;
    min-height: 35px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: #FFFFFF;
    flex: none;
    order: 0;
    flex-grow: 1;
    margin-bottom: 20px;
    text-align: left;
}

.carrera-comparison-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
    width: 100%;
    flex-grow: 0;
}

.carrera-comparison-feature {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 8px 0;
    width: 100%;
    height: 60px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    font-family: 'Roboto';
    font-size: 20px;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: left;
}

.carrera-comparison-feature:last-child {
    border-bottom: none;
}

.carrera-comparison-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    padding: 15px 20px;
    gap: 8px;
    width: 100%;
    max-width: 200px;
    height: 52px;
    background: #FFF870;
    border-radius: 2px;
    flex: none;
    order: 0;
    flex-grow: 0;
    text-decoration: none;
    color: #212121;
    font-family: 'Roboto';
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.carrera-comparison-button:hover {
    background: #212121;
    color: #FFF870;
    border: 2px solid #FFF870;
    transform: translateY(-2px);
}

/* Группировка верхнего контента в карточках сравнения */
.carrera-comparison-top-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-grow: 0;
}

/* Адаптивные стили для блока сравнения */
@media (max-width: 992px) {
    .carrera-comparison-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        align-items: stretch;
    }
    
    .carrera-comparison-title {
        font-size: 20px;
        width: auto;
        height: auto;
    }
    
    .carrera-comparison-feature {
        width: 100%;
        padding: 3px 0;
        height: auto;
        min-height: 35px;
        font-size: 13px;
    }
    
    .carrera-comparison-button {
        max-width: 180px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .carrera-comparison-block {
        padding: 20px 0;
    }
    
    .carrera-comparison-container {
        padding: 0 10px;
        overflow-x: auto;
    }
    
    .carrera-comparison-grid {
        display: flex;
        gap: 20px;
        min-width: 1200px;
        padding-bottom: 20px;
    }
    
    .carrera-comparison-item {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .carrera-comparison-title {
        font-size: 20px;
        width: auto;
        height: auto;
        margin-bottom: 15px;
    }
    
    .carrera-comparison-feature {
        width: 100%;
        padding: 3px 0;
        height: auto;
        min-height: 35px;
        font-size: 14px;
    }
    
    .carrera-comparison-button {
        width: 180px;
        height: 45px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Кнопка "Смотреть всю линейку" под блоком сравнения */
.carrera-view-all-button {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 19px 30px;
    gap: 11px;
    width: 250px;
    height: 55px;
    background: #212121;
    border: 2.14286px solid #FFF870;
    border-radius: 2px;
    flex: none;
    order: 1;
    flex-grow: 0;
    text-decoration: none;
    color: #FFF870;
    font-family: 'Roboto';
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    margin: 40px auto 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.carrera-view-all-button:hover {
    background: #FFF870;
    color: #212121;
    border: 2.14286px solid #212121;
    transform: translateY(-2px);
}

/* Адаптивные стили для кнопки "Смотреть всю линейку" */
@media (max-width: 768px) {
    .carrera-view-all-button {
        width: 220px;
        height: 65px;
        padding: 16px 24px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .carrera-view-all-button {
        width: 200px;
        height: 60px;
        padding: 14px 20px;
        font-size: 12px;
    }
}

/* Общий блок для всех табов */
.carrera-common-block {
    position: relative;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    height: 600px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 60px;
    padding-top: 60px;
    overflow: hidden;
    margin-top: 6px;
}

.carrera-common-content {
    max-width: 500px;
    z-index: 2;
    position: relative;
}

.carrera-common-title {
    font-size: 45px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #212121;
}

.carrera-common-description {
    font-size: 25px;
    line-height: 1.2;
    color: #212121;
    margin-bottom: 40px;
}

.carrera-common-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20.2978px 31.5743px;
    gap: 11.28px;
    width: 250px;
    height: 55px;
    background: #FFF870;
    border: 2px solid transparent;
    border-radius: 2.25531px;
    flex: none;
    order: 2;
    flex-grow: 0;
    text-decoration: none;
    color: #212121;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.carrera-common-button:hover {
    background: #212121;
    color: #FFF870;
    border: 2px solid #FFF870;
    transform: translateY(-2px);
}

/* Адаптивные стили для общего блока */
@media (max-width: 1200px) {
    .carrera-common-block {
        height: 600px;
        padding-top: 80px;
    }
    
    .carrera-common-title {
        font-size: 38px;
    }
    
    .carrera-common-description {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .carrera-common-block {
        height: 500px;
        padding: 60px 40px 40px;
        background-position: center center !important;
        background-size: cover !important;
    }
    
    .carrera-common-content {
        max-width: 100%;
    }
    
    .carrera-common-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .carrera-common-description {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .carrera-common-button {
        width: 220px;
        height: 65px;
        padding: 16px 24px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .carrera-common-block {
        height: 400px;
        padding: 40px 20px 20px;
        background-position: center center !important;
        background-size: cover !important;
    }
    
    .carrera-common-title {
        font-size: 25px;
        margin-bottom: 12px;
    }
    
    .carrera-common-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .carrera-common-button {
        width: 200px;
        height: 60px;
        padding: 14px 20px;
        font-size: 13px;
    }
}

@media (max-width: 390px) {
    /* Скрываем UTP блоки на мобильных устройствах */
    .carrera-temperature-block,
    .carrera-ceramic-block,
    .carrera-attachments-block,
    .carrera-accessories-block {
        display: none !important;
    }
    
    .carrera-common-block {
        height: 350px;
        padding: 30px 15px 15px;
        background-position: center center !important;
        background-size: cover !important;
    }
    
    .carrera-common-title {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .carrera-common-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .carrera-common-button {
        width: 160px;
        height: 50px;
        padding: 12px 16px;
        font-size: 12px;
    }
}

/* Адаптивные стили для табов */
@media (max-width: 768px) {
    .carrera-tabs-container {
        padding: 0 15px;
        gap: 10px;
    }
    
    .carrera-tab {
        width: auto;
        flex: 1;
        min-width: 0;
        padding: 16px 12px;
        font-size: 14px;
        height: 55px;
    }
}

@media (max-width: 576px) {
    .carrera-tabs-section {
        padding: 15px 0;
    }
    
    .carrera-tabs-container {
        padding: 0 10px;
        gap: 5px;
        flex-direction: row;
    }
    
    .carrera-tab {
        flex: 1;
        min-width: 0;
        padding: 14px 8px;
        font-size: 14px;
        height: 50px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 480px) {
    .carrera-tabs-container {
        padding: 0 5px;
        gap: 3px;
    }
    
    .carrera-tab {
        padding: 12px 6px;
        font-size: 13px;
        height: 48px;
    }
}

