/* Only the requested home and search surfaces; shared cards/routes stay intact. */
html body #app .lb-reference-layout {
  --lb-reference-surface: #ffffff;
  --lb-reference-line: #ededed;
  --lb-reference-ink: #202020;
  --lb-reference-muted: #f5f6f7;
  --lb-reference-price: #e00000;
  --lb-reference-radius: 10px;
}

html body #app .lb-reference-layout .sf-home-products {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}

html body #app .lb-reference-layout .sf-home-product-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
}

html body #app .lb-reference-layout .sf-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--lb-reference-line);
  border-radius: var(--lb-reference-radius);
  background: var(--lb-reference-surface);
  box-shadow: 0 3px 8px rgb(0 0 0 / 8%);
}

html body #app .lb-reference-layout .sf-product-card .sf-product-card__media {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--lb-reference-muted) !important;
}

html body #app .lb-reference-layout .sf-product-card .sf-product-card__media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  object-fit: contain !important;
}

html body #app .lb-reference-layout .sf-product-card .sf-product-card__body {
  gap: 10px;
  padding: 12px 10px 10px;
  background: var(--lb-reference-surface);
}

html body #app .lb-reference-layout .sf-product-card .sf-product-card__title {
  min-height: 36px;
  margin: 0;
  color: var(--lb-reference-ink) !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
}

html body #app .lb-reference-layout .sf-product-card .lb-card-title-link {
  display: -webkit-box;
  overflow: hidden;
  width: 100%;
  min-height: 36px;
  padding: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: inherit;
  font: inherit;
  text-align: left;
}

html body #app .lb-reference-layout .sf-product-card .sf-product-card__prices strong {
  color: var(--lb-reference-price) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

html body #app .lb-reference-layout .lb-reference-benefits {
  margin: 24px 0 16px;
  overflow: hidden;
  background: var(--lb-reference-surface);
  color: var(--lb-reference-ink);
}

html body #app .lb-reference-layout .lb-reference-benefits__heading {
  margin: 0;
  padding: 10px 12px;
  border-radius: 5px 5px 0 0;
  background: #000;
  color: #fff !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

html body #app .lb-reference-layout .lb-reference-benefits__content {
  padding: 0 8px;
}

html body #app .lb-reference-layout .lb-reference-benefits__item {
  padding: 18px 0;
  border-bottom: 1px solid var(--lb-reference-line);
}

html body #app .lb-reference-layout .lb-reference-benefits__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  color: var(--lb-reference-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
}

html body #app .lb-reference-layout .lb-reference-benefits__icon {
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lb-reference-muted);
}

html body #app .lb-reference-layout .lb-reference-benefits p {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

@media (max-width: 360px) {
  html body #app .lb-reference-layout .sf-home-product-list { gap: 12px 8px; }
  html body #app .lb-reference-layout .sf-product-card .sf-product-card__body { padding: 10px 8px 8px; }
  html body #app .lb-reference-layout .sf-product-card .sf-product-card__prices strong { font-size: 12px; }
}
