/* Reviews2Shop — public site */

:root {
  --r2s-primary: #ff5b1f;
  --r2s-primary-dark: #d94614;
  --r2s-accent: #1d3557;
  --r2s-warm: #ffb703;
  --r2s-bg-tint: #fff8f3;
  --r2s-shadow: 0 12px 28px rgba(0,0,0,0.08);
  --r2s-shadow-hover: 0 18px 40px rgba(0,0,0,0.14);
  --r2s-radius: 14px;
}

html { font-size: 15px; scroll-behavior: smooth; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
  background: linear-gradient(180deg, #ffffff 0%, var(--r2s-bg-tint) 600px, #ffffff 1200px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1f2933;
  min-height: 100vh;
}

/* ── Navbar ───────────────────────────────────────────────────────── */
.navbar.r2s-nav {
  background: linear-gradient(90deg, #1d3557 0%, #2a4a73 100%);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.navbar.r2s-nav .navbar-brand {
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.navbar.r2s-nav .navbar-brand .r2s-brand-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  display: block;
}
.navbar.r2s-nav .navbar-brand .r2s-brand-text span {
  color: var(--r2s-primary);
}
.navbar.r2s-nav .navbar-brand span {
  color: var(--r2s-primary);
}
.navbar.r2s-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.navbar.r2s-nav .nav-link:hover,
.navbar.r2s-nav .nav-link.active {
  background: rgba(255,255,255,0.12);
  color: #fff !important;
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.r2s-hero {
  background: linear-gradient(135deg, #ff5b1f 0%, #ff8c42 50%, #ffb703 100%);
  color: #fff;
  padding: 4rem 1rem 3.5rem;
  border-radius: var(--r2s-radius);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.r2s-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.14) 0, transparent 35%);
  pointer-events: none;
}
.r2s-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.r2s-hero p.lead {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  opacity: 0.95;
  margin-bottom: 0;
}
.r2s-hero .r2s-hero-image {
  display: block;
  margin: 1.4rem auto 0;
  width: clamp(160px, 26vw, 260px);
  height: auto;
  background: transparent;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.28));
}
.r2s-hero .r2s-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  backdrop-filter: blur(6px);
}
.r2s-hero .r2s-hero-cta {
  display: inline-flex;
  margin-top: 1.4rem;
  background: #fff;
  color: var(--r2s-primary) !important;
  font-weight: 800;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.r2s-hero .r2s-hero-cta:hover {
  background: #fff;
  color: var(--r2s-primary-dark) !important;
  filter: brightness(1.0);
  transform: translateY(-3px);
}

/* ── Category cards ───────────────────────────────────────────────── */
.r2s-cat-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--r2s-radius);
  padding: 1.8rem 1rem;
  text-align: center;
  box-shadow: var(--r2s-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.r2s-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--r2s-shadow-hover);
  color: inherit;
}
.r2s-cat-card .r2s-cat-icon {
  font-size: 2.6rem;
  margin-bottom: 0.6rem;
  display: block;
  line-height: 1;
}
.r2s-cat-card h5 {
  font-weight: 700;
  margin: 0;
  color: var(--r2s-accent);
}
.r2s-cat-card .r2s-cat-count {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: #6c757d;
}

/* Hot Deals / Top Picks (home) */
.r2s-deals-section {
  margin: 2rem 0 2.5rem;
}
.r2s-deals-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.r2s-deals-title { margin: 0; }
.r2s-deals-sub {
  font-size: 0.85rem;
  color: #6c757d;
}
.r2s-deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.r2s-deal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r2s-radius);
  overflow: hidden;
  box-shadow: var(--r2s-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.r2s-deal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--r2s-shadow-hover);
}
.r2s-deal-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  background: var(--r2s-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.r2s-deal-img-wrap {
  display: block;
  background: #f8f9fa;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.r2s-deal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.6rem;
  display: block;
  transition: transform .3s ease;
}
.r2s-deal-card:hover .r2s-deal-img-wrap img {
  transform: scale(1.04);
}
.r2s-deal-body {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.9rem 0.9rem;
  flex: 1;
}
.r2s-deal-brand {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6c757d;
}
.r2s-deal-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1f3a47;
  line-height: 1.3;
  margin: 0.15rem 0 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.3rem;
}
.r2s-deal-rating {
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: 0.4rem;
}
.r2s-deal-stars { font-weight: 700; color: #d97706; }
.r2s-deal-reviews { margin-left: 0.3rem; color: #6c757d; }
.r2s-deal-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.2rem 0 0.7rem;
}
.r2s-deal-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--r2s-accent);
}
.r2s-deal-orig {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.r2s-deal-save {
  font-size: 0.72rem;
  font-weight: 700;
  color: #16a34a;
  background: #ecfdf5;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
}
.r2s-deal-cta {
  margin-top: auto;
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  text-align: center;
}

/* Image-style category tiles (home page) */
.r2s-cat-card-img {
  display: block;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--r2s-radius);
  overflow: hidden;
  box-shadow: var(--r2s-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.04);
}
.r2s-cat-card-img:hover {
  transform: translateY(-6px);
  box-shadow: var(--r2s-shadow-hover);
  color: inherit;
  text-decoration: none;
}
.r2s-cat-card-img .r2s-cat-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f3f5;
}
.r2s-cat-card-img .r2s-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.r2s-cat-card-img:hover .r2s-cat-img-wrap img {
  transform: scale(1.04);
}
.r2s-cat-card-img .r2s-cat-img-body {
  padding: 1rem 1.1rem 1.2rem;
}
.r2s-cat-card-img h5 {
  font-weight: 700;
  margin: 0;
  color: var(--r2s-accent);
  font-size: 1.15rem;
}
.r2s-cat-card-img .r2s-cat-count {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: #6c757d;
}

/* ── Section headings ─────────────────────────────────────────────── */
.r2s-section-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  color: var(--r2s-accent);
  margin: 2rem 0 1.2rem;
}
.r2s-section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--r2s-primary), transparent);
  border-radius: 2px;
}

/* ── Product cards ────────────────────────────────────────────────── */
.r2s-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.r2s-product {
  background: #fff;
  border-radius: var(--r2s-radius);
  overflow: hidden;
  box-shadow: var(--r2s-shadow);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  animation: r2sFadeUp .5s ease both;
}
.r2s-product:hover {
  transform: translateY(-4px);
  box-shadow: var(--r2s-shadow-hover);
}
.r2s-product .r2s-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--r2s-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255,91,31,0.4);
  z-index: 2;
}
.r2s-product .r2s-bestseller-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--r2s-warm);
  color: #1f2933;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(255,183,3,0.4);
}
.r2s-product .r2s-img-wrap {
  background: linear-gradient(180deg, #fafafa, #fff);
  aspect-ratio: 1 / 1;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.r2s-product .r2s-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}
.r2s-product:hover .r2s-img-wrap img {
  transform: scale(1.05);
}
.r2s-product .r2s-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.r2s-product .r2s-brand {
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #8a94a6;
  font-weight: 600;
}
.r2s-product .r2s-name {
  font-weight: 700;
  font-size: 1rem;
  color: #1f2933;
  margin: 0.2rem 0 0.6rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.r2s-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}
.r2s-stars .r2s-star-fill {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  color: #e2e8f0;
  letter-spacing: 2px;
}
.r2s-stars .r2s-star-fill::before {
  content: "★★★★★";
}
.r2s-stars .r2s-star-fill > span {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  color: #ffb703;
  width: var(--r2s-star-pct, 0%);
}
.r2s-stars .r2s-star-fill > span::before {
  content: "★★★★★";
  letter-spacing: 2px;
}
.r2s-stars .r2s-rating-num {
  font-weight: 700;
  color: #1f2933;
}
.r2s-stars .r2s-review-count {
  color: #6c757d;
  font-size: 0.82rem;
}
.r2s-product .r2s-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--r2s-accent);
  margin: 0.6rem 0;
}
.r2s-product .r2s-price small {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6c757d;
  margin-left: 0.4rem;
}
.r2s-product .r2s-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  flex: 1;
  margin: 0.4rem 0 0.6rem;
}
.r2s-product .r2s-verdict {
  font-size: 0.82rem;
  color: #1f3a47;
  background: #fff8ec;
  border-left: 3px solid var(--r2s-primary);
  padding: 0.5rem 0.7rem;
  margin: 0 0 0.9rem;
  border-radius: 6px;
  line-height: 1.45;
}
.r2s-product .r2s-verdict strong { color: var(--r2s-accent); }
.r2s-product .r2s-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(90deg, var(--r2s-primary) 0%, #ff8c42 100%);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,91,31,0.32);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  margin-top: auto;
}
.r2s-product .r2s-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,91,31,0.42);
  filter: brightness(1.05);
}
.r2s-product .r2s-cta:active { transform: translateY(0); }
.r2s-product .r2s-cta::after {
  content: "→";
  transition: transform .2s ease;
}
.r2s-product .r2s-cta:hover::after { transform: translateX(4px); }

.r2s-criteria { margin: 0.6rem 0 0.4rem; }
.r2s-criteria-row { font-size: 0.78rem; margin-bottom: 0.35rem; }
.r2s-criteria-bar {
  height: 5px; background: #e9ecef; border-radius: 99px; overflow: hidden;
}
.r2s-criteria-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #3ed598);
  border-radius: 99px;
  transition: width .6s ease;
}

/* ── Breadcrumb ───────────────────────────────────────────────────── */
.breadcrumb {
  background: transparent;
  padding-left: 0;
  font-size: 0.88rem;
}
.breadcrumb-item + .breadcrumb-item::before { content: "›"; color: #94a3b8; }

/* ── Subcategory list ─────────────────────────────────────────────── */
.r2s-pages-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.r2s-page-card {
  display: block;
  text-decoration: none;
  background: #fff;
  padding: 1.1rem 1.2rem;
  border-radius: var(--r2s-radius);
  box-shadow: var(--r2s-shadow);
  border-left: 4px solid var(--r2s-primary);
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.r2s-page-card:hover {
  transform: translateX(4px);
  box-shadow: var(--r2s-shadow-hover);
  color: inherit;
}
.r2s-page-card h6 {
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--r2s-accent);
}
.r2s-page-card .r2s-page-meta {
  font-size: 0.82rem;
  color: #6c757d;
}

/* ── Footer ───────────────────────────────────────────────────────── */
footer.r2s-footer {
  background: #1d3557;
  color: rgba(255,255,255,0.78);
  padding: 1.6rem 1rem 1.3rem;
  margin-top: 4rem;
  text-align: center;
  font-size: 0.88rem;
}
footer.r2s-footer strong { color: #fff; }
footer.r2s-footer .r2s-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.7rem;
}
footer.r2s-footer .r2s-footer-links a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 600;
}
footer.r2s-footer .r2s-footer-links a:hover {
  color: var(--r2s-warm);
}
footer.r2s-footer .r2s-footer-brand {
  font-size: 0.85rem;
  opacity: 0.7;
}
footer.r2s-footer .r2s-disclosure {
  font-size: 0.74rem;
  max-width: 640px;
  margin: 0.4rem auto 0;
  opacity: 0.6;
  line-height: 1.4;
}

/* ── Animations ───────────────────────────────────────────────────── */
@keyframes r2sFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.r2s-product:nth-child(2)  { animation-delay: 0.04s; }
.r2s-product:nth-child(3)  { animation-delay: 0.08s; }
.r2s-product:nth-child(4)  { animation-delay: 0.12s; }
.r2s-product:nth-child(5)  { animation-delay: 0.16s; }
.r2s-product:nth-child(6)  { animation-delay: 0.20s; }
.r2s-product:nth-child(7)  { animation-delay: 0.24s; }
.r2s-product:nth-child(8)  { animation-delay: 0.28s; }

/* ── Feature comparison table (per-product features as rows) ─────── */
.r2s-feature-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--r2s-radius);
  overflow: hidden;
  box-shadow: var(--r2s-shadow);
}
.r2s-feature-table thead th {
  background: #f8fafc;
  color: var(--r2s-accent);
  font-weight: 700;
  padding: 1.2rem 1rem 1.4rem;
  vertical-align: top;
  text-align: center;
  border-bottom: 2px solid #e2e8f0;
}
.r2s-feature-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.r2s-feature-thumb {
  width: 110px;
  height: 110px;
  object-fit: contain;
  background: #fff;
}
.r2s-feature-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--r2s-accent);
  line-height: 1.2;
  max-width: 160px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.r2s-feature-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #eef2f6;
  vertical-align: middle;
  font-size: 0.92rem;
  text-align: center;
  background: #fff;
}
.r2s-feature-table tbody tr:nth-child(even) td { background: #fafbfc; }
.r2s-feature-table tbody tr:last-child td { border-bottom: 0; }
.r2s-feature-label-cell {
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-align: left !important;
  background: #f1f5f9 !important;
  white-space: nowrap;
  border-right: 2px solid #e2e8f0;
  position: sticky;
  left: 0;
  z-index: 2;
}
.r2s-feature-table thead th.r2s-feature-label-cell {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #f8fafc !important;
}
.r2s-feature-table tbody tr:nth-child(even) .r2s-feature-label-cell { background: #e9eef5 !important; }
.r2s-feature-price {
  font-weight: 800;
  color: var(--r2s-accent);
  font-size: 1.05rem;
}
.r2s-feature-cta {
  font-size: 0.85rem !important;
  padding: 0.55rem 0.9rem !important;
}

/* ── (Legacy) Comparison table ────────────────────────────────────── */
.r2s-compare-section {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.r2s-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--r2s-radius);
  overflow: hidden;
  box-shadow: var(--r2s-shadow);
}
.r2s-compare-table thead th {
  background: linear-gradient(180deg, #1d3557 0%, #2a4a73 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.85rem 0.75rem;
  vertical-align: middle;
  white-space: nowrap;
}
.r2s-compare-table tbody td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid #eef2f6;
  vertical-align: middle;
  font-size: 0.9rem;
  background: #fff;
}
.r2s-compare-table tbody tr:hover td { background: #fff8f3; }
.r2s-compare-table tbody tr:last-child td { border-bottom: 0; }
.r2s-rank-cell {
  font-weight: 800;
  color: var(--r2s-primary);
  font-size: 1rem;
  width: 50px;
}
.r2s-compare-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fafafa;
  border-radius: 6px;
  flex-shrink: 0;
}
.r2s-compare-name {
  color: var(--r2s-accent);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.r2s-compare-name:hover { color: var(--r2s-primary); }
.r2s-compare-brand { font-weight: 600; color: #475569; }
.r2s-compare-price {
  font-weight: 700;
  color: var(--r2s-accent);
}
.r2s-compare-tier { font-size: 0.72rem; color: #94a3b8; }
.r2s-compare-weighted {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: #fff5ed;
  color: var(--r2s-primary-dark);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}
.r2s-compare-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.r2s-compare-badge-gold { background: var(--r2s-warm); color: #1f2933; }
.r2s-star-fill-mini {
  display: inline-block;
  position: relative;
  font-size: 0.85rem;
  color: #e2e8f0;
  letter-spacing: 1px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.r2s-star-fill-mini::before { content: "★★★★★"; }
.r2s-star-fill-mini > span {
  position: absolute; top: 0; left: 0;
  white-space: nowrap; overflow: hidden;
  color: #ffb703;
  width: var(--r2s-star-pct, 0%);
}
.r2s-star-fill-mini > span::before { content: "★★★★★"; letter-spacing: 1px; }

/* ── Back link near title ─────────────────────────────────────────── */
.r2s-back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--r2s-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid rgba(255,91,31,0.25);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  transition: background .2s ease, transform .2s ease;
}
.r2s-back-link:hover {
  background: #fff5ed;
  color: var(--r2s-primary-dark);
  transform: translateX(-2px);
}

/* ── Related strip ────────────────────────────────────────────────── */
.r2s-related-section {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.r2s-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.r2s-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  padding: 1rem 1.1rem;
  border-radius: var(--r2s-radius);
  border-left: 4px solid var(--r2s-warm);
  box-shadow: var(--r2s-shadow);
  transition: transform .2s, box-shadow .2s;
}
.r2s-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--r2s-shadow-hover);
  color: inherit;
}
.r2s-related-card .r2s-related-cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #8a94a6;
  font-weight: 700;
}
.r2s-related-card h6 {
  font-weight: 700;
  color: var(--r2s-accent);
  margin: 0.25rem 0 0;
}

/* ── Comparison table mobile scroll ───────────────────────────────── */
@media (max-width: 768px) {
  .r2s-feature-table {
    min-width: 600px;
  }
  .table-responsive {
    -webkit-overflow-scrolling: touch;
  }
}

/* ── Mobile sticky CTA for product cards: shown on long ProductPage ─ */
@media (max-width: 640px) {
  .r2s-product .r2s-cta {
    position: sticky;
    bottom: 0.8rem;
    z-index: 5;
  }
}

/* ── Back to top ──────────────────────────────────────────────────── */
.r2s-back-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--r2s-primary);
  color: #fff;
  border: 0;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255,91,31,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 1000;
}
.r2s-back-top.r2s-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.r2s-back-top:hover { filter: brightness(1.08); }

/* ── ProductPage meta header ─────────────────────────────────────── */
.r2s-page-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 1.6rem;
  padding: 0.6rem 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--r2s-shadow);
  border-left: 4px solid var(--r2s-warm);
}
.r2s-page-meta-bar strong { color: var(--r2s-accent); }

.r2s-brand-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: -0.6rem 0 1.6rem;
  padding: 0.5rem 0.4rem;
}
.r2s-brand-strip-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6c757d;
  margin-right: 0.3rem;
}
.r2s-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1f3a47;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.r2s-brand-chip:hover { border-color: var(--r2s-primary); }
.r2s-brand-chip-active {
  background: var(--r2s-primary);
  color: #fff;
  border-color: var(--r2s-primary);
}
.r2s-brand-chip-active .r2s-brand-chip-count {
  background: #fff;
  color: var(--r2s-primary);
}

/* Filters bar */
.r2s-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  margin: 0 0 1.4rem;
}
.r2s-filter-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 240px;
}
.r2s-filter-label {
  font-size: 0.82rem;
  color: #475569;
  white-space: nowrap;
  margin: 0;
}
.r2s-filter-label strong { color: var(--r2s-accent); }
.r2s-range {
  flex: 1;
  height: 4px;
  accent-color: var(--r2s-primary);
  cursor: pointer;
}
.r2s-filter-actions {
  justify-content: flex-end;
  font-size: 0.82rem;
  color: #6c757d;
}
.r2s-compare-status.is-ready { color: var(--r2s-accent); font-weight: 700; }
.r2s-filter-btn-link {
  background: none;
  border: none;
  color: var(--r2s-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

/* Pin to compare checkbox */
.r2s-pin {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  cursor: pointer;
}
.r2s-pin-input { position: absolute; opacity: 0; pointer-events: none; }
.r2s-pin-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.6rem;
  background: rgba(255,255,255,0.92);
  border: 1px solid #e3e6ea;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6c757d;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: all .15s ease;
}
.r2s-pin-input:checked + .r2s-pin-box {
  background: var(--r2s-primary);
  color: #fff;
  border-color: var(--r2s-primary);
}
.r2s-pin-input:focus-visible + .r2s-pin-box {
  outline: 2px solid var(--r2s-primary);
  outline-offset: 2px;
}

/* Stock badge */
.r2s-stock {
  display: inline-block;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.r2s-stock.is-in { background: #ecfdf5; color: #047857; }
.r2s-stock.is-out { background: #fef2f2; color: #b91c1c; }

/* Price with original / discount */
.r2s-price-now { font-size: 1.1rem; font-weight: 800; color: var(--r2s-accent); }
.r2s-price-orig { font-size: 0.85rem; color: #94a3b8; text-decoration: line-through; margin-left: 0.5rem; }
.r2s-price-off {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.16rem 0.45rem;
  background: var(--r2s-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 999px;
}

/* Pros / Cons structured callout */
.r2s-proscons {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 0.6rem;
  padding: 0.5rem 0.7rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.04);
}
.r2s-pros, .r2s-cons {
  display: flex;
  gap: 0.45rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #1f3a47;
}
.r2s-pros strong {
  flex-shrink: 0;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #16a34a;
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1;
}
.r2s-cons strong {
  flex-shrink: 0;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #dc2626;
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
}

/* Reviewed by line */
.r2s-reviewed-by {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: 0.2rem;
}

/* Hidden via filter */
.r2s-product.is-filtered { display: none; }

/* Pin highlight */
.r2s-product.is-pinned {
  outline: 2px solid var(--r2s-primary);
  outline-offset: 2px;
}
.r2s-brand-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--r2s-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.r2s-vote {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed #e3e6ea;
  font-size: 0.78rem;
  color: #6c757d;
}
.r2s-vote-q {
  flex: 1;
  font-weight: 500;
}
.r2s-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.6rem;
  background: #f1f3f5;
  border: 1px solid #dee2e6;
  border-radius: 999px;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.r2s-vote-btn:hover {
  background: #fff;
  border-color: var(--r2s-primary);
  color: var(--r2s-primary);
}
.r2s-vote-btn:disabled { opacity: .6; cursor: wait; }
.r2s-vote-btn.r2s-vote-active {
  background: var(--r2s-primary);
  color: #fff;
  border-color: var(--r2s-primary);
}
.r2s-vote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  color: var(--r2s-accent);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
}
.r2s-vote-btn.r2s-vote-active .r2s-vote-icon {
  background: rgba(255,255,255,0.95);
}

/* ── Empty state ──────────────────────────────────────────────────── */
.r2s-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #6c757d;
}
.r2s-empty .r2s-empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.6rem;
  opacity: 0.5;
}
