body {
  background: #f8f8f8;
}
body,
a,
p,
span,
button,
* {
  letter-spacing: -0.25px;
}
a,
button {
  transition: 0.3s;
}
.body-container button:focus {
  outline: none;
}
.menu-mobile {
  display: block;
}
.section-header {
  height: 55px;
}
#header .header_fix {
  display: none !important;
}
.body-container {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 12px #e3e3e3;
  padding-bottom: 62px;
}
.body-container .container {
  padding: 0 20px;
  max-width: 100%;
  width: auto;
}
.body-container .open-navbar svg {
  width: 28px;
  height: 28px;
}
.body-container .btn.open-navbar.btn-open-nav {
  background-color: #fff;
  border-color: #fff;
  outline: none;
  outline-offset: 0;
  box-shadow: none;
  padding: 8px 12px;
}
.body-container #footer {
  position: relative;
  width: auto;
  background-color: #e3e3e3;
}
.body-container #footer .footer_bottom {
  padding: 35px 20px;
}
.body-container #footer .footer_top {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: #fff;
  margin-top: 10px;
}
.body-container #footer .footer_bottom .info {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}
.body-container #footer .footer_bottom .info p {
  color: #111;
}
.body-container #footer .footer_bottom .info p:nth-child(1) {
  margin-bottom: 0;
}
.body-container .footer-menu {
  margin-right: 10px;
}
.body-container #footer .footer_bottom .info .escrow-description p {
  color: #333;
}
.body-container #footer .footer_bottom .copy_r {
  font-size: 11px;
}
.body-container .cs-center {
  text-align: left;
  padding: 10px 20px;
  font-size: 12px;
}
.body-container .cs-center .cs-content a {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.75px;
}
.body-container .cs-center .cs-content div:nth-child(2) {
  margin: 5px 0;
}
.body-container .cs-center .cs-description {
  font-size: 11px;
  color: #666;
}
/*scroll button*/
.body-container .scroll-buttons {
  right: 20px;
  bottom: 80px;
  z-index: 99;
}
.body-container .scroll-buttons button {
  display: block;
  border: 1px solid rgba(238 238 238 / 10%);
  border-radius: 30px 30px 0 0;
  padding: 6px 8px;
  text-align: center;
  line-height: 15px;
  margin: 0 !important;
  background: rgb(207 207 207 / 40%) !important;
}
.body-container .scroll-buttons button.scroll-top {
  border-bottom: 0;
}
.body-container .scroll-buttons button.scroll-bottom {
  border-radius: 0 0 30px 30px;
}
.body-container .scroll-buttons button svg,
.body-container .scroll-buttons button path {
  color: #000;
  width: 12px;
  opacity: 0.8;
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  background-color: #fff;
  border-top: 1px solid #ddd;
  z-index: 9;
  max-height: 62px;
}
.bottom-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: space-around;
  align-items: center;
}
.bottom-nav ul li {
  flex: 1;
  text-align: center;
}
.bottom-nav ul li .icon {
  display: block;
  width: 50px;
  position: relative;
  margin: 0 auto;

}
.bottom-nav ul li .icon .count-num {
  position: absolute;
  background: #f39700;
  color: #fff;
  width: 15px;
  height: 15px;
  border-radius: 50px;
  top: -4px;
  right: 7px;
  font-size: 10px;
  line-height: 1.6;
}

.bottom-nav ul li .icon img {
  max-width: 21px;
  margin-bottom: 4px;
}
.bottom-nav ul li a {
  display: block;
  padding: 10px 0;
  font-size: 11px;
  color: #3e3e3e;
  text-decoration: none;
  letter-spacing: -0.5px;
  cursor: pointer;
}
.bottom-nav ul li.active a,
.bottom-nav ul li.active a:hover {
  color: #f39700;
}

body.offcanvas-active {
  overflow: hidden;
}
.header_fix {
  height: 90px !important;
}
.menu-pc .menu {
  height: 100%;
  display: flex;
  align-items: center;
}
.menu-pc .menu .menu_item a {
  margin: 0 10px;
}
.menu-pc .menu .menu_item .btn-hover {
  padding: 8px 10px;
  border: 3px solid #000;
  border-radius: 30px;
}
.menu-pc .menu .menu_item .btn-hover:hover {
  background: #000;
  color: #fff;
}
.btn-open-nav {
  position: relative;
  z-index: 3;
  float: right;
  font-weight: bold;
}
.section-header {
  background-color: #fff;
  width: 100%;
  height: 50px;
}
.navbar-nav .nav-item {
  padding-left: 17px;
}
.navbar-nav .nav-item.bottom-item {
  border-top: 1px solid #eaeaea;
  display: inline-block;
}
.navbar-nav .nav-item.bottom-item:last-child {
  border-bottom: 1px solid #eaeaea;
}
.navbar-nav .nav-item.bottom-item strong {
  font-weight: 400;
  color: #3e3e3e;
  font-size: 12px;
}
.navbar-nav .nav-item.bottom-item.login {
  margin-top: 30px;
}
.navbar-nav .nav-item.bottom-item a {
  display: inline-block;
}
.nav-item.bottom-item::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 1px;
  vertical-align: middle;
}
.nav-item.bottom-item.login::before {
  background-image: url("../../image/layout/icon-login.png");
}
.nav-item.bottom-item.cs::before {
  background-image: url("../../image/layout/icon-cs.png");
}
.open-navbar svg {
  height: 22px;
  width: 22px;
}

.offcanvas-header {
  display: none;
}

.screen-darken {
  height: 100%;
  width: 0%;
  z-index: 30;
  position: fixed;
  top: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(34, 34, 34, 0.6);
  transition: opacity 0.2s linear, visibility 0.2s, width 2s ease-in;
}

.screen-darken.active {
  z-index: 10;
  transition: opacity 0.3s ease, width 0s;
  opacity: 1;
  width: 100%;
  visibility: visible;
}

.offcanvas-header {
  display: block;
}

.mobile-offcanvas {
  background-color: #fff;
  visibility: hidden;
  transform: translateX(100%); /* Sửa đổi ở đây */
  border-radius: 0;
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 1200;
  width: 70%;
  overflow-y: scroll;
  overflow-x: hidden;
  transition: visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
  max-width: 428px;
}

.mobile-offcanvas.show {
  visibility: visible;
  transform: translateX(0);
}

.mobile-offcanvas .navbar-nav {
  padding-top: 30px;
  margin: 0;
}
.mobile-offcanvas .btn-close {
  border: 0;
  background: transparent;
  margin-top: 5px;
}

.mobile-offcanvas .navbar-nav .nav-link {
  color: #000;
  padding: 12px 4px;
  font-size: 13px;
}
.btn-home-mobile {
  font-size: 18px;
  font-weight: bold;
  color: white;
}
.btn-home-mobile img {
  width: 26px;
  margin-top: -3px;
  margin-right: 8px;
}

/*search button*/
#searchOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: none; /* 처음에는 숨김 */
  justify-content: center;
  align-items: flex-start;
  z-index: 9999 !important;
  overflow-y: auto; /* 스크롤 가능 */
  padding: 20px;
  max-width: 780px;
  margin: 0 auto;
}

#searchContainer {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

#searchInput {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 30px;
}
.search-wrap h2 {
  text-align: left;
  margin: 0 0 20px;
  font-size: 20px;
}
.search-wrap #popularSearches {
  text-align: left;
  margin-bottom: 30px;
}

.search-wrap #popularSearches h2,
.search-wrap #recommendedProducts h2 {
  font-size: 15px;
  margin-bottom: 10px;
}

.search-wrap .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-wrap .tag {
  background-color: #f1f1f1;
  color: #333;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  min-width: 60px;
  text-align: center;
}

.search-wrap .tag:hover {
  background-color: #ddd;
}

.search-wrap #recommendedProducts {
  text-align: left;
}

.search-wrap .products {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
}
.search-wrap .product {
  text-align: center;
  width: 50%;
  padding: 5px;
}


.search-wrap .product img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
}

.search-wrap .product img:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-wrap .product p {
  font-size: 12px;
  margin-top: 8px;
  color: #333;
  text-align: left;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5;
  text-overflow: ellipsis;
}
@media only screen and (max-width: 780px) {
}
