.product-catalog-section {
    --catalog-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --catalog-serif: "Cormorant Garamond", Georgia, serif;
    --catalog-section-bottom-space: 84px;
    max-width: var(--site-shell-max);
    margin: 0 auto;
    padding: clamp(22px, 3vw, 34px) var(--site-inline-padding) 84px;
    background: var(--paper);
}

.product-catalog-page-header {
    max-width: 1080px;
    margin: 0 auto 42px;
    text-align: center;
}

.product-catalog-page-title {
    margin: 0 0 14px;
    color: #101010;
    font-family: var(--catalog-sans);
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.product-catalog {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    column-gap: 70px;
    align-items: start;
    width: 100%;
    min-width: 0;
    font-family: var(--catalog-sans);
}

.product-catalog-filter-toggle {
    display: none;
}

.product-catalog .product-catalog-sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    gap: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}


.product-catalog .product-catalog-filter-list {
    display: grid;
    gap: 0;
    max-height: min(540px, calc(100vh - 190px));
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 8px;
    scrollbar-color: #c9c1bc transparent;
    scrollbar-width: thin;
}

.product-catalog-page-intro {
    margin: 0;
    color: #666;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.7;
}

.product-catalog .product-catalog-filter-list::-webkit-scrollbar {
    width: 6px;
}

.product-catalog .product-catalog-filter-list::-webkit-scrollbar-track {
    background: transparent;
}

.product-catalog .product-catalog-filter-list::-webkit-scrollbar-thumb {
    background: #c9c1bc;
    border-radius: 999px;
}

@media (min-width: 901px) {
    .product-catalog .product-catalog-filter-list {
        max-height: none;
        overflow-y: visible;
        overscroll-behavior: auto;
    }
}

.product-catalog .product-catalog-sidebar h2 {
    margin: 0 0 26px;
    color: #101010;
    font-family: var(--catalog-sans);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.product-catalog .product-catalog-option {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 25px;
    padding: 1px 0;
    color: var(--navigation-accent);
    border: 0;
    border-radius: 0;
    background: transparent;
}


.product-catalog .product-catalog-category-group {
    display: grid;
    gap: 0;
}

.product-catalog .product-catalog-option.has-children {
    grid-template-columns: 10px minmax(0, 1fr) 22px;
}

.product-catalog .product-catalog-subcategory-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 25px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--navigation-accent);
    cursor: pointer;
}

.product-catalog .product-catalog-subcategory-toggle span {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 180ms ease, color 180ms ease;
}

.product-catalog .product-catalog-category-group.is-open .product-catalog-subcategory-toggle span {
    transform: translateY(2px) rotate(225deg);
}

.product-catalog .product-catalog-subcategory-toggle:hover,
.product-catalog .product-catalog-subcategory-toggle:focus-visible {
    color: #293f4d;
}

.product-catalog .product-catalog-subcategory-toggle:focus-visible {
    outline: 2px solid rgba(30, 30, 30, 0.2);
    outline-offset: 2px;
}

.product-catalog .product-catalog-subcategory-list {
    display: grid;
    gap: 0;
    padding: 2px 0 5px 22px;
}

.product-catalog .product-catalog-subcategory-list[hidden] {
    display: none;
}

.product-catalog .product-catalog-option-child {
    grid-template-columns: 9px minmax(0, 1fr);
    min-height: 23px;
    padding: 0;
}

.product-catalog .product-catalog-option-child .product-catalog-check-label {
    width: 9px;
    height: 23px;
}

.product-catalog .product-catalog-option-child .product-catalog-check {
    width: 9px;
    height: 9px;
    flex-basis: 9px;
}

.product-catalog .product-catalog-option-child .product-catalog-option-name,
.product-catalog .product-catalog-option-child span:not(.product-catalog-check) {
    font-size: 13px;
}

.product-catalog .product-catalog-option-child .product-catalog-count {
    font-size: 12px;
}
.product-catalog .product-catalog-check-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 25px;
    cursor: pointer;
}

.product-catalog .product-catalog-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.product-catalog .product-catalog-check {
    position: relative;
    display: grid;
    place-items: center;
    width: 10px;
    height: 10px;
    margin: 0;
    flex: 0 0 10px;
    border: 1.5px solid #91a6b3;
    border-radius: 3px;
    background: #fff;
    box-shadow: none;
    transition: border-color 180ms ease, background-color 180ms ease, outline-color 180ms ease;
}

.product-catalog .product-catalog-check::after {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 0;
    background: var(--navigation-accent);
    opacity: 0;
    transform: none;
    transition: opacity 180ms ease;
}

.product-catalog .product-catalog-option input:focus-visible + .product-catalog-check {
    outline: 2px solid rgba(30, 30, 30, 0.2);
    outline-offset: 3px;
}

.product-catalog .product-catalog-option.is-selected .product-catalog-check {
    border-color: var(--navigation-accent);
    background: #fff;
}

.product-catalog .product-catalog-option.is-selected .product-catalog-check::after,
.product-catalog .product-catalog-option input:checked + .product-catalog-check::after {
    opacity: 1;
}

.product-catalog .product-catalog-option span:not(.product-catalog-check),
.product-catalog .product-catalog-option-name,
.product-catalog .product-catalog-count {
    color: inherit;
    font-family: var(--catalog-sans);
    font-weight: 400;
    line-height: 1.5;
    transition: color 180ms ease, transform 180ms ease;
}

.product-catalog .product-catalog-option-name {
    appearance: none;
    display: inline-flex;
    align-items: baseline;
    justify-self: start;
    gap: 4px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.product-catalog .product-catalog-option-name > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.product-catalog .product-catalog-option span:not(.product-catalog-check),
.product-catalog .product-catalog-option-name {
    min-width: 0;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.product-catalog .product-catalog-count {
    flex: 0 0 auto;
    font-size: 13px;
    opacity: 0.85;
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: normal;
}

.product-catalog .product-catalog-option:hover,
.product-catalog .product-catalog-option:focus-within {
    color: #293f4d;
    background: transparent;
    border-color: transparent;
}

.product-catalog .product-catalog-option:hover .product-catalog-option-name,
.product-catalog .product-catalog-option-name:focus-visible {
    transform: translateX(2px);
}

.product-catalog .product-catalog-option.is-selected {
    color: #293f4d;
    background: transparent;
    border-color: transparent;
}

.product-catalog .product-catalog-option.is-selected .product-catalog-option-name {
    font-weight: 500;
}

.product-catalog .product-catalog-option-name:focus-visible {
    outline: 2px solid rgba(30, 30, 30, 0.2);
    outline-offset: 3px;
}

.product-catalog .product-catalog-muted,
.product-catalog .product-catalog-status,
.product-catalog .product-catalog-empty {
    color: #8a817b;
    font-family: var(--catalog-sans);
}

.product-catalog .product-catalog-results {
    width: calc(100% + 48px);
    min-width: 0;
    margin-inline: -24px;
    margin-bottom: calc(0px - var(--catalog-section-bottom-space));
    padding-inline: 24px;
    padding-bottom: calc(var(--catalog-section-bottom-space) + 16px);
    box-sizing: border-box;
    background: #fff;
}

.product-catalog .product-catalog-status {
    min-height: 0;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
}

.product-catalog .product-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 76px;
    width: 100%;
    min-width: 0;
}

.product-catalog.is-loading .product-catalog-grid {
    opacity: 0.45;
    pointer-events: none;
}

.product-catalog .product-catalog-empty {
    display: none;
    margin: 20px 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 15px;
}

.product-catalog .product-catalog-empty.is-visible {
    display: block;
}

.product-catalog .product-card {
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.product-catalog .product-card::before {
    content: "";
    position: absolute;
    inset: -16px;
    z-index: 2;
    border: 1.5px solid rgba(154, 146, 140, 0.48);
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.975);
    transform-origin: center;
    pointer-events: none;
    transition: opacity 220ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
    .product-catalog .product-card:hover::before {
        opacity: 1;
        transform: scale(1);
    }
}

.product-catalog .product-card:focus-within::before {
    opacity: 1;
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .product-catalog .product-card::before {
        transition: none;
    }
}

.product-related-section {
    --catalog-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    max-width: 1080px;
    margin: 0 auto;
    padding: 8px var(--site-inline-padding) clamp(44px, 5vw, 64px);
}

.product-related-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.product-related-header h2 {
    margin: 0;
    color: #101010;
    font-family: var(--catalog-sans);
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-related-header .text-link {
    flex: 0 0 auto;
    font-family: var(--catalog-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-related-catalog {
    display: block;
}

.product-related-catalog .product-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 38px;
}

@media (max-width: 1100px) {
    .product-related-catalog .product-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .product-related-section {
        padding-right: var(--site-inline-padding);
        padding-left: var(--site-inline-padding);
    }

    .product-related-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .product-related-catalog .product-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 28px;
    }
}

@media (max-width: 600px) {
    .product-related-catalog .product-catalog-grid {
        grid-template-columns: 1fr;
    }
}

.product-catalog .product-card-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
}

.product-catalog .product-card-image-link img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    padding: 0;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
    background: #fff;
    transition: transform 350ms ease;
}

.product-detail-gallery {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.product-gallery-stage {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    place-items: center;
    border-radius: 8px;
    background: #fff;
}

.product-gallery-stage > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery-arrow {
    position: absolute;
    top: 50%;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(20, 20, 20, 0.12);
    border-radius: 999px;
    color: #171717;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transform: translateY(-50%);
}

.product-gallery-arrow span {
    font-size: 34px;
    line-height: 1;
    transform: translateY(-2px);
}

.product-gallery-arrow--previous {
    left: 14px;
}

.product-gallery-arrow--next {
    right: 14px;
}

.product-gallery-arrow:hover,
.product-gallery-arrow:focus-visible {
    color: #fff;
    background: #171717;
}

.product-gallery-counter {
    position: absolute;
    right: 14px;
    bottom: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #fff;
    background: rgba(20, 20, 20, 0.7);
    font-size: 12px;
    font-weight: 600;
}

.product-gallery-thumbnails {
    display: grid;
    grid-auto-columns: 76px;
    grid-auto-flow: column;
    gap: 10px;
    max-width: 100%;
    overflow-x: auto;
    padding: 2px 2px 7px;
    scrollbar-width: thin;
}

.product-gallery-thumbnail {
    display: block;
    width: 76px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 3px;
    border: 1px solid #d8d4d0;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
}

.product-gallery-thumbnail.is-selected {
    border-color: #171717;
    box-shadow: 0 0 0 1px #171717;
}

.product-gallery-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 600px) {
    .product-gallery-arrow {
        width: 40px;
        height: 40px;
    }

    .product-gallery-thumbnails {
        grid-auto-columns: 66px;
    }

    .product-gallery-thumbnail {
        width: 66px;
    }
}

.product-catalog .product-card-image-link:hover img,
.product-catalog .product-card-image-link:focus-visible img {
    transform: scale(1.012);
}

.product-catalog .product-card-image-link:focus-visible {
    outline: 2px solid rgba(30, 30, 30, 0.22);
    outline-offset: 4px;
}

.product-catalog .product-card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    margin-top: 24px;
}

.product-catalog .product-card h3 {
    order: 1;
    margin: 0;
    color: var(--navigation-accent);
    font-family: var(--catalog-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.product-catalog .product-card-categories {
    order: 2;
    min-height: 0;
    margin: 6px 0 0;
    color: var(--description-color);
    font-family: var(--catalog-sans);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.product-catalog .product-card-body > p:not(.product-card-categories) {
    order: 3;
    display: -webkit-box;
    min-height: 0;
    margin: 6px 0 0;
    overflow: hidden;
    color: var(--description-color);
    font-family: var(--catalog-sans);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-catalog .product-card .text-link {
    order: 4;
    align-self: flex-start;
    margin-top: 12px;
    color: var(--navigation-accent);
    font-family: var(--catalog-sans);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-catalog .product-card .text-link:focus-visible {
    outline: 2px solid var(--navigation-accent);
    outline-offset: 3px;
}

.product-catalog .product-card .text-link:hover {
    color: #293f4d;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 1200px) {
    .product-catalog {
        grid-template-columns: 220px minmax(0, 1fr);
        column-gap: 44px;
    }

    .product-catalog .product-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
        row-gap: 66px;
    }
}

@media (max-width: 900px) {
    .product-catalog-section {
        --catalog-section-bottom-space: 72px;
        padding: 48px var(--site-inline-padding) 72px;
    }

    .product-catalog {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .product-catalog-filter-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        width: 100%;
        padding: 0;
        border: 0;
        border-bottom: 1px solid #ded8d3;
        border-radius: 0;
        background: transparent;
        color: #101010;
        font-family: var(--catalog-sans);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

    .product-catalog .product-catalog-sidebar {
        position: static;
        display: none;
    }

    .product-catalog .product-catalog-sidebar.open {
        display: flex;
    }
    .product-catalog .product-catalog-sidebar h2 {
        margin-bottom: 18px;
    }

    .product-catalog .product-catalog-filter-list {
        max-height: min(420px, 55vh);
        padding-right: 6px;
    }

    .product-catalog .product-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 28px;
        row-gap: 58px;
    }
}

@media (max-width: 767px) {
    .product-catalog-filter-toggle {
        position: sticky;
        top: 82px;
        z-index: 21;
        align-self: start;
        background: var(--paper);
        box-shadow: 0 10px 16px -16px rgba(20, 20, 20, 0.55);
    }

    .product-catalog .product-catalog-sidebar.open {
        position: sticky;
        top: 126px;
        z-index: 20;
        max-height: calc(100dvh - 126px);
        overflow: hidden;
        background: var(--paper);
    }

    .product-catalog .product-catalog-sidebar.open .product-catalog-filter-list {
        max-height: calc(100dvh - 190px);
    }
}

@media (max-width: 600px) {
    .product-catalog-section {
        --catalog-section-bottom-space: 64px;
        padding: 22px var(--site-inline-padding) 64px;
    }

    .product-catalog .product-catalog-results {
        width: 100%;
        margin-inline: 0;
        padding-inline: 0;
        background: transparent;
    }

    .product-catalog-page-title {
        margin-bottom: 32px;
        font-size: 22px;
    }

    .product-catalog {
        row-gap: 54px;
    }

    .product-catalog .product-catalog-grid {
        grid-template-columns: 1fr;
        row-gap: 54px;
    }

    .product-catalog .product-card {
        width: calc(100% + 24px);
        margin-inline: -12px;
        padding-bottom: 16px;
        background: #fff;
    }

    .product-catalog .product-card-image-link {
        width: 100%;
        margin-inline: 0;
        background: #fff;
    }

    .product-catalog .product-card-body {
        padding-inline: 12px;
    }

    .product-catalog .product-card-image-link img {
        padding: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-catalog .product-catalog-option span:not(.product-catalog-check),
    .product-catalog .product-catalog-check,
    .product-catalog .product-catalog-check::after,
    .product-catalog .product-card-image-link img {
        transition: none;
    }

    .product-catalog .product-card-image-link:hover img,
    .product-catalog .product-card-image-link:focus-visible img,
    .product-catalog .product-catalog-option:hover .product-catalog-option-name,
    .product-catalog .product-catalog-option-name:focus-visible {
        transform: none;
    }
}
