@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&display=swap');

:root {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    --body-font-size: 16px;
    --font-22: 22px;
    --semi-bold: 600;
    --black: #000;
    --white: #fff;
    --primary-color: #E73652;
    --secondary-color: #2A3137;
    --gray: #dddddd;
    --dark: #131D27;
    --color-range: #D9D9D9;
    --light-gray: rgba(217, 217, 217, 0.2);
    --green: #47B294;
    --border: 1px solid #2A3137;

    /* Font body */
    --body-font-family: 'Albert Sans', sans-serif;

    /* Font heading */
    --heading-font-family: 'Outfit', sans-serif;
}

.border-gray {
    border: 1px solid var(--gray) !important;
}

.cursor-pointer {
    cursor: pointer;
}

.onetap-container-toggle .onetap-toggle {
    z-index: 999999 !important;
}

.modal {
    z-index: 9999999 !important;
}

img {
    max-width: 100%;
}

[id] {
    scroll-margin-top: 140px;
}

.card {
    border-radius: 3px !important;
}

.br-3 {
    border-radius: 3px !important;
}

.bg-red {
    background-color: var(--primary-color);
}

.bg-blue {
    background-color: var(--secondary-color);
}

.bg-dark {
    background-color: var(--dark);
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.color-gray {
    color: var(--gray);
}

.color-red {
    color: var(--primary-color);
}

.bg-green {
    background-color: var(--green);
}

[class*="bg-"]:not(.bg-light-gray) :is(h1, h2, h3, h4, h5, h6, svg g, path, a, span) {
    color: var(--white);
    fill: var(--white);
}

[class*="bg-"]:not(.bg-light-gray) a::after {
    filter: invert(1);
}


.section-gray {
    position: relative;
}

.section-gray::before {
    content: " ";
    left: var(--before-left, 0);
    top: 0;
    bottom: 0;
    background-color: var(--light-gray);
    position: absolute;
    width: 100vw;
    z-index: -1;
}

p {
    margin: 0;
}

form:not(.vehicles-filters-form-mobile) {
    margin-top: 16px;
}

form label, form .field-col {
    margin-bottom: 16px;
}

form .js-filter-menu label {
    margin-bottom: 0;
}

.gap-10 {
    gap: 10px;
}

.gap-12 {
    gap: 12px;
}

.gap-20 {
    gap: 20px;
}

.gap-50 {
    gap: 50px;
}

.gap-52 {
    gap: 52px;
}

.gap-70 {
    gap: 70px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-50 {
    margin-top: 50px;
}

.fs-14 {
    font-size: 14px;
}

.fs-20 {
    font-size: 20px;
}

.fs-22 {
    font-size: 22px;
}

.fs-40 {
    font-size: 40px;
}

.fs-48 {
    font-size: 48px;
}

:where(.wp-block-columns) {
    margin: 0;
}

.overflow-unset {
    overflow: unset !important;
}

form.wpcf7-form label:not(.cust-checkbox-label.checkbox-agree) {
    margin-bottom: 8px;
}

.wpcf7-response-output {
    margin-left: 0;
    margin-right: 0;
}

input.form-check-input {
    cursor: pointer;
}

body {
    font-family: var(--body-font-family);
    color: var(--secondary-color);
    font-size: var(--body-font-size);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-family: var(--heading-font-family);
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    position: relative;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
select {
    width: 500px;
    height: 50px;
    flex: none;
    order: 0;
    flex-grow: 0;
    padding-left: 20px;
    border: 0;
    border-radius: 3px;
}

textarea {
    order: 0;
    flex-grow: 0;
    padding: 20px;
    border: 0;
    border-radius: 3px;
}

/* CSS per spinner caricamento veicoli */
#vehicle-load-more-trigger {
    text-align: center;
    padding: 30px 0;
}

.single-vehicle #vehicle-load-more-trigger {
    padding: 0;
}

.load-more-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#vehicle-load-more-trigger.is-loading .load-more-spinner {
    display: flex;
}

.spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #ddd;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-text {
    font-size: 14px;
    color: #666;
}

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


/* CSS Bottoni */
button, button[type="sumbit"] {
    border: 0 !important;
}

button.btn-red:active, button[type="sumbit"].btn-red:active {
    background-color: var(--secondary-color) !important;
}


.my-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
    height: 50px;
    border-radius: 3px;
    border: 0;
    transition: all 0.3s ease;
    color: var(--white);
    text-transform: uppercase;
    font-weight: var(--semi-bold);
    letter-spacing: 8%;
    font-size: 12px;
    text-align: center;
    width: fit-content;
}

.btn-tertiary {
    border: var(--border) !important;
    background: transparent;
    color: var(--secondary-color);
}

.btn-tertiary img {
    transition: all .3s ease;
}

.btn-tertiary:hover {
    color: var(--white);
    background: var(--secondary-color);
}

.btn-tertiary:hover img {
    filter: invert(0);
}

.filter-pill select,
.filters-toolbar button,
button.filter-pill,
.filter-pill.filter-pill--reset,
.mobile-search-input,
.filters-side .btn-filter,
.btn-filter:not(.btn-filter-reset) {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
    height: 50px;
    border-radius: 3px;
    border: 0;
    transition: all 0.3s ease;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: var(--semi-bold);
    letter-spacing: 8%;
    font-size: 12px;
    text-align: center;
    border: 1px solid var(--secondary-color) !important; 
    background: transparent;
}

.btn-red {
    background: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
}

.btn-green {
    background: var(--green);
}

.btn-red:hover, .gallery-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--primary-color);
}

.btn-green:hover {
    background: var(--secondary-color);
}

.wp-block-button__link.wp-element-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
    height: 50px;
    border-radius: 3px;
    border: 0;
    transition: all 0.3s ease;
    color: var(--white);
    text-transform: uppercase;
    font-weight: var(--semi-bold);
    letter-spacing: 8%;
    font-size: 12px;
    text-align: center;
    background: var(--primary-color);
}

.wp-block-button__link.wp-element-button:hover {
    background: var(--secondary-color);
}

input[type="submit"] {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
    height: 50px;
    border-radius: 3px;
    border: 0;
    transition: all 0.3s ease;
    color: var(--white);
    text-transform: uppercase;
    font-weight: var(--semi-bold);
    letter-spacing: 8%;
    font-size: 12px;
    text-align: center;
    background: var(--primary-color);
}

input[type="submit"]:hover {
    background: var(--secondary-color);
}

a[target="_blank"]::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 3px;
    background-image: url(../img/arrow-top-right.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    top: -7px;
}

/* a.btn-red[target="_blank"]::after,
a.btn-secondary[target="_blank"]::after,
a.btn-green[target="_blank"]::after,
a.btn-tertiary::after[target="_blank"]::after {
    content: none;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 3px;
    background-image: url(../img/arrow-top-right-white.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    top: -7px;
} */

a.my-btn[target="_blank"]::after {
    content: none;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 3px;
    background-image: url(../img/arrow-top-right-white.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    top: -7px;
}

.section-ptb {
    padding-top: 60px;
    padding-bottom: 60px;
}

.swiper-pagination-lock {
    display: none !important;
}

/* CSS per container custom */
.container-custom {
    max-width: 1820px;
    width: 100%;
    padding-right: max(24px, calc(var(--bs-gutter-x) * .5));
    padding-left: max(24px, calc(var(--bs-gutter-x) * .5));
    margin-right: auto;
    margin-left: auto;
}

/* COVER */
.breadcrumb-bg {
    height: 100%;
    width: 100%;
    object-fit: cover;
}



.player {
    position: absolute;
    bottom: 15px;
    right: 15px;
    filter: invert(1);
    width: 40px;
    height: 40px;
    z-index: 999;
    cursor: pointer;
}



/* HEADER */
header {
    padding: 25px 0;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    transition: all 0.3s ease;
}

header.header-scrolled {
    box-shadow: 8px 14px 38px rgb(39 44 49 / 4%), 1px 3px 8px rgb(39 44 49 / 4%);
}

.theme-logo img {
    height: 80px;
}

.menu-ul {
    gap: 60px;
    list-style: none;
    margin: 0;
}

.menu-ul li a {
    text-decoration: none;
    color: var(--black);
    font-size: var(--font-22);
    font-weight: var(--semi-bold);
}

#nav-icon3-close {
    right: 55px;
}

#nav-icon3,
#nav-icon3-close {
    width: 24px;
    height: 16px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 99999;
}

#nav-icon3 span,
#nav-icon3-close span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--black);
    border-radius: 10px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}


#nav-icon3 span:nth-child(1),
#nav-icon3-close span:nth-child(1) {
    top: 0px;
}

#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3),
#nav-icon3-close span:nth-child(2),
#nav-icon3-close span:nth-child(3) {
    top: 8px;
}

#nav-icon3 span:nth-child(4),
#nav-icon3-close span:nth-child(4) {
    top: 16px;
}

#nav-icon3.open span:nth-child(1),
#nav-icon3-close.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

#nav-icon3.open span:nth-child(2),
#nav-icon3-close.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3),
#nav-icon3-close.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4),
#nav-icon3-close.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.btn-sticky {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1000;
}

.btn-sticky .my-btn {
    width: 100%;
    border-radius: 0;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
}

.btn-sticky .icon-invert {
    filter: invert(1);
}

.icon-invert {
    filter: invert(1);
}

.btn-sticky img {
    width: 18px;
    height: 18px;
}

.menu-side .modal-dialog {
    margin-left: auto;
    margin-right: 0;
    max-width: 460px;
    height: 100dvh;
    transform: translateX(100%) !important;
    transition: transform .3s ease;
}

.menu-side.show .modal-dialog {
    transform: translateX(0) !important;
}

.menu-side .modal-content {
    min-height: 100dvh;
    border-radius: 0;
    border: 0;
}

.menu-side .modal-content .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-header {
    height: 130px;
    justify-content: space-between;
}

.menu-ul-side {
    gap: 15px;
    list-style: none;
    padding: 0;
}

.menu-ul-side li,
.menu-ul-side_small li {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray);
}

.menu-ul-side li a {
    font-size: var(--font-22);
    font-weight: var(--semi-bold);
}

.menu-ul-side_small {
    gap: 8px;
    list-style: none;
    padding: 0;
}



/* Front Page - HOMEPAGE */
main {
    margin-bottom: 80px;
}

.vehicle-make-slide {
    border-radius: 3px;
    overflow: hidden;
    display: block;
}

/* Slider */
.swiper-slide {
    position: relative;
}

.single-landingpage .swiper-slide  {
    display: flex;
    justify-content: center;
}

.slider-image {
    width: auto;
    height: 520px;
    object-fit: cover;
}

.overlay-img {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* pointer-events: none; */
    background: linear-gradient(to left, transparent 0%, var(--secondary-color) 100%);
}

.slider-content-static {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
}

.slider-content-static form {
    display: flex;
    gap: 5px;
    margin: 20px 0 55px 0;
    flex-wrap: wrap;
}

.swiper-pagination-homeslider {
    display: flex;
    gap: 10px;
}

.swiper-pagination-homeslider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--white);
    opacity: 1;
    border-radius: 50%;
    transition: all .3s ease;
}

.swiper-pagination-homeslider .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.swiper-pagination {
    margin-bottom: 70px;
}

.swiper-pagination-bullet:only-child {
    display: block !important;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    left: auto;
}

/* Loghi Auto e Rental */
.rental-logo .grid-logo {
    gap: 40px;
}

.rental-logo-item {
    width: 88px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-logo-item {
    width: 130px;
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

.rental-logo-item {
    width: 120px;
}

.car-logo-item img {
    max-width: 200px;
    max-height: 80px;
    filter: grayscale(100%);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.rental-logo-item img {
    max-width: 95%;
    object-fit: contain;
    filter: grayscale(100%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.car-logo-item:hover img,
.rental-logo-item:hover img {
    filter: grayscale(0%);
}

.car-logo,
.rental-logo {
    margin: 60px 0;
}

.divider {
    height: 1px;
    width: 100%;
    background-color: var(--gray);
}

footer .divider {
    background-color: var(--white);
    opacity: 20%;
}

/* Slider vehicle */
main .section-vehicle:not(:last-child) {
    margin-bottom: 65px;
}

.vehicle-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.single-landingpage .vehicle-head {
   justify-content: center;
}

.vehicle-head a {
    text-decoration: underline;
}

.vehicle-title, .sedi h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.vehicle-nav {
    display: flex;
    gap: 6px;
}

.vehicle-prev,
.vehicle-next {
    width: 32px;
    height: 32px;
    border: 1px solid var(--secondary-color);
    background: var(--white);
    border-radius: 3px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.vehicle-prev img,
.vehicle-next img {
    height: 18px;
}

.swiper-button-disabled {
    opacity: 0.3;
    cursor: auto;
}

.vehicle-swiper {
    padding: 8px 0;
}

.vehicle-card {
    border: 1px solid var(--gray);
    border-radius: 4px;
    overflow: hidden;
    background: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vehicle-media {
    position: relative;
}

.vehicle-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-position: bottom;
    object-fit: cover;
    display: block;
}

.vehicle-make-slide.vehicle-media img {
    object-position: unset;
}

.vehicle-badge {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--white);
    font-size: 12px;
    letter-spacing: 8%;
    padding: 10px 20px;
    text-transform: uppercase;
    z-index: 2;
    border-radius: 3px;
}

.vehicle-badge.km0 {
    background: var(--white);
    color: var(--secondary-color) !important;
}

.vehicle-badge.ready {
    background: var(--primary-color);
}

.vehicle-badge.exclusive {
    background: var(--green);
}

.vehicle-badge.available {
    background: var(--secondary-color);
}

.vehicle-body {
    padding: 20px;
    display: flex;
    gap: 30px;
    flex-direction: column;
    flex: 1;
    border-top: 3px solid var(--primary-color);
}

.vehicle-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.vehicle-meta {
    margin-top: 5px;
    font-size: 16px;
    color: var(--secondary-color);
}

.vehicle-foot {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.vehicle-price-now {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
}

.vehicle-price-old {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: .65;
    text-decoration: line-through;
}

.vehicle-slider .swiper-slide {
    height: auto;
    /* display: flex; */
}

span.ext-link {
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
}


/* Banner */
.budget-banner {
    background: var(--secondary-color);
    color: var(--white);
    padding: 100px 0;
}

.budget-banner h3 {
    margin: 0;
}

.budget-banner__subtitle {
    font-weight: var(--semi-bold);
    font-size: 24px;
    margin-bottom: 35px;
}

.budget-banner__count-text {
    margin-bottom: 30px;
}

.budget-range {
    position: relative;
    margin-top: 30px;
    padding-top: 20px;
}

.budget-range__track {
    position: relative;
    height: 4px;
    background: rgba(255,255,255,0.35);
    border-radius: 999px;
}

.budget-range__fill {
    position: absolute;
    top: 0;
    height: 4px;
    background: var(--primary-color);
    border-radius: 999px;
}

.budget-range__input {
    position: absolute;
    left: 0;
    top: 10px;
    width: 100%;
    appearance: none;
    background: none;
    pointer-events: none;
}

.budget-range__input::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 0;
    pointer-events: auto;
    cursor: pointer;
}

.budget-range__input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 0;
    pointer-events: auto;
    cursor: pointer;
}

.budget-range__thumb {
    position: absolute;
    top: 12px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    display: none;
}

.budget-range__values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.budget-range__value {
    color: #fff;
    font-weight: 600;
}




/* Homepage - Sedi */
.sedi {
    margin-top: 65px;
}

.sede-item {
    border-radius: 3px;
    border: 1px solid var(--gray);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sede-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.home .sede-title {
    border-top: 3px solid var(--primary-color);
}

.sede-title {
    text-wrap: balance;
    padding-top: 15px;
}


/* Pagina - Le nostre sedi */
.section-office .card>img {
    border-bottom: 3px solid var(--primary-color);
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* FOOTER */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 95px 0;
}

footer a {
    color: var(--white);
}

footer a::after {
    filter: invert(1);
}

footer .list-icon {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

footer .menu-ft {
    gap: 10px;
    list-style: none;
    padding: 0;
}

footer .list-icon a::after,
footer .footer-contacts a::after,
footer .footer-copy a::after {
    content: none;
}


/* LANDING PAGE */
.single-landingpage p {
    font-size: 18px;
}

.single-landingpage .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    /* background: var(--white); */
    opacity: .5;
    border-radius: 50%;
    transition: all .3s ease;
}

.single-landingpage .swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

.single-landingpage #vehicle-archive-grid {
    justify-content: center;
}

.slider-landing {
    background-color: var(--secondary-color);
}

.slider-image.image-landing {
    height: auto;
    object-fit: cover;
}

.single-landingpage .swiper-pagination {
    margin: 0;
    bottom: -25px;
    justify-content: center;
}

.single-landingpage .wp-block-group {
    width: 50%;
    justify-self: center;
}

.single-landingpage section {
    position: relative;
}

.single-landingpage section:nth-of-type(even)::before {
    content: " ";
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: var(--light-gray);
    position: absolute;
    width: 100vw;
    z-index: -1;
}

.single-landingpage section:nth-of-type(odd) input:not([type="submit"]),
.single-landingpage section:nth-of-type(odd) textarea,
.single-landingpage section:nth-of-type(odd) select {
    border: 1px solid var(--secondary-color);
}

section:not(.section-info-contacts) .wp-block-columns .wp-block-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* padding: 30px; */
}

section:not(.section-info-contacts) .wp-block-columns .wp-block-column[class*="bg-"]:not(.bg-light-gray) {
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

section:not(.section-info-contacts) .wp-block-columns .wp-block-column .wp-block-buttons {
    margin-top: 25px;
}

.single-landingpage form {
    width: 50%;
    justify-self: center;
}

.wpcf7-list-item {
    margin: 0;
}

.contact-form-btn .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

#form :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 20px;
}

/* Template VEICOLI */
.page-template-template-vehicles .box-info {
    margin-top: -60px;
    margin-bottom: 60px;
    width: fit-content;
}

#vehicle-archive-grid .vehicle-badge-group {
    position: relative;
}

#vehicle-archive-grid .vehicle-badge-group {
    padding: 60px 0;
}

#vehicle-archive-grid .vehicle-badge-group:first-of-type {
    padding-top: 0;
}

#vehicle-archive-grid .vehicle-badge-group:last-of-type {
    margin-bottom: -60px !important;
}

#vehicle-archive-grid .vehicle-badge-group:nth-of-type(even)::before {
    content: " ";
    left: var(--before-left, 0);
    top: 0;
    bottom: 0;
    background-color: var(--light-gray);
    position: absolute;
    width: 100vw;
    z-index: -1;
}

.site-head {
    margin-bottom: 25px;
}

h3.title-badge {
    /* font-size: 28px; */
    font-weight: 700;
}

.vehicle-detail-icon {
    width: 20px;
    height: 20px;
}

.filters-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filters-toolbar input[type="text"] {
    width: 100%;
}

.js-filter-dropdown {
    position: relative;
}

.btn-filter-reset {
    text-decoration: none;
}


.js-filter-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 280px;
    padding: 14px;
    border: 1px solid #d9dee6;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s ease;
    z-index: 100;
}

.js-filter-dropdown.is-open .js-filter-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.button-select-dropdown-menu {
    min-width: 320px;
}

.range-filter {
    min-width: 340px;
}

.dropdown-search {
    margin-bottom: 12px;
}

.dropdown-search .form-control {
    height: 42px;
    border: 1px solid #c9d1db;
    border-radius: 4px;
    padding: 0 12px;
}

.dropdown-filter-item.scrollable {
    max-height: 280px;
    overflow: auto;
}

.dropdown-filter-item .form-check+.form-check {
    margin-top: 8px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check-input {
    margin: 0;
}

.form-check-label {
    cursor: pointer;
}

.dropdown-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #eef2f6;
}

.btn-filter-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid #c9d1db;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
}

.select-wrapper {
    position: relative;
}

.select-wrapper .form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 50px;
    padding: 0 38px 0 12px;
    border: 1px solid #c9d1db;
    border-radius: 4px;
    background: #fff;
}

.select-wrapper .select-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.desktop-filter.is-active>.btn-filter,
.btn-filter.is-active,
.js-mobile-chip-toggle.active {
    /* border-color: var(--filter-active-border, #0d2a57); */
    background: var(--secondary-color);
    color: var(--white);
}

.selected-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.selected-filters:empty {
    display: none;
}

.selected-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid var(--gray);
    border-radius: 3px;
    background: var(--white);
    font-size: 14px;
    line-height: 1;
}

.selected-filter-chip__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.mobile-search-input {
    position: relative;
    padding-left: 30px;
    width: 100%;
}

.mobile-search-input input {
    height: auto;
}

.mobile-search-input svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.filters-side .modal-content__inner {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    justify-content: center;
}

.filters-side .modal-dialog {
    margin-left: 0;
    margin-right: auto;
    max-width: 460px;
    height: 100dvh;
    transform: translateX(-100%) !important;
    transition: transform .3s ease;
}

.filters-side.show .modal-dialog {
    transform: translateX(0) !important;
}

.filters-side .modal-content {
    min-height: 100dvh;
    border-radius: 0;
    border: 0;
}

.filters-side .modal-header {
    height: auto;
}

.filters-side .modal-body {
    height: 100%;
}

.filters-side form {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.filters-side .modal-body .filter-item {
    margin-bottom: 20px;
}

.filters-side .modal-body .filter-item .content {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.filters-side .modal-body .filter-item .content.slider .row {
    width: 100%;
}

.filters-side .modal-body .filter-item .content.slider .form-group {
    display: flex;
    align-items: center;
}

.filters-side .btn-filter-item {
    border: 1px solid var(--secondary-color) !important;
    border-radius: 3px;
    font-weight: var(--semi-bold);
}

.filters-side .button-select-dropdown-menu {
    min-width: 100%;
}

.filters-side input[type="text"] {
    width: 100%;
}

.vehicle-toast-bs {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: 100%;
    max-width: 250px;
    background: var(--white);
    color: var(--black);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    border-radius: 3px;
    border: 1px solid var(--gray);
    /* animation: vehicleToastIn 0.5s ease-out; */
}

.vehicle-toast-bs.is-hiding {
    animation: vehicleToastOut 0.4s ease-in forwards;
}

.vehicle-toast-bs.is-showing {
    animation: vehicleToastIn 0.4s ease-out;
}

.vehicle-toast-bs {
    padding: 16px;
}

.vehicle-toast-bs .toast-head {
    align-self: center;
}

.vehicle-toast-bs .toast-head i {
    font-size: 28px;
    color: var(--secondary-color);
}

@keyframes vehicleToastIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes vehicleToastOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(30px);
    }
}




/* Pagina CHI SIAMO */
.video-container {
    height: 70vh;
    overflow: hidden;
    position: relative;
}

.video-container::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 1;
}

.title-hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    z-index: 99;
}

.title-hero :is(a, span, h1) {
    color: var(--white);
}

.title-hero h1 {
    font-size: 50px;
}

.column-animation div:not(.wp-block-outermost-icon-block) {
    transition: all .3s ease-in-out;
}

.column-animation div:not(.wp-block-outermost-icon-block):hover {
    transform: translateY(-5px);
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.timeline-section {
    position: relative;
    height: min(900px, 85vh);
    min-height: 620px;
    padding: 80px 20px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: #fff;
}

.timeline-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
}

.timeline-head {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    text-align: center;
    z-index: 3;
    pointer-events: none;
    opacity: .3;
}

.timeline-main-title {
    margin: 0;
    font-size: clamp(44px, 6vw, 110px);
    line-height: 1;
    font-weight: 300;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
}

.timeline-line {
    position: absolute;
    top: 170px;
    bottom: 60px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.25);
    z-index: 1;
}

.timeline-track {
    position: absolute;
    top: 350px;
    left: 0;
    width: 100%;
    will-change: transform;
}

.timeline-item {
    position: relative;
    min-height: 220px;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    top: 36px;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    transform: translateX(-50%);
    z-index: 3;
}

.timeline-card {
    position: relative;
    width: calc(50% - 60px);
    padding: 28px 30px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    transition: opacity .3s ease, transform .3s ease;
    transform: scale(0.94);
}

.timeline-item:nth-child(odd) .timeline-card {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-card {
    margin-right: auto;
}

.timeline-item.is-active .timeline-card {
    opacity: 1;
    transform: scale(1);
}

.timeline-year {
    margin-bottom: 14px;
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
    color: var(--white);
}

.timeline-text {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
}

.timeline-text p:last-child {
    margin-bottom: 0;
}

.timeline-mobile-slider-wrapper {
    position: relative;
    z-index: 3;
    margin-top: 40px;
}

.timeline-mobile-slider {
    padding-bottom: 60px;
}

.timeline-mobile-card {
    min-height: 320px;
    padding: 22px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timeline-mobile-year {
    margin-bottom: 16px;
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
    color: var(--white);
}

.timeline-mobile-text {
    text-align: center;
    line-height: 1.65;
    color: rgba(255,255,255,0.95);
}

.timeline-mobile-text p:last-child {
    margin-bottom: 0;
}

.timeline-mobile-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.timeline-mobile-prev,
.timeline-mobile-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    position: relative;
    flex: 0 0 42px;
}

.timeline-mobile-prev::before,
.timeline-mobile-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform-origin: center;
}

.timeline-mobile-prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.timeline-mobile-next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.timeline-mobile-pagination {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.timeline-mobile-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.35);
    opacity: 1;
    margin: 0 4px !important;
}

.timeline-mobile-pagination .swiper-pagination-bullet-active {
    background: #fff;
}

.section-gallery a {
    position: relative;
    display: block;
    height: 320px;
    margin-right: 7px;
    margin-bottom: 15px;
    margin-left: 7px;
}

.icon-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: var(--white);
    z-index: 2;
    opacity: 0;
    transition: all .3s ease-in-out;
}

.section-gallery a::before {
    content: '';
    opacity: 0;
    background: rgba(0, 0, 0, .3);
    position: absolute;
    inset: 0;
    transition: all .3s ease-in-out;
}

.section-gallery a:hover::before {
    opacity: 1;
}

.section-gallery a:hover .icon-img {
    opacity: 1;
}



/* Singolo VEICOLO */
.section-vehicle-info section {
    position: relative;
}

.section-vehicle-info section:nth-of-type(even)::before {
    content: " ";
    left: var(--before-left, 0);
    top: 0;
    bottom: 0;
    background-color: var(--light-gray);
    position: absolute;
    width: 100vw;
    z-index: -1;
}

.section-vehicle-info section:nth-of-type(odd) input:not([type="submit"]),
.section-vehicle-info section:nth-of-type(odd) textarea,
.section-vehicle-info section:nth-of-type(odd) select {
    border: 1px solid var(--secondary-color);
}

.vehicle-gallery-main {
    position: relative;
    /* height: 100%; */
}

.vehicle-gallery-swiper,
.vehicle-gallery-swiper .swiper-wrapper,
.vehicle-gallery-swiper .swiper-slide,
.vehicle-gallery-swiper .listing-image {
    /* height: 100%; */
}

.vehicle-gallery-swiper .listing-image {
    border-radius: 16px;
    overflow: hidden;
    background: #f4f4f4;
}

.vehicle-gallery-swiper .listing-image img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: bottom;
    display: block;
}

.single-image-layout .vehicle-gallery-swiper .listing-image img {
    height: 100%;
}

.image-container {
    height: 226px;
    border-radius: 16px;
    overflow: hidden;
    background: #f4f4f4;
}

.image-container img {
    width: 100%;
    height: 100%;
    display: block;
}

.object-fit-cover {
    object-fit: cover;
}

.gallery-btn {
    position: absolute;
    right: 20px;
    bottom: 16px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.section-equip ul {
    list-style: none;
    padding-left: 0;
}

.section-equip ul li {
    position: relative;
    padding-left: 26px;
}

.section-equip ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background-image: url("/wp-content/themes/romeoauto/assets/img/check.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.feature-card .card-header {
    padding: 15px 16px 0;
    border-bottom: 0;
    background: transparent;
}

.feature-card .card-header i {
    width: 48px;
    height: 48px;
    padding: 8px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


.card-price .my-btn {
    width: auto;
}

.price {
    font-size: 40px;
}

.custom-radio label {
    cursor: pointer;
}

.dett-item {
    text-transform: capitalize;
}

.card-btn {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    background: var(--light-gray);
}

.card-btn span {
    padding: 8px 0;
}

/* Box Finanziamento */
.finance-box {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border: 1px solid #d7dde5;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.finance-box__left,
.finance-box__right {
    padding: 28px;
}

.finance-box__left {
    border-right: 1px solid #d7dde5;
}

.finance-field {
    margin-bottom: 22px;
}

.finance-field label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-color);
}

.finance-input-wrap,
.finance-select-wrap {
    position: relative;
}

.finance-input-wrap input,
.finance-select-wrap select {
    width: 100%;
    height: 54px;
    border: 1px solid #cdd5df;
    border-radius: 6px;
    padding: 0 46px 0 16px;
    font-size: 28px;
    font-weight: 400;
    color: var(--secondary-color);
    background: #fff;
    box-sizing: border-box;
}

.finance-input-wrap input {
    font-size: 16px;
}

.finance-select-wrap select {
    appearance: none;
    font-size: 16px;
    cursor: pointer;
}

.finance-currency {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-weight: 600;
}

.finance-select-wrap::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #6c7a8f;
    border-bottom: 2px solid #6c7a8f;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.finance-slider-wrap {
    position: relative;
    margin-bottom: 26px;
    padding-top: 18px;
}

.finance-badge {
    display: inline-block;
    position: relative;
    margin-bottom: 10px;
    padding: 7px 10px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    border-radius: 6px;
}

.finance-badge::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    transform: translateX(-50%) rotate(45deg);
}

.finance-slider-wrap input[type="range"] {
    width: 100%;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.finance-description {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.8;
    color: #64748b;
}

.finance-installment {
    text-align: center;
    margin-bottom: 34px;
}

.finance-installment__value {
    color: var(--secondary-color);
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
}

.finance-installment__value .finance-euro {
    font-size: 22px;
    vertical-align: top;
    margin-right: 6px;
}

.finance-installment__label {
    margin-top: 10px;
    font-size: 18px;
    color: var(--secondary-color);
}

.finance-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 0;
    color: #5d6c80;
    font-size: 18px;
}

.finance-summary__row strong {
    color: var(--secondary-color);
    font-weight: 500;
}

#finance-simulation-app .finance-slider-wrap {
    margin-bottom: 24px;
}

#finance-simulation-app .finance-custom-range {
    position: relative;
    padding-top: 18px;
}

#finance-simulation-app .finance-custom-range input[type="range"] {
    position: absolute;
    left: 0;
    top: 18px;
    width: 100%;
    height: 20px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

#finance-simulation-app .finance-custom-range__badge {
    position: absolute;
    top: -14px;
    left: 0;
    transform: translateX(-50%);
    padding: 6px 10px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    z-index: 4;
}

#finance-simulation-app .finance-custom-range__badge::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    transform: translateX(-50%) rotate(45deg);
}

#finance-simulation-app .budget-range__track {
    position: relative;
    height: 4px;
    background: var(--color-range);
    border-radius: 999px;
}

#finance-simulation-app .budget-range__fill {
    position: absolute;
    left: 0;
    width: 0;
    top: 0;
    bottom: 0;
    background: var(--primary-color);
    border-radius: 999px;
}

#finance-simulation-app .budget-range__thumb {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--white);
    z-index: 2;
    border: 1px solid var(--primary-color);
}

#finance-simulation-app .budget-range__values {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: .9;
}

.section-dett .dett-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.section-dett .dett-item span {
    width: 50%;
}

.vehicle-value-row img {
    border-radius: 3px;
}

/* Sezione PayPal */
.paypal-form-transaction .wpcf7-response-output,
.paypal-form-transaction .wpcf7-spinner {
	display: none !important;
}

.paypal-form-loader {
	background-color: rgba(0, 0, 0, .8);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100vw;
	height: 100vh;
	display: none;
}

.paypal-form-loader .spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -28px;
	margin-left: -28px;
}

/* Pagina Service */
.service-content-image {
    position: relative;
}

#service-preview-title {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    padding: 15px;
    color: var(--white);
}

#service-preview-text h3 {
    margin-bottom: 16px;
}

#service-preview-text ul {
    margin-top: 5px;
}

#service-preview-text ul li:not(:last-child) {
    margin-bottom: 5px;
}

#service.wpcf7-form-control {
    height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 3px;
}



/* NEWS */
.blog-main-img {
    border-bottom: 3px solid var(--primary-color);
}

.cat-label {
    width: min-content;
}

.article-description {
    margin-top: 25px;
}

.widget-area {
    position: sticky;
    top: 150px;
}

.widget-area .widget {
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 3px;
}

.widget-area .widget:not(:last-of-type) {
    margin-bottom: 20px;
}

.widget-area .widget h2 {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.widget-area .widget ul {
    list-style: none;
    padding: 0;
}

.widget-area .widget ul li {
    display: flex;
    flex-direction: column;
}

.widget-area .widget ul li span {
    font-size: 16px;
    opacity: .8;
}


/*AUTOCOMPLETE*/
.ui-widget-content {
    background: var(--white);
    z-index: 999;
    list-style: none;
    padding-left: 20px;
    width: fit-content !important;
    /* left: 0 !important; */
    border: 1px solid var(--gray);
}

.ui-widget-content li {
    cursor: pointer;
    width: 478px;
}

.ui-widget-content li a {
    padding: 8px 0;
}

.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;
}

/* .ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
	background-color: #EFEFEF;
	color: #000000;
	border: 1px solid #d7d7d7;
} */