/* Iron-On Transfer Page Specific Styles */

/* Back navigation */
.back-nav {
  margin-bottom: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--gray-500);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--primary);
}

/* Header subtitle */
header .subtitle {
  color: var(--gray-500);
  margin-top: 0.375rem;
  font-size: 1rem;
}

/* Mirror preview visualization */
.mirror-info {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.mirror-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.preview-box {
  text-align: center;
  flex: 1;
  max-width: 120px;
}

.preview-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.375rem;
}

.preview-content {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-700);
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
}

.preview-content.mirrored {
  transform: scaleX(-1);
  color: var(--primary);
  border-color: var(--primary);
}

.arrow-icon {
  width: 2rem;
  height: 2rem;
  color: var(--gray-400);
  flex-shrink: 0;
  margin-top: 1.125rem; /* Align with content boxes, accounting for label height */
}

.mirror-note {
  font-size: 0.875rem;
  color: var(--gray-600);
  text-align: center;
}

/* Info content section (visible SEO content) */
.info-content {
  margin-top: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.info-content h2:first-child {
  margin-top: 0;
}

.info-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.info-content p {
  color: var(--gray-700);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.info-content ol,
.info-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.info-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.info-content strong {
  color: var(--gray-900);
}

/* Tip box */
.tip-box {
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.tip-box h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tip-box p {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* Brand list */
.brand-list {
  columns: 2;
  column-gap: 2rem;
}

@media (max-width: 480px) {
  .brand-list {
    columns: 1;
  }

  .mirror-preview {
    gap: 0.5rem;
  }

  .preview-box {
    max-width: 100px;
  }

  .preview-content {
    font-size: 1.25rem;
    padding: 0.375rem 0.75rem;
  }

  .arrow-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* FAQ Accordion */
details {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
}

details summary {
  padding: 0.875rem 1rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--gray-700);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--gray-400);
  transition: transform 0.2s;
}

details[open] summary::after {
  content: '-';
}

details[open] summary {
  border-bottom: 1px solid var(--gray-200);
}

details p {
  padding: 0.875rem 1rem;
  margin: 0;
  font-size: 0.9375rem;
  background: var(--gray-50);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}
