/* ==========================================================================
   NHÀ TINH TẾ — DESIGN SYSTEM & LUXURY STYLESHEET
   Indochine & Modern Luxury Aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
    /* Color Palette */
    --gold-primary: #C5A059;
    --gold-dark: #8F6D28;
    --gold-light: #F7EEDD;
    --gold-glow: rgba(197, 160, 89, 0.25);

    --teal-primary: #0F5156;
    --teal-dark: #09373B;
    --teal-light: #E8F3F4;
    --teal-border: rgba(15, 81, 86, 0.25);
    --teal-glow: rgba(15, 81, 86, 0.15);

    --bg-warm: #FCFBF9;
    --bg-card: #FFFFFF;
    --bg-dark: #0F172A;
    --bg-dark-card: #1E293B;

    --text-dark: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    --text-light: #F8FAFC;

    --border-light: #E2E8F0;
    --border-gold: rgba(197, 160, 89, 0.35);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 50px;

    --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 26px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.10);

    --font-heading: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base — Sleek, Refined Luxury Aesthetic */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-warm);
    color: var(--text-body);
    line-height: 1.7;
    font-weight: 300; /* Sleek, light weight */
    letter-spacing: 0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Typography Helpers — Unified Be Vietnam Pro Sleek & Refined */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.015em;
}

.h-serif {
    font-family: var(--font-heading);
    font-weight: 500;
}

.font-light {
    font-weight: 300 !important;
}

.font-medium {
    font-weight: 400 !important;
}

.tracking-wide {
    letter-spacing: 0.06em;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons — Refined Typography & Sleek Borders */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 500; /* Refined weight */
    letter-spacing: 0.8px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-transform: uppercase;
}

.btn--gold {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px var(--gold-glow);
}

.btn--gold:hover {
    background: linear-gradient(135deg, #C5A059 0%, #8F6D28 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35);
}

.btn--teal {
    background: var(--teal-primary);
    color: #FFFFFF !important;
    border-color: var(--teal-dark);
}

.btn--teal:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--teal-glow);
}

.btn--outline-gold {
    background: transparent;
    color: var(--gold-dark) !important;
    border-color: var(--gold-primary);
}

.btn--outline-gold:hover {
    background: var(--gold-light);
    color: var(--gold-dark) !important;
}

.btn--outline-teal {
    background: transparent;
    color: var(--teal-primary) !important;
    border-color: var(--teal-primary);
}

.btn--outline-teal:hover {
    background: var(--teal-light);
}

.btn--sm {
    padding: 6px 14px;
    font-size: 12px;
}

.btn--lg {
    padding: 14px 28px;
    font-size: 15px;
}

/* Badges & Tags */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-light);
    color: var(--gold-dark);
    border: 1px solid var(--border-gold);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.badge--teal {
    background: var(--teal-light);
    color: var(--teal-primary);
    border: 1px solid var(--teal-border);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 700;
}

/* Header & Navigation — Non-sticky & Space-efficient */
.header {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    z-index: 100;
    background: rgba(252, 251, 249, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.25s ease;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    min-height: 48px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo__symbol {
    width: 34px;
    height: 34px;
    background: var(--bg-dark);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.brand-logo__title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.3px;
    display: block;
    line-height: 1.1;
}

.brand-logo__tag {
    font-size: 8.5px;
    font-weight: 700;
    color: var(--gold-dark);
    letter-spacing: 1.2px;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-body);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.is-active {
    color: var(--gold-dark);
}

.nav-link.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-primary);
    border-radius: 2px;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-icon-btn,
.header-search-toggle-btn,
.cart-trigger-btn {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: var(--gold-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.header-icon-btn:hover,
.header-search-toggle-btn:hover,
.header-search-toggle-btn.is-active,
.cart-trigger-btn:hover {
    background: var(--gold-primary);
    color: #0B132B !important;
    border-color: var(--gold-primary);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(197, 160, 89, 0.35);
}

.cart-counter-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #E11D48;
    color: #FFFFFF;
    font-size: 9.5px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 8px;
    text-align: center;
    padding: 0 3px;
    border: 1.5px solid #0B132B;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    flex-shrink: 0;
}

.menu-toggle-btn,
.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: var(--gold-primary);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.menu-toggle-btn:hover,
.menu-toggle-btn.is-active,
.mobile-toggle:hover,
.mobile-toggle.is-active {
    background: var(--gold-primary);
    color: #0B132B;
    border-color: var(--gold-primary);
}

.fav-header-btn {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.fav-header-btn:hover {
    border-color: #FDA4AF;
    background: #FFF1F2;
    color: #E11D48;
}

.fav-badge-count {
    background: #E11D48;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    line-height: 1;
}

/* Sections — Uniform 80px Spacing Cadence */
.section {
    padding: 80px 0;
}

.section--alt {
    padding: 80px 0;
    background: #FFFFFF;
}

.section--dark {
    padding: 80px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-header, .ntt-section-header {
    text-align: left;
    margin-bottom: 32px;
}

.section-header.text-center, .ntt-section-header.text-center {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-title, .ntt-section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--text-dark);
    margin-top: 6px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.section--dark .section-title, .section--dark .ntt-section-title {
    color: #FFFFFF;
}

.section-subtitle, .ntt-section-desc {
    font-size: 14.5px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 720px;
}

.section--dark .section-subtitle, .section--dark .ntt-section-desc {
    color: #94A3B8;
}

/* Hero Banner */
.hero-section {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #FCFBF9 0%, #F5F1EA 100%);
    border-bottom: 1px solid var(--border-light);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.18;
    margin-bottom: 18px;
}

.hero-title span {
    color: var(--gold-dark);
    position: relative;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 28px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border-gold);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--gold-dark);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-showcase-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid #FFFFFF;
}

.hero-showcase-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.hero-overlay-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Filter Controls */
.filter-bar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    background: #FAF8F5;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
}

.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.filter-pill {
    background: #FFFFFF;
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--text-dark);
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.filter-pill:hover, .filter-pill.is-active {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 14px var(--gold-glow);
    transform: translateY(-1px);
}

.filter-selects-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.budget-select-wrap, .status-select-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid var(--border-gold);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.budget-select-wrap:focus-within, .status-select-wrap:focus-within {
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.budget-select-wrap span, .status-select-wrap span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.budget-select, .status-select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-dark);
    cursor: pointer;
    padding-right: 4px;
}

.filter-results-badge {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(197, 160, 89, 0.25);
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Portfolio Cards Grid & Smooth GPU Transitions */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    align-items: stretch;
    min-height: 200px;
}

.portfolio-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    will-change: opacity, transform;
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: var(--shadow-md);
    border-color: var(--border-gold);
}

/* Filtering Animations */
.portfolio-card.is-filtering-out {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.95);
    pointer-events: none;
}

.portfolio-card.is-filtering-in {
    opacity: 0;
    transform: translate3d(0, -8px, 0) scale(0.96);
}

.portfolio-card.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.portfolio-card.is-hidden {
    display: none !important;
}

/* Project Status Badges */
.project-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.project-status-badge.status-da-ban-giao {
    background: rgba(34, 197, 94, 0.9);
    color: #FFFFFF;
}
.project-status-badge.status-dang-thi-cong {
    background: rgba(245, 158, 11, 0.95);
    color: #FFFFFF;
}
.project-status-badge.status-dang-mo-ban {
    background: rgba(197, 160, 89, 0.95);
    color: #0F172A;
}

/* Portfolio Empty State Card */
.portfolio-empty-state {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 10px;
    transition: opacity 0.3s ease;
}
.empty-state-card {
    background: #FAF8F5;
    border: 1px dashed var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.empty-state-icon {
    font-size: 48px;
    color: var(--gold-primary);
    margin-bottom: 12px;
}
.empty-state-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.empty-state-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Mobile Filter Bar Optimizations (No lag, Horizontal Swipe) */
@media (max-width: 768px) {
    .filter-bar-wrap {
        padding: 14px 12px;
        gap: 12px;
        align-items: stretch;
    }
    .filter-pills {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .filter-pills::-webkit-scrollbar {
        display: none;
    }
    .filter-pill {
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 12.5px;
    }
    .filter-selects-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .budget-select-wrap, .status-select-wrap {
        width: 100%;
        justify-content: space-between;
        padding: 10px 14px;
        min-height: 44px;
    }
    .budget-select, .status-select {
        font-size: 13px;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.portfolio-card__img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #1E293B;
}

.portfolio-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card__img-wrap img {
    transform: scale(1.05);
}

.card-fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
}

.card-fav-btn:hover, .card-fav-btn.is-favorite {
    background: #FFF1F2;
    color: #E11D48;
    border-color: #FDA4AF;
    transform: scale(1.1);
}

.portfolio-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.portfolio-card__cat {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.portfolio-card__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 8px;
}

.portfolio-card__meta {
    display: flex;
    gap: 12px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.portfolio-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px dashed var(--border-light);
}

.stars-rating-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #F59E0B;
}

.review-modal-trigger {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--teal-primary);
    background: none;
    border: none;
    cursor: pointer;
}

.review-modal-trigger:hover {
    text-decoration: underline;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    z-index: 100000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #FFFFFF;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    padding: 22px 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-gold);
    max-height: 90vh;
    overflow-y: auto;
    z-index: 100001;
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.modal-close-btn:hover {
    background: #FEE2E2;
    color: #EF4444;
    border-color: #FCA5A5;
}

/* Form Controls */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 10px 14px;
    background: #FAF8F5;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-dark);
    outline: none;
    transition: all 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--gold-primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px var(--gold-glow);
}

/* Map Section */
.map-section-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    background: #FFFFFF;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

#projectInteractiveMap {
    width: 100%;
    height: 480px;
    z-index: 1;
}

.map-sidebar-list {
    padding: 20px;
    background: #FAF8F5;
    border-left: 1px solid var(--border-light);
    max-height: 480px;
    overflow-y: auto;
}

.map-proj-item {
    padding: 12px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.map-proj-item:hover, .map-proj-item.is-active {
    border-color: var(--gold-primary);
    box-shadow: 0 2px 10px var(--gold-glow);
    transform: translateX(2px);
}

/* Feng Shui Calculator Box */
.fengshui-box {
    background: #FFFFFF;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.fs-color-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.fs-color-chip {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(0,0,0,0.1);
}

.fs-decor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.fs-decor-card {
    background: #FAF8F5;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
    transition: all 0.2s;
}

.fs-decor-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: #94A3B8;
    padding: 60px 0 30px;
    border-top: 3px solid var(--gold-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #1E293B;
    text-align: center;
    font-size: 13px;
    color: #64748B;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .map-section-wrap, .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .nav-menu.is-active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }
}

/* ==========================================================================
   10. STATUS BADGES, PROGRESS BARS, PROJECT COMPARISON & RECOMMENDATIONS
   ========================================================================== */

/* Status Badges on Cards */
.status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-badge--da-ban-giao {
    background: rgba(15, 81, 86, 0.92);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-badge--dang-thi-cong {
    background: rgba(197, 160, 89, 0.95);
    color: #0F172A;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.status-badge--dang-mo-ban {
    background: rgba(30, 64, 175, 0.92);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Status Filter Select Wrap */
.status-select-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid var(--teal-primary);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
}

.status-select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: var(--teal-primary);
    cursor: pointer;
}

/* Progress Bar on Cards */
.project-progress-wrap {
    margin: 10px 0 4px;
    padding: 10px;
    background: #FAF8F5;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

.project-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 6px;
}

.project-progress-step {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-progress-pct {
    color: var(--gold-dark);
    font-weight: 800;
}

.project-progress-bar {
    width: 100%;
    height: 7px;
    background: #E2E8F0;
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.project-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-primary), var(--teal-primary));
    border-radius: var(--radius-pill);
    transition: width 0.8s ease-in-out;
}

/* Compare Button on Card */
.card-compare-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
    backdrop-filter: blur(4px);
}

.card-compare-btn:hover, .card-compare-btn.is-selected {
    background: var(--gold-primary);
    border-color: #FFFFFF;
    color: #0F172A;
    font-weight: 700;
    box-shadow: 0 2px 10px var(--gold-glow);
}

/* Floating Compare Action Bar */
.floating-compare-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: #0F172A;
    border: 1px solid var(--gold-primary);
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-compare-bar.is-active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.floating-compare-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
}

.floating-compare-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Comparison Table Modal */
.comparison-table-wrap {
    overflow-x: auto;
    margin-top: 16px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    background: #FFFFFF;
}

.comparison-table th, .comparison-table td {
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    vertical-align: top;
}

.comparison-table th {
    background: #FAF8F5;
    color: var(--text-dark);
    font-weight: 700;
    width: 140px;
}

.comparison-table tr:nth-child(even) td {
    background: #FCFBF9;
}

.comparison-proj-header {
    text-align: center;
}

.comparison-proj-header img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

/* ==========================================================================
   11. PORTAL STYLES (MATCHING NTT REFERENCE DESIGN)
   ========================================================================== */

/* Dark Header Navbar Override */
.header--dark {
    background: #0B132B !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
    color: #FFFFFF;
}

.header--dark .brand-logo__title {
    color: #FFFFFF !important;
}

.header--dark .nav-link {
    color: #E2E8F0;
    font-size: 13.5px;
    font-weight: 600;
}

.header--dark .nav-link:hover, .header--dark .nav-link.is-active {
    color: var(--gold-primary);
}

.dropdown-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0F172A;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    z-index: 200;
}

.dropdown-link:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: #CBD5E1;
    font-size: 13px;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: rgba(197, 160, 89, 0.15);
    color: var(--gold-primary);
}

/* Floating Contact Widget Sidebar (Right side) */
.floating-contact-sidebar {
    position: fixed;
    right: 14px;
    top: 40%;
    transform: translateY(-50%);
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-contact-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.floating-contact-btn:hover {
    transform: scale(1.12);
}

.floating-contact-btn--call { background: #22C55E; }
.floating-contact-btn--msg { background: #0084FF; }
.floating-contact-btn--zalo { background: #0068FF; font-size: 11px; font-weight: 800; }
.floating-contact-btn--tiktok { background: #000000; border: 1px solid #333; }
.floating-contact-btn--user { background: #3B82F6; }

/* Red Floating Booking Button (Bottom Right) */
.floating-booking-red-btn {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 9989;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #FFFFFF !important;
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.45);
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}

.floating-booking-red-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.6);
}

/* Luxury Hero Banner with Slider & Booking Box */
.portal-hero-section {
    position: relative;
    background-color: #060B18;
    padding: 60px 0 70px;
    color: #FFFFFF;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

/* Hero Background Slide Layers */
.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease-out;
    transform: scale(1.04);
    z-index: 0;
}

.hero-bg-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.portal-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(6, 11, 24, 0.45) 0%, rgba(6, 11, 24, 0.85) 75%, rgba(6, 11, 24, 0.95) 100%);
    z-index: 2;
}

/* Slider Navigation Arrows */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-slider-arrow:hover {
    background: var(--gold-primary);
    color: #0F172A;
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.hero-slider-arrow--prev {
    left: 24px;
}

.hero-slider-arrow--next {
    right: 24px;
}

/* Slider Dots Pagination */
.hero-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    margin-bottom: 22px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.is-active, .hero-dot:hover {
    background: var(--gold-primary);
    width: 24px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.portal-hero-container {
    position: relative;
    z-index: 3;
    max-width: 960px;
    margin: 0 auto;
}

.portal-hero-title-group {
    text-align: center;
    margin: 0 auto 12px;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portal-hero-tag {
    color: var(--gold-primary);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 4px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.portal-hero-main-title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 500;
    letter-spacing: 0.6px;
    line-height: 1.35;
    color: #FFFFFF;
    margin-bottom: 10px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.portal-hero-sub-text {
    font-size: 14.5px;
    font-weight: 400;
    color: #E2E8F0;
    letter-spacing: 0.3px;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 6px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    opacity: 0.92;
}

/* Glassmorphism & Borderless Booking Box */
.portal-booking-box {
    background: rgba(11, 19, 43, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 18px 24px;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.portal-booking-box:hover {
    background: rgba(11, 19, 43, 0.68);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
}

.portal-booking-header {
    text-align: center;
    margin-bottom: 12px;
}

.portal-booking-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #FFFFFF;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-booking-sub {
    font-size: 11.5px;
    color: #94A3B8;
    line-height: 1.4;
}

.portal-booking-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.portal-booking-field {
    position: relative;
    flex: 1.2;
}

.portal-booking-field--select {
    flex: 1.3;
}

.portal-booking-field-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-primary);
    font-size: 15px;
    pointer-events: none;
}

.portal-booking-input,
.portal-booking-select {
    width: 100%;
    padding: 10px 12px 10px 34px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 12.5px;
    color: #FFFFFF;
    outline: none;
    transition: all 0.2s ease;
}

.portal-booking-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.portal-booking-select option {
    background: #0B132B;
    color: #FFFFFF;
}

.portal-booking-input::placeholder {
    color: #94A3B8;
}

.portal-booking-input:focus,
.portal-booking-select:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--gold-primary);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.portal-booking-btn {
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 8px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    transition: all 0.25s ease;
}

.portal-booking-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
    .portal-hero-main-title {
        font-size: 24px;
    }
    .portal-hero-sub-text {
        font-size: 13px;
    }
    .portal-booking-form {
        flex-direction: column;
        gap: 8px;
    }
    .portal-booking-field,
    .portal-booking-field--select,
    .portal-booking-btn {
        width: 100%;
    }
    .portal-booking-btn {
        justify-content: center;
        padding: 12px;
    }
    .hero-slider-arrow {
        display: none;
    }
}

/* Carousel Control Buttons */
.carousel-nav-btns {
    display: flex;
    gap: 8px;
}

.carousel-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--teal-border);
    background: #FFFFFF;
    color: var(--teal-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
    background: var(--teal-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

/* Poster & News Carousel Wrappers — No Horizontal Scrollbars */
.poster-carousel-wrapper, .news-carousel-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 0px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.poster-carousel-wrapper::-webkit-scrollbar, .news-carousel-wrapper::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.poster-carousel-track {
    display: flex;
    gap: 18px;
    width: max-content;
}

.poster-card {
    position: relative;
    width: 220px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.35s ease;
    background: #0F172A;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.poster-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-primary);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.poster-card:hover img {
    transform: scale(1.08);
}

.poster-card-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
}

.poster-card-tag {
    background: rgba(15, 23, 42, 0.85);
    color: var(--gold-primary);
    border: 1px solid var(--border-gold);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.poster-card-title {
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Section Header Style matching NTT */
.ntt-section-header {
    margin-bottom: 28px;
}

.ntt-section-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
}

.ntt-section-desc {
    font-size: 13.5px;
    color: #475569;
    max-width: 900px;
    line-height: 1.6;
}

/* Project Posters Grid / Carousel */
.posters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.poster-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    background: #0F172A;
    aspect-ratio: 3/4;
}

.poster-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-md);
}

.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poster-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
    color: #0F172A;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Location Cards Grid */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.location-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    cursor: pointer;
}

.location-card:hover {
    border-color: var(--teal-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.location-card-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.location-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.location-card-sub {
    font-size: 12px;
    color: #64748B;
}

/* Wide Team Banner */
.team-banner-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
    height: 280px;
}

.team-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    padding: 24px;
}

.team-banner-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.team-banner-desc {
    font-size: 13.5px;
    max-width: 700px;
    color: #CBD5E1;
}

/* Business Field Cards (4 columns) */
.business-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.business-field-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.business-field-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.business-field-title {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.business-field-sub {
    font-size: 11.5px;
    color: #64748B;
}

/* Tools Ecosystem Section */
.tools-banner-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--border-gold);
    height: 240px;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.tools-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.gold-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.gold-tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    padding: 24px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    cursor: pointer;
}

.gold-tool-item:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gold-tool-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    background: var(--gold-light);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 12px;
}

.gold-tool-title {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.gold-tool-sub {
    font-size: 12px;
    color: #64748B;
}

/* Developers Carousel Logos */
.developers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    align-items: center;
}

.developer-logo-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    font-size: 13px;
    font-weight: 800;
    color: var(--teal-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.developer-logo-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

/* News Grid & Carousel */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* News Carousel Track & Card Spacing */
.news-carousel-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding: 8px 2px 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.news-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

#newsCarouselTrack {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 6px 4px 16px;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

#newsCarouselTrack .news-card {
    width: 295px;
    flex-shrink: 0;
    height: auto;
    min-height: 390px;
    margin: 0;
}

.news-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.news-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(197, 160, 89, 0.22);
}

.news-card-img-wrap {
    position: relative;
    width: 100%;
    height: 185px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0B132B;
}

.news-card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.08);
}

.news-card-body {
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.news-card:hover .news-card-title {
    color: var(--gold-dark);
}

.news-card-desc {
    font-size: 12.5px;
    color: #64748B;
    line-height: 1.55;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #F1F5F9;
    font-size: 11px;
    color: #94A3B8;
    font-weight: 600;
    margin-top: auto;
}

.news-card-footer .news-read-more {
    color: var(--teal-primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: gap 0.2s, color 0.2s;
}

.news-card:hover .news-card-footer .news-read-more {
    color: var(--gold-dark);
    gap: 6px;
}

/* Tablet & Mobile responsive adjustments for News Carousel */
@media (max-width: 992px) {
    #newsCarouselTrack {
        gap: 16px;
        padding: 4px 2px 14px;
    }
    #newsCarouselTrack .news-card {
        width: 270px;
        min-height: 375px;
    }
    .news-card-img-wrap {
        height: 170px;
    }
    .news-card-body {
        padding: 14px 14px 12px;
    }
    .news-card-title {
        font-size: 14px;
    }
    .news-card-desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    #newsCarouselTrack {
        gap: 14px;
    }
    #newsCarouselTrack .news-card {
        width: 250px;
        min-height: 360px;
    }
    .news-card-img-wrap {
        height: 155px;
    }
    .news-card-body {
        padding: 12px 12px 10px;
    }
}

/* Multi-column Ice Blue Footer (Matching Reference Screenshot) */
.portal-footer {
    background: #EBF2F8;
    color: #334155;
    padding: 48px 0 24px;
    font-size: 13px;
    border-top: 1px solid #D0DFEE;
}

.portal-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.portal-footer-title {
    font-size: 14px;
    font-weight: 800;
    color: #0F172A;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.portal-footer-links {
    list-style: none;
}

.portal-footer-links li {
    margin-bottom: 8px;
}

.portal-footer-links a {
    color: #475569;
    transition: color 0.2s ease;
}

.portal-footer-links a:hover {
    color: var(--teal-primary);
    font-weight: 600;
}

.social-icons-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F172A;
    font-size: 16px;
}

.hotline-banner-btn {
    background: #0B132B;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.app-download-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    font-weight: 700;
    color: #0F172A;
}

.portal-copyright-bar {
    background: #0B132B;
    color: #94A3B8;
    text-align: center;
    padding: 14px 20px;
    font-size: 12.5px;
}

/* ==========================================================================
   CALCULATION PORTAL TABS & CARDS
   ========================================================================== */
.calc-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #0B132B;
    padding: 10px;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-gold);
}

.calc-tab-btn {
    flex: 1;
    min-width: 180px;
    background: transparent;
    border: 1px solid transparent;
    color: #94A3B8;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.calc-tab-btn i {
    font-size: 18px;
    color: var(--gold-primary);
}

.calc-tab-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.calc-tab-btn.is-active {
    background: var(--gold-primary);
    color: #0F172A;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
}

.calc-tab-btn.is-active i {
    color: #0F172A;
}

.calc-tab-pane {
    display: none;
    animation: calcPaneFade 0.35s ease-in-out forwards;
}

.calc-tab-pane.is-active {
    display: block;
}

@keyframes calcPaneFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.calc-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

@media (max-width: 900px) {
    .calc-layout-grid {
        grid-template-columns: 1fr;
    }
}

.calc-card-panel {
    background: #FFFFFF;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.calc-result-card {
    background: #FAF8F5;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.calc-result-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #0F172A;
    margin: 8px 0;
}

.calc-breakdown-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 12.5px;
}

.calc-breakdown-table th, .calc-breakdown-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
}

.calc-breakdown-table th {
    background: #E2E8F0;
    color: #0F172A;
    font-weight: 700;
}

.luban-ruler-display {
    background: #0F172A;
    color: #FFFFFF;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gold-primary);
    text-align: center;
    margin-top: 12px;
}

.luban-badge-good {
    background: #16A34A;
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 12px;
    display: inline-block;
}

/* ==========================================================================
   TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-item {
    pointer-events: auto;
    min-width: 280px;
    max-width: 380px;
    background: #0F172A;
    color: #FFFFFF;
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-item.toast-out {
    animation: toastSlideOut 0.3s ease forwards;
}

.toast-item i {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-item--success i { color: #22C55E; }
.toast-item--info i { color: #38BDF8; }
.toast-item--warning i { color: #F59E0B; }

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(50px) scale(0.95); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastSlideOut {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to { opacity: 0; transform: translateX(40px) scale(0.9); }
}

/* ==========================================================================
   HEADER QUICK SEARCH BAR
   ========================================================================== */
.header-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 6px 14px;
    width: 220px;
    transition: all 0.25s ease;
}

.header-search-bar:focus-within {
    width: 300px;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold-primary);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.3);
}

.header-search-bar i.search-icon {
    color: var(--gold-primary);
    font-size: 16px;
    margin-right: 8px;
}

.header-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 500;
    width: 100%;
}

.header-search-input::placeholder {
    color: #94A3B8;
}

.header-search-clear {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 16px;
    cursor: pointer;
    display: none;
    padding: 0 4px;
}

.header-search-clear:hover {
    color: #FFF;
}

.header-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    min-width: 320px;
    background: #0F172A;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    padding: 10px;
}

.header-search-dropdown.is-active {
    display: block;
    animation: searchDropFade 0.2s ease forwards;
}

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

.search-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
}

.search-item-row:hover {
    background: rgba(255, 255, 255, 0.08);
}

.search-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
}

.search-item-info {
    flex: 1;
    overflow: hidden;
}

.search-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-item-meta {
    font-size: 11px;
    color: var(--gold-primary);
    font-weight: 600;
}

/* Responsive search bar on mobile */
@media (max-width: 768px) {
    .header-search-bar {
        width: 140px;
    }
    .header-search-bar:focus-within {
        width: 200px;
    }
    .header-search-dropdown {
        left: -40px;
        min-width: 280px;
    }
}

/* ==========================================================================
   AI CHATBOT WIDGET & CHANNEL SWITCHER
   ========================================================================== */
.ai-chatbot-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
}

.ai-chatbot-trigger-btn {
    background: linear-gradient(135deg, #0B132B 0%, #1E293B 100%);
    border: 1px solid var(--gold-primary);
    color: #FFFFFF;
    padding: 12px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(11, 19, 43, 0.4);
    transition: all 0.3s ease;
}

.ai-chatbot-trigger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.4);
    border-color: #FFF;
}

.ai-chatbot-trigger-btn i {
    font-size: 20px;
    color: var(--gold-primary);
}

.ai-badge-pulse {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.ai-chat-window {
    position: fixed;
    bottom: 84px;
    left: 24px;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 520px;
    background: #FFFFFF;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
    z-index: 10000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: aiChatPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ai-chat-window.is-active {
    display: flex;
}

@keyframes aiChatPop {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-chat-header {
    background: #0B132B;
    color: #FFFFFF;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-gold);
}

.ai-chat-title {
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-chat-close-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 20px;
    cursor: pointer;
}

.ai-chat-close-btn:hover { color: #FFF; }

/* Channel switcher bar inside AI Chat */
.ai-channel-switcher {
    display: flex;
    background: #0F172A;
    padding: 6px;
    gap: 4px;
    border-bottom: 1px solid var(--border-gold);
}

.ai-channel-btn {
    flex: 1;
    background: transparent;
    border: 1px solid transparent;
    color: #94A3B8;
    padding: 6px 4px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ai-channel-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.ai-channel-btn.is-active {
    background: var(--gold-primary);
    color: #0F172A;
}

.ai-chat-body {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    background: #FAF8F5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-msg-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.5;
}

.ai-msg-bubble--ai {
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.ai-msg-bubble--user {
    background: #0B132B;
    color: #FFFFFF;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ai-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.ai-chip-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-gold);
    color: #0F172A;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-chip-btn:hover {
    background: var(--gold-primary);
    color: #0F172A;
}

.ai-chat-footer {
    padding: 10px;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    display: flex;
    gap: 8px;
}

.ai-chat-input {
    flex: 1;
    border: 1px solid #CBD5E1;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 12.5px;
    outline: none;
}

.ai-chat-input:focus {
    border-color: var(--gold-primary);
}

.ai-chat-send-btn {
    background: var(--gold-primary);
    border: none;
    color: #0F172A;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
}

/* ==========================================================================
   PRODUCT & PROJECT DETAIL PAGE STYLES
   ========================================================================== */
.detail-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    margin-bottom: 40px;
}

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

.detail-main-img-wrap {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-md);
}

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

.detail-thumbs-row {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.detail-thumb-item {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.detail-thumb-item.is-active, .detail-thumb-item:hover {
    border-color: var(--gold-primary);
    opacity: 1;
}

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

.detail-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.detail-specs-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
}

.detail-specs-table td:first-child {
    font-weight: 700;
    color: #0F172A;
    width: 35%;
}

.detail-specs-table td:last-child {
    color: #475569;
}

/* ==========================================================================
   ENHANCED 2-TIER HEADER, TREE NAVIGATION & MEGA DROPDOWN MENU
   ========================================================================== */
.header {
    position: relative !important;
    top: auto !important;
    z-index: 900;
    transition: all 0.3s ease;
}

.header--dark {
    background: #0B132B !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* TIER 1: Top Utility Bar */
.header-top-bar {
    background: #060B18;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    font-size: 11.5px;
    color: #94A3B8;
    padding: 3px 0;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.header-top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 26px;
}

.header-top-bar__left,
.header-top-bar__right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-top-bar__link {
    color: #CBD5E1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.header-top-bar__link:hover {
    color: var(--gold-primary);
}

.header-top-bar__badge {
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--gold-primary);
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 10.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.top-nav-link {
    color: #94A3B8;
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.top-nav-link:hover {
    color: #FFFFFF;
}

.top-auth-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: var(--gold-primary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.top-auth-btn:hover {
    background: var(--gold-primary);
    color: #0F172A;
}

/* TIER 2: Main Navigation Bar */
.header-main-bar {
    background: #0B132B;
    padding: 0;
}

.header--dark .nav-link {
    color: #CBD5E1;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 12px 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.header--dark .nav-link:hover,
.header--dark .nav-link.is-active {
    color: var(--gold-primary);
}

.header--dark .nav-link.is-active::after {
    background: var(--gold-primary);
    height: 2px;
}

/* Dropdown Container */
.dropdown-link {
    position: relative;
}

.dropdown-link > .nav-link i.ph-caret-down {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.dropdown-link.is-open > .nav-link i.ph-caret-down {
    transform: rotate(180deg);
}

/* Tree-Style Dropdown Menu */
.tree-dropdown-menu,
.dropdown-menu {
    position: absolute;
    top: calc(100% - 6px);
    left: 0;
    min-width: 290px;
    background: #0D1730;
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
    padding: 10px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.25s;
    z-index: 10002;
    pointer-events: none;
}

/* Invisible bridge so mouse hover doesn't drop */
.tree-dropdown-menu::before,
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.dropdown-link:hover > .tree-dropdown-menu,
.dropdown-link:hover > .dropdown-menu,
.dropdown-link.is-open > .tree-dropdown-menu,
.dropdown-link.is-open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Tree Node Grouping */
.tree-node-header {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--gold-primary);
    letter-spacing: 0.8px;
    padding: 8px 12px 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 6px;
}

.tree-node-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    color: #CBD5E1;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.tree-node-item:hover {
    background: rgba(197, 160, 89, 0.14);
    color: #FFFFFF;
    border-left-color: var(--gold-primary);
    padding-left: 16px;
}

.tree-node-item i {
    font-size: 15px;
    color: var(--gold-primary);
    margin-right: 6px;
}

.tree-sub-branch {
    padding-left: 14px;
    margin-left: 16px;
    border-left: 1px dashed rgba(197, 160, 89, 0.3);
}

.tree-sub-item {
    display: block;
    padding: 6px 12px;
    font-size: 12px;
    color: #94A3B8;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tree-sub-item:hover {
    color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(3px);
}

/* Mega Dropdown Grid */
.mega-dropdown-menu {
    min-width: 600px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px;
}

.mega-col-title {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mobile Navigation Bar & Tree Submenus */
body.nav-is-locked {
    overflow: hidden !important;
}

@media (max-width: 991px) {
    .header-top-bar {
        display: none;
    }

    .menu-toggle-btn,
    .mobile-toggle {
        display: inline-flex !important;
    }

    .header-cta-btn {
        padding: 6px 12px;
        font-size: 11.5px;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: calc(100vh - 72px);
        background: #080F20;
        background: linear-gradient(180deg, #091024 0%, #060B18 100%);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 100px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: none;
        z-index: 10001;
        gap: 0;
        border-top: 1px solid rgba(197, 160, 89, 0.3);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    }

    .nav-menu.is-active {
        display: flex !important;
        animation: navSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

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

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .header--dark .nav-link {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 4px;
        font-size: 15px;
        font-weight: 700;
        color: #F8FAFC !important;
        cursor: pointer;
    }

    .header--dark .nav-link:hover,
    .header--dark .nav-link.is-active {
        color: var(--gold-primary) !important;
    }

    .header--dark .nav-link.is-active::after {
        display: none;
    }

    .dropdown-link > .nav-link i.ph-caret-down {
        font-size: 16px;
        color: var(--gold-primary);
        transition: transform 0.3s ease;
        padding: 4px;
    }

    .dropdown-link.is-open > .nav-link i.ph-caret-down {
        transform: rotate(180deg);
    }

    .tree-dropdown-menu,
    .dropdown-menu {
        position: static !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(197, 160, 89, 0.25) !important;
        border-radius: 10px;
        padding: 10px;
        margin: 4px 0 16px;
        display: none !important;
        pointer-events: auto;
    }

    .dropdown-link.is-open > .tree-dropdown-menu,
    .dropdown-link.is-open > .dropdown-menu {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        animation: fadeIn 0.25s ease;
    }

    .tree-node-item {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 13.5px;
        color: #CBD5E1;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.02);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }

    .tree-node-item:active,
    .tree-node-item:hover {
        background: rgba(197, 160, 89, 0.15);
        color: #FFFFFF;
        border-left: 3px solid var(--gold-primary);
    }

    .mega-dropdown-menu {
        min-width: 100%;
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 576px) {
    .header-cta-btn {
        display: none;
    }
    
    .brand-logo__tag {
        display: none;
    }

    .brand-logo__title {
        font-size: 16px;
    }

    .brand-logo__symbol {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}

/* ==========================================================================
   EXPANDED PORTAL FOOTER STYLES
   ========================================================================== */
.portal-footer {
    background: #070D1D;
    color: #94A3B8;
    padding: 60px 0 24px;
    border-top: 1px solid rgba(197, 160, 89, 0.3);
    font-size: 13px;
}

.portal-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .portal-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .portal-footer-grid {
        grid-template-columns: 1fr;
    }
}

.portal-footer-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

.portal-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gold-primary);
}

.portal-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portal-footer-links li {
    margin-bottom: 10px;
}

.portal-footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.portal-footer-links a:hover {
    color: var(--gold-primary);
    transform: translateX(4px);
}

.portal-footer-badges-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
}

.footer-cert-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(197, 160, 89, 0.25);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    color: #CBD5E1;
}

.portal-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #64748B;
}

/* ==========================================================================
   NEWS & ARTICLES STYLES
   ========================================================================== */
.news-hero-featured {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    background: #FFFFFF;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .news-hero-featured {
        grid-template-columns: 1fr;
    }
}

.news-featured-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.news-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.news-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-gold);
}

.news-card-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-img-wrap img {
    transform: scale(1.06);
}

.news-meta-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11.5px;
    color: #64748B;
    margin-bottom: 8px;
}

.article-content-wrapper {
    max-width: 840px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

.article-toc-box {
    background: #FAF8F5;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 24px 0;
}

.kts-quote-box {
    background: linear-gradient(135deg, #0F172A 0%, #0B132B 100%);
    border-left: 4px solid var(--gold-primary);
    color: #FFFFFF;
    padding: 24px;
    border-radius: 8px;
    margin: 28px 0;
    font-style: italic;
}

/* Timeline & Company Process */
.process-timeline {
    position: relative;
    padding-left: 32px;
    margin: 30px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 12px;
    width: 2px;
    background: var(--border-gold);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

/* ==========================================================================
   SLEEK TYPOGRAPHY & NEW HOMEPAGE BLOCKS STYLES
   ========================================================================== */


/* BLOCK 1: 360 VR Virtual Tour */
.vr360-container {
    background: #0B132B;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(11, 19, 43, 0.3);
}

.vr360-header {
    padding: 24px 30px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.vr360-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vr360-tab-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #CBD5E1;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.25s ease;
}

.vr360-tab-btn.is-active, .vr360-tab-btn:hover {
    background: var(--gold-primary);
    color: #0F172A;
    border-color: var(--gold-primary);
}

.vr360-viewer-wrap {
    position: relative;
    width: 100%;
    height: 480px;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
}

.vr360-hotspot {
    position: absolute;
    width: 32px;
    height: 32px;
    background: rgba(197, 160, 89, 0.9);
    color: #0F172A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 0 0 8px rgba(197, 160, 89, 0.3);
    animation: hotspotPulse 2s infinite;
    z-index: 10;
}

@keyframes hotspotPulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

.vr360-hotspot-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: 380px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    color: #FFF;
    z-index: 20;
    display: none;
}

.vr360-hotspot-card.is-active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* BLOCK 2: Material & Craftsmanship */
.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
    align-items: stretch;
}

.material-card {
    background: #FFFFFF;
    border: none;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.material-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.material-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.material-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.material-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.material-swatch-box {
    background: #FAF8F5;
    border: none;
    border-radius: 0px;
    padding: 24px;
    margin-top: 24px;
}

.swatch-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 14px 0;
}

.swatch-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 0px;
    border: none;
    background: #FFF;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.swatch-btn.is-active, .swatch-btn:hover {
    background: var(--gold-primary);
    color: #FFFFFF;
}

.swatch-circle {
    width: 16px;
    height: 16px;
    border-radius: 0px;
    border: 1px solid rgba(0,0,0,0.1);
}

/* BLOCK 3: Quick Estimator Calculator */
.estimator-card {
    background: linear-gradient(135deg, #0B132B 0%, #0F172A 100%);
    border: none;
    border-radius: 0px;
    padding: 36px;
    color: #FFFFFF;
    box-shadow: 0 16px 40px rgba(11, 19, 43, 0.25);
}

.estimator-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
}

@media (max-width: 860px) {
    .estimator-grid {
        grid-template-columns: 1fr;
    }
}

.est-input-group {
    margin-bottom: 20px;
}

.est-label {
    font-size: 13px;
    color: #CBD5E1;
    margin-bottom: 8px;
    display: block;
    font-weight: 300;
}

.est-select, .est-range {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 0px;
    color: #FFF;
    font-size: 14px;
    outline: none;
}

.est-result-box {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 0px;
    padding: 24px;
    text-align: center;
}

.est-price-val {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    color: var(--gold-primary);
    margin: 10px 0;
}

/* BLOCK 4: Architectural Styles Comparison */
.design-styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.style-compare-card {
    background: #FFFFFF;
    border: none;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.style-compare-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.style-compare-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.style-compare-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* BLOCK 5: KTS & Craftsmen Team Spotlight */
.architects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.architect-card {
    background: #FFFFFF;
    border: none;
    border-radius: 0px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.architect-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.architect-avatar {
    width: 110px;
    height: 110px;
    border-radius: 0px;
    object-fit: cover;
    margin: 0 auto 16px;
    border: none;
}

.architect-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
}

.architect-role {
    font-size: 12.5px;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

/* BLOCK 6: VIP Reviews Slider */
.review-card {
    background: #FFFFFF;
    border: none;
    border-radius: 0px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.review-quote-icon {
    font-size: 32px;
    color: var(--gold-primary);
    opacity: 0.5;
    margin-bottom: 12px;
}

.review-text {
    font-size: 14.5px;
    font-weight: 300;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* BLOCK 7: Banking Partners */
.bank-partner-bar {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.bank-logo-item {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #475569;
    letter-spacing: 1px;
}

/* ==========================================================================
   HEADER 2 VÙNG (TWO-TIER HEADER LAYOUT)
   ========================================================================== */
.header--two-tier {
    position: relative !important;
    top: auto !important;
    padding: 0;
    margin-bottom: 0;
    background: rgba(11, 19, 43, 0.98);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 900;
}

.header-top-bar {
    background: #060B18;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding: 3px 0;
    font-size: 11.5px;
    color: #94A3B8;
}

.header-top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 26px;
}

.header-top-bar__left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-top-bar__link {
    color: #CBD5E1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    font-size: 11.5px;
    transition: color 0.2s ease;
}

.header-top-bar__link:hover {
    color: var(--gold-primary);
}

.header-top-bar__badge {
    background: rgba(197, 160, 89, 0.15);
    color: var(--gold-primary);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 10.5px;
    font-weight: 600;
}

.header-top-bar__right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-nav-link {
    color: #E2E8F0;
    font-weight: 500;
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.top-nav-link:hover {
    color: var(--gold-primary);
}

.top-auth-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
    color: #0F172A !important;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 11px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.top-auth-btn:hover {
    background: #FFFFFF;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.4);
}

.header-main-bar {
    padding: 0;
}

.header-main-bar .header__inner {
    height: 52px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Hide Old Vertical Floating Contact Sidebar */
.floating-contact-sidebar {
    display: none !important;
}

/* ==========================================================================
   FLOATING AI ROBOT ASSISTANT WIDGET & COMPACT CONSULTATION DRAWER
   ========================================================================== */
.floating-ai-robot-launcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9900;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.floating-ai-robot-launcher:hover {
    transform: scale(1.05);
}

.ai-robot-avatar-badge {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F172A 0%, #0B132B 100%);
    border: 1.5px solid var(--gold-primary);
    box-shadow: 0 8px 20px rgba(11, 19, 43, 0.5), 0 0 14px rgba(197, 160, 89, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 22px;
    animation: robotPulse 3s infinite;
}

@keyframes robotPulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(11, 19, 43, 0.5), 0 0 14px rgba(197, 160, 89, 0.45); }
    50% { box-shadow: 0 8px 20px rgba(11, 19, 43, 0.5), 0 0 22px rgba(197, 160, 89, 0.75); }
}

.ai-robot-online-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    background: #10B981;
    border: 2px solid #0F172A;
    border-radius: 50%;
}

.ai-robot-label-box {
    background: #0F172A;
    border: 1px solid var(--border-gold);
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    font-size: 11.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* AI Consultation Floating Panel (Ultra-Compact & Space-Saving) */
.ai-consult-drawer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    top: auto;
    width: 350px;
    max-width: calc(100vw - 28px);
    height: 490px;
    max-height: calc(100vh - 80px);
    background: #0B132B;
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    z-index: 99900;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.94) translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    color: #E2E8F0;
}

.ai-consult-drawer.is-active {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
    right: 20px;
}

.ai-drawer-overlay {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.ai-drawer-overlay.is-active {
    display: none !important;
    pointer-events: none !important;
}

/* Compact Drawer Header */
.ai-drawer-header {
    background: #060B18;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.ai-drawer-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-drawer-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 15px;
}

.ai-drawer-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94A3B8;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-drawer-close-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #EF4444;
    border-color: #EF4444;
}

/* All Contacts Toolbar in AI Chat Header */
.ai-drawer-contacts-bar {
    background: #0F172A;
    padding: 4px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 0;
}

.ai-drawer-contacts-bar::-webkit-scrollbar {
    display: none;
}

.ai-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 10px;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

.ai-contact-btn:hover {
    transform: translateY(-1px);
}

.ai-contact-btn--call { background: #059669; }
.ai-contact-btn--zalo { background: #0068FF; }
.ai-contact-btn--msg { background: #0084FF; }
.ai-contact-btn--tiktok { background: #000000; border: 1px solid #334155; }
.ai-contact-btn--booking { background: var(--gold-primary); color: #0F172A; font-weight: 700; }

/* Research Tools Toolbar */
.ai-drawer-research-tools {
    padding: 5px 8px;
    background: #070D1E;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 0;
}

.ai-drawer-research-tools::-webkit-scrollbar {
    display: none;
}

.research-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.25);
    color: #F1F5F9;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.research-pill:hover, .research-pill.is-active {
    background: var(--gold-primary);
    color: #0F172A;
    font-weight: 700;
}

/* Chat Logs Container */
.ai-drawer-logs {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
}

.ai-msg-bubble {
    max-width: 92%;
    padding: 7px 11px;
    border-radius: 10px;
    font-size: 11.5px;
    line-height: 1.45;
}

.ai-msg-bubble--user {
    align-self: flex-end;
    background: var(--gold-primary);
    color: #0F172A;
    font-weight: 600;
    border-bottom-right-radius: 2px;
}

.ai-msg-bubble--ai {
    align-self: flex-start;
    background: #1E293B;
    color: #F8FAFC;
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-bottom-left-radius: 2px;
}

/* Product Recommendation Card inside Chat */
.ai-card-recommendation {
    background: #0F172A;
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.ai-card-rec-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.ai-card-rec-body {
    padding: 8px 10px;
}

.ai-card-rec-title {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 3px;
}

.ai-card-rec-price {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--gold-primary);
    margin-bottom: 6px;
}

.ai-card-rec-actions {
    display: flex;
    gap: 6px;
}

/* Deal Closing Card inside Chat */
.ai-card-deal-closing {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border: 1px solid var(--gold-primary);
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 8px;
}

.ai-deal-stepper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0 10px;
}

.ai-deal-step-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #CBD5E1;
}

.ai-deal-step-num {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold-primary);
    color: #0F172A;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Chat Input Bar */
.ai-drawer-input-bar {
    padding: 6px 10px;
    background: #060B18;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    display: flex;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
}

.ai-drawer-input {
    flex: 1;
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 6px 10px;
    color: #FFFFFF;
    font-size: 11.5px;
    outline: none;
}

.ai-drawer-input:focus {
    border-color: var(--gold-primary);
}

.ai-drawer-send-btn {
    background: var(--gold-primary);
    color: #0F172A;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.ai-drawer-send-btn:hover {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .ai-consult-drawer {
        bottom: 0;
        right: 0;
        left: 0;
        top: auto;
        width: 100vw;
        height: 75vh;
        max-width: 100vw;
        max-height: 75vh;
        border-radius: 18px 18px 0 0;
        border-bottom: none;
        transform: translateY(100%);
    }

    .ai-consult-drawer.is-active {
        transform: translateY(0);
        right: 0;
    }
}

/* Auth / Login Modal */
.auth-modal-card {
    background: #0B132B;
    border: 1px solid var(--border-gold);
    color: #FFFFFF;
    border-radius: 16px;
    padding: 28px;
    max-width: 440px;
    width: 90%;
}

.auth-tabs-row {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.auth-tab-btn {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.auth-tab-btn.is-active {
    color: var(--gold-primary);
    border-bottom-color: var(--gold-primary);
}

.auth-input-group {
    margin-bottom: 14px;
}

.auth-input-group label {
    display: block;
    font-size: 12px;
    color: #CBD5E1;
    margin-bottom: 6px;
}

.auth-input {
    width: 100%;
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 0px;
    padding: 10px 14px;
    color: #FFFFFF;
    font-size: 13px;
    outline: none;
}

/* ==========================================================================
   NEWS DETAIL 2-COLUMN LAYOUT WITH TREE NAVIGATION SIDEBAR
   ========================================================================== */
.news-detail-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 36px;
    align-items: start;
}

@media (max-width: 991px) {
    .news-detail-layout {
        grid-template-columns: 1fr;
    }
}

.news-tree-sidebar {
    position: sticky;
    top: 100px;
}

.news-tree-box {
    background: #0B132B;
    border: 1px solid var(--border-gold);
    padding: 22px;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.news-tree-title {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.news-tree-nodes-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-tree-branch {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: all 0.2s ease;
}

.news-tree-branch.is-expanded {
    background: rgba(255, 255, 255, 0.05);
}

.news-tree-head {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #F8FAFC;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.news-tree-head:hover {
    color: var(--gold-primary);
    background: rgba(197, 160, 89, 0.1);
}

.tree-arrow {
    transition: transform 0.2s ease;
    color: var(--gold-primary);
}

.news-tree-branch.is-expanded .tree-arrow {
    transform: rotate(180deg);
}

.news-tree-sub {
    display: none;
    padding: 6px 12px 10px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.news-tree-branch.is-expanded .news-tree-sub {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.news-tree-item {
    padding: 7px 10px;
    font-size: 12px;
    color: #94A3B8;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.news-tree-item:hover, .news-tree-item.is-active {
    color: #FFFFFF;
    background: rgba(197, 160, 89, 0.15);
    border-left-color: var(--gold-primary);
}

.tree-badge {
    background: #EF4444;
    color: #FFF;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 6px;
    text-transform: uppercase;
}

.tree-badge--active {
    background: var(--gold-primary);
    color: #0F172A;
}

/* Related Articles Grid */
.news-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.news-related-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.news-related-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.news-related-img-wrap {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.news-related-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-related-card:hover .news-related-img-wrap img {
    transform: scale(1.05);
}

.news-related-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #0F172A;
    color: #FFF;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    letter-spacing: 0.5px;
}

.news-related-badge--gold {
    background: var(--gold-primary);
    color: #0F172A;
}

.news-related-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.news-related-meta {
    font-size: 11.5px;
    color: #64748B;
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.news-related-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-related-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s;
}

.news-related-title a:hover {
    color: var(--gold-primary);
}

.news-related-desc {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-related-link {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--teal-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-related-link:hover {
    color: var(--gold-primary);
}

/* ==========================================================================
   PARTNER & AFFILIATE MANAGEMENT PORTAL MODAL
   ========================================================================== */
.modal-partner-portal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-partner-portal.is-active {
    display: flex;
}

.partner-portal-card {
    background: #0B132B;
    border: 1px solid var(--border-gold);
    color: #FFFFFF;
    width: 100%;
    max-width: 1080px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    padding: 32px;
}

.partner-header-box {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-user-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.partner-avatar {
    width: 60px;
    height: 60px;
    background: var(--gold-primary);
    color: #0F172A;
    font-size: 24px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-user-name {
    font-size: 20px;
    font-weight: 800;
    color: #FFF;
    margin-bottom: 4px;
}

.partner-tier-badge {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A059 100%);
    color: #0F172A;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    text-transform: uppercase;
    display: inline-block;
}

.partner-wallet-box {
    text-align: right;
}

@media (max-width: 600px) {
    .partner-wallet-box { text-align: left; }
}

.partner-wallet-amount {
    font-size: 26px;
    font-weight: 900;
    color: var(--gold-primary);
    font-family: var(--font-serif);
}

/* Partner Tab Navigation */
.partner-tab-nav {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.partner-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #94A3B8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.partner-tab-btn:hover, .partner-tab-btn.is-active {
    background: var(--gold-primary);
    color: #0F172A;
    border-color: var(--gold-primary);
}

.partner-tab-pane {
    display: none;
}

.partner-tab-pane.is-active {
    display: block;
}

/* Storytelling Cards in Partner Portal */
.story-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 20px;
}

.story-card {
    background: #1E293B;
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.story-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 8px;
    line-height: 1.4;
}

.story-card-excerpt {
    font-size: 12.5px;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Partner Portal Advanced Component Styles */
.partner-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-links-group-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 18px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(197, 160, 89, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
}

.partner-link-card {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.partner-link-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: #243248;
}

.partner-link-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.partner-link-card-desc {
    font-size: 11.5px;
    color: #94A3B8;
    margin-bottom: 10px;
    line-height: 1.4;
}

.partner-link-url-box {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 11.5px;
    color: var(--gold-primary);
    font-family: monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 8px;
}

.partner-link-actions {
    display: flex;
    gap: 6px;
}

.partner-form-card {
    background: #1E293B;
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 12px;
    padding: 22px;
}

.partner-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 640px) {
    .partner-form-grid-2 {
        grid-template-columns: 1fr;
    }
}

.partner-input-dark,
.partner-select-dark,
.partner-textarea-dark {
    width: 100%;
    padding: 10px 12px;
    background: #0F172A;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 12.5px;
    outline: none;
    transition: all 0.2s ease;
}

.partner-input-dark:focus,
.partner-select-dark:focus,
.partner-textarea-dark:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.partner-filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.partner-filter-btn {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.partner-filter-btn.is-active,
.partner-filter-btn:hover {
    background: var(--gold-primary);
    color: #0F172A;
    border-color: var(--gold-primary);
}

.partner-crm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.partner-crm-table th {
    background: #1E293B;
    color: #E2E8F0;
    text-align: left;
    padding: 10px 12px;
    font-weight: 700;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.partner-crm-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #CBD5E1;
}

.partner-crm-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.partner-status-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 4px;
    text-transform: uppercase;
}

.partner-status-badge--success { background: rgba(16, 185, 129, 0.2); color: #34D399; border: 1px solid #10B981; }
.partner-status-badge--warning { background: rgba(245, 158, 11, 0.2); color: #FBBF24; border: 1px solid #F59E0B; }
.partner-status-badge--info { background: rgba(59, 130, 246, 0.2); color: #60A5FA; border: 1px solid #3B82F6; }
.partner-status-badge--purple { background: rgba(139, 92, 246, 0.2); color: #A78BFA; border: 1px solid #8B5CF6; }

.partner-quick-amount-btn {
    background: #0F172A;
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #CBD5E1;
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.partner-quick-amount-btn:hover {
    background: var(--gold-primary);
    color: #0F172A;
    border-color: var(--gold-primary);
}

.partner-tier-card {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 18px;
    position: relative;
}

.partner-tier-card--current {
    border: 2px solid var(--gold-primary);
    background: linear-gradient(135deg, #1E293B 0%, #28374D 100%);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.auth-input:focus {
    border-color: var(--gold-primary);
}

/* ==========================================================================
   1. TOAST NOTIFICATION SYSTEM STYLES
   ========================================================================== */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 380px;
    width: calc(100vw - 32px);
}

.toast-item {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #0B132B;
    color: #FFFFFF;
    border: 1px solid var(--border-gold);
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateX(40px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.toast-item.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-item--success .toast-icon { color: #10B981; }
.toast-item--success { border-left: 4px solid #10B981; }

.toast-item--info .toast-icon { color: #3B82F6; }
.toast-item--info { border-left: 4px solid #3B82F6; }

.toast-item--warning .toast-icon { color: #F59E0B; }
.toast-item--warning { border-left: 4px solid #F59E0B; }

.toast-item--error .toast-icon { color: #EF4444; }
.toast-item--error { border-left: 4px solid #EF4444; }

.toast-message {
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   2. MOBILE FOOTER ACCORDION STYLES
   ========================================================================== */
.footer-accordion-title {
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-accordion-icon {
    display: none;
    font-size: 16px;
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .portal-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .portal-footer-grid > div {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 12px;
    }

    .footer-accordion-title {
        cursor: pointer;
        margin-bottom: 0 !important;
        padding-bottom: 8px;
        user-select: none;
    }

    .footer-accordion-title::after {
        display: none !important;
    }

    .footer-accordion-icon {
        display: inline-block !important;
    }

    .portal-footer-grid > div .portal-footer-links {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
        margin-top: 0;
    }

    .portal-footer-grid > div.is-open .portal-footer-links {
        max-height: 450px;
        opacity: 1;
        margin-top: 12px;
    }

    .portal-footer-grid > div.is-open .footer-accordion-icon {
        transform: rotate(180deg);
    }
}

/* ==========================================================================
   3. FAST PROJECT COMPARISON STYLES
   ========================================================================== */
.card-compare-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
    user-select: none;
}

.card-compare-label:hover, .card-compare-label.is-checked {
    background: var(--gold-primary);
    color: #0F172A;
    border-color: var(--gold-primary);
}

.card-compare-checkbox {
    display: none;
}

.compare-custom-box {
    width: 14px;
    height: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.2s ease;
}

.card-compare-label.is-checked .compare-custom-box {
    border-color: #0F172A;
    background: #0F172A;
    color: var(--gold-primary);
}

/* Floating Compare Bar */
.floating-compare-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(140%);
    z-index: 9995;
    background: #0B132B;
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    width: 90%;
    max-width: 820px;
    color: #FFFFFF;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-compare-bar.is-active {
    transform: translateX(-50%) translateY(0);
}

.floating-compare-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.floating-compare-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.floating-compare-badge {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.compare-pills-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.compare-pill-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #E2E8F0;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 180px;
}

.compare-pill-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compare-pill-remove {
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.compare-pill-remove:hover {
    color: #EF4444;
}

.floating-compare-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ==========================================================================
   4. COLLAPSED SEARCH BUTTON & EXPANDED SEARCH PANEL
   ========================================================================== */
.header-search-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: var(--gold-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.header-search-toggle-btn:hover, .header-search-toggle-btn.is-active {
    background: var(--gold-primary);
    color: #0F172A;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.4);
    transform: scale(1.05);
}

.header-search-expanded-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #0B132B;
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    padding: 16px 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-search-expanded-panel.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-panel-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-panel-field {
    position: relative;
    display: flex;
    align-items: center;
}

.search-panel-icon {
    position: absolute;
    left: 16px;
    font-size: 20px;
    color: var(--gold-primary);
    pointer-events: none;
}

.search-panel-input {
    width: 100%;
    background: #162244;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 8px;
    padding: 12px 48px 12px 48px;
    color: #FFFFFF;
    font-size: 14.5px;
    outline: none;
    transition: border-color 0.2s;
}

.search-panel-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.search-panel-close-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.search-panel-close-btn:hover {
    color: #FFFFFF;
}

.search-panel-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
}

.search-tag-title {
    color: #94A3B8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.search-tag-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #CBD5E1;
    padding: 3px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
}

.search-tag-chip:hover {
    background: var(--gold-primary);
    color: #0F172A;
    border-color: var(--gold-primary);
}

.search-panel-results {
    max-height: 380px;
    overflow-y: auto;
    background: #111B38;
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 8px;
    display: none;
}

.search-panel-results.is-visible {
    display: block;
}

.search-res-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #E2E8F0;
    text-decoration: none;
    transition: background 0.2s;
}

.search-res-item:last-child {
    border-bottom: none;
}

.search-res-item:hover {
    background: rgba(197, 160, 89, 0.15);
}

.search-res-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.search-res-info {
    flex: 1;
}

.search-res-title {
    font-weight: 700;
    font-size: 13.5px;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.search-res-sub {
    font-size: 11.5px;
    color: var(--gold-primary);
}

/* ==========================================================================
   5. MODERN DARK-THEMED NEWSLETTER SIGNUP SECTION
   ========================================================================== */
.newsletter-section {
    padding: 64px 0;
    background: linear-gradient(135deg, #060B18 0%, #0B132B 50%, #0F172A 100%);
    border-top: 1px solid var(--border-gold);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 40px 48px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 991px) {
    .newsletter-card {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 24px;
    }
}

.newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 10px;
}

.newsletter-desc {
    font-size: 13.5px;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 18px;
}

.newsletter-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-benefits span {
    font-size: 12.5px;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-benefits i {
    color: var(--gold-primary);
    font-size: 16px;
}

.newsletter-action-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #0B132B;
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 24px;
    border-radius: 12px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-input-icon {
    position: absolute;
    left: 14px;
    color: var(--gold-primary);
    font-size: 18px;
}

.newsletter-input {
    width: 100%;
    background: #162244;
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 8px;
    padding: 12px 14px 12px 42px;
    color: #FFFFFF;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input:focus {
    border-color: var(--gold-primary);
}

.newsletter-submit-btn {
    width: 100%;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
}

.newsletter-survey-link {
    text-align: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.newsletter-survey-link span {
    font-size: 11.5px;
    color: #94A3B8;
}

.newsletter-survey-btn {
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
    transition: color 0.2s;
}

.newsletter-survey-btn:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   6. MARKET SURVEY CREDIT & MAIL REPORT PORTAL MODAL
   ========================================================================== */
.market-survey-card {
    background: #0B132B;
    border: 1px solid var(--border-gold);
    color: #FFFFFF;
    border-radius: 16px;
    padding: 28px;
    max-width: 620px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.survey-credit-balance-box {
    background: linear-gradient(135deg, #162244 0%, #0F172A 100%);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.survey-credit-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--gold-primary);
    font-family: var(--font-heading);
}

.survey-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .survey-packages-grid {
        grid-template-columns: 1fr;
    }
}

.survey-pkg-item {
    background: #162244;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.survey-pkg-item:hover, .survey-pkg-item.is-selected {
    border-color: var(--gold-primary);
    background: rgba(197, 160, 89, 0.15);
    transform: translateY(-2px);
}

.survey-pkg-price {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
}

.survey-pkg-credit {
    font-size: 11px;
    color: var(--gold-primary);
    margin-top: 2px;
    font-weight: 600;
}

/* ==========================================================================
   7. UNIFORM ALIGNMENT & SPACING FINETUNING
   ========================================================================== */
.portfolio-grid, .products-grid, .news-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.portfolio-card, .product-card, .news-card, .service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.portfolio-card__content, .product-card__body, .news-card__body, .service-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.portfolio-card__img-wrap, .product-card__img-wrap, .news-card__img-wrap {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.portfolio-card__img-wrap img, .product-card__img-wrap img, .news-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* ==========================================================================
   8. MOBILE ACCORDION FOOTER STYLES
   ========================================================================== */
@media (max-width: 768px) {
    .portal-footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    .portal-footer-grid > div {
        border-bottom: 1px solid rgba(197, 160, 89, 0.2);
        padding-bottom: 10px;
    }
    .footer-accordion-title {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        cursor: pointer !important;
        user-select: none !important;
        margin-bottom: 0 !important;
        padding: 8px 0;
    }
    .footer-accordion-icon {
        font-size: 16px;
        transition: transform 0.3s ease;
        color: var(--gold-primary);
    }
    .portal-footer-grid > div > .portal-footer-links,
    .portal-footer-grid > div > p,
    .portal-footer-grid > div > div:not(.portal-footer-title) {
        display: none;
        margin-top: 10px;
    }
    .portal-footer-grid > div.is-open > .portal-footer-links,
    .portal-footer-grid > div.is-open > p,
    .portal-footer-grid > div.is-open > div:not(.portal-footer-title) {
        display: block !important;
        animation: fadeInAccordion 0.25s ease-in-out forwards;
    }
    .portal-footer-grid > div.is-open .footer-accordion-icon {
        transform: rotate(180deg);
    }
}
@keyframes fadeInAccordion {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   9. QUICK PROJECT COMPARE FEATURE STYLES
   ========================================================================== */
.project-compare-checkbox {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-gold);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.project-compare-checkbox:hover {
    background: var(--gold-primary);
    color: #0B132B;
}
.project-compare-checkbox input {
    accent-color: var(--gold-primary);
    width: 14px;
    height: 14px;
    cursor: pointer;
}

/* Floating Compare Bar */
.project-compare-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 999;
    background: #0B132B;
    border: 1px solid var(--border-gold);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
    border-radius: 16px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #FFFFFF;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 90vw;
}
.project-compare-bar.is-active {
    transform: translateX(-50%) translateY(0);
}
.compare-bar-items-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.compare-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #162244;
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 4px 10px 4px 4px;
    border-radius: 8px;
}
.compare-bar-thumb {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
}
.compare-bar-title {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.compare-bar-remove {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 14px;
    padding: 2px;
}
.compare-bar-remove:hover {
    color: #EF4444;
}

/* Project Comparison Modal */
.modal-project-compare {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(11, 19, 43, 0.88);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-project-compare.is-active {
    opacity: 1;
    pointer-events: auto;
}
.compare-modal-card {
    background: #0B132B;
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 28px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    color: #FFFFFF;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 13px;
}
.compare-table th, .compare-table td {
    padding: 14px 16px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    vertical-align: top;
}
.compare-table th {
    background: #162244;
    color: var(--gold-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 20%;
}
.compare-table td {
    background: #0F172A;
    color: #CBD5E1;
    width: 26%;
}
.compare-table .compare-header-cell {
    text-align: center;
}
.compare-header-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}
.compare-header-title {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
}
.compare-header-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--gold-primary);
}

/* ==========================================================================
   SHOPPING CART DRAWER STYLES
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.cart-drawer-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: #0B132B;
    border-left: 1px solid var(--border-gold);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer-panel.is-active {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0F172A;
}

.cart-drawer-close {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}
.cart-drawer-close:hover {
    color: #FFFFFF;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.cart-item-row {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 12px;
}

.cart-item-img {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
}

.cart-item-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold-primary);
    margin: 4px 0;
}

.cart-item-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-qty-ctrl {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cart-qty-ctrl button {
    background: transparent;
    border: none;
    color: #FFF;
    width: 26px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
}
.cart-qty-ctrl button:hover {
    background: rgba(197, 160, 89, 0.3);
}

.cart-qty-ctrl span {
    font-size: 12px;
    font-weight: 700;
    color: #FFF;
    padding: 0 8px;
}

.cart-item-del {
    background: transparent;
    border: none;
    color: #EF4444;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
}

.cart-drawer-footer {
    padding: 18px 20px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    background: #0F172A;
}

/* ==========================================================================
   BĐS VIP PORTAL STYLES (FILTER BAR, LISTING CARDS, VALUATION & CONSIGNMENT)
   ========================================================================== */
.bds-filter-panel {
    background: #0F172A;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
}

.bds-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.bds-filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bds-filter-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bds-filter-select, .bds-filter-input {
    background: #1E293B;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: #FFFFFF;
    padding: 10px 12px;
    font-size: 13px;
    font-family: var(--font-body);
    width: 100%;
    outline: none;
    transition: all 0.2s ease;
}

.bds-filter-select:focus, .bds-filter-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

.bds-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.bds-listing-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.bds-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.bds-card-img-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #1E293B;
}

.bds-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bds-listing-card:hover .bds-card-img {
    transform: scale(1.06);
}

.bds-card-badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: var(--gold-primary);
    border: 1px solid rgba(197, 160, 89, 0.4);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 4px;
}

.bds-card-badge-price {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, #C5A059, #DFBA73);
    color: #0B132B;
    font-size: 13.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

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

.bds-card-loc {
    font-size: 12px;
    font-weight: 600;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.bds-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.35;
    margin-bottom: 12px;
}

.bds-specs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-sm);
    padding: 10px 8px;
    margin-bottom: 14px;
    text-align: center;
}

.bds-spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bds-spec-val {
    font-size: 13px;
    font-weight: 800;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 3px;
}

.bds-spec-label {
    font-size: 10px;
    color: #64748B;
    text-transform: uppercase;
    margin-top: 2px;
}

.bds-card-legal {
    font-size: 11.5px;
    color: #059669;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
}

.bds-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.bds-interactive-feature-card {
    background: #0B132B;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 36px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   12. LUXURY MULTI-ITEM SLIDERS & MODERNIZED HOMEPAGE BLOCKS
   ========================================================================== */

/* Multi-Item Luxury Project Cards in Slider */
.poster-carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 8px 4px 16px;
    transition: transform 0.4s ease;
}

.luxury-poster-card {
    position: relative;
    width: 290px;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #0B132B;
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.luxury-poster-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: 0 16px 36px rgba(197, 160, 89, 0.25);
}

.luxury-poster-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.luxury-poster-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.luxury-poster-card:hover .luxury-poster-thumb img {
    transform: scale(1.08);
}

.luxury-poster-badge-top {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(11, 19, 43, 0.88);
    color: var(--gold-primary);
    border: 1px solid rgba(197, 160, 89, 0.5);
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

.luxury-poster-badge-status {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #059669;
    color: #FFFFFF;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.luxury-poster-price-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: linear-gradient(135deg, #C5A059 0%, #DFBA73 100%);
    color: #0B132B;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.luxury-poster-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #0B132B;
    color: #FFFFFF;
}

.luxury-poster-cdo {
    font-size: 11px;
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.luxury-poster-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.luxury-poster-specs {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11.5px;
    color: #94A3B8;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.luxury-poster-specs span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.luxury-poster-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.luxury-poster-btn {
    flex: 1;
    padding: 8px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 6px;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Location Showcase Multi-Item Grid & Slider */
.luxury-location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.luxury-location-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 190px;
    background: #0B132B;
    border: 1px solid rgba(197, 160, 89, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.35s ease;
}

.luxury-location-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-primary);
    box-shadow: 0 14px 32px rgba(197, 160, 89, 0.22);
}

.luxury-location-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.luxury-location-card:hover .luxury-location-bg {
    transform: scale(1.1);
}

.luxury-location-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 19, 43, 0.2) 0%, rgba(11, 19, 43, 0.85) 60%, rgba(11, 19, 43, 0.98) 100%);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #FFFFFF;
}

.luxury-location-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(11, 19, 43, 0.85);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.luxury-location-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.luxury-location-desc {
    font-size: 12px;
    color: #CBD5E1;
    margin-bottom: 6px;
}

.luxury-location-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--gold-light);
    font-weight: 600;
}

/* Signature Business Fields (4 Luxury Pillars) */
.luxury-signature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.luxury-signature-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.luxury-signature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.luxury-signature-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-primary);
    box-shadow: 0 14px 32px rgba(197, 160, 89, 0.16);
}

.luxury-signature-card:hover::before {
    opacity: 1;
}

.luxury-signature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0B132B 0%, #1E293B 100%);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.luxury-signature-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
    line-height: 1.35;
}

.luxury-signature-desc {
    font-size: 12.5px;
    color: #64748B;
    line-height: 1.55;
    margin-bottom: 14px;
    flex: 1;
}

.luxury-signature-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--teal-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.luxury-signature-card:hover .luxury-signature-link {
    color: var(--gold-dark);
    gap: 7px;
}

/* Upgraded Interactive Tools Suite */
.luxury-tools-suite {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}

.luxury-tool-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.luxury-tool-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-primary);
    box-shadow: 0 12px 28px rgba(197, 160, 89, 0.18);
}

.luxury-tool-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0B132B 0%, #1A284D 100%);
    border: 1.5px solid var(--gold-primary);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(11, 19, 43, 0.25);
    transition: transform 0.3s ease;
}

.luxury-tool-card:hover .luxury-tool-icon-circle {
    transform: scale(1.1) rotate(5deg);
    background: var(--gold-primary);
    color: #0B132B;
}

.luxury-tool-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
    line-height: 1.35;
}

.luxury-tool-sub {
    font-size: 11.5px;
    color: #64748B;
    line-height: 1.45;
}

/* Upgraded Strategic Developers & Partners Showcase */
.luxury-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.luxury-partner-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    cursor: default;
}

.luxury-partner-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.16);
}

.luxury-partner-brand {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0B132B;
    margin-bottom: 3px;
}

.luxury-partner-badge {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   13. PROJECT LISTING PAGE (RIGHT-SIDE FILTER SIDEBAR & BALANCED WRAPPER)
   ========================================================================== */
.project-listing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
    margin-top: 4px;
}

@media (max-width: 992px) {
    .project-listing-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.project-listing-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-listing-topbar {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.project-listing-count {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.project-listing-count strong {
    color: var(--gold-dark);
    font-weight: 800;
}

.project-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #64748B;
}

.project-sort-select {
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #0F172A;
    outline: none;
    background: #F8FAFC;
    cursor: pointer;
    transition: border-color 0.2s;
}

.project-sort-select:focus {
    border-color: var(--gold-primary);
}

/* Right Sticky Filter Sidebar */
.project-listing-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sticky-filter-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.sticky-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.sticky-filter-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky-filter-reset {
    font-size: 11.5px;
    color: #EF4444;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.sticky-filter-reset:hover {
    text-decoration: underline;
}

.filter-section-group {
    margin-bottom: 16px;
}

.filter-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.filter-search-box {
    position: relative;
    margin-bottom: 14px;
}

.filter-search-input {
    width: 100%;
    padding: 8px 10px 8px 32px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s;
}

.filter-search-input:focus {
    border-color: var(--gold-primary);
}

.filter-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 14px;
}

.filter-pill-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s ease;
}

.filter-checkbox-item:hover, .filter-checkbox-item.is-selected {
    background: #FAF5EA;
    color: var(--gold-dark);
    font-weight: 700;
}

.filter-checkbox-item input[type="radio"],
.filter-checkbox-item input[type="checkbox"] {
    accent-color: var(--gold-primary);
    margin-right: 6px;
}

.filter-count-badge {
    font-size: 10.5px;
    color: #94A3B8;
    background: #F1F5F9;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Sidebar VIP Callout Card */
.sidebar-vip-card {
    background: linear-gradient(135deg, #0B132B 0%, #152244 100%);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 20px;
    color: #FFFFFF;
    text-align: center;
}

.sidebar-vip-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.sidebar-vip-sub {
    font-size: 11.5px;
    color: #CBD5E1;
    margin-bottom: 12px;
    line-height: 1.45;
}

/* ==========================================================================
   14. HIGH-END E-COMMERCE FURNITURE STORE STYLING
   ========================================================================== */

/* E-Commerce Promotional Top Banner */
.ecom-promo-banner {
    background: linear-gradient(90deg, #0B132B 0%, #1E293B 50%, #0B132B 100%);
    border-bottom: 1px solid var(--border-gold);
    color: #FFFFFF;
    padding: 12px 0;
}

.ecom-promo-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12.5px;
}

.ecom-promo-tag {
    background: var(--gold-primary);
    color: #0B132B;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10.5px;
}

/* E-Commerce Category Scroll Pills */
.ecom-cat-pills-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 6px 0 16px;
    margin-bottom: 20px;
}

.ecom-cat-pills-bar::-webkit-scrollbar {
    display: none;
}

.ecom-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 30px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: #334155;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ecom-cat-pill:hover, .ecom-cat-pill.is-active {
    background: #0B132B;
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    box-shadow: 0 4px 12px rgba(11, 19, 43, 0.2);
}

/* Comprehensive E-Commerce Search & Multi-Filter Control Hub */
.ecom-search-filter-hub {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 28px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.ecom-search-main-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.ecom-search-input-wrap {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.ecom-search-input-wrap i.ph-magnifying-glass {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 18px;
}

.ecom-search-input {
    width: 100%;
    padding: 12px 38px 12px 42px;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    font-size: 13.5px;
    color: #0F172A;
    background: #F8FAFC;
    outline: none;
    transition: all 0.2s ease;
}

.ecom-search-input:focus {
    border-color: var(--gold-primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.ecom-search-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 18px;
    display: none;
}

.ecom-search-clear-btn:hover {
    color: #EF4444;
}

.ecom-filter-select-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #F1F5F9;
}

.ecom-filter-select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    background: #FFFFFF;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.ecom-filter-select:focus {
    border-color: var(--gold-primary);
}

.ecom-filter-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #E2E8F0;
    font-size: 12.5px;
    color: #64748B;
    flex-wrap: wrap;
    gap: 8px;
}

.ecom-filter-meta-bar strong {
    color: var(--gold-dark);
}

.ecom-reset-btn {
    background: none;
    border: none;
    color: #EF4444;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

.ecom-reset-btn:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Empty State for E-commerce */
.ecom-empty-state {
    text-align: center;
    padding: 48px 20px;
    background: #FFFFFF;
    border: 1px dashed #CBD5E1;
    border-radius: 14px;
    grid-column: 1 / -1;
    display: none;
}

.ecom-empty-icon {
    font-size: 48px;
    color: var(--gold-primary);
    margin-bottom: 12px;
}

.ecom-empty-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.ecom-empty-desc {
    font-size: 13px;
    color: #64748B;
    max-width: 480px;
    margin: 0 auto 18px;
    line-height: 1.5;
}

/* Luxury E-Commerce Product Cards */
.ecom-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.ecom-product-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.ecom-product-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-primary);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.ecom-product-thumb {
    position: relative;
    width: 100%;
    height: 220px;
    background: #F8FAFC;
    overflow: hidden;
}

.ecom-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ecom-product-card:hover .ecom-product-thumb img {
    transform: scale(1.06);
}

.ecom-badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #DC2626;
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
}

.ecom-badge-stock {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(11, 19, 43, 0.85);
    color: var(--gold-primary);
    border: 1px solid rgba(197, 160, 89, 0.4);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.ecom-product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ecom-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #F59E0B;
    margin-bottom: 6px;
}

.ecom-rating-sold {
    color: #64748B;
    font-size: 11px;
}

.ecom-product-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ecom-product-material {
    font-size: 11.5px;
    color: #64748B;
    margin-bottom: 12px;
    line-height: 1.4;
}

.ecom-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.ecom-price-current {
    font-size: 16px;
    font-weight: 800;
    color: #0B132B;
}

.ecom-price-original {
    font-size: 12px;
    color: #94A3B8;
    text-decoration: line-through;
}

.ecom-installment-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FAF5EA;
    color: var(--gold-dark);
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 14px;
    width: fit-content;
}

.ecom-product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ecom-badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #DC2626;
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
    z-index: 2;
}

.ecom-quick-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s ease;
    z-index: 3;
}

.ecom-product-card:hover .ecom-quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.ecom-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.ecom-action-btn:hover {
    background: var(--gold-primary);
    color: #0B132B;
    border-color: var(--gold-primary);
    transform: scale(1.1);
}

.ecom-product-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.ecom-product-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ecom-product-name a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s;
}

.ecom-product-name a:hover {
    color: var(--gold-dark);
}

.ecom-product-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

/* Mobile Search & Filter Toolbar for Projects */
.mobile-project-filter-bar {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.mobile-filter-search-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.mobile-filter-input-wrap {
    position: relative;
    flex: 1;
}

.mobile-filter-input-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 16px;
}

.mobile-filter-input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 13px;
    color: #0F172A;
    outline: none;
    transition: border-color 0.2s;
}

.mobile-filter-input:focus {
    border-color: var(--gold-primary);
    background: #FFFFFF;
}

.mobile-search-scroll-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 6px;
    margin-bottom: 12px;
    -webkit-overflow-scrolling: touch;
}

.mobile-search-scroll-pills::-webkit-scrollbar {
    height: 4px;
}

.mobile-search-scroll-pills::-webkit-scrollbar-thumb {
    background: rgba(197, 160, 89, 0.4);
    border-radius: 4px;
}

.mobile-pill-chip {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #E2E8F0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.mobile-pill-chip:hover, .mobile-pill-chip.is-active {
    background: var(--gold-primary);
    color: #0B132B;
    border-color: var(--gold-primary);
    font-weight: 700;
}

.mobile-filter-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    align-items: center;
}

.mobile-filter-select {
    width: 100%;
    padding: 7px 10px;
    background: #FAF8F5;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #0F172A;
    outline: none;
    cursor: pointer;
}

.mobile-filter-select:focus {
    border-color: var(--gold-primary);
}

/* E-Commerce Trust Badges Footer Bar */
.ecom-trust-bar {
    background: #F8FAFC;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 30px 0;
    margin-top: 40px;
}

.ecom-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.ecom-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ecom-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0B132B;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ecom-trust-title {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.ecom-trust-sub {
    font-size: 11.5px;
    color: #64748B;
}

/* ==========================================================================
   PROJECT LISTING TWO-COLUMN LAYOUT & STICKY RIGHT-SIDE FILTER SIDEBAR
   ========================================================================== */
.project-listing-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 991px) {
    .project-listing-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.project-listing-main {
    min-width: 0;
}

.project-listing-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    flex-wrap: wrap;
    gap: 12px;
}

.project-listing-count {
    font-size: 13.5px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748B;
}

.project-sort-select {
    padding: 6px 12px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #0F172A;
    background: #FAF8F5;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.project-sort-select:focus {
    border-color: var(--gold-primary);
}

.project-listing-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sticky-filter-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.sticky-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.sticky-filter-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #0B132B;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sticky-filter-reset {
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.sticky-filter-reset:hover {
    color: #EF4444;
}

.filter-search-box {
    position: relative;
    margin-bottom: 18px;
}

.filter-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 16px;
}

.filter-search-input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    background: #FAF8F5;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 12.5px;
    color: #0F172A;
    outline: none;
    transition: all 0.2s ease;
}

.filter-search-input:focus {
    background: #FFFFFF;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.filter-section-group {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #F1F5F9;
}

.filter-section-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #475569;
    margin-bottom: 10px;
}

.filter-pill-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12.5px;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-checkbox-item:hover {
    background: #FAF8F5;
    color: var(--gold-dark);
}

.filter-checkbox-item.is-selected {
    background: #FAF5EA;
    color: #0B132B;
    font-weight: 700;
}

.filter-checkbox-item input[type="radio"] {
    accent-color: var(--gold-primary);
    margin-right: 6px;
}

.filter-count-badge {
    background: #F1F5F9;
    color: #64748B;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 10px;
}

.filter-checkbox-item.is-selected .filter-count-badge {
    background: var(--gold-primary);
    color: #0B132B;
}

.sidebar-vip-card {
    background: linear-gradient(145deg, #0B132B 0%, #162447 100%);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 12px;
    padding: 20px;
    color: #FFFFFF;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.sidebar-vip-title {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.sidebar-vip-sub {
    font-size: 11.5px;
    color: #CBD5E1;
    line-height: 1.5;
    margin-bottom: 14px;
}

/* ==========================================================================
   LUXURY DETAIL PAGES: PROJECT & PRODUCT SPECIFIC STYLES
   ========================================================================== */
.detail-main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .detail-main-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Luxury Gallery */
.detail-gallery-container {
    position: relative;
}

.detail-main-img-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0B132B;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    aspect-ratio: 16 / 11;
}

.detail-main-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.detail-main-img-box:hover img {
    transform: scale(1.03);
}

.detail-gallery-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(6px);
    color: var(--gold-primary);
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.detail-vr-trigger-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(197, 160, 89, 0.95);
    color: #0B132B;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: all 0.2s ease;
    z-index: 2;
}

.detail-vr-trigger-btn:hover {
    background: #FFFFFF;
    color: #0B132B;
    transform: scale(1.05);
}

.detail-thumbs-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.detail-thumb-btn {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 0;
    background: #0B132B;
    transition: all 0.2s ease;
}

.detail-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.detail-thumb-btn:hover img, .detail-thumb-btn.is-active img {
    opacity: 1;
}

.detail-thumb-btn.is-active {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.3);
}

/* Info Box */
.detail-info-panel {
    display: flex;
    flex-direction: column;
}

.detail-page-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FAF5EA;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    width: fit-content;
}

.detail-page-title {
    font-family: var(--font-serif);
    font-size: 30px;
    color: #0F172A;
    line-height: 1.3;
    margin-bottom: 14px;
    font-weight: 700;
}

.detail-price-banner {
    display: flex;
    align-items: baseline;
    gap: 12px;
    background: #FAF8F5;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.detail-main-price {
    font-size: 26px;
    font-weight: 800;
    color: #0B132B;
    font-family: var(--font-serif);
}

.detail-old-price {
    font-size: 15px;
    color: #94A3B8;
    text-decoration: line-through;
}

.detail-discount-pill {
    background: #EF4444;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

.detail-desc-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 22px;
}

/* Swatches & Material Selectors */
.detail-option-group {
    margin-bottom: 18px;
}

.detail-option-label {
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-option-label span.selected-val {
    color: var(--gold-dark);
    font-weight: 600;
}

.detail-swatch-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.swatch-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1.5px solid #E2E8F0;
    border-radius: 6px;
    background: #FFFFFF;
    font-size: 12.5px;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.swatch-btn .swatch-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    display: inline-block;
}

.swatch-btn:hover {
    border-color: var(--gold-primary);
    background: #FAF8F5;
}

.swatch-btn.is-active {
    border-color: var(--gold-primary);
    background: #FAF5EA;
    color: #0B132B;
    font-weight: 700;
    box-shadow: 0 0 0 1px var(--gold-primary);
}

/* Quantity & Action Buttons */
.detail-action-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.detail-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #CBD5E1;
    border-radius: 6px;
    background: #FFFFFF;
    height: 44px;
}

.qty-btn {
    width: 36px;
    height: 100%;
    background: transparent;
    border: none;
    font-size: 16px;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.qty-btn:hover {
    background: #F1F5F9;
}

.qty-input {
    width: 44px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    background: transparent;
}

/* Specs Table */
.detail-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 13.5px;
}

.detail-specs-table tr {
    border-bottom: 1px solid #F1F5F9;
}

.detail-specs-table td {
    padding: 10px 6px;
}

.detail-specs-table td:first-child {
    width: 160px;
    color: #64748B;
    font-weight: 600;
}

.detail-specs-table td:last-child {
    color: #0F172A;
    font-weight: 600;
}

/* Tabs System */
.detail-tabs-wrapper {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    margin-top: 36px;
    overflow: hidden;
}

.detail-tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    background: #FAF8F5;
    overflow-x: auto;
}

.detail-tab-item {
    padding: 16px 24px;
    font-size: 13.5px;
    font-weight: 700;
    color: #64748B;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.detail-tab-item:hover {
    color: var(--gold-dark);
}

.detail-tab-item.is-active {
    color: #0B132B;
    background: #FFFFFF;
    border-bottom-color: var(--gold-primary);
}

.detail-tab-content-pane {
    padding: 32px;
    display: none;
}

.detail-tab-content-pane.is-active {
    display: block;
}

/* Floor Plans Component */
.floor-plan-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 24px;
    background: #FAF8F5;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 20px;
    margin-top: 16px;
    align-items: center;
}

@media (max-width: 768px) {
    .floor-plan-card {
        grid-template-columns: 1fr;
    }
}

.floor-plan-preview-img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    background: #FFFFFF;
}

.floor-plan-zone-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.floor-plan-zone-list li {
    font-size: 13px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Lead Architect Signature Box */
.architect-signature-card {
    background: linear-gradient(145deg, #0B132B 0%, #152243 100%);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 12px;
    padding: 28px;
    color: #FFFFFF;
    margin-top: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.architect-profile {
    display: flex;
    align-items: center;
    gap: 18px;
}

.architect-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    object-fit: cover;
}

/* Related Items Section */
.related-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}












