/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/*************** ADD CUSTOM CSS HERE.   ***************/
body {
	font-family: "Inter", sans-serif;
	font-size: 14px;
}
.section .section-content > .row > .col {
	padding-bottom: 0;
}
p {
	margin-bottom: 10px;
}
p:last-child {
	margin-bottom: 0
}
.icon-box-left {
	display: flex;
	align-items: center;
}
.icon-box-left p {
	margin-bottom: 0;
}
h1, h2, h3, h4, h5 {
	line-height: inherit;
}
.banner h1, .banner h2, .banner h3, .banner h4 {
	line-height: inherit;
}

.page-title-bar {
	padding: 6px 0;
    -webkit-box-shadow: 0 0 5px #ccc;
    box-shadow: 0 0 5px #ccc;
    z-index: 1;
    position: relative;
}
.box.product-small {
    margin-bottom: 10px;
    margin-top: 5px;
    padding: 10px;
    background: #ffffff;
    position: relative;
    border-radius: 10px;
    -webkit-box-shadow: rgb(60 64 67 / 10%) 0px 1px 2px 0px, rgb(60 64 67 / 15%) 0px 2px 6px 2px;
    box-shadow: rgb(60 64 67 / 10%) 0px 1px 2px 0px, rgb(60 64 67 / 15%) 0px 2px 6px 2px;
    transition: .3s;
}
@media(min-width: 850px) {
  .box.product-small {
    min-height: 425px;
  }
}
.product-small .price-wrapper .price {
    margin: 10px 0;
}
.product-small .title-wrapper a {
    color: #000;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.product-small:hover .title-wrapper a {
	color: #e0052b;
}
.product-small .price-wrapper .price ins {
    margin-right: 5px;
}
.product-small .price-wrapper span.amount, 
.product-small .price-wrapper ins span.amount {
    font-size: 16px;
    color: #e0052b;
}
.price-wrapper .price del {
    text-decoration: none;
}
.product-small .price-wrapper .price del span.amount {
    opacity: 1;
    color: #777;
    font-size: 12px;
    text-decoration: line-through;
}
.product-small .box-text {
	padding-bottom: 0;
}
.product-small .box-text-products .promotion {
    background: #FFF4CE;
    border-radius: 3px;
    padding: 5px;
    font-size: 13px;
	color: #000;
}
.badge {
    height: 30px;
    width: 70px;
    font-size: 13px;
    margin-left: -4px;
    margin-top: -20px;
}
.badge-circle-inside .badge-inner, .badge-circle .badge-inner {
    border-radius: 8px 30px 30px 0;
    background: #f00;
    position: relative;
    padding: 0 5px;
}
.row-collapse .badge-circle {
  margin-left: -3px;
}
.badge-inner.on-sale:before {
  content: 'Giảm: ';
}
.badge-circle-inside .badge-inner:after, .badge-circle .badge-inner:after {
    position: absolute;
    content: '';
    width: 3px;
    height: 15px;
    background: #07467d;
    bottom: -5px;
    left: 0;
    z-index: -1;
    border-radius: 0 0 0 15px;
}
.product-small .box-image {
    position: relative; /* cần thiết để badge định vị theo box-image */
}

.hot-sale-badge {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 80px !important;
    height: auto;
    z-index: 9;
    color: #ffffff;
}
.screen-product {
    position: absolute;
    z-index: 2;
    top: 50px;
    left: -3px;
    background: #007434;
    padding: 3px 10px;
    color: #ffffff;
    border-radius: 4px 30px 30px 0px;
    font-size: 12px;
    font-weight: bold;
}
.screen-product-box {
  position: relative;
}
.screen-product-box:after {
    position: absolute;
    content: '';
    width: 3px;
    height: 15px;
    background: #1F6A00;
    bottom: -5px;
    left: -10px;
    z-index: -1;
    border-radius: 0 0 0 15px;
}
table {
    border: 1px solid #F2F2F2;
    border-radius: 1rem;
    overflow: hidden;
}
table tbody tr:nth-child(odd) {
    background: #F2F2F2;
}
table tr:nth-child(-n+10) {
    display: table-row;
}
table td:first-child {
    padding-left: 10px;
}
table table tr:nth-child(-n+10) {
    display: table-row;
}
.product-section-title.product-section-title-related {
	text-transform: none;
	font-size: 30px;
}
h1.product-title {
	margin-bottom: 0;
}

.woocommerce-tabs.tabbed-content .tabs {
	display: none;
}

.product_list_widget li .amount,
.product_list_widget li ins .amount {
	color: #e0052b;
}
.product_list_widget li del {
	text-decoration: none;
}
.product_list_widget li del .amount {
	color: #333;
	opacity: .8;
	text-decoration: line-through;
}
.from_the_blog_excerpt {
	color: #333;
}
.col.post-item .box .post-title {
	font-size: 18px;
}
.col.post-item .box:hover .post-title {
	color: #e0052b;
}
span.widget-title {
	display: block;
	font-size: 18px;
/* 	background: #e0052b; */
	color: #ffffff;
	padding: 10px 15px;
	margin-bottom: 10px;
	border-left: 4px solid #000;
}
.widget .is-divider {
	display: none;
}

.nav-dark .form-flat input:not([type=submit]) {
	background-color: #ffffff !important;
	border-radius: 6px;
	color: #333 !important;
	height: 36px;
}
.form-flat .button.icon {
	color: #333 !important;
}

.form-flat input:not([type=submit])::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #333;
}
.form-flat input:not([type=submit])::-moz-placeholder { /* Firefox 19+ */
  color: #333;
}
.form-flat input:not([type=submit]):-ms-input-placeholder { /* IE 10+ */
  color: #333;
}
.form-flat input:not([type=submit]):-moz-placeholder { /* Firefox 18- */
  color: #333;
}

.box-hotline {
	font-size: 12px;
	background-image: url(images/call-icon.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 35px;
	line-height: 15px;
}
.box-hotline span {
	display: block;
}
.box-hotline a {
	color: #fff;
	display: block;
	font-weight: bold;
}
.box-hotline a:hover {
	color: yellow;
}
.box-map {
	font-size: 12px;
	background-image: url(images/map-icon.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 10px 0;
	padding-left: 30px;
	line-height: 15px;
}
.box-map a {
	color: #fff;
}
li.header-search-form {
    width: 340px;
}

.sidebar-wrapper > li {
	margin-left: 0 !important;
}
/* ===== SIDEBAR MENU - Surface24h Style ===== */

.sidebar-wrapper {
  position: relative;
}

.sidebar-wrapper .ul-reset,
.sidebar-wrapper ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* === Main menu container === */
#menu-danh-muc-san-pham {
  background: #ffffff;
  border-radius: 16px;
  -webkit-box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  overflow: visible;
  padding: 0;
}

/* === Top-level menu items === */
#menu-danh-muc-san-pham > li {
  position: relative;
}

#menu-danh-muc-san-pham > li > a {
  display: flex;
  align-items: center;
  padding: 6.5px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  gap: 10px;
  transition: background 0.15s;
}

#menu-danh-muc-san-pham > li > a:hover,
#menu-danh-muc-san-pham > li:hover > a {
  background: #f5f5f5;
}

/* === Arrow icon for items with children === */
#menu-danh-muc-san-pham > li.has-child > a::after {
  content: '›';
  margin-left: auto;
  font-size: 13px;
  color: #999;
  font-weight: 400;
}

/* Hide the toggle button (using CSS arrow instead) */
#menu-danh-muc-san-pham > li > button.toggle {
  display: none;
}

/* === Submenu (flyout) === */
#menu-danh-muc-san-pham > li > ul.sub-menu {
  display: none;
  position: absolute;
  left: 98%;
  top: 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
  width: 220px;
  padding: 0px 0;
  z-index: 999;
}

/* Show submenu on hover */
#menu-danh-muc-san-pham > li:hover > ul.sub-menu {
  display: block;
}

/* === Submenu items === */
#menu-danh-muc-san-pham > li > ul.sub-menu > li > a {
  display: flex;
  align-items: center;
  padding: 7.3px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  gap: 10px;
  transition: background 0.15s;
  font-size: 13px;
}

#menu-danh-muc-san-pham > li > ul.sub-menu > li > a:hover {
  background: #f5f5f5;
}



.radius {
	border-radius: 1rem;
    -webkit-box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    overflow: hidden;
}
/* ===== Section Title Container ===== */
.at-title-product.section-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  margin-bottom: 5px;
}
.at-title-product .section-title {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: none;
  width: 100%; /* thêm */
}
.at-title-product .section-title span {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  display: block;
  width: 100%;
  text-transform: none;
  text-transform: uppercase;
  border-left: 3px solid;
  line-height: 20px;
  padding-left: 8px;;
}

/* ===== Main Title Text ===== */
.at-title-product .section-title-main {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

/* ===== Category Tabs List ===== */
.at-title-product .hpt-show-cats {
  display: flex;          /* đổi từ contents → flex */
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: none;                /* chiếm không gian còn lại */
  min-width: 0;
  overflow: hidden;       /* desktop: ẩn overflow */
}
.at-title-product .hpt-show-cats li {
  flex-shrink: 0;
  margin-bottom: 0;
  margin: 0;
}
.at-title-product .hpt-show-cats li a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 5px;
  background-color: #F3F4F6;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  font-weight: normal;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.at-title-product .hpt-show-cats li a:hover,
.at-title-product .hpt-show-cats li.active a {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ===== "Xem tất cả" Link ===== */
.at-title-product .hpt_hdevvn_viewall a,
.at-title-product .section-title > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 5px;
  background-color: #F3F4F6;
  margin: 0;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  font-weight: normal;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.at-title-product .hpt_hdevvn_viewall a:hover,
.at-title-product .section-title > a:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}
.at-title-product .section-title > a .icon-angle-right,
.at-title-product .hpt_hdevvn_viewall a .icon-angle-right {
  font-size: 11px;
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
  .at-title-product.section-title-container {
    flex-wrap: wrap;      /* cho phép xuống dòng */
    gap: 8px;
  }
  .at-title-product .section-title {
    flex-wrap: nowrap;
    width: 100%;          /* title + viewall chiếm full hàng đầu */
  }
  .at-title-product .section-title span {
    width: auto;
  }
  .at-title-product .hpt-show-cats {
    width: 100%;          /* xuống hàng riêng */
    flex-shrink: 0;
    overflow-x: auto;     /* scroll ngang */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
  }
  .at-title-product .hpt-show-cats li {
    margin: 0;
  }
  .at-title-product .hpt-show-cats::-webkit-scrollbar {
    display: none;
  }
  /* Ẩn "Xem tất cả" trên mobile nếu đã nằm trong ul */
  .at-title-product .hpt_hdevvn_viewall {
    display: none;
  }
}

.row-small>.col.product-small {
	padding-bottom: 5px;
}
.icon-box-cat .icon-box {
	position: relative;
}

.icon-box-cat .icon-box-img img {
    padding-top: 0px;
}

.icon-box-cat.icon-box .icon-box-text {
    position: absolute;
    top: 10px;
    width: 95px;
    left: 12px;
    color: #fff;
    text-align: left;
    font-weight: 700;
}
.shop-page-title {
    padding: 5px 0;
    -webkit-box-shadow: 0 0 5px #ccc;
    box-shadow: 0 0 5px #ccc;
    z-index: 1;
}
.page-title-inner {
  padding-top: 0;
}
.cat-filter-bar {
  padding: px 0 8px;
}
.cat-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-filter-item a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary-color);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}
.cat-filter-item a:hover,
.cat-filter-item.active a {
  background: #0D47A1;
  color: yellow;
}

h1.page-title {
  text-align: left;
  font-size: 26px;
}
.post-vertical .col.post-item {
  padding-bottom: 0px;
}
.post-vertical .col.post-item .col-inner {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ededed;
}
.col.post-item .box-vertical .post-title {
  font-size: 16px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.col.post-item .box-vertical .is-divider {
  display: none;
}

.isures-global__title-small {
  display: block;
  margin-top: 0;
  font-weight: bold;
}
.isures-sdc--content_expires {
  display: block;
}
.isures-sdc--content_right {
  display: block;
  margin-top: 0;
}
.isures-sdc__cond-btn {
  display: none;
}
.isures-sdc--content_left {
  padding-right: 0;
}

.woocommerce-product-gallery__wrapper {
  border: 1px solid #ededed;
}

.specifications-home {
  background-color: #F1F1F1;
  padding: 5px;
  margin-bottom: 5px;
}
.specifications-home-item {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
	    color: #000;
}
.specifications-home-title {
  font-weight: bold;
  margin-right: 6px ;
}

/* .box-col-sale > .col-inner {
  background-image: url(images/Section.png);
  background-size: cover;
} */
.box-col-sale .col-inner .img-sale img,
.box-col-sale .col-inner .img-sale {
  border-radius: 20px 20px 0 0;
}
.header-vertical-menu__opener {
  border-radius: 10px;
}
.header-main .header-nav.header-nav-main.nav.nav-right li.cart-item {
  margin-left: 150px;
}
.home .widget.widget_nav_menu {
  background: #fff;
  -webkit-box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  border-radius: 16px;
}
.widget_nav_menu ul.menu>li+li {
  border: none;
}
.widget_nav_menu ul.menu>li>a {
  padding: 5.8px 10px;
  font-size: 13px;
  font-weight: 500;
  color: #000;
}
.page-title {
  color: var(--primary-color);
  border-left: 3px solid;
  padding-left: 8px;
  margin-bottom: 25px;
}
.star-rating {
  font-size: 12px;
}
@media (min-width: 850px) {
    .widget .toggle i {
      transform: rotate(-90deg);
    }
    .widget_nav_menu ul.menu>li {
      padding-right: 5px;
    }
    /* Menu cha chứa sub-menu cần có position relative */
    .sidebar-wrapper .menu-item-has-children {
        position: relative;
    }

    /* Ẩn sub-menu mặc định */
    .sidebar-wrapper .menu-item-has-children .sub-menu {
        display: none;
        position: absolute;
        top: 0;
        left: 100%; /* bung ra bên phải item cha */
        min-width: 220px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
        z-index: 999;
        padding: 10px 0;
        margin: 0;
        list-style: none;
        border-radius: 16px;
    }

    /* Hover vào item cha thì hiện sub-menu */
    .sidebar-wrapper .menu-item-has-children:hover .sub-menu {
        display: block;
    }

    /* Style item trong sub-menu */
    .sidebar-wrapper .sub-menu .menu-item {
        width: 100%;
    }

    .sidebar-wrapper .sub-menu .menu-item a {
        display: block;
        padding: 8px 20px;
        white-space: nowrap;
        color: #333;
        text-decoration: none;
    }

    .sidebar-wrapper .sub-menu .menu-item a:hover {
        background: #f5f5f5;
        color: #000;
    }

    /* Ẩn nút toggle (mũi tên) trên desktop vì dùng hover thay vì click */
    .sidebar-wrapper .toggle {
        pointer-events: none;
    }

}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .at-title-product.section-title-container {
    flex-wrap: nowrap;
    align-items: center;
  }

  /* Title stays fixed on the left */
  .at-title-product .section-title-main {
    font-size: 14px;
  }

  /* Tabs area scrolls horizontally */
  .at-title-product .hpt-show-cats {
    flex: 1;
    min-width: 0;
  }

  .at-title-product .hpt-show-cats li a {
    font-size: 12px;
    padding: 5px 12px;
  }

  .at-title-product .section-title > a {
    font-size: 12px;
    padding: 5px 12px;
  }
}

@media (min-width: 850px) {
	.row-top.row-small {
		max-width: 1279.5px !important;
	}
  .row-top.row-small>.col {
    padding: 0 5px 19.6px;
  }
	.row-top .col-center {
		flex-basis: 60.333333%;
    	max-width: 60.333333%;
	}
	.row-top .col-right {
		flex-basis: 23%;
    	max-width: 23%;
	}
	.row-10 > .col {
		max-width: 10%;
		flex-basis: 10%;
	}

}



@media only screen and (max-width: 480px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
  .slide-product-custom .col {
    padding-bottom: 0 !important;
  }
  .cps-btn {
    font-size: 10px !important;
  }
  body .isures-sdc--logo_left {
    min-width: 60px;
    width: 60px;
  }
  body .isures-sdc--info_wrap {
    padding-left: 70px;
  }
  body .isures-sdc--item {
    min-height: initial !important;
  }
  .product-small .price-wrapper .price del span.amount {
    font-size: 11px;
  }
  .product-small .price-wrapper span.amount, .product-small .price-wrapper ins span.amount {
    font-size: 12px;
  }
  .specifications-home,
  .product-small .box-text-products .promotion {
    font-size: 12px;
  }
  .attr-filter-select {
    padding: 7px 12px 7px 12px !important;
  }
  .tammi-payment-card {
    max-width: 100% !important;
  }
}

.custom-cat-banner-wrap {
    margin: 20px 0;
}

/* Swiper slider */
.custom-banner-sliders {
    position: relative;
    padding: 0 0px;
    overflow: hidden; /* chặn item lấp ló phía ngoài vùng hiển thị */
}

.custom-banner-slide a {
    display: block;
}

.custom-banner-slide img {
    width: 100%;
    display: block;
}

.custom-banner-prev,
.custom-banner-next {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    top: 50%;
    margin-top: -18px;
}

.custom-banner-prev::after,
.custom-banner-next::after {
    font-size: 14px;
    color: #2075bf;
    font-weight: bold;
}

.custom-banner-prev {
    left: 0;
}

.custom-banner-next {
    right: 0;
}

/* Brand tags */
.custom-brand-tags {
    display: block;
    gap: 30px;
    /*margin-top: 40px;*/
    justify-content: center;
}

.custom-brand-tag {
     background: #2075bf;
    color: #fff;
    padding: 6px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s;
    flex-shrink: 0;
    margin: 0 15px 14px 0px;
    display: inline-block;
}

.custom-brand-tag:hover {
    background: #f5a623;
    color: #fff;
}

@media (max-width: 768px) {
    .custom-brand-tags {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }

    .custom-brand-tag {
        scroll-snap-align: start;
    }

    .custom-brand-tags::-webkit-scrollbar {
        height: 4px;
    }

    .custom-brand-tags::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

    .custom-brand-tags::-webkit-scrollbar-track {
        background: transparent;
    }
}

.footer-menu-mobile {
  display: none;
}
#mcm-overlay {
display: none;
}
.widget_nav_menu li li a img {
  display: none !important;
}
@media only screen and (max-width: 849px) {
#mcm-overlay {
/*  visibility: visible;
  position: initial;*/
}

.widget_nav_menu li li a img {
  display: block !important;
}
  .footer-menu-mobile {
      position: fixed;
      bottom: 0;
      width: 100%;
      z-index: 99999;
      display: block;
      background-color: #fff;
  }
  .footer-menu-mobile ul.menu {
      border-radius: 0;
      display: flex;
      padding: 5px 0;
      margin-bottom: 0;
  }
  .footer-menu-mobile ul.menu > li {
      width: calc(100% / 5);
  }
  .footer-menu-mobile ul.menu > li > a {
      flex-flow: column;
      font-size: 12px !important;
      padding: 6px 0 !important;
      white-space: nowrap;
      display: flex;
      align-items: center;
      justify-content: space-between;
  }
  .footer-menu-mobile ul.menu > li > a img {
      filter: grayscale(1);
      margin-bottom: 5px;
      margin-right: 0;
  }


  /* ===== MOBILE MENU PANEL ===== */
  #mcm-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 99;
  }
  #mcm-overlay.open { display: flex; align-items: flex-end; }

  #mcm-backdrop {
      position: absolute;
      inset: 0;
      /*background: rgba(0,0,0,.5);*/
  }
  #mcm-panel {
      position: relative;
      width: 100%;
      background: #fff;
      border-radius: 0;
      max-height: 90vh;
      display: flex;
      flex-direction: column;
      animation: mcm-up .25s ease;
      padding-bottom: 64px; /* tránh bị footer bar che */
  }
  @keyframes mcm-up {
      from { transform: translateY(100%); }
      to   { transform: translateY(0); }
  }

  /* Header */
  .mcm-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 16px;
      border-bottom: 1px solid #f0f0f0;
      flex-shrink: 0;
      display: none;
  }
  .mcm-header > span { font-size: 15px; font-weight: 700; color: #111; }
  #mcm-close {
      background: #f2f2f2;
      border: none;
      border-radius: 50%;
      width: 30px; height: 30px;
      font-size: 16px;
      cursor: pointer;
      color: #555;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  /* Body */
  .mcm-body {
      display: flex;
      flex: 1;
      overflow: hidden;
      min-height: 0;
  }

  /* Cột trái */
  .mcm-left {
      width: 80px;
      flex-shrink: 0;
      background: #f5f5f5;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      list-style: none;
      margin: 0;
      padding: 4px 0;
  }
  .mcm-cat-item > a {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 10px 4px;
      font-size: 10.5px;
      line-height: 1.35;
      color: #444;
      text-decoration: none;
      border-left: 3px solid transparent;
      transition: background .15s;
       pointer-events: none;
      cursor: default;
      text-decoration: none;
      color: black;
  }
  .mcm-cat-item.active > a {
      background: #fff;
      border-left-color: #e63329;
      color: #e63329;
      font-weight: 700;
  }
  .mcm-cat-item > a img {
      width: 44px; height: 44px;
      object-fit: contain;
      margin-bottom: 5px;
      display: block;
      filter: drop-shadow(0 1px 2px rgba(0,0,0,.08));
  }
  .mcm-no-img {
      width: 44px; height: 44px;
      background: #e8e8e8;
      border-radius: 6px;
      display: block;
      margin-bottom: 5px;
  }

  /* Cột phải */
  .mcm-right {
      flex: 1;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding: 8px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 6px;
      align-content: start;
  }
  .mcm-sub-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      text-decoration: none;
      color: #222;
      font-size: 11px;
      line-height: 1.35;
      padding: 8px 4px;
      /*border: 1px solid #efefef;*/
      border-radius: 8px;
      background: #fff;
      transition: border-color .15s;
  }
  .mcm-sub-item:active { background: #f9f9f9; border-color: #ddd; }
  .mcm-sub-item img {
      width: 60px; height: 60px;
      object-fit: contain;
      margin-bottom: 5px;
      display: block;
  }
  .mcm-sub-item .mcm-no-img { width: 60px; height: 60px; }

  /* Item "Tất cả" đầu cột phải */
  .mcm-sub-all {
      border: 1px dashed #ddd;
      background: #fafafa;
      color: #666;
  }
  .mcm-all-icon {
      font-size: 22px;
      margin-bottom: 5px;
      display: block;
      color: #999;
  }

  /* View all (khi parent không có con) */
  .mcm-view-all {
      grid-column: 1 / -1;
      text-align: center;
      padding: 30px 16px;
      font-size: 14px;
      color: #e63329;
      text-decoration: none;
      font-weight: 600;
  }

  /* Lock scroll khi mở */
  body.mcm-lock { overflow: hidden; height: 100vh; }
    /* */
    .col-sp-mb {
      background: url('https://surface24h.com.vn/wp-content/uploads/2026/09/deal-doc-quyen-mobile-scaled.png') center 0 no-repeat;
      background-size: 100%;
      /*height: 643px;*/
    }
    .col-sp-mb .tabbed-content .nav li {
        background: url('https://surface24h.com.vn/wp-content/uploads/2026/09/1.png') right center no-repeat;
        background-size: 154px;
        width: 48%;
    }
    .col-sp-mb .tabbed-content .nav li:nth-child(2) {
      background: url('https://surface24h.com.vn/wp-content/uploads/2026/09/2.png') left center no-repeat;
      background-size: 154px;
    }
    .col-sp-mb .tabbed-content .nav li a span {
      visibility: hidden;
    }
    .col-sp-mb .tabbed-content {
      padding-top: 40px;
    }
    .product-small .price-wrapper .price {
      height: 24px;
    }
    .no-p-mb p {
      margin-bottom: 0;
    }
}

/* 111 */
body .header-cart-link {
  margin-left: 10px;
}
.cus-count .ux-timer.light span {
  background: none;
}
.cus-count .ux-timer {
  margin: -20px 0 0;
}
.cus-count .ux-timer span {
  color: #fff !important;
  /*text-shadow: 2px 2px #ff0000;*/
}
body #mega_menu {
    width: 139%;
    left: initial;
    right: 165px;
    top: 29px;
}
body #mega_menu li li img  {
  /*left: -230px;*/
  display: none;
}

body #mega-menu-title {
    width: 213px;
    position: absolute;
    right: 0;
    top: -21px;
    padding: 0 52px 0 0;
    line-height: 50px;
    text-align: center;
}
body #mega-menu-title i:before {
  content: '' !important;
}
body #mega-menu-title i {
    background: #ffffff38;
    width: 100px;
    position: absolute;
    right: 73px;
    top: 8px;
    height: 32px;
    border-radius: 30px;
}
body.ot-overplay.active-menu main#main:before,
body.ot-overplay.active-menu footer#footer:before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 2;
}
/* */
.col-sanphamkm .tab {
	transition: 0.8s ease-out;
	bottom: 4px;
}
.col-sanphamkm .tab:hover {
    -webkit-transform: translate3d(0, -10px, 0);
    -moz-transform: translate3d(0, -10px, 0);
    -ms-transform: translate3d(0, -10px, 0);
    -o-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
}

/* 1. Ẩn ô màu swatch cũ */
.woocommerce-widget-layered-nav-list .ux-swatch-widget-layered-nav-list__graphic {
    display: none !important;
}

/* 2. Cấu hình danh sách */
.woocommerce-widget-layered-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 3. Căn chỉnh từng hàng (Tên bên trái, số lượng bên phải) */
.woocommerce-widget-layered-nav-list__item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
}

/* 4. Thêm ô vuông giả lập Checkbox trước tên */
.widget .woocommerce-widget-layered-nav-list__item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
}

.widget .woocommerce-widget-layered-nav-list__item a::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #767676;
    border-radius: 2px;
    margin-right: 10px;
    box-sizing: border-box;
    flex-shrink: 0;
	position: relative;
	top: 3px;
}
.widget .woocommerce-widget-layered-nav-list__item.chosen a::before {
	content: '✔' !important;
	border-radius: 2px !important;
	margin-right: 10px !important;
	opacity: 1 !important;
	background-color: var(--primary-color) !important;
	color: #fff !important;
}

/* Hiệu ứng khi di chuột vào tên */
.woocommerce-widget-layered-nav-list__item a:hover::before {
    border-color: #333;
}

/* 5. Định dạng số lượng đếm bên phải */
.woocommerce-widget-layered-nav-list__item .count {
    color: #8f8f8f;
    font-size: 13px;
    margin-left: 10px;
}
