/* Tách từ templates/home/index.html — giữ nguyên thứ tự cascade qua <link> tại vị trí cũ. */
html body #chon-xe {
    --showroom-ink:#102a41;
    --showroom-accent:#00529c;
    padding:clamp(20px,4vw,50px) 0!important;
    background:#f0f6fb!important;
}
html body #chon-xe>.container {
    width:100%!important;
    max-width:none!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:none!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
}
html body #chon-xe .vehicle-selector-heading {margin:0 14px 12px!important}
html body #chon-xe .vehicle-selector-eyebrow {display:none!important}
html body #chon-xe .vehicle-selector-title {
    margin:0!important;
    color:var(--showroom-ink)!important;
    font-size:clamp(27px,4vw,50px)!important;
    font-weight:700!important;
}
html body #chon-xe .vehicle-tabs {
    margin-bottom:clamp(12px,2vw,24px)!important;
    padding:3px!important;
    border:1px solid #dce8f2!important;
    background:#e4eef6!important;
}
html body #chon-xe .vehicle-tab {height:34px!important;font-size:11px!important}
html body #chon-xe .vehicle-tab.is-active {background:#fff!important;box-shadow:0 2px 6px #1139561c!important}
html body #chon-xe .vehicle-panel {
    --stage-height:clamp(285px,77vw,380px);
    --rail-height:129px;
    --dock-overlap:22px;
    position:relative;
    isolation:isolate;
}
html body #chon-xe .vehicle-panel::before {
    content:"";
    position:absolute;
    inset:0 0 auto;
    height:var(--stage-height);
    z-index:-1;
    pointer-events:none;
    background:
        radial-gradient(ellipse at 50% 46%,#effaffab,transparent 66%),
        linear-gradient(180deg,#102f476e 0%,#2046631a 48%,#0e263a 100%),
        url("../../images/showroom-luxury-bg.webp") center 52% / cover no-repeat,
        #e9f3fb!important;
}
html body #chon-xe .vehicle-slide.is-active {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:0!important;
    padding:0!important;
}
html body #chon-xe .vehicle-image-wrap {
    position:relative!important;
    isolation:isolate;
    width:100%!important;
    height:var(--stage-height)!important;
    padding:0!important;
    background:transparent!important;
}
html body #chon-xe .vehicle-image-wrap>a,
html body #chon-xe .vehicle-image-placeholder {
    position:absolute!important;
    inset:10px 0 auto!important;
    width:min(90%,750px)!important;
    height:calc(100% - var(--rail-height) - 20px)!important;
    margin-inline:auto!important;
}
html body #chon-xe .vehicle-image {
    filter:none!important;
}
#chon-xe .vehicle-arc {
    --card-width:clamp(77px,20vw,104px);
    --card-step:clamp(64px,18vw,90px);
    position:absolute;
    z-index:4;
    top:calc(var(--stage-height) - var(--rail-height));
    left:0;
    width:100%;
    height:var(--rail-height);
    perspective:780px;
    overflow:hidden;
    touch-action:pan-y;
    user-select:none;
    cursor:grab;
}
#chon-xe .vehicle-arc:active {cursor:grabbing}
#chon-xe .vehicle-arc-card {
    --offset:0;
    --depth:0;
    position:absolute;
    top:7px;
    left:50%;
    z-index:calc(3 - var(--depth));
    width:var(--card-width);
    height:64px;
    display:grid;
    grid-template-rows:minmax(0,1fr) auto;
    gap:2px;
    padding:5px 6px;
    border:1px solid #ffffff52;
    border-radius:13px;
    background:#eef7ff1c;
    color:white;
    font-size:11px;
    font-weight:650;
    cursor:pointer;
    opacity:calc(1 - var(--depth) * .14);
    transform:translate3d(calc(-50% + var(--offset) * var(--card-step)),calc(var(--depth) * 4px),calc(var(--depth) * -30px))
        scale(calc(1 - var(--depth) * .08));
    transition:transform .45s cubic-bezier(.22,1,.36,1),opacity .24s,background .24s;
}
#chon-xe .vehicle-arc-card.is-active {background:#f3faffeb;color:var(--showroom-ink);border-color:white}
#chon-xe .vehicle-arc-card.is-far {opacity:0;visibility:hidden;pointer-events:none}
#chon-xe .vehicle-arc-card:focus-visible {outline:2px solid #9ed8ff;outline-offset:3px}
#chon-xe .vehicle-arc-card img {width:100%;height:100%;min-height:0;object-fit:contain;pointer-events:none}
#chon-xe .vehicle-arc-card span {grid-row:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#chon-xe .vehicle-runway-progress {
    position:absolute;
    inset:auto 0 calc(10px + var(--dock-overlap));
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    color:#e5f2ff;
    font-size:10px;
    font-variant-numeric:tabular-nums;
    pointer-events:none;
}
html body #chon-xe .vehicle-arrow {
    top:calc(var(--stage-height) - 62px - var(--dock-overlap))!important;
    width:34px!important;
    height:34px!important;
    border:1px solid #ffffff9c!important;
    color:var(--showroom-ink)!important;
    background:#f0f8ffed!important;
    box-shadow:0 3px 12px #132d4633!important;
}
html body #chon-xe .vehicle-prev {left:8px!important}
html body #chon-xe .vehicle-next {right:8px!important;left:auto!important}
html body #chon-xe .vehicle-info {
    justify-self:center;
    width:min(960px,calc(100% - 24px))!important;
    padding:clamp(12px,2vw,22px)!important;
    position:relative!important;
    z-index:3;
    margin:calc(0px - var(--dock-overlap)) auto 12px!important;
    border:1px solid #dce9f3!important;
    border-radius:18px!important;
    background:linear-gradient(145deg,#fff,#f2f8fe)!important;
    box-shadow:0 18px 38px -25px #163e625e,inset 0 1px 0 white!important;
}
html body #chon-xe .vehicle-category {display:none!important}
html body #chon-xe .vlb-vehicle-heading {margin:0 0 6px!important}
html body #chon-xe .vlb-vehicle-heading h3 {
    color:var(--showroom-ink)!important;
    -webkit-text-fill-color:var(--showroom-ink)!important;
    font-size:clamp(26px,3vw,42px)!important;
}
html body #chon-xe .vehicle-price-benefits-row {padding:0!important;gap:8px!important}
html body #chon-xe .vehicle-price-benefits-row>.vehicle-price {padding:6px 0!important;background:none!important;border:0!important;box-shadow:none!important}
html body #chon-xe .vehicle-info .vlb-car-png-empty {display:none!important}
html body #chon-xe .vehicle-actions .vehicle-button {min-height:40px!important;border-radius:10px!important}
html body #chon-xe .vehicle-actions .vehicle-button-primary {background:var(--showroom-accent)!important;color:#fff!important}
#chon-xe .vehicle-more {
    display:grid;
    gap:10px;
    margin-top:12px;
    padding-top:14px;
    border-top:1px solid #dce9f3;
}
html body #chon-xe .vehicle-more .vehicle-specs {
    grid-row:1;
    gap:1px!important;
    margin:0!important;
    padding:1px;
    overflow:hidden;
    border:1px solid #d9e8f3;
    border-radius:16px;
    background:#e5eef6;
}
html body #chon-xe .vehicle-more .vehicle-spec {
    display:flex!important;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    gap:4px;
    min-height:61px;
    padding:9px 12px!important;
    border:0!important;
    border-radius:0!important;
    background:#f8fbff!important;
    text-align:left!important;
}
html body #chon-xe .vehicle-more .vehicle-spec span {
    color:#4c657b!important;
    font-size:11px!important;
    line-height:1.25;
}
html body #chon-xe .vehicle-more .vehicle-spec strong {
    margin:0!important;
    color:#113a5e!important;
    font-size:clamp(16px,2vw,22px)!important;
    line-height:1.1;
    letter-spacing:-.035em;
    font-variant-numeric:tabular-nums;
    overflow-wrap:anywhere;
}
html body #chon-xe .vehicle-more .vehicle-benefits {
    grid-row:2;
    padding:10px 12px!important;
    background:#f4f9fd!important;
    border-color:#e0ecf5!important;
}
html body #chon-xe .vehicle-more .vlb-benefit-name {justify-content:flex-start}
html body #chon-xe .vehicle-more .vlb-benefit-aligned {
    grid-template-columns:minmax(90px,1fr) minmax(0,1.4fr)!important;
    text-align:left!important;
}
html body #chon-xe .vehicle-info>.vlb-car-png:not(.vlb-car-png-empty) {
    max-width:720px!important;
    margin:12px auto 0!important;
    border-radius:14px;
}
@media(min-width:851px) {
    html body #chon-xe {width:100vw!important;margin-inline:calc(50% - 50vw)!important}
    html body #chon-xe .vehicle-panel {--stage-height:clamp(400px,38vw,555px);--rail-height:80px;--dock-overlap:26px}
    #chon-xe .vehicle-arc {
        --card-width:clamp(112px,12vw,170px);
        --card-step:clamp(215px,25vw,390px);
        top:0;
        height:var(--stage-height);
        pointer-events:none;
    }
    #chon-xe .vehicle-arc-card {
        top:44%;
        height:clamp(82px,9vw,112px);
        pointer-events:auto;
        backdrop-filter:blur(9px);
    }
    #chon-xe .vehicle-arc-card.is-active {top:auto;bottom:calc(27px + var(--dock-overlap));height:28px}
    #chon-xe .vehicle-arc-card.is-active img {display:none}
    #chon-xe .vehicle-arc-card.is-far {pointer-events:none}
    html body #chon-xe .vehicle-image-wrap>a,
    html body #chon-xe .vehicle-image-placeholder {width:min(56%,770px)!important}
    html body #chon-xe .vehicle-arrow {top:calc(var(--stage-height) * .52)!important}
    html body #chon-xe .vehicle-prev {left:clamp(18px,5vw,90px)!important}
    html body #chon-xe .vehicle-next {right:clamp(18px,5vw,90px)!important}
    html body #chon-xe .vehicle-info {
        display:grid!important;
        grid-template-columns:minmax(120px,.65fr) minmax(0,2fr);
        align-items:center;
        gap:0 24px;
    }
    html body #chon-xe .vehicle-actions {grid-template-columns:repeat(3,minmax(0,1fr))!important}
    html body #chon-xe .vehicle-button-installment {grid-column:auto!important}
    #chon-xe .vehicle-more {
        grid-column:1 / -1;
        grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
        align-items:stretch;
    }
    html body #chon-xe .vehicle-more .vehicle-specs {
        grid-column:1;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
    html body #chon-xe .vehicle-more .vehicle-benefits {grid-column:2;grid-row:1}
    html body #chon-xe .vehicle-info>.vlb-car-png {grid-column:1 / -1}
}
@media(prefers-reduced-motion:reduce) {
}
/* Shared glass material for the vehicle details. */
html body #chon-xe .vehicle-info {
    --ios-surface:linear-gradient(155deg,#fffffff2,#e8f3fcd9);
    --ios-edge:#ffffffed;
    --ios-highlight:inset 0 1px 0 #fff,inset 0 -1px 0 #b4cde44a;
    --ios-radius:16px;
    border-color:var(--ios-edge)!important;
    border-radius:24px!important;
    background:linear-gradient(145deg,#ffffffea,#e9f4fce8)!important;
    backdrop-filter:blur(18px) saturate(125%);
    -webkit-backdrop-filter:blur(18px) saturate(125%);
    box-shadow:var(--ios-highlight),0 16px 34px -23px #143b676e!important;
}
html body #chon-xe .vehicle-more .vehicle-specs,
html body #chon-xe .vehicle-more .vehicle-benefits {
    background:var(--ios-surface)!important;
    border:1px solid var(--ios-edge)!important;
    border-radius:var(--ios-radius)!important;
    box-shadow:var(--ios-highlight);
}
html body #chon-xe .vehicle-more .vehicle-specs {
    gap:1px!important;
    background:#d1e3f080!important;
}
html body #chon-xe .vehicle-more .vehicle-spec {background:var(--ios-surface)!important}
html body #chon-xe .vehicle-more .vlb-benefit-aligned {border-top-color:#bed3e44d!important}
html body #chon-xe .vehicle-info>.vlb-car-png:not(.vlb-car-png-empty) {
    border-radius:var(--ios-radius);
    box-shadow:0 0 0 1px #ffffffed,0 7px 14px -8px #17385852;
}
html body #chon-xe .vehicle-actions .vehicle-button {
    border-radius:12px!important;
    border:1px solid var(--ios-edge)!important;
    background:var(--ios-surface)!important;
    box-shadow:var(--ios-highlight),0 3px 8px #163d651c!important;
    transition:transform .18s cubic-bezier(.2,.8,.2,1),filter .18s ease,box-shadow .18s ease!important;
}
html body #chon-xe .vehicle-actions .vehicle-button-primary {
    background:linear-gradient(175deg,#2783cc,#00529c)!important;
    box-shadow:inset 0 1px 0 #ffffff80,0 5px 11px #00529c36!important;
}
@media(hover:hover) {
    html body #chon-xe .vehicle-actions .vehicle-button:hover {transform:translateY(-1px)!important}
}
html body #chon-xe .vehicle-actions .vehicle-button:active {transform:scale(.97)!important;filter:brightness(.98)}
@media(prefers-reduced-motion:reduce) {
    html body #chon-xe .vehicle-actions .vehicle-button {transition:none!important}
    html body #chon-xe .vehicle-actions .vehicle-button:hover,
    html body #chon-xe .vehicle-actions .vehicle-button:active {transform:none!important}
}

/* Approved showroom composition. */
html body #chon-xe .vehicle-panel::before {
    background:linear-gradient(180deg,#f1f8ff1c,transparent 60%,#48658119),
        url("../../images/home/showroom-bg-desktop.webp") center top / max(101%,calc(var(--stage-height) * 1.79)) auto no-repeat,#c6dfef!important;
}
#chon-xe .vehicle-glass-dock {display:contents}
#chon-xe .vehicle-arc-card small {display:none}
@media(min-width:851px) {
    html body #chon-xe {padding:0 0 30px!important}
    html body #chon-xe .vehicle-selector-heading {
        position:absolute!important;
        width:1px!important;
        height:1px!important;
        overflow:hidden!important;
        clip-path:inset(50%);
    }
    html body #chon-xe .vehicle-tabs {
        position:absolute!important;
        z-index:6;
        inset:clamp(15px,3vw,42px) 0 auto;
        width:min(380px,48vw)!important;
        margin:0 auto!important;
        background:#e4f2ff73!important;
        border-color:#ffffffc9!important;
        backdrop-filter:blur(14px);
    }
    html body #chon-xe .vehicle-tab {height:37px!important;font-size:13px!important}
    html body #chon-xe .vehicle-panel {
        --stage-height:clamp(490px,52vw,850px);
        --dock-overlap:clamp(114px,11.5vw,174px);
    }
    html body #chon-xe .vehicle-image-wrap>a,
    html body #chon-xe .vehicle-image-placeholder {
        inset:25% 0 auto!important;
        width:min(48%,920px)!important;
        height:53%!important;
    }
    html body #chon-xe .vehicle-image {filter:none!important}
    #chon-xe .vehicle-arc {--card-width:clamp(120px,13vw,218px);--card-step:32vw}
    #chon-xe .vehicle-arc-card {
        top:43%;
        height:clamp(116px,13vw,212px);
        padding:clamp(8px,1.2vw,20px);
        gap:4px;
        border:1px solid #ffffffdb;
        border-radius:clamp(15px,1.9vw,29px);
        background:linear-gradient(145deg,#e8f5ff87,#9abbd480);
        color:#102940;
        grid-template-rows:minmax(0,1fr) auto auto;
        box-shadow:inset 0 1px 0 #fff8,0 12px 30px #183a5220;
        opacity:1;
        font-size:clamp(15px,1.45vw,23px);
        transform:translateX(calc(-50% + var(--offset) * var(--card-step))) rotateY(calc(var(--offset) * -12deg));
    }
    #chon-xe .vehicle-arc-card small {display:block;color:#a62335;font-size:clamp(10px,1vw,16px);font-weight:750}
    #chon-xe .vehicle-arc-card:not(.is-neighbor) {opacity:0;pointer-events:none}
    #chon-xe .vehicle-arc-card.is-active {
        top:auto;
        bottom:calc(var(--dock-overlap) + 7px);
        height:30px;
        font-size:12px;
    }
    #chon-xe .vehicle-arc-card.is-active:focus-visible {opacity:1;pointer-events:auto}
    #chon-xe .vehicle-arc-card.is-active small {display:none}
    #chon-xe .vehicle-runway-progress {bottom:calc(var(--dock-overlap) + 13px)}
    html body #chon-xe .vehicle-arrow {top:calc(var(--stage-height) * .48)!important;width:42px!important;height:42px!important}
    html body #chon-xe .vehicle-prev {left:clamp(12px,3.6vw,70px)!important}
    html body #chon-xe .vehicle-next {right:clamp(12px,3.6vw,70px)!important}
    html body #chon-xe .vehicle-info {
        display:flex!important;
        flex-direction:column!important;
        gap:0;
        width:min(1040px,calc(100% - 48px))!important;
        padding:0!important;
        border:0!important;
        background:transparent!important;
        box-shadow:none!important;
        backdrop-filter:none!important;
    }
    #chon-xe .vehicle-glass-dock {
        display:grid;
        grid-template-columns:auto minmax(0,1fr);
        align-items:center;
        gap:clamp(10px,2vw,25px);
        padding:clamp(12px,1.4vw,22px);
        border:1px solid #fff;
        border-radius:clamp(18px,2vw,30px);
        background:linear-gradient(135deg,#edf6ffbd,#d1e3f2b9);
        box-shadow:inset 0 1px 0 #fff9,0 14px 30px #143a5736;
        backdrop-filter:blur(22px) saturate(132%);
    }
    html body #chon-xe .vlb-vehicle-heading {
        margin:0!important;
        padding-right:clamp(10px,2vw,25px);
        border-right:1px solid #7594ad69;
    }
    html body #chon-xe .vlb-vehicle-heading h3 {font-style:italic;font-size:clamp(22px,3vw,44px)!important}
    html body #chon-xe .vehicle-price-benefits-row {
        display:grid!important;
        grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);
        align-items:center;
    }
    html body #chon-xe .vlb-offer-line {justify-content:flex-start!important;gap:3px!important}
    html body #chon-xe .vehicle-price-promo {font-size:clamp(18px,2vw,28px)!important;white-space:nowrap}
    html body #chon-xe .vehicle-actions .vehicle-button {border-radius:999px!important;padding-inline:7px!important}
    html body #chon-xe .vehicle-info>.vlb-car-png:not(.vlb-car-png-empty) {margin-top:clamp(18px,3vw,42px)!important}
    #chon-xe .vehicle-more {
        width:100%;
        margin-top:20px;
        padding:14px 16px;
        border:1px solid #fff;
        border-radius:20px;
        background:#f9fcffdc;
    }
    #chon-xe .vehicle-info>.vlb-car-png:not(.vlb-car-png-empty)+.vehicle-more {margin-top:16px}
}

/* Mobile stage framing */
@media(max-width:850px) {
    html body #chon-xe {padding-top:0!important}
    html body #chon-xe .vehicle-selector-heading {
        position:absolute!important;
        width:1px!important;
        height:1px!important;
        overflow:hidden!important;
        clip-path:inset(50%);
    }
    html body #chon-xe .vehicle-tabs {
        position:absolute!important;
        z-index:6;
        inset:8px 0 auto;
        margin:0 auto!important;
        background:#e4f2ffb8!important;
        border-color:#ffffffc9!important;
        backdrop-filter:blur(14px);
    }
    html body #chon-xe .vehicle-panel {--stage-height:clamp(375px,96vw,465px)}
    html body #chon-xe .vehicle-panel::before {
        background-position:center,center 58%!important;
        background-size:auto,100% 100%!important;
    }
    html body #chon-xe .vehicle-image-wrap>a,
    html body #chon-xe .vehicle-image-placeholder {
        inset:auto 0 calc(var(--rail-height) - 11px)!important;
        width:98%!important;
        height:calc((59% - var(--rail-height) + 25px) * 1.6)!important;
    }
    #chon-xe .vehicle-arc-card {
        border-color:#ffffffa1;
        background:linear-gradient(145deg,#e4f5ff90,#719bbd80);
        color:#0b2d49;
        backdrop-filter:blur(9px);
        box-shadow:inset 0 1px 0 #ffffffbd,0 5px 14px #16375524;
    }
    #chon-xe .vehicle-arc-card.is-active {background:linear-gradient(145deg,#fff,#d8edfc)}
    #chon-xe .vehicle-runway-progress {color:#123651}
    html body #chon-xe .vehicle-info {padding:10px!important}
    html body #chon-xe .vlb-vehicle-heading h3 {
        font-style:italic;
        font-size:clamp(24px,6vw,34px)!important;
    }
    #chon-xe .vehicle-glass-dock {
        display:block;
        padding:10px;
        border:1px solid #ffffffed;
        border-radius:16px;
        background:linear-gradient(140deg,#ffffffbf,#dbeefcab);
        box-shadow:inset 0 1px 0 white,0 6px 18px #284e6614;
    }
    html body #chon-xe .vehicle-actions {
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
        gap:5px!important;
    }
    html body #chon-xe .vehicle-actions .vehicle-button {
        padding:5px 4px!important;
        font-size:11px!important;
        line-height:1.2!important;
    }
    html body #chon-xe .vehicle-button-installment {grid-column:auto!important}
}
/* Keep prices inset and balance both benefit columns. */
html body #chon-xe .vehicle-info .vehicle-price-benefits-row>.vehicle-price {
    padding:10px 15px!important;
}
html body #chon-xe .vehicle-more .vlb-benefit-aligned {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:center;
    text-align:center!important;
}
html body #chon-xe .vehicle-more .vlb-benefit-name {justify-content:center}
html body #chon-xe .vehicle-more .vlb-benefit-value,
html body #chon-xe .vehicle-more .vlb-benefit-date {
    justify-self:center;
    text-align:center;
}
/* Keep both showroom landmarks inside the frame at narrow widths. */
@media (max-width:850px) {
    html body #chon-xe .vehicle-panel {
        --stage-height:clamp(365px,60vw,465px);
        --rail-height:157px;
        --dock-overlap:48px;
    }
}
@media (max-width:600px) {
    html body #chon-xe .vehicle-panel {--stage-height:clamp(350px,96vw,460px)}
    html body #chon-xe .vehicle-panel::before {
        background-image:linear-gradient(180deg,#f1f8ff1c,transparent 60%,#48658119),url("../../images/home/showroom-bg-mobile.webp")!important;
    }
}
#chon-xe .vehicle-runway-progress {gap:clamp(5px,1.1vw,9px)}
#chon-xe .vehicle-runway-progress i {
    width:6px;
    height:6px;
    border-radius:50%;
    background:#36566f9c;
    box-shadow:inset 0 0 0 1px #ffffff61;
}
#chon-xe .vehicle-runway-progress i.is-active {
    transform:scale(1.6);
    background:#fff;
    box-shadow:0 0 8px 2px #fff;
}
@media(prefers-reduced-motion:no-preference) {
    #chon-xe .vehicle-runway-progress i {transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease}
}
html body #chon-xe .vehicle-glass-dock .vehicle-price-benefits-row>.vehicle-price {
    padding:10px 14px!important;
    border:1px solid #fff!important;
    border-radius:14px!important;
    background:radial-gradient(ellipse at 28% 0%,#fff 0%,#f6fcff 45%,#e6f4ff 100%)!important;
    box-shadow:inset 0 1px 0 #fff,0 0 12px #ffffffa0,0 4px 12px #7daed327!important;
}
