﻿.products-page {
    background: #fff;
}

/* ================= HEADER ================= */

.products-header {
    padding: 80px 0 60px;
    background: #f7f7f7;
    text-align: center;
}

.products-eyebrow {
    color: #e31e24;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
}

.products-header h1 {
    font-size: 52px;
    font-weight: 800;
    margin-top: 12px;
}

.products-header p {
    max-width: 700px;
    margin: 20px auto 0;
    color: #777;
    line-height: 1.7;
}


/* ================= PRODUCT SECTION ================= */

.product-section {
    padding: 60px 0;
}


/* ================= TABS ================= */

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 50px;
}

.product-tab {
    border: none;
    background: transparent;
    padding: 18px 35px;
    color: #666;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    transition: all .3s ease;
}

    .product-tab i {
        margin-right: 8px;
    }

    .product-tab:hover {
        color: #e31e24;
    }

    .product-tab.active {
        color: #e31e24;
    }

        .product-tab.active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -1px;
            height: 3px;
            background: #e31e24;
        }


/* ================= PRODUCT CARD ================= */

.product-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    transition: all .35s ease;
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,.12);
    }


/* ================= IMAGE ================= */

.product-image {
    height: 360px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform .5s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.05);
}


/* ================= CONTENT ================= */

.product-content {
    padding: 28px;
    position: relative;
}

.product-number {
    position: absolute;
    right: 25px;
    top: 25px;
    color: #aaa;
    font-size: 13px;
    font-weight: 700;
}

.product-content h3 {
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 8px;
    padding-right: 35px;
}

.product-tagline {
    color: #e31e24;
    font-weight: 600;
    min-height: 25px;
}


/* ================= BUTTONS ================= */

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.product-details,
.test-ride {
    padding: 11px 17px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .3s ease;
}

.product-details {
    background: #111;
    color: #fff;
}

    .product-details:hover {
        background: #e31e24;
        color: #fff;
    }

.test-ride {
    border: 1px solid #111;
    color: #111;
}

    .test-ride:hover {
        background: #111;
        color: #fff;
    }


/* ================= MOBILE ================= */

@media(max-width:767px) {

    .products-header {
        padding: 55px 20px;
    }

        .products-header h1 {
            font-size: 38px;
        }

    .product-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        white-space: nowrap;
    }

    .product-tab {
        padding: 15px 20px;
    }

    .product-image {
        height: 300px;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-details,
    .test-ride {
        text-align: center;
    }
}
