/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: "Inter", sans-serif;
    background: #ffffff;
    color: #101b21;
}


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

.product-details-section {
    width: 100%;
    padding: 90px 0 100px;
    background: #ffffff;
}


/* =========================================
   MAIN GRID
========================================= */

.product-details-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .95fr);

    gap: 48px;

    align-items: start;
}


/* =========================================
   GALLERY
========================================= */

.product-gallery {
    width: 100%;
}


/* =========================================
   MAIN IMAGE
========================================= */

.main-product-image {

    position: relative;

    width: 100%;

    height: 520px;

    overflow: hidden;

    background: #eeeeee;

    border: 1px solid #ebebeb;
}


.main-product-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        opacity .25s ease,
        transform .4s ease;
}


.main-product-image img.fade {

    opacity: 0;

    transform: scale(1.02);
}


/* =========================================
   IMAGE COUNTER
========================================= */

.image-counter {

    position: absolute;

    left: 22px;
    bottom: 22px;

    padding: 10px 16px;

    background: rgba(0, 0, 0, .72);

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    z-index: 3;
}


/* =========================================
   GALLERY ARROWS
========================================= */

.gallery-arrow {

    position: absolute;

    top: 50%;

    width: 52px;
    height: 52px;

    border: none;

    border-radius: 50%;

    background: rgba(15, 27, 33, .85);

    color: #ffffff;

    font-size: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform: translateY(-50%);

    cursor: pointer;

    z-index: 5;

    transition: all .3s ease;
}


.gallery-arrow:hover {

    background: #ff1616;

    transform:
        translateY(-50%)
        scale(1.08);
}


.gallery-prev {
    left: 18px;
}


.gallery-next {
    right: 18px;
}


/* =========================================
   THUMBNAIL WRAPPER
========================================= */

.thumbnail-wrapper {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 16px;

    width: 100%;
}


/* =========================================
   THUMBNAIL CONTAINER
========================================= */

.thumbnail-container {

    display: flex;

    gap: 14px;

    overflow-x: auto;

    scroll-behavior: smooth;

    scrollbar-width: none;

    flex: 1;
}


.thumbnail-container::-webkit-scrollbar {
    display: none;
}


/* =========================================
   THUMBNAIL
========================================= */

.product-thumbnail {

    position: relative;

    flex: 0 0 130px;

    width: 130px;

    height: 92px;

    padding: 0;

    border: 3px solid transparent;

    background: #ffffff;

    cursor: pointer;

    overflow: hidden;

    transition: all .3s ease;
}


.product-thumbnail img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .35s ease;
}


.product-thumbnail:hover img {

    transform: scale(1.06);
}


/* Active */

.product-thumbnail.active {

    border-color: #ff1717;
}


/* =========================================
   THUMBNAIL ARROWS
========================================= */

.thumb-arrow {

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    border: 1px solid #dddddd;

    background: #ffffff;

    color: #101b21;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: .3s ease;
}


.thumb-arrow:hover {

    background: #ff1717;

    border-color: #ff1717;

    color: #ffffff;
}


/* =========================================
   PRODUCT CONTENT
========================================= */

.product-content {

    padding-top: 5px;
}


.product-eyebrow {

    color: #ff1717;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 8px;
}


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

.product-content h1 {

    margin: 0;

    color: #101b21;

    font-family: "Roboto Condensed", sans-serif;

    font-size: clamp(44px, 4vw, 60px);

    line-height: .95;

    font-weight: 800;

    text-transform: capitalize;
}


/* =========================================
   RED LINE
========================================= */

.heading-line {

    width: 80px;

    height: 5px;

    margin: 20px 0 25px;

    background: #ff1717;
}


/* =========================================
   DESCRIPTION
========================================= */

.product-description {

    max-width: 720px;

    color: #687983;

    font-size: 16px;

    line-height: 1.9;

    margin-bottom: 42px;
}


/* =========================================
   USE FOR
========================================= */

.use-for {

    display: flex;

    align-items: flex-start;

    gap: 18px;

    margin-bottom: 38px;
}


.use-icon {

    width: 56px;
    height: 56px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #fff0e9;

    color: #ff4b18;

    font-size: 25px;
}


.use-for h3 {

    margin: 0 0 8px;

    color: #101b21;

    font-family: "Roboto Condensed", sans-serif;

    font-size: 30px;

    font-weight: 700;
}


.use-for p {

    margin: 0;

    color: #687983;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================
   FEATURES
========================================= */

.product-features {

    display: grid;

    grid-template-columns: 1fr 1fr;

    column-gap: 35px;

    row-gap: 30px;

    margin-bottom: 38px;
}


.feature-box {

    display: flex;

    align-items: flex-start;

    gap: 12px;
}


.feature-icon {

    width: 28px;
    height: 28px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #ff1717;

    color: #ffffff;

    font-size: 15px;
}


.feature-box h4 {

    margin: 0 0 4px;

    color: #1b2931;

    font-size: 16px;

    font-weight: 700;
}


.feature-box p {

    margin: 0;

    color: #77858d;

    font-size: 14px;

    line-height: 1.5;
}


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

.product-cta {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    padding: 17px 30px;

    background: #ff1717;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    text-decoration: none;

    transition: all .3s ease;
}


.product-cta i {

    font-size: 20px;

    transition: transform .3s ease;
}


.product-cta:hover {

    background: #101b21;

    color: #ffffff;
}


.product-cta:hover i {

    transform: translateX(5px);
}


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

@media (max-width: 1100px) {

    .product-details-section {
        padding: 70px 25px;
    }


    .product-details-grid {

        grid-template-columns: 1fr;

        gap: 50px;
    }


    .main-product-image {
        height: 550px;
    }

}


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

@media (max-width: 767px) {

    .product-details-section {

        padding: 45px 15px 60px;
    }


    .main-product-image {

        height: 330px;
    }


    .gallery-arrow {

        width: 42px;
        height: 42px;

        font-size: 18px;
    }


    .gallery-prev {
        left: 10px;
    }


    .gallery-next {
        right: 10px;
    }


    .thumbnail-wrapper {

        gap: 7px;
    }


    .product-thumbnail {

        flex: 0 0 92px;

        width: 92px;

        height: 70px;
    }


    .thumb-arrow {

        width: 30px;
        height: 30px;

        font-size: 13px;
    }


    .product-content h1 {

        font-size: 43px;
    }


    .product-description {

        font-size: 15px;

        line-height: 1.75;

        margin-bottom: 30px;
    }


    .use-for {

        margin-bottom: 30px;
    }


    .product-features {

        grid-template-columns: 1fr;

        row-gap: 22px;
    }


    .product-cta {

        width: 100%;

        justify-content: center;
    }

}