
.sponsored-section {
  max-width: 1745px;
  margin: 0 auto 0;
  padding: 0 10px;
}

.sponsored-title {
  font-size: 18px;
  font-weight: 600;
  color: #202124;
  margin-bottom: -10px;
}

.sponsored-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.sponsored-grid {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 35px 10px 28px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
 
.sponsored-grid::-webkit-scrollbar {
  display: none;
}

.sponsored-item {
  flex: 0 0 130px;
  background: #feffeb;
  border: 1px solid #f9ff8f;
  border-radius: 18px; 
  padding: 0;
  scroll-snap-align: start;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  overflow: hidden;
}

.sponsored-img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

.sponsored-item:hover {
  border: 0.1px solid #eff784;
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 20;
}

.sponsored-item:hover .sponsored-name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  -webkit-line-clamp: 3;
}

.sponsored-name {
  font-size: 13px;
  font-weight: 400;
  color: #1f00e9;
  margin: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.25s ease;
  cursor: default;
  height: 35px;
}

.sponsored-shop {
  font-size: 15px;
  font-weight: 400;
  color: #444343;
  margin: 8px;
}

.sponsored-price {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  margin: 0 8px 10px 8px;
}

.sponsored-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 3px 7px;
  font-size: 11px;
  color: #5f6368;
  background: #f1f3f4;
  border-radius: 4px;
}

.sponsored-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.sponsored-nav-btn:hover {
  background: #f1f3f4;
  transform: translateY(-50%) scale(1.05);
}

.sponsored-nav-btn svg {
  width: 25px;
  height: 25px;
}

.sponsored-prev {
  left: 0;
}

.sponsored-next {
  right: 0;
}

.sponsored-shipping {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 10px;
  font-size: 12px;
  color: #575757;
}

.sponsored-shipping .shipping-icon svg {
  width: 18px;
  height: 18px;
}

.sponsored-shipping .shipping-text {
  font-size: 12px;
  font-weight: 500;
}

.sponsored-shipping .shipping-icon svg path {
  fill: #575757;
}

.sponsored-item.sponsored-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: none;
  box-shadow: none;
  cursor: pointer;
}

.sponsored-item.sponsored-more:hover {
  transform: none;
  box-shadow: none;
  border: none;
}

.sponsored-more-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e9f1ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sponsored-more-arrow {
  font-size: 20px;
  line-height: 1;
  color: #333;
}

.sponsored-more-icon {
  width: 22px;
  height: 22px;
  fill: #1a73e8;
}

.sponsored-item.sponsored-more:hover .sponsored-more-circle {
  background: #dbe6ff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.16);
  transform: translateY(-2px);
}

.sponsored-more-text {
  margin-top: 6px;
  font-size: 13px;
  color: #555;
}

#product_justforyou img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

#product_justforyou .thumb-img img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.text-twoline {
  font-size: 14px;
  font-weight: 400;
  color: #202124;       
  margin-top: 19px;
}

.action-button {
  background: #000000;
  color: #FFFFFF;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
}

.mainsearch {
  background: #f6f6f6;
  padding-top: 56px;
  padding-bottom: 64px;
}

.mainsearch__tab {
  margin-bottom: 26px;
  gap: 22px;
  align-items: center;
  margin-left: 130px;
}

.mainsearch__tab .nav-link {
  padding: 0 0 8px;
  font-size: 30px;
  font-weight: 700;
  color: #222;
  border: none;
  border-bottom: 4px solid transparent;
  background: transparent;
  border-radius: 0;
  line-height: 1.2;
}

.mainsearch__tab .nav-link:hover {
  color: #ff0800;
  text-decoration: none;
}

.mainsearch__tab .nav-link.active {
  color: #ff0800;
  border-bottom-color: #ff0800;
}

.mainsearch__tab .ai-mode {
  position: relative;
}

.mainsearch__form {
  position: relative;
  background: #fff;
  border: 2px solid #ff0800;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  padding: 14px 160px 14px 16px;
}

.mainsearch__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mainsearch__field {
  flex: 1;
  min-width: 0;
}

.mainsearch__form .form-control {
  border: 0;
  box-shadow: none;
  font-size: 16px;
  color: #222;
  height: 42px;
  padding: 0;
  background: transparent;
}

.mainsearch__form .form-control:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

.mainsearch__form .form-control::placeholder {
  color: #777;
}

.mainsearch__extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 16px;
}

.mainsearch__image {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 6px;
}

.mainsearch__image:hover {
  color: #ff0800;
  text-decoration: none;
}


.mainsearch .mainsearch__button {
  position: absolute;
  right: 5px;
  top: 70%;
  transform: translateY(-50%);
  min-width: 143px;
  height: 44px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, #e76851 0%, #ff0800 100%);
  white-space: nowrap;
  box-shadow: none;
}

.mainsearch__button:hover {
  color: #fff;
  opacity: .95;
}

.mainsearch__button:focus {
  box-shadow: none;
}

.mainsearch__form.fixed .mainsearch__button {
  top: 43%;
  right: 0px;
  transform: translateY(-50%);
}
.mainsearch__form.fixed .form-control{
  margin-top: -3px !important;
}

.mainsearch .suggest-box,
.mainsearch .search-suggest,
.mainsearch .suggest {
  top: calc(100% + 8px);
}

@media (max-width: 991px) {
  .mainsearch {
    padding-top: 32px;
    padding-bottom: 36px;
  }

  .mainsearch__tab {
    gap: 10px;
    margin-bottom: 26px;
    flex-wrap: wrap;
    margin-top: 130px;
  }

  .mainsearch__tab .nav-link {
    font-size: 18px;
  }

  .mainsearch__form {
    padding: 14px;
    border-radius: 18px;
  }

  .mainsearch__extras {
    flex-direction: column;
    align-items: stretch;
  }

  .mainsearch__button {
    width: 20%;
  }

  .mainsearch__form.fixed .mainsearch__button {
    top: 19%;
    right: 0px;
    transform: translateY(-50%);
  }
}

@media (max-width: 576px) {

  .mainsearch__form .form-control {
    height: 36px !important;
  }
  .mainsearch__tab {
    justify-content: flex-start !important;
    gap: 14px;
  }

  .mainsearch__tab .nav-link {
    font-size: 16px;
  }

  .mainsearch__form .form-control {
    font-size: 14px;
    height: 100px;
  }

  .mainsearch__image {
    font-size: 14px;
  }

    .mainsearch-action-item + .mainsearch-action-item::before {
    display: none;
  }

  .mainsearch-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .mainsearch-action-item {
    padding: 0;
  }

    .mainsearch {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .mainsearch__tab {
    justify-content: flex-start !important;
    gap: 0px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .mainsearch__tab .nav-link {
    font-size: 16px;
  }

  .mainsearch__form {
    position: relative;
    height: 35px !important;
    min-height: auto !important;
    padding: 14px !important;
    border-radius: 18px;
  }

  .mainsearch__row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .mainsearch__field {
    width: 100%;
  }

  .mainsearch__form .form-control,
  .mainsearch__form #key_search {
    display: block !important;
    height: 48px !important;
    min-height: 48px !important;
    font-size: 18px !important;
    margin-top: -13px !important;
    padding: 0 !important;
  }

  .mainsearch .mainsearch__button,
  .mainsearch__form.fixed .mainsearch__button {
    transform: none !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 40px !important;
    top: 65px;
    right: 4px !important;
    margin: 0 !important;
    border-radius: 18px !important;
    font-size: 14px !important;
  }

  .mainsearch-info-bar {
    margin-top: 16px;
  }

  .mainsearch-info-inner {
    padding: 14px 16px;
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mainsearch-welcome {
    font-size: 14px;
    white-space: normal;
  }

  .mainsearch-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .mainsearch-action-item {
    padding: 0;
    font-size: 14px;
  }

  .mainsearch-action-item + .mainsearch-action-item::before {
    display: none;
  }

  .mainsearch .mainsearch__button,
  .mainsearch__form.fixed .mainsearch__button {
    min-width: 86px !important;
    width: 86px !important;
    height: 28px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    border-radius: 18px !important;
    gap: 4px !important;
  }

  .mainsearch .mainsearch__button i,
  .mainsearch__form.fixed .mainsearch__button i {
    font-size: 11px !important;
  }

  .mainsearch__form {
    padding: 10px !important;
  }

    .mainsearch__form {
    height: 44px !important;
    min-height: auto !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .mainsearch__form .form-control,
  .mainsearch__form #key_search {
    display: block !important;
    height: 36px !important;
    min-height: 36px !important;
    font-size: 16px !important;
    margin-top: -15px !important;
  }

    .mainsearch__form {
    height: 100px !important;
    min-height: auto !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }


  .mainsearch .mainsearch__button,
  .mainsearch__form.fixed .mainsearch__button {
    width: 74px !important;
    min-width: 74px !important;
    height: 26px !important;
    font-size: 11px !important;
  }

  .mainsearch__form.fixed {
    top: 8px;
    left: 270px !important;
    right: 0px;
    transform: translateY(-50%);
    height: 30px !important;
  }

  .mainsearch__form.fixed .mainsearch__button {
    top: 4%;
  }
}

body.search-scrolled .mainsearch__form {
  padding: 10px 150px 10px 16px;
  min-height: 72px;
  border-radius: 18px;
}

body.search-scrolled .mainsearch .mainsearch__form .form-control {
  font-size: 16px;
  height: 40px;
}

/* Mặc định: ô search to */
.mainsearch__form {

 height: 114px;

}

.mainsearch-info-bar {
  width: 100%;
  background: #f3f3f3;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  margin-top: 28px;
}

.mainsearch-info-inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 80px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mainsearch-welcome {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
}

.mainsearch-actions {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.mainsearch-action-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #222;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
}

.mainsearch-action-item:hover {
  color: #ff0800;
  text-decoration: none;
}

.mainsearch-action-item + .mainsearch-action-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  background: #cfcfcf;
  transform: translateY(-50%);
}

.action-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
}

.action-icon svg {
  width: 22px;
  height: 22px;
  fill: #222;
  display: block;
}

.mainsearch-action-item:hover .action-icon svg {
  fill: #ff0800;
}

.alibaba-cate-ui {
  background: #fff;
  padding: 0px 0 0px;
}

.alibaba-cate-ui .cate-banner-wrap {
  max-width: 1450px;
  margin: 45px auto;
}

.alibaba-cate-box {
  width: 280px;
  background: #f7f7f7;
  border-radius: 12px;
  overflow: visible;
  position: relative;
}

.alibaba-cate-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.alibaba-cate-item {
  position: relative;
}

.alibaba-cate-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: #222;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  transition: background .2s ease, color .2s ease;
}

.alibaba-cate-link:hover {
  background: #efefef;
  color: #000;
  text-decoration: none;
}

.alibaba-cate-icon {
  width: 24px;
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.alibaba-cate-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.alibaba-cate-text {
  flex: 1;
}

.alibaba-cate-arrow {
  font-size: 24px;
  color: #8a8a8a;
  line-height: 1;
}

.alibaba-cate-item--all .alibaba-cate-icon {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

/* Dropdown bay sang phải như mega menu */
.alibaba-cate-dropdown {
  display: none;
  position: absolute;
  top: 0;
  left: calc(100% + 12px);
  min-width: 880px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  z-index: 100;
}

.alibaba-cate-item:hover .alibaba-cate-dropdown {
  display: block;
}

.alibaba-cate-dropdown .dropdown-item {
  display: block;
  padding: 4px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.alibaba-cate-dropdown .dropdown-item:hover {
  color: #ff0800;
  text-decoration: none;
}

.alibaba-cate-dropdown .text-b {
  font-weight: 700;
  margin-bottom: 6px;
}

.alibaba-cate-dropdown .more-link {
  text-decoration: underline;
}

.alibaba-cate-dropdown p {
  margin-top: 16px;
  margin-bottom: 0;
}

.alibaba-cate-dropdown p a {
  color: #ff0800;
  font-weight: 600;
  text-decoration: none;
}

.alibaba-cate-dropdown p a:hover {
  text-decoration: underline;
}

.alibaba-cate-ui {
  background: #f3f3f3;
  padding: 10px 0 24px;
}

.alibaba-cate-box {
  width: 280px;
  background: #f7f7f7;
  border-radius: 12px;
  overflow: hidden;
}

.alibaba-cate-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.alibaba-cate-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: #222;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.alibaba-cate-link:hover {
  background: #efefef;
  text-decoration: none;
  color: #000;
}

.alibaba-cate-icon {
  width: 24px;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.alibaba-cate-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.alibaba-cate-text {
  flex: 1;
}

.alibaba-cate-arrow {
  font-size: 24px;
  color: #888;
  line-height: 1;
}

/* modal */
.category-mega-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.category-mega-modal.active {
  display: block;
}

.category-mega-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
}

.category-mega-panel {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 40px));
  height: min(82vh, 760px);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}

.category-mega-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 44px;
  line-height: 1;
  color: #444;
  cursor: pointer;
  z-index: 3;
}

.category-mega-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  height: 100%;
}

.category-mega-sidebar {
  border-right: 1px solid #ececec;
  background: #fafafa;
  overflow-y: auto;
}

.category-mega-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 16px 0;
}

.category-mega-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: #222;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.category-mega-sidebar-link:hover,
.category-mega-sidebar-link.active {
  background: #f0f0f0;
  color: #000;
  text-decoration: none;
}

.category-mega-sidebar-icon {
  width: 24px;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.category-mega-sidebar-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.category-mega-sidebar-text {
  flex: 1;
}

.category-mega-sidebar-arrow {
  font-size: 24px;
  color: #777;
}

.category-mega-content {
  padding: 28px 26px 22px;
  overflow-y: auto;
}

.category-mega-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.category-mega-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

.category-mega-header a {
  color: #555;
  font-size: 14px;
  text-decoration: underline;
}

.category-mega-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 28px 18px;
}

.category-mega-card {
  text-align: center;
  color: #222;
  text-decoration: none;
}

.category-mega-card:hover {
  text-decoration: none;
  color: #ff0800;
}

.category-mega-thumb {
  width: 92px;
  height: 92px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-mega-thumb img {
  max-width: 74px;
  max-height: 74px;
  object-fit: contain;
  display: block;
}

.category-mega-name {
  font-size: 14px;
  line-height: 1.35;
  min-height: 38px;
}

.category-mega-footer {
  margin-top: 28px;
  text-align: center;
}

.category-mega-footer a {
  color: #ff0800;
  font-weight: 600;
  text-decoration: none;
}

.category-mega-footer a:hover {
  text-decoration: underline;
}

.alibaba-cate-box {
  width: 280px;
  background: #f7f7f7;
  border-radius: 12px;
  overflow: hidden;
}

.alibaba-cate-list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
}

.alibaba-cate-list::-webkit-scrollbar {
  width: 6px;
}

.alibaba-cate-list::-webkit-scrollbar-track {
  background: transparent;
}

.alibaba-cate-list::-webkit-scrollbar-thumb {
  background: #9a9a9a;
  border-radius: 10px;
}

.alibaba-cate-list::-webkit-scrollbar-thumb:hover {
  background: #7f7f7f;
}
.mainsearch__form #key_search {
    margin-top: 0px;
    font-size: 16px;
    border-radius: 0px;
}
#suggest{
    top: 113px;
    right: 0px;
}
.fixed #suggest{
    top: 46px;
}

.mainsearch__form {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.mainsearch__form:hover,
.mainsearch__form:focus-within {
  border: 2px solid #ff0800;
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.08);
}



/* fix cứng màn hình */

@media (max-width: 768px) {
	.mainsearch__form.fixed {
		left: 200px;
    top: 8px;
	}
}

/* ... */

  .alibaba-cate-ui {
    background: #f3f3f3;
    padding: 18px 0 28px;
  }

  .cate-banner-row {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px repeat(3, 242px) 388px;
    gap: 12px;
    align-items: stretch;
  }

  /* Sidebar */
  .alibaba-cate-box {
    width: 100%;
    background: #f7f7f7;
    border-radius: 16px;
    overflow: hidden;
    height: 304px;
  }

  .alibaba-cate-list {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .alibaba-cate-list::-webkit-scrollbar {
    width: 6px;
  }

  .alibaba-cate-list::-webkit-scrollbar-thumb {
    background: #9a9a9a;
    border-radius: 10px;
  }

  .alibaba-cate-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #222;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    transition: background .2s ease;
  }

  .alibaba-cate-link:hover {
    background: #efefef;
    color: #000;
    text-decoration: none;
  }

  .alibaba-cate-icon {
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .alibaba-cate-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
  }

  .alibaba-cate-text {
    flex: 1;
  }

  .alibaba-cate-arrow {
    font-size: 22px;
    color: #8a8a8a;
    line-height: 1;
  }

  /* 3 card nhỏ giống Alibaba */
  .alibaba-feature-card {
    background: #f8f8f8;
    border-radius: 16px;
    height: 304px;
    padding: 16px;
    overflow: hidden;
    position: relative;
  }

  .alibaba-feature-title {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
  }

  .alibaba-feature-sub {
    font-size: 15px;
    line-height: 1.2;
    color: #666;
    margin-bottom: 14px;
  }

  .alibaba-feature-body {
    height: calc(100% - 54px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .alibaba-feature-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .25s ease;
  }

  .alibaba-feature-card:hover .alibaba-feature-body img {
    transform: scale(1.03);
  }

  /* Lịch sử duyệt: tắt scale khi hover — tránh ảnh bị “mất” do overflow + compositing */
  .alibaba-feature-card.b2b-recent-feature-card:hover .alibaba-feature-body img {
    transform: none;
  }

  .b2b-recent-feature-card .alibaba-feature-body .b2b-recent-home-link {
    line-height: 0;
  }

  /* Banner phải */
  .alibaba-hero-banner {
    height: 304px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #eecfc7;
  }

  .alibaba-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .alibaba-hero-banner--ads {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
  }

  .alibaba-hero-banner--ads #adm-container-108 {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Nếu muốn nút tròn điều hướng card giống Alibaba */
  .alibaba-card-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
  }

  .alibaba-card-nav.prev {
    left: 8px;
  }

  .alibaba-card-nav.next {
    right: 8px;
  }

  /* Info bar trên */
  .mainsearch-info-bar {
    width: 100%;
    background: #efefef;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    margin-top: 28px;
  }

  .mainsearch-info-inner {
    max-width: 1440px;
    margin: 0 auto;
    min-height: 72px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .mainsearch-welcome {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
  }

  .mainsearch-actions {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
  }

  .mainsearch-action-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #222;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 0 20px;
    position: relative;
    white-space: nowrap;
  }

  .mainsearch-action-item+.mainsearch-action-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 22px;
    background: #cfcfcf;
    transform: translateY(-50%);
  }

  .mainsearch__form .form-control {
    border: 0;
    box-shadow: none;
    font-size: 18px;
    color: #222;
    height: 44px;
    padding: 0;
    background: transparent;
  }

  /* QUAN TRỌNG: bỏ scale card như sponsored hiện tại */
  .sponsored-item:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 2;
  }

  /* responsive */
  @media (max-width: 1399px) {
    .cate-banner-row {
      grid-template-columns: 280px repeat(3, 1fr) 1.4fr;
    }
  }

  @media (max-width: 1199px) {
    .cate-banner-row {
      grid-template-columns: 280px 1fr 1fr;
    }

    .alibaba-feature-card:nth-of-type(4),
    .alibaba-hero-banner {
      display: none;
    }
  }

  .keep-looking-card {
    background: #f8f8f8;
    border-radius: 16px;
    height: 304px;
    padding: 16px;
    overflow: hidden;
  }

  .alibaba-feature-title {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
  }

  .alibaba-feature-sub {
    font-size: 15px;
    line-height: 1.2;
    color: #666;
    margin-bottom: 14px;
  }

  .keep-looking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    height: 210px;
    /* có thể chỉnh 180-190 nếu muốn */
  }

  .keep-looking-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    overflow: hidden;
  }

  .keep-looking-item:nth-child(2n) {
    border-right: none;
  }

  .keep-looking-item:nth-child(3),
  .keep-looking-item:nth-child(4) {
    border-bottom: none;
  }

  .keep-looking-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* hoặc contain nếu muốn giống kiểu packshot */
    display: block;
    transition: transform 0.25s ease;
  }

  .keep-looking-item:hover img {
    transform: scale(1.04);
  }

  .keep-looking-price {
    position: absolute;
    left: 8px;
    bottom: 8px;
    background: #fff;
    color: #222;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
  }

  .mainsearch__extras {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 40px;
}

.mainsearch__image {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 2px;
}

.mainsearch__image:hover {
  color: #ff0800;
  text-decoration: none;
}

.mainsearch__image-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mainsearch__image-icon svg {
  width: 30px;
  height: 30px;
  fill: #333;
}

.mainsearch__image:hover .mainsearch__image-icon svg {
  fill: #ff0800;
}

.mainsearch__form {
  position: relative;
  z-index: 20;
}

.image-search-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  max-width: 1050px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 16px;
  z-index: 9999;
}

.image-search-panel.active {
  display: block;
}

.image-search-title {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.image-search-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: #555;
  cursor: pointer;
}

.image-search-dropzone {
  border: 2px dashed #d7d7d7;
  border-radius: 12px;
  min-height: 220px;
  padding: 26px 20px;
  text-align: center;
  background: #fafafa;
}

.image-search-dropzone.dragover {
  border-color: #ff7a00;
  background: #fff6ef;
}

.image-search-upload-icon svg {
  width: 46px;
  height: 46px;
  fill: #4b4b4b;
}

.image-search-dropzone p {
  margin: 6px 0;
  font-size: 15px;
  color: #444;
}

.image-search-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f5a623 0%, #ff5a36 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
}

.image-search-footer {
  margin-top: 12px;
  background: linear-gradient(90deg, #f7eee8 0%, #f3f3f3 100%);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: #333;
}

.image-search-close {
  position: absolute;
  top: 12px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  font-size: 36px;
  line-height: 1;
  color: #555;
  cursor: pointer;
}

.image-search-title {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin-bottom: 14px;
}

.image-search-dropzone {
  border: 2px dashed #d8d8d8;
  border-radius: 12px;
  min-height: 260px;
  padding: 28px 20px;
  text-align: center;
  background: #fafafa;
  transition: border-color .2s ease, background .2s ease;
}

.image-search-dropzone.dragover {
  border-color: #ff0800;
  background: #fff6ef;
}

.image-search-upload-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
}

.image-search-upload-icon svg {
  width: 54px;
  height: 54px;
  fill: #4b4b4b;
}

.image-search-dropzone p {
  margin: 6px 0;
  font-size: 15px;
  color: #444;
}

.image-search-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff0800 0%, #ff5a36 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
}

.image-search-preview {
  margin-top: 18px;
}

.image-search-preview img {
  max-width: 220px;
  max-height: 220px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

.image-search-footer {
  margin-top: 12px;
  background: linear-gradient(90deg, #f7eee8 0%, #f3f3f3 100%);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: #333;
}

@media (max-width: 576px) {
  .mainsearch__extras {
    margin-top: 6px;
  }

  .mainsearch__image {
    font-size: 14px;
  }

  .image-search-dialog {
    top: 120px;
    padding: 18px 14px 14px;
  }

  .image-search-dropzone {
    min-height: 220px;
    padding: 20px 12px;
  }
}
.mainsearch__form.fixed .mainsearch__extras {
  position: absolute;
  top: -50%;
  right: 154px;
  transform: translateY(-50%);
}

/* fix cứng màn hình */
html, body {
  overflow-x: auto;
}

body {
  min-width: 1440px;
}

.mainsearch {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.mainsearch-inner {
  width: 980px;
  min-width: 980px;
  max-width: 980px;
  margin-left: 24px;
  margin-right: 0;
}

.mainsearch-info-inner,
.cate-banner-row,
.sponsored-section,
.sponsored-wrapper,
.home-page-section .container-fluid,
.home-cate-section .container-fluid,
.section-product-recommend .container-fluid,
.main-content-wrap {
  width: 1440px;
  min-width: 1440px;
  max-width: 1440px;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.cate-banner-row {
  display: grid;
  grid-template-columns: 280px 242px 242px 242px 388px;
  gap: 12px;
}

.mainsearch {
  width: 1440px;
  min-width: 1440px;
  max-width: 1440px;
  margin-left: 250px ;
  box-sizing: border-box;
}

.mainsearch-shell {
  width: 980px;
  min-width: 980px;
  max-width: 980px;
  margin-left: 170px; /* chỉnh 24 / 80 / 160 tùy bạn muốn */
  margin-right: 0;
}

.mainsearch__tab {
  justify-content: flex-start !important;
}

.mainsearch__form {
  width: 100%;
  min-width: 850px;
  max-width: 980px;
  margin-left: 0px !important;
  margin-right: 0 !important;
}
.mainsearch__form.fixed {
  min-width: 720px;
  max-width: 760px;
}

.mainsearch-info-bar {
  width: 1450px;
  min-width: 1450px;
  max-width: 1450px;
  margin-left: -170px; /* bằng đúng margin-left của .mainsearch-shell nếu muốn thanh dưới kéo rộng */
}

.mainsearch-info-inner {
  width: 1450px;
  min-width: 1450px;
  max-width: 1450px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ... */

.promo-deals-strip {
  width: 1440px;
  min-width: 1440px;
  max-width: 1440px;
  margin: 14px 0 18px;
  padding: 0;
  box-sizing: border-box;
}

.promo-deals-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 14px;
  align-items: stretch;
  background: #f4ddd3;
  border-radius: 16px;
  padding: 14px;
  overflow: hidden;
}

.promo-deals-hero {
  position: relative;
  min-height: 230px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3d9d4 0%, #f2cfc7 100%);
  padding: 30px 26px;
  text-decoration: none;
  overflow: hidden;
}

.promo-deals-hero:hover {
  text-decoration: none;
}

.promo-deals-hero-badge {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
}

.promo-deals-hero-title {
  position: relative;
  z-index: 2;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: #202124;
  margin-bottom: 26px;
}

.promo-deals-hero-title span {
  color: #ff5a1f;
}

.promo-deals-hero-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 42px;
  padding: 0 18px;
  background: #e85d04;
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.promo-deals-hero-bg {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 240px;
  height: 180px;
  opacity: .18;
  background:
    linear-gradient(135deg, transparent 25%, #ff8f70 25%, #ff8f70 50%, transparent 50%, transparent 75%, #ff8f70 75%) 0 0/90px 90px;
  transform: rotate(8deg);
}

.promo-deals-slider-wrap {
  position: relative;
  min-width: 0;
}

.promo-deals-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0;
  scrollbar-width: none;
}

.promo-deals-slider::-webkit-scrollbar {
  display: none;
}

.promo-deals-card {
  flex: 0 0 160px;
  min-width: 160px;
  background: transparent;
  text-decoration: none;
  color: inherit;
}

.promo-deals-card:hover {
  text-decoration: none;
}

.promo-deals-thumb {
  width: 100%;
  height: 168px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
}

.promo-deals-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .25s ease;
}

.promo-deals-card:hover .promo-deals-thumb img {
  transform: scale(1.04);
}

.promo-deals-card--supplier .promo-deals-thumb {
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-deals-card--supplier .promo-deals-thumb img {
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
}

.promo-deals-strip--suppliers .promo-deals-card--supplier:hover .promo-deals-thumb img {
  transform: none;
}

.promo-deals-card--supplier .promo-deals-price {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-deals-price {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  color: #202124;
  margin-bottom: 6px;
}

.promo-deals-desc {
  font-size: 13px;
  line-height: 1.35;
  color: #5f6368;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-deals-nav {
  position: absolute;
  top: 84px;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.promo-deals-nav svg {
  width: 22px;
  height: 22px;
  fill: #333;
}

.promo-deals-prev {
  left: -8px;
}

.promo-deals-next {
  right: -8px;
}

.promo-deals-nav:hover {
  background: #f5f5f5;
}

@media (max-width: 576px) {
  .promo-deals-strip {
    display: none;
  }
}

.promo-deals-inner {
  background: #efd8cc;
}

.promo-deals-card {
  flex: 0 0 150px;
  min-width: 150px;
}

.promo-deals-thumb {
  height: 166px;
}

.promo-deals-strip {
  width: calc(100% - 24px);
  max-width: 1440px;
  min-width: 0;
  margin: 14px auto 18px auto;
  box-sizing: border-box;
}

.main-content-wrap {
  width: calc(100% - 24px);
  max-width: 1440px;
  min-width: 0;
  margin: 14px auto 0px auto;
  box-sizing: border-box;
}

.mainsearch {
  width: calc(100% - 24px);
  max-width: 1440px;
  min-width: 0;
  margin: 14px auto 18px auto;
  box-sizing: border-box;
}


/* ... */
.promo-guarantee-section {
  width: 100%;
  max-width: 1440px;
  margin: 18px auto 0 !important;
  padding: 0 12px;
  box-sizing: border-box;
  clear: both;
  display: block !important;
}

.promo-guarantee-grid {
  width: 100%;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px;
  align-items: stretch;
}

.promo-guarantee-card {
  width: 100%;
  min-width: 0;
  min-height: 420px;
  border-radius: 10px;
  overflow: hidden;
  padding: 24px 14px 14px;
  box-sizing: border-box;
  position: relative;
}

.promo-guarantee-card--brown {
  background: linear-gradient(180deg, #b91c1c 0%, #362d6a 100%);
}

.promo-guarantee-card--purple {
  background: linear-gradient(180deg, #003571 0%, #991b1b 100%);
}

.promo-guarantee-head {
  text-align: center;
  margin-bottom: 16px;
  color: #fff;
}

.promo-guarantee-head h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
}

.promo-guarantee-head h3 span {
  color: #ff8b1f;
}

.promo-guarantee-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 18px;
}

.promo-guarantee-features span {
  position: relative;
  padding-left: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.promo-guarantee-features span::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

.promo-guarantee-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.promo-guarantee-btn:hover {
  color: #fff;
  text-decoration: none;
}

.promo-guarantee-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.promo-guarantee-item {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.promo-guarantee-thumb {
  position: relative;
  height: 168px;
  overflow: hidden;
  background: #f6f6f6;
}

.promo-guarantee-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-guarantee-item--featured .promo-guarantee-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.promo-guarantee-item--featured .promo-guarantee-thumb img {
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
}

.promo-guarantee-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  background: #7e7bff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.promo-guarantee-chip {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  max-width: calc(100% - 16px);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(90,90,90,.75);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-guarantee-price {
  padding: 10px 8px 4px;
  font-size: 16px;
  font-weight: 800;
  color: #202124;
  line-height: 1.2;
}

.promo-guarantee-sub {
  padding: 0 8px 10px;
  font-size: 13px;
  line-height: 1.3;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-guarantee-card--brown .promo-guarantee-sub {
  color: #ff5a1f;
}

@media (max-width: 1199px) {
  .promo-guarantee-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 576px) {
  .promo-guarantee-section {
    display: none !important;
  }
}
.promo-guarantee-section,
.promo-guarantee-section * {
  box-sizing: border-box;
}

.promo-guarantee-section .promo-guarantee-grid,
.promo-guarantee-section .promo-guarantee-card,
.promo-guarantee-section .promo-guarantee-products,
.promo-guarantee-section .promo-guarantee-item {
  float: none !important;
}

.promo-guarantee-section .promo-guarantee-card,
.promo-guarantee-section .promo-guarantee-item {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.biz-recommend-heading {
  width: 100%;
  max-width: 1440px;
  margin: 28px auto 14px;
  text-align: center;
  color: #777;
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

.biz-recommend-heading span {
  position: relative;
  display: inline-block;
  padding: 0 16px;
  background: #f3f3f3;
  z-index: 2;
}

.biz-recommend-heading::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  max-width: calc(100% - 40px);
  height: 1px;
  background: #d3d3d3;
  transform: translate(-50%, -50%);
}

.promo-guarantee-slider-wrap {
  position: relative;
}

.promo-guarantee-products--scroll {
  display: flex !important;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.promo-guarantee-products--scroll::-webkit-scrollbar {
  display: none;
}

.promo-guarantee-products--scroll .promo-guarantee-item {
  flex: 0 0 calc(25% - 8px);
  min-width: calc(25% - 8px);
}

.promo-guarantee-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.promo-guarantee-nav svg {
  width: 22px;
  height: 22px;
  fill: #333;
}

.promo-guarantee-prev {
  left: -8px;
}

.promo-guarantee-next {
  right: -8px;
}

.promo-guarantee-nav:hover {
  background: #f5f5f5;
}

@media (max-width: 576px) {
  .biz-recommend-heading {
    display: none;
  }
}

.cate-banner-wrap {
    margin: 0 0 0 0;
}
.container-fluid {
    padding: 0;
}


/* ...... */

.top-deals-section {
  width: 100%;
  max-width: 1440px;
  margin: 18px auto 0;
  padding: 0 12px;
  box-sizing: border-box;
}

.top-deals-box {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 18px 16px 16px;
}

.top-deals-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.top-deals-head-left h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #222;
}

.top-deals-head-left p {
  margin: 8px 0 0;
  font-size: 14px;
  color: #666;
}

.top-deals-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.top-deals-more:hover {
  text-decoration: none;
  color: #000;
}

.top-deals-more svg {
  width: 18px;
  height: 18px;
  fill: #222;
}

.top-deals-slider-wrap {
  position: relative;
}

.top-deals-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.top-deals-slider::-webkit-scrollbar {
  display: none;
}

.top-deals-item {
  flex: 0 0 calc(16.666% - 9px);
  min-width: calc(16.666% - 9px);
  text-decoration: none;
  color: inherit;
}

.top-deals-item:hover {
  text-decoration: none;
  color: inherit;
}

.top-deals-thumb {
  position: relative;
  width: 100%;
  height: 228px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 10px;
}

.top-deals-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-deals-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  background: #8b7cff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.top-deals-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.top-deals-price {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  color: #ff1f00;
}

.top-deals-old-price {
  font-size: 13px;
  color: #8b8b8b;
  text-decoration: line-through;
}

.top-deals-moq {
  font-size: 13px;
  line-height: 1.35;
  color: #555;
}

.top-deals-nav {
  position: absolute;
  top: 96px;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.top-deals-nav svg {
  width: 22px;
  height: 22px;
  fill: #333;
}

.top-deals-prev {
  left: -10px;
}

.top-deals-next {
  right: -10px;
}

.top-deals-nav:hover {
  background: #f2f2f2;
}

@media (max-width: 1199px) {
  .top-deals-item {
    flex: 0 0 calc(25% - 8px);
    min-width: calc(25% - 8px);
  }
}

@media (max-width: 576px) {
  .top-deals-section {
    display: none;
  }
}

.dual-showcase-section {
  width: 100%;
  max-width: 1440px;
  margin: 18px auto 0;
  padding: 0 12px;
  box-sizing: border-box;
}

.dual-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.dual-showcase-box {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 12px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dual-showcase-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.dual-showcase-head-left h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  color: #222;
}

.dual-showcase-head-left p {
  margin: 6px 0 0;
  font-size: 13px;
  color: #777;
}

.dual-showcase-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.dual-showcase-more:hover {
  text-decoration: none;
  color: #000;
}

.dual-showcase-more svg {
  width: 16px;
  height: 16px;
  fill: #222;
}

/* left block */
.ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ranking-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
}

.ranking-card:hover {
  text-decoration: none;
  color: inherit;
}

.ranking-thumb {
  width: 100%;
  height: 132px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f1f1;
  margin-bottom: 10px;
  position: relative;
}

.ranking-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ranking-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: #3b2b22;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 7px;
  border-radius: 999px;
}

.ranking-title {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.ranking-sub {
  font-size: 12px;
  color: #777;
}

/* right block */
.new-arrival-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.new-arrival-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.new-arrival-card:hover {
  text-decoration: none;
  color: inherit;
}

.new-arrival-thumb {
  width: 100%;
  height: 137px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 8px;
}

.new-arrival-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.new-arrival-note {
  font-size: 11px;
  line-height: 1.3;
  color: #ff5a1f;
  margin-bottom: 3px;
  min-height: 14px; /* chừa sẵn chỗ */
  display: block;
}

.new-arrival-card {
  display: flex;
  flex-direction: column;
  height: 250px;
  min-width: 0;
  background: #fff;
}

.new-arrival-thumb {
  width: 100%;
  height: 137px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.new-arrival-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.new-arrival-note {
  font-size: 11px;
  line-height: 1.3;
  color: #ff5a1f;
  min-height: 14px;
  margin-bottom: 3px;
  display: block;
}

.new-arrival-name {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.new-arrival-price {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  color: #222;
  min-height: 34px; /* giữ chỗ cố định */
  margin-bottom: 4px;
  display: flex;
  align-items: flex-start;
}

.new-arrival-moq {
  font-size: 12px;
  line-height: 1.35;
  color: #666;
  min-height: 16px;
}
.new-arrival-price,
.new-arrival-moq {
  word-break: break-word;
}

.new-arrival-moq {
  font-size: 12px;
  line-height: 1.35;
  color: #666;
}

@media (max-width: 1199px) {
  .dual-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .dual-showcase-section {
    display: none;
  }
}

.dual-showcase-slider-wrap {
  position: relative;
  min-width: 0;
  width: 100%;
  flex: 1 1 auto;
  padding: 0px;
  box-sizing: border-box;
}

.dual-showcase-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
  min-width: 0;
}

.dual-showcase-slider::-webkit-scrollbar {
  display: none;
}

.dual-showcase-slider.ranking-slider .ranking-card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  flex: 0 0 calc(33.333% - 7px);
  min-width: calc(33.333% - 7px);
  max-width: calc(33.333% - 7px);
  width: calc(33.333% - 7px);
  height: auto;
  align-self: flex-start;
}

.dual-showcase-slider.arrival-slider .new-arrival-card {
  flex: 0 0 calc(33.333% - 7px);
  min-width: calc(33.333% - 7px);
  max-width: calc(33.333% - 7px);
  width: calc(33.333% - 7px);
  align-self: flex-start;
  height: auto;
  max-height: none;
  padding: 10px;
  border-radius: 10px;
}

.dual-showcase-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.dual-showcase-nav svg {
  width: 22px;
  height: 22px;
  fill: #333;
}

.dual-showcase-prev {
  left: 2px;
}

.dual-showcase-next {
  right: 2px;
}

.dual-showcase-nav:hover {
  background: #f3f3f3;
}

@media (max-width: 1199px) {
  .dual-showcase-slider.ranking-slider .ranking-card,
  .dual-showcase-slider.arrival-slider .new-arrival-card {
    flex: 0 0 calc(50% - 5px);
    min-width: calc(50% - 5px);
  }
}

.ranking-thumb,
.new-arrival-thumb {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ranking-thumb img,
.new-arrival-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ........ */

#product_justforyou .col-xl-2,
#product_justforyou .col-lg-3,
#product_justforyou .col-md-3,
#product_justforyou .col-6 {
  display: flex;
}

#product_justforyou .card {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 12px;
}

#product_justforyou .product-list-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Khung ảnh cố định */
#product_justforyou .list-item-img {
  width: 100%;
  height: 180px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Link ảnh */
#product_justforyou .list-item-img > a {
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
}

/* Ảnh sản phẩm */
#product_justforyou .list-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center;
  display: block;
  padding: 0;
  box-sizing: border-box;
  background: #fff;
}

@media (max-width: 575px) {
  #product_justforyou .list-item-img {
    height: 160px;
  }
}

/* Khối thông tin */
#product_justforyou .list-item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 8px 0px 0;
  height: 100%;
}

/* Title */
#product_justforyou .text-nm-1 {
  margin: 0px;
}

#product_justforyou .text-twoline {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  font-size: 14px;
  color: #222 !important;
  text-decoration: none;
  margin: 0;
}

/* Giá */
#product_justforyou .product-item-price {
  min-height: 32px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: auto;
}

/* MOQ */
#product_justforyou .product-item-order {
  font-size: 13px;
  line-height: 1.35;
  color: #444;
  margin: 0;
}

/* Logo + tên shop luôn nằm cuối */
#product_justforyou .list-item-logo {
  margin-top: auto;
  min-height: 34px;
  display: flex !important;
  align-items: center;
  gap: 6px;
}

#product_justforyou .text-oneline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#product_justforyou .list-item-logo p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Logo shop */
#product_justforyou .list-item-logo img {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  object-fit: cover !important;
  border-radius: 4px;
  background: #fff;
  padding: 0 !important;
}


.sponsored-name,
.ranking-title,
.new-arrival-moq,
.top-deals-name,
#product_justforyou .text-twoline {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ranking-thumb {
  width: 100%;
  height: 132px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f1f1;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.ranking-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ranking-title {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.new-arrival-price {
  min-height: 20px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  color: #222;
  margin-bottom: 4px;
}

.ranking-sub {
  min-height: 16px;
  font-size: 12px;
  color: #777;
}
.alibaba-feature-sub {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}