/*
Theme Name: Bench Transformer Landing
Theme URI: https://example.com/
Author: Custom Landing Pack
Author URI: https://example.com/
Description: Односторінкова WordPress-тема для лендингу сталевого верстака-трансформера «Лапи Павука».
Version: 3.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bench-transformer
*/

:root {
  --bt-bg: #07090d;
  --bt-bg-2: #0d1218;
  --bt-card: rgba(255,255,255,.075);
  --bt-border: rgba(255,255,255,.14);
  --bt-border-strong: rgba(255,255,255,.24);
  --bt-text: #f8fafc;
  --bt-muted: #b9c4d0;
  --bt-accent: #ff7a1a;
  --bt-accent-2: #ffd166;
  --bt-radius: 28px;
  --bt-shadow: 0 28px 80px rgba(0,0,0,.46);
  --bt-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 14% 0%, rgba(255,122,26,.15), transparent 34%),
    radial-gradient(circle at 86% 8%, rgba(130,190,255,.10), transparent 30%),
    linear-gradient(180deg, #07090d 0%, #0a0f15 48%, #07090d 100%);
  color: var(--bt-text);
  line-height: 1.55;
}
body.admin-bar .bt-header { top: 32px; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.bt-container {
  width: min(100% - 32px, var(--bt-container));
  margin-inline: auto;
}

.bt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,9,13,.88);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}
.bt-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.bt-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.bt-logo__mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.bt-logo__mark img { width: 100%; height: 100%; object-fit: cover; }
.bt-logo__text { display: grid; gap: 2px; line-height: 1; }
.bt-logo__text span {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 950;
  letter-spacing: -.04em;
}
.bt-logo__text small {
  color: var(--bt-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.bt-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #d9e3ec;
  font-weight: 800;
  font-size: 14px;
}
.bt-nav a { opacity: .88; transition: opacity .2s ease, color .2s ease; }
.bt-nav a:hover { opacity: 1; color: var(--bt-accent-2); }
.bt-header__actions { display: flex; align-items: center; gap: 12px; }
.bt-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--bt-border);
  background: rgba(255,255,255,.07);
  padding: 10px;
}
.bt-burger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #fff;
}

.bt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.bt-btn:hover { transform: translateY(-2px); }
.bt-btn--primary {
  color: #19120a;
  background: linear-gradient(135deg, var(--bt-accent-2), var(--bt-accent));
  box-shadow: 0 18px 42px rgba(255,122,26,.27);
}
.bt-btn--ghost {
  color: var(--bt-text);
  background: rgba(255,255,255,.08);
  border-color: var(--bt-border);
}

.bt-section { padding: clamp(72px, 9vw, 118px) 0; }
.bt-section--dark {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.bt-section__head { margin-bottom: 34px; }
.bt-section__head.center { text-align: center; }
.bt-section__head h2,
.bt-kit-content h2,
.bt-order-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.055em;
}
.bt-section__lead {
  margin: 16px auto 0;
  max-width: 830px;
  color: #dbe5ef;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 750;
}
.bt-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  color: var(--bt-accent-2);
  background: rgba(255,255,255,.07);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .075em;
}

.bt-hero {
  padding: clamp(54px, 7vw, 92px) 0 clamp(64px, 8vw, 104px);
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.bt-hero::before {
  content: "";
  position: absolute;
  inset: 82px 0 auto 0;
  height: 480px;
  pointer-events: none;
  background: radial-gradient(circle at 22% 44%, rgba(255,122,26,.22), transparent 34%);
}
.bt-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}
.bt-hero__content { max-width: 520px; }
.bt-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 6vw, 80px);
  line-height: .92;
  letter-spacing: -.07em;
}
.bt-hero p {
  margin: 0 0 28px;
  color: #e6edf5;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 780;
}
.bt-hero__media {
  display: grid;
  gap: 16px;
}
.bt-hero__video-card,
.bt-hero__photo {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--bt-border-strong);
  background: rgba(255,255,255,.08);
  box-shadow: var(--bt-shadow);
}
.bt-hero__video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.bt-hero__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.bt-hero__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}

.bt-spec-table {
  width: min(100%, 980px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--bt-border);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
  box-shadow: 0 20px 62px rgba(0,0,0,.30);
}
.bt-spec-row {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  align-items: center;
}
.bt-spec-row:last-child { border-bottom: 0; }
.bt-spec-row span {
  color: var(--bt-muted);
  font-weight: 850;
}
.bt-spec-row strong {
  color: #fff;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.bt-section--adaptive {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,122,26,.09), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
}
.bt-adaptive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.bt-adaptive-card {
  padding: 24px;
  border-radius: 30px;
  border: 1px solid var(--bt-border);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
  box-shadow: var(--bt-shadow);
}
.bt-adaptive-card h3 {
  margin: 20px 0 8px;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.bt-adaptive-card p {
  margin: 0;
  color: var(--bt-muted);
  font-size: 17px;
  font-weight: 730;
}
.bt-scheme {
  position: relative;
  min-height: 220px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 40px);
}
.bt-scheme__plate {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  background: linear-gradient(135deg, #fff7d1, #f2d69f);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transform: translate(-50%, -50%);
}
.bt-scheme__plate::before,
.bt-scheme__plate::after {
  content: "";
  position: absolute;
  bottom: -42px;
  width: 2px;
  height: 52px;
  background: linear-gradient(180deg, #d3dbe6, #8a97a8);
  box-shadow: 64px 0 0 #a9b4c2, 128px 0 0 #a9b4c2, 192px 0 0 #a9b4c2;
}
.bt-scheme__plate::before { left: 18px; }
.bt-scheme__plate::after { display: none; }
.bt-scheme--full .bt-scheme__plate {
  width: 78%;
  height: 88px;
}
.bt-scheme--half .bt-scheme__plate {
  width: 46%;
  height: 88px;
}
.bt-scheme--half .bt-scheme__plate::before {
  box-shadow: 64px 0 0 #a9b4c2;
}

.bt-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.bt-video-card {
  padding: 14px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.055));
  border: 1px solid var(--bt-border);
  box-shadow: var(--bt-shadow);
}
.bt-video-frame {
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  aspect-ratio: 16 / 9;
}
.bt-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000;
}
.bt-video-card p {
  margin: 16px 8px 4px;
  color: #e7eef6;
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 820;
}

.bt-use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bt-use-card {
  overflow: hidden;
  min-height: 430px;
  border-radius: 30px;
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  box-shadow: 0 20px 62px rgba(0,0,0,.32);
}
.bt-use-card img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.bt-use-card div { padding: 22px; }
.bt-use-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.bt-use-card p {
  margin: 14px 0 0;
  color: var(--bt-muted);
  font-weight: 720;
}

.bt-section--kit {
  background:
    radial-gradient(circle at 18% 26%, rgba(255,122,26,.17), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}
.bt-kit-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 38px;
  align-items: center;
}
.bt-kit-image {
  padding: 12px;
  border-radius: 32px;
  border: 1px solid var(--bt-border);
  background: rgba(255,255,255,.08);
  box-shadow: var(--bt-shadow);
}
.bt-kit-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}
.bt-kit-content p,
.bt-order-copy p {
  margin: 20px 0 0;
  max-width: 680px;
  color: #dae4ee;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 760;
}
.bt-kit-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #fff;
  display: grid;
  gap: 12px;
  font-size: 18px;
  font-weight: 730;
}

.bt-order-section {
  background:
    radial-gradient(circle at 82% 10%, rgba(66,230,164,.13), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(255,122,26,.15), transparent 34%);
}
.bt-order-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 34px;
  align-items: start;
}
.bt-order-copy {
  position: sticky;
  top: 112px;
}
.bt-order-box {
  padding: clamp(18px, 3vw, 30px);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid var(--bt-border);
  box-shadow: var(--bt-shadow);
}

.bt-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.22);
  color: var(--bt-muted);
}
.bt-footer__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bt-footer strong {
  display: block;
  color: #fff;
  font-size: 18px;
  margin-bottom: 4px;
}
.bt-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  font-weight: 820;
}
.bt-footer__links a:hover { color: var(--bt-accent-2); }

@media (max-width: 1100px) {
  .bt-hero__grid,
  .bt-kit-grid,
  .bt-order-grid { grid-template-columns: 1fr; }
  .bt-use-grid { grid-template-columns: repeat(2, 1fr); }
  .bt-video-grid,
  .bt-adaptive-grid { grid-template-columns: 1fr; }
  .bt-order-copy { position: static; }
}

@media (max-width: 900px) {
  body.admin-bar .bt-header { top: 0; }
  .bt-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 94px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px;
    background: rgba(7,9,13,.96);
    border: 1px solid var(--bt-border);
    box-shadow: var(--bt-shadow);
  }
  .bt-nav.is-open { display: flex; }
  .bt-nav a { padding: 12px 10px; }
  .bt-burger { display: block; }
  .bt-header-cta { display: none; }
  .bt-use-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .bt-container { width: min(100% - 22px, var(--bt-container)); }
  .bt-header__inner { min-height: 76px; }
  .bt-logo__mark { width: 48px; height: 48px; flex-basis: 48px; border-radius: 15px; }
  .bt-logo__text span { font-size: 17px; }
  .bt-logo__text small { font-size: 11px; }
  .bt-hero { min-height: auto; padding-top: 42px; }
  .bt-hero__thumbs { grid-template-columns: 1fr; }
  .bt-spec-row { grid-template-columns: 1fr; padding: 20px; gap: 8px; }
  .bt-use-grid { grid-template-columns: 1fr; }
  .bt-use-card { min-height: 0; }
  .bt-use-card img { height: 230px; }
  .bt-video-card { border-radius: 24px; padding: 10px; }
  .bt-video-frame { border-radius: 18px; }
  .bt-adaptive-card { padding: 18px; }
  .bt-scheme { min-height: 180px; }
  .bt-footer__grid { display: grid; }
  .bt-footer__links { justify-content: flex-start; }
}


/* Final corrections v2.0 */
.bt-header__actions { min-width: 44px; justify-content: flex-end; }
.bt-hero__grid {
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(44px, 7vw, 92px);
}
.bt-hero__content { max-width: 650px; }
.bt-hero h1 { margin-bottom: 28px; }
.bt-hero p { margin-bottom: 38px; }
.bt-hero__media { gap: clamp(20px, 2.3vw, 30px); }
.bt-hero__thumbs { gap: clamp(20px, 2.3vw, 30px); }
.bt-hero__video-card,
.bt-hero__photo { border-radius: 34px; }
.bt-hero__video-card video { aspect-ratio: 16 / 9; }
.bt-hero__photo img { aspect-ratio: 1 / 1; }
.bt-scroll-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.055));
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.bt-scroll-arrow:hover {
  transform: translateY(4px);
  border-color: rgba(255,209,102,.56);
  background: linear-gradient(135deg, rgba(255,209,102,.26), rgba(255,122,26,.18));
}
.bt-scroll-arrow span {
  width: 18px;
  height: 18px;
  border-right: 4px solid #ffd166;
  border-bottom: 4px solid #ffd166;
  transform: rotate(45deg) translate(-2px, -2px);
}
.bt-spec-layout {
  width: min(100%, 1120px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 20px;
  align-items: stretch;
}
.bt-spec-layout .bt-spec-table {
  width: 100%;
  margin-inline: 0;
}
.bt-spec-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--bt-border);
  background: rgba(255,255,255,.08);
  box-shadow: 0 20px 62px rgba(0,0,0,.30);
  position: relative;
  min-height: 100%;
}
.bt-spec-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}
.bt-spec-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(7,9,13,.78);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}
.bt-adaptive-video {
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.10);
}
.bt-adaptive-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bt-partial-gallery {
  min-height: 220px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.bt-partial-gallery img {
  width: 100%;
  height: 100%;
  min-height: 105px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
}
.bt-partial-gallery img:first-child {
  grid-row: 1 / 3;
  min-height: 220px;
}
.bt-use-grid--five { grid-template-columns: repeat(5, 1fr); }
.bt-use-grid--five .bt-use-card { min-height: 410px; }
.bt-use-grid--five .bt-use-card img { height: 220px; }
.bt-use-card--idea {
  min-height: 410px;
  display: flex;
  align-items: end;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 209, 102, .28), transparent 32%),
    radial-gradient(circle at 90% 85%, rgba(255, 122, 26, .22), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
}
.bt-use-card--idea div { padding: 26px; }
.bt-use-card--idea h3 { font-size: 28px; }
.bt-use-card--idea p { color: #f4f7fb; font-size: 18px; }
.bt-order-note {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.bt-order-note strong { color: #fff; }
.bt-order-note small { color: rgba(255,255,255,.62); font-weight: 800; }
.bt-order-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bt-order-contacts .bt-btn {
  min-height: 42px;
  padding: 11px 16px;
  font-size: 14px;
}
@media (max-width: 1180px) {
  .bt-use-grid--five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .bt-spec-layout { grid-template-columns: 1fr; }
  .bt-spec-photo img { max-height: 420px; }
  .bt-hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .bt-use-grid--five { grid-template-columns: repeat(2, 1fr); }
  .bt-hero__grid { gap: 36px; }
}
@media (max-width: 640px) {
  .bt-use-grid--five { grid-template-columns: 1fr; }
  .bt-partial-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bt-partial-gallery img:first-child { grid-row: auto; min-height: 210px; }
  .bt-partial-gallery img { min-height: 190px; }
  .bt-spec-photo img { min-height: 260px; }
  .bt-scroll-arrow { width: 58px; height: 58px; }
  .bt-hero h1 { margin-bottom: 22px; }
  .bt-hero p { margin-bottom: 30px; }
}


/* Order section layout update v2.2 */
.bt-order-copy .bt-order-note,
.bt-order-copy .bt-payment-details {
  margin-top: 24px;
}
.bt-order-copy .bt-payment-details {
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 209, 102, .28);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 209, 102, .12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
}
.bt-order-copy .bt-payment-details h4 {
  margin: 0 0 14px;
  color: var(--bt-accent-2);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 20px;
}
.bt-order-copy .bt-payment-details p {
  margin: 9px 0 0;
  color: var(--bt-muted);
  font-size: 16px;
  line-height: 1.35;
}
.bt-order-copy .bt-payment-details strong {
  color: #fff;
}
.bt-order-copy .bt-order-note {
  max-width: 100%;
}


/* Order section visual alignment v2.3 */
.bt-order-grid {
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

.bt-order-copy {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.bt-order-copy h2 {
  max-width: 620px;
}

.bt-order-copy > p {
  max-width: 640px;
  margin-bottom: 28px;
}

.bt-order-copy .bt-order-note,
.bt-order-copy .bt-payment-details {
  width: 100%;
  max-width: 680px;
  margin-top: 20px;
}

.bt-order-copy .bt-order-note {
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: 26px;
}

.bt-order-copy .bt-payment-details {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 28px;
}

.bt-order-box {
  align-self: center;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  padding: clamp(26px, 3.2vw, 42px);
}

.bt-order-box .bt-order-form {
  gap: 20px;
}

.bt-order-box .bt-order-form > h3 {
  margin-bottom: 2px;
}

.bt-order-box .bt-order-form > p {
  max-width: 690px;
}

.bt-order-box .bt-form-grid--delivery {
  gap: 16px 18px;
}

.bt-order-box .bt-order-contacts {
  margin-top: 2px;
}

.bt-order-box .bt-order-form__submit {
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .bt-order-grid {
    grid-template-columns: 1fr;
  }

  .bt-order-copy {
    justify-content: flex-start;
  }

  .bt-order-copy .bt-order-note,
  .bt-order-copy .bt-payment-details,
  .bt-order-box {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .bt-order-box {
    padding: 20px;
    border-radius: 28px;
  }

  .bt-order-copy .bt-order-note,
  .bt-order-copy .bt-payment-details {
    margin-top: 16px;
  }
}


/* Hero video full-frame fix v2.4 */
.bt-hero__video-card {
  background: #000;
}

.bt-hero__video-card video {
  object-fit: contain !important;
  object-position: center center !important;
  background: #000;
}

@media (max-width: 640px) {
  .bt-hero__video-card video {
    aspect-ratio: 16 / 9;
    object-fit: contain !important;
  }
}


/* Taller video blocks and narrower photo previews v2.5 */
.bt-hero__media {
  justify-items: center;
}

.bt-hero__video-card {
  width: 100%;
}

.bt-hero__video-card video {
  aspect-ratio: 4 / 3 !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #000;
}

.bt-hero__thumbs {
  width: min(100%, 88%);
  justify-self: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bt-hero__photo img {
  aspect-ratio: 4 / 3 !important;
  object-fit: cover;
}

.bt-video-grid {
  width: min(100%, 1040px);
  margin-inline: auto;
  align-items: stretch;
}

.bt-video-frame {
  aspect-ratio: 4 / 3 !important;
  background: #000;
}

.bt-video-card video {
  object-fit: contain !important;
  object-position: center center !important;
  background: #000;
}

@media (max-width: 900px) {
  .bt-hero__thumbs {
    width: min(100%, 92%);
  }
}

@media (max-width: 640px) {
  .bt-hero__video-card video,
  .bt-video-frame {
    aspect-ratio: 4 / 3 !important;
  }

  .bt-hero__thumbs {
    width: min(100%, 86%);
    grid-template-columns: 1fr;
  }
}


/* Full-size image display fix for all devices v2.6
   Мета: показувати фото повністю на телефоні, планшеті й комп'ютері без обрізання людей/товару. */
.bt-hero__photo,
.bt-use-card,
.bt-kit-image,
.bt-spec-photo,
.bt-partial-gallery,
.bt-adaptive-card {
  background: rgba(0, 0, 0, .62);
}

.bt-hero__photo img,
.bt-use-card img,
.bt-kit-image img,
.bt-spec-photo img,
.bt-partial-gallery img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #05070a;
}

/* Перший екран: фото під відео не обрізаються */
.bt-hero__photo img {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  min-height: 210px;
  max-height: 310px;
  padding: 0;
}

/* Сценарії використання: повна картинка без обрізання людей */
.bt-use-card img,
.bt-use-grid--five .bt-use-card img {
  height: clamp(260px, 24vw, 340px);
  padding: 0;
}

/* Часткове розкладання: усі 3 фото видно повністю */
.bt-partial-gallery img,
.bt-partial-gallery img:first-child {
  min-height: 0 !important;
  height: 100%;
  max-height: 260px;
  object-fit: contain !important;
}

/* Комплектація та фото в характеристиках */
.bt-kit-image img,
.bt-spec-photo img {
  max-height: 520px;
  width: 100%;
}

/* На планшеті й телефоні зберігаємо повний кадр */
@media (max-width: 1100px) {
  .bt-hero__photo img {
    max-height: 360px;
  }

  .bt-use-card img,
  .bt-use-grid--five .bt-use-card img {
    height: clamp(260px, 42vw, 420px);
  }

  .bt-partial-gallery img,
  .bt-partial-gallery img:first-child {
    height: 240px;
    max-height: 300px;
  }
}

@media (max-width: 640px) {
  .bt-hero__photo img {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .bt-use-card img,
  .bt-use-grid--five .bt-use-card img {
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  .bt-kit-image img,
  .bt-spec-photo img,
  .bt-partial-gallery img,
  .bt-partial-gallery img:first-child {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }

  .bt-use-card {
    min-height: 0 !important;
  }
}


/* Header logo vertical spacing fix v2.9 */
.bt-logo__text {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  line-height: 1.05 !important;
}

.bt-logo__text span,
.bt-logo__text small {
  display: block !important;
  margin: 0 !important;
}

.bt-logo__text small {
  line-height: 1.12 !important;
  letter-spacing: .06em;
}


/* Fix fifth scenario card grey background v3.1 */
#uses .bt-use-card.bt-use-card--idea,
#uses .bt-use-grid .bt-use-card.bt-use-card--idea {
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 209, 102, .14), transparent 34%),
    linear-gradient(180deg, #2f3338 0%, #20242a 54%, #171a20 100%) !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .36) !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
}

#uses .bt-use-card.bt-use-card--idea::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%),
    radial-gradient(circle at 85% 18%, rgba(255,255,255,.06), transparent 28%);
  pointer-events: none;
}

#uses .bt-use-card.bt-use-card--idea > div {
  position: relative;
  z-index: 1;
  padding: 32px 28px !important;
}

#uses .bt-use-card.bt-use-card--idea h3 {
  color: #fff !important;
}

#uses .bt-use-card.bt-use-card--idea p {
  color: rgba(244, 247, 251, .86) !important;
}


/* v3.2 scenario cards grey background above and below images */
#uses .bt-use-card:not(.bt-use-card--idea) {
  background: linear-gradient(180deg, #3a3e45 0%, #242a32 52%, #161b22 100%) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}
#uses .bt-use-card:not(.bt-use-card--idea) img,
#uses .bt-use-grid--five .bt-use-card:not(.bt-use-card--idea) img {
  background: linear-gradient(180deg, #4a4f57 0%, #343942 100%) !important;
}
#uses .bt-use-card:not(.bt-use-card--idea) > div {
  background: transparent !important;
}


/* v3.3 Global media grey background fix
   Заміна чорних полів навколо фото/відео на сірий фон по всьому сайту. */
.bt-hero__video-card,
.bt-hero__photo,
.bt-video-frame,
.bt-adaptive-video,
.bt-use-card,
.bt-use-card:not(.bt-use-card--idea),
.bt-kit-image,
.bt-spec-photo,
.bt-partial-gallery,
.bt-adaptive-card {
  background:
    radial-gradient(circle at 22% 8%, rgba(255, 255, 255, .055), transparent 30%),
    linear-gradient(180deg, #3a3e45 0%, #282d34 48%, #1d2229 100%) !important;
}

.bt-hero__video-card video,
.bt-video-frame video,
.bt-adaptive-video video,
.bt-hero__photo img,
.bt-use-card img,
.bt-kit-image img,
.bt-spec-photo img,
.bt-partial-gallery img {
  background:
    linear-gradient(180deg, #3c4149 0%, #2b3038 100%) !important;
}

/* Щоб чорні поля у відео при object-fit: contain стали сірими */
.bt-main video,
.bt-main img {
  background-color: #30353d !important;
}

/* Перший екран: картка відео без чорних бокових полів */
.bt-hero__video-card {
  border-color: rgba(255, 255, 255, .14) !important;
}

/* Блок відео-демонстрації: сірий фон замість чорного */
.bt-video-frame {
  border-color: rgba(255, 255, 255, .14) !important;
}

/* П'ята картка лишається сірою, але в тому ж стилі */
#uses .bt-use-card.bt-use-card--idea,
#uses .bt-use-grid .bt-use-card.bt-use-card--idea {
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 209, 102, .14), transparent 34%),
    linear-gradient(180deg, #3f444b 0%, #2d333b 54%, #20262e 100%) !important;
}
