/* «Акции» – public client site in the brand style of dolgov-auto.ru (not the corporate ds-v1):
   dark top bar, white header with a soft shadow, red main button / dark secondary, Unbounded headings, Onest text,
   dark footer. Palette, radii and shadows are the :root of the main site. Fonts are self-hosted (OFL). */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/unbounded-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/unbounded-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --c-dark: #2b2a29; --c-red: #ef1313; --c-red-dark: #c90f0f; --c-red-soft: #fdeaea;
  --c-white: #fff; --c-gray: #ededed; --c-gray-2: #f6f6f6; --c-gray-3: #dcdcdc;
  --c-text: #2b2a29; --c-text-2: #6b6968; --c-text-3: #9a9897; --c-green: #1d9e4f;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --shadow-1: 0 2px 8px rgba(43, 42, 41, .08); --shadow-2: 0 8px 28px rgba(43, 42, 41, .14);
  --f-head: "Unbounded", "Arial Black", sans-serif;
  --f-body: "Onest", "Segoe UI", Arial, sans-serif;
  --tr: .18s ease;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  font-family: var(--f-body); font-size: 17px; line-height: 1.55; color: var(--c-text); background: var(--c-gray-2);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--c-red-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-red); outline-offset: 2px; border-radius: var(--r-sm); }
.pr { min-height: 100vh; display: flex; flex-direction: column; }
.pr-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* top bar (desktop only) and header */
.pr-top { display: none; background: var(--c-dark); color: rgba(255, 255, 255, .7); font-size: 13px; }
.pr-top .pr-wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; }
.pr-top a { color: #fff; font-weight: 600; }
.pr-head { position: sticky; top: 0; z-index: 10; background: var(--c-white); box-shadow: var(--shadow-1); }
.pr-head .pr-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.pr-brand { display: inline-flex; flex-shrink: 0; }
.pr-brand img { display: block; height: 35px; width: auto; }

/* buttons: red main, dark secondary, 8px radius, as on the main site */
.pr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--r-sm);
  min-height: 48px; padding: 0 20px; font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center;
  background: var(--c-dark); color: #fff; white-space: nowrap;
  transition: background var(--tr), color var(--tr), transform var(--tr);
}
.pr-btn:hover { text-decoration: none; background: #000; }
.pr-btn--red { background: var(--c-red); }
.pr-btn--red:hover { background: var(--c-red-dark); }
.pr-btn--dark { background: var(--c-dark); }
.pr-btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.pr-btn.is-done, .pr-btn.is-done:hover { background: var(--c-green); }
.pr-btn[disabled] { background: var(--c-gray); color: var(--c-text-2); cursor: default; }

/* headings */
.pr h1, .pr h2 { font-family: var(--f-head); font-weight: 600; line-height: 1.15; margin: 0; }
.pr-hero { background: var(--c-dark); color: #fff; padding: 28px 0 32px; }
.pr-hero h1 { font-size: clamp(24px, 6.4vw, 44px); text-transform: uppercase; }
.pr-hero h1 span { color: var(--c-red); }
.pr-lead { margin: 14px 0 0; max-width: 640px; font-size: 17px; color: rgba(255, 255, 255, .82); }
.pr-main { flex: 1; padding-top: 20px; padding-bottom: 32px; }
.pr-model h1 { font-size: clamp(22px, 6vw, 34px); text-transform: uppercase; margin: 0 0 16px; }
.pr-crumbs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; font-size: 15px; }
.pr-crumbs a { color: var(--c-text-2); }
.pr-crumbs a:hover { color: var(--c-red-dark); }

/* promo card on the root page */
.pr-promo {
  display: grid; gap: 6px; padding: 20px; background: var(--c-white); border-radius: var(--r-md);
  box-shadow: var(--shadow-1); color: var(--c-text); transition: box-shadow var(--tr);
}
.pr-promo:hover { text-decoration: none; box-shadow: var(--shadow-2); }
.pr-promo-title { font-family: var(--f-head); font-weight: 600; font-size: 18px; }
.pr-promo-sub { color: var(--c-text-2); }

/* view switch Галерея / Таблица */
.pr-toolbar { margin: 0 0 16px; }
.pr-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-sm); background: var(--c-gray); }
.pr-seg button {
  min-height: 40px; padding: 0 18px; border: 0; border-radius: 6px; background: none; color: var(--c-text-2);
  font-weight: 600; font-size: 16px; transition: background var(--tr), color var(--tr);
}
.pr-seg button:hover { color: var(--c-text); }
.pr-seg button[aria-pressed="true"] { background: var(--c-dark); color: #fff; }
.pr-view-table { display: none; }
html[data-view="table"] .pr-view-table { display: block; background: var(--c-white); border-radius: var(--r-md); box-shadow: var(--shadow-1); overflow: hidden; }
html[data-view="table"] .pr-view-gallery { display: none; }

/* gallery: a card per model, poster in the video's own aspect */
.pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
/* 09.10.2026: every tile the same height – one 9:16 preview (horizontal videos
   cropped to the centre), name grows, buttons pinned to the bottom of the card */
.pr-grid .pr-tile-pic { aspect-ratio: 9 / 16; overflow: hidden; }
.pr-grid .pr-tile-pic img { width: 100%; height: 100%; object-fit: cover; }
.pr-grid .pr-tile, .pr-grid .pr-tile-link { display: flex; flex-direction: column; }
.pr-grid .pr-tile-pic-link { flex: none; }
.pr-grid .pr-tile-link:not(.pr-tile-pic-link) { flex: 1; }
.pr-grid .pr-tile-name { flex: 1; }
.pr-tile { display: grid; align-content: start; background: var(--c-white); border-radius: var(--r-md); box-shadow: var(--shadow-1); overflow: hidden; transition: box-shadow var(--tr); }
.pr-tile:hover { box-shadow: var(--shadow-2); }
.pr-tile-link { display: grid; color: var(--c-text); }
.pr-tile-link:hover { text-decoration: none; }
.pr-tile-name { padding: 12px 12px 10px; font-family: var(--f-head); font-weight: 500; font-size: 15px; line-height: 1.25; }
.pr-tile .pr-actions { display: grid; gap: 8px; padding: 0 12px 12px; }
.pr-tile .pr-btn, .pr-tbl .pr-btn { white-space: normal; min-height: 44px; padding: 8px 10px; font-size: 15px; }
.pr-tile-pic { position: relative; display: block; background: var(--c-dark); }
.pr-tile-pic img { display: block; width: 100%; height: auto; }
.pr-tile-pic.is-empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 9 / 16; background: var(--c-gray); color: var(--c-text-2); text-align: center; padding: 8px; }
.pr-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--c-red); box-shadow: var(--shadow-1); }
.pr-play::after { content: ""; position: absolute; left: 21px; top: 15px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }

/* what is translated: ticks in the brand red, grey hint under each item */
.pr-inc { margin: 0 0 16px; padding: 16px; background: var(--c-white); border-radius: var(--r-md); box-shadow: var(--shadow-1); }
.pr-inc h2 { font-size: 17px; text-transform: uppercase; margin: 0 0 12px; }
.pr-inc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pr-inc li { position: relative; padding-left: 34px; display: grid; gap: 2px; }
.pr-inc li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 7px; height: 14px; border: solid var(--c-red); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.pr-inc-name { font-weight: 600; }
.pr-inc-hint { font-size: 15px; color: var(--c-text-2); }

/* prices: regular price struck out in lists, a big red line on the model page */
.pr-price-short { padding: 0 12px 8px; font-size: 14px; color: var(--c-text-2); }
.pr-price-short .nb { white-space: nowrap; }
.pr-price-short s { color: var(--c-text-3); }
.pr-tbl .pr-price-short { display: block; padding: 4px 0 0; font-family: var(--f-body); font-weight: 400; }
.pr-price-old { margin: -6px 0 0; font-size: 17px; color: var(--c-text-2); }
.pr-price-free { margin: 2px 0 16px; font-family: var(--f-head); font-weight: 600; font-size: clamp(20px, 5.6vw, 28px); line-height: 1.2; color: var(--c-red); }

/* table view: a real table from 720px, a list of rows (no horizontal scroll) below */
.pr-tbl { width: 100%; border-collapse: collapse; display: block; }
.pr-tbl thead { display: none; }
.pr-tbl tbody { display: block; }
.pr-tbl tr {
  display: grid; grid-template-columns: 80px minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr;
  grid-template-areas: "name name" "inc inc" "pic copy" "pic dl" "pic ."; gap: 8px 12px; padding: 14px 16px; border-bottom: 1px solid var(--c-gray); align-items: start;
}
.pr-tbl tr:last-child { border-bottom: 0; }
.pr-tbl td { display: block; padding: 0; min-width: 0; }
.pr-tbl .c-name { grid-area: name; font-family: var(--f-head); font-weight: 500; font-size: 17px; line-height: 1.2; }
.pr-tbl .c-name a { color: var(--c-text); }
.pr-tbl .c-inc { grid-area: inc; font-size: 15px; color: var(--c-text); }
.pr-tbl .c-inc small { display: block; margin-top: 2px; font-size: 13px; color: var(--c-text-2); }
.pr-tbl .c-pic { grid-area: pic; }
.pr-tbl .c-pic > a { display: block; }
.pr-tbl .c-copy { grid-area: copy; }
.pr-tbl .c-dl { grid-area: dl; }
.pr-tbl .pr-btn { width: 100%; }
.pr-tbl .pr-tile-pic { border-radius: 6px; overflow: hidden; }
.pr-tbl .pr-tile-pic.is-empty { aspect-ratio: 16 / 9; font-size: 12px; padding: 0; }
.pr-tbl .pr-play { transform: scale(.55); }

/* model page: one column (phone, tablet); a product card of two columns from 900px (below) */
.pr-model-head, .pr-model-rest, .pr-model-media { min-width: 0; }
.pr-model .pr-crumbs { margin-bottom: 8px; }

/* model page: the player takes the width, up to 80vh tall; --ar comes from the aspect class */
.pr-player {
  width: min(100%, calc(80vh * var(--ar, 1.7778))); margin: 0 auto 16px;
  background: var(--c-dark); border-radius: var(--r-md); box-shadow: var(--shadow-2); overflow: hidden;
}
.pr-player video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--c-dark); }
.pr-player.is-empty { aspect-ratio: 16 / 6; display: flex; align-items: center; justify-content: center; background: var(--c-gray); box-shadow: none; color: var(--c-text-2); }
.pr-note { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--c-red-soft); border-left: 3px solid var(--c-red); color: var(--c-text); }
.pr-model .pr-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-model .pr-actions .pr-btn { flex: 1 1 auto; }
.pr-more { margin: 24px 0 0; }

.pr-foot { background: var(--c-dark); color: rgba(255, 255, 255, .7); padding: 24px 0; }
.pr-foot .pr-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pr-foot-name { font-family: var(--f-head); font-weight: 500; color: #fff; }
.pr-foot a { color: #fff; font-weight: 600; font-size: 18px; }

@media (min-width: 720px) {
  .pr-wrap { padding-left: 24px; padding-right: 24px; }
  .pr-top { display: block; }
  .pr-head .pr-wrap { min-height: 72px; }
  .pr-hero { padding: 34px 0 38px; }
  .pr-main { padding-top: 28px; padding-bottom: 48px; }
  .pr-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
  .pr-tile-name { font-size: 16px; }
  .pr-tile .pr-btn, .pr-tbl .pr-btn { min-height: 40px; font-size: 14px; }
  .pr-tbl { display: table; }
  .pr-tbl thead { display: table-header-group; }
  .pr-tbl tbody { display: table-row-group; }
  .pr-tbl tr { display: table-row; }
  .pr-tbl th { padding: 12px 16px; text-align: left; font-size: 14px; font-weight: 600; color: var(--c-text-2); background: var(--c-gray-2); border-bottom: 1px solid var(--c-gray); }
  .pr-tbl td { display: table-cell; padding: 10px 16px; vertical-align: middle; border-bottom: 1px solid var(--c-gray); }
  .pr-tbl tr:last-child td { border-bottom: 0; }
  .pr-tbl .c-name { font-size: 16px; }
  .pr-tbl { table-layout: fixed; }
  .pr-tbl th, .pr-tbl td { padding-left: 12px; padding-right: 12px; }
  .pr-tbl .c-name { width: 21%; }
  .pr-tbl th.c-name { font-family: var(--f-body); font-size: 14px; font-weight: 600; line-height: 1.55; }
  .pr-tbl .c-pic { width: 72px; }
  .pr-tbl .c-copy { width: 176px; }
  .pr-tbl .c-dl { width: 168px; }
  .pr-tbl .pr-btn { white-space: nowrap; padding: 0 8px; }
  .pr-tbl .c-inc { font-size: 14px; }
  .pr-tbl .c-inc small { font-size: 12px; }
  .pr-model .pr-actions .pr-btn { flex: 0 0 auto; min-height: 44px; }
}
@media (min-width: 900px) {
  /* video left (fixed width by shape), everything else right on one left edge, tops aligned */
  .pr-model { display: grid; column-gap: 40px; grid-template-columns: clamp(300px, calc((100vh - 170px) * 9 / 16), 380px) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "media head" "media rest"; align-items: start; }
  .pr-model.is-landscape { grid-template-columns: 560px minmax(0, 1fr); }
  .pr-model-head { grid-area: head; }
  .pr-model-media { grid-area: media; }
  .pr-model-rest { grid-area: rest; max-width: 560px; }
  .pr-model .pr-crumbs { margin-top: 0; }
  .pr-player { width: 100%; margin: 0; }
  .pr-player.is-empty { aspect-ratio: 9 / 16; }
  .pr-model .pr-actions .pr-btn { min-width: 190px; }
}
/* click-to-play overlay: dark backdrop, video by screen height, full screen on phones */
.pr-lock { overflow: hidden; }
.pr-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(43, 42, 41, .94); }
.pr-modal-box { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.pr-modal video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.pr-modal-close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--c-red); color: #fff; font-size: 30px; line-height: 1; box-shadow: var(--shadow-1);
}
.pr-modal-close:hover { background: var(--c-red-dark); }
.pr-tile-pic-link { cursor: pointer; }
@media (min-width: 720px) {
  .pr-modal-box { width: auto; height: auto; }
  .pr-modal-box.is-portrait video { height: 90vh; width: auto; max-width: 94vw; border-radius: var(--r-md); }
  .pr-modal-box.is-landscape video { width: min(94vw, 1100px); height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-md); }
}
/* gallery cards: name at most two lines, price on one line, short buttons on a phone */
.pr-grid .pr-tile-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pr-grid .pr-price-short { white-space: nowrap; font-size: 13px; }
.l-short { display: none; }
@media (max-width: 519.98px) {
  .pr-tile .l-full { display: none; }
  .pr-tile .l-short { display: inline; }
  .pr-tile .l-from { display: none; }
  .pr-tile .pr-btn { white-space: nowrap; font-size: 15px; padding: 0 8px; }
  .pr-grid .pr-tile-name { padding: 10px 10px 6px; font-size: 14px; }
  .pr-grid .pr-price-short { padding: 0 10px 8px; }
  .pr-tile .pr-actions { padding: 0 10px 10px; }
}
@media (min-width: 520px) { .pr-grid .pr-price-short { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
