.product-section {
    margin-top: 30px;
    margin-bottom: 55px;
}

.product-section h4 {
    font-size: 14px;
    font-weight: 500;
    color: grey;
}
.product-section h4 span{
    color: black;
}

.product-section .product-border {
    border-bottom: 2px solid #303849;
    margin: 20px auto 80px;
    width: 310px;
}

.product-group {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-flex: 0 1 auto;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-flex-wrap: wrap;
}

.product-group .product-item {
    width: 48%;
    display: flex;
    margin-top: 3.2%;
    cursor: pointer;
}
.product-group .product-item:nth-child(even) {
    margin-left: 4%;
}

.img-prod {
    width: 43%;
    height: auto;
}

.product-group .product-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-group .product-item .product-text {
    margin-left: 3%;
    width: 100%;
}

.product-group .product-item .product-text h4 {
    margin-top: 2.5%;
    font-size: 18px;
    font-weight: 400;
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    box-orient: vertical;
}


.product-group .product-item .product-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 5%;

}

.product-group .product-item .product-table tr td {
    padding: 7px 35% 7px 15px;
    font-size: 14px;
    color: grey;
    display: flex;
}
.product-group .product-item .product-table tr td:nth-child(even) {
    background-color: #f2f2f2;
}

.product-group .product-item .product-table tr td span{
    font-size: 16px;
    color: black;
    display: flex;
    flex: 1;
    justify-content: flex-end;
}
.product-second-h4 {
    display: none;
}

@media screen and (max-width: 1400px) {
    .product-section {
        margin-top: 25px;
        margin-bottom: 50px;
    }

    .product-section h2 {
        font-size: 34px;
    }

    .product-section .product-border {
        margin: 17px auto 65px;
        width: 280px;
    }
    .product-group .product-item {
        width: 45%;
    }

    .product-group .product-item .product-text h4 {
        margin-top: 1%;
        font-size: 17px;
    }


    .product-group .product-item .product-table {
        margin-top: 4%;
    }

    .product-group .product-item .product-table tr td {
        padding: 6px 35% 6px 13px;
        font-size: 14px;
    }

    .product-group .product-item .product-table tr td span{
        font-size: 15px;
    }
}
@media screen and (max-width: 1200px) {
    .product-section {
        margin-top: 25px;
        margin-bottom: 45px;
    }

    .product-section h2 {
        font-size: 31px;
    }
    .img-prod {
        width: 188px;
        height: auto;
    }
    .product-group .product-item img {
        width: 188px;
        height: auto;
    }
    .product-section .product-border {
        margin: 15px auto 60px;
        width: 260px;
    }

    .product-group .product-item .product-text h4 {
        width: 100%;
    }

    .product-group .product-item .product-table tr td {
        padding: 6px 15% 6px 10px;
    }
}
@media screen and (max-width: 1024px) {
    .product-section {
        margin-top: 25px;
        margin-bottom: 40px;
    }
    .img-prod {
        width: 140px;
        height: auto;
    }
    .product-group .product-item img {
        width: 140px;
        height: 140px;
        max-height: 140px;
    }
    .product-section h2 {
        font-size: 28px;
    }

    .product-section .product-border {
        margin: 15px auto 45px;
        width: 235px;
    }

    .product-group .product-item .product-text h4 {
        margin-top: 1%;
        font-size: 15.5px;
        width: 100%;
    }


    .product-group .product-item .product-table {
        margin-top: 2%;
    }

    .product-group .product-item .product-table tr td {
        padding: 3px 5% 3px 8px;
        font-size: 14px;
    }

    .product-group .product-item .product-table tr td span{
        font-size: 14px;
    }
}



@media screen and (max-width: 767px) {
    .product-section {
        margin-top: 20px;
        margin-bottom: 35px;
    }

    .product-section h2 {
        font-size: 26px;
    }
    .img-prod {
        width: 202px;
        height: auto;
    }
    .product-group .product-item img {
        width: 202px;
        height: auto;
        max-height: 202px;
    }

    .product-section .product-border {
        margin: 12px auto 40px;
        width: 205px;
    }
    .product-group .product-item {
        width: 90%;
        margin-top: 5%;
    }

    .product-group .product-item .product-text h4 {
        margin-top: 0;
        font-size: 17px;
        width: 100%;
    }

    .product-group .product-item .product-table {
        margin-top: 8%;
    }

    .product-group .product-item .product-table tr td {
        padding: 6px 15% 6px 13px;
        font-size: 14px;
    }

    .product-group .product-item .product-text {
        margin-left: 5%;
    }

    .product-group .product-item .product-table tr td span{
        font-size: 15px;
    }
    .product-group {
        width: 100%;
        display: block;
    }
    .product-group .product-item:nth-child(even) {
        margin-left: 0;
    }
}

@media screen and (max-width: 575px) {
    .product-group .product-item {
        width: 100%;
        margin-top: 10%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .product-group .product-item .product-text {
        margin-left: 0;
    }
    .product-group .product-item .product-table {
        margin-top: 2%;
    }
    .product-first-h4 {
        display: none!important;
    }
    .img-prod {
        width: 200px;
        height: 200px;
        max-height: 200px;
    }
    .product-group .product-item img {
        width: 200px;
        height: 200px;
        max-height: 200px;
    }
    .product-second-h4 {
        display: block;
        width: 47%;
        margin-left: 3%;
    }
    .product-second-h4 h4{
        font-size: 18px;
        font-weight: 400;
        color: black;
    }
}


/*///////////////////////  Pop Up //////*/


/*.pop-up-color {*/
/*    overflow-y: hidden;*/
/*}*/

.pop-up-img::-webkit-scrollbar {
    width: 0;
}

.popup-close {
    display: flex;
    justify-content: flex-end;
}
.popup-close i{
    font-family: inherit;
    color: grey;
    font-size: 19px;
    font-weight: 400;
    padding: 2px 8px 6px;
    background-color: lightgrey;
    border-radius: 50%;
    text-align: center;
    transition-duration: 0.1s;
}

.popup-close:hover {
    font-size: 23px;
}

.new-popup {
    z-index: 25 !important;
    opacity: 1 !important;
}

.pop-up::-webkit-scrollbar {
    width: 4px;
}

.pop-up::-webkit-scrollbar-track {
    background: #DCDCDC;
}

.pop-up::-webkit-scrollbar-thumb {
    background-color: #6E6E6E;
    border-radius: 20px;
    border: 3px solid #6E6E6E;
}

.pop-up {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(2px) saturate(40%) contrast(40%);
    cursor: pointer;
    opacity: 0;
    z-index: -1;
    transition: 0.5s all;
    height: 100%;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    overflow-y: scroll;
}

.pop-up .pop-up-main {
    width: 870px;
    background-color: white;
    display: inline-block;
    height: auto;
    vertical-align: middle;
    position: relative;
    padding: 15px 1.5%;
    text-align: left;
    border-radius: 15px;
}


.pop-up-main-img {
    margin-top: 15px;
    width: 100%;
    height: auto;
}

.pop-up-group{
    display: flex;
}
.images-group{
    width: 42%;
    height: auto;
}
.images-group .gallery-swiper img{
    width: 100%;
    height: auto;
}
.pop-up .pop-up-main .pop-up-img {
    margin-top: 10px;
    display: flex;
    flex-wrap: unset;
    overflow-x: scroll;
    flex-direction: row;
    width: 100%;
}
.pop-up .pop-up-main .pop-up-img::-webkit-scrollbar {
    width: 0;
}

.pop-up-img-div {
    width: 16%;
    height: auto;
    margin: 0 0.4%;
}
.pop-up .pop-up-main .pop-up-img img {
    width: 100%;
    height: auto;
}

.pop-up-main:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
}


/*//////////////////*/
.popup-text {
    width: 58%;
}

.popup-text .product-text {
    margin-left: 4.5%;
    width: 100%;
}

.popup-text .product-text h4 {
    font-size: 21px;
    font-weight: 400;
    color: black;
}


.popup-text p {
    font-size: 16px;
    width: 95%;
    margin-top: 30px;
    color: grey;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4;
    box-orient: vertical;
}
.popup-text .product-table {
    border-collapse: collapse;
    width: 85%;
    margin-top: 45px;

}

.popup-text .product-table tr td {
    padding: 8px 35% 8px 15px;
    font-size: 14px;
    color: grey;
    display: flex;
}
.popup-text .product-table tr td:nth-child(even) {
    background-color: #f2f2f2;
}

.popup-text .product-table tr td span{
    font-size: 16px;
    color: black;
    display: flex;
    flex: 1;
    justify-content: flex-end;
}



@media screen and (max-width: 1200px) {
    .pop-up .pop-up-main {
        width: 700px;
    }
    .popup-text .product-text h4 {
        font-size: 20px;
    }
    .popup-text p {
        margin-top: 25px;
    }
    .popup-text .product-table {
        margin-top: 30px;
    }
    .popup-text .product-table tr td {
        padding: 7px 35% 7px 15px;
    }
}

@media screen and (max-width: 1024px) {
    .pop-up .pop-up-main {
        margin-top: 0;
        width: 88%;
    }
    .popup-text .product-text h4 {
        font-size: 18px;
    }
    .popup-text p {
        margin-top: 5%;
    }
    .popup-text .product-table {
        margin-top: 6%;
    }
    .popup-text .product-table tr td {
        padding: 6px 25% 6px 12px;
    }
}

@media screen and (max-width: 767px) {
    .pop-up .pop-up-main {
        width: 100%;
    }
    .popup-text .product-text h4 {
        font-size: 17px;
    }
    .popup-text p {
        margin-top: 4%;
        font-size: 15px;
    }
    .popup-text .product-table {
        margin-top: 4%;
    }
    .popup-text .product-table tr td {
        padding: 5px 15% 5px 10px;
    }
    .popup-text .product-table tr td span{
        font-size: 14px;
    }
}

@media screen and (max-width: 575px) {
    .popup-text p {
        /*margin-top: 4%;*/
        font-size: 15px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    .popup-text .product-table {
        /*margin-top: 4%;*/
    }
    .popup-text .product-table tr td {
        padding: 4px 10% 4px 8px;
    }
}

@media screen and (max-width: 480px) {
    .pop-up-group {
        display: block;
    }
    .images-group {
        width: 80%;
        margin: auto;
    }

    .pop-up .pop-up-main {
        width: 100%;
        padding: 5px 1.5% 15px 1.5%;
    }

    .pop-up .pop-up-main .pop-up-img {
        margin-top: 10px;
        justify-content: start;
    }
    .pop-up-img-div {
        width: 18.5%;
        height: auto;
        margin-right: 1.3%;
    }
    .pop-up .pop-up-main .pop-up-img img {
        width: 18.5%;
        height: auto;
    }
    .popup-text {
        width: 87%;
        margin: auto;
    }
}

