/*
Theme Name: Bao-car
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.z-index-999 {
	z-index: 999;
}

/* === Archive car === */
.website-xe-archive {
    --website-xe-primary: var(--fs-color-primary, var(--primary-color, #0057d8));
    --website-xe-alert: var(--fs-color-alert, #0057b8);
    --website-xe-text: #0f172a;
    --website-xe-muted: #64748b;
    --website-xe-line: #edf1f7;
    background: transparent;
    padding: 48px 0 64px;
}

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

.website-xe-archive__header {
    margin-bottom: 28px;
    text-align: center;
}

.website-xe-archive__header h1 {
    margin: 0;
    color: #111827;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

.website-xe-archive__description {
    max-width: 720px;
    margin: 12px auto 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

.website-xe-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.website-xe-card {
    overflow: hidden;
    border: 1px solid var(--website-xe-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.website-xe-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.website-xe-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    padding: 18px;
    background: #fff;
}

.website-xe-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.website-xe-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 13px;
}

.website-xe-card__body {
    padding: 0 16px 16px;
}

.website-xe-card__title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.website-xe-card__title a {
    color: var(--website-xe-text);
}

.website-xe-card__type {
    margin-bottom: 8px;
    color: var(--website-xe-muted);
    font-size: 12px;
}

.website-xe-card__price {
    margin-bottom: 14px;
    color: var(--website-xe-alert);
    font-size: 15px;
    font-weight: 800;
}

.website-xe-card__specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 14px;
    padding-top: 12px;
    border-top: 1px solid var(--website-xe-line);
}

.website-xe-card__spec {
    min-width: 0;
}

.website-xe-card__spec strong {
    display: block;
    color: var(--website-xe-text);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.website-xe-card__spec span {
    display: block;
    margin-top: 2px;
    color: var(--website-xe-muted);
    font-size: 10px;
    line-height: 1.25;
}

.website-xe-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.website-xe-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.website-xe-card__button--light {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--website-xe-text);
}

.website-xe-card__button--primary {
    border: 1px solid var(--website-xe-primary);
    background: var(--website-xe-primary);
    color: #fff;
}

.website-xe-card__button:hover {
    transform: translateY(-1px);
}

.website-xe-archive__pagination {
    margin-top: 34px;
    text-align: center;
}

.website-xe-archive__empty {
    padding: 32px;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    text-align: center;
}
/* === End Archive car === */


.check-list ul {
	padding: 0;
	margin: 0;
}
.check-list ul li {
	list-style: none;
	position: relative;
	padding-left: 24px;
	margin-left: 0;
}
.check-list ul li:before {
	content: "✓";
    position: absolute;
    left: 0;
    top: 4px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

/* === Footer === */

.website-xe-footer--dealer {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.78);
}

.website-xe-footer--dealer:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 8%, color-mix(in srgb, var(--fs-color-primary) 24%, transparent), transparent 32%),
        linear-gradient(110deg, rgba(2, 6, 18, 0.94), rgba(9, 13, 24, 0.86) 52%, rgba(2, 6, 18, 0.96));
    pointer-events: none;
}



.website-xe-footer--dealer > .section-content {
    position: relative;
    z-index: 1;
}

.website-xe-footer__main > .col {
    margin-bottom: 36px;
}

.website-xe-footer__eyebrow {
    margin: 0 0 10px;
    color: var(--fs-color-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.website-xe-footer__brand {
    margin: 0 0 14px;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.15;
}

.website-xe-footer__desc {
    max-width: 420px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.75;
}

.website-xe-footer__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.website-xe-footer__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.website-xe-footer__cta a:first-child {
    border-color: var(--fs-color-primary);
    background: var(--fs-color-primary);
}

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

.website-xe-footer__heading,
.website-xe-footer__cars .website-xe-footer__title {
    margin: 0 0 18px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
}

.website-xe-footer__list,
.website-xe-footer__cars ul {
    display: grid;
    gap: 8px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.website-xe-footer__list li,
.website-xe-footer__cars li {
    width: 100%;
    margin: 0 !important;
}

.website-xe-footer__list a,
.website-xe-footer__cars a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 42px;
    width: 100%;
    padding: 9px 12px 9px 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.website-xe-footer__list a:before,
.website-xe-footer__cars a:before {
    content: "";
    position: absolute;
    left: 13px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--fs-color-primary);
    border-right: 2px solid var(--fs-color-primary);
    transform: translateY(-50%) rotate(45deg);
}

.website-xe-footer__list a:hover,
.website-xe-footer__cars a:hover {
    border-color: color-mix(in srgb, var(--fs-color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--fs-color-primary) 14%, transparent);
    color: #fff;
}

.website-xe-footer__cars p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.website-xe-footer__menu--cars .website-xe-shortcode {
    margin: 0;
    padding: 0;
    background: transparent;
}

.website-xe-footer__menu--cars .website-xe-shortcode__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.website-xe-footer__menu--cars .website-xe-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 8px;
}

.website-xe-footer__menu--cars .website-xe-card {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.website-xe-footer__menu--cars .website-xe-card__body {
    padding: 0;
}

.website-xe-footer__menu--cars .website-xe-card__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}

.website-xe-footer__menu--cars .website-xe-card__title a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 42px;
    width: 100%;
    padding: 9px 12px 9px 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.website-xe-footer__menu--cars .website-xe-card__title a:before {
    content: "";
    position: absolute;
    left: 13px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--fs-color-primary);
    border-right: 2px solid var(--fs-color-primary);
    transform: translateY(-50%) rotate(45deg);
}

.website-xe-footer__menu--cars .website-xe-card__title a:hover {
    border-color: color-mix(in srgb, var(--fs-color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--fs-color-primary) 14%, transparent);
    color: #fff;
}

.website-xe-footer__menu--cars .website-xe-card__image,
.website-xe-footer__menu--cars .website-xe-card__type,
.website-xe-footer__menu--cars .website-xe-card__price,
.website-xe-footer__menu--cars .website-xe-card__specs,
.website-xe-footer__menu--cars .website-xe-card__actions {
    display: none;
}

.website-xe-footer__bottom {
    position: relative;
    margin-top: 10px;
	padding: 24px 0;
}
.website-xe-footer__bottom:before {
	content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    pointer-events: none;
}
.website-xe-footer__bottom > .col {
    padding-bottom: 0;
}

.website-xe-footer__copyright, .website-xe-footer__design {
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
}

.website-xe-footer__copyright p, .website-xe-footer__design p {
    margin: 0;
}

.website-xe-footer__copyright strong {
    color: #fff;
}
.absolute-footer {
	display: none;
}

#popup-bao-gia section {
	padding: 0 5%;
}

/* Float CTA */
.float-cta {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 999;
    width: 220px;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(10px);
}

.float-cta h4 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
}

.float-cta .button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin: 0 0 8px !important;
    padding: 0 14px !important;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.float-cta .button:last-child {
    margin-bottom: 0 !important;
}

/* Chỉ custom nút Zalo */
.float-cta .button.success {
    background: #e8f3ff !important;
    color: #0068ff !important;
    box-shadow: inset 0 0 0 1px rgba(0, 104, 255, 0.18);
}

.float-cta .button i {
    font-size: 17px;
    line-height: 1;
}

.float-cta .button:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}


@media (max-width: 1024px) {
    .website-xe-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .website-xe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .website-xe-archive__header h1 {
        font-size: 26px;
    }
}




@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	
	.website-xe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .website-xe-card__body,
    .website-xe-card__image + .website-xe-card__body {
        padding: 0 10px 14px;
        text-align: center;
    }

    .website-xe-card__image {
        aspect-ratio: 4 / 3;
        padding: 12px;
    }

    .website-xe-card__title {
        margin: 0 0 4px;
        font-size: 16px;
        text-align: center;
    }

    .website-xe-card__title a {
        display: block;
    }

    .website-xe-card__type {
        margin-bottom: 6px;
        font-size: 11px;
        text-align: center;
    }

    .website-xe-card__price {
        margin-bottom: 0;
        font-size: 13px;
        text-align: center;
    }

    .website-xe-card__specs,
    .website-xe-card__actions {
        display: none;
    }
	
	#popup-bao-gia section .row .col:not(.col-bao-gia) {
		display: none;
	}
	
	/* Footer */
 .website-xe-footer--dealer {
        padding-top: 48px !important;
    }

    .website-xe-footer--dealer:after {
        bottom: 92px;
    }

    .website-xe-footer__brand {
        font-size: 24px;
    }

    .website-xe-footer__main .col {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .website-xe-footer__copyright {
        padding: 16px 15px;
    }
	.website-xe-footer__bottom {
		padding: 0 0 70px;
	}
	
	 .float-cta {
        left: 6px;
        right: 6px;
        bottom: 6px;
        width: auto;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        padding: 6px;
        border-radius: 12px;
    }

    .float-cta .text,
    .float-cta h4 {
        display: none !important;
    }

    .float-cta .button {
        min-width: 0;
        min-height: 38px;
        margin: 0 !important;
        padding: 0 4px !important;
        gap: 3px;
        border-radius: 8px;
        font-size: 10px;
        line-height: 1.1;
        white-space: nowrap;
    }

    .float-cta .button i {
        flex: 0 0 auto;
        font-size: 13px;
    }

    .float-cta .button span {
        display: inline-block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

	
	.contact-icon .icon-box-img {
		margin-right: 10px;
		width: 40px !important;
	}
	.contact-icon .icon-box-text h3 {
		margin: 0;
	}
}