

/* Start:/local/templates/astery-new/components/bitrix/catalog/main/style.min.css?1793279507959*/
.grid .bx_content_section{margin-bottom:15px}.grid .bx_sidebar{margin-bottom:15px}.grid2x1 .bx_content_section{float:left;width:66%;margin-bottom:15px}.grid2x1 .bx_sidebar{float:right;width:33%;margin-bottom:15px;padding-left:5%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media(max-width:960px){.grid2x1 .bx_sidebar{padding-left:4%}}@media(max-width:640px){.grid2x1 .bx_content_section,.grid2x1 .bx_sidebar{width:100%;float:none}.grid2x1 .bx_sidebar{padding-left:3%}}@media(max-width:479px){.grid2x1 .bx_sidebar{padding-left:1%}}.catalog-block-header{font-size:14px;font-weight:bold;text-align:left;margin:5px 0;padding:5px 15px;border-bottom:2px solid #d9dee6;color:#000}body.bx-theme-blue .catalog-block-header{border-color:#006cc0}body.bx-theme-green .catalog-block-header{border-color:#63aa28}body.bx-theme-red .catalog-block-header{border-color:#da3737}body.bx-theme-yellow .catalog-block-header{border-color:#f4b236}
/* End */


/* Start:/local/templates/astery-new/components/bitrix/catalog.element/main/style.css?179422975821529*/
/* ==========================================================================
   Astery Tools — карточка товара
   Подключается после style.css и catalog.css (оттуда хлебные крошки).
   ≥1024 — галерея с миниатюрами + колонка информации
   768–1023 — в одну колонку, галерея с точками
   <768 — как в макете 390: аккордеоны и липкая панель покупки
   ========================================================================== */

.product-page { padding-bottom: 72px; }
:where(.product-page) :where(dl, dd) { margin: 0; }
.product-page + .footer,
.product-page ~ .footer { margin-top: 0; }

/* ---------- Каркас ---------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, 635fr) minmax(0, 605fr);
  gap: 40px;
  align-items: start;
  margin-top: 27px;
}

/* ==========================================================================
   ГАЛЕРЕЯ
   ========================================================================== */
.gallery {
  position: sticky;
  top: 24px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.gallery__thumbs { display: grid; gap: 10px; }
.gallery__thumbs-list { display: grid; gap: 10px; }
.gallery__thumb,
.gallery__more {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  padding: 10px;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  background: var(--c-white);
  transition: border-color var(--t-fast) var(--ease);
}
.gallery__thumb::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid var(--c-primary);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.gallery__thumb:hover,
.gallery__more:hover { border-color: #CFCFCF; }
.gallery__thumb.is-active::after { opacity: 1; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__more { font-size: 13px; line-height: 16px; color: var(--c-text-2); text-align: center; }

.gallery__main { position: relative; min-width: 0; }
.gallery__swiper {
  aspect-ratio: 1;
  border-radius: var(--r-banner);
  background: var(--c-soft);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
  cursor: zoom-in;
}
.gallery__slide {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--c-soft);
}
.gallery__shape {
  right: -1%;
  bottom: 0;
  width: 56%;
  height: 62%;
}
.gallery__img { position: relative; z-index: 1; object-fit: cover; }
.gallery__img--cutout { width: 100%; height: 100%; }
/* у фото на белом фоне белый «растворяется» в сером фоне галереи */
.gallery__img--photo { width: 82%; height: 82%; mix-blend-mode: multiply; }
.gallery__badge { position: absolute; top: 18px; left: 18px; z-index: 2; height: 28px; padding: 0 12px; font-size: 15px; }
.gallery__pagination { display: none; }

/* ==========================================================================
   ИНФОРМАЦИЯ
   ========================================================================== */
.product__info { display: flex; flex-direction: column; min-width: 0; }
.product__meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.product__brand img { width: auto; height: 26px; }
.product__sku { font-size: 15px; color: var(--c-text-2); }
.product__title {
  margin-top: 20px;
  font-size: 34px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: -.2px;
}
.product__rating {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 18px;
  font-size: 15px;
  color: var(--c-text-2);
}
.product__rating a {
  color: var(--c-text-3);
  text-decoration: underline;
  text-decoration-color: #B5B5B5;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease), text-decoration-color var(--t-fast) var(--ease);
}
.product__rating a:hover { color: var(--c-accent); text-decoration-color: currentColor; }

.spec-list { margin-top: 16px; }
.spec-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 3px;
  border-bottom: 1px dashed #DADADA;
  font-size: 16px;
  line-height: 22px;
}
.spec-list dt { color: var(--c-text-2); }
.spec-list dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.product__all-specs {
  align-self: flex-start;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-accent);
  transition: color var(--t-fast) var(--ease);
}
.product__all-specs:hover { color: var(--c-sale); }

/* ---------- Блок покупки ---------- */
.buy {
  margin-top: 26px;
  padding: 22px;
  border-radius: 24px;
  background: var(--c-soft);
}
.buy__price { font-size: 38px; font-weight: 700; line-height: 44px; letter-spacing: -.3px; white-space: nowrap; }
.buy__row { display: flex; gap: 10px; margin-top: 14px; }
.buy__row--secondary { margin-top: 15px; }

.qty {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 124px;
  height: 52px;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  background: var(--c-white);
}
.qty__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 100%;
  font-size: 22px;
  line-height: 1;
  border-radius: 14px;
  transition: color var(--t-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.qty__btn:hover { color: var(--c-accent); }
.qty__btn:disabled { color: #C4C4C4; cursor: default; }
.qty__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  outline: none;
}

.buy__cart {
  flex: 1 1 auto;
  min-width: 0;
  border: 2px solid transparent;
  font-size: 17px;
}
.buy__cart .btn__icon { width: 20px; height: 20px; }
[data-buy].is-in-cart { background: var(--c-white); border-color: var(--c-primary); }
[data-buy].is-in-cart .btn__icon { display: none; }

.buy__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  background: var(--c-white);
  color: var(--c-dark);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.buy__icon .icon { width: 20px; height: 20px; transition: fill var(--t-fast) var(--ease); }
.buy__icon:hover { border-color: #CFCFCF; }
.buy__icon:active { transform: scale(.94); }
.buy__icon[aria-pressed="true"] { color: var(--c-accent); border-color: var(--c-accent); }
.buy__icon[aria-pressed="true"] .icon { animation: heart .45s var(--ease-out); }
.buy__icon[aria-pressed="true"] use[href="#i-heart"] { fill: currentColor; }

.buy__second { flex: 1 1 0; min-width: 0; height: 46px; font-size: 16px; }
.buy__second--outline { border: 1px solid var(--c-border); font-weight: 600; }
.buy__second--outline:hover { background: var(--c-white); border-color: #CFCFCF; }

/* ---------- Наличие и получение ---------- */
.product__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}
.info-card {
  padding: 18px 20px 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
}
.info-card__title { font-size: 17px; font-weight: 600; line-height: 22px; }
.stock { margin-top: 6px; }
.stock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0 10px;
  border-bottom: 1px solid var(--c-border);
}
.stock__city { font-size: 15px; font-weight: 600; line-height: 20px; }
.stock__addr { margin-top: 1px; font-size: 13px; line-height: 17px; color: var(--c-text-2); }
.stock__status { flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--c-text-2); }
.stock__status.is-available { color: #1E7B34; }

.delivery > div + div { margin-top: 12px; }
.delivery { margin-top: 12px; }
.delivery dt { font-size: 15px; font-weight: 600; line-height: 20px; }
.delivery dd { margin: 2px 0 0; font-size: 15px; line-height: 21px; color: var(--c-text-2); }
.delivery-short { display: none; }

/* ==========================================================================
   ВКЛАДКИ (десктоп) / АККОРДЕОН (телефон)
   ========================================================================== */
.ptabs { margin-top: 48px; }
.ptabs__nav {
  display: flex;
  gap: 36px;
  border-bottom: 1px solid var(--c-border);
}
.ptabs__tab {
  position: relative;
  padding: 2px 2px 14px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: var(--c-text-3);
  transition: color var(--t-fast) var(--ease);
}
.ptabs__tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--c-primary);
  transform: scaleX(0);
  transition: transform .35s var(--ease-out);
}
.ptabs__tab:hover { color: var(--c-dark); }
.ptabs__tab.is-active { color: var(--c-dark); }
.ptabs__tab.is-active::after { transform: scaleX(1); }
.ptabs__count { font-weight: 500; color: #9A9A9A; }

.ptabs__acc { display: none; }
.ptabs__panel { display: none; }
.ptabs__panel.is-active { display: block; animation: panel-in .4s var(--ease-out); }
@keyframes panel-in {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to { opacity: 1; transform: none; }
}
.ptabs__inner { padding-top: 26px; }

.pdesc {
  display: grid;
  grid-template-columns: minmax(0, 650fr) minmax(0, 560fr);
  gap: 70px;
  align-items: start;
}
.pdesc__text p { font-size: 17px; line-height: 25px; color: var(--c-text-3); }
.pdesc__text p + p { margin-top: 14px; }
.pdesc__text .pdesc__note,
.pdesc__note { margin-top: 22px; font-size: 13px; line-height: 18px; color: #8A8A8A; }
.pdesc__title { font-size: 22px; font-weight: 600; line-height: 28px; }

.spec-table { margin-top: 8px; }
.spec-table__row {
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  gap: 16px;
  padding: 13px 0 12px;
  border-bottom: 1px solid var(--c-border);
  font-size: 15px;
  line-height: 21px;
}
.spec-table dt { color: var(--c-text-2); }
.spec-table dd { margin: 0; }
.spec-table--full { max-width: 860px; margin-top: 0; }
.spec-table--full .spec-table__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.pempty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
  padding: 28px;
  border-radius: var(--r-card);
  background: var(--c-soft);
}
.pempty__title { font-size: 20px; font-weight: 600; line-height: 26px; }
.pempty__text { margin: 6px 0 18px; font-size: 15px; line-height: 22px; color: var(--c-text-2); }

/* ---------- Связанные товары ---------- */
.related { margin-top: 32px; }
.related .section__head { margin-bottom: 20px; }
@media (min-width: 1024px) {
  .related .product-card__media { aspect-ratio: 281 / 242; }
}

/* ---------- Липкая панель (только телефон) ---------- */
.buybar { display: none; }

/* ==========================================================================
   ПРОСМОТР ФОТО
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--c-white);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease), visibility 0s; }
.lightbox__swiper { width: 100%; height: 100%; }
.lightbox__swiper .swiper-slide { display: grid; place-items: center; padding: 72px 96px; }
.lightbox__swiper .swiper-zoom-container > img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close { position: absolute; top: 16px; right: 16px; z-index: 3; background: var(--c-soft); }
.lightbox__prev,
.lightbox__next { position: absolute; top: 50%; z-index: 3; margin-top: -22px; background: var(--c-soft); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__counter {
  position: absolute;
  left: 0; right: 0; bottom: 24px;
  z-index: 3;
  font-size: 15px;
  color: var(--c-text-2);
  text-align: center;
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО
   ========================================================================== */
.modal {
  width: min(440px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--c-white);
  color: var(--c-text);
  overflow: auto;
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(.98);
  transition: opacity .3s var(--ease), transform .4s var(--ease-out), overlay .3s allow-discrete, display .3s allow-discrete;
}
.modal[open] { opacity: 1; transform: none; }
@starting-style { .modal[open] { opacity: 0; transform: translate3d(0, 16px, 0) scale(.98); } }
.modal::backdrop {
  background: rgba(28, 28, 28, 0);
  transition: background-color .3s var(--ease), overlay .3s allow-discrete, display .3s allow-discrete;
}
.modal[open]::backdrop { background: rgba(28, 28, 28, .5); }
@starting-style { .modal[open]::backdrop { background: rgba(28, 28, 28, 0); } }

.modal__box { position: relative; display: grid; gap: 14px; padding: 28px; }
.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  transition: background-color var(--t-fast) var(--ease);
}
.modal__close:hover { background: var(--c-soft); }
.modal__title { font-size: 24px; font-weight: 600; line-height: 30px; padding-right: 32px; }
.modal__text { margin-top: -6px; font-size: 15px; line-height: 22px; color: var(--c-text-2); }
.modal__product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--c-soft);
  font-size: 14px;
  line-height: 19px;
}
.modal__product img { width: 56px; height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.modal__product b { display: block; margin-top: 2px; font-size: 16px; }
.modal__legal { font-size: 12px; line-height: 17px; color: #8A8A8A; }
.modal__legal a { text-decoration: underline; text-underline-offset: 2px; }
.modal__done {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  background: var(--c-white);
  animation: panel-in .4s var(--ease-out);
}
.modal__done[hidden] { display: none; }

.field { display: grid; gap: 6px; }
.field__label { font-size: 14px; color: var(--c-text-2); }
.field__input {
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  font-size: 16px;
  outline: none;
  transition: border-color var(--t-fast) var(--ease);
}
.field__input:focus { border-color: var(--c-primary); }
.field__input.is-invalid { border-color: var(--c-sale); }

/* ==========================================================================
   АДАПТИВ
   ========================================================================== */
@media (max-width: 1199.98px) {
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .gallery { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .gallery__thumb,
  .gallery__more { width: 72px; height: 72px; padding: 8px; }
  .product__title { font-size: 30px; line-height: 36px; }
  .product__cards { grid-template-columns: 1fr; gap: 12px; }
  .buy__second { flex: 1 1 auto; padding: 0 14px; font-size: 15px; }
  .pdesc { gap: 40px; }
}

@media (max-width: 1023.98px) {
  .product { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 20px; }
  .gallery { position: relative; top: 0; display: block; }
  .gallery__thumbs { display: none; }
  .gallery__swiper { aspect-ratio: 4 / 3; }
  .gallery__pagination {
    position: absolute;
    left: 0; right: 0; bottom: 12px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 6px;
  }
  .gallery__pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 !important;
    border-radius: 4px;
    background: var(--c-dot);
    opacity: 1;
    transition: width .45s var(--ease-out), background-color var(--t) var(--ease);
  }
  .gallery__pagination .swiper-pagination-bullet-active { width: 24px; background: var(--c-dark); }
  .product__cards { grid-template-columns: 1fr 1fr; }
  .pdesc { grid-template-columns: 1fr; gap: 32px; }
  .related { margin-top: 40px; }
}

/* ---------- телефон ---------- */
@media (max-width: 767.98px) {
  .product-page { padding-bottom: 40px; }
  body { padding-bottom: calc(var(--tabbar-h) + 74px + env(safe-area-inset-bottom)); }

  .product { gap: 0; margin-top: 18px; }
  .gallery__swiper { aspect-ratio: 1; border-radius: 24px; }
  .gallery__badge { top: 14px; left: 14px; height: 24px; padding: 0 10px; font-size: 14px; }
  .gallery__pagination { bottom: 10px; }

  .product__info { margin-top: 24px; }
  .product__brand img { height: 22px; }
  .product__sku { font-size: 14px; }
  .product__title { margin-top: 16px; font-size: 24px; line-height: 30px; letter-spacing: -.1px; }
  .product__rating { display: none; }

  /* цена — сразу под заголовком, кнопки — в липкой панели */
  .buy { order: 3; margin-top: 18px; padding: 0; background: none; }
  .buy__price { font-size: 32px; line-height: 38px; }
  .buy__row { display: none; }
  .spec-list { order: 4; margin-top: 28px; }
  .spec-list__row { font-size: 15px; line-height: 21px; padding: 4px 0; }
  .product__all-specs { display: none; }
  .product__cards { order: 5; grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
  .info-card { padding: 6px 16px 10px; border-radius: 18px; }
  .info-card__title { display: none; }
  .info-card--delivery { display: none; }
  .stock { margin-top: 0; }
  .stock__row { padding: 12px 0; }
  .stock__row:last-child { border-bottom-color: var(--c-border); }
  .stock__city { font-size: 16px; line-height: 21px; }
  .stock__addr { font-size: 14px; line-height: 19px; }
  .stock__status { font-size: 14px; }
  .delivery-short {
    display: block;
    padding: 14px 16px 16px;
    border-radius: 18px;
    background: var(--c-soft);
    font-size: 15px;
    line-height: 20px;
    color: var(--c-text-3);
  }

  /* вкладки → аккордеон */
  .ptabs { margin-top: 28px; border-bottom: 1px solid var(--c-border); }
  .ptabs__nav { display: none; }
  .ptabs__panel,
  .ptabs__panel.is-active { display: block; animation: none; border-top: 1px solid var(--c-border); }
  .ptabs__acc { display: block; font-size: inherit; font-weight: inherit; }
  .ptabs__acc-btn {
    display: flex;
    align-items: center;
    width: 100%;
    height: 56px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
  }
  .ptabs__acc-btn .ptabs__count { margin-left: 5px; font-weight: 600; color: inherit; }
  .ptabs__chevron { width: 20px; height: 20px; margin-left: auto; transition: transform .4s var(--ease-out); }
  .ptabs__acc-btn[aria-expanded="true"] .ptabs__chevron { transform: rotate(180deg); }
  .ptabs__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s var(--ease-out);
  }
  .ptabs__body > .ptabs__inner {
    min-height: 0;
    overflow: hidden;
    padding-top: 0;
    opacity: 0;
    transition: opacity .3s var(--ease);
  }
  .ptabs__panel.is-open .ptabs__body { grid-template-rows: 1fr; }
  .ptabs__panel.is-open .ptabs__inner { opacity: 1; }
  .ptabs__inner > :last-child { margin-bottom: 20px; }
  .pdesc { gap: 24px; }
  .pdesc__text p { font-size: 15px; line-height: 22px; }
  .pdesc__title { font-size: 18px; line-height: 24px; }
  .spec-table__row { font-size: 14px; line-height: 19px; padding: 10px 0; }
  .pempty { padding: 20px 16px; border-radius: 18px; }
  .pempty__title { font-size: 17px; line-height: 22px; }

  .related { margin-top: 36px; }
  .related--similar { display: none; }

  /* липкая панель покупки над нижним меню */
  .buybar {
    position: fixed;
    left: 0; right: 0;
    bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    z-index: 89;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 74px;
    padding: 0 12px;
    background: var(--c-white);
    border-top: 1px solid #EDEDED;
  }
  .buybar__price { display: flex; flex-direction: column; flex-shrink: 0; margin-right: 4px; }
  .buybar__qty { font-size: 13px; line-height: 16px; color: var(--c-text-2); }
  .buybar__price b { font-size: 20px; font-weight: 700; line-height: 24px; white-space: nowrap; }
  .buybar__cart { flex: 1 1 auto; height: 50px; border: 2px solid transparent; border-radius: 14px; font-size: 17px; }
  .buybar__fav { width: 50px; height: 50px; }

  .lightbox__swiper .swiper-slide { padding: 64px 12px; }
  .lightbox__prev,
  .lightbox__next { display: none; }

  .modal { width: 100%; max-width: none; max-height: 92%; margin: auto 0 0; border-radius: 24px 24px 0 0; transform: translate3d(0, 40px, 0); }
  @starting-style { .modal[open] { opacity: 0; transform: translate3d(0, 40px, 0); } }
  .modal__box { padding: 24px 16px calc(20px + env(safe-area-inset-bottom)); }
}

/* End */
/* /local/templates/astery-new/components/bitrix/catalog/main/style.min.css?1793279507959 */
/* /local/templates/astery-new/components/bitrix/catalog.element/main/style.css?179422975821529 */
