/* Слайдер */
.card-slider-container {
    position: relative;
    width: 100%;
}

.card-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* display: none; */
    align-items: center;
    justify-content: center;
}

.page-template-page-all-avto-test header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black;
  color: white;
  transition: transform 0.3s ease;
  transform: translateY(0);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Точки навигации */
.card-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: #ffcc00;
    width: 20px;
    border-radius: 5px;
}

.slider-dot:hover {
    background-color: #ffcc00;
}

/* Сетка 4 колонки */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

/* Карточка */
.car-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/*
.car-card:hover {
    transform: translateY(-5px);
}
*/

/* Информация о машине */
.card-info {
    padding: 15px;
}

.car-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.car-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.feature-icon {
    width: 16px;
    height: 16px;
}

.divider {
    height: 1px;
    background: #eee;
    margin: 12px 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.book-card-btn {
    background: #ffcc00;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.book-card-btn:hover {
    background: #e6b800;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .fleet-grid {
        grid-template-columns: 1fr;
    }
}