/* Shared editorial layout for the natural solutions hub and its catalogue. */
.hub-back {
    display: inline-block;
    margin: 0 0 2rem;
    color: #527a60 !important;
    font-size: 0.85rem;
    border: 0 !important;
}
.solutions-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 3rem;
    padding: 2rem 0 4rem !important;
}
.solutions-hero h1,
.catalogue-header h1 {
    font-family: Georgia, serif;
    font-size: clamp(2.6rem, 4.3vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: #20342a;
    margin: 0.2em 0 0.4em;
}
.solutions-hero img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
}
.hub-intro {
    max-width: 740px;
    color: #68776d;
    font-size: 1.1rem;
    line-height: 1.8;
}
.hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}
.hub-paths {
    padding: 0 0 3.5rem !important;
    border: 0 !important;
}
.path-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #edf3eb;
    border: 1px solid #dfe8dc !important;
    border-radius: 22px;
    padding: 2.4rem;
    color: #20342a !important;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.path-card:hover,
.path-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px #24442a12;
}
.path-services {
    background: #f5f0e6;
    border-color: #e9e2d4 !important;
}
.path-card h2 {
    font-family: Georgia, serif;
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}
.path-card p {
    color: #657368;
    line-height: 1.75;
}
.hub-tag {
    font-size: 0.75rem;
    color: #657368;
    display: inline-block;
    margin: 0.5rem 0 1.4rem;
}
.card-action {
    margin-top: auto;
    font-size: 0.85rem;
    color: #355e42;
}
.hub-bridge {
    border-top: 1px solid #dfe8dc !important;
    padding: 3rem 0 !important;
}
.hub-bridge h2 {
    font-family: Georgia, serif;
    font-size: 2rem;
}
.hub-bridge p {
    max-width: 760px;
}
.hub-bridge a {
    color: #355e42 !important;
}
.hub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}
.catalogue-header {
    padding: 1rem 0 0 !important;
    border: 0 !important;
}
.catalogue-header .hub-back {
    margin: 4.3rem 0 1.6rem !important;
}
.catalogue-explorer {
    border: 0 !important;
    padding: 0 0 3rem !important;
}
.catalogue-tools {
    padding: 1rem 0 1.2rem;
}
.catalogue-tools label {
    font-size: 0.8rem;
    color: #527a60;
}
.catalogue-tools input {
    max-width: 650px;
    background: #fff !important;
}
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.2rem 0;
}
.category-filters button {
    height: auto !important;
    padding: 0.65rem 0.9rem !important;
    line-height: 1.3 !important;
    white-space: normal;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
    font-size: 0.8rem;
    border: 1px solid #dfe8dc !important;
    box-shadow: none !important;
    border-radius: 20px;
    color: #527a60 !important;
}
.category-filters button[aria-pressed="true"] {
    background: #284d36 !important;
    color: white !important;
    border-color: #284d36 !important;
}
#product-count {
    color: #758277;
    font-size: 0.85rem;
}
.catalogue-groups {
    display: flex;
    flex-direction: column;
    gap: 2.6rem;
}
.category-group {
    min-width: 0;
}
.category-banner {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    margin: 0 0 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e8df;
}
.category-image {
    width: 88px;
    height: 88px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 14px;
    background: #eef1ec;
}
.category-banner-body h2 {
    font-family: Georgia, serif;
    font-size: 1.5rem;
    line-height: 1.15;
    margin: 0 0 0.3rem;
    color: #20342a;
}
.category-count {
    margin: 0;
    color: #758277;
    font-size: 0.85rem;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}
.product-card {
    overflow: hidden;
    border: 1px solid #e1e8df;
    border-radius: 15px;
    background: #fafbf8;
    min-width: 0;
    scroll-margin-top: 2rem;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 63, 40, 0.09);
}
.product-card-body {
    padding: 1.1rem 1.3rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card small {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #758277;
    margin: 0 0 0.55rem;
}
.product-card small.is-available {
    color: #1f6b3a;
}
.product-card small.is-soon {
    color: #a48455;
}
.product-card h3 {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    line-height: 1.24;
    margin: 0 0 0.6rem;
    color: #20342a;
}
.product-card p {
    color: #526056;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0 0 0.8rem;
}
.product-card .product-refs {
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid #e1e8df;
    font-size: 0.78rem;
    color: #758277;
}
.product-card .product-refs a {
    color: #355e42 !important;
    border: 0 !important;
    margin-right: 0.5rem;
    white-space: nowrap;
}
.catalogue-empty {
    grid-column: 1/-1;
    padding: 2rem;
    background: #f7f4ec;
    border-radius: 12px;
}
.service-areas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 1rem 0 3rem;
}
.service-areas .path-card {
    padding: 1.5rem;
}
.service-areas h2 {
    font-size: 1.5rem;
}
.hub-error {
    padding: 1.2rem;
    background: #f7f4ec;
    border-radius: 12px;
}
.product-image {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #eef1ec;
}
.product-brand {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a48455;
    display: block;
    margin-bottom: 0.5rem;
}
.product-price {
    font-family: Georgia, serif;
    font-size: 1.15rem;
    color: #20342a;
    margin: -0.2rem 0 0.8rem;
}
.product-card h3 a {
    color: inherit !important;
    text-decoration: none;
    border: 0 !important;
}
.product-card h3 a:hover {
    color: #355e42 !important;
}
.product-card .card-action {
    display: inline-block;
    margin-top: auto;
    font-size: 0.85rem;
    color: #355e42 !important;
    border: 0 !important;
}
@media (max-width: 1150px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 820px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .service-areas {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 700px) {
    .solutions-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .solutions-hero img {
        max-width: 280px;
        margin: auto;
    }
    .hub-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
    .path-card {
        padding: 1.6rem;
    }
    .solutions-hero h1,
    .catalogue-header h1 {
        font-size: 2.8rem;
    }
    .hub-intro {
        font-size: 1rem;
    }
    .category-image {
        width: 64px;
        height: 64px;
    }
    .category-banner-body h2 {
        font-size: 1.25rem;
    }
}
