html,body{
    padding-bottom: 30px;
}
.directionSection{
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 10px;
}
.directionItem{
    position: relative;
}
.directionItem:after{
    content: "";
    width: 1px;
    height: 100%;
    background-color: var(--blackClrOp2);
    position: absolute;
    left: -12.5px;
    transform: rotate(20deg);
}
.directionItem:last-child::after{
    width: 0;
    height: 0;
}
/* main */
.mainSection{
    margin-top: 20px;
}
.mainImg{
    border: 1px solid var(--blackClrOp4);
}
.img{
    border-radius: 7px;
    box-sizing: border-box;
    aspect-ratio: 1/1;
    width: 100%;
}
.imgsList{
    gap: 15px;
    flex-wrap: nowrap;
}
.activeImg{
    border: 2px solid var(--tomatoClr);
}
.mainImageDiv{
    position: relative;
    aspect-ratio: 1/1;
    width: 100%;
    overflow: hidden;
}
.imgItem{
    height: 100px;
    width: 100px;
}
.pointer{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid var(--greyClr1);
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0 0;
    box-shadow: 0 0 10px var(--lineBlack1ClrOp1);
    transition: opacity .3s;
    opacity: 0;
}
.pointer.active{
    opacity: 1;
}
/* infoDiv */
.infoDiv{
    margin-top: 25px;
}
.propertyTitle{
    margin-top: 20px;
    background-repeat: no-repeat;
    background-size: 19px;
    background-position: right 5px top 25px;
    background-image: url("/src/box.svg");
    padding-right: 35px;
    border-top: 1px solid var(--blackClrOp2);
    padding-top: 20px;
}
.propertyList{
    list-style: none;
    margin-top: 15px ;
    padding: 0 30px;
    box-sizing: border-box;
    gap: 7px;
}
.propertyItem{
    align-items: center;
    gap: 20px;
}
.propertyName{
    position: relative;
    padding-right: 20px;

}
.propertyName::before{
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--blackClrOp1);
    border-radius: 50%;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}
.propertyName::after{
    content: ":";
    position: absolute;
    left: -10px;
}
/* propertyDiv */
.propertyDiv{
    display: none;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--blackClrOp2);
}
.prop1Name,.prop2Name{
    margin: 15px 5px 0 15px;
    padding-right: 15px;
    position: relative;
}
.prop1Name{
    margin-top: 0;
}
.prop1Name::after,.prop2Name::after{
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    background-color:var(--blackClrOp1);
    border-radius: 50%;
    transform: translateY(-50%);
}
.prop1List,.prop2List{
    margin: 10px 30px 0 30px;
}
.prop1Btn,.prop2Btn{
    padding: 3px 15px;
    border: 1px solid var(--blackClrOp2);
    background-color: var(--bgClr);
    border-radius: 5px;
}
.prop1BtnActive,.prop2BtnActive{
    border: 1px solid var(--txtSecendaryClr);
    background-color: var(--txtSecendaryClr);
    color: var(--bgClr);
}
.prop2Name,.prop2List,.hasAnotherProperty{
    display: none;
}
.hasAnotherProperty{
    padding-right: 22px;
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: right 2px center;
    background-image: url("/src/info.svg");
}
/* priceDiv */
.priceDiv{
    border-top: 1px solid var(--blackClrOp2);
    position: fixed;
    bottom: 0;
    background-color: var(--bgClr);
    z-index: 892;
    width: 100%;
    left: 0;
    box-sizing: border-box;
    padding: 20px 3% 10px;
    display: -ms-grid;
    display: -moz-grid;
    display: grid;
    grid-template-columns: 40% 58%;
    justify-content: space-between;
    align-items: center;
}
.discountDiv{
    direction: ltr;
    align-items: center;
    gap: 10px;
}
.priceText{
    text-decoration: line-through;
    text-decoration-color: var(--redClr);
    margin-bottom: 5px;

}
.offText{
    margin-bottom: 5px;
}
.priceDefaultText{
    display: none;
}
.addToCartBtn{
    background-color: var(--txtSecendaryClr);
    color: var(--bgClr);
    border-radius: 7px;
    width: 100%;
    height: 40px;
    transition: background-color .6s;
    display: none;
}
.addToCartBtn:hover{
    background-color: var(--txtSecendaryDarkerClr);
}
.notExist{
    background-color: var(--redClr);
    color: var(--bgClr);
    border-radius: 7px;
    width: 100%;
    height: 40px;
    display: none;
}
.manageNumberDiv{
    grid-template-columns: 40px 1fr 40px;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--blackClrOp2);
    border-radius: 7px;
    display: none;
    background-color: var(--blackClrOp5);
}
.manageNumberDiv button{
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
}
.increaseNumberBtn{
    background-image: url("/src/plus.svg");
}
.decreaseNumberBtn{
    background-image: url("/src/minus.svg");
}
.disableBtn{
    opacity: .3;
    cursor: default;
}
.removeBtn{
    background-image: url("/src/trash.svg");
    background-size: 17px !important;
}
/* description */
.descriptionSection{
    border-top: 1px solid var(--blackClrOp2);
    margin-top: 20px;
    padding-top: 20px;
}
.descriptionTitle{
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: right 4px center;
    background-image: url("/src/text.svg");
    padding-right: 35px;
}
.description{
    text-align: justify;
    margin-top: 15px ;
    padding: 0 30px ;
    box-sizing: border-box;
}
/* detailsSection */
.detailsSection{
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--blackClrOp2);
}
.detailsTitle{
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: right 4px center;
    background-image: url("/src/details.svg");
    padding-right: 35px;
}
.detailsList{
    border: 1px solid var(--blackClrOp2);
    border-radius: 7px;
    box-sizing: border-box;
    margin-top: 15px ;
}
.detailsItem{
    grid-template-columns: 30% 1px 59%;
    justify-content: space-around;
    border-bottom: 1px solid var(--blackClrOp2);
}
.detailsItem:nth-child(even){
    background-color: var(--blackClrOp5);
}
.detailsItem:last-child{
    border-bottom: none;
}
.lineSpan{
    background-color: var(--blackClrOp2);
    height: 100%;
}
.detailsValue,.detailsName{
    padding: 7px 0;
}
/* offerSection */
.offerSection{
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--blackClrOp2);
    display: none;
}
.offerTitle{
    background-repeat: no-repeat;
    background-size: 22px;
    background-position: right 4px center;
    background-image: url("/src/hot.svg");
    padding-right: 35px;
}
.offerSection .seeAll{
    color: var(--txtSecendaryClr);
    background-image: url("/src/leftArrowBlue.svg");
}
/* comment */
.commentSection{
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--blackClrOp2);
}
.commentTitle{
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: right 4px center;
    background-image: url("/src/comment.svg");
    padding-right: 35px;
}
.commentDiv{
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
}
.commentList{
    margin-top: 15px;
    gap: 15px;
    max-height: 360px;
    overflow-y: auto;
    padding-left: 5px;

}
.commentItem{
    background-color: var(--blackClrOp7);
    border: 1px solid var(--blackClrOp3);
    box-sizing: border-box;
    padding: 10px ;
    box-sizing: border-box;
    border-radius: 7px;
}
.commentHeaderDiv{
    height: 40px;
    border-bottom: 1px solid var(--blackClrOp2);
}
.answerInfo{
    border-top: 1px dashed var(--blackClrOp1);
    margin-top: 10px;
    padding: 10px 25px 0 0;
    background-image: url("/src/verify.svg");
    background-repeat: no-repeat;
    background-size: 14px;
    background-position: right 2px top 14px;
}
.insertCommentSection{
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--blackClrOp2);
}
.insertCommentInput{
    padding: 7px ;
    border: 1px solid var(--blackClrOp2);
    border-right: 4px solid var(--txtSecendaryClr);
    border-radius: 7px 0 0 7px ;
    outline: none;
    resize: none;
    height: 140px;
    background-color: var(--blackClrOp5);
}
.insertCommentBtn{
    background-color: var(--txtSecendaryClrOp3);
    border: 1px solid var(--txtSecendaryClr);
    border-radius: 5px;
    align-self: flex-end;
    background-image: url("/src/send.svg");
    background-repeat: no-repeat;
    background-size: 12.5px;
    background-position: left 12px center;
    transition: background-color .6s;
    width: 90px;
    height: 35px;
    justify-content: flex-start;
    padding-right: 15px;
    box-sizing: border-box;
}
.insertCommentBtn:hover{
    background-color: var(--txtSecendaryClrOp2);
}
.loaderDiv.active{
    background-color: var(--txtSecendaryClrOp3);
    border: 1px solid var(--txtSecendaryClr);
    border-radius: 5px;
    width: 90px;
    height: 35px;
    align-self: flex-end;
}
.loaderDiv.active span{
    width: 20px;
    height: 20px;
    border-right: 3px solid var(--txtAClr);
    border-top: 3px solid var(--blackClrOp4);
    border-bottom: 3px solid var(--blackClrOp4);
    border-left: 3px solid var(--txtAClr);
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotate .6s linear infinite ;
}
/* noCommentExistDiv */
.noCommentExistDiv{
    border: 1px dashed var(--blackClrOp1);
    background-color: var(--blackClrOp6);
    border-radius: 7px;
    padding: 40px 0;
    gap: 10px;
}
.noCommentTitle{
    padding-right: 25px;
    background-image: url("/src/info.svg");
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: right  center;
}

.nextCm,.previousCm{
    border-radius: 5px;
    background-color: var(--txtSecendaryClrOp2);
    border: 1px solid var(--txtSecendaryClr);
    background-size: 18px;
    background-repeat: no-repeat;
}
.nextCm{
    padding: 3px 28px 3px 15px;
    background-image: url("/src/rightArrowBlue.svg");
    background-position: right 5px center;
}
.previousCm{
    padding: 3px 15px 3px 28px  ;
    background-image: url("/src/leftArrowBlue.svg");
    background-position: left 5px center;
}
/* logFirstMessageDiv */
.logFirstMessageDiv{
    border: 1px dashed var(--blackClrOp1);
    background-color: var(--blackClrOp6);
    border-radius: 7px;
    padding: 40px 0;
    gap: 10px;
}
.logFirstText{
    padding-right: 30px;
    background-image: url("/src/info.svg");
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: right 5px center;
}
.msgBtn{
    bottom: 95px;
}
.unreadMsg::after{
    bottom: 135px;
}
@media screen and (min-width:769px) {
    html,body{
        padding-bottom: 0;
    }
    .mainSection{
        display: -ms-grid;
        display: -moz-grid;
        display: grid;
        grid-template-columns: 32% 31% 32%;
        justify-content: space-between;
        direction: rtl;
    }
    .priceDiv{
        position: unset;
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        align-items: unset;
        justify-content: flex-start;
        gap: 10px;
        background-color: var(--blackClrOp6);
        border: 1px solid var(--blackClrOp2);
        padding: 15px;
        box-sizing: border-box;
        border-radius: 7px;
        height: fit-content;
    }
    .priceDefaultText{
        display: unset;
    }
    .detailsItem{
        grid-template-columns: 20% 1px 54%;
        justify-content: right;
        gap: 20px;
        padding-right: 25px;
        box-sizing: border-box;
    }
    .commentDiv{
        display: -ms-grid;
        display: -moz-grid;
        display: grid;
        grid-template-columns: 48% 48%;
        justify-content: space-between;
    }
    .insertCommentSection{
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
    .commentList{
        margin-top: 0;
    }
    .hasAnotherProperty{
        margin-top: 15px;
    }
    .infoDiv{
        margin-top: 0;
    }
    .msgBtn{
        bottom: 15px;
    }
    .unreadMsg::after{
        bottom: 55px;
    }
}
@media screen and (min-width:968px) {

    .mainSection{
        grid-template-columns: 35% 34% 25%;
    }
}