.ja-quote-item {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 18px;
}

.ja-quote-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.ja-quote-item .ja-button {
  margin-top: auto;
}

.ja-rfq-form {
  padding: clamp(20px, 4vw, 36px);
}

.ja-filter-drawer {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  width: min(92vw, 420px);
  height: 100dvh;
  padding: 22px;
  overflow-y: auto;
  background: #fff;
  border-left: 1px solid var(--ja-border);
  box-shadow: -16px 0 48px rgb(16 24 40 / 18%);
}

.ja-filter-drawer[hidden] {
  display: none;
}

.ja-filter-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.ja-filter-drawer__header h2 {
  margin: 0;
  font-size: 1.3rem;
}

.ja-filter-drawer__header button {
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ja-ink);
  background: var(--ja-surface);
  border: 1px solid var(--ja-border);
  border-radius: 50%;
  font-size: 1.5rem;
}

.ja-filter-drawer .ja-field {
  margin-bottom: 16px;
}

.ja-filter-is-open {
  overflow: hidden;
}

.ja-toast {
  position: fixed;
  z-index: 10000;
  right: 20px;
  bottom: 20px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 13px 18px;
  color: #fff;
  background: var(--ja-success);
  border-radius: var(--ja-radius-button);
  box-shadow: var(--ja-shadow-md);
}

.ja-toast--error {
  background: var(--ja-danger);
}

.ja-content-review-notice {
  max-width: 760px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--ja-info-bg);
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--ja-primary);
  border-radius: var(--ja-radius-card);
}

.ja-content-review-notice h2 {
  margin-top: 0;
}

.ja-content-review-notice p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .ja-filter-drawer {
    width: min(440px, 92vw);
    padding: 28px;
  }

  .ja-filter-drawer form {
    display: block;
  }
}
