/* Sổ Đỏ Đồng Nai Main Stylesheet - Complete Luxury Real Estate Design System */

/* Global Reset & Design Tokens */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    background-color: #0b192c !important;
    margin: 0;
    padding: 0;
}

:root {
    --bds-navy: #0b192c;
    --bds-navy-light: #1e293b;
    --bds-navy-dark: #0b192c;
    --bds-gold: #d4af37;
    --bds-gold-hover: #c5a880;
    --bds-gold-light: #fef08a;
    --bds-white: #ffffff;
    --bds-bg-light: #f8fafc;
    --bds-text-dark: #0f172a;
    --bds-text-muted: #64748b;
    --bds-border-color: #e2e8f0;
    --bds-card-bg: #ffffff;
    --bds-glass-bg: rgba(11, 25, 44, 0.88);
    --bds-glass-border: rgba(212, 175, 55, 0.25);
    --bds-font-primary: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --bds-radius-sm: 6px;
    --bds-radius-md: 12px;
    --bds-radius-lg: 20px;
    --bds-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --bds-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --bds-shadow-lg: 0 20px 35px -10px rgba(11, 25, 44, 0.15);
    --bds-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bds-header-height: 80px;
}

[data-theme="dark"] {
    --bds-bg-light: #0b192c;
    --bds-text-dark: #f8fafc;
    --bds-text-muted: #94a3b8;
    --bds-border-color: #1e293b;
    --bds-card-bg: #0f172a;
    --bds-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

body {
    font-family: var(--bds-font-primary);
    background-color: var(--bds-bg-light, #f8fafc);
    color: var(--bds-text-dark);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

[data-theme="dark"] body {
    background-color: #0b192c !important;
}

body.admin-bar .bds-site-header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .bds-site-header {
        top: 46px !important;
    }
}

/* Content Sections Light/Dark Background */
.bds-section,
.bds-archive-section,
.bds-featured-news-section,
.bds-news-feed-section,
.bds-partnership-section,
.bds-contact-section,
.bds-single-section,
.bds-content-area,
main,
#main {
    background-color: var(--bds-bg-light, #f8fafc);
}

[data-theme="dark"] .bds-section,
[data-theme="dark"] .bds-archive-section,
[data-theme="dark"] .bds-featured-news-section,
[data-theme="dark"] .bds-news-feed-section,
[data-theme="dark"] .bds-partnership-section,
[data-theme="dark"] .bds-contact-section,
[data-theme="dark"] .bds-single-section,
[data-theme="dark"] .bds-content-area,
[data-theme="dark"] main,
[data-theme="dark"] #main {
    background-color: #0b192c !important;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--bds-transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.bds-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.bds-section {
    padding: 80px 0;
}

.text-center { text-align: center; }
.bds-w-full { width: 100%; }

.bds-gold-text { color: var(--bds-gold) !important; }
.bds-white-text { color: var(--bds-white) !important; }
.bds-muted-text { color: var(--bds-text-muted) !important; }

.bds-bg-dark { background-color: var(--bds-navy) !important; color: var(--bds-white) !important; }
.bds-bg-light { background-color: var(--bds-bg-light) !important; }

[data-theme="dark"] .bds-bg-light {
    background-color: #0b192c !important;
}

/* Buttons */
.bds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--bds-radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--bds-transition);
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.4;
    text-align: center;
}

.bds-btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #c5a880 100%);
    color: #0b192c !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.bds-btn-gold:hover {
    background: #c5a880;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.bds-btn-navy {
    background-color: var(--bds-navy);
    color: var(--bds-white) !important;
}

.bds-btn-navy:hover {
    background-color: var(--bds-navy-light);
    transform: translateY(-2px);
}

.bds-btn-outline-gold {
    border-color: var(--bds-gold);
    color: var(--bds-gold) !important;
    background: transparent;
}

.bds-btn-outline-gold:hover {
    background-color: var(--bds-gold);
    color: var(--bds-navy) !important;
}

.bds-btn-outline-light {
    border-color: rgba(212, 175, 55, 0.45);
    color: var(--bds-white) !important;
    background: rgba(11, 25, 44, 0.65);
    border-radius: var(--bds-radius-md);
}

.bds-btn-outline-light:hover {
    background: var(--bds-gold);
    color: var(--bds-navy) !important;
    border-color: var(--bds-gold);
}

/* Header & Navigation */
.bds-site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--bds-header-height, 80px);
    background: #0b192c !important;
    background-color: #0b192c !important;
    background-image: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 1000;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.home .bds-site-header.is-transparent {
    background: rgba(11, 25, 44, 0.75) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: none !important;
}

body.home .bds-site-header.scrolled,
body.home .bds-site-header.is-sticky.scrolled {
    background: #0b192c !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35) !important;
    border-bottom: none !important;
}

/* Inner pages: Absolute solid #0b192c without any border or transparency differences */
body:not(.home) .bds-site-header {
    background: #0b192c !important;
    background-color: #0b192c !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.bds-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.bds-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--bds-white);
    letter-spacing: 1px;
}

.bds-primary-nav ul,
.bds-menu-list,
.bds-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    list-style: none !important;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.bds-primary-nav a,
.bds-menu-list a,
.bds-menu a {
    color: var(--bds-white);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
    transition: var(--bds-transition);
}

.bds-primary-nav a:hover,
.bds-menu-list a:hover,
.bds-menu a:hover {
    color: var(--bds-gold);
}

/* Active Navigation Menu Item Highlight in Gold */
.bds-primary-nav .bds-menu-list > li.current-menu-item > a,
.bds-primary-nav .bds-menu-list > li.current_page_item > a,
.bds-primary-nav .bds-menu-list > li.current-menu-ancestor > a,
.bds-primary-nav .bds-menu-list > li.current-menu-parent > a,
.bds-primary-nav .bds-menu-list > li.current_page_parent > a,
.bds-primary-nav .bds-menu-list > li.current_page_ancestor > a,
.bds-primary-nav .bds-menu-list > li.active > a,
.bds-primary-nav .bds-menu-list > li > a.active,
.bds-primary-nav ul > li.current-menu-item > a,
.bds-primary-nav ul > li.current-menu-ancestor > a,
.bds-primary-nav ul > li.active > a {
    color: var(--bds-gold, #d4af37) !important;
    font-weight: 700 !important;
}

/* Mobile Navigation Active Highlight in Gold */
.bds-mobile-menu li.current-menu-item > a,
.bds-mobile-menu li.current_page_item > a,
.bds-mobile-menu li.current-menu-ancestor > a,
.bds-mobile-menu li.current-menu-parent > a,
.bds-mobile-menu li.current_page_parent > a,
.bds-mobile-menu li.active > a,
.bds-mobile-menu a.active {
    color: var(--bds-gold, #d4af37) !important;
    font-weight: 700 !important;
}

/* Megamenu Dropdown Styles */
.bds-primary-nav .bds-menu-list > li {
    position: relative;
    padding: 10px 0;
}

.bds-primary-nav .bds-menu-list > li.menu-item-has-children:hover .bds-megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bds-megamenu {
    position: absolute;
    top: 100%;
    left: -120px;
    width: 640px;
    background: var(--bds-card-bg);
    border: 1px solid var(--bds-border-color);
    border-radius: var(--bds-radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    padding: 24px;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

.bds-megamenu-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--bds-text-dark);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bds-gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .bds-megamenu-title {
    color: #f8fafc;
}

.bds-megamenu-col ul {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bds-megamenu-col ul li {
    margin-bottom: 6px;
}

.bds-megamenu-col ul li a {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--bds-text-dark) !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 4px 0 !important;
    transition: var(--bds-transition);
}

[data-theme="dark"] .bds-megamenu-col ul li a {
    color: #cbd5e1 !important;
}

.bds-megamenu-col ul li a:hover {
    color: var(--bds-gold) !important;
    transform: translateX(4px);
}

.bds-badge-new {
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    line-height: 1;
    margin-left: 4px;
}

.bds-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bds-header-phone {
    color: var(--bds-white);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bds-header-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: var(--bds-transition) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

.bds-header-btn:hover {
    background: var(--bds-gold) !important;
    color: var(--bds-navy) !important;
    border-color: var(--bds-gold) !important;
    transform: scale(1.05);
}

#bds-theme-toggle .bds-theme-icon-moon {
    display: inline-block !important;
    font-size: 18px !important;
    color: #fef08a !important;
}

#bds-theme-toggle .bds-theme-icon-sun {
    display: none !important;
    font-size: 18px !important;
    color: #f59e0b !important;
}

[data-theme="dark"] #bds-theme-toggle .bds-theme-icon-moon {
    display: none !important;
}

[data-theme="dark"] #bds-theme-toggle .bds-theme-icon-sun {
    display: inline-block !important;
    color: #fbbf24 !important;
}

.bds-btn-header {
    font-size: 13px;
    padding: 8px 18px;
}

.bds-mobile-toggle,
.bds-hamburger-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bds-white);
    font-size: 26px;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 4px;
}

.bds-hamburger-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--bds-white);
    border-radius: 2px;
    transition: var(--bds-transition);
    pointer-events: none;
}

.bds-hamburger-toggle:hover span {
    background: var(--bds-gold);
}

/* Hero Section */
.bds-hero-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--bds-header-height, 80px) + 20px);
    padding-bottom: 60px;
    color: var(--bds-white);
    text-align: center;
}

.bds-hero-bg-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.bds-hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.bds-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bds-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 25, 44, 0.55) 0%, rgba(11, 25, 44, 0.82) 100%);
    z-index: 1;
}

.bds-hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: 40px 20px;
}

.bds-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--bds-gold);
    color: var(--bds-gold);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.bds-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.bds-hero-subtitle {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 35px;
}

.bds-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Filter Bar Component — Ultra Balanced */
.bds-filter-wrapper {
    position: relative;
    z-index: 20;
    margin-top: -65px !important;
}

.bds-filter-form {
    background: #ffffff !important;
    padding: 24px 28px !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 40px rgba(11, 25, 44, 0.15) !important;
    border: 1px solid var(--bds-border-color, #cbd5e1) !important;
}

[data-theme="dark"] .bds-filter-form {
    background: #0f172a !important;
    border-color: #1e293b !important;
}

.bds-filter-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.3fr 1.3fr 1fr 1fr 1fr;
    gap: 14px;
    align-items: end;
}

@media (max-width: 1200px) {
    .bds-filter-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .bds-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bds-filter-wrapper {
        margin-top: -30px;
    }
}

@media (max-width: 768px) {
    .bds-filter-grid {
        grid-template-columns: 1fr;
    }
    .bds-filter-wrapper {
        margin-top: 0;
        padding: 0 8px;
    }
    .bds-filter-form {
        padding: 18px 16px !important;
    }
}

.bds-filter-submit-btn-wrap {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
}

@media (max-width: 768px) {
    .bds-filter-submit-btn-wrap {
        grid-template-columns: 1fr;
    }
}

.bds-filter-submit-btn-wrap .bds-btn {
    width: 100%;
    height: 48px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    max-width: 100%;
}

.bds-filter-field label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bds-text-muted, #64748b);
    margin-bottom: 6px;
}

.bds-filter-field input,
.bds-filter-field select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--bds-border-color, #cbd5e1);
    background-color: var(--bds-bg-light, #ffffff);
    color: var(--bds-text-dark, #0f172a);
    font-size: 13.5px;
    font-weight: 500;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.bds-filter-field input:focus,
.bds-filter-field select:focus {
    border-color: var(--bds-gold, #d4af37);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Section Headers */
.bds-section-header {
    margin-bottom: 50px;
}

.bds-subtitle {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--bds-gold);
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.bds-title {
    font-size: 32px;
    font-weight: 800;
}

.bds-desc {
    color: var(--bds-text-muted);
    max-width: 600px;
    margin: 10px auto 0;
}

/* Property Grid & Card */
.bds-property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.bds-property-card {
    background: var(--bds-card-bg);
    border-radius: var(--bds-radius-md);
    overflow: hidden;
    box-shadow: var(--bds-shadow-md);
    border: 1px solid var(--bds-border-color);
    transition: var(--bds-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bds-property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--bds-shadow-lg);
}

.bds-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.bds-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bds-property-card:hover .bds-card-media img {
    transform: scale(1.08);
}

.bds-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.bds-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.bds-badge-hot { background: #ef4444; }
.bds-badge-new { background: #10b981; }
.bds-badge-sold { background: #64748b; }
.bds-badge-project { background: var(--bds-gold); color: #0b192c; }

.bds-card-quick-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.bds-card-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(11,25,44,0.75);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.bds-card-btn:hover {
    background: var(--bds-gold);
    color: #0b192c;
}

.bds-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bds-card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.bds-card-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--bds-gold);
}

.bds-card-area {
    font-size: 13px;
    color: #64748b;
}

.bds-card-title,
.bds-card-title a {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--bds-text-dark);
    transition: var(--bds-transition);
}

.bds-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.bds-card-specs {
    min-height: 24px;
}

.bds-card-footer {
    margin-top: auto !important;
}

.bds-card-title a:hover {
    color: var(--bds-gold);
}

/* Dark Mode Card Overrides */
[data-theme="dark"] .bds-card-title,
[data-theme="dark"] .bds-card-title a {
    color: #f8fafc !important;
}

[data-theme="dark"] .bds-card-title a:hover {
    color: var(--bds-gold) !important;
}

[data-theme="dark"] .bds-card-address,
[data-theme="dark"] .bds-card-area,
[data-theme="dark"] .bds-card-specs {
    color: #94a3b8 !important;
}

.bds-card-address {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
}

.bds-card-specs {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px dashed var(--bds-border-color);
    font-size: 13px;
    color: #64748b;
}

.bds-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.bds-card-schedule-btn {
    background: none;
    border: none;
    color: var(--bds-gold);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

/* Projects Grid & Card */
.bds-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.bds-project-card {
    background: var(--bds-card-bg);
    border-radius: var(--bds-radius-md);
    overflow: hidden;
    box-shadow: var(--bds-shadow-md);
    border: 1px solid var(--bds-border-color);
    transition: var(--bds-transition);
}

.bds-project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--bds-shadow-lg);
}

.bds-card-meta {
    font-size: 13px;
    color: var(--bds-text-muted);
    margin-top: 6px;
}

/* Counter Stats Section */
.bds-counter-section {
    background: #0b192c !important;
    color: var(--bds-white);
    padding: 60px 0;
}

.bds-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .bds-counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bds-counter-card {
    padding: 20px;
}

.bds-counter-number {
    font-size: 44px;
    font-weight: 800;
    color: var(--bds-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.bds-counter-label {
    font-size: 14px;
    color: #cbd5e1;
    font-weight: 500;
}

/* Testimonials Section */
.bds-testimonials-section {
    background-color: var(--bds-bg-light);
}

.bds-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .bds-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.bds-testimonial-card {
    background: var(--bds-card-bg);
    padding: 30px;
    border-radius: var(--bds-radius-lg);
    box-shadow: var(--bds-shadow-md);
    border: 1px solid var(--bds-border-color);
}

.bds-stars {
    color: var(--bds-gold);
    font-size: 18px;
    margin-bottom: 14px;
}

.bds-comment {
    font-style: italic;
    font-size: 15px;
    color: var(--bds-text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

.bds-author strong {
    display: block;
    font-size: 15px;
    color: var(--bds-text-dark);
}

[data-theme="dark"] .bds-author strong {
    color: #f8fafc !important;
}

.bds-author span {
    font-size: 13px;
    color: var(--bds-text-muted);
}

/* Partners Logos Marquee Section */
.bds-partners-section {
    padding: 60px 0;
    overflow: hidden;
}

.bds-partners-title {
    font-size: 22px;
    font-weight: 800;
    margin-top: 6px;
    color: var(--bds-text-dark);
}

[data-theme="dark"] .bds-partners-title {
    color: #f8fafc !important;
}

.bds-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.bds-marquee-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: bdsMarqueeInfinite 25s linear infinite;
    will-change: transform;
}

.bds-marquee-wrapper:hover .bds-marquee-track {
    animation-play-state: paused;
}

.bds-partner-item {
    flex-shrink: 0;
    padding: 14px 28px;
    background: var(--bds-card-bg);
    border-radius: var(--bds-radius-md);
    box-shadow: var(--bds-shadow-sm);
    font-weight: 700;
    font-size: 15px;
    color: var(--bds-navy);
    border: 1px solid var(--bds-border-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: var(--bds-transition);
}

[data-theme="dark"] .bds-partner-item {
    color: var(--bds-white);
    background: var(--bds-navy-light);
    border-color: var(--bds-glass-border);
}

.bds-partner-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--bds-shadow-md);
    border-color: var(--bds-gold);
}

@keyframes bdsMarqueeInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* CTA Section */
.bds-cta-section {
    padding: 60px 0;
}

.bds-cta-box {
    background: #0b192c !important;
    border-radius: var(--bds-radius-lg);
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #fff;
    box-shadow: var(--bds-shadow-lg);
}

@media (max-width: 768px) {
    .bds-cta-box {
        flex-direction: column;
        text-align: center;
    }
}

.bds-cta-content h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Latest News Homepage Component */
.bds-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.bds-news-card {
    background: var(--bds-card-bg);
    border-radius: var(--bds-radius-md);
    overflow: hidden;
    box-shadow: var(--bds-shadow-md);
    border: 1px solid var(--bds-border-color);
    display: flex;
    flex-direction: column;
    transition: var(--bds-transition);
}

.bds-news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--bds-shadow-lg);
    border-color: var(--bds-glass-border);
}

.bds-news-thumb {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.bds-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bds-news-card:hover .bds-news-thumb img {
    transform: scale(1.08);
}

.bds-news-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(11, 25, 44, 0.85);
    color: var(--bds-gold);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.bds-news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bds-news-cat {
    font-size: 12px;
    font-weight: 700;
    color: var(--bds-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: inline-block;
}

.bds-news-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 12px;
}

.bds-news-title a {
    color: var(--bds-text-dark);
    transition: var(--bds-transition);
}

[data-theme="dark"] .bds-news-title a {
    color: #f8fafc !important;
}

.bds-news-title a:hover {
    color: var(--bds-gold) !important;
}

.bds-news-excerpt {
    font-size: 14px;
    color: var(--bds-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.bds-news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--bds-border-color);
    font-size: 13px;
}

.bds-news-author {
    color: var(--bds-text-muted);
    font-weight: 500;
}

.bds-news-link {
    color: var(--bds-gold);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--bds-transition);
}

.bds-news-link:hover {
    gap: 8px;
}

/* Latest News Responsive */
@media (max-width: 991px) {
    .bds-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .bds-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Counter Stats Component */
.bds-counter-section {
    background: #0b192c;
    padding: 60px 0;
    color: var(--bds-white);
}

.bds-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.bds-counter-card {
    padding: 10px 5px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    transition: var(--bds-transition);
}

.bds-counter-card:hover {
    transform: translateY(-2px);
}

.bds-counter-number {
    font-size: 46px;
    font-weight: 800;
    color: var(--bds-gold);
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.bds-counter-label {
    font-size: 14px;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.4;
    max-width: 200px;
    margin: 0 auto;
}

/* Counter Stats Responsive */
@media (max-width: 991px) {
    .bds-counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }
    .bds-counter-number {
        font-size: 36px;
    }
    .bds-counter-label {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .bds-counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 12px;
    }
    .bds-counter-card {
        padding: 0;
    }
    .bds-counter-number {
        font-size: 32px;
    }
    .bds-counter-label {
        font-size: 12px;
        line-height: 1.35;
    }
}

@media (max-width: 380px) {
    .bds-counter-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Footer Section */
.bds-site-footer {
    background-color: var(--bds-navy);
    color: var(--bds-white);
    padding: 70px 0 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.bds-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .bds-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .bds-footer-grid {
        grid-template-columns: 1fr;
    }
}

.bds-footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.bds-footer-desc {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.bds-social-links {
    display: flex;
    gap: 12px;
}

.bds-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.bds-social-links a:hover {
    background: var(--bds-gold);
    color: #0b192c;
}

.bds-footer-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--bds-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.bds-footer-menu,
.bds-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bds-footer-menu li {
    margin-bottom: 10px;
}

.bds-footer-menu a {
    color: #cbd5e1;
    font-size: 14px;
}

.bds-footer-menu a:hover {
    color: var(--bds-gold);
    padding-left: 5px;
}

.bds-footer-contact li {
    display: flex;
    gap: 10px;
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.bds-footer-contact a {
    color: #fff;
    font-weight: 600;
}

.bds-footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

/* Floating Contact Actions */
.bds-floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.bds-float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    border: none;
    transition: var(--bds-transition);
    flex-shrink: 0;
}

.bds-float-call { background: #10b981; }
.bds-float-zalo {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
    overflow: visible;
}
.bds-zalo-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.bds-float-top { background: var(--bds-navy); }

@media (max-width: 767px) {
    .bds-floating-actions {
        bottom: 16px;
        right: 12px;
        gap: 8px;
    }
    .bds-float-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    .bds-zalo-icon {
        width: 42px;
        height: 42px;
    }
}

/* Modals */
.bds-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bds-modal-overlay.open { display: flex; }

.bds-modal-dialog {
    background: var(--bds-card-bg);
    width: 100%;
    max-width: 500px;
    border-radius: var(--bds-radius-lg);
    padding: 30px;
    position: relative;
    box-shadow: var(--bds-shadow-lg);
    color: var(--bds-text-dark);
}

.bds-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.bds-form-group {
    margin-bottom: 16px;
}

.bds-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.bds-form-group input,
.bds-form-group select,
.bds-form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--bds-border-color);
    background: var(--bds-bg-light);
}

.bds-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ============================================================
   PAGE HEADER (Archive / Single Title Bar)
   ============================================================ */
.bds-page-header {
    background: #0b192c !important;
    padding: 50px 0 30px;
    color: var(--bds-white);
}

.bds-page-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Breadcrumbs */
.bds-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    flex-wrap: wrap;
    margin-top: 8px;
}

.bds-breadcrumbs a {
    color: #cbd5e1;
}
.bds-breadcrumbs a:hover {
    color: var(--bds-gold);
}
.bds-breadcrumbs .sep {
    color: #475569;
}
.bds-breadcrumbs .current {
    color: var(--bds-gold);
    font-weight: 600;
}

/* ============================================================
   ARCHIVE TOOLBAR
   ============================================================ */
.bds-archive-section {
    background-color: var(--bds-bg-light);
    padding-top: 40px;
}

.bds-archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.bds-toolbar-count {
    font-size: 14px;
    color: var(--bds-text-muted);
}

.bds-toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bds-sort-select-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--bds-text-muted);
}

.bds-sort-select-wrap select {
    padding: 8px 12px;
    border: 1px solid var(--bds-border-color);
    border-radius: var(--bds-radius-sm);
    background: var(--bds-card-bg);
    color: var(--bds-text-dark);
    font-size: 13px;
    cursor: pointer;
    outline: none;
}

.bds-layout-toggle {
    display: flex;
    gap: 4px;
}

.bds-layout-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--bds-border-color);
    background: var(--bds-card-bg);
    color: var(--bds-text-muted);
    border-radius: var(--bds-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--bds-transition);
}

.bds-layout-btn.active,
.bds-layout-btn:hover {
    background: var(--bds-navy);
    color: var(--bds-white);
    border-color: var(--bds-navy);
}

/* No Results */
.bds-no-results {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
    color: var(--bds-text-muted);
}

.bds-no-results i {
    display: block;
    font-size: 52px;
    color: var(--bds-gold);
    margin-bottom: 16px;
}

.bds-no-results h3 {
    font-size: 22px;
    color: var(--bds-text-dark);
    margin-bottom: 8px;
}

/* Pagination */
.bds-pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bds-pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--bds-radius-sm);
    border: 1px solid var(--bds-border-color);
    background: var(--bds-card-bg);
    color: var(--bds-text-dark);
    font-size: 14px;
    font-weight: 600;
    transition: var(--bds-transition);
}

.bds-pagination-wrap .page-numbers.current,
.bds-pagination-wrap .page-numbers:hover {
    background: var(--bds-gold);
    border-color: var(--bds-gold);
    color: var(--bds-navy);
}

/* ============================================================
   SINGLE PRODUCT / PROPERTY PAGE
   ============================================================ */
.bds-property-header-section {
    background: #0b192c !important;
    padding: 30px 0 25px;
    color: var(--bds-white);
}

.bds-prop-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.bds-single-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin: 10px 0 8px;
    color: var(--bds-white);
}

.bds-single-address {
    font-size: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bds-single-price-box {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--bds-radius-md);
    padding: 16px 24px;
    text-align: center;
    min-width: 200px;
    flex-shrink: 0;
}

.bds-single-price {
    font-size: 30px;
    font-weight: 900;
    color: var(--bds-gold);
    line-height: 1.1;
}

.bds-single-price .unit {
    font-size: 16px;
    font-weight: 600;
    color: #cbd5e1;
}

/* Gallery */
.bds-gallery-section {
    padding: 20px 0 0 !important;
    background: var(--bds-bg-light);
}

.bds-single-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-radius: var(--bds-radius-lg);
    overflow: hidden;
}

/* Full width when no sub-gallery images */
.bds-single-gallery-grid.bds-gallery-full {
    grid-template-columns: 1fr;
}

.bds-single-gallery-grid.bds-gallery-full .bds-main-gallery-thumb {
    height: 500px;
    border-radius: var(--bds-radius-lg);
}

@media (max-width: 768px) {
    .bds-single-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.bds-main-gallery-thumb {
    height: 420px;
    overflow: hidden;
    border-radius: var(--bds-radius-md);
}

.bds-main-gallery-thumb img,
.bds-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.bds-main-gallery-thumb:hover img {
    transform: scale(1.04);
}

.bds-gallery-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bds-gallery-sub-grid a {
    height: 200px;
    overflow: hidden;
    border-radius: var(--bds-radius-md);
    display: block;
}

.bds-gallery-sub-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bds-gallery-sub-grid a:hover img {
    transform: scale(1.05);
}

/* Media Bar */
.bds-single-media-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 20px 0 0;
    border-top: 1px solid var(--bds-border-color);
}

/* Single Page Content Layout */
.bds-single-content-section {
    background: var(--bds-bg-light);
    padding: 30px 0 80px !important;
}

.bds-single-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .bds-single-layout {
        grid-template-columns: 1fr;
    }
}

/* Specs Box */
.bds-specs-box {
    background: var(--bds-card-bg);
    border-radius: var(--bds-radius-lg);
    padding: 28px;
    box-shadow: var(--bds-shadow-md);
    border: 1px solid var(--bds-border-color);
    margin-bottom: 24px;
}

.bds-specs-box h3,
.bds-description-box h3,
.bds-maps-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--bds-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bds-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .bds-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bds-spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: var(--bds-bg-light);
    border-radius: var(--bds-radius-sm);
    border: 1px solid var(--bds-border-color);
}

.bds-spec-item i {
    color: var(--bds-gold);
    font-size: 18px;
    margin-bottom: 4px;
}

.bds-spec-item span {
    font-size: 12px;
    color: var(--bds-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bds-spec-item strong {
    font-size: 15px;
    color: var(--bds-text-dark);
    font-weight: 700;
}

/* Description Box */
.bds-description-box {
    background: var(--bds-card-bg);
    border-radius: var(--bds-radius-lg);
    padding: 28px;
    box-shadow: var(--bds-shadow-md);
    border: 1px solid var(--bds-border-color);
    margin-bottom: 24px;
}

.bds-entry-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--bds-text-dark);
}

.bds-entry-content p {
    margin-bottom: 14px;
}

.bds-entry-content ul,
.bds-entry-content ol {
    padding-left: 20px;
    margin-bottom: 14px;
    list-style: disc;
}

/* WooCommerce Cart in Product */
.bds-wc-cart-box .quantity {
    display: inline-block;
    margin-right: 10px;
}

.bds-wc-cart-box .quantity input {
    width: 60px;
    padding: 10px;
    border: 1px solid var(--bds-border-color);
    border-radius: var(--bds-radius-sm);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.bds-wc-cart-box .single_add_to_cart_button {
    background: linear-gradient(135deg, #d4af37 0%, #c5a880 100%);
    color: var(--bds-navy) !important;
    border: none;
    padding: 14px 28px;
    border-radius: var(--bds-radius-md);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--bds-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bds-wc-cart-box .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Maps Box */
.bds-maps-box {
    background: var(--bds-card-bg);
    border-radius: var(--bds-radius-lg);
    padding: 28px;
    box-shadow: var(--bds-shadow-md);
    border: 1px solid var(--bds-border-color);
}

/* Sidebar / Agent Card */
.bds-single-sidebar {
    position: sticky;
    top: calc(var(--bds-header-height) + 20px);
}

.bds-sidebar-card {
    background: var(--bds-card-bg);
    border-radius: var(--bds-radius-lg);
    padding: 28px;
    box-shadow: var(--bds-shadow-lg);
    border: 1px solid var(--bds-border-color);
}

.bds-agent-avatar {
    width: 72px;
    height: 72px;
    background: #0b192c !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--bds-gold);
    margin: 0 auto 16px;
}

.bds-agent-card h4 {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--bds-text-dark);
}

.bds-agent-role {
    text-align: center;
    font-size: 13px;
    color: var(--bds-text-muted);
    margin-bottom: 16px;
}

.bds-agent-card h5 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bds-text-muted);
    margin-bottom: 14px;
}

/* ============================================================
   WOOCOMMERCE SHOP / CHECKOUT OVERRIDES
   ============================================================ */
.woocommerce-page .bds-page-header {
    display: block;
}

/* WooCommerce breadcrumb */
.woocommerce-breadcrumb {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 12px;
}

/* Prevent WC from injecting extra wrappers that break layout */
.woocommerce-page .entry-content,
.woocommerce-page .page-content {
    padding: 0;
    max-width: 100%;
}

/* ============================================================
   ICON BUTTON (Dark Mode Toggle)
   ============================================================ */
.bds-icon-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: var(--bds-white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--bds-transition);
}

.bds-icon-btn:hover {
    background: var(--bds-gold);
    color: var(--bds-navy);
    border-color: var(--bds-gold);
}

/* ============================================================
   MOBILE NAVIGATION DRAWER
   ============================================================ */
.bds-mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--bds-navy);
    z-index: 2000;
    padding: 20px;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.bds-mobile-drawer.open {
    left: 0;
}

.bds-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
    backdrop-filter: blur(2px);
}

.bds-mobile-overlay.open {
    display: block;
}

.bds-mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.bds-mobile-close {
    background: none;
    border: none;
    color: var(--bds-white);
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

.bds-mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bds-mobile-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.bds-mobile-menu a {
    display: block;
    padding: 14px 0;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 500;
}

.bds-mobile-menu a:hover {
    color: var(--bds-gold);
    padding-left: 8px;
}

/* ============================================================
   STICKY HEADER SPACER
   ============================================================ */
body.is-sticky-header {
    padding-top: var(--bds-header-height);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
    .bds-primary-nav {
        display: none !important;
    }
    .bds-mobile-toggle,
    .bds-hamburger-toggle {
        display: flex !important;
    }
    .bds-header-phone span {
        display: none;
    }
    .hidden-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .bds-hero-title {
        font-size: 32px;
    }
    .bds-hero-subtitle {
        font-size: 15px;
    }
    .bds-filter-wrapper {
        margin-top: 0;
    }
    .bds-property-grid {
        grid-template-columns: 1fr;
    }
    .bds-title {
        font-size: 24px;
    }
    .bds-archive-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .bds-single-title {
        font-size: 22px;
    }
    .bds-single-price {
        font-size: 22px;
    }
    .bds-prop-title-row {
        flex-direction: column;
    }
    .bds-single-price-box {
        width: 100%;
    }
    .bds-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bds-single-layout {
        grid-template-columns: 1fr;
    }
    .bds-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .bds-container {
        padding: 0 16px;
    }
    .bds-section {
        padding: 50px 0;
    }
    .bds-footer-grid {
        grid-template-columns: 1fr;
    }
    .bds-hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================================
   RSS NEWS AGGREGATOR STYLES
   ============================================================ */
.bds-news-hero,
.bds-partnership-hero,
.bds-page-header,
.bds-single-header,
.bds-archive-header,
header.bds-page-header {
    background: #0b192c !important;
    background-color: #0b192c !important;
    background-image: none !important;
    padding: calc(var(--bds-header-height, 80px) + 30px) 0 45px !important;
    margin-top: 0 !important;
    color: var(--bds-white) !important;
    position: relative;
    border-bottom: none !important;
    text-align: center;
}

.bds-news-hero .bds-hero-content {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.bds-news-hero .bds-sub-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--bds-gold);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.bds-news-hero .bds-page-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--bds-white);
    margin-bottom: 14px;
    line-height: 1.25;
    text-align: center;
}

.bds-news-hero .bds-page-desc {
    font-size: 16px;
    color: #94a3b8;
    max-width: 720px;
    margin: 0 auto 24px auto;
    line-height: 1.6;
    text-align: center;
}

.bds-rss-status-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--bds-radius-md);
    width: fit-content;
    margin: 0 auto;
}

.bds-status-badge {
    color: #4ade80;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bds-total-count {
    color: #cbd5e1;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bds-btn-refresh {
    background: var(--bds-gold);
    color: var(--bds-navy);
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--bds-transition);
}

.bds-btn-refresh:hover {
    background: var(--bds-gold-hover);
    transform: translateY(-1px);
}

/* Featured News & News Feed Sections */
.bds-featured-news-section,
.bds-news-feed-section {
    background: var(--bds-bg-light) !important;
    padding-top: 40px;
    padding-bottom: 50px;
}

.bds-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bds-featured-card {
    background: var(--bds-card-bg);
    border: 1px solid var(--bds-border-color);
    border-radius: var(--bds-radius-md);
    overflow: hidden;
    box-shadow: var(--bds-shadow-sm);
    transition: var(--bds-transition);
    display: flex;
    flex-direction: column;
}

.bds-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bds-shadow-lg);
    border-color: var(--bds-gold);
}

.bds-featured-card .bds-featured-img {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.bds-featured-card .bds-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bds-featured-card:hover .bds-featured-img img {
    transform: scale(1.05);
}

.bds-news-source-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    color: var(--bds-white);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);

}

.bds-news-source-tag.bg-red { background: #ef4444; }
.bds-news-source-tag.bg-blue { background: #3b82f6; }
.bds-news-source-tag.bg-gold { background: var(--bds-gold); color: var(--bds-navy); }
.bds-news-source-tag.bg-green { background: #10b981; }
.bds-news-source-tag.bg-purple { background: #8b5cf6; }

.bds-featured-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bds-news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--bds-text-muted);
    margin-bottom: 10px;
}

.bds-news-badge-rss {
    color: var(--bds-gold);
    font-weight: 600;
}

.bds-featured-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px;
}

.bds-featured-title a {
    color: var(--bds-text-dark);
    transition: var(--bds-transition);
}

.bds-featured-title a:hover {
    color: var(--bds-gold);
}

.bds-featured-desc {
    font-size: 13px;
    color: var(--bds-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.bds-btn-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--bds-gold);
    transition: var(--bds-transition);
}

.bds-btn-link:hover {
    gap: 10px;
}

/* Toolbar & Filter Tabs */
.bds-news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: var(--bds-card-bg);
    padding: 16px 20px;
    border-radius: var(--bds-radius-md);
    border: 1px solid var(--bds-border-color);
    box-shadow: var(--bds-shadow-sm);
}

.bds-source-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bds-tab-btn {
    background: var(--bds-bg-light);
    border: 1px solid var(--bds-border-color);
    color: var(--bds-text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--bds-transition);
}

.bds-tab-btn.active,
.bds-tab-btn:hover {
    background: var(--bds-navy);
    color: var(--bds-gold);
    border-color: var(--bds-navy);
}

.bds-news-search {
    position: relative;
    min-width: 280px;
}

.bds-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.bds-search-input-wrapper i.ri-search-line {
    position: absolute;
    left: 14px;
    color: var(--bds-text-muted);
    font-size: 16px;
}

.bds-search-input-wrapper input {
    width: 100%;
    padding: 9px 36px 9px 38px;
    border-radius: 20px;
    border: 1px solid var(--bds-border-color);
    background: var(--bds-bg-light);
    color: var(--bds-text-dark);
    font-size: 13px;
    outline: none;
    transition: var(--bds-transition);
}

.bds-search-input-wrapper input:focus {
    border-color: var(--bds-gold);
    background: var(--bds-card-bg);
}

#bds-news-search-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--bds-text-muted);
    cursor: pointer;
    font-size: 16px;
}

/* News Grid */
.bds-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: opacity 0.3s ease;
}

.bds-news-card {
    background: var(--bds-card-bg);
    border: 1px solid var(--bds-border-color);
    border-radius: var(--bds-radius-md);
    overflow: hidden;
    box-shadow: var(--bds-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--bds-transition);
}

.bds-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bds-shadow-md);
    border-color: var(--bds-gold);
}

.bds-news-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.bds-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bds-news-card:hover .bds-news-thumb img {
    transform: scale(1.05);
}

.bds-news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bds-news-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;

}

.bds-news-title a {
    color: var(--bds-text-dark);
    transition: var(--bds-transition);
}

.bds-news-title a:hover {
    color: var(--bds-gold);
}

.bds-news-excerpt {
    font-size: 13px;
    color: var(--bds-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;

}

.bds-news-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--bds-border-color);
}

.bds-news-readmore {
    font-size: 13px;
    font-weight: 600;
    color: var(--bds-navy);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--bds-transition);
}

[data-theme="dark"] .bds-news-readmore {
    color: var(--bds-gold);
}

.bds-news-readmore:hover {
    color: var(--bds-gold);
    gap: 8px;
}

/* Loader & Pagination */
.bds-news-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    gap: 12px;
    color: var(--bds-text-muted);
}

.bds-news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.bds-page-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid var(--bds-border-color);
    background: var(--bds-card-bg);
    color: var(--bds-text-dark);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--bds-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bds-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bds-page-btn:not(:disabled):hover {
    background: var(--bds-navy);
    color: var(--bds-gold);
    border-color: var(--bds-navy);
}

.bds-page-info {
    font-size: 14px;
    color: var(--bds-text-muted);
}

@media (max-width: 1024px) {
    .bds-featured-grid {
        grid-template-columns: 1fr;
    }
    .bds-featured-card.is-main {
        grid-row: span 1;
    }
    .bds-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .bds-news-grid {
        grid-template-columns: 1fr;
    }
    .bds-news-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .bds-news-search {
        width: 100%;
    }
}

/* ============================================================
   IN-APP READER MODAL STYLES
   ============================================================ */
.bds-btn-read-direct {
    background: linear-gradient(135deg, #d4af37 0%, #c5a880 100%);
    color: #0b192c !important;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: auto;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
    transition: var(--bds-transition);
}

.bds-btn-read-direct:hover {
    background: linear-gradient(135deg, #e5be48 0%, #d4b78f 100%);
    color: #0b192c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.bds-reader-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bds-reader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 25, 44, 0.85);
    backdrop-filter: blur(8px);
}

.bds-reader-wrapper {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 90vh;
    background: var(--bds-card-bg);
    border-radius: var(--bds-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--bds-border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10;
    animation: readerModalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes readerModalSlide {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.bds-reader-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--bds-border-color);
    background: var(--bds-bg-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bds-reader-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bds-reader-header-left .bds-news-source-tag {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
}

.bds-reader-meta-date {
    font-size: 13px;
    color: var(--bds-text-muted);
}

.bds-reader-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bds-font-controls {
    display: flex;
    background: var(--bds-card-bg);
    border: 1px solid var(--bds-border-color);
    border-radius: 15px;
    overflow: hidden;
}

.bds-font-controls button {
    background: none;
    border: none;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bds-text-dark);
    cursor: pointer;
    transition: var(--bds-transition);
}

.bds-font-controls button:hover {
    background: var(--bds-gold);
    color: var(--bds-navy);
}

.bds-reader-ext-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--bds-gold);
    display: flex;
    align-items: center;
    gap: 4px;
}

.bds-reader-close {
    background: var(--bds-card-bg);
    border: 1px solid var(--bds-border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--bds-text-dark);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--bds-transition);
}

.bds-reader-close:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

.bds-reader-content-wrap {
    padding: 30px 40px;
    overflow-y: auto;
    flex-grow: 1;
}

.bds-reader-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 16px;
    color: var(--bds-text-muted);
}

.bds-reader-article .bds-reader-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--bds-text-dark);
    margin-bottom: 16px;
}

.bds-reader-lead {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--bds-text-muted);
    padding-left: 16px;
    border-left: 4px solid var(--bds-gold);
    margin-bottom: 24px;
}

.bds-reader-hero-img-wrap {
    margin-bottom: 30px;
    border-radius: var(--bds-radius-md);
    overflow: hidden;
}

.bds-reader-hero-img-wrap img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.bds-reader-body-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--bds-text-dark);
}

.bds-reader-body-content p {
    margin-bottom: 20px;
}

.bds-reader-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--bds-radius-md);
    margin: 20px 0;
}

.bds-reader-body-content figcaption,
.bds-reader-body-content .Image {
    font-size: 13px;
    color: var(--bds-text-muted);
    text-align: center;
    margin-top: -12px;
    margin-bottom: 20px;
    font-style: italic;
}

.bds-reader-footer-note {
    margin-top: 40px;
    padding: 24px;
    background: var(--bds-bg-light);
    border-radius: var(--bds-radius-md);
    border: 1px solid var(--bds-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.bds-reader-footer-note p {
    margin: 0;
    font-size: 13px;
    color: var(--bds-text-muted);
    max-width: 500px;
}

@media (max-width: 768px) {
    .bds-reader-wrapper {
        width: 95%;
        height: 95vh;
    }
    .bds-reader-content-wrap {
        padding: 20px;
    }
    .bds-reader-article .bds-reader-title {
        font-size: 22px;
    }
}

/* ============================================================
   RESPONSIVE DESIGN SYSTEM FOR ALL DEVICES
   ============================================================ */

/* Extra Large Screens / Ultra-wide (> 1400px) */
@media (min-width: 1400px) {
    .bds-container {
        max-width: 1320px;
    }
}

/* Laptops & Standard Desktops (992px - 1199px) */
@media (max-width: 1199px) {
    .bds-hero-title {
        font-size: 38px;
    }
    .bds-property-grid,
    .bds-project-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .bds-filter-form {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets / iPads (768px - 991px) */
@media (max-width: 991px) {
    /* Header & Nav */
    .bds-primary-nav {
        display: none !important;
    }
    .bds-hamburger-toggle,
    .bds-mobile-toggle {
        display: flex !important;
    }
    .bds-logo-text {
        font-size: 19px;
    }

    /* Hero & Filter */
    .bds-hero-section {
        min-height: 70vh;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .bds-hero-title {
        font-size: 32px;
    }
    .bds-hero-subtitle {
        font-size: 15px;
    }
    .bds-filter-form {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .bds-filter-btn-wrap {
        grid-column: span 2;
    }

    /* Grids */
    .bds-property-grid,
    .bds-project-grid,
    .bds-featured-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Single Page Sidebar Layout */
    .bds-single-layout,
    .bds-contact-grid,
    .bds-about-grid {
        grid-template-columns: 1fr;
    }
    .bds-single-sidebar {
        margin-top: 30px;
    }

    /* Footer */
    .bds-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile Phones (under 767px) */
@media (max-width: 767px) {
    .bds-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Header */
    .bds-header-phone span {
        display: none;
    }
    .bds-btn-header {
        display: none !important;
    }
    .bds-logo-text {
        font-size: 17px;
    }

    /* Hero */
    .bds-hero-section {
        min-height: 60vh;
        padding-top: 90px;
    }
    .bds-hero-title {
        font-size: 26px;
        line-height: 1.3;
    }
    .bds-hero-subtitle {
        font-size: 14px;
    }
    .bds-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .bds-hero-actions .bds-btn {
        width: 100%;
    }

    /* Filter Form */
    .bds-filter-form {
        grid-template-columns: 1fr !important;
    }
    .bds-filter-btn-wrap {
        grid-column: span 1 !important;
    }

    /* Cards & Grids */
    .bds-property-grid,
    .bds-project-grid,
    .bds-featured-grid,
    .bds-news-grid {
        grid-template-columns: 1fr !important;
    }

    .bds-card-title {
        font-size: 16px;
    }
    
    .bds-card-specs {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Footer */
    .bds-footer-grid {
        grid-template-columns: 1fr;
    }
    .bds-footer-bottom {
        text-align: center;
    }

    /* Reader Modal */
    .bds-reader-wrapper {
        width: 96vw;
        height: 94vh;
    }
    .bds-reader-content-wrap {
        padding: 16px;
    }
    .bds-reader-article .bds-reader-title {
        font-size: 20px;
    }
}

/* Small Mobile Phones (under 480px) */
@media (max-width: 480px) {
    .bds-logo-text {
        font-size: 15px;
    }
    .bds-hero-title {
        font-size: 22px;
    }
    .bds-hero-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    .bds-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .bds-card-footer .bds-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .bds-floating-actions {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    .bds-float-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* ============================================================
   FENG SHUI AGE & HOUSE FINDER MODAL STYLES
   ============================================================ */
.bds-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 25, 44, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.bds-modal-overlay.open,
.bds-modal-overlay.active,
.bds-modal-overlay.show {
    display: flex !important;
}

.bds-fengshui-modal-content {
    background: var(--bds-card-bg);
    border: 1px solid var(--bds-border-color);
    border-radius: var(--bds-radius-lg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px;
    position: relative;
    color: var(--bds-text-dark);
}

[data-theme="dark"] .bds-fengshui-modal-content {
    color: #f8fafc;
}

.bds-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--bds-border-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--bds-text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--bds-transition);
}

[data-theme="dark"] .bds-modal-close {
    color: #ffffff;
}

.bds-modal-close:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

.bds-fengshui-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
    background: rgba(212, 175, 55, 0.05);
    padding: 20px;
    border-radius: var(--bds-radius-md);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

@media (max-width: 768px) {
    .bds-fengshui-form-grid {
        grid-template-columns: 1fr;
    }
}

.bds-fengshui-form select {
    width: 100%;
    padding: 11px 16px;
    border-radius: var(--bds-radius-sm);
    border: 1px solid var(--bds-border-color);
    background: var(--bds-bg-light);
    color: var(--bds-text-dark);
    font-weight: 600;
}

[data-theme="dark"] .bds-fengshui-form select {
    color: #f8fafc;
    background: #0b192c;
}

.bds-fengshui-results {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--bds-border-color);
}

.bds-fs-badge-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.bds-fs-badge {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.bds-fs-badge-gold {
    background: linear-gradient(135deg, #d4af37 0%, #c5a880 100%);
    color: #0b192c;
}

.bds-fs-badge-navy {
    background: #0b192c;
    color: #d4af37;
    border: 1px solid #d4af37;
}

.bds-fs-badge-green {
    background: #10b981;
    color: #ffffff;
}

.bds-fs-dirs-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .bds-fs-dirs-box {
        grid-template-columns: 1fr;
    }
}

.bds-fs-dir-col {
    background: var(--bds-bg-light);
    padding: 20px;
    border-radius: var(--bds-radius-md);
    border: 1px solid var(--bds-border-color);
}

.bds-fs-dir-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.bds-fs-dir-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bds-fs-dir-col ul li {
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--bds-border-color);
}

.bds-fs-dir-col ul li:last-child {
    border-bottom: none;
}

.bds-fs-prop-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

/* Filter Submit & Feng Shui Buttons Responsive Layout */
.bds-filter-submit-btn-wrap {
    grid-column: 1 / -1;
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.bds-filter-submit-btn-wrap .bds-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .bds-filter-submit-btn-wrap {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .bds-filter-submit-btn-wrap .bds-btn {
        width: 100% !important;
        flex: none !important;
        white-space: normal !important;
        padding: 12px 15px !important;
        font-size: 13.5px !important;
        line-height: 1.4 !important;
    }
}

/* ============================================================
   PROPERTY COMPARISON DRAWER & MODAL TABLE STYLES
   ============================================================ */
.bds-compare-drawer {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9999;
    background: var(--bds-card-bg);
    border: 1px solid var(--bds-gold);
    border-radius: var(--bds-radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    padding: 16px 20px;
    width: 340px;
    display: none;
    transition: var(--bds-transition);
}

[data-theme="dark"] .bds-compare-drawer {
    background: #0b192c;
}

.bds-compare-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--bds-border-color);
}

.bds-compare-drawer-header h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: var(--bds-text-dark);
}

[data-theme="dark"] .bds-compare-drawer-header h4 {
    color: #f8fafc;
}

.bds-compare-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.bds-compare-actions .bds-btn {
    flex: 1;
    font-size: 12px;
    padding: 8px 10px;
    text-align: center;
    justify-content: center;
}

/* Compare Modal Table Styling */
.bds-modal-dialog.bds-modal-lg {
    max-width: 960px;
    width: 95%;
    padding: 30px;
    background: var(--bds-card-bg);
    border-radius: var(--bds-radius-lg);
    border: 1px solid var(--bds-gold);
}

.bds-compare-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.bds-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bds-card-bg);
    color: var(--bds-text-dark);
    font-size: 14px;
}

[data-theme="dark"] .bds-compare-table {
    color: #f8fafc;
}

.bds-compare-table th,
.bds-compare-table td {
    padding: 14px 16px;
    border: 1px solid var(--bds-border-color);
    text-align: center;
}

.bds-compare-table th {
    background: var(--bds-bg-light);
    font-weight: 700;
}

.bds-compare-table tr:hover {
    background: rgba(212, 175, 55, 0.05);
}



/* Compare Active Button Override */
.bds-toggle-compare-btn.active {
    background: var(--bds-gold) !important;
    color: #0b192c !important;
    border-color: var(--bds-gold) !important;
    font-weight: 700 !important;
}

.bds-toggle-compare-btn.active i {
    color: #0b192c !important;
}

/* WordPress Native wp_nav_menu Submenu Styles Fix */
.bds-primary-nav .menu-item-has-children {
    position: relative;
}

.bds-primary-nav .menu-item-has-children:hover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.bds-primary-nav .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 250px !important;
    background: #0b192c !important;
    border: 1px solid rgba(212,175,55,0.3) !important;
    border-radius: 8px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3) !important;
    padding: 10px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease !important;
    z-index: 9999 !important;
}

.bds-primary-nav .sub-menu li {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bds-primary-nav .sub-menu a {
    display: block !important;
    padding: 10px 20px !important;
    color: #cbd5e1 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    white-space: nowrap !important;
}

.bds-primary-nav .sub-menu a:hover {
    background: rgba(212,175,55,0.15) !important;
    color: #d4af37 !important;
    padding-left: 24px !important;
}


/* ==========================================================================
   Modal Popups & Overlay Styling
   ========================================================================== */
.bds-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(11, 25, 44, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bds-modal-overlay.open,
.bds-modal-overlay[style*="display: flex"],
.bds-modal-overlay[style*="display:flex"] {
    display: flex !important;
    opacity: 1 !important;
}

.bds-modal-dialog {
    background: var(--bds-card-bg, #ffffff) !important;
    color: var(--bds-text-dark, #0b192c) !important;
    width: 100% !important;
    max-width: 600px;
    border-radius: 16px !important;
    border: 1px solid var(--bds-border-color, #e2e8f0) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
    padding: 30px !important;
    position: relative !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    animation: bdsModalSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#bds-compare-modal .bds-modal-dialog,
.bds-modal-dialog.bds-modal-xl {
    max-width: 1200px !important;
    width: 95% !important;
}

#bds-rss-reader-modal .bds-modal-dialog,
.bds-modal-dialog.bds-modal-lg {
    max-width: 900px !important;
    width: 92% !important;
}

#bds-fengshui-modal .bds-modal-dialog,
.bds-fengshui-modal-content {
    max-width: 850px !important;
    width: 92% !important;
}

#bds-schedule-modal .bds-modal-dialog,
#bds-lot-booking-modal .bds-modal-dialog {
    max-width: 580px !important;
    width: 92% !important;
}

@keyframes bdsModalSlideIn {
    from {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.bds-modal-close {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    background: none !important;
    border: none !important;
    font-size: 32px !important;
    color: #64748b !important;
    cursor: pointer !important;
    line-height: 1 !important;
    transition: color 0.2s ease !important;
}

.bds-modal-close:hover {
    color: #ef4444 !important;
}

.bds-modal-header {
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 15px !important;
    margin-bottom: 20px !important;
}

.bds-modal-header h3 {
    margin: 0 0 6px 0 !important;
    color: #0b192c !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.bds-modal-header p {
    margin: 0 !important;
    color: #d4af37 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

.bds-form-group {
    margin-bottom: 15px !important;
}

.bds-form-group label {
    display: block !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #1e293b !important;
    margin-bottom: 6px !important;
}

.bds-form-group input,
.bds-form-group select,
.bds-form-group textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.bds-form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
}

@media (max-width: 576px) {
    .bds-form-row {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   Button System & Typography Fixes
   ========================================================================== */
.bds-btn, input[type="submit"], button.bds-btn {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    border: none !important;
    box-sizing: border-box !important;
}

/* Ensure Mobile Hamburger Toggle is strictly HIDDEN on Desktop screens */
@media (min-width: 993px) {
    .bds-hamburger-toggle,
    .bds-mobile-toggle,
    button.bds-hamburger-toggle,
    button.bds-mobile-toggle {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .bds-hamburger-toggle,
    .bds-mobile-toggle,
    button.bds-hamburger-toggle,
    button.bds-mobile-toggle {
        display: inline-flex !important;
    }
}

.bds-btn-gold,
button[type="submit"].bds-btn-gold {
    background: #d4af37 !important;
    color: #0b192c !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35) !important;
}

.bds-btn-gold:hover,
button[type="submit"].bds-btn-gold:hover {
    background: #c5a028 !important;
    color: #000000 !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5) !important;
    transform: translateY(-2px) !important;
}

.bds-btn-gold i {
    font-size: 18px !important;
    line-height: 1 !important;
    color: #0b192c !important;
}


/* ==========================================================================
   Inner Pages Spacing & WooCommerce Branding Overrides
   ========================================================================== */
body:not(.home) {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.bds-page-header,
.bds-inner-header,
.page-header,
.bds-section-hero,
.woocommerce-products-header,
.bds-careers-hero {
    margin-top: 0 !important;
    padding-top: calc(var(--bds-header-height, 80px) + 25px) !important;
    padding-bottom: 95px !important;
    background: #0b192c !important;
    background-color: #0b192c !important;
    color: #ffffff !important;
    text-align: center !important;
    border-bottom: none !important;
}

.bds-page-header h1,
.bds-careers-hero h1,
.woocommerce-products-header h1,
.page-header h1 {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 800 !important;
}

/* WooCommerce Navy & Gold Branding Overrides */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce-page .single_add_to_cart_button {
    background: #d4af37 !important;
    color: #0b192c !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(212,175,55,0.3) !important;
    transition: all 0.3s ease !important;
}

.woocommerce button.button.alt:hover,
.woocommerce-page .single_add_to_cart_button:hover {
    background: #c5a028 !important;
    color: #000000 !important;
    box-shadow: 0 6px 20px rgba(212,175,55,0.5) !important;
    transform: translateY(-2px) !important;
}


/* ==========================================================================
   Compare Button Pill & Hero Hotline Pill Border Styles
   ========================================================================== */
.bds-btn-outline-gold,
button.bds-btn-outline-gold,
.bds-toggle-compare-btn {
    background: rgba(212, 175, 55, 0.08) !important;
    color: #d4af37 !important;
    border: 1px solid #d4af37 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    padding: 8px 14px !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

.bds-btn-outline-gold:hover,
.bds-toggle-compare-btn:hover {
    background: #d4af37 !important;
    color: #0b192c !important;
    border-color: #d4af37 !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35) !important;
}

.bds-btn-outline-gold i,
.bds-toggle-compare-btn i {
    color: #d4af37 !important;
}

.bds-btn-outline-gold:hover i,
.bds-toggle-compare-btn:hover i {
    color: #0b192c !important;
}

.bds-btn-outline-light,
a.bds-btn-outline-light {
    background: rgba(11, 25, 44, 0.65) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
    border-radius: var(--bds-radius-md, 10px) !important;
    padding: 14px 28px !important;
    font-size: 14px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    font-weight: 700 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
}

.bds-btn-outline-light:hover,
a.bds-btn-outline-light:hover {
    background: #d4af37 !important;
    border-color: #d4af37 !important;
    color: #0b192c !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-2px) !important;
}

.bds-btn-outline-light i,
a.bds-btn-outline-light i {
    color: #d4af37 !important;
    font-size: 17px !important;
    transition: color 0.3s ease !important;
}

.bds-btn-outline-light:hover i,
a.bds-btn-outline-light:hover i {
    color: #0b192c !important;
}


/* ==========================================================================
   Single Solid Flat Color Buttons (No Gradients)
   ========================================================================== */
.bds-btn-gold,
button.bds-btn-gold,
a.bds-btn-gold,
button[type="submit"].bds-btn-gold,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-page .single_add_to_cart_button {
    background: #d4af37 !important;
    background-image: none !important;
    color: #0b192c !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25) !important;
}

.bds-btn-gold:hover,
button.bds-btn-gold:hover,
a.bds-btn-gold:hover,
button[type="submit"].bds-btn-gold:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce-page .single_add_to_cart_button:hover {
    background: #c5a028 !important;
    background-image: none !important;
    color: #000000 !important;
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4) !important;
}


/* ==========================================================================
   Back to Top Floating Button Specific Fix
   ========================================================================== */
#bds-back-to-top,
.bds-float-top {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background: #0b192c !important;
    color: #d4af37 !important;
    border: 2px solid #d4af37 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}

#bds-back-to-top:hover,
.bds-float-top:hover {
    background: #d4af37 !important;
    color: #0b192c !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 6px 20px rgba(212,175,55,0.5) !important;
}

#bds-back-to-top i,
.bds-float-top i {
    font-size: 24px !important;
    color: inherit !important;
    line-height: 1 !important;
}


/* ==========================================================================
   Floating Action Buttons & Back To Top Fixed Positioning
   ========================================================================== */
.bds-floating-actions {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
}

.bds-float-btn {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.bds-float-btn:hover {
    transform: translateY(-4px) scale(1.08) !important;
}

.bds-float-call {
    background: #10b981 !important;
    color: #ffffff !important;
    font-size: 22px !important;
}

.bds-float-zalo {
    background: #0088ff !important;
    color: #ffffff !important;
}

#bds-back-to-top,
.bds-float-top {
    background: #0b192c !important;
    color: #d4af37 !important;
    border: 2px solid #d4af37 !important;
    font-size: 24px !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: all 0.3s ease !important;
}

#bds-back-to-top.visible,
#bds-back-to-top[style*="opacity: 1"],
#bds-back-to-top[style*="opacity:1"] {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#bds-back-to-top:hover,
.bds-float-top:hover {
    background: #d4af37 !important;
    color: #0b192c !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5) !important;
}

/* ============================================================
   GLOBAL DARK THEME COMPREHENSIVE FIXES FOR ALL MODALS & FORMS
   ============================================================ */
[data-theme="dark"] .bds-modal-dialog,
[data-theme="dark"] .bds-fengshui-modal-content,
[data-theme="dark"] .bds-modal-content,
[data-theme="dark"] #bds-compare-modal .bds-modal-dialog,
[data-theme="dark"] #bds-schedule-modal .bds-modal-dialog,
[data-theme="dark"] #bds-rss-reader-modal .bds-modal-dialog,
[data-theme="dark"] #bds-lot-booking-modal .bds-modal-dialog {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .bds-modal-close,
[data-theme="dark"] .bds-close-fengshui-btn {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .bds-modal-close:hover,
[data-theme="dark"] .bds-close-fengshui-btn:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .bds-modal-header {
    border-color: #1e293b !important;
}

[data-theme="dark"] .bds-modal-header h2,
[data-theme="dark"] .bds-modal-header h3,
[data-theme="dark"] .bds-modal-header h4,
[data-theme="dark"] .bds-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .bds-desc,
[data-theme="dark"] .bds-modal-header p {
    color: #94a3b8 !important;
}

[data-theme="dark"] .bds-form input,
[data-theme="dark"] .bds-form select,
[data-theme="dark"] .bds-form textarea,
[data-theme="dark"] .bds-fengshui-form select,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="date"],
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: #0b192c !important;
    color: #f8fafc !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] label {
    color: #f8fafc !important;
}

[data-theme="dark"] .bds-native-article-content h1,
[data-theme="dark"] .bds-native-article-content h2,
[data-theme="dark"] .bds-native-article-content h3 {
    color: #f8fafc !important;
}

[data-theme="dark"] .bds-native-article-content,
[data-theme="dark"] .bds-article-body,
[data-theme="dark"] .bds-article-body p,
[data-theme="dark"] .bds-article-body div {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .bds-compare-table-wrapper table th {
    background: #0b192c !important;
    color: #f8fafc !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .bds-compare-table-wrapper table td {
    color: #cbd5e1 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .bds-compare-table-wrapper table tr {
    background: #0f172a !important;
}

[data-theme="dark"] .bds-compare-table-wrapper table tr:nth-child(even) {
    background: #0b192c !important;
}

/* Hide Default WordPress Admin Bar Search Node */
#wpadminbar #wp-admin-bar-search,
#wpadminbar .admin-bar-search {
    display: none !important;
}

/* ==========================================================================
   Comprehensive Responsive Buttons Optimization
   ========================================================================== */

/* Base touch-friendly improvements */
.bds-btn,
a.bds-btn,
button.bds-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    box-sizing: border-box;
}

/* Tablet & Mobile Screens (<= 991px) */
@media screen and (max-width: 991px) {
    .bds-filter-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .bds-filter-form .bds-btn-gold {
        grid-column: span 2 !important;
        width: 100% !important;
        min-height: 48px !important;
        font-size: 15px !important;
    }
    
    .bds-cta-actions {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    .bds-cta-actions .bds-btn {
        width: 100% !important;
        max-width: 380px !important;
        justify-content: center !important;
    }
}

/* Mobile Screens (<= 768px) */
@media screen and (max-width: 768px) {
    /* Hero Banner Action Buttons */
    .bds-hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        gap: 12px !important;
    }

    .bds-hero-actions .bds-btn,
    .bds-hero-actions a.bds-btn {
        width: 100% !important;
        padding: 13px 20px !important;
        font-size: 15px !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    /* Single Property / Single Project Action Buttons */
    .bds-property-actions,
    .bds-single-actions,
    .bds-single-header-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .bds-property-actions .bds-btn,
    .bds-single-actions .bds-btn,
    .bds-single-header-actions .bds-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 18px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
    }

    /* Filter Form on Mobile */
    .bds-filter-grid {
        grid-template-columns: 1fr !important;
    }

    .bds-filter-form .bds-btn-gold {
        grid-column: span 1 !important;
        width: 100% !important;
    }

    /* Modal Action Buttons */
    .bds-modal-dialog button[type="submit"],
    .bds-modal-dialog .bds-btn {
        width: 100% !important;
        min-height: 46px !important;
        font-size: 15px !important;
        justify-content: center !important;
    }

    /* Form Action Buttons */
    .bds-form button[type="submit"],
    #bds-partnership-form button[type="submit"],
    #bds-main-contact-form button[type="submit"] {
        width: 100% !important;
        min-height: 48px !important;
        font-size: 15px !important;
        justify-content: center !important;
    }

    /* Floating Contact Buttons */
    .bds-floating-contact {
        bottom: 16px !important;
        right: 14px !important;
        gap: 10px !important;
    }

    .bds-floating-contact a,
    #bds-back-to-top,
    .bds-float-top {
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
    }
}

/* Small Mobile Screens (<= 480px) */
@media screen and (max-width: 480px) {
    .bds-hero-actions {
        max-width: 100% !important;
        padding: 0 10px !important;
    }

    .bds-btn {
        padding: 12px 18px !important;
        font-size: 14px !important;
    }

    .bds-card-actions {
        gap: 6px !important;
    }

    .bds-card-actions .bds-card-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
    }
}

/* ============================================================
   MOBILE NAVIGATION DRAWER & HAMBURGER TOGGLE COMPONENT
   ============================================================ */
.bds-hamburger-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 38px;
    padding: 9px 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.bds-hamburger-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #d4af37;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.bds-hamburger-toggle:hover {
    background: rgba(212, 175, 55, 0.2);
}

@media (max-width: 991px) {
    .bds-hamburger-toggle {
        display: flex !important;
    }
}

.bds-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 25, 44, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.bds-mobile-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
}

.bds-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: #0b192c;
    color: #ffffff;
    z-index: 99999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-sizing: border-box;
}

.bds-mobile-drawer.open {
    transform: translateX(0) !important;
}

.bds-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #070f1e;
}

.bds-mobile-drawer-header .bds-logo-text {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bds-mobile-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.bds-mobile-close:hover {
    background: #ef4444;
    color: #ffffff;
}

.bds-mobile-nav {
    padding: 20px 16px;
    flex-grow: 1;
}

.bds-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bds-mobile-menu li {
    margin-bottom: 8px;
}

.bds-mobile-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.bds-mobile-menu li a:hover,
.bds-mobile-menu li.active > a,
.bds-mobile-menu li.current-menu-item > a {
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.3);
    font-weight: 700;
}





/* ==========================================================================
   Compare Drawer vs Floating Contact Buttons Overlap Fix
   ========================================================================== */

/* Shift Floating Call/Zalo/Top Buttons higher up when Compare Bar is open */
body.bds-compare-active .bds-floating-actions {
    bottom: 230px !important;
    transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@media (max-width: 768px) {
    body.bds-compare-active .bds-floating-actions {
        bottom: 270px !important;
    }

    #bds-compare-drawer {
        z-index: 99990 !important;
        padding-bottom: env(safe-area-inset-bottom, 10px) !important;
    }

    #bds-compare-content {
        padding: 12px 15px !important;
    }

    #bds-compare-items-list {
        max-height: 180px !important;
        overflow-y: auto !important;
        gap: 10px !important;
    }

    #bds-compare-items-list > div {
        min-width: 140px !important;
        flex: 1 1 calc(50% - 10px) !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   Global Button & Form Vietnamese Font Family Fix
   ========================================================================== */
button, input, select, textarea, .bds-btn {
    font-family: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ==========================================================================
   RSS Card Exact Gold Pill Button Override
   ========================================================================== */
.bds-rss-btn-gold {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(180deg, #d8b15d 0%, #be9440 100%) !important;
    color: #0b192c !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 30px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    font-family: 'Be Vietnam Pro', 'Inter', -apple-system, sans-serif !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(190, 148, 64, 0.35) !important;
    width: auto !important;
    max-width: fit-content !important;
    text-transform: none !important;
    letter-spacing: 0.1px !important;
    transition: all 0.3s ease !important;
}

.bds-rss-btn-gold:hover {
    background: linear-gradient(180deg, #e5be68 0%, #ca9e47 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(190, 148, 64, 0.45) !important;
    color: #0b192c !important;
}

/* ==========================================================================
   Mobile Collapsible Filter Drawer Component
   ========================================================================== */
.bds-filter-mobile-bar {
    display: none;
}

@media (max-width: 991px) {
    .bds-filter-mobile-bar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        background: var(--bds-bg-light, #f8fafc);
        border-radius: 12px;
        border: 1px solid var(--bds-border-color, #e2e8f0);
        cursor: pointer;
        user-select: none;
        transition: all 0.2s ease;
    }

    [data-theme="dark"] .bds-filter-mobile-bar {
        background: #1e293b !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    .bds-filter-mobile-toggle-btn {
        background: #d4af37 !important;
        color: #0b192c !important;
        border: none !important;
        padding: 5px 14px !important;
        border-radius: 20px !important;
        font-weight: 800 !important;
        font-size: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        cursor: pointer !important;
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3) !important;
    }

    .bds-filter-collapsible {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    }

    .bds-filter-wrapper.is-mobile-expanded .bds-filter-collapsible {
        max-height: 1500px !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 15px;
    }

    .bds-filter-wrapper.is-mobile-expanded .bds-filter-mobile-toggle-btn .bds-toggle-arrow {
        transform: rotate(180deg);
    }
}

/* ==========================================================================
   Mobile Collapsible Filter Drawer Component (Luxury Single Line UI)
   ========================================================================== */
.bds-filter-mobile-bar {
    display: none;
}

@media (max-width: 991px) {
    .bds-filter-mobile-bar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 4px 0;
        background: transparent !important;
        border: none !important;
        cursor: pointer;
        user-select: none;
        width: 100%;
        box-sizing: border-box;
    }

    .bds-filter-mobile-title {
        display: flex;
        align-items: center;
        gap: 10px;
        white-space: nowrap;
        overflow: hidden;
    }

    .bds-filter-icon-circle {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(212, 175, 55, 0.15);
        color: #d4af37;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
    }

    .bds-filter-mobile-title span {
        font-size: 15px !important;
        font-weight: 800 !important;
        color: var(--bds-text-dark, #0b192c);
        letter-spacing: -0.3px;
        white-space: nowrap;
    }

    [data-theme="dark"] .bds-filter-mobile-title span {
        color: #ffffff !important;
    }

    .bds-filter-mobile-toggle-btn {
        background: linear-gradient(135deg, #d4af37 0%, #b48c1a 100%) !important;
        color: #0b192c !important;
        border: none !important;
        padding: 8px 16px !important;
        border-radius: 25px !important;
        font-weight: 800 !important;
        font-size: 13px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        cursor: pointer !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35) !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    }

    .bds-filter-mobile-toggle-btn:active {
        transform: scale(0.96);
    }

    .bds-filter-collapsible {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    }

    .bds-filter-wrapper.is-mobile-expanded .bds-filter-collapsible {
        max-height: 1500px !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 18px;
        padding-top: 14px;
        border-top: 1px dashed var(--bds-border-color, #e2e8f0);
    }

    .bds-filter-wrapper.is-mobile-expanded .bds-filter-mobile-toggle-btn .bds-toggle-arrow {
        transform: rotate(180deg);
    }
}

/* ==========================================================================
   Mobile Collapsible Filter Drawer Component (Zero-Overlap Precision UI)
   ========================================================================== */
.bds-filter-mobile-bar {
    display: none;
}

@media (max-width: 991px) {
    .bds-filter-mobile-bar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        padding: 2px 0 !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        user-select: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .bds-filter-mobile-title {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .bds-filter-icon-circle {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: rgba(212, 175, 55, 0.15) !important;
        color: #d4af37 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 16px !important;
        flex-shrink: 0 !important;
    }

    .bds-filter-mobile-title span {
        font-size: 13.5px !important;
        font-weight: 800 !important;
        color: var(--bds-text-dark, #0b192c) !important;
        letter-spacing: -0.2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    [data-theme="dark"] .bds-filter-mobile-title span {
        color: #ffffff !important;
    }

    .bds-filter-mobile-toggle-btn {
        background: linear-gradient(135deg, #d4af37 0%, #b48c1a 100%) !important;
        color: #0b192c !important;
        border: none !important;
        padding: 6px 13px !important;
        border-radius: 20px !important;
        font-weight: 800 !important;
        font-size: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        cursor: pointer !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        box-shadow: 0 3px 10px rgba(212, 175, 55, 0.35) !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    }

    .bds-filter-mobile-toggle-btn:active {
        transform: scale(0.96);
    }

    .bds-filter-collapsible {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    }

    .bds-filter-wrapper.is-mobile-expanded .bds-filter-collapsible {
        max-height: 1500px !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 15px;
        padding-top: 14px;
        border-top: 1px dashed var(--bds-border-color, #e2e8f0);
    }

    .bds-filter-wrapper.is-mobile-expanded .bds-filter-mobile-toggle-btn .bds-toggle-arrow {
        transform: rotate(180deg);
    }
}