.yibo_goods_list {
  overflow: hidden;
  padding: var(--component-gap) 0;
  background: var(--bg-color);
}

.yibo_goods_list-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--text-gap-xs);
}

.yibo_goods_list-title {
  margin: 0;
  color: var(--title-text-color);
  font-family: var(--title-font-family);
  font-size: clamp(40px, 3.4vw, 66px);
  font-weight: 500;
  line-height: 1.06;
}

.yibo_goods_list-desc {
  margin: 0;
  max-width: 70%;
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: var(--text-size-lg);
  font-weight: 500;
  line-height: 1.35;
}

.yibo_goods_list-tabs-wrap {
  margin-top: var(--component-gap-sm);
  padding-bottom:  var(--text-gap-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.yibo_goods_list-tabs-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #A09D9D;
  border-radius: 1px;
  transform: translateX(0);
}


.yibo_goods_list-tabs-wrap::-webkit-scrollbar {
  display: none;
}

.yibo_goods_list-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
}

.yibo_goods_list-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--text-gap-xs);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-color);
  text-align: center;
  font: inherit;
  cursor: pointer;
  appearance: none;
  transition: all 0.25s ease;
  padding: var(--text-gap-xs) var(--component-gap-md);
  position: relative;
}

.yibo_goods_list-tab:hover,
.yibo_goods_list-tab.is-active {
  color: var(--color-primary);
}

.yibo_goods_list-tab:hover::after,
.yibo_goods_list-tab.is-active::after {
  content: "";
  display: block;
  width: 100%;
  height: clamp(2px, 0.20833vw, 4px);
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color-primary);
}



.yibo_goods_list-tab-icon {
  width: clamp(40px, 3.125vw, 80px);
  height: clamp(40px, 3.125vw, 80px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.yibo_goods_list-tab-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yibo_goods_list-tab-label {
  font-family: var(--title-font-family);
  font-size: var(--text-size-lg);
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
}

.yibo_goods_list-tab.is-active .yibo_goods_list-tab-icon img,
.yibo_goods_list-tab:hover .yibo_goods_list-tab-icon img {
   filter: invert(36%) sepia(87%) saturate(2250%) hue-rotate(12deg) brightness(85%) contrast(105%);
}

.yibo_goods_list-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--text-gap-md);
  margin-top: var(--component-gap-sm);
  padding: var(--component-gap-xs) clamp(14px, 12px + 0.2vw, 16px);
  background: rgba(160, 157, 157, 0.2);
}

.yibo_goods_list-toolbar.is-single {
  justify-content: center;
}

.yibo_goods_list-filter {
  position: relative;
  min-width: 0;
  flex: 0 0 clamp(180px, 16.36vw, 229px);
  width: clamp(180px, 16.36vw, 229px);
}

.yibo_goods_list-filter-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--component-gap-xs);
  width: 100%;
  min-height: clamp(48px, 3.33vw, 64px);
  padding: var(--text-gap-md);
  border: 0;
  border-radius: 0;
  background: var(--color-second);
  color: var(--title-text-color);
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  font-weight: 400;
  line-height: 1.4118;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.yibo_goods_list-filter-trigger::-webkit-details-marker {
  display: none;
}

.yibo_goods_list-filter-trigger [data-role="goods-filter-label"] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yibo_goods_list-filter-arrow {
  flex: 0 0 auto;
  width: clamp(12px, 0.83vw, 16px);
  height: clamp(6px, 0.42vw, 8px);
  transition: transform 0.25s ease;
}

.yibo_goods_list-filter[open] .yibo_goods_list-filter-arrow {
  transform: rotate(180deg);
}

.yibo_goods_list-filter-menu {
  position: absolute;
  left: 0;
  top: calc(100% + var(--text-gap-xs));
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--text-gap-xs);
  border: 1px solid rgba(22, 20, 19, 0.08);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 36px rgba(22, 20, 19, 0.08);
}

.yibo_goods_list-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.yibo_goods_list-filter-group[hidden] {
  display: none;
}

.yibo_goods_list-filter-item {
  display: block;
  padding: var(--text-gap-xs) var(--text-gap-sm);
  border-radius: clamp(8px, 0.52vw, 10px);
  border: 0;
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  text-align: left;
  background: transparent;
  cursor: pointer;
  font: inherit;
  width: 100%;
}

.yibo_goods_list-filter-item:hover,
.yibo_goods_list-filter-item.is-active {
  background: rgba(201, 97, 12, 0.08);
  color: #c9610c;
}

.yibo_goods_list-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(92px, 7.79vw, 109px);
  gap: 0;
  flex: 0 0 clamp(320px, 33.86vw, 474px);
  width: clamp(320px, 33.86vw, 474px);
  min-width: 0;
  min-height: clamp(48px, 3.33vw, 64px);
}

.yibo_goods_list-search-input {
  width: 100%;
  min-width: 0;
  padding: var(--text-gap-md);
  border: 0;
  border-radius: 0;
  background: var(--color-second);
  color: var(--title-text-color);
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  font-weight: 400;
  line-height: 1.4118;
}

.yibo_goods_list-search-input::placeholder {
  color: #a09d9d;
}

.yibo_goods_list-search-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(181, 81, 0, 0.16);
}

.yibo_goods_list-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: var(--text-gap-md);
  border: 0;
  border-radius: 0;
  background: var(--color-primary);
  color: var(--color-second);
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  font-weight: 400;
  line-height: 1.4118;
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
}

.yibo_goods_list-search-button:hover {
  opacity: 0.92;
}

.yibo_goods_list-search-input:disabled,
.yibo_goods_list-search-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.yibo_goods_list-summary {
  padding: var(--component-gap-md) 0;
  color: rgba(22, 20, 19, 0.62);
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  font-weight: 400;
  line-height: 1.25;
}

.yibo_goods_list-summary span {
  font-weight: 700;
  color: var(--color-primary);
}

.yibo_goods_list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--component-gap-sm);
  row-gap: var(--component-gap-sm);
}

.yibo_goods_list.is-loading .yibo_goods_list-grid {
  pointer-events: none;
}

.yibo_goods_list-card {
  position: relative;
  background: transparent;
}

.yibo_goods_list-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: calc(var(--component-gap-sm) / -2);
  width: 1px;
  height: 100%;
  background: rgba(160, 157, 157, 0.5);
}

.yibo_goods_list-card:nth-child(3n)::after {
  display: none;
}

.yibo_goods_list-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.yibo_goods_list-card-media {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--text-gap-md) var(--component-gap-xs);
  border-radius: clamp(8px, 0.52vw, 10px);
  overflow: hidden;
  background: transparent;
}

.yibo_goods_list-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.35s ease;
}

.yibo_goods_list-card:hover .yibo_goods_list-card-media img {
  transform: scale(1.02);
}

.yibo_goods_list-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--text-gap-xs);
  padding: var(--text-gap-md) var(--component-gap-xs) 0;
}

.yibo_goods_list-card-title {
  margin: 0;
  color: var(--title-text-color);
  font-family: var(--title-font-family);
  font-size: clamp(22px, 18px + 0.42vw, 28px);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yibo_goods_list-card-code {
  color: var(--title-text-color);
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  font-weight: 400;
  line-height: 1.4118;
}

.yibo_goods_list-card:hover .yibo_goods_list-card-title {
  color: var(--color-primary);
}

.yibo_goods_list-card.is-skeleton .yibo_goods_list-card-link {
  pointer-events: none;
}

.yibo_goods_list-card.is-skeleton .yibo_goods_list-card-title,
.yibo_goods_list-card.is-skeleton .yibo_goods_list-card-code,
.yibo_goods_list-card.is-skeleton .yibo_goods_list-card-specs {
  visibility: hidden;
}

.yibo_goods_list-skeleton-block {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: clamp(8px, 0.52vw, 10px);
  background: rgba(160, 157, 157, 0.18);
}

.yibo_goods_list-skeleton-block::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: yiboGoodsListSkeleton 1.2s ease-in-out infinite;
}

.yibo_goods_list-skeleton-media {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.yibo_goods_list-skeleton-title {
  width: 72%;
  height: clamp(22px, 1.5vw, 28px);
}

.yibo_goods_list-skeleton-code {
  width: 26%;
  height: clamp(14px, 0.9vw, 17px);
}

.yibo_goods_list-card-specs {
  margin: 0;
  padding: 0;
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: var(--text-size-sm);
  font-weight: 400;
  line-height: 1.7143;
}

.yibo_goods_list-card-specs > * {
  position: relative;
  margin: 0;
}

.yibo_goods_list-card-specs > :first-child {
  margin-top: 0;
}

.yibo_goods_list-card-specs--skeleton > * {
  display: block;
}

.yibo_goods_list-card-specs strong {
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.4;
  font-style: normal;
  font-feature-settings: 'liga' off, 'clig' off;
  color: var(--text-color);
  font-size: var(--text-size-md);
}

.yibo_goods_list-card-specs ul {
  margin: var(--text-gap-md) 0 0;
  list-style: none;
  padding: 0;
  width: 100%;
  
}

.yibo_goods_list-card-specs ul li:nth-child(n+4) {
  display: none;
}

.yibo_goods_list-card-specs ul li {
  list-style: none;
  padding: var(--text-gap-md) 0;
  border-top: 1px solid rgba(160, 157, 157, 0.5);
  width: 100%;
}

.yibo_goods_list-card-specs ul li em {
  font-style: normal;
}

.yibo_goods_list-skeleton-line {
  width: 100%;
  height: clamp(10px, 0.73vw, 14px);
}

.yibo_goods_list-skeleton-line--short {
  width: 84%;
}

.yibo_goods_list-card-specs-text {
  white-space: normal;
}

.yibo_goods_list-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--text-gap-sm);
  min-height: clamp(220px, 18vw, 320px);
  padding: var(--component-gap-xs) var(--component-gap-sm);
  border: 1px solid rgba(181, 81, 0, 0.12);
  border-radius: clamp(12px, 0.9vw, 18px);
  background:
    radial-gradient(circle at top, rgba(181, 81, 0, 0.08), transparent 42%),
    rgba(255, 250, 244, 0.96);
  box-shadow: 0 16px 40px rgba(22, 20, 19, 0.05);
  color: var(--title-text-color);
  text-align: center;
  font-family: var(--title-font-family);
  font-size: clamp(22px, 18px + 0.3vw, 28px);
  font-weight: 600;
  line-height: 1.25;
}

.yibo_goods_list-empty::before {
  content: "";
  width: clamp(56px, 4.2vw, 80px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(181, 81, 0, 0.16);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34' fill='none'%3E%3Ccircle cx='15' cy='15' r='8.5' stroke='%23B55100' stroke-width='2'/%3E%3Cpath d='M21.5 21.5L28 28' stroke='%23B55100' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
      center / clamp(26px, 2vw, 34px) no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 244, 0.82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.yibo_goods_list-empty::after {
  content: "Try another keyword or switch category";
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  font-weight: 400;
  line-height: 1.4118;
}

@keyframes yiboGoodsListSkeleton {
  100% {
    transform: translateX(100%);
  }
}


@media screen and (max-width: 1500px) {
  .yibo_goods_list-tabs {
    justify-content: space-around;
  }
}

@media (max-width: 992px) {
  .yibo_goods_list-desc {
    max-width: none;
  }

  .yibo_goods_list-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .yibo_goods_list-filter,
  .yibo_goods_list-search {
    width: 100%;
    flex-basis: auto;
  }

  .yibo_goods_list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yibo_goods_list-card:nth-child(3n)::after {
    display: block;
  }

  .yibo_goods_list-card:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .yibo_goods_list-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .yibo_goods_list-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .yibo_goods_list-card::after {
    display: none;
  }

  .yibo_goods_list-filter-menu {
    width: 100%;
  }
}
