﻿/* SupplementyAI — Shared styles */

/* ── Self-hosted fonts ── */
/* Place WOFF2 files in /fonts/ — see /fonts/README.md for download instructions */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-sans-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/dm-sans-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/dm-sans-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/dm-sans-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-latin-700-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/playfair-display-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #f7f5f0;
  --surface:      #ffffff;
  --surface2:     #f1ece4;
  --border:       #e2d9cc;
  --border-focus: #9ec4ae;
  --green:        #1a5235;
  --green-mid:    #26724a;
  --green-light:  #e6f1eb;
  --green-border: #9dc8b0;
  --amber:        #b07010;
  --amber-light:  #fdf2dc;
  --amber-border: #e0c060;
  --blue:         #1e4a8a;
  --blue-light:   #e8f0fb;
  --blue-border:  #9ab4d8;
  --text:         #141c18;
  --text-2:       #364840;
  --muted:        #7a9080;
  --sh-xs:        0 1px 4px rgba(10,24,16,.06);
  --sh-sm:        0 2px 14px rgba(10,24,16,.08);
  --sh-md:        0 6px 30px rgba(10,24,16,.11);
  --sh-lg:        0 14px 52px rgba(10,24,16,.15);
  --r:            20px;
  --r-sm:         14px;
  --r-xs:         10px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'DM Sans', system-ui, sans-serif; min-height: 100vh; line-height: 1.65; }

/* ── Support bar ── */
.support-bar {
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 20px;
  flex-wrap: wrap;
  text-align: center;
}
.support-bar-text {
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.4;
}
.support-bar-btn {
  background: #fff;
  color: var(--green);
  font-size: .82rem;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 99px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .15s;
}
.support-bar-btn:hover { opacity: .88; }

/* ── Nav ── */
.site-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--sh-xs);
}
.nav-logo { font-size:.92rem;font-weight:700;letter-spacing:-.015em;color:var(--text);text-decoration:none;padding:16px 0;flex-shrink:0;display:inline-flex;align-items:center; }
.logo-text-a { color:var(--text-2);font-weight:600; }
.logo-text-b { color:var(--green);font-weight:800; }
.nav-links { display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none; }
.nav-links::-webkit-scrollbar { display:none; }
.nav-link { padding:8px 14px;border-radius:var(--r-xs);font-size:.8rem;font-weight:600;color:var(--text-2);text-decoration:none;white-space:nowrap;transition:background .15s,color .15s; }
.nav-link:hover { background:var(--surface2);color:var(--text); }
.nav-link.active { background:var(--green-light);color:var(--green); }
.nav-cta { padding:8px 16px;border-radius:var(--r-xs);background:var(--green);color:#fff;font-size:.8rem;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .15s;flex-shrink:0; }
.nav-cta:hover { background:var(--green-mid); }

/* ── Footer ── */
footer { text-align:center;padding:24px;color:var(--muted);font-size:.71rem;border-top:1px solid var(--border);line-height:1.7; }
.footer-contact { margin-bottom:4px; }
.footer-contact a { color:var(--green);text-decoration:none; }
.footer-contact a:hover { text-decoration:underline; }
.footer-links { margin-bottom:6px; }
.footer-links a { color:var(--muted);text-decoration:none; }
.footer-links a:hover { color:var(--green);text-decoration:underline; }
.footer-dot { margin:0 6px; }

/* ── Breadcrumb navigation ── */
.breadcrumb-nav {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 24px 0;
  font-size: .8rem;
  color: var(--muted);
}
.breadcrumb-nav a {
  color: var(--green);
  text-decoration: none;
}
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 4px; color: var(--muted); }

/* ── Article layout ── */
.article-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 52px 24px 44px;
  text-align: center;
}
.eyebrow { display:inline-flex;align-items:center;gap:8px;font-size:.63rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--green-mid);margin-bottom:10px; }
.eyebrow::before { content:'';width:18px;height:2px;background:var(--green-mid);border-radius:2px; }

.article-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--text);
  line-height: 1.18;
  max-width: 700px;
  margin: 0 auto 16px;
}
.article-hero h1 em { font-style: italic; color: var(--green); }

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 500;
}
.meta-dot { color: var(--border); }
.meta-cat {
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--green-light);
  border: 1px solid var(--green-border);
  color: var(--green);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Article body ── */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 24px 100px;
}

.article-body { display: flex; flex-direction: column; gap: 28px; }

.article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-top: 12px;
}
.article-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.article-body p { font-size: .95rem; color: var(--text-2); line-height: 1.8; }
.article-body ul, .article-body ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-body li { font-size: .95rem; color: var(--text-2); line-height: 1.75; }
.article-body strong { color: var(--text); font-weight: 700; }

/* ── Highlight box ── */
.highlight-box {
  background: var(--green-light);
  border: 1.5px solid var(--green-border);
  border-radius: var(--r-sm);
  padding: 20px 24px;
}
.highlight-box p { color: var(--green); }
.highlight-box strong { color: var(--green); }

.info-box {
  background: var(--amber-light);
  border: 1.5px solid var(--amber-border);
  border-radius: var(--r-sm);
  padding: 20px 24px;
}
.info-box p { color: var(--amber); }

/* ── In-article affiliate CTA box ── */
.cta-box {
  background: var(--surface);
  border: 2px solid var(--green-border);
  border-radius: var(--r);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  box-shadow: var(--sh-sm);
}
.cta-box-eyebrow { font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.cta-box-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; font-weight: 700; color: var(--text); margin: 0 0 6px; line-height: 1.3; }
.cta-box-desc { font-size: .88rem; color: var(--text-2); line-height: 1.6; margin: 0 0 8px; }
.cta-box-price { font-size: .82rem; font-weight: 600; color: var(--text-2); }
.cta-box-price strong { color: var(--green); font-size: 1.05rem; font-weight: 800; }
.cta-box-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta-box-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26,82,53,.25); }
@media (max-width: 560px) {
  .cta-box { grid-template-columns: 1fr; text-align: center; }
  .cta-box-btn { justify-content: center; }
}

/* ── Comparison table ── */
.comp-table-wrap { overflow-x: auto; border-radius: var(--r-sm); border: 1.5px solid var(--border); }
.comp-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.comp-table th {
  background: var(--surface2);
  padding: 12px 16px;
  text-align: left;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: 1.5px solid var(--border);
}
.comp-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: top; }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:hover td { background: var(--surface2); }
.comp-table .best { color: var(--green); font-weight: 700; }

/* ── Product CTA card ── */
.product-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--sh-sm);
}
.product-card-info { flex: 1; min-width: 200px; }
.product-card-name { font-weight: 700; font-size: .95rem; color: var(--text); margin-bottom: 4px; }
.product-card-desc { font-size: .82rem; color: var(--muted); }
.product-cta {
  padding: 11px 20px;
  border-radius: var(--r-xs);
  background: var(--green);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
  box-shadow: 0 3px 12px rgba(26,82,53,.22);
}
.product-cta:hover { background: var(--green-mid); }
.product-cta.amber { background: var(--amber); box-shadow: 0 3px 12px rgba(176,112,16,.22); }
.product-cta.amber:hover { background: #956010; }

/* ── FAQ ── */
.faq-section { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background:var(--surface);border:1px solid var(--border);border-radius:var(--r-sm);overflow:hidden; }
.faq-q { padding:16px 20px;font-weight:700;font-size:.88rem;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;user-select:none; }
.faq-q svg { width:15px;height:15px;stroke:var(--muted);fill:none;stroke-width:2;stroke-linecap:round;flex-shrink:0;transition:transform .25s; }
.faq-item.open .faq-q svg { transform:rotate(180deg); }
.faq-a { max-height:0;overflow:hidden;transition:max-height .3s ease;font-size:.86rem;color:var(--text-2);line-height:1.75; }
.faq-item.open .faq-a { max-height:400px; }
.faq-a-inner { padding:0 20px 16px; }

/* ── Related articles ── */
.related-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px; }
.related-card { background:var(--surface);border:1.5px solid var(--border);border-radius:var(--r-sm);padding:18px;text-decoration:none;color:inherit;transition:border-color .2s,transform .2s; }
.related-card:hover { border-color:var(--green-border);transform:translateY(-3px); }
.related-cat { font-size:.65rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--green-mid);margin-bottom:6px; }
.related-title { font-size:.9rem;font-weight:700;color:var(--text);line-height:1.35; }
.related-arrow { display:block;margin-top:10px;font-size:.8rem;font-weight:700;color:var(--green); }

/* ── Section heading ── */
.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.section-sub { font-size:.86rem;color:var(--text-2);margin-bottom:20px; }

/* ── CTA banner ── */
.cta-banner {
  background: var(--green);
  border-radius: var(--r);
  padding: 28px 32px;
  color: #fff;
  text-align: center;
}
.cta-banner h3 { font-family:'Playfair Display',Georgia,serif;font-size:1.3rem;font-weight:700;margin-bottom:8px; }
.cta-banner p { font-size:.88rem;opacity:.85;margin-bottom:20px; }
.cta-banner a {
  display: inline-block;
  padding: 12px 28px;
  background: #fff;
  color: var(--green);
  border-radius: var(--r-xs);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: background .15s;
}
.cta-banner a:hover { background: var(--green-light); }

/* ── Hamburger nav ── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--text);
  border-radius: var(--r-xs);
  transition: background .15s;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { background: var(--surface2); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-cta    { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1.5px solid var(--border);
    flex-direction: column;
    padding: 8px 12px 14px;
    box-shadow: var(--sh-md);
    gap: 2px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 13px 16px; font-size: .9rem; }
  .related-grid { grid-template-columns: 1fr; }
  .comp-table { font-size: .82rem; }
  .comp-table th, .comp-table td { padding: 10px 12px; }
  .cta-banner { padding: 22px 20px; }
  .cta-banner a { width: 100%; box-sizing: border-box; }
}

@media (max-width: 640px) {
  .article-wrap { padding: 28px 16px 64px; }
  .article-hero { padding: 36px 16px 30px; }
  .article-hero h1 { font-size: clamp(1.55rem, 6vw, 2rem); }
  .product-card { flex-direction: column; align-items: flex-start; }
  .product-cta { width: 100%; text-align: center; box-sizing: border-box; }
  .section-heading { font-size: 1.2rem; }
  .affiliate-bar { display:none; }
  /* Support/info bar — kompaktní na mobilu */
  .support-bar { padding: 7px 16px; font-size: .72rem; }
}

/* ── Touch: hover efekty jen na zařízeních s myší ─────────── */
@media (hover: none) {
  .persona-card:hover,
  .related-card:hover   { transform: none; box-shadow: none; border-color: var(--border); }
  .cta-box-btn:hover    { transform: none; box-shadow: none; }
  .product-cta:hover    { background: var(--green); }
}

/* ── Touch: větší klikací plochy ──────────────────────────── */
@media (pointer: coarse) {
  .nav-link   { padding: 14px 16px; min-height: 44px; display: flex; align-items: center; }
  .nav-cta    { padding: 12px 18px; min-height: 44px; display: flex; align-items: center; }
  .faq-q      { padding: 18px 20px; }
  .product-cta { padding: 14px 22px; min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .rating-star { font-size: 2.2rem; padding: 4px 5px; }
}

/* ── Affiliate bar ── */
.affiliate-bar { display:none; }

/* ── Table of Contents (TOC) ── */
.toc-box {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--r-sm);
  padding: 20px 24px;
  margin-bottom: 8px;
}
.toc-title {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-title::before { content: ''; width: 14px; height: 2px; background: var(--green-mid); border-radius: 2px; }
.toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.toc-list li { font-size: .86rem; }
.toc-list a { color: var(--green); text-decoration: none; font-weight: 600; display: flex; align-items: baseline; gap: 8px; }
.toc-list a::before { content: counter(toc-counter); counter-increment: toc-counter; font-size: .68rem; font-weight: 800; color: var(--green-mid); background: var(--green-light); border-radius: 99px; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.toc-list { counter-reset: toc-counter; }
.toc-list a:hover { text-decoration: underline; color: var(--green-mid); }

/* ── Reading progress bar ── */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-mid));
  z-index: 200;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Back to top button ── */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s;
  z-index: 150;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--green-mid); }
@media (max-width: 640px) { #back-to-top { bottom: 18px; right: 14px; width: 38px; height: 38px; } }

/* ── Trust / "Proč nám věřit" section ── */
.trust-section {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 22px 24px;
}
.trust-title {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 14px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-2);
  line-height: 1.5;
}
.trust-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.trust-item strong { color: var(--text); display: block; font-size: .82rem; margin-bottom: 1px; }

/* ── Last updated badge ── */
.updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  color: var(--muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 3px 10px;
  font-weight: 600;
}
.updated-badge::before { content: '↻'; font-size: .8rem; }

/* ── Star Rating Widget ── */
.rating-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
.rating-widget {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.rating-widget.loaded { opacity: 1; }
.rating-prompt {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: .03em;
  margin: 0;
}
.rating-stars {
  display: flex;
  gap: 6px;
  align-items: center;
}
.rating-star {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #d1d5db;
  cursor: pointer;
  padding: 2px 3px;
  border-radius: 4px;
  transition: color .15s ease, transform .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.rating-star:not(:disabled):hover,
.rating-star.hover,
.rating-star.filled {
  color: #f59e0b;
}
.rating-star:not(:disabled):hover { transform: scale(1.15); }
.rating-star:disabled { cursor: default; }
.rating-summary {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
  min-height: 1.2em;
}
.rating-thankyou {
  font-size: .82rem;
  font-weight: 700;
  color: var(--green);
  margin: 0;
  animation: rating-fade-in .3s ease forwards;
  transition: opacity .8s ease;
}
.rating-thankyou.fade-out { opacity: 0; }
@keyframes rating-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .rating-section { padding: 0 16px 36px; }
  .rating-star { font-size: 1.7rem; }
}
