.main-image img,
.thumbnail {
    object-fit: cover;
    cursor: pointer
}

.comment-form .plus-sign,
.rating-buttons button:hover {
    background-color: #f0f0f0
}

.product-title {
    display: flex
}

.product-title h5 {
    color: #383e43;
    font-weight: 700;
    margin-left: 10px
}

.product-title .star-rating {
    margin-right: 0;
    margin-left: 8px;
    font-size: 14px;
    color: #ffdc60
}

.product-title .star-rating .number-rat {
    background-color: #eee;
    text-align: center;
    padding: 0 13px;
    color: #2f2f2f;
    border-radius: 4px
}

.spec-border-light {
    border: 1px solid #d9d9d9 !important
}

.item-spec object,
.spec-border-light object {
    width: 35px
}

.product-sub-title {
    color: #c0c2c5;
    margin-bottom: 50px;
    font-weight: 400;
    margin-top: 15px
}

.product-des {
    color: #7d7d7d
}

.card-title-right {
    color: #2f2f2f;
    font-weight: 700;
    border-bottom: 2px solid #ff2f2f;
    padding-bottom: 15px
}

.box-title-cart {
    margin: 20px
}

.item-spec {
    width: 100%;
    padding: 16px 0;
    height: 125px
}

.item-spec p {
    margin-bottom: 0;
    margin-top: 5px
}

.item-spec-container {
    display: none
}

.item-spec-container:first-of-type {
    display: block
}

#show-more-btn,
.cursor-pointer {
    cursor: pointer
}

.btn-comment-pro {
    padding: 13px 25px;
    border-radius: 8px;
    background-color: #d00707;
    border: 0;
    color: #fff
}

.btn-more-comment {
    color: #d00707;
    background-color: #fff;
    border: 1px solid #d00707;
    padding: 10px 15px;
    border-radius: 7px
}

.text-title-comment {
    text-align: center;
    font-weight: 700;
    padding-top: 15px
}

.btn-trash-comment {
    font-size: 22px;
    color: #939393
}

.text-comment,
.text-comment-show {
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-top: 15px;
    text-align: justify
}

.comment-form {
    padding: 10px;
    border-radius: 5px
}

.comment-form .form-group {
    margin-bottom: 15px
}

.comment-form .form-group label {
    font-weight: 500;
    display: block;
    margin-bottom: 5px
}

.comment-form .form-control {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    box-sizing: border-box
}

.comment-form .input-group {
    display: flex;
    align-items: center
}

.comment-form .input-group-append button {
    margin-left: 10px
}

.comment-form .items-list {
    margin-top: 10px
}

.comment-form .error-comment {
    color: red;
    font-size: 12px;
    margin-top: 5px
}

.comment-form .d-flex {
    display: flex;
    gap: 10px
}

.comment-form .btn {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 4px
}

.comment-form .input-container {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
    width: 100%
}

.comment-form .input-container input {
    border: none;
    padding: 5px;
    font-size: 16px;
    flex-grow: 1
}

.comment-form .plus-sign {
    border: none;
    padding: 5px 10px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 5px
}

.fs-2 {
    font-size: 24px
}

.text-comment {
    -webkit-line-clamp: 1;
    max-height: 7.5em
}

.text-comment.expanded {
    display: block;
    -webkit-line-clamp: unset;
    max-height: none
}

.show-more-btn-comment {
    display: block;
    margin-top: 10px;
    cursor: pointer;
    color: #d00707
}

.more-comment {
    color: #d00707
}

.gallery {
    width: 100%;
    margin: auto;
    text-align: center
}

.main-image img {
    width: 100%;
    max-height: 500px
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    margin-top: 10px
}

.thumbnail {
    width: 100px;
    height: 75px;
    margin: 0 5px;
    transition: transform .3s
}

.thumbnail:hover {
    transform: scale(1.1)
}

.div-pro-des {
    background-color: #f8f8f8;
    padding: 40px
}

.div-pro-des p {
    color: #777;
    margin-top: 15px;
    text-align: justify
}

.box-product {
    position: relative;
    padding: 20px;
    margin: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    transition: box-shadow .3s
}

.box-product:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, .3)
}

.btn-submit-faq {
    color: #fff;
    background-color: #d00707;
    border: 0;
    padding: 10px 15px;
    margin: auto;
    border-radius: 7px
}

.box-faq {
    margin: 100px 0
}

.txt-title-detail {
    font-size: 11px !important
}

.box-properties {
    padding: 0;
    margin: 2px;
    width: 13%
}

.box-label-spec {
    margin-top: 50px
}

.rating-container {
    text-align: center;
    margin: 20px
}

.rating-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px
}

.rating-buttons button {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 0;
    background-color: #fff;
    cursor: pointer;
    transition: background-color .3s;
    width: 5%
}

.rating-buttons button.active {
    background-color: #007bff;
    color: #fff
}

.main-image .modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .8)
}

.main-image .modal-content {
    margin: 15% auto;
    display: block;
    width: 80%;
    max-width: 700px
}

.main-image .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 700
}

.main-image .close:focus,
.main-image .close:hover {
    color: #bbb;
    text-decoration: none;
    cursor: pointer
}

.number-rating-comment {
    background-color: #eee;
    text-align: center;
    padding: 0 13px;
    color: #2f2f2f;
    border-radius: 4px;
    height: 22px
}

.back-to-top-btn {
    background-color: #d00707;
    border: none;
    border-radius: 50%;
    bottom: 20px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    left: 10px;
    padding: 13px 15px;
    position: fixed;
    transition: opacity .3s;
    z-index: 99;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center
}

.back-to-top-btn:hover {
    background-color: #f85454;
    transform: translateY(-3px)
}

.response-comment {
    margin-right: 20px
}

@media (max-width:767px) {
    .product-title {
        display: inline
    }

    .rating-buttons button {
        width: 100%
    }

    .box-properties {
        padding: 5px;
        margin: 0
    }
}