@media screen and (max-width: 960px) {
  .t-store__grid-cont .t-col,
  .t-store__grid-cont .t-store__stretch-col {
    margin-bottom: 10px !important;
  }
}

.t-store__card__sold-out-msg {
  visibility: hidden;
}
.t-store__card__sold-out-msg:after {
  content:'Sold out'; 
  visibility: visible;
  display: block;
  color: #616161;
}

@media screen and (min-width: 961px) {
.js-store-grid-cont > div:nth-child(5n+1) > a > .t-store__card__textwrapper {
    padding-left: 10px;
}
}

@media screen and (max-width: 960px) {
.js-store-grid-cont > div:nth-child(2n+1) > a > .t-store__card__textwrapper {
    padding-left: 10px;
}

}


.js-store-prod-weight {
display: none !important;
}


/* СКРЫТЬ РАЗМЕР, АРТИКУЛ И ЗАГОЛОВОК ЦВЕТА В КАТАЛОГЕ */
.t-store__card__sku,
.t-store__card .js-product-edition-option[data-edition-option-id="Размер"],
.t-store__card .js-product-edition-option-name {
    display: none !important;
}

/* Убрать высоту текстового блока в каталоге */
.t-store__card__textwrapper {
    height: auto !important;
    min-height: auto !important;
}

/* Горизонтальные цвета в каталоге - ПОКАЗЫВАТЬ ТОЛЬКО ПЕРВЫЕ 4 */
.t-store__card .t-product__option-variants_color {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin-top: 5px !important;
    align-items: center !important;
    width: 100% !important;
}

/* Маленькие кружки цветов 10x10 пикселей В КАТАЛОГЕ */
.t-store__card .t-product__option-checkmark.t-product__option-checkmark_buttons.t-product__option-checkmark_color {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    flex-shrink: 0 !important;
}

/* Кружки цветов 15x15 пикселей В КАРТОЧКЕ ТОВАРА - ЯДЕРНЫЙ ПОДХОД */
.t-store__prod-popup .t-product__option-checkmark.t-product__option-checkmark_buttons.t-product__option-checkmark_color,
.t-store__prod-popup .t-product__option-checkmark_color,
.t-store__prod-popup [class*="option-checkmark_color"] {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
}

/* Расстояние 5px между цветами В КАРТОЧКЕ ТОВАРА */
.t-store__prod-popup .t-product__option-variants_color,
.t-store__prod-popup .t-product__option-variants.t-product__option-variants_buttons {
    gap: 5px !important;
}

.t-store__card .t-product__option-title_color {
    display: none !important;
}

/* Скрыть все цветовые варианты, кроме первых 4 */
.t-store__card .t-product__option-variants_color .t-product__option-item:nth-child(n+5) {
    display: none !important;
}

/* Стиль для надписи +x цветов */
.t-product__option-more-colors {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    margin-left: 8px !important;
}

/* В КАРТОЧКЕ ТОВАРА (на отдельной странице) - ПОКАЗАТЬ РАЗМЕР И ЗАГОЛОВОК ЦВЕТА */
.t-store__prod-popup .js-product-edition-option[data-edition-option-id="Размер"],
.t-store__prod-popup .js-product-edition-option-name {
    display: block !important;
}


/* УЛЬТРА-СПЕЦИФИЧНЫЙ СЕЛЕКТОР */
body > .t-store__prod-popup .js-product .t-product__option-variants_buttons .t-product__option-checkmark.t-product__option-checkmark_buttons.t-product__option-checkmark_color,
html body .t-store__prod-popup .t-product__option-checkmark_color {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
}

/* Перебиваем ВСЕ возможные стили */
.t-store__prod-popup [class*="checkmark_color"] {
    width: 15px !important;
    height: 15px !important;
}