﻿/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* XC XC Floating Discount Banner Style */
.xc-floating-discount {
    position: relative;
    width: 100%;
    min-height: 46px;
    /* Matches user snippet height */
    text-align: center;
    z-index: 400;
    font-family: 'Mulish', sans-serif;
    color: #fff;
    overflow: hidden;
    /* Ensures bg doesn't spill if rounded/etc */
    background-color: #0b2d65;
    /* Fallback color matching Vinhomes blue */
}

/* Background Image */
.xc-floating-discount__bg {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Content Wrapper */
.xc-floating-discount__content {
    position: relative;
    z-index: 2;
    padding: 10px 40px 10px 14px;
    /* Right padding handles close button space */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
}

.xc-floating-discount__body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* Allows wrapping on very small screens */
    gap: 10px;
}

.xc-floating-discount__text {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 0.95rem;
    /* ~15px */
    font-weight: 400;
    line-height: 1.3;
}

/* Floating Discount Button */
.xc-floating-discount__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #c2812a;
    border: 1px solid #c2812a;
    color: #fff;
    border-radius: 4px;
    /* x-small radius */
    outline: none;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Mulish', sans-serif;

    /* x-small sizing */
    height: 28px;
    padding: 0 12px;
    font-size: 0.8125rem;
    /* 13px */
    line-height: 1;
}

.xc-floating-discount__btn:hover {
    background-color: #a06b23;
    border-color: #a06b23;
    color: #fff;
}

/* Close Button */
.xc-floating-discount__close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.xc-floating-discount__close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.xc-floating-discount__close svg {
    display: block;
}

/* Remove default entry content padding */
.entry-content {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

/* 
   XC Section Title (Independent Element)
   Replicates: .section-title and .section-subtitle
*/
.xc-section-title-container {
    margin-bottom: 24px;
    width: 100%;
}

.xc-section-title-main {
    font-family: 'Mulish', sans-serif;
    font-size: 1.375rem;
    /* 22px */
    line-height: 1.875rem;
    /* 30px */
    letter-spacing: -0.69px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0 !important;
    /* Reset margin */
    padding: 0;
    text-transform: none !important;
    /* Override flatsome uppercase default */
}

@media screen and (min-width: 992px) {
    .xc-section-title-main {
        font-size: 1.5rem;
        /* 24px */
        letter-spacing: -0.54px;
    }
}

.xc-section-subtitle-main {
    font-family: 'Mulish', sans-serif;
    font-size: 1rem;
    /* 16px */
    line-height: 1.5rem;
    /* 24px */
    font-weight: 600;
    color: #334155;
    margin: 0;
    padding: 0;
}

/* 3. News Section Button (See More) - Custom Class via UX Builder: .home-blog__btn-more */
.home-blog__btn-more.button {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    font-family: 'Mulish', sans-serif;
    color: #182a73 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: auto !important;
    height: auto !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin: 0 !important;
}

.home-blog__btn-more.button span,
.home-blog__btn-more.button span span {
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-right: 5px;
}

.home-blog__btn-more.button i {
    font-size: 14px;
    margin-left: 0 !important;
    /* Icon spacing controlled by span margin or icon margin */
}

.home-blog__btn-more.button:hover,
.home-blog__btn-more.button:focus,
.home-blog__btn-more.button:active {
    color: #2e438f !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

/* 
   XC Blog Grid Styles
*/
.xc-blog-grid-row {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    /* All columns same height */
}

.xc-blog-grid-row .col {
    display: flex;
    /* Make column flex container */
    flex-direction: column;
}

.xc-blog-grid-row .col-inner {
    flex: 1;
    /* Stretch inner to fill col */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.xc-card-post {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
}

/* Featured Post (Left Col) */
.xc-card-post--featured {
    height: 100%;
    margin-bottom: 0;
    /* Remove bottom margin to align bottom edge */
    display: flex;
    flex-direction: column;
}

.xc-card-post--featured .xc-card-post__image {
    display: block;
    width: 100%;
    /* Aspect Ratio adjustments to match height of right col (3 items + gaps) */
    /* Right side: (80px * 3) + (15px * 2 gaps) + padding/text approx = ~350-400px total */
    /* 16:9 of 600px width = ~337px. This is quite close. */
    padding-top: 56.25%;
    /* 16:9 ratio */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.xc-card-post--featured .xc-card-post__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.xc-card-post--featured:hover .xc-card-post__image img {
    transform: scale(1.05);
}

.xc-card-post--featured .xc-card-post__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 12px;
}

.xc-card-post--featured .xc-card-post__title {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.4;

    /* Clamp to exactly 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* height: calc(1.4em * 2);  Optional: reserve space */
}

.xc-card-post--featured .xc-card-post__title a {
    color: #334155;
    transition: color 0.2s;
}

.xc-card-post--featured .xc-card-post__title a:hover {
    color: #2e438f;
}

.xc-card-post--featured .xc-card-post__excerpt {
    display: none !important;
    /* HIDE Excerpt as requested */
}

.xc-card-post--featured .xc-card-post__meta {
    font-size: 13px;
    line-height: 20px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    /* Space between title and meta */
}

.xc-meta-cat {
    color: #182a73;
    font-weight: 600;
    position: relative;
    white-space: nowrap;
}

.xc-meta-cat:after {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #aab7ca;
    border-radius: 50%;
    margin-left: 10px;
    vertical-align: middle;
}

/* Sidebar List (Right Col) */
.xc-post-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Space items out evenly to fill height */
    height: 100%;
}

.xc-card-post--sidebar {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 0;
    height: auto;
    /* Flexible height sharing */
    flex: 1;
    min-height: 0;
    /* allows flex shrink */
    padding-bottom: 15px;
}

.xc-card-post--sidebar:last-child {
    padding-bottom: 0;
}

.xc-card-post--sidebar .xc-card-post__image {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.xc-card-post--sidebar .xc-card-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xc-card-post--sidebar .xc-card-post__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
}

.xc-card-post--sidebar .xc-card-post__title {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: auto;
    /* Push meta down if needed */

    /* Clamp to exactly 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 2.7em;
}

.xc-card-post--sidebar .xc-card-post__title a {
    color: #334155;
    transition: color 0.2s;
}

.xc-card-post--sidebar .xc-card-post__title a:hover {
    color: #2e438f;
}

.xc-card-post--sidebar .xc-card-post__meta {
    margin-top: 4px;
    font-size: 13px;
    color: #475569;
}


/* XC Footer Styling */
.xc-footer {
    background-color: rgba(240, 249, 255, 0.35) !important;
    padding-top: 40px !important;
    padding-bottom: 20px !important;
    color: #334155;
    font-family: 'Mulish', sans-serif;
}

.xc-footer p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.footer__widget-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #2e438f !important;
    margin-bottom: 16px !important;
    text-transform: none !important;
}

/* Hotline & Email */
.xc-phone-email {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-flow: row wrap;
    gap: 24px;
}

@media screen and (min-width: 992px) {
    .xc-phone-email {
        flex-direction: column;
        gap: 12px;
    }
}

.xc-phone-email__item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.xc-phone-email__link {
    display: flex !important;
    align-items: flex-start;
    text-decoration: none !important;
    color: inherit !important;
    transition: opacity 0.3s;
}

.xc-phone-email__link:hover {
    opacity: 0.8;
}

.xc-phone-email__icon {
    font-size: 20px !important;
    margin-right: 12px !important;
    margin-top: 2px !important;
    color: #2e438f;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.xc-phone-email__content {
    display: flex;
    flex-direction: column;
}

.xc-phone-email__text {
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #2e438f;
}

.xc-phone-email__subtext {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 400;
    color: #334155;
}

/* Cleanup layout from auto-generated tags in footer */
.xc-footer br,
.xc-footer p:empty {
    display: none !important;
}

/* Social Icons */
.footer__follow {
    margin-top: 15px;
    margin-bottom: 25px;
}

.footer__follow .button.circle {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    line-height: 32px !important;
    border: none !important;
    color: #fff !important;
    margin-right: 10px;
}

.footer__follow .facebook {
    background-color: #3c68eb !important;
}

.footer__follow .instagram {
    background-color: #dc2743 !important;
}

.footer__follow .twitter {
    background-color: #1da1f2 !important;
}

.footer__follow .email {
    background-color: #2e438f !important;
}

.footer__follow .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* App Download Images */
.xc-footer .img-inner img {
    max-height: 40px;
    width: auto;
}

/* Divider */
.xc-footer .is-divider {
    background-color: #e2e8f0 !important;
    height: 1px !important;
    max-width: 100% !important;
    margin: 30px 0 !important;
}

/* Disclaimer / Terms */
.dieu-khoan {
    font-size: 0.8rem !important;
    opacity: 0.6;
    text-align: justify;
}

/* Ecosystem Menu */
.footer_menu-he-sinh-thai {
    flex-direction: row !important;
    flex-wrap: wrap !important;
}

.footer_menu-he-sinh-thai .menu-item {
    margin-right: 15px !important;
    margin-top: 0 !important;
}

.footer_menu-he-sinh-thai .ux-menu-link__link {
    border: none !important;
    padding: 0 !important;
    min-height: auto !important;
}

.footer_menu-he-sinh-thai .ux-menu-link__text {
    font-weight: 700;
    font-size: 0.75rem;
    color: #2e438f;
    text-transform: uppercase;
    font-family: serif;
    /* Mimic TrajanPro if not loaded */
}

.footer_menu-he-sinh-thai .ux-menu-link__link:hover .ux-menu-link__text {
    text-decoration: underline;
}

.footer_logo img {
    max-height: 60px;
    width: auto;
    margin-bottom: 10px;
}

/* XC Footer Menu */
.xc-footer-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.xc-footer-menu__item {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

.xc-footer-menu__link {
    font-size: 1rem;
    font-weight: 600;
    color: #334155 !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.xc-footer-menu__link:hover {
    color: #2e438f !important;
}

.xc-footer-menu__chevron {
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.3s;
}

/* Dropdown logic */
.xc-footer-menu__dropdown {
    list-style: none !important;
    margin: 0 !important;
    padding: 8px 0 0 16px !important;
    display: none;
    /* Can be toggled with JS or shown on hover for simple use */
}

/* Show dropdown on hover (optional) */
.xc-footer-menu__item--has-dropdown:hover .xc-footer-menu__dropdown {
    display: block;
}

.xc-footer-menu__item--has-dropdown:hover .xc-footer-menu__chevron {
    transform: rotate(180deg);
}

.xc-footer-menu__dropdown-item {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

.xc-footer-menu__dropdown-link {
    font-size: 0.875rem;
    color: #4b5563 !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.xc-footer-menu__dropdown-link:hover {
    color: #2e438f !important;
}

/* Cleanup layout from auto-generated tags */
.xc-footer .xc-phone-email__link br,
.xc-footer .xc-phone-email__link p:empty {
    display: none !important;
}

/* Ensure Font Awesome icons show up if used */
.xc-footer .fa-solid,
.xc-footer .fa-brands,
.xc-footer .fa {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}



/* XC PROJECT CARD STYLES (From User Request) */
.xc-project-grid .col-inner {
    height: 100%;
}

.card-project-2 {
    background: transparent;
    border: 1px solid transparent;
    transition: background-color .2s ease, border .2s ease;
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-project-2 .card-image {
    padding-top: 66.66%;
    /* approx 3:2 ratio from user sample */
    position: relative;
    width: 100%;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-project-2 .card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 3s ease;
}

.card-project-2:hover .card-image img {
    transform: scale(1.1);
}

.card-project-2 .card-content {
    background: transparent;
    padding: 12px 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-project-2 .card-body {
    display: flex;
    gap: 8px;
    padding-bottom: 16px;
    flex: 1;
}

.card-project-2 .is-flex-1 {
    flex: 1;
}

.card-project-2 .card-title {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 700;
    font-family: 'Mulish', sans-serif;
    margin-bottom: 4px;
}

.card-project-2 .card-title a {
    color: #334155;
    transition: color 0.2s;
}

.card-project-2 .card-title a:hover {
    color: #2e438f;
}

.card-project-2 .list-utilities {
    font-size: .8125rem;
    line-height: 1.125rem;
    font-weight: 400;
    color: #334155;
    margin-top: 4px;
}

.list-utilities.is-dot .list-utilities-item:not(:last-child):after {
    content: "";
    background: #aab7ca;
    border-radius: 9999px;
    display: inline-flex;
    flex-shrink: 0;
    margin: 0 .5rem;
    height: 4px;
    width: 4px;
    vertical-align: middle;
}

.card-project-2 .card-logo {
    height: 42px;
    width: 78px;
    /* Fixed width from CSS */
    flex-shrink: 0;
}

.card-project-2 .card-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center right;
}

.card-project-2 .card-address {
    display: flex;
    gap: 4px;
    border-top: 1px solid #e2e8f0;
    padding: 8px 0 0;
    font-size: .8125rem;
    line-height: 1.125rem;
    font-weight: 400;
    color: #475569;
    margin-top: auto;
    align-items: center;
}

/* Badges */
.card-project-2 .badges {
    position: absolute;
    top: 1.5rem;
    /* Adjusted from user css top:.75rem + padding */
    left: 1.5rem;
    width: calc(100% - 80px);
    z-index: 2;
    pointer-events: none;
}

.badge {
    background: #fff;
    border-radius: 4px;
    color: #334155;
    font-size: .8125rem;
    line-height: 24px;
    font-weight: 600;
    padding: 2px 8px;
    display: inline-flex;
    align-items: center;
}

.badge.is-primary.is-gradient {
    background: linear-gradient(289.36deg, #ddb884 1.23%, #c2812a 97.63%);
    color: #fff;
}

/* Favorite Button */
.card-project-2 .button-favorite {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    border: none;
    height: 2rem;
    width: 2rem;
    background: transparent;
    z-index: 10;
    padding: 0;
    cursor: pointer;
}

.card-project-2 .button-favorite:before {
    content: "\f004";
    /* FontAwesome Heart */
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.card-project-2 .button-favorite:hover:before {
    font-weight: 900;
    color: #dc2626;
}

/* Hover Effect for Card */
.card-project-2:not(.is-boxed):hover {
    background: #fff;
    box-shadow: 0 4px 12px 0 rgba(28, 30, 34, .08);
}

/* Icons */
.ti {
    font-family: sans-serif;
    font-style: normal;
}

/* Fallback */
.ti-map-pin:before {
    content: "\f3c5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Mapping to FontAwesome Map Pin */


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* XC PROJECT CARD STYLES (BEM) - UPDATED 3 */

.xc-project-grid .col-inner {
    height: 100%;
}

.xc-card-project {
    position: relative;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: background-color .2s ease, border .2s ease, box-shadow .2s ease;
}

.xc-card-project:hover {
    background-color: #fff;
    box-shadow: 0 4px 12px 0 rgba(28, 30, 34, .08);
}

/* 1. Badges */
.xc-card-project__badges {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    pointer-events: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: calc(100% - 80px);
    /* Avoid overlapping favorite btn */
}

.xc-card-project__badge {
    height: 24px;
    line-height: 24px;
    padding: 0 8px;
    font-size: .8125rem;
    font-weight: 600;
    border-radius: 4px;
    background: #fff;
    color: #334155;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.xc-card-project__badge--featured {
    background: linear-gradient(289.36deg, #ddb884 1.23%, #c2812a 97.63%);
    color: #fff;
}

.xc-card-project__badge--subtitle {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
}

/* 2. Favorite Button */
.xc-card-project__favorite {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    outline: none;
    box-shadow: none !important;
}

.xc-card-project__favorite i {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    transition: all 0.2s;
}

.xc-card-project__favorite:hover i {
    font-weight: 900;
    color: #dc2626;
}

/* 3. Image */
.xc-card-project__image {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 116.66667%;
    /* Custom ratio 3:4ish from user request */
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 0;
}

.xc-card-project__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 3s ease;
}

.xc-card-project:hover .xc-card-project__image img {
    transform: scale(1.1);
}

/* 4. Content Area */
.xc-card-project__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 12px;
}

/* Body: Title, Meta, Logo */
.xc-card-project__body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 16px;
    flex: 1;
}

.xc-card-project__info {
    flex: 1;
}

.xc-card-project__title {
    margin: 0 0 4px 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 700;
    font-family: 'Mulish', sans-serif;
}

.xc-card-project__title a {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s;
}

.xc-card-project__title a:hover {
    color: #2e438f;
}

.xc-card-project__meta {
    font-size: .8125rem;
    /* 13px */
    line-height: 1.125rem;
    color: #334155;
    font-weight: 400;
}

.xc-card-project__meta-item {
    display: inline;
}

/* Dot Separator logic */
.xc-card-project__meta-item:not(:last-child):after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #aab7ca;
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 6px;
}

/* Logo */
.xc-card-project__logo {
    width: 78px;
    height: 42px;
    flex-shrink: 0;
    display: block;
}

.xc-card-project__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
}

/* Address */
.xc-card-project__address {
    margin-top: auto;
    /* Push to bottom */
    border-top: 1px solid #e2e8f0;
    padding-top: 8px;
    font-size: .8125rem;
    line-height: 1.125rem;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.xc-card-project__address i {
    font-size: 14px;
    margin-top: 2px;
    /* align with text */
    flex-shrink: 0;
}

/* Icon Map Pin mapping */
.icon-map-pin-fill:before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}


/* ============================================= */
/* XC Single Project Gallery Styles             */
/* ============================================= */

/* Section Wrapper */
.section-slider {
    position: relative;
    background-color: #000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main Slider Container */
.section-slider-container {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 50vh;
}

.slider-project-primary {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slider-project-primary .swiper-wrapper {
    align-items: center;
}

.slider-project-primary .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-project-primary .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Block Overlays */
.block-wrap {
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 10;
    padding: 0 20px;
}

.block-wrap.is-top {
    top: 20px;
}

.block-wrap.is-bottom {
    bottom: 30px;
    text-align: center;
}

.block-wrap .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.block-wrap.is-bottom .container-fluid {
    justify-content: center;
    flex-direction: column;
}

/* Breadcrumbs */
.section-slider .breadcrumbs {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.section-slider .breadcrumbs-item {
    color: rgba(255, 255, 255, 0.7);
}

.section-slider .breadcrumbs-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.section-slider .breadcrumbs-item a:hover {
    color: #fff;
}

.section-slider .breadcrumbs-item.is-active {
    color: #fff;
    font-weight: 600;
}

.section-slider .breadcrumbs-item:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.5);
}

/* Back Button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-back:hover {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
}

/* Section Title (In Slider) */
.block-wrap.is-bottom .section-title {
    font-size: 28px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.block-wrap.is-bottom .section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .block-wrap.is-bottom .section-title {
        font-size: 36px;
    }
}

/* Slider Bar (Thumbnails + Tabs) */
.section-slider-bar {
    background: #111;
    padding: 15px 0;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}

/* Thumbnails */
.section-slider-thumbnail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
}

.slider-project-primary-thumbs {
    height: 70px;
    overflow: visible !important;
}

.slider-project-primary-thumbs .swiper-wrapper {
    align-items: center;
}

.slider-project-primary-thumbs .swiper-slide {
    width: 100px !important;
    height: 65px;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.slider-project-primary-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #c2812a;
}

.slider-project-primary-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thumbnails Nav Buttons */
.section-slider-thumbnail .swiper-button-prev,
.section-slider-thumbnail .swiper-button-next {
    color: #fff;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.section-slider-thumbnail .swiper-button-prev {
    left: 5px;
}

.section-slider-thumbnail .swiper-button-next {
    right: 5px;
}

.section-slider-thumbnail .swiper-button-prev::after,
.section-slider-thumbnail .swiper-button-next::after {
    font-size: 14px;
}

/* Gallery Tabs */
.section-slider-gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.section-slider-gallery .tab-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
}

.section-slider-gallery .tab-item:hover,
.section-slider-gallery .tab-item.is-active {
    color: #fff;
}

.section-slider-gallery .tab-item i {
    font-size: 16px;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .is-hidden-mobile {
        display: none !important;
    }

    .section-slider-container {
        min-height: 40vh;
    }

    .block-wrap.is-bottom .section-title {
        font-size: 22px;
    }

    .slider-project-primary-thumbs .swiper-slide {
        width: 80px !important;
        height: 50px;
    }

    .section-slider-gallery {
        gap: 15px;
    }

    .section-slider-gallery .tab-item span {
        display: none;
    }
}


/* ============================================= */
/* XC Gallery Enhanced Styles (Vinhomes Match)  */
/* ============================================= */

/* Override section padding */
.section.section-slider {
    padding: 0 !important;
    margin: 0 !important;
}

/* Swiper Custom Container */
.swiper-custom-container {
    position: relative;
    width: 100%;
}

/* Main Slider - Full Height */
.section-slider-container {
    min-height: calc(100vh - 150px);
}

.slider-project-primary .swiper-slide {
    height: 100%;
}

/* Video Play Indicator */
.swiper-slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.swiper-slide-video .swiper-btn-control {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
}

.swiper-slide-video .swiper-btn-control:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Enhanced Title Styling */
.block-wrap.is-bottom .section-title {
    font-size: 36px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
    .block-wrap.is-bottom .section-title {
        font-size: 42px;
    }

    .block-wrap.is-bottom .section-subtitle {
        font-size: 18px;
    }
}

/* Thumb Hover */
.slider-project-primary-thumbs .swiper-slide:hover {
    opacity: 0.8;
}

/* Thumb Video Indicator */
.slider-project-primary-thumbs .swiper-slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-project-primary-thumbs .swiper-slide-video::before {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fff;
    font-size: 14px;
}

/* Nav Buttons Enhanced */
.section-slider-thumbnail .nav-button-prev,
.section-slider-thumbnail .nav-button-next {
    color: #fff;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.section-slider-thumbnail .nav-button-prev:hover,
.section-slider-thumbnail .nav-button-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.section-slider-thumbnail .nav-button-prev {
    left: 5px;
}

.section-slider-thumbnail .nav-button-next {
    right: 5px;
}

.section-slider-thumbnail .swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Tab Item Enhanced */
.section-slider-gallery .tab-item {
    padding: 5px 0;
}

.section-slider-gallery .tab-item i {
    font-size: 18px;
}

/* Mobile Enhanced */
@media (max-width: 767px) {
    .section-slider-container {
        min-height: 50vh;
    }

    .block-wrap.is-top {
        top: 10px;
    }

    .block-wrap.is-bottom {
        bottom: 15px;
    }

    .block-wrap.is-bottom .section-subtitle {
        font-size: 14px;
    }

    .section-slider-thumbnail {
        padding: 0 40px;
    }

    .section-slider-gallery {
        gap: 20px;
        padding: 12px 15px 0;
    }

    .section-slider-gallery .tab-item {
        font-size: 12px;
    }

    .section-slider-gallery .tab-item i {
        font-size: 20px;
    }

    .btn-back {
        padding: 8px 12px;
        font-size: 11px;
    }

    .btn-back span {
        display: none;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .section-slider-thumbnail {
        max-width: 1400px;
        padding: 0 60px;
    }

    .slider-project-primary-thumbs .swiper-slide {
        width: 120px !important;
        height: 75px;
    }
}

/* ==========================================================================
   XC Single Project Gallery - Vinhomes Market Style
   ========================================================================== */

/* Section Slider Container
   ========================================================================== */
.section.section-slider {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    background-color: #000;
    padding: 0 !important;
    margin: 0 !important;
}

/* Swiper Custom Container */
.swiper-custom-container {
    position: relative;
}

.swiper-custom-container .swiper {
    position: unset;
    overflow: hidden;
}

/* Main Slider Container
   ========================================================================== */
.section-slider-container {
    position: relative;
    width: 100%;
    height: 350px;
}

@media screen and (min-width: 992px) {
    .section-slider-container {
        height: 500px;
    }
}

/* Main Slider - No navigation, swipe only */
.slider-project-primary {
    position: relative;
    width: 100%;
    height: 350px;
    background-color: #000;
}

@media screen and (min-width: 992px) {
    .slider-project-primary {
        height: 500px;
    }
}

/* Main Slides */
.slider-project-primary .swiper-slide {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    transition-property: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@media screen and (min-width: 600px) {
    .slider-project-primary .swiper-slide {
        width: 500px;
    }

    .slider-project-primary .swiper-slide:not(:last-child) {
        margin-right: 2px;
    }
}

@media screen and (min-width: 992px) {
    .slider-project-primary .swiper-slide {
        width: 800px;
    }
}

.slider-project-primary .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide Info - Title & Subtitle on each slide (bottom-left) */
.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-slide-active .slide-info {
    opacity: 1;
}

.slide-info .slide-title {
    margin: 0 0 4px 0;
    padding: 0;
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

@media screen and (min-width: 992px) {
    .slide-info .slide-title {
        font-size: 1.5rem;
        line-height: 1.875rem;
    }
}

.slide-info .slide-subtitle {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

@media screen and (min-width: 992px) {
    .slide-info .slide-subtitle {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

/* Video Overlay
   ========================================================================== */
.swiper-slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video icon on thumbnail */
.slider-project-primary-thumbs .swiper-slide-video:before {
    content: "\f04b";
    /* FontAwesome Play Icon */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 24px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: all 0.2s ease;
}

.slider-project-primary-thumbs .swiper-slide:hover .swiper-slide-video:before {
    color: #fff;
}

/* Video Control Button (Main slider) */
.swiper-slide-control {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.swiper-btn-control {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
}

@media screen and (min-width: 600px) {
    .swiper-btn-control {
        width: 72px;
        height: 72px;
    }
}

.swiper-btn-control:hover {
    transform: scale(1.1);
}

.swiper-btn-control::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: pulse 1.6s ease-out 0.6s infinite forwards;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.swiper-btn-control .ti {
    font-size: 28px;
    color: #2e438f;
    z-index: 1;
    margin-left: 4px;
}

@media screen and (min-width: 600px) {
    .swiper-btn-control .ti {
        font-size: 36px;
    }
}

/* Top Overlay - Breadcrumbs
   ========================================================================== */
.block-wrap {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 2;
    padding: 0 16px;
    pointer-events: none;
    box-sizing: border-box;
}

@media screen and (min-width: 992px) {
    .block-wrap {
        padding: 0 64px;
    }
}

.block-wrap.is-top {
    top: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    padding-top: 16px;
}

.block-wrap .container-fluid {
    max-width: 1440px;
    margin: 0 auto;
}

/* Breadcrumbs */
.section-slider .breadcrumbs {
    display: flex;
    list-style: none;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0;
    padding: 0;
    pointer-events: auto;
    width: fit-content;
}

.section-slider .breadcrumbs::-webkit-scrollbar {
    display: none;
}

.section-slider .breadcrumbs-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.section-slider .breadcrumbs-item a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    transition: opacity 0.2s ease;
}

.section-slider .breadcrumbs-item a:hover {
    opacity: 0.8;
}

.section-slider .breadcrumbs-item.is-active {
    color: #fff;
}

.section-slider .breadcrumbs-item:not(:last-child)::after {
    content: '/';
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 8px;
}

/* Back Link */
.section-slider .btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    pointer-events: auto;
    background: none;
    border: none;
    cursor: pointer;
}

@media screen and (min-width: 600px) {
    .section-slider .btn-back.is-hidden-desktop {
        display: none;
    }
}

.section-slider .btn-back .ti {
    font-size: 18px;
}

/* Bottom Bar - 4 Items Layout
   ========================================================================== */
.section-slider .section-slider-bar {
    display: flex;
    align-items: center;
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2;
}

@media screen and (min-width: 767px) {
    .section-slider .section-slider-bar {
        height: 100px;
    }
}

/* Thumbnail Slider Container (prev + thumbs + next)
   ========================================================================== */
.section-slider .section-slider-thumbnail {
    display: none;
}

@media screen and (min-width: 767px) {
    .section-slider .section-slider-thumbnail {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
        height: 100%;
        padding: 0 8px;
        gap: 0;
    }
}

/* Thumbnail Navigation Buttons (inside thumbnail container) */
.thumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.thumb-nav:hover {
    background: rgba(255, 255, 255, 0.1);
}

.thumb-nav .ti {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.thumb-nav:hover .ti {
    color: #fff;
}

.thumb-nav.swiper-button-disabled {
    opacity: 0.4;
    cursor: default;
}

.thumb-nav.swiper-button-disabled:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Thumbnail Swiper */
.section-slider .slider-project-primary-thumbs {
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.section-slider .slider-project-primary-thumbs .swiper-wrapper {
    align-items: center;
}

.section-slider .slider-project-primary-thumbs .swiper-slide {
    width: 80px !important;
    height: 80px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.5);
    margin-right: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

@media screen and (min-width: 992px) {
    .section-slider .slider-project-primary-thumbs .swiper-slide {
        width: 100px !important;
        height: 100px;
    }
}

.section-slider .slider-project-primary-thumbs .swiper-slide:last-child {
    margin-right: 0 !important;
}

.section-slider .slider-project-primary-thumbs .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.section-slider .slider-project-primary-thumbs .swiper-slide:not(.swiper-slide-thumb-active) img {
    opacity: 0.5;
}

.section-slider .slider-project-primary-thumbs .swiper-slide:hover img {
    opacity: 0.8;
}

.section-slider .slider-project-primary-thumbs .swiper-slide-thumb-active img {
    opacity: 1;
}

/* Active thumbnail border */
.section-slider .slider-project-primary-thumbs .swiper-slide-thumb-active {
    box-shadow: inset 0 0 0 2px #fff;
}

/* Gallery Tabs - 3 Independent Items
   ========================================================================== */
.section-slider .section-slider-bar>.tab-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    width: 80px;
    height: 100%;
    gap: 6px;
    transition: background-color 0.2s ease;
    text-decoration: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

@media screen and (min-width: 767px) {
    .section-slider .section-slider-bar>.tab-item {
        width: 100px;
    }
}

@media screen and (min-width: 992px) {
    .section-slider .section-slider-bar>.tab-item {
        width: 130px;
    }
}

.section-slider .section-slider-bar>.tab-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.section-slider .section-slider-bar>.tab-item .ti {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

@media screen and (min-width: 992px) {
    .section-slider .section-slider-bar>.tab-item .ti {
        font-size: 28px;
    }
}

.section-slider .section-slider-bar>.tab-item span {
    font-size: 0.6875rem;
    line-height: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    transition: color 0.2s ease;
}

@media screen and (min-width: 992px) {
    .section-slider .section-slider-bar>.tab-item span {
        font-size: 0.8125rem;
        line-height: 1.125rem;
    }
}

.section-slider .section-slider-bar>.tab-item:hover .ti,
.section-slider .section-slider-bar>.tab-item:hover span {
    color: #fff;
}

/* LightGallery Overrides */
.lg-backdrop {
    background-color: rgba(0, 0, 0, 0.95) !important;
}

.lg-toolbar {
    background: transparent !important;
}

/* ==========================================================================
   XC Project Layout - Pure BEM Standard (No conflicts)
   ========================================================================== */

/* 1. Hide Flatsome Sticky Header on Single Project Page */
body.single-xc_du_an .header-wrapper.stuck,
body.single-xc_du_an .header-wrapper.is-stuck {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* 2. Menu Block: .xc-menu-project */
.xc-menu-project {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    width: 100%;
    /* Variables mapping from demo */
    --page-header-spacing-y: 6px;
    --page-header-spacing-x: 20px;
    padding: var(--page-header-spacing-y) var(--page-header-spacing-x);
    border-bottom: 1px solid #e2e8f0;
    /* Default border */
}

@media screen and (min-width:768px) {
    .xc-menu-project {
        --page-header-spacing-y: 10px;
    }
}

@media screen and (min-width:992px) {
    .xc-menu-project {
        --page-header-spacing-y: 8px;
    }
}

@media screen and (max-width:767px) {
    .xc-menu-project {
        padding-bottom: 4px;
    }
}

/* Container */
.xc-menu-project__container {
    display: flex;
    align-items: center;
    column-gap: 16px;
    width: 100%;
    margin: 0 auto;
}

@media screen and (min-width:1199px) {
    .xc-menu-project__container {
        max-width: 1200px;
    }
}

/* Tabs Wrapper */
.xc-menu-project__tabs {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.xc-menu-project__tabs::-webkit-scrollbar {
    width: 0;
    height: 0;
}

@media screen and (min-width:992px) {
    .xc-menu-project__tabs {
        scrollbar-color: #aab7ca transparent;
        scrollbar-width: thin;
    }

    .xc-menu-project__tabs::-webkit-scrollbar {
        width: 12px;
    }

    .xc-menu-project__tabs::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 8px;
    }

    .xc-menu-project__tabs::-webkit-scrollbar-thumb {
        background: #aab7ca;
        border-radius: 8px;
        border: 2px solid #fff;
    }

    .xc-menu-project__tabs::-webkit-scrollbar-thumb:hover {
        background: #334155;
    }
}

/* List (UL) */
.xc-menu-project__list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 40px;
}

@media print,
screen and (min-width:600px) {
    .xc-menu-project__list {
        flex-grow: 0;
    }
}

/* Item (LI) */
.xc-menu-project__item {
    display: block;
    margin: 0;
    margin-left: 0.5rem;
    padding: 0;
}

.xc-menu-project__item:first-child {
    margin-left: 0;
}

@media screen and (max-width:599px) {
    .xc-menu-project__item {
        display: flex;
        align-items: center;
        height: 100%;
        position: relative;
        margin: 0;
    }
}

.xc-menu-project__link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #64748b;
    /* Slate 500 - Lighter color */
    font-size: 0.9375rem;
    /* 15px */
    font-weight: 600;
    /* Medium weight, not bold */
    transition: color 0.2s ease;
    padding: 0 4px;
    /* Slight padding for touch */
    height: 100%;
    gap: 8px;
    /* Space between icon and text */
}

.xc-menu-project__link:hover {
    color: #2e438f;
    /* Brand color on hover */
}

/* Active State */
.xc-menu-project__item--active .xc-menu-project__link {
    color: #2e438f;
}

.xc-menu-project__item--active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    /* Overlap border-bottom */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2e438f;
    border-radius: 2px 2px 0 0;
}

/* Icons */
.xc-menu-project__icon {
    font-size: 1.125rem;
    /* 18px */
    color: inherit;
    /* Follow link color */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Ensure icon alignment */
    height: 1em;
    width: 1em;
}

/* Text */
.xc-menu-project__text {
    white-space: nowrap;
}

/* Actions (Right side buttons) */
.xc-menu-project__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 24px;
    border-left: 1px solid #e2e8f0;
    height: 40px;
    /* Match button height area */
}

.xc-menu-project__btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.xc-menu-project__btn:hover {
    background-color: #f8fafc;
    color: #2e438f;
    border-color: #cbd5e1;
}

.xc-menu-project__btn i {
    font-size: 18px;
}

/* Favorite Button specific */
.xc-menu-project__btn--favorite:hover {
    color: #ef4444;
    /* Red for heart */
    background-color: #fef2f2;
    border-color: #fca5a5;
}

/* Responsive Fixes */
@media screen and (max-width: 991px) {
    .xc-menu-project__list {
        gap: 16px;
    }

    .xc-menu-project__text {
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    .is-hidden-mobile {
        display: none !important;
    }

    .xc-menu-project__container {
        padding: 0 16px;
        overflow-x: auto;
    }

    .xc-menu-project__tabs {
        width: 100%;
    }
}


/* 3. Global Layout Styles (9/3 Split) & Sticky Adjustments */
.section-content {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.col-main-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.xc-content-section {
    margin-bottom: 40px;
    scroll-margin-top: 110px;
    /* Offset for sticky header */
}

.section-heading {
    font-family: Mulish, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    color: #334155;
}

/* Sidebar Styling */
.project-sidebar-wrapper {
    height: 100%;
}

.project-sidebar-inner {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget-box {
    background-color: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

.widget-title {
    font-family: Mulish, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    color: #334155;
    border-left: 3px solid #2e438f;
    padding-left: 12px;
}

/* Font Assignments for Icons (Scoped) - using specific classes or global fallback */
/* We assume .ti class is available globally or we import it. User provided @font-face */
@font-face {
    font-family: Mulish;
    src: url(https://market.vinhomes.vn/static/19c04583937/fonts-v2/mulish/Mulish-Regular.ttf);
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Mulish;
    src: url(https://market.vinhomes.vn/static/19c04583937/fonts-v2/mulish/Mulish-SemiBold.ttf);
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: Mulish;
    src: url(https://market.vinhomes.vn/static/19c04583937/fonts-v2/mulish/Mulish-Bold.ttf);
    font-weight: 700;
    font-display: swap;
}

/* Tabler Icons CSS removed - Switched to FontAwesome */
/* XC Single Overview Component */
.xc-overview {
    padding: 24px 0;
    font-family: 'Mulish', sans-serif;
}

.xc-overview__header {
    margin-bottom: 24px;
}

.xc-overview__main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
    line-height: 1.4;
}

.xc-overview__box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.xc-overview__block {
    margin-bottom: 32px;
}

.xc-overview__block:last-child {
    margin-bottom: 0;
}

.xc-overview__subtitle {
    font-size: 1.125rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 16px;
}

/* Grid */
.xc-overview__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
    .xc-overview__grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 48px;
    }
}

.xc-overview__line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9375rem;
}

.xc-overview__label {
    color: #64748b;
    font-weight: 500;
}

.xc-overview__value {
    color: #334155;
    font-weight: 600;
    text-align: right;
}

/* Custom Read More Block */
.read-more-custom {
    position: relative;
}

.read-more-custom .content {
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
    max-height: 500px;
    /* Default max-height fallback */
    transition: max-height 0.3s ease;
}

.read-more-custom.is-expanded .content {
    max-height: none !important;
}

/* Custom List Style */
.content.list-style-custom {
    font-size: 14px;
    line-height: 20px;
}

.content.list-style-custom ul {
    margin-left: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.content.list-style-custom ul li {
    position: relative;
    padding-left: 30px;
    color: #475569;
    margin-bottom: 16px;
}

.content.list-style-custom ul li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: url(assets/images/logo-ico.svg) no-repeat center center;
    background-size: contain;
    margin-right: 8px;
    vertical-align: middle;
}

/* Custom Button Link Underline */
.button.is-link-underline {
    background: none !important;
    color: #182a73;
    padding: 0;
    border: none;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 16px;
}

.button.is-link-underline span {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.button.is-link-underline:hover,
.button.is-link-underline:focus {
    color: #182a73;
    background: unset;
    box-shadow: none;
}

/* XC Location Section - BEM Structure */
.xc-location {
    padding-top: 32px;
}

.xc-location__header {
    margin-bottom: 24px;
}

.xc-location__title {
    font-size: 1.375rem;
    line-height: 1.875rem;
    letter-spacing: -0.69px;
    font-weight: 700;
    color: #334155;
    margin: 0;
}

@media screen and (min-width: 992px) {
    .xc-location__title {
        font-size: 1.5rem;
        letter-spacing: -0.54px;
    }
}

.xc-location__description {
    margin-bottom: 24px;
}

/* Helper Utilities (Reused) */
.read-more-custom .content {
    --max-height: 200px;
    max-height: var(--max-height);
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.read-more-custom.is-expanded .content {
    max-height: none !important;
}

.read-more-custom .button {
    margin-top: 16px;
}

.ewa-rteLine {
    margin-bottom: 8px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #475569;
}

.ewa-rteLine strong {
    color: #334155;
}

.xc-location__main {
    margin-top: 24px;
}

/* Map Wrapper */
.xc-location__map-wrapper {
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    position: relative;
    width: 100%;
    border-radius: 6px;
    display: block;
    overflow: hidden;
    background: #f1f5f9;
    margin-bottom: 16px;
}

.xc-location__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Utilities Container */
.xc-location__utilities {
    overflow: hidden;
}

/* Tabs */
.xc-location__tabs {
    display: flex;
    overflow-x: auto;
    margin: 0 -16px 16px;
    padding: 0 16px;
    gap: 8px;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.xc-location__tabs::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Webkit */
}

@media screen and (min-width: 992px) {
    .xc-location__tabs {
        gap: 16px;
        margin: 0 0 16px;
        padding: 0;
    }
}

.xc-location__tab-item {
    --item-w: 88px;
    --item-h: 72px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: var(--item-w);
    width: var(--item-w);
    height: var(--item-h);
    background-color: #f1f5f9;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #475569;
}

@media screen and (min-width: 992px) {
    .xc-location__tab-item {
        --item-h: 68px;
        flex: 1;
        /* Distribute evenly on desktop */
        min-width: auto;
    }
}

.xc-location__tab-item:not(.is-active):hover {
    background: #ecf1ff;
    color: #2e438f;
}

.xc-location__tab-item.is-active {
    background-color: #2e438f;
    color: #fff;
}

.xc-location__tab-item.is-active * {
    color: #fff;
}

.xc-location__tab-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.xc-location__tab-text {
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

@media screen and (min-width: 992px) {
    .xc-location__tab-text {
        font-size: 0.875rem;
    }
}

/* List Items */
.xc-location__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.xc-location__list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #e2e8f0;
    text-decoration: none;
    color: #334155;
}

.xc-location__list-item:last-child {
    border-bottom: none;
}

.xc-location__list-item:hover,
.xc-location__list-item.is-active {
    background: #ecf1ff;
}

.xc-location__list-item:hover .xc-location__item-name,
.xc-location__list-item:hover .xc-location__item-address,
.xc-location__list-item:hover .xc-location__meta-text span,
.xc-location__list-item.is-active .xc-location__item-name,
.xc-location__list-item.is-active .xc-location__item-address,
.xc-location__list-item.is-active .xc-location__meta-text span {
    color: #2e438f;
}

.xc-location__list-item:hover .xc-location__meta-icon,
.xc-location__list-item.is-active .xc-location__meta-icon {
    color: #2e438f !important;
}

.xc-location__item-info {
    flex: 1;
    min-width: 0;
    /* Prevent flex overflow */
}

.xc-location__item-name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 4px;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xc-location__item-address {
    font-size: 0.875rem;
    line-height: 1.4;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xc-location__item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: right;
    flex: 0 0 auto;
}

.xc-location__meta-icon {
    font-size: 24px;
    color: #aab7ca;
}

.xc-location__meta-text {
    display: flex;
    flex-direction: column;
    min-width: 70px;
}

.xc-location__dist {
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
}

.xc-location__time {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.4;
}

/* --- SECTION: AMENITIES (FACILITIES) --- */
/* --- SECTION: AMENITIES (FACILITIES) --- */
/* --- SECTION: AMENITIES (FACILITIES) --- */
/* --- SECTION: AMENITIES (FACILITIES) --- */
/* --- SECTION: AMENITIES (FACILITIES) --- */
.section-facilities {
    display: block !important;
    /* Override .section flex */
    --section-spacing-y: 24px;
    --section-spacing-x: 20px;
    position: relative;
    padding: var(--section-spacing-y) var(--section-spacing-x);
}

@media screen and (min-width: 768px) {
    .section-facilities {
        --section-spacing-x: 24px;
    }
}

@media screen and (max-width: 767px) {
    .section-facilities {
        background: #fff;
    }

    .section-facilities+.section-facilities {
        margin-top: 8px;
    }
}

.section-facilities .section-title {
    position: relative;
    margin-bottom: 24px;
    font-size: 1.375rem;
    line-height: 1.875rem;
    letter-spacing: -.69px;
    font-weight: 700;
    color: #182a73;
}

@media screen and (min-width: 992px) {
    .section-facilities .section-title {
        font-size: 1.5rem;
        line-height: 1.875rem;
        letter-spacing: -.54px;
    }
}

.section-facilities .block-utilities+.block-ecosystem {
    margin-top: 24px;
}

.section-facilities .block-ecosystem+.block-list-utilities {
    margin-top: 24px;
}

.section-facilities .block-ecosystem .section-subtitle {
    font-size: 1.25rem;
    line-height: 1.75rem;
    letter-spacing: -.63px;
    font-weight: 700;
    color: #182a73;
}

.section-facilities .block-ecosystem .section-text {
    color: #475569;
    line-height: 1.6;
}

.section-facilities .block-list-utilities .section-subtitle {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 700;
    color: #182a73;
}

.section-facilities .block-list-utilities .section-subtitle+.xc-accordion {
    margin-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.section-facilities .block-list-utilities .xc-accordion-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

@media print,
screen and (min-width: 900px) {
    .section-facilities .block-list-utilities .xc-accordion-item {
        flex-direction: row;
        gap: 48px;
    }
}

.section-facilities .block-list-utilities .xc-accordion-item.is-active {
    background: none;
    border-radius: 0;
}

.section-facilities .block-list-utilities .xc-accordion-item.is-active .xc-accordion-content {
    padding-top: 0;
    padding-bottom: 0;
    display: block;
    opacity: 1;
}

.section-facilities .block-list-utilities .xc-accordion-item.is-active .xc-accordion-icon,
.section-facilities .block-list-utilities .xc-accordion-item.is-active .xc-accordion-title {
    color: #334155;
}

.section-facilities .block-list-utilities .xc-accordion-title {
    display: flex;
    min-width: 180px;
    width: 180px;
    height: fit-content;
    gap: 8px;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    font-family: 'Mulish', sans-serif;
    color: #334155;
    cursor: pointer;
}

@media screen and (max-width: 899px) {

    /* Allow title to take full width on smaller screens */
    .section-facilities .block-list-utilities .xc-accordion-title {
        min-width: auto;
        width: 100%;
    }
}

.section-facilities .block-list-utilities .xc-accordion-title .ti {
    font-size: 20px;
    vertical-align: middle;
    line-height: 20px;
    color: #2e438f;
}

.section-facilities .block-list-utilities .xc-accordion-content {
    width: 100%;
    display: none;
    padding: 8px 0;
    overflow: hidden;
    opacity: 0;
    transition: all .2s ease;
}

@media print,
screen and (min-width: 600px) {
    .section-facilities .block-list-utilities .xc-accordion-content {
        padding-right: 56px;
    }
}

.section-facilities .block-list-utilities .xc-accordion-content ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

.section-facilities .block-list-utilities .xc-accordion-content ul li {
    display: flex;
    gap: 16px;
}

@media screen and (max-width: 600px) {
    .section-facilities .block-list-utilities .xc-accordion-content ul li {
        flex-wrap: wrap;
    }
}

.section-facilities .block-list-utilities .xc-accordion-content ul li+li {
    border-top: 1px solid #e2e8f0;
    margin-top: 16px;
    padding-top: 16px;
}

.section-facilities .block-list-utilities .xc-accordion-content ul li .image {
    flex-shrink: 0;
    width: 86px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
}

.section-facilities .block-list-utilities .xc-accordion-content ul li .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.section-facilities .block-list-utilities .xc-accordion-content ul li .summary {
    flex: 1;
}

.section-facilities .block-list-utilities .xc-accordion-content ul li .summary h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.section-facilities .block-list-utilities .xc-accordion-content ul li .block-text+.block-desc {
    margin-top: 4px;
}

.section-facilities .block-list-utilities .xc-accordion-content ul li .block-desc {
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 400;
    color: #475569;
    opacity: .75;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-facilities .block-list-utilities a.block-text {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: #182a73;
}

.section-facilities .block-list-utilities a.block-text:hover {
    color: #2e438f;
}

.section-facilities .block-list-utilities .xc-accordion-close {
    position: absolute;
    top: 12px;
    right: 0;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    cursor: pointer;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1 !important;
    visibility: visible !important;
}

.section-facilities .block-list-utilities .xc-accordion-close:hover {
    background-color: #f1f5f9 !important;
    color: #334155;
    border-radius: 4px;
}

.section-facilities .block-list-utilities .xc-accordion-item.is-active .xc-accordion-close {
    color: #334155;
}

.section-facilities .block-list-utilities .xc-accordion-icon {
    font-size: 20px;
}

/* Absolute Footer */
.absolute-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;

}


/* ============================================= */
/* XC Home Filter & Trending Styles             */
/* ============================================= */
.xc-home-filter {
    position: relative;
    z-index: 20;
    width: 100%;
    margin: 0 auto;
    font-family: inherit;
}

.xc-home-filter * {
    box-sizing: border-box;
}

/* Tabs */
.xc-home-filter__tabs {
    margin-bottom: 0 !important;
    padding: 0 16px;
    position: relative;
    z-index: 3;
    /* Raise above box */
    top: 1px;
    /* Overlap border */
}

.xc-tabs-nav {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 0 !important;
}

.xc-tab-item {
    margin-right: 4px !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
}

.xc-tab-item a {
    display: block !important;
    padding: 12px 24px !important;
    font-size: 0.875rem !important;
    /* 14px */
    font-weight: 600 !important;
    color: #334155 !important;
    background: rgba(255, 255, 255, 0.45) !important;
    border-radius: 6px 6px 0 0 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    position: relative;
    line-height: 1.5 !important;
    border: none !important;
}

/* Active Tab Styles */
.xc-tab-item.is-active a {
    color: #2e438f !important;
    background: #fff !important;
    /* Bottom border requested by user */
    border-bottom: 2px solid #2e438f !important;
    border-radius: 6px 6px 0 0 !important;
    /* Remove bottom shadow to blend with box if needed, or keep for effect */
    box-shadow: none !important;
}

.xc-tab-item:hover a {
    color: #2e438f !important;
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Main Box - User specified style */
.xc-home-filter__box {
    background-color: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    -webkit-box-shadow: 0 6px 16px rgba(28, 30, 34, .12) !important;
    box-shadow: 0 6px 16px rgba(28, 30, 34, .12) !important;
    color: #334155 !important;
    display: block !important;
    padding: 16px !important;
    position: relative;
    z-index: 2;
    margin-bottom: 0 !important;
}

@media (min-width: 992px) {
    .xc-home-filter__box {
        padding: 24px !important;
    }
}

/* Search Bar Container */
.xc-search-bar {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    height: 48px !important;
    position: relative;
    z-index: 10;
    background: #fff !important;
    margin-bottom: 0 !important;
    transition: all 0.3s;
}

.xc-search-bar:focus-within {
    border-color: #2e438f !important;
    box-shadow: 0 0 0 3px rgba(46, 67, 143, 0.1) !important;
}

@media (min-width: 992px) {
    .xc-search-bar {
        height: 56px !important;
    }
}

/* Dropdown Trigger */
.xc-project-dropdown {
    position: relative;
    height: 100%;
    border-right: 1px solid #e2e8f0 !important;
    min-width: 130px;
    margin: 0 !important;
}

.xc-dropdown-trigger {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 16px !important;
    height: 100% !important;
    cursor: pointer;
    color: #334155 !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    white-space: nowrap !important;
    transition: background 0.2s;
    background: transparent;
}

.xc-dropdown-trigger:hover {
    background: #f8fafc !important;
}

.xc-dropdown-trigger i {
    font-size: 1.1em !important;
    line-height: 1 !important;
}

/* Dropdown Menu */
.xc-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100% !important;
    min-width: 300px;
    max-width: 90vw;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    padding: 20px !important;
    display: none;
    z-index: 100;
    text-align: left !important;
}

.xc-dropdown-menu::before {
    content: "";
    /* Arrow tip (optional) */
}

.xc-project-dropdown.is-active .xc-dropdown-menu {
    display: block !important;
    animation: xcFadeIn 0.2s ease-out;
}

.xc-dropdown-header {
    display: block;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 16px !important;
    opacity: 0.8;
}

/* Dropdown Grid */
.xc-dropdown-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin: 0 !important;
}

@media (min-width: 600px) {
    .xc-dropdown-menu {
        min-width: 520px !important;
    }

    .xc-dropdown-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 992px) {
    .xc-dropdown-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Mini Card */
.xc-mini-card {
    display: block !important;
    position: relative !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    height: 80px !important;
    text-decoration: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #f1f5f9;
}

.xc-mini-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

.xc-mini-card__img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease;
    margin: 0 !important;
    max-width: none !important;
}

.xc-mini-card__title {
    position: relative;
    z-index: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    padding: 8px !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .2)) !important;
    color: #fff !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    transition: background 0.2s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.xc-mini-card:hover .xc-mini-card__img img {
    transform: scale(1.1);
}

.xc-mini-card:hover .xc-mini-card__title {
    background: linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .3)) !important;
}

/* Search Input */
.xc-search-input-wrap {
    flex: 1;
    height: 100%;
    position: relative;
    margin: 0 !important;
}

.xc-search-input {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 16px !important;
    font-size: 1rem !important;
    color: #334155 !important;
    outline: none !important;
    margin: 0 !important;
    min-height: auto !important;
}

/* Search Button */
.xc-search-btn {
    margin: 0 !important;
    border-radius: 0 6px 6px 0 !important;
    height: 100% !important;
    min-width: 60px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #2e438f !important;
    border: none !important;
    color: #fff !important;
    font-size: 1.25rem !important;
    box-shadow: none !important;
    transition: background 0.3s;
}

.xc-search-btn:hover {
    background-color: #1e2c60 !important;
}

/* Filter Items */
.xc-filters-row {
    display: flex !important;
    gap: 10px !important;
    margin-top: 16px !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

.xc-filter-item {
    position: relative;
    margin: 0 !important;
}

.xc-filter-item .button.white {
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    font-weight: 500 !important;
    background: #fff !important;
    font-size: 0.875rem !important;
    padding: 6px 14px !important;
    min-height: 36px !important;
    line-height: normal !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-transform: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    border-radius: 4px !important;
    transition: all 0.2s;
}

.xc-filter-item .button.white:hover,
.xc-filter-item.is-active .button.white {
    background: #f8fafc !important;
    color: #2e438f !important;
    border-color: #2e438f !important;
}

.xc-filter-dropdown-content {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 260px;
    background: #fff !important;
    padding: 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    display: none;
    z-index: 90;
    max-height: 400px;
    overflow-y: auto;
    text-align: left !important;
}

.xc-filter-item.is-active .xc-filter-dropdown-content {
    display: block !important;
}

.xc-check-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
    cursor: pointer;
    font-size: 0.875rem !important;
    color: #334155 !important;
    padding: 4px 0 !important;
    line-height: 1.4 !important;
}

.xc-check-item input[type="checkbox"] {
    margin: 0 !important;
    width: 16px !important;
    height: 16px !important;
    accent-color: #2e438f !important;
}

.xc-price-options,
.xc-area-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.xc-price-options .button,
.xc-area-options .button {
    font-size: 0.75rem !important;
    padding: 4px 12px !important;
    min-height: 30px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    text-transform: none !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    color: #2e438f !important;
    border-radius: 4px !important;
}

.xc-price-options .button:hover,
.xc-area-options .button:hover {
    background: #ecf1ff !important;
    border-color: #2e438f !important;
}

.xc-dropdown-footer {
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 12px !important;
    margin-top: 12px !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 8px !important;
}

.xc-dropdown-footer .button {
    margin-bottom: 0 !important;
    font-size: 0.8rem !important;
    min-height: 32px !important;
    padding: 0 12px !important;
}

/* Trending */
.xc-trending-section {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 30px !important;
    padding: 0 4px !important;
}

.xc-trending-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 600 !important;
    color: #000 !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
}

.xc-trending-label i {
    font-size: 1.25rem !important;
    color: #000 !important;
}

.xc-trending-slider {
    flex: 1 !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 4px 40px !important;
    width: auto !important;
}

@media (max-width: 767px) {
    .xc-trending-section {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .xc-trending-slider {
        width: 100% !important;
        padding: 0 !important;
    }

    .xc-trending-nav {
        display: none !important;
    }
}

.xc-trending-slider .swiper-wrapper {
    display: flex !important;
    height: 100% !important;
    align-items: center !important;
}

.xc-trending-slider .swiper-slide {
    width: auto !important;
    margin-right: 12px !important;
    height: auto !important;
    display: flex !important;
}

/* Badges */
.xc-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1px !important;
    text-decoration: none !important;
    position: relative;
    z-index: 1;
    border-radius: 99px !important;
    background: linear-gradient(90deg, #c2812a, #2e438f) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.xc-badge-text {
    display: block !important;
    padding: 6px 16px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    background: #fff !important;
    border-radius: 99px !important;
    color: #334155 !important;
    line-height: normal !important;
    white-space: nowrap !important;
    transition: all 0.2s;
}

.xc-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 67, 143, 0.3) !important;
}

.xc-badge:hover .xc-badge-text {
    background: transparent !important;
    color: #2e438f !important;
}

.xc-trending-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    opacity: 0.8;
}

.xc-trending-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    color: #2e438f !important;
}

.xc-trending-nav::after {
    font-size: 12px !important;
    font-weight: bold !important;
    color: inherit !important;
    content: "next" !important;
    font-family: swiper-icons;
}

.xc-trending-nav.xc-prev::after {
    content: "prev" !important;
}

/* ============================================= */
/* XC Home Hero Lead                            */
/* ============================================= */
.xc-home-hero__lead {
    color: #000 !important;
    text-align: center !important;
    margin-bottom: 24px !important;
    font-size: 1.125rem !important;
    /* 18px */
    font-weight: 500 !important;
    line-height: 1.5 !important;
    display: block !important;
    width: 100% !important;
    text-shadow: none !important;
}

@media (min-width: 768px) {
    .xc-home-hero__lead {
        font-size: 1.25rem !important;
        /* 20px */
    }
}

/* Animations */
@keyframes xcFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.xc-tab-content {
    animation: xcFadeIn 0.3s ease-out;
}

/* ============================================= */
/* 3. Đăng ký tham quan Section (Reference-styled)*/
/* ============================================= */
.dang-ky-tham-quan {
    padding: 0 !important;
    overflow: hidden !important;
    position: relative;
    min-height: auto !important;
}

.dang-ky-tham-quan .section-bg {
    background-image: url('https://market.vinhomes.vn/static/images/background/dang-ky-tham-quan.png') !important;
    background-size: cover !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
}

.dang-ky-tham-quan .section-content {
    padding: 3rem 1rem !important;
    text-align: center;
    position: relative;
    z-index: 2;
    background-color: transparent !important;
    /* Override flatsome default */
}

@media screen and (min-width: 992px) {
    .dang-ky-tham-quan .section-content {
        padding: 6.625rem 3.75rem !important;
    }
}

/* Dark Overlay */
.dang-ky-tham-quan .section-content:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5) !important;
    z-index: -1;
}

.dang-ky-tham-quan .col-inner {
    max-width: 740px !important;
    margin: 0 auto !important;
}

/* Typography */
.dang-ky-tham-quan h3 {
    color: #fff !important;
    margin-bottom: 24px !important;
    font-size: 1.375rem !important;
    line-height: 1.2 !important;
    letter-spacing: -.69px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    text-align: center !important;
    margin-top: 0 !important;
}

@media screen and (min-width: 992px) {
    .dang-ky-tham-quan h3 {
        font-size: 1.5rem !important;
        letter-spacing: -.54px !important;
    }
}

.dang-ky-tham-quan p {
    color: #fff !important;
    font-size: 1rem !important;
    line-height: 1.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 24px !important;
    font-family: Mulish, sans-serif !important;
    opacity: 0.9;
    text-align: center !important;
}

/* Reset Flatsome Row & Col */
.dang-ky-tham-quan .row {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
}

.dang-ky-tham-quan .col {
    padding: 0 !important;
    display: block !important;
}

/* col-inner used as a wrapper for buttons */
.dang-ky-tham-quan .col-inner {
    max-width: 740px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Button Reset & Layout */
.dang-ky-tham-quan .button {
    width: 100% !important;
    max-width: 188px !important;
    margin: 0 0 12px 0 !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: none !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    padding: 0 20px !important;
    line-height: normal !important;
    letter-spacing: normal !important;
}

.dang-ky-tham-quan .button span {
    line-height: 1 !important;
}

@media screen and (min-width: 768px) {
    .dang-ky-tham-quan .col-inner {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 16px !important;
    }

    .dang-ky-tham-quan h3,
    .dang-ky-tham-quan p {
        width: 100% !important;
        flex-basis: 100% !important;
    }

    .dang-ky-tham-quan .button {
        margin: 10px 0 !important;
    }
}

/* Brand Button */
.dang-ky-tham-quan .btn-dang-ky-tham-quan {
    background-color: #c2812a !important;
    border: 1px solid #c2812a !important;
    color: #fff !important;
}

.dang-ky-tham-quan .btn-dang-ky-tham-quan:hover {
    background-color: #a06b23 !important;
    border-color: #a06b23 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 129, 42, 0.3) !important;
}

/* Outlined Button */
.dang-ky-tham-quan .btn-lien-he-tu-van {
    background-color: transparent !important;
    border: 1px solid #fff !important;
    color: #fff !important;
}

.dang-ky-tham-quan .btn-lien-he-tu-van:hover {
    border-color: #ecf1ff !important;
    color: #2e438f !important;
    background-color: #ecf1ff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2) !important;
}

/* XC Cho Thue (Rental) Section */
.xc-ux-cho-thue {
    padding: 10px 0;
    overflow: visible;
}

.xc-ux-cho-thue__wrapper {
    height: auto !important;
}

/* Card Styling */
.xc-ux-cho-thue__card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.xc-ux-cho-thue__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Media/Image Area */
.xc-ux-cho-thue__card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    background: #eee;
    z-index: 2;
}

.xc-ux-cho-thue__card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.xc-ux-cho-thue__card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badges & Favorite */
.xc-ux-cho-thue__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
}

.xc-ux-cho-thue__badge {
    background: #2e438f;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.xc-ux-cho-thue__favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l8.78-8.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg>') center / 18px no-repeat;
    border: none;
    cursor: pointer;
    z-index: 5;
    transition: background-color 0.2s;
}

.xc-ux-cho-thue__favorite-btn:hover {
    background-color: #fff;
}

/* Internal Swiper Nav */
.xc-ux-cho-thue__card-nav {
    width: 24px !important;
    height: 24px !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 50%;
    color: #000 !important;
}

.xc-ux-cho-thue__card-nav::after {
    font-size: 10px !important;
}

.xc-ux-cho-thue__card-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #fff;
    opacity: 0.7;
}

/* Card Content */
.xc-ux-cho-thue__card-content {
    padding: 16px;
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.xc-ux-cho-thue__card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.xc-ux-cho-thue__card-price {
    margin-bottom: 8px;
}

.xc-ux-cho-thue__price-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: #c2812a;
    margin: 0;
}

.xc-ux-cho-thue__price-old {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: line-through;
    margin-right: 8px;
}

.xc-ux-cho-thue__card-summary {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: #64748b;
}

.xc-ux-cho-thue__summary-item {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.xc-ux-cho-thue__card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.xc-ux-cho-thue__card-title a {
    color: inherit;
    text-decoration: none;
}

.xc-ux-cho-thue__card-title a:hover {
    color: #2e438f;
}

/* Main Pagination Styling */
.xc-ux-cho-thue__pagination {
    margin-top: 20px;
    position: relative !important;
    bottom: 0 !important;
}

.xc-ux-cho-thue__pagination .swiper-pagination-bullet-active {
    background: #2e438f;
}

/* Responsive Grid Overrides for Desktop */
@media (min-width: 992px) {
    .xc-ux-cho-thue.swiper {
        overflow: visible;
    }

    .xc-ux-cho-thue .swiper-wrapper {
        height: auto !important;
    }
}

/* --- XC Thu Cap (Secondary) Styles --- */
.section-listing {
    padding-top: 32px;
    padding-bottom: 32px;
}

.section-listing .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-listing .section-title {
    margin: 0;
    font-size: 1.5rem;
    color: #1e293b;
    font-weight: 700;
}

.section-listing .is-link-underline {
    color: #2e438f;
    font-weight: 600;
    text-decoration: underline;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-listing {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card-listing:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-listing .card-slider {
    position: relative;
    aspect-ratio: 1.77;
    background: #f1f5f9;
}

.card-listing .card-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-listing .card-content {
    padding: 16px;
    position: relative;
}

.card-listing .card-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1.125rem;
}

.card-listing .card-price-number {
    color: #c2812a !important;
    margin: 0;
}

.card-listing .card-price-text {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 400;
}

.card-listing .card-summary {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: #475569;
}

.card-listing .card-summary-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-listing .card-title {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.4;
    font-weight: 600;
}

.card-listing .card-title a {
    color: #1e293b;
}

.card-listing .card-title a:hover {
    color: #2e438f;
}

.card-listing .card-link-pseudo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.card-listing .button-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.card-listing .button-favorite:before {
    content: "\f004";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    color: #64748b;
}

.xc-thu-cap-slider .nav-button-prev,
.xc-thu-cap-slider .nav-button-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.xc-thu-cap-slider .nav-button-prev:after,
.xc-thu-cap-slider .nav-button-next:after {
    font-size: 14px;
    color: #1e293b;
}

.xc-thu-cap-slider.swiper {
    padding-bottom: 40px;
}

@media (max-width: 991px) {
    .section-listing .section-content.is-grid {
        display: flex !important;
        overflow-x: auto !important;
        padding-bottom: 20px;
        gap: 16px;
        scrollbar-width: none;
    }

    .section-listing .section-content.is-grid::-webkit-scrollbar {
        display: none;
    }

    .section-listing .section-content.is-grid>div {
        min-width: 280px;
        flex-shrink: 0;
    }

    .xc-thu-cap-slider.swiper {
        overflow: hidden;
    }

    .xc-thu-cap-chi-tiet-can .detail-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* Hide absolute-footer */
#absolute-footer {
    display: none !important;
}