
                        
/*fn: filterproducts.css*/

                        
/*fn: perfumers.css*/
/* =========================================================
   BẬC THẦY NHÀ ĐIỀU CHẾ NƯỚC HOA (MASTER PERFUMERS) - MC PERFUME
   BRAND THEME: Burgundy #a81e24 | Gold #d97706 | Noto Serif | Montserrat
   ========================================================= */

:root {
    --perfumer-primary: #a81e24;
    --perfumer-gold: #d97706;
    --perfumer-gold-light: #fef3c7;
    --perfumer-dark: #0f172a;
    --perfumer-surface: #ffffff;
    --perfumer-border: #e2e8f0;
}

/* ================== PERFUMERS HUB HERO ================== */
.perfumers-hub-hero {
    background: radial-gradient(circle at 100% 0%, rgba(217, 119, 6, 0.22) 0%, transparent 45%), linear-gradient(135deg, #1c0a0c 0%, #3d1015 45%, #0f172a 100%);
    border-radius: 20px;
    padding: 38px 32px;
    color: #ffffff;
    position: relative;
    box-shadow: 0 12px 30px -8px rgba(168, 30, 36, 0.3);
}

.perfumers-hub-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #fde047;
    margin-bottom: 14px;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
}

.perfumers-hub-title {
    font-family: "Noto Serif", serif !important;
    font-size: clamp(24px, 4vw, 36px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 12px;
    color: #ffffff !important;
    letter-spacing: -0.02em;
}

.perfumers-hub-subtitle {
    font-family: Montserrat, sans-serif !important;
    font-size: 14.5px;
    color: #f1f5f9;
    max-width: 720px;
    line-height: 1.65;
    margin-bottom: 22px;
    opacity: 0.92;
}

/* Thanh tìm kiếm */
.perfumers-search-wrapper {
    position: relative;
}

.perfumers-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    border: 1px solid #e2e8f0;
    z-index: 1050;
    overflow: hidden;
    max-height: 340px;
    overflow-y: auto;
}

/* Quick Nav Filter */
.perfumers-quick-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.perfumers-quick-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
    margin-right: 4px;
}

.perfumers-quick-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 14px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none !important;
}

.perfumers-quick-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.perfumers-quick-btn.active {
    background: #d97706 !important;
    color: #ffffff !important;
    border-color: #f59e0b !important;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.4);
    font-weight: 600;
}

/* ================== FEATURED SHOWCASE ================== */
.perfumer-featured-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    position: relative;
}

.perfumer-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(168, 30, 36, 0.12);
    border-color: #fbcfe8;
}

.perfumer-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.perfumer-avatar-monogram {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a81e24 0%, #f59e0b 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Serif", serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(168, 30, 36, 0.25);
}

.perfumer-badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.perfumer-card-name {
    font-family: "Noto Serif", serif;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.perfumer-card-meta {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.perfumer-card-meta .dot {
    opacity: 0.5;
}

.perfumer-card-bio {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 12px;
    flex-grow: 1;
}

.perfumer-creations-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.creation-pill {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

.perfumer-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
}

.count-highlight {
    font-weight: 700;
    color: #a81e24;
}

.view-link {
    color: #0f172a;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.perfumer-featured-card:hover .view-link {
    transform: translateX(3px);
    color: #a81e24;
}

/* ================== ALPHABET DIRECTORY ================== */
.perfumers-alphabet-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.perfumers-alphabet-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.perfumers-alphabet-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.perfumers-alphabet-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #475569 !important;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none !important;
}

.perfumers-alphabet-btn:hover {
    background: #f1f5f9;
    color: #0f172a !important;
}

.perfumers-alphabet-btn.active {
    background: #a81e24 !important;
    color: #ffffff !important;
    border-color: #a81e24 !important;
    box-shadow: 0 2px 6px rgba(168, 30, 36, 0.25);
    width: auto;
    padding: 0 10px;
}

/* Status Bar */
.perfumers-filter-status {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #334155;
}

.perfumers-filter-reset-btn {
    background: transparent;
    border: none;
    color: #a81e24;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 12.5px;
}

/* ================== ALL PERFUMERS GRID ================== */
.perfumer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.perfumer-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.perfumer-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.perfumer-avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Serif", serif;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.5px;
}

.perfumer-count-pill {
    background: #f1f5f9;
    color: #475569;
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
}

.perfumer-name {
    font-family: "Noto Serif", serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
    line-height: 1.35;
}

.perfumer-house-tag {
    font-size: 11.5px;
    color: #a81e24;
    font-weight: 600;
    margin-bottom: 10px;
}

.perfumer-card-creations {
    font-size: 11.5px;
    color: #64748b;
    margin-bottom: 10px;
    flex-grow: 1;
}

.creations-label {
    font-weight: 600;
    color: #334155;
    margin-right: 4px;
}

.perfumer-mini-bio {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 10px;
    flex-grow: 1;
}

.perfumer-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f8fafc;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    transition: color 0.2s ease;
}

.perfumer-card:hover .perfumer-card-action {
    color: #a81e24;
}

/* ================== DETAIL PAGE: PROFILE HERO ================== */
.perfumer-profile-hero {
    background: linear-gradient(135deg, #fafafa 0%, #f5f3ef 100%);
    border: 1px solid #e7e5e4;
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
}

.perfumer-hero-monogram {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a81e24 0%, #1e293b 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Serif", serif;
    font-weight: 700;
    font-size: 32px;
    box-shadow: 0 10px 24px rgba(168, 30, 36, 0.25);
    margin: 0 auto;
    position: relative;
}

.perfumer-hero-name {
    font-family: "Noto Serif", serif;
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.25;
}

.perfumer-hero-bio {
    font-size: 14.5px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 12px;
}

.perfumer-hero-style {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 14px;
    border-radius: 10px;
    border-left: 3px solid #a81e24;
}

.perfumer-hero-creations {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.perfumer-hero-creations .label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.perfumer-hero-creations .pills-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.signature-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1px solid #d6d3d1;
    color: #1e293b;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.signature-pill:hover {
    background: #fff5f5;
    border-color: #fca5a5;
    color: #a81e24 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(168, 30, 36, 0.15);
}

.signature-pill .pill-arrow-icon {
    opacity: 0.55;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.signature-pill:hover .pill-arrow-icon {
    opacity: 1;
    transform: translate(1px, -1px);
}

.perfumer-hero-stats {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 20px;
    border: 1px solid #e7e5e4;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: "Noto Serif", serif;
    font-size: 20px;
    font-weight: 700;
    color: #a81e24;
    line-height: 1.1;
}

.stat-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ================== FILTER CONTAINER & AJAX TRANSITION ================== */
.perfumer-filter-container {
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.perfumer-filter-container.is-loading {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(20%);
    cursor: wait;
}

/* ================== FILTER BAR ================== */
.perfumer-filter-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 18px;
}

.filter-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
}

button.perfumer-filter-pill,
.perfumer-filter-pill {
    background: #ffffff;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1.5;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

button.perfumer-filter-pill:hover,
.perfumer-filter-pill:hover {
    background: #fff5f5;
    color: #a81e24 !important;
    border-color: #a81e24;
}

button.perfumer-filter-pill.active,
.perfumer-filter-pill.active {
    background: #a81e24 !important;
    color: #ffffff !important;
    border-color: #a81e24 !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(168, 30, 36, 0.25);
}

.perfumer-filter-pill.dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: 0.15em;
}

.perfumer-active-filters {
    font-size: 12.5px;
}

.active-filter-label {
    font-weight: 600;
    color: #475569;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff5f5;
    color: #a81e24 !important;
    border: 1px solid #fecaca;
    padding: 3px 11px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.active-filter-chip:hover {
    background: #fee2e2;
    border-color: #f87171;
    color: #991b1b !important;
    transform: translateY(-1px);
}

.active-filter-chip .chip-remove {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.8;
}

.active-filter-clear-all {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.active-filter-clear-all:hover {
    color: #a81e24;
}

.perfumer-filter-bar .dropdown-item.active,
.perfumer-filter-bar .dropdown-item:active {
    background-color: #a81e24 !important;
    color: #ffffff !important;
}

.perfumer-filter-bar .dropdown-item.active .badge {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* ================== RELATED PERFUMERS ================== */
.perfumer-mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 10px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    height: 100%;
}

.perfumer-mini-card:hover {
    transform: translateY(-3px);
    border-color: #a81e24;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.perfumer-mini-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e293b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Serif", serif;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 8px;
}

.perfumer-mini-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    line-height: 1.25;
}

.perfumer-mini-house {
    font-size: 10.5px;
    color: #64748b;
    margin-bottom: 4px;
}

.perfumer-mini-count {
    font-size: 10px;
    font-weight: 600;
    color: #a81e24;
}

/* ================== SPEC TABLE LINK ================== */
.perfumer-spec-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #1e293b !important;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    margin: 2px 2px;
}

.perfumer-spec-link:hover {
    background: #fee2e2;
    color: #991b1b !important;
    border-color: #fca5a5;
    text-decoration: none;
    transform: translateY(-1px);
}

.perfumer-spec-link strong {
    font-weight: 600;
}

/* ================== RESPONSIVE ADJUSTMENTS ================== */
@media (max-width: 768px) {
    .perfumers-hub-hero {
        padding: 22px 16px;
        border-radius: 16px;
    }
    .perfumers-hub-title {
        font-size: 22px !important;
        margin-bottom: 6px;
    }
    .perfumers-hub-subtitle {
        font-size: 12.5px;
        line-height: 1.45;
        margin-bottom: 14px;
    }

    /* Quick Filter Pills: vuốt ngang mượt mà trên mobile */
    .perfumers-quick-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        width: 100%;
    }
    .perfumers-quick-nav::-webkit-scrollbar {
        display: none;
    }
    .perfumers-quick-label {
        flex-shrink: 0;
        font-size: 11.5px;
    }
    .perfumers-quick-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 4px 11px;
        font-size: 11.5px;
    }

    /* Thanh tra cứu chữ cái A-Z: vuốt ngang mượt mà */
    .perfumers-alphabet-wrapper {
        padding: 8px 12px;
        gap: 8px;
    }
    .perfumers-alphabet-label {
        font-size: 11px;
    }
    .perfumers-alphabet-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
        width: 100%;
    }
    .perfumers-alphabet-nav::-webkit-scrollbar {
        display: none;
    }
    .perfumers-alphabet-btn {
        flex-shrink: 0;
        min-width: 28px;
        height: 28px;
        font-size: 11.5px;
    }

    /* Thẻ Bậc thầy tiêu biểu trên Mobile (col-6) */
    .perfumer-featured-card {
        padding: 12px 10px;
        border-radius: 12px;
    }
    .perfumer-card-header {
        margin-bottom: 8px;
    }
    .perfumer-avatar-monogram {
        width: 38px;
        height: 38px;
        font-size: 13.5px;
    }
    .perfumer-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
    .perfumer-featured-name {
        font-size: 13.5px !important;
        margin-bottom: 2px;
    }
    .perfumer-featured-house {
        font-size: 11px;
        margin-bottom: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .perfumer-featured-creations {
        font-size: 10.5px;
        line-height: 1.35;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .perfumer-featured-footer {
        padding-top: 8px;
        font-size: 10.5px;
    }

    /* Thẻ Nhà Điều Chế trên Mobile (col-6) */
    .perfumer-card {
        padding: 12px 10px;
        border-radius: 12px;
    }
    .perfumer-card-top {
        margin-bottom: 8px;
    }
    .perfumer-avatar-circle {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
    .perfumer-count-pill {
        padding: 2px 7px;
        font-size: 10px;
    }
    .perfumer-name {
        font-size: 13.5px !important;
        line-height: 1.3;
        margin-bottom: 2px;
    }
    .perfumer-house-tag {
        font-size: 11px;
        margin-bottom: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    .perfumer-mini-bio,
    .perfumer-card-creations {
        font-size: 11px;
        line-height: 1.35;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .perfumer-card-action {
        padding-top: 8px;
        font-size: 10.5px;
    }

    /* Profile Detail Page Hero */
    .perfumer-profile-hero {
        padding: 20px 16px;
    }
    .perfumer-hero-monogram {
        width: 68px;
        height: 68px;
        font-size: 24px;
        margin-bottom: 12px;
    }
    .perfumer-hero-stats {
        padding: 12px 14px;
    }
    .perfumer-hero-stats .gap-4 {
        gap: 16px !important;
    }
    .perfumer-hero-creations {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .perfumer-hero-creations .label {
        margin-bottom: 2px;
    }
    .perfumer-hero-creations .pills-list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
    }
    .signature-pill {
        font-size: 11.5px;
        padding: 4px 10px;
    }
}

/* ==========================================================
   PERFUMER AVATAR IMAGE STYLES & HOVER EFFECTS
   ========================================================== */
.perfumer-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.perfumer-hero-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.perfumer-hero-monogram.has-avatar {
    background: transparent !important;
    box-shadow: none !important;
}

.perfumer-hero-monogram:hover .perfumer-hero-avatar-img {
    transform: scale(1.04);
}

.perfumer-avatar-monogram.has-avatar,
.perfumer-avatar-circle.has-avatar,
.perfumer-mini-avatar.has-avatar {
    background: #f1f5f9 !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.perfumer-card:hover .perfumer-avatar-img,
.perfumer-featured-card:hover .perfumer-avatar-img,
.perfumer-mini-card:hover .perfumer-avatar-img {
    transform: scale(1.12);
}

.perfumer-spec-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 6px;
    display: inline-block;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

                        
/*fn: notes.css*/
/* =========================================================
   THƯ VIỆN NỐT HƯƠNG (FRAGRANCE NOTES HUB) - MC PERFUME
   CHUẨN BRAND THEME: Burgundy #a81e24 | Noto Serif | Montserrat
   ========================================================= */

:root {
    --mc-primary: #a81e24;
    --mc-primary-light: #d5252c;
    --mc-surface-light: #fff0e9;
    --mc-text-dark: #111827;
    --mc-text-muted: #6c757d;
}

/* ================== THƯ VIỆN NỐT HƯƠNG (HUB HERO) ================== */
.notes-hub-hero {
    background: radial-gradient(circle at 100% 0%, rgba(217, 119, 6, 0.22) 0%, transparent 45%), linear-gradient(135deg, #1c0a0c 0%, #3d1015 45%, #0f172a 100%);
    border-radius: 20px;
    padding: 38px 32px;
    color: #ffffff;
    position: relative;
    box-shadow: 0 12px 30px -8px rgba(168, 30, 36, 0.3);
}

.notes-hub-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #fde047;
    margin-bottom: 14px;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
}

.notes-hub-title {
    font-family: "Noto Serif", serif !important;
    font-size: clamp(24px, 4vw, 36px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 12px;
    color: #ffffff !important;
    letter-spacing: -0.02em;
}

.notes-hub-subtitle {
    font-family: Montserrat, sans-serif !important;
    font-size: 14.5px;
    color: #f1f5f9;
    max-width: 720px;
    line-height: 1.65;
    margin-bottom: 22px;
    opacity: 0.92;
}

/* Thanh tìm kiếm nhanh nốt hương */
.notes-search-wrapper {
    position: relative;
    max-width: 460px;
}

.notes-search-input {
    width: 100%;
    padding: 12px 18px 12px 44px;
    font-size: 14.5px;
    font-family: Montserrat, sans-serif;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 9999px;
    color: #111827;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notes-search-input:focus {
    background: #ffffff;
    border-color: #a81e24;
    box-shadow: 0 0 0 3px rgba(168, 30, 36, 0.2);
    outline: none;
}

.notes-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

/* Tabs nhóm hương */
.notes-group-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.notes-group-nav::-webkit-scrollbar {
    height: 4px;
}

.notes-group-nav::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.notes-group-btn {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 500;
    font-family: Montserrat, sans-serif;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notes-group-btn:hover {
    background: #fff0e9;
    border-color: #fed7aa;
    color: #a81e24;
}

.notes-group-btn.active {
    background: #a81e24 !important;
    border-color: #a81e24 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(168, 30, 36, 0.25);
}

.notes-group-btn .badge-count {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
}

.notes-group-btn.active .badge-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Thẻ Nốt Hương (Note Card) */
.note-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.note-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    color: inherit !important;
}

.note-card-top,
.note-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.note-avatar-circle,
.note-card-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #fff0e9 0%, #fed7aa 100%);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px;
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    flex-shrink: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    transform: translateZ(0);
}

.note-trending-icon,
.notes-trending-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    background: #ffffff;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px;
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    flex-shrink: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    transform: translateZ(0);
}

.note-avatar-circle img,
.note-card-icon img,
.note-hero-img,
.note-trending-img,
.note-related-img,
.note-grid-img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.note-card:hover .note-grid-img,
.note-trending-card:hover .note-trending-img {
    transform: scale(1.08);
}

.note-count-pill,
.note-card-count {
    background: #f1f5f9;
    color: #475569;
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
}

.note-card:hover .note-count-pill,
.note-card:hover .note-card-count {
    background: #fff0e9;
    color: #a81e24;
}

.note-name,
.note-card-title {
    font-family: "Noto Serif", serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 3px;
    line-height: 1.35;
}

.note-house-tag,
.note-card-en {
    font-size: 11.5px;
    color: #a81e24;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: Montserrat, sans-serif;
}

.note-house-tag .dot {
    opacity: 0.5;
    color: #94a3b8;
}

.note-mini-bio,
.note-card-desc {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 10px;
    flex-grow: 1;
    font-family: Montserrat, sans-serif;
}

.note-card-action,
.note-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f8fafc;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    transition: color 0.2s ease;
    font-family: Montserrat, sans-serif;
}

.note-card:hover .note-card-action,
.note-card:hover .note-card-footer {
    color: #a81e24;
}

/* ================== TRANG CHI TIẾT NỐT HƯƠNG (SINGLE NOTE) ================== */
.note-detail-hero {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
}

.note-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    background: #fff0e9;
    color: #a81e24;
    border: 1px solid #fed7aa;
}

.note-detail-title {
    font-family: "Noto Serif", serif !important;
    font-size: clamp(24px, 3.2vw, 32px) !important;
    font-weight: 600 !important;
    color: #111827 !important;
    line-height: 1.3 !important;
    margin-bottom: 4px;
}

.note-detail-en {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    color: #64748b;
    font-style: italic;
    margin-bottom: 12px;
}

.note-detail-desc {
    font-family: Montserrat, sans-serif;
    font-size: 14.5px;
    line-height: 1.65;
    color: #334155;
    max-width: 840px;
    margin-bottom: 16px;
}

.note-detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    font-family: Montserrat, sans-serif;
}

.note-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: #475569;
}

.note-stat-item strong {
    color: #a81e24;
    font-size: 15px;
}

/* Card kết nối bài blog cẩm nang */
.note-blog-card {
    background: linear-gradient(135deg, #fffaf5 0%, #fff0e9 100%);
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 768px) {
    .note-blog-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.note-blog-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.note-blog-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.note-blog-title {
    font-family: "Noto Serif", serif !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    color: #a81e24 !important;
    margin: 0 0 3px 0;
    line-height: 1.4;
}

.note-blog-desc {
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    color: #475569;
    margin: 0;
}

.note-blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #a81e24;
    color: #ffffff !important;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.note-blog-btn:hover {
    background: #8e181d;
    box-shadow: 0 4px 8px rgba(168, 30, 36, 0.25);
    color: #ffffff !important;
}

/* Bộ lọc phân tầng (Tất cả, Hương đầu, Hương giữa, Hương cuối) */
.note-tier-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.note-tier-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    font-family: Montserrat, sans-serif;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none !important;
}

.note-tier-btn:hover {
    border-color: #cbd5e1;
    color: #a81e24;
    background: #fff0e9;
}

.note-tier-btn.active {
    background: #a81e24 !important;
    border-color: #a81e24 !important;
    color: #ffffff !important;
}

.note-tier-btn .count {
    font-size: 11.5px;
    opacity: 0.9;
}

/* ================== THẺ LINK NỐT HƯƠNG TRÊN TRANG SẢN PHẨM ================== */
.note-pill-link {
    display: inline-block;
    padding: 1px 8px;
    margin: 2px 2px;
    background: #fff0e9;
    color: #a81e24 !important;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    font-family: Montserrat, sans-serif;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.note-pill-link:hover {
    background: #a81e24;
    color: #ffffff !important;
    border-color: #a81e24;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(168, 30, 36, 0.2);
}

/* ================== BỘ LỌC GU MÙI & MÙA (VIBE / SEASON QUICK PILLS) ================== */
.notes-quick-nav,
.notes-vibe-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.notes-quick-label,
.notes-vibe-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
    margin-right: 4px;
    font-family: Montserrat, sans-serif;
}

.notes-quick-btn,
.notes-vibe-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 14px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: Montserrat, sans-serif;
    text-decoration: none !important;
    display: inline-block;
}

.notes-quick-btn:hover,
.notes-vibe-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.notes-quick-btn.active,
.notes-vibe-btn.active {
    background: #d97706 !important;
    color: #ffffff !important;
    border-color: #f59e0b !important;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.4);
    font-weight: 600;
}

/* ================== THANH TRA CỨU CHỮ CÁI (A-Z DIRECTORY) ================== */
.notes-alphabet-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.notes-alphabet-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: Montserrat, sans-serif;
    flex-shrink: 0;
}

.notes-alphabet-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.notes-alphabet-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #475569 !important;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: Montserrat, sans-serif;
    text-decoration: none !important;
}

.notes-alphabet-btn:hover {
    background: #f1f5f9;
    color: #0f172a !important;
}

.notes-alphabet-btn.active {
    background: #a81e24 !important;
    color: #ffffff !important;
    border-color: #a81e24 !important;
    box-shadow: 0 2px 6px rgba(168, 30, 36, 0.25);
    min-width: auto;
    padding: 0 10px;
    font-weight: 700;
}

/* ================== TOP NỐT HƯƠNG XU HƯỚNG (TRENDING SHOWCASE) ================== */
.notes-featured-section,
.notes-trending-section {
    margin-bottom: 24px;
}

.note-trending-card,
.notes-trending-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 14px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.note-trending-card:hover,
.notes-trending-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(168, 30, 36, 0.12);
    border-color: #fbcfe8;
}

.note-trending-header,
.notes-trending-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.note-trending-icon,
.notes-trending-icon {
    font-size: 22px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff0e9;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    overflow: hidden;
}

.note-trending-badge,
.notes-trending-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    border-radius: 9999px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.note-trending-name,
.notes-trending-name {
    font-family: "Noto Serif", serif !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 2px 0;
    line-height: 1.35;
}

.note-trending-meta,
.notes-trending-meta {
    font-size: 11.5px;
    color: #64748b;
    font-family: Montserrat, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
}

.note-trending-meta .count,
.notes-trending-meta .count {
    color: #a81e24;
    font-weight: 600;
}

/* Banner trạng thái bộ lọc */
.notes-filter-status {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #334155;
    font-family: Montserrat, sans-serif;
}

.notes-filter-status-text {
    font-weight: 600;
}

.notes-filter-reset-btn {
    background: transparent;
    border: none;
    color: #a81e24;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 12.5px;
    text-decoration: none;
}

.notes-filter-reset-btn:hover {
    text-decoration: underline;
    color: #83181d;
}

/* ================== SEARCH AUTOCOMPLETE DROPDOWN ================== */
.notes-search-wrapper {
    position: relative;
    max-width: 480px;
    margin-bottom: 16px;
}

.notes-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    z-index: 1050;
    max-height: 360px;
    overflow-y: auto;
    color: #1e293b;
    padding: 6px 0;
    scrollbar-width: thin;
}

.notes-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    text-decoration: none !important;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
    cursor: pointer;
}

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

.notes-search-item:hover,
.notes-search-item:active {
    background: #fff0e9;
    color: #a81e24;
}

.notes-search-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.notes-search-item-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: #f8fafc;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px;
    flex-shrink: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.notes-search-item-icon img,
.notes-search-dropdown img,
#notesSearchDropdown img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    display: block !important;
    border: none !important;
}

.notes-search-item-icon span {
    font-size: 16px;
    line-height: 1;
}

.notes-search-item-info {
    min-width: 0;
    text-align: left;
}

.notes-search-item-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notes-search-item-en {
    font-size: 11px;
    color: #64748b;
    line-height: 1.2;
}

.notes-search-item-count {
    font-size: 11px;
    font-weight: 600;
    color: #a81e24;
    background: #fee2e2;
    padding: 3px 8px;
    border-radius: 9999px;
    white-space: nowrap;
    margin-left: 8px;
    flex-shrink: 0;
}

.notes-search-dropdown-footer {
    padding: 10px 14px;
    background: #fff0e9;
    border-top: 1px solid #fed7aa;
    font-size: 12.5px;
    font-weight: 600;
    color: #a81e24;
    text-align: center;
    cursor: pointer;
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 13px;
    transition: background 0.15s ease;
}

.notes-search-dropdown-footer:hover {
    background: #fbd5c8;
}

.notes-search-empty {
    padding: 18px 14px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

/* ================== NỐT HƯƠNG CÙNG NHÓM (RELATED NOTES IN SAME GROUP) ================== */
.note-related-section {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.note-related-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.note-related-card:hover {
    transform: translateY(-2px);
    border-color: #fca5a5;
    background: #fffafa;
    box-shadow: 0 4px 12px rgba(168, 30, 36, 0.08);
}

.note-related-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.note-related-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    font-family: Montserrat, sans-serif;
    margin-bottom: 3px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.note-related-card:hover .note-related-name {
    color: #a81e24;
}

.note-related-count {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

/* ================== RESPONSIVE ADJUSTMENTS ================== */
@media (max-width: 768px) {
    .notes-hub-hero {
        padding: 22px 16px;
        border-radius: 16px;
    }
    .notes-hub-title {
        font-size: 22px !important;
        margin-bottom: 6px;
    }
    .notes-hub-subtitle {
        font-size: 12.5px;
        line-height: 1.45;
        margin-bottom: 14px;
    }

    /* Quick Filter Pills (Nhóm & Gu): vuốt ngang mượt mà trên mobile */
    .notes-quick-nav,
    .notes-vibe-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        width: 100%;
    }
    .notes-quick-nav::-webkit-scrollbar,
    .notes-vibe-nav::-webkit-scrollbar {
        display: none;
    }
    .notes-quick-label,
    .notes-vibe-label {
        flex-shrink: 0;
        font-size: 11.5px;
    }
    .notes-quick-btn,
    .notes-vibe-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 4px 11px;
        font-size: 11.5px;
    }

    /* Thanh tra cứu chữ cái A-Z: vuốt ngang mượt mà */
    .notes-alphabet-wrapper {
        padding: 8px 12px;
        gap: 8px;
    }
    .notes-alphabet-label {
        font-size: 11px;
    }
    .notes-alphabet-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
        width: 100%;
    }
    .notes-alphabet-nav::-webkit-scrollbar {
        display: none;
    }
    .notes-alphabet-btn {
        flex-shrink: 0;
        min-width: 28px;
        height: 28px;
        font-size: 11.5px;
    }

    /* Thẻ Nốt Hương Thịnh Hành trên Mobile (col-6) */
    .note-trending-card,
    .notes-trending-card {
        padding: 10px;
        border-radius: 12px;
    }
    .note-trending-header,
    .notes-trending-header {
        margin-bottom: 8px;
    }
    .note-trending-icon,
    .notes-trending-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        font-size: 15px !important;
    }
    .note-trending-badge,
    .notes-trending-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
    .note-trending-name,
    .notes-trending-name {
        font-size: 13px !important;
        margin-bottom: 2px;
    }
    .note-trending-meta,
    .notes-trending-meta {
        font-size: 10.5px;
        padding-top: 6px;
    }

    /* Thẻ Nốt Hương trong danh sách trên Mobile (col-6) */
    .note-card {
        padding: 12px 10px;
        border-radius: 12px;
    }
    .note-card-top,
    .note-card-header {
        margin-bottom: 8px;
    }
    .note-avatar-circle,
    .note-card-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 50% !important;
        font-size: 15px !important;
    }
    .note-count-pill,
    .note-card-count {
        padding: 2px 7px;
        font-size: 10px;
    }
    .note-name,
    .note-card-title {
        font-size: 13.5px !important;
        line-height: 1.3;
        margin-bottom: 2px;
    }
    .note-house-tag,
    .note-card-en {
        font-size: 11px;
        margin-bottom: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    .note-mini-bio,
    .note-card-desc {
        font-size: 11px;
        line-height: 1.35;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .note-card-action,
    .note-card-footer {
        padding-top: 8px;
        font-size: 10.5px;
    }

    /* Trang Chi Tiết Nốt Hương trên Mobile */
    .note-detail-hero {
        padding: 18px 14px;
        border-radius: 14px;
    }
    .note-detail-title {
        font-size: 20px !important;
    }
    .note-detail-desc {
        font-size: 13px;
        line-height: 1.5;
    }
    .note-detail-stats {
        gap: 10px;
    }
    .note-stat-item {
        font-size: 12px;
    }
    .note-blog-card {
        padding: 14px;
    }
}


