/* Styling for find.html and es/find.html recommendation tool */
.find-section {
  margin-bottom: 1.5rem;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.choice-btn {
  flex: 1 1 auto;
  min-width: 120px;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-align: center;
}
.choice-btn:hover {
  border-color: var(--blue);
}
.choice-btn.active, .choice-btn[aria-pressed="true"] {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(11, 92, 255, 0.25);
}
.choice-btn:focus-visible {
  outline: 3px solid #ffb703;
  outline-offset: 2px;
}

.results-heading {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.35rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.recommend-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}
.device-art {
  height: 110px;
  width: auto;
  margin-bottom: 0.75rem;
  object-fit: contain;
}
.recommend-card h3 {
  font-size: 1.15rem;
  margin: 0.2rem 0 0.35rem;
  line-height: 1.25;
}
.price-range {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.35rem;
}
.price-range small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stock-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
}
.stock-tag.common {
  background: #e6f4ea;
  color: #137333;
}
.stock-tag.sporadic {
  background: #fff4d6;
  color: var(--warn);
}
.why-line {
  font-size: 0.88rem;
  color: var(--ink);
  background: #f8fafc;
  border-left: 3px solid var(--blue);
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
  margin: 0 0 1rem;
  text-align: left;
  line-height: 1.4;
  width: 100%;
}
.choose-btn {
  margin-top: auto;
  width: 100%;
  display: block;
  text-align: center;
  text-decoration: none;
}

.see-all-wrap {
  text-align: center;
  font-size: 1.1rem;
  margin: 1.75rem 0;
}
.see-all-wrap a {
  color: var(--blue);
  font-weight: 750;
  text-decoration: underline;
}

.describe-card {
  margin-top: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
}
.describe-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.describe-row input[type="text"] {
  flex: 1 1 240px;
}
.describe-row button {
  flex: none;
}

@media (max-width: 720px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
  .btn-group {
    flex-direction: column;
  }
  .choice-btn {
    width: 100%;
  }
}

/* High-converting e-commerce purchase flow & buy colors */
.recommend-card .paid-setup {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  font-size: 0.98rem;
  background: linear-gradient(180deg, #15803d 0%, #166534 100%);
  color: #ffffff;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin: 0.85rem 0 0.25rem;
  box-shadow: 0 3px 10px rgba(21, 128, 61, 0.35);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  transition: all 0.15s ease-in-out;
  cursor: pointer;
  min-height: 48px;
}
.recommend-card .paid-setup:hover {
  background: linear-gradient(180deg, #166534 0%, #14532d 100%);
  box-shadow: 0 6px 16px rgba(21, 128, 61, 0.45);
  transform: translateY(-1px);
}
.recommend-card .paid-setup:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.3);
}
.recommend-card .paid-setup:focus-visible {
  outline: 3px solid #ffb703;
  outline-offset: 2px;
}
.recommend-card .prep-sub {
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.recommend-card .prep-tag {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.77rem;
  font-weight: 600;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  margin: 0 0 0.75rem;
  line-height: 1.35;
  text-align: left;
}
.recommend-card .buy-plan {
  width: 100%;
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
  background: #f8fafc;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.5rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.recommend-card .buy-plan:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #eff6ff;
}
.recommend-card .buy-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-align: center;
  font-size: 0.82rem;
  background: none;
  border: none;
  color: #64748b;
  text-decoration: underline;
  min-height: 44px;
  padding: 0.35rem 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease;
}
.recommend-card .buy-phone:hover {
  color: var(--ink);
}

.phil-trust {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.35rem 1rem 0.35rem 0.35rem;
  margin: 1rem 0 1.25rem;
  max-width: fit-content;
}
.phil-avatar {
  border-radius: 99px;
  object-fit: cover;
  width: 52px;
  height: 52px;
  flex: none;
}
.phil-trust p {
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

