.dp-shop-filters {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 0 28px;
}

.dp-shop-filters__form {
    position: relative;
    display: grid;
    gap: 12px;
}

.dp-shop-filters__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 64px;
    padding: 8px;
    overflow-x: auto;
    border: 1px solid rgba(17,17,17,.10);
    border-radius: 30px;
    background: linear-gradient(180deg,rgba(180,180,183,.88),rgba(145,145,149,.82));
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    scrollbar-width: none;
}

.dp-shop-filters__bar::-webkit-scrollbar { display: none; }

.dp-shop-filter-trigger,
.dp-shop-filters__clear-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 30px;
    background: rgba(255,255,255,.28);
    color: #ef4d54;
    font: inherit;
    font-size: 12px;
    font-weight: 760;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.dp-shop-filter-trigger:hover,
.dp-shop-filter-trigger[aria-expanded="true"] {
    background: #29292d;
    color: #fff;
}

.dp-shop-filter-trigger__count {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4e54;
    color: #fff;
    font-size: 10px;
    font-weight: 850;
}

.dp-shop-filters__clear-all {
    margin-left: auto;
    background: transparent;
    color: #cf3841;
}

.dp-shop-filter-panel {
    position: relative;
    top: auto;
    left: auto;
    z-index: 2;
    width: 100%;
    max-height: min(66vh,680px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    background: #15191a;
    color: #fff;
    box-shadow: 0 18px 44px rgba(0,0,0,.18);
}

.dp-shop-filter-panel[hidden] { display: none !important; }

.dp-shop-filter-panel__head {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 66px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.dp-shop-filter-panel__head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 820;
    line-height: 1.1;
    text-transform: uppercase;
}

.dp-shop-filter-panel__head button,
.dp-shop-filter-panel__head a {
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 720;
    text-decoration: none;
    cursor: pointer;
}

.dp-shop-filter-panel__close {
    display: grid !important;
    place-items: center !important;
    width: 38px;
    height: 38px;
    padding: 0 !important;
    font-size: 28px !important;
    font-weight: 300 !important;
}

.dp-shop-filter-panel__body {
    max-height: 500px;
    padding: 18px;
    overflow: auto;
    overscroll-behavior: contain;
}

.dp-shop-filter-panel__body--grid,
.dp-shop-filter-attribute__choices {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
}

.dp-shop-filter-attribute {
    margin: 0 0 22px;
    padding: 0;
    border: 0;
}
.dp-shop-filter-attribute:last-child { margin-bottom: 0; }
.dp-shop-filter-attribute legend {
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    color: #f7f7f8;
    font-size: 15px;
    font-weight: 820;
    text-transform: uppercase;
}

.dp-shop-filter-choice {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 14px;
    background: #171c1d;
    color: #f7f7f8;
    font-size: 13px;
    font-weight: 620;
    text-decoration: none;
    cursor: pointer;
}

.dp-shop-filter-choice:hover,
.dp-shop-filter-choice:has(input:checked),
.dp-shop-filter-choice.is-selected {
    border-color: #ef4e54;
    background: #202526;
}

.dp-shop-filter-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dp-shop-filter-choice small {
    color: #8f9698;
    font-size: 10px;
    font-weight: 700;
}

.dp-shop-filter-choice:has(input:checked)::after,
.dp-shop-filter-choice.is-selected::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4e54;
}

.dp-shop-filter-panel__footer {
    position: sticky;
    bottom: 0;
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(255,255,255,.1);
    background: #15191a;
}

.dp-shop-filter-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: #ef4e54;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}

.dp-shop-filters__backdrop { display: none !important; }

@media (max-width: 782px) {
    body.dp-filter-open { overflow: auto !important; }
    .dp-shop-filters { margin-bottom: 18px; }
    .dp-shop-filters__form { gap: 10px; }
    .dp-shop-filters__bar {
        min-height: 54px;
        padding: 6px;
        border-radius: 20px;
    }
    .dp-shop-filter-trigger,
    .dp-shop-filters__clear-all {
        min-height: 40px;
        padding: 0 12px;
        border-radius: 18px;
        font-size: 11px;
    }
    .dp-shop-filter-panel {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        max-height: min(68vh,620px);
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 20px;
    }
    .dp-shop-filter-panel__head {
        min-height: 58px;
        padding: 9px 12px;
    }
    .dp-shop-filter-panel__head h2 { font-size: 16px; }
    .dp-shop-filter-panel__body {
        height: auto;
        max-height: min(50vh,430px);
        padding: 14px 12px;
    }
    .dp-shop-filter-panel__body--grid,
    .dp-shop-filter-attribute__choices {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 8px;
    }
    .dp-shop-filter-choice {
        min-height: 52px;
        padding: 9px 11px;
        font-size: 12px;
    }
    .dp-shop-filter-panel__footer {
        position: sticky;
        left: auto;
        right: auto;
        bottom: 0;
        padding: 10px 12px 12px;
        background: #15191a;
    }
    .dp-shop-filter-apply { min-height: 48px; }
}

@media (max-width: 390px) {
    .dp-shop-filter-panel__body--grid,
    .dp-shop-filter-attribute__choices { grid-template-columns: 1fr; }
}
