.viaturas-carousel-wrapper-497ccdb9 {
    position: relative;
    padding: 0 40px; /* Space for arrows */
}

.viaturas-swiper-container-497ccdb9 {
    width: 100%;
    padding: 20px 0 50px 0;
    overflow: hidden;
}

.viatura-card {
    background-color: #111;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

.viatura-card:hover {
    transform: translateY(-5px);
}

.viatura-img {
    height: 220px;
    overflow: hidden;
}

.viatura-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.viatura-card:hover .viatura-img img {
    transform: scale(1.05);
}

.viatura-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.viatura-title {
    color: #fff;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.viatura-specs {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

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

/* Icons are now red */
.spec-item svg {
    opacity: 1;
    color: #E60000;
}

.viatura-btn {
    display: inline-block;
    background-color: #E60000;
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
    transition: background-color 0.3s ease;
}

.viatura-btn:hover {
    background-color: #cc0000;
    color: #fff;
}

/* Arrows moved OUTSIDE the swiper container */
.viaturas-carousel-wrapper-497ccdb9 .swiper-button-next,
.viaturas-carousel-wrapper-497ccdb9 .swiper-button-prev {
    color: #E60000;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -15px; /* Offset pagination height */
}

.viaturas-carousel-wrapper-497ccdb9 .swiper-button-prev {
    left: 0;
}

.viaturas-carousel-wrapper-497ccdb9 .swiper-button-next {
    right: 0;
}

/* Pagination dots styling */
.viaturas-swiper-container-497ccdb9 .swiper-pagination-bullet {
    background: #999999;
    opacity: 0.6;
}

.viaturas-swiper-container-497ccdb9 .swiper-pagination-bullet-active {
    background: #E60000;
    opacity: 1;
}

/* Responsive adjustment for arrows on mobile */
@media (max-width: 768px) {
    .viaturas-carousel-wrapper-497ccdb9 {
        padding: 0 30px;
    }
}