﻿.pc {display:block;}
.mb {display:none;}


.w2 {
    display: flex;
    justify-content: space-between;
}

    .w2 > * {
        width: 49%;
    }

.boxcomments {
    margin: 40px 0;
}

.h3-ttl {
    font-size: 24px;
    margin-bottom: 30px;
}

.comments {
    display: flex;
    border-bottom: 1px solid #e7e7e7;
}

.product-custommer {
    width: calc(100%/3 - 85px)
}

.col2 {
    border-left: 1px solid #e7e7e7;
    border-right: 1px solid #e7e7e7;
}

.rating-num {
    position: relative;
}

    .rating-num:after {
        content: "\f005";
        font-family: 'FontAwesome';
        position: absolute;
        left: 13px;
        top: 0px;
        color: #484848;
    }

.col1 {
    text-align: center;
}

    .col1 .h4 {
    }

.total-review {
    color: #016dc5;
    font-size: 40px;
    display: block;
    margin: 20px 0 5px;
    line-height: 40px;
}

fieldset, label {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 1.5em;
    margin: 10px;
}

.rating {
    border: none;
    display: inline;
}

    .rating > input {
        display: none;
    }

    .rating > label:before {
        margin: 5px;
        font-size: 1.25em;
        font-family: FontAwesome;
        display: inline-block;
        content: "\f005";
    }

    .rating > .half:before {
        content: "\f089";
        position: absolute;
    }

    .rating > label {
        color: #ddd;
        float: right;
        margin-bottom: 0;
    }

    .rating > input:checked ~ label,
    .rating:not(:checked) > label:hover,
    .rating:not(:checked) > label:hover ~ label {
        color: #FFD700;
    }

        .rating > input:checked + label:hover,
        .rating > input:checked ~ label:hover,
        .rating > label:hover ~ input:checked ~ label,
        .rating > input:checked ~ label:hover ~ label {
            color: #FFED85;
        }

.count-comments {
    color: #8f8f8f;
}

.col2 {
    width: calc(100%/3 + 170px);
    margin-right: 0;
    padding: 40px 33px 28px 91px;
}

.item {
    display: flex;
    margin-bottom: 7px;
}

.rating-num {
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    width: 41px;
    line-height: 15px;
    vertical-align: middle;
    position: relative;
}

.col2 .progress {
    width: 282px !important;
    display: flex;
    height: 10px;
    margin: 0;
    vertical-align: middle;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f5f5f5;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

.progress-bar-success {
    background: #016dc5;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.rating-num-total {
    display: inline-block;
    font-size: 14px;
    font-weight: 300;
    text-align: left;
    margin-left: 12px;
    color: #787878;
    line-height: 15px;
    vertical-align: middle;
}

.col3 {
    text-align: center;
}

    .col3 .h5 {
        margin-top: 50px;
    }

    .col3 a {
        background: #fff;
        display: inline-block;
        padding: 10px 20px;
        font-weight: 600;
        color: #016dc5;
        cursor: pointer;
        width: max-content;
        border: 2px solid #016dc5;
        text-decoration: none;
    }

}

.col3 a:hover {
    color: #fff;
    background: #de940d;
}

.write-comments {
    display: none;
}

    .write-comments .write-ttl {
        display: inline-block;
        font-size: 16px;
        margin-bottom: 5px;
    }

.rating-input {
    display: inline-block;
    line-height: 1px;
}

.write-cmt-ttl {
    margin: 10px 0;
}

.write-send {
    margin: 40px 0;
}

    .write-send a {
        background: #016dc5;
        display: inline-block;
        padding: 10px 20px;
        color: #fff;
        cursor: pointer;
        text-decoration: none;
        font-weight: bold;
    }

        .write-send a:hover {
            color: #fff;
            background: #de940d;
        }

.write-group {
    padding-bottom: 30px;
    border-bottom: 1px solid #eeeded;
}

.write-main {
    width: 600px;
}

.write-group .h3 {
    font-weight: 500;
    font-size: 21px;
}

.list-cmt {
    padding-bottom: 40px;
}

.item-cmt {
    display: flex;
    padding: 15px 0;
}

.item-cmt-col1 {
    width: 20%;
    text-align: center;
}

.item-cmt-col2 {
    width: 70%;
    /*padding-bottom: 20px;*/
}

.item-cmt-img {
    width: 65px;
    margin: 0 auto;
}

    .item-cmt-img img {
        border-radius: 50%;
    }

.item-cmt-name {
    color: #333;
    font-weight: bold;
}

.item-cmt-from {
    font-size: 12px;
    color: #ccc;
}

    .item-cmt-from span {
        color: #333;
        padding-left: 2px;
    }

.rating-evaluate {
    display: inline-block;
    margin: 0 10px 0 0;
}

.rating-content {
    font-size: 0;
    line-height: 1;
    position: relative;
    white-space: nowrap;
    display: inline-block;
}

.item-cmt-col2 .review-ttl {
    padding-right: 20px;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    display: inline-block;
    margin: 0;
    color: #242424;
}

.rating-content .star {
    font-family: 'FontAwesome';
    font-weight: 400;
    font-style: normal;
    display: inline-block;
    margin: .1rem;
    color: #b8b8b8;
    text-rendering: auto;
    font-size: 15px;
}

    .rating-content .star:before {
        content: "\f005";
    }

.rating-content span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    line-height: 1;
}

    .rating-content span .star {
        color: #ffc120;
    }

.item-cmt-ct {
    margin: 10px 0;
}

.write-cmt-img {
    margin-top: 20px;
}

.div-cmt-img a {
    /* display: block; */
    /* width: 300px; */
}

    .div-cmt-img a img {
        /* width: 100%; */
        /* height: 100%; */
        /* object-fit: cover; */
    }

.replies {
    margin-top: 20px;
}

.replies-item {
    font-size: 14px;
    line-height: 22px;
    padding: 0 20px 0 0;
    background: 0 0;
    margin: 0 0 20px;
    border-bottom: none;
    display: inline-block;
    width: 100%;
    background: #f8f8f8;
    border: 1px solid #e4e1e3;
    padding: 20px 20px 0;
}

.replies-image {
    width: 45px;
    height: 45px;
    overflow: hidden;
    float: left;
    margin-right: 10px;
    margin-bottom: 0;
    border-radius: 50%;
}

.replies-name {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    color: #242424;
    text-transform: capitalize;
    position: relative;
    top: 0;
}

.replies-text {
    font-size: 13px;
    margin-bottom: 0;
    /*color: #4f4f4f;*/
    margin-left: 54px;
    line-height: 18px;
}

.linkRep a {
    cursor: pointer;
    color: #38a749;
    font-size: 14px;
    font-weight: 600;
    padding: 0 25px 0 0 !important;
}

.div-cmt-img {
    display: flex;
    gap: 15px;
}

.quick-reply {
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
}

    .quick-reply textarea {
        display: block;
        width: 100%;
        height: 130px;
        margin-bottom: 10px;
        border-color: #e0e0e0;
        resize: none;
        padding: 6px 12px;
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 4px;
        -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    }

    .quick-reply a {
        cursor: pointer;
        padding: 5px 20px;
        background: #99ca3b;
        border-radius: 5px;
    }

        .quick-reply a:hover {
            cursor: pointer;
            background: #ffaf1e;
            color: #333;
        }

.avatar-letter {
    border-radius: 50%;
    background: #d3d2d3;
    color: #919090;
    font-weight: 600;
    width: 65px;
    height: 65px;
    display: inline-block;
    text-align: center;
    line-height: 65px;
    font-size: 18px;
}

.replies-image .avatar-letter {
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 14px;
}

.rating-evaluate.mb {
    display: none;
}

.form-control {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

textarea.form-control {
    height: auto;
}

@media (max-width:480px) {
	.pc {display:none !important;}
.mb {display:block!important ;}
.write-main {
    width: 100%;
}
    .write-group {
        width: 100%;
    }

    .box03 ul {
        flex-wrap: wrap;
        justify-content: center;
    }

        .box03 ul li {
            margin-bottom: 5px;
        }

    .img-small {
        margin-left: 10px;
    }

    .slider4 .slick-prev, .slider4 .slick-next {
        left: calc(50% - 7px);
    }

    .slider4 .slick-slide {
        margin-bottom: 0;
    }

    table {
        max-width: 100%;
        overflow: auto;
        width: 100% !important;
    }

    #login_mobi {
        float: left;
    }

    .frm-login {
        margin: 5px 12px 0;
        margin-top: 6px;
        padding: 3px 3px 3px 45px;
    }

    .avatar-letter {
        width: 50px;
        line-height: 50px;
        font-size: 14px;
        height: 50px;
    }

    .replies-image {
        width: 32px;
        height: 32px;
    }

        .replies-image .avatar-letter {
            width: 32px;
            height: 32px;
            line-height: 32px;
            font-size: 14px;
        }

    .rating-evaluate.mb {
		display: block;
        margin-left: 75px;
        margin-top: -20px;
        width: 100%;
        text-align: start;
    }

    .rating-evaluate {
        display: none;
    }

    .item-cmt-col2 {
        width: 100%;
        padding-bottom: 0;
    }

    .comments {
        display: block;
    }

    .product-custommer {
        width: 100%;
    }

    .col2 {
        width: 100%;
        padding: 40px 0 28px 0;
        border-left: none;
        border-right: none;
        border-top: 1px solid #e7e7e7;
        border-bottom: 1px solid #e7e7e7;
        margin: 25px 0;
    }

    .item-cmt {
        display: block;
    }

    .item-cmt-col1 {
        width: 100%;
        text-align: left;
        overflow: hidden;
    }

    .item-cmt-img {
        margin: 0;
        float: left;
    }

    .item-cmt-name {
        /* margin-left: 80px; */
    }

    .search-MB > img {
        display: block;
    }

    .search-MB .search {
        width: 215px;
        display: none;
    }

    .search-MB {
        display: block;
        width: 10%;
        float: right;
        margin-top: 7px;
        margin-left: 0;
        margin-right: 15px;
    }

    .tab-text iframe {
        width: auto;
    }

    #ctl00_MainContent_ProductList1_div_page, #page_size {
        display: block;
        width: 100% !important;
        padding: 10px 0;
        text-align: center;
    }

    ul.tabs {
        min-height: 75px;
    }

    .b02-box-img img {
        max-height: 100%;
        width: auto;
    }

    .mainmenu ul li.parent > ul {
        left: -50px;
    }

    .sp-ttl {
        height: 70px;
    }

    .sp-sku {
        height: 24px;
    }

    .mainmenu > ul > li::before, .submenu {
        display: block;
        left: 55px;
        position: relative;
    }

        .mainmenu > ul > li::before, .submenu li .submenu {
            left: 15px;
        }

    .size-map {
        margin-top: 101px;
    }

    .sp-price {
        padding: 7px 5px;
    }

    .sort-ttl {
        width: auto;
        padding: 0 10px;
    }

    .news-item {
        width: calc(100%/1 - 0px);
    }

    .sp-item {
        width: calc(100%/2 - 22px);
        margin: 10px;
    }

    .sp-list {
        width: 100%;
    }

    .sidebar {
        width: 100%;
    }

    .Mota-right .price {
        font-size: 20px;
    }

    .Mota-left, .Mota-right {
        font-size: 15px;
    }

    #boxcontent .imgpro {
        width: 100% !important;
    }

    #boxcontent .infopro {
        width: 100% !important;
        padding-left: 0;
        margin: 40px 0;
    }

    .f02-mod:nth-child(2), .f02-mod:nth-child(3) {
        width: 100%;
        margin: 0 0 20px;
        padding: 0;
        background: none;
    }

    .b04-img {
        width: 100%;
    }

    .b04-item-info {
        width: 100%;
    }

    .f-logo {
        float: none;
        text-align: center;
        margin: 0 0 20px;
    }

    .f-total {
        float: none;
        text-align: center;
    }
}

/* Main container */
.list-cmt {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Comment item */
.item-cmt {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

    .item-cmt:hover {
        background-color: #f8fafc;
        border-radius: 12px;
        padding: 24px 16px;
        margin: 0 -16px;
    }

    .item-cmt:last-child {
        border-bottom: none;
    }

/* Left column - Avatar and user info */
.item-cmt-col1 {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
}

/* Right column - Review content */
.item-cmt-col2 {
    flex: 1;
    min-width: 0;
}

/* Avatar */
.item-cmt-img {
    margin-bottom: 12px;
}

.avatar-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

    .avatar-letter:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
    }

/* User name */
.item-cmt-name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 16px;
	display: flex;
    justify-content: space-between;
}
.item-cmt-time {
    line-height: 1.6;
    color: #475569;
    font-weight: 500;
}

.mb {
    margin-bottom: 16px;
}

/* Review content */
.item-cmt-ct {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

    .item-cmt-ct:empty {
        display: none;
    }

/* Review images */
.div-cmt-img {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.fancyIMGComment {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .fancyIMGComment:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.2);
    }

    .fancyIMGComment img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        display: block;
    }

/* Replies section */
.replies {
    margin-left: 80px;
    margin-top: -12px;
    /*margin-bottom: 24px;*/
}

.replies-item {
    background: linear-gradient(135deg, #02d1cd 0%, #029dc9 100%);
    padding: 16px;
    border-radius: 12px;
    color: white;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(102, 126, 234, 0.3);
}

    .replies-item:before {
        content: '';
        position: absolute;
        top: -8px;
        left: 24px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #02d0cd;
    }

.replies-image {
    display: inline-block;
    margin-right: 12px;
    vertical-align: top;
}

    .replies-image .avatar-letter {
        width: 32px;
        height: 32px;
        font-size: 12px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }

.replies-name {
    display: inline-block;
    font-weight: 600;
    margin-bottom: 4px;
    position: relative;
}

    .replies-name:after {
        content: 'Admin';
        background: rgba(255, 255, 255, 0.2);
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 10px;
        margin-left: 8px;
        font-weight: 500;
    }

.replies-text {
    margin-left: 44px;
    line-height: 1.5;
    opacity: 0.95;
}

/* From location (hidden) */
.item-cmt-from {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
	.itm_nameTime{
		width: 80%;
	}
    .list-cmt {
        padding: 0;
        margin: 0;
        border-radius: 12px;
    }

    .item-cmt {
        flex-direction: column;
        gap: 0;
        padding-bottom: 10px;
    }

    .item-cmt-col1 {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .item-cmt-img {
        margin-bottom: 0;
    }

    .avatar-letter {
        width: 48px;
        height: 48px;
        font-size: 14px;
    }

    .replies {
        margin-left: 0;
        margin-top: 16px;
    }

    .replies-item:before {
        left: 50%;
        transform: translateX(-50%);
    }

    .div-cmt-img {
        gap: 8px;
        margin-bottom: 0;
    }

    .fancyIMGComment img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .item-cmt-col1 {
        /* flex-direction: column; */
        text-align: center;
        gap: 8px;
        align-items: start;
    }

    .avatar-letter {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .item-cmt-ct {
        padding: 12px;
        font-size: 14px;
        /* margin-top: 0; */
    }

    .fancyIMGComment img {
        width: 60px;
        height: 60px;
    }
}

/* Animation */
.item-cmt {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states for accessibility */
.fancyIMGComment:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}
@media (max-width: 420px) {
    .itm_nameTime {
        width: 75%;
    }
}