/* ReviewForge review box — base + Lite themes */
.rf-box,.rf-box *{box-sizing:border-box}
.rf-box{--b:var(--rf-border,#e2e8f0);position:relative;max-width:var(--rf-maxw,none);margin:2em auto;background:var(--rf-bg,#fff);color:var(--rf-text,#1e293b);border:1px solid var(--b);border-radius:var(--rf-radius,14px);box-shadow:var(--rf-shadow,none);font-size:var(--rf-fs,1em);line-height:1.55;overflow:hidden}
.rf-box.rf-bare{box-shadow:none}
.rf-box h2,.rf-box h3{margin:0;font-family:inherit}
.rf-box ul,.rf-box ol{margin:0;padding:0;list-style:none}
.rf-head{display:grid;grid-template-columns:auto 1fr auto;gap:1.25rem;align-items:center;padding:1.5rem 1.5rem 1.25rem}
.rf-box:not(:has(.rf-media)) .rf-head{grid-template-columns:1fr auto}
.rf-media{position:relative;margin:0;width:150px;height:150px;border-radius:calc(var(--rf-radius,14px) * .75);overflow:hidden;background:#f1f5f9;border:1px solid var(--b)}
.rf-media .rf-img{display:block;width:100%;height:100%;object-fit:cover}
.rf-badge{position:absolute;left:0;right:0;bottom:0;padding:.35rem .5rem;background:var(--rf-accent,#f97316);color:#fff;font-size:.72em;font-weight:700;letter-spacing:.04em;text-transform:uppercase;text-align:center}
.rf-badge-inline{position:static;display:inline-block;border-radius:999px;padding:.2rem .7rem;margin-bottom:.4rem}
.rf-name{font-size:1.55em;line-height:1.2;font-weight:800;letter-spacing:-.01em}
.rf-sub{margin:.25rem 0 0;color:#64748b;font-size:.93em}
.rf-price{color:var(--rf-text,#1e293b)}
.rf-price-note{font-size:.85em;opacity:.8}
.rf-stars-row{margin-top:.4rem}
.rf-summary{margin:.7rem 0 0;font-size:.97em}
.rf-stars{display:inline-flex;gap:2px;color:var(--rf-star,#f59e0b);vertical-align:middle}
.rf-star{width:1.1em;height:1.1em;display:block}
.rf-scorewrap{display:flex;flex-direction:column;align-items:center;gap:.25rem}
.rf-score-cap{font-size:.72em;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:700}
.rf-score-circle{position:relative;width:92px;height:92px}
.rf-score-circle svg{width:100%;height:100%;transform:rotate(-90deg)}
.rf-ring-bg{fill:none;stroke:var(--b);stroke-width:3.6}
.rf-ring-fg{fill:none;stroke:var(--rf-accent,#f97316);stroke-width:3.6;stroke-linecap:round}
.rf-score-circle .rf-score-num{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:1.65em;font-weight:800}
.rf-score-number,.rf-score-percent{display:flex;align-items:baseline;gap:.15rem}
.rf-score-number .rf-score-num,.rf-score-percent .rf-score-num{font-size:2.5em;font-weight:900;color:var(--rf-accent,#f97316);line-height:1}
.rf-score small{font-size:.9rem;color:#64748b;font-weight:600}
.rf-score-stars{flex-direction:column;align-items:center;display:flex}
.rf-score-stars .rf-score-num{font-size:1.4em;font-weight:800}
.rf-score-bar{min-width:120px}
.rf-score-bar .rf-score-num{font-size:2em;font-weight:900;color:var(--rf-accent,#f97316)}
.rf-score-letter .rf-score-num{display:grid;place-items:center;width:78px;height:78px;border-radius:50%;background:var(--rf-accent,#f97316);color:#fff;font-size:2.2em;font-weight:900}
.rf-score-dial{position:relative;width:120px}
.rf-score-dial svg{width:100%;display:block}
.rf-dial-bg,.rf-dial-fg{fill:none;stroke-width:10;stroke-linecap:round}
.rf-dial-bg{stroke:var(--b)}.rf-dial-fg{stroke:var(--rf-accent,#f97316)}
.rf-score-dial .rf-score-num{position:absolute;left:0;right:0;bottom:2px;text-align:center;font-weight:900;font-size:1.5em}
.rf-section{padding:1.15rem 1.5rem;border-top:1px solid var(--b)}
.rf-h{font-size:.82em;font-weight:800;text-transform:uppercase;letter-spacing:.09em;color:#64748b;margin-bottom:.7rem}
.rf-bars li{display:grid;grid-template-columns:minmax(110px,190px) 1fr 40px;gap:.75rem;align-items:center;padding:.25rem 0;font-size:.94em}
.rf-bar{display:block;height:9px;border-radius:99px;background:var(--b);overflow:hidden}
.rf-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--rf-accent,#f97316),color-mix(in srgb,var(--rf-accent,#f97316) 60%,#fff));transition:width 1s cubic-bezier(.22,1,.36,1)}
.rf-bar-val{text-align:right;font-weight:800}
.rf-pc{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.rf-pc:has(.rf-pros:only-child),.rf-pc:has(.rf-cons:only-child){grid-template-columns:1fr}
.rf-pros .rf-h{color:var(--rf-pros,#16a34a)}.rf-cons .rf-h{color:var(--rf-cons,#dc2626)}
.rf-pros li,.rf-cons li{position:relative;padding:.22rem 0 .22rem 1.6rem;font-size:.95em}
.rf-pros li:before,.rf-cons li:before{position:absolute;left:0;top:.2rem;width:1.15rem;height:1.15rem;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:.72rem;font-weight:800}
.rf-pros li:before{content:"✓";background:var(--rf-pros,#16a34a)}
.rf-cons li:before{content:"✕";background:var(--rf-cons,#dc2626)}
.rf-specs table{width:100%;border-collapse:collapse;font-size:.93em;border:0;margin:0}
.rf-specs th,.rf-specs td{padding:.5rem .25rem;text-align:left;border:0;border-bottom:1px dashed var(--b);background:none;vertical-align:top}
.rf-specs th{width:38%;color:#64748b;font-weight:600}
.rf-verdict p{margin:0;font-size:1.02em}
.rf-buy{display:flex;flex-wrap:wrap;gap:.75rem;background:color-mix(in srgb,var(--rf-accent,#f97316) 7%,var(--rf-bg,#fff))}
.rf-btn{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:.1rem;padding:.8rem 1.6rem;border-radius:calc(var(--rf-radius,14px) * .7);background:var(--rf-btn,#f97316);color:var(--rf-btn-text,#fff)!important;font-weight:800;text-decoration:none!important;box-shadow:0 8px 18px -8px var(--rf-btn,#f97316);transition:transform .15s,box-shadow .15s,filter .15s;cursor:pointer;border:0;line-height:1.2}
.rf-btn:hover{transform:translateY(-2px);filter:brightness(1.06)}
.rf-btn-meta{font-size:.74em;font-weight:600;opacity:.88}
.rf-btn-alt{background:transparent;color:var(--rf-text,#1e293b)!important;border:2px solid var(--rf-btn,#f97316);box-shadow:none}
.rf-foot{padding:.8rem 1.5rem 1rem;font-size:.78em;color:#64748b;border-top:1px solid var(--b)}
.rf-foot p{margin:.15rem 0}
.rf-visitor{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.rf-visitor-label{font-weight:700}
.rf-vote{display:inline-flex}
.rf-vote-star{background:none;border:0;padding:2px;cursor:pointer;color:var(--rf-star,#f59e0b);line-height:0}
.rf-vote-star .rf-star{width:1.5em;height:1.5em}
.rf-vote-star:hover .rf-star path,.rf-vote-star.is-on .rf-star path{fill-opacity:1}
.rf-visitor.is-done .rf-vote-star{pointer-events:none}
.rf-visitor-avg{font-size:.88em;color:#64748b}
.rf-compact .rf-head{padding:1rem 1.25rem}
.rf-compact .rf-name{font-size:1.15em}
.rf-compact .rf-score-circle{width:64px;height:64px}
.rf-compact .rf-score-circle .rf-score-num{font-size:1.2em}
.rf-compact .rf-section{padding:.8rem 1.25rem}

/* Theme: classic */
.rf-theme-classic{--rf-radius:4px;border-width:2px;border-color:var(--rf-secondary,#0f172a)}
.rf-theme-classic .rf-head{background:var(--rf-secondary,#0f172a);color:#fff}
.rf-theme-classic .rf-sub,.rf-theme-classic .rf-score-cap,.rf-theme-classic .rf-score small{color:#cbd5e1}
.rf-theme-classic .rf-price{color:#fff}
.rf-theme-classic .rf-ring-bg{stroke:rgba(255,255,255,.2)}
.rf-theme-classic .rf-h{border-left:4px solid var(--rf-accent,#f97316);padding-left:.6rem;color:var(--rf-secondary,#0f172a)}
/* Theme: minimal */
.rf-theme-minimal{box-shadow:none;border-width:0;border-top:3px solid var(--rf-accent,#f97316);border-radius:0;background:transparent}
.rf-theme-minimal .rf-section{border-top-style:dashed}
.rf-theme-minimal .rf-media{border-radius:6px}
.rf-theme-minimal .rf-btn{border-radius:2px;box-shadow:none;text-transform:uppercase;letter-spacing:.06em}
.rf-theme-minimal .rf-buy{background:transparent}
/* Theme: dark */
.rf-theme-dark{--b:#334155;background:#0b1220;color:#e2e8f0;border-color:#1e293b}
.rf-theme-dark .rf-sub,.rf-theme-dark .rf-h,.rf-theme-dark .rf-score-cap,.rf-theme-dark .rf-foot,.rf-theme-dark .rf-visitor-avg,.rf-theme-dark .rf-specs th,.rf-theme-dark .rf-score small{color:#94a3b8}
.rf-theme-dark .rf-price{color:#f8fafc}
.rf-theme-dark .rf-media{background:#111a2e}
.rf-theme-dark .rf-buy{background:#0f1a30}
.rf-theme-dark .rf-btn-alt{color:#f8fafc!important}

/* Cards / grid */
.rf-grid-wrap{display:grid;gap:1.4rem;margin:1.5em 0}
.rf-cols-1{grid-template-columns:1fr}.rf-cols-2{grid-template-columns:repeat(2,1fr)}.rf-cols-3{grid-template-columns:repeat(3,1fr)}.rf-cols-4{grid-template-columns:repeat(4,1fr)}.rf-cols-5{grid-template-columns:repeat(5,1fr)}.rf-cols-6{grid-template-columns:repeat(6,1fr)}
.rf-card{background:var(--rf-bg,#fff);border:1px solid var(--rf-border,#e2e8f0);border-radius:var(--rf-radius,14px);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.rf-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px -18px rgba(15,23,42,.35)}
.rf-card-media{position:relative;display:block;aspect-ratio:16/10;background:linear-gradient(135deg,#fff7ed,#ffedd5);overflow:hidden}
.rf-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.rf-card-ph{position:absolute;inset:0;display:grid;place-items:center;font-size:3rem;color:var(--rf-accent,#f97316)}
.rf-card-score{position:absolute;right:.7rem;top:.7rem;min-width:2.8rem;height:2.8rem;padding:0 .5rem;border-radius:999px;background:var(--rf-accent,#f97316);color:#fff;font-weight:900;display:grid;place-items:center;box-shadow:0 6px 14px -4px rgba(0,0,0,.4);border:2px solid #fff}
.rf-card-badge{position:absolute;left:.7rem;top:.7rem;padding:.2rem .6rem;border-radius:999px;background:rgba(15,23,42,.88);color:#fff;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.rf-card-body{padding:1rem 1.1rem 1.2rem}
.rf-card-title{font-size:1.08em;line-height:1.3;margin:0 0 .4rem;font-weight:800}
.rf-card-title a{color:inherit;text-decoration:none}.rf-card-title a:hover{color:var(--rf-accent,#f97316)}
.rf-card-meta{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-size:.9em}
.rf-card-price{font-weight:800}
.rf-card-excerpt{margin:.6rem 0 0;font-size:.9em;color:#64748b}
.rf-layout-list{grid-template-columns:1fr!important}
.rf-layout-list .rf-card{flex-direction:row}
.rf-layout-list .rf-card-media{width:130px;flex:none;aspect-ratio:1}
/* Comparison */
.rf-compare-wrap{overflow-x:auto;margin:2em 0;border:1px solid var(--rf-border,#e2e8f0);border-radius:var(--rf-radius,14px)}
.rf-compare{width:100%;border-collapse:collapse;min-width:520px;background:var(--rf-bg,#fff);color:var(--rf-text,#1e293b);font-size:.94em;margin:0;border:0}
.rf-compare th,.rf-compare td{padding:.85rem 1rem;border:0;border-bottom:1px solid var(--rf-border,#e2e8f0);text-align:center;vertical-align:middle}
.rf-compare tbody th{text-align:left;color:#64748b;font-weight:700;width:150px;background:rgba(148,163,184,.08)}
.rf-compare thead th{vertical-align:bottom;background:rgba(148,163,184,.08);position:relative}
.rf-compare thead img{display:block;margin:0 auto .5rem;max-width:110px;height:auto;border-radius:10px}
.rf-compare .is-best{background:color-mix(in srgb,var(--rf-accent,#f97316) 12%,transparent)}
.rf-cmp-flag{display:inline-block;margin-bottom:.4rem;padding:.15rem .6rem;border-radius:999px;background:var(--rf-accent,#f97316);color:#fff;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.rf-cmp-name{font-weight:800;color:inherit;text-decoration:none}
.rf-cmp-score{display:block;font-size:1.5em;color:var(--rf-accent,#f97316)}
.rf-cmp-list ul{text-align:left;margin:0;padding:0;list-style:none;font-size:.9em}
.rf-cmp-pros li:before{content:"✓ ";color:var(--rf-pros,#16a34a);font-weight:800}
.rf-cmp-cons li:before{content:"✕ ";color:var(--rf-cons,#dc2626);font-weight:800}
.rf-cmp-more{display:block;margin-top:.5rem;font-size:.85em}
/* Top list */
.rf-toplist ol{counter-reset:rf;margin:0;padding:0;list-style:none}
.rf-toplist li{counter-increment:rf;border-bottom:1px solid var(--rf-border,#e2e8f0)}
.rf-toplist li a{display:flex;align-items:center;gap:.7rem;padding:.6rem 0;color:inherit;text-decoration:none}
.rf-toplist li a:before{content:counter(rf);width:1.7rem;height:1.7rem;display:grid;place-items:center;border-radius:50%;background:var(--rf-accent,#f97316);color:#fff;font-weight:800;font-size:.8rem;flex:none}
.rf-tl-name{flex:1;font-weight:600}.rf-tl-score{font-weight:900;color:var(--rf-accent,#f97316)}
.rf-empty{color:#64748b;font-style:italic}

@media (max-width:760px){
 .rf-head{grid-template-columns:1fr;text-align:center;justify-items:center}
 .rf-box:not(:has(.rf-media)) .rf-head{grid-template-columns:1fr}
 .rf-media{width:100%;height:210px}
 .rf-pc{grid-template-columns:1fr}
 .rf-bars li{grid-template-columns:1fr 40px}.rf-bars li .rf-bar{grid-column:1/3;order:3}
 .rf-cols-3,.rf-cols-4,.rf-cols-5,.rf-cols-6{grid-template-columns:repeat(2,1fr)}
 .rf-buy .rf-btn{width:100%}
}
@media (max-width:520px){.rf-cols-2,.rf-cols-3,.rf-cols-4,.rf-cols-5,.rf-cols-6{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.rf-bar i,.rf-btn,.rf-card{transition:none}}
[dir=rtl] .rf-pros li,[dir=rtl] .rf-cons li{padding:.22rem 1.6rem .22rem 0}[dir=rtl] .rf-pros li:before,[dir=rtl] .rf-cons li:before{left:auto;right:0}
@media print{.rf-buy,.rf-visitor{display:none}.rf-box{box-shadow:none;break-inside:avoid}}
