/* de-blacknewfleetint-new.css — вынесено из inline <style> компонента view/de/common/blacknewfleetint-new.php */
.category-card {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.3rem;
}

.category-subtitle {
    color: #9a8a78;
    font-size: 0.9rem;
}



.fleet-section {
    padding: 55px 0;
    background: #fff;
}
.fleet-section .section-title {
    text-align: center;
}
.fleet-section .section-subtitle {
    text-align: center;
    width: 100%;
    display: block;
    margin: -15px auto 30px;
}
.fleet-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    background: #f7f7f7;
    border-radius: 8px;
}

.fleet-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 3rem;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.fleet-tab span {
    font-size: 1.2rem;
    font-weight: 500;
    color:black;
}

.fleet-tab small {
    color: #666;
    font-size: 0.9rem;
}

.fleet-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #000;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.fleet-tab.active::after {
    width: 100%;
}
.fleet-grid {
   display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem; 
}

.fleet-grid.active {
    display: grid; 
}

@media (max-width: 1200px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fleet-grid {
        grid-template-columns: 1fr;
    }
}


.fleet-grid {

    transition: opacity 0.3s ease;
}

.fleet-grid.active {
    opacity: 1;
}

.vehicle-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-image {
    position: relative;
    height: 280px;
    background: #f8f9fa;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.capacity-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.capacity-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.capacity-item img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.eco-badge {
    background: #E8F5E9;
    padding: 8px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.eco-badge img {
    height: 20px; width: auto;
}

.card-content {
    padding: 19px;
}

.card-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1A1A1A;
}

.card-header p {
    background-color: #9a8a78;
    padding: 5px 10px 5px 10px;
    max-width: max-content;
    border-radius: 5px;
    color: white;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 15px;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 21px;
}

.feature-tag {
    padding: 8px 16px;
    background: #F8F9FA;
    border-radius: 30px;
    font-size: 14px;
    color: #1A1A1A;
    font-weight: 500;
}

.book-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #1A1A1A;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background: #000;
}

.book-btn svg {
    transition: transform 0.3s ease;
}

.book-btn:hover svg {
    transform: translateX(4px);
}

.fleet-tab span {
    font-size: 1.6rem
25.6px
;
    font-weight: 500;
    color: black;
}

@media (max-width: 1200px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fleet-grid {
        grid-template-columns: 1fr;
    }
}
