/* PHẦN DÙNG CHUNG */
.container {
    max-width: 1270px;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

.block_i {
    display: inline-block;
}

/* .flex_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
} */
.btn_file {
    background-color: #03a9f4;
    padding: 2px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
}

.svg_center {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}

.icon_center {
    width: 40px;
    position: relative;
    margin-left: 5px;
}

.text_center {
    text-align: center;
}

.text_center h1 {
    font-size: 25px;
}

#breadcrumbs a {
    display: inline-block;
    padding: 10px 0;
    margin: 0 10px;
}

#breadcrumbs a:first-child {
    margin-left: 0;
}

.col_2 {
    width: 50%;
}
.col_3 {
    width: 30%;
}
.inline_block{
    display: inline-block;
}

/* -----------------------------------------------HEADER -----------------------------------------------------------------------------------*/
header {
    position: fixed;
    width: 100%;
    background-color: #189eff;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 53%);
    z-index: 9;
}

#header_main {
    display: flex;
    position: relative;
    max-width: 1270px;
    justify-content: space-between;
    margin: 0px auto;
    padding: 5px 15px 0 15px;
    box-sizing: border-box;
}

#search_nav {
    height: 40px;
    width: 80%;
    margin: 0 10px;
    position: relative;
}

.header_search {
	display: flex;
	box-shadow: rgba(98, 98, 98, .5) 0 1px 2px 0;
	height: 40px;
	width: 100%;
	position: relative;
}
.header_search label {
    position: absolute;
    top: 30%;
    left: 10px;
    color: #fff0;
}
.header_search button{
    width: 13%;
    min-width: 30px;
    cursor: pointer;
    border-style: initial;
    padding: 8px 0px;
    background: rgb(237, 238, 242);
    border-radius: 0 4px 4px 0;
}
#search_input {
    width: 87%;
    border-style: initial;
    border-radius: 4px 0 0 4px;
}

#cart_qty {
    position: absolute;
    right: 0;
    border: 2px solid white;
    background-color: #ffd881;
    color: black;
    font-weight: bold;
    border-radius: 50%;
    font-size: 12px;
    padding: 0px 3px;
}
#fly_cart {
    position: absolute;
    top: 150px;
    left: -30px;
    color: #fff;
    background-color: #333333ab;
    font-size: 24px;
    font-weight: bold;
    padding: 15px;
    border-radius: 30%;
    border: 2px solid #080808;
    display: none;
}

#black_bg {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    background: rgba(0, 0, 0, 0.53);
    z-index: 4;
    display: none;
}

#thhd div {
    display: flex;
    width: 33%;
    margin-bottom: 10px;
    border: 1px solid #f7f7f7;
    padding: 5px;
    box-sizing: border-box;
    justify-content: space-between;
}
#dctd img{
    width: 100px;
    height: 100px;
}
#dctd a {
    width: 16.66%;
    text-align: center;
    color: black;
    padding: 5px;
    margin-bottom: 20px;
    border: 1px solid #fff;
    box-sizing: border-box;
}
#thhd a{
    font-size: 0;
}
#dctd a:hover, #thhd a:hover {
    border: 1px solid #189eff94;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgb(0 0 0 / 8%) inset, 0 0 8px rgb(0 136 204 / 30%);
}


/* FOOTER */
footer {
    background-color: #232f3e;
    color: #fff;
    position: relative;
    top: 80px;
}

footer strong {
    margin: 1.2rem 0;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    display: block;
}

footer a {
    color: #fff;
}

footer .payment li {
    display: initial;
}

.contact-support a {
    display: inline-block;
    width: 70px;
    padding: 5px 0;
    margin:3px;
    border-radius: 5px;
    text-align: center;
}

.parent-icon {
    position: relative;
    padding: 20px 0;
}
.support_call, .call-icon a {
    background-color: #e8424c;
}
.support_sms, .sms-icon a  {
    background-color: #00bd20;
}
.support_zalo {
    background-color: #0368ff;
}
.support_messenger {
    background-color: #b8007d;
}
#support-icon .child-icon {
    position: absolute;
    width: 100%;
    min-width: 120px;
    height: 200px;
    top: -5px;
    right: 100%;
    background-color: #fff;
    display: none;
}
#support-icon p {
    font-size: 9px;
    color: #000;
}
#support-icon li:hover{
    cursor: pointer;
}
#support-icon .child-icon a {
    /* width: max-content; */
    display: block;
    height: 21px;
    border-radius: 5px;
    margin: 5px;
    padding: 8px 5px 5px 7px;
    color: #fff;
}
/* TRANG CHI TIẾT SẢN PHẨM *************************************************************************************************/
#neo_tag{
    display: none;
}
#detail_p h1 {
    display: inline-block;
    margin-bottom:0px
}

#detail_p .flex_wrap{
    margin-top: 10px;
}

#info_p {
    width: calc(100% - 415px);
}

#info_p strong {
    font-size: 30px;
    color: #e10c00;
    margin-right: 10px;
}

#info_p small {
    text-decoration: line-through;
    font-size: 18px;
    color: #787878;
}

dl#dl_service {
    margin: 0;
    padding: 5px;
    width: 39%;
    background-color: #e5f4ff;
}

#dl_service dd {
    margin: 0;
    font-style: italic;
    color: #727272;
    border-bottom: 1px solid #fff;
    padding: 7px;
    margin-bottom: 10px;
}

#dl_service dd:last-child {
    margin-bottom: 0px;
    padding-bottom: 0;
    border: none;
}

#dl_service svg {
    margin-right: 10px;
}

#article_p img {
    display: block;
    margin: 10px auto;
    height: auto;
}
#article_p video{
    max-width: 100%;
}
#article_p p, #blog_detail p {
    margin-bottom: 15px;
    line-height: 1.6em;
    font-size:18px;
}
#article_p h3, #blog_detail h3 {
    margin-bottom: 20px;
    font-size:22px;
}

.detail_btn {
    display: inline-block;
    background-color: #ffa502;
    padding: 5px 7px;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
}

/* BLOG CATE ------------------------------------------------------------------------------------------- */
#blog_cate h3 {
    margin-bottom: 10px;
    width: 100%;
}

#blog_cate_12 h3 {
    font-size: 14px;
}

#nav_blog {
    padding: 10px 0;
    width: 100%;
}

#nav_blog a {
    color: black;
    margin-right: 20px;
    font-weight: bold;
}

#blog_first {
    width: 60%;
    padding-right: 20px;
    box-sizing: border-box;
}

#blog_cate_12 {
    width: 40%;
}

#blog_cate time {
    color: #8f8f8f;
    font-size: 13px;
    margin: 5px 0;
    display: inline-block;
}

#list_b article>a {
    width: 20%;
}

#list_b article>span {
    width: 80%;
    padding-left: 10px;
    box-sizing: border-box;
}

#list_b article {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

/* BLOG DETAIL ------------------------------------------------------------------------------------------- */
#blog_detail>section {
    width: 72%;
}

#blog_detail h2 {
    font-size: 28px;
}

#blog_detail aside {
    width: calc(100% - (72% + 20px));
}

#blog_detail h1 {
    font-size: 25px;
}

#blog_detail address {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #efefef;
}

#blog_detail address>span {
    font-weight: bold;
}

#blog_detail aside a {
    display: block;
    padding-bottom: 10px;
    border-bottom: 1px solid #ededed;
    margin-top: 20px;
}

/*  CART ------------------------------------------------------------------------------------------- */
#cart table {
    width: 100%;
    margin-bottom: 20px;
}

#cart th,
#cart td {
    padding: 10px;
    text-align: center;
}
#cart .img_del img {
    display: block;
    max-width: 100px;
    width: -webkit-fill-available;
    margin-bottom: 5px;
}
#cart .price_mobi{
    display: none;
}
#cart .info_p {
    width: 80%;
    padding-left: 5px;
    text-align: start;
    box-sizing: border-box;
}
#cart .img_del {
    width: 20%;
    text-align: start;
}

#cart small {
    text-decoration: line-through;
}
#cart .qty_mobile{
    display: none;
}
#cart .qty button, #cart .qty_mobile button {
    margin: 0 10px;
}

#cart .tt,
#checkout .tt {
    color: red;
}

#cart tfoot td {
    text-align: end;
    font-size: 17px;
}

.buynow_btn {
    display: inline-block;
    padding: 10px 80px;
    margin:none;
    margin-left: 5px;
    background-color: #ff6a00;
    color: white;
    border-radius: 5px;
}

#cart tfoot b,
#checkout .total_checkout strong {
    color: #EA2027;
}

/* CHECKOUT------------------------------------------------------------------------------------------------- */
#checkout {
    padding-top: 15px;
}

#tem {
    height: 3px;
    width: 100%;
    background-position-x: -30px;
    background-size: 116px 3px;
    background-image: repeating-linear-gradient(45deg, #6fa6d6, #6fa6d6 33px, transparent 0, transparent 41px, #f18d9b 0, #f18d9b 74px, transparent 0, transparent 82px);
}
#checkout label {
    display: block;
    margin-left: 10px;
    color: #333;
}
#checkout input, #checkout select {
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: #bbb;
    padding: 10px;
    box-sizing: border-box;
    width: 98%;
    margin-bottom: 10px;
}

.checkout_header {
    background-color: #fafdff;
    border-bottom: 1px dashed rgba(0, 0, 0, .09);
}

.don_gia,
.sl,
.thanh_tien,
.cart_checkbox {
    margin: auto 0;
}

.sp {
    width: 50%;
    padding: 10px 0 10px 16px;
    box-sizing: border-box;
}

.don_gia {
    width: 15%;
}

.sl {
    width: 16%;
}
#checkout .sl_mobi{
    display: none;
}

.thanh_tien {
    width: 15%;
}

.list_order .flx_cart {
    display: flex;
    border-bottom: 1px solid #f5f5f5;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.list_order img {
    width: 60px;
}

#checkout .info_p {
    width: calc(100% - 70px);
}

#checkout li {
    background-color: white;
    margin-bottom: 5px;
}

#checkout #for_admin {
    background-color: #ffc3c3;
}

#checkout .note {
    background-color: #edfffb;
    border-radius: 5px;
    margin-bottom: 20px;
}

.total_checkout {
    width: 50%;
    margin: auto 0;
    font-size: 18px;
}
#note {
    width: 50%;
    padding: 15px;
    box-sizing: border-box;
}

#checkout input[name='submit'] {
    width: 35%;
    border: none;
}
#checkout .alert ul{
    list-style-type:circle;
    padding-left: 20px;
}
#checkout .alert li{
    color:red
}


/* THANKYOU ------------------------------------------------------------------------------------------------- */
#thankyou_tt {
    text-align: end;
    padding: 10px 20px;
    font-size: 20px;
}

#thankyou_tt strong {
    color: red;
    padding: 0 50px;
}

#order_id {
    text-align: center;
    font-size: 30px;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    width: 30%;
    margin: 10px auto;
}

/*-------- XẾP HẠNG 5 SAO -------------*/
.rating-box {
    position: relative;
    color: #efefef;
    margin: unset;
}

.rating-box .rating {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #ffc120;
}

:root {
    --star-size: 15px;
    --star-color: #a4b0be;
    --star-background: #ffa502;
}

.Stars {
    --percent: calc(var(--rating) / 100 * 100%);
    display: inline-block;
    font-size: var(--star-size);
    line-height: 1;
}

.Stars::before {
    content: "★★★★★";
    letter-spacing: 0px;
    background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 1024px){
    #contact ul{
        width: 50%;
    }
    #dl_service{
        display: none;
    }
}
@media screen and (max-width: 925px){
    #cart .qty_mobile{
        display: block;
    }
    #cart .qty{
        display: none;
    }
}
@media screen and (max-width: 850px){
    #blog_detail>section{
        width: 100% !important;
    }
    #blog_detail aside{
        width: 100% !important;
    }
}
@media screen and (max-width: 768px){
    #dctd a{
        width:25%
    }
    #list_b article>a {
        width: 40%;
    }
    #list_b article>span {
        width: 60%;
    }
}
@media screen and (max-width: 760px){
    #neo_tag {
        display: flex;
        justify-content: space-between;
        position: fixed;
        top: 51px;
        width: 100%;
        background-color: #fff;
        left: 0;
        height: 35px;
        border-bottom: 1px solid #dadada;
        z-index: 2;
    }
    #neo_tag a {
        display: inline-block;
        padding: 9px 0px;
        width: 24.5%;
        color: #000;
        text-align: center;
        font-size: 12px;
    }
    #detail_p #js_thumbnail{
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    #add_cart:after {
        font-size: 12px;
        position: absolute;
        width: 100%;
        left: 0;
        bottom: 0;
    }
    #add_cart svg, #chat_call svg {
        position: absolute;
        top: 1px;
        left: 42%;
    }
    #checkout .col_2{
        width: 100%;
    }
    #note{
        width: 100%;
    }
    #checkout .total_checkout{
        width: 100%;
        padding: 15px;
    }
    footer{
        padding-bottom: 68px;
    }
}
@media screen and (max-width: 600px) {
    .container{
        padding-left: 0;
        padding-right: 0;
    }
    .panel {
        padding: 0 5px;
    }
    #detail_p h1{
        padding-top: 10px;
    }
    #contact ul{
        padding: 0 5px;
        box-sizing: border-box;
    }
    #about, #copyright{
        padding: 0 5px;
        box-sizing: border-box;
    }
}
@media screen and (max-width: 520px){
    #dctd a{
        width:33.33%
    }
    #thhd div {
        width: 49.5%;
    }
    #list_b article>a {
        width: 100%;
    }
    #list_b article>span {
        width: 100%;
    }
    #cart .info_p strong, #checkout .info_p>p {
        font-size: 13px;
        line-height: 17px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    #checkout .sl, #checkout .don_gia{
        display: none;
    }
    #checkout .sl_mobi{
        display: inline-block;
    }
    #checkout .thanh_tien{
        width: 23%;
    }
    #checkout .sp{
        width: 77%;
    }
}
@media screen and (max-width: 450px){
    #nav_blog a {
        margin-right: 5px;
        font-size: 13px;
    }
    #contact ul{
        width: 100%;
    }
    #cart .price_mobi{
        display: block;
    }
    #cart .price_desk{
        display: none;
    }
    footer a{
        display: inline-block;
        padding: 14px 0;
    }
    .neo-tag li {
        display: block;
        padding-top: 16px;
    }
    
}