/* свотчи вариантов товара */
.t-product__option-item {
  width:36px;
  height:36px;
  padding:0;
  margin:6px 8px 6px 0;
  display:inline-block;
  vertical-align:middle;
}
.t-product__option-checkmark {
  width:100%;
  height:100%;
  border-radius:6px;
  border:1px solid #ddd;
  background-size:cover !important;
  background-position:center !important;
  transition:box-shadow .18s, transform .08s, background-color .18s;
}
.t-product__option-item .t-product__option-title { display:none !important; } /* скрыть текст под иконкой */
.t-product__option-item_active .t-product__option-checkmark {
  box-shadow:0 0 0 3px rgba(0,0,0,0.12);
  transform:scale(0.98);
}
.t-product__option-checkmark img { display:none !important; } /* прячем встроенные теги img, если есть */
.js-product-edition-option[data-option-type="color"] .t-product__option-checkmark.swatch-applied { background-image:none !important; }
.js-product-edition-option[data-option-type="color"] .t-product__option-checkmark[data-swatch-color] { background-image:none !important; }

/* CSS‑only: жёсткая подмена миниатюр на цвет по значению value */
.js-product-edition-option[data-option-type="color"] label.t-product__option-item input[value="Бежевый"] + .t-product__option-checkmark { background-image:none !important; background-color:#cbb79a !important; }
.js-product-edition-option[data-option-type="color"] label.t-product__option-item input[value="Голубой"] + .t-product__option-checkmark { background-image:none !important; background-color:#6ec1f3 !important; }
.js-product-edition-option[data-option-type="color"] label.t-product__option-item input[value="Небесно-голубой"] + .t-product__option-checkmark { background-image:none !important; background-color:#9bd8ff !important; }
.js-product-edition-option[data-option-type="color"] label.t-product__option-item input[value="Жёлтый"] + .t-product__option-checkmark { background-image:none !important; background-color:#ffd34d !important; }
.js-product-edition-option[data-option-type="color"] label.t-product__option-item input[value="Зелёный"] + .t-product__option-checkmark { background-image:none !important; background-color:#27ae60 !important; }
.js-product-edition-option[data-option-type="color"] label.t-product__option-item input[value="Коричневый"] + .t-product__option-checkmark { background-image:none !important; background-color:#8d5a3a !important; }
.js-product-edition-option[data-option-type="color"] label.t-product__option-item input[value="Красный"] + .t-product__option-checkmark { background-image:none !important; background-color:#e74c3c !important; }
.js-product-edition-option[data-option-type="color"] label.t-product__option-item input[value="Оранжевый"] + .t-product__option-checkmark { background-image:none !important; background-color:#f39c12 !important; }
.js-product-edition-option[data-option-type="color"] label.t-product__option-item input[value="Светло-зелёный"] + .t-product__option-checkmark { background-image:none !important; background-color:#7ed957 !important; }
.js-product-edition-option[data-option-type="color"] label.t-product__option-item input[value="Синий"] + .t-product__option-checkmark { background-image:none !important; background-color:#2c6bd8 !important; }
.js-product-edition-option[data-option-type="color"] label.t-product__option-item input[value="Фиолетовый"] + .t-product__option-checkmark { background-image:none !important; background-color:#8e44ad !important; }
.js-product-edition-option[data-option-type="color"] label.t-product__option-item input[value="Чёрный"] + .t-product__option-checkmark { background-image:none !important; background-color:#111111 !important; }

/* увеличить отступы между вариантами цвета */
.js-product .t-product__option-variants_buttons .t-product__option-item {
  margin-bottom: 20px;
  margin-right: 20px;
}

/* Располагаем цвета в 2 строки по 6 цветов */
.js-product .t-product__option-variants_buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

.js-product .t-product__option-variants_buttons .t-product__option-item {
  width: calc(16.666% - 16px) !important; /* 6 элементов в строке */
  margin-right: 16px !important;
  margin-bottom: 16px !important;
  flex-shrink: 0 !important;
}

.js-product .t-product__option-variants_buttons .t-product__option-item:nth-child(6n) {
  margin-right: 0 !important; /* Убираем отступ у последнего элемента в строке */
}

/* миниатюры галереи оставляем стандартными: спецправила удалены */

/* пометка, что свотч применён: убираем фон жёстко */
.swatch-applied { background-image: none !important; }

/* Убираем стрелки для перелистывания картинок */
.t-slds__arrow_container {
  display: none !important;
}

.t-slds__arrow_wrapper {
  display: none !important;
}

.t-slds__arrow {
  display: none !important;
}

/* Убираем миниатюры снизу галереи полностью */
.t-slds__thumbsbullet-wrapper {
  display: none !important;
}

.t-slds__thumbsbullet {
  display: none !important;
}

.t-slds__bullet {
  display: none !important;
}

/* Исправляем расположение кнопок в одну строку только на мобильных устройствах */

/* Исправляем расположение кнопок в одну строку только на мобильных устройствах */
@media (max-width: 768px) {
  .t744__btn-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
  }

  .t744__btn-wrapper .t744__btn {
    flex: 1 !important;
    min-width: 0 !important;
    font-size: 12px !important;
    padding: 10px 8px !important;
    white-space: nowrap !important;
  }

  /* Узкая вторая кнопка на мобильных */
  .secondbtn {
    flex: 1 !important;
    min-width: 0 !important;
    font-size: 12px !important;
    padding: 6px 8px !important;
    white-space: nowrap !important;
  }

  .secondbtn table {
    width: 100% !important;
    height: 100% !important;
    display: table !important;
  }

  .secondbtn tbody {
    display: table-row-group !important;
  }

  .secondbtn tr {
    display: table-row !important;
  }

  .secondbtn td {
    white-space: nowrap !important;
    padding: 0 !important;
    font-size: 12px !important;
    vertical-align: middle !important;
    text-align: center !important;
    display: table-cell !important;
    height: 100% !important;
  }

  /* Отключаем возможность слайда/свайпа изображений на мобильных */
  .t-slds {
    pointer-events: none !important; /* Полностью блокируем взаимодействие */
    touch-action: none !important;
    -webkit-user-drag: none !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    overflow: hidden !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
  }

  .t-slds__main {
    pointer-events: none !important; /* Полностью блокируем взаимодействие */
    touch-action: none !important;
    -webkit-user-drag: none !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    overflow: hidden !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
  }

  .t-slds__container {
    pointer-events: none !important; /* Полностью блокируем взаимодействие */
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
  }

  .t-slds__items-wrapper {
    pointer-events: none !important; /* Полностью блокируем взаимодействие */
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
  }

  .t-slds__item {
    pointer-events: none !important; /* Полностью блокируем взаимодействие */
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
  }

  .t-slds__imgwrapper {
    pointer-events: none !important; /* Полностью блокируем взаимодействие */
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
  }

  .t-slds__bgimg {
    pointer-events: none !important; /* Полностью блокируем взаимодействие */
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
  }

  /* Дополнительная блокировка для всех элементов галереи */
  .t-slds * {
    pointer-events: none !important; /* Полностью блокируем взаимодействие */
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
  }
}

.t-store__card {
  background-color: white !important;
  border-radius: 35px !important;
  padding: 35px 5px 35px 5px !important;
  margin-bottom: 20px !important;
}