/* ============================================
   PRODUCT PAGE — pixel-perfect copy of legacy /product.html <style>
   plus модалка формы лида (buy-modal-*) и placeholders нового сайта.
   ============================================ */

.pp { padding-top: 0; min-height: 100vh; background: #fff; }
.pp-wrap { padding: 0 var(--spacing-container) 2vw; max-width: none; margin: 0 auto; }

/* Breadcrumb */
.pp-crumb { font-size: 0.7rem; font-weight: 300; color: rgba(0,0,0,0.3); margin-bottom: 20px; display: flex; align-items: center; gap: 6px; padding-top: 110px; }
.pp-crumb a { color: rgba(0,0,0,0.35); transition: color 0.3s; } .pp-crumb a:hover { color: #b49a6a; opacity:1; }
.pp-crumb-sep { opacity: 0.4; }

/* === 2-COLUMN LAYOUT like bungee-pro === */
.pp-main { display: flex; gap: var(--pp-gap, 156px); align-items: flex-start; --pp-gap: 156px; }

/* LEFT COLUMN — sticky */
.pp-left { position: sticky; top: 0; padding-top: 90px; width: 380px; flex-shrink: 0; }
.pp-article { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.02em; color: rgba(0,0,0,0.3); margin-top: 4px; margin-bottom: 0; }
.pp-name { font-size: clamp(1.2rem, 1.6vw, 1.6rem); font-weight: 300; line-height: 1.2; letter-spacing: 0.01em; color: rgba(0,0,0,0.5); margin-bottom: 0; }

/* Сводка под заголовком товара: РРЦ + В наличии */
.pp-summary {
  margin-top: 10px;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pp-summary p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #1a1a1a;
}
.pp-summary-label {
  color: rgba(0, 0, 0, 0.5);
  font-weight: 300;
  letter-spacing: 0.02em;
}
.pp-summary-value {
  font-weight: 500;
  margin-left: 4px;
}
.pp-summary-instock { color: #2a7a2a; }
.pp-summary-preorder { color: #8a7550; }
.pp-desc { font-size: 0.78rem; font-weight: 300; line-height: 1.6; color: rgba(0,0,0,0.45); max-width: 380px; margin: 10px 0 0; }

.pp-gallery { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0; }
/* Бокс главного фото. Aspect-ratio задаётся inline'ом через style на сервере
   в зависимости от реальных габаритов плитки (product.size).
   Класс .is-portrait/.is-landscape выбирает стратегию сайзинга. */
.pp-img {
  border-radius: 10px;
  overflow: hidden;
  background: #f0ede8;
  position: relative;
  cursor: grab;
}
.pp-img:active { cursor: grabbing; }
/* Ширина = 100% колонки, ВЫСОТА подстраивается из aspect-ratio (inline) под размер
   плитки. БЕЗ max-height: при width:100% кэп высоты не сужал бы явную ширину и ломал
   пропорцию (квадрат/ландшафт в диапазоне 768–1200px, где .pp-left = width:100%). */
.pp-img.is-portrait,
.pp-img.is-landscape {
  width: 100%;
  height: auto;
}
/* Fallback если размер неизвестен */
.pp-img:not(.is-portrait):not(.is-landscape) {
  aspect-ratio: 1/2;
  height: 75vh;
  width: auto;
}
/* Узкая планка 200×1200 (Окаменелый лес) — само фото планки по центру,
   с воздухом по бокам. Aspect-ratio приходит inline'ом (1/6). */
.pp-img[data-size="200X1200"],
.pp-img[data-size="1200X200"] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  /* Переопределяем sizing: бокс шире, чтобы планка по центру выглядела гармонично */
  height: 75vh !important;
  width: 50vh !important;
  aspect-ratio: 2/3 !important;
  max-width: 100% !important;
}
.pp-img[data-size="200X1200"] img,
.pp-img[data-size="1200X200"] img {
  width: auto;
  max-width: 35%;
  height: 100%;
  object-fit: contain;
}
.pp-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.pp-prints-count { font-size: 0.65rem; color: rgba(0,0,0,0.5); text-align: center; margin-top: 6px; font-weight: 500; white-space: nowrap; }

/* Prints slider — вертикальная лента миниатюр справа от главного фото.
   Высота ограничена высотой .pp-img (75vh), остаток прячется за скроллом. */
.pp-slider {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  width: 50px;
  align-items: center;
  max-height: 75vh;
}
.pp-slider[data-size="200X1200"], .pp-slider[data-size="1200X200"] { max-height: 460px; }
.pp-track {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  align-items: center;
  width: 100%;
}
.pp-track::-webkit-scrollbar { display: none; }
/* Миниатюры слайдера — продолговатые (как в оригинале), единый размер 50×100
   для всех товаров. Узкая планка 200×1200 — тот же контейнер, фото contain центру. */
.pp-thumb {
  width: 50px;
  aspect-ratio: 1/2;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid rgba(0,0,0,0.1);
  transition: all 0.3s;
  opacity: 0.7;
  background: #faf8f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-thumb.active { border-color: rgba(180,154,106,0.7); opacity: 1; box-shadow: 0 0 0 1px rgba(180,154,106,0.3); }
.pp-thumb:hover { opacity: 1; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Узкая планка внутри продолговатого контейнера — contain с центровкой */
.pp-thumb[data-size="200X1200"] img,
.pp-thumb[data-size="1200X200"] img {
  width: auto;
  max-width: 50%;
  height: 100%;
  object-fit: contain;
}
/* Стрелки ▲/▼ над и под треком миниатюр — вкл/выкл в зависимости от позиции */
.pp-nav {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
.pp-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: #2c2520;
  transition: all 0.25s ease;
  flex-shrink: 0;
  margin: 4px auto;
  padding: 0;
}
.pp-nav-btn:hover:not([disabled]) {
  background: #b49a6a;
  border-color: #b49a6a;
  color: #fff;
  transform: scale(1.05);
}
.pp-nav-btn[disabled] {
  opacity: 0.25;
  cursor: not-allowed;
}

/* Actions */
.pp-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 1.5vw; }
.pp-icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.07); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; color: rgba(0,0,0,0.3); }
.pp-icon-btn:hover { border-color: #b49a6a; color: #b49a6a; }
.pp-icon-btn.active { border-color: #b49a6a; color: #b49a6a; background: rgba(180,154,106,0.04); }
.pp-icon-btn .material-icons { font-size: 17px; }
.pp-buy { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: #2c2520; color: #f5f0ea; border: none; border-radius: 50px; font-size: 0.8rem; font-weight: 400; letter-spacing: 0.03em; cursor: pointer; transition: all 0.3s; font-family: inherit; }
.pp-buy:hover { background: #b49a6a; }
.pp-buy .material-icons { font-size: 14px; }
.pp-price { font-size: clamp(1.2rem, 1.6vw, 1.6vw); font-weight: 400; color: #1a1a1a; }
.pp-price span, .pp-price small { font-size: 0.78rem; font-weight: 300; color: rgba(0,0,0,0.35); }
.pp-price-label { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(0,0,0,0.22); margin-bottom: 0; }
/* Цена + кнопка «Купить» в одну строку. Цена крупная, РРЦ — мелкой подписью справа. */
.pp-price-block {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pp-price-block .pp-summary.pp-price-summary {
  margin: 0;
  flex: 0 1 auto;
}
.pp-price-block .pp-summary-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.pp-price-block .pp-summary-price .pp-summary-value {
  font-size: clamp(1.25rem, 1.7vw, 1.45rem);
  font-weight: 500;
  color: #1a1a1a;
}
.pp-price-block .pp-summary-price .pp-summary-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.45);
  font-weight: 400;
  margin: 0;
}
.pp-price-block .pp-buy {
  flex: 0 0 auto;
}
@media (max-width: 767px) {
  .pp-price-block { gap: 14px; }
  .pp-price-block .pp-buy { width: 100%; }
}
.pp-no-price { font-size: 0.85rem; color: rgba(0,0,0,0.35); font-weight: 300; font-style: italic; }

/* Product specs table in left column */
.pp-specs-table { margin-top: 12px; }
.pp-specs-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgb(208,216,228); margin-top: 12px; }
.pp-specs-row:first-child { margin-top: 0; }
.pp-specs-row .label { font-size: 0.75rem; color: rgba(0,0,0,0.4); font-weight: 400; }
.pp-specs-row .value { font-size: 0.8rem; color: rgb(30,30,30); font-weight: 500; text-align: right; }
.pp-specs-row .value a { color: #b49a6a; text-decoration: none; }
.pp-specs-row .value a:hover { text-decoration: underline; }

/* RIGHT column — интерьерные фото */
.pp-right { flex: 1; padding-top: 90px; }
.pp-interior-img { width: 100%; min-height: 100vh; border-radius: 12px; overflow: hidden; margin-bottom: 24px; opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.6s ease; display: flex; }
.pp-interior-img img { width: 100%; min-height: 100vh; object-fit: cover; object-position: center; display: block; flex-shrink: 0; }
.pp-interior-img:last-child { margin-bottom: 0; }
.pp-interior-img.visible { opacity: 1; transform: translateY(0); }
.pp-no-interiors, .pp-gallery-empty { padding: 4vw; text-align: center; color: rgba(0,0,0,0.25); font-size: 0.9rem; font-weight: 300; border: 1px dashed rgba(0,0,0,0.1); border-radius: 16px; }

/* Responsive */
@media (max-width: 1200px) {
  .pp-main { flex-direction: column; gap: 40px; }
  .pp-left { position: static; width: 100%; padding-top: 100px; }
  .pp-right { padding-top: 0; }
  .pp-interior-img { border-radius: 12px; }
}
/* Мобильная эргономика карточки товара */
@media (max-width: 767px) {
  .pp-wrap { padding: 24px 16px 16px; }
  /* Галерея: главное фото + слайдер горизонтально, ширина под экран */
  .pp-gallery {
    flex-direction: row;
    gap: 10px;
    align-items: stretch;
    margin: 12px 0;
  }
  /* На мобиле бокс заполняет доступное место по ширине; aspect-ratio из inline.
     Высота вычисляется автоматически через aspect-ratio. */
  .pp-img,
  .pp-img.is-portrait,
  .pp-img.is-landscape {
    height: auto;
    width: auto;
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
  }
  /* Fallback на мобиле — портрет 1:2 */
  .pp-img:not(.is-portrait):not(.is-landscape) {
    aspect-ratio: 1/2;
    height: auto;
    flex: 1 1 auto;
  }
  .pp-img[data-size="200X1200"],
  .pp-img[data-size="1200X200"] {
    aspect-ratio: 2/3 !important;
    padding: 0;
    height: auto !important;
    width: auto !important;
  }
  /* Слайдер справа — вертикальная лента, с прокруткой и стрелками */
  .pp-slider {
    width: 56px;
    max-height: none;
    align-self: stretch;
  }
  .pp-thumb { width: 50px; }
  .pp-track { gap: 6px; }
  .pp-nav-btn { width: 30px; height: 30px; font-size: 11px; }
  /* Интерьеры — компактнее */
  .pp-interior-img { min-height: auto; border-radius: 10px; }
  .pp-interior-img img { min-height: auto; height: auto; aspect-ratio: 16/10; }
  .pp-right { gap: 16px; padding-top: 0; }
  /* Имя / описание / цена — комфортнее для скролла */
  .pp-name { font-size: 1.1rem; }
  .pp-desc { font-size: 0.82rem; max-width: 100%; }
  .pp-specs { margin-top: 14px; }
  .pp-actions { margin-top: 14px; }
  .pp-buy {
    width: 100%;
    padding: 14px;
    font-size: 0.9rem;
    justify-content: center;
  }
}

/* Бейдж наличия — в блоке цены на странице товара */
.pp-stock {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pp-stock-in {
  background: rgba(34, 139, 34, 0.12);
  color: #2a7a2a;
}
.pp-stock-pre {
  background: rgba(180, 154, 106, 0.15);
  color: #8a7550;
}

/* Buy/feedback modal styles перенесены в public/css/style.css — нужны глобально
   (модалка рендерится LegacyFormBridge на любой странице, не только товара). */

/* Блок «Смотрите также в категориях» — перелинковка на фасетные страницы.
   Полезен пользователю (быстрый переход к похожим вариантам) и SEO
   (внутренние ссылки с товара на landing-страницы фасетов). */
.pp-also {
  margin-top: 6vw;
  padding: 4vw var(--spacing-container, 6vw);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.pp-also-heading {
  font-size: clamp(1.5rem, 2.2vw, 2.2vw);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.pp-also-lead {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 2vw;
  max-width: 600px;
  line-height: 1.6;
}
.pp-also-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.pp-also-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 24px;
  min-height: 110px;
  background: #faf8f5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: all 0.3s ease;
}
.pp-also-card:hover {
  background: #f2ece2;
  border-color: #b49a6a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(180, 154, 106, 0.12);
}
.pp-also-title {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 6px;
  padding-right: 24px;
}
.pp-also-subtitle {
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.01em;
}
.pp-also-arrow {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.1rem;
  color: #b49a6a;
  transition: transform 0.3s ease;
}
.pp-also-card:hover .pp-also-arrow {
  transform: translateX(4px);
}
@media (max-width: 767px) {
  .pp-also { padding: 6vw 5vw; }
  .pp-also-grid { grid-template-columns: 1fr; }
}

/* Lightbox — всплывающая галерея на странице товара */
.pp-img-zoomable { cursor: zoom-in; }
body.pp-lightbox-open { overflow: hidden; }
.pp-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.94);
  display: flex; align-items: center; justify-content: center;
  animation: pp-lb-in 0.2s ease;
}
@keyframes pp-lb-in { from { opacity: 0 } to { opacity: 1 } }
.pp-lightbox-img {
  max-width: 94vw; max-height: 88vh;
  object-fit: contain; display: block;
  user-select: none; -webkit-user-drag: none;
}
.pp-lightbox-close,
.pp-lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.pp-lightbox-close:hover,
.pp-lightbox-nav:hover:not([disabled]) {
  background: rgba(255, 255, 255, 0.24);
}
.pp-lightbox-close {
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 24px; font-weight: 300; line-height: 1;
}
.pp-lightbox-nav {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 32px; line-height: 1;
}
.pp-lightbox-prev { left: 18px; }
.pp-lightbox-next { right: 18px; }
.pp-lightbox-nav[disabled] { opacity: 0.25; pointer-events: none; }
.pp-lightbox-counter {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem; letter-spacing: 0.08em;
  pointer-events: none;
}
@media (max-width: 640px) {
  .pp-lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 22px; }
  .pp-lightbox-nav { width: 44px; height: 44px; font-size: 26px; }
  .pp-lightbox-prev { left: 10px; }
  .pp-lightbox-next { right: 10px; }
  .pp-lightbox-img { max-width: 100vw; max-height: 80vh; }
  .pp-lightbox-counter { bottom: 14px; font-size: 0.78rem; }
}

/* ============= Popular combos (С чем смотрят) — на странице товара =============
   Подстроены под язык .pp-also: тот же контейнер (margin-top, padding,
   max-width, border-top), та же типографика заголовка/лида, такие же
   карточки (border-radius 14, padding 20×24, lift+shadow на hover). */
.catalog-popular-combos {
  margin-top: 6vw;
  padding: 4vw var(--spacing-container, 6vw);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.cpc-heading {
  font-size: clamp(1.5rem, 2.2vw, 2.2vw);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0 0 12px;
}
.cpc-lead {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.6;
  margin: 0 0 2vw;
  max-width: 600px;
}
.cpc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.cpc-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 16px;
  padding: 18px 22px;
  min-height: 92px;
  background: #faf8f5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
.cpc-card:hover {
  background: #f2ece2;
  border-color: #b49a6a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(180, 154, 106, 0.12);
}
.cpc-card-thumbs {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cpc-thumb {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #fff;
  background: #f0ece4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.cpc-thumb + .cpc-thumb { margin-left: -14px; }
.cpc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cpc-card-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.35;
  min-width: 0;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}
.cpc-card-count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  white-space: nowrap;
  align-self: start;
  line-height: 1.1;
  padding-top: 2px;
}
.cpc-count-num {
  font-size: 1.15rem;
  font-weight: 600;
  color: #b49a6a;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.cpc-count-label {
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.5);
  text-transform: lowercase;
  margin-top: 3px;
  letter-spacing: 0.02em;
}
.cpc-card:hover .cpc-count-num { color: #8a7550; }
.cpc-card:hover .cpc-count-label { color: #8a7550; }
@media (max-width: 767px) {
  .catalog-popular-combos { padding: 6vw 5vw; }
  .cpc-grid { grid-template-columns: 1fr; }
  .cpc-card { padding: 16px 18px; }
  .cpc-thumb { width: 48px; height: 48px; }
}

/* ============================================================
   Принты: кнопка «скачать все», нумерация, hover-иконки, тогглы интерьера
   (добавлено 2026-06-14)
   ============================================================ */

/* Слайдер миниатюр — абсолютно по центру зазора между большим фото и интерьерами.
   Центрируем САМУ миниатюру (50px) в зазоре; hover-панель (30px) умещается справа
   с воздухом, т.к. зазор широкий (156px → воздух слева ~53px, справа ~21px после иконок). */
.pp-gallery { position: relative; gap: 0; }
.pp-gallery .pp-slider {
  position: absolute; top: 0; margin: 0;
  left: calc(100% + (var(--pp-gap, 156px) - 50px) / 2);
}

/* «Скачать все принты» — кружок-иконка ПО ЦЕНТРУ над миниатюрами; при наведении
   слева всплывает подпись (иконка не сдвигается, остаётся по центру). */
.pp-dl-all {
  align-self: center; position: relative;
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(180,154,106,0.5); border-radius: 50%;
  background: #fff; color: #b49a6a; text-decoration: none; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); margin-bottom: 8px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.pp-dl-all:hover { background: #b49a6a; color: #fff; border-color: #b49a6a; }
/* Анимированная стрелка — намёк, что можно скачать все принты */
@keyframes pp-dl-bob {
  0%, 55%, 100% { transform: translateY(0); }
  30% { transform: translateY(4px); }
}
.pp-dl-all .material-icons { font-size: 18px; flex-shrink: 0; animation: pp-dl-bob 1.8s ease-in-out infinite; }
.pp-dl-all:hover .material-icons { animation-play-state: paused; transform: translateY(0); }
.pp-dl-all-txt {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  white-space: nowrap; padding: 6px 12px; border-radius: 50px;
  background: #b49a6a; color: #fff; font-size: 0.72rem; font-weight: 400;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.pp-dl-all:hover .pp-dl-all-txt { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Нумерация принт-миниатюр (ракурсное фото — без номера) */
.pp-thumb { position: relative; }
.pp-thumb-num {
  position: absolute; top: 3px; left: 3px; z-index: 2;
  min-width: 16px; height: 16px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; background: rgba(180,154,106,0.5); color: #fff;
  font-size: 10px; font-weight: 500; line-height: 1; pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.pp-slider { position: relative; }

/* Тогглы «Фото / Видео в интерьере» в правой колонке */
.pp-int-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pp-int-label { font-size: 0.75rem; color: rgba(0,0,0,0.35); margin-right: 2px; }
.pp-int-suffix { font-size: 0.75rem; color: rgba(0,0,0,0.35); margin-left: 2px; }
.pp-int-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid rgba(180,154,106,0.5); border-radius: 50px;
  background: #fff; color: #b49a6a;
  font-size: 0.78rem; font-weight: 400; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.pp-int-tab .material-icons { font-size: 17px; }
.pp-int-tab:hover { border-color: #b49a6a; color: #b49a6a; }
.pp-int-tab.active { background: #b49a6a; color: #fff; border-color: #b49a6a; }
.pp-video-soon { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pp-video-soon .material-icons { font-size: 32px; opacity: 0.4; }

/* Абсолютный слайдер-в-зазоре (airy) — только для широких экранов ≥1200px, где
   раскладка [фото | зазор | интерьеры] стабильна. Ниже 1200 — миниатюры в потоке
   рядом с фото (как было), без риска оверфлоу/перекрытия на узких колонках. */
@media (max-width: 1199px) {
  .pp-main { --pp-gap: 72px; }
  .pp-gallery { gap: 8px; }
  .pp-gallery .pp-slider { position: relative; left: auto; top: auto; }
  .pp-dl-all { align-self: center; }
}

@media (max-width: 767px) {
  .pp-int-tabs { margin-bottom: 12px; }
  /* Hover-подпись «Скачать все принты» на мобильном не нужна (нет hover) и её
     absolute-ширина распирала страницу вправо → скрываем. */
  .pp-dl-all-txt { display: none; }
}

/* Блок «В пути» (поступление) — дизайн по ТЗ (скриншот п21):
   лейбл слева + кол-во (пилюля) и дата прихода, в скруглённой рамке. */
.pp-intransit {
  display: inline-flex; align-items: stretch; margin: 10px 0 0;
  border: 1px solid rgba(0,0,0,0.14); border-radius: 10px; overflow: hidden;
  background: #fff;
}
.pp-intransit-label {
  display: flex; align-items: center; padding: 0 14px;
  border-right: 1px solid rgba(0,0,0,0.14);
  font-size: 0.8rem; color: rgba(0,0,0,0.6); white-space: nowrap;
}
.pp-intransit-rows { display: flex; flex-direction: column; gap: 5px; padding: 8px 12px; }
.pp-intransit-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 0.74rem; }
.pp-it-key { color: rgba(0,0,0,0.4); }
.pp-it-val {
  padding: 1px 10px; border: 1px solid rgba(120,140,180,0.45); border-radius: 50px;
  color: #2c2520; font-weight: 500; white-space: nowrap;
}
.pp-it-date { color: rgb(30,30,30); font-weight: 500; white-space: nowrap; }

/* Лента «интерьер ↔ ракурс» на /interactive/ (.pp-right). Reveal — через anim.js (TT.reveal). */
.pp-stack { display: flex; flex-direction: column; gap: 24px; }
.pp-stack-item { border-radius: 12px; overflow: hidden; background: #f0ede8; will-change: transform, opacity; }
.pp-stack-item img { width: 100%; height: auto; display: block; }
