/* =========================================================
   UI 01S — CATEGORY PAGE + TITLE-ONLY PAGE HEADERS
   ========================================================= */

.ds13-page-head,
.ds13-title-only {
    background: #f6f1ea;
    border-bottom: 1px solid #e7dfd5;
}

/* Global design rule requested:
   secondary paragraph/count columns do not appear in Luxe page headers. */
.ds13-page-head {
    padding: 56px 0 52px;
}

.ds13-page-head p,
.ds13-title-only > .ds5-shell > p,
.ds10-collection-hero.ds13-title-only p,
.ds8-shop-hero.ds13-title-only p {
    margin: 0 0 13px;
    color: #746d65;
    font-family: Inter, Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ds13-page-head h1,
.ds13-title-only h1 {
    margin: 0;
    max-width: 900px;
    color: #171717;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(60px, 7vw, 104px);
    line-height: .88;
    font-weight: 400;
    letter-spacing: -.055em;
}

/* Override older two-column collection/shop header rules. */
.ds10-collection-hero.ds13-title-only {
    padding: 56px 0 52px;
}

.ds10-collection-hero.ds13-title-only > .ds5-shell {
    display: block !important;
}

.ds8-shop-hero.ds13-title-only {
    padding: 56px 0 52px;
}

.ds8-shop-hero.ds13-title-only > .ds5-shell {
    display: block !important;
}

.ds13-catalog-page {
    background: #fff;
    color: #171717;
    font-family: Inter, Arial, sans-serif;
}

.ds13-catalog-page * {
    box-sizing: border-box;
}

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

.ds13-catalog-toolbar {
    background: #fff;
    border-bottom: 1px solid #e8e1d8;
}

.ds13-catalog-toolbar__inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.ds13-catalog-toolbar__left,
.ds13-catalog-toolbar__right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ds13-filter-toggle {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #ded7ce;
    background: #fff;
    display: none;
    align-items: center;
    gap: 7px;
    color: #171717;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}

.ds13-filter-toggle .material-symbols-outlined {
    font-size: 17px;
}

.ds13-filter-toggle b {
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 99px;
    background: #171717;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 8px;
}

.ds13-clear-filter {
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    color: #7d756c !important;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ds13-catalog {
    padding: 48px 0 90px;
}

.ds13-catalog__layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.ds13-catalog__layout:not(:has(.ds13-filter)) {
    grid-template-columns: 1fr;
}

.ds13-filter {
    position: sticky;
    top: 28px;
    align-self: start;
}

.ds13-filter__head {
    min-height: 59px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e6ded4;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.ds13-filter__head p {
    margin: 0 0 3px;
    color: #817970;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ds13-filter__head h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 400;
}

.ds13-filter__head > button {
    display: none;
    border: 0;
    background: transparent;
    font-size: 27px;
}

.ds13-filter__group {
    padding: 21px 0;
    border-bottom: 1px solid #e6ded4;
}

.ds13-filter__group h3 {
    margin: 0 0 12px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.ds13-filter__options {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.ds13-filter-chip {
    margin: 0 !important;
    min-height: 31px;
    padding: 0 11px !important;
    border: 1px solid #ded7ce !important;
    border-radius: 99px !important;
    background: #fff;
    color: #625c55;
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    cursor: pointer;
    transition: .16s ease;
}

.ds13-filter-chip:hover {
    border-color: #171717 !important;
    color: #171717;
}

.ds13-filter-chip.selected {
    border-color: #171717 !important;
    background: #171717 !important;
    color: #fff !important;
    opacity: 1 !important;
}

.ds13-filter__reset {
    min-height: 41px;
    margin-top: 19px;
    border: 1px solid #171717;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ds13-products {
    min-width: 0;
}

.ds13-product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px 14px !important;
}

.ds13-product-grid .ds-product-card {
    min-width: 0;
}

.ds13-product-grid .ds-product-card__media {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #eee8df;
}

.ds13-product-grid .ds-product-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.ds13-product-grid .ds-product-card__name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.2;
}

.ds13-product-grid .ds-product-card__purchase {
    margin-top: 13px;
}

.ds13-empty {
    grid-column: 1 / -1;
    min-height: 430px;
    padding: 45px;
    background: #f6f1ea;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
}

.ds13-empty .material-symbols-outlined {
    color: #987a4a;
    font-size: 40px;
}

.ds13-empty h2 {
    margin: 16px 0 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 400;
}

.ds13-empty p {
    max-width: 410px;
    margin: 0 0 19px;
    color: #746d65;
    font-size: 12px;
    line-height: 1.6;
}

.ds13-empty a {
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ds13-loading {
    margin-top: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    color: #827b73;
}

.ds13-loading > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9b7b46;
    animation: ds13pulse 1.1s infinite ease-in-out;
}

.ds13-loading small {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

@keyframes ds13pulse {
    0%, 100% {
        opacity: .3;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

html.ds13-filter-lock {
    overflow: hidden;
}

@media (max-width: 1050px) {
    .ds13-catalog__layout {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 28px;
    }

    .ds13-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ds13-page-head,
    .ds10-collection-hero.ds13-title-only,
    .ds8-shop-hero.ds13-title-only {
        padding: 41px 0 38px;
    }

    .ds13-page-head h1,
    .ds13-title-only h1 {
        font-size: 56px;
    }

    .ds13-catalog-toolbar__inner {
        min-height: 60px;
    }

    .ds13-filter-toggle {
        display: inline-flex;
    }

    .ds13-catalog {
        padding: 30px 0 65px;
    }

    .ds13-catalog__layout {
        display: block;
    }

    .ds13-filter {
        position: fixed;
        z-index: 600;
        inset: 0 auto 0 0;
        width: min(88vw, 360px);
        padding: 24px;
        background: #fff;
        overflow-y: auto;
        box-shadow: 24px 0 70px rgba(0,0,0,.16);
        transform: translateX(-105%);
        transition: transform .24s ease;
    }

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

    .ds13-filter__head > button {
        display: block;
    }

    .ds13-product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 9px !important;
    }

    .ds13-catalog-toolbar__right {
        display: none;
    }
}

@media (max-width: 460px) {
    .ds13-page-head h1,
    .ds13-title-only h1 {
        font-size: 48px;
    }

    .ds13-filter-toggle {
        padding-inline: 11px;
    }

    .ds13-product-grid .ds-product-card__name {
        font-size: 17px;
    }
}
