/* NESS MUSIC - PRODUCT FILTER */
#ness-product-filter {
    --ness-filter-purple: #8b5cf6;
    --ness-filter-purple-light: #a78bfa;
    --ness-filter-pink: #ec4899;
    --ness-filter-text-muted: #a99bbd;
    --ness-filter-border: rgba(255,255,255,.10);
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
    color: #fff;
    font-family: inherit;
    position: relative;
    isolation: isolate;
}

/* BOX PRINCIPALE */
#ness-product-filter .ness-filter-form {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 38px;
    box-sizing: border-box;
    background: radial-gradient(circle at 95% 0%,rgba(139,92,246,.16),transparent 35%),radial-gradient(circle at 0% 100%,rgba(236,72,153,.10),transparent 35%),linear-gradient(145deg,#180d27,#110719);
    border: 1px solid var(--ness-filter-border);
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.04);
}

/* HEADER */
#ness-product-filter .ness-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 35px;
    position: relative;
}
#ness-product-filter .ness-filter-heading {
    position: relative;
    z-index: 1;
}
#ness-product-filter .ness-filter-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--ness-filter-purple-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
#ness-product-filter .ness-filter-eyebrow::before {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg,var(--ness-filter-purple),var(--ness-filter-pink));
    border-radius: 5px;
}
#ness-product-filter .ness-filter-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(26px,3vw,38px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}
#ness-product-filter .ness-filter-heading h2 span {
    background: linear-gradient(90deg,#a78bfa,#ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
#ness-product-filter .ness-filter-heading p {
    margin: 12px 0 0;
    color: var(--ness-filter-text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* DÉCOR MUSICAL */
#ness-product-filter .ness-filter-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    width: 120px;
    height: 100px;
    border-radius: 20px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.06);
    transform: rotate(-3deg);
}
#ness-product-filter .ness-filter-decoration-note {
    color: var(--ness-filter-purple-light);
    font-size: 25px;
    animation: ness-filter-note-float 3s ease-in-out infinite;
}
#ness-product-filter .ness-filter-decoration-note:nth-child(2) {
    color: var(--ness-filter-pink);
    animation-delay: .4s;
}
#ness-product-filter .ness-filter-decoration-note:nth-child(3) {
    color: #60a5fa;
    animation-delay: .8s;
}
@keyframes ness-filter-note-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* RECHERCHE PRINCIPALE */
#ness-product-filter .ness-filter-search-section {
    position: relative;
    margin-bottom: 35px;
}
#ness-product-filter .ness-filter-search-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
#ness-product-filter .ness-filter-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ness-filter-purple-light);
}
#ness-product-filter .ness-filter-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 68px;
    padding: 8px;
    box-sizing: border-box;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;
    transition: border-color .25s ease,box-shadow .25s ease,background .25s ease;
}
#ness-product-filter .ness-filter-search-box:focus-within {
    background: rgba(255,255,255,.07);
    border-color: var(--ness-filter-purple);
    box-shadow: 0 0 0 4px rgba(139,92,246,.12),0 0 30px rgba(139,92,246,.08);
}
#ness-product-filter .ness-filter-search-input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 18px;
    box-sizing: border-box;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    box-shadow: none;
}
#ness-product-filter .ness-filter-search-input::placeholder {
    color: #9b8cae;
    opacity: 1;
}
#ness-product-filter .ness-filter-search-input:focus {
    outline: none;
    border: 0;
    box-shadow: none;
}
#ness-product-filter .ness-filter-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(110deg,#8b5cf6,#a855f7,#ec4899);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(139,92,246,.22),inset 0 1px 0 rgba(255,255,255,.20);
    transition: transform .25s ease,box-shadow .25s ease,filter .25s ease;
}
#ness-product-filter .ness-filter-search-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
    box-shadow: 0 9px 25px rgba(139,92,246,.35),inset 0 1px 0 rgba(255,255,255,.20);
}
#ness-product-filter .ness-filter-search-button:active {
    transform: translateY(0);
}
#ness-product-filter .ness-filter-search-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
#ness-product-filter .ness-filter-search-description {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--ness-filter-text-muted);
    font-size: 12px;
}
#ness-product-filter .ness-filter-search-description-dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ness-filter-purple-light);
}

/* FILTRES SECONDAIRES */
#ness-product-filter .ness-filter-secondary {
    padding: 24px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
}
#ness-product-filter .ness-filter-secondary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}
#ness-product-filter .ness-filter-secondary-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
#ness-product-filter .ness-filter-secondary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ness-filter-purple-light);
}
#ness-product-filter .ness-filter-secondary-hint {
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(139,92,246,.10);
    color: var(--ness-filter-purple-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}
#ness-product-filter .ness-filter-fields {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
}
#ness-product-filter .ness-filter-field {
    min-width: 0;
}
#ness-product-filter .ness-filter-field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #c9bbd9;
    font-size: 12px;
    font-weight: 600;
}
#ness-product-filter .ness-filter-field-label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ness-filter-purple-light);
}
#ness-product-filter .ness-filter-select-wrapper {
    position: relative;
    width: 100%;
    min-width: 0;
}
#ness-product-filter .ness-filter-select {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    background-color: #21142f;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
#ness-product-filter .ness-filter-select:focus {
    border-color: var(--ness-filter-purple);
    background-color: #271739;
    box-shadow: 0 0 0 3px rgba(139,92,246,.12);
    outline: none;
}
#ness-product-filter .ness-filter-select option {
    background-color: #21142f;
    color: #fff;
}

/* FOOTER */
#ness-product-filter .ness-filter-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.07);
}
#ness-product-filter .ness-filter-footer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ness-filter-text-muted);
    font-size: 11px;
}
#ness-product-filter .ness-filter-footer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a78bfa;
}
#ness-product-filter .ness-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 0;
    color: #b9a9cd;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease,transform .2s ease;
}
#ness-product-filter .ness-filter-reset:hover {
    color: #fff;
    transform: translateX(2px);
}

/* RESPONSIVE TABLETTE */
@media (max-width: 768px) {
    #ness-product-filter { padding: 20px; }
    #ness-product-filter .ness-filter-form { padding: 28px; }
    #ness-product-filter .ness-filter-decoration { width: 90px; height: 80px; }
    #ness-product-filter .ness-filter-decoration-note { font-size: 21px; }
    #ness-product-filter .ness-filter-fields { gap: 15px; }
}

/* RESPONSIVE MOBILE */
@media (max-width: 576px) {
    #ness-product-filter { padding: 12px; }
    #ness-product-filter .ness-filter-form { padding: 22px 18px; border-radius: 18px; }
    #ness-product-filter .ness-filter-header { margin-bottom: 28px; }
    #ness-product-filter .ness-filter-heading h2 { font-size: 28px; }
    #ness-product-filter .ness-filter-heading p { font-size: 13px; }
    #ness-product-filter .ness-filter-decoration { display: none; }
    #ness-product-filter .ness-filter-search-section { margin-bottom: 28px; }
    #ness-product-filter .ness-filter-search-box { flex-direction: column; align-items: stretch; gap: 8px; padding: 8px; }
    #ness-product-filter .ness-filter-search-input { height: 52px; padding: 0 12px; font-size: 14px; }
    #ness-product-filter .ness-filter-search-button { width: 100%; min-height: 48px; padding: 0 15px; }
    #ness-product-filter .ness-filter-secondary { padding: 18px 14px; border-radius: 14px; }
    #ness-product-filter .ness-filter-secondary-header { margin-bottom: 18px; }
    #ness-product-filter .ness-filter-secondary-title { font-size: 13px; }
    #ness-product-filter .ness-filter-secondary-hint { font-size: 8px; }
    #ness-product-filter .ness-filter-fields { grid-template-columns: minmax(0,1fr); gap: 18px; }
    #ness-product-filter .ness-filter-select { min-height: 48px; font-size: 13px; }
    #ness-product-filter .ness-filter-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
    #ness-product-filter .ness-filter-reset { padding: 5px 0; }
}

/* SELECT2 */
#ness-product-filter .select2-container {
    width: 100% !important;
    min-width: 0;
}
#ness-product-filter .select2-container--default .select2-selection--multiple {
    min-height: 52px;
    padding: 5px 10px;
    box-sizing: border-box;
    background: #21142f;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    color: #fff;
    transition: border-color .2s ease,box-shadow .2s ease;
}
#ness-product-filter .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139,92,246,.12);
}
#ness-product-filter .select2-container--default .select2-search--inline .select2-search__field {
    margin-top: 7px;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
}
#ness-product-filter .select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #9b8cae;
}
#ness-product-filter .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 5px;
    margin-right: 5px;
    padding: 5px 9px;
    border: 1px solid rgba(167,139,250,.20);
    border-radius: 7px;
    background: rgba(139,92,246,.16);
    color: #d8c8ff;
    font-size: 11px;
}
#ness-product-filter .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    margin-right: 6px;
    color: #c4b5fd;
}
#ness-product-filter .select2-dropdown {
    overflow: hidden;
    background: #21142f;
    border: 1px solid rgba(139,92,246,.35);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,.35);
}
#ness-product-filter .select2-search--dropdown {
    padding: 10px;
}
#ness-product-filter .select2-search__field {
    padding: 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: #180d27;
    color: #fff;
    outline: none;
}
#ness-product-filter .select2-results__option {
    padding: 10px 14px;
    color: #d9cde7;
    font-size: 13px;
}
#ness-product-filter .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #8b5cf6;
    color: #fff;
}
#ness-product-filter .select2-container--default .select2-results__option[aria-selected="true"] {
    background: rgba(139,92,246,.15);
    color: #c4b5fd;
}
@media (max-width: 576px) {
    #ness-product-filter .select2-container--default .select2-selection--multiple { min-height: 48px; }
}

/* ACCESSIBILITÉ */
@media (prefers-reduced-motion: reduce) {
    #ness-product-filter * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}