.trial-page { padding: 28px 0 48px; }
.trial-lead { color: #666; margin: 0 0 18px; line-height: 1.7; }
.trial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.trial-card { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.trial-card img, .trial-card .ph { width: 100%; height: 160px; object-fit: contain; background: #f7f7f7; }
.trial-card .ph { display: flex; align-items: center; justify-content: center; color: #bbb; }
.trial-card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.trial-card h3 { font-size: 15px; margin: 0; line-height: 1.4; }
.trial-card h3 a { color: #222; }
.trial-meta { color: #888; font-size: 12px; }
.trial-price { font-size: 13px; color: #333; }
.trial-price b { color: #c00; font-weight: 600; }
.trial-card .actions { margin-top: auto; display: flex; gap: 8px; }
.trial-toolbar { display: flex; gap: 8px; margin-bottom: 16px; align-items: center; }
.trial-toolbar select { width: 220px; }
.trial-toolbar > input { max-width: 280px; }
.trial-type-pick { position: relative; width: 260px; flex: 0 0 260px; }
.trial-type-pick .layui-input { width: 100%; max-width: none; }
.trial-type-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e5e6eb;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}
.trial-type-menu button {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: #fff;
  text-align: left;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}
.trial-type-menu button:hover { background: #f2f8ff; color: #1e9fff; }
.trial-type-menu button.is-hide { display: none; }
.trial-type-menu .is-empty { padding: 10px 12px; color: #999; font-size: 13px; }
.trial-cart-btn { position: relative; overflow: visible; }
.trial-cart-btn .cart-count { top: -8px; right: -8px; left: auto; }
.trial-qty-num {
  display: inline-block;
  min-width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 20px;
  color: #c00;
  background: #fff1f0;
  border-radius: 6px;
}
.trial-qty-input {
  width: 76px;
  height: 40px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #c00;
}
.trial-table { width: 100%; border-collapse: collapse; background: #fff; }
.trial-table th, .trial-table td { border-bottom: 1px solid #eee; padding: 10px 8px; text-align: left; vertical-align: middle; }
.trial-sum { margin: 14px 0; font-size: 15px; }
.trial-box { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 16px; margin-top: 16px; }
.trial-box h3 { margin: 0 0 12px; font-size: 16px; }
.trial-agree { max-height: 140px; overflow: auto; background: #fafafa; padding: 10px; font-size: 13px; white-space: pre-wrap; margin-bottom: 8px; }
.trial-form .row { margin-bottom: 10px; }
.trial-form label { display: block; margin-bottom: 4px; color: #555; }
.req { color: #e10600; font-style: normal; margin-right: 2px; }
.trial-form input[type="text"], .trial-form input[type="number"], .trial-form textarea, .trial-form select { width: 100%; max-width: 520px; }
.trial-pager { display: flex; gap: 8px; margin-top: 16px; }
.trial-empty { padding: 40px 0; color: #888; text-align: center; }
.trial-side { margin-bottom: 12px; }
.trial-side a { margin-right: 12px; }
.uc-menu a.trial-go { color: inherit; }
