@charset "UTF-8";
.header {
  margin-top: 3rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.header__logo {
  text-align: center;
}
.header__logo img {
  height: 100%;
  max-height: 140px;
  width: auto;
}
.header__left {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}
.header__left .form-group {
  margin-bottom: 0 !important;
}
.header__left .form-group label {
  font-family: "Cabin", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}
.header__left .form-group select {
  border: 2px solid #ffcb00;
}
.header__left .form-group select:focus {
  outline: none;
  box-shadow: none;
}
.header__left a {
  font-family: "Cabin", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
}
.header__left .flag img {
  display: inline-block;
}
.header__left .flag.active img {
  border: 1px solid #ff0000;
}
.header__right {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  padding-bottom: 3rem;
}
.header__right-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.3rem;
}
.header__right a {
  font-family: "Cabin", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
}
.header__right .flag img {
  display: inline-block;
}
.header__right .flag.active img {
  border: 1px solid #ff0000;
}

.footer {
  background-color: #ffcb00;
  padding: 5rem 0;
  margin-top: 7rem;
}
.footer-wrap {
  width: 100%;
  max-width: 118rem;
  padding-left: 2rem;
  padding-right: 2rem;
  margin: auto;
  position: relative;
  display: flex;
  justify-content: center;
}
.footer-text {
  width: 70%;
  text-align: center;
}
.footer-link {
  position: absolute;
  right: 20px;
  top: 0;
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 10px;
  width: 100px;
  height: 100%;
  flex-wrap: wrap;
}
.footer-link img {
  height: 30px;
  width: auto;
}

.ecom__homepage-banner {
  width: 100%;
  max-width: 1900px;
  margin: auto;
}
.ecom__homepage-top-text {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
.ecom__homepage-top-text img {
  width: 100%;
  height: auto;
}
.ecom__homepage-banner23 {
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-row-gap: 2rem;
  grid-column-gap: 2rem;
}
.ecom__homepage-second-text {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
}
.ecom__homepage-second-text > div:first-child {
  font-family: "Cabin", sans-serif !important;
  font-weight: 700 !important;
  font-size: 3.5rem;
  line-height: 4rem;
  text-align: center;
  text-transform: uppercase;
}
.ecom__homepage-second-text > div:first-child h4 {
  font-size: 2.3rem;
  line-height: 3rem;
}
.ecom__homepage-second-text > div:first-child .border-yellow {
  display: inline-block;
  background-color: #ffcb00;
  width: 30px;
  height: 10px;
  line-height: 0;
}
.ecom__homepage-yellow-box {
  background-color: #ffcb00;
  border-radius: 0.4rem;
  padding: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #fff;
}
.ecom__homepage-yellow-box p, .ecom__homepage-yellow-box div {
  font-family: "Cabin", sans-serif !important;
  font-weight: 700 !important;
}
.ecom__categories {
  background-color: #eee;
  padding: 3rem;
  border-radius: 0.4rem;
  margin-bottom: 3rem;
}
.ecom__categories--mobile {
  padding: 3rem 2rem;
}
.ecom__categories--mobile .filter-bar-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  overflow: hidden; /* Quan trọng để ẩn mọi thứ tràn ra ngoài container này */
}
.ecom__categories--mobile .scroll-button {
  flex-shrink: 0; /* Ngăn nút co lại */
  background: none;
  border: none;
  font-size: 24px; /* Kích thước mũi tên */
  color: #555;
  cursor: pointer;
  padding: 0;
  height: 40px; /* Đảm bảo chiều cao phù hợp */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  outline: none; /* Bỏ viền focus mặc định */
}
.ecom__categories--mobile .scroll-button:disabled {
  display: none;
}
.ecom__categories--mobile .scroll-button:hover {
  color: #000;
}
.ecom__categories--mobile .scroll-button:disabled {
  color: #ccc;
  cursor: not-allowed;
}
.ecom__categories--mobile .filter-content-wrapper {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-grow: 1; /* Cho phép chiếm hết không gian còn lại */
  overflow: hidden; /* Quan trọng: ẩn nội dung cuộn bên ngoài khu vực hiển thị */
}
.ecom__categories--mobile .filter-button {
  flex-shrink: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  border-radius: 5px;
  margin-right: 10px;
  cursor: pointer;
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ecom__categories--mobile .filter-button .filter-icon {
  font-size: 20px;
}
.ecom__categories--mobile .filter-items-wrapper {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto; /* CUỘN ĐƯỢC CHỈ Ở ĐÂY */
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  padding-bottom: 0; /* Để tránh thanh cuộn làm mất đi phần dưới của nút */
  /* Ẩn thanh cuộn nếu muốn (chỉ với Webkit browsers) */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.ecom__categories--mobile .filter-items-wrapper::-webkit-scrollbar {
  display: none;
}
.ecom__categories--mobile .filter-items-wrapper .ecom__categories-link {
  min-width: unset;
}
.ecom__categories--mobile .filter-item {
  flex-shrink: 0;
  padding: 8px 15px;
  border: 1px solid #ccc;
  background-color: #f0f0f0;
  border-radius: 5px;
  margin-right: 10px;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  color: #333;
  transition: background-color 0.2s ease;
}
.ecom__categories--mobile .filter-item:hover {
  background-color: #e0e0e0;
}
.ecom__categories .page__title {
  text-align: center;
}
.ecom__categories-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex: 1 1 auto;
}
.ecom__categories-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ecom__categories-wrap .btn-reset {
  flex-shrink: 0;
}
.ecom__categories-link {
  display: block;
  min-width: 10rem;
  background-color: #fff;
  border: 2px solid #ffcb00;
  border-radius: 0.4rem;
  padding: 0.8rem 1.7rem;
  color: inherit;
  font-family: "Cabin", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}
.ecom__categories-link.active {
  background-color: #ffcb00;
  color: #fff;
}
.ecom .category-page .page__title {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 2.5rem;
}
.ecom .category-page .page__title span {
  display: block;
  background-color: #fff;
  padding: 0 3rem;
  z-index: 2;
}
.ecom .category-page .page__title hr {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  border-color: #2e2d2c;
  margin: 0;
  z-index: 1;
}
.ecom .category-page .page__title--related {
  justify-content: flex-start;
}
.ecom .category-page .page__title--related hr {
  display: none;
}
.ecom .category-page .page__title--related span {
  font-size: 2rem;
  padding: 0;
  text-transform: capitalize;
}
.ecom .category-page__products {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.ecom .category-page__products-item {
  position: relative;
  display: block;
  background-color: #f8f8f8;
  border-radius: 0.4rem;
  padding: 0;
  color: inherit;
  text-transform: uppercase;
  text-decoration: none;
  font-family: "Cabin", sans-serif;
  font-weight: 700;
}
.ecom .category-page__products-item .thumbnail {
  overflow: hidden;
  position: relative;
}
.ecom .category-page__products-item .thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}
.ecom .category-page__products-item .info-wrap {
  padding: 2rem;
}
.ecom .category-page__products-item .sku {
  font-size: 1.3rem;
  line-height: 1.6rem;
  margin-bottom: 1rem;
}
.ecom .category-page__products-item .price {
  font-size: 1.3rem;
  line-height: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ecom .category-page__products-item .price-text--original {
  text-decoration: line-through;
}
.ecom .category-page__products-item .title {
  font-size: 1.6rem;
  line-height: 2.2rem;
  overflow: hidden;
  margin-bottom: 1rem;
}
.ecom .category-page__products-item .is-new {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  background-color: #ffcb00;
  width: 5rem;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #fff;
  font-family: "Cabin", sans-serif;
  font-weight: 700;
}
.ecom .category-page__products-item .online-only {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #eee;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffcb00;
  font-family: "Cabin", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
}
.ecom .category-page__products-item .when-hover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
}
.ecom .category-page__products-item .when-hover a {
  background-color: #ffcb00;
  display: inline-flex;
  padding: 5px 20px;
  border-radius: 4px;
}
.ecom .category-page__products-item:hover .when-hover {
  display: flex;
}
.ecom .category-page__products-item:hover .thumbnail img {
  transform: scale(1.2);
}
.ecom .category-page .sort-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 3rem;
}

@media (max-width: 991.98px) {
  .ecom .product-page .form {
    width: 70%;
  }
}
@media (max-width: 767.98px) {
  .header__logo {
    text-align: left;
  }
  .header__logo img {
    height: 100%;
    max-height: 80px;
    width: auto;
  }
  .footer-wrap {
    grid-template-columns: 1fr;
  }
  .gray-box-wrap {
    grid-template-columns: 1fr 1fr;
  }
  .card-wrap {
    grid-template-columns: 1fr;
  }
  .ecom .product-page {
    grid-template-columns: 1fr;
  }
  .ecom .product-page .form {
    width: 50%;
  }
  .ecom .category-page__products {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .ecom .category-page__products-item:hover .when-hover {
    display: none;
  }
  .lightbox-carousel .ratio-16x9 {
    --bs-aspect-ratio: 100%;
  }
}
@media (max-width: 575.98px) {
  .ecom .category-page__products {
    grid-template-columns: 1fr;
  }
  .ecom .product-page {
    grid-template-columns: 1fr;
  }
  .ecom .product-page .form {
    width: 100%;
  }
  body.ecom_product .product-page > div:last-child {
    padding: 20px;
  }
  .header-category-menu {
    display: none;
  }
  .header-category-menu-mobile {
    display: block;
  }
  .header-category-menu-mobile ul {
    padding-left: 20px;
    list-style-position: inside;
    list-style-type: disclosure-closed;
  }
  .header-category-menu-mobile ul li::marker {
    color: #fff;
  }
  .header-category-menu-mobile ul li a {
    padding-left: 5px !important;
  }
}