

/* Start:/bitrix/templates/lens4u/new_header/ot_breadcrumbs.css?17797803874021*/
/* ============================================================
   OpticTrend — СТАНДАРТ хлебных крошек (один в один как в карточке товара / PDP).
   Грузится на страницах каталога (категории/фильтры/бренды). Эталон стиля — pdp.css.
   Крошки: серый фон #f3f3f3 на всю ширину, контейнер 1400 + поля 32px, системный шрифт 12.5px,
   цвет #6b6b6b, разделитель «·». Селектор по [aria-label="Хлебные крошки"] → только нав крошек.
   ============================================================ */
nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] {
  max-width: none; margin: 0; padding: 14px 0 0;
  background: #f3f3f3;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs {
  max-width: 1400px; margin: 0 auto; padding: 0 32px;
  font-size: 12.5px;
}
nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs__item,
nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs__link { color: #6b6b6b; font-weight: 400; }
nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs__link:hover { color: #1a1a1a; }
nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs__link:after {
  content: "·"; top: 0; padding: 0 7px; color: #b0b0b0; font-weight: 400;
}

/* Мобайл/планшет (<1280px): крошки скрыты классом .visible-lg — показываем тонкой строкой (как в PDP) */
@media (max-width: 1279px) {
  nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] {
    display: block !important; min-width: 0; padding-left: 0; padding-right: 0;
  }
  nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs {
    margin: 8px auto; padding: 0 16px; font-size: 12px; line-height: 1.3;
    white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs::-webkit-scrollbar { display: none; }
  nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs { scrollbar-width: none; }
}

/* На ТЕЛЕФОНЕ (≤767px) крошки = только родительский раздел как «‹ …»-ссылка назад (решение заказчика).
   Полный путь остаётся в разметке (SEO). Перебивает scroll-режим выше и стиль pdp.css (выше специфичность). */
@media (max-width: 767px) {
  nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs { overflow: visible; white-space: normal; margin: 8px auto; }
  nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs__item { display: none !important; }
  nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs__item:nth-last-child(2) { display: inline-flex !important; align-items: center; max-width: 100%; }
  nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs__item:nth-last-child(2) .breadcrumbs__link {
    font-size: 13px !important; color: #1a1a1a !important; font-weight: 500;
    max-width: 78vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs__item:nth-last-child(2) .breadcrumbs__link:after { content: none !important; padding: 0 !important; }
  nav.visible-lg.extra-padding[aria-label="Хлебные крошки"] .breadcrumbs__item:nth-last-child(2) .breadcrumbs__link:before { content: "‹"; margin-right: 7px; color: #6b6b6b; font-size: 16px; font-weight: 400; }
}

/* End */


/* Start:/bitrix/templates/lens4u/tryon.css?177980073321157*/
/* ============================================================
   Раздел «Примерено» (/personal/tryon/)
   Все правила изолированы под .ot-tryon-page, переменные — локальные,
   чтобы не конфликтовать со стилями сайта. Из прототипа tryon_landing.html.
   ============================================================ */
.ot-tryon-page {
  --tt-bg: #f3f3f3;
  --tt-surface: #ffffff;
  --tt-text: #1a1a1a;
  --tt-text-muted: #6b6b6b;
  --tt-text-soft: #8a8a8a;
  --tt-border: #e5e5e5;
  --tt-accent: #1c3d6e;
  --tt-accent-bg: #eef4ff;
  --tt-sale: #c63131;
  --tt-sale-bg: #fde8e8;
  color: var(--tt-text);
  font-size: 15px;
  line-height: 1.5;
}
.ot-tryon-page *, .ot-tryon-page *::before, .ot-tryon-page *::after { box-sizing: border-box; }
.ot-tryon-page a { color: inherit; text-decoration: none; }

/* Прячем шаблонный <h1 class="title">Примерено</h1> — у нас свой фирменный заголовок раздела.
   Правило действует только на этой странице (файл грузится только тут). */
.main h1.title { display: none; }

/* Контент центрируем по тому же контейнеру 1400, что и крошки PDP (ot_breadcrumbs.css → .breadcrumbs max-width:1400).
   padding:0 — боковые отступы даёт контейнер шаблона (.container-fluid.extra-padding), двойного нет. */
.ot-tryon-page .tryon-wrap { max-width: 1400px; margin: 0 auto; padding: 0; }

/* Фон страницы как в прототипе (--bg: #f3f3f3) — чтобы белые карточки выделялись.
   Правила действуют только на этой странице (файл грузится только тут). */
body, .main { background: #f3f3f3; }
.ot-tryon-page { padding-bottom: 32px; }

/* Breadcrumbs */
.ot-tryon-page .tryon-crumbs {
  padding: 14px 0 4px; font-size: 12.5px; color: var(--tt-text-muted);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.ot-tryon-page .tryon-crumbs a { color: var(--tt-text-muted); }
.ot-tryon-page .tryon-crumbs a:hover { color: var(--tt-text); text-decoration: underline; }
.ot-tryon-page .tryon-crumbs .sep { color: var(--tt-text-soft); }
.ot-tryon-page .tryon-crumbs .current { color: var(--tt-text); }

/* PAGE HEAD */
.ot-tryon-page .tryon-head {
  padding: 20px 0 24px; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.ot-tryon-page .tryon-head h1 {
  font-size: 28px; font-weight: 700; margin: 0; letter-spacing: -0.5px;
  line-height: 1.15; display: flex; align-items: center; gap: 12px;
}
.ot-tryon-page .tryon-head h1 svg { width: 28px; height: 28px; color: var(--tt-accent); }
.ot-tryon-page .tryon-head .meta { color: var(--tt-text-muted); font-size: 14px; margin-top: 6px; }
.ot-tryon-page .tryon-head .meta strong { color: var(--tt-text); font-weight: 600; }
.ot-tryon-page .tryon-head .actions { display: flex; gap: 10px; }
.ot-tryon-page .tryon-head .btn-secondary {
  background: #fff; border: 1px solid var(--tt-border); color: var(--tt-text);
  padding: 9px 18px; border-radius: 22px; font-family: inherit; font-size: 13px;
  cursor: pointer; transition: border-color 0.1s;
}
.ot-tryon-page .tryon-head .btn-secondary:hover { border-color: var(--tt-text); }
.ot-tryon-page .tryon-head .btn-primary {
  background: #1a1a1a; border: 1px solid #1a1a1a; color: #fff; padding: 9px 18px;
  border-radius: 22px; font-family: inherit; font-size: 13px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
}
.ot-tryon-page .tryon-head .btn-primary:hover { background: #000; }
.ot-tryon-page .tryon-head .btn-primary svg { width: 14px; height: 14px; }

/* FILTER STRIP */
.ot-tryon-page .filter-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.ot-tryon-page .filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ot-tryon-page .filter-chip {
  padding: 7px 14px; background: #fff; border: 1px solid var(--tt-border);
  border-radius: 22px; font-size: 13px; color: var(--tt-text); cursor: pointer;
  font-family: inherit; display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.1s, border-color 0.1s;
}
.ot-tryon-page .filter-chip:hover { border-color: var(--tt-text); }
.ot-tryon-page .filter-chip.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.ot-tryon-page .filter-chip .count { font-size: 11px; opacity: 0.7; }
.ot-tryon-page .sort-select {
  background: #fff; border: 1px solid var(--tt-border); border-radius: 22px;
  padding: 8px 32px 8px 14px; font-size: 13px; cursor: pointer; font-family: inherit;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 13px;
}

/* GRID + CARD */
.ot-tryon-page .tryon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ot-tryon-page .tryon-card {
  background: #fff; border-radius: 12px; overflow: hidden; position: relative;
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
}
.ot-tryon-page .tryon-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.ot-tryon-page .tryon-card.selected { box-shadow: 0 0 0 2px var(--tt-accent), 0 10px 24px rgba(28,61,110,0.15); }

.ot-tryon-page .tryon-photo {
  position: relative; aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f0f0f0, #e8e8e8); overflow: hidden;
}
.ot-tryon-page .tryon-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ot-tryon-page .tryon-photo.photo-missing img { display: none; }
.ot-tryon-page .tryon-photo-placeholder {
  position: absolute; inset: 0; display: none; flex-direction: column;
  align-items: center; justify-content: center; color: var(--tt-text-soft);
  background: linear-gradient(135deg, #eee, #ddd);
}
.ot-tryon-page .tryon-photo.photo-missing .tryon-photo-placeholder,
.ot-tryon-page .tryon-photo:not(:has(img)) .tryon-photo-placeholder { display: flex; }
.ot-tryon-page .tryon-photo-placeholder svg { width: 48px; height: 48px; opacity: 0.4; margin-bottom: 8px; }
.ot-tryon-page .tryon-photo-placeholder small { font-size: 11px; }

.ot-tryon-page .you-badge {
  position: absolute; top: 12px; left: 12px; background: rgba(26,26,26,0.85);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff;
  font-size: 11px; font-weight: 500; padding: 5px 10px; border-radius: 12px;
  display: inline-flex; align-items: center; gap: 4px; z-index: 2;
}
.ot-tryon-page .you-badge svg { width: 11px; height: 11px; }

.ot-tryon-page .select-check {
  position: absolute; top: 12px; right: 12px; width: 28px; height: 28px;
  background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1.5px solid #fff; border-radius: 50%; cursor: pointer; display: flex;
  align-items: center; justify-content: center; z-index: 3; opacity: 0; transition: opacity 0.15s;
}
.ot-tryon-page .tryon-card:hover .select-check { opacity: 1; }
.ot-tryon-page .select-check.checked { opacity: 1; background: var(--tt-accent); border-color: var(--tt-accent); }
.ot-tryon-page .select-check svg { width: 14px; height: 14px; color: var(--tt-text); opacity: 0; transition: opacity 0.1s; }
.ot-tryon-page .select-check.checked svg { color: #fff; opacity: 1; }

.ot-tryon-page .remove-btn {
  position: absolute; bottom: 12px; right: 12px; width: 32px; height: 32px;
  background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: var(--tt-text); opacity: 0; transition: opacity 0.15s, background 0.1s; z-index: 3;
}
.ot-tryon-page .tryon-card:hover .remove-btn { opacity: 1; }
.ot-tryon-page .remove-btn:hover { background: #fff; color: var(--tt-sale); }
.ot-tryon-page .remove-btn svg { width: 14px; height: 14px; }

.ot-tryon-page .product-thumb {
  position: absolute; bottom: 12px; left: 12px; width: 64px; height: 48px;
  background: rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 8px; padding: 4px; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.ot-tryon-page .product-thumb img { width: 100%; height: 100%; object-fit: contain; }

.ot-tryon-page .tryon-info { padding: 14px 16px 16px; position: relative; }
.ot-tryon-page .tryon-brand { font-size: 11px; color: var(--tt-text-soft); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; font-weight: 500; }
.ot-tryon-page .tryon-name {
  font-size: 14px; font-weight: 600; color: var(--tt-text); margin: 0 0 6px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px;
}
.ot-tryon-page .tryon-meta { font-size: 11.5px; color: var(--tt-text-soft); margin-bottom: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ot-tryon-page .tryon-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--tt-text-soft); flex-shrink: 0; }
.ot-tryon-page .tryon-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.ot-tryon-page .price-current { font-size: 16px; font-weight: 700; color: var(--tt-text); }
.ot-tryon-page .price-old { font-size: 12px; color: var(--tt-text-soft); text-decoration: line-through; }
.ot-tryon-page .price-discount { background: var(--tt-sale-bg); color: var(--tt-sale); font-size: 10px; font-weight: 600; padding: 2px 5px; border-radius: 4px; margin-left: auto; }

.ot-tryon-page .tryon-actions { display: flex; gap: 6px; }
.ot-tryon-page .btn-add-cart {
  flex: 1; height: 38px; background: #1a1a1a; color: #fff; border: 1px solid #1a1a1a;
  border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background 0.1s;
}
.ot-tryon-page .btn-add-cart:hover { background: #000; }
.ot-tryon-page .btn-add-cart svg { width: 14px; height: 14px; }
.ot-tryon-page .btn-retry {
  width: 38px; height: 38px; background: var(--tt-accent-bg); color: var(--tt-accent);
  border: 1px solid var(--tt-accent); border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background 0.1s;
}
.ot-tryon-page .btn-retry:hover { background: #dde8f7; }
.ot-tryon-page .btn-retry svg { width: 16px; height: 16px; }

.ot-tryon-page .unavailable-overlay {
  background: #f0f0f0; color: var(--tt-text-muted); border-radius: 8px;
  padding: 11px 12px; font-size: 12.5px; text-align: center; font-weight: 500;
}
.ot-tryon-page .tryon-card.is-unavailable .tryon-photo img { opacity: 0.6; }

.ot-tryon-page .tryon-when { font-size: 11px; color: var(--tt-text-soft); margin-top: 8px; display: flex; justify-content: space-between; align-items: center; }
.ot-tryon-page .tryon-when a { color: var(--tt-accent); font-weight: 500; }
.ot-tryon-page .tryon-when a:hover { text-decoration: underline; }

/* SECTION TITLES */
.ot-tryon-page .section-title { font-size: 13px; font-weight: 600; color: var(--tt-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin: 24px 0 12px; }
.ot-tryon-page .section-title:first-of-type { margin-top: 0; }

/* INFO BANNER */
.ot-tryon-page .info-banner { background: var(--tt-accent-bg); border: 1px solid #cdd9ec; border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; display: flex; gap: 14px; align-items: center; }
.ot-tryon-page .info-banner-icon { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid #cdd9ec; display: flex; align-items: center; justify-content: center; color: var(--tt-accent); flex-shrink: 0; }
.ot-tryon-page .info-banner-icon svg { width: 18px; height: 18px; }
.ot-tryon-page .info-banner-text { flex: 1; font-size: 13.5px; color: var(--tt-text); line-height: 1.5; }
.ot-tryon-page .info-banner-text strong { color: var(--tt-accent); }
.ot-tryon-page .info-banner-close { background: none; border: none; cursor: pointer; padding: 4px; color: var(--tt-text-soft); }
.ot-tryon-page .info-banner-close svg { width: 16px; height: 16px; }

/* COMPARE BAR */
.ot-tryon-page .compare-bar {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(180%);
  background: #1a1a1a; color: #fff; padding: 12px 16px 12px 20px; border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25); display: flex; align-items: center; gap: 14px;
  transition: transform 0.25s ease-out; z-index: 1000; min-width: 320px;
}
.ot-tryon-page .compare-bar.visible { transform: translateX(-50%) translateY(0); }
.ot-tryon-page .compare-bar-text { font-size: 13px; font-weight: 500; }
.ot-tryon-page .compare-bar-text strong { background: rgba(255,255,255,0.18); padding: 2px 8px; border-radius: 10px; font-size: 11px; margin-right: 6px; }
.ot-tryon-page .compare-bar-actions { display: flex; gap: 6px; }
.ot-tryon-page .compare-bar .btn-compare { background: #fff; color: #1a1a1a; border: none; padding: 8px 16px; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ot-tryon-page .compare-bar .btn-compare:disabled { opacity: 0.5; cursor: not-allowed; }
.ot-tryon-page .compare-bar .btn-compare svg { width: 14px; height: 14px; }
.ot-tryon-page .compare-bar .btn-clear { background: none; color: rgba(255,255,255,0.7); border: none; padding: 8px; cursor: pointer; font-family: inherit; font-size: 12px; border-radius: 6px; }
.ot-tryon-page .compare-bar .btn-clear:hover { color: #fff; }

/* EMPTY STATE */
.ot-tryon-page .empty-state { background: #fff; border-radius: 12px; padding: 60px 40px; text-align: center; margin: 40px 0; }
.ot-tryon-page .empty-state-icon { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background: var(--tt-accent-bg); display: flex; align-items: center; justify-content: center; color: var(--tt-accent); }
.ot-tryon-page .empty-state-icon svg { width: 36px; height: 36px; }
.ot-tryon-page .empty-state h2 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.ot-tryon-page .empty-state p { color: var(--tt-text-muted); font-size: 14px; max-width: 460px; margin: 0 auto 24px; line-height: 1.55; }
.ot-tryon-page .empty-state .btn-go { background: #1a1a1a; color: #fff; border: none; padding: 13px 28px; border-radius: 24px; font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.ot-tryon-page .empty-state .btn-go:hover { background: #000; }
.ot-tryon-page .empty-state .btn-go svg { width: 16px; height: 16px; }

/* toast (используется со страницы) */
.ot-tryon-toast {
  position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%) translateY(20px);
  background: #1a1a1a; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 13px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25); z-index: 1100; opacity: 0; transition: opacity .2s, transform .2s;
  display: flex; align-items: center; gap: 12px;
}
.ot-tryon-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.ot-tryon-toast a { color: #9ec1ff; font-weight: 600; }

/* ===== Оверлей сравнения (клиентский, без отдельной страницы) ===== */
.ot-tryon-page .ot-tryon-compare {
  position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.55); padding: 24px; opacity: 0; transition: opacity .2s; overflow: auto;
}
.ot-tryon-page .ot-tryon-compare.show { opacity: 1; }
.ot-tryon-page .cmp-box {
  background: #fff; border-radius: 14px; padding: 24px; max-width: 1000px; width: 100%;
  position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.3); max-height: 92vh; overflow: auto;
}
.ot-tryon-page .cmp-title { font-size: 18px; font-weight: 700; margin: 0 0 18px; padding-right: 32px; }
.ot-tryon-page .cmp-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: none; cursor: pointer;
  background: #f0f0f0; border-radius: 50%; font-size: 22px; line-height: 1; color: #555;
}
.ot-tryon-page .cmp-close:hover { background: #e5e5e5; }
.ot-tryon-page .cmp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 16px; }
.ot-tryon-page .cmp-col { min-width: 0; }
.ot-tryon-page .cmp-photo { aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg,#f0f0f0,#e8e8e8); display: flex; align-items: center; justify-content: center; }
.ot-tryon-page .cmp-photo img { width: 100%; height: 100%; object-fit: cover; }
.ot-tryon-page .cmp-photo--empty svg { width: 48px; height: 48px; color: var(--tt-text-soft); opacity: .4; }
.ot-tryon-page .cmp-brand { font-size: 11px; color: var(--tt-text-soft); text-transform: uppercase; letter-spacing: .5px; margin: 12px 0 4px; font-weight: 500; }
.ot-tryon-page .cmp-name { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.ot-tryon-page .cmp-name:hover { text-decoration: underline; }
.ot-tryon-page .cmp-meta { font-size: 11.5px; color: var(--tt-text-soft); margin-bottom: 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ot-tryon-page .cmp-price { display: flex; align-items: baseline; gap: 8px; }
@media (max-width: 600px) {
  .ot-tryon-page .ot-tryon-compare { padding: 12px; }
  .ot-tryon-page .cmp-box { padding: 16px; }
  .ot-tryon-page .cmp-grid { gap: 10px; }
}

/* RESPONSIVE */
@media (max-width: 899px) {
  .ot-tryon-page .tryon-wrap { padding: 0; }
  .ot-tryon-page .tryon-head h1 { font-size: 22px; }
  .ot-tryon-page .tryon-head h1 svg { width: 22px; height: 22px; }
  .ot-tryon-page .tryon-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 600px) {
  .ot-tryon-page .tryon-wrap { padding: 0; }
  .ot-tryon-page .tryon-crumbs { padding: 10px 0 0; font-size: 11.5px; }
  .ot-tryon-page .tryon-head { padding: 14px 0 18px; gap: 10px; }
  .ot-tryon-page .tryon-head h1 { font-size: 20px; }
  .ot-tryon-page .tryon-head .actions { width: 100%; gap: 6px; }
  .ot-tryon-page .tryon-head .btn-secondary,
  .ot-tryon-page .tryon-head .btn-primary { flex: 1; padding: 9px 14px; font-size: 12.5px; justify-content: center; }
  .ot-tryon-page .filter-strip { gap: 10px; margin-bottom: 14px; }
  .ot-tryon-page .filter-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; width: calc(100% + 24px); }
  .ot-tryon-page .filter-chips::-webkit-scrollbar { display: none; }
  .ot-tryon-page .filter-chip { flex-shrink: 0; }
  .ot-tryon-page .sort-select { font-size: 12.5px; }
  .ot-tryon-page .tryon-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ot-tryon-page .tryon-card { border-radius: 10px; }
  .ot-tryon-page .tryon-info { padding: 10px 12px 12px; }
  .ot-tryon-page .tryon-brand { font-size: 10px; }
  .ot-tryon-page .tryon-name { font-size: 12.5px; min-height: 32px; }
  .ot-tryon-page .tryon-meta { font-size: 10.5px; margin-bottom: 8px; }
  .ot-tryon-page .tryon-price-row { margin-bottom: 8px; gap: 6px; }
  .ot-tryon-page .price-current { font-size: 14px; }
  .ot-tryon-page .price-old { font-size: 11px; }
  .ot-tryon-page .price-discount { font-size: 9.5px; padding: 1px 4px; }
  .ot-tryon-page .you-badge { font-size: 9.5px; padding: 4px 8px; top: 8px; left: 8px; }
  .ot-tryon-page .you-badge svg { width: 9px; height: 9px; }
  .ot-tryon-page .product-thumb { width: 50px; height: 38px; bottom: 8px; left: 8px; padding: 3px; }
  .ot-tryon-page .remove-btn { display: none; }
  .ot-tryon-page .select-check { opacity: 1; top: 8px; right: 8px; width: 24px; height: 24px; }
  .ot-tryon-page .tryon-actions { gap: 5px; }
  .ot-tryon-page .btn-add-cart { height: 36px; font-size: 12px; }
  .ot-tryon-page .btn-retry { width: 36px; height: 36px; }
  .ot-tryon-page .tryon-when { font-size: 10px; margin-top: 6px; }
  .ot-tryon-page .compare-bar { bottom: 16px; left: 12px; right: 12px; transform: translateX(0) translateY(180%); min-width: 0; padding: 10px 12px 10px 16px; }
  .ot-tryon-page .compare-bar.visible { transform: translateX(0) translateY(0); }
  .ot-tryon-page .compare-bar-text { font-size: 12px; }
  .ot-tryon-page .compare-bar .btn-compare { padding: 8px 12px; font-size: 12px; }
  .ot-tryon-page .empty-state { padding: 36px 20px; }
  .ot-tryon-page .empty-state h2 { font-size: 18px; }
  .ot-tryon-page .empty-state p { font-size: 13px; }
  .ot-tryon-page .info-banner { padding: 12px 14px; gap: 10px; }
  .ot-tryon-page .info-banner-text { font-size: 12.5px; }
}

/* End */


/* Start:/js/tryon-modal.css?177926490410825*/
/**
 * Стили для модального окна Virtual Try-On
 * Цветовая гамма OpticTrend: ч/б/серый
 */

.tryon-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tryon-modal--active {
    display: flex;
    opacity: 1;
}

.tryon-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.tryon-modal__content {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #E6E6E6;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: scale(0.96);
    transition: transform 0.3s;
    z-index: 2;
}

.tryon-modal--active .tryon-modal__content {
    transform: scale(1);
}

.tryon-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 1px solid #E6E6E6;
    background: #F4F4F4;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: #1D1D1B;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, color 0.2s;
}

.tryon-modal__close:hover {
    background: #E6E6E6;
    color: #1D1D1B;
}

.tryon-modal__body {
    padding: 24px 30px;
}

/* Типографика */
.tryon-step__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    color: #1D1D1B;
}

.tryon-step__subtitle {
    font-size: 15px;
    color: #666;
    text-align: center;
    margin-bottom: 24px;
}

/* Кнопки: десктоп — в ряд, мобила — вертикально */
.tryon-upload {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tryon-btn {
    padding: 14px 24px;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.tryon-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* CTA — чёрная */
.tryon-btn--primary {
    background: #1D1D1B;
    color: #FFFFFF;
    border-color: #1D1D1B;
}

.tryon-btn--primary:hover:not(:disabled) {
    background: #2B2B2B;
    border-color: #2B2B2B;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 29, 27, 0.25);
}

/* Вторичные — серые */
.tryon-btn--secondary {
    background: #F4F4F4;
    color: #1D1D1B;
    border-color: #D9D9D9;
}

.tryon-btn--secondary:hover:not(:disabled) {
    background: #E6E6E6;
    border-color: #D9D9D9;
}

.tryon-btn--camera,
.tryon-btn--upload {
    min-width: 200px;
}

.tryon-preview {
    margin-bottom: 20px;
    text-align: center;
}

.tryon-preview img {
    max-width: 100%;
    max-height: 280px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #E6E6E6;
}

.tryon-hint {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #F4F4F4;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
}

.tryon-btn--generate {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    font-weight: 600;
    margin-top: 16px;
    min-height: 52px;
}

/* Шаг 2 — генерация */
.tryon-loader {
    text-align: center;
    padding: 32px 20px;
}

.tryon-loader__spinner {
    width: 52px;
    height: 52px;
    border: 3px solid #E6E6E6;
    border-top-color: #1D1D1B;
    border-radius: 50%;
    animation: tryon-spin 0.9s linear infinite;
    margin: 0 auto 20px;
}

.tryon-loader__wait {
    font-size: 13px;
    color: #888;
    margin-top: 12px;
}

@keyframes tryon-spin {
    to { transform: rotate(360deg); }
}

/* Шаг 3 — результат */
.tryon-result-image {
    text-align: center;
    margin-bottom: 24px;
}

.tryon-result-image img {
    max-width: 100%;
    /* 2026-05-20: ограничиваем по высоте, чтобы Gemini-картинка в большом разрешении
       не выталкивала кнопки/AI-резюме за пределы 90vh-модалки. 60vh оставляет ~30vh
       на остальной контент. На мобильных media query ниже даёт 50vh. */
    max-height: 60vh;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #E6E6E6;
}

.tryon-result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.tryon-result-actions .tryon-btn {
    flex: 1;
    min-width: 140px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

/* Шаг — ошибка */
.tryon-step--error {
    text-align: center;
}

.tryon-error__icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.tryon-error__text {
    font-size: 15px;
    color: #1D1D1B;
    margin-bottom: 8px;
    line-height: 1.5;
}

.tryon-error__hint {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

.tryon-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #1D1D1B;
    color: #FFFFFF;
    padding: 14px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.tryon-toast--show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Камера */
.tryon-camera-preview {
    margin: 20px 0;
    text-align: center;
}

.tryon-camera-preview video {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    margin: 0 auto 16px;
    display: block;
    background: #1D1D1B;
    border: 1px solid #E6E6E6;
}

.tryon-camera-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.tryon-camera-actions .tryon-btn {
    min-width: 140px;
}

/* 4-й thumbnail в галерее — «Примерить онлайн» (только очки) */
.product__slider-outer .carousel-indicators .tryon-gallery-indicator {
    display: block !important;
    border: none !important;
    background: transparent !important;
}

.product__slider-outer .carousel-indicators .tryon-gallery-thumb {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 98px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    line-height: 98px;
    text-align: center;
    font-size: 0;
}

.product__slider-outer .carousel-indicators .tryon-gallery-thumb:hover {
    background: transparent;
}

.product__slider-outer .carousel-indicators .tryon-gallery-thumb img,
.product__slider-outer .carousel-indicators .tryon-gallery-thumb svg {
    max-width: 112.5%;
    max-height: 112.5px;
    width: auto;
    height: auto;
    vertical-align: middle;
    display: block;
    margin: 0 auto;
}

/* Мобильная версия (≤768px) — крупно */
@media (max-width: 767px) {
    .tryon-modal {
        padding: 12px;
        align-items: center;
    }

    .tryon-modal__content {
        width: 95vw;
        max-width: 480px;
        min-height: 65vh;
        height: auto;
        border-radius: 12px;
        max-height: 88vh;
    }

    .tryon-modal__body {
        padding: 18px 20px;
    }

    .tryon-step__title {
        font-size: 19px;
        font-weight: 700;
    }

    .tryon-step__subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    /* Кнопки вертикально, на всю ширину */
    .tryon-upload {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .tryon-btn--camera,
    .tryon-btn--upload {
        width: 100%;
        min-width: unset;
        min-height: 52px;
        font-size: 16px;
    }

    .tryon-btn--generate {
        min-height: 54px;
        font-size: 16px;
    }

    .tryon-hint {
        font-size: 14px;
        padding: 12px;
    }

    .tryon-loader__spinner {
        width: 56px;
        height: 56px;
    }

    .tryon-result-actions {
        flex-direction: column;
    }

    .tryon-result-actions .tryon-btn {
        width: 100%;
        min-width: unset;
        min-height: 52px;
        touch-action: manipulation;
    }

    .tryon-camera-actions {
        flex-direction: column;
    }

    .tryon-camera-actions .tryon-btn {
        width: 100%;
    }
}

/* Кнопка в карточке товара */
.tryon-product-btn {
    margin-top: 12px;
    width: 100%;
}

.tryon-product-btn .tryon-btn {
    width: 100% !important;
    background: #1D1D1B !important;
    color: #FFFFFF !important;
    padding: 14px 20px !important;
    min-height: 48px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.tryon-product-btn .tryon-btn:hover {
    background: #2B2B2B !important;
    transform: translateY(-1px);
}

.tryon-product-btn .tryon-btn:active {
    transform: translateY(0) !important;
}

/* После скрытия блока примерки — не даём блоку наличия/доставки наезжать на «ЦЕНА ДЕЙСТВУЕТ ЕЩЁ» (обход кэша Bitrix) */
body.tryon-ui-hidden .ot-availability,
body.tryon-ui-hidden #catalog_store_amount_div {
    clear: both !important;
    display: block !important;
    width: 100% !important;
    margin-top: 0.5em !important;
}
body.tryon-ui-hidden .ot-price-recalc {
    display: block !important;
    margin-bottom: 0.25em !important;
}

/* OT 2026-05-20: .tryon-gallery-thumb после успешной примерки. */
/* Декорация навешивается JS-ом decorateGalleryThumbsForProductId() в tryon-modal.js. */
.tryon-gallery-thumb { position: relative; }
.tryon-gallery-thumb--done {
    border-color: #1c3d6e !important;
    box-shadow: 0 2px 6px rgba(28, 61, 110, 0.18);
}
.tryon-gallery-thumb--done img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 4px;
}
.tryon-gallery-thumb__badge {
    position: absolute; top: 4px; left: 4px;
    background: #1c3d6e; color: #fff;
    font-size: 10px; font-weight: 600;
    padding: 2px 8px; border-radius: 10px;
    letter-spacing: 0.3px; pointer-events: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    z-index: 2;
}

/* End */
/* /bitrix/templates/lens4u/new_header/ot_breadcrumbs.css?17797803874021 */
/* /bitrix/templates/lens4u/tryon.css?177980073321157 */
/* /js/tryon-modal.css?177926490410825 */
