@import "Style.css";
.profile_page{
	display: inline-block;
	width: 100%;
	margin-top: 60px;
    text-align: center;
}
.profile_div{width:90%;margin:10px 5% 20px;float: right;box-sizing: border-box;padding:10px 20px;overflow: hidden;text-align: center;background: #fff;box-shadow: 0 50px 100px -20px rgb(50 50 93 / 25%), 0 30px 60px -30px rgb(0 0 0 / 30%), inset 0 -2px 6px 0 rgb(10 37 64 / 35%); border-radius: 8px;font-size: 14px;}
.title_profile{
	float:right;
    width:100%;
    font-size: 18px;
	font-weight: 600;
	text-align: center;
	margin:20px 0;
    color:#00f;
}
.profile_div .img{
    float:right;
    width:250px;
    height:250px;
    box-sizing: border-box;
    border: 1px solid #bbbbbb77;
    border-radius: 5px;
    padding: 10px;
}
.profile_div .img img{
    float:right;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.profile_div .introduction{
    float: right;
    width:calc(100% - 280px);
    margin-right: 30px;
    line-height: 30px;
    font-size: 14px;
    text-align: justify;
}
.profile_div hr{
    float: right;
    width:100%;
    margin: 25px 0;
}
.profile_div h2{
    float: right;
    width:100%;
    margin:0 0 10px;
    font-size: 16px;
    color:#00f;
}
.products_cont{
    width:100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.products_cont .product{
    width:23%;
	min-width:268px;
	max-width:470px;
    margin: 0 10px 15px;
    box-sizing: border-box;
    padding: 10px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    box-shadow: 0 50px 100px -20px rgb(50 50 93 / 25%), 0 30px 60px -30px rgb(0 0 0 / 30%), inset 0 -2px 6px 0 rgb(10 37 64 / 35%);
    border-radius: 8px;
    font-size: 14px;
}
.products_cont .product .image{
    float:right;
    width:100%;
    aspect-ratio: 1/1;
}
.products_cont .product .image img{
    width: 100%;
    height:100%;
    object-fit: contain;
}
.products_cont .product h3{
    float: right;
    width: 100%;
    height:25px;
    line-height: 25px;
    font-size: 15px;
    margin:5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ff7b00;
}




.comments_cont{
    float: right;
    width:100%;
    margin-bottom: 20px;
}
.comments_cont .comments_head{
    float:right;
    width:100%;
    font-size: 13px;
    font-weight: 700;
    background-color: #a9a9a9;
    text-align: center;
    line-height: 30px;
}
.comments_cont .scroll{
    float:right;
    width:100%;
    max-height: 300px;
    overflow: hidden;
    overflow-y: auto;
}
.comments_cont .comment{
    float:right;
    width:100%;
    font-size: 13px;
    text-align: center;
    line-height: 25px;
}
.comments_cont .comment:nth-child(2n) {
    background: #eaeaea;
}
.comments_cont .comments_head div , .comments_cont .comment div{
    float:right;
    box-sizing: border-box;
}
.comments_cont .image{
    width:100px;
}
.comments_cont .title{
    width:25%;
}
.comments_cont .time{
    width:100px;
    direction:ltr;
}
.comments_cont .text{
    width:calc(75% - 200px);
}
.comments_cont .comment .image{
    padding: 5px;
}
.comments_cont .comment .image img{
    width:100%;
}
.comments_cont .comment .title{
    padding: 0 5px;
}
.comments_cont .comment .title a{
    text-decoration: none;
    color:#db3f23;
}
.comments_cont .comment .text{
    text-align: justify;
    padding: 0 5px;
}
@media(max-width:768px){
    .profile_div .img{
        width:200px;
        height:200px;
        margin: 0 calc(50% - 100px);
    }
    .profile_div .introduction{
        width:100%;
        margin: 20px 0 0;
        line-height:25px;
        font-size: 13px;
    }
    .profile_div h2{
        font-size: 14px;
    }
    .products_cont .product{
		width:calc(33.33% - 10px);
		min-width:200px;
		margin:0 5px 15px;
	}
	.products_cont .product h3{
		font-size: 13px;
	}
    .comments_cont{
        display: flex;
    }
    .comments_cont .comments_head{
        width:100px;
    }
    .comments_cont .comments_head div , .comments_cont .comment div{
        width:100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .comments_cont .scroll{
        max-width:calc(100% - 100px);
        max-height: fit-content;
        overflow-x: auto;
        display: flex;
    }
    .comments_cont .comment{
        width:250px;
        min-width:250px;
    }
    .comments_cont .image{
        height: 100px;
    }
    .comments_cont .comment .image img{
        width:auto;
        max-width: 90px;
        max-height: 90px;
    }
    .comments_cont .title{
        height: 30px;
    }
    .comments_cont .title a{
        float:right;
        max-height: 30px;
        line-height: 30px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .comments_cont .time{
        height:30px;
    }
    .comments_cont .comments_head .text{
        height:calc(100% - 160px);
    }
}
@media(max-width:480px){
    .comments_cont .comments_head{
        width:50px;
        font-size: 12px;
        line-height: 20px;
    }
    .comments_cont .scroll{
        max-width:calc(100% - 50px);
    }
    .comments_cont .comment{
        width:150px;
        min-width:150px;
        font-size: 12px;
    }
    .comments_cont .title{
        height: 50px;
    }
    .comments_cont .title a{
        max-height: 40px;
        line-height: 20px;
        white-space: break-spaces;
    }
    .comments_cont .time{
        height:50px;
    }
    .comments_cont .comments_head .text{
        height:calc(100% - 200px);
    }
    .comments_cont .text{
        line-height: 20px;
    }
}