

/* Start:/local/templates/santerika/components/bitrix/catalog.section/santerika/style.css?17831758975757*/
.catalog-content {
  min-width: 0;
}

/* Описание раздела */
.catalog-intro {
  margin: 20px 0;
}

.catalog-intro__text {
  margin: 0 0 18px;
  color: #777;
  line-height: 1.6;
}

/* Компактная панель каталога: без карточки, теней и декоративных SVG */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  margin: 10px 0 24px;
  padding: 0 0 12px;
  border-bottom: 1px solid #e7e9ec;
}

.catalog-toolbar__main,
.catalog-toolbar__count,
.catalog-toolbar__views,
.catalog-toolbar__options,
.catalog-toolbar__sort,
.catalog-meta__result {
  display: flex;
  align-items: center;
}

.catalog-toolbar__main {
  min-width: 0;
  gap: 24px;
}

.catalog-meta {
  flex: 0 0 auto;
}

.catalog-meta__result {
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

.catalog-meta__result strong {
  color: #17191c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.catalog-meta__result span {
  color: #969ba3;
  font-size: 13px;
  line-height: 1;
}

.catalog-meta__result span::before {
  content: "·";
  margin-right: 8px;
  color: #c4c8cd;
}

.catalog-toolbar__filter {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #dfe2e6;
  border-radius: 8px;
  color: #202226;
  background: #fff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.catalog-toolbar__count,
.catalog-toolbar__views {
  gap: 9px;
  white-space: nowrap;
}

.catalog-toolbar__views {
  padding-left: 24px;
  border-left: 1px solid #eceef0;
}

.catalog-toolbar__label,
.catalog-toolbar__sort-label {
  color: #8c9199;
  font-size: 12px;
  font-weight: 500;
}

.catalog-toolbar__options {
  gap: 2px;
}

.catalog-toolbar__count-link,
.catalog-toolbar__view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  border: 0;
  border-radius: 7px;
  color: #747a82;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.catalog-toolbar__filter-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.catalog-toolbar__count-link:hover,
.catalog-toolbar__view:hover {
  color: #17191c;
  background: #f5f6f7;
}

.catalog-toolbar__count-link.is-active,
.catalog-toolbar__view--active {
  color: #17191c;
  background: #eef0f2;
}

.catalog-toolbar__sort {
  flex: 0 0 auto;
  gap: 10px;
  min-width: 0;
}

.catalog-toolbar__sort select {
  width: 210px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #dfe2e6;
  border-radius: 8px;
  color: #202226;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.catalog-toolbar__sort select:hover,
.catalog-toolbar__filter:hover {
  border-color: #c9cdd2;
}

.catalog-toolbar__sort select:focus-visible,
.catalog-toolbar__filter:focus-visible,
.catalog-toolbar__count-link:focus-visible,
.catalog-toolbar__view:focus-visible {
  outline: 2px solid var(--color-primary, #0072bc);
  outline-offset: 2px;
}

/* Грид товаров */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 30px;
}

.product-grid--columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid--columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid--columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
}

/* Пустой результат */
.catalog-content__empty {
  padding: 40px 0;
  color: #888;
  text-align: center;
}

/* Кнопка «Показать ещё» (lazy load) */
.catalog-content__more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.catalog-content__more-btn {
  min-height: 44px;
  padding: 0 32px;
  border: 1px solid var(--color-primary, #008fd0);
  border-radius: 4px;
  color: var(--color-primary, #008fd0);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.catalog-content__more-btn:hover {
  color: #fff;
  background: var(--color-primary, #008fd0);
}

@media (max-width: 1180px) {
  .catalog-toolbar,
  .catalog-toolbar__main {
    gap: 16px;
  }

  .catalog-toolbar__views {
    padding-left: 16px;
  }

  .catalog-toolbar__sort-label {
    display: none;
  }

  .catalog-toolbar__sort select {
    width: 190px;
  }
}

@media (max-width: 1024px) {
  .catalog-toolbar__filter {
    display: inline-flex;
  }

  .catalog-toolbar__views {
    display: none;
  }
}

@media (max-width: 860px) {
  .catalog-toolbar__label {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 14px;
  }
}

@media (max-width: 700px) {
  .catalog-toolbar {
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 4px;
    padding-bottom: 10px;
  }

  .catalog-toolbar__main {
    flex: 1 1 auto;
  }

  .catalog-toolbar__sort {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .catalog-toolbar {
    margin-bottom: 14px;
  }

  .catalog-toolbar__main {
    gap: 10px;
  }

  .catalog-meta__result span,
  .catalog-toolbar__count {
    display: none;
  }

  .catalog-toolbar__sort {
    flex: 1 1 160px;
  }

  .catalog-toolbar__sort select {
    width: 100%;
  }

  .product-grid,
  .product-grid--columns-2,
  .product-grid--columns-3,
  .product-grid--columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 10px;
  }
}

/* End */


/* Start:/local/templates/santerika/components/bitrix/system.pagenavigation/santerika/style.css?17827177392012*/
/* Пагинация (кастомный шаблон system.pagenavigation/santerika) */
nav.pagination {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 36px;
}

/* Номера страниц */
.pagination__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Элемент страницы */
.pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  color: #4a4f57;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: 8px;
  background: transparent;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.pagination__item:hover {
  color: #17191c;
  background: #f2f3f5;
}

/* Текущая страница */
.pagination__item.is-current {
  color: #fff;
  background: var(--color-primary, #008fd0);
  cursor: default;
}

/* Многоточие */
.pagination__gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 38px;
  color: #b4b9c0;
  font-size: 14px;
  user-select: none;
}

/* Стрелки «Назад / Вперёд» */
.pagination__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #4a4f57;
  border-radius: 8px;
  background: transparent;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.pagination__nav:hover {
  color: #17191c;
  background: #f2f3f5;
}

.pagination__nav.is-disabled {
  color: #d3d7dc;
  cursor: default;
  pointer-events: none;
}

.pagination__nav svg {
  display: block;
}

/* Адаптив */
@media (max-width: 560px) {
  nav.pagination {
    margin-top: 26px;
  }

  .pagination__item,
  .pagination__nav {
    min-width: 34px;
    width: auto;
    height: 34px;
    font-size: 13px;
  }

  .pagination__nav {
    width: 34px;
  }
}

/* End */


/* Start:/local/templates/santerika/components/bitrix/catalog.item/card/style.css?179251538510328*/
.product-card {
  --card-pad: 16px;
  position: relative;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: var(--card-pad);
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}

.product-card:hover {
  border-color: rgba(0, 114, 188, 0.35);
  box-shadow: 0 7px 9px rgba(0, 60, 110, 0.14);
  transform: translateY(-4px);
}

/* Область изображения */
.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hover-изображение: плавно появляется поверх основного */
.product-card__hover-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 2s cubic-bezier(0, 0, 0.44, 1.18);
}

.product-card__countries {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.product-card__country-flag {
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 24px;
  object-fit: contain;
}

.product-card:hover .product-card__hover-image,
.product-card--hover .product-card__hover-image {
  opacity: 1;
  transform: scale(1.09);
}

/* Лейблы (скидка, бренд) */

.product-card__labels {
  position: absolute;
  top: 8px;
  left: 9px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.product-card__discount {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--color-primary);
  font-weight: 800;
}

.product-card__badge {
  max-width: 58px;
  max-height: 43px;
  object-fit: contain;
}

/* Название */
.product-card__title {
  min-height: 42px;
  margin: 0 0 4px;
  padding: 0 var(--card-pad);
  color: #2f2f2f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
}

.product-card__title a:hover {
  color: var(--color-primary);
}

/* Кнопка «В корзину» */
.product-card__add {
  display: flex;
  width: calc(100% - var(--card-pad) * 2);
  min-height: 38px;
  margin: 0 var(--card-pad);
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  color: var(--color-primary);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.product-card__add:hover {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.product-card__add:active {
  transform: translateY(0);
}

/* Иконка в потоке рядом с текстом */
.product-card__add-icon {
  width: 15px;
  height: 15px;
}

/* Состояние «уже в корзине» */
.product-card__add--in-basket {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.product-card__soldout {
  display: flex;
  width: calc(100% - var(--card-pad) * 2);
  min-height: 38px;
  margin: 0 var(--card-pad);
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  color: #777;
  background: #f4f4f4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  text-transform: uppercase;
}

/* Цена */
/* Цена — прижата к низу, выравнивает блок цена+кнопка у всех карточек */
.product-card__price {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 12px;
  padding: 0 var(--card-pad);
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 800;
}

.product-card__old-price {
  color: #bbb;
  font-weight: 400;
  text-decoration: line-through;
}

/* Боковые иконки-кнопки — видны всегда */
.product-card__actions {
  position: absolute;
  right: 10px;
  top: 12px;
  z-index: 2;
  display: grid;
  gap: 6px;
}

.product-card__action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: #999;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.product-card__action:hover {
  color: #fff;
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 114, 188, 0.25);
}

.product-card__action .icon {
  flex: none;
  width: 20px;
  height: 20px;
}

.product-card__action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Сам тултип — слева от кнопки */
.product-card__action[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 8px);    /* слева от кнопки */
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  padding: 5px 9px;
  background: #2b2b2b;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 10;
}

/* Стрелочка-уголок — указывает вправо, на кнопку */
.product-card__action[data-tooltip]::before {
  content: "";
  position: absolute;
  right: calc(100% + 3px);
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #2b2b2b;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease;
  z-index: 10;
}

/* Показ при наведении и фокусе */
.product-card__action[data-tooltip]:hover::after,
.product-card__action[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.product-card__action[data-tooltip]:hover::before,
.product-card__action[data-tooltip]:focus-visible::before {
  opacity: 1;
}

/* Активное состояние «В избранном» */
.product-card__action.is-active {
  color: #fff;
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.product-card__action.is-active .icon {
  fill: currentColor;
}

/* Тач-устройства: тултипы бесполезны, отключаем */
@media (hover: none) {
  .product-card__action[data-tooltip]::after,
  .product-card__action[data-tooltip]::before {
    display: none;
  }
}
.product-card--sold .product-card__media {
  opacity: 0.85;
}

.quickview-modal .modal__box {
  width: min(860px, 100%);
  padding: 0;
}

.quickview {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 0;
  min-height: 360px;
  text-align: left;
}

.quickview__media {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 28px;
  background: #fff;
  border-right: 1px solid var(--color-border);
}

.quickview__image {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.quickview__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 42px 36px 34px;
}

.quickview__title {
  margin: 0 44px 14px 0;
  color: #222;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.quickview__title:hover {
  color: var(--color-primary);
}

.quickview__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  color: #777;
  font-size: 13px;
}

.quickview__meta strong {
  color: #333;
  font-weight: 600;
}

.quickview__country {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5b6872;
  font-size: 13px;
  line-height: 1.35;
}

@container (max-width: 210px) {
  .product-card__countries {
    bottom: 7px;
    left: 7px;
  }

  .product-card__country-flag {
    margin: -4px;
    transform: scale(.75);
  }
}

.quickview__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 800;
}

.quickview__description {
  margin: 0 0 24px;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}

.quickview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.quickview__cart,
.quickview__soldout,
.quickview__detail {
  width: auto;
  min-width: 170px;
  margin: 0;
}

.quickview__detail {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: #333;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.quickview__detail:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

@media (max-width: 760px) {
  .quickview-modal .modal__box {
    width: min(520px, 100%);
  }

  .quickview {
    grid-template-columns: 1fr;
  }

  .quickview__media {
    min-height: 240px;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .quickview__image {
    max-height: 260px;
  }

  .quickview__content {
    padding: 30px 22px 24px;
  }

  .quickview__title {
    margin-right: 34px;
    font-size: 18px;
  }

  .quickview__price {
    font-size: 19px;
  }

  .quickview__actions {
    display: grid;
  }

  .quickview__cart,
  .quickview__soldout,
  .quickview__detail {
    width: 100%;
  }
}

/* End */
/* /local/templates/santerika/components/bitrix/catalog.section/santerika/style.css?17831758975757 */
/* /local/templates/santerika/components/bitrix/system.pagenavigation/santerika/style.css?17827177392012 */
/* /local/templates/santerika/components/bitrix/catalog.item/card/style.css?179251538510328 */
