/* ==========================================================================
   ROUND2 UK RESALE PRICE GUIDE (/prices & /prices/:brandSlug)
   Warm Sand (#f4efe6 / #ebe4d6) + Crisp White (#ffffff) + Warm Charcoal (#1c1917)
   Muted Stone (#57534e) + Electric Blue (#2563eb / #1d4ed8) + Emerald (#059669 / #ecfdf5)
   ========================================================================== */

:root {
  --r2p-bg: #f4efe6;
  --r2p-bg-alt: #ebe4d6;
  --r2p-surface: #ffffff;
  --r2p-surface-subtle: #faf7f2;
  --r2p-ink: #1c1917;
  --r2p-ink-secondary: #57534e;
  --r2p-ink-muted: #78716c;
  --r2p-border: rgba(28, 25, 23, 0.08);
  --r2p-border-strong: rgba(28, 25, 23, 0.15);
  --r2p-blue: #2563eb;
  --r2p-blue-hover: #1d4ed8;
  --r2p-blue-soft: rgba(37, 99, 235, 0.08);
  --r2p-emerald: #059669;
  --r2p-emerald-bg: #ecfdf5;
  --r2p-emerald-border: rgba(5, 150, 105, 0.24);
  --r2p-font-sans: 'Google Sans', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
  --r2p-font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Cascadia Code', monospace;
  --r2p-radius-lg: 20px;
  --r2p-radius-md: 14px;
  --r2p-radius-sm: 10px;
  --r2p-shadow: 0 10px 30px -10px rgba(28, 25, 23, 0.07), 0 2px 6px rgba(28, 25, 23, 0.03);
  --r2p-shadow-hover: 0 18px 38px -12px rgba(28, 25, 23, 0.13), 0 4px 12px rgba(28, 25, 23, 0.05);
}

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

[hidden] {
  display: none !important;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--r2p-bg);
  background-image: radial-gradient(circle at 50% 0%, #faf6ee 0%, var(--r2p-bg) 65%, var(--r2p-bg-alt) 100%);
  color: var(--r2p-ink);
  font-family: var(--r2p-font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header & Navigation */
.r2-prices-header,
header[data-r2-public-header],
body > header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 230, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--r2p-border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.r2-prices-header-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.r2-prices-brand,
.r2-public-wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--r2p-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.r2-prices-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.r2-prices-nav a {
  color: var(--r2p-ink-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.r2-prices-nav a:hover,
.r2-prices-nav a[aria-current="page"],
.r2-prices-nav a.is-active {
  color: var(--r2p-ink);
  background: rgba(28, 25, 23, 0.06);
}

.r2-prices-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--r2p-blue);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: background-color 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}

.r2-prices-cta:hover {
  background: var(--r2p-blue-hover);
}

/* Main Container */
.r2-prices-main,
main {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Breadcrumbs */
.r2-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--r2p-ink-muted);
  margin: 0;
  padding: 0;
  list-style: none;
}

.r2-breadcrumbs a {
  color: var(--r2p-ink-secondary);
  text-decoration: none;
}

.r2-breadcrumbs a:hover {
  color: var(--r2p-blue);
  text-decoration: underline;
}

/* Hero Section */
.r2-prices-hero {
  background: var(--r2p-surface);
  border: 1px solid var(--r2p-border);
  border-radius: var(--r2p-radius-lg);
  padding: 32px;
  box-shadow: var(--r2p-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.r2-hero-eyebrow,
.r2-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: var(--r2p-blue-soft);
  color: var(--r2p-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}

.r2-prices-hero h1 {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--r2p-ink);
}

.r2-prices-hero p,
.r2-prices-sub {
  margin: 0;
  font-size: 16px;
  color: var(--r2p-ink-secondary);
  max-width: 780px;
}

/* Search & Share Toolbar */
.r2-prices-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--r2p-surface);
  border: 1px solid var(--r2p-border);
  border-radius: var(--r2p-radius-md);
  padding: 14px 18px;
  box-shadow: var(--r2p-shadow);
}

#pricesSearchInput,
.r2-prices-search,
.r2-prices-toolbar input[type="search"],
.r2-prices-toolbar input[type="text"] {
  flex: 1 1 280px;
  min-width: 0;
  background: var(--r2p-surface-subtle);
  border: 1px solid var(--r2p-border-strong);
  border-radius: var(--r2p-radius-sm);
  padding: 11px 16px;
  font-family: var(--r2p-font-sans);
  font-size: 15px;
  color: var(--r2p-ink);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

#pricesSearchInput:focus,
.r2-prices-search:focus {
  border-color: var(--r2p-blue);
  background: var(--r2p-surface);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.r2-toolbar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#pricesMatchCount,
.r2-match-chip {
  display: inline-flex;
  align-items: center;
  background: var(--r2p-bg);
  color: var(--r2p-ink-secondary);
  font-family: var(--r2p-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--r2p-border);
}

#pricesShareBtn,
.r2-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--r2p-surface);
  color: var(--r2p-ink);
  border: 1px solid var(--r2p-border-strong);
  border-radius: var(--r2p-radius-sm);
  padding: 9px 14px;
  font-family: var(--r2p-font-sans);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

#pricesShareBtn:hover,
.r2-share-btn:hover {
  background: var(--r2p-surface-subtle);
  border-color: var(--r2p-blue);
  color: var(--r2p-blue);
}

/* KPI Grid */
.r2-price-kpis,
.r2-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.r2-price-kpi-card,
.r2-kpi-card {
  background: var(--r2p-surface);
  border: 1px solid var(--r2p-border);
  border-radius: var(--r2p-radius-lg);
  padding: 20px 22px;
  box-shadow: var(--r2p-shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.r2-kpi-label,
.r2-price-kpi-card span:first-child {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--r2p-ink-muted);
}

.r2-kpi-value,
.r2-kpi-val,
.r2-price-kpi-card strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--r2p-ink);
  font-family: var(--r2p-font-mono);
  font-variant-numeric: tabular-nums;
}

.r2-kpi-sub {
  font-size: 12.5px;
  color: var(--r2p-ink-secondary);
}

/* 22-Brand Card Grid */
.r2-brand-grid,
.r2-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.r2-brand-card,
[data-brand-card] {
  background: var(--r2p-surface);
  border: 1px solid var(--r2p-border);
  border-radius: var(--r2p-radius-lg);
  padding: 20px 22px;
  text-decoration: none;
  color: var(--r2p-ink);
  box-shadow: var(--r2p-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) {
  .r2-brand-card:hover,
  [data-brand-card]:hover {
    transform: translateY(-3px);
    box-shadow: var(--r2p-shadow-hover);
    border-color: rgba(37, 99, 235, 0.32);
  }
}

.r2-brand-card h2,
.r2-brand-card h3,
.r2-brand-title,
.r2-brand-name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--r2p-ink);
}

.r2-brand-meta,
.r2-brand-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--r2p-ink-secondary);
  font-variant-numeric: tabular-nums;
}

.r2-brand-meta strong {
  color: var(--r2p-ink);
  font-family: var(--r2p-font-mono);
}

/* Sold Price Table */
.r2-price-table-wrap,
.r2-table-wrap {
  background: var(--r2p-surface);
  border: 1px solid var(--r2p-border);
  border-radius: var(--r2p-radius-lg);
  box-shadow: var(--r2p-shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.r2-price-table,
.r2-price-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.r2-price-table th,
.r2-price-table-wrap th {
  background: var(--r2p-surface-subtle);
  color: var(--r2p-ink-muted);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--r2p-border);
  white-space: nowrap;
}

.r2-price-table td,
.r2-price-table-wrap td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--r2p-border);
  font-size: 14px;
  color: var(--r2p-ink);
  vertical-align: middle;
}

.r2-price-table tbody tr:last-child td {
  border-bottom: 0;
}

.r2-price-table tbody tr:hover {
  background: rgba(244, 239, 230, 0.45);
}

.r2-price-median,
.r2-mono {
  font-family: var(--r2p-font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.r2-buy-pill,
.r2-safe-buy {
  display: inline-flex;
  align-items: center;
  background: var(--r2p-emerald-bg);
  color: var(--r2p-emerald);
  border: 1px solid var(--r2p-emerald-border);
  font-family: var(--r2p-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.r2-orbit-cta,
.r2-check-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--r2p-blue-soft);
  color: var(--r2p-blue);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.r2-orbit-cta:hover,
.r2-check-link:hover {
  background: var(--r2p-blue);
  color: #ffffff;
}

/* Empty State */
#pricesEmptyState,
.r2-empty-state {
  background: var(--r2p-surface);
  border: 1px dashed var(--r2p-border-strong);
  border-radius: var(--r2p-radius-lg);
  padding: 36px 24px;
  text-align: center;
  color: var(--r2p-ink-secondary);
  font-size: 15px;
}

/* Sourcing Checklist, FAQ & Cross-links */
.r2-guide-card,
.r2-faq-list,
.r2-sourcing-checklist {
  background: var(--r2p-surface);
  border: 1px solid var(--r2p-border);
  border-radius: var(--r2p-radius-lg);
  padding: 26px 28px;
  box-shadow: var(--r2p-shadow);
}

.r2-guide-card h2,
.r2-faq-list h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.r2-guide-card ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--r2p-ink-secondary);
}

.r2-faq-item,
details {
  border-bottom: 1px solid var(--r2p-border);
  padding: 14px 0;
}

.r2-faq-item:last-child,
details:last-child {
  border-bottom: 0;
}

.r2-faq-item h3,
summary {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--r2p-ink);
  cursor: pointer;
}

.r2-faq-item p,
details p {
  margin: 6px 0 0;
  color: var(--r2p-ink-secondary);
  font-size: 14.5px;
}

.r2-cross-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.r2-cross-links a {
  display: inline-flex;
  align-items: center;
  background: var(--r2p-surface);
  border: 1px solid var(--r2p-border);
  color: var(--r2p-ink-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.r2-cross-links a:hover {
  border-color: var(--r2p-blue);
  color: var(--r2p-blue);
}

/* Footer */
.r2-prices-footer,
body > footer {
  border-top: 1px solid var(--r2p-border);
  padding: 28px 24px 40px;
  margin-top: auto;
  text-align: center;
  color: var(--r2p-ink-muted);
  font-size: 13px;
}

.r2-prices-footer nav,
body > footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 12px;
}

.r2-prices-footer a,
body > footer a {
  color: var(--r2p-ink-secondary);
  text-decoration: none;
  font-weight: 600;
}

.r2-prices-footer a:hover,
body > footer a:hover {
  color: var(--r2p-blue);
}

/* Mobile 390x844 Responsiveness */
@media (max-width: 680px) {
  .r2-prices-header,
  header[data-r2-public-header],
  body > header {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .r2-prices-main,
  main {
    padding: 20px 16px 48px;
    gap: 20px;
  }

  .r2-prices-hero {
    padding: 22px 18px;
  }

  .r2-prices-toolbar {
    padding: 12px;
  }

  #pricesSearchInput,
  .r2-prices-search,
  .r2-prices-toolbar input {
    font-size: 16px !important; /* Stop iOS Safari auto-zoom */
    flex-basis: 100%;
  }

  .r2-price-kpis,
  .r2-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .r2-price-kpi-card,
  .r2-kpi-card {
    padding: 16px;
  }

  .r2-kpi-value,
  .r2-kpi-val {
    font-size: 22px;
  }

  .r2-brand-grid,
  .r2-brands-grid {
    grid-template-columns: 1fr;
  }

  .r2-guide-card,
  .r2-faq-list {
    padding: 20px 18px;
  }
}

/* ==========================================================================
   Uk-Price-Pages Semantic Markup & Component Coverage
   ========================================================================== */
.r2-prices-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--r2p-bg);
  color: var(--r2p-ink);
  overflow-x: hidden;
}

.r2-prices-brand span {
  color: var(--r2p-blue);
}

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

.r2-prices-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.r2-prices-title {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.14;
  color: var(--r2p-ink);
}

.r2-prices-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--r2p-ink-secondary);
  max-width: 780px;
}

.r2-search-input {
  flex: 1 1 280px;
  min-width: 0;
  min-height: 44px;
  background: var(--r2p-surface-subtle);
  border: 1px solid var(--r2p-border-strong);
  border-radius: var(--r2p-radius-sm);
  padding: 10px 16px;
  font-family: var(--r2p-font-sans);
  font-size: 15px;
  color: var(--r2p-ink);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.r2-search-input::placeholder {
  color: var(--r2p-ink-muted);
}

.r2-search-input:focus-visible {
  border-color: var(--r2p-blue);
  background: var(--r2p-surface);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

/* Sections & Headings */
.r2-prices-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.r2-section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.r2-section-title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--r2p-ink);
}

.r2-section-sub {
  margin: 0;
  font-size: 14.5px;
  color: var(--r2p-ink-secondary);
  max-width: 740px;
}

/* Brand Card Internals */
.r2-brand-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.r2-brand-count {
  display: inline-flex;
  align-items: center;
  background: var(--r2p-bg);
  color: var(--r2p-ink-secondary);
  border: 1px solid var(--r2p-border);
  border-radius: 999px;
  padding: 3px 10px;
  font-family: var(--r2p-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.r2-brand-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--r2p-blue);
  margin-top: 2px;
}

.r2-brand-card:hover .r2-brand-arrow {
  color: var(--r2p-blue-hover);
}

/* Sold Table Row Labels */
.r2-row-item {
  display: block;
  font-weight: 700;
  color: var(--r2p-ink);
  line-height: 1.35;
}

.r2-row-sub {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--r2p-ink-muted);
  margin-top: 2px;
}

/* Guide / Sourcing / FAQ Card Internals */
.r2-guide-card .r2-faq-list {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.r2-guide-p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--r2p-ink-secondary);
  max-width: 820px;
}

.r2-guide-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

/* Accessible Buttons */
.r2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--r2p-font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.r2-button:focus-visible,
.r2-cross-pill:focus-visible,
.r2-brand-card:focus-visible,
.r2-orbit-cta:focus-visible,
.r2-prices-cta:focus-visible,
.r2-prices-nav a:focus-visible {
  outline: 2px solid var(--r2p-blue);
  outline-offset: 2px;
}

.r2-button-primary {
  background: var(--r2p-blue);
  color: #ffffff;
  border-color: var(--r2p-blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24);
}

.r2-button-primary:hover {
  background: var(--r2p-blue-hover);
  border-color: var(--r2p-blue-hover);
  color: #ffffff;
}

.r2-button-outline {
  background: var(--r2p-surface);
  color: var(--r2p-ink);
  border-color: var(--r2p-border-strong);
}

.r2-button-outline:hover {
  background: var(--r2p-surface-subtle);
  border-color: var(--r2p-blue);
  color: var(--r2p-blue);
}

/* Cross-Brand Link Pills */
.r2-cross-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--r2p-surface);
  border: 1px solid var(--r2p-border-strong);
  color: var(--r2p-ink);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(28, 25, 23, 0.04);
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.r2-cross-pill:hover {
  border-color: var(--r2p-blue);
  color: var(--r2p-blue);
  background: var(--r2p-blue-soft);
}

/* Interactive BOLO Filter Pills */
.r2-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.r2-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--r2p-surface);
  border: 1px solid var(--r2p-border-strong);
  color: var(--r2p-ink);
  font-family: var(--r2p-font-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.r2-filter-pill:hover {
  border-color: var(--r2p-blue);
  color: var(--r2p-blue);
}

.r2-filter-pill.is-active {
  background: var(--r2p-ink);
  border-color: var(--r2p-ink);
  color: #ffffff;
}

/* Footer Internals */
.r2-prices-footer-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.r2-prices-disclaimer {
  margin: 0;
  max-width: 760px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--r2p-ink-muted);
}

/* Extra Mobile 390x844 Polish */
@media (max-width: 680px) {
  .r2-prices-header-inner {
    flex-wrap: wrap;
    gap: 10px 12px;
  }

  .r2-prices-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .r2-prices-nav a {
    white-space: nowrap;
    padding: 6px 11px;
    font-size: 13.5px;
  }

  .r2-search-input {
    font-size: 16px !important;
    flex-basis: 100%;
    width: 100%;
  }

  .r2-guide-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .r2-guide-cta-row .r2-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
