/* ============================================
   E-Sanitaryware Custom Styles
   FAQ & Product Manual
   ============================================ */

/* ---- FAQ Accordion ---- */
.faq-container { max-width: 800px; margin: 2rem auto; }
.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1a1a2e;
  transition: background 0.2s;
  user-select: none;
}
.faq-question:hover { background: #f8f9fa; }
.faq-question .toggle-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #c0392b;
  transition: transform 0.3s;
}
.faq-item.active .faq-question .toggle-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
  color: #444;
  line-height: 1.7;
  font-size: 15px;
}
.faq-item.active .faq-answer {
  max-height: 2000px;
  padding: 0 20px 20px;
}
.faq-answer ul, .faq-answer ol { margin: 8px 0; padding-left: 24px; }
.faq-answer li { margin-bottom: 4px; }
.faq-answer strong { color: #1a1a2e; }
.faq-category {
  font-size: 22px; font-weight: 700;
  margin: 30px 0 16px; padding-bottom: 8px;
  border-bottom: 2px solid #c0392b;
  color: #1a1a2e;
}

/* ---- Product Manual ---- */
.manual-container { max-width: 860px; margin: 2rem auto; }
.manual-section {
  margin-bottom: 28px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
}
.manual-section-title {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 12px 20px;
  font-size: 17px;
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.manual-section-title .icon { font-size: 20px; }
.manual-section-body { padding: 20px; background: #fff; }
.manual-section-body p { margin: 0 0 12px; line-height: 1.7; color: #444; }
.manual-section-body p:last-child { margin-bottom: 0; }
.manual-section-body ul, .manual-section-body ol { margin: 8px 0; padding-left: 24px; }
.manual-section-body li { margin-bottom: 6px; line-height: 1.6; }
.manual-section-body .note {
  background: #fff8e1; border-left: 4px solid #ff9800;
  padding: 12px 16px; border-radius: 4px; margin: 12px 0;
  font-size: 14px; color: #555;
}
.manual-section-body .warning {
  background: #fbe9e7; border-left: 4px solid #c0392b;
  padding: 12px 16px; border-radius: 4px; margin: 12px 0;
  font-size: 14px; color: #c0392b; font-weight: 500;
}
.manual-section-body table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.manual-section-body th, .manual-section-body td {
  border: 1px solid #e0e0e0; padding: 10px 14px; text-align: left;
}
.manual-section-body th { background: #f5f5f5; font-weight: 600; color: #1a1a2e; }
.manual-section-body code {
  background: #f0f0f0; padding: 2px 8px; border-radius: 3px;
  font-size: 13px; color: #c0392b;
}
.manual-section-body .step-num {
  display: inline-block; width: 26px; height: 26px;
  background: #c0392b; color: #fff; border-radius: 50%;
  text-align: center; line-height: 26px; font-size: 13px;
  font-weight: 700; margin-right: 8px;
}
.manual-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff; padding: 32px; border-radius: 8px; margin-bottom: 28px;
}
.manual-header h1 { color: #fff; margin: 0 0 8px; font-size: 28px; }
.manual-header p { color: #ccc; margin: 0; font-size: 15px; }
.manual-header .model-badges { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.manual-header .model-badge {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 13px;
}

/* ---- Model Selector ---- */
.model-selector {
  display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap;
}
.model-selector a {
  padding: 10px 24px; border: 2px solid #e0e0e0; border-radius: 8px;
  text-decoration: none; color: #444; font-weight: 500;
  transition: all 0.2s;
}
.model-selector a:hover, .model-selector a.active {
  border-color: #c0392b; color: #c0392b; background: #fff5f5;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .faq-question { font-size: 14px; padding: 14px 16px; }
  .faq-answer { font-size: 14px; }
  .manual-header { padding: 20px; }
  .manual-header h1 { font-size: 22px; }
}
