@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&subset=vietnamese&display=swap');

/* ====================================================
   HOME CATEGORIES SECTION (DANH MỤC CHO THUÊ)
   ==================================================== */
.home-categories-section {
    padding: 10px 0 0px;
    background-color: #ffffff;
    font-family: var(--font-family, "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.categories-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.categories-header-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.categories-title-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.categories-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.categories-title-line {
    display: inline-block;
    width: 36px;
    height: 2px;
    background: #cbd5e1;
    border-radius: 2px;
}

.categories-more-link {
    font-size: 14.5px;
    font-weight: 600;
    color: #0077ff;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.categories-more-link svg {
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.categories-more-link:hover {
    color: #0056cc;
    transform: translateX(3px);
}

.categories-more-mobile {
    display: none;
}

.categories-slider {
    margin: 0 -8px;
}

.categories-slider .slick-list {
    padding: 6px 0 16px;
}

.category-item {
    padding: 0 8px;
    outline: none !important;
}

/* Card Root */
.category-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1.5px solid transparent;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

/* Card Upper (Media & Badge) */
.category-card-media {
    position: relative;
    width: 100%;
    height: 136px;
    overflow: hidden;
    background-color: #f1f5f9;
}

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

.category-card:hover .category-card-media .category-img {
    transform: scale(1.06);
}

/* Floating Badge Icon (Top-Left of Image) */
.category-badge-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease;
}

.category-card:hover .category-badge-icon {
    transform: scale(1.1);
}

.category-badge-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.category-badge-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Card Lower (Body / Info) */
.category-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    min-height: 84px;
    transition: background-color 0.2s ease;
}

.category-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-count {
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ====================================================
   6 THEME PALETTES (MATCHING MOCKUP)
   ==================================================== */
/* Theme 1: Thuê người (Coral Pink) */
.category-card.cat-theme-1 {
    border-color: #ffd6df;
}

.category-card.cat-theme-1 .category-badge-icon {
    background: linear-gradient(135deg, #ff6b8b 0%, #ff4757 100%);
}

.category-card.cat-theme-1 .category-card-body {
    background-color: #fff0f3;
}

/* Theme 2: Thuê phòng (Sky Blue) */
.category-card.cat-theme-2 {
    border-color: #bae6fd;
}

.category-card.cat-theme-2 .category-badge-icon {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}

.category-card.cat-theme-2 .category-card-body {
    background-color: #f0f7ff;
}

/* Theme 3: Thuê đồ đạc (Emerald Green) */
.category-card.cat-theme-3 {
    border-color: #bbf7d0;
}

.category-card.cat-theme-3 .category-badge-icon {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.category-card.cat-theme-3 .category-card-body {
    background-color: #f0fdf4;
}

/* Theme 4: Thuê quần áo (Lavender / Purple) */
.category-card.cat-theme-4 {
    border-color: #e9d5ff;
}

.category-card.cat-theme-4 .category-badge-icon {
    background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%);
}

.category-card.cat-theme-4 .category-card-body {
    background-color: #faf5ff;
}

/* Theme 5: Thuê xe (Vibrant Orange) */
.category-card.cat-theme-5 {
    border-color: #fed7aa;
}

.category-card.cat-theme-5 .category-badge-icon {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
}

.category-card.cat-theme-5 .category-card-body {
    background-color: #fff7ed;
}

/* Theme 6: Đồ miễn phí, cho tặng (Teal / Cyan) */
.category-card.cat-theme-6 {
    border-color: #a5f3fc;
}

.category-card.cat-theme-6 .category-badge-icon {
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
}

.category-card.cat-theme-6 .category-card-body {
    background-color: #ecfeff;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .category-card-media {
        height: 120px;
    }

    .category-card-body {
        padding: 10px 12px 12px;
        min-height: 80px;
    }
}

@media (max-width: 768px) {
    .home-categories-section {
        padding: 22px 0 12px;
    }

    .categories-header .categories-more-link {
        display: none !important;
    }

    .categories-title {
        font-size: 17px;
    }

    .categories-title-icon {
        width: 18px;
        height: 18px;
    }

    .categories-title-line {
        width: 24px;
    }

    .categories-more-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 14px;
    }

    .categories-more-mobile .categories-more-link {
        font-size: 13.5px;
        font-weight: 600;
        color: #0077ff;
        background: #f8fafc;
        padding: 7px 22px;
        border-radius: 20px;
        border: 1px solid #e2e8f0;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.2s ease;
    }

    .categories-more-mobile .categories-more-link:hover {
        background: #f1f5f9;
        border-color: #cbd5e1;
    }

    .category-card {
        border-radius: 14px;
    }

    .category-card-media {
        height: 105px;
    }

    .category-badge-icon {
        width: 32px;
        height: 32px;
        top: 8px;
        left: 8px;
    }

    .category-badge-icon svg,
    .category-badge-icon img {
        width: 16px;
        height: 16px;
    }

    .category-card-body {
        padding: 10px 10px 12px;
        min-height: 72px;
    }

    .category-name {
        font-size: 13.5px;
    }

    .category-count {
        font-size: 11px;
    }

    .categories-slider {
        margin: 0 -4px;
    }

    .category-item {
        padding: 0 4px;
    }
}

/* ====================================================
   HOME HERO BANNER SECTION (KHá»I 1)
   ==================================================== */
.home-hero-banner-section {
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
}

.hero-banner-slider {
    position: relative;
}

.hero-banner-slide {
    position: relative;
    min-height: 570px;
    display: flex !important;
    align-items: center;
    padding: 70px 0 85px;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    z-index: 1;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.94) 42%, rgba(255, 255, 255, 0.55) 70%, rgba(255, 255, 255, 0.1) 100%); */
    z-index: 2;
}

.hero-slide-ctnr {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-slide-content {
    max-width: 680px;
}

.hero-sub-title {
    display: inline-block;
    font-size: 42px;
    font-weight: 700;
    color: #ffcb05;
    letter-spacing: 0.5px;
    text-transform: none;
    margin-bottom: 4px;
    font-family: 'Caveat', cursive, sans-serif;
    transform: rotate(-2deg);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 40, 90, 0.25);
}

.hero-main-title {
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.05;
    margin: 4px 0 16px 0;
    font-family: var(--font-family, "Roboto", sans-serif);
    text-shadow: 0 4px 16px rgba(0, 114, 255, 0.9), 0 2px 4px rgba(0, 40, 120, 0.8), 0 0 24px rgba(0, 140, 255, 0.55);
}

.hero-desc {
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.45;
    color: #083868;
    margin: 0 0 26px 0;
    max-width: 640px;
    letter-spacing: 0.2px;
}

/* 3 Trust Badges Matching Mockup */
.hero-trust-badges {
    display: flex;
    align-items: stretch;
    gap: 14px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.trust-badge-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 18px rgba(0, 20, 60, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.95);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-badge-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 20, 60, 0.14);
}

.trust-badge-card .badge-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.trust-badge-card .badge-text {
    display: flex;
    flex-direction: column;
}

.trust-badge-card .badge-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #083868;
    line-height: 1.25;
}

.trust-badge-card .badge-sub {
    font-size: 12px;
    font-weight: 500;
    color: #334155;
    line-height: 1.25;
    margin-top: 2px;
}

/* Slick Dots for Hero Banner */
.hero-banner-slider .slick-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
}

.hero-banner-slider .slick-dots li button {
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-banner-slider .slick-dots li.slick-active button {
    background: #0b192c;
    width: 28px;
    border-radius: 6px;
}

/* ====================================================
   HOME SEARCH BAR SECTION (BỘ TÌM KIẾM & BỘ LỌC)
   ==================================================== */
.home-search-bar-section {
    position: relative;
    z-index: 30;
    margin-top: -90px;
    padding-bottom: 25px;
    font-family: var(--font-family, "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.search-filter-card {
    background: #f6fbff;
    border: 1px solid #e1e7ef;
    border-radius: 20px;
    box-shadow: 0 12px 35px -5px rgba(15, 23, 42, 0.08), 0 4px 14px rgba(0, 0, 0, 0.03);
    padding: 18px 24px 16px 24px;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.search-filter-card:hover {
    box-shadow: 0 16px 40px -5px rgba(15, 23, 42, 0.12), 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* TOP ROW: 4 COLUMNS */
.search-filter-top-row {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 18px;
    align-items: flex-end;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.filter-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid #edf2f7;
    padding-right: 18px;
}

.filter-col:last-child {
    border-right: none;
    padding-right: 0;
}

/* Column 1: Location */
.filter-col-location {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-location-header {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 10px;
    align-items: center;
}

.filter-location-header .header-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-location-subgrid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 10px;
}

/* Column Header */
.filter-col-header {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 22px;
}

.filter-col-header .filter-icon,
.filter-location-header .filter-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-col-header .filter-label,
.filter-location-header .filter-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    letter-spacing: 0.1px;
}

/* Dropdown Select Controls */
.filter-select-wrap {
    position: relative;
    width: 100%;
}

.filter-select {
    width: 100%;
    height: 38px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 28px 0 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-select:hover {
    border-color: #cbd5e1;
}

.filter-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.filter-select-wrap .select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-select-wrap .select-target-icon {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    color: #0077ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.filter-select-wrap .select-target-icon:hover {
    transform: translateY(-50%) scale(1.15);
}

/* BOTTOM ROW */
.search-filter-bottom-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 14px;
}

/* Search input container */
.search-input-field-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 46px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 16px;
    transition: all 0.2s ease;
}

.search-input-field-wrap:hover {
    border-color: #cbd5e1;
}

.search-input-field-wrap:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.search-input-icon {
    flex-shrink: 0;
    color: #0077ff;
}

.search-input-main {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #1e293b;
    width: 100%;
}

.search-input-main::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Gradient Search Button */
.btn-search-gradient {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 46px;
    padding: 0 28px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg, #0099ff 0%, #2b77f5 45%, #7b42f6 100%);
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(43, 119, 245, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-search-gradient:hover {
    background: linear-gradient(90deg, #0088ee 0%, #1e66e6 45%, #6a32e5 100%);
    box-shadow: 0 6px 20px rgba(123, 66, 246, 0.45);
    transform: translateY(-2px);
}

.btn-search-gradient .search-btn-icon {
    width: 16px;
    height: 16px;
}

.btn-search-gradient .arrow-right-icon {
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.btn-search-gradient:hover .arrow-right-icon {
    transform: translateX(3px);
}

/* Advanced Search Button */
.btn-advanced-search {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0c55a5;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    padding: 8px 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-advanced-search svg {
    color: #0c55a5;
    transition: transform 0.2s ease;
}

.btn-advanced-search:hover {
    color: #004499;
}

.btn-advanced-search:hover svg {
    transform: rotate(15deg);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .search-filter-top-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .filter-col {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 12px;
    }

    .filter-col:nth-last-child(-n+2) {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .home-search-bar-section {
        margin-top: -30px;
        padding-bottom: 15px;
    }

    .search-filter-card {
        padding: 16px 14px 14px 14px;
        border-radius: 16px;
    }

    .search-filter-top-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-bottom: 10px;
    }

    .filter-col {
        border-bottom: 1px dashed #e2e8f0;
        padding-bottom: 10px;
        border-right: none;
        padding-right: 0;
    }

    .filter-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .filter-location-subgrid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .filter-location-header {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .search-filter-bottom-row {
        flex-direction: column;
        gap: 10px;
        padding-top: 10px;
    }

    .search-input-field-wrap {
        width: 100%;
        height: 42px;
    }

    .btn-search-gradient {
        width: 100%;
        height: 44px;
    }

    .btn-advanced-search {
        justify-content: center;
        width: 100%;
        padding: 4px 0;
    }
}

@media (max-width: 480px) {
    .filter-location-subgrid {
        grid-template-columns: 1fr;
    }

    .filter-location-header {
        grid-template-columns: 1fr;
    }

    .filter-location-header .header-item:nth-child(2) {
        display: none;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-main-title {
        font-size: 46px;
    }

    .hero-sub-title {
        font-size: 38px;
    }
}

@media (max-width: 992px) {
    .hero-banner-slide {
        min-height: 420px;
        padding: 45px 0 70px;
    }

    .hero-slide-overlay {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0.4) 100%);
    }

    .hero-sub-title {
        font-size: 34px;
    }

    .hero-main-title {
        font-size: 38px;
    }

    .hero-desc {
        font-size: 15px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-trust-badges {
        gap: 10px;
    }

    .trust-badge-card {
        padding: 8px 14px;
        border-radius: 12px;
    }
}

@media (max-width: 640px) {
    .hero-banner-slide {
        min-height: auto;
        padding: 30px 0 50px;
    }

    .hero-sub-title {
        font-size: 28px;
        margin-bottom: 2px;
    }

    .hero-main-title {
        font-size: 32px;
        line-height: 1.12;
        margin: 2px 0 10px 0;
    }

    .hero-desc {
        font-size: 13.5px;
        margin-bottom: 16px;
        line-height: 1.4;
    }

    .hero-trust-badges {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .trust-badge-card {
        width: 100%;
        padding: 8px 14px;
    }
}

/* ====================================================
   HOME FAST FILTER SECTION (BỘ LỌC NHANH 4 CỘT)
   ==================================================== */
.home-fast-filter-section {
    padding: 10px 0 10px;
    background: transparent;
    font-family: var(--font-family, "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.fast-filter-card {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px rgba(0, 119, 255, 0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.fast-filter-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 28px rgba(0, 119, 255, 0.08);
}

.fast-filter-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
    gap: 28px;
}

.fast-filter-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.fast-filter-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: #edf2f7;
}

.fast-filter-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.fast-filter-icon {
    flex-shrink: 0;
    color: #0077ff;
}

.fast-filter-title {
    font-size: 13px;
    font-weight: 700;
    color: #0077ff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.25;
}

.fast-filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Custom Checkbox */
.fast-filter-checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    margin: 0;
    transition: color 0.2s ease;
}

.fast-filter-checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid #93c5fd;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    color: #ffffff;
}

.custom-checkbox svg {
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fast-filter-checkbox-item input[type="checkbox"]:checked+.custom-checkbox {
    background: #0077ff;
    border-color: #0077ff;
}

.fast-filter-checkbox-item input[type="checkbox"]:checked+.custom-checkbox svg {
    opacity: 1;
    transform: scale(1);
}

.fast-filter-checkbox-item:hover .custom-checkbox {
    border-color: #0077ff;
}

.fast-filter-checkbox-item .item-label {
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.fast-filter-checkbox-item:hover .item-label {
    color: #0077ff;
}

.fast-filter-checkbox-item input[type="checkbox"]:checked~.item-label {
    color: #0f172a;
    font-weight: 600;
}

/* Custom Radio */
.fast-filter-radio-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    margin: 0;
    transition: color 0.2s ease;
}

.fast-filter-radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.custom-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #93c5fd;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.custom-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0077ff;
    transform: scale(0);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fast-filter-radio-item input[type="radio"]:checked+.custom-radio {
    border-color: #0077ff;
}

.fast-filter-radio-item input[type="radio"]:checked+.custom-radio::after {
    transform: scale(1);
}

.fast-filter-radio-item:hover .custom-radio {
    border-color: #0077ff;
}

.fast-filter-radio-item .item-label {
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.fast-filter-radio-item:hover .item-label {
    color: #0077ff;
}

.fast-filter-radio-item input[type="radio"]:checked~.item-label {
    color: #0f172a;
    font-weight: 600;
}

/* Price Pills (Col 3) */
.fast-filter-select-pills {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-pill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.price-pill-item svg {
    color: #64748b;
    transition: transform 0.2s ease, color 0.2s ease;
}

.price-pill-item:hover {
    border-color: #0077ff;
    color: #0077ff;
    background: #f8fafc;
}

.price-pill-item:hover svg {
    color: #0077ff;
    transform: translateY(1px);
}

.price-pill-item.active {
    background: #eff6ff;
    border-color: #0077ff;
    color: #0077ff;
    font-weight: 600;
}

/* ====================================================
   HOME LATEST LISTINGS SECTION (TIN ĐĂNG MỚI NHẤT)
   ==================================================== */
.home-latest-listings-section {
    padding: 25px 0 35px;
    background: transparent;
    font-family: var(--font-family, "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

/* Header */
.listings-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.listings-header-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.flame-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.listings-main-title {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
    line-height: 1.2;
}

.listings-title-line {
    display: inline-block;
    width: 32px;
    height: 3px;
    background: #f59e0b;
    border-radius: 3px;
}

/* Tabs */
.listings-filter-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.listings-filter-tabs .tab-btn {
    padding: 7px 22px;
    border-radius: 24px;
    border: none;
    outline: none !important;
    background: #f1f5f9;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.listings-filter-tabs .tab-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.listings-filter-tabs .tab-btn.active {
    background: #0077ff;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 119, 255, 0.3);
}

/* Slider & Cards */
.listings-slider {
    margin: 0 -8px;
}

.listings-slider .slick-list {
    padding: 4px 0 16px;
    overflow: hidden;
}

.listing-item {
    padding: 0 8px;
    outline: none !important;
}

.listing-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

/* Thumbnail */
.listing-card-thumb {
    position: relative;
    width: 100%;
    height: 136px;
    overflow: hidden;
    background: #f1f5f9;
}

.listing-card-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

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

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

/* Category Badge (Top-left of image) */
.listing-category-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    pointer-events: none;
    z-index: 2;
    text-transform: none;
}

.listing-category-badge.badge-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.listing-category-badge.badge-blue {
    background: linear-gradient(135deg, #0284c7 0%, #0077ff 100%);
}

.listing-category-badge.badge-pink {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%);
}

.listing-category-badge.badge-teal {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.listing-category-badge.badge-red {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Card Body */
.listing-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.listing-card-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.38;
    margin: 0 0 8px 0;
    min-height: 38px;
}

.listing-card-title a {
    color: #0f172a;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.listing-card-title a:hover {
    color: #0077ff;
}

.listing-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 11.5px;
    color: #64748b;
}

.listing-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-card-meta svg {
    color: #94a3b8;
    flex-shrink: 0;
}

.listing-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px dashed #edf2f7;
}

.listing-price {
    font-size: 14px;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 0.2px;
}

.listing-price.price-free {
    color: #ef4444;
}

.btn-wishlist-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    outline: none !important;
}

.btn-wishlist-toggle:hover,
.btn-wishlist-toggle.active {
    color: #ef4444;
}

.btn-wishlist-toggle.active svg {
    fill: #ef4444;
    transform: scale(1.1);
}

/* ====================================================
   HOME TRIPLE PROMO SECTION (3 BANNER TIỆN ÍCH)
   ==================================================== */
.home-triple-promo-section {
    padding: 0 0 35px;
    background: transparent;
    font-family: var(--font-family, "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.triple-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.promo-card {
    position: relative;
    border-radius: 18px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

/* Card 1: Blue (Đăng tin miễn phí) */
.promo-card-blue {
    background: linear-gradient(135deg, #094074 0%, #0c55a5 45%, #0077ff 100%);
    color: #ffffff;
}

/* Card 2: Pink / Purple (An toàn giao dịch) */
.promo-card-pink {
    background: linear-gradient(135deg, #be123c 0%, #e11d48 45%, #f43f5e 100%);
    color: #ffffff;
}

/* Card 3: Emerald / Teal (Hỗ trợ 24/7) */
.promo-card-teal {
    background: linear-gradient(135deg, #047857 0%, #059669 45%, #0d9488 100%);
    color: #ffffff;
}

/* Left Image Wrap */
.promo-card-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.promo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.promo-img-phone {
    height: 78px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.promo-img-shield {
    height: 74px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.promo-img-support {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* Right Content */
.promo-card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

.promo-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
    line-height: 1.25;
}

.promo-desc {
    font-size: 12.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Buttons */
.btn-promo-action {
    display: inline-block;
    padding: 7px 20px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: none;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-promo-yellow {
    background: #ffd000;
    color: #0f172a !important;
}

.btn-promo-yellow:hover {
    background: #ffdb33;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 208, 0, 0.4);
}

.btn-promo-white {
    background: #ffffff;
    color: #0f172a !important;
}

.btn-promo-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.4);
}

/* ====================================================
   RESPONSIVE MEDIA QUERIES FOR 3 SECTIONS
   ==================================================== */
@media (max-width: 1200px) {
    .fast-filter-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
        gap: 20px;
    }

    .fast-filter-card {
        padding: 20px 22px;
    }
}

@media (max-width: 992px) {
    .fast-filter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px 28px;
    }

    .fast-filter-col:nth-child(2)::after {
        display: none;
    }

    .triple-promo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .promo-card {
        padding: 18px 22px;
    }
}

@media (max-width: 768px) {
    .home-fast-filter-section {
        padding: 10px 0 20px;
    }

    .fast-filter-card {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .fast-filter-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fast-filter-col::after {
        display: none !important;
    }

    .fast-filter-col {
        border-bottom: 1px dashed #e2e8f0;
        padding-bottom: 16px;
    }

    .fast-filter-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Listings Section Mobile */
    .home-latest-listings-section {
        padding: 15px 0 25px;
    }

    .listings-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 16px;
    }

    .listings-main-title {
        font-size: 17px;
    }

    .listings-filter-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .listings-filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .listings-filter-tabs .tab-btn {
        padding: 6px 16px;
        font-size: 12.5px;
        flex-shrink: 0;
    }

    .listing-card-thumb {
        height: 110px;
    }

    .listing-card-body {
        padding: 10px 10px 12px;
    }

    .listing-card-title {
        font-size: 12.5px;
        min-height: 34px;
        margin-bottom: 6px;
    }

    .listing-card-meta {
        font-size: 10.5px;
        gap: 3px;
        margin-bottom: 8px;
    }

    .listing-price {
        font-size: 12.5px;
    }

    .listings-slider {
        margin: 0 -4px;
    }

    .listing-item {
        padding: 0 4px;
    }

    /* Triple Promo Mobile */
    .home-triple-promo-section {
        padding: 0 0 25px;
    }

    .promo-card {
        padding: 16px 18px;
        border-radius: 14px;
        gap: 14px;
    }

    .promo-card-left {
        width: 65px;
        height: 65px;
    }

    .promo-img-phone {
        height: 65px;
    }

    .promo-img-shield {
        height: 60px;
    }

    .promo-img-support {
        width: 62px;
        height: 62px;
    }

    .promo-title {
        font-size: 15px;
    }

    .promo-desc {
        font-size: 11.5px;
        margin-bottom: 8px;
    }

    .btn-promo-action {
        padding: 5px 16px;
        font-size: 11.5px;
    }
}