/* Стиль для варианта McLaren ВСЕГДА */
.t-product__option-input_buttons[value="McLaren"] ~ .t-product__option-checkmark_color {
    background: linear-gradient(135deg, #0A0A2A 0%, #FF7A4D 50%, #0A0A0A 100%) !important;
    background-color: transparent !important;
}
/* Swiper стили */
.uc-swiper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.uc-swiper .swiper-wrapper {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.swiper-slide {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.arrow-right,
.arrow-left {
    cursor: pointer;
}

/* Убедитесь, что родительские элементы не создают скролл */
.t-records, .r.t-rec {
    overflow: hidden;
    width: 100%;
}

/* Стили цветовых кружков */
.color-option .tn-atom {
    border-radius: 50% !important;
    width: 1.625rem; /* 26px */
    height: 1.625rem; /* 26px */
    display: block;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
}

.color-option.active {
    position: relative;
    display: inline-block;
}

.color-option.active::before {
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.125rem; /* 34px */
    height: 2.125rem; /* 34px */
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1;
}

.color-option.active a {
    pointer-events: none;
    cursor: default;
}
/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .color-option {
        margin: 0 0.2rem;
    }
    
    .color-option .tn-atom {
        width: 1.5rem; /* 24px */
        height: 1.5rem;
    }
    
    .color-option.active::before {
        width: 2rem; /* 32px */
        height: 2rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .color-option {
        margin: 0 0.15rem;
    }
    
    .color-option .tn-atom {
        width: 1.375rem; /* 22px */
        height: 1.375rem;
    }
    
    .color-option.active::before {
        width: 1.875rem; /* 30px */
        height: 1.875rem;
    }
}