← back to Dw Theme Boost Fix

assets/boost-sd-custom.css

95 lines

/*********************** Custom CSS for Boost AI Search & Discovery  ************************/

/* ── Clickable Vendor Link ─────────────────────────────────────────── */
.dw-vendor-link {
  color: #8b7355 !important;
  text-decoration: none !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}
.dw-vendor-link:hover {
  color: #6b5535 !important;
  text-decoration: underline !important;
  opacity: 0.85;
}

/* ── Image Hover Zoom (for products without a 2nd image) ───────────── */
.dw-hover-zoom {
  overflow: hidden !important;
}
.dw-hover-zoom img[class*="product-image-img--main"],
.dw-hover-zoom img:first-child {
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.dw-hover-zoom:hover img[class*="product-image-img--main"],
.dw-hover-zoom:hover img:first-child {
  transform: scale(1.08) !important;
}/* ── Product Title: match vendor font style, smaller size ──────────── */
[class*="product-item"] [class*="title"] a,
[class*="product-card"] [class*="title"] a,
[class*="product-item-title"],
[class*="product-title"] {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  line-height: 1.3 !important;
  color: #333 !important;
  text-decoration: none !important;
}

/* Vendor name: same font family, slightly smaller */
.dw-vendor-link,
[class*="product-item"] [class*="vendor"],
[class*="product-card"] [class*="vendor"],
[class*="product-item-vendor"],
[class*="product-vendor"] {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  color: #8b7355 !important;
}


/* ── Hide ALL prices on collection/index pages ─────────────────────── */
[class*="price"],
[class*="Price"],
[class*="money"],
[class*="Money"],
.boost-sd__product-price,
.boost-sd__product-item [class*="price"],
.boost-sd__product-item [class*="money"],
.product-list-item-price,
.product-price-minimum,
.product-price-minimum.original,
span.money,
s.money,
.original.money {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Center product text under images on collection pages ──────────── */
.boost-sd__product-item,
.boost-sd__product-item [class*="title"],
.boost-sd__product-item [class*="vendor"],
.boost-sd__product-item [class*="info"],
.boost-sd__product-item p,
[class*="product-item"] [class*="title"],
[class*="product-item"] [class*="vendor"],
[class*="product-card"] [class*="title"],
[class*="product-card"] [class*="vendor"],
.product-list-item .product-title,
.product-list-item .product-vendor,
.product-list-item-price,
.dw-vendor-link {
  text-align: center !important;
}