﻿.product-title-section {
    background-color: var(--clr-blue);
}

.breadcrumb-section {
    padding: .625rem 0;
    background-color: #e7ebef;
}

.product-title-row {
    padding-top: 8rem;
    color: white!important;
}

.breadcrumb-col {
    font-size: 0.75rem;
    color: var(--clr-blue);
    .breadcrumb-text {
        color: var(--clr-blue);
    }
}

.product-image-cont {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: transparent;
    margin: 0;
    display: block;
}

.img-inside {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    outline: none;
    border: none;
    padding: 1rem;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

.img-outside {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    outline: none;
    border: none;
    padding: 1rem;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

p {
    margin-top: 1rem;
}

.product-doc-cont {
    padding: 1rem 0;
}

.product-doc-title {
    font-family: var(--ff-2);
    font-size: 1.75rem;
    padding: 0.5rem 0;
    color: var(--clr-blue);
    margin-bottom: .5em;
}

.product-doc-ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: .5rem;

    > li {
        display: flex;
        align-items: center;
        gap: 1rem;
        i {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 3rem;
            height: 3rem;
            padding: .25em;
            color: var(--clr-white);
            background-color: var(--clr-blue);
            border-radius: 50em;
            aspect-ratio: 1/1;
            font-size: 1.5em;
        }
        a {
            font-family: var(--ff-2);
            font-weight: 500;
            color: var(--clr-blue);
        }
    }
}

.product-info-col {
    .product-table {
        width: 100%;
        font-family: var(--ff-2);
        font-size: 1.375rem;
        font-weight: 300;
        margin-bottom: 2rem;
        color: var(--clr-blue);
        text-align: center;
        display: flex;
        border-collapse: collapse;
        flex-direction: column;
        overflow-x: auto;
        border-radius: 1rem;
        box-shadow: .125rem -.125rem .5rem #00000033;

        .table-head {
            font-weight: 600;
            text-transform: uppercase;
            padding: .5rem;
            background-color: var(--clr-white);
        }

        .table-body {
            display: flex;
            text-wrap: nowrap;

            > .column {
                flex: 1 0 auto;
                border-radius: 0;
                background-color: var(--clr-white);
                box-shadow: .5rem 0 .5rem #00000033;

                &:nth-child(1) {
                    z-index: 5;
                }
                &:nth-child(2) {
                    z-index: 4;
                    background-color: #d5e7f7;
                }
                &:nth-child(3) {
                    z-index: 3;
                    background-color: #b3d3f4;
                }
                &:nth-child(4) {
                    z-index: 2;
                }
                &:nth-child(5) {
                    z-index: 1;
                }

                &:not(:last-child) {
                    margin-inline: 0;
                }
            }

            &:has(> .column:nth-child(5)) {
                > .column {
                    &:nth-child(5) {
                        background-color: #d5e7f7;
                    }
                    &:not(:last-child) {
                        margin-inline: 0;
                    }
                }
                
            }

            @media (width < 768px) {
                > .column {
                    &:not(:last-child) {
                        margin-inline: unset;
                    }
                }
            }

        }

        .table-footer {
            flex: 1 0;
            padding: .5rem;
            color: var(--clr-white);
            background-color: var(--clr-blue);
        }
        

        @media (width < 480px) {
            font-size: 1.125rem;
        }
        
        .table-row {
            display: flex;
            width: 100%;
        }
        
        .table-cell {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 1;
            padding: .5rem;
            border-bottom: 1px solid color-mix(in srgb, var(--clr-blue) 25%, transparent 100%);
        }
        
        .table-header {
            font-weight: bold;
            text-transform: uppercase;
        }
    }

    h2, h3 {
        color: var(--clr-blue);
    }

    .product-description {
        font-family: var(--ff-2);
        font-weight: 300;
        background-color: #e7ebef;
        padding: 1rem;
        border-radius: 1rem;
        color: var(--clr-blue);
        margin-bottom: 2rem;
    }

    .product-request-quote {
        margin-bottom: 2rem;
        a {
            font-family: var(--ff-2);
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--clr-white);
            padding: .25em .5em;
            border-radius: 1rem;
            background-color: var(--clr-lightblue);
        }
    }

    .product-accordion {
        border-top: 2px solid #e7ebef;
        h2 {
            outline: none;
            border: none;
            cursor: pointer;
            background-color: transparent;
            padding: 0;
            margin: 0;
            width: 100%;
            text-align: left;
            position: relative;
            display: flex;
            align-items: center;
            padding-top: 1rem;

            text-transform: uppercase;
            margin-bottom: 0;

            &:after {
                position: absolute;
                top: 50%;
                right: 0;
                transform: translateY(calc(-50% + .375rem));
                content: '\f078';
                font-family: 'Font Awesome 6 Free';
                font-weight: 900;
                font-size: 1.5rem;
                color: var(--clr-blue);
                transition: all .2s;
            }

            + ul {
                font-family: var(--ff-2);
                font-weight: 300;
                color: var(--clr-blue);
                height: 0;
                overflow: hidden;
                interpolate-size: allow-keywords;
                transition: all .5s cubic-bezier(0.165, 0.84, 0.44, 1);
                padding-left: 3ch;
                margin-top: 1rem;
                margin-bottom: 0;

                .h2sub {
                    font-size: 1.5rem;
                    font-weight: 400;
                    + li {
                        margin-bottom: 1rem;
                    }
                }
            }
        }
        &.active {
            h2 {
                &:after {
                    transform: rotateX(180deg) translateY(calc(50% - .375rem));
                }
                + ul {
                    height: auto;
                    margin-bottom: 1rem;
                }
            }
        }
    }
}

.product-pump-portal {
    margin-bottom: 2rem;
    font-family: var(--ff-2);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--clr-blue);
    text-transform: uppercase;
    display: inline-flex;
    gap: 10px;
    align-items: center;

    @media(max-width: 480px) {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    a {
        font-size: 1.5rem;
        font-weight: 600;
        padding: .125em .375em;
        color: var(--clr-white);
        background-color: var(--clr-lightblue);
        border-radius: .5em;
        letter-spacing: 1px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        text-align: center;
        max-width: max-content !important;
    }
}

/* SWIPER */
swiper-container {
    width: 100%;
    height: 100%;
}
swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
swiper-container {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}
swiper-slide {
    background-size: cover;
    background-position: center;
}
.mySwiper {
    height: 80%;
    width: 100%;
}
.mySwiper2 {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}
.mySwiper2 swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}
.mySwiper2 .swiper-slide-thumb-active {
    opacity: 1;
}

/* Rquest a Quote Modal */
.request-quote-form-modal {
    --bs-modal-bg: var(--clr-blue);
    color: var(--clr-white);
    .modal-body {
        padding: 0;
        background-color: var(--clr-blue);
        #modalFrame {
            background-color: var(--clr-blue);
        }
    }
}