/* =========================================================
   UNITY FITNESS EQUIPMENT
   PRODUCTS PAGE
   ========================================================= */


/* ================= ROOT ================= */

:root {
    --red: #e21d2a;
    --red-dark: #b91520;

    --black: #080808;
    --black-2: #101010;
    --black-3: #171717;

    --white: #ffffff;
    --soft: #f5f5f5;
    --soft-2: #fafafa;

    --text: #111111;
    --gray: #707070;
    --gray-2: #999999;

    --line: #e5e5e5;

    --container: 1180px;

    --transition: 0.25s ease;
}


/* ================= RESET ================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.5;

    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font-family: inherit;
}


/* ================= CONTAINER ================= */

.container {
    width: min(
        var(--container),
        92%
    );

    margin: 0 auto;
}


/* ================= HEADER ================= */

.site-header {
    position: sticky;

    top: 0;

    z-index: 999;

    background:
        rgba(255, 255, 255, 0.96);

    backdrop-filter:
        blur(15px);

    border-bottom:
        1px solid #eeeeee;
}


.nav {
    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


/* ================= LOGO ================= */

.logo {
    display: inline-block;

    font-size: 18px;

    font-weight: 900;

    letter-spacing: -0.8px;

    line-height: 1;
}


.logo span {
    color: var(--red);
}


.logo small {
    display: block;

    margin-top: 5px;

    color: #777;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* ================= MENU ================= */

.main-menu {
    display: flex;

    align-items: center;

    gap: 24px;

    margin-left: auto;
}


.main-menu > a,
.nav-link {
    position: relative;

    display: flex;

    align-items: center;

    gap: 5px;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 0.3px;

    white-space: nowrap;

    transition:
        color var(--transition);
}


.main-menu > a:hover,
.nav-link:hover,
.nav-dropdown.active > .nav-link {
    color: var(--red);
}


/* ================= DROPDOWN ================= */

.nav-dropdown {
    position: relative;
}


.nav-link span {
    font-size: 13px;

    line-height: 1;

    transition:
        transform var(--transition);
}


.nav-dropdown:hover
.nav-link span {
    transform:
        rotate(180deg);
}


.dropdown-menu {
    position: absolute;

    top: calc(100% + 22px);

    left: 50%;

    min-width: 180px;

    padding: 8px;

    transform:
        translateX(-50%)
        translateY(8px);

    background: var(--white);

    border:
        1px solid #e7e7e7;

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, 0.12);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
}


.dropdown-menu::before {
    content: "";

    position: absolute;

    top: -7px;

    left: 50%;

    width: 12px;

    height: 12px;

    background: var(--white);

    border-left:
        1px solid #e7e7e7;

    border-top:
        1px solid #e7e7e7;

    transform:
        translateX(-50%)
        rotate(45deg);
}


.nav-dropdown:hover
.dropdown-menu {
    opacity: 1;

    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


.dropdown-menu a {
    display: block;

    padding: 11px 13px;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 0.5px;

    transition:
        background var(--transition),
        color var(--transition);
}


.dropdown-menu a:hover {
    color: var(--red);

    background:
        #fff2f3;
}


/* ================= NAV CTA ================= */

.nav-cta {
    flex-shrink: 0;

    padding:
        11px 17px;

    color: var(--white);

    background: var(--red);

    border-radius: 4px;

    font-size: 10px;

    font-weight: 900;

    transition:
        background var(--transition),
        transform var(--transition);
}


.nav-cta:hover {
    background:
        var(--red-dark);

    transform:
        translateY(-2px);
}


/* ================= HERO ================= */

.product-hero {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 50%,
            #202020 0%,
            #101010 38%,
            #080808 70%
        );

    color: var(--white);
}


.product-hero::after {
    content: "PRODUCTS";

    position: absolute;

    right: -100px;

    bottom: -70px;

    font-size:
        clamp(100px, 15vw, 210px);

    line-height: 1;

    font-weight: 900;

    letter-spacing: -12px;

    color: rgba(255,255,255,0.025);

    pointer-events: none;
}


.hero-grid {
    min-height: 510px;

    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    align-items: center;

    gap: 50px;

    position: relative;

    z-index: 1;
}


/* ================= HERO CONTENT ================= */

.eyebrow {
    margin-bottom: 14px;

    color: var(--red);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 3px;
}


.hero-content .eyebrow {
    color: #bcbcbc;
}


.hero-content h1 {
    font-size:
        clamp(46px, 6vw, 76px);

    line-height: 0.92;

    letter-spacing: -4px;

    font-weight: 900;
}


.hero-content h1 span {
    display: block;

    color: var(--red);
}


.hero-content p {
    max-width: 620px;

    margin:
        22px 0 28px;

    color: #a5a5a5;

    font-size: 14px;

    line-height: 1.7;
}


/* ================= HERO BUTTON ================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;
}


.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 43px;

    padding:
        0 19px;

    border-radius: 4px;

    font-size: 10px;

    font-weight: 900;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}


.btn:hover {
    transform:
        translateY(-2px);
}


.btn-red {
    color: var(--white);

    background:
        var(--red);
}


.btn-red:hover {
    background:
        var(--red-dark);
}


.btn-outline {
    color: var(--white);

    border:
        1px solid #444;

    background:
        transparent;
}


.btn-outline:hover {
    border-color:
        var(--red);

    color:
        var(--red);
}


/* ================= HERO ART ================= */

.hero-art {
    position: relative;

    height: 390px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.hero-ring {
    position: absolute;

    border-radius: 50%;

    border:
        1px solid #333;

    animation:
        heroPulse 4s ease-in-out infinite;
}


.ring-1 {
    width: 300px;
    height: 300px;
}


.ring-2 {
    width: 220px;
    height: 220px;

    border-color:
        #444;
}


.ring-3 {
    width: 140px;
    height: 140px;

    border-color:
        var(--red);
}


.hero-center {
    position: relative;

    width: 130px;

    height: 130px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    background:
        var(--red);

    border-radius: 50%;

    text-align: center;

    box-shadow:
        0 0 50px
        rgba(226, 29, 42, 0.18);
}


.hero-center strong {
    font-size: 23px;

    line-height: 1;

    font-weight: 900;
}


.hero-center span {
    margin-top: 8px;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.hero-center small {
    margin-top: 3px;

    font-size: 6px;

    letter-spacing: 1px;
}


@keyframes heroPulse {

    0%,
    100% {
        transform:
            scale(1);
    }

    50% {
        transform:
            scale(1.03);
    }

}


/* ================= GENERAL SECTION ================= */

.products-section,
.categories-section,
.solutions-section {
    padding:
        90px 0;
}


.section-heading {
    display: grid;

    grid-template-columns:
        1fr 0.8fr;

    align-items: end;

    gap: 50px;

    margin-bottom: 38px;
}


.section-heading h2 {
    font-size:
        clamp(31px, 4vw, 47px);

    line-height: 1.02;

    letter-spacing: -2.2px;

    font-weight: 900;
}


.section-heading > p {
    max-width: 520px;

    color: var(--gray);

    font-size: 13px;

    line-height: 1.7;
}


/* ================= FILTER ================= */

.product-filter {
    display: flex;

    gap: 8px;

    flex-wrap: wrap;

    margin-bottom: 30px;
}


.filter-btn {
    appearance: none;

    border:
        1px solid #dddddd;

    background:
        var(--white);

    color:
        #333;

    padding:
        10px 15px;

    border-radius: 30px;

    font-size: 9px;

    font-weight: 900;

    cursor: pointer;

    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}


.filter-btn:hover {
    color:
        var(--red);

    border-color:
        var(--red);

    transform:
        translateY(-2px);
}


.filter-btn.active {
    color:
        var(--white);

    background:
        var(--red);

    border-color:
        var(--red);
}


/* ================= PRODUCT GRID ================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}


/* ================= PRODUCT CARD ================= */

.product-card {
    overflow: hidden;

    background:
        var(--white);

    border:
        1px solid var(--line);

    border-radius: 8px;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.product-card:hover {
    transform:
        translateY(-6px);

    border-color:
        #d8d8d8;

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, 0.09);
}


.product-card.hidden {
    display: none;
}


/* ================= PRODUCT IMAGE ================= */

.product-image {
    position: relative;

    height: 205px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #242424,
            #0d0d0d
        );
}


.product-image::before {
    content: "";

    position: absolute;

    width: 150px;

    height: 150px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    border-radius: 50%;
}


.product-image::after {
    content: "";

    position: absolute;

    width: 90px;

    height: 90px;

    border:
        1px solid
        rgba(226,29,42,0.35);

    border-radius: 50%;
}


.product-code {
    position: relative;

    z-index: 2;

    color:
        var(--red);

    font-size: 45px;

    font-weight: 900;

    letter-spacing: -3px;
}


.image-label {
    position: absolute;

    right: 12px;

    bottom: 10px;

    z-index: 3;

    color:
        #555;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 2px;
}


/* ================= IMAGE VARIATIONS ================= */

.strength-image {
    background:
        linear-gradient(
            135deg,
            #292929,
            #080808
        );
}


.cardio-image {
    background:
        linear-gradient(
            135deg,
            #181818,
            #050505
        );
}


.freeweight-image {
    background:
        linear-gradient(
            135deg,
            #262626,
            #101010
        );
}


.functional-image {
    background:
        linear-gradient(
            135deg,
            #211b1c,
            #090909
        );
}


.accessories-image {
    background:
        linear-gradient(
            135deg,
            #1c1c1c,
            #0b0b0b
        );
}


.rack-image {
    background:
        linear-gradient(
            135deg,
            #2b1b1d,
            #090909
        );
}


.bench-image {
    background:
        linear-gradient(
            135deg,
            #202020,
            #080808
        );
}


.accessories-2-image {
    background:
        linear-gradient(
            135deg,
            #281719,
            #090909
        );
}


/* ================= PRODUCT CONTENT ================= */

.product-content {
    padding:
        18px;
}


.product-category {
    display: block;

    margin-bottom: 6px;

    color:
        var(--red);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.product-content h3 {
    margin-bottom: 7px;

    font-size: 15px;

    line-height: 1.2;

    font-weight: 900;
}


.product-content p {
    min-height: 50px;

    color:
        #777;

    font-size: 10px;

    line-height: 1.65;
}


.product-link {
    display: inline-block;

    margin-top: 12px;

    color:
        var(--red);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 0.3px;

    transition:
        letter-spacing var(--transition);
}


.product-link:hover {
    letter-spacing:
        0.8px;
}


/* ================= BRANDS ================= */

.brands-section {
    position: relative;

    padding:
        90px 0;

    overflow: hidden;

    color:
        var(--white);

    background:
        var(--black-2);
}


.brands-section::before {
    content:
        "BRANDS";

    position: absolute;

    right: -50px;

    top: 20px;

    font-size:
        180px;

    font-weight: 900;

    letter-spacing: -10px;

    color:
        rgba(255,255,255,0.025);

    pointer-events: none;
}


.dark-heading > p {
    color:
        #999;
}


.brands-section .eyebrow {
    color:
        var(--red);
}


.brand-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;
}


.brand-item {
    min-height: 125px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    background:
        var(--black-3);

    border:
        1px solid #2b2b2b;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}


.brand-item:hover {
    transform:
        translateY(-4px);

    border-color:
        var(--red);

    background:
        #1b1b1b;
}


.brand-item strong {
    font-size: 20px;

    font-weight: 900;

    letter-spacing: 1px;

    color:
        #ddd;
}


.brand-item:hover strong {
    color:
        var(--red);
}


.brand-item span {
    margin-top: 5px;

    color:
        #666;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 2px;
}


.brand-note {
    position: relative;

    z-index: 2;

    margin-top: 20px;

    color:
        #666;

    font-size: 9px;

    line-height: 1.6;
}


/* ================= CATEGORIES ================= */

.categories-section {
    background:
        var(--soft);
}


.category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}


.category-card {
    position: relative;

    min-height: 230px;

    padding:
        28px;

    background:
        var(--white);

    border-top:
        3px solid var(--red);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.category-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 15px 40px
        rgba(0,0,0,0.08);
}


.category-icon {
    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    color:
        var(--red);

    background:
        #fff0f1;

    border-radius:
        10px;

    font-size: 12px;

    font-weight: 900;
}


.category-card h3 {
    margin-bottom: 8px;

    font-size: 16px;

    font-weight: 900;
}


.category-card p {
    color:
        #777;

    font-size: 10px;

    line-height: 1.7;
}


.category-card span {
    position: absolute;

    left: 28px;

    bottom: 25px;

    color:
        var(--red);

    font-size: 8px;

    font-weight: 900;
}


/* ================= SOLUTIONS ================= */

.solution-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}


.solution-card {
    position: relative;

    min-height: 210px;

    padding:
        28px;

    color:
        var(--white);

    background:
        #111;

    border:
        1px solid #1f1f1f;

    overflow: hidden;

    transition:
        transform var(--transition),
        border-color var(--transition);
}


.solution-card::after {
    content: "";

    position: absolute;

    right: -30px;

    bottom: -30px;

    width: 100px;

    height: 100px;

    border:
        1px solid
        rgba(226,29,42,0.15);

    border-radius: 50%;
}


.solution-card:hover {
    transform:
        translateY(-5px);

    border-color:
        var(--red);
}


.solution-number {
    display: block;

    margin-bottom: 30px;

    color:
        var(--red);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;
}


.solution-card h3 {
    margin-bottom: 9px;

    font-size: 13px;

    font-weight: 900;
}


.solution-card p {
    color:
        #999;

    font-size: 10px;

    line-height: 1.7;
}


/* ================= CTA ================= */

.product-cta {
    padding:
        75px 0;

    color:
        var(--white);

    background:
        var(--red);
}


.cta-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}


.product-cta .eyebrow {
    color:
        #ffffff;

    opacity:
        0.75;
}


.product-cta h2 {
    font-size:
        clamp(30px, 4vw, 48px);

    line-height: 1.02;

    letter-spacing: -2px;

    font-weight: 900;
}


.product-cta p {
    max-width: 600px;

    margin-top: 10px;

    color:
        #ffd9dc;

    font-size: 12px;
}


.cta-button {
    flex-shrink: 0;

    padding:
        14px 21px;

    color:
        var(--white);

    background:
        #111;

    border-radius: 4px;

    font-size: 10px;

    font-weight: 900;

    transition:
        transform var(--transition),
        background var(--transition);
}


.cta-button:hover {
    transform:
        translateY(-3px);

    background:
        #000;
}


/* ================= FOOTER ================= */

.site-footer {
    padding:
        50px 0 22px;

    color:
        var(--white);

    background:
        #080808;
}


.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 40px;
}


.footer-logo {
    color:
        var(--white);
}


.footer-desc {
    margin-top: 15px;

    color:
        #888;

    font-size: 10px;
}


.site-footer h4 {
    margin-bottom: 14px;

    color:
        #fff;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;
}


.site-footer p {
    margin-bottom: 7px;

    color:
        #777;

    font-size: 10px;
}


.site-footer a:hover {
    color:
        var(--red);
}


.copyright {
    margin-top: 40px;

    padding-top: 17px;

    border-top:
        1px solid #222;

    color:
        #555;

    font-size: 8px;
}


/* ================= TABLET ================= */

@media (max-width: 1050px) {

    .main-menu {
        gap: 15px;
    }


    .product-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }


    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .solution-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* ================= TABLET SMALL ================= */

@media (max-width: 900px) {

    .main-menu {
        display: none;
    }


    .hero-grid {
        grid-template-columns:
            1fr;
    }


    .hero-content {
        padding:
            80px 0;
    }


    .hero-art {
        display: none;
    }


    .section-heading {
        grid-template-columns:
            1fr;

        gap: 15px;
    }


    .product-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .brand-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .cta-inner {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

}


/* ================= MOBILE ================= */

@media (max-width: 600px) {

    .site-header {
        position:
            relative;
    }


    .nav {
        min-height:
            70px;
    }


    .logo {
        font-size:
            15px;
    }


    .logo small {
        font-size:
            6px;

        letter-spacing:
            1.5px;
    }


    .nav-cta {
        padding:
            10px 12px;

        font-size:
            8px;
    }


    .product-hero {
        min-height:
            auto;
    }


    .hero-content {
        padding:
            70px 0;
    }


    .hero-content h1 {
        font-size:
            clamp(42px, 14vw, 62px);

        letter-spacing:
            -3px;
    }


    .hero-content p {
        font-size:
            12px;
    }


    .products-section,
    .categories-section,
    .solutions-section,
    .brands-section {
        padding:
            65px 0;
    }


    .section-heading {
        margin-bottom:
            28px;
    }


    .section-heading h2 {
        font-size:
            34px;
    }


    .section-heading > p {
        font-size:
            11px;
    }


    .product-filter {
        overflow-x:
            auto;

        flex-wrap:
            nowrap;

        padding-bottom:
            5px;
    }


    .filter-btn {
        flex-shrink:
            0;
    }


    .product-grid {
        grid-template-columns:
            1fr;

        gap: 15px;
    }


    .product-image {
        height:
            220px;
    }


    .product-content {
        padding:
            20px;
    }


    .product-content p {
        min-height:
            auto;
    }


    .brand-grid {
        grid-template-columns:
            1fr 1fr;
    }


    .brand-item {
        min-height:
            105px;
    }


    .brand-item strong {
        font-size:
            15px;
    }


    .category-grid {
        grid-template-columns:
            1fr;
    }


    .category-card {
        min-height:
            200px;
    }


    .solution-grid {
        grid-template-columns:
            1fr;
    }


    .solution-card {
        min-height:
            180px;
    }


    .product-cta {
        padding:
            60px 0;
    }


    .product-cta h2 {
        font-size:
            32px;
    }


    .cta-button {
        width:
            100%;

        text-align:
            center;
    }


    .footer-grid {
        grid-template-columns:
            1fr;
    }

}


/* ================= VERY SMALL MOBILE ================= */

@media (max-width: 380px) {

    .nav {
        gap:
            10px;
    }


    .logo {
        font-size:
            13px;
    }


    .nav-cta {
        padding:
            9px 10px;
    }


    .brand-grid {
        grid-template-columns:
            1fr;
    }


    .hero-buttons {
        flex-direction:
            column;

        align-items:
            stretch;
    }


    .btn {
        width:
            100%;
    }

}