:root {
    --color-primary: #DC0D15;
    --color-black: #000;
    --color-white: #fff;
    --bg-light: #FAFAFA;
    --text-grey: #9a9a9a;
    --text-light: #BDBDBD;
    --stroke: #E5E7EB;
    --green-whatsapp: #25D366;
    --color-success: #28a745;
    --color-danger: #dc3545;
    --color-neutral-500: lab(48.496% 0 0);

    --spacerS: 0.5rem;
    --spacerM: 1rem;
    --spacerL: 2rem;

    --font-primary: var(--wp--preset--font-family--google-sans-flex);
    --font-secondary: var(--wp--preset--font-family--playfair-display);

    --fs-body: 16px;
    --fs-small: 12px;
    --fs-text: 14px;
    --fs-button: 14px;
    --fs-large: 24px;
    --fs-icon: 26px;
    --fs-review: 22px;
    --fs-subtitle: 20px;

    --fs-card-title: 18px;
    --fs-section-eyelet: 30px;
    --fs-section-title: 42px;
    --fs-section-title-large: 56px;
    --fs-hero-title: 72px;
    --fs-newsletter-title: 48px;

    --radiusS: 22px;
    --radiusPill: 50px;

    --box-shadow: 0px 0px 10px var(--stroke);
    --box-shadow-hero: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

/* REGOLE CSS GENERALI */
.w-auto {
    width: auto !important;
}

.border-top {
    border-top: 1px solid var(--stroke) !important;
}

.card-img-top {
    height: 240px;
    object-fit: cover;
}

.text-balance {
    text-wrap: balance;
}

#modalRecall .wpcf7 form .wpcf7-response-output {
    font-size: 14px;
    margin-bottom: 15px;
}

.wpcf7-response-output {
	margin-top: 30px !important;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0 0 25px;
    padding: 1em;
    border-width: 1px;
    border-style: solid;
    border-radius:10px;
    text-align: center;
}
.wpcf7 form.sent .wpcf7-response-output {
    color: var(--bs-success-text-emphasis);
    background-color: var(--bs-success-bg-subtle);
    border-color: var(--bs-success-border-subtle);
    --bs-alert-link-color: var(--bs-success-text-emphasis);
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    color: var(--bs-danger-text-emphasis);
    background-color: var(--bs-danger-bg-subtle);
    border-color: var(--bs-danger-border-subtle);
    --bs-alert-link-color: var(--bs-danger-text-emphasis);
}
.wpcf7 form.spam .wpcf7-response-output {
    color: var(--bs-warning-text-emphasis);
    background-color: var(--bs-warning-bg-subtle);
    border-color: var(--bs-warning-border-subtle);
    --bs-alert-link-color: var(--bs-warning-text-emphasis);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    color: var(--bs-warning-text-emphasis);
    background-color: var(--bs-warning-bg-subtle);
    border-color: var(--bs-warning-border-subtle);
    --bs-alert-link-color: var(--bs-warning-text-emphasis);
}

.wpcf7 form {
    position: relative;
}
.wpcf7 .wpcf7-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 10;
}

form input[type=submit] {
    justify-self: flex-end;
    display: flex;
}

.wpcf7-acceptance label a {
    text-decoration: underline;
}

.wpcf7-not-valid-tip {
    display: inline-block;
    margin-top: 4px;
    font-size: 13px;
}

.section-title em {
    font-family: var(--font-secondary);
}

.au-floating-action-button.svelte-11ca6h8 {
    border: 0 !important;
}

body {
    font-size: var(--fs-body);
    font-family: var(--font-primary);
    /* line-height: 1; */
    overflow-x: hidden;
}

a {
    color: var(--color-black);
}

p:not(.wp-block-paragraph) {
    margin: 0;
}

.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.wp-block-image .alignright {
    margin: 0;
}

.border-custom, .border-custom img {
    border-radius: 22px;
    overflow: hidden;
}

.section-title, .section-title h2 {
    font-size: var(--fs-section-title);
}

.wp-block-separator {
    border-top: 1px solid !important;
    color: black;
}

input:not([type="checkbox"]) {
    width: 100%;
    padding: 20px;
    line-height: 1;
    color: var(--color-black);
    border: 0;
    font-size: 16px;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid var(--stroke);
}

input::placeholder {
    color: var(--color-black);
    font-size: 16px;
    font-weight: 500;
}

.search-auto form button {
    position: absolute;
    right: 3px;
    top: 50%;
    width: 48px;
    transform: translateY(-50%);
    height: 48px;
    border-radius: 100%;
    padding: 0 !important;
}

.search-auto form button img {
    width: 22px;
    height: 22px;
}

form button:hover img {
    filter: brightness(50%) sepia(100) saturate(100) hue-rotate(25deg);
}

.section-ptb {
    padding: 80px 0;
}

.half-pt-section {
    padding-top: 40px;
}

ul:not(.wp-block-list) {
    list-style-type: none;
}

button {
    font-weight: 500;
}

option {
    color: var(--color-black);
}

option span {
    display: block;
    padding: 10px 20px;
}

.bg-primary {
    background-color: var(--color-primary) !important;
    color: #fff;
    fill: #fff;
    border: 1px solid var(--color-primary);
}

.bg-primary i {
    color: #fff;
}

.bg-secondary {
    background-color: var(--color-black) !important;
    color: #fff;
    fill: #fff;
    border: 1px solid var(--color-black);
}

.bg-secondary i {
    color: #fff;
}

.bg-teriatry {
    background-color: var(--color-white) !important;
    color: var(--color-black);
    fill: var(--color-black);
    border: 1px solid var(--color-black);
}

.bg-teriatry i {
    color: var(--color-black);
}

.btn {
    padding: 15px 40px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    transition: all .3s ease-in-out !important;
    display: inline-block;
    text-align: center !important;
    text-decoration: none !important;
    line-height: 1 !important;
    font-weight: 500 !important; 
}

.btn-primary {
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
    border: 1px solid var(--color-primary) !important;
}

.btn-secondary {
    background-color: var(--color-white) !important;
    color: var(--color-black) !important;
    border: 1px solid var(--color-white) !important;
}

.btn-secondary.dark {
    background-color: var(--color-black) !important;
    color: var(--color-white) !important;
    border: 1px solid var(--color-black) !important;
}

.btn-secondary.dark:hover {
    background-color: var(--color-white) !important;
    color: var(--color-black) !important;
    border: 1px solid var(--color-black) !important;
}

.btn-secondary:hover,
.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active,
.btn:focus-visible { 
    background-color: var(--color-black) !important;
    color: var(--color-white) !important;
    border: 1px solid var(--color-black) !important;
    outline: 0 !important;
    box-shadow: none !important;
}


.btn-custom {
    background-color: var(--color-primary);
    border-radius: 50px;
    color: var(--color-white);
    border: 1px solid var(--color-primary);
    transition: all .3s ease-in-out;
    display: block;
    /* width: 100%; */
    padding: 8px 15px;
    text-align: center;
    font-size: 12px;
    /* font-weight: 600; */
    text-decoration: none;
}

header .btn-custom {
    padding: 15px 40px;
    font-size: 14px;
}

.btn-custom:hover, .btn-primary:hover {
    color: var(--color-primary) !important;
    background-color: var(--color-white) !important;
    border: 1px solid var(--color-primary) !important;
}

.btn-tertiary {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-black);
}

.btn-tertiary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

main {
    padding-bottom: 80px;
}

.section-gray {
    background-color: var(--bg-light);
    position: relative;
}

.section-gray.js-before-left::after {
    content: '';
    display: block;
    height: 100%;
    background-color: var(--bg-light);
    content: " ";
    left: var(--before-left, 0);
    top: 0;
    bottom: 0;
    position: absolute;
    width: 100vw;
    z-index: -1;
}

.button-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 12px;
    z-index: 990;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-whatsapp img {
    width: 48px;
    height: 48px;
    padding: 4px;
    background: var(--green-whatsapp);
    border-radius: 50%;
}

.mobile-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 997;
    padding: 8px 0 5px 0;
    border-top: 1px solid var(--text-light);
    background-color: var(--color-white);
}

.mobile-buttons .col-4,
.mobile-buttons .col-6 {
    padding: 0 2px;
}

.btn-mobile {
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-mobile a {
    background: var(--text-light);
    flex: 1 1 0;
    text-align: center;
    display: inline-flex;
    padding: 8px 0;
    color: #000;
    background-color: var(--bg-light);
    border: 1px solid var(--stroke);
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-buttons-vehicle .btn-mobile a {
    background-color: var(--color-primary);
    color: var(--color-white);    
}

.btn-mobile.bg-whatsapp a {
    background-color: var(--green-whatsapp);
    color: var(--color-white);
}

.btn-mobile i {
    font-size: var(--fs-icon);
}

.btn-mobile .far.fa-phone {
    transform: rotate(90deg);
}

.btn-mobile .far.fa-comment-alt {
    transform: scaleX(-1);
}

form .vehicle-survey label {
    font-size: var(--fs-text);
    font-weight: 600;
    margin-bottom: 10px;
}

form .wpcf7-list-item label {
    font-weight: 400;
}

form .wpcf7-spinner {
    width: auto;
}

.card {
    position: relative;
    border: 1px solid var(--stroke);
    border-radius: 18px;
    overflow: hidden;
}

.breadcrumb-area {
    border-radius: 22px;
    overflow: hidden;
}

input[type="submit"] {
    width: auto;
}

.section-service h3,
.reviews-box h3,
.faq-box h3,
.home-blog__head h3,
.section-group h3 {
    font-size: var(--fs-section-title);
}

.section-value__info h3,
.newsletter-body h3 {
    font-size: var(--fs-newsletter-title);
}


.car-card__info,
.blog-card__date,
.accordion-body,
.box-service__footer p {
    font-size: var(--fs-text);
}

.site-logo {
    width: 260px;
    height: 58px;
    object-fit: cover;
}

.box-social li :is(i, img) {
    width: 24px;
    height: 24px;
    font-size: 24px;
    transition: all .3s ease-in-out;
}

.box-social li:hover :is(i, img) {
    transform: scale(1.1);
}

.social-ul {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0;
    gap: 13px;
}


/* CSS PER COVER */
.section-cover {
    position: relative;
}

.section-cover::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.4);
}

img.breadcrumb-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breadcrumb-cover {
    position: relative;
    z-index: 99;
    color: #fff;
    z-index: 5;
}

.breadcrumb-cover a {
    color: #fff;
}

.bg-cover {
    background-color: var(--color-black);
}


/* CSS PER SIDEBAR SINGOLA NEWS */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.widget-area input {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
    transition: all .3s ease-in-out;
    width: 30%;
}

.widget-area input:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.widget-area .widget:not(.widget_search) {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--stroke);
    padding: 28px 24px;
    border-radius: 22px;
}

.widget_search .search-auto form {
    width: auto;
}

.widget-area .widget h2 {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--stroke);
}

.widget-area .widget ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget-area .widget ul li {
    display: flex;
    flex-direction: column;
}

.widget-area .widget ul li span {
    color: var(--text-light);
}

.widget-area .widget .textwidget a {
    margin-top: 20px;
}

/* SEZIONE MENU */
header {
    height: 100px;
    z-index: 999;
}
#iub-pp-container header {
    height: auto;
}

header ul li a:hover, header ul li.current-menu-item a {
    color: var(--color-primary) !important;
}

nav {
    height: 100%;
    justify-content: space-between
}

.main-menu #menu-main-menu {
    padding: 15px 28px;
    gap: 75px;
    margin: 0;
    border-radius: 50px;
    border: 1px solid var(--stroke, #e5e7eb);
    box-shadow: var(--box-shadow);
}

.main-menu #menu-main-menu a {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.main-menu .menu-item-has-children {
    position: relative;
}

.main-menu .menu-item-has-children > a::after {
    content: "";
    width: 10px;
    height: 10px;
    margin-left: 5px;
    display: inline-block;
    background-image: url("../img/chevron-down.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: all 0.3s ease;
}

.main-menu .menu-item-has-children.is-open > a::after {
    transform: rotate(90deg);
}

.main-menu .sub-menu {
    position: absolute;
    top: calc(100% - 10px);
    left: -18px;
    z-index: 1000;
    display: none;
    min-width: 190px;
    margin: 14px 0 0;
    padding: 12px 0;
    list-style: none;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--stroke, #e5e7eb);
    /* box-shadow: var(--box-shadow); */
}

.main-menu .sub-menu li {
    list-style: none;
}
.main-menu .sub-menu > li:last-child {
    position: relative;
    margin-top:12px;
    padding-top:12px;
}
.main-menu .sub-menu > li:last-child:before {
    display: block;
    content: '';
    height: 1px;
    position: absolute;
    top: 0px;
    left: 18px;
    right: 18px;
    background-color: #dfdfdf;
}

.main-menu .sub-menu a {
    display: block;
    padding: 9px 18px;
    color: #111;
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
}

.main-menu .sub-menu a:hover {
    background: #f5f5f5;
}

.main-menu .menu-item-has-children.is-open > .sub-menu {
    display: block;
}

.right-menu {
    display: flex;
    flex-direction: row;
    gap: 27px;
}

#menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 995;
}

#menu-toggle .burger.isActive {
    opacity: 0;
}

.burger {
    position: relative;
    width: 30px;
    height: 30px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-black);
    font-size: 0;
    color: transparent;
    transition: opacity 0.2s ease;
}

.burger::before,
.burger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-black);
    transition: all 0.3s cubic-bezier(0.37, -0.38, 0.59, 1.42);
}

.burger::before {
    top: 4px;
}

.burger::after {
    bottom: 4px;
}

.burger.isActive span {
    opacity: 0;
}

.burger.isActive::before {
    transform: rotate(135deg) translate(7px, -6px);
}

.burger.isActive::after {
    transform: rotate(-135deg) translate(7px, 7px);
}

.burger.isActive,
.burger:active {
    animation: bounce 0.2s ease forwards;
}

.menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    min-width: 390px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    background: #fff;
    color: var(--menuTextColor);
    border-radius: 0.5rem;
    backdrop-filter: blur(6px);
    /* box-shadow: var(--box-shadow); */
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
    z-index: 8;
    transform: scale(0.95);
    /* Start slightly smaller */
    transition: opacity 0.8s ease, visibility 0.8s ease, background 0.6s ease, transform 0.6s ease;
}

.menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    /* Scale up when open */
    z-index: 999;
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .3s ease-in-out;
}

.menu-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-header {
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    height: 100px;
    align-items: center;
}

#menu-toggle-close {
    line-height: 1;
}

.menu-body {
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.menu-body .search-auto form {
    width: 100%;
}

.menu-ul-side {
    gap: 15px;
    list-style: none;
    padding: 0;
}

.menu-ul-service {
    gap: 8px;
    list-style: none;
    padding: 0;
}

.menu-ul-side li {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--stroke);
}

.menu-ul-side li a {
    font-size: var(--fs-large);
    font-weight: 500;
}

.menu-ul-service li {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--stroke);
}

.menu-ul-service li a {
    font-size: var(--fs-body);
}


@keyframes bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}


/* SEZIONE HERO */
.hero {
    position: relative;
    width: 100%;
    /* overflow: hidden; */
}

.hero__item {
    position: relative;
    width: 100%;
    height: 790px;
    min-height: 500px;
    border-radius: 22px;
    overflow: hidden;
}
.hero__item:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .25);
}
.hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    border-radius: 22px;
}

.hero__content {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    bottom: 12%;
    z-index: 2;
    color: var(--color-white);
    margin-bottom: 36px;
}

.hero-search {
    width: 55%;
    background-color: #fff;
    border-radius: 22px 22px 50px 50px;
    margin-bottom: 64px;
    box-shadow: var(--box-shadow-hero);
}

.hero-search__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 30px 18px 40px;
    border-bottom: 1px solid #eee;
}

.hero-search__top h3 {
    font-size: var(--fs-large);
    margin: 0;
    color: var(--color-black);
    font-weight: 700;
}

.hero-search__filters {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-search .custom-select__dropdown {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
}

.hero-search__filter, .hero-search__filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 25px;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 12px;
    color: var(--color-black);
    font-weight: 600;
    text-decoration: none;
    background-color: var(--color-white);
    width: auto;
    min-width: unset;
    flex: 0 0 auto;
    white-space: nowrap;
}

.hero-search__filters-mobile {
    position: relative;
}

.hero-search__filters.hero-search__filters--mobile {
    top: calc(100% - 25px);
    width: 100%;
}

.hero-search__filter[data-condition=""] {
    padding-left: 15px;
    padding-right: 15px;
}
.hero-search__filter[data-condition="km0"] {
    padding-left: 40px;
    padding-right: 40px;
}
.hero-search__filter[data-condition="aziendali"] {
    padding-left: 27px;
    padding-right: 27px;
}
.hero-search__filter[data-condition="nuovo"] {
    padding-left: 35px;
    padding-right: 35px;
}
.hero-search__filter[data-condition="usato"] {
    padding-left: 37px;
    padding-right: 37px;
}

.hero-search__filter-toggle {
    display: none;
}


.hero-search__filter.all-filter {
    padding: 8px 15px;
    min-width: 143px;
}

.hero-search__filter.is-active {
    background-color: var(--color-black);
    border-color: var(--color-black);
    color: #fff;
}

.hero-search__form {
    display: flex;
    justify-content: space-between;
    padding: 0 30px 0 40px;
}

.hero-search__fields {
    display: flex;
    width: calc(100% - 64px);
}

.hero-search__field {
    position: relative;
    text-align: left;
    margin: 16px 0;
    min-height: 48px;
    cursor: pointer;
    width: 100%;
}

.hero-search__field + .hero-search__field {
    border-left: 1px solid var(--stroke);
    padding-left: 24px;
    margin: 16px 0;

}

.hero-search__field label {
    position: relative;
    z-index: 2;
    display: block;
    font-size: var(--fs-card-title);
    font-weight: 500;
    color: var(--color-black);
    pointer-events: none;
}

.hero-search__field::after {
    content: "";
    position: absolute;
    right: 33px;
    bottom: 25px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg);
    pointer-events: none;
    transition: all .3s ease-in-out;
}

.hero-search__field:has(.custom-select.is-open)::after {
    transform: rotate(45deg);
}

.hero-search__field + .hero-search__field::after {
    right: 57px;
}


.hero-search__field select {
    color: var(--text-light);
    font-size: 14px;
    padding: 0 28px 0 0;
    cursor: pointer;
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    font-size: 14px;
    outline: none;
    appearance: none;
    cursor: pointer;
    z-index: 1;
    top: 15px;
}

.hero-search__submit {
    align-self: center;
    justify-self: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 0;
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    position: relative;
    cursor: pointer;
    top: unset;
    transform: unset;
    z-index: 5;
    transition: all .3s ease-in-out;
}

.hero-search__submit img {
    width: 29px;
    height: 29px;
}

.hero-search__submit:hover {
    background-color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.hero__title {
    font-size: var(--fs-hero-title);
    color: var(--color-white);
    margin-bottom: 60px;
    text-align: center;
    font-weight: 500;
    line-height: 1;
}

.hero__title em {
    font-family: var(--font-secondary);
}

.hero__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-white);
    border-radius: 999px;
    color: var(--color-black);
    font-size: 14px;
    padding: 10px 12px;
    font-weight: 500;
    line-height: 1;
}

.hero__rating img {
    /* font-size: 16px; */
    filter: invert(1);
    width: 16px;
}

.custom-select {
    position: absolute;
    right: 0;
    left: 0;
    height: 63px;
    top: 0px;
}

.custom-select[data-name="model"] {
    left: 24px;
}

.custom-select__button {
    width: 100%;
    height: 119%;
    padding: 0px;
    background: transparent;
    color: var(--text-light);
    font-size: var(--fs-text);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    border: 0;
}

.custom-select__dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    padding: 8px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--box-shadow-hero);
}

.custom-select.is-open .custom-select__dropdown {
    display: block;
}

.custom-select__dropdown button {
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--color-black);
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.custom-select__dropdown button:hover {
    background: #f4f4f4;
}
  


/* SEZIONE LOGHI */
.section-logo {
    padding: 50px 0;
}

.section-logo p {
    font-style: italic;
    font-size: var(--fs-text);
}

.section-logo .brand {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.section-logo .brand img {
    filter: grayscale(100%);
    transition: all .3s ease-in-out;
    cursor: pointer;
    height: 80px;
    object-fit: contain;
}

.section-logo a[title="Nissan"] img {
    height: 100px;
}

.section-logo a[title="Mercedes Benz"] img {
    height: 70px;
}

.section-logo .official {
    padding-right: 40px;
}

.section-logo .multistore {
    padding-left: 40px;
}

.section-logo .official {
    border-right: 1px solid var(--stroke);
}

.section-logo .brand img:hover {
    filter: grayscale(0%);
}

.brand-marquee-swiper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        white 10%,
        white 90%,
        transparent 100%
    );
}

.brand-marquee-swiper .swiper-wrapper {
    align-items: center;
    transition-timing-function: linear !important;
    /* gap: 20px; */
}

.brand-marquee-swiper .swiper-slide {
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* SEZIONE FORM SEARCH */
.search-auto form {
    width: 760px;
    text-align: center;
}

.search-auto form input {
    text-align: center;
}

.search-auto form input::placeholder {
    text-align: center;
}

/* SEZIONI AUTO */
.vehicle-gallery {
    position: relative;
    padding: 40px 0;
}

.js-before-left {
    position: relative;
}

.js-before-left::before {
    content: " ";
    left: var(--before-left, 0);
    top: 0;
    bottom: 0;
    background-color: var(--bg-light);
    position: absolute;
    width: 100vw;
    z-index: -1;
}

.section-cars__new {
    margin-top: 65px;
}

.vehicle-head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

h3.vehicle-title {
    font-size: var(--fs-section-title);
}

.vehicle-head button {
    width: 48px;
    height: 48px;
    border-radius: 100%;
    border: 1px solid var(--stroke);
    background-color: transparent;
}

.vehicle-head .vehicle-prev img {
    transform: scaleX(-1);
}

h3.vehicle-title span, h3.vehicle-title em, h3 em {
    font-style: italic;
    font-family: var(--font-secondary);
}

.cars-swiper .swiper-wrapper {
    align-items: stretch;
}

.cars-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.car-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.car-card__image-wrap {
    flex: 0 0 auto;
}

.car-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.car-card__body > div:last-child {
    margin-top: auto;
}

.car-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--stroke);
    border-radius: 22px;
    overflow: hidden;
}

.car-card__image {
    display: block;
    width: 100%;
    /* height: 180px; */
    object-fit: cover;
}

.car-card__content {
    padding: 20px;
}

.car-card__condition {
    font-size: 14px;
    font-weight: 500;
}

.car-card__title {
    margin-bottom: 4px;
    font-size: var(--fs-card-title);
    color: var(--color-black);
    text-transform: uppercase;
}

.car-card__title > a:hover {
    text-decoration: underline;
}

.car-card__info {
    margin-bottom: 15px;
    color: var(--text-grey);
    font-weight: 500;
    margin-bottom: 8px !important;
}

.car-card__tags span {
    padding: 2px 8px;
    font-size: 12px;
    display: inline-block;
    margin: 2px 0;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
}

.car-card__consumption {
    font-size: 14px; 
    margin-top: 12px;
}

/* .car-card__price {
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-black);
} */

.car-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 20px 20px;
}

.car-card__body .car-card__price-reserved {
    font-size: 20px;
}

.car-card__price-old {
    font-size: 16px;
    font-weight: 500;
    text-decoration: line-through;
    opacity: 0.55;
}

.car-card__price-current, .car-card__price-reserved {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.2;
}

.card-price .car-card__price-reserved {
    font-size: 28px;
}

.car-card__buttons {
    padding: 20px;
    background-color: #f4f4f4;
}

.car-card__compare {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 12px;
    color: var(--color-black);
    cursor: pointer;
}

.car-card__compare img {
    margin-right: 13px;
}

.cars-swiper {
    padding-top: 30px;
}

.swiper-slide {
    overflow: visible;
}

.vehicle-prev.swiper-button-disabled img,
.vehicle-next.swiper-button-disabled img {
    opacity: 0.2;
    pointer-events: none;
    cursor: default;
}

.car-card {
    position: relative;
    overflow: visible;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
}

/* Contenitore dei badge */
.car-card__badges {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

    display: flex;
    justify-content: center;
    gap: 6px;
    width: max-content;
    max-width: calc(100% - 24px);
    flex-wrap: wrap;

    pointer-events: none;
}

/* Aspetto del singolo badge */
.car-card__badge {
    /*display: inline-block;
    padding: 5px 18px;
    border: 1px solid var(--stroke);
    border-radius: 50px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    */
    
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background-color: transparent;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;

}

/* Promo: aspetto originale, bianco con testo nero */
.car-card__badge[data-badge-slug="promo"] {
    background-color: var(--color-white) !important;
    color: var(--color-black);
}

/* Sfondo dal JSON e testo bianco */
.car-card__badge[data-badge-slug="riservata"],
.car-card__badge[data-badge-slug="venduta"],
.car-card__badge[data-badge-slug="incoming"] {
    color: #fff;
    border-color: transparent;
}


.car-card__image-wrap {
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    /* padding-top: 20px; */
}


/* SEZIONE VALUTA USATO */
.bg-img {
    position: relative;
    overflow: hidden;
    border-radius: 22px 22px 50px 50px;
    height: 480px;
}

.bg-img img {
    height: 100%;
    object-fit: cover;
}

.section-value__info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 5;
    margin-top: -72px;
}

.section-value__info h3 {
    color: var(--color-white);
}

.section-value__info h3 em {
    font-family: var(--font-secondary);
}

.overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
}

.section-value a {
    margin-top: 35px;
}

/* SEZIONE CHI SIAMO */
.section-about-us .eyelet {
    font-size: var(--fs-section-eyelet);
    margin-bottom: 20px;
    font-weight: 500;
}

.section-about-us .title {
    font-size: var(--fs-section-title-large);
    margin-bottom: 30px;
}

.section-about-us .title em {
    font-family: var(--font-secondary);
}

.section-about-us .text p {
    margin-bottom: 40px;
}

.section-about-us .about-us__img img {
    overflow: hidden;
    border-radius: 22px;
}

.column-right {
    position: relative;
}

.about-box-info {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 2;
}

.about-box-info__item {
    background-color: var(--color-white);
    border-radius: 22px;
    padding: 24px 20px;
    border: 1px solid var(--stroke);
    box-shadow: var(--box-shadow-hero);
    /* width: 260px; */
}

.about-box-info__item:nth-child(1) {
    margin-left: 10px;
}

.about-box-info__item:nth-child(2) {
    margin-left: 45px;
}

.about-box-info__item:nth-child(3) {
    margin-left: -15px;
}

.about-box-info__item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.about-box-info__item p {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}


/* SEZIONE SERVICE */
.section-service h3 {
    font-size: var(--fs-section-title);
}

.section-service h3 em {
    font-family: var(--font-secondary);
}

.section-service .eyelet {
    width: 44%;
    margin: 20px 0 50px 0;
}

.box-service__item {
    border: 1px solid var(--stroke);
    padding: 28px 24px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.number-box {
    font-size: 36px;
    color: var(--stroke);
    font-weight: 500;
}

.box-service__head h4 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 14px;
    margin-bottom: 0;
    line-height: 1;
}

.box-service__footer p {
    margin-top: 14px;
}

/* SEZIONE RECENSIONI e FAQ */
.reviews-box {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 22px;
    padding: 30px 20px 105px 50px;
    height: 685px;
    width: 685px;
    display: flex;
    flex-direction: column;
}

.reviews-box h3 {
    font-size: var(--fs-section-title);
    margin-bottom: 14px;
}

.reviews-box h3 em {
    font-family: var(--font-secondary);
}

.review-swiper {
    width: 100%;
}

.review-text {
    margin-bottom: 16px;
    font-size: var(--fs-review);
}

.review-stars {
    display: flex;
    gap: 8px;
}

.reviews-authors {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reviews-author-btn {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--color-white);
    text-align: left;
    padding: 58px 0 0;
    cursor: pointer;
}

.reviews-author-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--color-white);
    opacity: 0;
    transition: all 0.3s ease;
}

.reviews-author-btn.is-active::before {
    width: 100%;
    opacity: 1;
}

.review-author-name {
    font-size: var(--fs-card-title);
    display: block;
    font-weight: 700;
    margin-bottom: 7px;
}

.review-author-meta {
    display: block;
    font-size: 14px;
    font-style: italic;
    /* opacity: 0.9; */
}


.faq-box {
    padding: 30px 0 0 73px;
    display: flex;
    flex-direction: column;
}

.faq-box h3 {
    font-size: var(--fs-section-title);
}

.faq-box h3 em {
    font-family: var(--font-secondary);
}

.faq-box a.btn {
    margin-top: 50px;
    width: fit-content;
}

.faq-intro {
    margin-top: 10px;
}

.accordion {
    margin-top: 35px;
    --bs-accordion-border-radius: 0 !important;
}

.accordion-item {
    border: 0;
    border-bottom: 1px solid var(--stroke);
}

.accordion-item:first-of-type>.accordion-header .accordion-button {
    border-radius: unset;
}

.accordion-item:first-of-type {
    border-top: 1px solid var(--stroke);
}

.accordion-button:focus {
    z-index: 3;
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--color-black);
    background-color: transparent;
    box-shadow: none;
}

.accordion-button {
    padding: 20px 0 14px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
}

.accordion-body {
    padding: 0 0 20px 0;
}

.accordion-body p {
    padding-right: 45px;
}

.accordion-button::after {
    content: '+';
    background-image: none;
    width: auto;
    height: auto;
    margin-left: auto;
    font-size: 22px;
    font-weight: 400 !important;
    transform: none;
}

.accordion-button:not(.collapsed)::after {
    content: '-';
    background-image: none;
    transform: none;
}


/* SEZIONE BLOG e PAGINA BLOG*/
.home-blog {
    background-color: var(--bg-light);
}

.home-blog__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.home-blog__head h3 {
    font-size: var(--fs-section-title);
}

.home-blog__head h3 em {
    font-family: var(--font-secondary);
}

.home-blog__head a {
    background-color: transparent;
}

.blog-card {
    border-radius: 22px;
    border: 1px solid var(--stroke);
    overflow: hidden;
}

.blog-card img {
    width: 100%;
}

.blog-card__body {
    padding: 20px 20px 30px 20px;
}

.blog-card__category {
    padding: 6px 36px;
    border: 1px solid var(--stroke);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.blog-card__title {
    font-size: var(--fs-card-title);
    margin-bottom: 7px;
    margin-top: 17px;
}

.blog-card__date {
    color: var(--text-light);
    margin-bottom: 16px;
}

.blog-card__abstract {
    margin-bottom: 16px;
}

.blog-card__link>span {
    font-size: 14px;
}

.blog-card__link span.link-icon {
    margin-left: 10px;
    font-size: 16px !important;
}

.article {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article img {
    width: 100%;
    border-radius: 22px
}

nav.pagination .nav-links {
    column-gap: 8px;
    flex-wrap: wrap;
    display: flex;
    margin-inline: auto;
}

.page-numbers {
    position: relative;
    padding: 10px 20px;
    border-radius: 18px;
    transition: all .3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-numbers.current, .page-numbers:hover {
    background-color: var(--text-light);
}

.section-blog img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* SEZIONE NEWSLETTER */
.newsletter {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
}

.newsletter .bg-newsletter {
    position: absolute;
    inset: 0;
    height: 100%;
    z-index: 0;
    object-fit: cover;
    object-position: left;
}

.newsletter-body {
    padding: 60px 70px;
    position: relative;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.newsletter-body h3 {
    color: var(--color-white);
}

.newsletter-body h3 em {
    font-family: var(--font-secondary);
}

.btn-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
}
.close-modal {
    text-align: center;
    border-radius: 100%;
    margin: 5px;
    width: 25px;
    height: 25px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal-newsletter .modal-header, #modal-newsletter .modal-body {
    padding: 24px;
}

.modal-content {
    border: none !important;
}

.newsletter-body form {
    margin-top: 300px;
    min-width: 600px;
}

.newsletter-body form .news-wrap {
    position: relative;
}

.newsletter-body form input[type="email"] {
    width: 100%;
    padding: 20px 23px;
    line-height: 1;
    color: var(--color-black);
    border: 0;
    font-size: 16px;
    border-radius: 50px;
    font-weight: 500;
}

.newsletter-body form button {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 48px;
    transform: translateY(-50%);
    height: 48px;
    border-radius: 100%;
}

.newsletter-body form button:hover img {
    filter: invert(1);
}

.newsletter-body .newsletter-privacy {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 20px;
    gap: 7px;
}

.newsletter-body .newsletter-privacy input {
    width: 20px;
    height: 20px;
    border: 0;
}

.newsletter-body .newsletter-privacy label {
    font-size: 12px;
    color: var(--color-white);
    font-weight: 300;
}

.newsletter-body .newsletter-privacy a {
    color: var(--color-white);
    text-decoration: underline;
}

.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
}


/* FOOTER */
footer {
    padding-top: 45px;
    border-top: 1px solid var(--stroke);
    font-size: 14px;
}

footer a {
    transition: all .3s ease-in-out;
}

footer a:hover {
    text-decoration: underline;
}

footer .footer_row {
    display: flex;
    flex-direction: column;
}

footer .footer-up {
    padding-bottom: 65px;
    border-bottom: 1px solid var(--stroke);
}

footer .footer-bottom {
    margin: 32px 0 175px 0;
}

footer h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}


/* AUTOCOMPLETE */
.ui-widget-content {
    background: var(--color-white);
    z-index: 999;
    list-style: none;
    padding-left: 0;
    width: fit-content !important;
    /* left: 0 !important; */
    border: 1px solid var(--stroke);
    /* box-shadow: 0px 0px 15px var(--stroke); */
}

.ui-widget-content li {
    cursor: pointer;
    width: 738px;
}

.ui-widget-content li a {
    padding: 8px 0 8px 20px;
}

.ui-menu .ui-menu-item-wrapper {
	font-size: 16px;
	border-bottom: 1px solid var(--gray);
	display: block;
}

.ui-menu .ui-menu-item:last-of-type .ui-menu-item-wrapper {
	border-bottom: 0;
}


/* CSS GENERALE PER LA PAGINA TEMPLATE AUTO */
.vehicles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 27px;
    row-gap: 37px;
}

.vehicle-results-count {
    font-size: var(--fs-text);
    font-weight: 500;
}

.vehicle-results-count span {
    font-weight: 700;
}

.vehicle-filter-bar-form {
    margin-bottom: 40px;
}

.vehicle-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.vehicle-filter-pill-wrap {
    position: relative;
}

.vehicle-filter-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 30px;
    border: 1px solid var(--stroke);
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 15px;
    cursor: pointer;
}

.vehicle-filter-pill::after {
    content: "";
    position: absolute;
    right: 15px;
    bottom: 40%;
    width: 7px;
    height: 7px;
    border-right: 1px solid var(--color-black);
    border-bottom: 1px solid var(--color-black);
    transform: rotate(-45deg);
    pointer-events: none;
    transition: all .3s ease-in-out;
}

.vehicle-filter-pill.has-count {
    border-color: var(--color-black);
}

.vehicle-filter-pill--all::after {
    display: none;
}

.vehicle-filter-icon {
    font-size: 15px;
}

.vehicle-filter-count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
}

.vehicle-filter-reset {
    color: #111;
    text-decoration: underline;
}

.vehicle-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vehicle-filter-dropdown {
    position: absolute;
    top: 58px;
    left: 0;
    z-index: 50;
    display: none;
    width: 280px;
    padding: 22px;
    border: 1px solid #eee;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--box-shadow);
}

.vehicle-filter-pill-wrap.is-open .vehicle-filter-dropdown {
    display: block;
}

.vehicle-filter-pill-wrap.is-open .vehicle-filter-pill::after {
    transform: rotate(45deg);
}

.vehicle-filter-dropdown--price {
    width: 390px;
}

.vehicle-filter-dropdown__title {
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 700;
}

.vehicle-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
}

.vehicle-filter-dropdown__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 24px -22px -22px;
    padding: 18px 22px;
    background: #fafafa;
    border-radius: 0 0 18px 18px;
}

.vehicle-filter-dropdown__actions a {
    color: #111;
    text-decoration: none;
}

.vehicle-filter-dropdown__actions button,
.vehicle-filter-apply {
    height: 44px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    cursor: pointer;
}

.vehicle-filter-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.vehicle-filter-fields--two {
    grid-template-columns: repeat(2, 1fr);
}

.vehicle-filter-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.vehicle-filter-field input,
.vehicle-filter-field select,
.vehicle-filter-select-list select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #f7f7f7;
}

.vehicle-filters-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.vehicle-filters-modal.is-open {
    display: block;
}

.vehicle-filters-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.vehicle-filters-modal__panel {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    transform: translate(-50%, -50%);
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
}

.vehicle-filters-modal__header,
.vehicle-filters-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: #fff;
}

.vehicle-filters-modal__header {
    border-bottom: 1px solid #eee;
}

.vehicle-filters-modal__header h3 {
    margin: 0;
    font-size: 22px;
}

.vehicle-filters-modal__close {
    border: 0;
    background: transparent;
    font-size: 34px;
    cursor: pointer;
}

.vehicle-filters-modal__body {
    padding: 24px;
    overflow-y: auto;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vehicle-filters-modal__footer {
    border-top: 1px solid #eee;
}

.vehicle-filter-clear-all {
    color: #111;
    text-decoration: underline;
}

.vehicle-range-slider {
    height: 4px;
    margin: 30px 8px 28px;
    background: var(--color-black);
    border: 0;
    border-radius: 999px;
    position: relative;
}

.vehicle-range-slider.ui-widget-content {
    width: auto !important;
}

.vehicle-range-slider .ui-slider-range {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--color-primary);
    border-radius: 999px;
    z-index: 1;
}

.vehicle-range-slider .ui-slider-handle {
    position: absolute;
    width: 14px;
    height: 14px;
    top: -5px;
    margin-left: -7px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    z-index: 2;
}

.vehicle-range-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.vehicle-range-value-box label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
}

.vehicle-range-value-box span {
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0 18px;
    background: #f4f4f4;
    border-radius: 10px;
    font-weight: 600;
}


.vehicle-filters-group {
    margin-bottom: 26px;
}

.vehicle-filters-group h4 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 500;
}

.vehicle-button-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vehicle-button-option {
    position: relative;
}

.vehicle-button-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vehicle-button-option label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    min-width: 42px;
    padding: 8px 14px;
    border: 1px solid var(--color-black);
    border-radius: 50px;
    background: #fff;
    color: var(--color-black);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.vehicle-button-option input:checked + label {
    background: var(--color-black);
    color: #fff;
    border-color: var(--color-black);
}

.vehicle-button-option label:hover {
    background: var(--color-black);
    color: #fff;
}

.vehicle-filter-select {
    position: relative;
    display: inline-block;
}

.vehicle-filter-select select {
    height: 50px;
    min-width: 190px;
    padding: 0 42px 0 18px;
    border: 1px solid var(--color-black);
    border-radius: 50px;
    background-color: #fff;
    color: var(--color-black);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.vehicle-filter-select::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1px solid var(--color-black);
    border-bottom: 1px solid var(--color-black);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
    transition: all .3s ease-in-out;
}

.vehicle-active-filters {
    margin-top: 15px;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vehicle-active-filter-tag:first-of-type {
    /* border: 1px solid var(--color-black); */
    padding: 0px 15px 0 0;
    /* border-radius: 50px; */
}

.vehicle-active-filter-tag {
    /* border: 1px solid var(--color-black); */
    padding: 0px 15px;
    /* border-radius: 50px; */
}

.vehicle-active-filter-tag span {
    font-size: var(--fs-text);
    color: var(--light-text);
    margin-right: 6px;
}

.vehicle-orderby {
    position: relative;
}

.vehicle-orderby select {
    appearance: none;
    padding: 12px 44px 12px 18px;
    border: 1px solid #dfe3ea;
    border-radius: 999px;
    background-color: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    box-shadow: none;
}

.vehicle-orderby .select-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    display: flex;
    align-items: center;
    transform: translateY(-50%) rotate(270deg);
    pointer-events: none;
    transition: transform 0.3s ease-in-out;
}

#vehicle-orderby.is-open + .select-icon {
    transform: translateY(-50%) rotate(360deg);
}



/* SINGOLO VEICOLO */
.single-vehicle__head-up {
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.vehicle-gallery {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 10px;
    margin-bottom: 40px;
}

.vehicle-gallery__main {
    position: relative;
}

.vehicle-gallery__side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.vehicle-gallery__item {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: #f4f4f4;
}

.vehicle-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vehicle-gallery__item--main {
    /* height: 540px; */
}

.single-vehicle__description-text p {
    margin: 0 0 18px;
}

.single-vehicle__description-text p:last-child {
    margin-bottom: 0;
}

.vehicle-gallery__item--thumb {
    height: 173px;
}

.vehicle-gallery__button {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    gap: 6px;
    display: inline-flex;
    align-items: center;
}

.vehicle-gallery__button-icon {
    display: inline-flex;
    align-items: center;
}

.vehicle-gallery__hidden {
    display: none;
}

.single-vehicle__head {
    padding-bottom: 40px;
}

.single-vehicle .info {
    font-size: var(--fs-card-title);
    color: var(--text-light);
    font-weight: 500;
}

.single-vehicle__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.vehicle-spec-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--stroke);
    border-radius: 22px;
    background: #fff;
}

.vehicle-spec-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--text-light);
    color: var(--color-black);
    font-size: 18px;
    flex: 0 0 42px;
}

.vehicle-spec-card__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vehicle-spec-card__label {
    font-size: var(--fs-text);
    color: var(--text-light);
}

.vehicle-spec-card__value {
    font-size: var(--fs-body);
    color: var(--color-black);
}

.single-vehicle__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.single-vehicle__badges span {

    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background-color: transparent;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;

    /*
    padding: 6px 36px;
    border: 1px solid var(--stroke);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    */
}

.section-single-vehicle {
    padding: 40px 0;
    border-top: 1px solid var(--stroke);
}

.section-single-vehicle:last-child {
    padding-bottom: 0;
}


.card-sticky {
    position: sticky;
    top: 10px;
}

.card-sticky__image {
    display: none;
    overflow: hidden;
}

.card-sticky__image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.card-sticky.is-stuck .card-sticky__image {
    display: block;
    animation: stickyImageFadeIn 0.25s ease;
}

@keyframes stickyImageFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-sticky.has-placeholder .card-sticky__image {
    display: block;
    animation: none;
    transition: none;
}

.card-price {
    border: 1px solid var(--stroke);
    /* box-shadow: var(--box-shadow); */
    border-radius: 22px;
    overflow: hidden;
}

.card-price-body {
    padding: 20px;
}

.card-price-body .car-card__tags {
    margin-bottom: 20px;
}

.card-price__label {
    /* font-size: var(--fs-section-title);
    color: var(--color-black);
    margin-bottom: 8px;
    font-weight: 600; */
}

.btn-request {
    margin-top: 16px;
}

.single-vehicle-equipment {
    padding: 50px 0;
}

.vehicle-equipment {
    padding: 34px;
    border: 1px solid #ececec;
    border-radius: 24px;
    background: #fff;
}

.vehicle-equipment__head {
    margin-bottom: 24px;
}

.vehicle-equipment__eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.vehicle-equipment__head h2 {
    margin: 0;
    color: var(--color-black);
    font-size: 34px;
    font-weight: 700;
}

.vehicle-equipment__tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding: 6px;
    border: 1px solid #e7e7e7;
    border-radius: 999px;
    background: #f8f8f8;
}

.vehicle-equipment__tab {
    min-height: 42px;
    padding: 8px 22px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--color-black);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.vehicle-equipment__tab.is-active {
    background: var(--color-black);
    color: #fff;
}

.vehicle-equipment__panel {
    display: none;
}

.vehicle-equipment__panel.is-active {
    display: block;
}

.vehicle-equipment__list-wrap {
    position: relative;
    overflow: hidden;
    max-height: 245px;
}

.vehicle-equipment__list-wrap.is-expanded {
    max-height: none;
}

.vehicle-equipment__list-wrap::after {
    content: none;
}

.vehicle-equipment__list-wrap.has-show-more::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
    pointer-events: none;
}

.vehicle-equipment__list-wrap.has-show-more.is-expanded::after {
    content: none;
}

.vehicle-equipment__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    padding-bottom: 22px;
}

.vehicle-equipment__list li {
    position: relative;
    padding-left: 35px;
    color: var(--color-black);
    font-size: 15px;
    margin-left: 8px;
}

.vehicle-equipment__list li::before {
    content: url(../img/check.svg);
    position: absolute;
    left: 0;
}

.vehicle-equipment__show-more {
    margin-top: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-black);
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.vehicle-detail-head {
    margin-bottom: 34px;
}

.vehicle-detail-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.vehicle-detail-head h3 {
    margin: 0;
    color: var(--color-black);
    font-size: 36px;
    font-weight: 700;
}

.vehicle-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.vehicle-detail-box {
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--stroke);
    /* box-shadow: var(--box-shadow); */
}

.vehicle-detail-box__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.vehicle-detail-box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-black);
    color: #fff;
    font-size: 17px;
}

.vehicle-detail-box__head h4 {
    margin: 0;
    color: var(--color-black);
    font-size: 21px;
    font-weight: 700;
}

.vehicle-detail-list {
    display: flex;
    flex-direction: column;
}

.vehicle-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid #ececec;
}

.vehicle-detail-item:last-child {
    border-bottom: 0;
}

.vehicle-detail-item span {
    color: #6d6d6d;
    font-size: 15px;
}

.vehicle-detail-item strong {
    color: var(--color-black);
    font-size: 15px;
    font-weight: 700;
    text-align: right;
}

.vehicle-request__head {
    margin-bottom: 26px;
}

.vehicle-request__eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--color-primary);
    font-size: var(--fs-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
/* 
.vehicle-request__head h3 {
    margin: 0 0 8px;
    color: var(--color-black);
    font-size: 32px;
    font-weight: 800;
} */

.vehicle-request__head p {
    font-size: var(--fs-card-title);
    color: var(--text-light);
    font-weight: 500;
}

form input:not([type="checkbox"], [type="submit"]),
form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #ddd;
    background: #fff;
    color: var(--color-black);
}

form textarea {
    border-radius: 14px;
}

form textarea {
    min-height: 130px;
    resize: vertical;
}

form .vehicle-request-form textarea {
    max-height: 120px;
}


.vehicle-request-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.vehicle-request-form__privacy input {
    width: auto;
    margin-top: 3px;
}

.wpcf7-list-item {
    margin: 0;
}


.au-floating-action-button.svelte-11ca6h8 {
    z-index: 9999 !important;
}

.au-modal__content.svelte-b8gj2w>.au-modal__close.svelte-b8gj2w {
    right: 25px !important;
    top: 25px !important;
}

.vehicle-mobile-side-swiper {
    overflow: hidden;
}

.vehicle-mobile-side-gallery__item {
    display: block;
    overflow: hidden;
    border-radius: 20px;
    background: #f5f5f5;
}

.vehicle-mobile-side-gallery__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.vehicle-mobile-gallery-prev,
.vehicle-mobile-gallery-next {
    width: 42px;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vehicle-mobile-gallery-prev img,
.vehicle-mobile-gallery-next img {
    width: 14px;
}

.vehicle-mobile-gallery-prev img {
    transform: scaleX(-1);
}

@media (min-width: 992px) {
    .vehicle-mobile-side-gallery-section {
        display: none !important;
    }
}




/* CSS PAGINA SERVICE */
.service-nav {
    padding: 40px 0 10px;
}

.service-nav .container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.service-nav a {
    padding: 12px 22px;
    border: 1px solid #dfe3ea;
    border-radius: 999px;
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.service-nav a:hover {
    background: #e30613;
    border-color: #e30613;
    color: #fff;
}

.service-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.service-section {
    padding-bottom: 70px;
}

.service-section.is-reversed .service-section__image {
    order: 2;
}

.service-section__image img {
    width: 100%;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.service-sections .eyelet {
    font-size: var(--fs-section-eyelet);
    margin-bottom: 20px;
    font-weight: 500;
}

.service-section__content h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
}

.service-section__text {
    margin-bottom: 30px;
}

.service-section__text p:not(:last-of-type) {
    margin-bottom: 16px;
}

.service-form-section {
    position: relative;
    /* color: #fff; */
}

.service-form-section.js-before-left::after {
    display: block;
    height: 100%;
    background-color: var(--bg-light);
    content: " ";
    left: var(--before-left, 0);
    top: 0;
    bottom: 0;
    position: absolute;
    width: 100vw;
    z-index: -1;
}


/* CSS PAGINE SEDI */
.img-office img {
    height: 240px;
    object-fit: cover;
}


/* BOTTONE WISHLIST */
.car-card__compare {
    position: relative;
}

.wishlist-icon {
    position: relative;
    /* display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px; */
}

.wishlist-icon__refresh {
    transition: transform 0.35s ease, opacity 0.2s ease;
}

.wishlist-icon__check {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 900;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.2s ease, transform 0.25s ease;
}

.wishlist-icon__check img {
    height: 20px;
}

.car-card__compare:hover .wishlist-icon__refresh {
    transform: rotate(180deg);
}

.car-card__compare.is-active .wishlist-icon__refresh {
    opacity: 0;
    transform: rotate(180deg) scale(0.4);
}

.car-card__compare.is-active .wishlist-icon__check {
    opacity: 1;
    transform: scale(1);
}

.car-card__compare.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

.car-card__compare.is-loading .wishlist-icon__refresh {
    animation: wishlist-spin 0.7s linear infinite;
}

@keyframes wishlist-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.wishlist-toast-wrap {
    position: fixed;
    right: 12px;
    top: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wishlist-toast {
    min-width: 280px;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--color-success);
    color: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    text-align: center;
    transform: translateY(18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.wishlist-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.wishlist-toast.is-remove {
    background: var(--color-danger);
}

.wishlist-toast__link {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 575px) {
    .wishlist-toast-wrap {
        right: 15px;
        bottom: 15px;
        left: 15px;
    }

    .wishlist-toast {
        min-width: 0;
        width: 100%;
    }
}

.ui-autocomplete .ui-menu-item-wrapper {
    cursor: pointer;
    color: #000;
    border: 0 !important;
    margin: 0 !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ui-autocomplete .ui-menu-item-wrapper:hover,
.ui-autocomplete .ui-menu-item-wrapper.ui-state-active {
    background: var(--stroke);
    color: #000;
    border: 0 !important;
    margin: 0 !important;
}



/* CSS AUTO-PERIZIA */
.form-perizia form {
    display: flex;
    justify-content: center;
}

.vehicle-survey {
    width: 85%;
}

.rating-range-field {
    position: relative;
}

.rating-range-field .form-label {
    font-weight: 700;
    margin-bottom: 18px;
}

.range-rating-wrap {
    position: relative;
    padding-top: 26px;
}

.range-rating-bubble {
    position: absolute;
    top: -5px;
    left: 0;
    transform: translateX(-50%);
    min-width: 74px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: left 0.15s ease;
}

.range-rating-wrap .form-range {
    --range-progress: 0%;
    height: 8px;
    padding: 0;
    background: transparent;
}

.range-rating-wrap .form-range::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(
        to right,
        var(--color-primary) 0%,
        var(--color-primary) var(--range-progress),
        #dfe3ea var(--range-progress),
        #dfe3ea 100%
    );
}

.range-rating-wrap .form-range::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    margin-top: -7px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 0;
    cursor: pointer;
}

.range-rating-wrap .form-range::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: #dfe3ea;
}

.range-rating-wrap .form-range::-moz-range-progress {
    height: 8px;
    border-radius: 999px;
    background: var(--color-primary);
}

.range-rating-wrap .form-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 0;
    cursor: pointer;
}

.range-rating-stars {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: var(--color-primary);
    font-size: 14px;
    line-height: 1;
}

.field-col--date,
.date-field {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.date-field {
    position: relative;
}

.date-field__input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 54px;
    box-sizing: border-box;
    padding-right: 48px;
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
}

.date-field__icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--color-black);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    pointer-events: none;
}

.date-field__input::-webkit-calendar-picker-indicator {
    opacity: 0;
}

.date-field__input::-webkit-date-and-time-value {
    text-align: left;
}


/* CSS PAGINA SEARCH/RICERCA */

.search-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.search-page__head form {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.search-page__head form button {
    min-width: 220px;
}

.search-card__image {
    flex: 0 0 auto;
}

.search-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;

}

.search-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-card__title {
    margin-bottom: 18px;
}

.search-card__excerpt {
    margin-bottom: 20px;
}

.search-card__link,
.search-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.widget_search form {
    display: flex;
    gap: 30px;
}

.widget_search input {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
    transition: all .3s ease-in-out;
    width: 30%;
}
.widget_search input:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.search-page__empty p {
    margin: 16px 0;
}


/* CSS PAGINA 404 */
.page-404 h3 {
    font-size: var(--fs-section-title-large);
}


/* CSS PAGINA CONTATTI */
.section-contacts .wp-block-column:first-child {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
}

.section-contacts .card {
    padding: 16px;
    border-radius: 18px;
}

.section-contacts .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* CSS PAGINA GRUPPO */
.img-group {
    width: 100%;
    height: 100%;
}

.img-group img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    align-items: stretch;
    margin-bottom: 28px;
    /* border: 1px solid var(--stroke); */
    /* border-radius: 24px; */
    background: #fff;
    overflow: hidden;
}

.office-showcase:last-child {
    margin-bottom: 0;
}

.office-showcase--reverse {
    grid-template-columns: minmax(360px, 1fr) minmax(0, 1fr);
}

.office-showcase--reverse .office-showcase__image {
    order: 2;
}

.office-showcase--reverse .office-showcase__content {
    order: 1;
}

.office-showcase__image {
    min-height: 310px;
    overflow: hidden;
}

.office-showcase__image img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
    display: block;
}

.office-showcase__content {
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.office-showcase__content h3 {
    color: var(--color-black);
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.office-showcase__text {
    margin-bottom: 10px;
    color: var(--color-text);
    font-size: var(--fs-subtitle);
    font-weight: 500;
    line-height: 1.6;
}

.office-showcase__info p {
    margin-bottom: 15px;
    /*font-size: 15px;*/
}

.office-showcase__text p:last-child {
    margin-bottom: 0;
}

.office-showcase__content .btn {
    margin-top: 8px;
}


.section-group h3 {
    font-size: var(--fs-section-title);
}

.section-group h3 em {
    font-family: var(--font-secondary);
}

.section-group .eyelet {
    width: 44%;
    margin: 20px 0 50px 0;
}

.box-group {
    margin-top: 20px;
}

.box-group__item {
    border: 1px solid var(--stroke);
    padding: 28px 24px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.number-box {
    font-size: 36px;
    color: var(--stroke);
    font-weight: 500;
}

.box-group__head h4 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 14px;
    margin-bottom: 0;
    line-height: 1;
}

.box-group__footer p {
    margin-top: 14px;
}

.box-group__footer img, .box-group__head img {
    width: 48px;
    height: 48px;
}

.box-group__head {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.group-vehicles-cta {
    position: relative;
    min-height: 300px;
    padding: 48px 56px;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
    background: #111;
}

.group-vehicles-cta__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.group-vehicles-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.3) 48%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
}

.group-vehicles-cta__content,
.group-vehicles-cta__actions {
    position: relative;
    z-index: 2;
}

.group-vehicles-cta__content {
    max-width: 560px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


.group-vehicles-cta__title h1,
.group-vehicles-cta__title h2,
.group-vehicles-cta__title h3,
.group-vehicles-cta__title p {
    margin: 0;
    color: #fff;
}

.group-vehicles-cta__eyelet {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.5;
}

.group-vehicles-cta__actions {
    flex: 0 0 auto;
}

.group-vehicles-cta__actions .btn {
    min-width: 190px;
}


.section-promo {
    position: relative;
}

.promo-box {
    --promo-bg-image: none;

    position: relative;
    padding: 45px 50px;
    border-radius: 14px;
    overflow: hidden;

    background-color: #DC0D15;
    background-image:
        linear-gradient(
            110deg,
            rgba(220, 13, 21, 1) 0%,
            rgba(182, 7, 14, 0.98) 42%,
            rgba(105, 3, 9, 0.96) 72%,
            rgba(39, 1, 4, 0.98) 100%
        );

    color: #fff;
}

.promo-box--has-bg {
    background-image:
        linear-gradient(
            90deg,
            rgba(220, 13, 21, 1) 0%,
            rgba(220, 13, 21, 0.96) 35%,
            rgba(151, 5, 12, 0.86) 60%,
            rgba(50, 1, 5, 0.58) 100%
        ),
        var(--promo-bg-image);

    background-repeat: no-repeat;
    background-position:
        center,
        center right;
    background-size:
        cover,
        cover;
}

.promo-box__content {
    position: relative;
    z-index: 2;
}

.promo-box__badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    margin-bottom: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.promo-box__title {
    max-width: 520px;
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.05;
}

.promo-box__text {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.6;
}

.promo-box__text p:last-child {
    margin-bottom: 0;
}

.promo-box__actions {
    margin-top: 25px;
}

.promo-box__sales {
    position: relative;
    z-index: 2;
}

.promo-box__sale {
    position: relative;
    padding: 10px 4px;
}

.promo-box__sale-value {
    color: var(--color-white);
    font-size: clamp(31px, 4vw, 45px);
    font-weight: 700;
    line-height: 1;
}

.promo-box__sale-description {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    line-height: 1.3;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .promo-box {
        padding: 35px 30px;
    }

    .promo-box__sales {
        max-width: 500px;
    }
}

@media (max-width: 575.98px) {
    .promo-box {
        padding: 28px 20px;
        border-radius: 10px;
    }

    .promo-box__title {
        font-size: 28px;
    }

    .promo-box__sale-value {
        font-size: 28px;
    }

    .promo-box__sale-label {
        font-size: 9px;
    }

    .promo-box__sale-description {
        font-size: 8px;
    }
}



/* Barra filtri sticky */
#vehicle-filters-wrapper {
    --filters-sticky-top: 20px;

    position: sticky;
    top: var(--filters-sticky-top);
    z-index: 100;

    padding: 18px 20px;
    margin-bottom: 24px;

    background: #fff;
    border: 1px solid var(--stroke, #e5e7eb);
    border-radius: 20px;

    transition: box-shadow .25s ease, border-color .25s ease;
}

/* Elimina il margine interno già previsto dal form */
#vehicle-filters-wrapper .vehicle-filter-bar-form {
    margin-bottom: 0;
}

/* Aspetto durante lo scorrimento */
#vehicle-filters-wrapper.is-stuck {
    border-color: #d9dde3;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

/* Filtri selezionati su una riga scorrevole */
#vehicle-filters-wrapper .vehicle-active-filters {
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 14px;
    padding: 12px 0 4px;
    border-top: 1px solid var(--stroke, #e5e7eb);
    overflow-x: auto;
}

/* Etichette dei filtri attivi */
#vehicle-filters-wrapper .vehicle-active-filter-tag {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;

    padding: 6px 12px;
    /* border: 1px solid #f3c7ca; */
    border-radius: 999px;
    /* background: #fff5f5; */

    /* color: var(--color-primary); */
    text-decoration: none;
    white-space: nowrap;
}

#vehicle-filters-wrapper .vehicle-active-filter-tag span {
    margin: 0;
    color: inherit;
}

/* #vehicle-filters-wrapper .vehicle-active-filter-tag:hover {
    background: #ffe8e9;
} */

/* Mantiene la modale "Tutti i filtri" sopra gli altri elementi */
#vehicle-filters-wrapper:has(.vehicle-filters-modal.is-open) {
    z-index: 10000;
}

@media (prefers-reduced-motion: reduce) {
    #vehicle-filters-wrapper {
        transition: none;
    }
}

.vehicle-list-notes p {
    opacity: .7;
    font-size: .8rem;
    line-height: 1rem;
}
