/* Catalog and product-category pages share storefront and interior foundations. */
:where(body.hs-site) .page-hero--catalog .page-hero-inner {
    min-height: 25rem;
    padding-block: 3rem;
}
:where(body.hs-site) .page-hero--catalog h1 {
    max-width: min(65%, 42rem);
    font-size: clamp(2.75rem, 4.7vw, 4.5rem);
    overflow-wrap: anywhere;
}
:where(body.hs-site) .page-hero--catalog .page-hero-intro {
    margin-top: 1.25rem;
}
:where(body.hs-site) .page-hero--catalog .eyebrow {
    margin-bottom: 1rem;
}
:where(body.hs-site) .catalog-section {
    margin-top: clamp(2.75rem, 5vw, 4.5rem);
}
:where(body.hs-site) .catalog-tools {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}
:where(body.hs-site) .catalog-search {
    flex: 1 1 30rem;
    max-width: 40rem;
}
:where(body.hs-site) .catalog-tools label {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--forest);
    font-size: 0.875rem;
    font-weight: 600;
}
:where(body.hs-site) .catalog-search-controls {
    display: flex;
    gap: 0.65rem;
}
:where(body.hs-site) .catalog-search input,
:where(body.hs-site) .catalog-sort select {
    min-width: 0;
    min-height: 3.25rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    line-height: 1.45;
}
:where(body.hs-site) .catalog-search input {
    flex: 1;
    width: 100%;
}
:where(body.hs-site) .catalog-search input::placeholder {
    color: var(--muted);
    opacity: 1;
}
:where(body.hs-site) .catalog-search input:focus-visible,
:where(body.hs-site) .catalog-sort select:focus-visible {
    outline: 0.1875rem solid var(--forest);
    outline-offset: 0.1875rem;
}
:where(body.hs-site) .catalog-search .button {
    flex: none;
    gap: 0.6rem;
}
:where(body.hs-site) .catalog-sort {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0 0.65rem;
    flex: 0 1 24rem;
}
:where(body.hs-site) .catalog-sort label {
    grid-column: 1 / -1;
}
:where(body.hs-site) .catalog-sort select {
    width: 100%;
}
:where(body.hs-site) .catalog-sort .button {
    padding-inline: 1rem;
    font-size: 0.875rem;
}
:where(body.hs-site) .catalog-layout {
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}
:where(body.hs-site) .catalog-sidebar {
    min-width: 0;
}
:where(body.hs-site) .catalog-sidebar h2 {
    margin-bottom: 1.25rem;
    color: var(--forest);
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}
:where(body.hs-site) .catalog-category-nav {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
:where(body.hs-site) .catalog-category-nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.7rem 0.9rem;
    border-radius: 0.65rem;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.45;
    transition: background 0.16s, color 0.16s;
}
:where(body.hs-site) .catalog-category-nav a:hover {
    background: var(--white);
    color: var(--forest);
}
:where(body.hs-site) .catalog-category-nav a[aria-current="true"],
:where(body.hs-site) .catalog-category-nav a[aria-current="page"] {
    background: var(--forest);
    color: var(--white);
    font-weight: 600;
}
:where(body.hs-site) .catalog-content {
    min-width: 0;
}
:where(body.hs-site) .catalog-heading {
    margin-bottom: 1.75rem;
}
:where(body.hs-site) .catalog-heading .eyebrow {
    margin-bottom: 0.75rem;
}
:where(body.hs-site) .catalog-heading h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    text-wrap: balance;
    overflow-wrap: anywhere;
}
:where(body.hs-site) .catalog-description {
    margin-top: 1rem;
    max-width: 40rem;
    color: var(--muted);
    overflow-wrap: anywhere;
}
:where(body.hs-site) .catalog-result-count {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--muted);
}
:where(body.hs-site) .catalog-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}
:where(body.hs-site) .catalog-subcategories a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    border-radius: 2rem;
    background: var(--white);
    color: var(--forest);
    font-size: 0.875rem;
    line-height: 1.45;
    transition: background 0.16s;
}
:where(body.hs-site) .catalog-subcategories a:hover,
:where(body.hs-site) .catalog-subcategories a[aria-current="page"],
:where(body.hs-site) .catalog-subcategories a[aria-current="true"] {
    background: var(--sage);
}
:where(body.hs-site) .product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
:where(body.hs-site) .product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--white);
}
:where(body.hs-site) .product-card-image {
    display: block;
    aspect-ratio: 1;
    background: #edf0e7;
}
:where(body.hs-site) .product-card-image img {
    width: 100%;
    height: 100%;
    /*object-fit: contain;*/
    object-fit: cover;
    aspect-ratio: 1 / 1;
}
:where(body.hs-site) .product-card-image:focus-visible {
    outline-offset: -0.3rem;
}
:where(body.hs-site) .product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
    padding: 1.25rem;
}
:where(body.hs-site) .product-card h3 {
    margin-bottom: 0.75rem;
    color: var(--forest);
    font-size: 1.125rem;
    line-height: 1.35;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
}
:where(body.hs-site) .product-card h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
:where(body.hs-site) .product-card-description {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.55;
}
:where(body.hs-site) .product-card-price {
    margin-top: auto;
    color: var(--forest);
    font-size: 1.125rem;
    font-weight: 650;
    line-height: 1.45;
}
:where(body.hs-site) .product-card-price del {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 400;
}
:where(body.hs-site) .product-card-price ins {
    text-decoration: none;
}
:where(body.hs-site) .product-card-status {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.8125rem;
}
:where(body.hs-site) .catalog-pagination {
    margin-top: 2.5rem;
}
:where(body.hs-site) .catalog-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
:where(body.hs-site) .catalog-pagination a,
:where(body.hs-site) .catalog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.65rem;
    font-size: 0.875rem;
}
:where(body.hs-site) .catalog-pagination a {
    background: var(--white);
    color: var(--forest);
}
:where(body.hs-site) .catalog-pagination a:hover {
    background: var(--sage);
}
:where(body.hs-site) .catalog-pagination .current {
    background: var(--forest);
    color: var(--white);
}
:where(body.hs-site) .catalog-pagination .dots {
    min-width: 1.5rem;
    padding-inline: 0;
    color: var(--muted);
}
:where(body.hs-site) .catalog-empty {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 1.1rem;
    background: var(--sage);
}
:where(body.hs-site) .catalog-empty-kicker {
    display: block;
    margin-bottom: 1rem;
    color: var(--olive);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
:where(body.hs-site) .catalog-empty h3 {
    max-width: 32rem;
    color: var(--forest);
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    line-height: 1.2;
    text-wrap: balance;
}
:where(body.hs-site) .catalog-empty > p {
    margin-top: 1rem;
    max-width: 34rem;
    color: #44513e;
}
:where(body.hs-site) .catalog-empty-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.5rem;
    margin-top: 1.75rem;
}
:where(body.hs-site) .catalog-empty-actions .text-link {
    color: var(--forest);
}
:where(body.hs-site) .catalog-help {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem 3rem;
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}
:where(body.hs-site) .catalog-help h2 {
    margin-bottom: 0.9rem;
    color: var(--forest);
    font-size: clamp(1.75rem, 2.5vw, 2.4rem);
}
:where(body.hs-site) .catalog-help p {
    max-width: 37rem;
    color: var(--muted);
    font-size: 0.9375rem;
}
:where(body.hs-site) .catalog-help-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}
:where(body.hs-site) .catalog-help-actions .text-link {
    font-size: 1rem;
    white-space: nowrap;
}
@media (max-width: 1100px) {
    :where(body.hs-site) .catalog-tools {
        flex-wrap: wrap;
    }
    :where(body.hs-site) .catalog-search {
        flex-basis: 26rem;
    }
    :where(body.hs-site) .catalog-sort {
        flex-basis: 22rem;
    }
    :where(body.hs-site) .catalog-layout {
        grid-template-columns: 12rem minmax(0, 1fr);
        gap: 2rem;
    }
    :where(body.hs-site) .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 800px) {
    :where(body.hs-site) .page-hero--catalog .page-hero-media {
        height: 12rem;
    }
    :where(body.hs-site) .page-hero--catalog .page-hero-inner {
        min-height: 0;
        padding-block: 2.25rem 2.5rem;
    }
    :where(body.hs-site) .page-hero--catalog h1 {
        max-width: 38rem;
        font-size: clamp(2.5rem, 6.5vw, 3.25rem);
    }
    :where(body.hs-site) .page-hero--catalog .page-hero-intro {
        max-width: 34rem;
    }
    :where(body.hs-site) .catalog-tools {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    :where(body.hs-site) .catalog-search,
    :where(body.hs-site) .catalog-sort {
        width: 100%;
        max-width: none;
    }
    :where(body.hs-site) .catalog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    :where(body.hs-site) .catalog-sidebar h2 {
        margin-bottom: 1rem;
        font-size: 1.125rem;
    }
    :where(body.hs-site) .catalog-category-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    :where(body.hs-site) .catalog-category-nav a {
        background: var(--white);
        font-size: 0.875rem;
        padding: 0.65rem 0.85rem;
        border-radius: 2rem;
    }
    :where(body.hs-site) .catalog-help {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    :where(body.hs-site) .catalog-help-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem 1.5rem;
    }
}
@media (max-width: 550px) {
    :where(body.hs-site) .catalog-search-controls {
        flex-wrap: wrap;
    }
    :where(body.hs-site) .catalog-search input,
    :where(body.hs-site) .catalog-search .button {
        flex-basis: 100%;
    }
    :where(body.hs-site) .catalog-sort {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.65rem;
    }
    :where(body.hs-site) .catalog-sort label {
        margin-bottom: 0;
    }
    :where(body.hs-site) .catalog-sort .button {
        width: 100%;
    }
    :where(body.hs-site) .catalog-heading h2 {
        font-size: 2rem;
    }
    :where(body.hs-site) .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    :where(body.hs-site) .product-card-body {
        padding: 1.5rem;
    }
    :where(body.hs-site) .product-card h3 {
        font-size: 1.25rem;
    }
    :where(body.hs-site) .catalog-empty {
        padding: 1.5rem;
    }
    :where(body.hs-site) .catalog-empty > p {
        font-size: 0.9375rem;
    }
    :where(body.hs-site) .catalog-empty-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }
    :where(body.hs-site) .catalog-empty-actions .button {
        width: 100%;
        gap: 0.6rem;
        padding-inline: 1rem;
    }
    :where(body.hs-site) .catalog-help-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    :where(body.hs-site) .catalog-help-actions .button {
        width: 100%;
    }
}
