/* =========================================================
   TOE BEANS DESIGN SYSTEM
   ADOPTABLE PETS
   ========================================================= */

.ds-adopt-page {
  padding: 48px 0 72px;
}

.ds-adopt-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ds-adopt-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 34px;
}

.ds-adopt-copy {
  padding: 18px 0;
}

.ds-adopt-copy h1 {
  max-width: 760px;
  margin: 8px 0 14px;
  color: var(--ds-heading);
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.03;
}

.ds-adopt-description {
  max-width: 700px;
  margin: 0;
  color: var(--ds-muted);
  font-size: 17px;
  line-height: 1.7;
}

.ds-adopt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ds-adopt-filter-card {
  padding: 26px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-md);
}

.ds-adopt-filter-card h2 {
  margin: 0 0 6px;
  color: var(--ds-heading);
}

.ds-adopt-filter-description {
  margin: 0 0 20px;
  color: var(--ds-muted);
  line-height: 1.55;
}

.ds-adopt-filters {
  display: grid;
  gap: 16px;
}

.ds-adopt-filter-actions {
  margin-top: 2px;
}

.ds-adopt-filter-actions .ds-button {
  width: 100%;
}

.ds-adopt-results {
  padding: 28px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-md);
}

.ds-adopt-results-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.ds-adopt-results-header h2 {
  margin: 4px 0 0;
  color: var(--ds-heading);
}

.ds-adopt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.ds-adopt-grid > .ds-message {
  grid-column: 1 / -1;
}

.ds-adopt-pet-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  background: var(--ds-surface);
}

.ds-adopt-pet-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ds-surface-soft);
}

.ds-adopt-pet-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-adopt-pet-photo-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  color: var(--ds-muted);
  text-align: center;
}

.ds-adopt-pet-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.ds-adopt-pet-body h3 {
  margin: 0 0 14px;
  color: var(--ds-heading);
  font-size: 22px;
  line-height: 1.2;
}

.ds-adopt-pet-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.ds-adopt-pet-fact {
  display: grid;
  grid-template-columns: minmax(88px, auto) 1fr;
  gap: 8px;
  align-items: baseline;
  margin: 0;
  color: var(--ds-muted);
  line-height: 1.45;
}

.ds-adopt-pet-fact dt {
  color: var(--ds-heading);
  font-weight: 700;
}

.ds-adopt-pet-fact dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.ds-adopt-pet-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
}

.ds-adopt-pet-actions .ds-button {
  min-width: 0;
}

.ds-adopt-state {
  grid-column: 1 / -1;
}




