/* ============================================
   ZenCart Design System — style.css
   ============================================ */

/* --- Design Tokens --- */
:root {
  --color-primary: #3D9970;
  --color-primary-dark: #2D7A56;
  --color-background: #F0F7F4;
  --color-surface: #FFFFFF;
  --color-text: #1A2E26;
  --color-muted: #5A7A6E;
  --color-accent: #F4A261;
  --color-accent-dark: #E08C3E;
  --color-border: #D0E8DC;
  --color-error: #D94F4F;
  --color-success: #3D9970;

  --font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  --radius-card: 12px;
  --radius-btn: 8px;
  --shadow-card: 0 2px 8px rgba(26, 46, 38, 0.06);
  --shadow-card-hover: 0 4px 16px rgba(26, 46, 38, 0.10);
  --max-width: 1080px;
  --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  color: var(--color-text);
}

h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.75rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1rem; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-muted {
  color: var(--color-muted);
}

.text-center {
  text-align: center;
}

/* --- Navigation --- */
.site-nav {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.nav-brand:hover {
  color: var(--color-primary-dark);
}

.nav-brand svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
  padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-primary);
}

.nav-links .nav-bmc {
  color: var(--color-accent);
  font-weight: 600;
}

.nav-links .nav-bmc:hover {
  color: var(--color-accent-dark);
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.25rem 0;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-family);
  transition: color var(--transition);
}

.nav-dropdown-toggle:hover {
  color: var(--color-primary);
}

.nav-dropdown-toggle .dropdown-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
  min-width: 240px;
  padding: 0.5rem 0;
  z-index: 200;
  list-style: none;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
  background: rgba(61, 153, 112, 0.06);
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
    min-width: 0;
    padding: 0;
    padding-left: 1rem;
    margin-top: 0.25rem;
  }

  .nav-dropdown-menu li a {
    padding: 0.4rem 0;
    font-size: 0.95rem;
  }
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-text);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    box-shadow: var(--shadow-card);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 0.5rem 0;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
}

.btn-accent {
  background-color: var(--color-accent);
  color: #fff;
}

.btn-accent:hover {
  background-color: var(--color-accent-dark);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-ghost {
  background: none;
  color: var(--color-muted);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  color: var(--color-text);
  background: rgba(61, 153, 112, 0.06);
}

/* --- Cards --- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  padding: 4rem 1.25rem 3rem;
  max-width: 680px;
  margin: 0 auto;
}

.hero .tagline {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero .reassurance {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .hero {
    padding: 2.5rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero .subtitle {
    font-size: 1.05rem;
  }
}

/* --- Why It Works Section --- */
.why-section {
  padding: 3rem 0;
}

.why-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.why-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.why-card h3 {
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* --- Learn Section --- */
.learn-section {
  padding: 3rem 0;
}

.learn-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.learn-section .learn-subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.learn-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
}

.learn-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.learn-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.learn-card .learn-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  align-self: flex-start;
}

.learn-card .learn-link:hover {
  color: var(--color-primary-dark);
}

/* --- FAQ Section --- */
.faq-section {
  padding: 3rem 0;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  padding: 0.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 0.75rem;
}

.faq-answer p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Quiz Styles --- */
.quiz-container {
  max-width: 640px;
  margin: 2rem auto;
  padding: 0 1.25rem;
}

.quiz-progress {
  margin-bottom: 2rem;
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--color-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.quiz-progress-text {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
}

/* Quiz step */
.quiz-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.quiz-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-step h2 {
  text-align: center;
  margin-bottom: 1.75rem;
  font-size: 1.5rem;
}

/* Quiz options — text-based */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition), transform var(--transition);
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--color-text);
  text-align: left;
  width: 100%;
}

.quiz-option:hover {
  border-color: var(--color-primary);
  background: rgba(61, 153, 112, 0.04);
}

.quiz-option:active {
  transform: scale(0.98);
}

.quiz-option.selected {
  border-color: var(--color-primary);
  background: rgba(61, 153, 112, 0.08);
}

.quiz-option .emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Quiz options — color swatches */
.quiz-colors {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.color-swatch {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}

.color-swatch:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.color-swatch:active {
  transform: scale(1.05);
}

.color-swatch.selected {
  border: 2px solid var(--color-text);
  box-shadow: 0 0 0 3px var(--color-background), 0 0 0 5px var(--color-text);
}

@media (max-width: 480px) {
  .color-swatch {
    width: 60px;
    height: 60px;
  }

  .quiz-colors {
    gap: 1rem;
  }
}

/* Quiz navigation */
.quiz-nav {
  display: flex;
  justify-content: flex-start;
  margin-top: 2rem;
}

.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: var(--color-muted);
  font-family: var(--font-family);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color var(--transition);
}

.quiz-back:hover {
  color: var(--color-text);
}

/* Quiz loading */
.quiz-loading {
  display: none;
  text-align: center;
  padding: 3rem 0;
}

.quiz-loading.active {
  display: block;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Results Page --- */
.results-header {
  text-align: center;
  padding: 3rem 1.25rem 1.5rem;
}

.results-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.results-header p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  padding: 1rem 0 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-card .product-desc {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-card .btn {
  align-self: flex-start;
}

.results-footer {
  text-align: center;
  padding: 2rem 0 3rem;
}

.results-footer .encouragement {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.results-no-session {
  text-align: center;
  padding: 4rem 1.25rem;
}

.results-no-session h2 {
  margin-bottom: 1rem;
}

.results-no-session p {
  color: var(--color-muted);
  margin-bottom: 2rem;
}

/* --- Reviews Page (placeholder styles) --- */
.reviews-header {
  text-align: center;
  padding: 3rem 1.25rem 2rem;
}

.reviews-avg {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.stars {
  color: var(--color-accent);
  font-size: 1.25rem;
}

.review-card {
  margin-bottom: 1rem;
}

.review-card .review-stars {
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.review-card .review-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.review-card .review-date {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.review-card .review-comment {
  margin-top: 0.5rem;
  color: var(--color-text);
}

/* --- About & Content Pages --- */
.page-header {
  text-align: center;
  padding: 3rem 1.25rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.page-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  color: var(--color-text);
  line-height: 1.7;
}

.page-content ul, .page-content ol {
  margin: 0.75rem 0 1rem 1.5rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* --- 404 Page --- */
.page-404 {
  text-align: center;
  padding: 5rem 1.25rem;
}

.page-404 .emoji-big {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.page-404 h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.page-404 p {
  color: var(--color-muted);
  margin-bottom: 2rem;
}

/* --- Footer --- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 2rem 0;
}

.footer-content {
  text-align: center;
}

.footer-privacy {
  font-size: 0.85rem;
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* --- Stats Page Placeholder --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

/* --- Error/empty states --- */
.error-state {
  text-align: center;
  padding: 3rem 1.25rem;
  color: var(--color-muted);
}

.error-state .error-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.error-state p {
  margin-bottom: 1rem;
}

/* --- Misc --- */
.cta-section {
  text-align: center;
  padding: 3rem 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

/* ============================================
   Stats Page
   ============================================ */

.stats-loading-state {
  text-align: center;
  padding: 3rem 0;
}

.stats-chart-section {
  margin-top: 2.5rem;
}

.stats-chart-section h2 {
  margin-bottom: 0.25rem;
}

.stats-chart-section > p {
  margin-bottom: 1.5rem;
}

.stats-chart-wrapper {
  position: relative;
  width: 100%;
  height: 340px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}

@media (max-width: 600px) {
  .stats-chart-wrapper {
    height: 280px;
    padding: 1rem 0.75rem;
  }
}

.stat-rating-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-stars-row {
  font-size: 1.25rem;
  line-height: 1;
}

.star-filled {
  color: var(--color-accent);
}

.star-half {
  color: var(--color-accent);
  opacity: 0.6;
}

.star-empty {
  color: var(--color-border);
}

/* ============================================
   Reviews Page
   ============================================ */

/* Average rating display */
.avg-rating-display {
  margin-top: 1.5rem;
}

.avg-rating-big {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
}

.avg-rating-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
}

.avg-rating-of {
  font-size: 1.25rem;
  color: var(--color-muted);
  font-weight: 500;
}

.avg-rating-stars-row {
  font-size: 1.75rem;
  text-align: center;
  margin-top: 0.25rem;
  line-height: 1;
}

.avg-rating-count {
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

/* Reviews page layout */
.reviews-page-content {
  max-width: 720px;
}

/* Review form section */
.review-form-section {
  margin-bottom: 2.5rem;
  padding: 2rem;
}

.review-form-section h2 {
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
}

.review-form-section > p {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: var(--color-error);
}

.form-label .optional {
  color: var(--color-muted);
  font-weight: 400;
  font-size: 0.85rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(61, 153, 112, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-error {
  color: var(--color-error);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.char-counter {
  text-align: right;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.char-counter.over-limit {
  color: var(--color-error);
  font-weight: 600;
}

/* Star tap widget */
.star-widget {
  display: flex;
  gap: 0.35rem;
}

.star-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-border);
  transition: color var(--transition), transform var(--transition);
  padding: 0.1rem;
  line-height: 1;
}

.star-btn:hover,
.star-btn.active {
  color: var(--color-accent);
}

.star-btn:active {
  transform: scale(1.2);
}

.review-submit-btn {
  margin-top: 0.5rem;
  width: 100%;
}

@media (min-width: 480px) {
  .review-submit-btn {
    width: auto;
  }
}

/* Review success */
.review-success {
  text-align: center;
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
}

.review-success .success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.review-success h3 {
  margin-bottom: 0.5rem;
}

.review-success p {
  margin-bottom: 1.25rem;
}

/* Reviews list */
.reviews-list-section {
  margin-top: 1rem;
}

.reviews-list-heading {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reviews-empty {
  padding: 2rem 0;
}

.reviews-loading-state {
  text-align: center;
  padding: 2rem 0;
}

/* Review card */
.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.review-card .review-stars {
  color: var(--color-accent);
  font-size: 1.1rem;
  line-height: 1;
}

.review-card .review-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}

.review-card .review-date {
  font-size: 0.8rem;
  color: var(--color-muted);
  flex-shrink: 0;
}

.review-card .review-comment {
  margin-top: 0.5rem;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Print styles */
@media print {
  .site-nav, .site-footer, .btn {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
