.swiper-init {
    margin-bottom: 10px;
}

.swiper-init .swiper-slide {
    text-align: center;
    background: #fff;
}

.swiper-init .swiper-slide img {
    max-height: 70vh;
    width: 100%;
    object-fit: scale-down;
    text-align: center;
}

.pd-name h1 {
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 600;
}

.pd-info-top {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.price_retail {
    color: #000;
}

.price_sale {
    color: #9f1012;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 26px;
    margin: 0 10px;
}

.attr {
    padding: 15px 20px 25px;
    border: 1px solid #ccc;
}

.control-label {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.attr p.color .itemColor, .tp-attr p.color .itemColor {
    display: flex;
    justify-content: center;
    align-items: center;
}

.attr p.color .itemColor a, .tp-attr p.color .itemColor a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 0.05rem solid #ddd;
    border-radius: 50%;
    transition: all .2s;
}

.attr p.color .itemColor a.deactive {
    opacity: 0.5;
    cursor: not-allowed;
}

.attr p.color .itemColor a, .attr p.size a, .tp-attr p.color .itemColor a, .tp-attr p.size a {
    position: relative;
}

.attr p.color .itemColor a.active, .tp-attr p.color .itemColor a.active {
    border-color: #000;
    padding: 0.15rem;
}

p.size.req>span>a {
    background: #ddd;
    text-align: center;
    padding: 7px 10px;
    width: 100%;
    display: block;
}

p.size.req>span>a.active {
    background: #000;
    color: #fff;
}

.qty-wrapper {
    height: 38px;
    border-radius: 25px;
    width: 28%;
}

.qty-wrapper button, .qty-wrapper a {
    width: 38px;
    height: 100%;
    background: #f1f1f1;
    outline: none;
    font-size: 1.25rem;
    border: none;
    color: #000;
}

#qty {
    box-shadow: unset !important;
    width: 40px;
    height: 100%;
    text-align: center;
    outline: none;
    font-size: .8rem;
    background: #f1f1f1;
    border: none;
    margin: 0 5px;
    color: #000;
}

.pview-action {
    margin-top: 10px;
}

.addCartTop {
    width: 72%;
}

#addQuickCart {
    width: 100%;
    height: 38px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    border-radius: 25px;
}

.right-social ul li {
    display: flex;
    align-items: center;
}

.pview-share .right-social ul li a {
    color: #000;
    font-size: 16px;
}

.buy-call {
    width: 100%;
    height: 38px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
}

a.buy-call:hover {
    color: #fff;
}

.pview-wrap .head-title {
    position: relative;
}

.pview-wrap .head-title p {
    font-size: 17px;
    width: fit-content;
    z-index: 1;
    padding: 0 10px 0 0;
    background: #fff;
}

.pview-wrap .head-title p:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0.05rem;
    background: #ccc;
    left: 0;
    bottom: 10px;
    z-index: -1;
    display: none;
}
.pview-wrap .head-title p:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0.05rem;
    background: #ccc;
    right: 0;
    bottom: 10px;
    z-index: -1;
    display: none;
}

.pview-wrap .pd-rating .head-title p:before, .pview-wrap .pd-related .head-title p:before {
    display: block;
}

.pd-rating {
    margin: 45px 0 30px;
}

.pd-related .head-title p {
    margin: 0 auto;
    padding: 0 10px;
}

.pview-wrap .pd-related .head-title p:after {
    width: 50%;
    left: auto;
    right: 0;
}

.pview-wrap .pd-related .head-title p:before {
    width: 100%;
    right: auto;
    left: 0;
}

.rating-left {
    display: -webkit-box;
    display: flex;
    text-align: center;
}

.number-rate {
    letter-spacing: -.02em;
    font-size: 3rem;
    font-weight: 500;
    line-height: 1;
    margin: 0.4rem 0;
}

.rl-item:last-child {
    padding-left: 1rem;
    webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    font-size: .75rem;
    font-weight: 500;
}

.star-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 0.625rem;
    overflow: hidden;
    font-size: .75rem;
    background-color: #bfc1cb;
    border-radius: 0.3125rem;
}

.fa-star {
    color: #f4b301;
}

.star {
    display: inline-flex;
}

.avatar {
    width: 48px;
    height: 48px;
    background: #c1c7d0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.avatar i {
    color: #fff;
    font-size: 2rem;
}

.rating-comment {
    display: flex;
    margin-bottom: 15px;
}

.rating-comment:last-child {
    border-bottom: none;
}

.buy-check {
    color: #00be84;
    font-size: 0.625rem;
    display: inline-flex;
    align-items: center;
    margin-left: 0.5rem;
}

.buy-check img {
    margin-right: 0.25rem;
}

.star-type {
    display: inline-flex;
    align-items: center;
    margin: 0;
    font-weight: 500;
}

.rl-item .star-type i {
    margin-left: 0.25rem;
}

.commentContent {
    margin-top: 0.5rem;
    line-height: 1.6;
    font-weight: 500;
}

.rv-date {
    margin-top: 0.5rem;
    font-weight: 500;
    margin-bottom: 0;
}

.commentator p {
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-rate-wrap {
    display: block;
    margin-bottom: 20px;
    width: 100%;
}

.btn-rate {
    width: 100%;
    height: 38px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
    border-radius: 25px;
}

#commentText {
    height: 100%;
}

#btnRate button {
    background-color: #000;
    border-color: #000;
    color: #fff;
    border-radius: 0;
    font-size: 0.75rem;
    padding: 10px 20px;
    text-transform: none;
}

#popupRatingNormal .modal-content {
    height: auto;
}

#popupRatingNormal .modal-body {
    padding: 2rem;
}

.rv-image>.row {
    --bs-gutter-x: 0.625rem;
    --bs-gutter-y: 0.625rem;
}

.rv-image>.row>.col {
    width: calc(100% / 7);
}

.hrt>.star-box {
    width: 33%;
}

.progress-sell {
    height: 5px;
    text-align: center;
    background: #f2f2f2;
    border-radius: 10px;
}

.progress-sell-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #000;
    border-radius: 10px;
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
    position: relative;
}

.star-box .progress-sell {
    margin: 0;
    height: 0.4rem;
}

.commentator {
    margin-right: 15px;
    display: none;
}

.pview-wrap {
    margin-bottom: 45px;
}

.attr p.color .itemColor a span {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.pd-attr-wrap {
    position: sticky;
    top: 20px;
}

.pview-policy-title {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all .3s;
}

.pview-policy-title i {
    font-size: 0.75rem;
    transform: rotate(0);
    transition: all .3s;
}

.pview-policy-title.active {
    font-weight: 600;
}

.pview-policy-title.active i {
    transform: rotate(-180deg);
}

.pview-policy-item {
    margin-bottom: 15px;
}

.pview-policy-content {
    display: none;
}

/*.swiper-slide-thumb-active img {*/
/*    border: 1px solid #000;*/
/*}*/

p.size.req>span>a.deactive {
    opacity: 0.5;
    cursor: not-allowed;
}

.prd-desc {
    margin-bottom: 30px;
}

.pview-wrap .prd-content .head-title p {
    margin-bottom: 10px;
}

.pview-wrap .prd-content .head-title p:after {
    display: none;
}

.prd-desc * {
    font-size: 13px !important;
    /*font-family: 'Bai Jamjuree',sans-serif !important;*/
}



@media (min-width: 992px) {
    .col-58 {
        width: 58%;
    }
    .col-42 {
        width: 42%;
        padding-left: 2rem;
    }
}

@media (max-width: 768px) {
    .pview-action>.d-flex {
        justify-content: space-between;
    }
    .addCartTop {
        width: 65%;
    }
    .pview-action .qty-wrapper {
        width: 35%;
    }
    .addCartTop {
        width: 62%;
    }
    .rating-left {
        flex-wrap: wrap;
    }
    .rl-item {
        width: 100%;
        padding: 0 !important;
        margin-bottom: 10px;
    }
    .rl-item>.row {
        justify-content: center;
    }
    .pview-share .right-social {
        display: block;
    }
    .pd-attr, .pd-content {
        width: 100%;
    }
    .price-save {
        display: block;
    }
}