:root {
    --red:red;
    --red-cl: #fecda5;
    --white-cl: #fff;
    --primary-cl: #ffd401;
    --red-d: #8a0505;
    --black-cl: #000;
    --gray-cl: #e1e1e1;
    --xanhnuocbien: #3d8dc9;
    --mauhong: #ffbebe;
}

ol, ul {
    list-style: none;
}

a {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}


.cf:after {
    content: "";
    clear: both;
    display: block;
}

.custem_slider .slick-next.slick-disabled:before, .custem_slider .slick-prev.slick-disabled:before {
    opacity: 1;
}

.custem_slider .slick-prev {
    left: 10px;
    z-index: 99;
    border: 1px solid #ccc;
    border-radius: 0px 100px 100px 0px;
    -webkit-box-shadow: 1px 0px 4px #ccc;
    box-shadow: 1px 0px 4px #ccc;
    height: 60px;
    width: 30px;
    background-color: #fff;
}

.custem_slider .slick-next {
    right: 10px;
    z-index: 99999;
    border: 1px solid #ccc;
    border-radius: 100px 0px 0px 100px;
    -webkit-box-shadow: 1px 0px 4px #ccc;
    box-shadow: 1px 0px 4px #ccc;
    height: 60px;
    width: 30px;
    background-color: #fff;
}

.custem_slider .slick-next:before, .custem_slider .slick-prev:before {
    color: #908989;
    font-size: 40px;
    opacity: 1;
    line-height: 0;
}

.custem_slider .slick-next:before {
    content: "›";
    padding-left: 5px;
}

.custem_slider .slick-prev:before {
    content: "‹";
}

.scroll {
    position: fixed;
    z-index: 999;
    left: 0px;
    width: 100%;
    -webkit-animation-name: scroll;
    animation-name: scroll;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
}

.box_product {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    overflow: hidden;
    padding-bottom: 20px;
    -webkit-box-shadow: 1px 0px 9px #d8d0d0;
    box-shadow: 1px 0px 9px #d8d0d0;
    margin: 10px;
}

.box_product .img {
    aspect-ratio: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    max-height: 241px;
    min-height: 241px;
}

.box_product .img .temp {
    font-size: 10px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    padding: 2px 8px 2px 25px;
    height: 26px;
    background-color: #ea6423;
    position: absolute;
    left: 5px;
    bottom: 0;
    border-radius: 20px;
    -webkit-box-shadow: 1px 1px 10px -5px #333;
    box-shadow: 1px 1px 10px -5px #333;
    z-index: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -ms-grid;
    display: grid;
}

.box_product .img .sphot {
    background-color: #d33;
}

.box_product .img .sphot::before {
    content: "";
    width: 26px;
    height: 26px;
    position: absolute;
    left: -5px;
    bottom: 0px;
    background-image: url(../img/icon/icon-giam-gia.png);
    background-size: cover;
}

.box_product .img .spbanchay {
    background-color: #8224e3;
}

.box_product .img .spbanchay::before {
    content: "";
    width: 26px;
    height: 26px;
    position: absolute;
    left: -5px;
    bottom: 0px;
    background-size: cover;
    background-image: url(../img/icon/icon-ban-chay.png);
}

.box_product .img img {
    width: 100%;
}

.box_product .title h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #444;
    position: relative;
    white-space: unset;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
}

.box_product .title h3 a {
    color: #444;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.box_product .price {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 32px;
}

.box_product .price span {
    color: #707070;
    padding-left: 15px;
    text-decoration: line-through;
    font-weight: 600;
    font-size: 14px;
    position: relative;
}

.box_product .price span bdi {
    position: absolute;
    right: -8px;
    top: -3px;
    font-size: 13px;
    text-decoration: line-through;
}

.box_product .price p {
    font-size: 16px;
    font-weight: 700;
    color: #d70018;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 0;
    display: inline-block;
    position: relative;
}

.box_product .price p bdi {
    position: absolute;
    right: -8px;
    top: -3px;
    font-size: 13px;
}

.box_product .star-rating {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 5px 0px;
}

.box_product .star-rating i {
    font-size: 12px;
    color: #f0a20a;
}

.box_product .flash-sale-process {
    background: -webkit-gradient(linear, left top, right top, from(#f02517), to(#ffb000)) 0% 0%/cover;
    background: linear-gradient(to right, #f02517, #ffb000) 0% 0%/cover;
    border-radius: 5px;
    position: relative;
    padding: 3px 0px;
    margin: 10px 0px;
}

.box_product .flash-sale-process .text {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--white-cl);
}

.box_product .flash-sale-process .icon_hot {
    position: absolute;
    top: -7px;
    left: 3px;
}

.box_product .flash-sale-process .icon_hot img {
    width: 20px;
}

.box_product .flash-sale-process .flash-sale-complete-wapper {
    position: absolute;
    height: 100%;
    width: 30%;
    right: 0px;
    top: 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #ffbda6;
    opacity: 0.5;
}

.box_product .product-attribute {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.box_product .product-attribute i {
    font-size: 10px;
    color: var(--red);
}

.box_product .product-attribute p {
    padding-left: 3px;
    font-size: 12px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}