:root {
    --products-cream: #f8f5ee;
    --products-ivory: #fbfaf5;
    --products-navy: #183b59;
    --products-navy-soft: #44627b;
    --products-green: #1f6c4f;
    --products-green-soft: #dfeee6;
    --products-border: rgba(26, 54, 74, 0.12);
    --products-text: #2d3d4a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--products-text);
    background: #f7f4ef;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.site-header,
.topbar,
.topbar-tagline,
.topbar-contacts,
.site-nav,
.site-nav-links .nav-link,
.business-inquiry {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

img {
    max-width: 100%;
    display: block;
}

.products-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image:
        linear-gradient(
            90deg,
            rgba(250, 252, 242, 0.2) 0%,
            rgba(250, 252, 242, 0.16) 42%,
            rgba(250, 252, 242, 0.1) 56%,
            rgba(250, 252, 242, 0.02) 68%,
            transparent 100%
        ),
        url("../images/products_hero_bg.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.products-hero__container {
    width: 100%;
    max-width: 1320px;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.products-hero__content {
    max-width: 700px;
}

.products-hero__breadcrumb {
    margin-bottom: 1.15rem;
}

.products-hero__breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    color: #355a57;
    font-size: 0.82rem;
    font-weight: 600;
    list-style: none;
}

.products-hero__breadcrumb a {
    color: #355a57;
    text-decoration: none;
    transition: color 180ms ease;
}

.products-hero__breadcrumb a:hover {
    color: #006b4f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.products-hero__breadcrumb a:focus-visible {
    border-radius: 2px;
    outline: 2px solid #006b4f;
    outline-offset: 3px;
}

.products-hero__breadcrumb li[aria-hidden="true"] {
    color: #00845f;
}

.products-hero__title {
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 0 0.22em;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    font-weight: 750;
    color: var(--products-navy);
}

.products-hero__title-main {
    color: #124b7d;
}

.products-hero__title-accent {
    color: #006b4f;
}

.products-hero__headline {
    max-width: 680px;
    margin: 0.7rem 0 0;
    color: #174778;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 650;
    line-height: 1.45;
}

.products-hero__description {
    margin: 0.65rem 0 0;
    max-width: 560px;
    color: #425c6c;
    font-size: 0.96rem;
    line-height: 1.6;
}

.products-hero__features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 700px;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.products-hero__feature {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.2rem 0.8rem;
    color: #244c46;
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.35;
}

.products-hero__feature + .products-hero__feature {
    border-left: 1px solid rgba(0, 107, 79, 0.2);
}

.products-hero__feature-icon {
    position: relative;
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf3e3;
    color: #006b4f;
    font-size: 1rem;
}

.products-hero__feature-check {
    position: absolute;
    z-index: 1;
    top: 52%;
    left: 52%;
    font-size: 0.5rem;
    color: #fff;
    transform: translate(-50%, -50%);
}

@media (max-width: 1199.98px) {
    .products-hero {
        min-height: 540px;
        background-position: 58% center;
        background-image:
            linear-gradient(
                90deg,
                rgba(250, 252, 242, 0.82) 0%,
                rgba(250, 252, 242, 0.72) 45%,
                rgba(250, 252, 242, 0.52) 72%,
                rgba(250, 252, 242, 0.34) 100%
            ),
            url("../images/products_hero_bg.png");
    }

    .products-hero__title {
        font-size: clamp(2.25rem, 4.2vw, 3rem);
    }

    .products-hero__container {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }

    .products-hero__content {
        max-width: 660px;
    }

    .products-hero__features {
        max-width: 660px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.65rem;
    }

    .products-hero__feature:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 767.98px) {
    .products-hero {
        min-height: 0;
        align-items: flex-start;
        background-position: 68% center;
        background-size: cover;
        background-image:
            linear-gradient(90deg, rgba(250, 252, 242, 0.96) 0%, rgba(250, 252, 242, 0.93) 58%, rgba(250, 252, 242, 0.78) 100%),
            url("../images/products_hero_bg.png");
    }

    .products-hero__container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .products-hero__content {
        max-width: 600px;
    }

    .products-hero__breadcrumb {
        margin-bottom: 0.85rem;
    }

    .products-hero__headline {
        font-size: 1.05rem;
    }

    .products-hero__title {
        max-width: 100%;
        flex-wrap: wrap;
        gap: 0 0.18em;
        font-size: clamp(2.15rem, 8vw, 2.8rem);
    }

    .products-hero__description {
        max-width: 100%;
        font-size: 0.94rem;
    }

    .products-hero__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem 0;
        margin-top: 1.1rem;
    }

    .products-hero__feature {
        gap: 0.5rem;
        padding: 0.15rem 0.45rem;
        font-size: 0.76rem;
    }

    .products-hero__feature:nth-child(3) {
        border-left: 1px solid rgba(0, 107, 79, 0.2);
    }

    .products-hero__feature:nth-child(odd) {
        border-left: 0;
        padding-left: 0;
    }

    .products-hero__feature-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 0.9rem;
    }
}

@media (max-width: 430px) {
    .products-hero__container {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .products-hero__feature {
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .products-hero__breadcrumb a {
        transition: none;
    }
}

.products-contact-cta {
    position: relative;
    height: 500px;
    overflow: hidden;
    padding: 46px 0;
    background-image: linear-gradient(90deg, rgba(248, 245, 238, 0.9) 0%, rgba(248, 245, 238, 0.7) 32%, rgba(248, 245, 238, 0.2) 58%, rgba(248, 245, 238, 0.12) 100%), url("../images/product_contact_bg.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top: 1px solid rgba(18, 59, 103, 0.05);
}

.products-contact-cta__container {
    position: relative;
    z-index: 1;
}

.products-contact-cta__content {
    max-width: 540px;
    padding: 24px 0 20px;
}

.products-contact-cta__title {
    margin: 0;
    color: #173c5d;
    font-size: clamp(1.7rem, 2.4vw, 2.7rem);
    line-height: 1.15;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.products-contact-cta__title-plain {
    color: #173c5d;
}

.products-contact-cta__title-accent {
    color: #15714b;
}

.products-contact-cta__text {
    margin: 1rem 0 0;
    max-width: 520px;
    color: rgba(23, 60, 93, 0.8);
    font-size: 1.02rem;
    line-height: 1.65;
    font-weight: 500;
}

.products-contact-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 52px;
    margin-top: 1.4rem;
    padding: 0.82rem 1.6rem;
    border-radius: 999px;
    background: #12764d;
    color: #fff;
    box-shadow: 0 12px 24px rgba(18, 118, 77, 0.2);
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.products-contact-cta__button:hover,
.products-contact-cta__button:focus-visible {
    background: #0d613f;
    color: #fff;
    box-shadow: 0 14px 26px rgba(18, 118, 77, 0.26);
    transform: translateY(-2px);
    outline: none;
}

.products-contact-cta__button i {
    font-size: 0.9rem;
}

@media (max-width: 1199.98px) {
    .products-contact-cta {
        padding: 40px 0;
        background-position: center center;
    }

    .products-contact-cta__content {
        max-width: 500px;
    }
}

@media (max-width: 767.98px) {
    .products-contact-cta {
        padding: 32px 0;
        background-position: center center;
    }

    .products-contact-cta__content {
        max-width: 100%;
        padding: 10px 0;
    }

    .products-contact-cta__text {
        max-width: 100%;
        font-size: 0.95rem;
    }
}

@media (max-width: 430px) {
    .products-contact-cta {
        background-image: linear-gradient(90deg, rgba(248, 245, 238, 0.78) 0%, rgba(248, 245, 238, 0.82) 100%), url("../images/product_contact_bg.png");
        background-position: center center;
    }

    .products-contact-cta__button {
        width: 100%;
        justify-content: center;
    }
}

.products-catalog {
    padding: 72px 0 82px;
    background: #f7f8f1;
}

.catalog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.catalog-sidebar__panel {
    border: 1px solid #e4eadf;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 26px rgba(18, 59, 103, 0.05);
    padding: 1.15rem 1rem 0.75rem;
}

.catalog-sidebar__header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
    padding: 0 0.25rem;
    color: var(--products-green);
}

.catalog-sidebar__header i {
    font-size: 1.1rem;
}

.catalog-sidebar__header h2 {
    margin: 0;
    color: #0f3d5d;
    font-size: 1.05rem;
    font-weight: 700;
}

.catalog-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.catalog-category {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #1d3a5c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.catalog-category:hover,
.catalog-category:focus-visible {
    background: rgba(31, 108, 79, 0.05);
    border-color: rgba(31, 108, 79, 0.12);
    transform: translateY(-1px);
}

.catalog-category:focus-visible {
    outline: 3px solid rgba(8, 118, 83, 0.65);
    outline-offset: 2px;
}

.catalog-category.is-active:focus-visible {
    background: linear-gradient(135deg, #0c5a40, #12754d);
    color: #fff;
}

.catalog-context {
    margin: 0 0 1.15rem;
    padding: 0.1rem 0 0.15rem;
    animation: catalog-context-enter 240ms ease both;
}

.catalog-context__eyebrow {
    margin: 0 0 0.35rem;
    color: var(--products-green);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.catalog-context__title {
    margin: 0;
    color: var(--products-navy);
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 750;
    line-height: 1.2;
}

.catalog-context__description {
    max-width: 720px;
    margin: 0.5rem 0 0;
    color: #587180;
    font-size: 0.95rem;
    line-height: 1.6;
}

.catalog-filter-chip-row {
    margin: -0.5rem 0 1rem;
}

.catalog-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.48rem 0.75rem;
    border: 1px solid rgba(31, 108, 79, 0.2);
    border-radius: 999px;
    background: #edf6ef;
    color: #15583f;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 650;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.catalog-filter-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(31, 108, 79, 0.42);
    background: #e2f0e7;
}

.catalog-filter-chip:focus-visible,
.catalog-empty__action:focus-visible {
    outline: 3px solid rgba(8, 118, 83, 0.45);
    outline-offset: 3px;
}

.catalog-result-summary {
    margin: 0 0 1rem;
    color: #587180;
    font-size: 0.9rem;
    font-weight: 600;
}

.catalog-pagination {
    margin-top: 1.5rem;
}

.catalog-pagination:empty {
    display: none;
}

.catalog-pagination__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-pagination__button {
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #dde6dc;
    border-radius: 10px;
    background: #fff;
    color: #1d3a5c;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
}

.catalog-pagination__button:hover:not(:disabled),
.catalog-pagination__button:focus-visible {
    border-color: var(--products-green);
    outline: 2px solid rgba(8, 118, 83, 0.35);
    outline-offset: 2px;
}

.catalog-pagination__button.is-active {
    border-color: var(--products-green);
    background: var(--products-green);
    color: #fff;
}

.catalog-pagination__button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.catalog-grid--enter {
    animation: catalog-grid-enter 220ms ease both;
}

@keyframes catalog-context-enter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes catalog-grid-enter {
    from {
        opacity: 0.72;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.catalog-empty {
    padding: 2rem 1.25rem;
    border: 1px solid #e3eae1;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    color: #587180;
    text-align: center;
}

.catalog-empty > i {
    margin-bottom: 0.75rem;
    color: var(--products-green);
    font-size: 1.4rem;
}

.catalog-empty > p {
    margin: 0;
}

.catalog-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.catalog-empty__action {
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(31, 108, 79, 0.25);
    border-radius: 10px;
    background: #fff;
    color: var(--products-green);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 650;
}

.catalog-empty__action:hover {
    background: #edf6ef;
}

.catalog-category.is-active {
    background: linear-gradient(135deg, #0c5a40, #12754d);
    color: #fff;
    box-shadow: 0 10px 18px rgba(12, 90, 64, 0.2);
}

.catalog-category__count {
    min-width: 2rem;
    height: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(12, 90, 64, 0.08);
    color: inherit;
    font-size: 0.75rem;
    font-weight: 700;
}

.catalog-category.is-active .catalog-category__count {
    background: rgba(255, 255, 255, 0.18);
}

.catalog-banner {
    position: relative;
    overflow: hidden;
    padding: 1.4rem 1.2rem;
    border: 1px solid #e4eadf;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(11, 78, 55, 0.96), rgba(23, 67, 58, 0.9));
    color: #edf6ef;
    box-shadow: 0 16px 28px rgba(11, 78, 55, 0.18);
}

.catalog-banner::before {
    content: "";
    position: absolute;
    inset: -18% auto auto 58%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.catalog-banner::after {
    content: "";
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.catalog-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #dff5e7;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-banner h3 {
    position: relative;
    z-index: 1;
    margin: 1rem 0 0.35rem;
    color: #f5fff7;
    font-size: clamp(1.45rem, 1.8vw, 2rem);
    line-height: 1.15;
}

.catalog-banner p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(234, 249, 238, 0.9);
    font-size: 0.92rem;
    line-height: 1.6;
}

.catalog-banner a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.1rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e4eadf;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(18, 59, 103, 0.03);
}

.catalog-search {
    position: relative;
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.78rem 0.9rem;
    border: 1px solid #dde6dc;
    border-radius: 12px;
    background: #fff;
}

.catalog-search i {
    color: #7b8f8d;
    font-size: 0.9rem;
}

.catalog-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    color: #143d63;
    font-size: 0.96rem;
    outline: none;
}

.catalog-search input::placeholder {
    color: #728796;
}

.catalog-toolbar__controls {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.catalog-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1d3a5c;
    font-size: 0.9rem;
    font-weight: 600;
}

.catalog-sort select {
    min-width: 150px;
    border: 1px solid #dde6dc;
    border-radius: 12px;
    background: #fff;
    color: #123b67;
    font-size: 0.9rem;
    padding: 0.7rem 0.8rem;
}

.catalog-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem;
    border: 1px solid #dde6dc;
    border-radius: 12px;
    background: #fff;
}

.catalog-view-toggle__button {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #4a667a;
    font-size: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.catalog-view-toggle__button:hover,
.catalog-view-toggle__button:focus-visible {
    background: rgba(31, 108, 79, 0.08);
    color: var(--products-green);
    outline: none;
}

.catalog-view-toggle__button.is-active {
    background: var(--products-green);
    color: #fff;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.catalog-grid--list {
    grid-template-columns: 1fr;
}

.catalog-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e3eae1;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(18, 59, 103, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 108, 79, 0.2);
    box-shadow: 0 18px 26px rgba(18, 59, 103, 0.08);
}

.catalog-product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    padding: 1rem;
    background: linear-gradient(180deg, #f9faf6 0%, #eef4ed 100%);
}

.catalog-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalog-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem 1rem 1.05rem;
}

.catalog-product-card__tag {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 0.65rem;
    padding: 0.38rem 0.6rem;
    border-radius: 999px;
    background: rgba(31, 108, 79, 0.1);
    color: var(--products-green);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.catalog-product-card__body h3 {
    margin: 0 0 0.45rem;
    color: var(--products-navy);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
}

.catalog-product-card__body p {
    margin: 0;
    color: #587180;
}

.catalog-product-card__description {
    display: -webkit-box;
    overflow: hidden;
    color: #587180;
    font-size: 0.84rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.catalog-product-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
    color: #34586d;
    font-size: 0.72rem;
    font-weight: 600;
}

.catalog-product-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.catalog-product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border: none;
    background: transparent;
    color: var(--products-green);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.catalog-product-card__link:hover,
.catalog-product-card__link:focus-visible {
    color: #0b5d40;
}

.catalog-product-card__link:focus-visible {
    border-radius: 3px;
    outline: 2px solid rgba(8, 118, 83, 0.55);
    outline-offset: 3px;
}

.catalog-product-card--list {
    flex-direction: row;
}

.catalog-product-card--list .catalog-product-card__image {
    width: 220px;
    min-width: 220px;
    height: 220px;
}

.catalog-product-card--list .catalog-product-card__body {
    justify-content: center;
}

.catalog-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 220px;
    margin-top: 1.5rem;
    border: 1px dashed #cddad2;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    color: #3e5d75;
    text-align: center;
    padding: 1.5rem;
}

.catalog-empty i {
    font-size: 1.5rem;
    color: var(--products-green);
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.product-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.product-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 22, 29, 0.6);
    backdrop-filter: blur(4px);
}

.product-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1040px);
    max-height: min(88vh, 760px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(18, 59, 103, 0.08);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 26px 60px rgba(12, 29, 37, 0.22);
    transform: translateY(18px) scale(0.98);
    transition: transform 220ms ease;
}

.product-modal.is-open .product-modal__dialog {
    transform: translateY(0) scale(1);
}

.product-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem 0.75rem;
    border-bottom: 1px solid rgba(31, 108, 79, 0.08);
    background: rgba(248, 250, 246, 0.9);
}

.product-modal__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 180px;
}

.product-modal__brand img {
    width: 100%;
    max-height: 42px;
    object-fit: contain;
}

.product-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(18, 59, 103, 0.12);
    border-radius: 50%;
    background: #fff;
    color: #1c3d5b;
    font-size: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.product-modal__close:hover,
.product-modal__close:focus-visible {
    background: #ecf7f0;
    color: var(--products-green);
    outline: none;
    transform: translateY(-1px);
}

.product-modal__content {
    overflow: auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 245, 0.92) 100%);
}

.product-modal__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    min-height: 100%;
}

.product-modal__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(180deg, #f8faf5 0%, #eef5ee 100%);
    border-right: 1px solid rgba(18, 59, 103, 0.08);
}

.product-modal__visual-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 420px;
    padding: 1.3rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(18, 59, 103, 0.05);
}

.product-modal__visual img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.product-modal__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem 1.2rem 1.1rem;
    overflow-y: auto;
}

.product-modal__eyebrow-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.product-modal__badge,
.product-modal__category {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-modal__badge {
    background: rgba(31, 108, 79, 0.1);
    color: var(--products-green);
}

.product-modal__category {
    background: rgba(24, 59, 89, 0.08);
    color: #173c5d;
}

.product-modal__info h2 {
    margin: 0;
    color: var(--products-navy);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.product-modal__summary {
    margin: 0;
    color: #49677a;
    font-size: 0.96rem;
    line-height: 1.65;
}

.product-modal__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.35rem;
    border: 1px solid rgba(31, 108, 79, 0.14);
    border-radius: 14px;
    background: rgba(239, 247, 242, 0.9);
}

.product-modal__tab {
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #365b74;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.55rem 0.75rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-modal__tab:hover,
.product-modal__tab:focus-visible {
    background: rgba(31, 108, 79, 0.06);
    border-color: rgba(31, 108, 79, 0.12);
    outline: none;
}

.product-modal__tab.is-active {
    background: #ffffff;
    border-color: rgba(31, 108, 79, 0.12);
    color: var(--products-green);
    box-shadow: 0 4px 10px rgba(18, 59, 103, 0.05);
}

.product-modal__tab-panels {
    min-height: 0;
}

.product-modal__panel {
    display: none;
    color: #49677a;
}

.product-modal__panel.is-active {
    display: block;
}

.product-modal__overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.product-modal__label {
    margin: 0 0 0.45rem;
    color: var(--products-navy);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-modal__text,
.product-modal__description {
    margin: 0;
    color: #46657a;
    font-size: 0.96rem;
    line-height: 1.75;
}

.product-modal__list {
    margin: 0;
    padding-left: 1.1rem;
    color: #46657a;
    line-height: 1.8;
}

.product-modal__info-list {
    display: grid;
    gap: 0.7rem;
    margin: 0;
}

.product-modal__info-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 0.75rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(19, 59, 103, 0.08);
}

.product-modal__info-row dt {
    margin: 0;
    color: var(--products-navy);
    font-weight: 700;
}

.product-modal__info-row dd {
    margin: 0;
    color: #46657a;
}

.product-modal__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.35rem;
}

.product-modal__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.product-modal__action:hover,
.product-modal__action:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.product-modal__action--primary {
    background: linear-gradient(135deg, #0d5b40, #12764d);
    color: #fff;
    box-shadow: 0 12px 24px rgba(18, 118, 77, 0.2);
}

.product-modal__action--primary:hover,
.product-modal__action--primary:focus-visible {
    background: linear-gradient(135deg, #0a4e38, #0d653f);
    color: #fff;
}

.product-modal__action--secondary {
    border: 1px solid rgba(18, 59, 103, 0.12);
    background: #fff;
    color: #183b59;
}

.product-modal__action--secondary:hover,
.product-modal__action--secondary:focus-visible {
    background: #f7faf7;
    color: #183b59;
}

@media (max-width: 1199.98px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .product-modal {
        padding: 0;
    }

    .product-modal__dialog {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        transform: translateY(22px) scale(0.98);
    }

    .product-modal.is-open .product-modal__dialog {
        transform: translateY(0) scale(1);
    }

    .product-modal__layout {
        grid-template-columns: 1fr;
    }

    .product-modal__visual {
        padding: 1rem;
        border-right: 0;
        border-bottom: 1px solid rgba(18, 59, 103, 0.08);
    }

    .product-modal__visual-frame {
        min-height: 260px;
    }

    .product-modal__overview-grid {
        grid-template-columns: 1fr;
    }

    .product-modal__info-row {
        grid-template-columns: 1fr;
    }

    .product-modal__action {
        flex: 1 1 auto;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-modal,
    .product-modal__dialog,
    .product-modal__close,
    .product-modal__action {
        transition: none;
    }
}


@media (max-width: 991.98px) {
    .products-catalog {
        padding-top: 60px;
        padding-bottom: 68px;
    }

    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-toolbar__controls {
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-context,
    .catalog-grid--enter {
        animation: none;
    }

    .catalog-filter-chip,
    .catalog-category {
        transition: none;
    }
}

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

    .catalog-toolbar {
        padding: 0.8rem;
    }

    .catalog-sort {
        flex: 1;
        justify-content: space-between;
    }

    .catalog-sort select {
        min-width: 0;
        width: 100%;
    }

    .catalog-product-card--list {
        flex-direction: column;
    }

    .catalog-product-card--list .catalog-product-card__image {
        width: 100%;
        min-width: 100%;
    }
}

.product-detail {
    padding: 2rem 0 4rem;
    background: #f7f8f1;
}

.product-detail__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
    color: #587180;
    font-size: 0.85rem;
}

.product-detail__breadcrumb a {
    color: var(--products-green);
    text-decoration: none;
}

.product-detail__breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-detail__content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(1.25rem, 4vw, 3rem);
    border: 1px solid #e3eae1;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(18, 59, 103, 0.05);
}

.product-detail__visual {
    display: flex;
    min-height: 360px;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #f9faf6 0%, #eef4ed 100%);
}

.product-detail__image {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: contain;
}

.product-detail__category {
    margin: 0 0 0.65rem;
    color: #587180;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-detail__name {
    margin: 0 0 1rem;
    color: var(--products-navy);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 750;
    line-height: 1.18;
}

.product-detail__tag {
    display: inline-flex;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(31, 108, 79, 0.1);
    color: var(--products-green);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-detail__pack {
    margin: 0.8rem 0 0;
    color: #34586d;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-detail__description-heading {
    margin: 1.6rem 0 0.55rem;
    color: var(--products-navy);
    font-size: 1.1rem;
    font-weight: 700;
}

.product-detail__description {
    margin: 0;
    color: #526b79;
    font-size: 0.98rem;
    line-height: 1.75;
}

.product-detail__status,
.product-detail__not-found {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--products-navy);
}

.product-detail__not-found {
    font-size: 1.8rem;
    font-weight: 700;
}

.product-detail__back {
    grid-column: 1 / -1;
    justify-self: start;
    color: var(--products-green);
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .product-detail {
        padding: 1.5rem 0 2.5rem;
    }

    .product-detail__content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        border-radius: 18px;
    }

    .product-detail__visual {
        min-height: 260px;
    }

    .product-detail__image {
        max-height: 320px;
    }
}

@media (max-width: 479.98px) {
    .catalog-toolbar__controls {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .catalog-sort,
    .catalog-view-toggle {
        width: 100%;
    }

    .catalog-view-toggle {
        justify-content: center;
    }

    .catalog-sidebar__panel,
    .catalog-banner {
        border-radius: 18px;
    }
}
