/* =========================================================
   MEN PAGE CSS
   Partner Jeans & Pants
========================================================= */


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

.hero {
    width: 100%;
    height: 500px;

    position: relative;

    overflow: hidden;

    color: white;
}

.hero-slider {
    width: 100%;
    height: 100%;

    position: relative;

    overflow: hidden;
}

.hero-slide {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

    padding-left: 90px;

    box-sizing: border-box;

    transform: translateX(100%);

    transition: transform 0.8s ease-in-out;
}

.hero-slide.active {
    transform: translateX(0);
}

.hero-slide.previous {
    transform: translateX(-100%);
}

.hero-content {
    max-width: 600px;
}

.small-heading {
    margin: 0 0 12px;

    color: white;

    font-size: 14px;
    font-weight: bold;

    letter-spacing: 2px;
}

.hero h2 {
    margin: 10px 0 18px;

    color: white;

    font-size: 48px;

    line-height: 1.1;
}

.hero h2 span {
    color: #28a9ff;
}

.features {
    margin: 0 0 28px;

    color: white;

    font-size: 18px;
}

.shop-btn {
    display: inline-block;

    padding: 13px 28px;

    background: #28a9ff;

    color: white;

    text-decoration: none;

    border-radius: 5px;

    font-size: 15px;
    font-weight: bold;

    transition: 0.3s ease;
}

.shop-btn:hover {
    background: #1683ff;

    transform: translateY(-2px);
}


/* =========================================================
   MEN PRODUCTS SECTION
========================================================= */

.products-section {
    width: 100%;

    padding: 60px 5%;

    box-sizing: border-box;

    background: #f5f7fa;
}


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

.products {
    max-width: 1200px;

    margin: 35px auto 0;

    display: grid;

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

    gap: 22px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    width: 100%;

    overflow: hidden;

    background: white;

    border: 1px solid #e6e6e6;

    border-radius: 8px;

    box-sizing: border-box;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.12);
}


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

.product-image {
    position: relative;

    width: 100%;
    height: 310px;

    overflow: hidden;

    background: #eeeeee;
}

.product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}


/* =========================================================
   PRODUCT BADGE
========================================================= */

.badge {
    position: absolute;

    top: 12px;
    left: 12px;

    z-index: 5;

    padding: 6px 11px;

    border-radius: 4px;

    background: #28a9ff;

    color: white;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 0.4px;
}


/* Different badge colors */

.product-card:nth-child(2) .badge {
    background: #172b4d;
}

.product-card:nth-child(3) .badge {
    background: #e53935;
}

.product-card:nth-child(5) .badge {
    background: #e53935;
}

.product-card:nth-child(7) .badge {
    background: #7b61ff;
}

.product-card:nth-child(10) .badge {
    background: #e53935;
}

.product-card:nth-child(11) .badge {
    background: #7b61ff;
}

.product-card:nth-child(14) .badge {
    background: #e53935;
}

.product-card:nth-child(15) .badge {
    background: #e53935;
}

.product-card:nth-child(16) .badge {
    background: #7b61ff;
}

.product-card:nth-child(18) .badge {
    background: #172b4d;
}

.product-card:nth-child(19) .badge {
    background: #e53935;
}

.product-card:nth-child(20) .badge {
    background: #e53935;
}


/* =========================================================
   PRODUCT INFO
========================================================= */

.product-info {
    padding: 18px;
}

.product-info h3 {
    margin: 0 0 15px;

    color: #172b4d;

    font-size: 17px;

    line-height: 1.35;
}


/* =========================================================
   PRICE
========================================================= */

.price {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 12px;
}

.price b {
    color: #172b4d;

    font-size: 19px;
}

.price del {
    color: #999;

    font-size: 13px;
}

.price span {
    color: #159957;

    font-size: 11px;
    font-weight: bold;
}


/* =========================================================
   RATING
========================================================= */

.rating {
    margin-bottom: 16px;

    color: #f5a623;

    font-size: 14px;
}

.rating small {
    color: #777;

    font-size: 12px;

    margin-left: 4px;
}


/* =========================================================
   ADD TO CART BUTTON
========================================================= */

.product-info button {
    width: 100%;

    padding: 11px 15px;

    border: none;

    border-radius: 5px;

    background: #172b4d;

    color: white;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s ease;
}

.product-info button:hover {
    background: #28a9ff;

    transform: translateY(-1px);
}


/* =========================================================
   SECTION TITLE
========================================================= */

.products-section .section-title {
    text-align: center;

    margin-bottom: 5px;
}

.products-section .section-title h2 {
    margin: 0;

    color: #172b4d;

    font-size: 32px;
}

.products-section .section-title p {
    margin: 12px 0 0;

    color: #777;

    font-size: 15px;
}


/* =========================================================
   RESPONSIVE - 1200px
========================================================= */

@media (max-width: 1200px) {

    .products {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE - 1000px
========================================================= */

@media (max-width: 1000px) {

    .hero-slide {
        padding-left: 55px;
    }

    .hero h2 {
        font-size: 42px;
    }

    .products {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE - 700px
========================================================= */

@media (max-width: 700px) {

    .hero {
        height: 480px;
    }

    .hero-slide {
        padding: 30px;

        align-items: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .small-heading {
        font-size: 12px;
    }

    .hero h2 {
        font-size: 35px;
    }

    .features {
        font-size: 15px;
    }

    .shop-btn {
        padding: 11px 22px;
    }


    /* Products */

    .products-section {
        padding: 45px 15px;
    }

    .products {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-top: 30px;
    }

    .product-image {
        height: 360px;
    }


    /* Section title */

    .products-section .section-title h2 {
        font-size: 28px;
    }

}


/* =========================================================
   RESPONSIVE - 450px
========================================================= */

@media (max-width: 450px) {

    .hero {
        height: 450px;
    }

    .hero-slide {
        padding: 25px;
    }

    .small-heading {
        font-size: 11px;

        letter-spacing: 1.5px;
    }

    .hero h2 {
        font-size: 29px;
    }

    .features {
        font-size: 14px;
    }

    .shop-btn {
        padding: 10px 18px;

        font-size: 13px;
    }


    .products-section {
        padding: 40px 12px;
    }

    .product-image {
        height: 320px;
    }

    .product-info {
        padding: 16px;
    }

    .product-info h3 {
        font-size: 16px;
    }

    .price b {
        font-size: 18px;
    }

}