/* =========================================================
   PRODUCT DETAILS
========================================================= */

.zoom-container {
    position: relative;
    overflow: visible !important;
}


#productMainImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    cursor: crosshair;
}


.product-zoom-lens {
    position: absolute;

    width: 40%;
    height: 40%;

    background: rgba(0, 157, 220, 0.20);

    border: 2px solid rgba(0, 157, 220, 0.75);

    box-sizing: border-box;

    display: none;

    pointer-events: none;

    z-index: 10;

    transition:
        left 0.03s linear,
        top 0.03s linear;
}



/* Zoomed image panel */

.product-zoom-preview {
    position: absolute;

    left: calc(100% + 30px);
    top: 0;

    width: 100%;
    height: 100%;

    background-color: #fff;
    background-repeat: no-repeat;

    border: 1px solid #ddd;
    border-radius: 4px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);

    display: none;

    z-index: 20;

    pointer-events: none;
}

.product-gallery {
    position: relative;
    overflow: visible;
}


/* Mobile/tablet */

@media (max-width: 991px) {

    .product-zoom-preview {
        display: none !important;
    }

    #productMainImage {
        cursor: default;
    }

}


.product-detail-section {
    /* padding: 20px 0 60px; */
    padding: 100px 0 90px;
    background: #fff;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;

    margin-bottom: 35px;

    font-size: 16px;
}

.product-breadcrumb a {
    color: #111;
    text-decoration: none;
}

.product-breadcrumb strong {
    color: #08a6d5;
}

.product-main {
    align-items: flex-start;
}


/* =========================================================
   GALLERY
========================================================= */

.product-gallery {
    display: flex;
    gap: 25px;
}

.product-thumbnails {
    width: 135px;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-thumb {
    width: 135px;
    height: 145px;

    padding: 8px;

    background: #fff;

    border: 2px solid #333;
    border-radius: 7px;

    cursor: pointer;

    transition: .2s ease;
}

.product-thumb:not(.active) {
    border-color: #ddd;
}

.product-thumb:hover {
    border-color: #09a7d8;
}

.product-thumb img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.product-main-image {
    flex: 1;

    height: max-content;

    border-radius: 15px;

    background: #f7f7f7;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 25px;

    transition: transform .4s ease;
}

.product-image-placeholder {
    font-size: 70px;
    color: #bbc2ca;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-information {
    padding-left: 35px;
}

.product-information h1 {
    margin: 0 0 15px;

    font-size: clamp(36px, 4vw, 48px);
    line-height: 1.1;

    font-weight: 700;

    color: #050505;
}

.product-short-description {
    margin-bottom: 25px;

    font-size: 18px;
    line-height: 1.65;

    color: #666;
}

.product-basic-specs {
    margin-top: 25px;
}

.product-basic-spec {
    padding: 18px 0;

    border-bottom: 1px solid #ccc;

    font-size: 18px;
}

.product-basic-spec strong {
    margin-right: 5px;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.product-section-title {
    text-align: center;

    margin-bottom: 45px;
}

.product-section-title h2 {
    margin: 0;

    font-size: 38px;
    font-weight: 700;

    color: #050505;
}


/* =========================================================
   OVERVIEW
========================================================= */

.product-overview-section {
    padding: 65px 0;
}

.product-overview-box {
    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 580px;

    overflow: hidden;

    border-radius: 6px;

    background: #e4f7fc;
}

.product-overview-content {
    padding: 38px;
}

.product-description {
    font-size: 19px;
    line-height: 1.65;
    color: #111;
}

.product-description p {
    margin-bottom: 25px;
}

.product-overview-image {
    min-height: 580px;
}

.product-overview-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   GUIDES
========================================================= */

.product-guides {
    margin-top: 30px;

    padding: 30px 35px;

    background: #fff;

    border-radius: 14px;
}

.product-guides h3 {
    margin: 0 0 18px;

    font-size: 28px;
}

.guide-item {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 18px 0;

    font-size: 17px;

    cursor: pointer;

    border-bottom: 1px solid #eee;
}

.guide-item:last-child {
    border-bottom: 0;
}

.guide-item i {
    color: #08a6d5;
}


/* =========================================================
   FEATURES
========================================================= */

.product-features-section {
    padding: 70px 0;
}

.feature-card {
    position: relative;

    padding-top: 35px;
}

.feature-number {
    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 78px;
    height: 78px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0ca8d5;

    color: #fff;

    font-size: 27px;
    font-weight: 700;

    border: 3px solid #fff;

    z-index: 2;
}

.feature-card-content {
    min-height: 220px;

    padding: 75px 25px 30px;

    text-align: center;

    background: #e4f7fc;

    border-radius: 6px;
}

.feature-card-content h3 {
    margin: 0 0 15px;

    font-size: 18px;
    font-weight: 700;
}

.feature-card-content p {
    margin: 0;

    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   PRODUCT DETAILS
========================================================= */

.product-details-section {
    padding: 60px 0 100px;
}

.product-sub-heading {
    text-align: center;

    margin: 25px 0 30px;

    font-size: 29px;
    font-weight: 500;
}

.specifications-table {
    max-width: 1050px;

    margin: 0 auto;
}

.specification-row {
    display: grid;

    grid-template-columns: 180px 40px 1fr;

    align-items: center;

    min-height: 82px;

    padding: 15px 28px;

    background: #f5f5f5;

    border-bottom: 1px solid #ddd;

    font-size: 17px;
}

.specification-row:nth-child(even) {
    background: #fff;
}

.specification-name {
    font-weight: 600;
}

.specification-separator {
    text-align: center;
}

.substrates-heading {
    margin-top: 60px;
}

.substrates-list {
    display: flex;

    justify-content: center;

    gap: 70px;

    flex-wrap: wrap;
}

.substrate-item {
    text-align: center;
}

.substrate-image {
    width: 85px;
    height: 85px;

    margin: 0 auto 12px;

    overflow: hidden;

    border-radius: 50%;

    background: #eee;

    display: flex;
    align-items: center;
    justify-content: center;
}

.substrate-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.substrate-image i {
    font-size: 35px;
    color: #8994a1;
}

.substrate-name {
    font-size: 16px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .product-information {
        padding-left: 0;
    }

    .product-gallery {
        flex-direction: column-reverse;
    }

    .product-thumbnails {
        width: 100%;

        flex-direction: row;

        overflow-x: auto;
    }

    .product-thumb {
        flex: 0 0 100px;

        width: 100px;
        height: 100px;
    }

    .product-main-image {
        height: 500px;
    }

    .product-overview-box {
        grid-template-columns: 1fr;
    }

    .product-overview-image {
        min-height: 400px;
    }

}

@media (max-width: 767px) {

    .product-detail-section {
        padding-top: 15px;
    }

    .product-breadcrumb {
        font-size: 14px;
    }

    .product-main-image {
        height: 400px;
    }

    .product-information h1 {
        font-size: 34px;
    }

    .product-section-title h2 {
        font-size: 30px;
    }

    .product-overview-content {
        padding: 25px;
    }

    .product-description {
        font-size: 16px;
    }

    .specification-row {
        grid-template-columns: 1fr;

        gap: 5px;

        padding: 18px;
    }

    .specification-separator {
        display: none;
    }

}