/* Общий стиль для всех кнопок */
.js-store-prod-text a {
  display: inline-block;
  padding: 10px 15px;
  margin-right: 15px;
  margin-top: 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  color: white !important;
  background-color: #941E8C; /* по умолчанию — фиолетовая (Wildberries) */
}
/* Ozon — синий, если ссылка содержит "ozon" */
.js-store-prod-text a[href*="ozon"] {
  background-color: #005BFE !important;
}

/* Чёрный полупрозрачный фон оверлея (50%) */
#rec988917231 .t-popup_show {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Белый контейнер с закруглением 30px */
#rec988917231 .t-popup__container {
  background-color: #ffffff !important;
  border-radius: 30px !important;
  padding: 30px !important;
  max-width: 800px;
  margin: 40px auto;
  box-sizing: border-box;
}

@media screen and (max-width: 480px) {
  .t-popup .t-store__relevants-grid-cont {
    all: unset;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    padding: 0 10px 20px;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .t-popup .t-store__relevants-grid-cont > .t-store__card {
    all: unset;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    scroll-snap-align: start;
    display: block !important;
    box-sizing: border-box;
    text-align: left;
  }