.shop-banner {
    min-height: clamp(300px,35vw,430px)
}
.category-page-hero {
    min-height: clamp(390px, 42vw, 470px);
}
.category-page-hero > img {
    object-position: center 54%;
}
.category-page-copy p {
    max-width: 100%;
    margin-block: 20px;
    font-size: clamp(19px, 1.6vw, 21px);
    font-weight: 500;
    line-height: 1.65;
    text-wrap: pretty;
}
main > .category-page-hero:first-child {
    margin-top: -110px;
}
main > .category-page-hero:first-child .category-page-copy {
    padding: 148px var(--content-pad) 64px;
}
.category-breadcrumbs {
    position: absolute;
    z-index: 2;
    top: 98px;
    left: 0;
    width: 100%;
    padding: 8px var(--content-pad);
    color: #f4f1e8;
    font-size: 14px;
}
.category-breadcrumbs a:hover,
.category-breadcrumbs a:focus-visible,
.category-breadcrumbs b {
    color: #fff;
}
.category-breadcrumbs span {
    color: #e1bd79;
}
.category-seo-copy {
    padding-block: 64px;
}
.category-seo-copy h2 {
    max-width: 900px;
    margin: 8px 0 14px;
    font-size: clamp(27px, 3.3vw, 40px);
}
.category-seo-copy > p {
    max-width: 850px;
    line-height: 1.75;
}
.category-seo-copy > p a {
    color: var(--green);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.category-related-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.category-related-links span {
    flex-basis: 100%;
    color: var(--muted);
}
.category-related-links a {
    color: var(--green);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.catalog-intro {
    max-width: 1400px;
    margin-inline: auto
}
.filterbar {
    max-width: 1400px;
    margin-inline: auto
}
.catalog-grid .product-photo img {
    transition: transform .35s ease
}
.catalog-grid .product-card:hover .product-photo img {
    transform: scale(1.035)
}
.catalog-grid .product-card {
    min-width: 0
}
.empty-search {
    font-size: 16px
}
.empty-search h3 {
    font-size: 24px
}
.empty-products p {
    font-size: 16px
}
.filter-categories a:focus-visible,.catalog-sale-link:focus-visible {
    outline: 3px solid #dfb866;
    outline-offset: 2px
}
.catalog-empty {
    width: 100%;
    padding: 25px 0
}
.catalog-empty>h2 {
    margin: 0 0 7px;
    font-size: 27px
}
.catalog-empty>p {
    max-width: 760px;
    margin: 0 0 23px;
    color: #5e675f;
    font-size: 16px;
    line-height: 1.7
}
.catalog-category-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
    margin-bottom: 27px
}
.catalog-category-card {
    overflow: hidden;
    border: 1px solid #e3e7e1;
    border-radius: 12px;
    background: #fff;
    transition: transform .2s,box-shadow .2s
}
.catalog-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px #21351d18
}
.catalog-category-card>img {
    width: 100%;
    height: 205px;
    object-fit: cover
}
.catalog-category-card>div {
    padding: 14px
}
.catalog-category-card h3 {
    font-size: 18px;
    margin: 0 0 5px
}
.catalog-category-card p {
    min-height: 48px;
    margin: 0 0 10px;
    color: #59635a;
    font-size: 14px;
    line-height: 1.5
}
.catalog-category-card span {
    font-size: 14px;
    color: var(--green);
    font-weight: 700
}
.catalog-empty>.text-link {
    font-size: 15px
}
@media(max-width:700px) {
    .category-page-hero {
        min-height: 390px;
    }
    main > .category-page-hero:first-child {
        margin-top: -88px;
    }
    main > .category-page-hero:first-child .category-page-copy {
        padding: 128px 22px 44px;
    }
    .category-breadcrumbs {
        top: 79px;
        padding-inline: 22px;
        font-size: 13px;
    }
    .category-page-copy p {
        max-width: 100%;
        font-size: 18px;
        line-height: 1.6;
    }
    .category-seo-copy {
        padding-block: 42px;
    }
    .category-related-links {
        gap: 12px;
    }
    .shop-banner {
        min-height: 340px
    }
    .catalog {
        padding-top: 28px
    }
    .catalog-intro {
        align-items: flex-start;
        gap: 12px
    }
    .catalog-intro p {
        font-size: 14px
    }
    .catalog-sale-link {
        white-space: nowrap
    }
    .filterbar {
        gap: 8px
    }
}
@media(max-width:700px) {
    .catalog-empty {
        padding-top: 12px
    }
    .catalog-empty>h2 {
        font-size: 23px
    }
    .catalog-category-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px
    }
    .catalog-category-card>img {
        height: clamp(125px,42vw,185px)
    }
    .catalog-category-card>div {
        padding: 11px
    }
    .catalog-category-card h3 {
        font-size: 16px
    }
    .catalog-category-card p {
        font-size: 14px;
        min-height: 66px
    }
}

.types-hero {
    background: radial-gradient(circle at 82% 18%, #ffffff20, transparent 27%), linear-gradient(120deg, #263e32, #496a51);
    color: #fff;
}
.types-hero-inner {
    max-width: 1440px;
    margin-inline: auto;
    padding: 36px var(--content-pad) 54px;
}
.types-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 32px;
    color: #dce6da;
    font-size: 13px;
}
.types-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}
.types-breadcrumbs a:hover,
.types-breadcrumbs a:focus-visible,
.types-breadcrumbs b {
    color: #fff;
}
.types-hero h1 {
    margin: 10px 0 12px;
    font-size: clamp(38px, 5vw, 62px);
    letter-spacing: -.035em;
}
.types-hero p {
    max-width: 720px;
    margin: 0;
    color: #e7eee5;
    font-size: clamp(16px, 1.7vw, 20px);
    line-height: 1.65;
}
.types-index {
    display: grid;
    gap: 30px;
}
.types-category {
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid #e2e7e0;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff, #f8faf7);
    box-shadow: 0 12px 34px #263c2e0b;
}
.types-category-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
}
.types-category-heading h2 {
    margin: 5px 0 0;
    color: #263c2e;
    font-size: clamp(25px, 3vw, 34px);
}
.types-category-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #dce5d9;
    border-radius: 999px;
    color: #315341;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}
.types-category-heading > a:hover,
.types-category-heading > a:focus-visible {
    background: #eaf0e8;
}
.types-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.types-card {
    display: flex;
    min-width: 0;
    min-height: 150px;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid #e5eae2;
    border-radius: 14px;
    background: #fff;
    color: #263c2e;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.types-card:hover,
.types-card:focus-visible {
    transform: translateY(-2px);
    border-color: #b9cbb7;
    box-shadow: 0 10px 24px #263c2e12;
}
.types-card-top,
.types-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.types-card-index {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #edf2eb;
    color: #426449;
    font-size: 12px;
    font-weight: 800;
}
.types-card-count {
    color: #718071;
    font-size: 12px;
    font-weight: 650;
}
.types-card-name {
    overflow-wrap: anywhere;
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 800;
    line-height: 1.25;
}
.types-card-action {
    color: #416448;
    font-size: 13px;
    font-weight: 750;
}
.types-card-action span {
    font-size: 18px;
    transition: transform .18s ease;
}
.types-card:hover .types-card-action span {
    transform: translateX(3px);
}
.types-empty {
    padding: 48px 24px;
    border: 1px dashed #cbd8c8;
    border-radius: 18px;
    text-align: center;
}
.types-empty > span {
    color: #769176;
    font-size: 36px;
}
.types-empty h2 {
    margin: 8px 0;
}
.types-empty p {
    margin: 0 auto 20px;
    color: #657166;
}
@media (max-width: 900px) {
    .types-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .types-hero-inner {
        padding: 24px 20px 38px;
    }
    .types-breadcrumbs {
        margin-bottom: 24px;
    }
    .types-category-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
    .types-grid {
        grid-template-columns: 1fr;
    }
    .types-card {
        min-height: 132px;
    }
}
