.single-xe-layout-2 {
    --xe2-primary: var(--fs-color-primary, var(--primary-color, #0057d8));
    --xe2-secondary: var(--fs-color-secondary, var(--secondary-color, #1f2937));
    --xe2-alert: var(--fs-color-alert, #ef3b2d);
    --xe2-header-height: var(--flatsome-header-height, var(--header-height, 80px));
    --xe2-text: #111827;
    --xe2-muted: #65758b;
    --xe2-line: #e2e8f0;
    --xe2-bg: #f7f9fc;
    background: var(--xe2-bg);
    color: var(--xe2-text);
}

.xe2-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.xe2-section {
    padding: 64px 0;
}

.xe2-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.xe2-button:hover {
    color: #fff;
    opacity: 0.92;
    transform: translateY(-1px);
}

.xe2-button--primary {
    background: var(--xe2-primary);
}

.xe2-button--secondary {
    background: var(--xe2-secondary);
}

.xe2-button--zalo {
    gap: 8px;
    border: 1px solid rgba(0, 104, 255, 0.18);
    background: #e8f3ff;
    color: #0068ff;
}

.xe2-button--zalo:before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: url("../images/Icon_Zalo.png") center / contain no-repeat;
}

.xe2-button--zalo:hover {
    border-color: #0068ff;
    background: #dceeff;
    color: #0068ff;
}

.xe2-button--outline {
    border: 2px solid #fff;
    background: #fff;
    color: var(--xe2-primary);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.xe2-button--outline:hover {
    background: var(--xe2-primary);
    color: #fff;
}

.xe2-panel {
    border: 1px solid var(--xe2-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
}

.xe2-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(70px, 8vw, 96px) 0 clamp(96px, 10vw, 126px);
    background-color: #0b1120;
    background-position: center 54%;
    background-size: cover;
    color: #fff;
}

.xe2-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 7, 17, 0.82) 0%, rgba(3, 7, 17, 0.68) 34%, rgba(3, 7, 17, 0.28) 62%, rgba(3, 7, 17, 0.12) 100%),
        linear-gradient(180deg, rgba(3, 7, 17, 0.08), rgba(3, 7, 17, 0.34));
    pointer-events: none;
}

.xe2-hero__arc {
    position: absolute;
    left: -6vw;
    right: -6vw;
    bottom: -33px;
    height: 165px;
    min-height: 0;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: #fff;
    box-shadow: 0 -16px 38px rgba(15, 23, 42, 0.16);
    transform: rotate(-2deg);
    transform-origin: center top;
}

.xe2-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.xe2-hero__content {
    width: min(470px, 58vw);
    max-width: 470px;
    padding-top: 0;
    padding-bottom: 0;
}

.xe2-eyebrow {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.xe2-hero h1 {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(58px, 9vw, 98px);
    font-weight: 900;
    line-height: 0.92;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.xe2-hero__price-label {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.xe2-hero__price {
    color: var(--xe2-alert);
    font-size: 31px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.xe2-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.xe2-hero__car {
    position: absolute;
    z-index: 1;
    right: max(58px, calc((100vw - 1180px) / 2 + 34px));
    bottom: 14px;
    display: block;
    width: min(480px, 56vw);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.52));
}

.xe2-nav {
    position: sticky;
    top: calc(var(--xe2-header-height) - 10px);
    z-index: 40;
    padding: 0;
    border-bottom: 1px solid var(--xe2-line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
    backdrop-filter: none;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.xe2-nav.is-stuck {
    border-bottom-color: var(--xe2-line);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(10px);
}

.xe2-nav__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    justify-content: center;
    width: min(1120px, calc(100% - 48px));
    max-width: none;
    height: 60px;
    gap: 4px;
    overflow-x: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.xe2-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    min-width: 0;
    padding: 0 18px;
    border-radius: 0;
    color: var(--xe2-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    transition: color 0.18s ease, background 0.18s ease;
}

.xe2-nav a + a {
    border-left: 0;
}

.xe2-nav a:after {
    content: "";
    position: absolute;
    left: 17%;
    right: 17%;
    bottom: 0;
    height: 3px;
    border-radius: 10px 10px 0 0;
    background: transparent;
    transition: background 0.18s ease;
}

.xe2-nav a:first-child:after,
.xe2-nav a:hover:after {
    background: var(--xe2-primary);
}

.xe2-nav a:hover {
    background: transparent;
    color: var(--xe2-primary);
}

.xe2-overview {
    background: #fff;
    padding: 46px 0 36px;
}

.xe2-overview__grid {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 178px;
    gap: 30px;
    align-items: center;
}

.xe2-section-kicker,
.xe2-section-heading span {
    color: var(--xe2-primary);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.xe2-color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.xe2-color-swatch {
    width: 42px;
    height: 42px;
    border: 3px solid #fff;
    border-radius: 999px;
    background: var(--xe-color);
    box-shadow: 0 0 0 1px #cbd5e1;
    cursor: pointer;
}

.xe2-color-swatch.is-active {
    box-shadow: 0 0 0 4px var(--xe2-primary);
}

.xe2-car-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 330px;
    border-radius: 0;
    background: #fff;
}

.xe2-car-stage img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.xe2-specs {
    display: grid;
    gap: 14px;
    padding-left: 0;
    border-left: 0;
}

.xe2-spec {
    padding: 18px 20px;
    border: 1px solid var(--xe2-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.xe2-spec strong {
    display: block;
    color: var(--xe2-text);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
}

.xe2-spec span {
    display: block;
    margin-top: 6px;
    color: var(--xe2-muted);
    font-size: 13px;
}

.xe2-section-heading {
    margin-bottom: 26px;
}

.xe2-section-heading--left {
    text-align: left;
}

.xe2-section-heading h2 {
    margin: 6px 0 0;
    color: var(--xe2-text);
    font-size: 34px;
    font-weight: 900;
}

.xe2-price-promo__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    border: 2px solid var(--xe2-primary);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.09);
}

.xe2-price-box,
.xe2-promo-box {
    padding: 26px 28px 28px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.xe2-price-box {
    border-right: 2px solid var(--xe2-primary);
    border-right: 2px solid color-mix(in srgb, var(--xe2-primary) 34%, #fff);
}

.xe2-price-box h3,
.xe2-promo-box h3 {
    margin: 0 0 22px;
    font-size: 23px;
    font-weight: 900;
}

.xe2-price-table {
    overflow: hidden;
    border: 1px solid #f1f5f9;
    border-radius: 5px;
}

.xe2-price-table__head,
.xe2-price-table__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-height: 72px;
    align-items: center;
    padding: 18px 22px;
}

.xe2-price-table__head {
    min-height: 50px;
    padding-top: 14px;
    padding-bottom: 14px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.xe2-price-table__head span:last-child {
    text-align: right;
}

.xe2-price-table__row + .xe2-price-table__row {
    border-top: 1px solid var(--xe2-line);
}

.xe2-price-table__row:last-child {
    border-bottom: 1px solid var(--xe2-line);
}

.xe2-price-table__row strong {
    color: var(--xe2-alert);
    text-align: right;
    white-space: nowrap;
}

.xe2-promo-box {
    border-color: var(--xe2-primary);
    background: var(--xe2-primary);
    color: #fff;
}

.xe2-promo-box h3,
.xe2-promo-box h4 {
    color: #fff;
}

.xe2-promo-box__block + .xe2-promo-box__block {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.xe2-promo-box__block h4 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 900;
}

.xe2-promo-box ul,
.xe2-promo-box ol {
    margin: 0;
    padding-left: 20px;
}

.xe2-promo-box li,
.xe2-promo-box p {
    color: rgba(255, 255, 255, 0.9);
}

.xe2-price-promo__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.xe2-gallery {
    background: #fff;
    padding-top: 0;
}

.xe2-gallery__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 95px;
    gap: 10px;
}

.xe2-gallery__item {
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    background: #f1f5f9;
}

.xe2-gallery__item--large {
    grid-row: span 1;
}

.xe2-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.xe2-gallery__item:hover img {
    transform: scale(1.04);
}

.xe2-accordion {
    display: grid;
    gap: 16px;
}

.xe2-accordion__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 62px;
    margin: 0;
    padding: 0 24px;
    border: 0;
    border-radius: 8px 8px 0 0;
    background: #fff;
    color: var(--xe2-text);
    font-size: 16px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.xe2-accordion__item {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.xe2-accordion__icon {
    color: var(--xe2-primary);
    font-size: 26px;
    line-height: 1;
    transition: transform 0.18s ease;
}

.xe2-accordion__content {
    display: none;
    padding: 16px 24px 24px;
    color: #334155;
    line-height: 1.75;
}

.xe2-accordion__item.is-open {
    border-color: color-mix(in srgb, var(--xe2-primary) 22%, #dbe4f0);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.xe2-accordion__item.is-open .xe2-accordion__toggle {
    border-bottom: 1px solid var(--xe2-line);
}

.xe2-accordion__item.is-open .xe2-accordion__content {
    display: block;
}

.xe2-accordion__item.is-open .xe2-accordion__icon {
    transform: rotate(45deg);
}

.xe2-quote {
    background: #fff;
}

.xe2-quote__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.xe2-quote__summary,
.xe2-quote__form {
    padding: 34px;
    border: 1px solid var(--xe2-line);
    border-radius: 8px;
    background: #f8fafc;
}

.xe2-quote__summary {
    display: grid;
    gap: 22px;
    align-content: start;
}

.xe2-quote__summary-main {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.xe2-quote__summary-main img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.xe2-quote__summary .xe2-eyebrow {
    color: var(--xe2-primary);
}

.xe2-quote__summary h2,
.xe2-quote__form h2 {
    margin: 0 0 10px;
    color: var(--xe2-text);
    font-size: 30px;
    font-weight: 900;
}

.xe2-quote__type {
    margin: 0 0 8px;
    color: var(--xe2-muted);
    font-weight: 700;
}

.xe2-quote__price {
    margin: 0;
    color: var(--xe2-alert);
    font-size: 20px;
    font-weight: 900;
}

.xe2-quote__promo {
    position: relative;
    overflow: hidden;
    margin-top: 18px;
    padding: 20px 22px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--xe2-primary) 9%, #fff);
}

.xe2-quote__promo:after {
    content: "";
    position: absolute;
    top: 14px;
    right: 14px;
    width: 72px;
    height: 72px;
    background: url("../images/gift.png") center / contain no-repeat;
    pointer-events: none;
}

.xe2-quote__promo h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: var(--xe2-primary);
    font-size: 16px;
    font-weight: 900;
}

.xe2-quote__promo ul,
.xe2-quote__promo ol {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
}

.xe2-quote__promo p {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
}

.xe2-quote__promo p:last-child {
    margin-bottom: 0;
}

.xe2-sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 12px 16px;
    border-top: 1px solid var(--xe2-line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.08);
}

.xe2-sticky-cta__summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.xe2-sticky-cta__summary img {
    inline-size: clamp(64px, 7vw, 92px);
    block-size: calc(clamp(64px, 7vw, 92px) * 9 / 16);
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 4px;
    background: transparent;
    object-fit: contain;
}

.xe2-sticky-cta strong,
.xe2-sticky-cta span {
    display: block;
    line-height: 1.2;
}

.xe2-sticky-cta span {
    margin-top: 3px;
    color: var(--xe2-alert);
    font-weight: 900;
}

@media (max-width: 980px) {
    .xe2-overview__grid,
    .xe2-price-promo__grid,
    .xe2-quote__grid,
    .xe2-quote__summary {
        grid-template-columns: 1fr;
    }

    .xe2-quote__summary-main {
        grid-template-columns: 1fr;
    }

    .xe2-hero {
        padding: 52px 0 0;
    }

    .xe2-hero__inner {
        display: block;
    }

    .xe2-hero__arc {
        bottom: -76px;
        height: 165px;
    }

    .xe2-hero__content {
        width: min(100%, 560px);
        max-width: none;
    }

    .xe2-hero__car {
        position: relative;
        z-index: 2;
        right: auto;
        bottom: auto;
        width: min(92vw, 560px);
        margin: 22px auto 20px;
    }

    .xe2-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xe2-price-box {
        border-right: 0;
        border-bottom: 2px solid var(--xe2-primary);
        border-bottom: 2px solid color-mix(in srgb, var(--xe2-primary) 34%, #fff);
    }
}

@media (max-width: 640px) {
    .xe2-section {
        padding: 42px 0;
    }

    .xe2-hero h1 {
        font-size: clamp(48px, 12vw, 70px);
    }

    .xe2-eyebrow {
        font-size: 15px;
    }

    .xe2-hero__price {
        font-size: 28px;
        word-break: keep-all;
    }

    .xe2-hero__actions {
        gap: 10px;
        margin-top: 22px;
    }

    .xe2-hero__actions .xe2-button {
        min-height: 44px;
        padding: 0 18px;
    }

    .xe2-hero__arc {
        bottom: -33px;
        height: 165px;
    }

    .xe2-nav__inner {
        display: flex;
        justify-content: space-around;
        width: 100%;
        height: 54px;
        scrollbar-width: none;
    }

    .xe2-nav__inner::-webkit-scrollbar {
        display: none;
    }

    .xe2-nav a {
        min-width: unset;
        height: 54px;
        padding: 0 6px;
        font-size: 13px;
    }

    .xe2-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 160px;
    }

    .xe2-gallery__item--large {
        grid-row: span 1;
    }

    .xe2-price-table__head,
    .xe2-price-table__row {
        min-height: 56px;
        gap: 12px;
        padding: 12px 14px;
    }

    .xe2-price-box,
    .xe2-promo-box,
    .xe2-quote__summary,
    .xe2-quote__form {
        padding: 24px;
    }

    .xe2-sticky-cta {
        justify-content: space-between;
        gap: 12px;
    }

    .xe2-sticky-cta span {
        display: none;
    }
}
