.catalog-main {
    padding: clamp(56px, 9vw, 80px) clamp(16px, 6vw, 64px) 96px;
    background: #f9f7f5;
    min-height: 100vh;
}


.catalog-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(24px, 4vw, 40px);
    align-items: stretch;
    margin-bottom: clamp(40px, 6vw, 64px);
}

.catalog-hero__banner {
    position: relative;
    background: linear-gradient(135deg, rgba(229, 247, 238, 0.95), rgba(200, 238, 216, 0.92));
    border: 1px solid rgba(104, 211, 136, 0.28);
    border-radius: clamp(24px, 5vw, 32px);
    padding: clamp(24px, 4vw, 48px);
    padding-right: clamp(120px, 14vw, 160px);
    box-shadow: 0 24px 48px rgba(36, 92, 60, 0.18);
    color: #104030;
    overflow: hidden;
}

.catalog-hero__media {
    position: absolute;
    inset-block-start: clamp(20px, 3vw, 40px);
    inset-inline-end: clamp(4px, 1vw, 10px);
    width: clamp(110px, 14vw, 150px);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.catalog-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: clamp(12px, 2vw, 18px);
}

.catalog-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(104, 211, 136, 0.18);
    color: #1d4a31;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.catalog-hero__title {
    margin: clamp(16px, 2vw, 24px) 0 12px;
    font-size: clamp(34px, 4.6vw, 46px);
    font-weight: 600;
    color: #0f3a2a;
}

.catalog-hero__subtitle {
    margin: 0;
    max-width: 560px;
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.6;
    color: rgba(15, 58, 42, 0.78);
}

.catalog-hero__badge,
.catalog-hero__title,
.catalog-hero__subtitle,
.catalog-hero__meta {
    position: relative;
    z-index: 1;
}

.catalog-hero__meta {
    margin-top: clamp(18px, 3vw, 32px);
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
    flex-wrap: nowrap;
}

.catalog-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 120px;
}

.catalog-hero__stat-number {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: #0f3a2a;
}

.catalog-hero__stat-label {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(15, 58, 42, 0.65);
}

.catalog-hero__divider {
    width: 1px;
    height: 42px;
    background: linear-gradient(180deg, rgba(104, 211, 136, 0), rgba(104, 211, 136, 0.6), rgba(104, 211, 136, 0));
}

@media (max-width: 960px) {
    .catalog-hero__meta {
        flex-wrap: wrap;
        justify-content: center;
    }

    .catalog-hero__divider {
        display: none;
    }
}

.catalog-filter {
    position: relative;
}

.catalog-filter--surface {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(104, 211, 136, 0.22);
    border-radius: clamp(20px, 4vw, 28px);
    box-shadow: 0 18px 38px rgba(18, 60, 41, 0.14);
    padding: clamp(20px, 3vw, 32px);
    display: grid;
    gap: 24px;
}

.catalog-filter__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.catalog-filter__field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-filter__field--search {
    grid-column: 1 / -1;
}

.catalog-filter__label {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(15, 58, 42, 0.65);
}

.catalog-filter__control {
    position: relative;
    display: flex;
    flex-direction: column;
}

.catalog-filter__control input[type="search"] {
    border: 1.5px solid rgba(104, 211, 136, 0.24);
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.96);
    color: #103b2c;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-filter__control input[type="search"]:focus {
    outline: none;
    border-color: rgba(104, 211, 136, 0.6);
    box-shadow: 0 0 0 4px rgba(104, 211, 136, 0.16);
}

.catalog-filter__control select,
.catalog-filter__field select {
    border: 1.5px solid rgba(104, 211, 136, 0.24);
    border-radius: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.96);
    color: #103b2c;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-filter__field select:focus {
    outline: none;
    border-color: rgba(104, 211, 136, 0.6);
    box-shadow: 0 0 0 4px rgba(104, 211, 136, 0.16);
}

.catalog-filter__hint {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(15, 58, 42, 0.55);
}

.catalog-filter__toggles {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    row-gap: 12px;
    flex-wrap: wrap;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(229, 247, 238, 0.75);
    border: 1px dashed rgba(104, 211, 136, 0.32);
}

.catalog-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
    color: #245b3c;
}

.catalog-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.catalog-toggle__visual {
    width: 40px;
    height: 22px;
    border-radius: 999px;
    background: rgba(104, 211, 136, 0.2);
    border: 1px solid rgba(104, 211, 136, 0.4);
    position: relative;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.catalog-toggle__visual::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(36, 92, 60, 0.25);
    transition: transform 0.2s ease;
}

.catalog-toggle input:checked + .catalog-toggle__visual {
    background: #68d388;
    border-color: #47b871;
}

.catalog-toggle input:checked + .catalog-toggle__visual::after {
    transform: translateX(18px);
}

.catalog-toggle__label {
    letter-spacing: 0.04em;
    font-weight: 600;
}

.catalog-toggle__summary {
    margin-left: auto;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(15, 58, 42, 0.6);
}

@media (max-width: 640px) {
    .catalog-hero__banner {
    padding-right: clamp(18px, 4vw, 28px);
    padding-bottom: clamp(160px, 46vw, 210px);
    }

    .catalog-hero__media {
        inset: auto;
        bottom: clamp(-8px, -3vw, -4px);
        right: clamp(8px, 6vw, 16px);
        transform: none;
        width: clamp(120px, 44vw, 160px);
    }

    .catalog-toggle__summary {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }
}

.catalog-filter__actions {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.catalog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.catalog-button--primary {
    background: linear-gradient(135deg, #68d388, #47b871);
    color: #ffffff;
    border: 1px solid rgba(104, 211, 136, 0.4);
    box-shadow: 0 12px 24px rgba(71, 184, 113, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-button--primary:hover,
.catalog-button--primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(71, 184, 113, 0.3);
    outline: none;
}

.catalog-button--link {
    background: transparent;
    color: #1d4a31;
    border: 1px solid rgba(104, 211, 136, 0.24);
}

.catalog-button--link:hover,
.catalog-button--link:focus-visible {
    border-color: rgba(104, 211, 136, 0.38);
    color: #0f3a2a;
    outline: none;
}

.catalog-results__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.catalog-results__header h2 {
    margin: 0;
    font-size: 22px;
    color: #111b2b;
}

.catalog-results__link {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0a2e36;
    text-decoration: none;
}

.catalog-empty {
    background: rgba(26, 31, 54, 0.04);
    padding: 24px;
    border-radius: 16px;
    color: rgba(26, 31, 54, 0.7);
}

.catalog-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.catalog-pagination__nav {
    display: grid;
    gap: 18px;
    padding: 28px clamp(18px, 5vw, 42px);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(229, 247, 238, 0.98), rgba(200, 238, 216, 0.94));
    border: 1px solid rgba(104, 211, 136, 0.28);
    box-shadow: 0 26px 56px rgba(36, 92, 60, 0.14);
    max-width: min(780px, 100%);
}

.catalog-pagination__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 1.8vw, 14px);
    margin: 0;
    padding: 0;
}

.catalog-pagination__item {
    display: flex;
}

.catalog-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid rgba(104, 211, 136, 0.24);
    background: rgba(255, 255, 255, 0.9);
    color: #245b3c;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.catalog-pagination__link--number {
    min-width: clamp(52px, 10vw, 64px);
    padding-inline: clamp(16px, 4vw, 22px);
    border-radius: 14px;
}

.catalog-pagination__link--arrow {
    min-width: clamp(62px, 11vw, 84px);
    height: auto;
    padding: 12px 18px;
    border-radius: 16px;
    background: rgba(104, 211, 136, 0.12);
    border: 1px solid rgba(104, 211, 136, 0.26);
}

.catalog-pagination__link:hover,
.catalog-pagination__link:focus-visible {
    color: #1d4a31;
    border-color: rgba(104, 211, 136, 0.42);
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(36, 92, 60, 0.22);
    outline: none;
}

.catalog-pagination__link--arrow:hover,
.catalog-pagination__link--arrow:focus-visible {
    background: rgba(104, 211, 136, 0.18);
    border-color: rgba(104, 211, 136, 0.34);
}

.catalog-pagination__link--active {
    border-color: transparent;
    background: linear-gradient(135deg, #68d388, #47b871);
    color: #ffffff;
    box-shadow: 0 18px 32px rgba(71, 184, 113, 0.35);
}

.catalog-pagination__link--active.catalog-pagination__link--number {
    border-radius: 16px;
}

.catalog-pagination__link--disabled {
    cursor: not-allowed;
    background: rgba(214, 240, 224, 0.65);
    color: rgba(36, 92, 60, 0.45);
    border-color: rgba(104, 211, 136, 0.22);
    box-shadow: none;
    transform: none;
}

.catalog-pagination__link--disabled.catalog-pagination__link--arrow {
    background: rgba(104, 211, 136, 0.08);
    border-color: rgba(104, 211, 136, 0.14);
}

.catalog-pagination__link--ellipsis {
    padding-inline: 12px;
    letter-spacing: 0.3em;
    color: rgba(36, 92, 60, 0.56);
    cursor: default;
}

.catalog-pagination__meta {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 4vw, 32px);
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(36, 92, 60, 0.76);
    flex-wrap: wrap;
}

.catalog-pagination__meta span {
    position: relative;
    padding-inline: 6px;
}

.catalog-pagination__meta span + span::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(104, 211, 136, 0.5);
}

.catalog-pagination__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.catalog-pagination__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.catalog-pagination__text {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .catalog-pagination {
        margin-top: 36px;
    }

    .catalog-pagination__nav {
        padding: 24px 18px;
        border-radius: 24px;
        gap: 16px;
    }

    .catalog-pagination__link {
        padding: 10px 16px;
        font-size: 12px;
        letter-spacing: 0.1em;
    }

    .catalog-pagination__link--arrow {
        min-width: 56px;
        padding: 10px 14px;
        border-radius: 14px;
        background: rgba(104, 211, 136, 0.12);
    }

    .catalog-pagination__meta {
        font-size: 11px;
        letter-spacing: 0.09em;
    }
}

@media (max-width: 480px) {
    .catalog-pagination__list {
        gap: 10px;
    }

    .catalog-pagination__link--number {
        min-width: 44px;
        padding-inline: 14px;
    }

    .catalog-pagination__link {
        font-size: 11px;
        letter-spacing: 0.12em;
    }

    .catalog-pagination__meta {
        font-size: 10px;
        letter-spacing: 0.12em;
    }
}
