/*
  Слайдер «Похожие товары» карточки товара (решение заказчика 2026-11-12: как у lepirate — Glide, 10 товаров). Плитки —
  разметка старого lux (.product-card), здесь — ядро Glide и подгонка плиток под ширину слайда; подключается только на
  карточке товара (layout/header.tpl), запуск — js/product-slider.js.
*/
.glide_products { position: relative; width: 100%; margin-bottom: 30px; }
.glide_products .glide__track { overflow: hidden; }
.glide_products .glide__slides { display: flex; margin: 0; padding: 0; list-style: none; position: relative; width: 100%;
  touch-action: pan-Y; transform-style: preserve-3d; backface-visibility: hidden; will-change: transform; }
.glide_products .glide__slide { flex-shrink: 0; height: auto; box-sizing: border-box; white-space: normal; }
.glide_products.glide--dragging .glide__slide { user-select: none; }

/* плитка в слайде — во всю ширину слайда (у старого lux .recommandations-slider .product-card — 25 % / 45 %) */
.recommandations-slider .glide_products .product-card { float: none; width: auto; margin: 0; padding: 10px 10px 20px; min-height: 0; }
.recommandations-slider .glide_products .product-card figure img { width: 100%; height: auto; display: block; }

.glide_products .glide__arrows { position: absolute; top: 35%; left: 0; width: 100%; display: flex;
  justify-content: space-between; pointer-events: none; }
.glide_products .glide__arrow { pointer-events: auto; cursor: pointer; width: 36px; height: 36px; display: flex;
  align-items: center; justify-content: center; background: #fff; border: 1px solid #EEEDEB;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .15); }
.glide_products .glide__arrow:hover { border-color: #F9B949; }
.glide_products .glide__arrow svg { width: 16px; height: 16px; fill: #212121; }
.glide_products .glide__arrow--disabled { opacity: .3; cursor: default; }

@media (max-width: 767px) {
  .glide_products .glide__arrow { width: 30px; height: 30px; }
}
