@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --main-color: #373e91;
    --main-light: #eceeff;
    --main-dark: #2a2f6e;
    --main-green: #27ae60;
    --main-red: #e74c3c;
    --text-main: #333333;
    --text-muted: #777777;
    --bg-light: #f6f8fb;
    --white: #ffffff;
    --border-color: #eeeeee;
    --font-main: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    font-weight: 500;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

.gl-text-primary,
.text-primary {
    color: var(--main-color) !important;
}

.gl-bg-primary,
.bg-primary {
    background-color: var(--main-color) !important;
}

.hp-header {
    background: var(--white);
}

.hp-header-top {
    padding: 10px 0;
}

.hp-header-nav {
    background: var(--white);
    border-bottom: 1px solid var(--bg-light);
    overflow-x: auto;
    scrollbar-width: none;
}

.hp-header-nav::-webkit-scrollbar {
    display: none;
}

.gl-nav-list {
    display: flex;
    justify-content: center;
    white-space: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gl-nav-item a {
    display: block;
    padding: 12px 35px;
    font-size: 14px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.gl-nav-item a:hover,
.gl-nav-item.active a {
    color: var(--main-color);
    border-bottom-color: var(--main-color);
}

.hp-header-nav--sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gl-hero-section {
    margin-top: 80px;
    ;
    position: relative;
    width: 100%;
    padding: 20px 0 60px;
    display: block;
}

.gl-hero-container-inner {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    overflow: visible;
    border-radius: 24px;
    position: relative;
    min-height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gl-hero-blur-overlay {
    position: absolute;
    border-radius: 24px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(55, 62, 145, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.gl-hero-content-flex {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 240px;
    padding: 0 40px;
}

.gl-hero-text-main {
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 500px;
}

.gl-hero-images-right {
    position: absolute;
    bottom: 0;
    right: 40px;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.gl-hero-img-item {
    max-height: 380px;
    object-fit: contain;
    transform: translateY(15px);
    z-index: 10;
}

/* Search Card Design */
.gl-hero-search-card {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    padding: 12px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gl-search-item-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    height: 45px;
    border: 0.5px solid #888;
    border-radius: 30px;
}

.gl-search-item-box i {
    font-size: 18px;
    color: var(--main-color);
}

.gl-search-main-input {
    flex: 2;
}

.gl-search-main-input input {
    border: none !important;
    outline: none !important;
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    background: transparent !important;
}

.gl-search-dropdown-box {
    flex: 1;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
}

.gl-search-dropdown-box:hover {
    background: var(--bg-light);
}

.gl-search-label {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gl-search-btn-hero {
    background: var(--main-color) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 0 35px !important;
    height: 45px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer;
    transition: 0.3s;
}

.gl-search-btn-hero:hover {
    background: var(--main-dark) !important;
    transform: translateY(-2px);
}

/* Multi-select Dropdown styling */
.gl-dropdown-multi {
    padding: 10px 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border: 0.5px solid #eee !important;
    min-width: 250px !important;
}

.gl-dropdown-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 5px 15px;
}

.gl-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    border-bottom: 0.5px solid #f9f9f9;
}

.gl-dropdown-item:last-child {
    border-bottom: none;
}

.gl-dropdown-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.gl-dropdown-item span {
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.gl-dropdown-item:hover span {
    color: var(--main-color);
}

@media (max-width: 959px) {
    .hp-header-top {
        padding: 8px 0;
    }

    .hp-header-top.hp-header--sticky {
        padding: 8px 0;
    }

    .logo img {
        max-height: 40px !important;
    }

    .hp-hamburger {
        font-size: 20px;
    }

    .gl-hero-container-inner {
        width: 100%;
        border-radius: 0;
        min-height: 220px;
    }

    .gl-hero-content-flex {
        flex-direction: column;
        padding: 30px 15px;
        text-align: center;
        min-height: 220px;
    }

    .gl-hero-text-main {
        font-size: 22px;
        margin-bottom: 20px;
        padding: 0 10px;
        font-weight: 700;
    }

    .gl-hero-images-right {
        display: none;
    }

    .gl-hero-search-card {
        flex-direction: column;
        bottom: -190px;
        width: calc(100% - 24px);
        gap: 10px;
        padding: 15px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 12px;
    }

    .gl-search-item-box {
        width: 100%;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        height: 48px;
        padding: 0 12px;
        background: #fff;
    }

    .gl-search-main-input,
    .gl-search-dropdown-box {
        width: 100%;
    }

    .gl-search-btn-hero {
        width: 100%;
        border-radius: 8px !important;
        margin-top: 5px;
        height: 48px !important;
        justify-content: center;
    }

    .gl-hero-section {
        margin-top: 60px;
        padding-bottom: 210px;
    }
}



.gl-search-main-wrapper {
    display: flex !important;
    gap: 10px;
    width: 100%;
}

.gl-search-input-inner {
    flex: 1;
    display: flex;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    height: 44px;
}

.gl-hero-search-input {
    flex: 1;
    border: none !important;
    padding: 0 15px !important;
    height: 100% !important;
    font-size: 15px !important;
    background: #fff !important;
    outline: none !important;
}

.gl-hero-search-btn {
    background: #f44336 !important;
    color: #fff !important;
    border: none !important;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: 0.2s;
}

.gl-hero-search-btn:hover {
    background: #d32f2f !important;
}

.gl-btn-map {
    background: #fff !important;
    color: var(--main-color) !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 0 15px !important;
    height: 44px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer;
    white-space: nowrap !important;
    font-size: 14px !important;
}

.gl-btn-map i {
    font-size: 18px;
}

/* Dropdown Grid */
.hp-hero-dropdown-grid {
    background-color: transparent;
    padding: 10px 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
}

.hp-filter-dropdown {
    position: relative !important;
}

.hp-filter-btn {
    background: #fff !important;
    color: #333 !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 0 12px !important;
    height: 38px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-width: 120px !important;
    gap: 8px !important;
    cursor: pointer;
    transition: 0.2s;
}

.hp-filter-btn:hover {
    background: var(--bg-light) !important;
}

.hp-filter-btn i.fa-chevron-down {
    color: #999;
    font-size: 10px;
}

/* Switcher fix */
.gl-filter-switcher {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.gl-filter-switcher>li:not(.uk-active) {
    display: none !important;
}

.gl-filter-pane.uk-active {
    display: block !important;
}

/* Dropdown Panel */
.hp-dropdown-panel {
    background: #fff !important;
    min-width: 280px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid #eee !important;
    margin-top: 5px !important;
}


.hp-dropdown-body {
    padding: 10px !important;
    max-height: 250px;
    overflow-y: auto;
}

.hp-selection-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 10px !important;
    cursor: pointer;
    font-size: 13px;
    border-bottom: 1px solid #f9f9f9;
}

.hp-selection-item:hover {
    background: var(--main-light);
}

.hp-dropdown-footer {
    padding: 10px !important;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
}

.hp-btn-apply-bar {
    background: var(--main-color) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 6px 15px !important;
    font-size: 13px !important;
    cursor: pointer;
}

.gl-hero-bottom-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.gl-hero-reset-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Fix mobile scaling */
@media (max-width: 768px) {
    .gl-search-row {
        flex-direction: column;
    }

    .gl-hero-tab-item {
        padding: 10px 15px;
        font-size: 13px;
    }
}


/* Category Grid (Homepage) */
.gl-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 30px 0;
}

@media (max-width: 959px) {
    .gl-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gl-cat-item {
    background: var(--white);
    border-radius: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid transparent;
    transition: 0.3s;
}

.gl-cat-item:hover {
    border-color: var(--main-color);
    box-shadow: 0 5px 15px rgba(0, 148, 217, 0.15);
    transform: translateY(-2px);
}

.gl-cat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: var(--main-light);
    color: var(--main-color);
    font-size: 20px;
}

.gl-cat-label {
    font-weight: 600;
    font-size: 15px;
}

/* Property Card (Listing) */
.gl-card {
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.gl-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gl-card-img {
    width: 300px;
    min-width: 300px;
    position: relative;
    overflow: hidden;
}

.gl-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gl-card:hover .gl-card-img img {
    transform: scale(1.05);
}

.gl-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gl-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.gl-card-price {
    font-size: 20px;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 8px;
}

.gl-card-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--text-muted);
    /* margin-bottom: 12px; */
}

.gl-card-location {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 639px) {
    .gl-card {
        flex-direction: column;
        border-radius: 12px;
    }

    .gl-card-img {
        width: 100%;
        height: 240px;
    }

    .gl-card-title {
        font-size: 16px;
        margin-bottom: 8px;
        padding-top: 5px;
    }

    .gl-card-price {
        font-size: 17px;
        font-weight: 700;
    }
}

/* Sections */
.gl-section {
    padding: 40px 0;
}

.gl-section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.gl-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--main-color);
    border-radius: 5px;
}

/* Forms & Filters */
.gl-search-bar {
    background: var(--white);
    border-radius: 20px;
    padding: 2px 8px;
    display: flex;
    align-items: center;
    border: 1px solid var(--main-color);
    width: 100%;
    margin: 0 auto;
    height: 42px;
    transition: all 0.3s ease;
}

.gl-search-bar:focus-within {
    border-color: var(--main-dark);
}

.gl-search-input {
    border: none;
    padding: 10px;
    flex-grow: 1;
    outline: none;
    font-size: 15px;
}

.gl-search-btn {
    color: var(--main-color);
    border: none;
    background-color: var(--white);
    padding: 8px;
    border-radius: 50%;
    font-weight: 500;
    cursor: pointer;
    font-size: 15px;
}

/* Offcanvas Menu Grid */
.hp-offcanvas-bar {
    background-color: #fff !important;
    width: 380px !important;
    padding: 0 !important;
}

.uk-offcanvas-bar-flip {
    right: -380px !important;
}

.uk-offcanvas.uk-active .uk-offcanvas-bar-flip {
    right: 0 !important;
}

.hp-offcanvas-close {
    color: #333 !important;
    top: 15px !important;
    right: 15px !important;
    font-size: 20px !important;
    padding: 10px !important;
}

.gl-offcanvas-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.gl-offcanvas-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #eee;
}

.gl-offcanvas-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    color: var(--text-main) !important;
    text-align: center;
    transition: 0.2s;
    text-decoration: none !important;
}

.gl-offcanvas-link:nth-child(2n) {
    border-right: none;
}

.gl-offcanvas-link i {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--main-color);
}

.gl-offcanvas-link span {
    font-size: 13px;
    font-weight: 500;
}

.gl-offcanvas-link:hover {
    background-color: #f9f9f9;
    color: var(--primary-dark) !important;
}

.gl-offcanvas-info-box {
    padding: 20px;
    background-color: var(--main-light);
    margin: 15px;
    border-radius: 5px;
}

.gl-info-title {
    color: var(--main-dark);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: center;
}

.gl-info-content {
    font-size: 12px;
    line-height: 1.5;
    color: #333;
    text-align: center;
}

.gl-zalo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0084ff;
    color: #fff !important;
    padding: 10px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    margin: 10px 0;
    font-weight: 700;
    text-decoration: none !important;
}

.gl-zalo-btn img {
    height: 20px;
    margin-right: 10px;
}

.gl-footer-text {
    font-size: 11px;
    color: var(--main-dark);
    text-align: center;
    font-weight: 600;
    padding: 10px;
}

/* Modal Chọn Khu Vực */
.gl-modal-location .uk-modal-dialog {
    width: 450px !important;
    border-radius: 5px;
    padding: 0 !important;
}

.gl-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gl-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.gl-modal-body {
    padding: 20px;
}

.gl-switch-container {
    background-color: #f5f0fb;
    padding: 12px 15px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.gl-switch-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Custom Switch */
.gl-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.gl-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gl-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.gl-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.gl-slider {
    background-color: var(--main-color);
}

input:checked+.gl-slider:before {
    transform: translateX(20px);
}

.gl-form-group {
    margin-bottom: 15px;
}

.gl-form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.gl-select {
    width: 100%;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 15px;
    font-size: 14px;
    background-color: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23666'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    cursor: pointer;
}

.gl-modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.gl-btn-submit {
    width: 100%;
    background-color: var(--main-color) !important;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px !important;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.gl-btn-submit:hover {
    color: #fff !important;
    background-color: var(--primary-dark) !important;
}

/* Header Search Trigger */
.gl-search-trigger {
    background: none;
    border: none;
    padding: 0 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    min-width: 140px;
    border-right: 1px solid #eee;
    height: 100%;
    font-family: inherit;
    font-size: 15px;
}

.gl-search-trigger i {
    margin-left: 8px;
    color: #666;
    font-size: 12px;
}

.select2-container {
    width: 100% !important;
}

.gl-property-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.gl-property-card:hover {
    box-shadow: none;
    transform: none;
    border-color: #e0e0e0;
}

.gl-card-img-wrapper {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.gl-card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gl-property-card:hover .gl-card-img-wrapper img {
    transform: scale(1.08);
}

.gl-card-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 15px 12px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    z-index: 10;
}

.gl-overlay-time {
    font-size: 13px;
    font-weight: 500;
}

.gl-overlay-photos {
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gl-card-hot-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: #f44336;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 11;
}

.gl-card-hot-badge span {
    position: absolute;
    top: 6px;
    right: 3px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    transform: rotate(45deg);
    display: block;
}

.gl-card-body {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gl-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 4px 0;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gl-card-title a {
    color: var(--main-color) !important;
    text-decoration: none;
    text-transform: uppercase;
}

.gl-card-category {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.gl-card-stats-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.gl-card-price-val {
    color: #f4511e;
    /* Nhaban Orange */
    font-size: 17px;
    font-weight: 800;
}

.gl-card-dot {
    color: #ccc;
    font-size: 12px;
}

.gl-card-price-m2,
.gl-card-area-val {
    color: #444;
    font-size: 14px;
    font-weight: 600;
}

.gl-card-location {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-weight: 500;
}

.gl-card-location i {
    font-size: 16px;
    color: #888;
}

/* See More Button */
.gl-btn-see-more {
    display: inline-block;
    padding: 12px 35px;
    background: #fff;
    border: 1.5px solid var(--main-color);
    color: var(--main-color) !important;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.gl-btn-see-more:hover {
    background: var(--main-color);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.gl-btn-see-more i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.gl-btn-see-more:hover i {
    transform: translateX(5px);
}

/* Grid Override for 5 columns */
@media (min-width: 1200px) {
    .uk-width-large-1-5 {
        width: 20%;
    }
}

.gl-grid-compact {
    margin-left: -12px !important;
}

.gl-grid-compact>* {
    padding-left: 12px !important;
}

.mb15 {
    margin-bottom: 15px !important;
}

.gl-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 8px;
    position: relative;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.gl-section-header .gl-section-title {
    margin-bottom: 0;
    padding-bottom: 0;
}

.gl-view-more {
    color: var(--main-color);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.gl-view-more:hover {
    background: transparent;
    color: #ffc107;
    border-color: #ffc107;
}

/* New GULAND Style Footer */
.hp-footer {
    background: #f8f9fa !important;
    padding: 60px 0 30px;
    border-top: 1px solid #eeeeee;
    color: #555555;
    font-size: 13px;
    text-align: left;
}

.hp-footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    text-align: left;
}

.hp-footer-link {
    margin-bottom: 12px;
}

.hp-footer-link a {
    color: #555555;
    transition: 0.3s;
    font-weight: 500;
}

.hp-footer-link a:hover {
    color: var(--main-color);
    padding-left: 5px;
}

/* Download Section */
.footer-download-qr {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    padding: 5px;
}

.footer-app-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-app-btn img {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

/* Social Section */
.hp-footer-socials {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

/* Floating Social Bar */
.hp-floating-social {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 10005;
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

.hp-float-zalo,
.hp-float-messenger,
.hp-float-hotline,
.hp-float-home,
.hp-back-to-top {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
    color: #fff !important;
    cursor: pointer;
}

.hp-float-zalo {
    background: #0068ff !important;
}

.hp-float-messenger {
    background: #0084ff !important;
}

.hp-float-hotline {
    background: #e11d48 !important;
}

.hp-float-home {
    background: #ffffff !important;
    color: #034833 !important;
}

.hp-back-to-top {
    background: var(--main-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.mb12 {
    margin-bottom: 12px !important;
}

/* Location Card Styles */
.gl-location-card {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    transition: all 0.3s ease;
}

.gl-location-card-lg {
    height: 320px;
}

.gl-location-card-sm {
    height: 154px;
    /* (320 - 12) / 2 = 154px */
}

.gl-location-card .img-cover {
    width: 100%;
    height: 100%;
}

.gl-location-card .img-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gl-location-card:hover .img-cover img {
    transform: scale(1.1);
}

.gl-location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 15px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    text-align: left;
    z-index: 2;
}

.gl-location-name {
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Open Sans', sans-serif !important;
}

.gl-location-card-lg .gl-location-name {
    font-size: 22px;
}

.gl-location-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif !important;
}

@media (max-width: 959px) {

    .gl-location-card-lg,
    .gl-location-card-sm {
        height: 200px;
    }
}

.hp-back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hp-float-item:hover,
.hp-float-zalo:hover,
.hp-float-messenger:hover,
.hp-float-hotline:hover,
.hp-float-home:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.hp-float-item i,
.hp-float-home i,
.hp-back-to-top i {
    font-size: 22px;
}

.hp-float-item img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
}

.social-icon.facebook {
    background: #3b5998;
}

.social-icon.messenger {
    background: #0084ff;
}

.social-icon.zalo {
    background: #0068ff;
}

.social-icon.youtube {
    background: #ff0000;
}

.social-icon.twitter {
    background: #000000;
}

.social-icon.tiktok {
    background: #000000;
}

.social-icon.instagram {
    background: #e4405f;
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Footer Info Column */
.hp-footer-info {
    margin-bottom: 30px;
}

.footer-logo-main {
    height: 80px;
    width: auto;
    display: block;
}

.footer-contact-info {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.footer-contact-info span {
    color: var(--main-color);
}

.footer-disclaimer {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin-top: 15px;
}

@media (max-width: 959px) {
    .hp-footer {
        padding: 30px 0 20px;
        text-align: left;
    }

    .hp-footer-info {
        margin-bottom: 25px;
    }

    .footer-logo-main {
        height: 60px;
        margin-bottom: 15px;
    }

    .footer-contact-info {
        font-size: 13px;
    }

    .hp-footer-title {
        margin-top: 20px;
        margin-bottom: 15px;
        margin-left: 0;
        font-size: 16px;
    }

    .hp-footer-links {
        margin-bottom: 20px;
    }

    .gl-section-title {
        font-size: 18px;
        font-weight: 700;
    }

    .gl-section-header {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .gl-search-item-box {
        padding: 8px;
    }

    .gl-section-header .gl-link-all {
        font-size: 13px;
        font-weight: 600;
    }
}

.gl-promo-section {
    background: #f0f7ff linear-gradient(135deg, #f0f7ff 0%, #e1f5fe 100%);
    padding: 50px 0;
    text-align: center;
    position: relative;
}

.gl-promo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
    pointer-events: none;
}

.gl-promo-content {
    position: relative;
    z-index: 2;
}

.gl-promo-title {
    font-size: 28px;
    font-weight: 800;
    color: #0d47a1;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gl-promo-desc {
    font-size: 17px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.gl-promo-desc strong {
    color: #d32f2f;
    font-size: 19px;
    font-weight: 700;
}

.gl-btn-zalo {
    display: inline-flex;
    align-items: center;
    background: #0084ff;
    color: #fff !important;
    padding: 14px 40px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.3);
    transition: all 0.3s ease;
}

.gl-btn-zalo:hover {
    background: #0073e6;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 132, 255, 0.4);
}

.gl-btn-zalo img {
    height: 28px;
    margin-right: 12px;
}

@media (max-width: 959px) {
    .gl-promo-title {
        font-size: 20px;
    }

    .gl-promo-desc {
        font-size: 15px;
        padding: 0 15px;
    }

    .gl-btn-zalo {
        padding: 12px 25px;
        font-size: 16px;
    }
}

/* Post Card Refactor - Clean & Premium */
.gl-post-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.gl-post-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    border-color: var(--main-color);
}

.gl-post-img-wrapper {
    position: relative;
    padding-top: 62%;
    overflow: hidden;
}

.gl-post-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gl-post-card:hover .gl-post-img-wrapper img {
    transform: scale(1.04);
}

.gl-post-body {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gl-post-cat-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--main-color);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.8px;
    font-family: 'Open Sans', sans-serif;
}

.gl-post-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: 'Open Sans', sans-serif;
}

.gl-post-title a {
    color: #111 !important;
    transition: color 0.3s;
    text-decoration: none;
}

.gl-post-card:hover .gl-post-title a {
    color: var(--main-color) !important;
}

.gl-post-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif !important;
}

.gl-post-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f8f8f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gl-post-time {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Open Sans', sans-serif;
}

/* Horizontal Post Card */
.gl-post-card-horizontal {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    height: auto;
    margin-bottom: 25px;
}

.gl-post-card-horizontal:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--main-color);
}

.gl-post-card-horizontal .gl-post-img-wrapper {
    width: 35%;
    padding-top: 25%;
    flex-shrink: 0;
}

.gl-post-card-horizontal .gl-post-body {
    width: 65%;
    padding: 20px 25px;
}

.gl-post-card-horizontal .gl-post-title {
    font-size: 18px;
    height: auto;
    max-height: 52px;
    margin-bottom: 12px;
}

.gl-post-card-horizontal .gl-post-desc {
    height: auto;
    max-height: 60px;
    font-size: 14px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .gl-post-card-horizontal {
        flex-direction: column;
    }

    .gl-post-card-horizontal .gl-post-img-wrapper {
        width: 100%;
        padding-top: 60%;
    }

    .gl-post-card-horizontal .gl-post-body {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 959px) {
    .gl-post-body {
        padding: 15px;
    }

    .gl-post-title {
        font-size: 16px;
        height: auto;
        max-height: 48px;
        margin-bottom: 10px;
    }

    .gl-post-desc {
        height: auto;
        max-height: 44px;
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 10px;
    }
}

.hp-detail-page {
    background-color: #f4f6f9;
    padding-bottom: 50px;
}

.hp-detail-grid {
    margin-left: -20px !important;
}

.hp-detail-grid>* {
    padding-left: 20px !important;
}

.hp-detail-header {
    background: #fff;
    padding: 20px 0;
    margin-bottom: 20px;
}

.uk-breadcrumb {
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    list-style: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    font-size: 14px !important;
    color: #555 !important;
}

.uk-breadcrumb>li+li {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.uk-breadcrumb li {
    display: flex !important;
    align-items: center !important;
}

.uk-breadcrumb li:not(:last-child)::after {
    content: '/' !important;
    margin: 0 10px !important;
    color: #ccc !important;
}

.uk-breadcrumb li a {
    cursor: pointer;
    color: var(--text-muted) !important;
    text-decoration: none !important;
}

.uk-breadcrumb li a:hover {
    color: var(--main-color) !important;
}

.uk-active span {
    color: #111 !important;
    font-weight: 700 !important;
}

@media (max-width: 959px) {
    .uk-breadcrumb {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding: 5px 0 12px 0 !important;
        line-height: normal !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .uk-breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .uk-breadcrumb li {
        flex-shrink: 0 !important;
        display: inline-flex !important;
    }
}

/* Property Gallery */
.hp-property-gallery {
    margin-bottom: 25px;
}

#sync1.owl-carousel {
    position: relative;
}

#sync1 .item {
    border-radius: 5px;
    overflow: hidden;
}

#sync1 .hp-main-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* Custom Navigation Sync1 */
#sync1.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    margin: 0 !important;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

#sync1.owl-carousel .owl-nav button {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #333 !important;
    pointer-events: auto;
    transition: 0.3s;
    border: none !important;
}

#sync1.owl-carousel .owl-nav button:hover {
    background: var(--main-color) !important;
    color: #fff !important;
}

#sync1.owl-carousel .owl-nav button i {
    font-size: 24px;
}

#sync2.owl-carousel {
    margin-top: 10px;
}

#sync2 .item {
    padding: 2px;
    cursor: pointer;
}

.hp-thumb-item {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: 0.2s;
}

.hp-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#sync2 .owl-item.current .hp-thumb-item {
    border-color: var(--main-color);
}

#sync2 .owl-item:not(.current) .hp-thumb-item:hover {
    opacity: 0.8;
}

.hp-thumb-item.has-more .more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

/* Main Content Box */
.hp-property-main {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.hp-detail-title {
    font-size: 26px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
    text-transform: uppercase;
}

.hp-detail-meta-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.hp-detail-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--main-color);
}

.hp-detail-area {
    font-size: 17px;
    font-weight: 600;
    color: #d32f2f;
    background: #fff5f5;
    padding: 5px 15px;
    border-radius: 5px;
}

.hp-detail-address {
    font-size: 15px;
    color: #111;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-detail-address i {
    color: var(--main-color);
    width: 14px;
}

.hp-detail-address.old-address {
    color: #999;
    font-size: 13px;
}

.hp-detail-time {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
    font-weight: 500;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
    align-items: center;
}

.spec-item .label {
    color: #444;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-item .label i {
    color: var(--main-color);
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.spec-item .value {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

/* Content Box with Toggle */
.hp-property-content {
    margin-top: 25px;
}

.hp-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
    display: inline-block;
}

.hp-content-box {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    position: relative;
    transition: all 0.4s ease;
}

.hp-content-box.collapsed {
    max-height: 400px;
    overflow: hidden;
}

.hp-content-box.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.hp-content-toggle {
    text-align: center;
    margin-top: 15px;
}

.btn-toggle-content {
    font-family: var(--font-main);
    background: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    padding: 8px 25px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-toggle-content:hover {
    background: var(--main-color);
    color: #fff;
}

/* Amenities */
.hp-property-amenities {
    padding-top: 20px;
}

.amenity-item {
    padding: 8px 0;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.amenity-item i {
    color: var(--main-green);
    font-size: 16px;
}

/* Map */
.map-container {
    border-radius: 5px;
    overflow: hidden;
    height: 400px;
    margin-top: 20px;
    border: 1px solid #eee;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Agent Card Redesign (Sample Image 3) */
.gl-agent-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #f0f0f0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.gl-agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--main-color);
}

.gl-agent-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.agent-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.agent-online-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background: #4cc800;
    border: 2px solid #fff;
    border-radius: 50%;
}

.agent-info {
    text-align: left;
}

.agent-name {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0 0 3px 0;
    line-height: 1.2;
}

.agent-subtitle {
    font-size: 12px;
    color: #27ae60;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.agent-subtitle::before {
    content: "\f058";
    font-family: FontAwesome;
}

.agent-stats {
    padding: 12px 0;
    border-top: 1px dashed #eee;
    margin-bottom: 20px !important;
    background: #fcfdfe;
    border-radius: 8px;
}

.stat-val {
    font-size: 15px;
    font-weight: 800;
    color: var(--main-color);
}

.stat-label {
    font-size: 10px;
    color: #777;
    text-transform: uppercase;
    font-weight: 600;
}

.gl-btn-agent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none !important;
}

.btn-phone {
    background: var(--main-color);
    color: #fff;
    border: none;
}

.btn-phone:hover {
    background: var(--main-dark);
    color: #fff;
    transform: scale(1.02);
}

.btn-zalo {
    background: #0068ff;
    color: #fff;
}

.btn-zalo:hover {
    background: #0056d6;
    color: #fff;
    transform: scale(1.02);
}

.btn-consult {
    background: #fff;
    color: #555;
    border: 1px solid #ddd;
    margin-top: 10px;
}

.btn-consult:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.btn-consult-request {
    width: 100%;
    margin-top: 5px;
    padding: 12px;
    background: #212121;
    color: #fff !important;
    text-align: center;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
    display: block;
}

.btn-consult-request:hover {
    background: var(--main-color);
}

.btn-consult-request {
    width: 100%;
    background: var(--main-color);
    color: #fff !important;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    margin-top: 5px;
    transition: 0.3s;
}

.btn-consult-request:hover {
    filter: brightness(0.9);
}

/* Sidebar Widgets Modernized */
.hp-sidebar-widget {
    background: #fff;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.hp-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 4px solid var(--main-color);
}

.hp-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f8f8f8;
    margin-bottom: 0px !important;
}

.hp-sidebar-list li:last-child {
    border-bottom: none;
}

.hp-sidebar-list li a {
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: 0.2s;
}

.hp-sidebar-list li a::after {
    content: '\f105';
    font-family: FontAwesome;
    color: #ccc;
    transition: 0.2s;
}

.hp-sidebar-list li a:hover {
    color: var(--main-color);
    padding-left: 5px;
}

.hp-sidebar-list li a:hover::after {
    color: var(--main-color);
    transform: translateX(3px);
}

/* Sidebar Card for related items */
.hp-sidebar-card {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-sidebar-card li {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.hp-sidebar-card li:last-child {
    border-bottom: none;
}

.hp-sidebar-card li a {
    display: block !important;
    text-decoration: none !important;
    transition: background 0.2s;
}

.hp-sidebar-card li a::after {
    display: none !important;
}

.hp-sidebar-card-img {
    width: 75px;
    height: 55px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.hp-sidebar-card-info {
    flex: 1;
}

.hp-sidebar-card-title {
    font-size: 13.5px;
    line-height: 1.4;
    color: #333;
    font-weight: 500;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-sidebar-card-price {
    color: var(--main-color);
    font-weight: 700;
    font-size: 14px;
}

/* Entry Content fixes */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 15px 0;
}

/* Desktop Layout 75/25 */
@media (min-width: 960px) {
    .uk-width-large-7-10 {
        width: 75% !important;
    }

    .uk-width-large-3-10 {
        width: 25% !important;
    }

    .hp-sidebar-sticky {
        position: sticky;
        top: 100px;
        z-index: 100;
    }

    .hp-detail-grid {
        margin-left: -25px !important;
    }

    .hp-detail-grid>* {
        padding-left: 25px !important;
    }
}

/* Responsive */
@media (max-width: 959px) {
    .hp-main-img {
        height: 350px;
    }

    .hp-detail-title {
        font-size: 20px;
    }

    .hp-property-main {
        padding: 15px;
    }

    .agent-header-bg {
        height: 75px;
    }
}

/* Margin/Padding Utilities */
.mt10 {
    margin-top: 10px !important;
}

.mb10 {
    margin-bottom: 10px !important;
}

.mt20 {
    margin-top: 20px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}

.pt10 {
    padding-top: 10px !important;
}

.pb10 {
    padding-bottom: 10px !important;
}

.pt20 {
    padding-top: 20px !important;
}

.pb20 {
    padding-bottom: 20px !important;
}

.gap10 {
    gap: 10px !important;
}

.gap20 {
    gap: 20px !important;
}

/* Related Listings Grid - Handled by UIkit uk-grid-medium */
.hp-related-section {
    padding-top: 30px;
    border-top: 1px solid #eee;
    margin-top: 30px;
}

.hp-related-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hp-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hp-related-card .img-box {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.hp-related-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-related-card .info-box {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hp-related-card .title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-related-card .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--main-color);
    margin-top: auto;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 30px;
    gap: 10px;
}

.pagination li a,
.pagination li span {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

.pagination li.active span {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}

.pagination li a:hover {
    background: #f8f8f8;
}

/* Horizontal Card Remake */
.gl-property-card-horizontal {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    /* Tăng khoảng cách giữa các mục */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gl-property-card-horizontal:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    border-color: var(--main-color);
}

.gl-property-card-horizontal .gl-card-img-wrapper {
    padding-top: 0;
    height: 100%;
}

.gl-property-card-horizontal .gl-card-img-wrapper img {
    position: static;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.gl-property-card-horizontal .gl-card-body {
    padding: 15px 20px;
}

.gl-card-price-area-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
    line-height: 1.2;
}

.gl-card-price-group {
    display: flex;
    align-items: center;
}

.gl-card-price-val {
    color: var(--main-color);
    font-weight: 800;
    font-size: 18px;
    margin-right: 5px;
}

.gl-card-photo-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gl-card-hot-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    z-index: 5;
    text-transform: uppercase;
}

.gl-card-hot-badge span {
    display: block;
}

.gl-property-card-horizontal .gl-card-title {
    height: auto;
    margin-bottom: 12px;
    font-size: 18px;
}

.gl-property-card-horizontal .gl-card-title a {
    color: var(--main-color);
}

.gl-property-card-horizontal .gl-card-title a:hover {
    color: var(--main-dark);
}

.gl-property-card-horizontal .gl-card-description {
    height: auto;
    max-height: 60px;
    color: #666;
}

.gl-property-card-horizontal .gl-card-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

.gl-card-specs .spec-item {
    border: none !important;
    padding: 0 !important;
    font-size: 13px;
    color: #555;
    background: #f8f9fa;
    padding: 4px 10px !important;
    border-radius: 5px;
    display: inline-flex !important;
    margin-right: 10px;
}

.gl-card-specs .spec-item i {
    color: var(--main-color);
    margin-right: 5px;
}


.gl-project-card-horizontal .gl-card-price-val {
    font-weight: 700;
    color: #27ae60;
}

@media (max-width: 767px) {
    .gl-property-card-horizontal .gl-card-img-wrapper {
        height: 200px;
    }

    .gl-property-card-horizontal .gl-card-img-wrapper img {
        min-height: auto;
    }
}

/* RECOMMENDED SECTION & SLIDER */
.gl-recommended-section .gl-section-header {
    margin-bottom: 25px !important;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}

.gl-section-subnav {
    margin: 0 !important;
    padding: 0;
}

.gl-section-subnav>li>a {
    color: #444 !important;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    transition: all 0.2s;
}

.gl-section-subnav>li>a:hover {
    color: #333 !important;
    text-decoration: none;
}

.gl-section-subnav>li:nth-child(n+2):before {
    border-left: 1px solid #ddd !important;
    height: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
}

.gl-section-subnav>li {
    position: relative;
}

.gl-view-more {
    color: #007bff !important;
    font-weight: 600;
    font-size: 14px;
}

.gl-slider-wrapper {
    position: relative;
    padding: 0 10px;
}

.swiper-navigation-icon {
    display: none !important;
}

/* Sửa lỗi nút điều hướng Swiper - Chỉ dùng 1 icon duy nhất */
.gl-slider-wrapper .gl-swiper-prev:after,
.gl-slider-wrapper .gl-swiper-next:after,
.gl-slider-wrapper .gl-swiper-prev:before,
.gl-slider-wrapper .gl-swiper-next:before {
    display: none !important;
    content: "" !important;
}

.gl-slider-wrapper .gl-swiper-prev,
.gl-slider-wrapper .gl-swiper-next {
    position: absolute;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    z-index: 99 !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
    color: #333 !important;
    cursor: pointer;
    margin: 0 !important;
}

/* Chỉ hiển thị icon ở phần :after của class tùy chỉnh */
.gl-slider-wrapper .gl-swiper-prev:after,
.gl-slider-wrapper .gl-swiper-next:after {
    display: block !important;
    font-family: 'FontAwesome' !important;
    font-size: 20px !important;
    font-weight: normal !important;
}

.gl-slider-wrapper .gl-swiper-prev:after {
    content: "\f104" !important;
}

.gl-slider-wrapper .gl-swiper-next:after {
    content: "\f105" !important;
}

.gl-slider-wrapper .gl-swiper-prev:hover,
.gl-slider-wrapper .gl-swiper-next:hover {
    background: #fff !important;
    color: #000 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.gl-slider-wrapper .gl-swiper-prev {
    left: -22px !important;
}

.gl-slider-wrapper .gl-swiper-next {
    right: -22px !important;
}

@media (max-width: 1219px) {

    .gl-slider-wrapper .gl-swiper-prev,
    .gl-slider-wrapper .gl-swiper-next {
        display: none !important;
    }
}

.gl-recommended-swiper {
    padding-bottom: 20px;
    overflow: hidden !important;
}

.swiper-button-disabled {
    opacity: 0.3 !important;
    cursor: default !important;
    pointer-events: none !important;
}

/* LOCATION SECTION */
.gl-location-card {
    position: relative;
    display: block;
    border-radius: 5px;
    overflow: hidden;
    color: #fff !important;
    text-decoration: none !important;
    width: 100%;
}

.gl-location-card .img-cover {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    width: 100%;
}

.gl-location-card-lg .img-cover {
    height: 416px;
}

.gl-location-card-sm .img-cover {
    height: 200px;
}

.gl-location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gl-location-card:hover img {
    transform: scale(1.1);
}

.gl-card-title a,
.gl-post-title a {
    color: var(--main-color);
    transition: color 0.3s ease;
}

.gl-card-title a:hover,
.gl-post-title a:hover {
    color: var(--main-dark);
}

.gl-location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    z-index: 2;
}

.gl-location-name {
    color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gl-location-count {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
}

@media (max-width: 959px) {

    .gl-location-card-lg .img-cover,
    .gl-location-card-sm .img-cover {
        height: 180px;
    }
}



.gl-location-section {
    background-color: #fff;
}

/* ==========================================================================
   CONTACT PAGE RADICAL REFACTOR (PREMIUM SPLIT)
   ========================================================================== */
.gl-contact-page-radical {
    font-family: var(--font-main);
    background: #fff;
    padding-bottom: 50px;
}

.gl-contact-hero-bc {
    background: #f8faff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.gl-contact-hero-content {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}

.gl-contact-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--main-color);
    margin: 0;
    letter-spacing: -1px;
}

.gl-contact-hero-content p {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

/* Floating Info Bars */
.gl-info-strip-container {
    margin-top: -30px;
    margin-bottom: 60px;
}

.gl-info-strip {
    background: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f2f2f2;
    transition: 0.3s;
    height: 100%;
}

.gl-info-strip:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--main-color);
}

.gl-info-strip .icon-wrap {
    width: 44px;
    height: 44px;
    background: #f0f2ff;
    color: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.gl-info-strip .info-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #999;
}

.gl-info-strip .info-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Radical Split Section */
.gl-radical-split {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.gl-radical-form-side {
    padding: 60px;
    background: #fff;
}

.gl-radical-map-side {
    position: relative;
    height: 100%;
    min-height: 600px;
    background: #f5f5f5;
}

.gl-radical-map-side iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 959px) {
    .gl-radical-form-side {
        padding: 40px 20px;
    }

    .gl-radical-map-side {
        min-height: 400px;
    }

    .gl-info-strip {
        border-radius: 15px;
        margin-bottom: 10px;
    }
}

.gl-premium-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--main-color);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.gl-radical-input {
    background: #f8faff !important;
    border: 1px solid #eef2f8 !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    font-size: 15px !important;
    color: #333 !important;
    transition: 0.3s;
    width: 100%;
    font-family: var(--font-main);
    margin-bottom: 25px;
}

.gl-radical-input:focus {
    background: #fff !important;
    border-color: var(--main-color) !important;
    box-shadow: 0 10px 20px rgba(55, 62, 145, 0.05) !important;
}

.gl-btn-radical {
    background: var(--main-color);
    color: #fff;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.gl-btn-radical:hover {
    background: var(--main-dark);
    box-shadow: 0 15px 30px rgba(55, 62, 145, 0.2);
    transform: translateX(5px);
}