.bp-finder {
  --bp-finder-bg: #f2e7d4;
  --bp-finder-ink: #33251e;
  --bp-finder-accent: #9f6f38;
  --bp-finder-accent-soft: #b18b63;
  --bp-finder-muted: #75655a;
  --bp-finder-line: rgba(51, 37, 30, 0.18);
  position: relative;
  color: var(--bp-finder-ink);
  background: var(--bp-finder-bg);
  padding: clamp(84px, 9vw, 142px) clamp(20px, 4vw, 64px) clamp(76px, 8vw, 124px);
}

.bp-finder__inner {
  width: min(100%, 1380px);
  margin: 0 auto;
}

.bp-finder__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 24px 56px;
  align-items: end;
}

.bp-finder__label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--bp-finder-muted);
  font: 500 11px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bp-finder__label i {
  width: 48px;
  height: 1px;
  background: currentColor;
}

.bp-finder__header h2 {
  margin: 0;
  max-width: 850px;
  color: var(--bp-finder-ink);
  font: 500 clamp(44px, 5vw, 76px)/0.98 "Bodoni Moda", Georgia, serif;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.bp-finder__intro {
  margin: 0 0 8px;
  color: var(--bp-finder-muted);
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

.bp-finder__form {
  margin-top: clamp(46px, 6vw, 82px);
}

.bp-finder__sentence {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 13px;
  margin: 0;
  color: var(--bp-finder-ink);
  font: 500 clamp(22px, 2.25vw, 34px)/1.45 "Bodoni Moda", Georgia, serif;
}

.bp-finder__field {
  position: relative;
  display: inline-grid;
}

.bp-finder__field::after {
  content: "⌄";
  position: absolute;
  right: 5px;
  bottom: 13px;
  color: var(--bp-finder-accent);
  font: 500 17px/1 "Hanken Grotesk", sans-serif;
  pointer-events: none;
}

.bp-finder__field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bp-finder__field select {
  min-height: 48px;
  max-width: min(100%, 390px);
  padding: 0 37px 2px 5px;
  appearance: none;
  color: var(--bp-finder-accent);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--bp-finder-accent-soft);
  border-radius: 0;
  font: inherit;
  font-style: italic;
  cursor: pointer;
}

.bp-finder__field select:hover { border-bottom-color: var(--bp-finder-ink); }
.bp-finder__field select:focus-visible {
  outline: 3px solid rgba(159, 111, 56, 0.4);
  outline-offset: 4px;
}

.bp-finder__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(38px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--bp-finder-line);
}

.bp-finder__count {
  margin: 0;
  color: var(--bp-finder-ink);
  font: 500 clamp(23px, 2.3vw, 34px)/1.15 "Bodoni Moda", Georgia, serif;
  letter-spacing: -0.025em;
}

.bp-finder__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.bp-finder__reset,
.bp-finder__view-all,
.bp-finder__retry {
  min-height: 48px;
  font: 600 14px/1.2 "Hanken Grotesk", sans-serif;
  cursor: pointer;
}

.bp-finder__reset {
  padding: 8px 0;
  color: var(--bp-finder-muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
}

.bp-finder__view-all,
.bp-finder__retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  color: #f6f2ea;
  background: #33251e;
  border: 1px solid #33251e;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.bp-finder__view-all:hover,
.bp-finder__retry:hover {
  color: #33251e;
  background: var(--bp-finder-accent-soft);
  border-color: var(--bp-finder-accent-soft);
}

.bp-finder__reset:focus-visible,
.bp-finder__view-all:focus-visible,
.bp-finder__retry:focus-visible,
.bp-finder-card a:focus-visible {
  outline: 3px solid var(--bp-finder-accent);
  outline-offset: 4px;
}

.bp-finder__loading {
  margin-top: 24px;
  color: var(--bp-finder-muted);
  font: 500 11px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bp-finder__results {
  position: relative;
  min-height: 180px;
  margin-top: 34px;
}

.bp-finder.is-loading .bp-finder__results {
  opacity: 0.45;
  pointer-events: none;
}

.bp-finder__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--bp-finder-line);
}

.bp-finder-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  background: #f7efe2;
  transition: background-color 180ms ease;
}

.bp-finder-card:hover { background: #eadbc7; }

.bp-finder-card__image {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #e6d8c4;
}

.bp-finder-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-finder-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bp-finder-card__eyebrow {
  color: var(--bp-finder-muted);
  font: 500 10px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bp-finder-card h3 {
  margin: 8px 0 0;
  font: 500 17px/1.3 "Hanken Grotesk", sans-serif;
}

.bp-finder-card h3 a {
  color: var(--bp-finder-ink);
  text-decoration: none;
}

.bp-finder-card__price {
  margin-top: 9px;
  color: var(--bp-finder-ink);
  font: 500 20px/1.25 "Bodoni Moda", Georgia, serif;
}

.bp-finder-card__price del { color: var(--bp-finder-muted); font-size: 0.8em; }
.bp-finder-card__price ins { text-decoration: none; }

.bp-finder-card__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--bp-finder-ink);
  border-bottom: 1px solid var(--bp-finder-accent-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.bp-finder__empty,
.bp-finder__error {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 36px;
  color: var(--bp-finder-muted);
  border: 1px solid var(--bp-finder-line);
  text-align: center;
}

.bp-finder__empty p,
.bp-finder__error p { margin: 0; }
.bp-finder__error { gap: 18px; }

@media (max-width: 1180px) {
  .bp-finder__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-finder-card { grid-template-columns: 112px minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .bp-finder { padding-inline: 20px; }
  .bp-finder__header { grid-template-columns: 1fr; }
  .bp-finder__intro { max-width: 560px; }
  .bp-finder__sentence {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    font-size: 23px;
  }
  .bp-finder__sentence > span { display: none; }
  .bp-finder__field { gap: 7px; }
  .bp-finder__field-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    color: var(--bp-finder-muted);
    font: 500 11px/1.4 "IBM Plex Mono", monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .bp-finder__field::after { bottom: 17px; }
  .bp-finder__field select {
    width: 100%;
    max-width: none;
    min-height: 54px;
    font-size: 23px;
  }
  .bp-finder__summary { align-items: flex-start; flex-direction: column; }
  .bp-finder__actions { width: 100%; justify-content: space-between; }
}

@media (max-width: 640px) {
  .bp-finder { padding-top: 72px; padding-bottom: 80px; }
  .bp-finder__header h2 { font-size: clamp(46px, 14vw, 66px); }
  .bp-finder__grid { grid-template-columns: 1fr; }
  .bp-finder-card { grid-template-columns: 108px minmax(0, 1fr); padding: 14px; gap: 16px; }
  .bp-finder__actions { align-items: stretch; flex-direction: column-reverse; gap: 10px; }
  .bp-finder__view-all { width: 100%; }
  .bp-finder__reset { align-self: center; }
}

@media (max-width: 390px) {
  .bp-finder-card { grid-template-columns: 92px minmax(0, 1fr); }
  .bp-finder-card__price { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .bp-finder *,
  .bp-finder *::before,
  .bp-finder *::after { scroll-behavior: auto !important; transition: none !important; }
}

.bp-finder-results-page { background: var(--bp-ivory); }
.bp-finder-results {
  --bp-finder-bg: #f2e7d4;
  --bp-finder-ink: #33251e;
  --bp-finder-accent: #9f6f38;
  --bp-finder-accent-soft: #b18b63;
  --bp-finder-muted: #75655a;
  --bp-finder-line: rgba(51, 37, 30, 0.18);
  min-height: 70vh;
  padding: calc(var(--bp-header-height, 76px) + clamp(62px, 8vw, 116px)) clamp(20px, 4vw, 64px) clamp(80px, 9vw, 130px);
  color: var(--bp-finder-ink, #33251e);
  background: #f2e7d4;
}
.bp-finder-results > * { width: min(100%, 1380px); margin-inline: auto; }
.bp-finder-results__header h1 {
  margin: 26px 0 0;
  font: 500 clamp(52px, 7vw, 104px)/0.96 "Bodoni Moda", Georgia, serif;
  letter-spacing: -0.04em;
}
.bp-finder-results__header > p:not(.bp-finder__label) { margin: 24px 0 0; color: #75655a; font-size: 17px; }
.bp-finder-results__header > a { display: inline-block; margin-top: 20px; color: #33251e; border-bottom: 1px solid #b18b63; text-decoration: none; }
.bp-finder-results__pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.bp-finder-results__pagination .page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 8px 12px;
  color: #33251e;
  border: 1px solid rgba(51, 37, 30, 0.2);
  text-decoration: none;
}
.bp-finder-results__pagination .current { color: #f6f2ea; background: #33251e; }
