/* =========================================================
   FLUX CATALOGUE
========================================================= */


/* =========================================================
   FOUNDATION
========================================================= */

.flux-catalogue-container {
    width: 100%;
    max-width: 1540px;

    margin: 0 auto;

    padding-left:
        clamp(22px, 4vw, 64px);

    padding-right:
        clamp(22px, 4vw, 64px);
}


.flux-catalogue-kicker {
    display: block;

    margin-bottom: 13px;

    color:
        var(--flux-accent);

    font-size: 9px;
    font-weight: 750;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


/* =========================================================
   HERO
========================================================= */

.flux-catalogue-hero {
    padding:
        100px 0 95px;

    background:
        linear-gradient(
            135deg,
            #eef3f8,
            #ffffff
        );
}


.flux-catalogue-hero-grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;
}


.flux-catalogue-hero-copy {
    max-width: 1100px;
}


.flux-catalogue-hero h1 {
    margin: 0;

    color:
        var(--flux-text);

    font-size:
        clamp(58px, 7vw, 105px);

    line-height: .91;

    font-weight: 720;

    letter-spacing:
        clamp(-5px, -.4vw, -2px);
}


.flux-catalogue-hero h1 span {
    display: block;

    color:
        var(--flux-muted);
}


.flux-catalogue-hero p {
    max-width: 660px;

    margin:
        27px 0 0;

    color:
        var(--flux-muted);

    font-size: 15px;
    line-height: 1.75;
}


/* COUNT */

.flux-catalogue-count {
    flex-shrink: 0;

    display: flex;
    flex-direction: column;

    padding-bottom: 5px;

    text-align: right;
}


.flux-catalogue-count strong {
    color:
        var(--flux-text);

    font-size: 54px;
    line-height: .9;

    font-weight: 700;

    letter-spacing: -2.5px;
}


.flux-catalogue-count span {
    margin-top: 8px;

    color:
        var(--flux-muted);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   FIND BY
========================================================= */

.flux-catalogue-find {
    background: #ffffff;

    border-top:
        1px solid
        var(--flux-border);

    border-bottom:
        1px solid
        var(--flux-border);
}


.flux-catalogue-find-inner {
    display: grid;

    grid-template-columns:
        130px
        minmax(0, 1fr);

    align-items: stretch;
}


.flux-catalogue-find-label {
    display: flex;
    align-items: center;

    border-right:
        1px solid
        var(--flux-border);
}


.flux-catalogue-find-label span {
    color:
        var(--flux-muted);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.flux-catalogue-find-nav {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}


.flux-catalogue-find-nav a {
    display: flex;
    align-items: center;

    gap: 11px;

    min-height: 70px;

    padding:
        0 22px;

    border-right:
        1px solid
        var(--flux-border);

    color:
        var(--flux-text);

    font-size: 13px;
    font-weight: 580;

    text-decoration: none;

    transition:
        background-color .17s ease,
        color .17s ease;
}


.flux-catalogue-find-nav a:last-child {
    border-right: 0;
}


.flux-catalogue-find-nav a small {
    color:
        var(--flux-muted);

    font-size: 8px;
}


.flux-catalogue-find-nav a:hover {
    background: #f4f6f8;

    color:
        var(--flux-accent);
}


.flux-catalogue-find-nav a.is-active {
    background:
        var(--flux-text);

    color: #ffffff;
}


.flux-catalogue-find-nav
a.is-active
small {
    color:
        rgba(255,255,255,.5);
}


/* =========================================================
   CATEGORIES
========================================================= */

.flux-catalogue-categories {
    padding:
        65px 0 70px;

    background:
        var(--flux-page);

    border-bottom:
        1px solid
        var(--flux-border);
}


.flux-catalogue-section-heading {
    margin-bottom: 25px;
}


.flux-catalogue-section-heading h2 {
    margin: 0;

    color:
        var(--flux-text);

    font-size: 30px;
    font-weight: 680;

    letter-spacing: -1px;
}


.flux-category-list {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}


.flux-category-link {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    min-height: 35px;

    padding:
        0 13px;

    border:
        1px solid
        var(--flux-border);

    border-radius: 999px;

    background: transparent;

    color:
        var(--flux-text);

    font-size: 10px;
    font-weight: 520;

    text-decoration: none;

    transition:
        background-color .16s ease,
        border-color .16s ease,
        color .16s ease;
}


.flux-category-link small {
    color:
        var(--flux-muted);

    font-size: 8px;
}


.flux-category-link:hover,
.flux-category-link.is-active {
    border-color:
        var(--flux-text);

    background:
        var(--flux-text);

    color: #ffffff;
}


.flux-category-link.is-active small,
.flux-category-link:hover small {
    color:
        rgba(255,255,255,.62);
}


/* =========================================================
   PRODUCTS
========================================================= */

.flux-catalogue-products {
    padding:
        95px 0 110px;

    background: #f1f4f7;
}


/* =========================================================
   PRODUCT HEADER
========================================================= */

.flux-catalogue-products-head {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, 520px);

    gap:
        clamp(50px, 8vw, 120px);

    align-items: end;

    margin-bottom: 42px;
}


.flux-catalogue-products-head h2 {
    margin: 0;

    color:
        var(--flux-text);

    font-size:
        clamp(42px, 5vw, 66px);

    line-height: .96;

    font-weight: 700;

    letter-spacing: -2.8px;
}


.flux-catalogue-products-head
> div:first-child
> p {
    max-width: 580px;

    margin:
        18px 0 0;

    color:
        var(--flux-muted);

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   SEARCH
========================================================= */

.flux-catalogue-search-wrap {
    width: 100%;
}


.flux-catalogue-search-label {
    display: block;

    margin-bottom: 9px;

    color:
        var(--flux-muted);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.flux-catalogue-search {
    display: flex;
    align-items: center;

    width: 100%;

    min-height: 58px;

    padding:
        0 18px;

    border:
        1px solid
        var(--flux-border);

    border-radius: 999px;

    background: #ffffff;

    transition:
        border-color .17s ease,
        box-shadow .17s ease;
}


.flux-catalogue-search:focus-within {
    border-color:
        var(--flux-accent);

    box-shadow:
        0 0 0 3px
        rgba(37,99,235,.07);
}


.flux-catalogue-search svg {
    flex:
        0 0 19px;

    width: 19px;
    height: 19px;

    margin-right: 11px;

    fill: none;

    stroke:
        var(--flux-muted);

    stroke-width: 1.7;
}


.flux-catalogue-search input {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color:
        var(--flux-text);

    font-size: 13px;
}


.flux-catalogue-search input::placeholder {
    color: #9ba3ac;
}


.flux-catalogue-search button {
    flex-shrink: 0;

    width: 30px;
    height: 30px;

    margin-left: 7px;

    border: 0;

    border-radius: 50%;

    background: #f0f2f4;

    color:
        var(--flux-muted);

    font-size: 18px;
    line-height: 1;
}


.flux-catalogue-search-wrap > small {
    display: block;

    margin:
        8px 0 0
        18px;

    color:
        var(--flux-muted);

    font-size: 9px;
}


/* =========================================================
   RESULT BAR
========================================================= */

.flux-catalogue-resultbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    min-height: 52px;

    margin-bottom: 14px;

    border-top:
        1px solid
        var(--flux-border);

    border-bottom:
        1px solid
        var(--flux-border);
}


.flux-catalogue-resultbar > div {
    display: flex;
    align-items: baseline;

    gap: 6px;
}


.flux-catalogue-resultbar strong {
    color:
        var(--flux-text);

    font-size: 12px;
}


.flux-catalogue-resultbar span {
    color:
        var(--flux-muted);

    font-size: 10px;
}


.flux-catalogue-resultbar > a {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color:
        var(--flux-muted);

    font-size: 10px;

    text-decoration: none;
}


.flux-catalogue-resultbar
> a:hover {
    color:
        var(--flux-text);
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.flux-catalogue-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 14px;
}


.flux-catalogue-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border-radius: 19px;

    background: #ffffff;

    transition:
        transform .23s ease,
        box-shadow .23s ease;
}


.flux-catalogue-card:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 18px 40px
        rgba(28,42,58,.07);
}


.flux-catalogue-card[hidden] {
    display: none !important;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.flux-catalogue-card-image {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    aspect-ratio:
        1 / .78;

    padding: 27px;

    overflow: hidden;

    background: #ffffff;
}


.flux-catalogue-card-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform .3s ease;
}


.flux-catalogue-card:hover
.flux-catalogue-card-image img {
    transform:
        scale(1.035);
}


.flux-catalogue-placeholder {
    color:
        var(--flux-muted);

    font-size: 11px;
}


.flux-catalogue-featured {
    position: absolute;

    top: 14px;
    left: 14px;

    padding:
        6px 9px;

    border-radius: 999px;

    background: #17283d;

    color: #ffffff;

    font-size: 7px;
    font-weight: 700;

    letter-spacing: .5px;

    text-transform: uppercase;
}


/* =========================================================
   CARD BODY
========================================================= */

.flux-catalogue-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding:
        20px 21px 22px;
}


.flux-catalogue-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}


.flux-catalogue-category {
    color:
        var(--flux-accent);

    font-size: 7px;
    font-weight: 750;

    letter-spacing: .9px;

    text-transform: uppercase;
    text-decoration: none;
}


.flux-catalogue-category:hover {
    color:
        var(--flux-text);
}


/* SUPPLY */

.flux-catalogue-supply {
    padding:
        5px 7px;

    border-radius: 999px;

    font-size: 7px;
    font-weight: 750;

    letter-spacing: .3px;

    text-transform: uppercase;
}


.flux-catalogue-supply.is-ready {
    background: #e9f6ed;

    color: #27653b;
}


.flux-catalogue-supply.is-enquiry {
    background: #eef1f4;

    color: #586675;
}


/* TITLE */

.flux-catalogue-card h3 {
    margin:
        11px 0 0;

    font-size: 18px;
    line-height: 1.25;

    font-weight: 650;

    letter-spacing: -.35px;
}


.flux-catalogue-card h3 a {
    color:
        var(--flux-text);

    text-decoration: none;
}


/* DESCRIPTION */

.flux-catalogue-card-content > p {
    margin:
        12px 0 0;

    color:
        var(--flux-muted);

    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.flux-catalogue-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-top: auto;

    padding-top: 23px;
}


.flux-catalogue-card-footer > div {
    display: flex;
    flex-direction: column;
}


.flux-catalogue-card-footer span {
    color:
        var(--flux-muted);

    font-size: 7px;

    letter-spacing: .3px;
}


.flux-catalogue-card-footer strong {
    margin-top: 2px;

    color:
        var(--flux-text);

    font-size: 14px;
    font-weight: 650;
}


.flux-catalogue-card-footer > a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    border-radius: 50%;

    background: #f1f4f7;

    color:
        var(--flux-text);

    text-decoration: none;

    transition:
        transform .17s ease,
        background-color .17s ease;
}


.flux-catalogue-card-footer
> a:hover {
    background:
        var(--flux-text);

    color: #ffffff;

    transform:
        translateX(2px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.flux-catalogue-empty {
    grid-column:
        1 / -1;

    padding:
        65px 40px;

    border-radius: 18px;

    background: #ffffff;

    text-align: center;
}


.flux-catalogue-empty > span {
    display: block;

    margin-bottom: 8px;

    color:
        var(--flux-accent);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.flux-catalogue-empty h3 {
    margin: 0;

    color:
        var(--flux-text);

    font-size: 27px;

    letter-spacing: -.8px;
}


.flux-catalogue-empty p {
    margin:
        9px 0 0;

    color:
        var(--flux-muted);

    font-size: 12px;
}


/* =========================================================
   PAGINATION
========================================================= */

.flux-catalogue-pagination {
    margin-top: 50px;
}


/* =========================================================
   DISCOVERY CTA
========================================================= */

.flux-catalogue-discovery {
    padding:
        110px 0;

    background:
        linear-gradient(
            135deg,
            #203650,
            #142338
        );

    color: #ffffff;
}


.flux-catalogue-discovery-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;
}


.flux-catalogue-discovery-inner
> div {
    max-width: 900px;
}


.flux-catalogue-discovery-inner
> div
> span {
    display: block;

    margin-bottom: 12px;

    color:
        rgba(255,255,255,.5);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.flux-catalogue-discovery h2 {
    margin: 0;

    font-size:
        clamp(48px, 6vw, 88px);

    line-height: .93;

    font-weight: 710;

    letter-spacing: -4px;
}


.flux-catalogue-discovery p {
    max-width: 600px;

    margin:
        20px 0 0;

    color:
        rgba(255,255,255,.6);

    font-size: 13px;
    line-height: 1.7;
}


.flux-catalogue-discovery-inner
> a {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    min-height: 48px;

    padding:
        0 20px;

    border-radius: 999px;

    background: #ffffff;

    color: #17283d;

    font-size: 12px;
    font-weight: 650;

    text-decoration: none;

    transition:
        transform .17s ease;
}


.flux-catalogue-discovery-inner
> a:hover {
    color: #17283d;

    transform:
        translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .flux-catalogue-find-inner {
        grid-template-columns: 1fr;
    }


    .flux-catalogue-find-label {
        min-height: 42px;

        border-right: 0;

        border-bottom:
            1px solid
            var(--flux-border);
    }


    .flux-catalogue-find-nav {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .flux-catalogue-find-nav a:nth-child(2) {
        border-right: 0;
    }


    .flux-catalogue-find-nav a:nth-child(-n+2) {
        border-bottom:
            1px solid
            var(--flux-border);
    }


    .flux-catalogue-products-head {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .flux-catalogue-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .flux-catalogue-discovery-inner {
        align-items: flex-start;

        flex-direction: column;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .flux-catalogue-hero {
        padding:
            70px 0;
    }


    .flux-catalogue-hero-grid {
        align-items: flex-start;

        flex-direction: column;
    }


    .flux-catalogue-count {
        text-align: left;
    }


    .flux-catalogue-hero h1 {
        font-size: 55px;

        letter-spacing: -3px;
    }


    .flux-catalogue-find-nav {
        grid-template-columns: 1fr;
    }


    .flux-catalogue-find-nav a {
        min-height: 57px;

        border-right: 0;

        border-bottom:
            1px solid
            var(--flux-border);
    }


    .flux-catalogue-find-nav a:last-child {
        border-bottom: 0;
    }


    .flux-catalogue-categories {
        padding:
            55px 0;
    }


    .flux-category-list {
        flex-wrap: nowrap;

        padding-bottom: 5px;

        overflow-x: auto;
    }


    .flux-category-link {
        flex-shrink: 0;
    }


    .flux-catalogue-products {
        padding:
            75px 0;
    }


    .flux-catalogue-products-head h2 {
        font-size: 47px;

        letter-spacing: -2.4px;
    }


    .flux-catalogue-search {
        min-height: 53px;
    }


    .flux-catalogue-grid {
        grid-template-columns: 1fr;
    }


    .flux-catalogue-resultbar {
        align-items: flex-start;

        flex-direction: column;

        justify-content: center;

        gap: 6px;

        padding:
            12px 0;
    }


    .flux-catalogue-discovery {
        padding:
            75px 0;
    }


    .flux-catalogue-discovery h2 {
        font-size: 52px;

        letter-spacing: -2.8px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .flux-catalogue-card,
    .flux-catalogue-card-image img,
    .flux-catalogue-card-footer > a,
    .flux-catalogue-find-nav a,
    .flux-category-link {
        transition: none;
    }

}