html, body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa !important;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.container {
    flex: 1;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.price-orange {
  color: #e67300; /* nebo tvoje menu oranžová */
  font-size: 1.1rem;
  font-weight: bold;
}

.icon-km {
  font-size: 1.16rem;
}

.icon-rok {
  font-size: 1.0rem; /* nebo 1rem podle vzhledu */
  margin-top: 1px;     /* optické dorovnání */
}

.car-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.car-meta {
  font-size: 0.95rem;
}

.rezervace-badge {
  position: absolute;
  top: 10px;
  left: 8px;
  background-color: #e67300; /* <- tady si nastavíš vlastní barvu */
  color: white;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 400;
  border-radius: 3px;
  z-index: 10;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.8px;
}

.btn-moje-orange {
  background-color: #e67300;
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 400;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn-moje-orange:hover {
  background-color: #cc5c00;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.badge-rezervace {
    position: absolute;
    top: 10px;
    left: 12px;
    background-color: #e67300;
    color: white;
    padding: 4px 10px;
    font-size: 1.2rem;
    font-weight: 400;
    border-radius: 3px;
    z-index: 10;
    letter-spacing: 0.7px;
    text-transform: uppercase;
  }

  .cursor-pointer {
    cursor: pointer;
  }

  .tabs-panel .nav-link {
    color: #000 !important;
    font-weight: 400; /* normální váha */
  }

  .tabs-panel .nav-link.active {
    background-color: #fff;
    border-bottom-color: #dee2e6 !important;
    color: #000 !important;
  }
  
.tabs-panel .nav-link:hover {
    color: #fff !important;
    background-color: #e67300 !important;
    transition: all 0.2s ease;
}

@media (max-width: 576px) {
  .tabs-panel .nav-item {
    margin-right: 0;
    margin-left: 0;
  }

  .tabs-panel .nav-link {
    margin: 0 3px; /* malá mezera mezi tlačítky */
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
}

  .tabs-auto-content {
    border: 1px solid #dee2e6;
    border-top: 1px solid #dee2e6;
    background-color: #fff;
    margin-top: 0;
  }

  .cena-hlavni {
    font-size: 1.60rem;
    font-weight: bold;
    color: #e67300;
    margin-top: 0;
    margin-bottom: 0.10rem;
  }

  .cena-bez-dph {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 0.20rem;
  }

  .car-info .parametr {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .car-info .parametr:last-child {
    margin-bottom: 0rem;
  }

  .panel-vpravo {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1.10rem 1.5rem 0.30rem 1.5rem !important; /* horní, pravý, spodní, levý */
}

  .car-info {
    margin-bottom: 0 !important;
}

  .car-info .parametr:last-child {
    margin-bottom: 0.3rem !important; /* přidá decentní mezeru */
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.car-thumbnail {
  width: 100%;
  aspect-ratio: 4 / 3; /* nebo třeba 3 / 2 podle fotek */
  object-fit: cover;
  border-radius: 4px;
}

  @media (min-width: 768px) {
    #carouselAutoFoto .carousel-inner img {
    max-height: 550px;
    object-fit: cover;
  }
}

@media (max-width: 767.98px) {
  .car-thumbnail {
    min-height: 180px;
    object-fit: cover;
  }
}

.spec-section h5 {
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.spec-section i {
  font-size: 1.2rem;
  color: #e67300; /* Tvoje vlastní oranžová */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 1); /* tmavé pozadí */
  background-size: 60% 60%;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.carousel-control-prev,
.carousel-control-next {
  width: 6%;
}

#prevImg,
#nextImg {
  background-color: rgba(255, 255, 255, 0.5);
  color: #000;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
  padding: 0;
}

/* Posun šipek dovnitř – pomocí transform místo fixní pozice */
#prevImg {
  left: 10px !important;
}

#nextImg {
  right: 10px !important;
}

@media (max-width: 768px) {
  #prevImg,
  #nextImg {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6); /* lehce průhledné */
    background-size: 50% 50%;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0; /* zruš padding – to dělal ovál */
    box-shadow: none;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }
}

.modal .btn-close {
  filter: none;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0.2rem;
}

/* Na telefonech uděláme křížek menší */
@media (max-width: 576px) {
  .modal .btn-close {
    width: 1.3rem;
    height: 1.3rem;
    padding: 0.15rem;
  }
}