
:root {
    --dpsf-bg: #111816;
    --dpsf-green: #254D43;
    --dpsf-gold: #C39A63;
    --dpsf-cream: #EEE7DB;
    --dpsf-beige: #DAD0BF;
    --dpsf-surface: #F7F3EB;
    --dpsf-ink: #1B201E;
    --dpsf-muted: #70756F;
    --dpsf-line: rgba(17,24,22,.11);
}

.dpsf-page,
.dpsf-page * {
    box-sizing: border-box;
}

.dpsf-page {
    width: 100%;
    min-height: 70vh;
    overflow: clip;
    background: var(--dpsf-cream);
    color: var(--dpsf-ink);
    font-family: inherit;
}

.dpsf-page a {
    color: inherit;
    text-decoration: none;
}

.dpsf-page button,
.dpsf-page input,
.dpsf-page select {
    font: inherit;
}

.dpsf-container {
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;
}

/* Hero */
.dpsf-hero {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    background:
        radial-gradient(circle at 78% 24%, rgba(37,77,67,.72), transparent 31%),
        var(--dpsf-bg);
    color: var(--dpsf-cream);
}

.dpsf-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(195,154,99,.7), transparent);
}

.dpsf-hero__inner {
    position: relative;
    z-index: 2;
    min-height: 300px;
    padding: 62px 0 52px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.dpsf-eyebrow {
    color: var(--dpsf-gold);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .17em;
}

.dpsf-hero h1 {
    margin: 10px 0 12px;
    color: var(--dpsf-cream);
    font-size: clamp(40px,6vw,74px);
    line-height: 1.06;
    letter-spacing: -.045em;
}

.dpsf-hero__subtitle {
    max-width: 650px;
    color: rgba(238,231,219,.62);
    font-size: 13px;
    line-height: 1.9;
}

.dpsf-hero__subtitle p {
    margin: 0;
}

.dpsf-hero__stat {
    flex: 0 0 auto;
    display: grid;
    justify-items: end;
    gap: 3px;
}

.dpsf-hero__stat strong {
    color: var(--dpsf-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px,5vw,62px);
    font-weight: 400;
    line-height: 1;
}

.dpsf-hero__stat span {
    color: rgba(238,231,219,.5);
    font-size: 10px;
}

.dpsf-pattern {
    position: absolute;
    width: 470px;
    aspect-ratio: 1;
    border: 1px solid rgba(195,154,99,.07);
    border-radius: 57% 43% 65% 35% / 43% 61% 39% 57%;
    pointer-events: none;
}

.dpsf-pattern::before,
.dpsf-pattern::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(195,154,99,.055);
    border-radius: inherit;
}

.dpsf-pattern::before { inset: 12%; }
.dpsf-pattern::after { inset: 27%; }

.dpsf-pattern--one {
    top: -300px;
    right: -110px;
    transform: rotate(30deg);
}

.dpsf-pattern--two {
    bottom: -390px;
    left: 20%;
    transform: rotate(207deg);
}

/* Layout */
.dpsf-layout {
    display: grid;
    grid-template-columns: 280px minmax(0,1fr);
    gap: 42px;
    align-items: start;
    padding: 58px 0 95px;
}

.dpsf-filter {
    position: sticky;
    top: 105px;
    min-width: 0;
}

.dpsf-filter__mobile-head {
    display: none;
}

.dpsf-filter__form {
    border-top: 1px solid rgba(195,154,99,.5);
}

.dpsf-filter__section {
    padding: 20px 0;
    border-bottom: 1px solid var(--dpsf-line);
}

.dpsf-filter__label,
.dpsf-filter__heading {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 13px;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--dpsf-ink) !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    text-align: right;
    cursor: pointer;
}

.dpsf-filter__heading > span:last-child {
    color: var(--dpsf-gold);
    font-size: 18px;
    font-weight: 400;
}

.dpsf-filter__body {
    overflow: hidden;
    max-height: 700px;
    opacity: 1;
    transition: max-height .35s ease, opacity .25s ease;
}

.dpsf-filter__body.is-collapsed {
    max-height: 0;
    opacity: 0;
}

.dpsf-search {
    position: relative;
}

.dpsf-search input {
    width: 100%;
    height: 46px;
    padding: 0 40px 0 13px !important;
    border: 1px solid var(--dpsf-line) !important;
    border-radius: 3px 14px 3px 3px !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: rgba(255,255,255,.52) !important;
    color: var(--dpsf-ink) !important;
    font-size: 11px;
}

.dpsf-search > span {
    position: absolute;
    top: 50%;
    right: 13px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--dpsf-green);
}

.dpsf-search svg {
    width: 100%;
    height: 100%;
}

.dpsf-check-list {
    display: grid;
    gap: 10px;
}

.dpsf-check-list__children {
    display: grid;
    gap: 9px;
    margin: -2px 18px 2px 0;
    padding-right: 12px;
    border-right: 1px solid rgba(195,154,99,.24);
}

.dpsf-check {
    position: relative;
    display: grid;
    grid-template-columns: 17px minmax(0,1fr) auto;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.dpsf-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dpsf-check__box {
    position: relative;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(37,77,67,.28);
    border-radius: 3px;
    background: rgba(255,255,255,.42);
}

.dpsf-check input:checked + .dpsf-check__box {
    border-color: var(--dpsf-green);
    background: var(--dpsf-green);
}

.dpsf-check input:checked + .dpsf-check__box::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 3px;
    top: 4px;
    left: 4px;
    border-left: 1.5px solid var(--dpsf-cream);
    border-bottom: 1.5px solid var(--dpsf-cream);
    transform: rotate(-45deg);
}

.dpsf-check__name {
    overflow: hidden;
    color: var(--dpsf-ink);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dpsf-check small {
    color: var(--dpsf-muted);
    font-size: 8px;
}

.dpsf-price-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.dpsf-price-range label {
    display: grid;
    gap: 5px;
}

.dpsf-price-range label > span {
    color: var(--dpsf-muted);
    font-size: 9px;
}

.dpsf-price-range input {
    width: 100%;
    height: 42px;
    min-width: 0;
    padding: 0 10px !important;
    border: 1px solid var(--dpsf-line) !important;
    border-radius: 3px 11px 3px 3px !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: rgba(255,255,255,.5) !important;
    color: var(--dpsf-ink) !important;
    font-size: 10px;
}

.dpsf-price-range__hint {
    display: block;
    margin-top: 8px;
    color: var(--dpsf-muted);
    font-size: 8px;
}

.dpsf-switch {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.dpsf-switch input {
    position: absolute;
    opacity: 0;
}

.dpsf-switch__track {
    position: relative;
    width: 34px;
    height: 19px;
    flex: 0 0 auto;
    border-radius: 99px;
    background: rgba(17,24,22,.14);
    transition: background .2s ease;
}

.dpsf-switch__track span {
    position: absolute;
    width: 13px;
    height: 13px;
    top: 3px;
    right: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(17,24,22,.14);
    transition: transform .2s ease;
}

.dpsf-switch input:checked + .dpsf-switch__track {
    background: var(--dpsf-green);
}

.dpsf-switch input:checked + .dpsf-switch__track span {
    transform: translateX(-15px);
}

.dpsf-switch strong {
    font-size: 10px;
    font-weight: 600;
}

.dpsf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.dpsf-tag {
    position: relative;
    cursor: pointer;
}

.dpsf-tag input {
    position: absolute;
    opacity: 0;
}

.dpsf-tag span {
    min-height: 29px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--dpsf-line);
    border-radius: 999px;
    color: var(--dpsf-muted);
    font-size: 8px;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.dpsf-tag input:checked + span {
    border-color: var(--dpsf-green);
    background: var(--dpsf-green);
    color: var(--dpsf-cream);
}

.dpsf-filter__actions {
    display: grid;
    gap: 8px;
    padding-top: 18px;
}

.dpsf-apply {
    min-height: 48px;
    padding: 0 18px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0 !important;
    border-radius: 3px 14px 3px 3px !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: var(--dpsf-green) !important;
    color: var(--dpsf-cream) !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.dpsf-apply:hover {
    transform: translateY(-1px);
    background: var(--dpsf-bg) !important;
}

.dpsf-clear {
    min-height: 38px;
    display: grid;
    place-items: center;
    color: var(--dpsf-muted) !important;
    font-size: 9px;
}

.dpsf-clear:hover {
    color: var(--dpsf-gold) !important;
}

/* Toolbar */
.dpsf-results {
    min-width: 0;
}

.dpsf-toolbar {
    min-height: 54px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--dpsf-line);
}

.dpsf-toolbar__count .woocommerce-result-count {
    margin: 0 !important;
    color: var(--dpsf-muted);
    font-size: 10px;
}

.dpsf-order {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dpsf-order label {
    color: var(--dpsf-muted);
    font-size: 9px;
}

.dpsf-order select,
.dpsf-mobile-order select {
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--dpsf-line);
    border-radius: 3px 10px 3px 3px;
    outline: 0;
    background: rgba(255,255,255,.5);
    color: var(--dpsf-ink);
    font-size: 9px;
}

/* Products */
.dpsf-results ul.products {
    display: grid !important;
    grid-template-columns: repeat(var(--dpsf-columns), minmax(0,1fr));
    gap: 26px 14px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dpsf-results ul.products::before,
.dpsf-results ul.products::after {
    display: none !important;
}

.dpsf-results ul.products li.product {
    position: relative;
    width: auto !important;
    min-width: 0;
    float: none !important;
    margin: 0 !important;
    padding: 0 0 16px !important;
    overflow: hidden;
    border-bottom: 1px solid var(--dpsf-line);
}

.dpsf-results ul.products li.product::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52px;
    height: 1px;
    background: var(--dpsf-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s ease;
}

.dpsf-results ul.products li.product:hover::after {
    transform: scaleX(1);
}

.dpsf-results ul.products li.product a img {
    display: block;
    width: 100% !important;
    aspect-ratio: 1;
    margin: 0 0 14px !important;
    object-fit: cover;
    border-radius: 3px 20px 3px 3px;
    background: #E4DBCC;
    transition: transform .45s cubic-bezier(.22,1,.36,1);
}

.dpsf-results ul.products li.product:hover a img {
    transform: scale(1.025);
}

.dpsf-results .woocommerce-loop-product__title {
    min-height: 42px;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--dpsf-ink) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.7;
}

.dpsf-results .star-rating {
    margin: 7px 0 !important;
    color: var(--dpsf-gold) !important;
    font-size: 10px !important;
}

.dpsf-results .price {
    min-height: 26px;
    margin: 7px 0 0 !important;
    display: block !important;
    color: var(--dpsf-green) !important;
    font-size: 11px !important;
    font-weight: 750 !important;
}

.dpsf-results .price del {
    color: var(--dpsf-muted) !important;
    opacity: .55 !important;
}

.dpsf-results .price ins {
    text-decoration: none !important;
}

.dpsf-results .button {
    margin: 11px 0 0 !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(37,77,67,.18) !important;
    border-radius: 3px 11px 3px 3px !important;
    background: transparent !important;
    color: var(--dpsf-green) !important;
    font-size: 9px !important;
    box-shadow: none !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease !important;
}

.dpsf-results .button:hover {
    border-color: var(--dpsf-green) !important;
    background: var(--dpsf-green) !important;
    color: var(--dpsf-cream) !important;
}

.dpsf-results .onsale {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 7px 9px !important;
    border-radius: 999px !important;
    background: var(--dpsf-gold) !important;
    color: var(--dpsf-bg) !important;
    font-size: 8px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
}

/* Pagination */
.dpsf-pagination {
    margin-top: 56px;
}

.dpsf-pagination nav.woocommerce-pagination ul {
    display: flex !important;
    justify-content: center;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.dpsf-pagination nav.woocommerce-pagination ul li {
    border: 0 !important;
    float: none !important;
}

.dpsf-pagination nav.woocommerce-pagination ul li a,
.dpsf-pagination nav.woocommerce-pagination ul li span {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    display: grid !important;
    place-items: center;
    border: 1px solid var(--dpsf-line) !important;
    border-radius: 3px 11px 3px 3px;
    background: transparent !important;
    color: var(--dpsf-ink) !important;
    font-size: 9px !important;
}

.dpsf-pagination nav.woocommerce-pagination ul li span.current {
    border-color: var(--dpsf-green) !important;
    background: var(--dpsf-green) !important;
    color: var(--dpsf-cream) !important;
}

/* Empty */
.dpsf-no-products {
    padding: 80px 20px;
    text-align: center;
}

.dpsf-no-products__ring {
    display: block;
    width: 86px;
    aspect-ratio: 1;
    margin: 0 auto 22px;
    border: 1px solid rgba(37,77,67,.2);
    border-radius: 50%;
    box-shadow: inset 0 0 0 14px var(--dpsf-cream), inset 0 0 0 15px rgba(195,154,99,.7);
}

.dpsf-no-products h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.dpsf-no-products p {
    margin: 0 0 18px;
    color: var(--dpsf-muted);
    font-size: 11px;
}

.dpsf-no-products a {
    color: var(--dpsf-green);
    font-size: 10px;
    font-weight: 700;
    border-bottom: 1px solid var(--dpsf-gold);
}

/* Mobile */
.dpsf-mobile-tools {
    display: none;
}

.dpsf-overlay {
    position: fixed;
    z-index: 9996;
    inset: 0;
    display: none;
    background: rgba(17,24,22,.54);
    backdrop-filter: blur(3px);
}

@media (max-width: 1024px) {
    .dpsf-container {
        width: min(100% - 34px, 1000px);
    }

    .dpsf-layout {
        grid-template-columns: 240px minmax(0,1fr);
        gap: 28px;
    }

    .dpsf-results ul.products {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 820px) {
    html.dpsf-filter-open,
    html.dpsf-filter-open body {
        overflow: hidden !important;
    }

    .dpsf-container {
        width: min(100% - 30px, 720px);
    }

    .dpsf-hero,
    .dpsf-hero__inner {
        min-height: 230px;
    }

    .dpsf-hero__inner {
        padding: 48px 0 38px;
    }

    .dpsf-hero__subtitle {
        max-width: 500px;
    }

    .dpsf-layout {
        display: block;
        padding-top: 18px;
    }

    .dpsf-mobile-tools {
        min-height: 66px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-bottom: 1px solid var(--dpsf-line);
    }

    .dpsf-filter-toggle {
        min-height: 38px;
        padding: 0 13px !important;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid var(--dpsf-line) !important;
        border-radius: 3px 11px 3px 3px !important;
        outline: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        color: var(--dpsf-green) !important;
        font-size: 10px !important;
        font-weight: 700 !important;
    }

    .dpsf-filter-toggle b {
        width: 18px;
        height: 18px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--dpsf-gold);
        color: var(--dpsf-bg);
        font-size: 8px;
    }

    .dpsf-mobile-order select {
        max-width: 145px;
    }

    .dpsf-filter {
        position: fixed;
        z-index: 9998;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(88vw, 390px);
        padding: 0 20px 24px;
        overflow-y: auto;
        background: var(--dpsf-cream);
        box-shadow: -20px 0 50px rgba(17,24,22,.16);
        transform: translateX(110%);
        transition: transform .35s cubic-bezier(.22,1,.36,1);
    }

    .dpsf-filter.is-open {
        transform: translateX(0);
    }

    .dpsf-filter__mobile-head {
        position: sticky;
        z-index: 3;
        top: 0;
        min-height: 68px;
        margin: 0 -20px 8px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(238,231,219,.96);
        border-bottom: 1px solid var(--dpsf-line);
        backdrop-filter: blur(10px);
    }

    .dpsf-filter__mobile-head strong {
        font-size: 13px;
    }

    .dpsf-filter-close {
        width: 36px;
        height: 36px;
        padding: 0 !important;
        display: grid;
        place-items: center;
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        color: var(--dpsf-green) !important;
        font-size: 24px !important;
    }

    .dpsf-filter__actions {
        position: sticky;
        bottom: -24px;
        margin: 12px -20px -24px;
        padding: 14px 20px 20px;
        background: linear-gradient(to top, var(--dpsf-cream) 75%, rgba(238,231,219,0));
    }

    .dpsf-toolbar {
        display: none;
    }

    .dpsf-overlay.is-open {
        display: block;
    }
}

@media (max-width: 560px) {
    .dpsf-container {
        width: calc(100% - 24px);
    }

    .dpsf-hero,
    .dpsf-hero__inner {
        min-height: 200px;
    }

    .dpsf-hero__inner {
        align-items: flex-end;
        padding: 40px 2px 30px;
    }

    .dpsf-hero__stat span {
        display: none;
    }

    .dpsf-hero__subtitle {
        font-size: 10px;
    }

    .dpsf-results ul.products {
        gap: 20px 10px !important;
    }

    .dpsf-results .woocommerce-loop-product__title {
        min-height: 36px;
        font-size: 10px !important;
    }

    .dpsf-results .price {
        font-size: 9px !important;
    }

    .dpsf-results .button {
        padding: 7px 8px !important;
        font-size: 8px !important;
    }
}

@media (max-width: 390px) {
    .dpsf-results ul.products {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dpsf-page *,
    .dpsf-page *::before,
    .dpsf-page *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
