@charset "UTF-8";
.cateallnodata {
  display: none; }

.onearrow {
  display: none; }

.kfm-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9;
  background: #fff;
  box-shadow: 0 -2px 3px rgba(23, 25, 35, 0.12);
  font-family: sans-serif; }
  .kfm-bottom-bar [class^="home-"] {
    padding-bottom: 0; }
  .kfm-bottom-bar.active {
    bottom: auto;
    overflow: scroll;
    top: 0; }
    .kfm-bottom-bar.active .kfm-menu-btn {
      border: none;
      padding: 0; }
    .kfm-bottom-bar.active .cateallnodata {
      display: block; }
      .kfm-bottom-bar.active .cateallnodata.datasearch {
        display: none; }
    .kfm-bottom-bar.active .kfm-bottom-nav {
      display: none !important; }
    .kfm-bottom-bar.active .onearrow {
      display: block; }
    .kfm-bottom-bar.active .oneloop {
      display: none; }

.kfm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  flex-wrap: wrap;
  gap: 8px; }

.kfm-menu-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  background-color: #fff; }

.kfm-menu-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain; }

.kfm-search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 92px;
  padding: 6px 12px;
  background: #fff;
  max-width: 100%; }
  .kfm-search-bar form {
    width: 100%;
    display: flex; }
    .kfm-search-bar form input {
      flex-grow: 1; }

.kfm-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  background: transparent; }

.kfm-search-bar svg {
  width: 20px;
  height: 20px;
  color: #ff6600;
  flex-shrink: 0; }

.kfm-bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 12px 0;
  background: #fff;
  border-top: 1px solid #eee;
  text-align: center; }

.kfm-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s; }

.kfm-nav-item:hover {
  color: #ff6600; }

.kfm-nav-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  object-fit: contain; }

.kfm-hot-keywords {
  border-bottom: 1px solid #e5e7eb;
  /* border-content-border */
  padding: 12px 16px; }

.kfm-hot-keywords-title {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: #111827;
  /* text-content-primary */ }

.kfm-hot-keywords-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  /* nếu muốn spacing, có thể thêm gap-x-2 */
  margin-top: 8px; }

.kfm-hot-keyword-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  text-decoration: none; }

.kfm-hot-keyword-item svg {
  min-width: 20px;
  width: 20px;
  height: 20px;
  color: #6b7280;
  /* fallback if no fill */ }

.kfm-hot-keyword-text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #111827;
  /* text-content-primary */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden; }

.trending-keywords {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb; }

.trending-keywords-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1f2937; }

.trending-keywords-scroll {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px; }

.trending-keyword-item {
  flex: 0 0 auto;
  min-width: calc(33.33% - 10.6px);
  /* hiển thị 3 item trên hàng */
  display: flex;
  align-items: center;
  gap: 8px;
  scroll-snap-align: start;
  text-decoration: none; }

.trending-keyword-icon {
  min-width: 20px;
  color: #1f2937; }

.trending-keyword-text {
  font-size: 14px;
  line-height: 20px;
  color: #1f2937;
  white-space: nowrap; }

.promo-group {
  padding: 16px; }

.promo-group-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px; }

.promo-group-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 16px;
  padding-bottom: 4px; }

.promo-group-item {
  flex: 0 0 auto;
  width: 80px;
  scroll-snap-align: start;
  text-align: center; }

.promo-group-link {
  display: block;
  text-decoration: none;
  color: inherit; }

.promo-group-image {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  object-fit: cover;
  margin: 0 auto; }

.promo-group-text {
  font-size: 12px;
  line-height: 16px;
  margin-top: 6px;
  white-space: normal;
  word-break: break-word; }

.banner-scroll {
  padding: 16px; }

.banner-scroll-list {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px; }

.banner-scroll-item {
  flex: 0 0 auto;
  width: 280px;
  /* hơn 1 item/lượt */
  scroll-snap-align: start; }

.banner-scroll-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover; }

.featured-product {
  padding: 16px; }

.featured-product-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1f2937; }

.featured-product-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; }

.featured-product-scroll > * {
  flex: 0 0 280px;
  scroll-snap-align: start;
  max-width: 100%; }

.kfm-bottom-bar .product-loop .proloop-detail .proloop-actions__inner .actions-primary .btn-proloop-cart {
  padding: 0 45px 0 15px !important;
  height: 32px !important;
  line-height: 30px; }

.kfm-bottom-bar .product-loop .proloop-detail .proloop-actions__inner .actions-primary .btn-proloop-cart .btnico {
  position: absolute;
  right: 5px;
  top: 2px; }

@media (min-width: 768px) {
  .kfm-bottom-bar {
    display: none !important; } }

.category-list2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px; }
  .category-list2 > div {
    min-width: 0; }
    .category-list2 > div .category-item {
      width: initial; }

.home-category-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  padding: 20px 0;
  padding: 20px; }
  .home-category-list .home-category-link {
    padding-bottom: 10px !important; }

.home-category-link img {
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  transition: transform 0.3s; }

.home-category-link:hover img {
  transform: scale(1.05); }

.home-category-link span {
  display: block;
  font-size: 14px;
  color: #222; }

.datasearch {
  display: none; }

#quick-view-modal {
  z-index: 99999; }

.kfm-bottom-bar.active {
  z-index: 99;
  display: block !important;
  bottom: initial !important;
  max-height: 100vh;
  overflow: auto; }
