﻿.product-container {
     margin-right:auto;
     margin-left:auto;
     padding:5%;
}

.product-img-container img {
    height: auto;
    width: 100%;
    max-width: 500px;
    object-fit: contain;
    border-radius: 10px;
}

.product-img-description-container {
    background-color:white;
    border-radius:10px

}

button {
    width: 40%;
    height: 40px;
    flex-shrink: 0;
    border: none;
    border-radius: 5px;
    background-color: #0023AB;
    color: #FFF;
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

button:hover {
    background-color: #8BD869;
    color: #0023AB;
}
.product-description-container {
    padding-top:20px;
}

.product-details {
    margin-top: 5%;
    margin-bottom: 2%;
}

.product-application {
    margin-bottom: 2%;
}

.product-use {
    margin-bottom: 5%;
}

.accordion {
    display: flex;
    background-color: white;
    color: #1F2132;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    height: 50px;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    margin-left: auto;
    margin-right: auto;
}

.accordion:hover {
    background-color: #ccc;
}

.accordion:after {
    content: '\25BE';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: auto;
}

.active {
    background-color: white;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.active:after {
    content: "\25BE";
    rotate: 180deg;
}

.panel {
    display: block;
    background-color: white;
    max-height: 0;
    visibility:hidden;
    width: 100%;
    margin-top:5px;
    margin-left: auto;
    margin-right: auto;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.activePanel {
    animation: slideDown 4s ease-in-out forwards;
}

.product-use .panel p {
    margin: 5px 0;
}

.frequently-bought {
    background-color: white;
    width: 90%;
    height: 670px;
    border-radius: 5px;
    margin-top: 2%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.frequently-bought h1 {
    text-align: center;
    margin: 0;
    margin-top: 2%;
    margin-bottom: 3%;
}

.frequently-bought-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 200px;
}

.auto-sealer-container {
    width: 250px;
    background-color: white;
    text-align: center;
}

.image-rectangle {
    background-color: white;
    border: 1px solid #D6D6D6;
    border-radius: 5px;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
}

.product-image img{
    width: 130px;
    height: 220px;
    background-size: cover;
    background-position: center;
    margin-left: 45%;
}

.auto-sealer-container h2 {
    margin-top: 15%;
    color: #0023AB;
}

.auto-sealer-container h4 {
    color: #878787;
    font-size: 1rem;
    font-weight: 300;
}

.auto-sealer-container h3 {
    color: #1F2132;
}

.auto-sealer-container-button button {
    width: 80%;
    padding: 10px 0;
    height: 40px;
    flex-shrink: 0;
    border: none;
    border-radius: 5px;
    background-color: #0023AB;
    letter-spacing: 3px;
    color: #FFF;
    text-align: center;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    cursor: pointer;
}

.auto-sealer-container-button button:hover {
    background-color: #8BD869;
    color: #0023AB;
}




@media(max-width:768px) {

    .product-img-container {
        display: flex;
        justify-content: center;
    }
    .product-img-description-container .border-right-grey {
        border: 0;
    }

    .product-img-container img {
        width:auto;
    }

    .product-description-container {
        padding-top: 0px;
    }
}

@media(max-width:575px){
    .featureEntry .border-right-grey {
        border: 0;
    }
}


@media(max-width:500px) {
    .product-container {
        padding:8%;
    }
    .product-img-container img {
        max-width: 200px;
    }
}


/*Panel Animation*/


@keyframes slideDown {
    0% {
        max-height: max-content;
        visibility: hidden;
   
    }

    100% {
        max-height: max-content;
        visibility: visible;
    }
}