/* Блок «Цены и варианты» на товарных страницах (includes/price-variants.php) */
.pv-section { scroll-margin-top: 140px; background: var(--off, #f5f7fa); padding: 56px 0 60px; border-top: 1px solid var(--border, rgba(0,58,121,.12)); }
.pv-head { max-width: 760px; margin-bottom: 28px; }
.pv-eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--blue2, #0b4a91); }
.pv-title { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--ink, #0a1628); }
.pv-lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--muted, #6b7a8d); max-width: 62ch; }

.pv-min { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 28px; align-items: center; background: #fff; border-radius: var(--r, 16px); padding: 24px 28px; margin-bottom: 24px; border-left: 6px solid var(--gold, #ff9900); box-shadow: var(--sh, 0 4px 24px rgba(10,22,40,.08)); }
.pv-min-price { margin: 0; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1.05; color: var(--ink, #0a1628); white-space: nowrap; }
.pv-from, .pv-unit { font-size: 18px; font-weight: 600; color: var(--muted, #6b7a8d); }
.pv-min-text p { margin: 0 0 6px; font-size: 16px; line-height: 1.5; color: var(--ink, #0a1628); }
.pv-min-text p:last-child { margin-bottom: 0; }
.pv-note { color: var(--muted, #6b7a8d) !important; font-size: 14px !important; line-height: 1.5 !important; }

.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pv-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r, 16px); overflow: hidden; box-shadow: var(--sh, 0 4px 24px rgba(10,22,40,.08)); }
.pv-card-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #e9edf2; }
.pv-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.pv-card-name { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink, #0a1628); }
.pv-card-spec { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--muted, #6b7a8d); }
.pv-card-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pv-price { font-size: 26px; font-weight: 800; color: var(--ink, #0a1628); white-space: nowrap; }
.pv-terms { font-size: 14px; font-weight: 600; color: #8a5a00; background: rgba(255,153,0,.14); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }

.pv-foot { display: flex; align-items: center; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.pv-btn { flex: 0 0 auto; }
.pv-foot-text { flex: 1 1 320px; }
.pv-foot-text p { margin: 0 0 4px; font-size: 16px; line-height: 1.5; color: var(--ink, #0a1628); }

@media (max-width: 767px) {
  .pv-section { padding: 40px 0 44px; }
  .pv-lead { font-size: 16px; }
  .pv-min { grid-template-columns: 1fr; gap: 12px; padding: 18px 18px 18px 16px; }
  .pv-grid { grid-template-columns: 1fr; gap: 16px; }
  .pv-price { font-size: 24px; }
  .pv-foot { gap: 14px; }
  .pv-btn { width: 100%; text-align: center; justify-content: center; }
}

/* Блок «Видео с наших объектов» (includes/video-portfolio.php) */
.vp-section { scroll-margin-top: 140px; background: #fff; padding: 56px 0 60px; }
.vp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.vp-card { margin: 0; }
.vp-play { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r, 16px); overflow: hidden; cursor: pointer; background: #0a1628; aspect-ratio: 16 / 9; }
.vp-play img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.vp-play:hover img, .vp-play:focus-visible img { transform: scale(1.03); }
.vp-icon { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--gold, #ff9900); box-shadow: 0 8px 24px rgba(255,153,0,.35); }
.vp-icon::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.vp-dur { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(10,22,40,.78); color: #fff; font-size: 13px; font-weight: 600; }
.vp-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r, 16px); background: #000; }
.vp-card figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 10px; }
.vp-name { font-size: 16px; line-height: 1.45; color: var(--ink, #0a1628); }
.vp-city { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--blue2, #0b4a91); background: rgba(0,58,121,.07); border-radius: 999px; padding: 3px 10px; }
.vp-more { margin: 24px 0 0; font-size: 16px; }
.vp-more a { color: var(--blue2, #0b4a91); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .vp-section { padding: 40px 0 44px; }
  .vp-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* Страница одного варианта (ceny.php) */
.pv-crumbs { margin: 0 0 20px; font-size: 14px; color: var(--muted, #6b7a8d); }
.pv-crumbs a { color: var(--blue2, #0b4a91); }
.pv-crumbs span { margin: 0 4px; }
.pv-offer { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.pv-offer-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r, 16px); box-shadow: var(--sh, 0 4px 24px rgba(10,22,40,.08)); }
.pv-offer-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 6px 0 14px; font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; color: var(--ink, #0a1628); }
.pv-offer-min { background: #fff; border-left: 6px solid var(--gold, #ff9900); border-radius: var(--r-sm, 10px); padding: 14px 18px; margin: 16px 0 22px; }
.pv-card-link { text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.pv-card-link:hover { transform: translateY(-3px); box-shadow: var(--sh-md, 0 8px 40px rgba(10,22,40,.12)); }
.pv-card-name a { color: inherit; text-decoration: none; }
.pv-card-name a:hover { color: var(--blue2, #0b4a91); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .pv-offer { grid-template-columns: 1fr; gap: 20px; }
}
