/*=========================================================
NexEra CMS
Products Page
=========================================================*/

/*=========================
Product Card
=========================*/

.product-card {

    height: 100%;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .35s;

}

.product-card:hover {

    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .15);

}

.product-card .card-img-top {

    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: .4s;

}

.product-card:hover .card-img-top {

    transform: scale(1.08);

}

.product-card .card-body {

    display: flex;
    flex-direction: column;
    padding: 25px;

}

.product-card small {

    display: inline-block;
    background: #EEF5FB;
    color: #0F4C81;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 15px;

}

.product-card h5 {

    font-size: 22px;
    font-weight: 700;
    min-height: 60px;

}

.product-card p {

    flex: 1;
    color: #666;

}

.product-card .btn {

    margin-top: auto;

}

/*=========================
Product Details
=========================*/

.product-image {

    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);

}

.product-info {

    padding-left: 40px;

}

.product-info h2 {

    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;

}

.product-meta {

    background: #F8F9FA;
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;

}

.product-meta p {

    margin-bottom: 12px;

}

.product-description {

    margin-top: 30px;
    line-height: 1.9;
    font-size: 17px;

}

.product-description img {

    max-width: 100%;
    height: auto;

}

/*=========================
Related Products
=========================*/

.related-title {

    text-align: center;
    margin-bottom: 50px;
    font-size: 38px;
    font-weight: 700;

}

/*=========================
Buttons
=========================*/

.product-buttons {

    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;

}

/*=========================
Tablet
=========================*/

@media(max-width:991px) {

    .product-info {

        padding-left: 0;
        margin-top: 40px;

    }

    .product-info h2 {

        font-size: 34px;

    }

    .related-title {

        font-size: 32px;

    }

}

/*=========================
Mobile
=========================*/

@media(max-width:767px) {

    .product-card .card-img-top {

        height: 220px;

    }

    .product-info h2 {

        font-size: 28px;

    }

    .product-description {

        font-size: 16px;

    }

    .product-buttons {

        flex-direction: column;

    }

    .product-buttons .btn {

        width: 100%;

    }

}

/*=========================
Small Mobile
=========================*/

@media(max-width:575px) {

    .product-card .card-body {

        padding: 20px;

    }

    .product-card h5 {

        font-size: 20px;
        min-height: auto;

    }

    .related-title {

        font-size: 26px;

    }

}