/* 
  Warranty Page Specific Styles 
*/

.warranty-section {
  padding: 4rem 1.5rem;
  background-color: var(--solarshield-bg-light, #f8f9fa);
}

.warranty-container {
  max-width: 1000px;
  margin: 0 auto;
}

.warranty-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-top: 4px solid var(--solarshield-blue, #0056b3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.warranty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.warranty-card h3 {
  font-family: var(--font-heading, "Orbitron", sans-serif);
  font-size: 1.8rem;
  color: var(--solarshield-text-heading, #111);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid #edf2f7;
  padding-bottom: 1rem;
}

.warranty-card h3 i {
  color: var(--solarshield-blue, #0056b3);
}

.warranty-content {
  color: var(--solarshield-text-body, #4a5568);
  font-size: 1.05rem;
  line-height: 1.7;
}

.warranty-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.warranty-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.warranty-list li::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.1rem;
}

.warranty-list.covered li::before {
  content: "\f058"; /* fa-check-circle */
  color: #38a169;
}

.warranty-list.not-covered li::before {
  content: "\f057"; /* fa-times-circle */
  color: #e53e3e;
}

.warranty-list.info li::before {
  content: "\f05a"; /* fa-info-circle */
  color: var(--solarshield-blue, #0056b3);
}

.warranty-alert {
  background-color: #ebf8ff;
  border-left: 4px solid #3182ce;
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-weight: 500;
  color: #2b6cb0;
}

/* Care instructions special block */
.care-instructions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.care-box {
  background: #f7fafc;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.care-box h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.care-box.recommended h4 {
  color: #2f855a;
}

.care-box.avoid h4 {
  color: #c53030;
}

@media (max-width: 768px) {
  .care-instructions {
    grid-template-columns: 1fr;
  }
  .warranty-card {
    padding: 1.5rem;
  }
  .warranty-card h3 {
    font-size: 1.5rem;
  }
}
