@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;600;700;800&display=swap');
*{box-sizing:border-box}body{margin:0;color:#393939;font:18px/1.6 Mulish,Arial,sans-serif}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer} [hidden]{display:none!important}.wrap{width:min(1560px,calc(100% - 2 * clamp(20px,7.5vw,140px)));margin-inline:auto}header{background:#2b2b2b;color:white}.head{display:flex;align-items:center;justify-content:space-between;gap:clamp(20px,4vw,90px);min-height:150px}.head>a{flex:0 1 310px}.head img{width:100%}nav{display:flex;align-items:center;gap:clamp(16px,2.6vw,52px)}nav a{white-space:nowrap;text-transform:uppercase;font-size:clamp(13px,1.05vw,16px);font-weight:600;letter-spacing:2px}.toggle{display:none}.hero{position:relative;background:#222;color:white}.slide{position:relative}.slide>img{width:100%;height:max(1px,calc(100vh - var(--public-header-height)));height:max(1px,calc(100dvh - var(--public-header-height)));object-fit:cover;object-position:center bottom}.hero-copy{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;text-align:right}.hero-copy :is(h1,h2){font-size:var(--page-heading-size);line-height:1.1;text-transform:uppercase;margin:0 0 12px;font-weight:var(--page-heading-weight)}.hero-copy p{font-size:clamp(15px,1.5vw,25px);margin:0;max-width:42ch;position:relative}.hero-copy p:after{content:'';position:absolute;top:calc(100% + var(--heading-rule-gap));right:0;width:160px;max-width:100%;height:12px;background:url(img/nadpis-spacer.png) right center/contain no-repeat}.hero > button{position:absolute;top:50%;transform:translateY(-50%);border:0;background:#0004;color:white;padding:8px 12px;font-size:30px}.prev{left:0}.next{right:0}.section{padding:var(--section-top) 0 clamp(36px,5vw,85px);text-align:center}.section h2{font-size:clamp(28px,3.5vw,56px);line-height:1.2;margin:0 0 var(--heading-content-gap);font-weight:700}.cars{background:#d9d9d9}.rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}.rail a{scroll-snap-align:start}.rail-controls>button{border:0;background:transparent;padding:10px}.cta{display:inline-block;background:#393939;color:white;padding:12px 25px;margin-top:25px}.cta:hover{background:#27d006;color:#222}.dark,footer{background:linear-gradient(#272727f2,#272727f2),url(img/bg-box-nabidka.jpg);color:white}.tiles{display:grid;gap:20px}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.four{grid-template-columns:repeat(4,minmax(0,1fr))}.tiles article{background:#393939;padding:32px 20px}.tiles img,.contact-grid img{width:80px;margin:0 auto 20px}.about{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;text-align:left}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.foot{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding-block:75px}.foot img{width:260px}.foot h3{margin-top:0}.foot a{display:block;overflow-wrap:anywhere}.copyright{background:#242424}.copyright .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:120px;padding-block:20px;overflow-wrap:anywhere}.copyright span:last-child{text-align:right}@media(max-width:1100px){.head{min-height:105px;flex-wrap:wrap;gap:0;padding-block:20px}.head>a{flex-basis:240px}.toggle{display:block;background:none;border:0;color:white;font-size:28px}.foot,.four{grid-template-columns:repeat(2,minmax(0,1fr))}.rail{grid-auto-columns:calc((100% - 16px)/2)}}@media(max-width:600px){.wrap{width:calc(100% - 40px)}.head>a{flex-basis:200px}.hero-copy{padding-inline:20px;align-items:center;text-align:center}.hero-copy p:after{left:0;margin-inline:auto}.hero > button{font-size:20px;padding:4px 8px}.rail{grid-auto-columns:100%}.three,.four,.about,.contact-grid,.foot{grid-template-columns:1fr}.foot{padding-block:40px;gap:24px}.copyright .wrap{flex-direction:column;justify-content:center;text-align:center}.copyright span:last-child{text-align:center}}

:root {
  scrollbar-gutter: stable;
  --public-header-height: 150px;
  --public-cta-padding: 19px 20px;
  --section-top: clamp(44px, 6.5vw, 110px);
  --page-end-gap: clamp(72px, 8vw, 135px);
  --heading-rule-gap: clamp(20px, 3.4vw, 58px);
  --heading-content-gap: clamp(36px, 6.6vw, 110px);
  --page-heading-size: clamp(30px, 3vw, 54px);
  --page-heading-weight: 800;
  --order-content-width: 1430px;
  --inquiry-side-padding: clamp(16px, 2.4vw, 36px);
}
.page-heading {
  padding-block: var(--section-top) var(--heading-content-gap);
  background: #d9d9d9;
  color: #393939;
  text-align: center;
}
.page-heading + .cars,
.about-page > .page-heading + .section {
  padding-block-start: 0;
  padding-block-end: var(--page-end-gap);
}
.page-heading h1 {
  margin: 0;
  font-size: var(--page-heading-size);
  line-height: 1.15;
  font-weight: var(--page-heading-weight);
}
.page-heading h1::after,
.section h2::after,
.order-request > h2::after {
  content: '';
  display: block;
  width: min(160px, 100%);
  height: 12px;
  margin: var(--heading-rule-gap) auto 0;
  background: url(img/subnadpis-spacer.png) center / contain no-repeat;
}
.section .about h2 {
  margin-block-end: var(--heading-rule-gap);
}
.about h2::after {
  margin-left: 0;
}
nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
html:has(body > header > .head) {
  scroll-padding-block-start: calc(var(--public-header-height) + 12px);
}
body > header:has(> .head) {
  position: sticky;
  inset-block-start: 0;
  z-index: 1;
}
.head nav a,
body:not(.admin-page) :is(button, .cta, .vehicle-inquiry, .back) {
  text-transform: uppercase;
  font-weight: 800;
}
.sales-tiles {
  gap: clamp(16px, 3.65vw, 60px);
}
.sales-tiles article {
  padding: clamp(32px, 5.4vw, 90px) clamp(20px, 3vw, 50px);
  transition: background-color var(--button-fade) ease, color var(--button-fade) ease;
}
.sales-tiles img {
  width: 100px;
  height: 76px;
  margin: 0 auto clamp(24px, 3vw, 48px);
  object-fit: contain;
}
.sales-tiles h3 {
  margin: 0 0 clamp(14px, 1.8vw, 30px);
  font-size: clamp(16px, 1.22vw, 20px);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}
.sales-tiles p {
  margin: 0;
  line-height: 1.3;
}
@media (hover: hover) {
  .sales-tiles article:hover {
    background-color: #27d006;
    color: #161616;
  }
}
.tiles.four {
  gap: clamp(16px, 4.2vw, 70px);
}
.tiles.four article {
  display: grid;
  justify-items: center;
  align-content: center;
  aspect-ratio: 1;
  padding: clamp(18px, 3vw, 48px);
  transition: background-color var(--button-fade) ease;
}
.tiles.four img {
  width: min(126px, 100%);
  height: 70px;
  margin: 0 0 clamp(16px, 2vw, 32px);
  object-fit: contain;
}
.tiles.four h3 {
  margin: 0;
  font-size: clamp(16px, 1.1vw, 19px);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}
@media (hover: hover) {
  .tiles.four article:hover {
    background-color: #2f2f2f;
  }
}
.listing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.listing article {
  display: grid;
  min-width: 0;
}
.sold-listing {
  margin-top: clamp(32px, 5vw, 84px);
}
.car-sold {
  color: #ec1606;
  font-weight: 700;
}
.car-card .car-sold {
  margin: 24px 0 0;
}
.car-card {
  display: grid;
  align-content: start;
  gap: clamp(18px, 3vw, 44px);
  padding: clamp(24px, 4vw, 74px) clamp(20px, 3vw, 50px) clamp(44px, 6vw, 100px);
  background: #393939;
  color: #fff;
  text-align: center;
  transition: background-color var(--button-fade) ease;
}
.car-card img {
  width: 100%;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}
.car-card .car-name {
  display: block;
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.car-card .car-name::after {
  content: none;
}
.car-card .car-meta {
  margin: 14px 0 0;
  color: #d9d9d9;
  overflow-wrap: anywhere;
}
.car-card .car-price,
.vehicle-inquiry {
  color: #27d006;
  font-weight: 700;
}
a.car-card:is(:hover, :focus-visible) {
  background-color: #262626;
  text-decoration: none;
}
.vehicle-detail {
  background: #d9d9d9;
  padding-bottom: clamp(36px, 5vw, 80px);
}
.vehicle-panel {
  background: #262626;
  color: #fff;
  padding: clamp(24px, 4.5vw, 72px);
}
.vehicle-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 64px);
}
.vehicle-main-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.vehicle-summary {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: clamp(22px, 4vw, 56px);
}
.vehicle-summary > p {
  margin: 0;
}
.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
  gap: clamp(12px, 2.5vw, 44px);
  margin: clamp(28px, 6vw, 110px) 0 0;
}
.vehicle-specs > div {
  padding: clamp(12px, 1.6vw, 24px) 8px;
  background: #393939;
  text-align: center;
  overflow-wrap: anywhere;
}
.vehicle-specs dt img {
  width: clamp(48px, 5vw, 70px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto;
}
.vehicle-specs dt span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.vehicle-specs dd {
  margin: 12px 0 0;
  font-weight: 700;
}
.vehicle-price,
.vehicle-inquiry {
  background: #393939;
}
.vehicle-price {
  padding: 16px 24px;
  font-size: clamp(24px, 2.4vw, 36px);
}
.vehicle-sold-pricing {
  container-type: inline-size;
  justify-self: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.vehicle-sold-pricing .vehicle-price {
  max-width: 100%;
  margin: 0;
  padding: clamp(20px, 6cqi, 38px) clamp(12px, 7cqi, 44px);
  font-size: clamp(20px, 5.4cqi, 32px);
  text-align: center;
  overflow-wrap: anywhere;
}
.vehicle-inquiry {
  display: inline-block;
  text-align: center;
}
.vehicle-thumbs,
.vehicle-gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.vehicle-gallery {
  gap: 16px;
}
.vehicle-thumbs img,
.vehicle-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.vehicle-detail .section:last-of-type {
  padding-bottom: 0;
}
.vehicle-facts {
  padding-bottom: 0;
}
.vehicle-facts > h2,
.section:has(> .vehicle-gallery) > h2 {
  margin-bottom: clamp(30px, 5vw, 86px);
  font-size: clamp(26px, 2.2vw, 38px);
  font-weight: 800;
}
.vehicle-facts > h2::after,
.section:has(> .vehicle-gallery) > h2::after {
  content: none;
}
.vehicle-facts-list {
  columns: 4;
  column-gap: clamp(20px, 4vw, 64px);
  margin: 0;
  padding-inline-start: 1.3em;
  list-style-type: circle;
  text-align: left;
  line-height: 1.35;
}
.vehicle-facts-list li {
  break-inside: avoid;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
@media (max-width: 1050px) {
  .vehicle-facts-list { columns: 2; }
}
@media (max-width: 600px) {
  .vehicle-facts-list { columns: 1; }
}
.vehicle-viewer {
  width: calc(100% - 24px);
  height: min(780px, calc(100vh - 24px));
  height: min(780px, calc(100dvh - 24px));
  max-width: none;
  max-height: none;
  overflow: hidden;
  border: 0;
  padding: 12px;
  background: #000;
  color: #fff;
}
.vehicle-viewer[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
html:has(.vehicle-viewer[open], .vehicle-inquiry-dialog[open]) {
  overflow: hidden;
}
:is(.vehicle-viewer, .vehicle-inquiry-dialog)[open] {
  animation: popup-fade-in var(--button-fade) ease var(--button-hover-delay) backwards;
}
:is(.vehicle-viewer, .vehicle-inquiry-dialog)::backdrop {
  background: #000;
  animation: popup-fade-in var(--button-hover-delay) ease-out;
}
@keyframes popup-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.vehicle-viewer img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.vehicle-viewer form,
.vehicle-inquiry-close {
  display: flex;
  justify-content: end;
  margin-bottom: 8px;
}
.vehicle-viewer form button,
.vehicle-inquiry-close button {
  appearance: none;
  position: relative;
  isolation: isolate;
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  background: #393939;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color var(--button-hover-delay) ease-out;
}
.vehicle-viewer form button::before,
.vehicle-inquiry-close button::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #27d006;
  opacity: 0;
  transition: opacity var(--button-fade) ease;
}
.vehicle-viewer form button:is(:hover, :focus-visible),
.vehicle-inquiry-close button:is(:hover, :focus-visible) {
  background-color: #4a4a4a;
  color: #161616;
  transition: background-color var(--button-hover-delay) ease-out,
    color 0s linear calc(var(--button-hover-delay) + var(--button-fade) / 2);
}
.vehicle-viewer form button:is(:hover, :focus-visible)::before,
.vehicle-inquiry-close button:is(:hover, :focus-visible)::before {
  opacity: 1;
  transition-delay: var(--button-hover-delay);
}
.vehicle-viewer-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}
.vehicle-viewer-controls button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #777;
  background: #393939;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}
.vehicle-viewer-count {
  min-width: 5ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.vehicle-detail .back {
  display: block;
  width: fit-content;
  margin-block-start: clamp(30px, 3vw, 44px);
  text-decoration: none;
}
.dark .cta {
  border: 1px solid #fff;
}
a:focus-visible,
button:focus-visible,
.rail:focus-visible {
  outline: 2px solid #1c1c1c;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #fff;
}
@media (max-width: 900px) {
  .listing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .listing,
  .vehicle-overview {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1101px) {
  .head nav a {
    position: relative;
    isolation: isolate;
    padding-block: 15px;
  }
  .head nav a::before,
  .head nav a::after {
    content: '';
    position: absolute;
    inset: 0 -10px;
    z-index: -1;
  }
  .head nav a::before {
    background: #313131;
    opacity: 0;
    transition: opacity var(--button-hover-delay) ease-out;
  }
  .head nav a::after {
    background: #27d006;
    opacity: 0;
    transition: opacity var(--button-fade) ease;
  }
  .head nav a:is(:hover, :focus-visible, [aria-current]) {
    color: #161616;
    text-decoration: none;
  }
  .head nav a:not([aria-current]):is(:hover, :focus-visible)::before {
    opacity: 1;
  }
  .head nav a:is(:hover, :focus-visible, [aria-current])::after {
    opacity: 1;
  }
  .head nav a:is(:hover, :focus-visible)::after {
    transition-delay: var(--button-hover-delay);
  }
  .head nav a[aria-current]::after {
    transition: none;
  }
}
@media (max-width: 1100px) {
  :root {
    --public-header-height: 105px;
  }
  html:not(.has-enhanced-menu) body > header:has(> .head) {
    position: relative;
  }
  .head nav {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: #000;
    color: #fff;
  }
  .has-enhanced-menu .head nav {
    display: flex;
    position: absolute;
    inset: calc(100% - 1px) 0 auto;
    max-height: 65vh;
    max-height: min(65dvh, calc(100dvh - var(--public-header-height)));
    overflow: auto;
    box-shadow: 0 6px 12px #0006;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 260ms ease, visibility 0s linear 260ms;
    pointer-events: none;
  }
  .has-enhanced-menu .head nav.open {
    visibility: visible;
    clip-path: inset(0);
    transition-delay: 0s;
    pointer-events: auto;
  }
  html:not(.has-enhanced-menu) .head nav {
    display: flex;
  }
  .head nav a {
    min-height: 44px;
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    white-space: normal;
    letter-spacing: normal;
    font-size: 18px;
    text-decoration: none;
  }
  .head nav a:hover,
  .head nav a:focus-visible,
  .head nav a[aria-current] {
    background: #242424;
    color: #fff;
    text-decoration: none;
  }
  .head nav a:focus-visible {
    outline: 2px solid #27d006;
    outline-offset: -3px;
    box-shadow: none;
  }
  .toggle {
    min-width: 44px;
    min-height: 44px;
  }
  html:not(.has-enhanced-menu) .toggle {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .head nav a:is(:hover, :focus-visible),
  .head nav a::before,
  .head nav a::after,
  .has-enhanced-menu .head nav {
    transition: none;
  }
}
@media (max-height: 450px) {
  .hero-copy :is(h1, h2) {
    margin-bottom: 5px;
  }
  .hero-copy p::after {
    display: none;
  }
}
.banner-indicators {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.banner-indicator {
  display: grid;
  place-items: center;
  width: 28px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
}
.banner-indicator::before {
  content: '';
  width: 22px;
  height: 8px;
  box-sizing: border-box;
  border: 2px solid #fff;
  box-shadow: 0 0 4px #0009;
}
.banner-indicator[aria-current="true"]::before {
  border-color: #2cfe02;
  background: #2cfe02;
}
.hero > button,
.rail-controls > button {
  min-width: 44px;
  min-height: 44px;
}
.rail-enhanced {
  scrollbar-width: none;
}
.rail-enhanced::-webkit-scrollbar {
  display: none;
}
.rail-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
}
.rail-indicators {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.rail-indicators .banner-indicator::before {
  box-shadow: none;
}
.rail-indicators .banner-indicator[aria-current="false"]::before {
  border-color: #707070;
}
.rail-controls > button:disabled {
  opacity: 0.35;
  cursor: default;
}
@media (max-width: 600px) {
  .head > a {
    flex-basis: min(200px, calc(100% - 56px));
  }
}

.skip-link {
  position: fixed;
  z-index: 2;
  inset: 12px auto auto 12px;
  padding: 10px 16px;
  background: #fff;
  color: #242424;
  transform: translateY(calc(-100% - 16px));
}
.skip-link:focus {
  transform: none;
  color: #242424;
}
main a:hover {
  text-decoration: underline;
}
header a:hover {
  color: #73ed5f;
  text-decoration: underline;
}
.contact-grid a {
  text-decoration: underline;
}
.admin {
  max-width: 1200px;
  padding-block: 30px var(--page-end-gap);
}
.admin-page {
  background: #d9d9d9;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
}
.admin-header img {
  width: clamp(130px, 26vw, 290px);
}
.admin-header {
  flex-wrap: wrap;
}
.admin-header-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-header-links :is(a, .cta) {
  padding: 8px 14px;
  text-decoration: none;
}
.admin-header-links .cta {
  margin: 0;
  border: 0;
}
.admin-header-links .admin-seo-link {
  color: #ff635b;
}
.admin-header-links .admin-seo-link:is(:hover, :focus-visible) {
  color: #ff8983;
}
.admin-public-link {
  position: relative;
  isolation: isolate;
  transition: background-color var(--button-hover-delay) ease-out;
}
.admin-public-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #27d006;
  opacity: 0;
  transition: opacity var(--button-fade) ease;
}
.admin-header-links .admin-public-link:is(:hover, :focus-visible) {
  background-color: #313131;
  color: #161616;
  transition: background-color var(--button-hover-delay) ease-out,
    color 0s linear calc(var(--button-hover-delay) + var(--button-fade) / 2);
}
.admin-public-link:is(:hover, :focus-visible)::after {
  opacity: 1;
  transition-delay: var(--button-hover-delay);
}
.admin form {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.admin label {
  display: grid;
  width: 100%;
}
.admin .checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin :is(input, textarea) {
  max-width: 100%;
  padding: 8px;
  font: inherit;
}
.admin input:not([type="checkbox"], [type="hidden"]),
.admin textarea {
  width: 100%;
  border: 1px solid #999;
  background: #fff;
}
.admin a {
  text-decoration: underline;
}
.admin .cta {
  margin: 0;
  padding: 8px 14px;
  border: 0;
  text-decoration: none;
}
.admin-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-tabs {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid #b8b8b8;
}
.admin .admin-tabs a {
  display: grid;
  align-items: center;
  min-height: 48px;
  padding: 8px clamp(10px, 2vw, 22px);
  border: 0;
  border-radius: 0;
  background: #e8e8e8;
  color: #393939;
  font-size: clamp(.9rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: normal;
  text-transform: uppercase;
  text-decoration: none;
  white-space: normal;
}
.admin-tabs .admin-tab-editor {
  margin-inline-start: auto;
}
.admin .admin-tabs a:hover {
  background: #f2f2f2;
}
.admin .admin-tabs a[aria-current="page"] {
  background: #393939;
  color: #fff;
}
.admin-vehicles {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.admin-vehicles li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  padding: 14px 16px;
  border: 1px solid #c9c9c9;
  border-radius: 8px;
  background: #f9f9f9;
  overflow-wrap: anywhere;
}
.admin-vehicle-info {
  display: grid;
  grid-template-columns: clamp(64px, 8vw, 96px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.admin-vehicle-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 5px;
  object-fit: cover;
  background: #e8e8e8;
}
.admin-vehicle-thumb.is-placeholder {
  display: grid;
  place-items: center;
}
.admin-vehicle-thumb.is-placeholder img {
  max-width: 50%;
  filter: grayscale(1) brightness(.6);
}
.admin-vehicle-caption {
  display: grid;
  justify-items: start;
  gap: 6px;
}
.admin-vehicle-status {
  padding: 3px 9px;
  border-radius: 999px;
  background: #e9e9e9;
  color: #444;
  font-size: .8rem;
  line-height: 1.3;
}
.admin-vehicle-status.is-visible {
  background: #e5f3df;
  color: #285322;
}
.admin-visibility .checkbox {
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #d3d3d3;
  border-radius: 6px;
  background: #fff;
  font-size: .875rem;
  line-height: 1.35;
  cursor: pointer;
}
.admin-visibility .checkbox:has(input:checked) {
  border-color: #94b989;
  background: #f0f8ec;
}
.admin-visibility .checkbox input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #36702a;
}
.admin-visibility .checkbox input:focus-visible {
  outline: 2px solid #36702a;
  outline-offset: 3px;
}
.admin-vehicle-actions {
  justify-content: flex-end;
}
.admin .admin-vehicle-actions .admin-visibility {
  justify-items: end;
  gap: 4px;
}
.admin-vehicles .cta {
  box-sizing: border-box;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  font-size: .9rem;
  line-height: 1.3;
}
.admin-vehicles .cta[hidden] {
  display: none;
}
.admin .admin-vehicle-delete {
  border: 1px solid #d8bbbb;
  background: transparent;
  color: #8e2626;
}
.admin .admin-vehicle-delete:is(:hover, :focus-visible) {
  background: #f8e7e7;
  color: #8e2626;
}
@media (max-width: 900px) {
  .admin-vehicles li {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-vehicle-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
@media (max-width: 550px) {
  .admin-vehicles li {
    padding: 12px;
  }
}
.admin-notice,
.admin-editor {
  padding: clamp(16px, 3vw, 32px);
  background: #efefef;
}
.admin-notice {
  border-left: 4px solid #27d006;
}
.admin-editor h2 {
  margin-top: 0;
}
.admin-editor > form > .cta {
  font-weight: 800;
}

.admin .seo-fields {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 12px;
}
.admin .seo-fields p {
  margin: 0;
}
.admin-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(116px, 16vw, 145px)), 1fr));
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.admin-gallery li {
  border: 1px solid #d3d3d3;
  background: #fff;
}
.admin-gallery a {
  display: block;
}
.admin-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #e5e5e5;
}
.admin .admin-gallery label {
  min-height: 40px;
  padding: 4px 8px;
  font-size: .875rem;
  cursor: pointer;
}
.admin-gallery input {
  margin: 0;
}

@media (max-width: 600px) {
  .vehicle-main-photo { grid-row: 1; }
  .vehicle-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

footer .foot h3::after {
  content: '';
  display: block;
  width: 4.25em;
  max-width: 100%;
  height: .31875em;
  margin-top: var(--heading-rule-gap);
  background: url(img/subnadpis-spacer.png) left center / contain no-repeat;
}

/* Auto na zakázku */
.about-page,
.order-page {
  background: #d9d9d9;
}
.order-page {
  --order-intro-gap: calc(var(--heading-content-gap) * .85);
}
.order-page > .page-heading {
  padding-block-end: var(--order-intro-gap);
}
.order-request h2 {
  line-height: 1.15;
  font-weight: 800;
}
.order-request h2 {
  font-size: clamp(30px, 3vw, 54px);
}
.order-process,
.order-request {
  max-width: var(--order-content-width);
  text-align: center;
}
.order-process h2 {
  margin: 0;
  font-size: clamp(24px, 2.05vw, 38px);
}
.order-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 34px);
  padding: 0;
  margin: var(--order-intro-gap) auto 0;
  list-style: none;
}
.order-steps li {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(18px, 2.2vw, 40px);
  min-height: clamp(210px, 19.4vw, 356px);
  padding: 24px 16px;
  background: #393939;
  color: #fff;
}
.order-steps img {
  width: min(126px, 100%);
  height: 70px;
  object-fit: contain;
}
.order-steps h3 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.order-request {
  padding-block: var(--section-top) clamp(56px, 7.4vw, 140px);
}
.order-arrow {
  display: grid;
  place-items: center;
  width: 58px;
  height: 48px;
  margin: 0 auto clamp(30px, 4.8vw, 82px);
}
.order-arrow::before {
  content: '';
  width: 32px;
  height: 32px;
  border-right: 8px solid #27d006;
  border-bottom: 8px solid #27d006;
  transform: translateY(-6px) rotate(45deg);
}
.order-request h2 {
  margin: 0;
}
.order-form {
  margin-top: var(--heading-content-gap);
}
.order-field-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.order-form input,
.order-form textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #b6b6b6;
  border-radius: 0;
  background: transparent;
  color: #393939;
  font: inherit;
}
.order-form input::placeholder,
.order-form textarea::placeholder {
  color: #575757;
  opacity: 1;
}
.order-form textarea {
  min-height: 206px;
  margin-top: 8px;
  resize: vertical;
}
.order-form .cta {
  min-height: 44px;
  margin-top: clamp(28px, 3.25vw, 60px);
  border: 0;
  text-transform: uppercase;
}
.order-status {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 4px solid #393939;
  background: #efefef;
  text-align: left;
}
.vehicle-inquiry-dialog {
  width: calc(100% - 24px);
  max-width: calc(var(--order-content-width) + 2 * var(--inquiry-side-padding));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  padding: clamp(28px, 6vh, 64px) var(--inquiry-side-padding);
  border: 0;
  background: #d9d9d9;
  color: #393939;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.vehicle-inquiry-dialog .section {
  padding: 0;
}
.vehicle-inquiry-dialog h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 4vw, 36px);
}
.vehicle-inquiry-dialog h2 + p {
  margin-block-start: clamp(28px, 3vw, 48px);
  font-weight: 800;
}
.vehicle-inquiry-dialog .order-form {
  margin-top: clamp(32px, 4vw, 56px);
}
.vehicle-inquiry-dialog .order-form textarea {
  min-height: 120px;
  height: 120px;
}
.vehicle-inquiry-dialog .order-form .cta {
  margin-top: clamp(32px, 3.5vw, 48px);
}
.order-page + footer .foot {
  padding-block: clamp(56px, 8.5vw, 160px) clamp(52px, 7vw, 130px);
}
.order-page + footer .foot h3 {
  margin: 0 0 clamp(18px, 3.8vw, 68px);
  font-size: clamp(23px, 2.05vw, 38px);
  line-height: 1.15;
}
@media (max-width: 960px) {
  .order-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-steps li { min-height: 198px; }
}
@media (max-width: 600px) {
  .order-field-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .order-steps { grid-template-columns: minmax(0, 1fr); }
}

body:not(.admin-page) :is(.cta, .vehicle-inquiry) {
  padding: var(--public-cta-padding);
  line-height: 1.4;
}
.all-vehicles-cta {
  margin-top: clamp(36px, 4vw, 64px);
}
.dark .order-cta {
  margin-top: clamp(32px, 5.6vw, 92px);
  border: 0;
  background: #393939;
  color: #27d006;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.dark .order-cta:hover {
  background: #27d006;
  color: #222;
  text-decoration: none;
}

:root {
  --button-fade: 420ms;
  --button-hover-delay: 90ms;
}
:where(button, .cta, .vehicle-inquiry, .order-arrow, .head nav a),
.banner-indicator::before,
.order-arrow::before {
  transition: background-color var(--button-fade) ease,
    color var(--button-fade) ease, border-color var(--button-fade) ease;
}
:where(button:not(.banner-indicator), .cta, .vehicle-inquiry, .order-arrow):is(:hover, :focus-visible, :active):not(:disabled) {
  background-color: #27d006;
  border-color: #27d006;
  color: #222;
  text-decoration: none;
}
.order-arrow:is(:hover, :focus-visible, :active)::before {
  border-color: #222;
}
.banner-indicator[aria-current="false"]:is(:hover, :focus-visible)::before {
  background-color: #2cfe0260;
  border-color: #2cfe02;
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --button-fade: 0ms;
    --button-hover-delay: 0ms;
  }
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  gap: clamp(32px, 8vw, 110px);
}
.contact-details img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-inline: auto;
}
.contact-details p {
  margin: 28px 0 0;
  line-height: 1.45;
}
.section.home-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  background: #fff;
}
.home-contact-details {
  padding: var(--section-top) clamp(20px, 4vw, 64px) var(--heading-content-gap);
}
.home-contact-details .contact-grid img {
  width: 70px;
  height: 70px;
  margin: 0 auto clamp(24px, 3vw, 48px);
  object-fit: contain;
}
.home-contact-details .contact-grid p {
  margin: 0;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.vehicle-detail .back,
.home-contact-email,
footer a {
  transition: color 250ms ease;
}
.vehicle-detail .back:is(:hover, :focus-visible),
.home-contact-email:hover,
.home-contact-email:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: #25c506;
}
@media (prefers-reduced-motion: reduce) {
  .vehicle-detail .back,
  .home-contact-email,
  footer a { transition: none; }
}
.home-contact-map {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(28px, 4vw, 64px);
  background: #eee;
  text-align: center;
}
.home-contact-map h3 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 32px);
}
@media (max-width: 900px) {
  .section.home-contact { grid-template-columns: minmax(0, 1fr); }
}
.contact-details a {
  overflow-wrap: anywhere;
}
.contact-request,
.contact-map {
  padding-bottom: clamp(48px, 6vw, 105px);
}
.contact-map {
  padding-top: 0;
}
.contact-map > .cta {
  margin-top: var(--heading-rule-gap);
}
.cookies-page {
  background: #d9d9d9;
}
.cookies-content {
  padding-bottom: var(--page-end-gap);
}
.cookies-content a {
  text-decoration: underline;
}
.cookie-banner {
  position: fixed;
  z-index: 3;
  inset-inline-start: 12px;
  inset-block-end: 12px;
  width: min(100% - 24px, 540px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid #393939;
  border-top: 4px solid #27d006;
  background: #efefef;
  color: #262626;
  box-shadow: 0 4px 18px #0005;
  font-size: .9rem;
}
.cookie-banner h2 {
  margin: 0 36px 8px 0;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}
.cookie-banner p {
  margin: 0 0 14px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cookie-banner button {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: #393939;
  color: #fff;
  font-size: .8rem;
}
.cookie-banner .cookie-close {
  position: absolute;
  inset: 8px 8px auto auto;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  background: transparent;
  color: #262626;
  font-size: 1.35rem;
}
#cookie-options {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #c1c1c1;
}
#cookie-options .cookie-actions {
  margin-top: 12px;
}
#cookie-options a {
  text-decoration: underline;
}
@media (max-width: 700px) {
  .contact-details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 560px) {
  .contact-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    text-align: center;
  }
  .contact-details p {
    margin-top: 14px;
  }
}
