/* MERIVUS: approved silver motor cards; isolated from other Woostify sections. */
.merivus-motors {
    --mrv-motor-ink: #202629;
    --mrv-motor-muted: #667078;
    --mrv-motor-line: #e3e7e9;
    --mrv-motor-silver: #f0f2f4;
    --mrv-motor-lime: #afd923;
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 76px 0 80px;
    background: #fff;
    color: var(--mrv-motor-ink);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    text-align: left;
}

.merivus-motors *,
.merivus-motors *::before,
.merivus-motors *::after {
    box-sizing: border-box;
}

.merivus-motors .merivus-motors-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 0 14px;
    color: var(--mrv-motor-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 1.4px;
}

.merivus-motors .merivus-motors-eyebrow::before {
    content: "";
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 1px;
    background: var(--mrv-motor-lime);
}

.merivus-motors h2.merivus-motors-title {
    margin: 0 0 56px;
    padding: 0;
    color: var(--mrv-motor-ink);
    font-family: inherit;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
    text-align: center;
}

.merivus-motors .merivus-motors-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 24px;
    margin: 0;
    padding: 0;
}

.merivus-motors article.merivus-motor-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.merivus-motors a.merivus-motor-photo {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 0 0 20px;
    border: 0;
    border-radius: 0;
    background: var(--mrv-motor-silver);
    text-decoration: none;
}

.merivus-motors a.merivus-motor-photo > img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    object-position: center;
    transform: scale(1);
    transition: transform 240ms ease;
}

.merivus-motors h3.merivus-motor-name {
    margin: 0 0 7px;
    padding: 0;
    color: var(--mrv-motor-ink);
    font-family: inherit;
    font-size: clamp(17px, 1.55vw, 22px);
    font-weight: 650;
    line-height: 1.45;
    letter-spacing: -0.2px;
    overflow-wrap: break-word;
}

.merivus-motors .merivus-motor-name > a,
.merivus-motors .merivus-motor-name > a:visited {
    color: inherit;
    text-decoration: none;
}

.merivus-motors p.merivus-motor-spec {
    margin: 0;
    color: var(--mrv-motor-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.6px;
}

.merivus-motors p.merivus-motor-price {
    margin: 16px 0 18px;
    color: var(--mrv-motor-ink);
    font-size: 28px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.merivus-motors .merivus-motor-package::before {
    content: " · ";
}

.merivus-motors .merivus-motor-price .amount,
.merivus-motors .merivus-motor-price bdi,
.merivus-motors .merivus-motor-price .woocommerce-Price-currencySymbol {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.merivus-motors .merivus-motor-price small {
    display: inline-block;
    margin-left: 8px;
    color: var(--mrv-motor-muted);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
}

.merivus-motors a.merivus-motor-detail,
.merivus-motors a.merivus-motor-detail:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    margin-top: auto;
    padding: 13px 4px 13px 0;
    border: 0;
    border-top: 1px solid var(--mrv-motor-line);
    border-radius: 0;
    background: transparent;
    color: var(--mrv-motor-ink);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    box-shadow: none;
}

.merivus-motors .merivus-motor-arrow {
    display: inline-block;
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: currentColor;
}

.merivus-motors .merivus-motor-arrow::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 17px;
    border-top: 1.5px solid currentColor;
}

.merivus-motors .merivus-motor-arrow::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 1px;
    width: 9px;
    height: 9px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.merivus-motors a:focus-visible {
    outline: 2px solid var(--mrv-motor-ink);
    outline-offset: 4px;
}

body.single-product .merivus-motor-purchase-note {
    box-sizing: border-box;
    margin: 18px 0 24px;
    padding: 13px 16px;
    border-left: 2px solid #afd923;
    background: #f3f5f6;
    color: #4d575d;
    font-size: 14px;
    line-height: 1.75;
}

@media (hover: hover) and (pointer: fine) {
    .merivus-motors a.merivus-motor-photo:hover > img {
        transform: scale(1.025);
    }

    .merivus-motors .merivus-motor-name > a:hover,
    .merivus-motors a.merivus-motor-detail:hover > span:first-child {
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 4px;
    }
}

@media (max-width: 767px) {
    .merivus-motors {
        padding: 52px 0 56px;
    }

    .merivus-motors .merivus-motors-eyebrow {
        gap: 10px;
        margin-bottom: 12px;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .merivus-motors h2.merivus-motors-title {
        margin-bottom: 30px;
        font-size: 28px;
        letter-spacing: 0;
    }

    .merivus-motors .merivus-motors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
    }

    .merivus-motors a.merivus-motor-photo {
        margin-bottom: 14px;
    }

    .merivus-motors h3.merivus-motor-name {
        margin-bottom: 5px;
        font-size: 17px;
        line-height: 1.45;
    }

    .merivus-motors p.merivus-motor-spec {
        font-size: 13px;
    }

    .merivus-motors .merivus-motor-spec > span {
        display: block;
        white-space: nowrap;
        letter-spacing: 0;
    }

    .merivus-motors .merivus-motor-package::before {
        content: none;
    }

    .merivus-motors p.merivus-motor-price {
        margin: 12px 0 14px;
        font-size: 23px;
    }

    .merivus-motors .merivus-motor-price small {
        display: block;
        margin: 4px 0 0;
        font-size: 11px;
    }

    .merivus-motors a.merivus-motor-detail {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .merivus-motors .merivus-motors-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .merivus-motors a.merivus-motor-photo > img {
        transition: none;
    }

    .merivus-motors a.merivus-motor-photo:hover > img {
        transform: none;
    }
}
