.page-header {
  margin-bottom: 20px;
}
/* MODERN FILTER SIDEBAR STYLES */
.car-listing__sidebar {
  background: linear-gradient(135deg, #f7faff 0%, #e3e8f0 100%);
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(11,77,136,0.10);
  padding: 2.2rem 1.5rem 2.5rem 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid #e3e3e3;
}
.car-listing__sidebar-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--mauno-base, #0B4D88);
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.car-listing__sidebar-single {
  margin-bottom: 2.2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(19,18,34,0.06);
  padding: 1.1rem 1rem 1.2rem 1rem;
  border: 1px solid #f0f0f0;
}
.checked-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.5rem;
  padding: 0.2rem 0;
}
.checked-box input[type="checkbox"] {
  accent-color: var(--mauno-base, #0B4D88);
  width: 14px;
  height: 14px;
  margin-right: 0.3rem;
  border-radius: 4px;
  border: 2px solid #e3e3e3;
  box-shadow: 0 1px 4px rgba(11,77,136,0.08);
  transition: border-color 0.2s;
}
.checked-box input[type="checkbox"]:focus {
  border-color: var(--mauno-base, #0B4D88);
  outline: none;
}
.checked-box label {
  flex: 1 1 auto;
  font-weight: 500;
  color: var(--mauno-black, #131222);
  cursor: pointer;
  margin-bottom: 0;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.counts-box {
  flex-shrink: 0;
  margin-left: 0.7em;
  display: flex;
  align-items: center;
}
.counts-box p {
  font-size: 0.98rem;
  color: #0B4D88;
  margin: 0;
  font-weight: 700;
  background: #e3e8f0;
  border-radius: 6px;
  padding: 0.18em 0.7em;
  min-width: 32px;
  text-align: right;
  box-shadow: 0 1px 4px rgba(11,77,136,0.08);
}
.price-ranger {
  margin-top: 1.3rem;
  padding: 0.5rem 0;
}

/* Price values display */
.price-values {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0 0.3rem;
}

.price-values span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mauno-black, #131222);
  background: #e3e8f0;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(11,77,136,0.08);
}

/* Dual range slider container */
.dual-range-slider {
  position: relative;
  width: 100%;
  height: 6px;
  margin: 1.5rem 0 1rem 0;
}

/* Slider track (background) */
.slider-track {
  position: absolute;
  width: 100%;
  height: 6px;
  background: #e3e8f0;
  border-radius: 3px;
  top: 0;
}

/* Active range between the two thumbs */
.slider-range {
  position: absolute;
  height: 6px;
  background: var(--mauno-black, #131222);
  border-radius: 3px;
  top: 0;
}

/* Range inputs */
.range-input {
  position: absolute;
  width: 100%;
  height: 6px;
  top: -17px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--mauno-base, #0B4D88);
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 2px 8px rgba(11,77,136,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 12px rgba(11,77,136,0.3);
}

.range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--mauno-base, #0B4D88);
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 2px 8px rgba(11,77,136,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.range-input::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 12px rgba(11,77,136,0.3);
}

.range-input::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 6px;
}

.range-input::-moz-range-track {
  -moz-appearance: none;
  height: 6px;
}
.filters-toggle-btn {
  margin-bottom: 1.3rem;
  border-radius: 12px;
  font-weight: 700;
  padding: 0.7rem 1.3rem;
  background: linear-gradient(90deg, #0B4D88 60%, #093a6a 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(11,77,136,0.10);
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: 0.04em;
}
.filters-toggle-btn:hover {
  background: #093a6a;
  box-shadow: 0 4px 16px rgba(11,77,136,0.18);
}

/* Modern car card styles for car rental */
.listing-two__single {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(30, 64, 175, 0.08);
  overflow: hidden;
  margin-bottom: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  border: 1px solid #f3f4f6;
}
.listing-two__single:hover {
  box-shadow: 0 8px 32px rgba(30, 64, 175, 0.16);
  transform: translateY(-4px) scale(1.02);
}

.listing-two__img-box {
  width: 100%;
  height: 220px;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.listing-two__img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing-two__img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(30,64,175,0.08);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.listing-two__content {
  flex: 1;
  padding: 18px 18px 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.listing-two__sub-title {
  font-size: 1rem;
  color: #1e40af;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

/* Textul modelului mașinii și mai mic, fără majuscule forțate */
.listing-two__content .listing-two__sub-title,
.listing-two__content .card-text {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
  text-transform: none;
}

.listing-two__title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #232a4d;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.listing-two__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.listing-two__title a:hover {
  color: #1e40af;
}

.listing-two__price-and-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.listing-two__price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.listing-two__price-box span {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 2px;
}
.listing-two__price-box .pret {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e40af;
  letter-spacing: 0.03em;
}

.listing-two__btn-box {
  display: flex;
  align-items: center;
}
.listing-two__btn-box .thm-btn {
  padding: 7px 18px;
  font-size: 1rem;
  border-radius: 8px;
  background: linear-gradient(90deg, #232a4d 0%, #1e40af 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(30,64,175,0.10);
  border: none;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none !important;
}
.listing-two__btn-box .thm-btn:hover {
  background: linear-gradient(90deg, #1e40af 0%, #232a4d 100%);
  box-shadow: 0 4px 16px rgba(30,64,175,0.18);
  color: #ffd600;
  text-decoration: none !important;
}

/* Responsive grid for 3 cards per row */
#masini-lista > .col-xl-4 {
  display: flex;
}
@media (max-width: 1200px) {
  #masini-lista > .col-xl-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 768px) {
  #masini-lista > .col-xl-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .listing-two__single {
    min-height: 280px;
    padding: 12px;
  }
}

/* Extra: subtle hover effect for card image */
.listing-two__img-box:hover img {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 6px 24px rgba(30,64,175,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
