/* RentX Vehicle Types Elementor Widget */

.rentx-vehicle-section {
    width: 100%;
    padding: 80px 20px;
    background: #fff8f5;
    box-sizing: border-box;
}

.rentx-vehicle-section *,
.rentx-vehicle-section *::before,
.rentx-vehicle-section *::after {
    box-sizing: border-box;
}

.rentx-vehicle-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.rentx-section-heading {
    max-width: 680px;
    margin: 0 auto 45px;
    text-align: center;
}

.rentx-vehicle-small-title {
    display: inline-block;
    margin-bottom: 10px;
    color: #ff3b0a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.rentx-section-heading h2 {
    margin: 0 0 12px;
    color: #111;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.rentx-section-heading p {
    margin: 0;
    color: #6c6c6c;
    font-size: 14px;
    line-height: 1.7;
}

.rentx-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.rentx-vehicle-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0,0,0,.04);
    transition: transform .35s ease, box-shadow .35s ease;
}

.rentx-vehicle-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0,0,0,.10);
}

.rentx-vehicle-image {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #f2f2f2;
}

.rentx-vehicle-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.rentx-vehicle-card:hover .rentx-vehicle-image img {
    transform: scale(1.06);
}

.rentx-seat-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 7px 12px;
    border-radius: 30px;
    background: #ff3b0a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.rentx-vehicle-content {
    padding: 20px;
}

.rentx-vehicle-content h3 {
    margin: 0 0 8px;
    color: #111;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.rentx-vehicle-content p {
    margin: 0 0 17px;
    color: #777;
    font-size: 12px;
    line-height: 1.65;
}

.rentx-vehicle-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.rentx-vehicle-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 7px 9px;
    border-radius: 6px;
    background: #fff3ef;
    color: #333;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
}

.rentx-vehicle-info i,
.rentx-vehicle-info svg {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
}

/* Tablet */
@media (max-width: 1024px) {
    .rentx-vehicle-section {
        padding: 70px 20px;
    }

    .rentx-vehicle-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .rentx-section-heading h2 {
        font-size: 34px;
    }

    .rentx-vehicle-image {
        height: 180px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .rentx-vehicle-section {
        padding: 60px 15px;
    }

    .rentx-section-heading {
        margin-bottom: 30px;
    }

    .rentx-section-heading h2 {
        font-size: 28px;
    }

    .rentx-section-heading p {
        font-size: 13px;
    }

    .rentx-vehicle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .rentx-vehicle-image {
        height: 145px;
    }

    .rentx-vehicle-content {
        padding: 15px;
    }

    .rentx-vehicle-content h3 {
        font-size: 17px;
    }

    .rentx-vehicle-content p {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .rentx-seat-badge {
        top: 9px;
        right: 9px;
        padding: 6px 9px;
        font-size: 9px;
    }

    .rentx-vehicle-info {
        gap: 5px;
    }

    .rentx-vehicle-info span {
        padding: 6px 7px;
        font-size: 9px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .rentx-vehicle-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .rentx-vehicle-image {
        height: 200px;
    }

    .rentx-vehicle-content {
        padding: 18px;
    }

    .rentx-vehicle-content h3 {
        font-size: 19px;
    }

    .rentx-vehicle-info span {
        font-size: 10px;
    }
}


/* Contact Buttons */

.rentx-vehicle-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.rentx-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 9px 10px;
    border-radius: 7px;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    transition: all .25s ease;
}

.rentx-action-btn i,
.rentx-action-btn svg {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
}

.rentx-call-btn {
    background: #ff3b0a;
    color: #fff !important;
}

.rentx-call-btn:hover {
    background: #df2e05;
    color: #fff !important;
    transform: translateY(-2px);
}

.rentx-whatsapp-btn {
    background: #20c65a;
    color: #fff !important;
}

.rentx-whatsapp-btn:hover {
    background: #159b45;
    color: #fff !important;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .rentx-vehicle-actions {
        gap: 6px;
        margin-top: 14px;
    }

    .rentx-action-btn {
        min-height: 36px;
        padding: 8px 7px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .rentx-action-btn {
        min-height: 40px;
        font-size: 11px;
    }
}
