@font-face {
  font-family: 'barlow-bold';
  src: url('../css/fonts/barlow-bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'barlow-italic-bold';
  src: url('../css/fonts/barlow-bolditalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'barlow-italic';
  src: url('../css/fonts/barlow-italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'barlow-black';
  src: url('../css/fonts/barlow-black.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'barlow-regular';
  src: url('../css/fonts/barlow-regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --yellow: #fee795 --menu-bg: linear-gradient(to right, var(--red), var(--red-dark));
  --burger: #FFF;
  --menu-bg: #FFF;
  --header: #FFF;
  --vang: #f9d256;
  --primary-red: #921a27;
}

html,
body {
  font-family: 'barlow-regular' !important;
  font-size: 16px;
  line-height: 1.3em;
  scroll-behavior: smooth;
  height: auto;
}

.container .boundary {
  width: 100%;
  max-width: 1200px;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 16
}

a {
  color: inherit;
}

.button { border-radius:5px!important; }

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.owl-carousel { padding:0 7px; box-sizing:border-box; }
.product-detail .owl-carousel, .banner .owl-carousel { padding:0; }
.owl-stage { display:flex; flex-direction:row; align-items:stretch; }
.owl-stage .owl-item { flex:1;  }

#menu_content .submenu {
  display: none;
}

.desktop-search-bar { display:none; }

.main-menu {
  position: relative;
  /* mặc định KHÔNG fixed */
  top: auto;
  left: 0;
  right: 0;

  background: var(--menu-bg);
  color: #FFF;
  height: 70px;
  font-family: "barlow-bold";
  font-size: 1.4em;

  z-index: 9999;
  overflow: visible;
  pointer-events: unset;

  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);

  will-change: transform, opacity, background;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;

  transition:
    background 220ms ease,
    box-shadow 220ms ease;
}


.main-menu.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  animation: menuSlideDown 500ms ease both;
}

#header_menu .logo-layer {
  max-width: 100%;
  padding-left: 10px;
  display:flex; justify-content:start;
}

@keyframes menuSlideDown {
  from {
    transform: translate3d(0, -100%, 0);
    opacity: 0.6;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-menu.is-scrolled {
    animation: none;
  }
}

.heading .boundary { width:96%; }

.box-menu {
  height: 100%;
  position: relative;
  z-index: 1;
  flex-direction:row;
}
.header-cart-container .icon-search1 { display:none; }
.box-menu .header-label { display:none; }
.header-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  margin-left:auto;
}
.header-top-right .name-header {
	display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
	line-height:70px;
	margin-right:25px;
	height:70px;
}
.header-top-right .name-header .header-cart-container { padding-top:7px; }

.header-top-right .text-header {
  color: #222;
  font-family: "barlow-regular";
  margin: 0;
  line-height: 1.2;
  font-size: 0.8em;
}

.header-top-right .phone-header {
  display: none;
}

.menu-placeholder {
  height: 131px;
  display: none;
}

.menu-placeholder.is-active {
  display: block;
  height: 91px;
}

.main-menu .boundary {
  padding: 0;
  line-height: 60px;
  text-align: center;
  position: unset;
  height: 100%;
}

.main-menu .hamburger {
  position: relative;
  float: right;
  justify-content: center;
  padding-right: 10px;
  z-index: 2222222;
  box-sizing: border-box;
  margin-top: 3px;
}

.main-menu .main-menu-content {
  display: none;
}

.main-menu .mm-logo {
  display: inline-block;
  float: left;
  position: relative;
  z-index: 9999;
  height: 60px;
  max-width: 150px;
  top: 3px;
}

.main-menu .mm-logo img {
  height: 100%;
  width: 100%;
  position: relative;
  object-fit: contain;
}

.main-menu .mm-content {
  position: fixed;
  left: -100%;
  top: 0px;
  width: 100%;
  max-width: 900px;
  height: 100vh;
  z-index: 10000;
  color: var(--primary-red);
  background: var(--header);
  text-align: left;
  list-style-type: none;
  padding: 0 0 0;
  margin: 0;
  font-size: .9em;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  transition: all .5s;
}

.main-menu .mm-content .mmc-logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
}

.main-menu .mm-content .mmc-logo img {
  width: 100%;
  height: auto;
}

.main-menu .mm-content.active {
  left: 0;
}

.main-menu .mm-background {
  content: "";
  /* background-color: rgb(0, 0, 0, .5); */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  display: none!important;
}

.main-menu .mm-background .icon-x {
  position: absolute;
  top: 10px;
  right: 10px;
  line-height: 1em;
  font-size: 1.5em;
  color: #fff;
}

.main-menu .mm-content>li {
  padding: 0 10px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  line-height: 30px;
  position: relative;
  font-size: .85em;
  border-bottom: 1px solid #DDD;
  margin: 0 10px;
}


.main-menu .mm-content li.mmc-logo a {
  border-bottom: 0;
}

.main-menu .mm-content li a {
  display: block;
  width: fit-content;
  line-height: 40px;
  padding: 10px 0;
  font-size: 0.95em;
  font-weight: normal;
  position:relative;
  z-index:5;
}

.icon-x {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 10000;
}

.main-menu .mm-content li a::before {
  color: white;
  font-size: 0.8em;
  margin-right: 8px;
  vertical-align: middle;
}

#menu_content .submenu {
  display: none;
  list-style-type: none;
  padding-left: 20px;
  padding-bottom:1.5em;
  border-top: 1px solid #fff2;
}

#menu_content .submenu li a {
  display: block;
  border-bottom: 1px solid #fff2;
  padding: 0;
  color: var(--primary-red);
  font-size: 1em;
  font-weight: normal;
}

.mm-content li.has-submenu>a {
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  line-height: 1.5;
}

.mm-content li.has-submenu a.full-width { width:100%; }

.mm-content li.has-submenu>a .arrow {
  float: right;
  width: 10px;
  height: 10px;
  margin-right: 8px;
}

#menu_content.mm-content li.has-submenu.hovering>.submenu {
  display: block;
}

.main-menu .mm-content li.anchor.stop a {
  pointer-events: none;
}

.main-menu .mm-content li i {
  line-height: 40px;
  font-size: 1.2em;
  color: var(--primary-red);
  margin-left: 5px;
  transition: all .5s;
  margin-top: -5px;
  position: absolute;
  right: 15px;
  top: 10px;
  width:100%; text-align:right;
  z-index:1;
}

.main-menu .mm-content li.active i {
  transform: unset;
}

.main-menu .mm-content li .mmc-sub-items {
  height: auto;
  display: none;
  margin: 0;
  list-style-type: none;
  padding: 0;
  overflow: hidden;
}

.main-menu .mm-content li .mmc-sub-items li {
  padding: 0 0 0 20px;
  color: var(--text-color) !important;
}

.main-menu .mm-content li .mmc-sub-items li.parent {
  text-transform: uppercase;
  color: var(--black) !important;
  font-weight: bold;
}

.main-menu .mm-content li .mmc-sub-items li:hover a {
  color: var(--red);
}

.main-menu .mm-content {
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ccc #000;
}

.mm-content-logo {
  width: 180px;
  height: auto;
  margin: 0 auto;
}

.mm-content-logo img {
  width: 100%;
}

/* nút tìm kiếm */
/* .search-container1 {
  display: none;
  align-items: center;
  border: 1.5px solid var(--primary-red);
  border-radius: 20px;
  padding: 2px 2px 2px 8px;
  width: 340px;
  background-color: #fff;
  margin-left: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
} */

.search-container1 {
	display: none;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--primary-red);
	border-radius: 30px;
	overflow:hidden;
	background-color: #fff;
	box-sizing: border-box;
	padding: 0;
	margin: 2em auto;
	width:90%;
	height:36px;
}

.mm-content.active .search-container1 {
  display: flex;
}

.search-input1 {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: #333;
  background: transparent;
  padding:0 20px;
}

.search-input1::placeholder {
  color: #232323;
  opacity: 0.9;
}

.search-btn1 {
	background: none;
	border: none;
	color: #fff;
	background-color: var(--primary-red);
	cursor: pointer;
	font-size: 16px;
	padding: 0 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 4px 20px;
	height: 100%;
	border-radius: 0 3px 3px 0;
}

/* .search-btn1:hover {
  color: #7e1b25;
} */

/* logo */
.logo-wrap {
  position: absolute;
  top: 0;
  left: 0;
  height: 65px;
  width: 35%;
  background-color: #fff;
  border-radius: 0 0 8px 0;
  z-index: 22;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.logo-wrap::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -26px;
  width: 40px;
  height: 73px;
  background-color: #fff;
  transform: skewX(20deg);
  box-shadow: inset 5px 0 5px rgba(0, 0, 0, 0.1);
}

/* banner */
.banner {
  width: 100%;
  height: auto;
  height:calc(100vh - 80px);
  overflow: hidden;
  position: relative;
}
.banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		#f3f3f3 25%,
		#e5e5e5 50%,
		#f3f3f3 75%
	);
	background-size: 200% 100%;
	animation: bannerLoading 2s infinite linear;
	z-index: 1;
}
@keyframes bannerLoading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}
/* Mặc định hiển thị cụm slider Desktop và ẩn cụm slider Mobile */
.banner-desktop-wrapper {
	display: block;
}
.banner-mobile-wrapper {
	display: none;
}

/* Khi màn hình nhỏ hơn 768px: Ẩn Desktop và bật hiển thị Mobile */
@media (max-width: 767px) {
	.banner-desktop-wrapper {
		display: none;
	}
	.banner-mobile-wrapper {
		display: block;
	}
}

.banner picture {
  display: block;
  width: 100%;
  height:calc(100vh - 80px);
}

.banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* nút banner */
#banner-slider .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
  display: none;
}

#banner-slider .owl-nav button {
  pointer-events: auto;
  background: transparent;
  border: 1px solid #e3e3e3;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

/* Mũi tên */
#banner-slider .owl-nav button span {
  position: relative;
  width: 16px;
  height: 16px;
  display: block;
  font-size: 0;
}

#banner-slider .owl-nav .owl-prev span::before,
#banner-slider .owl-nav .owl-next span::before {
  content: "";
  position: absolute;
  width: 60%;
  height: 60%;
  border-width: 1px;
  border-style: solid;
  border-color: #e7e7e7;
  transform: rotate(45deg);
}

#banner-slider .owl-nav .owl-prev span::before {
  border-top: none;
  border-right: none;
  margin-top: 2px;
  margin-left: -3px;
}

#banner-slider .owl-nav .owl-next span::before {
  border-left: none;
  border-bottom: none;
  margin-left: -7px;
  margin-top: 3px;
}

/* Hiệu ứng hover */
#banner-slider .owl-nav button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

#banner-slider .owl-prev {
  margin-left: 10px;
}

#banner-slider .owl-next {
  margin-right: 10px;
}

#banner-slider .owl-dots {
  position: absolute;
  z-index: 10;
  bottom: 10px;
  right: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding-right: 40px;
}

#banner-slider .owl-dots button {
  position: relative;
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* dot */
#banner-slider .owl-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 6px;
  height: 6px;

  background-color: #fff;
  border-radius: 999px;
  opacity: .5;

  transform: translate(-50%, -50%);
  transform-origin: center;

  transition:
    width 520ms cubic-bezier(.22, .61, .36, 1),
    opacity 320ms ease;

  will-change: width;
}

/* active */
#banner-slider .owl-dots button.active::before {
  width: 20px;
  opacity: 1;
}



/* chữ chạy */
.marquee-container {
  width: 100%;
  height: 100px;
  overflow: hidden;
  background: #fff;
  position: relative;
}

.marquee-text {
  display: flex;
  position: absolute;
  left: 0;
  top: -20px;
  white-space: nowrap;
}

.marquee-text h2 {
  font-family: 'barlow-bold';
  font-size: 3em;
  font-weight: bold;
  padding: 20px 50px;
  /* background: linear-gradient(to top, #ec5a24, #f6bb64, #fab140); */
  background: linear-gradient(to top,
      #6b7280,
      #f43f5e,
      #fb923c);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

#sales-slider .owl-nav {
  display: none;
}

.nav-sales .nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 35px;
  width: 30px;
  padding: 0 16px;
  background: #fff;
  color: #fff;
  border: 1px solid var(--primary-red);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  box-shadow: 0 0px 5px rgba(143, 29, 44, .25);
  cursor: pointer;
  transition: all .2s ease;
  user-select: none;
}

.nav-sales .nav-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(143, 29, 44, .32);
}

.sanpham-sales .nav-sales .nav-btn {
  border: 2px solid var(--primary-red);
}

.nav-sales {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  padding: 0 10px;
  position: relative;
  margin-top: 10px;
}

/* Sản phẩm sale */
#sales-slider {
  margin: 10px auto;
  padding: 0 7px;
  box-sizing: border-box;
  overflow: hidden;
}

.title-sp-sales {
  display: block;
  text-align: center;
  padding: 0 10px;
  margin-top: 5px;
  padding-bottom: 5px;
  display:flex; flex-direction:column; flex:1; 
}

.sp-sales-items {
  background: rgba(255, 255, 255, 0);
  text-align: left;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height:100%;
  position: relative;
  padding: 3px 5px;
}

.sp-sales-items .sp-items {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  width: 100%;
  transition: all 0.3s;
  height:100%;
  display:flex;
  flex-direction:column;
}

.sp-sales-items .sp-items:hover {
  box-shadow: 0 1px 12px rgb(0 0 0 / 17%);
}

.sp-sales-items .img-sales {
  width: 100%;
  aspect-ratio: 1/1;
  height: auto;
}

.sp-sales-items .img-sales img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.sp-sales-items .img-sales .box-img {
  position: relative;
}

.san-pham-image .box-img {
	position: relative;
	aspect-ratio: 1 / 1; 
	overflow: hidden;
	background-color: #f2f3f5;
}
.san-pham-image .box-img::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transform: translateX(-100%);
	/* Dải gradient tạo vệt sáng */
	background-image: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.6) 20%,
		rgba(255, 255, 255, 0.6) 60%,
		rgba(255, 255, 255, 0) 100%
	);
	/* Chạy animation vô hạn */
	animation: facebookShimmer 1.5s infinite;
	z-index: 1;
}
@keyframes facebookShimmer {
		100% {
			transform: translateX(100%);
		}
	}

/* Ẩn hiệu ứng quét sáng khi ảnh thật đã load xong */
.san-pham-image .box-img:has(img[src]:not([src=""]))::after {
	display: none;
}

/* Định dạng cho lớp bọc ảnh */
.rmld-hoverimg-wrap {
	position: relative;
	width: 100%;
	height: 100%;
	display: block;
	z-index: 2; /* Nằm trên lớp hiệu ứng loading */
}

/* Định dạng ảnh sản phẩm theo cấu trúc của anh */
.danh-muc-sp .san-pham-item .san-pham-image img {
	width: 100%;
	height: 100%;
	transition: all 0.4s;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	opacity: 0; /* Mặc định ẩn ảnh đi khi chưa load xong */
}

/* Khi ảnh có class lazy đã được gán src thật sự từ thư viện lazyload */
.danh-muc-sp .san-pham-item .san-pham-image img[src]:not([src=""]) {
	opacity: 1; /* Hiện ảnh lên mịn màng */
}

/* Giữ cấu trúc hover ảnh của anh */
.danh-muc-sp .rmld-hoverimg-wrap.has-hover:hover .rmld-hoverimg-base {
	opacity: 0;
	transform: scale(1.02);
}
.danh-muc-sp .rmld-hoverimg-wrap.has-hover:hover .rmld-hoverimg-hover {
	opacity: 1;
	transform: scale(1);
}

.box-img .tag-sale {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #ac2828;
  color: #fff;
  font-weight: 700;
  z-index: 1;
  font-size: 12px;
  padding: 0 6px 2px 6px;
  border-radius: 10px;
}

.sp-sales-items .img-sales .box-img .btn-muangay {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
}

.sp-sales-items .img-sales img {
  width: 100%;
  height: auto;
}

.sp-sales-items .title-sp-sales span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 10px;
  font-size: 1em;
  color: #000;
  font-family: 'barlow-bold';
}

div.san-pham-title span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 10px;
  font-size: 1em;
  color: #000;
  font-family: 'barlow-bold';
  transition: all 0.3s ease;
}

div.san-pham-title span:hover {
  color: var(--primary-red);
}

.sp-sales-items .btn-muangay {
  width: 100%;
}

.sp-sales-items .btn-muangay i {
  margin-top: -15px;
  margin-right: 5px;
  font-size: 20px;
}

.sp-sales-items .btn-muangay a {
  width: 100%;
  display: block;
  background-color: var(--primary-red);
  color: #fff;
  border: none;
  padding: 8px 0;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  font-weight: normal;
  font-size: .9em;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  pointer-events: none;

}

.sp-sales-items .btn-muangay span.het-hang {
  width: 100%;
  display: block;
  background-color: var(--primary-red);
  color: #fff;
  border: none;
  padding: 8px 0;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  font-weight: normal;
  font-size: .9em;
  transition: all 0.3s ease;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.sp-sales-items:hover .btn-muangay a {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.sp-sales-items .btn-muangay a.hover-cart {
  position: absolute;
  right: 20px;
  top: 20px;
  padding: 8px;
  width: fit-content;
  height: fit-content;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0px 0px 5px #c4c4c4;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.95);
  transition: all .25s ease;
  pointer-events: none;
}

.sp-sales-items .btn-muangay .hover-cart i {
  margin: 0;
  color: #111;
}

.sp-sales-items:hover .btn-muangay a.hover-cart {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}



/* .sp-sales-items .btn-muangay a:hover {
  background-color: var(--primary-red);
} */

.sp-sales-items .info-sales {
  display: flex;
  flex-direction:column-reverse;
  justify-content: center;
  align-items: center;
  padding: 5px 3px;
  color: #333;
  width: 100%;
  box-sizing: border-box;
  margin-top:5px;
  flex:1;
}

.sp-sales-items .info-sales .gia {
  display: flex;
  flex-direction: column;
}

.sp-sales-items .info-sales del {
  font-size: 0.8em;
  color: gray;
}

.sp-sales-items .info-sales .gia span {
  color: var(--primary-red);
  font-size: .8em;
  font-family: 'barlow-bold';
}

.sp-sales-items .info-sales .gia h5 {
  color: var(--primary-red);
  font-size: 1em;
  margin: 0;
  font-weight: normal;
  margin-top: 0;
  font-family: 'barlow-black';
}

.danh-muc-sp .san-pham-item .price-sp .price-main {
  color: var(--primary-red);
  font-size: 1.2em;
  margin: 0;
  text-align: center;
  font-weight: normal;
  margin-top: 0;
  font-family: 'barlow-black';
}


.sp-sales-items .info-sales .luotban {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.sp-sales-items .info-sales .luotban span {
  font-size: .7em;
  color: #000;
  font-family: 'utm-helve';
}

#sales-slider .owl-stage-outer {
  overflow: visible;
}

.sales-slider-wrap {
  padding-left: 40px;
  padding-right: 40px;
}

.zf-btn {
  position: fixed;
  right: 25px;
  bottom: 50px;
  z-index: 999
}

.zf-link {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--zf-shadow);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1)
}

.zf-link:hover {
  transform: translateY(-3px) scale(1.06)
}

.zf-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

@media (max-width: 768px) {
  .sales-slider-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.sales-progress {
  position: relative;
  width: 100%;
  height: 2px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
}

.sales-progress__bar {
  height: 100%;
  width: 0%;
  background: #111;
  transition: width .35s ease;
}

.button-sale {
  display: flex;
  align-items: center;
  gap: 15px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
}

.media-grid__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.media-grid__item:nth-child(3n+1) {
  grid-column: 1 / -1;
  position: relative;
  padding-top: 75%;
}

.media-grid__item:not(:nth-child(3n+1)) {
  height: 150px;
  position: relative;
}

.content-over-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.h1 {
  font-size: 1.5em;
  margin: 0;
  font-family: 'barlow-bold';
  line-height: 1.4;
}

.h2 {
  font-size: 1.5em;
  margin: 0;
  font-family: 'barlow-bold';
}

.thuonghieu .boundary {
  overflow: hidden;
  width: 100%;
  max-width: unset;
  padding: 0 10px;
}

#brand-slider {
  display: flex;
  align-items: center;
  gap: 16px;
  will-change: transform;
  transform: translateZ(0);
  opacity: 0;
  transition: opacity .2s ease;
}

#brand-slider.is-ready {
  opacity: 1;
}

#brand-slider .brand-items {
  flex: 0 0 calc(100% / 2);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
	
	.banner, .banner picture { height:auto; aspect-ratio:967/391; }
	
  #brand-slider .brand-items {
    flex-basis: calc(100% / 4);
  }
}

@media (min-width: 996px) {
  #brand-slider .brand-items {
    flex-basis: calc(100% / 6);
  }
}

@media (min-width: 1200px) {
  #brand-slider .brand-items {
    flex-basis: calc(100% / 7);
  }
}

@media (min-width: 1500px) {
  #brand-slider .brand-items {
    flex-basis: calc(100% / 8);
  }
}

#brand-slider .brand-items img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}


/* slider nhãn hiệu */
#brand-slider {
  margin: 30px auto 40px;
}

#brand-slider .brand-items {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 95%;
  height: 100px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

#brand-slider .brand-items:hover {
  border-color: #999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#brand-slider .brand-items img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

#brand-slider .owl-dots {
  text-align: center;
  margin-top: 15px;
}

#brand-slider .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 5px;
}

#brand-slider .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 50%;
  background-color: #bfbfbf;
  transition: background-color 0.3s ease;
}

#brand-slider .owl-dots .owl-dot.active span {
  background-color: #666;
}

#brand-slider .owl-dots .owl-dot:hover span {
  background-color: #888;
}

/* bÀN PHÍM CƠ */
.container.banphimco,
.container.keycap-nen,
.container.lotchuot {
  background-color: #f3f3f5;

}

/* .container.banphimco .boundary {
  margin-bottom: 50px;
} */

.container.banphimco .boundary,
.container.keycap .boundary,
.container.chuotmaytinh .boundary {
  padding: 50px 0;
}


#switch-slider {
  margin: 10px 0;
  position: relative;
}

.title-sanpham {
  text-align: center;
  margin-bottom:10px;
}

.title-sanpham h2 {
  font-family: 'barlow-bold' !important;
  color: var(--primary-red);
  font-family: '';
  font-weight: normal;
  font-size: 1.6em;
  margin: 0;
}

.title-sanpham .line-sanpham {
  height: 2px;
  background-color: var(--primary-red);
  width: 200px;
  margin: 10px auto 5px;
}

.title-sanpham span {
  color: #666;
  font-size: .9em;
  font-size: 'utm-helve-bold';
  margin-bottom: 30px;
  font-weight: 700;
}

#banphimco-slider {
  margin: 0 auto;
  padding: 0 7px;
  box-sizing: border-box;
  position: relative;
}

.btn-xemthem {
  text-align: center;
  margin-top:20px;
}

.btn-xemthem a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #000;
  color: #fff;
  font-size: 1em;
  text-decoration: none;
  padding: 13px 24px;
  transition: all 0.3s ease;
  font-family: 'barlow-bold';
  border: 1px solid #000;
  cursor: pointer;
}

.btn-xemthem a {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.btn-xemthem a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-101%);
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  z-index: -1;
}

.btn-xemthem a:hover::before {
  transform: translateX(0);
}

.btn-xemthem a:hover {
  color: #000;
  border: 1px solid #000;
}


#keycap-slider {
  margin: 10px auto 0;
  padding: 0 7px;
  box-sizing: border-box;
  position: relative;
}

#noibat-slider {
  margin: 10px auto 0;
  padding: 0 7px;
  box-sizing: border-box;
  position: relative;
}

.container .owl-nav {
  width: 95%;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:0 9px 0 5px;
  box-sizing:border-box;
  pointer-events:none;
}

.container .owl-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  width: 40px;
  padding: 0 16px;
  background: transparent;
  color: #fff;
  border: 2px solid var(--primary-red) !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  box-shadow: 0 0px 5px rgba(143, 29, 44, .25);
  cursor: pointer;
  transition: all .2s ease;
  user-select: none;
  box-sizing:border-box;
  pointer-events:auto;
}

/* .sanpham-noibat.container .owl-nav button{
  border: 2px solid var(--primary-red) !important;
}
.sanpham-noibat.container .owl-nav button.disabled{
  border: 2px solid #ddd !important;
} */
.container .owl-nav button.disabled {
  border: 2px solid #ddd !important;
  box-shadow: 0 0px 5px #ddd;
}

.container .owl-nav button.disabled span {
  color: #ddd;
}

.container .owl-nav button:hover {
  background: var(--accent-hover);
  /* transform: translateY(-1px); */
  box-shadow: 0 0 10px rgba(143, 29, 44, .32);
}

.container .owl-nav button span {
  font-size: 35px;
  color: var(--primary-red);
  margin-bottom: 6px;
  font-weight: 400;
}

#noibat-slider .owl-item,
#sales-slider .owl-item,
#banphimco-slider .owl-item,
#keycap-slider .owl-item,
#chuot-slider .owl-item,
#phukien-slider .owl-item {
  padding: 4px 0 7px 0;
}

/* .container.sanpham-noibat .boundary {
  margin-bottom: 40px;
} */
.sanpham-noibat .owl-dots {
  display: none;
}

.title-noibat {
  text-align: left;
  margin: 0 10px;
  padding-top:30px;
}

.title-noibat img {
  width: 100px;
  margin-left: -10px;
}

.title-noibat h2 {
  font-family: 'barlow-bold' !important;
  font-size: 1.6em;
  margin: 10px 0 0 0;
  color: var(--primary-red);
  font-weight: normal;
}

.container.lotchuot .boundary {
  padding: 50px 0;
}

.container.phukien .boundary {
  padding: 40px 0;
}

#chuot-slider {
  margin: 10px auto 0;
  padding: 0 7px;
  box-sizing: border-box;
  position: relative;
}

#phukien-slider {
  margin: 10px auto 0;
  padding: 0 7px;
  box-sizing: border-box;
  position: relative;
}

/* dich vụ */
.container.dichvu {
  padding: 0;
  background: #fff;
  padding-bottom: 20px;
}

.container.dichvu .boundary {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.container.dichvu .boundary #dichvu-slider {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.container.dichvu .boundary #dichvu-slider .dichvu-items {
  text-align: center;
  padding: 25px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  width: 50%;
}

.container.dichvu .boundary #dichvu-slider .dichvu-items:hover {
  background: #fff;
  transform: translateY(-5px);
}

.container.dichvu .boundary #dichvu-slider .dichvu-items i {
  font-size: 30px;
  color: #6a5acd;
  margin-bottom: 15px;
  display: block;
}

.container.dichvu .boundary #dichvu-slider .dichvu-items h2 {
  font-size: 1em;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-family: 'barlow-bold';
}

.container.dichvu .boundary #dichvu-slider .dichvu-items span {
  font-size: .9em;
  color: #666;
  line-height: 1.5;
  display: block;
  max-width: 260px;
  margin: 0 auto;
}

.container.huongdan {
  padding: 40px 10px;
  box-sizing: border-box;
}

.container.huongdan .title-hd {
  text-align: left;
}

.container.huongdan .title-hd h2 {
  font-family: 'barlow-bold';
  font-weight: normal;
  font-size: 1.6em;
  color: var(--primary-red);
  margin: 15px 0;
  text-transform: uppercase;
}

.container.huongdan .title-hd .line-hd {
  width: 100%;
  height: 3px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

/* hướng dẫn */
#hd-slider {
  margin-top: 25px;
}

.huongdan-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  gap: 10px;
}

.huongdan-items .img-hd {
  width: 200px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}

.huongdan-items .img-hd img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.huongdan-items .img-hd:hover img {
  transform: scale(1.08);
}


.huongdan-items .content-hd {
  display: block;
  color: #333;
  text-decoration: none;
}

.huongdan-items .content-hd h4 {
  font-size: .9em;
  margin: 5px 0;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s ease-in-out;
}

.huongdan-items .content-hd h4:hover {
  color: var(--primary-red);
}

.huongdan-items .content-hd .desc {
  font-size: .9em;
  color: #555;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* footer */
.container.footer {
  margin-top: 40px;
  background-color: #6e0410;
  padding: 20px 0;
}

.container.footer .footer-social {
  padding: 0 10px 10px 10px;
  text-align: center;
}

.container.footer .footer-social .logo-footer {
  width: 200px;
  margin: 0 auto;

}

.about-footer {
  font-size: 1em;
  text-align: left;
  color: #fff;
  line-height: 1.4;
}

.container.footer .footer-social .logo-footer img {
  width: 100%;
}

.container.footer .footer-social span {
  color: #fff;
  font-size: .9em;
}

.kenh-social {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 10px auto;
}

.kenh-social .social-item {
  width: 45px;
  height: 45px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.kenh-social .social-item i,
.kenh-social .social-item .icon-shopee {
  color: var(--primary-red);
  font-size: 20px;
}

.kenh-social .social-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.container.footer .menu-footer {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
  justify-content: center;
  text-align: left;
  width: 100%;
  padding: 30px 10px 0 10px;
  box-sizing: border-box;
}

.container.footer .menu-footer .danhmuc-footer {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.container.footer .menu-footer .danhmuc-footer .footer-title {
  margin: 0;
  color: #fff;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.container.footer .menu-footer .danhmuc-footer a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  font-family: 'barlow-regular';
  transition: color 0.3s ease;
}

.container.footer .menu-footer .danhmuc-footer .diachi {
  background-color: transparent;
  border-radius: 2px;
  padding: 0;
  margin: 0;
}

.container.footer .menu-footer .danhmuc-footer .diachi iframe {
  width: 100%;
  height: 200px;
}

.container.footer .menu-footer .danhmuc-footer .diachi a {
  display: flex;
  font-family: 'utm-avo-blod' !important;
  align-items: center;
  gap: 8px;
  font-size: .9em;
  color: #000;
  text-decoration: none;
  line-height: 1.4em;
}

.container.footer .menu-footer .danhmuc-footer .diachi a i {
  font-size: 1.1em;
  color: #000;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #ccc;
  background-color: #58585a;
  padding: 10px;
  font-size: .7em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a img {
  margin: 6px 0 0 0;
}

.breadcrumb {
  padding: 20px 0 0 0 !important;
  font-weight:bold;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 30px;
  height: 4px;
  background-color: var(--primary-red) !important;
  border-radius: 3px;
  position: absolute;
}

.main-content .page-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  margin-top: 50px;
  margin-bottom:10px;
}

.main-content .page-nav a {
  display: block;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  border: 1px solid var(--primary-red);
  color: var(--primary-red);
  transition: all 0.2s ease-in-out;
}

.main-content .page-nav a.active {
  background-color: var(--primary-red);
  color: #fff;
}

.main-content .page-nav a:hover {
  background-color: var(--primary-red);
  color: #fff;
}

.main-content .page-nav a.disable {
  display: none;
}

/* Floating Cart Icon */
.vip-cart-floating {
  position: fixed;
  bottom: 60px;
  right: 15px;
  width: 60px;
  height: 60px;
  background: #b40000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 9999;
}

.vip-cart-floating:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.vip-cart-link {
  color: var(--primary-red);
  text-decoration: none;
  position: relative;
  font-size: 1.2em;
  margin-bottom: 2px;
}

.vip-cart-count {
	position: absolute;
	top: -16px;
	left: 50%;

	background: #fff;
	color: #000;
	box-shadow: 0 0 5px #111;

	font-size: 12px;
	font-weight: bold;
	font-family: 'barlow-regular';

	height: 24px;
	min-width: 20px;

	padding: 0 2px;

	border-radius: 999px;

	display: flex;
	align-items: center;
	justify-content: center;

	line-height: 1;
	white-space: nowrap;
}

.my-modal-message.modal h2 {
  background-color: var(--primary-red);
}

.modal a.close-modal {
  color: #fff !important;
}

.danh-muc .product-list {
  padding-left: 7px;
}

.product-detail .pd-content .buttons .button.disable {
  pointer-events: none;
  border: 1px solid #ccc;
  color: #ccc !important;
}

.product-detail .pd-content .buttons .button.disable.fill {
  pointer-events: none;
  border: 1px solid #ccc;
  background-color: #ccc !important;
}

#memberName {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.reg-trigger-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 10px;
  cursor: pointer;
  width: max-content;
  /* position: absolute;
  right: 15px;
  top: 10px;
  z-index: 9999; */
  color: #000;

}

.reg-trigger-btn a span {
  display: none;
}

.reg-trigger-btn a.dropdown-menu-item, .reg-trigger-btn button {
  line-height: 1.4;
  margin: 0;
  display: flex;
  flex-direction: column-reverse;
  font-weight: 400;
  font-size: 0.6em;
  font-family: 'barlow-regular' !important;
  font-style: italic;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.reg-trigger-btn i {
  color: var(--primary-red);
  font-size: 24px;
}

.user-menu-container {
  position: relative;
  display: inline-block;
}

.user-dropdown-menu {
  position: absolute;
  top: 40px;
  width: 100%;
  right: 0;
  background: #fff;
  border-radius: 10px;
  padding: 5px 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.user-dropdown-menu a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #000;
}

.user-dropdown-menu a:hover {
  color: var(--primary-red);
}

.user-dropdown-menu.hidden {
  display: none;
}

.container-title {
  padding: 0 10px !important;
}

.orders-payment,
.container.member {
  padding: 0 10px;
  width: 100% !important;
}


.rmld-hoverimg-wrap {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.rmld-hoverimg-base {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity .8s ease;
  will-change: opacity;
  opacity: 1;
}

.rmld-hoverimg-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .8s ease;
  will-change: opacity;
  opacity: 0;
}

@media (min-width:768px) {
  .footer .boundary {
    padding: 0;
  }

  .container.footer {
    padding: 20px 0 20px 0;
  }

  .kicap-hero-banner {
    border-radius: 18px;
  }

  .kicap-hero-banner__text {
    max-width: 55%;
  }

  #banner-slider .owl-dots {
    bottom: 35px;
    padding-right: 50px;
  }

  .logo-wrap {
    width: 25%;
  }

  #brand-slider .brand-items {
    width: 240px;
    height: 100px;
  }

  .container.huongdan .title-hd .line-hd {
    width: 100%;
  }



  .huongdan-items .img-hd {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
  }

  .huongdan-items .content-hd h4 {
    font-size: 1em;
    margin-top: 5px;
  }
}

@media (min-width:996px) {
  .logo-wrap {
    width: 35%;
  }

  #viewA .number_spinner {
    margin-bottom: 0 !important;
  }

  #viewA {
    display: flex;
    align-items: center;
  }

  .main-menu .mm-logo {
    width: auto;
    top: 3px;
    max-width: unset;
  }

  .layer-do {
    position: absolute;
    top: 0;
    left: 0;
    height: 70px;
    width: 50%;
    background-color: var(--primary-red);
    z-index: 999999;
    border-radius: 0 0 7px 0;
  }

  .layer-do::after {
    content: "";
    position: absolute;
    top: 0;
    right: -52px;
    width: 60px;
    height: 100%;
    background-color: #fff;
    transform: skewX(15deg);
  }

  .marquee-text h2 {
    font-size: 3em;
  }

  /* Cụm danh mục */
  .media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px;
  }

  .media-grid__item {
    overflow: hidden;
  }

  /* .media-grid__item:hover {
   
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  } */

  .media-grid__item.span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .content-over-media {
    overflow: hidden;
  }

  .content-over-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transform: scale(1) translateZ(0);
    will-change: transform;

    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .content-over-media:hover img {
    transform: scale(1.06) translateZ(0);
  }

  .media-grid__item:not(:nth-child(3n+1)) {
    height: 200px;
    position: relative;
  }

  .text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
  }

  .h1 {
    font-size: 2.5em;
    margin: 0;
  }

  .h2 {
    font-size: 2.5em;
    margin: 0;
  }

  .btn-xemthem {
    margin-top: 20px;
  }

  .container.danhmuc {
    margin-top: 40px;
  }

  /* hướng dẫn sử dụng */


  .huongdan-items .img-hd {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
  }
}

@media (min-width:1200px) {
  .container.dichvu {
    padding-top: 10px;
  }
  
  .container.banphimco .boundary, .container.keycap .boundary, .container.chuotmaytinh .boundary, .container.banphimco .boundary, .container.lotchuot .boundary, .container.phukien .boundary { padding:100px 0; }
  .container.huongdan { padding:100px 10px; }
  
  .huongdan .btn-xemthem { margin-top:40px; }

  #header_menu.main-menu.is-scrolled .logo-layer {
    max-height: 0;
    pointer-events: none;
    opacity: 0;
  }


.main-menu .mm-content li.active, .main-menu .mm-content li:hover {
  color: var(--black) !important;
}

.main-menu .mm-content li.active i, .main-menu .mm-content li:hover i {
  color: var(--black) !important;
}
	.search-container1 { height:fit-content; }
	
  .sp-sales-items .info-sales del {
    font-size: 0.8em;
  }

  .sp-sales-items .info-sales .gia h5 {
    font-size: 1.2em;
  }

  .kicap-hero-banner__text {
    max-width: 48%;
    padding-left: 56px;
  }

  .title-sp-sales {
    padding-bottom: 20px;
  }

  .sp-sales-items .title-sp-sales span {
    margin-top: 20px;
  }

  .nav-sales .nav-btn {
    height: 40px;
    width: 40px;
  }

  .nav-sales {
    margin-top: 40px;
    gap: 30px;
  }

  .container .owl-nav {
    width: 110%;
  }

  .container .owl-nav button {
    width: 40px;
    height: 40px;
  }

  .container.sanpham-noibat {
    margin: 40px 0;
  }

  .header-top-right .icon-phone {
    display: flex;
    color: var(--primary-red);
    align-items: center;
    gap: 5px;
    font-size: 1.2em;
    margin-top: 5px;
  }

  .box-menu {
    width: 100%;
  }

  .search-mobile {
    display: none;
  }

  #header_menu .logo-layer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    overflow: unset;
    pointer-events: auto;
    opacity: 1;

    will-change: max-height, opacity;

    transition:
      max-height 360ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 200ms ease-out;
	padding:10px 0;
  }

  /* #header_menu.is-scrolled .logo-layer{
    display: none;
  } */
  #header_menu {
    font-size: 1em;
  }

  .box-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 100%;
    margin: 15px 0 15px 0;
    gap: 0;
    margin-left: 0;
    position: relative;
    z-index: -1;
  }

  #header_menu .boundary {
    display: flex;
    justify-content: start;
  }

  .box-header #menu_content {
    max-width: unset;
    width: fit-content;
    height: fit-content;
    background-color: transparent;
    margin: auto;
  }

  .box-header .search-container1 {
    width: 100%;
    margin: 0;
    max-width: 620px;
    margin-left: 10px;
  }

  .box-header .mm-content li a {
    font-size: 1.4em;
  }

  .title-sanpham {
    margin-bottom: 25px;
  }
  
  .h1 {
    font-size: 2em;
  }

  #banner-slider .owl-dots {
    bottom: 70px;
    padding-right: 80px;
    gap: 25px;
  }

  #banner-slider .owl-dots button,
  #banner-slider .owl-dots button::before {
    width: 10px;
    height: 10px;
  }

  #banner-slider .owl-dots button.active::before {
    width: 28px;
    opacity: 1;
  }

  .container.dichvu .boundary #dichvu-slider .dichvu-items {
    width: 25%;
  }

  .mm-content li.has-submenu {
    position: relative;
  }

  .mm-content li.has-submenu::before {
    position: absolute;
    content: '';
    width: 100%;
    bottom: -12px;
    pointer-events: none;
    height: 30px;
    background-color: transparent;
  }

  .main-menu .mm-content>li {
    margin: 0;
    border: none;
  }

  .main-menu .mm-content li i {
    position: unset;
    line-height: 1;
  }

  .reg-trigger-btn {
    margin-right: 0;
    z-index: 999999;
    position: unset;
    padding: 0 10px;
  }

  .reg-trigger-btn a.dropdown-menu-item {
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    gap: 5px;
    justify-content: flex-end;
  }

  .reg-trigger-btn #dropdownMenu a {
    justify-content: center;
    font-size: 0.7em;
  }

  .reg-trigger-btn a span {
    font-size: 12px;
    font-style: normal;
  }

  .hamburger-box {
    display: none !important;
  }

  .main-menu {
    height: fit-content;
    line-height: 60px;
  }

  .main-menu .mm-logo img {
    max-height: 70px;
    transition: all 0.5s;
  }

  .main-menu.is-scrolled .mm-logo img {
    max-height: 50px;
  }

  .main-menu.is-scrolled .box-header {
    margin: 15px 0 15px 0;
  }

  .main-menu .mm-content {
    position: relative;
    overflow: unset;
    top: unset;
    left: unset;
    height: 80px;
    max-width: unset;
    padding: 0;
    display: flex !important;
    flex-direction: row;
    font-size: .9em;
    width: auto;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-left: 70px;
  }

  .main-menu .mm-content .icon-x,
  .main-menu .mm-content li a::before {
    display: none;
  }

  .main-menu .mm-content li a {
    display: inline-block;
    border: 0;
    padding: 0;
    line-height: 1;
  }

  .main-menu .mm-content li i {
    margin-top: 6px;
    margin-left: 10px;
    line-height: 1;
	width:auto;
  }



  #menu_content.mm-content li.has-submenu.hovering>.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity .25s ease,
      transform .25s ease,
      visibility 0s;
  }

  #menu_content .submenu li a {
    line-height: 1.2em;
    padding: 8px;
    color: var(--primary-red);
    font-size: 1em;

  }

  #menu_content .submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 210px;
    background: #fff;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    padding: 8px 0;
    border-top: 2px solid #ee5253;
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
      opacity .35s ease,
      transform .45s ease,
      visibility 0s linear .25s;
  }

  #menu_content .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity .35s ease,
      transform .45s ease,
      visibility 0s;
  }

  #header_menu.is-scrolled #menu_content .has-submenu:hover .submenu {
    top: calc(100% + 0px);
  }

  .search-container {
    display: none;
  }

  .mm-content-logo {
    display: none;
  }

  .item-search {
    width: 35%;

  }
  
  .desktop-search-bar { display: flex; justify-content: center; flex-direction: row; align-items: center; padding:0; height:0; box-sizing: border-box; overflow: hidden; transition: all .3s; position:relative; z-index:99999; background-color:#FFF; }
  body.show-desktop-search .desktop-search-bar { height:auto; padding:20px; }
  body.show-desktop-search { overflow:hidden; }
  body:before { content:''; position:fixed; top:0; left:0; width:100%; height:100%; z-index:99998; background:rgba(0,0,0,.55); pointer-events:none; transition:all .3s; opacity:0; }
  body.show-desktop-search:before { pointer-events:auto; opacity:1; }
  
  .desktop-search-bar input { width: 30%; font-size: 1rem; border: 0; line-height: 2em; outline:unset; }
  .desktop-search-bar button { border:0; background:0; outline:unset; font-size:1.2em; cursor:pointer; }
  .desktop-search-bar button:hover { color:#666; }
  .desktop-search-bar .icon-x { position:absolute; top:50%; right:20px; transform:translateY(-50%); font-size:1.2em; cursor:pointer; color:#000; }
  
  .box-menu * { transition:all 150ms ease-in-out; }
  .box-menu a:hover, .box-menu .reg-trigger-btn:hover .header-label, .box-menu .reg-trigger-btn:hover i, .box-menu .header-cart-container:hover a, .box-menu .header-cart-container:hover .header-label, .box-menu .header-cart-container:hover i { color:#333; }
  .box-menu .header-label { display:inline-block; color:var(--primary-red); min-width:unset; margin:0; font-size:1.2em; font-family:'barlow-regular'; cursor:pointer; }
  .header-cart-container { display: flex; gap: 10px; flex-direction: row; align-items: center; }
  .header-cart-container .vip-cart-link { font-size:1.5em; }
  .header-cart-container .icon-search1 { color:var(--primary-red); font-size:1.8em; font-weight:bold; margin-left:30px; display:inline-block; }
  .header-top-right .name-header .header-cart-container { padding-top:0; }

  /* nút tìm kiếm 1200*/
  .search-container1 {
    display: flex;
    align-items: end;
    justify-content: left;
	gap:5px;
    border: 0;
    border-radius: 30px;
	overflow:hidden;
    background-color: #fff;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    max-width: unset;
	color:var(--primary-red);
	font-family: 'barlow-regular'!important;
	line-height:1em;
	font-size:1.2em;
  }

  .main-menu .mm-logo {
	display: flex;
	width: 20%;
	height: auto;
	float: unset;
	top: unset;
  }

  .header-top-right {
    width: 35%;
    display: flex;
    gap: 0;
    align-items: flex-end;
    justify-content: flex-end;
    position: unset;
    flex-direction: column;
	margin-left:unset;
  }

  .header-top-right .name-header {
    display: flex;
    align-items: center;
    gap: 30px;
	line-height:1em;
	margin-right:0;
	height:fit-content;
  }

  .search-input1 {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9em;
    color: #333;
    background: transparent;
    min-width: 0;
  }

  .search-input1::placeholder {
    color: #232323;
    opacity: 0.9;
  }

  #searchInput::placeholder {
    font-size: 0.9em;
  }

  /* 
  .search-btn1:hover {
    color: #7e1b25;
  } */

  /* logo*/
  .logo-wrap {
    width: 16%;
    z-index: 99999;
    height: 85px;
  }

  .logo-wrap::after {
    top: 0;
    right: -25px;
    height: 80px;
  }

  /* .main-menu .mm-logo {
    height: auto;
    width: 100px;
    top: 10px;
    transform: translateX(10px);
  } */

  .layer-do {
    height: 80px;
    width: 0%;
  }

  /* nút banner */
  #banner-slider .owl-nav button {
    width: 45px;
    height: 45px;
  }

  #banner-slider .owl-nav .owl-prev {
    margin-left: 60px;
  }

  #banner-slider .owl-nav .owl-next {
    margin-right: 60px;
  }

  #banner-slider .owl-nav button span {
    width: 20px;
    height: 20px;
  }

  #banner-slider .owl-nav .owl-prev span::before,
  #banner-slider .owl-nav .owl-next span::before {
    width: 90%;
    height: 90%;
  }

  #banner-slider .owl-nav .owl-prev span::before {
    margin-top: 1px;
    margin-left: -5px;
  }

  #banner-slider .owl-nav .owl-next span::before {
    margin-left: -15px;
    margin-top: 1px;
  }

  /* chữ chạy */
  .marquee-text h2 {
    font-size: 3.5em;
    padding: 30px 50px;
  }

  .marquee-container {
    height: 150px;
  }


  #brand-slider .brand-items {
    width: 93%;
    height: 120px;
  }

  #brand-slider {
    margin: 50px auto 70px;
  }

  .container.thuonghieu {
    padding: 0;
  }

  /* bàn phím cơ */
  /* .title-sanpham {
    margin-top: 100px;
  } */

  .title-sanpham h2 {
    margin: 0;
    font-size: 2em;
  }

  .title-sanpham .line-sanpham {
    width: 250px;
    margin: 20px auto;
  }

  .title-sanpham span {
    font-size: 1.2em;
  }

  #banphimco-slider {
    margin: 0 auto;
    padding: 0 7px;
    box-sizing: border-box;
  }

  /* dịch vụ */
  .container.dichvu .boundary #dichvu-slider .dichvu-items {
    padding: 75px 15px;
  }

  /* hướng dẫn sử dụng */


  .huongdan-items .img-hd {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
  }

  .container.huongdan .title-hd h2 {
    font-size: 3em;
    margin: 40px 0;
  }

  #phukien-slider {
    margin: 25px auto 10px;
  }

  /* hướng dãn sử dụng */
  #hd-slider {
    display: flex !important;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: space-between;
  }

  .huongdan-items {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: left;
    width: calc(25% - 30px);

  }

  .container.footer {
    display: flex;
    margin-top: 50px;
  }

  .container.footer .box-footer {
    display: flex;
  }

  .container.footer .footer-social {
    width: 45%;
    position: relative;
    overflow: visible;
    z-index: 1;
  }

  .container.footer .footer-social .social-main {
    width: 400px;
  }

  /* .container.footer .footer-social::before {
    content: "";
    position: absolute;
    top: 0;
    right: -140px;
    width: 290px;
    height: 100%;
    background-color: #d1d3d4;
    transform: skewX(-25deg);
    z-index: 0;
  } */

  .container.footer .menu-footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    text-align: left;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    z-index: 22;
  }

  .container.footer .footer-social .logo-footer {
    width: 150px;
  }

  .container.footer .footer-social span {
    font-size: .8em;
    padding: 0 20px;
  }

  .kenh-social .social-item {
    border-radius: 4px;
  }

  .container.footer .menu-footer {
    padding: 0;
    width: 55%;
    margin-top: 15px;
  }

  .container.footer .menu-footer .danhmuc-footer .diachi {
    width: 100%;
  }

  .container.footer .menu-footer .danhmuc-footer .diachi a i {
    font-size: 1.5em;
  }

  .container.footer .menu-footer .danhmuc-footer .diachi a {
    font-size: 1em;
    font-family: 'utm-avo-bold' !important;
  }

  .title-noibat h2 {
    font-size: 2em;
  }
}

@media (min-width:1500px) {
  #sales-slider .sp-sales-items {
    width: 100%;
  }

  .main-menu .mm-content {
    justify-content: flex-end;
    align-items: center;
    margin-right: 150px;
  }

  .logo-wrap {
    width: 20%;
    height: 80px;
  }

  .logo-wrap::after {
    top: 0;
    right: -25px;
    height: 80px;
  }

  /* .main-menu .mm-logo {
    height: auto;
    width: 130px;
    top: 10px;
    transform: translateX(70px);
  } */

  .layer-do {
    height: 80px;
    width: 50%;
  }


  .sp-sales-items .info-sales .gia span {
    font-size: .9em;
    margin-bottom: 5px;
  }

  .media-grid__item:not(:nth-child(3n+1)) {
    height: 260px;
    position: relative;
  }

  #brand-slider .brand-items {
    width: 97%;
  }


  .btn-xemthem a {
    font-size: 1.1em;
    padding: 13px 40px;
  }


  .huongdan-items .img-hd {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
  }

  .container.huongdan .title-hd h2 {
    font-size: 2em;
    margin: 25px 0;
  }

  .container.huongdan .title-hd .line-hd {
    height: 4px;
  }

  /* hướng dãn sử dụng */
  #hd-slider {
    display: flex !important;
    flex-wrap: wrap;
  }

  .huongdan-items .content-hd h4 {
    font-size: 1.4em;
    margin-top: 10px;
  }

  .huongdan-items .content-hd .desc {
    font-size: .9em;
  }


  /* .container.footer .footer-social::before {
    right: -172px;
    width: 345px;
    height: 100%;
    background-color: #d1d3d4;
    transform: skewX(-30deg);
    z-index: 0;
  } */


  #noibat-slider {
    margin: 30px auto 0;
  }


}

@media (min-width:1800px) {
  .logo-wrap {
    width: 25%;
    height: 80px;
  }

  .main-menu .mm-content {
    margin-right: 100px;
  }

  /* .main-menu .mm-content li a {
    font-size: 1.2em;
  } */

  /* .main-menu .mm-logo {
    height: auto;
    width: 130px;
    top: 10px;
    transform: translateX(120px);
  } */

  .layer-do {
    height: 75px;
    width: 55%;
  }

  #sales-slider {
    margin: 50px auto 20px;
  }

  .marquee-text h2 {
    font-size: 4em;
  }


  #noibat-slider {
    margin: 40px auto 0;
  }

  /* .container.banphimco .boundary {
    height: 100vh;
  }

  .container.keycap .boundary {
    height: 100vh;
  }

  .container.phukien .boundary {
    height: 90vh;
  } */

  .container.dichvu .boundary #dichvu-slider .dichvu-items h2 {
    font-size: 1.2em;
  }

  .container.dichvu .boundary #dichvu-slider .dichvu-items span {
    font-size: 1em;
  }

}