body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
}

a, a:hover {
    text-decoration: none;
    color: #000;
}

.bg-white {
    background-color: #fff;
}

.bg-gray {
    background-color: #eceeef;
}

input:focus, textarea:focus {
    outline: none;
}

svg {
    width: 20px;
}
/*---------------------------- Header Premium -----------------------*/
.header {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header__top {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.header__top-inner {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 20px;
}

/* Logo */
.header__logo {
    flex-shrink: 0;
}

.header__logo a {
    display: flex;
    align-items: center;
}

.header__logo img {
    max-height: 52px;
    width: auto;
    transition: opacity 0.2s ease;
}

.header__logo img:hover {
    opacity: 0.85;
}

/* Search */
.header__search {
    flex: 1;
    max-width: 560px;
    margin: 0 auto;
}

.header__search form {
    display: flex;
}

.header__search-box {
    display: flex;
    align-items: center;
    width: 100%;
    background: #f5f6f8;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.header__search-box:focus-within {
    border-color: #1B3A5C;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(27,58,92,0.12);
}

.header__search-icon {
    padding: 0 0 0 16px;
    color: #999;
    font-size: 14px;
    flex-shrink: 0;
}

.header__search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    outline: none;
}

.header__search-box input::placeholder {
    color: #aaa;
}

.header__search-box button {
    background: linear-gradient(135deg, #1B3A5C, #152D47);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.header__search-box button:hover {
    background: linear-gradient(135deg, #152D47, #0F2235);
}

/* Action Buttons */
.header__action {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.header__btn i {
    font-size: 15px;
}

.header__btn--outline {
    background: #fff;
    color: #333;
    border: 1.5px solid #e0e0e0;
}

.header__btn--outline:hover {
    border-color: #1B3A5C;
    color: #1B3A5C;
    background: #EDF1F5;
}

.header__btn--primary {
    background: linear-gradient(135deg, #F2B705, #E5AB04);
    color: #1B3A5C !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(242,183,5,0.35);
}

.header__btn--primary:hover {
    background: linear-gradient(135deg, #E5AB04, #D9A204);
    color: #1B3A5C;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242,183,5,0.5);
}

.header__btn--ghost {
    background: transparent;
    color: #666;
    border: none;
    padding: 9px 12px;
}

.header__btn--ghost:hover {
    color: #F2B705;
    background: #FEF9E7;
}

/* Navigation */
.header__nav {
    background: linear-gradient(135deg, #1B3A5C, #24496E);
    position: relative;
}

.header__menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header__menu-item {
    position: relative;
}

.header__menu-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header__menu-item > a i:first-child {
    font-size: 14px;
}

.header__menu-arrow {
    font-size: 9px !important;
    margin-left: 2px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.header__menu-item:hover > a {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.header__menu-item:hover .header__menu-arrow {
    transform: rotate(180deg);
}

/* Dropdown */
.header__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.25s ease;
    z-index: 100;
}

.header__menu-item:hover > .header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: #444;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.15s ease;
}

.header__dropdown li a:hover {
    background: #EDF1F5;
    color: #1B3A5C;
    padding-left: 22px;
}

.header__dropdown li a i {
    width: 18px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

.header__dropdown li a:hover i {
    color: #1B3A5C;
}

/* Toggle Menu (Mobile) */
.header__toggle-menu {
    display: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 10;
    flex-shrink: 0;
}

.header__toggle-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* --- Responsive Header --- */
@media (max-width: 768px) {
    .header {
        position: sticky;
        top: 0;
    }

    .header__top-inner {
        padding: 10px 16px;
        gap: 12px;
    }

    .header__logo img {
        max-height: 40px;
    }

    .header__search {
        display: none;
    }

    .header__action {
        display: none;
    }

    .header__toggle-menu {
        display: block;
        order: -1;
    }

    .header__toggle-menu.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .header__toggle-menu.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .header__toggle-menu.active span:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .header__nav {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, #1B3A5C, #1F4060);
        z-index: 9999;
        overflow-y: auto;
        transition: left 0.3s ease;
        padding-top: 60px;
        box-shadow: 4px 0 20px rgba(0,0,0,0.2);
    }

    .header__nav.active {
        left: 0;
    }

    .header__menu {
        flex-direction: column;
    }

    .header__menu-item > a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 15px;
    }

    .header__dropdown {
        position: static;
        background: rgba(0,0,0,0.15);
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
    }

    .header__dropdown li a {
        color: rgba(255,255,255,0.8);
        padding: 12px 20px 12px 40px;
    }

    .header__dropdown li a:hover {
        background: rgba(255,255,255,0.1);
        color: #fff;
        padding-left: 44px;
    }

    .header__dropdown li a i {
        color: rgba(255,255,255,0.5);
    }
}
/*----------------*/
.desc li {
    list-style: none;
}

.desc {
    font-size: 14px;
    padding: 0;
}

.block-blog .title {
    font-size: 16px;
    font-weight: bold;
}

.button-post , .button-post:hover {
    background: #d0021b;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
}

.post .price a {
    color: #B91C1C;
    font-weight: bold;
}

.post .title {
    font-size: 16px;
    margin-top: 15px;
}

.post {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.post .item {
    width: 25%;
    padding: 10px;
}
.post>.item>a {
    aspect-ratio: 16/10;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: black;
    overflow: hidden;
}

.post>.item>a>img ,.related-post img{
    /* max-height: 100%; */
    width: 100%;
    object-fit: cover;
    height: 100%;
}
.related-post img{
    aspect-ratio: 16/10;
}

.post .item img {
    width: 100%;
}

.hour , .wishlist {
    text-align: right;
}

.button-more {
    display: inline-block;
    border: 1px solid #d0021b;
    padding: 10px;
    margin-top: 25px;
}

.title-blog {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #d0021b;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.block-blog {
    background-color: #fff;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 15px;
}

.info-home, .bg-blog {
    background-color: #f4f4f4;
}

.bg-red {
    background-color: #d0021b;
}

/*========================= Homepage Premium =========================*/

/* --- Hero Section --- */
.home-hero {
    background: linear-gradient(135deg, #1B3A5C 0%, #24496E 50%, #1B3A5C 100%);
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(242,183,5,0.06);
    pointer-events: none;
}

.home-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}

.home-hero__content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.home-hero__title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
}

.home-hero__title span {
    color: #F2B705;
}

.home-hero__subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    margin: 0 0 28px 0;
}

.home-hero__search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.home-hero__search i {
    padding: 0 0 0 20px;
    color: #999;
    font-size: 16px;
    flex-shrink: 0;
}

.home-hero__search input {
    flex: 1;
    border: none;
    padding: 16px 14px;
    font-size: 15px;
    color: #333;
    outline: none;
    background: transparent;
}

.home-hero__search input::placeholder {
    color: #aaa;
}

.home-hero__search button {
    background: linear-gradient(135deg, #F2B705, #E5AB04);
    color: #1B3A5C;
    border: none;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.home-hero__search button:hover {
    background: linear-gradient(135deg, #E5AB04, #D9A204);
}

/* --- Category Pills --- */
.home-categories {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.home-categories__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.home-categories__list::-webkit-scrollbar {
    display: none;
}

.home-categories__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 20px;
    background: #EDF1F5;
    color: #1B3A5C;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.home-categories__pill i {
    font-size: 12px;
    color: #F2B705;
}

.home-categories__pill:hover {
    background: #1B3A5C;
    color: #fff;
    border-color: #1B3A5C;
}

.home-categories__pill:hover i {
    color: #F2B705;
}

/* --- Banners --- */
.home-banners {
    padding: 20px 0 0;
}

.home-banners__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.home-banners__item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.home-banners__item:hover {
    transform: translateY(-2px);
}

.home-banners__item img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Home Sections --- */
.home-section {
    padding: 28px 0;
}

.home-section--alt {
    background: #fff;
}

.home-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.home-section__title {
    font-size: 20px;
    font-weight: 700;
    color: #1B3A5C;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-section__title i {
    color: #F2B705;
    font-size: 18px;
}

.home-section__viewall {
    font-size: 14px;
    font-weight: 600;
    color: #1B3A5C;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.home-section__viewall:hover {
    color: #F2B705;
}

.home-section__viewall i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.home-section__viewall:hover i {
    transform: translateX(3px);
}

/* --- Home Grid --- */
.home-grid {
    display: grid;
    gap: 16px;
}

.home-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* --- Home Card --- */
.home-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    border: 1px solid #eee;
    color: #333;
}

.home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(27,58,92,0.1);
    border-color: #d0d5dd;
    color: #333;
}

.home-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f0f0f0;
}

.home-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.home-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.home-card__badge--hot {
    background: #F2B705;
    color: #1B3A5C;
}

.home-card__badge--news {
    background: #1B3A5C;
    color: #fff;
}

.home-card__body {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-card__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #222;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.home-card__price {
    font-size: 15px;
    font-weight: 700;
    color: #D4850A;
}

.home-card__area {
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
}

.home-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.home-card__location {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.home-card__location i {
    color: #1B3A5C;
    font-size: 10px;
}

.home-card__time {
    font-size: 12px;
    color: #aaa;
}

/* --- SEO Section --- */
.home-seo {
    padding: 24px 0;
}

.home-seo__content {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.home-seo__content h2,
.home-seo__content h3 {
    color: #1B3A5C;
    font-size: 18px;
    margin-bottom: 10px;
}

.home-seo__keywords {
    background: #fff;
    border-radius: 10px;
    padding: 20px 24px;
}

.home-seo__keywords h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1B3A5C;
    margin: 0 0 12px 0;
}

.home-seo__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.home-seo__tags ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
    width: 100%;
}

.home-seo__tags ul li {
    width: 25%;
    padding: 2px 0;
}

.home-seo__tags ul li a {
    color: #777;
    font-size: 12px;
    transition: color 0.2s ease;
}

.home-seo__tags ul li a:hover {
    color: #F2B705;
}

/* --- Homepage Responsive --- */
@media (max-width: 992px) {
    .home-grid--4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-hero__title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .home-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-hero {
        padding: 36px 0 32px;
    }

    .home-hero__title {
        font-size: 22px;
    }

    .home-hero__subtitle {
        font-size: 13px;
    }

    .home-hero__search {
        flex-direction: column;
        border-radius: 10px;
    }

    .home-hero__search i {
        display: none;
    }

    .home-hero__search input {
        width: 100%;
        padding: 14px 16px;
    }

    .home-hero__search button {
        width: 100%;
        padding: 14px;
        border-radius: 0 0 10px 10px;
    }

    .home-banners__grid {
        grid-template-columns: 1fr;
    }

    .home-section__header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .home-seo__tags ul li {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .home-grid--4 {
        grid-template-columns: 1fr;
    }

    .home-seo__tags ul li {
        width: 100%;
    }
}

.project .title {
    font-size: 16px;
}

.project .title img {
    width: auto;
}

.project {
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #e5e7eb;
}

.form .form-row {
    margin-bottom: 20px;
}
/*--------------- Sidebar ------------------*/
.sidebaritem, .list-tin-rao {
    padding: 15px;
}

.categoryitem:hover i {
    background-color: #d0021b;
    color: #fff;
    cursor: pointer;
}

.title-category {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.categoryitem {
    text-align: center;
}
.categoryitem p {
    font-size: 14px;
}

.categoryitem i {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: #f4f4f4;;
}
/* ------ PhÃ¡ÂºÂ§n page -----------*/
.content-page {
    padding: 10px;
}
/* ----- PhÃ¡ÂºÂ§n bÃ¡Â»â„¢ lÃ¡Â»Âc theo giÃƒÂ¡ ---- */
.price-filter {
    width: 100%;
}

.range-slider {
    width: 100%;
    height: 30px;
    margin-top: 1rem;
}

.price-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-list li {
    margin-bottom: 0.5rem;
}

.price-list a {
    text-decoration: none;
    color: #212529;
}

.price-list a:hover {
    text-decoration: none;
    color: #0d6efd;
}
/* ----- Keyword Footer ------*/
.block-keywork ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.block-keywork ul li {
    display: flex;
    justify-content: left;
    width: calc((100% - 30px)/4);
}

.block-keywork ul li a {
    color: #777;
    font-size: 12px;
}
/*--- Contact -----*/
.info-conntact h1 {
    font-size: 20px;
    font-weight: bold;
}

.map iframe {
    width: 100%;
}
/*----- Footer Premium -------*/
.site-footer {
    margin-top: 40px;
    font-family: 'Inter', sans-serif;
}

.site-footer__main {
    background: #1B3A5C;
    padding: 48px 0 36px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 36px;
}

/* Logo & About */
.site-footer__logo {
    margin-bottom: 16px;
}

.site-footer__logo img {
    max-height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.site-footer__desc {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.site-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__links li {
    margin-bottom: 6px;
}

.site-footer__links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.site-footer__links a i {
    font-size: 9px;
    color: #F2B705;
    transition: transform 0.2s ease;
}

.site-footer__links a:hover {
    color: #F2B705;
    padding-left: 4px;
}

.site-footer__links a:hover i {
    transform: translateX(2px);
}

/* Column titles */
.site-footer__title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    position: relative;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.site-footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2.5px;
    background: #f59e0b; /* Classy warm amber */
    border-radius: 2px;
}

/* Content inside columns */
.site-footer__content {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
}

.site-footer__content a {
    color: rgba(255,255,255,0.7);
    transition: all 0.25s ease;
}

.site-footer__content a:hover {
    color: #f59e0b;
    padding-left: 3px;
}

.site-footer__content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__content li {
    margin-bottom: 6px;
}

.site-footer__content p {
    margin-bottom: 6px;
}

/* Social */
.site-footer__social {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.site-footer__social-item {
    font-size: 14px;
}

.site-footer__social-item a {
    color: rgba(255,255,255,0.65);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-footer__social-item a:hover {
    color: #f59e0b;
    transform: translateX(4px);
}

.site-footer__social-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    transition: color 0.25s ease;
}

.site-footer__social-item a:hover i {
    color: #f59e0b;
}

/* Contact buttons */
.site-footer__contact {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.site-footer__contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: #f59e0b; /* Classy warm amber */
    color: #0d3a5f !important; /* Navy text color */
    border: 1px solid #f59e0b;
    text-decoration: none;
    box-sizing: border-box;
}

.site-footer__contact-btn:hover {
    background: #d97706;
    border-color: #d97706;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

.site-footer__contact-btn--outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85) !important;
}

.site-footer__contact-btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

/* Bottom bar */
.site-footer__bottom {
    background: #152D47;
    border-top: 2px solid #F2B705;
    padding: 16px 0;
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-footer__copyright {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin: 0;
}

.site-footer__copyright strong {
    color: rgba(255,255,255,0.75);
}

.site-footer__copyright a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.site-footer__copyright a:hover {
    color: #F2B705;
}

.site-footer__backtop {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s ease;
}

.site-footer__backtop:hover {
    background: #F2B705;
    border-color: #F2B705;
    color: #1B3A5C;
    transform: translateY(-2px);
}

/* Footer Responsive */
@media (max-width: 992px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer__main {
        padding: 32px 0 24px;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
/*--- Form login ---*/
.login, .reset-pw, .register  {
    margin: 45px 0;
}

.login .title, .reset-pw .title, .register .title {
    color: #777;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.form-login {
    width: 30%;
    margin: 0 auto;
}

.form-login input {
    border: 1px solid #d1d5db;
    padding: 10px;
}

/*---- Blog ----*/
.heading-01, .heading-02 {
    font-size: 20px;
    font-weight: bold;
}

.date {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 5px;
}

.item-blog {
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.block-content-post .price {
    font-weight: bold;
    color: #dc2626;
}

.block-item-post .location {
    color: #757575;
    font-size: 13px;
}

.block-info-advertisement .phone a {
    background-color: #419641;
    padding: 5px;
    color: #fff;
}

/*-- Sidebar ---*/
.sidebaritem h3 {
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
/*-- Tin rao ----*/
.block-info-advertisement .title {
    font-size: 24px;
    font-weight: bold;
}

.block-info-advertisement .price span {
    color: #dc2626;
    font-weight: bold;
}

.block-info-advertisement , .control-post{
    border-top: 1px solid #f2f5f8;
    padding: 15px 0;
}

ul.txt-desc {
    list-style: none;
    padding: 0;
}

.text-01 {
    font-size: 14px;
}

.bg-green {
    background-color: #f0f8f6;
    border: 1px solid #aad7ce;
}

.boder-01 {
    border-bottom: 1px solid #aad7ce;
    padding-bottom: 10px;
}

.heading-style-01 {
    background-color: #f2f5f8;
    padding: 10px;
    margin-top: 15px;
}

.block-item-post img {
    border-radius: 0;
}

.block-item-post {
    border: 1px solid #f2f5f8;
}

.block-content-post .title {
    font-size: 20px;
    margin-top: 15px;
}

.block-content-post {
    padding: 0 15px;
}

/*--- PhÃ¡ÂºÂ§n phÃƒÂ¢n trang ----*/
.pagination p {
    padding-top: 15px;
}

/*--- Slider tin rao ----*/
.vehicle-detail-banner .car-slider-desc {
    max-width: 180px;
    margin: 0 auto;
}
.banner-slider .slider.slider-for {
    max-width: 84%;
    padding-right: 35px;
}
.banner-slider .slider.slider-nav {
    max-width: 16%;
}
.banner-slider .slider.slider-for,
.banner-slider .slider.slider-nav {
    width: 100%;
    float: left;
}
.banner-slider .slider.slider-nav {
    height: 610px;
    overflow: hidden;

}
.slider-banner-image {
    height: 610px;
}
.banner-slider .slider.slider-nav {
    padding: 20px 0 0;
}
.slider-nav .slick-slide.thumbnail-image .thumbImg{
    max-width: 178px;
    height: 110px;
    margin: 0 auto;
    border: 1px solid #EBEBEB;
}
.slider-banner-image img,
.slider-nav .slick-slide.thumbnail-image .thumbImg img {
    height: 100%;
    width:100%;
    object-fit: cover;
}
.slick-vertical .slick-slide:active,
.slick-vertical .slick-slide:focus,
.slick-arrow:hover,
.slick-arrow:focus {
    border: 0;
    outline: 0;
}
.slider-nav .slick-slide.slick-current.thumbnail-image .thumbImg {
    border: 2px solid #196DB6;
}
.slider-nav .slick-slide.slick-current span {
    color: #196DB6;
}
.slider-nav .slick-slide {
    text-align: center;
}
.slider-nav .slick-slide span {
    font-size: 14px;
    display: block;
    padding: 5px 0 15px;
}
.slick-arrow {
    width: 100%;
    background-color: transparent;
    border: 0;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0;
    height: 18px;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 99;
}
.slick-prev {
    top: 0;
}
.slick-next {
    bottom: 0;
    background-color: #fff;
}
.slick-prev.slick-arrow {
    background-image: url(../images/black-up-arrow.png);
}
.slick-next.slick-arrow {
    background-image: url(../images/black-down-arrow.png);
}

/*------------------------------- Mobile ----------------------------------------*/
@media (max-width: 767px) {
    .post .item {
        width: 100%;
    }

    .block-advertisement img {
        margin-bottom: 10px;
    }

    .form-login {
        width: 100%;
    }

}

/*-- Tin rao Slider --*/
@media screen and (max-width : 991px) {

    .banner-slider .slider.slider-for,
    .banner-slider .slider.slider-nav {
        max-width: 100%;
        float: none;
    }
    .banner-slider .slider.slider-for {
        padding-right: 0;
    }
    .banner-slider .slider.slider-nav {
        height: auto;
    }
    .slider-banner-image {
        height: 500px;
    }
    .slider.slider-nav.thumb-image {
        padding: 10px 30px 0;
    }
    .slider-nav .slick-slide span {
        padding: 5px 0;
    }
    .slick-arrow {
        padding: 0;
        width: 30px;
        height: 30px;
        top: 50%;
        bottom: 0;
        -webkit-transform: translateY(-50%) rotate(-90deg);
        -moz-transform: translateY(-50%) rotate(-90deg);
        -ms-transform: translateY(-50%) rotate(-90deg);
        transform: translateY(-50%) rotate(-90deg);
    }
    .slick-prev {
        left: 0;
        right: unset;
    }
    .slick-next {
        left: unset;
        right: 0;
        background-color: transparent;
    }
    .vehicle-detail-banner .car-slider-desc {
        max-width: 340px;
    }
    .bid-tag {
        padding: 10px 0 15px;
    }
    .slider.slider-nav.thumb-image {
        white-space: nowrap;
    }
    .thumbnail-image.slick-slide {
        padding: 0px 5px;
        min-width: 75px;
        display: inline-block;
    }
}

@media screen and (max-width : 767px) {
    .slider-banner-image {
        height: 400px;
    }
    .slider.slider-nav.thumb-image {
        padding: 0px 20px 0;
        margin: 10px 0px 0;
    }
    .slider-nav .slick-slide.thumbnail-image .thumbImg {
        max-width: 140px;
        height: 80px;
    }
    .slick-prev.slick-arrow {
        background-position: center 10px;
    }
    .slick-next.slick-arrow {
        background-position: center 10px, center;
    }
    .slider-nav .slick-slide span {
        font-size: 12px;
        white-space: normal;
    }
}

@media screen and (max-width: 580px) {
    .slider-banner-image {
        height:340px;
    }
}

@media screen and (max-width : 480px) {
    .slider-banner-image {
        height:280px;
    }
}
.tool i.fas.fa-trash-alt.fa-2x {
    font-size: 20px;
    padding: 5px;
}

.tool i.fas.fa-exchange-alt.fa-2x {
    font-size: 22px;
    padding: 5px;
}

.tool i.fas.fa-pen-square.fa-2x {
    font-size: 22px;
    padding: 5px;
}

.tool .form-check.form-switch {
    padding: 4px;
}
.screen-tool table td {
    padding: 10px 15px;
}
.tool a:hover {
    color: black;
}

.tool a {
    color: #575757;
}
.category-tin-rao .tinraoitem {
    margin-bottom: 10px;
}
.category-tin-rao .tinraoitem img{
    aspect-ratio: 16/10;
    object-fit: cover;
}
.rounded.rounded-pill.border {
    width: 450px;
}
.page-content table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #e1e1e1
}

.page-content table th {
    border: 1px solid #e1e1e1;
    height: 50px;
    text-align: center;
    background: #135eac;
    font-weight: 700;
    font-size: 14px;
    color: #fff
}

.page-content table th img.premium {
    display: inline-block;
    margin-top: -6px;
    margin-right: 3px
}

.page-content table th.bg-red {
    background: #e23838!important
}

.page-content table th.bg-light-black {
    background: #888!important
}

.page-content table td {
    border: 1px solid #e1e1e1;
    height: 80px!important;
    font-size: 14px;
    text-align: center;
    color: #222;
    line-height: 20px;
    padding: 0 20px
}

.page-content table td:first-child {
    text-align: left;
    font-weight: 700;
    padding-left: 20px
}
.content img {
    min-width: 80%;
    max-width: 100%;
    height: auto!important;
    display: block;
    margin: 15px auto;
    border-radius: 5px;
}

/* ===================================================================
   LISTING PAGE — batdongsan.com.vn style
   =================================================================== */

/* --- Page Layout --- */
.listing-page {
    background-color: #f4f4f4;
    padding-bottom: 30px;
}

.listing-page__title {
    font-size: 22px;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 16px 0;
    padding: 0;
}

.listing-breadcrumb {
    padding: 12px 0 0;
    margin: 0;
}

.listing-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0 0 8px 0;
    font-size: 13px;
}

.listing-breadcrumb .breadcrumb a {
    color: #1B3A5C;
}

.listing-breadcrumb .breadcrumb-item.active {
    color: #666;
}

.listing-page__wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
}

.listing-page__content {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 8px;
    padding: 16px;
}

.listing-page__sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 10px;
}

/* --- Filter Bar --- */
.filter-bar {
    background: #fff;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.filter-bar__form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-bar__item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-bar__item:first-child {
    border-color: #1B3A5C;
    color: #1B3A5C;
}

.filter-bar__item:hover {
    border-color: #1B3A5C;
    color: #1B3A5C;
}

.filter-bar__item i {
    font-size: 12px;
}

.filter-bar__dropdown select {
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    outline: none;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    padding-right: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.filter-bar__dropdown select:hover {
    color: #1B3A5C;
}

/* --- Sorting Row --- */
.listing-sort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 12px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
}

.listing-sort__info p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.listing-sort__controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.listing-sort__controls label {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.listing-sort__controls select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px 30px 6px 10px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* --- Child Categories --- */
.listing-childcats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.listing-childcats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #f8f9fa;
    font-size: 12px;
    color: #555;
    text-align: center;
    min-width: 80px;
    transition: all 0.2s ease;
}

.listing-childcats__item:hover {
    background: #E8EDF2;
    color: #1B3A5C;
}

.listing-childcats__item i {
    font-size: 24px;
    color: #999;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    background: #fff;
    text-align: center;
    transition: all 0.2s ease;
}

.listing-childcats__item:hover i {
    background: #1B3A5C;
    color: #fff;
}

/* --- Listing Grid --- */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

/* --- Listing Card --- */
.listing-card {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.25s ease;
    position: relative;
}

.listing-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: #e0e0e0;
}

.listing-card__image {
    position: relative;
    overflow: hidden;
}

.listing-card__image a {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #eee;
}

.listing-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.listing-card__fav {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
    transition: all 0.2s ease;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.listing-card__fav:hover,
.listing-card__fav.active {
    color: #F2B705;
    background: rgba(255,255,255,0.95);
}

.listing-card__fav.active i {
    font-weight: 900;
}

.listing-card__viewed {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}

.listing-card__info {
    padding: 10px;
}

.listing-card__title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-card__title a {
    color: #2c2c2c;
    transition: color 0.2s ease;
}

.listing-card__title a:hover {
    color: #1B3A5C;
}

.listing-card__details {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.listing-card__price {
    font-size: 14px;
    font-weight: 700;
    color: #D4850A;
}

.listing-card__area {
    font-size: 13px;
    color: #666;
}

.listing-card__meta {
    font-size: 12px;
    color: #999;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-card__time {
    white-space: nowrap;
}

/* --- Empty State --- */
.listing-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.listing-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #ddd;
}

.listing-empty p {
    font-size: 16px;
}

/* --- Pagination --- */
.listing-pagination {
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

.listing-pagination .pagination {
    gap: 4px;
}

.listing-pagination .page-link {
    border-radius: 6px;
    color: #333;
    border-color: #e0e0e0;
    font-size: 14px;
    padding: 6px 12px;
}

.listing-pagination .page-item.active .page-link {
    background-color: #1B3A5C;
    border-color: #1B3A5C;
    color: #fff;
}

/* --- Sidebar Filter --- */
.sidebar-filter {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-filter__section {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-filter__section:last-of-type {
    border-bottom: none;
}

.sidebar-filter__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.sidebar-filter__header:hover {
    background: #fafafa;
}

.sidebar-filter__header h3 {
    font-size: 15px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
    border: none;
    padding: 0;
}

.sidebar-filter__header i {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s ease;
}

.sidebar-filter__header.collapsed i {
    transform: rotate(180deg);
}

.sidebar-filter__list {
    list-style: none;
    padding: 0 16px 14px;
    margin: 0;
    max-height: 400px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
}

.sidebar-filter__list.hidden {
    max-height: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.sidebar-filter__list li {
    margin-bottom: 2px;
}

.sidebar-filter__list a {
    display: block;
    padding: 6px 8px;
    font-size: 14px;
    color: #555;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.sidebar-filter__list a:hover {
    background: #E8EDF2;
    color: #1B3A5C;
}

.sidebar-filter__list a.active {
    color: #1B3A5C;
    font-weight: 600;
    background: #E8EDF2;
}

.sidebar-filter__banner {
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-filter__banner img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

/* --- Sidebar scrollbar --- */
.sidebar-filter__list::-webkit-scrollbar {
    width: 4px;
}

.sidebar-filter__list::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-filter__list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

/* --- Mobile Sidebar Toggle --- */
.sidebar-toggle-mobile {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: #1B3A5C;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(27,58,92,0.4);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-toggle-mobile:hover {
    background: #152D47;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27,58,92,0.5);
}

.sidebar-toggle-mobile i {
    margin-right: 6px;
}

/* --- Mobile sidebar overlay --- */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
}

.sidebar-overlay.show {
    display: block;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

/* Tablet large */
@media (max-width: 1200px) {
    .listing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet */
@media (max-width: 992px) {
    .listing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .listing-page__sidebar {
        width: 230px;
    }
}

/* Mobile landscape */
@media (max-width: 768px) {
    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .listing-page__wrapper {
        flex-direction: column;
    }

    .listing-page__sidebar {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        max-width: 85vw;
        z-index: 1002;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        border-radius: 0;
    }

    .listing-page__sidebar.show {
        display: block;
    }

    .sidebar-toggle-mobile {
        display: flex;
        align-items: center;
    }

    .listing-page__title {
        font-size: 18px;
    }

    .filter-bar__form {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .filter-bar__item {
        flex-shrink: 0;
    }

    .listing-sort {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .listing-childcats {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .listing-childcats__item {
        flex-shrink: 0;
    }
}

/* Mobile portrait */
@media (max-width: 576px) {
    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .listing-card__info {
        padding: 8px;
    }

    .listing-card__title {
        font-size: 12px;
    }

    .listing-card__price {
        font-size: 13px;
    }

    .listing-card__area {
        font-size: 12px;
    }

    .listing-card__meta {
        font-size: 11px;
    }

    .listing-page__content {
        padding: 10px;
    }

    .filter-bar {
        padding: 8px 10px;
    }
}

/* ===================================================================
   DETAIL PAGE — Property Detail
   =================================================================== */

.detail-page {
    background-color: #f4f4f4;
    padding-bottom: 40px;
}

.detail-breadcrumb {
    padding: 12px 0 0;
    margin: 0;
}

.detail-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0 0 12px 0;
    font-size: 13px;
}

.detail-breadcrumb .breadcrumb a {
    color: #1B3A5C;
}

/* --- Page Layout --- */
.detail-page__wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-page__main {
    flex: 1;
    min-width: 0;
}

.detail-page__sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- Image Gallery --- */
.detail-gallery {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.detail-gallery__main {
    position: relative;
    background: #1a1a1a;
}

.gallery-slider-for {
    background: #1a1a1a;
}

.gallery-slide {
    outline: none;
}

.gallery-slide img {
    width: 100%;
    height: 480px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: #1a1a1a;
}

/* Custom arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    opacity: 0;
}

.detail-gallery:hover .gallery-arrow {
    opacity: 1;
}

.gallery-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transform: translateY(-50%) scale(1.05);
}

.gallery-arrow--prev {
    left: 16px;
}

.gallery-arrow--next {
    right: 16px;
}

/* Image counter */
.detail-gallery__count {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    z-index: 5;
    backdrop-filter: blur(4px);
}

/* Thumbnail strip */
.detail-gallery__thumbs {
    padding: 10px 12px;
    background: #fff;
}

.gallery-slider-nav {
    margin: 0 -4px;
}

.gallery-thumb {
    padding: 0 4px;
    cursor: pointer;
    outline: none;
}

.gallery-thumb img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.gallery-thumb:hover img {
    opacity: 0.85;
}

.gallery-thumb.active img,
.gallery-thumb.slick-current img {
    border-color: #1B3A5C;
    opacity: 1;
}

/* Override slick arrows for thumbnail nav */
.gallery-slider-nav .slick-prev,
.gallery-slider-nav .slick-next {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-slider-nav .slick-prev:before,
.gallery-slider-nav .slick-next:before {
    content: '' !important;
    display: none;
}

.gallery-slider-nav .slick-prev {
    left: -6px !important;
    right: auto !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12'%3E%3Cpath d='M7 1L2 6l5 5' stroke='%23333' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255,255,255,0.95);
}

.gallery-slider-nav .slick-next {
    right: -6px !important;
    left: auto !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12'%3E%3Cpath d='M1 1l5 5-5 5' stroke='%23333' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255,255,255,0.95);
}

/* Responsive gallery */
@media (max-width: 768px) {
    .gallery-slide img {
        height: 320px;
    }
    .gallery-thumb img {
        height: 56px;
    }
    .gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
        opacity: 1;
    }
    .gallery-arrow--prev { left: 8px; }
    .gallery-arrow--next { right: 8px; }
}

@media (max-width: 576px) {
    .gallery-slide img {
        height: 240px;
    }
    .gallery-thumb img {
        height: 48px;
        border-radius: 4px;
    }
    .detail-gallery__thumbs {
        padding: 8px;
    }
}

/* --- Header / Title --- */
.detail-header {
    background: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.detail-header__title {
    font-size: 22px;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.detail-header__location {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.detail-header__location i {
    color: #1B3A5C;
    margin-top: 3px;
    flex-shrink: 0;
}

/* --- Metrics Bar --- */
.detail-metrics {
    display: flex;
    gap: 0;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.detail-metrics__item {
    flex: 1;
    padding: 14px 20px;
    text-align: center;
    border-right: 1px solid #e8e8e8;
}

.detail-metrics__item:last-child {
    border-right: none;
}

.detail-metrics__label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-metrics__value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #D4850A;
}

.detail-metrics__price .detail-metrics__value {
    color: #F2B705;
}

/* --- Actions Bar --- */
.detail-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.detail-actions__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.detail-actions__btn:hover {
    border-color: #1B3A5C;
    color: #1B3A5C;
}

.detail-actions__save.active {
    border-color: #F2B705;
    color: #F2B705;
    background: #FEF9E7;
}

.detail-actions__meta {
    margin-left: auto;
    font-size: 13px;
    color: #999;
}

/* --- Content Section --- */
.detail-section {
    background: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.detail-section__title {
    font-size: 18px;
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #1B3A5C;
    display: inline-block;
}

.detail-section__content {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    word-wrap: break-word;
}

.detail-section__content p {
    margin-bottom: 12px;
}

/* --- Specs Table --- */
.detail-specs__table {
    width: 100%;
    border-collapse: collapse;
}

.detail-specs__table tr {
    border-bottom: 1px solid #f0f0f0;
}

.detail-specs__table tr:last-child {
    border-bottom: none;
}

.detail-specs__table td {
    padding: 12px 16px;
    font-size: 14px;
    height: auto !important;
    text-align: left;
    border: none;
    color: #333;
}

.detail-specs__label {
    width: 40%;
    color: #777;
    font-weight: 400;
}

.detail-specs__label i {
    width: 20px;
    color: #999;
    margin-right: 8px;
}

.detail-specs__value {
    font-weight: 500;
    color: #2c2c2c;
}

/* --- Related Listings --- */
.detail-related {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* --- Contact Card (Sidebar) --- */
.detail-contact {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.detail-contact__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-contact__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #E8EDF2;
}

.detail-contact__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-contact__avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #1B3A5C;
    background: #E8EDF2;
}

.detail-contact__name {
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 4px 0;
}

.detail-contact__poster {
    font-size: 13px;
    color: #999;
    margin: 0;
}

.detail-contact__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #F2B705;
    color: #fff !important;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.detail-contact__phone:hover {
    background: #D9A204;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242,183,5,0.3);
}

.detail-contact__zalo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #1B3A5C !important;
    border: 1.5px solid #1B3A5C;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.detail-contact__zalo:hover {
    background: #E8EDF2;
    transform: translateY(-1px);
}

/* --- Quick Info Card (Sidebar) --- */
.detail-quickinfo {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.detail-quickinfo__title {
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 14px 0;
    padding: 0;
    border: none;
}

.detail-quickinfo__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-quickinfo__list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.detail-quickinfo__list li:last-child {
    border-bottom: none;
}

.detail-quickinfo__label {
    color: #999;
}

.detail-quickinfo__value {
    color: #2c2c2c;
    font-weight: 500;
}

.detail-quickinfo__value a {
    color: #1B3A5C;
}

/* --- Detail Page Responsive --- */
@media (max-width: 992px) {
    .detail-page__sidebar {
        width: 280px;
    }

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

@media (max-width: 768px) {
    .detail-page__wrapper {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .detail-page__main {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .detail-page__sidebar {
        width: 100%;
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .detail-contact,
    .detail-quickinfo {
        flex: 1;
        min-width: 280px;
    }

    .detail-header__title {
        font-size: 18px;
    }

    .detail-metrics {
        flex-direction: column;
    }

    .detail-metrics__item {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
    }

    .detail-metrics__item:last-child {
        border-bottom: none;
    }

    .detail-metrics__label {
        margin-bottom: 0;
    }

    .detail-metrics__value {
        font-size: 16px;
    }

    .detail-actions {
        flex-wrap: wrap;
    }

    .detail-actions__meta {
        margin-left: 0;
        width: 100%;
        margin-top: 8px;
    }

    .detail-header,
    .detail-section {
        padding: 16px;
        border-radius: 8px;
    }

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

@media (max-width: 576px) {
    .detail-page__sidebar {
        flex-direction: column;
    }

    .detail-contact,
    .detail-quickinfo {
        min-width: 100%;
    }

    .detail-specs__label {
        width: 45%;
    }

    .detail-related {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .detail-related {
        grid-template-columns: 1fr;
    }
}

/* --- Detail Page Responsiveness & Overflow Fixes --- */
.detail-gallery,
.detail-gallery__main,
.gallery-slider-for,
.detail-gallery__thumbs,
.gallery-slider-nav {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box;
}
.detail-specs__table {
    width: 100%;
    border-collapse: collapse;
    word-break: break-word;
}
.detail-specs__value {
    font-weight: 500;
    color: #2c2c2c;
    word-break: break-word;
}
.detail-section__content img,
.detail-section__content iframe,
.detail-section__content table,
.detail-section__content video {
    max-width: 100% !important;
    height: auto !important;
}
.detail-section__content {
    word-break: break-word;
}

/* ==========================================================================
   Premium News & Blog Styles
   ========================================================================== */
.text-navy {
    color: #1B3A5C !important;
}

.text-hover-warning:hover {
    color: #F2B705 !important;
}

.news-page {
    font-family: 'Inter', sans-serif;
    color: #334155;
    background-color: #f8fafc !important;
}

/* Breadcrumbs */
.news-breadcrumb .breadcrumb {
    padding: 0.5rem 0;
    background: transparent;
    font-size: 0.9rem;
    margin-bottom: 0;
}
.news-breadcrumb .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}
.news-breadcrumb .breadcrumb-item a:hover {
    color: #F2B705;
}
.news-breadcrumb .breadcrumb-item.active {
    color: #1B3A5C;
    font-weight: 500;
}
.news-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #cbd5e1;
}

/* Hero Section */
.news-hero__card {
    border: none;
    position: relative;
    overflow: hidden;
}
.news-hero__card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(242, 183, 5, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* News Cards */
.news-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    background: #ffffff;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(27, 58, 92, 0.1) !important;
}
.news-card__img-wrapper {
    overflow: hidden;
}
.news-card__img-wrapper img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-card:hover .news-card__img-wrapper img {
    transform: scale(1.06);
}
.news-card__badge {
    z-index: 2;
    padding: 6px 12px !important;
    font-size: 0.75rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.news-card__title a {
    color: #1B3A5C;
    transition: color 0.2s ease;
}
.news-card__title a:hover {
    color: #F2B705 !important;
}
.news-card__readmore {
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.news-card__readmore:hover {
    color: #1B3A5C !important;
}
.news-card__readmore i {
    transition: transform 0.2s ease;
}
.news-card__readmore:hover i {
    transform: translateX(4px);
}

/* News Sidebar Widgets */
.news-widget {
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
}
.news-widget__title {
    color: #1B3A5C;
    border-bottom: 2px solid #f1f5f9 !important;
    position: relative;
}
.news-widget__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 2px;
    background-color: #F2B705;
}

.news-widget__categories li a {
    transition: all 0.2s ease;
    border-radius: 6px;
    padding: 6px 8px;
}
.news-widget__categories li a:hover {
    background-color: rgba(242, 183, 5, 0.08);
    color: #D9A204 !important;
    padding-left: 12px;
}
.news-widget__categories li a.active {
    background-color: #1B3A5C;
    color: #ffffff !important;
}
.news-widget__categories li a.active span i {
    color: #F2B705 !important;
}
.news-widget__categories li a.active .badge {
    background-color: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

/* Recent Posts */
.recent-post-item {
    transition: all 0.2s ease;
}
.recent-post-item:hover {
    opacity: 0.95;
}
.recent-post-item img {
    transition: transform 0.3s ease;
}
.recent-post-item:hover img {
    transform: scale(1.05);
}
.last-no-border:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Article Detail */
.article-detail {
    border: 1px solid rgba(226, 232, 240, 0.7) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02) !important;
}
.article-detail__title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0d3a5f !important;
    line-height: 1.3;
    margin-bottom: 24px;
}
@media (max-width: 768px) {
    .article-detail__title {
        font-size: 1.95rem;
    }
}
.article-detail__intro {
    font-style: italic;
    background-color: #f8fafc !important;
    border-left: 4px solid #0d3a5f !important;
    padding: 20px 24px !important;
    border-radius: 0 12px 12px 0 !important;
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    color: #475569 !important;
}
.article-detail__content {
    color: #1e293b;
    font-size: 1.125rem;
    line-height: 1.85;
}
.article-detail__content > p:first-of-type::first-letter {
    float: left;
    font-size: 3.8rem;
    line-height: 0.85;
    font-weight: 800;
    margin-right: 12px;
    margin-top: 4px;
    color: #0d3a5f;
    text-transform: uppercase;
}
.article-detail__content p {
    margin-bottom: 1.75rem;
}
.article-detail__content h2 {
    color: #0d3a5f;
    font-weight: 800;
    font-size: 1.65rem;
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
}
.article-detail__content h3 {
    color: #0d3a5f;
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.35;
}
.article-detail__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2.5rem auto;
    display: block;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
    transition: transform 0.3s ease;
}
.article-detail__content img:hover {
    transform: scale(1.01);
}
.article-detail__content blockquote {
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    border-left: 4px solid #0d3a5f;
    background-color: #f8fafc;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.7;
}

.social-share a {
    color: #64748b;
    border-color: #cbd5e1;
    transition: all 0.2s ease;
}
.social-share a:hover {
    transform: translateY(-2px);
}
.social-share a:hover.btn-outline-primary {
    background-color: #3b5998;
    border-color: #3b5998;
    color: #fff;
}
.social-share a:hover.btn-outline-info {
    background-color: #1da1f2;
    border-color: #1da1f2;
    color: #fff;
}
.social-share a:hover.btn-outline-secondary {
    background-color: #64748b;
    border-color: #64748b;
    color: #fff;
}

.btn-outline-navy {
    border-color: #0d3a5f;
    color: #0d3a5f;
    background: transparent;
    transition: all 0.2s ease;
    font-weight: 500;
}
.btn-outline-navy:hover {
    background: #0d3a5f;
    color: #ffffff;
}

/* Pagination premium styling */
.news-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
.news-pagination .pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    gap: 6px;
}
.news-pagination .pagination li {
    display: inline-block;
}
.news-pagination .pagination li a,
.news-pagination .pagination li span {
    display: block;
    border: 1px solid #e2e8f0;
    color: #1B3A5C;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.news-pagination .pagination li a:hover {
    background-color: rgba(242, 183, 5, 0.08);
    border-color: #F2B705;
    color: #D9A204;
}
.news-pagination .pagination li.active span {
    background-color: #1B3A5C;
    border-color: #1B3A5C;
    color: #ffffff;
}
.news-pagination .pagination li.disabled span,
.news-pagination .pagination li.disabled a {
    color: #cbd5e1;
    border-color: #f1f5f9;
    cursor: not-allowed;
}

/* ==========================================================================
   Premium Auth Pages (Login, Register, Reset Password)
   ========================================================================== */
.auth-page {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc !important;
}

.auth-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.auth-card:hover {
    box-shadow: 0 15px 35px -5px rgba(27, 58, 92, 0.1) !important;
}

.auth-form .input-group-text {
    border-color: #e2e8f0;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.auth-form .form-control {
    border-color: #e2e8f0;
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    transition: all 0.2s ease;
}

.auth-form .form-control:focus {
    border-color: #1B3A5C;
    box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.1);
    background-color: #fff !important;
}

.auth-form .form-control:focus + .input-group-text,
.auth-form .input-group:focus-within .input-group-text {
    border-color: #1B3A5C;
    background-color: #fff !important;
    color: #1B3A5C !important;
}

.btn-navy {
    background-color: #1B3A5C;
    border-color: #1B3A5C;
    transition: all 0.2s ease;
}

.btn-navy:hover {
    background-color: #152D47 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 58, 92, 0.15);
}

.auth-form .btn-outline-primary {
    border-color: #1877F2;
    color: #1877F2;
    transition: all 0.2s ease;
}

.auth-form .btn-outline-primary:hover {
    background-color: #1877F2;
    color: #fff;
    border-color: #1877F2;
}

.auth-form .text-warning {
    color: #F2B705 !important;
    transition: color 0.2s ease;
}

.auth-form .text-warning:hover {
    color: #D9A204 !important;
}

.auth-form .text-navy {
    color: #1B3A5C !important;
    transition: color 0.2s ease;
}

.auth-form .text-navy:hover {
    color: #F2B705 !important;
}

/* --- Gallery Cursor pointer --- */
.gallery-slide img {
    cursor: pointer;
}

/* --- Lightbox Modal --- */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-drag: none;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-image {
    transform: scale(1);
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
    z-index: 100000;
}

.lightbox-close:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Navigation arrows */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.2s, transform 0.2s;
    z-index: 100000;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-arrow--prev {
    left: 24px;
}

.lightbox-arrow--next {
    right: 24px;
}

/* Counter */
.lightbox-counter {
    position: absolute;
    bottom: 24px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    .lightbox-arrow--prev {
        left: 12px;
    }
    .lightbox-arrow--next {
        right: 12px;
    }
    .lightbox-close {
        top: 16px;
        right: 16px;
        font-size: 36px;
    }
}

/* --- Premium Mobile Navigation Menu --- */
.header-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-menu-overlay.active {
    display: block;
    opacity: 1;
}

body.menu-open {
    overflow: hidden !important;
}

body.menu-open .header {
    z-index: 99999 !important;
}

@media (max-width: 768px) {
    .header__nav {
        position: fixed !important;
        top: 0 !important;
        left: -320px !important;
        width: 320px !important;
        height: 100vh !important;
        background: linear-gradient(185deg, #132a43, #1f4060) !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        padding-top: 0 !important;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3) !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .header__nav.active {
        left: 0 !important;
    }

    /* Mobile Drawer Header */
    .header__nav-mobile-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 20px 24px 16px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        margin-bottom: 16px !important;
    }

    .header__nav-mobile-logo img {
        max-height: 36px !important;
        width: auto !important;
    }

    .header__nav-mobile-close {
        background: none !important;
        border: none !important;
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 32px !important;
        cursor: pointer !important;
        line-height: 1 !important;
        padding: 0 !important;
        transition: color 0.2s !important;
    }

    .header__nav-mobile-close:hover {
        color: #fff !important;
    }

    /* Menu list */
    .header__menu {
        padding: 0 16px !important;
        margin: 0 !important;
        list-style: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    .header__menu-item {
        width: 100% !important;
        border: none !important;
        margin: 0 !important;
    }

    .header__menu-item > a {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 12px 16px !important;
        border-radius: 8px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        transition: all 0.25s ease !important;
        text-decoration: none !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .header__menu-item > a i {
        font-size: 16px !important;
        color: #F2B705 !important;
        width: 20px !important;
        text-align: center !important;
        transition: transform 0.2s !important;
    }

    .header__menu-item:hover > a,
    .header__menu-item.active > a {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.08) !important;
        padding-left: 20px !important;
    }

    .header__menu-item:hover > a i {
        transform: scale(1.1) !important;
    }

    /* Arrow icon styling in mobile menu */
    .header__menu-arrow {
        margin-left: auto !important;
        font-size: 12px !important;
        color: rgba(255, 255, 255, 0.4) !important;
    }

    /* Submenu styling inside mobile drawer */
    .header__dropdown {
        background: rgba(0, 0, 0, 0.15) !important;
        border-radius: 8px !important;
        padding: 4px 8px !important;
        margin-top: 4px !important;
        border: none !important;
        box-shadow: none !important;
        display: block !important;
        position: static !important;
        width: 100% !important;
    }

    .header__dropdown li {
        border: none !important;
    }

    .header__dropdown a {
        padding: 8px 12px 8px 36px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 14px !important;
        display: block !important;
        text-decoration: none !important;
        background: transparent !important;
    }

    .header__dropdown a:hover {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 6px !important;
    }

    /* Mobile Drawer Actions Footer */
    .header__nav-mobile-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 24px 16px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        margin-top: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .header__nav-mobile-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 12px !important;
        border-radius: 8px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-align: center !important;
        transition: all 0.2s ease !important;
        text-decoration: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border: none !important;
    }

    .header__nav-mobile-btn--primary {
        background: #F2B705 !important;
        color: #132a43 !important;
    }

    .header__nav-mobile-btn--primary:hover {
        background: #D9A204 !important;
    }

    .header__nav-mobile-btn--outline {
        border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
        color: #fff !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }

    .header__nav-mobile-btn--outline:hover {
        border-color: #fff !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .header__nav-mobile-btn--ghost {
        color: rgba(255, 255, 255, 0.6) !important;
        background: transparent !important;
    }

    .header__nav-mobile-btn--ghost:hover {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }

    /* Mobile Header Quick Actions & Search Bar */
    .header__mobile-actions {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        margin-left: auto !important;
    }

    .header__mobile-action-btn {
        background: none !important;
        border: none !important;
        outline: none !important;
        padding: 6px !important;
        color: #1B3A5C !important;
        font-size: 20px !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: color 0.2s ease !important;
        text-decoration: none !important;
    }

    .header__mobile-action-btn:hover {
        color: #F2B705 !important;
    }

    .header__mobile-search-bar {
        background: #fff !important;
        border-bottom: 1px solid #eee !important;
        padding: 10px 16px !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 99 !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
    }

    .header__mobile-search-bar.active {
        display: block !important;
        animation: slideDown 0.3s ease-out !important;
    }

    .header__mobile-search-box {
        display: flex !important;
        align-items: center !important;
        background: #f5f6f8 !important;
        border: 1px solid #e8e8e8 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .header__mobile-search-box input {
        flex: 1 !important;
        border: none !important;
        background: transparent !important;
        padding: 10px 14px !important;
        font-size: 14px !important;
        color: #333 !important;
        outline: none !important;
    }

    .header__mobile-search-box button {
        background: linear-gradient(135deg, #1B3A5C, #152D47) !important;
        color: #fff !important;
        border: none !important;
        outline: none !important;
        padding: 10px 16px !important;
        font-size: 14px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }

    .header__mobile-search-box button:hover {
        background: linear-gradient(135deg, #152D47, #0F2235) !important;
    }
}

/* Mobile Actions & Search Bar Styles (Desktop Defaults) */
.header__mobile-actions {
    display: none;
}
.header__mobile-search-bar {
    display: none;
}
.header__nav-mobile-header {
    display: none;
}
.header__nav-mobile-actions {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Favorites Feature Styles --- */
.header__btn--fav i {
    color: #e74c3c;
    transition: transform 0.2s ease, color 0.2s ease;
}

.header__btn--fav:hover i {
    transform: scale(1.15);
    color: #c0392b;
}

.header__mobile-action-btn--fav i {
    color: #e74c3c !important;
}

.header__mobile-action-btn--fav:hover i {
    color: #c0392b !important;
}

/* Card removing transition on favorites page */
.listing-card.fade-out {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s ease-out;
}

/* Favorites Empty State */
.listing-empty-state {
    text-align: center;
    padding: 80px 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.listing-empty-state__icon {
    font-size: 72px;
    color: #e74c3c;
    margin-bottom: 24px;
    animation: pulseHeart 2s infinite ease-in-out;
    display: inline-block;
}

@keyframes pulseHeart {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.listing-empty-state__title {
    font-size: 20px;
    font-weight: 700;
    color: #1B3A5C;
    margin-bottom: 12px;
}

.listing-empty-state__text {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.listing-empty-state__btn {
    text-decoration: none !important;
    display: inline-flex;
    padding: 12px 28px;
    font-size: 15px;
    align-items: center;
    gap: 8px;
}

/* Admin Edit Button on detail page */
.detail-actions__edit-admin {
    background: #10b981 !important;
    color: #fff !important;
    border-color: #10b981 !important;
    font-weight: 600;
    text-decoration: none !important;
}

.detail-actions__edit-admin:hover {
    background: #059669 !important;
    border-color: #059669 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    color: #fff !important;
}




