/* ===== SONIT 21 · заголовки: градиентная заливка текста ===== */

.t-body h1,
.t-body h2,
.t-body h1.tn-atom,
.t-body h2.tn-atom,
.t-body .tn-atom[field="tn_text_1753212945613"] {
  background-image: linear-gradient(238.32deg, #8e8e8e 0%, #ffffff 100%);
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 0.06em;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .t-body h1,
  .t-body h2,
  .t-body h1.tn-atom,
  .t-body h2.tn-atom,
  .t-body .tn-atom[field="tn_text_1753212945613"] {
    background-image: none;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
  }
}





















/* ===== SONIT 31 · карточка товара: слайдер → лента, липкая покупка, информация ===== */

.s-card,
.s-info,
.s-marquee {
  --s-font: 'GraphikTT', Arial, sans-serif;
  --s-ink: #22201e;
  --s-mute: #8b8b8b;
  --s-line: #e8e8e8;
  --s-sticky-top: 100px;
}

.s-backwrap {
  padding: 0 20px;
  box-sizing: border-box;
  margin-bottom: 12px;
}

.s-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--s-font);
  font-size: 14px;
  line-height: 1;
  color: var(--s-mute);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.s-back:hover { color: var(--s-ink); }
.s-back svg { width: 15px; height: 15px; flex: 0 0 15px; }

/* Сетку карточки трогаем только на десктопе. На мобиле ширины колонок держит
   Tilda: если снять их там, слайдер при инициализации меряет разъехавшийся
   контейнер и выставляет слайдам ширину в десятки тысяч пикселей. */
@media screen and (min-width: 960px) {
  /* в строке лежит ещё и meta микроразметки: он flex-элемент нулевой ширины,
     и gap вокруг него съедал 60px — поэтому зазор задаётся отступом колонки */
  .s-card .s-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .s-card .t-store__prod-popup__col-left,
  .s-card .t-store__prod-popup__col-right {
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
    margin: 0;
  }

  .s-card .t-store__prod-popup__col-left { flex: 1 1 0; }

  .s-card .t-store__prod-popup__col-right {
    flex: 1 1 0;
    margin-left: 60px;
    position: sticky;
    top: var(--s-sticky-top);
    align-self: flex-start;
  }
}

.s-card .s-off { display: none !important; }

@media screen and (min-width: 960px) {
  .s-card .t-slds,
  .s-card .t-slds__main,
  .s-card .t-slds__container {
    height: auto !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .s-card .t-slds__wrapper,
  .s-card .t-slds__imgwrapper { width: 100% !important; height: auto !important; }

  .s-card .t-slds__imgwrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fff;
    border-radius: 0 !important;
  }

  .s-card .t-slds__bgimg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background-size: 100% auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: 0 !important;
  }

  .s-card .t-slds__items-wrapper {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    transition: none !important;
    background: none;
    border-radius: 0;
    padding: 0;
  }

  .s-card .t-slds__item {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    opacity: 1 !important;
  }

  .s-card .t-slds__item.s-slide-last { margin-bottom: 0 !important; }

  .s-card .t-slds__arrow_container,
  .s-card .t-slds__thumbsbullet-wrapper,
  .s-card .t-slds__bullet_wrapper,
  .s-card .t-slds__caption { display: none !important; }
}
.s-card .t-store__prod-popup__col-right,
.s-card .t-store__prod-popup__col-right * { font-family: var(--s-font); }

.s-card .t-store__prod-popup__title-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.s-card .s-titlecol { flex: 1 1 auto; min-width: 0; }

.s-card .js-store-prod-name {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--s-ink);
}

.s-card .t-store__prod-popup__brand { margin-top: 6px; color: var(--s-mute); font-size: 14px; }
.s-card .t-store__prod-popup__sku { margin-top: 4px; color: #b0b0b0; font-size: 12px; }

.s-buyrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 24px;
}

.s-card .s-buyrow .js-store-price-wrapper { margin: 0; }
.s-card .t-store__prod-popup__price { font-size: 25px; font-weight: 700; color: #960018; }
.s-card .t-store__prod-popup__price_old { font-size: 16px; color: #b0b0b0; }

.s-card .s-buyrow .t-store__prod-popup__btn-wrapper {
  margin: 0;
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex: 0 0 auto;
}

.s-card .s-buyrow a.t-store__prod-popup__btn {
  margin: 0;
  height: 52px;
  min-width: 210px;
  padding: 0 32px;
  box-sizing: border-box;
  white-space: nowrap;
  border-radius: 35px !important;
  border: 0 !important;
  background-color: #960018 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}
.s-card .s-buyrow a.t-store__prod-popup__btn td,
.s-card .s-buyrow a.t-store__prod-popup__btn span,
.s-card .s-buyrow a.t-store__prod-popup__btn div {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}
.s-card .s-buyrow a.t-store__prod-popup__btn table,
.s-card .s-buyrow a.t-store__prod-popup__btn tbody,
.s-card .s-buyrow a.t-store__prod-popup__btn tr,
.s-card .s-buyrow a.t-store__prod-popup__btn td {
  height: 48px;
  white-space: nowrap;
}

.s-card .s-fav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0;
}
.s-card .s-fav svg { width: 24px; height: 24px; }

.s-h {
  font-family: var(--s-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--s-ink);
  margin-bottom: 10px;
}
.s-h span { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--s-mute); }

.s-opt { margin-bottom: 24px; }

.s-chips {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.s-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #fff;
  font-family: var(--s-font);
  font-size: 14px;
  line-height: 1;
  color: var(--s-ink);
  cursor: pointer;
  user-select: none;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.s-chip:hover { border-color: #9a9a9a; }
.s-chip_on { border-color: var(--s-ink); background: var(--s-ink); color: #fff; }

.s-chips_wide { grid-template-columns: repeat(2, 1fr); }
.s-chips_wide .s-chip {
  justify-content: flex-start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s-card .js-product-controls-wrapper .t-product__option-variants { display: none !important; }
.s-card .js-product-edition-option > .js-product-edition-option-name { display: none; }

.s-specwrap { margin-top: 24px; }
.s-spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 8px;
}

.s-spec__i {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 16px;
  border: 1px solid var(--s-line);
  border-radius: 8px;
  background: #fbfbfb;
}

.s-spec__ico {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: var(--s-ink);
}
.s-spec__ico svg { width: 100%; height: 100%; display: block; }

.s-spec__k { font-size: 12px; line-height: 1.25; color: #9a9a9a; }
.s-spec__v { font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--s-ink); margin-top: 3px; }

.s-msgwrap { margin-top: 24px; }
.s-msg { display: flex; gap: 8px; }

.s-msg__b {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 5px;
  border: 0;
  background: #999;
  font-family: var(--s-font);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: filter .15s ease;
}
.s-msg__b:hover { filter: brightness(1.08); }
.s-msg__b svg { width: 22px; height: 22px; flex: 0 0 22px; fill: #fff; }
.s-msg__b span { white-space: nowrap; color: #fff; }

.s-msg__b_tg { background: #0088cc; }
.s-msg__b_wa { background: #25d366; }
.s-msg__b_viber { background: #7360f2; }

.s-msg__note { margin-top: 10px; font-size: 12px; line-height: 1.4; color: var(--s-mute); }

.s-tochar {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  font-family: var(--s-font);
  font-size: 14px;
  color: var(--s-ink);
  text-decoration: none;
  border-bottom: 1px solid #d5d5d5;
  padding-bottom: 2px;
}
.s-tochar:hover { border-bottom-color: var(--s-ink); }

.s-marquee {
  margin: 95px 0 0;
  padding: 20px 0;
  background: #22201e;
  overflow: hidden;
  font-family: var(--s-font);
}

.s-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.s-marquee__i {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  line-height: 1.3;
  color: #fff;
  white-space: nowrap;
}
.s-marquee__i::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  flex: 0 0 5px;
  margin: 0 26px;
}



.s-info {
  max-width: 1200px;
  margin: 95px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: var(--s-font);
}

.s-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
}
.s-info__text { min-width: 0; }
.s-info__specs { min-width: 0; }

.s-info__text h2,
.s-info__text h3,
.s-info__text h4 { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--s-ink); margin: 22px 0 8px; }
.s-info__text h2:first-child,
.s-info__text h3:first-child { margin-top: 0; }
.s-info__text p,
.s-info__text li { font-size: 14px; line-height: 1.6; color: #4a4a4a; }
.s-info__text p { margin: 0 0 12px; }
.s-info__text ul { margin: 0 0 12px; padding-left: 20px; }

.s-tbl__r {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #ececec;
}
.s-tbl__r:last-child { border-bottom: none; }
.s-tbl__k { flex: 0 0 46%; font-size: 13px; line-height: 1.4; color: #a3a3a3; }
.s-tbl__v { flex: 1 1 auto; font-size: 13px; line-height: 1.4; color: #4a4a4a; }

.s-card .js-store-tabs,
.s-card .t-store__tabs,
.s-card .t-store__prod-popup__col-right > .js-store-prod-text { display: none !important; }

/* до того как скрипт перестроит карточку, штатный вид не показываем —
   иначе на секунду мигает стандартный дизайн Tilda */
#allrecords .t-store__prod-snippet__container { transition: opacity .2s ease; }
#allrecords.s-boot .t-store__prod-snippet__container { opacity: 0; }

/* --- плашки на фото --- */

.s-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.s-badge {
  display: flex;
  align-items: center;
  height: 34px;
  max-width: 34px;
  border-radius: 17px;
  color: #fff;
  font-family: var(--s-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
  transition: max-width .35s ease;
}

.s-badge__i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s-badge__i svg { width: 17px; height: 17px; display: block; }

.s-badge__l {
  padding-right: 16px;
  opacity: 0;
  transition: opacity .2s ease .08s;
}

.s-badge_on { max-width: 340px; }
.s-badge_on .s-badge__l { opacity: 1; }

.s-badge_c1 { background: #1c1c1c; }
.s-badge_c2 { background: #333; }
.s-badge_c3 { background: #4d4d4d; }
.s-badge_c4 { background: #676767; }
.s-badge_c5 { background: #828282; }

@media (hover: hover) and (pointer: fine) {
  .s-badge:hover { max-width: 340px; }
  .s-badge:hover .s-badge__l { opacity: 1; }
}

@media screen and (max-width: 1199px) {
  .s-card .t-store__prod-popup__col-right { margin-left: 36px; }
}

@media screen and (max-width: 959px) {
  .s-card .s-row { flex-direction: column; }
  .s-card .t-store__prod-popup__col-right { position: static; margin: 22px 0 0; }
  .s-card .js-store-prod-name { font-size: 22px; }
  .s-card .t-store__prod-popup__price { font-size: 22px; }
  .s-buyrow { flex-wrap: wrap; gap: 14px; }
  .s-card .s-buyrow .t-store__prod-popup__btn-wrapper { flex: 1 1 100%; }
  .s-card .s-buyrow .t-store__prod-popup__btn { flex: 1 1 auto; }
  .s-card .s-buyrow .t-store__prod-popup__btn .t-btn { width: 100%; }
  .s-info { margin-top: 40px; }
  .s-info__grid { grid-template-columns: 1fr; gap: 32px; }
  .s-msg { flex-wrap: wrap; }
  .s-msg__b { flex: 1 1 45%; }
  .s-tbl__r { flex-direction: column; gap: 3px; }
  .s-tbl__k { flex: none; }
  .s-marquee__i { font-size: 14px; }
  .s-marquee__i::after { margin: 0 18px; }
  .s-badges { top: 10px; left: 10px; gap: 6px; }
  .s-badge { height: 30px; max-width: 30px; border-radius: 15px; font-size: 12px; }
  .s-badge__i { flex: 0 0 30px; width: 30px; height: 30px; }
  .s-badge__i svg { width: 15px; height: 15px; }
  .s-badge_on { max-width: 300px; }
}

@media screen and (max-width: 479px) {
  .s-spec { grid-template-columns: 1fr; }
  .s-chips { grid-template-columns: repeat(4, 1fr); }
  .s-chips_wide { grid-template-columns: 1fr; }
}

/* --- градиент заголовков не должен попадать в карточку и описание --- */

.s-card h1,
.s-card h2,
.s-card h3,
.s-info h1,
.s-info h2,
.s-info h3 {
  background-image: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--s-ink) !important;
}

/* --- мобильная версия --- */

@media screen and (max-width: 959px) {
  .s-backwrap { margin-top: 20px; }

  .s-card .t-store__prod-popup__btn-wrapper-fixed {
    background: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .s-card .t-store__prod-popup__btn-wrapper-fixed a.t-store__prod-popup__btn {
    flex: 1 1 auto;
    min-width: 0;
    height: 52px;
    border-radius: 35px !important;
    border: 0 !important;
    background-color: #960018 !important;
    box-shadow: none !important;
    color: #fff !important;
  }

  .s-round {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #960018;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .s-round svg { width: 24px; height: 24px; display: block; }

  .s-card .t-store__prod-popup__title-wrapper .s-fav { display: none; }

  .s-msg { display: flex; gap: 10px; }
  .s-msg__b { flex: 1 1 0; height: 52px; }
  .s-msg__b span { display: none; }
  .s-msg__b svg { width: 26px; height: 26px; flex: 0 0 26px; }
}

@media screen and (max-width: 959px) {
  .s-card .t-store__prod-popup__btn-wrapper-fixed .s-round { display: inline-flex !important; }
  .s-card .s-round svg,
  .s-card .s-round svg path { fill: #fff; stroke: #fff; }
  .s-card .s-round_msg svg path { fill: none; stroke: #fff; }
}

/* --- выбор количества --- */

.s-card .t-store__prod__quantity {
  background: transparent !important;
  border-radius: 35px !important;
  height: 52px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}

.s-card .t-store__prod__quantity-input {
  background: transparent !important;
  height: 100%;
  font-family: var(--s-font);
  font-size: 15px;
  color: var(--s-ink);
}

.s-card .t-store__prod__quantity__minus-wrapper,
.s-card .t-store__prod__quantity__plus-wrapper {
  background: transparent !important;
  display: inline-flex;
  align-items: center;
}

@media screen and (max-width: 959px) {
  .s-card .t-store__prod__quantity { height: 52px; }
}

/* --- мобильные кнопки покупки --- */

@media screen and (max-width: 959px) {
  .s-card .s-fav.s-round,
  .s-card .s-round {
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #960018 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin: 0 !important;
  }

  .s-card .s-round svg {
    width: 24px !important;
    height: 24px !important;
    display: block;
  }
  .s-card .s-fav.s-round svg path { fill: #fff !important; stroke: #fff !important; }
  .s-card .s-round_msg svg path { fill: none !important; stroke: #fff !important; }
}

/* --- степпер: убрать белые кружки у минуса и плюса --- */

.s-card .t-store__prod__quantity span,
.s-card .t-store__prod__quantity__minus-wrapper,
.s-card .t-store__prod__quantity__plus-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.s-card .t-store__prod__quantity { margin-right: 8px; }
.s-card .s-buyrow .t-store__prod-popup__btn-wrapper { gap: 8px; }