.fa-grip-lines-vertical {
    color: var(--text);
}

.container .content {
    padding: 30px 0 40px;
}

.content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

/*.box-type span {*/
    /*font-weight: bold;*/
/*}*/

/*danh sách ảnh sản phẩm*/
.col-l {
    flex-basis: 68%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-radius: 8px;
    flex-wrap: wrap;
}

.box-img {
    flex-basis: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

#main-photo {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
}

#main-photo img {
    height: 320px;
}

.box-img .list-img {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: row wrap;
    overflow-y: auto;
    height: 81px;
    width: 100%;
}

.col-l .list-img li {
    flex-basis: 24%;
    margin-bottom: 5px;
}

.col-l .list-img .photo-list {
    display: inline-block;
    width: 100%;
}

.col-l .list-img .photo-list img {
    object-fit: cover;
    height: 78px;
    width: 100%;
}

.col-l .list-img:after {
    content: '';
    flex-basis: 24%;
}

.box-info {
    flex-basis: 47%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
}

.box-info .item-info .price {
    font-size: 2.8rem;
    line-height: 3.5rem;
    margin-bottom: 0;
    text-transform: capitalize;
}

.box-des {
    flex-basis: 100%;
    padding: 20px 15px;
    margin-top: 10px;
    background: var(--gray);
    border-radius: 8px;
}

.box-des .des {
    /*height: 400px;*/
    /*overflow: hidden;*/
}

.box-des .des iframe {
    width: 100%;
    height: 500px;
}

.box-des img {
    width: 100% !important;
}

.box-des .see-more-news {
    text-align: center;
    margin-top: 1.5rem;
}

.box-des .see-more-news a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--btn);
    border-radius: 4px;
    color: #fff;
    width: auto;
}

.box-des .see-more-news a:hover {
    background: var(--btnHover);
}

.hide {
    display: none;
    opacity: 0;
    left: 100%;
}

.change-see-more-news {
    height: auto !important;
}

.box-des .see-more-news a i {
    color: #fff;
    font-size: 10px;
    margin-left: 2px;
}

.box-des h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.box-des .line-news {
    width: 100%;
    height: 55px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--gray) 66%);
    position: relative;
    margin-top: -50px;
}

.box-info .item-info .stars {
    margin: 1.5rem 0;
}

.box-info .item-info .stars span {
    font-size: 1.5rem;
}

.status-sold {
    color: var(--yellow);
}

.box-type {
    margin-bottom: 1.5rem;
}

.box-type .type-p, .box-type .charm-p, .box-type .color-p {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    padding: 0.5rem 1rem;
    text-align: center;
    border-radius: 20px;
    width: auto;
}

/*Danh sách link thẻ tag*/
.col-l .box-tags {
    margin-top: 3rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    background: var(--bgItem);
    padding: 1.5rem 1.5rem 0;
}

.col-l .box-tags .item {
    margin-right: 15px;
    background: #F7F8FA;
    padding: 5px 20px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.col-l .box-tags .item-icon {
    background: #fff;
    padding: 5px 10px;
}

/*về chúng tôi*/
.about-us {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: var(--bgItem);
    border-radius: 8px;
    margin: 2rem 0 1.5rem;
    width: 100%;
}

.about-us .item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.about-us .item i {
    font-size: 2.5rem;
    color: var(--yellow);
    margin-right: 1rem;
}

.about-us .item .box-item h4 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

/*có thể bạn quan tâm*/
.col-r {
    flex-basis: 29%;
}

.col-r .other-img a {
    width: 75px;
    height: 70px;
    margin-right: 1.5rem;
}

.col-r .other-img img {
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.col-r .news-other-box .item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.col-r .other-price {
    color: var(--red);
    font-size: 1.6rem;
}

.col-r .discount {
    font-size: 1.6rem;
}

.col-r .number-discount {
    font-size: 1.2rem;
}

.content .news-other-box {
    flex-basis: 29%;
    background: var(--gray);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.news-other-box .other-info {
    margin-left: 1rem;
}

.news-box .item {
    text-align: left;
    flex-basis: 48%;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
}

.news-box .item .img {
    overflow: hidden;
}

.news-box .item .img img {
    object-fit: cover;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    height: 260px;
}

.news-box .item h3 {
    padding: 15px 0 10px;
}

.news-box .item .description {
    text-align: justify;
    cursor: auto;
}

.news-other-box h2 {
    margin-bottom: 15px;
}

.news-other-box .item {
    border-bottom: 1px dotted var(--border);
    padding: 15px 0;
}

.news-other-box .item:last-child {
    border: none;
    padding-bottom: 0;
}

.news-other-box .item a {
    color: var(--white);
    text-transform: capitalize;
}

.news-other-box .item a:hover {
    color: var(--yellow);
}

#news-box .item a {
    margin-left: 1rem;
}

.box-des p {
    margin: 10px 0;
}

.box-des img {
    height: 500px !important;
    object-fit: cover;
}

.box-des p:last-child {
    margin-bottom: 0;
}

.btn {
    text-align: left;
}

.btn a {
    padding: 0.6rem 3rem;
}

.btn .btn-buy, .btn .btn-sample {
    margin-right: 1rem;
    text-transform: uppercase;
}

.discount {
    font-size: 2.8rem;
    color: var(--discount);
    margin-left: 1rem;
}

.number-discount {
    color: var(--yellow);
    margin-left: 0.3rem;
    font-size: 1.6rem;
    background-color: var(--bgDiscount);
    padding: 0 0.2rem;
    border-radius: 30%;
}

.sl {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.box-sl {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 2rem;
}

.box-sl span {
    color: var(--white);
    font-size: 2.4rem;
    margin: 0 2rem;
}

.box-sl a {
    color: var(--white);
    font-size: 2.6rem;
}

.box-sl .sub {
    border-right: 1px solid #dedede;
    padding-right: 2rem;
}

.box-sl .sum {
    border-left: 1px solid #dedede;
    padding-left: 2rem;
}

.box-sl.sub:hover {
    color: var(--yellow);
}

.box-sl .sum:hover {
    color: var(--yellow);
}

/*thanh toán*/
.box-popup {
    width: 900px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 4px;
    bottom: auto;
    height: auto;
    margin-top: 100px;
}

.popup-form .title {
    padding: 15px 15px 30px;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.popup-form .content {
    padding: 0 15px 5px;
}

.popup-form h1 {
    margin-bottom: 0;
    text-align: left;
    color: var(--black);
}

.popup-form .item {
    flex-basis: 48%;
}

.popup-form .item label {
    margin-bottom: 0.2rem;
    font-weight: bold;
    color: var(--black);
    display: inline-block;
}

.popup-form .item p {
    color: var(--black);
}

.popup-form .item input, .popup-form .item textarea, .popup-form .item select {
    font-size: 14px;
    outline: 0;
    width: 100%;
    height: 35px;
    border-radius: 4px;
    border: 1px solid #dedede;
    background: #fff;
    padding-left: 10px;
    color: var(--black);
}

.popup-form .item textarea {
    height: 100px;
}

.popup-form .item {
    margin-bottom: 1.5rem;
}

.popup-pay .pay-l {
    flex-basis: 49%;
    padding: 15px 0;
}

.popup-pay .pay-r {
    flex-basis: 49%;
    border-radius: 4px;
    border: 1px solid var(--red);
    padding: 15px;
}

.popup-pay .content {
    margin-bottom: 0;
}

.popup-form-pay {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.popup-pay p, .popup-pay span, .popup-pay label, .popup-pay li {
    color: var(--black);
    font-size: 1.4rem;
    font-weight: normal;
}

.pay-type input {
    height: 12px !important;
    font-size: 1.4rem !important;
    margin-right: 0.2rem;
}

.pay-type .box-item {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}

.pay-type .box-item span {
    font-weight: bold;
}

.popup-form-pay .item {
    color: var(--black);
    font-size: 1.8rem;
    font-weight: bold;
}

.clr {
    color: red !important;
}

.popup-form-pay .btn-pay {
    background: var(--bg);
    color: var(--white);
    font-weight: bold;
    border-radius: 4px;
    padding: 6px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    text-transform: capitalize;
    width: auto;
}

.popup-form-pay .btn-pay:hover {
    background: var(--border);
}

.pay-img {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    border-bottom: 1px dotted var(--red);
    padding-bottom: 20px;
}

.pay-info span {
    color: var(--black);
}

.pay-sl {
    margin: 0.5rem 0;
}

.pay-sum {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.pay-sum span {
    color: var(--red);
    font-weight: bold;
    font-size: 1.8rem;
}

.pay-sum label {
    color: var(--black);
    font-weight: bold;
}

.pay-img img {
    width: 90px;
    height: 85px;
    margin-right: 1rem;
    border-radius: 4px;
}

.priceProducts .pay-price {
    color: var(--red);
}

.priceProducts .pay-discount {
    color: var(--gray);
    font-size: 1.6rem;
}

.priceProducts .pay-discount {
    color: var(--discount);
    font-size: 1.5rem;
    margin-left: 0.5rem;
    position: relative;
}

.priceProducts .pay-number-discount {
    color: var(--yellow);
    margin-left: 0.3rem;
    font-size: 1.2rem;
    background-color: var(--bgDiscount);
    padding: 0 0.2rem;
    border-radius: 30%;
}

.nameProduct {
    text-transform: capitalize;
}

.box-ttck {
    display: none;
}

.pay-type ul li {
    margin-bottom: 0.5rem;
    margin-left: 1rem;
}

.pay-r .box-submit {
    text-align: right;
    margin-bottom: 0;
    margin-top: 1.5rem;
}

.pay-r .box-submit a {
    display: inline-block;
    width: auto;
}

/*đánh giá*/
.side {
    float: left;
    width: 15%;
    margin-top: 10px;
}

.side .number {
    display: flex;
    align-items: center;
}


.side .fa-star {
    font-size: 1.1rem;
    margin-left: 0.2rem;
}

.middle {
    margin-top: 10px;
    float: left;
    width: 70%;
}

/* Place text to the right */
.right {
    text-align: right;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* The bar container */
.bar-container {
    width: 100%;
    /*background-color: #f1f1f1;*/
    background-color: var(--white);
    text-align: center;
    color: white;
}

/* Individual bars */
.bar-5 {
    width: 60%;
    height: 18px;
    background-color: var(--white);
}

.bar-4 {
    width: 30%;
    height: 18px;
    background-color: var(--white);
}

.bar-3 {
    width: 10%;
    height: 18px;
    background-color: var(--white);
}

.bar-2 {
    width: 4%;
    height: 18px;
    background-color: var(--white);
}

.bar-1 {
    width: 15%;
    height: 18px;
    background-color: var(--white);
}

.ratting {
    background-color: var(--bgItem);
    padding: 1.5rem;
    border-radius: 4px;
    width: 100%;
    margin-top: 2rem;
}

.ratting .title-r {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.ratting .content-ratting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border: 1px solid var(--noStar);
    border-radius: 4px;
}

.content-ratting .lef {
    flex-basis: 20%;
    text-align: center;
}

.content-ratting .cen {
    flex-basis: 60%;
    border-left: 1px solid var(--noStar);
    border-right: 1px solid var(--noStar);
    padding: 1rem 1.5rem;
}

.content-ratting .rig {
    flex-basis: 20%;
    text-align: center;
}

.content-ratting .rig a {
    padding: 6px 12px;
    background: var(--yellow);
    color: var(--black);
    text-transform: capitalize;
    font-weight: bold;
    border-radius: 30px;
    width: auto;
}

.content-ratting .rig a:hover {
    background: var(--yellowH);
}

.content-ratting .lef span {
    display: block;
}

.content-ratting .lef .star {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--yellow);
}

.content-ratting .lef .star span {
    color: var(--yellow);
    margin-left: 0.5rem;
    font-size: 2.5rem;
}

.ratting .text {
    margin-bottom: 2rem;
    font-size: 16px;
    font-weight: bold;
    text-transform: capitalize;
}

.img-rn .list-img {
    margin: -1.5rem 1.5rem 1.5rem;
}

.img-rn .list-img img {
    width: 80px;
    height: 75px;
    border-radius: 4px;
    margin-right: 1.5rem;
}

/*nội dung đánh giá*/
.des-rating .item-r {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.des-rating .item-r:nth-child(5) {
    border-bottom: none;
}

.des-rating .item-r p {
    margin: 1rem 0;
}

.des-rating .item-r p:first-child {
    margin-top: 0;
}

.des-rating .box-img-r {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.des-rating .box-img-r img {
    width: 80px;
    height: 75px;
    object-fit: cover;
    margin-right: 1rem;
}

.des-rating .checked {
    color: var(--yellow) !important;
}

.des-rating .fa-star {
    color: var(--noStar);
}

.page {
    width: 100% !important;
}

.pagination {
    margin: 0;
}

.box-tags .fa-tag {
    color: var(--white);
}

@media only screen and (max-width: 1250px) {
    .container .content {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 1200px) {
    .about-us .item i {
        font-size: 2rem;
    }

    .about-us .item .box-item h4 {
        font-size: 1.6rem;
    }
}


@media only screen and (max-width: 1024px) {
    .content .col-l {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .content .col-r {
        flex-basis: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .container .content {
        padding: 15px 0 10px;
    }

    .content .col-l {
        margin-bottom: 10px;
    }

    .col-l .box-img {
        flex-basis: 100%;
    }

    .col-l .box-info {
        flex-basis: 100%;
    }

    #main-photo img {
        height: 500px;
    }

    .col-l .list-img .photo-list img {
        height: 150px;
    }

    .content .col-r .item {
        padding: 10px 0;
    }

    .col-l .box-info h2 {
        margin-bottom: 15px;
    }

    /*thẻ tags*/
    .col-l .box-tags {
        margin-top: 20px;
    }

    .col-l .box-tags .item {
        margin-right: 10px;
    }

    /*end tag*/
    .box-img .list-img {
        height: 130px;
    }

    .col-l .list-img .photo-list img {
        height: 127px;
    }

    .col-l .box-info h2 {
        margin: 1.5rem 0;
    }

    .about-us .item {
        flex-basis: 49%;
        margin-bottom: 2rem;
    }

    .about-us {
        padding: 1.5rem 1.5rem 0;
    }

    .box-info .item-info .price, .discount {
        font-size: 2.4rem;
        line-height: 3rem;
    }

    .number-discount {
        font-size: 1.4rem;
    }

    .popup-form-pay {
        flex-direction: column-reverse;
    }

    .popup-pay .pay-l, .popup-pay .pay-r {
        width: 100%;
    }

    .popup-form {
        width: 98%;
        margin: auto;
    }
}

@media only screen and (max-width: 576px) {
    #main-photo img {
        height: 420px;
    }

    .box-img .list-img {
        height: 110px;
    }

    .col-l .list-img .photo-list img {
        height: 107px;
    }

    .box-info .item-info .stars span {
        font-size: 1.4rem;
    }

    .stars .fa-star, .stars .checked {
        font-size: 1.2rem;
    }

    .box-des img {
        height: 400px !important;
    }
}

@media only screen and (max-width: 480px) {
    #main-photo img {
        height: 320px;
    }

    .box-img .list-img {
        height: 90px;
    }

    .col-l .list-img .photo-list img {
        height: 88px;
    }

    .box-des img {
        height: 300px !important;
    }

    .discount {
        margin-left: 0.5rem;
    }
}

@media only screen and (max-width: 420px) {
    #main-photo img {
        height: 280px;
    }

    .box-img .list-img {
        height: 78px;
    }

    .col-l .list-img .photo-list img {
        height: 76px;
    }
}

@media only screen and (max-width: 375px) {
    #main-photo img {
        height: 250px;
    }

    .box-img .list-img {
        height: 70px;
    }

    .col-l .list-img .photo-list img {
        height: 65px;
    }

    .box-des img {
        height: 230px !important;
    }
}

@media only screen and (max-width: 350px) {
    .discount {
        margin-left: 0.1rem;
    }

    .col-r .number-discount {
        font-size: 1.1rem;
    }
}

@media only screen and (max-width: 320px) {
    #main-photo img {
        height: 220px;
    }

    .box-img .list-img {
        height: 60px;
    }

    .col-l .list-img .photo-list img {
        height: 58px;
    }
}

.container .content {
    padding: 30px 0 20px;
}

.content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/*danh sách ảnh sản phẩm*/
.col-l {
    flex-basis: 69%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-radius: 8px;
    flex-wrap: wrap;
}

.box-img {
    flex-basis: 55%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

#main-photo {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
}

#main-photo img {
    height: 330px;
}

.box-img .list-img {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: row wrap;
    overflow-y: auto;
    height: 81px;
    width: 100%;
}

.col-l .list-img li {
    flex-basis: 24%;
    margin-bottom: 5px;
}

.col-l .list-img .photo-list {
    display: inline-block;
    width: 100%;
}

.col-l .list-img .photo-list img {
    object-fit: cover;
    height: 78px;
    width: 100%;
}

.col-l .list-img:after {
    content: '';
    flex-basis: 24%;
}

.box-info {
    flex-basis: 43%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
}

.box-info .item-info {
    flex-basis: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
}

.box-info .item-info .box-type {
    flex-basis: 49%;
}

.box-info .titleName {
    width: 100%;
}

.box-info .item-info .price {
    font-size: 2.8rem;
    line-height: 3.5rem;
    margin-bottom: 0;
    text-transform: capitalize;
}

.price {
    color: var(--red);
    margin-bottom: 1.5rem !important;
    text-transform: capitalize !important;
    font-size: 2.4rem;
}

.box-info .item-info .stars {
    margin: 1.5rem 0;
}

.box-info .item-info .stars span {
    font-size: 1.5rem;
}

.status-sold {
    color: var(--yellow);
}

.box-type {
    margin-bottom: 1.5rem;
}

.box-type a {
    text-transform: capitalize;
}

.box-type-kt a {
    text-transform: lowercase;
}

.box-type .type-p, .box-type .charm-p, .box-type .color-p {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    padding: 0.2rem;
    text-align: center;
    border-radius: 20px;
    width: auto;
    text-transform: capitalize;
}

.titleName {
    margin-bottom: 2rem;
    text-transform: capitalize;
}

.phone-contact {
    width: 100%;
}

/*.box-type .type-p:nth-child(2), .box-type .charm-p:nth-child(2), .box-type .color-p:nth-child(2) {*/
/*background: var(--yellow);*/
/*}*/

/*.box-type .type-p:hover, .box-type .charm-p:hover, .box-type .color-p:hover {*/
/*background-color: var(--yellow);*/
/*}*/

/*Danh sách link thẻ tag*/
.col-l .box-tags {
    margin-top: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    background: var(--gray);
    padding: 1.5rem 1.5rem 0;
}

.col-l .box-tags .item {
    margin-right: 15px;
    background: var(--btn);
    padding: 5px 20px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.col-l .box-tags .item-icon {
    background: var(--btn);
    padding: 5px 10px;
}

.col-l .box-tags .item a {
    color: var(--white);
    text-transform: capitalize;
}

.col-l .box-tags .item:hover {
    background: var(--btnHover);
}

/*về chúng tôi*/
.about-us {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: var(--gray);
    border-radius: 8px;
    margin: 2rem 0 1.5rem;
    width: 100%;
}

.about-us .item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.about-us .item i {
    font-size: 2.5rem;
    color: var(--btn);
    margin-right: 1rem;
}

.about-us .item .box-item h4 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

/*có thể bạn quan tâm*/
.col-r {
    flex-basis: 29%;
}

.col-r .other-img a {
    width: 75px;
    height: 70px;
    margin-right: 1.5rem;
}

.col-r .other-img img {
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.col-r .news-other-box .item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.col-r .other-price {
    color: var(--red);
    font-size: 1.6rem;
}

.col-r .discount {
    font-size: 1.6rem;
}

.col-r .number-discount {
    font-size: 1.2rem;
}

.news-other-box .item {
    border-bottom: 1px dotted #ccc;
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.news-other-box .item img {
    width: 60px;
    height: 55px;
    object-fit: cover;
}

.news-other-box .item a {
    width: auto;
}

.news-box .item {
    text-align: left;
    flex-basis: 48%;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
}

.news-box .item .img {
    overflow: hidden;
}

.news-box .item .img img {
    object-fit: cover;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    height: 260px;
}

.news-box .item h3 {
    padding: 15px 0 10px;
}

.news-box .item .description {
    text-align: justify;
    cursor: auto;
}

.news-other-box h2 {
    margin-bottom: 0.5rem;
}

.news-other-box .item {
    border-bottom: 1px dotted #ccc;
    padding: 15px 0;
}

.news-other-box .item:last-child {
    border: none;
    padding-bottom: 0;
}

.news-other-box .item a {
    color: var(--text);
    text-transform: capitalize;
}

.news-other-box .item a:hover {
    color: var(--yellow);
}

.box-des ol {
    margin: 0 15px;
}

.box-des p {
    margin: 10px 0;
}

.box-des ul li {
    margin-bottom: 1.5rem;
}

.box-des img {
    height: 500px !important;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.box-des p:last-child {
    margin-bottom: 0;
}

.btn {
    text-align: left;
}

.btn a {
    padding: 0.6rem 2rem;
}

.btn .btn-buy, .btn .btn-sample {
    text-transform: uppercase;
}

.discount {
    font-size: 2.8rem;
    color: var(--discount);
    margin-left: 1rem;
}

.number-discount {
    color: var(--yellow);
    margin-left: 0.3rem;
    font-size: 1.6rem;
    background-color: var(--bgDiscount);
    padding: 0 0.2rem;
    border-radius: 30%;
}

.sl {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.box-sl {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 2rem;
}

.box-sl span {
    color: var(--white);
    font-size: 2.4rem;
    margin: 0 2rem;
}

.box-sl a {
    color: var(--white);
    font-size: 2.6rem;
}

.box-sl .sub {
    border-right: 1px solid #dedede;
    padding-right: 2rem;
}

.box-sl .sum {
    border-left: 1px solid #dedede;
    padding-left: 2rem;
}

.box-sl.sub:hover {
    color: var(--yellow);
}

.box-sl .sum:hover {
    color: var(--yellow);
}

/*thanh toán*/
.popup-form {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-around;
}

.popup-form .popup {
    width: 100%;
    position: static;
    top: 0;
    left: 0;
    transform: none;
    text-align: left !important;
}

.activeItem {
    background: var(--yellow) !important;
}

.popup-form-pay .warning {
    margin: 10px 0 -10px;
    color: red !important;
    font-weight: bold;
}

/*popup đánh giá*/
.popup-reviews {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(33, 33, 33, .8);
    display: none;
    margin-top: 0;
    padding-top: 100px;
}

.popup-reviews .popup-form {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-around;
}

.popup-reviews .popup-form .popup {
    width: 600px;
    margin: 0 auto;
    box-shadow: 0 8px 6px -6px black;
    text-align: center;
    background: #fff;
    border-radius: 4px;
}

.popup-reviews .popup-form .title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.popup-reviews .popup-form .title h2 {
    color: var(--black);
}

.popup-reviews .popup-form .content {
    padding: 0 15px 5px;
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.popup-reviews .popup-form input {
    font-size: 14px;
    outline: none;
    width: 100%;
    height: 35px;
    border-radius: 4px;
    border: 1px solid #dedede;
    background-color: var(--gray);
    padding-left: 10px;
    flex-basis: 48%;
    margin-bottom: 2rem;
    color: var(--black);
}

.popup-reviews .popup-form textarea {
    font-size: 14px;
    outline: none;
    width: 100%;
    height: 100px;
    border-radius: 4px;
    border: 1px solid #dedede;
    background-color: var(--gray);
    flex-basis: 100%;
    margin-bottom: 2rem;
    padding: 10px;
    color: var(--black);
}

.popup-reviews .img-rn {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.popup-reviews input:focus, .popup-reviews textarea:focus {
    border-color: var(--red);
}

.popup-reviews .img-rn label {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.popup-reviews .img-rn input {
    height: 50px;
    padding: 0;
    background: var(--white);
    border: none;
}

.popup-reviews .reviews {
    flex-basis: 100%;
}

.jq-star {
    margin-right: 2rem;
}

.reviews {
    margin-bottom: 1.5rem;
}

.reviews label {
    color: var(--black);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.popup-reviews .title h2 {
    margin-bottom: 0;
}

.btn-send button {
    border: none;
    outline: none;
    color: var(--white);
    background-color: var(--bg);
    border-radius: 4px;
    padding: 6px 12px;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-send button:hover {
    background: var(--border);
}

@media only screen and (max-width: 1250px) {
    .container .content {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 1200px) {
    .about-us .item i {
        font-size: 2rem;
    }

    .about-us .item .box-item h4 {
        font-size: 1.6rem;
    }
}


@media only screen and (max-width: 1024px) {
    .content .col-l {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .content .col-r {
        flex-basis: 100%;
    }

    .popup-pay {
        width: 98%;
        height: 100%;
        margin-top: 0;
    }

    .popup-form .popup {
        box-shadow: none;
    }
}

@media only screen and (max-width: 768px) {
    .container .content {
        padding: 15px 0 10px;
    }

    .content .col-l {
        margin-bottom: 10px;
    }

    .col-l .box-img {
        flex-basis: 100%;
    }

    .col-l .box-info {
        flex-basis: 100%;
    }

    #main-photo img {
        height: 500px;
    }

    .col-l .list-img .photo-list img {
        height: 150px;
    }

    .content .col-r .item {
        padding: 10px 0;
    }

    .col-l .box-info h2 {
        margin-bottom: 15px;
    }

    /*thẻ tags*/
    .col-l .box-tags {
        margin-top: 20px;
    }

    .col-l .box-tags .item {
        margin-right: 10px;
    }

    /*end tag*/
    .box-img .list-img {
        height: 130px;
    }

    .col-l .list-img .photo-list img {
        height: 127px;
    }

    .col-l .box-info h2 {
        margin: 1.5rem 0;
    }

    .about-us .item {
        flex-basis: 49%;
        margin-bottom: 2rem;
    }

    .about-us {
        padding: 1.5rem 1.5rem 0;
    }

    .box-info .item-info .price, .discount {
        font-size: 2.4rem;
        line-height: 3rem;
    }

    .number-discount {
        font-size: 1.4rem;
    }

    /*thanh toán*/
    .popup-pay .pay-l, .popup-pay .pay-r {
        flex-basis: 100%;
    }

    .popup-form .title {
        padding: 15px;
    }

    .popup-pay .pay-l {
        padding-bottom: 0;
    }

    .content-ratting .lef .star {
        font-size: 3rem;
    }

    .content-ratting .lef .star span {
        font-size: 2rem;
    }

    .ratting .content-ratting {
        flex-direction: column;
        border: none;
    }

    .content-ratting .cen {
        border-left: none;
        border-right: none;
        flex-basis: 100%;
        width: 100%;
        padding: 1rem 0 1.5rem;
    }

    .middle {
        width: 85%;
    }

    .side {
        width: 6%;
    }
}

@media only screen and (max-width: 576px) {
    #main-photo img {
        height: 420px;
    }

    .box-img .list-img {
        height: 110px;
    }

    .col-l .list-img .photo-list img {
        height: 107px;
    }

    .box-info .item-info .stars span {
        font-size: 1.4rem;
    }

    .stars .fa-star, .stars .checked {
        font-size: 1.2rem;
    }

    .box-des img {
        height: 400px !important;
    }

    .middle {
        width: 80%;
    }

    .side {
        width: 10%;
    }
}

@media only screen and (max-width: 480px) {
    #main-photo img {
        height: 320px;
    }

    .box-img .list-img {
        height: 90px;
    }

    .col-l .list-img .photo-list img {
        height: 88px;
    }

    .box-des img {
        height: 300px !important;
    }

    .discount {
        margin-left: 0.5rem;
    }
}

@media only screen and (max-width: 420px) {
    #main-photo img {
        height: 280px;
    }

    .box-img .list-img {
        height: 78px;
    }

    .col-l .list-img .photo-list img {
        height: 76px;
    }
}

@media only screen and (max-width: 375px) {
    #main-photo img {
        height: 250px;
    }

    .box-img .list-img {
        height: 70px;
    }

    .col-l .list-img .photo-list img {
        height: 65px;
    }

    .box-des img {
        height: 230px !important;
    }
}

@media only screen and (max-width: 350px) {
    .discount {
        margin-left: 0.1rem;
    }

    .col-r .number-discount {
        font-size: 1.1rem;
    }

    .content .news-other-box {
        padding: 1.5rem 0.5rem;
    }
}

@media only screen and (max-width: 320px) {
    #main-photo img {
        height: 220px;
    }

    .box-img .list-img {
        height: 60px;
    }

    .col-l .list-img .photo-list img {
        height: 58px;
    }
}
