/**
 * Biorals Coupon Platform — Design System & Stylesheet
 */

:root {
  --br-primary: #0284c7;
  --br-primary-hover: #0369a1;
  --br-primary-light: #e0f2fe;
  --br-accent: #f59e0b;
  --br-success: #10b981;
  --br-success-light: #d1fae5;
  --br-danger: #ef4444;
  --br-danger-light: #fee2e2;
  --br-warning: #f59e0b;
  --br-warning-light: #fef3c7;
  
  --br-text: #0f172a;
  --br-text-muted: #64748b;
  --br-bg: #ffffff;
  --br-bg-alt: #f8fafc;
  --br-bg-card: #ffffff;
  
  --br-border: #e2e8f0;
  --br-border-light: #f1f5f9;
  
  --br-radius-sm: 6px;
  --br-radius: 12px;
  --br-radius-lg: 20px;
  --br-radius-full: 9999px;
  
  --br-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --br-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --br-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --br-shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.06);
  
  --br-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --br-max-w: 1240px;
}

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

body {
  font-family: var(--br-font-sans);
  color: var(--br-text);
  background-color: var(--br-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--br-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--br-primary-hover);
}

.br-container {
  width: 100%;
  max-width: var(--br-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header */
.br-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--br-border);
}

.br-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.br-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.br-logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--br-primary), #38bdf8);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: var(--br-radius);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.br-logo__name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--br-text);
}

.br-logo__tagline {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--br-primary);
  background: var(--br-primary-light);
  padding: 0.15rem 0.45rem;
  border-radius: var(--br-radius-full);
}

.br-nav__list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.br-nav__list a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--br-text);
  padding: 0.4rem 0;
  position: relative;
}

.br-nav__list a:hover {
  color: var(--br-primary);
}

.br-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.br-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--br-text);
  margin: 5px 0;
  border-radius: 2px;
}

/* Hero */
.br-hero {
  position: relative;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 5rem 0 7rem;
  text-align: center;
  overflow: hidden;
}

.br-hero__inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.br-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: var(--br-radius-full);
  margin-bottom: 1.5rem;
}

.br-hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.br-hero__accent {
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.br-hero__sub {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 2.25rem;
}

.br-search {
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.br-search__wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--br-radius-full);
  padding: 0.4rem 0.4rem 0.4rem 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.br-search__icon {
  width: 20px;
  height: 20px;
  color: #94a3b8;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.br-search__input {
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--br-text);
}

.br-search__btn {
  background: linear-gradient(135deg, var(--br-primary), var(--br-primary-hover));
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--br-radius-full);
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.br-search__btn:hover {
  opacity: 0.95;
  transform: scale(1.02);
}

.br-hero__stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

.br-hero__stat strong {
  color: #ffffff;
  font-size: 1.1rem;
}

.br-hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.br-hero__wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 40px;
}

/* Sections */
.br-section {
  padding: 4.5rem 0;
}

.br-section--alt {
  background-color: var(--br-bg-alt);
}

.br-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.25rem;
}

.br-section__title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.br-section__link {
  font-weight: 700;
  font-size: 0.95rem;
}

/* Grids */
.br-grid {
  display: grid;
  gap: 1.5rem;
}

.br-grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

.br-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

/* Coupon Card */
.br-coupon-card {
  background: var(--br-bg-card);
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius);
  padding: 1.5rem;
  box-shadow: var(--br-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.br-coupon-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--br-shadow-hover);
  border-color: #cbd5e1;
}

.br-coupon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.br-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--br-radius-full);
}

.br-badge--verified {
  background-color: var(--br-success-light);
  color: #065f46;
}

.br-badge--unverified {
  background-color: var(--br-warning-light);
  color: #92400e;
}

.br-badge--needs-review {
  background-color: #f1f5f9;
  color: #475569;
}

.br-badge--expired {
  background-color: var(--br-danger-light);
  color: #991b1b;
}

.br-offer-type {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--br-text-muted);
}

.br-discount-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--br-primary);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.br-coupon-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.br-expires {
  font-size: 0.82rem;
  color: var(--br-text-muted);
  margin-bottom: 1.25rem;
}

.br-expired-label {
  color: var(--br-danger);
  font-weight: 700;
}

.br-coupon-actions {
  margin-top: auto;
  padding-top: 1rem;
}

.br-show-code-btn, .br-get-deal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--br-radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
}

.br-show-code-btn {
  background: #f1f5f9;
  border: 2px dashed #94a3b8;
  color: var(--br-text);
  gap: 0.6rem;
}

.br-show-code-btn:hover {
  background: #e2e8f0;
  border-color: var(--br-primary);
  color: var(--br-primary);
}

.br-code-mask {
  font-family: monospace;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: #64748b;
}

.br-get-deal-btn {
  background: linear-gradient(135deg, var(--br-primary), var(--br-primary-hover));
  color: #ffffff;
  gap: 0.4rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.br-get-deal-btn:hover {
  opacity: 0.95;
  color: #ffffff;
  transform: scale(1.01);
}

.br-coupon-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--br-text-muted);
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--br-border);
}

.br-terms-toggle {
  background: none;
  border: none;
  color: var(--br-primary);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.75rem;
  text-decoration: underline;
}

.br-terms-content {
  background: #f8fafc;
  border: 1px solid var(--br-border);
  padding: 0.6rem;
  border-radius: var(--br-radius-sm);
  font-size: 0.8rem;
  color: var(--br-text-muted);
  margin-top: 0.5rem;
  width: 100%;
}

/* Merchant Grid */
.br-merchant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.25rem;
}

.br-merchant-card {
  background: #ffffff;
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.br-merchant-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--br-shadow-lg);
  border-color: var(--br-primary);
}

.br-merchant-card__logo {
  width: 72px;
  height: 72px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.br-merchant-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--br-radius-sm);
}

.br-merchant-logo--initials {
  width: 64px;
  height: 64px;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  color: var(--br-text);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--br-radius);
}

.br-merchant-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--br-text);
  margin-bottom: 0.25rem;
}

.br-merchant-card__count {
  font-size: 0.8rem;
  color: var(--br-text-muted);
}

.br-merchant-card__cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--br-primary);
  margin-top: 0.5rem;
}

/* Category Grid */
.br-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.br-cat-card {
  background: #ffffff;
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.br-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--br-shadow);
  border-color: var(--br-primary);
}

.br-cat-card__icon {
  font-size: 1.8rem;
}

.br-cat-card__name {
  font-weight: 700;
  color: var(--br-text);
  display: block;
}

.br-cat-card__count {
  font-size: 0.8rem;
  color: var(--br-text-muted);
  display: block;
}

/* Popular list */
.br-popular-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.br-popular-item {
  background: #ffffff;
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: box-shadow 0.15s ease;
}

.br-popular-item:hover {
  box-shadow: var(--br-shadow);
}

.br-popular-item__merchant {
  font-weight: 800;
  color: var(--br-text);
  font-size: 1.05rem;
  margin-right: 0.75rem;
}

.br-popular-item__title {
  color: var(--br-text-muted);
  font-size: 0.95rem;
}

.br-popular-item__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.br-popular-item__value {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--br-primary);
}

.br-copy-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 0.5rem 1rem;
  border-radius: var(--br-radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.br-copy-btn:hover {
  background: #e2e8f0;
  border-color: var(--br-primary);
}

.br-code-display {
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--br-text);
}

.br-copy-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--br-primary);
}

/* Blog grid */
.br-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.br-blog-card {
  background: #ffffff;
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.br-blog-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.br-blog-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.br-blog-card__title a {
  color: var(--br-text);
}

.br-blog-card__excerpt {
  color: var(--br-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.br-blog-card__link {
  margin-top: auto;
  font-weight: 700;
}

/* Newsletter */
.br-newsletter {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
}

.br-newsletter__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.br-newsletter__title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.br-newsletter__sub {
  color: #e0f2fe;
  margin-bottom: 1.75rem;
}

.br-newsletter__form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.br-newsletter__input {
  flex-grow: 1;
  padding: 0.9rem 1.25rem;
  border-radius: var(--br-radius-full);
  border: none;
  font-size: 1rem;
  outline: none;
}

.br-newsletter__btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: var(--br-radius-full);
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.br-newsletter__btn:hover {
  opacity: 0.9;
}

.br-newsletter__note {
  font-size: 0.8rem;
  color: #bae6fd;
}

/* Breadcrumb */
.br-breadcrumb {
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--br-text-muted);
}

.br-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}

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

.br-breadcrumb a:hover {
  color: var(--br-primary);
}

.br-breadcrumb-sep {
  color: #cbd5e1;
}

/* Merchant Page Specifics */
.br-merchant-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--br-border);
  padding: 2.5rem 0;
}

.br-merchant-hero__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.br-merchant-hero__logo {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.br-merchant-hero__name {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.br-merchant-hero__cat {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--br-primary);
  margin-bottom: 0.6rem;
}

.br-rating {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.br-rating__val {
  color: var(--br-text-muted);
  font-size: 0.85rem;
  margin-left: 0.4rem;
  font-weight: 600;
}

.br-merchant-hero__stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--br-text-muted);
}

.br-best-offer-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #86efac;
  border-radius: var(--br-radius);
  padding: 2rem;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.br-best-offer__value {
  font-size: 2.5rem;
  font-weight: 900;
  color: #15803d;
  margin-bottom: 0.5rem;
}

.br-best-offer__title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.br-best-offer__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #166534;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.br-best-offer__checked {
  font-size: 0.8rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.br-show-code-btn--hero, .br-get-deal-btn--hero {
  max-width: 380px;
  margin: 0 auto;
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

/* Verification Box */
.br-verify-box {
  background: #ffffff;
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius);
  padding: 2.5rem;
}

.br-verify-box__title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.75rem;
  text-align: center;
}

.br-verify-box__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.br-verify-step {
  display: flex;
  gap: 1rem;
}

.br-verify-step__num {
  width: 36px;
  height: 36px;
  background: var(--br-primary-light);
  color: var(--br-primary);
  border-radius: var(--br-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.br-verify-step strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.br-verify-step p {
  color: var(--br-text-muted);
  font-size: 0.9rem;
}

/* How to list */
.br-how-to-list {
  padding-left: 1.5rem;
  color: var(--br-text);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1rem;
}

/* FAQs */
.br-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.br-faq-item {
  background: #ffffff;
  border: 1px solid var(--br-border);
  border-radius: var(--br-radius);
  overflow: hidden;
}

.br-faq-q {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--br-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.br-faq-q::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--br-primary);
  font-weight: 400;
}

.br-faq-q[aria-expanded="true"]::after {
  content: "−";
}

.br-faq-a {
  padding: 0 1.5rem 1.25rem;
  color: var(--br-text-muted);
  font-size: 0.95rem;
}

/* Affiliate note */
.br-affiliate-note {
  padding: 1.5rem 0;
  color: var(--br-text-muted);
  border-top: 1px solid var(--br-border);
}

/* Footer */
.br-site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  margin-top: 4rem;
}

.br-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.br-footer__brand .br-logo__name {
  color: #ffffff;
}

.br-footer__about {
  margin: 1rem 0;
  font-size: 0.9rem;
}

.br-footer__disclosure {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
}

.br-footer__disclosure a {
  color: #94a3b8;
  text-decoration: underline;
}

.br-footer__heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.br-footer__links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.br-footer__links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.br-footer__links a:hover {
  color: #ffffff;
}

.br-footer__bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Modal Popup for Code Reveal */
.br-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.br-modal__box {
  background: #ffffff;
  border-radius: var(--br-radius-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: brModalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes brModalPop {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.br-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #94a3b8;
  cursor: pointer;
}

.br-modal__code-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 2px dashed #0284c7;
  border-radius: var(--br-radius);
  padding: 0.5rem;
  margin: 1.5rem 0;
}

.br-modal__code {
  flex-grow: 1;
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.05em;
}

.br-modal__copy-btn {
  background: var(--br-primary);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--br-radius-sm);
  font-weight: 700;
  cursor: pointer;
}

/* Toast */
.br-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10b981;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--br-radius);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 150;
  animation: brSlideIn 0.25s ease;
}

@keyframes brSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
  .br-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .br-nav { display: none; }
  .br-nav__toggle { display: block; }
  .br-mobile-nav[hidden] { display: none; }
  .br-mobile-nav {
    display: block;
    background: #ffffff;
    border-bottom: 1px solid var(--br-border);
    padding: 1rem 1.5rem;
  }
  .br-mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .br-merchant-hero__inner {
    flex-direction: column;
    text-align: center;
  }
  .br-rating { justify-content: center; }
  .br-merchant-hero__stats { justify-content: center; }
  .br-popular-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .br-popular-item__right {
    width: 100%;
    justify-content: space-between;
  }
  .br-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
