.wpac-page {
    background: #f3f5f8;
    color: #161b22;
    font-family: inherit;
}

.wpac-page *,
.wpac-page *::before,
.wpac-page *::after {
    box-sizing: border-box;
}

body.post-type-archive-auto #header,
body.single-auto #header {
    margin: 0;
    padding: 16px 18px 14px;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
}

body.post-type-archive-auto #headerimg,
body.single-auto #headerimg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
}

body.post-type-archive-auto #header h1,
body.single-auto #header h1 {
    margin: 0;
    line-height: .9;
}

body.post-type-archive-auto #header h1 a,
body.single-auto #header h1 a {
    color: #111827;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 900;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
}

body.post-type-archive-auto #header .description,
body.single-auto #header .description {
    display: none;
}

body.post-type-archive-auto #headerimg::after,
body.single-auto #headerimg::after {
    content: "Nuovo  \00a0\00a0 Usato e Km0  \00a0\00a0 Vendi  \00a0\00a0 Service  \00a0\00a0 Supporto clienti";
    color: #3f4652;
    font-size: .95rem;
    font-weight: 800;
    white-space: nowrap;
}

body.post-type-archive-auto #header + hr,
body.single-auto #header + hr {
    display: none;
}

.wpac-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 18px;
}

.wpac-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    background-color: #0d1726;
    background-image: linear-gradient(90deg, rgba(5, 12, 23, .9), rgba(5, 12, 23, .54));
    background-position: center;
    background-size: cover;
    color: #fff;
}

.wpac-hero-inner {
    padding-top: 86px;
    padding-bottom: 150px;
    text-align: center;
}

.wpac-kicker {
    display: inline-flex;
    margin: 0 0 18px;
    padding: 7px 14px;
    border-radius: 4px;
    background: #239594;
    color: #fff;
    font-size: .84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.wpac-hero h1 {
    max-width: 860px;
    margin: 0 auto 12px;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: .98;
    letter-spacing: 0;
}

.wpac-hero p:not(.wpac-kicker) {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .86);
    font-size: 1.12rem;
}

.wpac-catalog-section {
    margin-top: -106px;
    padding-bottom: 56px;
}

.wpac-filter {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
    margin: 0 0 22px;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(14, 27, 43, .16);
}

.wpac-filter p,
.wpac-form p {
    margin: 0;
}

.wpac-filter label,
.wpac-form label {
    display: block;
    margin-bottom: 5px;
    color: #56606e;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.wpac-filter input,
.wpac-filter select,
.wpac-form input,
.wpac-form textarea {
    width: 100%;
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid #d8dee8;
    border-radius: 6px;
    background: #fff;
    color: #111827;
}

.wpac-button,
.wpac-form button,
.wpac-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 9px 16px;
    border: 0;
    border-radius: 6px;
    background: #239594;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

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

.wpac-card {
    overflow: hidden;
    border: 1px solid #e2e7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 35px rgba(20, 35, 55, .12);
}

.wpac-card-media {
    position: relative;
    display: block;
    height: 235px;
    background: #dfe5ee;
    color: inherit;
    text-decoration: none;
}

.wpac-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wpac-card-placeholder,
.wpac-single-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 235px;
    background: linear-gradient(135deg, #d7dee8, #f7f9fb);
    color: #6b7280;
    font-weight: 800;
    text-transform: uppercase;
}

.wpac-badges {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 0;
    display: grid;
    gap: 4px;
}

.wpac-badge {
    width: fit-content;
    padding: 4px 7px;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.wpac-badge-yellow {
    background: #e8ff00;
    color: #101820;
}

.wpac-badge-blue {
    background: #7d2ee6;
}

.wpac-badge-green {
    background: #00a869;
}

.wpac-card-body {
    padding: 16px 18px 18px;
}

.wpac-card-title-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 56px;
}

.wpac-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
}

.wpac-card h2 {
    margin: 0 0 2px;
    font-size: 1.22rem;
    line-height: 1.05;
}

.wpac-card h2 a {
    color: #111827;
    text-decoration: none;
}

.wpac-card-title-row p {
    overflow: hidden;
    margin: 0;
    color: #4b5563;
    font-size: .87rem;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wpac-card-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin: 14px 0;
    padding: 12px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.wpac-card-specs div {
    min-width: 0;
}

.wpac-card-specs dt {
    color: #8a93a3;
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.wpac-card-specs dd {
    overflow: hidden;
    margin: 2px 0 0;
    color: #4b5563;
    font-size: .86rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wpac-price {
    margin: 8px 0 14px;
    color: #101820;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    text-align: right;
}

.wpac-card-link {
    width: 100%;
}

.wpac-pagination {
    margin-top: 28px;
    text-align: center;
}

.wpac-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    margin: 0 3px;
    border-radius: 6px;
    background: #fff;
    color: #239594;
    font-weight: 800;
    text-decoration: none;
}

.wpac-pagination .current {
    background: #239594;
    color: #fff;
}

.wpac-empty {
    padding: 40px;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.wpac-car-header {
    background: #239594;
    color: #fff;
}

.wpac-car-header-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.wpac-car-header h1 {
    margin: 4px 0 2px;
    color: #fff;
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    line-height: 1.05;
}

.wpac-car-header p {
    margin: 0;
    color: rgba(255, 255, 255, .86);
}

.wpac-back {
    color: rgba(255, 255, 255, .82);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
}

.wpac-header-price {
    display: grid;
    align-content: center;
    justify-items: end;
    min-width: 170px;
}

.wpac-header-price strong {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
}

.wpac-header-price span {
    margin-top: 5px;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.wpac-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 28px;
    padding-top: 22px;
    padding-bottom: 56px;
}

.wpac-single-main,
.wpac-single-aside {
    min-width: 0;
}

.wpac-main-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #dfe5ee;
}

.wpac-main-image img,
.wpac-thumbs img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.wpac-main-image img {
    height: 520px;
    object-fit: cover;
}

.wpac-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.wpac-thumbs img {
    aspect-ratio: 4 / 3;
    border-radius: 4px;
}

.wpac-trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.wpac-trust-strip div,
.wpac-summary-card,
.wpac-form,
.wpac-description,
.wpac-tech,
.wpac-options {
    border: 1px solid #e2e7ef;
    border-radius: 8px;
    background: #fff;
}

.wpac-trust-strip div {
    padding: 16px;
}

.wpac-trust-strip strong,
.wpac-trust-strip span {
    display: block;
}

.wpac-trust-strip span {
    margin-top: 3px;
    color: #667085;
    font-size: .9rem;
}

.wpac-description,
.wpac-tech,
.wpac-options {
    margin-top: 18px;
    padding: 22px;
}

.wpac-description h2,
.wpac-tech h2,
.wpac-options h2,
.wpac-form h2,
.wpac-summary-card h2 {
    margin: 0 0 14px;
    color: #101820;
    font-size: 1.25rem;
    line-height: 1.2;
}

.wpac-content {
    color: #303846;
    line-height: 1.7;
}

.wpac-content p:first-child {
    margin-top: 0;
}

.wpac-tech dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
    margin: 0;
}

.wpac-tech dl div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.wpac-tech dt {
    color: #6b7280;
    font-size: .86rem;
}

.wpac-tech dd {
    margin: 0;
    color: #111827;
    font-weight: 800;
}

.wpac-options ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wpac-options li {
    position: relative;
    padding-left: 22px;
    color: #111827;
}

.wpac-options li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00a869;
}

.wpac-single-aside {
    position: sticky;
    top: 24px;
    align-self: start;
}

.wpac-summary-card {
    margin-bottom: 16px;
    padding: 18px;
}

.wpac-summary-price {
    margin: 0 0 14px;
    color: #239594;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.wpac-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wpac-spec {
    padding: 12px;
    border-radius: 6px;
    background: #f4f7fb;
}

.wpac-spec span {
    display: block;
    color: #697386;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.wpac-spec strong {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    color: #101820;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wpac-form {
    padding: 18px;
}

.wpac-form p + p {
    margin-top: 12px;
}

.wpac-form textarea {
    min-height: 118px;
}

.wpac-form button {
    width: 100%;
    margin-top: 14px;
}

.wpac-alert {
    padding: 10px 12px;
    margin-bottom: 14px;
    border-radius: 6px;
    background: #e8f7ee;
    color: #17613a;
}

.wpac-alert-error {
    background: #fdeeee;
    color: #9f1d1d;
}

@media (max-width: 1120px) {
    .wpac-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body.post-type-archive-auto #headerimg::after,
    body.single-auto #headerimg::after {
        display: none;
    }

    .wpac-filter,
    .wpac-grid,
    .wpac-single-layout,
    .wpac-tech dl,
    .wpac-options ul {
        grid-template-columns: 1fr;
    }

    .wpac-catalog-section {
        margin-top: -70px;
    }

    .wpac-hero {
        min-height: 430px;
    }

    .wpac-car-header-inner,
    .wpac-trust-strip {
        display: grid;
        grid-template-columns: 1fr;
    }

    .wpac-header-price {
        justify-items: start;
    }

    .wpac-single-aside {
        position: static;
    }
}

@media (max-width: 560px) {
    .wpac-wrap {
        padding-right: 14px;
        padding-left: 14px;
    }

    .wpac-hero-inner {
        padding-top: 58px;
        padding-bottom: 112px;
    }

    .wpac-filter {
        padding: 12px;
    }

    .wpac-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wpac-main-image img {
        height: 360px;
    }

    .wpac-tech dl div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}
