/* ===== GUIDE PAGES ===== */

/* Step numbers */
.guide-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.guide-step__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  margin-top: 4px;
}

.guide-step__content {
  flex: 1;
  min-width: 0;
}

.guide-step__content h2 {
  margin-bottom: 16px;
}

/* Checklist */
.guide-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.guide-checklist__item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 16px;
}

.guide-checklist__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.guide-checklist__icon svg {
  width: 100%;
  height: 100%;
}

.guide-checklist__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.guide-checklist__text strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.guide-checklist__text span {
  font-size: 13px;
  color: #666;
}

/* Note box */
.guide-note {
  background: var(--blue-light);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14px;
  color: #444;
  margin-top: 16px;
}

.guide-note strong {
  color: var(--blue);
}

/* Diagrams */
.guide-diagram {
  margin: 24px 0;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #eee;
}

.guide-diagram svg {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: block;
}

/* Steps list */
.guide-steps-list {
  list-style: none;
  counter-reset: step-counter;
  margin: 16px 0;
}

.guide-steps-list li {
  counter-increment: step-counter;
  padding: 12px 0 12px 48px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  border-bottom: 1px solid #eee;
}

.guide-steps-list li:last-child {
  border-bottom: none;
}

.guide-steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 10px;
  width: 32px;
  height: 32px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

/* Inline note within a step */
.guide-inline-note {
  margin-top: 8px;
  padding: 10px 14px;
  background: #FFF3E0;
  border-radius: 8px;
  font-size: 13px;
  color: #E65100;
}

/* Tips list */
.guide-tips {
  list-style: none;
  margin: 16px 0 0;
}

.guide-tips li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 14px;
  color: #666;
}

.guide-tips li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* Wait/timer box */
.guide-wait-box {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: var(--blue-light);
  border-radius: 16px;
  margin-top: 20px;
}

.guide-wait-box__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.guide-wait-box__icon svg {
  width: 100%;
  height: 100%;
}

.guide-wait-box strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}

.guide-wait-box p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Button cards (usage section) */
.guide-buttons-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 0 auto;
}

.guide-button-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 32px;
  background: #f5f5f5;
  border-radius: 16px;
  min-width: 140px;
}

.guide-button-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.guide-button-card strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

/* Maintenance grid */
.guide-maint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.guide-maint-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #eee;
}

.guide-maint-card__when {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 8px;
}

.guide-maint-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* ===== GUIDE INDEX PAGE ===== */
.guide-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.guide-index-card {
  background: #f5f5f5;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.guide-index-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.guide-index-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.guide-index-card__icon svg {
  width: 100%;
  height: 100%;
}

.guide-index-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.guide-index-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.guide-index-card .btn {
  margin-top: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 809px) {
  .guide-step {
    flex-direction: column;
    gap: 16px;
  }

  .guide-step__number {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .guide-checklist {
    grid-template-columns: 1fr;
  }

  .guide-buttons-row {
    flex-direction: column;
    align-items: center;
  }

  .guide-button-card {
    min-width: 200px;
  }

  .guide-maint-grid {
    grid-template-columns: 1fr;
  }

  .guide-index-grid {
    grid-template-columns: 1fr;
  }

  .guide-diagram svg {
    max-width: 100%;
  }
}

/* Parts table (kit contents) */
.parts-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
}
.parts-table thead th {
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  border-bottom: 2px solid #e0e0e0;
  padding: 8px 12px;
}
.parts-table tbody td {
  border-bottom: 1px solid #eee;
  padding: 14px 12px;
  vertical-align: top;
}
.parts-table tbody tr:last-child td {
  border-bottom: none;
}
.parts-table td:first-child {
  width: 60px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}
.parts-table td code {
  font-family: 'Fragment Mono', monospace;
  font-size: 13px;
  background: #E8EAFE;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  color: var(--blue);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .parts-table {
    font-size: 14px;
  }
  .parts-table thead th,
  .parts-table tbody td {
    padding: 10px 6px;
  }
}
