*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
:root {
    --brand-red: #D62828;       
    --brand-red-hover: #B71C1C; 
    
    --gray-dark: #343A40;       
    --gray-medium: #6C757D;    
    --gray-light: #F8F9FA;     
    --border-color: #E9ECEF;
    
    --white: #ffffff;
    --container-width: 1240px;
    --shadow: 0 5px 15px rgba(0,0,0,0.08);
}
body { font-family: 'Quicksand', sans-serif; font-weight: 400; font-size: 17px; color: #303D50; -webkit-box-sizing: border-box; box-sizing: border-box; line-height: 1.8;}
a { outline: none; text-decoration: none; color: #222; }
a:hover, a:focus { text-decoration: none; outline: none; -webkit-box-shadow: none; box-shadow: none; color: rgba(38,38,38);}
p { padding: 0; }
h1, h2, h3, h4, h5, h6 { padding: 0; line-height: 1.4;}
h1,h2 { font-weight: 600; }
h1 { font-size: 45px; }
h2 { font-size: 37px; }
h3, h4, h5, h6 { font-weight: 500; }
fieldset { border: none; margin: 0; padding: 0; }
button { cursor: pointer; background-color: transparent; outline: none; border: none; padding: 0;} 
button:focus { outline: none; }
img { max-width: 100%; -o-object-position: center; object-position: center; -o-object-fit: cover; object-fit: cover; }
input { outline: none; border-radius: 0; }

.container { max-width: 1240px; width: 100%; padding: 0 15px; margin: 0 auto; position: relative; }
.container-medium { max-width: 1140px; width: 100%; padding: 0 15px; margin: 0 auto; position: relative; }

.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.p-tb-100 { padding: 100px 0; }

.p-tb-80 { padding: 80px 0; }
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }

.p-tb-60 { padding: 60px 0; }
.pt-60 { padding-top: 60px; }
.pb-60 { padding-bottom: 60px; }

.pt-50 { padding-top: 50px; }
.pb-50 { padding-bottom: 50px; }
.p-tb-50 { padding: 50px 0; }

.p-tb-40 { padding: 40px 0; }
.pb-40 { padding-bottom: 40px; }
.pt-40 { padding-top: 40px; }

.p-tb-30 { padding: 30px 0; }
.pb-30 { padding-bottom: 30px; }
.pt-30 { padding-top: 30px; }

.p-10 { padding: 10px; }
.p-tb-10 { padding: 10px 0; }

.m-tb-40 { margin: 40px 0; }
.m-tb-20 { margin: 20px 0; }
.m-tb-10 { margin: 10px 0; }

.mt-60 {margin-top: 60px; }
.mb-60 {margin-bottom: 60px; }
.mb-50 {margin-bottom: 50px; }
.mb-40 {margin-bottom: 40px; }
.mt-40 {margin-top: 40px; }
.mb-30 {margin-bottom: 30px; }
.mt-30 {margin-top: 30px; }
.mb-20 {margin-bottom: 20px; }
.mt-20 {margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-8 { margin-bottom: 8px; }

.btn {
    background-color: transparent;
    border: none;
    outline: none;
    border-radius: 8px;
    border:  1px solid #303D50;
    padding: 0 20px;

}

.btn-red {
    background: var(--brand-red);
    color: var(--white);
    border-color: #D62828;
}
.see-more { text-align: center; }
.see-more a {height: 50px; line-height: 50px; font-size: 16px; border-radius: 8px; transition: all ease .4s; padding: 0 40px; display: inline-block; text-align: center; font-weight: 600; background:  var(--brand-red); color:  var(--white); }

/**
** Main header
*/
#header-fix { position: fixed; top: 0; left: 0; right:  0; background-color: var(--white); z-index: 100; box-shadow: 0 4px 4px -3px rgba(0,0,0,0.1);}
#top-header { background-color: #D62828; padding: 8px 0; position: relative; z-index: 2; font-size: 13px; height: 40px; }
#main-header { position: relative; padding: 5px 0; height: 60px;}
#main-header .main-menu-container { padding: 10px 0; }
#main-header .main-header-inner {display: flex; align-items: center; position: relative; z-index: 5; }
#main-header .logo>img {width: 60px; max-height: 50px; }
#main-header .search-form {max-width: 600px; margin: auto; position: relative; }
#main-header .search-form-container {flex: 1; padding: 0 30px; }
#main-header .search-form-container .overlay-input {position: absolute; top: 0; left: 0; right: 35px; bottom: 0; cursor: pointer; }
/*********************************** SEARCH *****************************************/
.search-form {width: 100%; }
.search-form .group-input {display: flex; position: relative; }
.search-form .group-input .input {flex: 1; height: 40px; line-height: 40px; border: 1px solid #DADAE4; border-right: none; background-color: #eef2f9; border-radius: 9999px; outline: none; z-index: 3; padding: 0 20px; }
.search-form .group-input .submit {width: 60px; height: 52px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border: none; background-color: #ffbe31; display: flex; align-items: center; justify-content: center; cursor: pointer; outline: none; }
#search-box {position: fixed; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; pointer-events: none; transition: all ease .3s; z-index: 200; }
#search-box.open {opacity: 1; pointer-events: all; }
#search-box .search-box-inner {position: absolute; }
#search-box .overlay {background: #24242F; opacity: 0.3; position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.search-form .btn-search {width: 35px; height: 35px; background-color: #D62828; border-radius: 50%; outline: none; line-height: 35px; color: var(--white); position:  absolute; top:  50%; transform: translateY(-50%); right: 5px; z-index: 5;}
.item-badge svg {fill: #111; width: 35px; }
.item-badge { position: relative; }
.item-badge .badge {position: absolute; top: 0px; right: 0px; transform: translate(50%, -50%); width: 20px; height: 20px; border-radius: 50%; background-color: #121212; font-size: 12px; color: var(--white); display: flex; align-items: center; justify-content: center; }
.hover__icon__nav:hover .custom__icon {display: none; }
.hover__icon__nav:hover .icon__hover {display: inline-block; }
.icon__hover {display: none; }
#menu-header .main-menu {list-style-type: none; padding: 0; display: flex; flex-direction: row; width: 100%; justify-content: center; }
#menu-header .main-menu>.nav-item {position: relative; padding: 0 15px; }
#menu-header .main-menu>.nav-item>.nav-link {display: flex; align-items: center; color: inherit; font-size: 16px; font-weight: 500; position: relative; color: var(--white); }
#menu-header .main-menu>.nav-item>.nav-link:before {content: ""; position: absolute; z-index: -1; left: 0; right: 100%; bottom: 10px; background: var(--white); height: 1px; -webkit-transition-property: right; transition-property: right; -webkit-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out; }
#menu-header .main-menu .nav-item sup {top: 0px; right: 5px; line-height: 13px; padding: 1px 3px; font-weight: 400; text-transform: uppercase; text-align: center; font-size: 10px; display: inline-block; border-radius: 1px; transition: all 0.2s; white-space: nowrap; position: absolute; color: var(--white); }
#menu-header .main-menu>.nav-item>.nav-link:hover:before, #menu-header .main-menu>.nav-item.active>.nav-link:before {right: 0; z-index: 1; }
#menu-header { background-color: #121212; padding-top: 60px;}

#menu-header .dropdown-menu { min-width: 300px; max-height: calc(100vh - 100px); overflow: auto; }
#menu-header .box { position: absolute; top: 40px!important; box-shadow: 0 3px 6px rgba(0,0,0,.2); }
.navbar-nav .dropdown-menu {position: relative; border-radius: 2px; } 
.navbar-nav .dropdown-menu .sub-menu a { display: block; padding: 7px 15px; font-size: 15px;}
#menu-header .box:before{ position: absolute; left: 20px; top: -13px; bottom: 100%; content: ' '; height: 0; width: 0; border: solid transparent; border-color: transparent; border-bottom-color: #e6f3f4; border-width: 8px; pointer-events: none; opacity: 0; z-index: 101;}
#menu-header .box.show:before { opacity: 1; }
.navbar-nav .dropdown-menu .sub-menu:focus, .navbar-nav .dropdown-menu .sub-menu:hover { background: #f3f4f7; }


/*Moblie Menu*/
#mobile-menu-overlay {position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 110; }
#mobile-menu-overlay .overlay {position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.7); }
#mobile-menu-overlay .mobile-menu-box {position: absolute; top: 0; left: 0; bottom: 0; width: 290px; background-color: var(--white); display: flex; flex-direction: column; }
#mobile-menu-overlay .user-info::after {top: 50%; transform: translateY(-50%) rotate(-45deg); right: 10px; }
#mobile-menu-overlay .mobile-menu {flex: 1; padding: 20px 0; list-style-type: none; overflow: auto; }
#mobile-menu-overlay .mobile-menu .nav-item {display: flex; flex-wrap: wrap; }
#mobile-menu-overlay .mobile-menu .nav-link {display: block; line-height: 44px; height: 44px; padding: 0 15px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; background: var(--white); flex: 1; color: #303D50; font-size: 13px; }
#mobile-menu-overlay {pointer-events: none; }
#mobile-menu-overlay .overlay {opacity: 0; transition: all ease .4s; }
#mobile-menu-overlay .mobile-menu-box {transition: all ease .4s; transform: translateX(-100%); }
#mobile-menu-overlay.open {pointer-events: all; }
#mobile-menu-overlay.open .overlay {opacity: 1; }
#mobile-menu-overlay.open .mobile-menu-box {transform: translateX(0); }
#mobile-menu-overlay .mobile-menu .toggle-dropdown {display: flex; align-items: center; justify-content: center; font-size: 16px; width: 44px; height: 44px; }
.hamburger-btn {position: relative; width: 19px; }
.hamburger-btn>span {display: block; width: 100%; height: 1px; background: #121212; }
.hamburger-btn>span:nth-of-type(2) {margin-top: 5px; margin-bottom: 5px; }
#mobile-menu-overlay .logo-main {padding: 8 0; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(0,0,0,.1); align-items: center; }
#mobile-menu-overlay .logo-main .close-button {padding: 16px; }
#mobile-menu-overlay .logo-main .close-button img {width: 20px }
#mobile-menu-overlay .logo-main a img {height: 100px; padding: 10px; width: 100px }

/*Heading*/
.heading .label {
    margin-left: 25px;
    border: 2px solid #D62828;
    border-radius: 3px;
    overflow: hidden;
    -ms-flex: 1 1;
    flex: 1 1;
}

.heading {
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
    margin-bottom: 20px;
}

.heading .view-more a {
    color: #121212;
    transition: all ease 0.4s;
    padding: 5px;
    line-height: 1;
    text-transform: uppercase;
}

.heading .view-more a:hover {
    color: #ffbe31;
}

.heading .main-title {
    position: relative;
    color: #333;
    font-size: 27px;
    font-weight: bold;
    margin-bottom: 0;
}


/*PRODUCT*/
.product-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 -8px;
    padding-bottom: 0;
}

.product-list__item {
    width: 25%;
    padding: 8px;
    background-color: var(--white);
}

.product-list__item a {
    display: block;
    border: 1px solid #e1e3e4;
    border-radius: 5px;
    overflow: hidden;
    height:  100%;
}

.product-list__item .wrap-img {
    background-color: #F2F2F2;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 100%;
}

/*.product-list__item .wrap-img:before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}*/

.product-list__item .wrap-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
}

.product-list__item .wrap-info {
    color: #272727;
    padding: 20px 10px;
}

.product-list__item .wrap-info .name {line-height: 16px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; display: -webkit-box; margin-bottom: 10px; font-weight: 600; }
.product-list__item .wrap-info .price {margin: 0; }
.product-list__item .wrap-info .price .woocommerce-Price-sale { color: #e83a45; font-weight: 700; font-size: 20px; }
.product-list__item .wrap-info .price  .woocommerce-Price-amount {font-size: 12px; color: #939393;}
.product-list__item:hover .wrap-img:before {-webkit-animation: shine .75s; animation: shine .75s; }
/*.product-category { display: flex; flex-wrap: wrap; margin: -5px; padding-left: 0; list-style: none;}*/
/*.product-category__item { width: 16.66%; padding: 5px;}*/
/*.product-category__item a { display: block; border: 1px solid #DADAE4; border-radius: 5px; }*/
/*.product-category__item a .name { font-size: 14px; line-height: 1.66; color: #121212; text-transform: uppercase; letter-spacing: 0.1px; text-align: center; font-weight: 800; padding: 12px 16px 10px; }*/

/*BLOG-2*/
.blog .group-blogs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.blog .group-blogs .left {
    width: 60%;
    padding-right: 5px;
}

.blog .group-blogs .left a {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.blog .group-blogs .left .wrap-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.9)));
    background: -o-linear-gradient(top, transparent, rgba(0, 0, 0, 0.9));
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
    color: var(--white);
    margin-left: unset;
}

.blog .left .wrap-info .title {
    color: var(--white);
    font-size: 20px;
}

.blog .group-blogs .right {
    width: 30%;
    padding-left: 5px;
}

.blog .blog-big .wrap-img { padding-top: 75%; }

.blog .wrap-img {
    position: relative;
    padding-top: 68%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(48, 51, 58, 0.1);
}

.blog .wrap-img img {
    -webkit-transition: all ease 0.4s;
    -o-transition: all ease 0.4s;
    transition: all ease 0.4s;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog .wrap-info {
    color: #444c59;
    margin-left: 15px;
}

.blog .wrap-info .title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #444c59;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.blog .wrap-info .date {
    opacity: 0.86;
    font-size: 12px;
    margin-top: 10px;
}

.blog .blog__list {
    list-style: none;
    padding-left: unset;
    margin-bottom: unset;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.blog .blog__list-item {
    margin-bottom: 10px;
}

.blog .blog__list-item .inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.blog .blog__list-item .inner .cover-img {
    position: relative;
    width: 100%;
    max-width: 120px;
}

.blog .blog__list-item .inner .wrap-info {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-left: 15px;
}

.blog .blog__list-item:last-child {
    margin-bottom: 0;
}

.blog .wrap-img:hover img {
    transform: scale(1.1) rotate(3deg);
}

.blog .blog__list-item a {
    display: block;
}


/*Footer*/
.footer-upper {
    margin: 30px 0 55px 0;
    position: relative;
}

.footer-upper .contact-form .errors {
    position: absolute;
}

.footer-upper h3 {
    text-align: center;
    font-size: 27px;
    font-weight: bold;
    margin-bottom: 30px;
}

.footer-upper .home {
    width: 450px;
    height: 52px;
    border: 1px solid transparent;
}

.footer-upper input {
    outline: none;
    padding-left: 20px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.footer-upper .contact_form_inputs {
    overflow: hidden;
    display: flex;
}

.footer-upper .newsletter__submit {
    background: #D62828;
    color: var(--white);
    padding: 16px 36px;
    line-height: 1;
    font-size: 14px;
    font-weight: 700;
    position: relative;
    float: right;
    height: 52px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.footer-upper .newsletter__submit:hover {
    background: #121212
}

.footer-upper .newsletter__submit:after {
    content: "";
    display: block;
    background: var(--white);
    transform: rotate(30deg);
    position: absolute;
    top: -11px;
    width: 29%;
    height: 109%;
    left: -19px;
    border-radius: 19px 0 0 0
}

.footer-social-icons {
    width: 100%;
}

.footer-content {
    padding: 40px 0 20px 0;
    display: flex;
    justify-content: space-between;
}

.footer-content .block {
    width: 14%
}

.footer-content .block:last-child {
    width: 20%
}

.footer-content .block-title {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: bold;
}

.footer-content .in-footer {
    list-style: none;
    margin: 0
}

.footer-content .in-footer .site-nav__link {
    margin: 0 0 13px 0;
    padding: 0;
    display: inline-block;
}

.hvr-underline-from-left {
    position: relative;
    display: inline-block;
    font-size:  14px;
}

.hvr-underline-from-left:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 100%;
    bottom: 0;
    background: var(--white);
    height: 2px;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.hvr-underline-from-left:hover:before, .hvr-underline-from-left:focus:before, .hvr-underline-from-left:active:before {
    right: 0;
    z-index: 1;
}

.site-footer {position: relative; background: #121212; }
.site-footer .wrapper {max-width: 1230px; width: 92%; margin: 0 auto; padding: 40px 15px; position: relative;}
.footer-content .footer-logo img {max-width: 100px; z-index: 9999; } .site-footer a:hover {color: var(--white); }
.site-footer .square {position: absolute; width: 230px; height: 317px; border-top: 316px solid #D62828; border-right: 230px solid transparent; top: 0; }
.site-footer .contact-form {display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; height: 38px; position: relative; }
.site-footer .social-icons li a {color: var(--white)fff; }
.site-footer a {color: var(--white); }
.site-footer .social-icons li {margin: 0px 0px 15px 15px; vertical-align: middle; color: var(--white)fff; display: inline-block; }
.footer-content .social-icons li a:hover {opacity: .7 }
.footer-content .social-icons li:first-child {margin-left: 0 }
.footer-copyright {text-align: left; padding: 10px 0; font-size: 14px; color: var(--white); background: var(--brand-red); text-align: center; } 
.footer-copyright a { color: var(--white); font-weight: 700; }


/* Container chung của thông báo */
.woocommerce-hqd {
    position: fixed;
    top: 100px; /* Cách top header một chút */
    right: 20px; /* Nổi bên phải màn hình */
    z-index: 99999;
    
    display: flex;
    align-items: center;
    gap: 12px;
    
    min-width: 300px;
    max-width: 400px;
    padding: 12px 16px;
    
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    
    animation: slideInRight 0.4s ease forwards;
}

/* Icon trạng thái (Tròn xanh/đỏ) */
.woocommerce-hqd .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.woocommerce-hqd .icon-box svg {
    width: 16px;
    height: 16px;
}

/* Màu sắc cho từng loại thông báo */
/* SUCCESS */
.woocommerce-hqd.success {
    border-left: 4px solid #8BC34A; /* Màu xanh lá giống hình */
}
.woocommerce-hqd.success .icon-box {
    background-color: #8BC34A;
}

/* ERROR */
.woocommerce-hqd.error {
    border-left: 4px solid #FF5252;
}
.woocommerce-hqd.error .icon-box {
    background-color: #FF5252;
}

/* Nội dung chữ */
.woocommerce-hqd .message-content {
    flex-grow: 1;
}

/* Nút tắt (X) */
.woocommerce-hqd .button-close {
    cursor: pointer;
    opacity: 0.5;
    transition: 0.2s;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.woocommerce-hqd .button-close:hover {
    opacity: 1;
    background: #f0f0f0;
    border-radius: 50%;
}
.woocommerce-hqd .button-close svg {
    width: 14px;
    height: 14px;
}

/* Hiệu ứng xuất hiện */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}






















