@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #f3f6ed;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --panel-soft: rgba(248, 251, 243, 0.78);
  --text: #071611;
  --muted: #64705f;
  --line: rgba(7, 22, 17, 0.1);
  --shadow: 0 20px 48px rgba(7, 22, 17, 0.1);
  --shadow-soft: 0 10px 24px rgba(7, 22, 17, 0.07);
  --radar-dark: #06130f;
  --radar-ink: #0b1f19;
  --radar-green: #4cc51f;
  --radar-green-deep: #197a31;
  --radar-gold: #f4c51d;
  --radar-gold-deep: #b88705;
  --radar-alert: #d93d32;
  --paraguay-red: var(--radar-alert);
  --paraguay-blue: var(--radar-green-deep);
  --paraguay-blue-deep: var(--radar-dark);
  --brand: var(--radar-green-deep);
  --brand-deep: var(--radar-dark);
  --gold: var(--radar-gold);
  --green: var(--radar-green-deep);
  --red: var(--radar-alert);
  --teal: #0f766e;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "DM Sans", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(0, 56, 168, 0.11), transparent 28%),
    radial-gradient(circle at top right, rgba(213, 43, 30, 0.08), transparent 24%),
    linear-gradient(180deg, #fbfbfd 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.page-frame {
  width: min(1440px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.home-frame {
  max-width: 1540px;
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.home-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 24px;
}

.home-main {
  min-width: 0;
}

.mobile-home-shell {
  display: none;
}

.home-main .section:first-child,
.home-section-first {
  margin-top: 0;
}

.shell-card,
.hero-card,
.panel,
.stat-card,
.product-card,
.focus-card,
.timeline-item,
.rank-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.shell-card {
  padding: 26px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.home-shell-card,
.home-menu-card {
  margin-top: 0;
  padding: 22px;
}

.brand-row,
.hero-head,
.section-head,
.timeline-head,
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.brand-copy,
.hero-copy,
.section-copy,
.muted-copy,
.timeline-item p,
.card-description,
.card-metrics,
.card-details,
.table-note,
.empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.brand-copy,
.hero-copy {
  max-width: 760px;
}

.home-brand-row {
  align-items: flex-start;
}

.home-meta-group {
  width: 100%;
  justify-content: flex-start;
}

.home-meta-group .meta-chip {
  justify-content: flex-start;
}

.site-tabs,
.page-nav,
.meta-group,
.tag-row,
.focus-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-tabs {
  margin-top: 22px;
}

.page-nav {
  margin-top: 18px;
  align-items: flex-start;
}

.home-site-tabs {
  margin-top: 18px;
}

.home-site-tabs .site-tab {
  width: 100%;
  justify-content: flex-start;
}

.home-page-nav {
  display: grid;
  gap: 10px;
}

.home-page-nav .nav-link,
.home-page-nav .nav-summary,
.home-page-nav .shell-search,
.home-page-nav .shell-search-input,
.home-page-nav .shell-search-button {
  width: 100%;
}

.home-page-nav .nav-link,
.home-page-nav .nav-summary {
  justify-content: space-between;
}

.home-page-nav .shell-search {
  margin-left: 0;
  max-width: none;
}

.home-page-nav .nav-dropdown-menu {
  position: static;
  min-width: 100%;
  margin-top: 10px;
}

.site-tab,
.nav-link,
.meta-chip,
.tag,
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  min-height: 42px;
  padding: 0 16px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-tab:hover,
.nav-link:hover,
.action-link:hover {
  transform: translateY(-1px);
  border-color: rgba(6, 119, 255, 0.22);
}

.site-tab.active,
.nav-link.active {
  background: linear-gradient(180deg, rgba(6, 119, 255, 0.18), rgba(11, 75, 196, 0.08));
  border-color: rgba(6, 119, 255, 0.28);
  color: var(--brand-deep);
}

.nav-dropdown {
  position: relative;
}

.nav-summary {
  list-style: none;
  cursor: pointer;
  gap: 10px;
}

.nav-summary::-webkit-details-marker {
  display: none;
}

.nav-summary-note {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-deep);
  font-size: 0.78rem;
}

.nav-dropdown[open] .nav-summary {
  background: linear-gradient(180deg, rgba(6, 119, 255, 0.18), rgba(11, 75, 196, 0.08));
  border-color: rgba(6, 119, 255, 0.28);
  color: var(--brand-deep);
}

.nav-dropdown-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  left: 0;
  min-width: 320px;
  max-height: 360px;
  overflow: auto;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.1);
}

.nav-dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  background: rgba(6, 119, 255, 0.08);
  color: var(--brand-deep);
}

.shell-search {
  margin-left: auto;
  flex: 1 1 320px;
  max-width: 440px;
}

.shell-search-form {
  width: 100%;
}

.shell-search-input,
.shell-search-button {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font: inherit;
}

.shell-search {
  display: flex;
  gap: 10px;
}

.shell-search-input {
  flex: 1 1 auto;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.shell-search-input:focus {
  outline: none;
  border-color: rgba(6, 119, 255, 0.3);
}

.shell-search-button {
  padding: 0 18px;
  background: linear-gradient(180deg, #1f2937, #111827);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.public-auth {
  position: relative;
  flex: 0 0 auto;
}

.auth-popover[hidden],
.auth-form[hidden],
.auth-logged-out[hidden],
.auth-logged-in[hidden],
[data-auth-required][hidden],
[data-auth-prompt][hidden] {
  display: none !important;
}

.auth-status-chip {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px 0 7px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #fff;
  color: var(--brand-deep);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.auth-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--brand));
  font-size: 0.78rem;
  font-weight: 900;
}

.auth-popover {
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  right: 0;
  width: min(340px, calc(100vw - 24px));
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.14);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.auth-tab {
  min-height: 34px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
}

.auth-tab.active {
  color: var(--brand-deep);
  border-color: rgba(0, 56, 168, 0.28);
  background: rgba(0, 56, 168, 0.08);
}

.auth-form,
.auth-logged-in {
  display: grid;
  gap: 9px;
}

.auth-field {
  min-height: 40px;
  border-radius: 999px;
}

.auth-logged-in span {
  color: var(--muted);
  font-size: 0.86rem;
}

.auth-logout {
  width: fit-content;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(213, 43, 30, 0.22);
  border-radius: 999px;
  background: rgba(213, 43, 30, 0.08);
  color: var(--red);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.auth-message {
  min-height: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.auth-message.ok {
  color: var(--green);
}

.auth-message.error {
  color: var(--red);
}

.meta-chip {
  color: var(--muted);
  font-weight: 600;
}

.meta-chip.warning {
  color: var(--gold);
}

.page-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  border: 1px solid var(--line);
}

.page-status.ok {
  color: var(--green);
}

.page-status.error {
  color: var(--red);
}

.page-status.warning {
  color: var(--gold);
}

.hero-card {
  margin-top: 24px;
  border-radius: 28px;
  padding: 28px;
}

.home-menu-head {
  margin-bottom: 14px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-deep);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-grid,
.stats-grid,
.product-grid,
.focus-grid,
.panel-grid,
.rank-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  margin-top: 24px;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 24px;
}

.stats-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.panel-grid,
.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.focus-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rank-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card,
.panel,
.focus-card,
.rank-card {
  border-radius: var(--radius-xl);
  padding: 20px;
}

.stats-grid-compact .stat-card {
  padding: 16px;
  border-radius: 20px;
}

.stats-grid-compact .stat-value {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

.stat-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.stat-value {
  margin-top: 8px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.panel-title,
.focus-card h3,
.product-card h3,
.timeline-item h3,
.rank-card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.panel-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
}

.section {
  margin-top: 26px;
}

.section-head {
  margin-bottom: 18px;
}

.public-banner-slot {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.public-banner-slot[hidden],
.public-banner-slot.is-empty {
  display: none;
}

.public-banner-slot-wide {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.public-banner-slot-compact {
  grid-template-columns: 1fr;
}

.home-banner-slot {
  margin-top: 0;
  margin-bottom: 22px;
}

.public-banner-link {
  color: inherit;
  text-decoration: none;
}

.public-banner-card {
  min-height: 124px;
  display: grid;
  grid-template-columns: minmax(108px, 180px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.7)),
    var(--panel-strong);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.public-banner-link:hover .public-banner-card {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: var(--shadow);
}

.public-banner-media {
  min-height: 124px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 142, 155, 0.12));
}

.public-banner-image {
  width: 100%;
  height: 100%;
  min-height: 124px;
  display: block;
  object-fit: cover;
}

.public-banner-fallback {
  height: 100%;
  min-height: 124px;
  display: grid;
  place-items: center;
  color: var(--brand-deep);
  font-size: 2.1rem;
  font-weight: 900;
}

.public-banner-body {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px;
}

.public-banner-label {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(15, 142, 155, 0.1);
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.public-banner-body strong {
  overflow-wrap: anywhere;
  font-size: 1.08rem;
  line-height: 1.22;
}

.public-banner-body span:last-child {
  overflow-wrap: anywhere;
  color: var(--muted);
  line-height: 1.45;
}

.public-banner-slot-compact .public-banner-card {
  grid-template-columns: 1fr;
}

.public-banner-slot-compact .public-banner-media,
.public-banner-slot-compact .public-banner-image,
.public-banner-slot-compact .public-banner-fallback {
  min-height: 118px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  letter-spacing: -0.04em;
}

.product-card {
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  overflow: hidden;
  background: var(--panel-strong);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.price-main {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: right;
}

.product-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, rgba(249, 250, 251, 0.98), rgba(235, 239, 245, 0.96));
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.product-image,
.product-image-fallback {
  width: 100%;
  height: 100%;
}

.product-image {
  display: block;
  object-fit: contain;
  padding: 18px;
}

.product-media-fallback {
  display: grid;
  place-items: center;
}

.product-image-fallback {
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-deep);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.14), rgba(148, 163, 184, 0.18));
}

.product-card-body {
  min-width: 0;
  display: grid;
  gap: 14px;
  height: 100%;
}

.product-card h3 {
  line-height: 1.25;
}

.product-card h3 a,
.home-deal-title a {
  color: inherit;
  text-decoration: none;
}

.product-card h3 a:hover,
.home-deal-title a:hover {
  color: var(--brand-deep);
}

.product-card-media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-description {
  min-height: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-metrics {
  font-weight: 700;
  color: var(--brand-deep);
}

.product-icon-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.product-icon-chip {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.05;
}

.product-icon-text {
  display: grid;
  gap: 1px;
}

.product-icon-text strong {
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
}

.product-icon::before {
  content: "";
}

.product-icon-price {
  background: var(--red);
}

.product-icon-price::before {
  content: "$";
}

.product-icon-cost {
  background: var(--brand);
}

.product-icon-cost::before {
  content: "mg";
}

.product-icon-total {
  background: var(--brand-deep);
}

.product-icon-total::before {
  content: "T";
}

.product-icon-stock {
  background: var(--green);
}

.product-icon-stock::before {
  content: "OK";
  font-size: 0.54rem;
}

.product-social {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.product-social-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 0;
}

.product-social-compact .social-pill {
  min-height: 28px;
  padding: 0 9px;
  font-size: 0.72rem;
}

.product-social-counts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.reaction-button,
.social-pill,
.product-social-panel summary {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.reaction-button {
  padding: 0 10px;
  cursor: pointer;
}

.reaction-button:hover,
.reaction-button.active {
  color: var(--brand-deep);
  border-color: rgba(0, 56, 168, 0.24);
  background: rgba(0, 56, 168, 0.08);
}

.reaction-button.requires-auth {
  opacity: 0.82;
}

.reaction-button[data-reaction-type="dislike"].active {
  color: var(--red);
  border-color: rgba(213, 43, 30, 0.24);
  background: rgba(213, 43, 30, 0.08);
}

.reaction-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.reaction-icon-like {
  background: var(--brand);
}

.reaction-icon-like::before {
  content: "+";
}

.reaction-icon-dislike {
  background: var(--red);
}

.reaction-icon-dislike::before {
  content: "-";
}

.social-pill {
  padding: 0 10px;
}

.social-pill strong,
.reaction-button strong {
  color: var(--text);
}

.social-pill.rating strong {
  color: var(--brand-deep);
}

.product-social-panel {
  position: relative;
}

.product-social-panel summary {
  width: fit-content;
  padding: 0 13px;
  cursor: pointer;
  color: var(--brand-deep);
  list-style: none;
}

.product-social-panel summary::-webkit-details-marker {
  display: none;
}

.product-social-panel[open] summary {
  color: var(--red);
  border-color: rgba(213, 43, 30, 0.24);
  background: rgba(213, 43, 30, 0.07);
}

.product-social-body {
  display: grid;
  gap: 13px;
  margin-top: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(248, 250, 252, 0.88);
}

.auth-required-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 56, 168, 0.14);
  background: linear-gradient(180deg, rgba(0, 56, 168, 0.08), rgba(213, 43, 30, 0.05));
}

.auth-required-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.interaction-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text);
  font-size: 0.86rem;
}

.interaction-title-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.comparison-block,
.interaction-user-block,
.interaction-form,
.interaction-lists {
  display: grid;
  gap: 10px;
}

.comparison-list {
  display: grid;
  gap: 8px;
}

.comparison-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(150px, 0.8fr) minmax(94px, auto) minmax(118px, auto);
  gap: 6px 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: var(--text);
  text-decoration: none;
}

.comparison-offer.best {
  border-color: rgba(0, 56, 168, 0.22);
  background: linear-gradient(180deg, rgba(0, 56, 168, 0.04), #fff);
}

.comparison-main {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.comparison-store {
  color: var(--brand-deep);
  font-weight: 900;
}

.comparison-flags {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.comparison-supplier,
.comparison-stock,
.comparison-updated,
.comparison-empty,
.interaction-empty,
.interaction-entry span {
  color: var(--muted);
  font-size: 0.82rem;
}

.comparison-offer strong {
  color: var(--red);
  text-align: right;
}

.comparison-stock {
  font-weight: 800;
}

.comparison-stock.available {
  color: var(--green);
}

.comparison-best,
.comparison-discount {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
}

.comparison-best {
  background: rgba(0, 56, 168, 0.08);
  color: var(--brand-deep);
}

.comparison-discount {
  background: rgba(213, 43, 30, 0.08);
  color: var(--red);
}

.comparison-updated {
  text-align: right;
}

.comparison-more {
  display: grid;
  gap: 8px;
}

.comparison-more summary {
  width: fit-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.comparison-more-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.interaction-user-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.interaction-field {
  min-height: 42px;
  border-radius: 14px;
}

.interaction-sort {
  min-height: 32px;
  width: auto;
  max-width: 160px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.interaction-textarea {
  min-height: 88px;
  padding-top: 12px;
  resize: vertical;
}

.interaction-submit {
  width: fit-content;
  min-height: 38px;
  padding: 0 15px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--brand-deep));
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.interaction-message {
  min-height: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.interaction-message.ok {
  color: var(--green);
}

.interaction-message.error {
  color: var(--red);
}

.interaction-lists {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.interaction-list {
  display: grid;
  gap: 8px;
}

.interaction-entry {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.interaction-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.interaction-entry p {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.comment-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.comment-action {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.comment-action.active {
  color: var(--brand-deep);
  border-color: rgba(0, 56, 168, 0.22);
  background: rgba(0, 56, 168, 0.08);
}

.comment-action[data-comment-reaction-type="dislike"].active {
  color: var(--red);
  border-color: rgba(213, 43, 30, 0.22);
  background: rgba(213, 43, 30, 0.08);
}

.comment-action.requires-auth {
  opacity: 0.82;
}

.comment-reply-form {
  display: grid;
  gap: 8px;
  padding-top: 6px;
}

.comment-reply-form[hidden] {
  display: none;
}

.comment-replies {
  display: grid;
  gap: 8px;
  padding-left: 16px;
  border-left: 3px solid rgba(0, 56, 168, 0.12);
}

.interaction-entry-reply {
  background: rgba(248, 250, 252, 0.86);
}

.card-details {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}

.detail-line {
  color: var(--muted);
}

.card-actions,
.regulatory-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.card-link,
.action-link {
  width: fit-content;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(180deg, #1f2937, #111827);
  color: #fff;
  font-weight: 700;
}

.tag {
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.tag.muted {
  color: var(--muted);
}

.tag.down {
  color: var(--green);
  background: rgba(31, 155, 85, 0.12);
  border-color: rgba(31, 155, 85, 0.18);
}

.tag.up {
  color: var(--red);
  background: rgba(212, 76, 76, 0.12);
  border-color: rgba(212, 76, 76, 0.18);
}

.tag.discount {
  color: #8a5b00;
  background: rgba(214, 156, 16, 0.14);
  border-color: rgba(214, 156, 16, 0.2);
}

.tag.new {
  color: var(--teal);
  background: rgba(15, 159, 176, 0.12);
  border-color: rgba(15, 159, 176, 0.18);
}

.toolbar {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.96);
}

.toolbar-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr) minmax(220px, 0.7fr) minmax(260px, 1fr);
  width: 100%;
}

.field,
.select {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
}

.field:focus,
.select:focus {
  outline: none;
  border-color: rgba(6, 119, 255, 0.3);
}

.panel-list,
.timeline-list,
.history-list,
.category-stack {
  display: grid;
  gap: 14px;
}

.timeline-item {
  border-radius: 22px;
  padding: 18px;
}

.timeline-head {
  margin-bottom: 8px;
}

.timeline-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.focus-card p,
.rank-card p {
  color: var(--muted);
  line-height: 1.6;
}

.focus-links {
  margin-top: 14px;
}

.focus-links a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}

.history-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.05);
}

.history-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.history-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.history-metric {
  padding: 14px;
  border-radius: 18px;
  background: rgba(248, 251, 253, 0.95);
  border: 1px solid rgba(16, 32, 51, 0.06);
}

.history-label {
  color: var(--muted);
  font-size: 0.8rem;
}

.history-value {
  margin-top: 6px;
  font-size: 1.08rem;
  font-weight: 800;
}

.history-table-shell {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.06);
}

.table-wrap {
  overflow: auto;
}

.history-table {
  width: max(1820px, 100%);
  border-collapse: separate;
  border-spacing: 0;
}

.history-sort-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.history-sort-button.active {
  color: var(--brand-deep);
}

.history-sort-indicator {
  font-size: 0.92rem;
  line-height: 1;
}

.history-table th,
.history-table td {
  padding: 16px 14px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid rgba(16, 32, 51, 0.07);
}

.history-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(246, 249, 252, 0.98);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.history-table th:first-child,
.history-table td:first-child {
  position: sticky;
  left: 0;
}

.history-table thead th:first-child {
  z-index: 4;
  background: rgba(246, 249, 252, 1);
}

.history-table tbody td:first-child {
  z-index: 1;
  background: rgba(255, 255, 255, 0.98);
}

.history-table tbody tr:hover td {
  background: rgba(37, 99, 235, 0.035);
}

.history-table tbody tr:hover td:first-child {
  background: rgba(248, 250, 255, 0.98);
}

.history-table tbody tr:last-child td {
  border-bottom: none;
}

.history-product-cell {
  min-width: 320px;
}

.history-category-cell {
  min-width: 190px;
}

.history-history-cell {
  min-width: 360px;
}

.history-row-title,
.history-value-stack,
.history-trail,
.history-trail-list {
  display: grid;
  gap: 8px;
}

.history-row-title {
  min-width: 0;
}

.history-row-title a {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.history-row-title a:hover {
  color: var(--brand-deep);
}

.history-row-copy {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.history-value-main {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.history-value-sub {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.stock-pill,
.history-event-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.stock-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.stock-pill.in {
  color: var(--green);
  background: rgba(31, 143, 89, 0.12);
}

.stock-pill.out {
  color: var(--red);
  background: rgba(207, 74, 74, 0.12);
}

.history-event-tag.down {
  color: var(--red);
  background: rgba(207, 74, 74, 0.12);
}

.history-event-tag.up {
  color: var(--gold);
  background: rgba(183, 121, 31, 0.14);
}

.history-event-tag.new {
  color: var(--green);
  background: rgba(31, 143, 89, 0.12);
}

.history-event-tag.muted {
  color: var(--muted);
  background: rgba(102, 112, 133, 0.12);
}

.history-trail-spark {
  display: flex;
  align-items: center;
  min-height: 46px;
}

.history-trail-spark.empty {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(248, 251, 253, 0.95);
  border: 1px dashed rgba(16, 32, 51, 0.1);
}

.history-trail-spark .sparkline {
  width: min(260px, 100%);
  height: 42px;
  margin-top: 0;
}

.history-trail-event {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(248, 251, 253, 0.95);
  border: 1px solid rgba(16, 32, 51, 0.06);
}

.history-trail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.history-trail-date {
  color: var(--muted);
  font-size: 0.78rem;
}

.history-trail-price {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.event-name-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.event-name-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.05);
}

.event-name-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.event-name-head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.event-name-wrap {
  overflow: auto;
}

.event-name-table {
  width: 100%;
  border-collapse: collapse;
}

.event-name-table th,
.event-name-table td {
  padding: 12px 0;
  text-align: left;
  border-bottom: 1px solid rgba(16, 32, 51, 0.07);
}

.event-name-table thead th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-name-table tbody tr:last-child td {
  border-bottom: none;
}

.event-name-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.event-name-link:hover {
  color: var(--brand-deep);
}

.event-name-empty {
  color: var(--muted);
  font-size: 0.92rem;
}

.sparkline {
  width: 100%;
  height: 64px;
  margin-top: 18px;
}

.sparkline polyline {
  fill: none;
  stroke: var(--brand);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.empty-state {
  padding: 28px;
  border-radius: 26px;
  border: 1px dashed rgba(16, 32, 51, 0.16);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 8px;
}

.rank-card {
  display: grid;
  gap: 14px;
}

.rank-list {
  display: grid;
  gap: 12px;
}

.rank-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 32, 51, 0.07);
}

.rank-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(6, 119, 255, 0.08);
  color: var(--brand-deep);
  font-weight: 800;
}

.rank-main h4 {
  margin: 0;
  font-size: 1rem;
}

.rank-main p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.rank-metric {
  text-align: right;
  font-weight: 800;
}

.subtle-card,
.source-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 32, 51, 0.08);
}

.source-card {
  display: grid;
  gap: 12px;
}

.source-copy {
  color: var(--muted);
  line-height: 1.6;
}

.source-copy strong,
.source-copy a {
  color: var(--brand-deep);
}

.source-links,
.regulatory-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.regulatory-card .card-link,
.regulatory-card .action-link {
  margin-top: 0;
}

.regulatory-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.operations-grid,
.mobile-operations-list {
  display: grid;
  gap: 12px;
}

.home-operations-grid {
  margin-top: 4px;
}

.operation-card {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.operation-card:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.18);
}

.operation-card.is-active {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.1), rgba(255, 255, 255, 0.9));
  border-color: rgba(37, 99, 235, 0.2);
}

.operation-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.operation-copy-wrap {
  min-width: 0;
}

.operation-title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.operation-copy {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.9rem;
}

.operation-count,
.operation-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.operation-open {
  width: fit-content;
  color: var(--brand-deep);
}

.footer-note {
  margin-top: 26px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.mobile-home-header,
.mobile-feed-panel,
.mobile-operations-panel {
  display: grid;
  gap: 14px;
}

.mobile-home-top {
  display: grid;
  gap: 14px;
}

.mobile-home-title,
.mobile-feed-title {
  margin: 0;
  letter-spacing: -0.04em;
}

.mobile-home-title {
  font-size: clamp(2rem, 8vw, 2.8rem);
}

.mobile-home-copy,
.mobile-feed-copy,
.mobile-feed-subcopy,
.mobile-feed-date,
.mobile-feed-event-meta,
.mobile-feed-category {
  margin: 0;
  line-height: 1.55;
}

.mobile-home-meta,
.mobile-home-tabs,
.mobile-feed-meta,
.mobile-feed-actions,
.mobile-feed-event-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mobile-home-tabs {
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.mobile-home-tabs::-webkit-scrollbar {
  display: none;
}

.mobile-home-tab {
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  min-height: 40px;
  padding: 0 15px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.mobile-home-search-wrap {
  position: relative;
}

.mobile-feed-head,
.mobile-feed-price-row,
.mobile-feed-event-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mobile-feed-list {
  display: grid;
  gap: 12px;
}

.mobile-feed-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.mobile-feed-card-event {
  grid-template-columns: 1fr;
}

.mobile-feed-thumb {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 18px;
}

.mobile-feed-thumb img,
.mobile-feed-thumb-fallback {
  width: 100%;
  height: 100%;
}

.mobile-feed-thumb img {
  display: block;
  object-fit: cover;
}

.mobile-feed-thumb-fallback {
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.22rem;
}

.mobile-feed-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.mobile-feed-category {
  font-size: 0.78rem;
}

.mobile-feed-card h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.mobile-feed-subcopy {
  font-size: 0.84rem;
}

.mobile-feed-price {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.mobile-feed-metrics {
  margin-top: 3px;
  font-size: 0.8rem;
  font-weight: 700;
}

.mobile-feed-actions {
  justify-content: space-between;
}

.mobile-feed-date,
.mobile-feed-event-meta {
  font-size: 0.78rem;
}

.mobile-feed-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .home-layout {
    grid-template-columns: 1fr;
  }

  .home-sidebar {
    position: static;
  }

  .hero-grid,
  .panel-grid,
  .product-grid,
  .focus-grid,
  .rank-grid,
  .event-name-grid,
  .history-metrics,
  .toolbar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-table th:first-child,
  .history-table td:first-child {
    position: static;
  }
}

@media (max-width: 840px) {
  body.home-page {
    background:
      radial-gradient(circle at top left, rgba(6, 119, 255, 0.2), transparent 32%),
      linear-gradient(180deg, #101317 0%, #181c21 100%);
  }

  .page-frame {
    width: min(100%, calc(100% - 16px));
    padding-top: 16px;
  }

  .home-layout {
    display: none;
  }

  .mobile-home-shell {
    display: grid;
    gap: 16px;
    padding: 16px;
    border-radius: 30px;
    background:
      linear-gradient(180deg, rgba(22, 24, 29, 0.94), rgba(13, 16, 20, 0.98)),
      radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 32%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
    color: #f3f7fb;
  }

  .shell-card,
  .hero-card,
  .stat-card,
  .panel,
  .focus-card,
  .rank-card {
    padding: 18px;
    border-radius: 24px;
  }

  .brand-title {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .mobile-home-badge {
    margin-bottom: 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #f3f7fb;
  }

  .mobile-home-copy,
  .mobile-feed-copy,
  .mobile-feed-subcopy,
  .mobile-feed-date,
  .mobile-feed-event-meta,
  .mobile-feed-category {
    color: rgba(236, 241, 248, 0.7);
  }

  .mobile-home-meta .meta-chip,
  .mobile-home-tab,
  .mobile-feed-link {
    min-height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    color: #f3f7fb;
  }

  .mobile-home-meta .meta-chip {
    justify-content: flex-start;
    padding: 0 12px;
    font-weight: 600;
  }

  .mobile-home-tab.active {
    background: linear-gradient(180deg, rgba(6, 119, 255, 0.32), rgba(11, 75, 196, 0.18));
    border-color: rgba(6, 119, 255, 0.45);
    color: #fff;
  }

  .mobile-home-search {
    min-height: 46px;
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: #f3f7fb;
    padding: 0 16px;
  }

  .mobile-home-search::placeholder {
    color: rgba(236, 241, 248, 0.44);
  }

  .mobile-home-search:focus {
    outline: none;
    border-color: rgba(6, 119, 255, 0.45);
  }

  .mobile-feed-link {
    padding: 0 14px;
  }

  .mobile-feed-card {
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  .mobile-feed-thumb {
    background: rgba(255, 255, 255, 0.05);
  }

  .mobile-feed-thumb-fallback {
    background: linear-gradient(180deg, rgba(6, 119, 255, 0.72), rgba(11, 75, 196, 0.58));
    color: #fff;
  }

  .mobile-feed-card h4 {
    color: #fff;
  }

  .mobile-feed-metrics {
    color: #8ec2ff;
  }

  .mobile-feed-open {
    background: #f7fbff;
    color: #111827;
  }

  .mobile-feed-card .tag {
    min-height: 26px;
    padding: 0 10px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(243, 247, 251, 0.78);
  }

  .mobile-feed-card .tag.down {
    color: #79e0a7;
    background: rgba(31, 155, 85, 0.18);
    border-color: rgba(31, 155, 85, 0.24);
  }

  .mobile-feed-card .tag.up {
    color: #ff9d9d;
    background: rgba(212, 76, 76, 0.18);
    border-color: rgba(212, 76, 76, 0.24);
  }

  .mobile-feed-card .tag.discount {
    color: #ffd180;
    background: rgba(214, 156, 16, 0.18);
    border-color: rgba(214, 156, 16, 0.24);
  }

  .mobile-feed-card .tag.new {
    color: #8de6ef;
    background: rgba(15, 159, 176, 0.18);
    border-color: rgba(15, 159, 176, 0.24);
  }

  .mobile-feed-panel .empty-state {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
  }

  .mobile-feed-panel .empty-state p {
    color: rgba(236, 241, 248, 0.68);
  }

  .mobile-operations-list .operation-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .mobile-operations-list .operation-copy {
    color: rgba(236, 241, 248, 0.68);
  }

  .mobile-operations-list .operation-count,
  .mobile-operations-list .operation-open {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.08);
    color: #f3f7fb;
  }

  .source-card,
  .subtle-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .source-copy {
    color: rgba(236, 241, 248, 0.72);
  }

  .source-copy strong,
  .source-copy a {
    color: #8ec2ff;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 100%;
    margin-top: 10px;
  }

  .shell-search {
    margin-left: 0;
    max-width: none;
    width: 100%;
  }

  .home-shell-card,
  .home-menu-card {
    padding: 18px;
  }

  .home-brand-row {
    gap: 12px;
  }

  .stats-grid-compact {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .panel-grid,
  .product-grid,
  .focus-grid,
  .rank-grid,
  .event-name-grid,
  .history-metrics,
  .toolbar-grid {
    grid-template-columns: 1fr;
  }

  .product-media {
    display: none;
  }

  .public-banner-slot {
    margin-top: 14px;
  }

  .public-banner-card {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 20px;
  }

  .public-banner-media,
  .public-banner-image,
  .public-banner-fallback {
    min-height: 132px;
  }

  .regulatory-details {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: auto 1fr;
  }

  .rank-metric {
    grid-column: 2;
    text-align: left;
  }

  .footer-note {
    display: none;
  }
}

@media (max-width: 560px) {
  .stats-grid-compact {
    grid-template-columns: 1fr;
  }

  .page-frame {
    width: min(100%, calc(100% - 12px));
    padding-top: 10px;
    padding-bottom: 28px;
  }

  .mobile-home-shell {
    padding: 14px;
    border-radius: 26px;
  }

  .mobile-home-title {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
  }

  .mobile-home-tabs {
    gap: 8px;
  }

  .mobile-home-tab {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.92rem;
  }

  .mobile-feed-head {
    align-items: center;
  }

  .mobile-feed-copy {
    max-width: 24ch;
  }

  .mobile-feed-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 11px;
    border-radius: 20px;
  }

  .mobile-feed-card-event {
    grid-template-columns: 1fr;
  }

  .mobile-feed-thumb {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .mobile-feed-price {
    font-size: 1.04rem;
  }

  .mobile-feed-subcopy {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .mobile-feed-open {
    min-height: 32px;
    padding: 0 12px;
  }

  .source-links,
  .regulatory-actions {
    align-items: stretch;
  }

  .home-page-nav {
    gap: 8px;
  }

  .home-page-nav .nav-link,
  .home-page-nav .nav-summary,
  .home-page-nav .shell-search-input,
  .home-page-nav .shell-search-button {
    min-height: 46px;
  }
}

body.home-page,
body.radar-page {
  background: #f7f7f8;
}

.home-feed-frame {
  width: min(1380px, calc(100% - 16px));
  padding-top: 0;
}

.home-feed-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "logo tools"
    "nav nav";
  gap: 10px 18px;
  align-items: center;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(0, 56, 168, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-logo {
  grid-area: logo;
  min-width: 174px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 900;
}

.home-logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--paraguay-red) 0 50%, var(--paraguay-blue) 50% 100%);
  color: #fff;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(0, 56, 168, 0.16);
}

.home-logo-text {
  font-size: 1.34rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.home-feed-header .home-page-nav {
  grid-area: nav;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  flex-wrap: nowrap;
  overflow-x: visible;
  overflow-y: visible;
  padding-bottom: 0;
}

.home-feed-header .nav-link,
.home-feed-header .nav-summary {
  width: auto;
  min-height: 40px;
  padding: 0 10px;
  border-color: transparent;
  background: transparent;
  color: #111827;
  white-space: nowrap;
}

.home-feed-header .nav-link:hover,
.home-feed-header .nav-summary:hover {
  border-color: rgba(0, 56, 168, 0.18);
  color: var(--brand);
  transform: none;
}

.home-feed-header .nav-link.active,
.home-feed-header .nav-dropdown[open] .nav-summary {
  background: transparent;
  border-color: transparent;
  color: var(--red);
  box-shadow: inset 0 -3px 0 var(--brand);
}

.home-feed-header .nav-summary-note {
  display: none;
}

.home-feed-header .shell-search {
  min-width: 220px;
  max-width: 320px;
  flex: 0 1 300px;
  margin-left: auto;
  gap: 0;
}

.home-header-tools {
  grid-area: tools;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.home-header-search {
  min-width: 220px;
  max-width: 320px;
  flex: 0 1 320px;
}

.home-header-search .shell-search {
  width: 100%;
  margin-left: 0;
}

.home-feed-header .shell-search-input {
  width: 100%;
  min-height: 48px;
  border-radius: 999px 0 0 999px;
  border-color: rgba(0, 56, 168, 0.14);
  background: #fff;
}

.home-feed-header .shell-search-button {
  width: auto;
  min-height: 48px;
  border-radius: 0 999px 999px 0;
  border-left: 0;
  background: #fff;
  color: var(--red);
}

.home-header-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  flex: 0 1 auto;
}

.home-header-meta .meta-chip {
  max-width: 300px;
  min-height: 36px;
  padding: 0 12px;
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-site-tabs {
  margin: 14px 0 0;
}

.home-site-tabs .site-tab {
  width: auto;
  min-height: 38px;
  justify-content: center;
  border-color: rgba(0, 56, 168, 0.14);
  background: #fff;
}

.home-site-tabs .site-tab.active {
  background: rgba(0, 56, 168, 0.1);
  border-color: rgba(0, 56, 168, 0.28);
  color: var(--brand-deep);
}

.home-status {
  width: fit-content;
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
}

.page-intro-card {
  margin-top: 18px;
  padding: 22px 24px;
  border-color: rgba(0, 56, 168, 0.12);
}

.radar-page .brand-title {
  max-width: none;
  color: var(--brand-deep);
}

.radar-page .eyebrow,
.home-category-kicker {
  color: var(--red);
}

.home-ad-panel {
  min-height: 204px;
  margin-top: 18px;
  border-radius: 10px;
  background: #e5e7eb;
  border: 1px solid rgba(17, 24, 39, 0.04);
}

.home-feed-main {
  display: grid;
  gap: 24px;
  margin-top: 22px;
}

.home-feed-section {
  display: grid;
  gap: 14px;
}

.home-feed-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 10px;
}

.home-feed-title {
  margin: 0;
  font-size: 1.72rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.home-feed-copy {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.home-feed-action,
.home-deal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.home-feed-action:hover,
.home-deal-button:hover {
  color: var(--red);
  border-color: rgba(213, 43, 30, 0.24);
}

.home-category-feed {
  display: grid;
  gap: 14px;
}

.home-category-card {
  display: grid;
  gap: 10px;
}

.home-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 10px;
}

.home-category-head h2 {
  margin: 2px 0 0;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.home-category-kicker,
.home-category-count,
.home-deal-category,
.home-shortcut-count {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.home-category-count {
  color: var(--brand-deep);
  background: rgba(0, 56, 168, 0.08);
}

.home-category-products,
.home-feed-list {
  display: grid;
  gap: 10px;
}

.home-deal-card {
  min-height: 158px;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #fff;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.04);
}

.home-deal-card-compact {
  min-height: 134px;
  grid-template-columns: 118px minmax(0, 1fr);
}

.home-deal-media-link {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.home-deal-card .product-media {
  width: 118px;
  height: 108px;
  aspect-ratio: auto;
  margin: 0 auto;
  border-radius: 10px;
  background: #f8fafc;
}

.home-deal-card .product-image {
  padding: 8px;
}

.home-deal-body {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.home-deal-meta,
.home-deal-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.home-deal-bottom {
  justify-content: space-between;
}

.home-deal-title {
  margin: 0;
  color: #111827;
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.home-deal-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-deal-price {
  color: var(--red);
  font-size: 1.28rem;
  font-weight: 900;
}

.home-deal-metrics {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.home-deal-card .tag {
  min-height: 26px;
}

.home-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-shortcut-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.home-shortcut-card strong {
  font-size: 1.04rem;
}

.home-shortcut-card span:last-child {
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .home-feed-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "tools"
      "nav";
    position: static;
  }

  .home-logo,
  .home-header-tools,
  .home-header-meta {
    max-width: none;
  }

  .home-header-tools {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .home-feed-header .home-page-nav {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .home-feed-header .shell-search {
    flex-basis: 100%;
    max-width: none;
    margin-left: 0;
  }

  .home-header-search {
    flex-basis: 100%;
    max-width: none;
  }

  .home-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  body.home-page {
    background: #f7f7f8;
  }

  .home-feed-frame {
    width: min(100%, calc(100% - 10px));
    padding-top: 0;
  }

  .home-feed-header {
    gap: 12px;
    padding: 12px 4px;
  }

  .home-feed-header .nav-link,
  .home-feed-header .nav-summary {
    min-height: 36px;
    padding: 0 8px;
    font-size: 0.92rem;
  }

  .home-header-meta {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .home-ad-panel {
    min-height: 132px;
    border-radius: 8px;
  }

  .home-feed-title {
    font-size: 1.36rem;
  }

  .home-deal-card,
  .home-deal-card-compact {
    min-height: 126px;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
  }

  .home-deal-card .product-media {
    display: block;
    width: 82px;
    height: 82px;
  }

  .home-deal-title {
    font-size: 0.98rem;
  }

  .home-deal-description {
    display: none;
  }

  .home-deal-bottom {
    align-items: flex-end;
  }

  .home-deal-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.88rem;
  }
}

@media (max-width: 560px) {
  .home-logo {
    min-width: 0;
  }

  .home-logo-text {
    font-size: 1.1rem;
  }

  .home-feed-header .home-page-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .home-feed-header .home-page-nav::-webkit-scrollbar {
    display: none;
  }

  .home-feed-header .shell-search {
    min-width: 100%;
  }

  .home-feed-header .shell-search-input,
  .home-feed-header .shell-search-button {
    min-height: 44px;
  }

  .home-feed-section-head,
  .home-category-head {
    padding: 0 4px;
  }

  .home-shortcut-grid {
    grid-template-columns: 1fr;
  }

  .home-deal-card,
  .home-deal-card-compact {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .home-deal-card .product-media {
    width: 70px;
    height: 70px;
  }

  .home-deal-meta .tag {
    display: none;
  }

  .home-deal-price {
    font-size: 1.08rem;
  }
}

/* Pelando-inspired feed polish with Radar Paradinhas theme. */
body.home-page,
body.radar-page {
  background:
    linear-gradient(180deg, rgba(0, 56, 168, 0.035), transparent 260px),
    #f5f6f8;
}

.home-feed-frame {
  width: min(1320px, calc(100% - 20px));
  padding-bottom: 48px;
}

.home-feed-header {
  min-height: 78px;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "logo tools"
    "nav nav";
  gap: 8px 18px;
  padding: 10px 0 8px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.home-logo {
  min-width: 190px;
  gap: 9px;
  color: var(--brand-deep);
}

.home-logo-mark {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background:
    linear-gradient(180deg, rgba(213, 43, 30, 0.08), rgba(0, 56, 168, 0.08)),
    #fff;
  color: var(--red);
  box-shadow: 0 8px 16px rgba(213, 43, 30, 0.12);
}

.home-logo-text {
  font-size: 1.32rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--red), var(--brand) 62%, var(--brand-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-header-tools {
  gap: 10px;
}

.home-header-search {
  max-width: 520px;
  flex: 1 1 420px;
}

.shell-search,
.home-header-search .shell-search,
.home-feed-header .shell-search {
  gap: 0;
  max-width: none;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.11);
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.shell-search .shell-search-input,
.home-feed-header .shell-search-input {
  min-height: 42px;
  border: 0;
  border-radius: 999px 0 0 999px;
  background: transparent;
  font-size: 0.95rem;
}

.shell-search .shell-search-input:focus {
  border-color: transparent;
  box-shadow: inset 0 0 0 2px rgba(0, 56, 168, 0.18);
}

.shell-search .shell-search-button,
.home-feed-header .shell-search-button {
  position: relative;
  width: 50px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: #fff;
  color: transparent;
  font-size: 0;
}

.shell-search .shell-search-button::before,
.home-feed-header .shell-search-button::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 12px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--brand-deep);
  border-radius: 50%;
}

.shell-search .shell-search-button::after,
.home-feed-header .shell-search-button::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 26px;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: rotate(45deg);
  transform-origin: left center;
}

.home-header-meta {
  flex: 0 1 auto;
}

.home-header-meta .meta-chip {
  min-height: 34px;
  border-color: rgba(17, 24, 39, 0.08);
  background: #fff;
  color: var(--muted);
  font-size: 0.86rem;
}

.home-header-meta .meta-chip:first-child {
  color: var(--brand-deep);
  font-weight: 800;
}

.home-feed-header .home-page-nav {
  gap: 22px;
  min-height: 42px;
  padding: 2px 0 0;
  border-top: 1px solid rgba(17, 24, 39, 0.05);
}

.home-feed-header .nav-link,
.home-feed-header .nav-summary {
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font-size: 0.96rem;
  font-weight: 700;
}

.home-feed-header .nav-link:hover,
.home-feed-header .nav-summary:hover {
  border-color: transparent;
  color: var(--red);
}

.home-feed-header .nav-link.active,
.home-feed-header .nav-dropdown[open] .nav-summary {
  color: var(--red);
  box-shadow: inset 0 -3px 0 var(--red);
}

.nav-dropdown-menu {
  border-radius: 8px;
  border-color: rgba(17, 24, 39, 0.1);
  background: #fff;
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.11);
}

.nav-dropdown-item {
  border-radius: 6px;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  background: rgba(0, 56, 168, 0.08);
  color: var(--brand-deep);
}

.home-site-tabs {
  margin-top: 12px;
  gap: 8px;
  padding: 0 2px;
}

.home-site-tabs .site-tab {
  min-height: 36px;
  padding: 0 14px;
  border-color: rgba(17, 24, 39, 0.1);
  background: #fff;
  color: #374151;
  font-size: 0.88rem;
  font-weight: 800;
}

.home-site-tabs .site-tab.active {
  background: rgba(0, 56, 168, 0.09);
  border-color: rgba(0, 56, 168, 0.24);
  color: var(--brand-deep);
  box-shadow: inset 0 -2px 0 var(--brand);
}

.home-status,
.page-status {
  border-radius: 999px;
  border-color: rgba(17, 24, 39, 0.08);
  background: #fff;
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.home-status.ok,
.page-status.ok {
  color: var(--green);
}

.home-ad-panel {
  min-height: 176px;
  border-radius: 8px;
  background: #e5e7eb;
  border-color: rgba(17, 24, 39, 0.05);
}

.home-feed-main {
  gap: 26px;
  margin-top: 20px;
}

.home-feed-section {
  gap: 12px;
}

.home-feed-section-head,
.home-category-head {
  padding: 0 8px;
}

.home-feed-title,
.section-title,
.brand-title {
  letter-spacing: 0;
}

.home-feed-title {
  font-size: clamp(1.42rem, 2vw, 1.78rem);
  font-weight: 900;
}

.home-feed-copy,
.section-copy,
.brand-copy {
  color: #596274;
  font-size: 0.95rem;
}

.home-feed-action,
.home-deal-button,
.card-link {
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #fff;
  color: #111827;
  box-shadow: none;
}

.home-feed-action:hover,
.home-deal-button:hover,
.card-link:hover {
  color: var(--red);
  border-color: rgba(213, 43, 30, 0.24);
}

.home-deal-button::after,
.card-link::after,
.home-feed-action::after {
  content: ">";
  margin-left: 8px;
  color: var(--red);
  font-weight: 900;
}

.home-category-card {
  gap: 8px;
}

.home-category-kicker,
.home-category-count,
.home-deal-category,
.home-shortcut-count,
.tag {
  min-height: 25px;
  border-radius: 999px;
  border-color: rgba(17, 24, 39, 0.08);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.home-category-kicker,
.home-deal-category {
  color: var(--red);
}

.home-category-count {
  color: var(--brand-deep);
  background: rgba(0, 56, 168, 0.08);
}

.home-deal-card,
.product-card,
.timeline-item,
.rank-card,
.focus-card,
.panel,
.stat-card,
.public-banner-card,
.home-shortcut-card,
.page-intro-card,
.empty-state {
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-deal-card {
  min-height: 164px;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.home-deal-card:hover,
.product-card:hover,
.home-shortcut-card:hover {
  border-color: rgba(0, 56, 168, 0.18);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
  transform: translateY(-1px);
}

.home-deal-card-compact {
  min-height: 144px;
  grid-template-columns: 116px minmax(0, 1fr);
}

.home-deal-card .product-media {
  width: 104px;
  height: 104px;
  border-radius: 6px;
  border: 0;
  background: #f6f7f9;
}

.home-deal-card-compact .product-media {
  width: 92px;
  height: 92px;
}

.home-deal-card .product-image {
  padding: 7px;
}

.home-deal-body {
  gap: 8px;
}

.home-deal-author {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #111827;
}

.home-deal-avatar {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--red) 0 50%, var(--brand) 50% 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.home-deal-author-text {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-deal-author-text strong {
  color: #111827;
  font-size: 0.84rem;
}

.home-deal-meta {
  gap: 7px;
}

.home-deal-title {
  font-size: 1.04rem;
  font-weight: 900;
}

.home-deal-price,
.price-main {
  color: var(--red);
  letter-spacing: 0;
}

.home-deal-metrics,
.card-metrics {
  color: var(--brand-deep);
  font-size: 0.88rem;
}

.product-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.product-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card .product-media {
  width: 112px;
  height: 112px;
  aspect-ratio: auto;
  border-radius: 6px;
  border: 0;
}

.product-card .product-image {
  padding: 8px;
}

.product-card-body {
  gap: 9px;
}

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
}

.card-top {
  gap: 12px;
}

.card-description {
  line-height: 1.45;
}

.hero-card,
.shell-card,
.toolbar,
.subtle-card,
.source-card,
.history-card {
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #fff;
  box-shadow: none;
}

.hero-card,
.shell-card {
  padding: 22px;
}

.eyebrow {
  margin-bottom: 12px;
  padding: 7px 10px;
  background: rgba(0, 56, 168, 0.08);
  color: var(--brand-deep);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.toolbar {
  padding: 14px;
}

.field,
.select {
  border-radius: 999px;
  border-color: rgba(17, 24, 39, 0.1);
  background: #fff;
}

.home-shortcut-grid {
  gap: 10px;
}

.home-shortcut-card {
  min-height: 122px;
}

@media (max-width: 1120px) {
  .home-feed-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "tools"
      "nav";
  }

  .home-logo {
    min-width: 0;
  }

  .home-header-tools {
    align-items: stretch;
  }

  .home-header-search {
    max-width: none;
  }
}

@media (max-width: 840px) {
  .home-feed-frame {
    width: min(100%, calc(100% - 10px));
  }

  .home-feed-header {
    position: static;
    padding-top: 8px;
  }

  .home-feed-header .home-page-nav {
    gap: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .home-feed-header .home-page-nav::-webkit-scrollbar {
    display: none;
  }

  .home-header-tools {
    flex-wrap: wrap;
  }

  .home-ad-panel {
    min-height: 132px;
  }

  .product-card,
  .home-deal-card,
  .home-deal-card-compact {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
  }

  .product-card .product-media,
  .home-deal-card .product-media,
  .home-deal-card-compact .product-media {
    width: 78px;
    height: 78px;
  }

  .home-deal-author-text span {
    display: none;
  }
}

@media (max-width: 560px) {
  .home-logo-text {
    font-size: 1.12rem;
  }

  .home-header-meta .meta-chip {
    max-width: 100%;
  }

  .home-deal-card,
  .home-deal-card-compact,
  .product-card {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 11px;
  }

  .home-deal-card .product-media,
  .home-deal-card-compact .product-media,
  .product-card .product-media {
    width: 64px;
    height: 64px;
  }

  .home-deal-meta,
  .product-card .tag-row {
    gap: 6px;
  }

  .home-deal-category,
  .home-deal-card .tag,
  .product-card .tag.muted {
    display: none;
  }

  .card-top {
    flex-direction: column;
  }

  .price-main {
    text-align: left;
  }
}

.page-bottom-info {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.page-bottom-info .home-site-tabs {
  margin-top: 0;
}

.page-bottom-info .home-header-meta {
  justify-content: flex-start;
}

.page-bottom-info .home-status {
  width: fit-content;
  margin-top: 0;
}

.radar-page .page-intro-card {
  display: none;
}

.radar-page main {
  margin-top: 14px;
}

.radar-page .public-banner-slot {
  margin-top: 10px;
}

.radar-page .hero-card {
  margin-top: 10px;
  padding: 12px;
}

.radar-page .hero-card:not(:has(.toolbar)) {
  display: none;
}

.radar-page .hero-card .eyebrow,
.radar-page .hero-card .hero-copy {
  display: none;
}

.radar-page .hero-card .section-head,
.radar-page .hero-card .hero-head {
  align-items: center;
  margin-bottom: 8px;
}

.radar-page .hero-card .section-title {
  font-size: 1.08rem;
  line-height: 1.25;
}

.radar-page .hero-card .meta-chip,
.radar-page .toolbar .meta-chip,
.radar-page .table-note {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.86rem;
}

.radar-page .toolbar {
  padding: 0;
  border: 0;
  background: transparent;
}

.radar-page .toolbar-grid {
  gap: 8px;
  grid-template-columns: minmax(220px, 1.25fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
}

.radar-page .field,
.radar-page .select {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.radar-page .source-card {
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 0.88rem;
}

.radar-page .page-bottom-source {
  margin-top: 0;
}

.radar-page .section {
  margin-top: 14px;
}

.radar-page .section-head {
  align-items: center;
  margin-bottom: 8px;
}

.radar-page .section-title {
  font-size: clamp(1.18rem, 1.7vw, 1.48rem);
  line-height: 1.2;
}

.radar-page .section-copy {
  margin-top: 2px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.radar-page .priority-section .section-title {
  color: var(--red);
}

.radar-page .priority-section .product-grid {
  border-left: 3px solid var(--red);
  padding-left: 8px;
}

.radar-page .product-card {
  min-height: 116px;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 12px;
}

.radar-page .product-card .product-media {
  width: 88px;
  height: 88px;
}

.radar-page .product-card-body {
  gap: 6px;
}

.radar-page .product-card h3 {
  font-size: 0.98rem;
  line-height: 1.22;
}

.radar-page .card-description {
  -webkit-line-clamp: 1;
  font-size: 0.88rem;
  line-height: 1.35;
}

.radar-page .card-metrics,
.radar-page .card-details,
.radar-page .timeline-meta {
  font-size: 0.84rem;
}

.radar-page .price-main {
  font-size: 1.18rem;
}

.radar-page .tag {
  min-height: 23px;
  padding: 0 9px;
  font-size: 0.7rem;
}

.radar-page .card-link,
.radar-page .action-link {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.radar-page .empty-state {
  padding: 18px;
}

.radar-page .empty-state h3 {
  font-size: 1rem;
}

.radar-page .empty-state p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.radar-page .timeline-item,
.radar-page .rank-card,
.radar-page .focus-card {
  padding: 12px;
}

@media (max-width: 1180px) {
  .radar-page .toolbar-grid {
    grid-template-columns: minmax(0, 1fr) minmax(170px, 0.72fr) minmax(170px, 0.72fr);
  }
}

@media (max-width: 840px) {
  .radar-page .home-feed-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "nav";
    gap: 6px;
    padding: 6px 4px 4px;
  }

  .radar-page .home-header-tools {
    display: none;
  }

  .radar-page .home-logo-mark {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }

  .radar-page .home-logo-text {
    font-size: 1.02rem;
  }

  .radar-page .home-feed-header .shell-search-input,
  .radar-page .home-feed-header .shell-search-button {
    min-height: 36px;
  }

  .radar-page .home-feed-header .shell-search-button::before {
    top: 9px;
  }

  .radar-page .home-feed-header .shell-search-button::after {
    top: 23px;
  }

  .radar-page .home-feed-header .home-page-nav {
    min-height: 34px;
    gap: 14px;
    padding-bottom: 3px;
  }

  .radar-page .home-feed-header .nav-link,
  .radar-page .home-feed-header .nav-summary {
    min-height: 32px;
    font-size: 0.88rem;
  }

  .radar-page main {
    margin-top: 8px;
  }

  .radar-page .hero-card {
    margin-top: 8px;
    padding: 10px;
  }

  .radar-page .hero-card .section-head,
  .radar-page .hero-card .hero-head {
    margin-bottom: 6px;
  }

  .radar-page .hero-card .section-head > div,
  .radar-page .hero-card .hero-head > div {
    display: none;
  }

  .radar-page .toolbar-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .radar-page .field,
  .radar-page .select {
    min-height: 34px;
    font-size: 0.84rem;
  }

  .radar-page .section {
    margin-top: 12px;
  }

  .radar-page .section-title {
    font-size: 1.16rem;
  }

  .radar-page .section-copy,
  .radar-page .card-description {
    display: none;
  }

  .radar-page .product-card {
    min-height: 96px;
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .radar-page .product-card .product-media {
    display: none;
  }

  .radar-page .card-top {
    flex-direction: row;
    align-items: flex-start;
  }

  .radar-page .tag-row .tag.muted {
    display: inline-flex;
  }

  .radar-page .price-main {
    font-size: 1.05rem;
    text-align: right;
  }

  .radar-page .page-bottom-info {
    margin-top: 22px;
    padding-top: 14px;
  }
}

@media (max-width: 560px) {
  .radar-page .home-feed-frame {
    width: min(100%, calc(100% - 6px));
  }

  .radar-page .home-header-search {
    flex-basis: 100%;
  }

  .radar-page .hero-card .section-head {
    display: grid;
    gap: 6px;
  }

  .radar-page .hero-card .meta-chip {
    width: fit-content;
  }

  .radar-page .tag-row {
    gap: 5px;
  }

  .radar-page .product-card h3 {
    font-size: 0.92rem;
  }

  .radar-page .price-main {
    font-size: 1rem;
  }

  .radar-page .card-actions,
  .radar-page .regulatory-actions {
    gap: 6px;
  }
}

.home-site-tabs {
  align-items: center;
  margin-top: 10px;
}

.home-site-tabs::before {
  content: "Loja";
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-site-tabs .site-tab {
  min-height: 34px;
  padding: 0 15px;
  border-color: rgba(17, 24, 39, 0.1);
}

.home-site-tabs .site-tab.active {
  border-color: rgba(0, 56, 168, 0.36);
  background: linear-gradient(180deg, rgba(0, 56, 168, 0.13), rgba(0, 56, 168, 0.06));
  color: var(--brand-deep);
  box-shadow: inset 0 -2px 0 var(--brand);
}

.product-icon-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.product-icon-chip {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.05;
}

.product-icon-text {
  display: grid;
  gap: 1px;
}

.product-icon-text strong {
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
}

.product-icon::before {
  content: "";
}

.product-icon-price {
  background: var(--red);
}

.product-icon-price::before {
  content: "$";
}

.product-icon-cost {
  background: var(--brand);
}

.product-icon-cost::before {
  content: "mg";
}

.product-icon-total {
  background: var(--brand-deep);
}

.product-icon-total::before {
  content: "T";
}

.product-icon-stock {
  background: var(--green);
}

.product-icon-stock::before {
  content: "OK";
  font-size: 0.54rem;
}

.home-deal-bottom .product-icon-row {
  margin-top: 5px;
}

.home-deal-bottom .product-icon-chip,
.history-product-summary .product-icon-chip {
  min-height: 26px;
  padding: 3px 8px 3px 5px;
}

.home-deal-bottom .product-icon,
.history-product-summary .product-icon {
  width: 19px;
  height: 19px;
}

.home-deal-bottom .product-icon-text span,
.history-product-summary .product-icon-text span {
  display: none;
}

.timeline-product-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.timeline-product-item .product-media,
.history-product-summary .product-media {
  width: 64px;
  height: 64px;
  aspect-ratio: auto;
  border-radius: 6px;
}

.timeline-product-item .product-image,
.history-product-summary .product-image {
  padding: 6px;
}

.timeline-product-body {
  min-width: 0;
}

.history-product-summary {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.history-product-summary .product-icon-row {
  margin-top: 7px;
}

.event-product-list {
  display: grid;
  gap: 8px;
}

.event-product-link {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.event-product-link .product-media {
  width: 44px;
  height: 44px;
  aspect-ratio: auto;
  border-radius: 6px;
}

.event-product-link .product-image {
  padding: 4px;
}

.event-product-link span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.event-product-link strong,
.event-product-link small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-product-link strong {
  color: var(--text);
  font-size: 0.9rem;
}

.event-product-link small {
  color: var(--muted);
}

@media (max-width: 840px) {
  .radar-page .home-site-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 4px 4px;
    scrollbar-width: none;
  }

  .radar-page .home-site-tabs::-webkit-scrollbar {
    display: none;
  }

  .radar-page .product-card {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .radar-page .product-card .product-media {
    display: block;
    width: 58px;
    height: 58px;
  }

  .radar-page .product-card .product-image {
    padding: 5px;
  }

  .radar-page .product-icon-chip {
    min-height: 26px;
    padding: 3px 7px 3px 5px;
  }

  .radar-page .product-icon {
    width: 18px;
    height: 18px;
  }

  .radar-page .product-icon-text span {
    display: none;
  }

  .radar-page .product-social-counts {
    gap: 6px;
  }

  .radar-page .product-social-body {
    padding: 12px;
  }

  .radar-page .interaction-user-grid,
  .radar-page .interaction-lists {
    grid-template-columns: 1fr;
  }

  .radar-page .comparison-offer {
    grid-template-columns: 1fr;
  }

  .radar-page .comparison-offer strong,
  .radar-page .comparison-stock {
    text-align: left;
  }

  .timeline-product-item,
  .history-product-summary {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .timeline-product-item .product-media,
  .history-product-summary .product-media {
    display: block;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 560px) {
  .radar-page .product-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .radar-page .product-card .product-media {
    width: 50px;
    height: 50px;
  }

  .radar-page .product-icon-row {
    gap: 5px;
  }

  .radar-page .product-icon-chip {
    font-size: 0.72rem;
  }
}

.product-detail-shell {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.product-detail-hero,
.product-detail-section {
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #fff;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
}

.product-detail-media .product-media {
  width: 100%;
  min-height: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #f6f7f9;
}

.product-detail-media .product-image {
  padding: 18px;
}

.product-detail-primary {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.product-detail-primary h1 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.product-detail-primary p,
.product-detail-description p,
.product-detail-community-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-detail-price {
  color: var(--red);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
}

.product-detail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-detail-meta span {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-detail-meta .stock-ok {
  color: var(--green);
  background: rgba(31, 143, 89, 0.08);
}

.product-detail-meta .stock-off {
  color: var(--red);
  background: rgba(213, 43, 30, 0.08);
}

.product-detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-detail-cta {
  background: linear-gradient(180deg, var(--brand), var(--brand-deep));
  border-color: var(--brand-deep);
  color: #fff;
}

.product-detail-cta:hover {
  color: #fff;
  border-color: var(--brand-deep);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
}

.product-detail-section {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.product-detail-history {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-detail-community {
  gap: 14px;
}

.product-detail-community-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.product-detail-community-head h2 {
  margin: 7px 0 0;
  color: var(--brand-deep);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.product-detail-community .product-social-panel {
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  padding-top: 10px;
}

.product-detail-community .product-social-panel summary {
  display: none;
}

.product-related .product-grid {
  gap: 10px;
}

.card-link-secondary {
  color: var(--brand-deep);
}

@media (max-width: 900px) {
  .product-detail-hero,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-media .product-media {
    min-height: 220px;
  }

  .product-detail-community-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .comparison-offer {
    grid-template-columns: 1fr auto;
  }

  .comparison-flags,
  .comparison-updated {
    grid-column: 1 / -1;
    text-align: left;
  }
}

.home-feed-header,
.home-feed-header .home-page-nav,
.home-feed-header .nav-dropdown {
  overflow: visible;
}

.home-feed-header .nav-dropdown {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.home-feed-header .nav-dropdown[open] {
  z-index: 1000;
}

.home-feed-header .nav-dropdown-menu,
.radar-page .home-feed-header .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 270px;
  width: max-content;
  max-width: min(360px, calc(100vw - 24px));
  max-height: min(420px, calc(100vh - 170px));
  margin-top: 0;
  overflow: auto;
  z-index: 1001;
}

.benefit-category-block {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #fff;
}

.benefit-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.benefit-category-head h3 {
  margin: 6px 0 0;
  font-size: 1.05rem;
  color: var(--brand-deep);
}

.benefit-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.benefit-product-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #fff;
}

.benefit-product-media .product-media {
  width: 100%;
  height: 94px;
  aspect-ratio: auto;
  border-radius: 6px;
  background: #f6f7f9;
}

.benefit-product-media .product-image {
  padding: 6px;
}

.benefit-product-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.benefit-product-body h3 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.18;
}

.benefit-product-body h3 a {
  color: inherit;
  text-decoration: none;
}

.benefit-product-price {
  color: var(--red);
  font-size: 1.12rem;
  font-weight: 900;
}

.benefit-product-facts {
  display: grid;
  gap: 5px;
  margin: 0;
}

.benefit-product-facts div {
  display: grid;
  gap: 1px;
}

.benefit-product-facts dt,
.benefit-product-facts dd {
  margin: 0;
}

.benefit-product-facts dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.benefit-product-facts dd {
  overflow: hidden;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.benefit-product-button {
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  align-self: end;
  font-size: 0.82rem;
}

.home-benefit-category-block {
  padding: 12px;
}

.home-benefit-card {
  min-height: 0;
}

.home-benefit-card .home-deal-category {
  width: fit-content;
  max-width: 100%;
}

.home-benefit-facts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.home-benefit-fact {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid rgba(0, 56, 168, 0.1);
  background: rgba(0, 56, 168, 0.04);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.home-benefit-fact strong {
  flex: 0 0 auto;
  color: var(--brand-deep);
  font-size: 0.62rem;
}

.home-benefit-fact span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-benefit-store {
  max-width: 100%;
}

.history-table-simple th,
.history-table-simple td {
  min-width: 150px;
  padding: 10px 12px;
  vertical-align: middle;
}

.history-table-simple th:first-child,
.history-table-simple td:first-child {
  min-width: 280px;
  position: sticky;
  left: 0;
  z-index: 1;
}

.history-simple-product-link {
  color: var(--brand-deep);
  font-weight: 900;
  text-decoration: none;
}

.history-simple-product-link:hover {
  color: var(--red);
}

.history-table-simple td:nth-child(4),
.history-table-simple td:nth-child(5) {
  color: var(--red);
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .benefit-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .home-feed-header .home-page-nav,
  .radar-page .home-feed-header .home-page-nav {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .home-feed-header .home-page-nav::-webkit-scrollbar,
  .radar-page .home-feed-header .home-page-nav::-webkit-scrollbar {
    display: none;
  }

  .home-feed-header .nav-dropdown-menu,
  .radar-page .home-feed-header .nav-dropdown-menu {
    position: fixed;
    top: 116px;
    left: 8px;
    right: auto;
    width: min(360px, calc(100vw - 32px));
    min-width: 0;
    max-width: calc(100vw - 32px);
    max-height: min(60vh, 420px);
  }
}

@media (max-width: 560px) {
  .benefit-product-grid {
    grid-template-columns: 1fr;
  }

  .benefit-product-media .product-media {
    height: 76px;
  }
}

/* Radar Paradinhas identity */
body {
  background:
    radial-gradient(circle at top left, rgba(76, 197, 31, 0.13), transparent 30%),
    radial-gradient(circle at top right, rgba(244, 197, 29, 0.14), transparent 26%),
    linear-gradient(180deg, #fbfcf7 0%, var(--bg) 100%);
}

.home-feed-header {
  border-bottom: 1px solid rgba(244, 197, 29, 0.18);
  background:
    linear-gradient(135deg, rgba(6, 19, 15, 0.98), rgba(9, 31, 24, 0.95)),
    var(--radar-dark);
  box-shadow: 0 12px 32px rgba(6, 19, 15, 0.16);
}

.home-logo {
  min-width: 190px;
  min-height: 58px;
  color: #f8ffe9;
}

.home-logo-image {
  display: block;
  width: clamp(142px, 14vw, 210px);
  height: clamp(48px, 4.6vw, 60px);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.34));
}

.home-logo-mark,
.home-logo-text {
  display: none;
}

.home-feed-header .nav-link,
.home-feed-header .nav-summary {
  color: rgba(248, 255, 232, 0.9);
}

.home-feed-header .nav-link:hover,
.home-feed-header .nav-summary:hover {
  color: var(--radar-green);
}

.home-feed-header .nav-link.active,
.home-feed-header .nav-dropdown[open] .nav-summary {
  color: var(--radar-gold);
  box-shadow: inset 0 -3px 0 var(--radar-green);
}

.home-feed-header .home-page-nav {
  border-top-color: rgba(244, 197, 29, 0.16);
}

.nav-dropdown-menu {
  border-color: rgba(25, 122, 49, 0.16);
  box-shadow: 0 18px 38px rgba(6, 19, 15, 0.16);
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  background: rgba(76, 197, 31, 0.12);
  color: var(--radar-green-deep);
}

.shell-search,
.home-header-search .shell-search,
.home-feed-header .shell-search {
  border-color: rgba(76, 197, 31, 0.26);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(244, 197, 29, 0.08);
}

.shell-search .shell-search-input:focus {
  box-shadow: inset 0 0 0 2px rgba(76, 197, 31, 0.26);
}

.shell-search .shell-search-button::before,
.home-feed-header .shell-search-button::before {
  border-color: var(--radar-green-deep);
}

.shell-search .shell-search-button::after,
.home-feed-header .shell-search-button::after {
  background: var(--radar-gold);
}

.auth-status-chip {
  border-color: rgba(244, 197, 29, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #f8ffe9;
}

.auth-avatar {
  background: linear-gradient(135deg, var(--radar-gold), var(--radar-green));
  color: var(--radar-dark);
}

.auth-tab.active,
.site-tab.active,
.home-site-tabs .site-tab.active {
  border-color: rgba(76, 197, 31, 0.42);
  background: rgba(76, 197, 31, 0.13);
  color: var(--radar-green-deep);
}

.brand-title,
.home-feed-title,
.section-title,
.benefit-category-head h3,
.history-simple-product-link {
  color: var(--radar-dark);
}

.eyebrow,
.home-category-kicker,
.home-deal-category,
.home-benefit-fact strong,
.home-deal-metrics,
.card-metrics {
  color: var(--radar-green-deep);
}

.home-category-count,
.home-shortcut-count,
.meta-chip {
  border-color: rgba(76, 197, 31, 0.18);
  background: rgba(76, 197, 31, 0.08);
  color: var(--radar-green-deep);
}

.page-status.ok,
.home-status.ok,
.stock-pill.in,
.comparison-stock.available,
.product-detail-meta .stock-ok {
  color: var(--radar-green-deep);
}

.page-status.warning {
  color: var(--radar-gold-deep);
}

.page-status.error,
.auth-message.error,
.interaction-message.error,
.stock-pill.out,
.product-detail-meta .stock-off,
.tag.up,
.history-event-tag.up {
  color: var(--radar-alert);
}

.home-deal-price,
.price-main,
.product-detail-price,
.benefit-product-price,
.history-table-simple td:nth-child(4),
.history-table-simple td:nth-child(5) {
  color: var(--radar-gold-deep);
}

.home-deal-button,
.card-link,
.action-link,
.home-feed-action,
.interaction-submit,
.product-detail-cta,
.card-link-secondary {
  border-color: rgba(76, 197, 31, 0.26);
  background: linear-gradient(180deg, rgba(76, 197, 31, 0.14), rgba(244, 197, 29, 0.12));
  color: var(--radar-dark);
}

.interaction-submit,
.product-detail-cta {
  background: linear-gradient(180deg, var(--radar-green-deep), #0d4d25);
  color: #fff;
}

.home-deal-button:hover,
.card-link:hover,
.action-link:hover,
.home-feed-action:hover,
.product-detail-cta:hover,
.card-link-secondary:hover {
  border-color: rgba(244, 197, 29, 0.54);
  color: var(--radar-green-deep);
  box-shadow: 0 8px 20px rgba(25, 122, 49, 0.12);
}

.home-deal-button::after,
.card-link::after,
.home-feed-action::after {
  color: var(--radar-gold-deep);
}

.tag {
  border-color: rgba(76, 197, 31, 0.18);
}

.tag.muted {
  color: var(--muted);
  background: rgba(7, 22, 17, 0.04);
}

.tag.new,
.history-event-tag.new {
  color: var(--radar-green-deep);
  background: rgba(76, 197, 31, 0.12);
}

.tag.discount,
.tag.down,
.comparison-discount,
.history-event-tag.down {
  color: var(--radar-gold-deep);
  background: rgba(244, 197, 29, 0.16);
}

.product-icon-price,
.product-icon-drop {
  background: var(--radar-gold-deep);
}

.product-icon-premium,
.product-icon-stock {
  background: var(--radar-green-deep);
}

.product-icon-pharmagrade {
  background: var(--radar-dark);
}

.home-deal-card,
.product-card,
.benefit-product-card,
.rank-card,
.focus-card,
.timeline-item,
.panel,
.stat-card,
.public-banner-card,
.home-shortcut-card,
.page-intro-card,
.empty-state {
  border-color: rgba(7, 22, 17, 0.09);
}

.home-deal-card:hover,
.product-card:hover,
.benefit-product-card:hover,
.home-shortcut-card:hover {
  border-color: rgba(76, 197, 31, 0.28);
  box-shadow: 0 10px 24px rgba(7, 22, 17, 0.08);
}

.home-benefit-fact {
  border-color: rgba(76, 197, 31, 0.17);
  background: rgba(76, 197, 31, 0.08);
}

.history-simple-product-link:hover {
  color: var(--radar-green-deep);
}

@media (max-width: 840px) {
  .home-feed-header {
    gap: 6px;
    padding: 7px 4px 5px;
  }

  .home-header-tools {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .home-header-search {
    min-width: 0;
    max-width: none;
    flex: none;
  }

  .public-auth {
    min-width: max-content;
  }

  .home-header-meta {
    display: none;
  }

  .auth-status-chip {
    min-height: 38px;
    padding: 0 10px;
  }

  .shell-search .shell-search-input,
  .home-feed-header .shell-search-input,
  .shell-search .shell-search-button,
  .home-feed-header .shell-search-button {
    min-height: 38px;
  }

  .home-logo {
    min-height: 44px;
  }

  .home-logo-image {
    width: clamp(126px, 42vw, 168px);
    height: 46px;
  }
}

@media (max-width: 560px) {
  .home-logo-image {
    width: 136px;
    height: 42px;
  }
}
