/* Кнопка Ozon - синяя */
.js-catalog-prod-all-text strong a[style*="color: rgb(61, 124, 255)"] {
    background-color: #0050FF !important;
    color: #ffffff !important;
}

/* Кнопка Рассрочка - черная */
.js-catalog-prod-all-text strong a[style*="color: var(--uc-color-color-ifLFIrc,#141414)"] {
    background-color: #141414 !important;
    color: #ffffff !important;
}
/* Общие стили */
.js-catalog-prod-all-text strong a {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: 600;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
    margin-right: 10px;
}



/* Кнопки цветов синяя КВАДРАТ*/
.js-catalog-prod-all-text strong a[style*="color: rgb(5, 57, 164)"] {
  background-color: #0539A4 !important;
    color: #0539A4 !important;
    padding: 13px 9px;
    font-weight: 400;
    border-radius: 6px;
    font-size: 5px;
    margin-top: 10px;
    outline: 2px solid #e1e1e1;

}


/* Кнопки цветов МОЛОЧНАЯ КВАДРАТ*/
.js-catalog-prod-all-text strong a[style*="color: rgb(255, 247, 236)"] {
  background-color: #fff7ec !important;
    color: #fff7ec !important;
    padding: 12px 8px;
    font-weight: 400;
    border-radius: 6px;
    font-size: 5px;
    margin-top: 10px;
    outline: 2px solid #e1e1e1;

}



/*черная */
.js-catalog-prod-all-text strong a[style*="color: rgb(0, 0, 0)"] {
  background-color: #000000 !important;
    color: #000000 !important;
    padding: 13px 9px;
    font-weight: 400;
    border-radius: 6px;
    font-size: 5px;
    margin-top: 10px;
    outline: 2px solid #e1e1e1;


}

/*КРАСНАЯ */
.js-catalog-prod-all-text strong a[style*="color: rgb(215, 0, 0)"] {
  background-color: #d70000 !important;
    color: #d70000 !important;
    padding: 13px 9px;
    font-weight: 400;
    border-radius: 6px;
    font-size: 5px;
    margin-top: 10px;
    outline: 2px solid #e1e1e1;
}


/*СЕРЫЙ */
.js-catalog-prod-all-text strong a[style*="color: rgb(175, 175, 175)"] {
  background-color: #AFAFAF !important;
    color: #AFAFAF !important;
    padding: 13px 9px;
    font-weight: 400;
    border-radius: 6px;
    font-size: 5px;
    margin-top: 10px;
    outline: 2px solid #e1e1e1;
}


/*ХАКИ */
.js-catalog-prod-all-text strong a[style*="color: rgb(127, 126, 74)"] {
  background-color: #7f7e4a !important;
    color: #7f7e4a !important;
    padding: 13px 9px;
    font-weight: 400;
    border-radius: 6px;
    font-size: 5px;
    margin-top: 10px;
    outline: 2px solid #e1e1e1;
}


/*ГОЛУБОЙ */
.js-catalog-prod-all-text strong a[style*="color: rgb(166, 186, 237)"] {
  background-color: #a6baed !important;
    color: #a6baed !important;
    padding: 13px 10px;
    font-weight: 400;
    border-radius: 6px;
    font-size: 5px;
    margin-top: 10px;
    outline: 2px solid #e1e1e1;

}


/*БЕЛЫЙ */
.js-catalog-prod-all-text strong a[style*="color: rgb(255, 252, 249)"] {
  background-color: #fffcf9 !important;
    color: #fffcf9 !important;
    padding: 13px 9px;
    font-weight: 400;
    border-radius: 6px;
    font-size: 5px;
    margin-top: 10px;
    outline: 2px solid #e1e1e1;

}

/*бело синий */
.js-catalog-prod-all-text strong a[style*="color: rgb(66, 113, 209)"] {
  background-color: #4271d1 !important;
    color: #4271d1 !important;
    padding: 13px 10px;
    font-weight: 400;
    border-radius: 6px;
    font-size: 5px;
    margin-top: 10px;
    outline: 2px solid #e1e1e1;

}


.t-product__option-checkmark_color {
    width: 30px !important;
    height: 30px !important;
    border-radius: 4px !important;
}

/* Убираем .js-product и привязку к состоянию — применяем ко всем выбранным */
.t-product__option-input:checked + .t-product__option-checkmark_color:before {
    border-radius: 4px !important;
}

.js-product .t-product__option-variants_buttons .t-product__option-item_simple {
    border: 1px solid #cbcbcb;
    border-radius: 4px;
}

.js-product .t-product__option-variants_buttons .t-product__option-item_simple.t-product__option-item_active {
    border: 2px solid #a72427;
}