/* Shopro 3.1 home search and the native one-column category layout. */
uni-page[data-page='pages/index/index'] .page-app:has(.nav-image img[src$='/chestnut-wordmark.png']) .page-body .uni-searchbar__box {
  background-color: #fffcf7 !important;
}

uni-page[data-page='pages/index/index'] .page-app:has(.nav-image img[src$='/chestnut-wordmark.png']) .page-body .uni-searchbar__text-placeholder {
  color: #59695c;
}

uni-page[data-page='pages/index/index'] .page-app:has(.nav-image img[src$='/chestnut-wordmark.png']) .page-body .uni-searchbar__box:focus-within {
  outline: 2px solid #eac48a;
  outline-offset: 2px;
}

uni-page[data-page='pages/index/category'] .s-category .side-menu-wrap {
  background: #f6f1e8;
}

uni-page[data-page='pages/index/category'] .s-category .menu-item-active .menu-title {
  color: #234f38;
}

uni-page[data-page='pages/index/category'] .s-category .banner-img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

uni-page[data-page='pages/index/category'] .s-category .sl-goods-card {
  display: grid;
  grid-template-columns: clamp(66px, 20vw, 92px) minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  padding: 8px 0;
  min-height: 86px;
  box-sizing: border-box;
  border-bottom: 1px solid #ece5d9;
}

uni-page[data-page='pages/index/category'] .s-category .sl-img-box {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
  border-radius: 8px;
}

uni-page[data-page='pages/index/category'] .s-category .sl-goods-content {
  padding: 0 2px 0 0;
  min-width: 0;
}

uni-page[data-page='pages/index/category'] .s-category .sl-goods-title {
  color: #263126 !important;
  font-weight: 650;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

uni-page[data-page='pages/index/category'] .s-category .sl-goods-subtitle {
  margin-top: 3px !important;
  color: #595f56 !important;
}

uni-page[data-page='pages/index/category'] .s-category .sl-goods-price {
  color: #a64122 !important;
  font-weight: 600;
  line-height: 1.3;
}

uni-page[data-page='pages/index/category'] .s-category .sl-goods-card .buy-box {
  display: none;
}

uni-page[data-page='pages/index/category'] .s-category .sl-goods-card .sales-text {
  color: #595f56;
}
