:root {
  --price-coral: #f25564;
  --price-orange: #ff8a38;
  --price-ink: #2c2928;
  --price-muted: #7f7a76;
  --price-paper: #fffefd;
  --price-cream: #fff6ee;
}

.price-list-shell {
  padding: 10px 0 4px;
}

.price-search-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .9fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 22px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 138, 56, .18), transparent 28%),
    linear-gradient(135deg, #fffefd 0%, #fff5ee 100%);
  box-shadow: 0 4px 15px rgba(91, 63, 43, .09);
}

.price-search-copy p {
  margin: 0 0 5px;
  color: var(--price-coral);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
}

.price-search-copy h2 {
  margin: 0;
  color: var(--price-ink);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.price-search-copy span {
  display: block;
  margin-top: 8px;
  color: var(--price-muted);
  font-size: 15px;
  line-height: 1.65;
}

.price-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: inset 0 0 0 1px rgba(244, 226, 213, .72);
}

.price-search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--price-ink);
  font-size: 16px;
  outline: 0;
  padding: 0 8px;
}

.price-search-form input::placeholder {
  color: #b0a49b;
}

.price-search-form button {
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--price-coral), var(--price-orange));
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  padding: 11px 18px;
  box-shadow: 0 8px 18px rgba(242, 85, 100, .2);
}

.price-results-panel {
  padding-top: 3px;
}

.price-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.price-section-head h2 {
  margin: 0;
  color: var(--price-ink);
  font-size: 22px;
  line-height: 1.25;
}

.price-section-head p {
  margin: 0;
  color: var(--price-muted);
  font-size: 14px;
  white-space: nowrap;
}

.price-tabs {
  display: flex;
  gap: 9px;
  margin-bottom: 15px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.price-tabs::-webkit-scrollbar { display: none; }

.price-tabs button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #7c716b;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 14px;
  box-shadow: 0 4px 13px rgba(91, 63, 43, .08);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.price-tabs button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(91, 63, 43, .12);
}

.price-tabs button.active {
  background: #fff1e9;
  color: #e96a43;
}

.price-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  transition: opacity .18s ease;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 245px;
  padding: 17px;
  border-radius: 16px;
  background: var(--price-paper);
  box-shadow: 0 4px 15px rgba(91, 63, 43, .09);
  transition: transform .22s ease, box-shadow .22s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(91, 63, 43, .13);
}

.price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-card-top span {
  overflow: hidden;
  max-width: 70%;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--price-cream);
  color: #e47b4b;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.price-card-top a {
  flex: 0 0 auto;
  color: var(--price-coral);
  font-size: 13px;
  font-weight: 850;
}

.price-card h3 {
  margin: 14px 0 10px;
  color: var(--price-ink);
  font-size: 18px;
  line-height: 1.45;
}

.price-value {
  margin: 0;
  color: #4b403a;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.62;
}

.price-value.is-collapsed {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.price-card.expanded .price-value.is-collapsed {
  display: block;
  overflow: visible;
}

.price-more {
  align-self: flex-start;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e96a43;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.price-card-foot {
  margin-top: auto;
  padding-top: 14px;
}

.price-card-foot strong {
  display: block;
  overflow: hidden;
  color: #817973;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.price-card-foot em {
  display: block;
  margin-top: 5px;
  color: #a09690;
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.price-empty {
  margin: 0;
  padding: 28px 18px;
  border-radius: 16px;
  background: #fff8f4;
  color: #8a7d74;
  text-align: center;
}

.price-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.price-pager button {
  padding: 8px 15px;
  border: 0;
  border-radius: 999px;
  background: #fff1e9;
  color: #e96a43;
  cursor: pointer;
  font-weight: 750;
}

.price-pager button:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.price-pager span {
  color: #8a7d74;
  font-size: 14px;
  font-weight: 750;
}

@media (max-width: 860px) {
  .price-list-shell {
    padding-top: 8px;
  }

  .price-search-card {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 16px;
    padding: 18px;
    border-radius: 18px;
  }

  .price-search-copy h2 {
    font-size: 24px;
  }

  .price-search-copy span {
    font-size: 15px;
  }

  .price-section-head {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .price-list-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .price-card {
    min-height: 0;
    padding: 15px;
  }

  .price-card h3 {
    font-size: 17px;
  }

  .price-value {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .price-search-form {
    grid-template-columns: 1fr;
  }

  .price-search-form input {
    min-height: 40px;
  }

  .price-tabs button {
    padding: 8px 12px;
  }
}
