/* ===== RESET BASE ===== */
.project-wrapper,
.project-wrapper .image-area,
.project-wrapper .content-area {
    position: relative !important;
    bottom: auto !important;
    transform: none !important;
}

/* ===== GRID BASE ===== */
.cars-grid {
    display: grid;
    gap: 20px;
}

/* ===== RESPONSIVE GRID ===== */

/* DESKTOP LARGE */
@media (min-width: 1400px) {
    .cars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* DESKTOP */
@media (min-width: 992px) and (max-width: 1399px) {
    .cars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* TABLET */
@media (min-width: 576px) and (max-width: 991px) {
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ===== PREMIUM SEARCH ===== */
.search-premium {
    position: relative;
    max-width: 500px;
    margin: auto;
}

/* dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
z-index: 100;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);

    display: none;
    z-index: 999;
}

/* item */
.search-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.search-item:hover {
    background: #f5f5f5;
}
/* ===== FIX DROPDOWN SEARCH ===== */
.search-premium {
    position: relative;
    z-index: 1000;
}

/* dropdown sopra tutto */
#searchResults {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

    z-index: 9999; /* 🔥 IMPORTANTISSIMO */
}

/* evita che venga tagliato */
.input-wrapper,
.search-box {
    overflow: visible !important;
}
/* MOBILE */
@media (max-width: 575px) {
    .cars-grid {
        grid-template-columns: 1fr;
    }
}



/* ===== PORTFOLIO GRID (FIX DEFINITIVO) ===== */
#cars-container.cars-grid-portfolio {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
    align-items: start;
}

/* ===== CARD ===== */
.car-item .project-wrapper {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.25s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.car-item .project-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* ===== IMAGE ===== */
.car-item .image-area {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.car-item .image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.car-item:hover .image-area img {
    transform: scale(1.05);
}

/* ===== OVERLAY ===== */
.car-item .image-area::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    pointer-events: none;
}

.title-overlay {
    position: absolute;
    bottom: 60px;
    left: 12px;
    right: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* ===== PRICE ===== */
.price-h {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 5px 10px;
    font-size: 13px;
    border-radius: 6px;
}

/* ===== CONTENT ===== */
.car-item .content-area {
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.car-item .title {
    font-size: 14px;
    margin-bottom: 5px;
}

.features-clean {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}

/* ===== FAVORITE ===== */
.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.fav-btn.active {
    background: #ff3b3b;
    color: #fff;
}

/* ===== BADGE ===== */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff3b3b;
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 6px;
    font-weight: 600;
}

/* ===== FORM ===== */
.form-msg {
    margin-top: 10px;
    font-size: 14px;
}

.form-msg.error {
    color: #e74c3c;
}

.form-msg.success {
    color: #2ecc71;
}

.error-msg {
    font-size: 12px;
    color: #e74c3c;
    display: block;
    margin-bottom: 10px;
}

/* ===== MOBILE HEADER FIX ===== */
@media (max-width: 991px) {

    .header-area .header-wrapper {
        display: flex;
        justify-content: space-between;
    }

    .header-area .menu-btn {
        order: -1;
    }

}
/* BASE */
.cars-grid-home {
    display: grid;
    gap: 20px;
}

/* DESKTOP LARGE */
@media (min-width: 1400px) {
    .cars-grid-home {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* DESKTOP */
@media (min-width: 992px) and (max-width: 1399px) {
    .cars-grid-home {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* TABLET */
@media (min-width: 576px) and (max-width: 991px) {
    .cars-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */
@media (max-width: 575px) {
    .cars-grid-home {
        grid-template-columns: 1fr;
    }
}

/* ===== PORTFOLIO: 3 BOX ===== */
#cars-container.cars-grid.cars-grid-portfolio {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
}
/* FIX TESTO HOME */
/* ===== FIX HOME TESTO DEFINITIVO ===== */
.cars-grid-home .title-overlay {
    position: absolute;
    bottom: 50px;
    left: 12px;
    right: 12px;

    color: #fff !important;
    font-weight: 700;
    font-size: 14px;

    text-shadow: 0 3px 10px rgba(0,0,0,1);
    z-index: 5;
}

/* overlay più leggero */
.cars-grid-home .image-area::after {
    background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
}
/* FIX CONTENT PORTFOLIO */
/* ===== FIX PORTFOLIO CENTRATURA REALE ===== */
.cars-grid-portfolio .content-area {
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    text-align: center !important;

    width: 100%;
    padding: 15px;

    margin: 0 auto;

    position: relative !important;
    bottom: auto !important;
    transform: none !important;
}
.section-title-area2 .section-title

{
    color: var(--color-heading-1);
    font-weight: 500;
    margin-bottom: 80px;
}
/* forza il testo centrato */
.cars-grid-portfolio .title,
.cars-grid-portfolio .features-clean {
    text-align: center !important;
    width: 100%;
}
.project-wrapper .content-area {
     position: relative !important;
     bottom: 0 !important;
     left: 0 !important;
     transform: none !important;
     opacity: 1 !important;
     width: 100% !important;
     margin-top: 15px;
 }
/* Titolo auto */
.project-wrapper .content-area .title {
    font-size: 20px !important;
    font-weight: 600;
}

/* Dettagli (km, anno, ecc) */
.project-wrapper .content-area .feature-area li {
    font-size: 16px !important;
}

/* Prezzo */
.project-wrapper .content-area p,
.project-wrapper .button-area p {
    font-size: 18px !important;
    font-weight: bold;
}

/* Bottone */
.project-wrapper .rts-btn {
    font-size: 14px !important;
}
@media (max-width: 768px) {
    .project-wrapper .content-area .title {
        font-size: 18px !important;
    }
}
/* =====================================================
   AUTO PAGE - DESIGN MIGLIORATO (SCHEDA AUTO)
===================================================== */

/* ===== HEADER ===== */
.rts-breadcrumb-area .breadcrumb-area-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.rts-breadcrumb-area .title {
    font-size: 28px;
    font-weight: 700;
}

.price-area h5 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
}

/* ===== SLIDER ===== */
.portfolio-slider-area2 .image img {
    border-radius: 12px;
    width: 100%;
}

.SlideThumb .swiper-slide img {
    border-radius: 8px;
    opacity: 0.7;
    transition: 0.3s;
}

.SlideThumb .swiper-slide:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* ===== SIDEBAR ===== */
.col-lg-4 .card {
    background: #fff !important;
    color: #111 !important;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.col-lg-4 .card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* ===== FORM ===== */
#quickLead input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
}

#quickLead button {
    font-weight: 600;
}

/* ===== SPECS GRID ===== */
.col-lg-8 ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
}

.col-lg-8 ul li {
    list-style: none;
    background: #f7f7f7;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
}

/* ===== DESCRIZIONE ===== */
.col-lg-8 p {
    line-height: 1.6;
    color: #555;
}

/* ===== BOTTONI ===== */
.rts-btn {
    border-radius: 8px;
}

/* ===== WHATSAPP BUTTON ===== */
.rts-btn.btn-primary {
    background: #000;
    border: none;
}

.rts-btn.btn-primary:hover {
    background: #333;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {

    .rts-breadcrumb-area .breadcrumb-area-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-area h5 {
        font-size: 24px;
    }

    .col-lg-8 ul {
        grid-template-columns: 1fr;
    }
}/* =====================================================
   AUTO PAGE - DESIGN PRO (LOOK PREMIUM)
===================================================== */

/* ===== HEADER PIÙ MODERNO ===== */
.rts-breadcrumb-area .breadcrumb-area-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}

.rts-breadcrumb-area .title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* prezzo evidenziato */
.price-area h5 {
    font-size: 32px;
    font-weight: 800;
    color: #000;
    background: #f2f2f2;
    padding: 8px 18px;
    border-radius: 10px;
}

/* ===== SLIDER PREMIUM ===== */
.portfolio-slider-area2 .image img {
    border-radius: 14px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* thumbs */
.SlideThumb .swiper-slide img {
    border-radius: 10px;
    opacity: 0.6;
    transition: 0.3s;
}

.SlideThumb .swiper-slide-active img,
.SlideThumb .swiper-slide:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* ===== LAYOUT LEFT ===== */
.col-lg-8 {
    padding-right: 30px;
}

/* ===== DESCRIZIONE ===== */
.col-lg-8 h2,
.col-lg-8 h3 {
    font-weight: 700;
    margin-top: 20px;
}

.col-lg-8 p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* ===== SPECS MODERNE ===== */
.col-lg-8 ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0;
    margin-top: 15px;
}

.col-lg-8 ul li {
    list-style: none;
    background: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

/* ===== SIDEBAR CARD PREMIUM ===== */
.col-lg-4 .card {
    background: #fff !important;
    color: #111 !important;
    border-radius: 16px;
    padding: 25px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

/* titolo sidebar */
.col-lg-4 .card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* ===== FORM ===== */
#quickLead input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: 0.2s;
}

#quickLead input:focus {
    border-color: #000;
}

/* bottone */
#quickLead button {
    font-weight: 700;
    padding: 12px;
}

/* ===== CTA WHATSAPP ===== */
.rts-btn.btn-primary {
    background: #000;
    border-radius: 10px;
}

.rts-btn.btn-primary:hover {
    background: #222;
}

/* ===== PDF BUTTON ===== */
.rts-btn {
    border-radius: 10px;
}

/* ===== BADGE (se vuoi aggiungerlo dopo) ===== */
.price-area::before {
    content: "OFFERTA";
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {

    .rts-breadcrumb-area .breadcrumb-area-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-area h5 {
        font-size: 26px;
    }

    .col-lg-8 ul {
        grid-template-columns: 1fr;
    }

    .col-lg-4 .card {
        position: relative;
        top: auto;
        margin-top: 20px;
    }
}
/* sblocca contenitori */
.rts-contact-page-form-area,
.sidebar,
.col-lg-4 {
    overflow: visible !important;
}/* sblocca contenitori */
.rts-contact-page-form-area,
.sidebar,
.col-lg-4 {
    overflow: visible !important;
}
#searchResults {
    position: fixed;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    z-index: 99999;

    display: none;
    max-height: 300px;
    overflow-y: auto;
}
.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;

    background: #25D366;
    color: #fff;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    font-size: 22px;

    z-index: 9999;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.wa-btn {
    background: #25D366;
    color: #fff;
    margin-top: 8px;
}
/* card tutte uguali */
.car-item {
    display: flex;
    height: 100%;
}

.project-wrapper.improved {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* content sempre stessa altezza */
.content-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* ===== FIX CARD HOME PERFETTO ===== */

.car-item {
    display: flex;
    height: 100%;
}

.project-wrapper.improved {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* IMMAGINE SEMPRE UGUALE */
.car-item .image-area {
    height: 160px;
    flex-shrink: 0;
}

/* CONTENUTO UNIFORME */
.car-item .content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
}

/* BLOCCA ALTEZZA TITOLO */
.car-item .title {
    font-size: 14px;
    min-height: 38px; /* 🔥 chiave */
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* INFO SEMPRE ALLINEATE */
.features-clean {
    font-size: 12px;
    color: #777;
    margin-top: auto;
}
/* ===== NEW CAR GRID ===== */

.cars-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
    gap: 20px;
}

/* CARD */
.car-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.25s;
}

.car-card:hover {
    transform: translateY(-6px);
}

/* IMG */
.car-img-wrap {
    position: relative;
    height: 170px;
}

.car-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PRICE */
.price-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 5px;
}

/* BADGE */
.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f59e0b;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 5px;
}
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    color: #fff;
    z-index: 2;
}

/* ?? NUOVO */
.badge-new {
    background: #16a34a; /* verde */
}

/* ? USATO */
.badge-used {
    background: #475569; /* grigio */
}
/* FAVORITE */
.fav {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
}

.fav.active {
    color: red;
}

/* BODY */
.car-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    height: 100px;
}

/* TITLE */
.car-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
    min-height: 36px;
}

/* SPECS */
.car-specs {
    font-size: 12px;
    color: #666;
    margin-top: auto;
}
/* =====================================
   FIX GRID HOME (override pulito)
===================================== */

.cars-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
/* TAB NAV */
.policy-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: #eee;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
}

.tab-btn.active {
    background: #000;
    color: #fff;
}

/* CONTENT */
.tab-content {
    display: none;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.tab-content.active {
    display: block;
}
.call-premium {
    margin-right: 10px;
}
.call-premium-normal {
    margin-right: 10px;
}
.call-btn {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 8px 14px;
    border-radius: 50px;

    background: linear-gradient(135deg, #0e2a47, #071826);
    border: 1px solid rgba(197,164,109,0.3);

    text-decoration: none;

    transition: all 0.3s ease;
}

/* icona cerchio */
.call-btn .icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;

    background: linear-gradient(135deg, #c5a46d, #a8844c);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 0 10px rgba(197,164,109,0.5);
}

.call-btn svg {
    fill: #0e2a47;
}

/* testo */
.call-btn .text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.call-btn small {
    font-size: 11px;
    color: #aaa;
}

.call-btn strong {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

/* HOVER */
.call-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border-color: #c5a46d;
}

.call-btn:hover .icon {
    box-shadow: 0 0 18px rgba(197,164,109,0.9);
}

/* MICRO ANIMAZIONE */
.call-btn .icon {
    animation: pulseCall 2.5s infinite;
}

@keyframes pulseCall {
    0% { box-shadow: 0 0 0 0 rgba(197,164,109,0.5); }
    70% { box-shadow: 0 0 0 10px rgba(197,164,109,0); }
    100% { box-shadow: 0 0 0 0 rgba(197,164,109,0); }
}
/* container */
.sell-form {
    max-width: 600px;
    margin: auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, #0e2a47, #071826);
    border: 1px solid rgba(197, 164, 109, 0.3);
    padding: 25px;
    border-radius: 12px;
}

/* header */
.form-header {
    text-align: center;
    margin-bottom: 20px;
}

.form-header h4 {
    color: #fff;
}

.form-header p {
    color: #aaa;
}

/* group */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #c5a46d;
    margin-bottom: 5px;
}

/* input */
.sell-form input,
.sell-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    color: #0e2a47; /* FIX */
}

/* textarea */
.sell-form textarea {
    min-height: 100px;
}

/* row */
.form-row {
    display: flex;
    gap: 10px;
}

.form-row .form-group {
    flex: 1;
}

/* button */
.sell-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #c5a46d, #a8844c);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.sell-btn:hover {
    transform: translateY(-2px);
}
.sell-form input::placeholder,
.sell-form textarea::placeholder {
    color: #999;
}
/* mobile */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}
/* SUCCESS MESSAGE BIG */
.msg-requests .form-msg.success {
    display: block;
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 10px;

    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid #28a745;

    color: #155724;
    font-size: 16px;
    font-weight: 600;

    text-align: center;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    animation: fadeInUp 0.4s ease;
}

/* ICONA */
.form-msg.success::before {
    content: "✔ ";
    font-size: 18px;
    margin-right: 5px;
}

/* ERROR */
.form-msg.error {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}
/* NO CARS GLASS EFFECT */

.glass-no-cars{

    width:100%;
    max-width:500px;

    margin:40px auto;

    padding:45px 30px;

    text-align:center;

    border-radius:25px;

    background:rgba(255,255,255,0.08);

    border:1px solid rgba(255,255,255,0.15);

    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

    box-shadow:
            0 8px 32px rgba(0,0,0,0.25);

    position:relative;

    overflow:hidden;

    transition:0.4s;
}

/* luce */

.glass-no-cars::before{

    content:'';

    position:absolute;

    top:-50%;
    left:-60%;

    width:220%;
    height:220%;

    background:
            linear-gradient(
                    45deg,
                    transparent,
                    rgba(255,255,255,0.08),
                    transparent
            );

    transform:rotate(25deg);

    transition:0.8s;
}

.glass-no-cars:hover::before{

    left:120%;
}

.glass-no-cars:hover{

    transform:translateY(-5px);

    box-shadow:
            0 18px 40px rgba(0,0,0,0.35);
}

/* icona */

.glass-icon-empty{

    width:90px;
    height:90px;

    margin:auto auto 20px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:38px;

    color:#fff;

    background:rgba(255,255,255,0.10);

    border:1px solid rgba(255,255,255,0.18);

    box-shadow:
            inset 0 0 15px rgba(255,255,255,0.05);

    transition:0.4s;
}

.glass-no-cars:hover .glass-icon-empty{

    transform:scale(1.1) rotate(8deg);
}

/* testo */

.glass-no-cars h3{

    color:#fff;

    font-size:28px;

    font-weight:700;

    margin:0;

    letter-spacing:1px;
}/* EMPTY HOME SECTION */

.empty-home-section{

    position:relative;

    padding:120px 20px;

    overflow:hidden;

    background:#fff;
}

/* BOX */

.empty-home-box{

    max-width:1020px;

    margin:auto;

    text-align:center;

    padding:60px 40px;

    border-radius:35px;

    background: linear-gradient(135deg, #0e2a47, #071826);
    border: 1px solid rgba(197, 164, 109, 0.3);
    backdrop-filter:blur(16px);

    -webkit-backdrop-filter:blur(16px);

    box-shadow:
            0 10px 40px rgba(0,0,0,0.35);
}

/* BADGE */

.mini-badge{

    display:inline-block;

    padding:10px 22px;

    border-radius:50px;

    margin-bottom:25px;

    font-size:13px;

    letter-spacing:2px;

    color:#fff;

    background:rgba(255,255,255,0.08);

    border:1px solid rgba(255,255,255,0.15);
}

/* TITLE */

.empty-home-box h2{

    font-size:40px;

    line-height:1.2;

    color:#fff;

    margin-bottom:25px;
}

/* TEXT */

.main-text{

    font-size:22px;

    line-height:1.8;

    color:rgba(255,255,255,0.92);

    max-width:850px;

    margin:auto auto 20px;
}

.sub-text{

    font-size:17px;

    line-height:1.9;

    color:rgba(255,255,255,0.70);

    max-width:780px;

    margin:auto;
}

/* BUTTONS */

.empty-buttons{

    display:flex;

    gap:20px;

    justify-content:center;

    flex-wrap:wrap;

    margin-top:40px;
}

/* STATS */

.stats-grid{

    margin-top:70px;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:25px;
}

.stat-card{

    padding:40px 25px;

    border-radius:25px;

    text-align:center;

    background:rgba(255,255,255,0.06);

    border:1px solid rgba(255,255,255,0.10);

    backdrop-filter:blur(10px);

    transition:0.4s;
}

.stat-card:hover{

    transform:translateY(-8px);

    background:rgba(255,255,255,0.09);
}

.stat-card h3{

    font-size:32px;

    color:#fff;

    margin-bottom:10px;

    font-weight:800;
}

.stat-card p{

    color:rgba(255,255,255,0.75);

    font-size:16px;

    letter-spacing:1px;
}
.stats-row{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:20px;

    margin-top:70px;
}

.stat-box{

    flex:0 0 calc(25% - 20px);

    max-width:calc(25% - 20px);

    min-width:200px;

    padding:40px 25px;

    border-radius:24px;

    text-align:center;

    background:rgba(255,255,255,0.08);

    border:1px solid rgba(255,255,255,0.10);

    backdrop-filter:blur(10px);

    transition:0.4s;
}
.stat-box i{

    font-size:28px;

    background:linear-gradient(
            180deg,
            #ffe7a3,
            #f4c56a,
            #c9982f
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

    filter:
            drop-shadow(0 0 10px rgba(244,197,106,0.45));

    margin-bottom:20px;
}
/* HOVER */

.stat-box:hover{

    transform:translateY(-8px);

    background:rgba(255,255,255,0.12);
}

/* NUMERO */

.stat-box h3{

    font-size:26px;

    font-weight:800;

    line-height:1;

    margin-bottom:15px;

    color:#c9a86a;
}

/* TESTO */

.stat-box p{

    margin:0;

    font-size:16px;

    color:#fff;

    font-weight:500;
}

/* MOBILE */

@media(max-width:992px){

    .stat-box{

        flex:0 0 calc(50% - 20px);

        max-width:calc(50% - 20px);
    }

}

@media(max-width:576px){

    .stat-box{

        flex:0 0 100%;

        max-width:100%;
    }

}
/* RESPONSIVE */

@media(max-width:768px){

    .empty-home-box{

        padding:40px 25px;
    }

    .empty-home-box h2{

        font-size:36px;
    }

    .main-text{

        font-size:18px;
    }

}
/* ANIMAZIONE */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cta-inner {

     background: var(--color-primary);

     padding: 20px 28px;

     clip-path: polygon(
             100% 3.473%, 100% 3.473%, 99.99% 2.914%, 99.96% 2.385%,
             99.913% 1.892%, 99.849% 1.444%, 99.771% 1.047%, 99.681% 0.709%,
             99.579% 0.436%, 99.468% 0.236%, 99.349% 0.116%, 99.224% 0.084%,
             0.739% 10.767%, 0.739% 10.767%, 0.619% 10.823%, 0.504% 10.96%,
             0.398% 11.171%, 0.301% 11.449%, 0.215% 11.788%, 0.142% 12.181%,
             0.082% 12.621%, 0.037% 13.101%, 0.01% 13.615%, 0% 14.156%,
             0% 86.179%, 0% 86.179%, 0.01% 86.72%, 0.037% 87.235%,
             0.082% 87.715%, 0.142% 88.155%, 0.216% 88.548%, 0.302% 88.887%,
             0.399% 89.165%, 0.505% 89.376%, 0.619% 89.513%, 0.74% 89.568%,
             99.225% 99.751%, 99.225% 99.751%, 99.35% 99.718%, 99.469% 99.598%,
             99.58% 99.397%, 99.681% 99.124%, 99.772% 98.786%, 99.85% 98.389%,
             99.913% 97.941%, 99.96% 97.449%, 99.99% 96.92%, 100% 96.361%,
             100% 3.473%
     );

     display: flex;
     align-items: center;

     justify-content: space-between;

     gap: 20px;

     position: relative;

     bottom: -70px;

     z-index: 2;

     min-height: 90px;

     .title {

         font-size: 24px;

         line-height: 1.3;

         margin: 0;
     }

     .contact a {

         font-size: 22px;

         font-weight: 600;
     }
 }

/* MOBILE */

@media (max-width: 768px) {

    .cta-inner {

        padding: 18px 20px;

        flex-direction: column;

        text-align: center;

        bottom: -50px;

        .title {

            font-size: 20px;
        }

        .contact a {

            font-size: 18px;
        }
    }
}
.form-group{

    position:relative;

    margin-bottom:24px;
}

.error-msg{

    display:block;

    min-height:18px;

    margin-top:6px;

    font-size:13px;

    color:#ff4d4d;
}
/* FIELD */

.modern-field{

    position:relative;

    margin-bottom:28px;
}

/* ICON */

.input-icon{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    color:#999;

    z-index:2;
}

/* INPUT */

.modern-field input,
.modern-field select,
.modern-field textarea{

    width:100%;

    padding-left:52px !important;

    border-radius:14px;

    min-height:58px;
}

/* TEXTAREA */

.textarea-field .input-icon{

    top:28px;
}

.textarea-field textarea{

    min-height:160px;

    padding-top:18px;
}

/* =========================
   CONTACT FORM
========================= */

#contact-form .form-group{

    position:relative;

    margin-bottom:24px;
}

/* FIELD */

#contact-form .modern-field{

    position:relative;

    margin-bottom:28px;
}

/* ICON */

#contact-form .input-icon{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    color:#999;

    z-index:2;
}

/* INPUT */

#contact-form .modern-field input,
#contact-form .modern-field select,
#contact-form .modern-field textarea{

    width:100%;

    padding-left:52px !important;

    border-radius:14px;

    min-height:58px;
}

/* TEXTAREA */

#contact-form .textarea-field .input-icon{

    top:28px;
}

#contact-form .textarea-field textarea{

    min-height:160px;

    padding-top:18px;
}

/* ERROR MESSAGE */

#contact-form .error-msg{

    display:block;

    min-height:18px;

    margin-top:6px;

    font-size:12px;

    line-height:1.2;

    color:#ff4d4d;
}

/* INPUT ERROR */

#contact-form input.error,
#contact-form select.error,
#contact-form textarea.error{

    border-color:#ff4d4d !important;

    box-shadow:
            0 0 0 3px rgba(255,77,77,0.08);
}

/* GDPR */

#contact-form .modern-check{

    position:relative;

    padding-bottom:18px;
}
.form__control select.input-form{

     width:100%;

     height:60px;

     border:1px solid #ddd;

     background:#fff;

     padding:0 50px 0 55px;

     font-size:16px;

     color:#555;

     appearance:none;
     -webkit-appearance:none;
     -moz-appearance:none;

     border-radius:0;

     outline:none;
 }

/* freccia custom */
.form__control{

    position:relative;
}

.form__control.select-control::after{

    content:"⌄";

    position:absolute;

    right:20px;

    top:50%;

    transform:translateY(-50%);

    font-size:18px;

    color:#777;

    pointer-events:none;
}
.custom-select{

     width:100% !important;

     height:60px !important;

     padding-left:55px !important;

     padding-right:45px !important;

     border:1px solid #e5e5e5 !important;

     background:#fff !important;

     color:#555 !important;

     font-size:16px !important;

     appearance:none !important;
     -webkit-appearance:none !important;
     -moz-appearance:none !important;

     cursor:pointer;

     line-height:60px !important;
 }

.select-control{

    position:relative;
}
.select-control{

    position:relative;

    width:100%;
}

.select-wrap{

    position:relative;

    width:100%;
}

.custom-select-field{

    width:100%;

    height:64px;

    border:1px solid #ddd;

    background:#fff;

    padding:0 50px 0 60px;

    font-size:16px;

    color:#444;

    outline:none;

    border-radius:0;

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    display:block;
}



.select-control .icon{

    position:absolute;

    left:20px;

    top:50%;

    transform:translateY(-50%);

    z-index:5;
}
.no-nice{

     width:100%;

     height:60px;

     padding:0 20px 0 55px;

     border:1px solid #ddd;

     background:#fff;
 }

.select-control::after{

    content:'▼';

    position:absolute;

    top:50%;

    right:20px;

    transform:translateY(-50%);

    font-size:11px;

    color:#777;

    pointer-events:none;
}
.nice-select{
     position:relative;
     z-index:20;
 }

.nice-select .list{
    z-index:99999 !important;
}

.form__control{
    overflow:visible !important;
}

.contact-form{
    overflow:visible !important;
}.nice-select .list{

     overflow-y:auto !important;

     overflow-x:hidden !important;

     max-height:260px !important;

     z-index:999999 !important;

     position:absolute !important;

     background:#fff !important;
 }

.nice-select.open .list{

    opacity:1 !important;

    pointer-events:auto !important;

    transform:scale(1) translateY(0) !important;
}

.form__control,
.contact-form,
.get-in-touch-area{

    overflow:visible !important;
}

/* MOBILE MENU FIX */
@media (max-width: 991px) {
    .rts-hero__video,
    .rts-hero__video video,
    .rts-hero__video::before {
        pointer-events: none !important;
    }
    .rts-hero__video {
        position: relative;
        z-index: 1;
    }

    .rts-hero__video video {
        pointer-events: none;
    }

    .rts-hero__video::before {
        pointer-events: none;
    }
    .header,
    .header-area,
    .navbar {
        position: relative;
        z-index: 10000;
    }

    .nav-area {
        position: fixed !important;
        top: 0;
        left: -100%;
        width: 260px;
        height: 100vh;
        background: #111;
        z-index: 100000;
        padding: 20px;
        transition: left 0.3s ease;
        display: block !important;
    }
    li.has-dropdown .submenu a{
      color: #111 !important; ;
    }
    .nav-area.active {
        left: 0;
    }
    .nav-area ul {
        display: block !important;
    }

    .nav-area li {
        display: block;
        margin-bottom: 10px;
    }
    .nav-area ul {
        flex-direction: column;
    }

    .nav-area a {
        color: #fff !important;
        font-size: 18px;
        display: block;
        padding: 10px 0;
    }
    .nav-area {
        background: #000;
    }

    .nav-area ul {
        margin-top: 40px;
    }
    .nav-area li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-area a:hover {
        color: #c5a46d;
    }
    #menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 99998;
    }
    .nav-area a {
        pointer-events: auto !important;
        z-index: 1000000;
    }
    /* quando attivo */
    #menu-overlay {
        pointer-events: none !important;
    }
}
#menu-btn {
    position: relative;
    z-index: 10001;
    cursor: pointer;
}

.header,
.header-area,
.navbar {
    position: relative;
    z-index: 10000;
}
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.6);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: 0.3s;
    z-index: 10000;
}

#menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ===== LANG ===== */
.lang-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-btn {
    opacity: 0.5;
    transition: 0.3s;
    display: inline-block;
}

.lang-btn.active,
.lang-btn:hover {
    opacity: 1;
    transform: scale(1.05);
}

.flag-icon {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

/* ===== BANNER ===== */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 900px;
    margin: auto;
    background: rgba(20,20,20,0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: none;
}

#cookie-banner .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

#cookie-banner .text {
    flex: 1;
    font-size: 14px;
    color: #ccc;
}

#cookie-banner a {
    color: #c5a46d;
    text-decoration: underline;
}

#cookie-banner .buttons {
    display: flex;
    gap: 10px;
}

#cookie-banner button {
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}

/* BOTTONI */
.btn-accept {
    background: #c5a46d;
    color: #fff;
}

.btn-accept:hover {
    background: #b8935c;
}

.btn-reject {
    background: transparent;
    border: 1px solid #555;
    color: #aaa;
}

.btn-reject:hover {
    background: #222;
}

.btn-settings {
    background: transparent;
    color: #888;
    text-decoration: underline;
}

/* MODAL */
#cookie-settings {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #fff;
    color: #000;
    padding: 25px;
    z-index: 10000;
    width: 420px;
    max-width: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    transition: 0.3s;
}

#cookie-settings.active {
    transform: translate(-50%, -50%) scale(1);
}

#cookie-settings h3 {
    margin-bottom: 15px;
}

#cookie-settings label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

#cookie-settings button {
    margin-top: 15px;
    background: #c5a46d;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 6px;
    width: 100%;
}
.banner-content-area {
    text-align: center;
}

.banner-content-area .button-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.banner-content-area .button-area a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* ===== MODAL OVERLAY ===== */
.cookie-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    background: radial-gradient(circle at center, rgba(0,0,0,0.6), rgba(0,0,0,0.95));

    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;

    z-index: 999999;
}

.cookie-modal.active {
    opacity: 1;
    visibility: visible;
}

/* ===== BOX ===== */
.cookie-box {
    position: relative;
    width: 90%;
    max-width: 620px;
    padding: 30px;

    border-radius: 18px;

    background: linear-gradient(145deg, rgba(15,30,50,0.95), rgba(5,15,25,0.95));
    backdrop-filter: blur(12px);

    box-shadow:
            0 25px 80px rgba(0,0,0,0.8),
            inset 0 1px 0 rgba(255,255,255,0.05);

    transform: translateY(40px) scale(0.95);
    transition: all 0.35s ease;

    overflow: hidden;
}

/* animazione */
.cookie-modal.active .cookie-box {
    transform: translateY(0) scale(1);
}

/* ===== LUCE ANIMATA (effetto carrozzeria) ===== */
.cookie-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;

    background: linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,0.08),
            transparent
    );

    transform: rotate(25deg);
    animation: shine 6s infinite linear;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(100%) rotate(25deg); }
}

/* ===== TITOLO METAL ===== */
.cookie-box h2 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;

    background: linear-gradient(180deg, #ffffff, #aeb6bd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    margin-bottom: 10px;
}
.cookie-bx h1{
    margin-top: 10px;
    color: #fff;
}
/* ===== TESTO ===== */
.cookie-content {
    color: #cfd6dc;
    font-size: 14px;
    line-height: 1.6;

    max-height: 60vh;
    overflow-y: auto;
}

/* ===== DIVIDER ===== */
.cookie-content h3 {
    margin-top: 15px;
    color: #fff;
}
.cookie-content h1 {
    margin-top: 15px;
    color: #fff;
}
/* ===== CHIUSURA ===== */
.close-cookie {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    color: #aaa;
    cursor: pointer;
    transition: 0.3s;
}

.close-cookie:hover {
    color: #fff;
    transform: scale(1.2);
}

/* ===== BOTTONI ===== */
.cookie-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.cookie-actions button {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}
.user-btn svg path {
    fill: #c5a46d !important;
    transition: 0.3s;
}

.user-btn:hover svg path {
    fill: #ffffff !important;
}.user-btn {
     position: relative;
     width: 42px;
     height: 42px;
     border-radius: 50%;

     background: #0e2a47;
     display: flex;
     align-items: center;
     justify-content: center;

     cursor: pointer;
     transition: 0.3s;
 }

/* icona */
.user-btn svg path {
    fill: #c5a46d !important;
}

/* nome nascosto */
.user-name {
    position: absolute;
    right: 50px;
    white-space: nowrap;

    background: #111;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;

    font-size: 13px;

    opacity: 0;
    transform: translateX(10px);
    transition: 0.3s;

    pointer-events: none;
}

/* hover */
.user-btn:hover {
    background: #c5a46d;
}

.user-btn:hover svg path {
    fill: #0e2a47 !important;
}

/* mostra nome */
.user-btn:hover .user-name {
    opacity: 1;
    transform: translateX(0);
}
/* accetta */
.btn-accept {
    background: linear-gradient(135deg, #c5a46d, #a8844c);
    color: #fff;
}

.btn-accept:hover {
    transform: translateY(-2px);
}

/* rifiuta */
.btn-reject {
    background: transparent;
    border: 1px solid #444;
    color: #aaa;
}

.btn-reject:hover {
    background: #111;
}
/* ===== FORM ===== */
.input-error {
    border: 2px solid #e74c3c !important;
    background: #fff0f0;
}

.input-valid {
    border: 2px solid #2ecc71 !important;
    background: #f0fff5;
}



/* ===== LOADING ===== */
.loading {
    display:flex;
    justify-content:center;
    padding:40px;
}

.spinner {
    width:40px;
    height:40px;
    border:4px solid #ccc;
    border-top:4px solid black;
    border-radius:50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.form-msg {
    margin-top: 10px;
    font-size: 14px;
}

.form-msg.error {
    color: #e74c3c;
}

.form-msg.success {
    color: #2ecc71;
}


/* ===== KILL BUG TEMA ===== */
.footer-separator {
    margin: 60px auto;
    width: 90%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
}
/* HERO RESPONSIVE GLOBAL */
.hero-car {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-car {
        height: 260px !important;
        background-position: center top !important;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .hero-car {
        height: 220px !important;
    }
}
.form-row-modern{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-bottom:15px;
    align-items:start;
}

.form-row-modern .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* input */
.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.form-group{
    display:flex;
    flex-direction:column;
    width:100%;
}
/* errore */
.error-msg{
    display:block;
    color:#dc3545;
    font-size:11px;
    line-height:1.2;
    margin-top:4px;
    min-height:14px;
}

/* bordo errore */
.input-error {
    border-color: #e74c3c !important;
}
.error-msg{
    transition:all .2s ease;
}
/* focus */
.form-group select:focus,
.form-group input:focus {
    border-color: #ff6600;
    outline: none;
}
.form-group{
    display:flex;
    flex-direction:column;
}
/* mobile */
@media(max-width:768px){

    .form-row-modern{
        grid-template-columns:1fr;
    }

}


/* FIX SELECT REQUESTS */

.single-wrapper{
    overflow: visible !important;
}

.single-wrapper span{
    overflow: visible !important;
    position: relative;
    z-index: 10;
}

.single-wrapper .nice-select{
    position: relative !important;
    z-index: 1000 !important;
}

.single-wrapper .nice-select .list{

    z-index: 999999 !important;

    max-height: 260px !important;

    overflow-y: auto !important;

    overflow-x: hidden !important;

    transform: none !important;
}
.phone-group {
    position: relative;
    width: 100%;
}

.phone-group .input-form {
    width: 100%;
    padding: 10px 35px 10px 35px; /* Increased left padding for better alignment */
    border: 1px solid #ccc;
    border-radius: 5px;
}

.phone-group .icon {
    position: absolute;
    top: 50%;
    left: 10px; /* Adjust this value to move the icon inside the input */
    transform: translateY(-50%);
    pointer-events: none; /* Ensures the icon doesn't interfere with the input */
}
@media (max-width: 768px) {
    .call-premium {
        display: none;
    }
}
.rts-brand-area ul{
    display:flex;
    flex-wrap:wrap;
    gap:25px;

    justify-content:center;
    align-items:center;

    list-style:none;
    padding:0;
    margin:0;
}

.rts-brand-area ul li{

    width:180px;
    height:100px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#fff;

    border:1px solid #eee;
    border-radius:12px;

    overflow:hidden;

    padding:20px;
}

.rts-brand-area ul li img{

    width:100%;
    height:100%;

    object-fit:contain;

    display:block;
}.btn-loading { background:#999; }
.btn-success { background:#28a745; color:#fff; }
.btn-error   { background:#dc3545; color:#fff; }
.error-animate {
    border: 2px solid #ff3c00 !important;
    animation: shake 0.3s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}.form-row-modern {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

#carRequestForm .form-row,
#carRequestForm .form-row-modern {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

#carRequestForm .form-group {
    flex: 1 1 48%;
    width: auto;
}#carRequestForm .form-row,
#carRequestForm .form-row-modern {
    display: flex !important;
    gap: 15px;
    flex-wrap: wrap;
}

#carRequestForm .form-group {
    flex: 1 1 48% !important;
    width: auto !important;
    display: block !important;
}/**
 * NICESELECT RESPONSIVE CSS
 * Aggiungi questo CSS nel tuo style.css principale
 */

/* ========================
   NICESELECT BASE STYLING
   ======================== */

.nice-select {
    width: 100% !important;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    transition: all 0.2s ease;
}

.nice-select:hover {
    border-color: #999;
}

.nice-select.open {
    border-radius: 4px 4px 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: none;
}

.nice-select .current {
    display: block;
    font-weight: 500;
    color: #333;
}

.nice-select .list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 4px 4px;
}

.nice-select .list .option {
    padding: 10px 12px;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.nice-select .list .option:last-child {
    border-bottom: none;
}

.nice-select .list .option:hover {
    background: #f8f8f8;
    color: #007bff;
    padding-left: 16px;
}

.nice-select .list .option.selected {
    background: #007bff;
    color: white;
    font-weight: 600;
}

.nice-select .list .option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================
   FORM ROW RESPONSIVE
   ======================== */

.form-row,
.form-row-modern {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row .form-group,
.form-row-modern .form-group {
    flex: 1;
    min-width: 200px;
}

/* ========================
   TABLET RESPONSIVE (768px - 991px)
   ======================== */

@media (max-width: 991px) {
    .nice-select {
        padding: 10px 10px;
        font-size: 13px;
    }
    
    .nice-select .current {
        font-size: 13px;
    }
    
    .nice-select .list {
        max-height: 250px;
    }
    
    .nice-select .list .option {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .form-row,
    .form-row-modern {
        gap: 15px;
    }
}

/* ========================
   MOBILE RESPONSIVE (< 767px)
   ======================== */

@media (max-width: 767px) {
    /* Nascondi niceSelect su mobile */
    .nice-select {
        display: none !important;
    }
    
    /* Mostra e stilizza le select native */
    select:not(.no-nice) {
        display: block !important;
        width: 100% !important;
        max-width: 100%;
        padding: 12px 12px !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        background: white !important;
        background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') !important;
        background-repeat: no-repeat !important;
        background-position: right 8px center !important;
        background-size: 20px !important;
        padding-right: 35px !important;
        font-size: 14px !important;
        cursor: pointer !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        color: #333;
    }
    
    select:not(.no-nice):hover {
        border-color: #999;
    }
    
    select:not(.no-nice):focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }
    
    /* Nascondi il current di niceSelect */
    .nice-select .current {
        display: none !important;
    }
    
    /* Form row in column singola */
    .form-row,
    .form-row-modern {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row .form-group,
    .form-row-modern .form-group {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
    }
}

/* ========================
   SMALL MOBILE (< 480px)
   ======================== */

@media (max-width: 479px) {
    select:not(.no-nice) {
        padding: 10px 10px !important;
        padding-right: 32px !important;
        font-size: 13px !important;
    }
    
    .form-row,
    .form-row-modern {
        gap: 12px;
    }
    
    .form-row .form-group,
    .form-row-modern .form-group {
        margin-bottom: 5px;
    }
}

/* ========================
   FORM GROUP STYLING
   ======================== */

.form-group {
    position: relative;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .form-group {
        margin-bottom: 15px;
    }
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
}

.form-group .error-msg {
    color: #ff3c00;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff3c00 !important;
    background-color: #fff5f0 !important;
}


/* Animazione di entrata */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigazione tra step */
.form-navigation {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: space-between;
}

.form-navigation button {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}


.calculator-form-inner {
      transition: min-height 0.4s ease-in-out;
  }/* ==================== FORM MODAL CSS ==================== */

/* Pulsante per aprire il form */
.btn-open-form {
    padding: 12px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-open-form:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}
/* ===============================
   STEP ANIMATION (SLIDE)
================================ */

.form-step {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;

    opacity: 0;
    transform: translateX(40px);
    transition: all 0.35s ease;

    pointer-events: none;
}

/* STEP ATTIVO */
.form-step.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* STEP USCENTE (opzionale ma top) */
.form-step.exit-left {
    transform: translateX(-40px);
    opacity: 0;
}

/* CONTENITORE */
.form-modal-body {
    position: relative;
    overflow: hidden;
}/* CTA WRAPPER (centratura perfetta) */
.cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* CTA BUTTON */
.btn-cta-lg {
    display: inline-block;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    min-width: 260px;
    text-align: center;
    background: linear-gradient(135deg, #ff3c00, #ff7a00);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* HOVER */
.btn-cta-lg:hover {
    background: linear-gradient(135deg, #ff7a00, #ff3c00);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    color: #fff;
.cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.btn-cta-lg {
    position: relative;
    z-index: 20;
    display: inline-block;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    min-width: 260px;
    text-align: center;
    background: linear-gradient(135deg, #ff3c00, #ff7a00);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cta-lg:hover {
    background: linear-gradient(135deg, #ff7a00, #ff3c00);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    color: #fff;
}
  
