* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
}

body {
  background: #e3e9ef;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

/*H1 nadpis na stránke*/
.heading {
  display: block;
  align-content: center;
  height: 17vh;
  background-color: #DA0037;
}

.heading h1 {
  margin-left: 10%;
  font-size: 2rem;
  color: #e3e9ef;
}

.FullPage {
  display: flex;
  flex-direction: row;
}

@media (max-width: 730px) {
  .FullPage {
    flex-direction: column;
  }

  .Product-Filter {
    width: 235px;
  }
}

/*------------------------------------------*/

/* Základné štýly */
.Product-Filter {
  position: relative;
  left: 30px;
  min-width: 275px;
  margin: 35px 15px;
  display: flex;
  flex-direction: column;
}

.Filter-content {
  display: block;
}

/* Tlačidlo na mobilných zariadeniach */
.Filter-toggle-btn {
  display: none;
  padding: 10px 28px;
  width: 50%;
  background-color: #21242b;
  border: 2px solid #21242b;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  font-size: 1.1rem;
  color: #e3e9ef;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  margin-left: 15%;
}

.Filter-close-icon {
  display: none !important;
}

/* Štýly pre mobilné zariadenia */
@media (max-width: 730px) {
  .Filter-toggle-btn {
    display: block;
  }

  .brnone {
    display: flex;
    justify-content: space-between;
  }

  .fa-solid {
    font-size: 1.3rem;
  }

  .Filter-close-icon {
    display: block !important;
  }

  .Filter-content {
    display: none;
    position: fixed;
    top: 15%;
    left: 0;
    width: 300px;
    height: 80%;
    background-color: white;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }

  .Filter-content.visible {
    display: block;
  }

  .Product-Filter {
    margin-left: 20px !important;
    margin-bottom: 0px !important;
  }
}

@media (max-width: 450px) {
  .Filter-toggle-btn {
    display: block;
    margin-left: 0px;
  }
}

/*------------------------------------------*/


.all-cars {
  display: flex;
  flex-direction: column;
  width: 90%;
}

.Product-Filter {
  position: relative;
  left: 30px;
  min-width: 275px;
  margin: 35px 15px;
  display: flex;
  flex-direction: column;
}

.Filter-item {
  position: relative;
  padding: 20px 10px 15px 15px;
  border-bottom: 1px solid #c9c9cc;
  border-right: 1px solid #c9c9cc;
  border-left: 1px solid #c9c9cc;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  display: block;
  margin-bottom: 9px;
}

.dostupnost {
  display: block;
  margin-bottom: 9px;
  margin-left: 15px;
}

label {
  font-size: 0.95rem;
}

h4 {
  font-size: 700;
  font-size: 0.90rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brnone {
  border-right: none;
  border-left: none;
}

.Filter-heading {
  font-size: 900;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.customCheckBox {
  display: block;
  width: 95%;
  cursor: pointer;
  min-height: 17px;
  position: relative;
  color: #282c3f;
}

.customCheckBox input {
  opacity: 0;
  visibility: hidden;
  margin: 0 13px 0;
}

.customCheckBox .Check-Indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  border: 1px solid #c9c9cc;
  background: #e3e9ef;
  border-radius: 2px;
}

.customCheckBox input:checked~.Check-Indicator {
  border: none;
  background: #DA0037;
  position: absolute;
}

.customCheckBox input:checked~.Check-Indicator::after {
  content: "✔";
  position: absolute;
  left: 2.5px;
  bottom: 1.5px;
  color: white;
  width: 1rem;
  height: 1rem;
  font-size: 14px;
  font-weight: bold;
}

.customCheckBox .kus {
  font-size: 13px;
  color: #777779;
  margin-left: 5px;
}


.Filter-btn-field {
  display: flex;
  margin-top: 8px;
  flex-direction: column-reverse;
}

#search-count {
  margin-bottom: 4px;
  margin-left: 3px;
}

.Filter-del-text a {
  display: flex;
  justify-content: end;
  font-size: 13px;
  text-decoration: underline;
  margin-top: 1px;
  color: #21242b !important;

  cursor: pointer;
}

.Filter-btn {
  display: inline-block;
  padding: 10px 28px;
  background-color: #21242b;
  border: 2px solid #21242b;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  font-size: 1rem;
  color: #e3e9ef;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.1s;
  border-radius: 5px;
}

.Filter-btn:hover {
  background-color: #34373b;
  border: 2px solid #34373b;
}

.Filter-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  background-color: #d84469;
}

.chybove-hlasenie {
  margin-top: 50px;
  margin-left: 50px;
}

/*--------------
    car-card
---------------*/
.car-card-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 50px;
}

.car-card {
  display: flex;
  width: 85%;
  height: min-content;
  padding: 1%;
  border: 0px solid #88888888;
  box-shadow: 0 1px 8px #88888888;
  margin-top: 50px;
  background-color: #fefefe;
}

.img-car-card {
  display: block;
  max-width: 469px;
  align-content: center;
}

.car-card-content {
  margin-left: 5%;
  margin-right: 5%;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.car-card-content h2 {
  font-size: 2rem;
}

.car-card-content p {
  font-size: 1.2rem;
  line-height: 1.6rem;
  margin-top: 20px;
}

.citat-viac {
  margin-top: 40px;
  background-color: #DA0037;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  width: 250px;
  transition: 0.2s;
  border-radius: 5px;
}

.citat-viac:hover {
  background-color: #d84469
}

@media (max-width: 1100px) {

    .customCheckBox input:checked~.Check-Indicator::after {
    content: none;
  }
  .car-card {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin-left: 10%;
    margin-right: 10%;
    padding-bottom: 10px;
  }

  .img-car-card {
    max-width: 100%;
  }

  .car-card-content {
    max-width: 100%;
  }

  .citat-viac {
    margin-top: 20px;
  }

  h2 {
    margin-top: 10px;
  }

}

@media (max-width: 730px) {
  .car-card-section {
    margin-left: 0px;
  }

  .car-card {
    margin-right: 0px;
  }
}

@media (max-width: 430px) {
  .citat-viac {
    width: 200px;
  }
}


.wh-screen {
  height: 10vh;
  background-color: #e3e9ef;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
  gap: 5px;
}

.pagination button {
  background-color: #DA0037;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  margin: 0 10px;
}

.pagination button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}


.page-link,
.dots {
  padding: 5px 10px;
  text-decoration: none;
  border: 1px solid #ccc;
  color: #333;
  cursor: pointer;
}

.page-link.active {
  background-color: #21242b;
  color: white;
  border-color: #21242b;
}

.dots {
  border: none;
  color: #666;
  cursor: default;
}

@media (max-width: 490px) {
  .pagination {
    flex-direction: column;
    margin-top: 30px;
  }

  .pagination button {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .wh-screen {
    height: 2vh;
  }
}