.product-category-page {
    --toilet-ink: #252629;
    --toilet-muted: #666;
    --toilet-line: #dedede;
    --toilet-accent: #3199aa;
    color: var(--toilet-ink);
}

.product-category-page .pdt-content {
    --pdt-gutter: var(--gutter);
}

.product-category-page .pdt-category-hero {
    height: var(--inner-banner-height);
    min-height: 0;
    overflow: hidden;
    background: #275e65;
    color: #fff;
}

.toilet-hero-image,
.toilet-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.toilet-hero-image {
    object-fit: cover;
    object-position: center;
}

.toilet-hero-shade {
    background:
        linear-gradient(
            90deg,
            rgba(12, 68, 79, 0.68) 0%,
            rgba(34, 110, 125, 0.32) 22%,
            rgba(83, 184, 202, 0.1) 43%,
            transparent 63%
        ),
        linear-gradient(0deg, rgba(6, 24, 30, 0.2), transparent 45%);
}

.toilet-hero-shade::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 52% 100% at 0% 42%, rgb(83 184 202 / 0.32), transparent 100%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.toilet-hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding-top: var(--header);
}

.toilet-breadcrumb {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-block: 0;
    padding-block: 20px;
    color: var(--toilet-muted);
    font-size: 13px;
    font-weight: 300;
}

.toilet-breadcrumb a {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
}

.toilet-breadcrumb a:hover {
    color: var(--toilet-accent);
}

.toilet-hero-content > .eyebrow {
    color: #d5f0f2;
    font-size: 13px;
    font-weight: 300;
}

.product-category-page .toilet-hero-content h1 {
    margin-top: 12px;
    color: #fff;
    font-size: clamp(38px, 3.8vw, 58px);
    font-weight: 300;
    line-height: 1.35;
}

.product-category-page .toilet-hero-content p {
    margin-top: 18px;
    color: #f4fbfc;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
}

.product-category-page .pdt-category-section {
    padding-inline: 0;
    padding-top: 52px;
    padding-bottom: 120px;
}

.toilet-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 36px;
    margin-bottom: 52px;
}

.toilet-heading .eyebrow {
    margin-bottom: 12px;
    color: var(--toilet-accent);
    font-size: 12px;
    font-weight: 300;
}

.product-category-page .toilet-heading h2 {
    font-size: 30px;
    font-weight: 300;
    line-height: 1.45;
}

.product-category-page .toilet-heading p {
    color: var(--toilet-muted);
    font-size: 16px;
    line-height: 1.75;
}

.product-category-page .pdt-category-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: clamp(36px, 4vw, 72px);
}

.product-category-page .pdt-filters {
    border-top-color: #aab3b5;
}

.product-category-page .pdt-filter-heading {
    padding-top: 20px;
}

.product-category-page .pdt-filter-heading h3 {
    font-size: 17px;
    font-weight: 300;
}

.product-category-page .pdt-filter-heading button,
.product-category-page .pdt-filters legend,
.product-category-page .pdt-filters label {
    font-weight: 300;
}

.product-category-page .pdt-filter-heading button {
    color: var(--toilet-accent);
}

.product-category-page .pdt-filters fieldset {
    padding-block: 18px;
    border-bottom-color: var(--toilet-line);
}

.product-category-page .pdt-filters legend {
    margin-bottom: 9px;
    font-size: 15px;
}

.product-category-page .pdt-filters label {
    min-height: 42px;
    color: var(--toilet-muted);
    font-size: 14px;
}

.product-category-page .pdt-filters input {
    width: 17px;
    height: 17px;
    accent-color: var(--toilet-accent);
}

.product-category-page .pdt-results-header {
    min-height: 50px;
    align-items: baseline;
    margin-bottom: 26px;
    border-bottom-color: var(--toilet-line);
    scroll-margin-top: calc(var(--header) + 24px);
}

.product-category-page .pdt-results-header p {
    color: var(--toilet-ink);
    font-size: 15px;
}

.product-category-page .pdt-active-filters {
    margin-top: 0;
}

.product-category-page .pdt-active-filters button {
    border-color: #cfdee1;
    background: #f1f8f9;
    color: #276e7b;
}

.product-category-page .pdt-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 46px 24px;
}

.product-category-page .pdt-product-card {
    display: block;
    color: var(--toilet-ink);
}

.product-category-page .pdt-product-image {
    position: relative;
    background: #f4f4f3;
    border-radius: 8.75px;
}

.product-category-page .pdt-product-image img {
    object-fit: contain;
}

.product-category-page .pdt-product-card:hover .pdt-product-image img,
.product-category-page .pdt-product-card:focus-visible .pdt-product-image img {
    transform: scale(1.035);
}

.toilet-motion .pdt-product-card {
    opacity: 0;
    transform: translateY(55px);
    transition:
        opacity 0.75s var(--ease),
        transform 1s var(--ease);
    transition-delay: var(--delay, 0ms);
}

.toilet-motion .pdt-product-image {
    clip-path: inset(12% 0 0 round 8.75px);
    transition: clip-path 1.15s var(--ease);
}

.toilet-motion .pdt-product-card.is-visible {
    opacity: 1;
    transform: none;
}

.toilet-motion .pdt-product-card.is-visible .pdt-product-image {
    clip-path: inset(0 round 8.75px);
}

.product-category-page .pdt-product-caption {
    margin-top: 18px;
}

.product-category-page .pdt-product-caption h3 {
    font-size: 18px;
    font-weight: 300;
}

.product-category-page .pdt-product-caption > span {
    font-size: 17px;
    color: #4ebbca;
}

.product-category-page .pdt-product-card > p {
    margin-top: 5px;
    color: var(--toilet-muted);
    font-size: 13px;
}

.product-category-page .pdt-product-tags {
    margin-top: 12px;
}

.product-category-page .pdt-product-tags span {
    background: #eff4f4;
    color: #4f666d;
}

.product-category-page .pdt-empty {
    background: #f6f8f8;
}

.product-category-page .pdt-pagination {
    display: flex;
}

.product-category-page .pdt-pagination button[aria-current='page'] {
    background: #53b8ca;
    border-color: #53b8ca;
    color: #173a41;
}

.product-category-page .pdt-pagination button:not(:disabled):hover {
    border-color: var(--toilet-accent);
}

@media (max-width: 1200px) {
    .product-category-page .pdt-product-image {
        border-radius: 7px;
    }
}

@media (max-width: 1000px) {
    .product-category-page .pdt-category-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-category-page .pdt-filters > summary {
        border-block: 1px solid var(--toilet-line);
        font-weight: 300;
    }
    .product-category-page .pdt-filter-content {
        margin-top: 0;
    }
    .product-category-page .pdt-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .product-category-page .pdt-category-hero {
        height: min(720px, 84svh);
        min-height: 530px;
    }
    .toilet-hero-image {
        object-position: var(--category-banner-focus, 77%) center;
    }
    .toilet-hero-shade {
        background:
            linear-gradient(90deg, rgba(12, 68, 79, 0.6), rgba(83, 184, 202, 0.06) 82%),
            linear-gradient(0deg, rgba(6, 24, 30, 0.34), transparent 65%);
    }
    .toilet-hero-content {
        justify-content: flex-end;
        padding-bottom: 60px;
    }
    .product-category-page .toilet-hero-content h1 {
        font-size: 36px;
    }
    .product-category-page .toilet-hero-content p {
        font-size: 16px;
    }
    .product-category-page .pdt-category-section {
        padding-top: 32px;
        padding-bottom: 72px;
    }
    .toilet-heading {
        display: block;
        margin-bottom: 30px;
    }
    .product-category-page .toilet-heading h2 {
        font-size: 26px;
    }
    .product-category-page .toilet-heading p {
        margin-top: 14px;
        font-size: 14px;
    }
    .product-category-page .pdt-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 14px;
    }
    .product-category-page .pdt-product-caption h3 {
        font-size: 15px;
    }
    .product-category-page .pdt-product-card > p {
        font-size: 12px;
    }
    .product-category-page .pdt-results-header {
        display: block;
        padding-bottom: 13px;
    }
}

@media (max-width: 390px) {
    .product-category-page .pdt-product-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .toilet-motion .pdt-product-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .toilet-motion .pdt-product-image {
        clip-path: none;
        transition: none;
    }
    .product-category-page .pdt-product-image img {
        transition: none;
    }
}
