/*
Theme Name: Nha Pho Dana Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.section-title b {
    background-color: #fff;
}

.section-title-main {
    position: relative;
}
.section-title-main::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: #356F16;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.section-title-container {
    margin-bottom: 0;
}
.hero-sub-title {
    text-transform: uppercase;
    color: #356F16 !important;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
/* ====================================================
   Archive House – Flatsome Child Theme
   ==================================================== */

#archive-house-page { background: #f6f7f5; min-height: 60vh; }

/* ── Filter bar ── */
.arch-filter-bar {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.arch-filter-form { width: 100%; }
.arch-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    align-items: end;
}
.arch-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}
.arch-label--hidden { visibility: hidden; }

/* Select */
.arch-select-wrap { position: relative; }
.arch-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: #f8f8f8;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 9px 32px 9px 11px;
    font-size: 13px;
    color: #333;
    height: 42px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.arch-select:focus {
    outline: none;
    border-color: #356F16;
    box-shadow: 0 0 0 3px rgba(53,111,22,0.12);
    background: #fff;
}
.arch-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #999;
    font-size: 12px;
}

/* Input */
.arch-input {
    width: 100%;
    box-sizing: border-box;
    background: #f8f8f8;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 9px 11px;
    font-size: 13px;
    color: #333;
    height: 42px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.arch-input:focus {
    outline: none;
    border-color: #356F16;
    box-shadow: 0 0 0 3px rgba(53,111,22,0.12);
    background: #fff;
}
.arch-input::placeholder { color: #bbb; }

/* Search button */
.arch-btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 42px;
    background: linear-gradient(135deg, #3d8019 0%, #356F16 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 14px rgba(53,111,22,0.3);
    transition: transform 0.15s, box-shadow 0.2s;
    white-space: nowrap;
}
.arch-btn-search:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(53,111,22,0.4);
}

/* ── Main ── */
.arch-main { padding: 32px 0 60px; }

.arch-results-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.arch-results-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}
.arch-results-count {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}

/* ── Grid ── */
.arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}

/* ── Card ── */
.arch-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.08);
    transition: transform 0.22s, box-shadow 0.22s;
    display: flex;
    flex-direction: column;
}
.arch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}
.arch-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e4edd9;
}
.arch-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.arch-card:hover .arch-card-img img { transform: scale(1.05); }
.arch-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 48px;
}
.arch-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 4px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background-color: #356F16;
}
.arch-loc {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px 3px 6px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(3px);
}
.arch-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.arch-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.arch-card-title a { color: inherit; text-decoration: none; }
.arch-card-title a:hover { color: #356F16; }

.arch-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    color: #666;
    font-size: 12px;
    margin-bottom: 12px;
    flex: 1;
}
.arch-card-meta span { white-space: nowrap; }
.arch-card-meta span + span::before { content: '•'; margin-right: 10px; color: #ddd; }

.arch-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: auto;
}
.arch-price {
    font-size: 18px;
    font-weight: 800;
    color: #356F16;
    line-height: 1;
}
.arch-price em { font-style: normal; font-size: 13px; color: #999; font-weight: 500; }
.arch-btn-detail {
    display: inline-block;
    padding: 6px 14px;
    border: 1.5px solid #356F16;
    border-radius: 6px;
    color: #356F16;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s;
}
.arch-btn-detail:hover { background: #356F16; color: #fff; }

/* ── Pagination ── */
.arch-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.arch-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.arch-pagination .page-numbers.current,
.arch-pagination .page-numbers:hover {
    background: #356F16;
    color: #fff;
    border-color: #356F16;
}
.arch-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    width: auto;
    padding: 0 4px;
}

/* ── No results ── */
.arch-no-results {
    text-align: center;
    padding: 80px 20px;
    color: #888;
}
.arch-no-results-icon { font-size: 56px; margin-bottom: 16px; }
.arch-no-results h2 { font-size: 22px; color: #333; margin: 0 0 8px; }
.arch-no-results p { font-size: 14px; margin-bottom: 24px; }
.arch-btn-reset {
    display: inline-block;
    padding: 10px 24px;
    background: #356F16;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}
.arch-btn-reset:hover { background: #3d8019; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .arch-filter-grid { grid-template-columns: repeat(3, 1fr); }
    .arch-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .arch-filter-grid { grid-template-columns: 1fr 1fr; }
    .arch-filter-col--btn { grid-column: 1 / -1; }
    .arch-label--hidden { display: none; }
    .arch-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px; 
    }
    .arch-card-body { padding: 10px; }
    .arch-card-title { font-size: 13px; }
    .arch-card-meta { font-size: 11px; gap: 4px 8px; }
    .arch-price { font-size: 14px; }
    .arch-btn-detail { padding: 4px 10px; font-size: 11px; }
}
@media (max-width: 400px) {
    .arch-filter-grid { grid-template-columns: 1fr; }
}
    /* ===== BDS Carousel ===== */
    .bds-carousel-wrap { width: 100%; }

    .bds-carousel-title {
        font-size: 22px;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 0 18px;
    }

    .bds-carousel-outer {
        position: relative;
    }

    .bds-carousel-track-wrap {
        overflow: hidden;
        width: 100%;
    }

    .bds-carousel-track {
        display: flex;
        gap: 18px;
        transition: transform 0.4s cubic-bezier(.4,0,.2,1);
        will-change: transform;
    }

    /* Card */
    .bds-card {
        flex: 0 0 calc((100% - 36px) / 3);
        min-width: 0;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 16px rgba(0,0,0,0.09);
        transition: transform 0.22s, box-shadow 0.22s;
        margin-bottom: 20px;
    }
    .bds-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 28px rgba(0,0,0,0.14);
    }

    /* Card image */
    .bds-card-img {
        position: relative;
        width: 100%;
        aspect-ratio: 4/3;
        overflow: hidden;
        background: #e8f0e3;
    }
    .bds-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s;
    }
    .bds-card:hover .bds-card-img img { transform: scale(1.05); }
    .bds-card-no-img {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        font-size: 48px;
        color: #ccc;
    }

    /* Badge */
    .bds-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        color: #fff;
        background-color: #356F16;
        font-size: 11px;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 4px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        z-index: 2;
    }

    /* Location overlay */
    .bds-card-location {
        position: absolute;
        bottom: 10px;
        left: 10px;
        background: rgba(0,0,0,0.48);
        color: #fff;
        font-size: 12px;
        padding: 3px 8px 3px 6px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        gap: 4px;
        z-index: 2;
        backdrop-filter: blur(2px);
    }

    /* Card body */
    .bds-card-body {
        padding: 14px 16px 16px;
    }
    .bds-card-title {
        font-size: 15px;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 0 8px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .bds-card-title a { color: inherit; text-decoration: none; }
    .bds-card-title a:hover { color: #356F16; }

    /* Meta row */
    .bds-card-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
        margin-bottom: 12px;
        color: #666;
        font-size: 13px;
    }
    .bds-card-meta span {
        display: flex;
        align-items: center;
        gap: 3px;
    }
    .bds-card-meta span::before {
        content: '•';
        color: #ccc;
        margin-right: 2px;
    }
    .bds-card-meta span:first-child::before { display: none; }

    /* Footer row */
    .bds-card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .bds-card-price {
        font-size: 18px;
        font-weight: 800;
        color: #356F16;
        line-height: 1;
    }
    .bds-price-contact {
        font-size: 14px;
        font-weight: 600;
        color: #888;
    }
    .bds-card-btn {
        display: inline-block;
        padding: 6px 14px;
        border: 1.5px solid #356F16;
        border-radius: 6px;
        color: #356F16;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        transition: background 0.18s, color 0.18s;
        white-space: nowrap;
    }
    .bds-card-btn:hover {
        background: #356F16;
        color: #fff;
    }

    /* Arrows – overlay 2 bên */
    .bds-carousel-arrow {
        position: absolute;
        top: 38%;                      /* canh giữa vùng ảnh */
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #fff;
        border: 1.5px solid #e0e0e0;
        color: #333;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        transition: background 0.18s, color 0.18s, border-color 0.18s;
        z-index: 10;
    }
    .bds-carousel-prev { left: -18px; }
    .bds-carousel-next { right: -18px; }
    .bds-carousel-arrow:hover {
        background: #356F16;
        color: #fff;
        border-color: #356F16;
    }
    .bds-carousel-arrow:disabled {
        opacity: 0.3;
        cursor: default;
        pointer-events: none;
    }

    /* Responsive */
    @media (max-width: 900px) {
        .bds-card { flex-basis: calc((100% - 18px) / 2) !important; }
    }
    @media (max-width: 560px) {
        .bds-card { 
            flex-basis: calc((100% - 12px) / 2) !important; 
            scroll-snap-align: start;
        }
        .bds-carousel-arrow { display: none; }
        
        /* Enable native swipe on mobile */
        .bds-carousel-track-wrap {
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 15px;
            margin-bottom: -15px; /* offset padding */
            scrollbar-width: none; /* Firefox */
        }
        .bds-carousel-track-wrap::-webkit-scrollbar {
            display: none; /* Safari and Chrome */
        }
        .bds-carousel-track {
            transform: none !important;
            gap: 12px;
        }
        
        /* Optimize font size for 2 columns */
        .bds-card-body { padding: 10px; }
        .bds-card-title { font-size: 13px; }
        .bds-card-meta { font-size: 11px; gap: 4px 8px; }
        .bds-card-price { font-size: 14px; }
        .bds-price-contact { font-size: 11px; }
        .bds-card-btn { padding: 4px 10px; font-size: 11px; }
        .bds-badge { font-size: 9px; padding: 2px 6px; }
    }
    /* ====================================================
       BDS Search Form – Flatsome Child Theme
       ==================================================== */

    .bds-search-wrap {
        width: 100%;
        padding: 0;
    }

    /* Grid 5 cột */
    .bds-search-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
        align-items: end;
    }

    /* Label */
    .bds-label {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 12px;
        font-weight: 600;
        color: #555;
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }
    .bds-label-icon {
        font-size: 14px;
    }
    .bds-label--hidden {
        visibility: hidden;
    }

    /* Select wrapper */
    .bds-select-wrap {
        position: relative;
    }
    .bds-select {
        width: 100%;
        appearance: none;
        -webkit-appearance: none;
        background: #fff;
        border: 1.5px solid #e0e0e0;
        border-radius: 8px;
        padding: 10px 36px 10px 12px;
        font-size: 14px;
        color: #333;
        cursor: pointer;
        transition: border-color 0.2s, box-shadow 0.2s;
        height: 44px;
        line-height: 1;
    }
    .bds-select:focus {
        outline: none;
        border-color: #356F16;
        box-shadow: 0 0 0 3px rgba(53,111,22,0.15);
    }
    .bds-select-arrow {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        color: #888;
        font-size: 13px;
    }

    /* Text input */
    .bds-input {
        width: 100%;
        border: 1.5px solid #e0e0e0;
        border-radius: 8px;
        padding: 10px 12px;
        font-size: 14px;
        color: #333;
        height: 44px;
        transition: border-color 0.2s, box-shadow 0.2s;
        box-sizing: border-box;
        background: #fff;
    }
    .bds-input:focus {
        outline: none;
        border-color: #356F16;
        box-shadow: 0 0 0 3px rgba(53,111,22,0.15);
    }
    .bds-input::placeholder {
        color: #aaa;
    }

    /* Nút tìm kiếm */
    .bds-btn-search {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        width: 100%;
        height: 44px;
        background: linear-gradient(135deg, #3d8019 0%, #356F16 100%);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        letter-spacing: 0.03em;
        transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
        box-shadow: 0 4px 14px rgba(53,111,22,0.35);
        white-space: nowrap;
    }
    .bds-btn-search:hover {
        background: linear-gradient(135deg, #48971e 0%, #3d8019 100%);
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(53,111,22,0.45);
    }
    .bds-btn-search:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(53,111,22,0.3);
    }

    /* Responsive */
    @media (max-width: 1024px) {
        .bds-search-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    @media (max-width: 640px) {
        .bds-search-grid {
            grid-template-columns: 1fr;
        }
        .bds-label--hidden {
            display: none;
        }
    }

    /* ====================================================
       VÌ SAO CHỌN CHÚNG TÔI (Why Choose Us Boxes)
       ==================================================== */
    .wcu-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
        margin: 20px 0;
    }
    
    .wcu-box {
        background: #fff;
        border-radius: 12px;
        padding: 30px 20px;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .wcu-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(53,111,22,0.15);
    }
    
    .wcu-icon {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: rgba(53,111,22,0.1);
        color: #356F16;
    }
    
    .wcu-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .wcu-title {
        font-size: 15px;
        font-weight: 800;
        color: #1a1a1a;
        margin: 0 0 12px;
        text-transform: uppercase;
        line-height: 1.4;
    }
    
    .wcu-desc {
        font-size: 13px;
        color: #666;
        line-height: 1.5;
        margin: 0;
    }
    
    @media (max-width: 1024px) {
        .wcu-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    @media (max-width: 768px) {
        .wcu-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 480px) {
        .wcu-grid {
            grid-template-columns: 1fr;
        }
    }

    /* ====================================================
   Archive House – Flatsome Child Theme
   ==================================================== */

#archive-house-page { background: #f6f7f5; min-height: 60vh; }

/* ── Filter bar ── */
.arch-filter-bar {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.arch-filter-form { width: 100%; }
.arch-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    align-items: end;
}
.arch-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}
.arch-label--hidden { visibility: hidden; }

/* Select */
.arch-select-wrap { position: relative; }
.arch-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: #f8f8f8;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 9px 32px 9px 11px;
    font-size: 13px;
    color: #333;
    height: 42px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.arch-select:focus {
    outline: none;
    border-color: #356F16;
    box-shadow: 0 0 0 3px rgba(53,111,22,0.12);
    background: #fff;
}
.arch-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #999;
    font-size: 12px;
}

/* Input */
.arch-input {
    width: 100%;
    box-sizing: border-box;
    background: #f8f8f8;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 9px 11px;
    font-size: 13px;
    color: #333;
    height: 42px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.arch-input:focus {
    outline: none;
    border-color: #356F16;
    box-shadow: 0 0 0 3px rgba(53,111,22,0.12);
    background: #fff;
}
.arch-input::placeholder { color: #bbb; }

/* Search button */
.arch-btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 42px;
    background: linear-gradient(135deg, #3d8019 0%, #356F16 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 14px rgba(53,111,22,0.3);
    transition: transform 0.15s, box-shadow 0.2s;
    white-space: nowrap;
}
.arch-btn-search:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(53,111,22,0.4);
}

/* ── Main ── */
.arch-main { padding: 32px 0 60px; }

.arch-results-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.arch-results-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}
.arch-results-count {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}

/* ── Grid ── */
.arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}

/* ── Card ── */
.arch-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.08);
    transition: transform 0.22s, box-shadow 0.22s;
    display: flex;
    flex-direction: column;
}
.arch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}
.arch-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e4edd9;
}
.arch-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.arch-card:hover .arch-card-img img { transform: scale(1.05); }
.arch-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 48px;
}
.arch-loc {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px 3px 6px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(3px);
}
.arch-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.arch-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.arch-card-title a { color: inherit; text-decoration: none; }
.arch-card-title a:hover { color: #356F16; }

.arch-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    color: #666;
    font-size: 12px;
    margin-bottom: 12px;
    flex: 1;
}
.arch-card-meta span { white-space: nowrap; }
.arch-card-meta span + span::before { content: '•'; margin-right: 10px; color: #ddd; }

.arch-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: auto;
}
.arch-price {
    font-size: 18px;
    font-weight: 800;
    color: #356F16;
    line-height: 1;
}
.arch-price em { font-style: normal; font-size: 13px; color: #999; font-weight: 500; }
.arch-btn-detail {
    display: inline-block;
    padding: 6px 14px;
    border: 1.5px solid #356F16;
    border-radius: 6px;
    color: #356F16;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s;
}
.arch-btn-detail:hover { background: #356F16; color: #fff; }

/* ── Pagination ── */
.arch-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.arch-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.arch-pagination .page-numbers.current,
.arch-pagination .page-numbers:hover {
    background: #356F16;
    color: #fff;
    border-color: #356F16;
}
.arch-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    width: auto;
    padding: 0 4px;
}

/* ── No results ── */
.arch-no-results {
    text-align: center;
    padding: 80px 20px;
    color: #888;
}
.arch-no-results-icon { font-size: 56px; margin-bottom: 16px; }
.arch-no-results h2 { font-size: 22px; color: #333; margin: 0 0 8px; }
.arch-no-results p { font-size: 14px; margin-bottom: 24px; }
.arch-btn-reset {
    display: inline-block;
    padding: 10px 24px;
    background: #356F16;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}
.arch-btn-reset:hover { background: #3d8019; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .arch-filter-grid { grid-template-columns: repeat(3, 1fr); }
    .arch-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .arch-filter-grid { grid-template-columns: 1fr 1fr; }
    .arch-filter-col--btn { grid-column: 1 / -1; }
    .arch-label--hidden { display: none; }
    .arch-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
    .arch-filter-grid { grid-template-columns: 1fr; }
}

/* ====================================================
   BDS News Shortcode
   ==================================================== */
.bds-news-wrap {
    width: 100%;
    margin: 20px 0;
}
.bds-news-grid {
    display: grid;
    gap: 20px;
}
.bds-news-grid[data-cols="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.bds-news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.bds-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.bds-news-img-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.bds-news-img {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
}
.bds-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.bds-news-card:hover .bds-news-img img {
    transform: scale(1.05);
}
.bds-news-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 40px;
    color: #ccc;
}

/* Date Badge */
.bds-news-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2;
    min-width: 48px;
}
.bds-news-day {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 2px;
}
.bds-news-month {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #356F16;
    text-transform: uppercase;
    line-height: 1;
}

/* Body */
.bds-news-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.bds-news-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bds-news-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}
.bds-news-title a:hover {
    color: #356F16;
}

/* Read more */
.bds-news-readmore {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: #356F16;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}
.bds-news-readmore:hover {
    color: #265110;
}

/* Responsive */
@media (max-width: 1024px) {
    .bds-news-grid[data-cols="4"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .bds-news-grid[data-cols="4"] { grid-template-columns: 1fr; }
}

/* ====================================================
   Single House (Chi tiết nhà đất)
   ==================================================== */
.sh-wrapper {
    padding-bottom: 20px;
}
.sh-breadcrumbs {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}
.sh-breadcrumbs a {
    color: #356F16;
    text-decoration: none;
}
.sh-breadcrumbs span {
    color: #999;
}
.sh-row {
    margin-bottom: 40px;
}

/* Cột Trái - Gallery */
.sh-gallery-box {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.sh-no-img {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #aaa;
    border-radius: 8px;
    font-size: 20px;
}

/* Cột Phải - Info */
.sh-info-col {
    display: flex;
    flex-direction: column;
}
.sh-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 20px;
}
.sh-price-wrap {
    background: rgba(53,111,22,0.08);
    padding: 16px 20px;
    border-radius: 10px;
    border-left: 5px solid #356F16;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sh-price-label {
    font-size: 16px;
    color: #555;
}
.sh-price-value {
    font-size: 24px;
    font-weight: 800;
    color: #e53935;
}

/* Bảng Thông Số */
.sh-specs {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.sh-specs-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    color: #333;
}
.sh-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}
.sh-specs-list li {
    width: 50%;
    padding: 12px 10px 12px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sh-spec-icon {
    width: 38px;
    height: 38px;
    background: rgba(53,111,22,0.08);
    color: #356F16;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sh-spec-text {
    display: flex;
    flex-direction: column;
}
.sh-spec-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 2px;
    line-height: 1.2;
}
.sh-spec-val {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

/* Hotline Box */
.sh-hotline-box {
    background: linear-gradient(135deg, #356F16 0%, #2a5a12 100%);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(53,111,22,0.3);
}
.sh-hotline-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sh-hotline-text p {
    margin: 0 0 4px;
    font-size: 14px;
    opacity: 0.9;
}
.sh-hotline-num {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    line-height: 1;
}

/* Nội dung chi tiết */
.sh-content-section {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.sh-content-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    border-bottom: 2px solid #356F16;
    display: inline-block;
    padding-bottom: 8px;
}
.sh-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}
.sh-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .sh-specs-list li { width: 100%; }
    .sh-content-section { padding: 20px; }
}
.bds-news-wrap {
    width: 100%;
    margin: 20px 0;
}
.bds-news-grid {
    display: grid;
    gap: 20px;
}
.bds-news-grid[data-cols="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.bds-news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.bds-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.bds-news-img-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.bds-news-img {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
}
.bds-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.bds-news-card:hover .bds-news-img img {
    transform: scale(1.05);
}
.bds-news-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 40px;
    color: #ccc;
}

/* Date Badge */
.bds-news-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2;
    min-width: 48px;
}
.bds-news-day {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 2px;
}
.bds-news-month {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #356F16;
    text-transform: uppercase;
    line-height: 1;
}

/* Body */
.bds-news-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.bds-news-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bds-news-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}
.bds-news-title a:hover {
    color: #356F16;
}

/* Read more */
.bds-news-readmore {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: #356F16;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}
.bds-news-readmore:hover {
    color: #265110;
}

/* Responsive */
@media (max-width: 1024px) {
    .bds-news-grid[data-cols="4"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .bds-news-grid[data-cols="4"] { grid-template-columns: 1fr; }
}

/* ====================================================
   Footer Contact List
   ==================================================== */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.5;
    margin-left: 0px !important;
}
.footer-contact-list li:last-child {
    margin-bottom: 0;
}
.footer-contact-list .fc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}
.footer-contact-list .fc-icon svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
}
.footer-contact-list .fc-text {
    flex: 1;
}
.footer-contact-list .fc-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-contact-list .fc-text a:hover {
    color: #fff;
    opacity: 0.8;
}

/* ====================================================
   Social Icons (Topbar & Footer)
   ==================================================== */
.sh-social-icons {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.sh-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.sh-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0.9;
}
.sh-social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}
.sh-social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}
.sh-social-icon:hover svg,
.sh-social-icon:hover img {
    transform: scale(1.1);
}

/* Kích thước riêng cho từng icon nếu dùng SVG */
.sh-social-icon.sh-zl svg { width: 26px; height: 16px; }
.sh-social-icon.sh-fb svg { width: 14px; height: 18px; }

/* Nếu dùng ảnh (img) lấp đầy nút, dùng class .sh-full-img */
.sh-social-icon.sh-full-img {
    background-color: transparent !important;
    box-shadow: none;
}
.sh-social-icon.sh-full-img img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

/* Màu sắc chuẩn của thương hiệu */
.sh-fb { background-color: #1877F2; } /* Facebook */
.sh-tt { background-color: #000000; } /* TikTok */
.sh-zl { background-color: #0068FF; } /* Zalo */
.sh-yt { background-color: #FF0000; } /* YouTube */

/* ====================================================
   Home Action Buttons (Xem nhà ngay, Hotline)
   ==================================================== */
.home-action-btns {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* Khắc phục lỗi WordPress tự động chèn thẻ <br> hoặc <p> */
.home-action-btns br,
.home-action-btns p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home-action-btns a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.home-btn-primary {
    background-color: #356F16;
    color: #fff !important;
    border: 1px solid #356F16;
}

.home-btn-primary:hover {
    background-color: #2b5a12;
    border-color: #2b5a12;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 111, 22, 0.3);
}

.home-btn-phone {
    background-color: #fff;
    color: #356F16 !important;
    border: 1px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.home-btn-phone:hover {
    background-color: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.home-action-btns svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}
