/* -----------------------------------------------
   Community Q&A + Ask a Question -- shared styles
   ----------------------------------------------- */

/* Top Picks section */
.top-picks {
  padding: 48px 0 32px;
}
.top-picks h2 {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
}
.picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.pick-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  position: relative;
  transition: box-shadow .2s;
}
.pick-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
}
.pick-rank {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #f97316;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pick-name {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.pick-price {
  font-size: 13px;
  color: #f97316;
  font-weight: 600;
  margin-bottom: 14px;
}
.pick-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.pick-features li {
  font-size: 14px;
  color: #334155;
  padding: 5px 0 5px 22px;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.5;
}
.pick-features li:last-child {
  border-bottom: none;
}
.pick-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f97316;
}
.pick-btn {
  display: block;
  background: #f97316;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}
.pick-btn:hover {
  background: #ea6c0a;
}

/* Community Q&A section */
.community-qa {
  padding: 40px 0;
  border-top: 1px solid #e2e8f0;
}
.community-qa h2 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
}
.qa-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 14px;
}
.qa-question {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
}
.qa-meta {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 12px;
}
.qa-answer {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px 16px;
  border-left: 3px solid #f97316;
}
.qa-loading {
  color: #94a3b8;
  font-size: 14px;
}
.qa-empty {
  color: #94a3b8;
  font-size: 14px;
  font-style: italic;
}

/* Ask a Question section */
.ask-question-section {
  padding: 40px 0 56px;
  border-top: 1px solid #e2e8f0;
}
.ask-question-section h2 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
}
.question-form {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 32px;
  max-width: 680px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #1e293b;
  outline: none;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #f97316;
}
.submit-q-btn {
  background: #f97316;
  color: #fff;
  border: none;
  padding: 11px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.submit-q-btn:hover {
  background: #ea6c0a;
}
.ask-success {
  background: #dcfce7;
  border: 1.5px solid #86efac;
  border-radius: 10px;
  padding: 16px 20px;
  color: #166534;
  font-size: 15px;
  margin-bottom: 20px;
}
.ask-error {
  background: #fee2e2;
  border: 1.5px solid #fca5a5;
  border-radius: 10px;
  padding: 16px 20px;
  color: #991b1b;
  font-size: 15px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .question-form { padding: 20px; }
  .picks-grid { grid-template-columns: 1fr; }
}
