/* Load after kvt-home-content.css. Scoped to the existing sales copy only. */
.kvt-detail-assurance .kvt-sales-short,
.product-thongtin-mota .kvt-sales-short {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--kvt-ui-ink, #202020);
    font: 400 14px/1.65 Roboto, Arial, sans-serif;
}

.kvt-product-detail .product-thongtin-mota .kvt-sales-short p {
    margin: 0 0 12px !important;
    line-height: 1.65 !important;
}

:is(.kvt-sales-short, .kvt-sales-content) .kvt-sales-actions,
:is(#kvt-home-copy-intro, #kvt-home-copy-details) .kvt-home-copy__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin: 12px 0 0;
}

:is(.kvt-sales-short, .kvt-sales-content) .kvt-sales-actions > .kvt-sales-cta,
:is(#kvt-home-copy-intro, #kvt-home-copy-details) .kvt-home-copy__actions > .kvt-sales-cta {
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    max-width: 100%;
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: var(--kvt-ui-ink, #202020) !important;
    font: 500 14px/1.4 Roboto, Arial, sans-serif;
    text-decoration: none !important;
    text-align: center;
    white-space: normal;
    cursor: pointer;
}

/* Explicit classes are preferred; first-child also polishes the current live markup. */
:is(.kvt-sales-short, .kvt-sales-content) .kvt-sales-actions > :is(.kvt-sales-primary, .kvt-sales-cta:first-child:is([href="/lien-he.html"], [href="https://congtyketviettiep.vn/lien-he.html"])),
:is(#kvt-home-copy-intro, #kvt-home-copy-details) .kvt-home-copy__actions > :is(.kvt-sales-primary, .kvt-sales-cta:first-child:is([href="/lien-he.html"], [href="https://congtyketviettiep.vn/lien-he.html"])) {
    padding: 7px 14px;
    border: 1px solid var(--kvt-ui-yellow, #ffd500);
    background: var(--kvt-ui-yellow, #ffd500);
    color: var(--kvt-ui-ink, #202020) !important;
    font-weight: 600;
}

:is(.kvt-sales-short, .kvt-sales-content) .kvt-sales-actions > :is(.kvt-sales-primary, .kvt-sales-cta:first-child:is([href="/lien-he.html"], [href="https://congtyketviettiep.vn/lien-he.html"])):hover,
:is(#kvt-home-copy-intro, #kvt-home-copy-details) .kvt-home-copy__actions > :is(.kvt-sales-primary, .kvt-sales-cta:first-child:is([href="/lien-he.html"], [href="https://congtyketviettiep.vn/lien-he.html"])):hover {
    border-color: var(--kvt-ui-yellow-hover, #efc900);
    background: var(--kvt-ui-yellow-hover, #efc900);
}

:is(.kvt-sales-short, .kvt-sales-content) .kvt-sales-actions > .kvt-sales-cta:not(:first-child):hover,
:is(#kvt-home-copy-intro, #kvt-home-copy-details) .kvt-home-copy__actions > .kvt-sales-cta:not(:first-child):hover {
    background: transparent;
    color: var(--kvt-ui-ink, #202020) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

:is(.kvt-sales-short, .kvt-sales-content) .kvt-sales-actions > .kvt-sales-cta:focus-visible,
:is(#kvt-home-copy-intro, #kvt-home-copy-details) .kvt-home-copy__actions > .kvt-sales-cta:focus-visible {
    outline: 2px solid var(--kvt-ui-ink, #202020);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    :is(.kvt-sales-short, .kvt-sales-content) .kvt-sales-actions > .kvt-sales-cta,
    :is(#kvt-home-copy-intro, #kvt-home-copy-details) .kvt-home-copy__actions > .kvt-sales-cta {
        min-height: 44px;
        flex: 0 1 auto;
    }

    :is(.kvt-sales-short, .kvt-sales-content) .kvt-sales-actions > :is(.kvt-sales-primary, .kvt-sales-cta:first-child:is([href="/lien-he.html"], [href="https://congtyketviettiep.vn/lien-he.html"])),
    :is(#kvt-home-copy-intro, #kvt-home-copy-details) .kvt-home-copy__actions > :is(.kvt-sales-primary, .kvt-sales-cta:first-child:is([href="/lien-he.html"], [href="https://congtyketviettiep.vn/lien-he.html"])) {
        flex-basis: 100%;
        width: 100%;
        padding: 10px 14px;
    }
}
