/* ==========================================================================
   PERFUME DISCOVERY FILTER STYLE SHEET (EXTRACTED)
   ========================================================================== */

/* ── Block 1: Accord Panel Styles ── */
.cust_sider_wrap {
    position: relative;
    overflow: hidden;
}

.pd-ap-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 100;
    overflow-y: auto;
    padding: 1.1rem 1rem 2rem;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.pd-ap-panel.pd-ap-open {
    transform: translateX(0);
}

.pd-ap-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.pd-ap-back {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f5f0ea;
    border: 1px solid #e8e0d5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}

.pd-ap-back:hover {
    background: #ede5da;
}

.pd-ap-back svg {
    display: block;
}

.pd-ap-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e1a14;
    margin: 0;
}

.pd-ap-subtitle {
    font-size: 11px;
    color: #9a8878;
    margin: 0 0 12px 40px;
    line-height: 1.4;
}

.pd-ap-active-bar {
    background: #faf7f3;
    border: 1px solid #e8e0d5;
    border-radius: 10px;
    padding: 9px 11px;
    margin-bottom: 12px;
    min-height: 38px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.pd-ap-active-hint {
    font-size: 10px;
    color: #b0a090;
    width: 100%;
    margin: 0;
}

.pd-ap-clear-btn {
    background: none;
    border: none;
    font-size: 10px;
    color: #a89880;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin-left: auto;
    font-family: inherit;
}

.pd-ap-clear-btn:hover {
    color: #5a4a3a;
}

.pd-ap-group:last-child {
    margin-bottom: 0;
}

.pd-ap-group:hover {
    border-color: #c8bdb0;
}

.pd-ap-group-hd {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.pd-ap-gicon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.18s;
}

.pd-ap-gmeta {
    flex: 1;
    min-width: 0;
}

.pd-ap-gname {
    font-size: 12px;
    font-weight: 600;
    color: #1e1a14;
    margin: 0 0 1px;
    transition: color 0.18s;
}

.pd-ap-gdesc {
    font-size: 10px;
    color: #a89880;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pd-ap-group.pd-ap-empty {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.pd-ap-no-tags {
    font-size: 10px;
    color: #b0a090;
    padding: 0 12px 9px;
    font-style: italic;
}

.special-filter.pd-accord-active {
    outline: 2px solid #c44070;
    outline-offset: -2px;
}

.pd-ap-hero-hint {
    font-size: 10px;
    color: #c44070;
    font-weight: 500;
    margin-top: 4px;
    display: none;
}

.pd-accord-active .pd-ap-hero-hint {
    display: block;
}

/* Child grid */
.pd-ap-child-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* ── Show more / less button ── */
.pd-ap-showmore-btn {
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px dashed #c8bdb0;
    color: #8a7a6a;
    background: #faf7f3;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
    font-family: inherit;
    font-weight: 500;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
}

.pd-ap-showmore-btn:hover {
    background: #f0e8dd;
    border-color: #a89880;
    color: #5a4a3a;
}

/* Hidden chips — must override inline-flex */
.pd-ap-child-label.pd-ap-child-hidden {
    display: none !important;
}

/* Only show when grid has pd-expanded */
.pd-ap-child-grid.pd-expanded .pd-ap-child-label.pd-ap-child-hidden {
    display: inline-flex !important;
}

/* Radio — guaranteed by !important over inline styles */
.pd-ap-group .pd-radio-off {
    display: flex !important;
}

.pd-ap-group .pd-radio-on {
    display: none !important;
}

.pd-ap-group.pd-ap-parent-sel .pd-radio-off {
    display: none !important;
}

.pd-ap-group.pd-ap-parent-sel .pd-radio-on {
    display: flex !important;
}

/* Chip label wrapper */
.pd-ap-child-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.pd-ap-child-label input[type="checkbox"] {
    display: none;
}

/* Pill */
.pd-ap-child-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1.5px solid #e8e0d5;
    color: #a89880;
    background: #faf7f3;
    transition: all 0.15s;
    white-space: nowrap;
    line-height: 1.4;
}

/* Checked pill */
.pd-ap-child-label input:checked+.pd-ap-child-chip {
    background: var(--bg);
    border-color: var(--border);
    color: var(--hex);
    font-weight: 600;
    padding-right: 6px;
}

/* ✕ inside the pill — hidden until checked */
.pd-ap-chip-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--hex);
    color: #fff;
    margin-left: 5px;
    margin-right: -2px;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.12s, transform 0.12s;
    opacity: 0.82;
}

.pd-ap-child-label input:checked+.pd-ap-child-chip .pd-ap-chip-close {
    display: inline-flex;
}

.pd-ap-chip-close:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Selected state */
.pd-ap-group {
    border: 1.5px solid #e8e0d5;
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
    cursor: pointer;
    background-color: #fff;
    transition: border-color 0.18s, background-color 0.18s;
}

.pd-ap-group.pd-ap-parent-sel {
    border-color: var(--pd-sel-hex) !important;
    background-color: var(--pd-sel-bg) !important;
}

/* ── Perfume Traits Hero Button ── */
.pt-hero-outer-cust {
    margin: 15px 0px;
}

.pt-hero-cust {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fdf3f8 0%, #f5eeff 100%);
    border: 1.5px solid #e8c8e0;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
    user-select: none;
}

.pt-hero-cust:hover {
    border-color: #c44070;
    box-shadow: 0 4px 16px rgba(196, 64, 112, 0.12);
}

.pt-hero-active-cust {
    border-color: #c44070 !important;
    background: linear-gradient(135deg, #fce8f2 0%, #ede8ff 100%) !important;
    box-shadow: 0 4px 16px rgba(196, 64, 112, 0.18) !important;
}

.pt-hero-badge-cust {
    position: absolute;
    top: -8px;
    right: 12px;
    background: #c44070;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    display: none;
}

.pt-hero-emoji-cust {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1;
}

.pt-hero-text-cust {
    flex: 1;
    min-width: 0;
}

.pt-hero-eyebrow-cust {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a889b8;
    margin: 0 0 2px;
    font-weight: 600;
}

.pt-hero-name-cust {
    font-size: 14px;
    font-weight: 700;
    color: #2b1a2e;
    margin: 0 0 2px;
    font-family: 'Jost', sans-serif;
}

.pt-hero-desc-cust {
    font-size: 10px;
    color: #9a7aaa;
    margin: 0;
    line-height: 1.4;
}

.pt-hero-hint-cust {
    font-size: 10px;
    color: #c44070;
    font-weight: 600;
    margin: 3px 0 0;
    min-height: 14px;
}

.pt-hero-btn-cust {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0d0e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c44070;
    transition: background 0.15s, transform 0.25s;
    padding: 5px;
}

.pt-hero-active-cust .pt-hero-btn-cust {
    transform: rotate(90deg);
}

.pd-reset-btn:hover {
    border-color: #c44070;
    color: #c44070;
    box-shadow: 0 2px 12px rgba(196, 64, 112, 0.12);
    transform: translateY(-1px);
}

/* ── Block 2: Notes Selector Bar Styles ── */
.notes-bar {
    font-family: "Jost", Sans-serif !important;
    background: var(--warm);
    border: 1px solid #e8dfd3;
    border-radius: var(--radius);
    padding: 14px 20px;
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.nd {
    position: relative;
    flex: 1;
    min-width: 170px;
}

.nt {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid #ddd4c8;
    border-radius: 10px;
    background: var(--cream);
    cursor: pointer;
    user-select: none;
    transition: border-color .15s;
}

.nt:hover,
.nt.open {
    border-color: var(--mid);
}

.nt.has-sel {
    border-color: var(--gold);
    background: #fffbf5;
}

.ni {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.ni.top-i {
    background: #e8f4eb;
}

.ni.mid-i {
    background: #ede8f4;
}

.ni.bas-i {
    background: #f4ede8;
}

.n-info {
    flex: 1;
    min-width: 0;
}

.n-cat {
    font-size: .59rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mid);
}

.n-val {
    font-size: .82rem;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.n-val.ph {
    color: #b0a090;
}

.n-chev {
    color: var(--mid);
    font-size: .68rem;
    transition: transform .2s;
    flex-shrink: 0;
}

.nt.open .n-chev {
    transform: rotate(180deg);
}

.n-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd4c8;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(40, 20, 5, .14);
    z-index: 200;
    padding: 8px 6px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.n-panel.open {
    display: block;
}

.n-grp {
    font-size: .58rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mid);
    padding: 8px 10px 3px;
}

.n-opt {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .12s;
    font-size: .82rem;
}

.n-opt:hover {
    background: var(--cream);
}

.n-opt.sel {
    background: #f0ebe3;
    font-weight: 500;
}

.n-chk {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    border: 1.5px solid #ccc;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    transition: all .12s;
}

.n-opt.sel .n-chk {
    background: #1a1a1a;
    border-color: var(--dark);
    color: #fff;
}

.divider {
    width: 1px;
    background: #e8e0d5;
    align-self: stretch;
}

.clear-btn {
    font-size: .72rem;
    color: var(--mid);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .12s;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.clear-btn:hover {
    background: #ede8e0;
}

/* ═══ SELECTED NOTES PANEL ═══ */
.sel-panel {
    border-radius: var(--radius);
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid #e2d9cc;
    background: var(--warm);
}

.sel-panel.hidden {
    display: none;
}

/* Header */
.sel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #ede6dc;
    background: linear-gradient(90deg, #fdf8f2, #faf4ec);
}

.sel-head-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sel-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
}

.sel-total {
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: #1a1a1a;
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
}

.sel-clear {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    color: var(--mid);
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 7px;
    border: 1px solid #d9cfc4;
    background: var(--warm);
    transition: all .15s;
}

.sel-clear:hover {
    background: #f0ebe3;
    border-color: var(--mid);
    color: var(--dark);
}

/* Columns grid */
.sel-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.sel-col {
    padding: 16px 20px;
}

.sel-col+.sel-col {
    border-left: 1px solid #ede6dc;
}

/* Column header */
.col-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0e8e0;
}

.col-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.col-dot.t {
    background: #3d9e55;
}

.col-dot.m {
    background: #7b52cc;
}

.col-dot.b {
    background: #c2611f;
}

.col-label {
    font-size: .62rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    font-weight: 500;
    flex: 1;
}

.col-label.t {
    color: #2a6b3a;
}

.col-label.m {
    color: #5a3590;
}

.col-label.b {
    color: #8b4820;
}

.col-count {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: .62rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-count.t {
    background: #e8f4eb;
    color: #2a6b3a;
}

.col-count.m {
    background: #ede8f4;
    color: #5a3590;
}

.col-count.b {
    background: #f4ede8;
    color: #8b4820;
}

/* Chips area */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 32px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px 4px 10px;
    border-radius: 20px;
    font-size: .72rem;
    border: 1px solid transparent;
    animation: chipIn .14s ease;
}

@keyframes chipIn {
    from {
        opacity: 0;
        transform: scale(.88)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.chip.t {
    background: #e8f4eb;
    color: #2a6b3a;
    border-color: #b8ddc4;
}

.chip.m {
    background: #ede8f4;
    color: #5a3590;
    border-color: #ccc0e0;
}

.chip.b {
    background: #f4ede8;
    color: #8b4820;
    border-color: #e0c8b8;
}

.chip-rm {
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    color: inherit;
    opacity: .5;
    padding: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    transition: all .12s;
}

.chip-rm:hover {
    opacity: 1;
    background: rgba(0, 0, 0, .1);
}

.empty-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .74rem;
    color: #c0b0a0;
    font-style: italic;
    padding: 2px 0;
}

.empty-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ddd5c8;
}

/* Bottom summary bar */
.sel-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 20px;
    border-top: 1px solid #ede6dc;
    background: linear-gradient(90deg, #faf4ec, #fdf8f2);
}

.foot-lbl {
    font-size: .62rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--mid);
}

.foot-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex: 1;
}

.foot-pill {
    font-size: .66rem;
    padding: 2px 9px;
    border-radius: 20px;
    background: #f0ebe3;
    color: var(--mid);
    border: 1px solid #e0d5c8;
}

.match-btn {
    margin-left: auto;
    padding: 7px 18px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Jost', sans-serif;
    font-size: .76rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: .04em;
    transition: background .15s;
    white-space: nowrap;
}

.match-btn:hover {
    background: #3a2510;
}


/* ── Block 3: Wardrobe Email Modal Styles ── */
#tscWardrobeEmailModal #tscWardrobeEmailInput:focus {
    border-color: #1e1a14 !important;
    box-shadow: 0 0 0 2px rgba(30, 26, 20, 0.1);
}

#tscWardrobeEmailModal #tscWardrobeSubmitBtn:hover {
    background: #332c22 !important;
}

@media only screen and (min-width:768px) {


    .pd-trail-card {
        flex-direction: column;
    }

    .p-inspired {
        text-align: center;
    }

    .cust_card_detail {
        max-width: 100%;
    }

    .pd-discovery-trails {
        margin: 0px !important;
    }
}

