:root {
    --lm-autos-green: #0f4f32;
    --lm-autos-lime: #d2df70;
    --lm-autos-white: #ffffff;
    --lm-autos-page: #f7f8f5;
    --lm-autos-line: #2f6b4c;
    --lm-autos-shadow: rgba(15, 79, 50, .22);
}

body.page-autos,
body.leapmotors-autos-page {
    margin: 0;
    overflow-x: hidden;
    background: var(--lm-autos-page);
    font-family: Arial, Helvetica, sans-serif;
}

body.page-autos .page-container,
body.leapmotors-autos-page .page-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

body.page-autos #content.site-content,
body.leapmotors-autos-page #content.site-content {
    display: block;
    margin: 0;
}

.lm-autos-page {
    min-height: 100vh;
    padding: 0;
    color: var(--lm-autos-green);
    background: white;
}

.lm-autos-container {
    width: min(100%, 1024px);
    margin: 0 auto;
    padding-right: clamp(20px, 4vw, 58px);
    padding-left: clamp(20px, 4vw, 58px);
}

.lm-autos-hero-image {
    width: 100%;
    height: clamp(150px, 18vw, 230px);
    overflow: hidden;
    background: #0d251a;
}

.lm-autos-hero-image picture,
.lm-autos-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.lm-autos-hero-image img {
    object-fit: cover;
    object-position: center;
}

.lm-autos-catalog {
    padding: 52px 0 48px;
    background: #ffffff;
}

.lm-autos-catalog h1 {
    margin: 0 0 18px;
    color: var(--lm-autos-green);
    font-size: clamp(25px, 3vw, 30px);
    font-weight: 300;
    line-height: 1.1;
}

.lm-autos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px;
}

.lm-autos-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lm-autos-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-autos-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--lm-autos-line);
    border-radius: 7px;
    background: var(--lm-autos-white);
    box-shadow: 0 4px 7px var(--lm-autos-shadow);
}

.lm-autos-card__media {
    display: flex;
    min-height: 170px;
    align-items: flex-end;
    justify-content: center;
    padding: 22px 20px 4px;
    background: var(--lm-autos-white);
}

.lm-autos-card__media img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: contain;
}

.lm-autos-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0px 2rem 26px;
}

.lm-autos-card h2 {
    margin: 0 0 3px;
    color: var(--lm-autos-green);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 20px;
}

.lm-autos-card__footer {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.lm-autos-card__price {
    min-height: 52px;
}

.lm-autos-card__price--installment {
    display: grid;
    align-content: start;
    grid-template-columns: auto 1fr;
    column-gap: 8px;
}

.lm-autos-card__price span {
    max-width: 54px;
    color: #555658;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.05;
    text-transform: uppercase;
}

.lm-autos-card__price strong {
    display: block;
    color: var(--lm-autos-green);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: .95;
}

.lm-autos-card__price .lm-autos-card__price-tax-label {
    display: block;
    max-width: none;
    margin-top: 2px;
    margin-right: 2px;
}

.lm-autos-card__price .lm-autos-card__price-tax-value {
    display: block;
    font-size: 15px;
    padding-bottom: 1rem;
}

.lm-autos-card__price span+strong {
    grid-column: 1 / -1;
}

.lm-autos-card__price--installment span+strong {
    grid-column: 2;
}

.lm-autos-card__cta,
.lm-autos-card__cta:hover {
    display: inline-flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    color: var(--lm-autos-green);
    background: var(--lm-autos-lime);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.lm-autos-empty {
    max-width: 560px;
    padding: 34px;
    border: 1px solid var(--lm-autos-line);
    border-radius: 7px;
    color: var(--lm-autos-green);
    background: var(--lm-autos-white);
}

.lm-autos-empty h2 {
    margin: 0 0 10px;
    color: inherit;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
}

.lm-autos-empty p {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}

.consultar-precio {
    font-weight: 400 !important;
    font-size: .8em !important;
}

@media (max-width: 991px) {
    .lm-autos-container {
        width: min(100%, 720px);
    }

    .lm-autos-grid,
    .lm-autos-grid--two,
    .lm-autos-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

@media (max-width: 575px) {
    .lm-autos-catalog {
        padding-top: 36px;
    }

    .lm-autos-grid,
    .lm-autos-grid--two,
    .lm-autos-grid--three {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .lm-autos-card {
        min-height: 0;
    }

    .lm-autos-card__price strong {
        font-size: 2rem;
    }

    .lm-autos-card__price-tax-container {
        flex-direction: column !important;
    }

}