/* Full-screen product destination; retain the complete, naturally scrolling catalogue. */
.kg-home #san-pham {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    padding-block: 96px 32px;
    scroll-margin-top: 0;
}
.kg-products-anchor {
    position: absolute;
    inset: 0 auto auto 0;
    scroll-margin-top: 0;
    pointer-events: none;
}
.kg-home #san-pham .kg-section-heading { margin-bottom: 14px; gap: 12px; }
.kg-home #san-pham .kg-section-heading h2 { margin-bottom: 6px; }
.kg-home #san-pham .kg-section-heading h2 > .kg-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    vertical-align: -.02em;
    color: var(--kg-muted);
}
.kg-home #san-pham .kg-section-heading p { font-size: 16px; line-height: 1.5; }
.kg-home #san-pham .kg-filter-row { margin-bottom: 18px; gap: 12px 20px; }
.kg-home #san-pham .kg-filters { padding: 4px; }
.kg-home #san-pham .kg-filters button { padding-block: 9px; min-height: 44px; }
.kg-home #san-pham .kg-cars { gap: 20px 24px; }
.kg-home #san-pham .kg-car-image img { aspect-ratio: 8 / 4.6; padding: 12px 16px; }
.kg-home #san-pham .kg-car h3 { margin: 16px 18px 6px; font-size: 20px; }
.kg-home #san-pham .kg-car-description { margin: 0 18px 10px; line-height: 1.5; }
.kg-home #san-pham .kg-car-price { margin: 0 18px 10px !important; }
.kg-home #san-pham .kg-car-price small { margin-bottom: 2px; }
.kg-home #san-pham .kg-car-meta { margin-inline: 18px; padding-top: 10px; }
.kg-home #san-pham .kg-car-actions { margin: 12px 18px 16px; gap: 12px; }

/* Shared sales-link layout; each link keeps its own text motion. */
.kg-home .kg-attention-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    color: var(--kg-red);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.kg-home .kg-attention-link .kg-cta-arrow {
    display: inline-block;
    font-size: 1.2em;
    line-height: 1;
    transition: transform 220ms ease;
}
.kg-home .kg-attention-link:is(:hover, :focus-visible) .kg-cta-arrow {
    transform: translateX(4px);
}
.kg-home .kg-attention-link:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; border-radius: 999px; }
.kg-home #san-pham .kg-price-list { font-size: clamp(15px, 1.15vw, 18px); letter-spacing: -.015em; }
.kg-home .kg-price-letter {
    display: inline-block;
    transform-origin: 50% 75%;
    animation: kg-price-letter-hop 2.2s cubic-bezier(.22, 1, .36, 1) infinite paused;
    animation-delay: calc(var(--kg-letter-index) * 28ms);
}
.kg-home .kg-price-list.is-in-view .kg-price-letter { animation-play-state: running; }
@keyframes kg-price-letter-hop {
    0%, 12%, 100% { transform: translateY(0) scale(1); }
    5% { transform: translateY(-3px) scale(1.14); }
}
@media (max-width: 991px) {
    .kg-home #san-pham { padding-top: 88px; }
}
@media (max-width: 767px) {
    .kg-home #san-pham .kg-filter-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
    .kg-home #san-pham .kg-price-list { margin-left: auto; }
}
@media (max-width: 600px) {
    .kg-home #san-pham { padding-block: 84px 24px; }
    .kg-home #san-pham .kg-section-heading { margin-bottom: 10px; }
    .kg-home #san-pham .kg-section-heading h2 { font-size: 25px; line-height: 1.25; }
    .kg-home #san-pham .kg-section-heading h2 > .kg-icon { width: 23px; height: 23px; margin-right: 6px; }
    .kg-home #san-pham .kg-section-heading p { font-size: 15px; }
    .kg-home #san-pham .kg-filter-row { margin-bottom: 14px; gap: 4px 12px; }
    .kg-home #san-pham .kg-car-description { font-size: 15px; }
    .kg-home #san-pham .kg-car-actions { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .kg-home .kg-price-letter { animation: none; transform: none; }
    .kg-home .kg-attention-link .kg-cta-arrow {
        animation: none;
        transition: none;
    }
    .kg-home .kg-attention-link:is(:hover, :focus-visible) .kg-cta-arrow { transform: none; }

}
