/* Custom styles for Inspired Health Shop */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Review content prose styles */
.review-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #1f2937;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.review-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #374151;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.review-content p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.review-content ul,
.review-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.review-content li {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

.review-content blockquote {
  border-left: 4px solid #8B9F82;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #f4f7f3;
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
  color: #374151;
}

.review-content strong {
  color: #1f2937;
  font-weight: 600;
}

.review-content a {
  color: #6d8363;
  text-decoration: none;
  border-bottom: 1px solid #cdd9c9;
  transition: all 0.2s;
}

.review-content a:hover {
  color: #44543f;
  border-bottom-color: #44543f;
}

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Scroll margin for anchor links */
[id] {
  scroll-margin-top: 5rem;
}

/* Subtle hover lift */
.hover\:-translate-y-1:hover {
  transform: translateY(-4px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fdf6ec;
}

::-webkit-scrollbar-thumb {
  background: #cdd9c9;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a9bea3;
}

/* Table responsive overflow */
.overflow-x-auto {
  -webkit-overflow-scrolling: touch;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #8B9F82;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Prose styles */
.prose p:last-child {
  margin-bottom: 0;
}

/* Print styles */
@media print {
  header, footer, .no-print {
    display: none !important;
  }
  body {
    background: white !important;
  }
}
