.single-xe-layout-1 {
    --xe-primary: var(--fs-color-primary, var(--primary-color, #075ce5));
    --xe-primary-dark: var(--fs-color-primary, var(--primary-color, #004bc5));
    --xe-secondary: var(--fs-color-secondary, var(--secondary-color, #111827));
    --xe-alert: var(--fs-color-alert, #e52323);
    --xe-text: #111827;
    --xe-muted: #6b7280;
    --xe-line: #e5e7eb;
    --xe-soft: #f7f9fc;
    --xe-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    color: var(--xe-text);
    background: #fff;
}

.xe-container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.xe-section {
    padding: 28px 0;
}

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

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

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

.xe-button--outline-light {
    border-color: #fff;
    background: transparent;
    color: #fff;
}

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

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

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

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

.xe-panel {
    border: 1px solid var(--xe-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--xe-shadow);
}

.xe-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 44px;
    background-color: #0b1120;
    background-position: center;
    background-size: cover;
    color: #fff;
    text-align: center;
}

.xe-hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.xe-breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
}

.xe-breadcrumb a {
    color: rgba(255, 255, 255, 0.86);
}

.xe-breadcrumb a:hover {
    color: #fff;
}

.xe-hero h1 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 7vw, 76px);
    font-weight: 900;
    line-height: 1;
}

.xe-hero__subtitle {
    position: relative;
    z-index: 2;
    margin: 8px 0 20px;
    font-size: 20px;
    font-weight: 700;
}

.xe-hero__price-label {
    position: relative;
    z-index: 2;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
}

.xe-hero__price {
    position: relative;
    z-index: 2;
    margin: 2px 0;
    color: var(--xe-alert);
    font-size: clamp(32px, 4.5vw, 46px);
    font-weight: 900;
    line-height: 1.1;
}

.xe-hero__actions {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}

.xe-showcase__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
    gap: 28px;
    align-items: stretch;
}

.xe-car-card {
    padding: 36px;
    text-align: center;
}

.xe-main-car {
    display: block;
    width: min(680px, 100%);
    margin: 0 auto;
}

.xe-color-title {
    margin: 12px 0;
    color: var(--xe-muted);
    font-weight: 700;
}

.xe-color-list {
    display: flex;
    justify-content: center;
    gap: 28px;
}

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

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

.xe-car-card__price {
    margin-top: 30px;
    text-align: left;
    scroll-margin-top: 90px;
}

.xe-car-card__price .xe-section-title {
    margin-bottom: 16px;
}

.xe-promo-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-color: color-mix(in srgb, var(--xe-primary) 32%, #fff);
}

.xe-promo-card__head {
    position: relative;
    padding: 24px 26px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--xe-primary), var(--xe-primary-dark));
    color: #fff;
}

.xe-promo-card__head:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 76px;
    height: 76px;
    background: url("../images/gift.png") center / contain no-repeat;
    opacity: 0.26;
    transform: translateY(-50%);
    pointer-events: none;
}

.xe-promo-card__head h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.xe-promo-card__content {
    flex: 1 1 auto;
    padding: 28px 28px 34px;
    color: #4b5563;
    font-weight: 400;
}

.xe-promo-card__content ul,
.xe-promo-card__content ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.xe-promo-card__content li {
    position: relative;
    margin: 0;
    padding-left: 28px;
    line-height: 1.55;
}

.xe-promo-card__content b,
.xe-promo-card__content strong {
    font-weight: 400;
}

.xe-promo-card__content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--xe-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.xe-promo-card__content p {
    margin: 0 0 8px;
}

.xe-promo-card__divider {
    height: 1px;
    margin: 16px 0;
    background: var(--xe-line);
}

.xe-promo-card__actions {
    display: grid;
    gap: 14px;
    padding: 0 28px 30px;
}

.xe-promo-card__actions .xe-button {
    width: 100%;
}

.xe-section-title {
    margin: 0 0 22px;
    color: var(--xe-text);
    font-size: 24px;
    font-weight: 900;
}

.xe-section-title--center {
    text-align: center;
}

.xe-section-title--primary {
    color: var(--xe-primary);
}

.xe-spec-grid {
    display: flex;
    align-items: stretch;
    gap: 18px;
}

.xe-specs-section {
    padding-bottom: 18px;
}

.xe-spec-item {
    flex: 1 1 0;
    padding: 18px 14px;
    border: 1px solid var(--xe-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.xe-spec-item strong {
    display: block;
    color: var(--xe-text);
    font-size: 22px;
    font-weight: 900;
}

.xe-spec-item span {
    display: block;
    margin-top: 4px;
    color: var(--xe-muted);
    font-size: 13px;
    font-weight: 600;
}

.xe-divider {
    height: 1px;
    margin: 8px auto 22px;
    background: var(--xe-line);
}

.xe-price-area {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.95fr);
    gap: 26px;
    align-items: stretch;
}

.xe-price-table {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--xe-line);
    border-radius: 8px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

.xe-price-table th,
.xe-price-table td {
    padding: 16px 24px !important;
    border-bottom: 1px solid var(--xe-line);
    text-align: left;
}

.xe-price-table th {
    background: #f8fafc;
    color: #374151;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.xe-price-table th:last-child,
.xe-price-table td:last-child {
    text-align: right;
}

.xe-price-table tr:last-child td {
    border-bottom: 0;
}

.xe-price-table td:last-child {
    color: var(--xe-alert);
    font-weight: 900;
}

.xe-quote-box {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 32px;
}

.xe-quote-box .xe-button {
    width: 100%;
}

.xe-note {
    margin: 14px 0 0;
    color: var(--xe-muted);
    font-size: 13px;
    font-weight: 600;
}

.xe-note--center {
    text-align: center;
}

.xe-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.xe-gallery-item {
    overflow: hidden;
    border-radius: 6px;
    background: #f1f5f9;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.xe-gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.xe-gallery-item:hover img {
    transform: scale(1.04);
}

.xe-accordion {
    display: grid;
    gap: 14px;
}

.xe-accordion__item {
    overflow: hidden;
    border: 1px solid var(--xe-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

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

.xe-accordion__item.is-open .xe-accordion__toggle {
    color: #fff;
    background: var(--xe-primary);
}

.xe-accordion__icon {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.18s ease;
}

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

.xe-accordion__content {
    display: none;
    padding: 22px;
    color: #4b5563;
    line-height: 1.75;
}

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

.xe-quote-section {
    background: var(--xe-soft);
}

.xe-quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--xe-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--xe-shadow);
}

.xe-quote-summary {
    display: grid;
    gap: 22px;
    align-content: start;
    padding: 34px;
    border-right: 1px solid var(--xe-line);
}

.xe-quote-summary__main {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: center;
}

.xe-quote-summary__main img {
    width: 100%;
}

.xe-quote-summary h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 900;
}

.xe-quote-type {
    margin: 0;
    color: var(--xe-muted);
    font-weight: 700;
}

.xe-quote-price {
    margin: 8px 0 4px;
    color: var(--xe-alert);
    font-size: 24px;
    font-weight: 900;
}

.xe-quote-promo {
    position: relative;
    overflow: hidden;
    padding: 22px 24px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--xe-primary) 9%, #fff);
}

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

.xe-quote-promo h4 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: var(--xe-primary);
    font-size: 16px;
    font-weight: 900;
}

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

.xe-quote-promo p {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
}

.xe-quote-promo p:last-child {
    margin-bottom: 0;
}

.xe-form-box {
    padding: 28px;
}

.xe-form-box h2 {
    margin: 0 0 16px;
    font-size: 28px;
    font-weight: 900;
}

.xe-sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 30;
    background: linear-gradient(90deg, #111827, #17233a);
    color: #fff;
    box-shadow: 0 -14px 30px rgba(15, 23, 42, 0.2);
}

.xe-sticky-cta__inner {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto auto;
    gap: 18px;
    align-items: center;
    min-height: 78px;
}

.xe-sticky-cta__inner img {
    width: 88px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.xe-sticky-cta__title strong,
.xe-sticky-cta__price strong {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.xe-sticky-cta__title span,
.xe-sticky-cta__price span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.xe-sticky-cta__price strong {
    color: var(--xe-alert);
}

@media (max-width: 900px) {
    .xe-hero {
        padding: 38px 0;
    }

    .xe-showcase__grid,
    .xe-price-area,
    .xe-quote-grid,
    .xe-quote-summary {
        grid-template-columns: 1fr;
    }

    .xe-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .xe-spec-grid {
        flex-wrap: wrap;
    }

    .xe-spec-item {
        flex-basis: calc(50% - 9px);
    }

    .xe-quote-summary {
        border-right: 0;
        border-bottom: 1px solid var(--xe-line);
    }
}

@media (max-width: 640px) {
    .xe-container {
        width: min(100% - 32px, 1120px);
    }

    .xe-section {
        padding: 36px 0;
    }

    .xe-hero h1 {
        font-size: 48px;
    }

    .xe-hero__subtitle {
        font-size: 16px;
    }

    .xe-hero__actions {
        display: grid;
        gap: 10px;
    }

    .xe-gallery-grid,
    .xe-spec-grid {
        grid-template-columns: 1fr 1fr;
    }

    .xe-spec-grid {
        display: grid;
    }

    .xe-car-card,
    .xe-quote-box,
    .xe-form-box,
    .xe-quote-summary {
        padding: 24px;
    }

    .xe-quote-summary__main {
        grid-template-columns: 1fr;
    }

    .xe-price-table th,
    .xe-price-table td {
        padding: 12px 14px !important;
        font-size: 14px;
    }

    .xe-sticky-cta__inner {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        gap: 10px;
        min-height: 82px;
    }

    .xe-sticky-cta__inner img {
        width: 64px;
    }

    .xe-sticky-cta__price {
        display: none;
    }

    .xe-sticky-cta .xe-button {
        min-height: 42px;
        padding: 0 14px;
        font-size: 13px;
    }
}
