.review-preview-card__text_full {
  display: none;
}
.reviews-rating__col {
  text-decoration: none;
}


.button {
  margin: 4px;
}
.partner-offer-buy-actions .button {
    margin: 0 4px;
}
.input {
  margin-inline: 2px !important;
}
/*pmpl шапка+гал*/
.hero-inner-page--image {
  position: relative;
  overflow: hidden;
}

.hero-inner-page--image > .hero-inner-page__image-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-bg-desktop);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner-page--image > .wrapper {
  position: relative;
  z-index: 1;
}

.hero-inner-page--image .hero-inner-page__layer-container {
  position: relative;
  z-index: 2;
}
section.detail-hero-gallery {
    margin-top: 20px;
}
/*pmpl таблица+скролл*/
.content-table-scroll-box {
  max-width: 1100px;
  margin: 0 auto;
}

.content-table.withscroll {
  max-width: 1100px;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.content-table.withscroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.content-table.withscroll table {
  width: 1100px;
  max-width: 1100px;
  font-size: 12px;
}

.content-table.withscroll table td {
  padding: 0.1em 0.2em;
}
.content-table.withscroll table th {
  padding: 0.5em 0.5em;
  font-weight: 500;
}
.content-table.withscroll table td, .content-table.withscroll table th {
    min-width: 65px;
}
/* все td, кроме первого столбца, по центру */
.content-table.withscroll table tbody td:not(:first-child) {
  text-align: center;
}

/* Партнёрский логотип в общем шаблоне partner */
.header__item.-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__partner-logo {
  display: flex;
  align-items: center;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.45);
}

.header__partner-logo-link,
.header__partner-logo picture {
  display: flex;
  align-items: center;
}

.header__partner-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 130px;
  max-height: 42px;
  object-fit: contain;
}

.logo-company.-partner .logo-company__partner-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 64px;
  object-fit: contain;
}
/*
 * ==========================================================
 * Корзина в шапке партнёрского сайта
 * ==========================================================
 */

.button-basket {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.button-basket svg {
  display: block;
  position: relative;
  z-index: 1;
}

.button-basket .button-basket__count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 9px;
  background: #C4161C;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
  z-index: 3;
}

.button-basket .button-basket__count[hidden] {
  display: none !important;
}

/*
 * Чтобы на hover корзина вела себя как соседнее сердечко.
 */
.button-basket:hover svg path,
.button-basket:hover svg circle {
  stroke: #fff;
}

/*
 * Небольшая страховка по выравниванию и расстоянию
 * между иконками в общем блоке кнопок.
 */
.header-buttons__flex {
  align-items: center;
}

.header-buttons__item .button-basket {
  margin-top: 0;
}
section.partner-basket, section.partner-order {
    margin-top: 100px;
}

/* объединённые ячейки: на десктопе по центру */
@media (min-width: 768px) {
  .content-table.withscroll table tbody td[colspan] {
    text-align: center;
  }
}

/* объединённые ячейки: на мобильных слева */
@media (max-width: 767px) {
  .content-table.withscroll table tbody td[colspan] {
    text-align: left;
  }
}

.content-table.withscroll a,
.content-table-product,
.content-table-product__name {
  color: var(--brand-color-1);
}

.content-table-product {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.content-table-product__img {
  display: block;
  width: 100px;
  height: auto;
  flex: 0 0 100px;
}

/* кастомная полоса прокрутки */

.content-table-scroll-nav {
  display: none !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 10px 0;
}

.content-table-scroll-box.is-scrollable .content-table-scroll-nav {
  display: flex !important;
}

.content-table-scroll-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--brand-color-1);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 28px;
  appearance: none;
}

.content-table-scroll-nav__btn.is-disabled {
  opacity: .25;
  pointer-events: none;
}

.content-table-scroll-nav__track {
  position: relative;
  display: block;
  height: 4px;
  min-width: 40px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .12);
  overflow: hidden;
  flex: 1 1 auto;
}

.content-table-scroll-nav__bar {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  height: 100%;
  width: 40px;
  border-radius: inherit;
  background: var(--brand-color-1);
  transform: translateX(0);
}
@media (max-width: 767px) {
	.home-hero .slider-navigation {max-width: 100%;width: 100%;}
    .slider-navigation__grid {max-width: 100%;width: 100%;}
	.hero-inner-page--image > .hero-inner-page__image-bg {
    background-image: var(--hero-bg-mobile);
  }
    .detail-hero-gallery {
    margin: 18px 0 36px;
  }

  .detail-hero-gallery__swiper {
    overflow: hidden;
  }

  .detail-hero-gallery__link {
    height: 100%;
    aspect-ratio: auto;
  }

  .detail-hero-gallery__img {
    height: 100%;
  }

  .detail-hero-gallery__button {
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(90deg);
  }

  .detail-hero-gallery__button--prev {
    top: 18px;
  }

  .detail-hero-gallery__button--next {
    top: auto;
    bottom: 18px;
  }
  a.detail-hero-gallery__link img {
    margin: 0 auto;
	}
  .content-table-scroll-box {
    max-width: 767px;
  }

  .content-table.withscroll {
    max-width: 767px;
  }

  .content-table.withscroll table {
    width: 767px;
    max-width: 767px;
    font-size: 12px;
  }

  .content-table-product {
    gap: 8px;
  }

  .content-table-product__img {
    width: 50px;
    flex-basis: 50px;
  }

  .content-table-scroll-nav {
    margin: 8px 0;
  }

  .content-table-scroll-nav__btn {
    width: 26px;
    height: 22px;
    flex-basis: 26px;
    font-size: 18px;
  }
  .detail-hero-gallery__swiper {
    touch-action: pan-y;
  }
    .header__partner-logo {
    margin-left: 8px;
    padding-left: 8px;
  }

  .header__partner-logo-img {
    max-width: 82px;
    max-height: 30px;
  }
}
/*
 * ==========================================================
 * Единое оформление шапки партнёрского сайта
 * ==========================================================
 *
 * Визуально шапка всегда выглядит как прежнее sticky-состояние:
 * белый фон, тёмный текст и обычные цветные иконки.
 * Класс body.header-sticky теперь влияет только на положение шапки,
 * но не на её оформление и не на логотипы.
 */

.header.-glass .header__body {
  backdrop-filter: inherit;
  background-color: var(--white);
  color: var(--dark);
}

.header.-glass .header__footer {
  backdrop-filter: inherit;
  background-color: var(--white);
  color: var(--dark);
}

.header.-glass .button.-telegram::before {
  background-color: var(--white);
  border: 1px solid var(--grey-30);
}

.header.-glass .button.-telegram {
  color: #039be5;
}

.header.-glass .button.-telegram .button__icon {
  color: inherit;
}

.header.-glass .button.-telegram:hover {
  color: var(--white);
}

.header.-glass .button.-telegram:hover::before {
  background-color: #039be5;
}

.header.-glass .button-favorite {
  color: var(--red);
}

.header.-glass .button-favorite::before {
  background-color: var(--white);
  border: 1px solid var(--grey-30);
}

.header.-glass .button-favorite:hover {
  color: var(--white);
}

/* Разделитель между основным и партнёрским логотипом теперь на белом фоне. */
.header__partner-logo {
  border-left-color: var(--grey-30);
}

/*
 * ==========================================================
 * PMPL: мобильная шапка в два уровня
 * ==========================================================
 *
 * До прокрутки:
 *   1 строка — два логотипа;
 *   2 строка — иконки.
 *
 * После появления .header-sticky:
 *   верхняя строка скрывается;
 *   фиксируется только строка с иконками.
 */
@media (max-width: 767px) {
  .header {
    position: absolute;
    top: 10px;
  }

  .header__body {
    padding: 8px 10px;
    border-radius: 24px;
  }

  .header__flex {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
  }

  .header__item {
    margin: 0;
  }

  .header__mobile-branding-row {
    width: 100%;
    justify-content: center;
    padding: 4px 4px 10px;
    margin: 0 0 8px;
    border-bottom: 1px solid var(--grey-30);
  }

  .header__mobile-branding-row .header__logo {
    max-width: 130px;
  }

  .header__mobile-branding-row .header__partner-logo {
    margin-left: 10px;
    padding-left: 10px;
  }

  .header__mobile-branding-row .header__partner-logo-img {
    max-width: 100px;
    max-height: 34px;
  }

  .header__mobile-actions-row {
    width: 100%;
  }

  .header__mobile-actions-row .header-contacts {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .header__mobile-actions-row .header-contacts__flex {
    width: 100%;
    margin: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .header__mobile-actions-row .header-contacts__item {
    margin: 0;
    max-width: none;
  }

  .header__mobile-actions-row .header-buttons__flex {
    margin: 0;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .header__mobile-actions-row .header-buttons__item {
    margin: 0;
  }

  /* sticky-состояние: остаётся только нижняя строка */
  .header-sticky .header {
    position: fixed;
    top: 10px;
  }

  .header-sticky .header__mobile-branding-row {
    display: none;
  }

  .header-sticky .header__body {
    padding: 8px 10px;
    border-radius: 26px;
  }

  .header-sticky .header__flex {
    display: block;
  }

  .header-sticky .header__mobile-actions-row {
    width: 100%;
  }

  /*
   * Открытое мобильное меню:
   * ведём шапку так же, как в sticky-состоянии.
   * Верхняя строка с логотипами скрывается,
   * остаётся только строка с иконками.
   */
  .mobile-navigation-menu-open .header {
    position: fixed;
    top: 10px;
  }

  .mobile-navigation-menu-open .header__mobile-branding-row {
    display: none;
  }

  .mobile-navigation-menu-open .header__body {
    padding: 8px 10px;
    border-radius: 26px;
  }

  .mobile-navigation-menu-open .header__flex {
    display: block;
  }

  .mobile-navigation-menu-open .header__mobile-actions-row {
    width: 100%;
  }
}

@media (max-width: 374px) {
  .header__mobile-branding-row .header__logo {
    max-width: 115px;
  }

  .header__mobile-branding-row .header__partner-logo-img {
    max-width: 88px;
    max-height: 30px;
  }

  .header__mobile-actions-row .header-buttons__flex {
    gap: 6px;
  }
}
/*
 * ==========================================================
 * FOOTER: исправление сетки меню на ноутбуках
 * ==========================================================
 *
 * В шаблоне footer все группы имеют класс -catalog-group,
 * поэтому базовый main.css пытается поместить их все в area1.
 *
 * В футере отключаем именованные grid-area и используем
 * обычную последовательную сетку.
 */

@media (min-width: 1024px) and (max-width: 1365px) {

  .footer__col.left .desktop-navigation__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas: none;
    grid-auto-flow: row;
  }

  .footer__col.left .desktop-navigation__group {
    grid-area: auto;
    min-width: 0;
  }

}


@media (min-width: 768px) and (max-width: 1023px) {

  .footer__col.left .desktop-navigation__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas: none;
    grid-auto-flow: row;
  }

  .footer__col.left .desktop-navigation__group {
    grid-area: auto;
    min-width: 0;
  }

}

/*
 * ==========================================================
 * ОТКРЫТОЕ DESKTOP-МЕНЮ НА НОУТБУКАХ
 * Две колонки без пустых grid-area
 * ==========================================================
 */

@media (min-width: 768px) and (max-width: 1365px) {

  .mobile-navigation-menu .desktop-navigation__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas: none;
    grid-auto-flow: row;
    grid-auto-rows: max-content;
  }

  .mobile-navigation-menu .desktop-navigation__group {
    grid-area: auto;
    min-width: 0;
  }

}