
                        
/*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;
    }
}
