/* メーカーカタログ横断検索（/catalog-search/） */
.cs-form {
  margin: 20px 0 12px;
  padding: 16px 18px;
  border: 1px solid #d8cbbb;
  border-radius: 10px;
  background: #fbf8f4;
}
.cs-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.cs-fields label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: bold;
  color: #4a3a2a;
}
.cs-fields select,
.cs-fields input[type="search"] {
  box-sizing: border-box;
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid #b9a690;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
}
.cs-fields .cs-check {
  flex-direction: row;
  align-items: center;
  align-self: flex-end;
  min-height: 38px;
  gap: 6px;
}
.cs-fields .cs-check input { width: 18px; height: 18px; margin: 0; }
.cs-fields .cs-q { flex: 1 1 200px; }
.cs-actions { margin: 10px 0 0; }
.cs-actions button,
.cs-pager button {
  padding: 6px 14px;
  border: 1px solid #8a6a4a;
  border-radius: 6px;
  background: #fff;
  color: #6e5236;
  font-size: 14px;
  cursor: pointer;
}
.cs-count { margin: 8px 0 12px; font-weight: bold; color: #4a3a2a; }
.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cs-card a {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e3d8ca;
  border-radius: 10px;
  background: #fff;
  color: #3a2e22 !important;
  text-decoration: none !important;
}
.cs-card a:hover,
.cs-card a:focus-visible { border-color: #8a6a4a; }
.cs-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3ece3;
}
.cs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-body { padding: 8px 10px 10px; line-height: 1.5; }
.cs-body p { margin: 0; }
.cs-maker { font-size: 11px; color: #8a7a6a; }
.cs-no { font-weight: bold; font-size: 14px; }
.cs-no span { margin-left: 6px; font-size: 11px; font-weight: normal; color: #8a7a6a; }
.cs-name { font-size: 13px; }
.cs-meta { font-size: 12px; color: #6a5a4a; }
.cs-price { font-size: 13px; font-weight: bold; color: #b04a2a; }
.cs-price small { font-weight: normal; font-size: 11px; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; }
.cs-chips li { padding: 1px 6px; border-radius: 4px; background: #f3ece3; font-size: 11px; }
.cs-pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.cs-pager button[aria-current="page"] { background: #8a6a4a; color: #fff; }
@media (max-width: 480px) {
  .cs-form { padding: 12px; }
  .cs-fields label:not(.cs-check) { flex: 1 1 45%; }
  .cs-fields select { width: 100%; }
  .cs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
