/* ============================================
   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: 72px; align-items: flex-start; }

/* 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-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; }
.pp-img { border-radius: 10px; overflow: hidden; background: #f0ede8; aspect-ratio: 1/2; position: relative; cursor: grab; height: 75vh; width: auto; }
.pp-img:active { cursor: grabbing; }
.pp-img[data-size="600X900"] { aspect-ratio: 2/3; }
.pp-img[data-size="200X1200"] { aspect-ratio: 1/6; max-width: 130px; max-height: 460px; }
.pp-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.pp-vid { position: absolute; bottom: 8px; left: 8px; display: flex; align-items: center; gap: 3px; padding: 3px 9px; border-radius: 14px; background: rgba(0,0,0,0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 0.58rem; color: #fff; letter-spacing: 0.05em; text-transform: uppercase; z-index: 2; }
.pp-vid .material-icons { font-size: 12px; }
.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-slider::-webkit-scrollbar { display: none; }
.pp-slider { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; width: 50px; align-items: center; }
.pp-track { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; scrollbar-width: none; align-items: center; }
.pp-track::-webkit-scrollbar { display: none; }
.pp-thumb { width: 50px; 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; aspect-ratio: 1/2; }
.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[data-size="600X900"] { aspect-ratio: 2/3; }
.pp-thumb[data-size="200X1200"] { aspect-ratio: 1/6; width: 32px; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-nav { display: none; }
.pp-nav-btn { width: 30px; height: 30px; border-radius: 50%; border: none; background: #2c252030; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 12px; color: #2c2520; transition: all 0.3s; flex-shrink: 0; margin: 6px auto; }
.pp-nav-btn:hover { background: #b49a6a; border-color: #b49a6a; color: #b49a6a; }

/* 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; }
.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-thumb { width: 38px; }
  .pp-track { gap: 4px; }
  .pp-wrap { padding: 28px 20px 20px; }
  .pp-img { max-width: 240px; }
  .pp-interior-img { border-radius: 10px; }
  .pp-right { gap: 16px; }
}

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