@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

.a1-buying-guide { margin: 32px 0; padding: clamp(20px, 4vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: var(--paper); line-height: 1.75; }
.a1-buying-guide h2 { font-size: clamp(22px, 3vw, 30px); line-height: 1.3; margin: 20px 0 16px; }
.a1-buying-guide h3 { margin: 0 0 8px; font-size: 18px; }
.a1-buying-guide p { margin: 0 0 16px; }
.a1-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.a1-guide-grid article { padding: 22px; background: var(--green-50); border-radius: 16px; }
.a1-guide-grid article p { margin-bottom: 0; }
.a1-buying-guide details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.a1-buying-guide summary { cursor: pointer; font-weight: 600; }
.a1-buying-guide details p { margin: 12px 0 0; }
.a1-buying-guide > p:last-child { margin: 24px 0 0; }
.a1-buying-guide a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .a1-guide-grid { grid-template-columns: 1fr; } }

:root {
  color-scheme: light;
  --navy-950: #061c3f;
  --navy-900: #0b2d5b;
  --navy-800: #123d73;
  --green-700: #00676d;
  --green-600: #00868d;
  --green-500: #00a6ad;
  --green-100: #d8f1ef;
  --green-50: #eef9f7;
  --blue-100: #e7f1ff;
  --ink: #0b2d5b;
  --muted: #607684;
  --line: #dce6eb;
  --paper: #ffffff;
  --canvas: #fff8ef;
  --amber: #e9a91a;
  --red: #df1431;
  --shadow: 0 18px 50px rgba(7, 40, 63, 0.09);
  --shadow-soft: 0 8px 25px rgba(7, 40, 63, 0.07);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 11px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 5vw;
  color: #fff;
  background: rgba(7, 40, 63, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
  color: #fff;
  text-decoration: none;
}

.brand-symbol-frame {
  display: grid;
  place-items: center;
  flex: 0 0 78px;
  width: 78px;
  height: 50px;
  padding: 5px;
  border-radius: 9px;
  background: #fffdf7;
}

.brand-symbol {
  display: block;
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-wordmark {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-name,
.footer-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-name {
  font-size: 18px;
  line-height: 1.1;
}

.brand-name strong,
.footer-brand strong {
  color: var(--green-500);
  font-weight: 800;
}

.brand-line {
  margin-top: 4px;
  color: #8fb0c1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.radar-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--green-500) 0 2px, transparent 3px 100%);
}

.radar-mark::before,
.radar-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.radar-mark::before {
  inset: 7px;
}

.radar-mark::after {
  left: 50%;
  bottom: 50%;
  width: 1px;
  height: 15px;
  transform: rotate(42deg);
  transform-origin: bottom center;
  border: 0;
  border-radius: 0;
  background: var(--green-500);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a,
.nav-alert {
  padding: 10px 14px;
  border-radius: 999px;
}

.desktop-nav a {
  color: #bfd0da;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-alert {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 5px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  cursor: pointer;
}

.nav-alert:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-alert svg {
  width: 16px;
  height: 16px;
}

.mobile-menu {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: transparent;
}

.search-shell {
  position: relative;
  overflow: hidden;
  padding: 62px 5vw 34px;
  color: #fff;
  background:
    radial-gradient(circle at 88% -40%, rgba(17, 188, 136, 0.45), transparent 48%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.search-shell::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -270px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.intro-row,
.comparison-hubs,
.search-form,
.quick-row,
.catalog-metrics,
.workspace,
.bridge-live,
.city-guide,
.how-it-works,
footer {
  width: min(1380px, 100%);
  margin-inline: auto;
}

.comparison-hubs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.comparison-hub {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  min-height: 90px;
  padding: 14px 16px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.comparison-hub:hover,
.comparison-hub:focus-visible {
  color: #fff;
  border-color: rgba(101, 240, 195, 0.7);
  background: rgba(17, 188, 136, 0.13);
  transform: translateY(-2px);
}

.comparison-hub.active {
  border-color: rgba(101, 240, 195, 0.5);
  background: linear-gradient(135deg, rgba(0, 166, 118, 0.24), rgba(11, 56, 83, 0.45));
  box-shadow: inset 0 0 0 1px rgba(101, 240, 195, 0.08);
}

.comparison-hub.food {
  background: linear-gradient(135deg, rgba(0, 166, 118, 0.14), rgba(255, 255, 255, 0.055));
}

.comparison-hub.hotel {
  background: linear-gradient(135deg, rgba(50, 109, 146, 0.26), rgba(255, 255, 255, 0.055));
}

.hub-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: rgba(17, 188, 136, 0.22);
}

.hotel .hub-icon {
  background: rgba(106, 166, 211, 0.27);
}

.hub-icon svg {
  width: 23px;
  height: 23px;
}

.hub-copy {
  display: grid;
  min-width: 0;
}

.hub-copy small {
  color: #65f0c3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.hotel .hub-copy small {
  color: #a9d9f2;
}

.hub-copy strong {
  margin-top: 2px;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 18px;
}

.hub-copy em {
  margin-top: 2px;
  overflow: hidden;
  color: #b9ced9;
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-arrow {
  width: 18px;
  height: 18px;
  color: #65f0c3;
}

.hub-badge {
  position: absolute;
  top: 7px;
  right: 8px;
  padding: 3px 6px;
  color: #041c2c;
  border-radius: 999px;
  background: #65f0c3;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.city-guide {
  padding: 6px 5vw 70px;
}

.city-guide-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  color: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(17, 188, 136, .32), transparent 34%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.city-guide-heading h2 {
  max-width: 720px;
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}

.city-guide-heading > div > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: #c5d7df;
}

.guide-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: #dff8ef;
  border: 1px solid rgba(223, 248, 239, .26);
  border-radius: 999px;
  background: rgba(0, 166, 118, .14);
  font-size: 13px;
  font-weight: 700;
}

.guide-status svg {
  width: 17px;
  height: 17px;
}

.place-group-heading {
  scroll-margin-top: 90px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 28px 17px;
  border-inline: 1px solid var(--line);
  background: #fff;
}

.place-group-heading.hotel-heading {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.place-group-heading .kicker {
  margin-bottom: 3px;
}

.place-group-heading h3 {
  margin: 0;
  color: var(--navy-900);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 20px;
}

.place-group-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--green-600), var(--green-700));
}

.place-group-icon.hotel {
  background: linear-gradient(145deg, #326d92, var(--navy-800));
}

.place-group-icon svg {
  width: 23px;
  height: 23px;
}

.rating-filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px 20px;
  border-inline: 1px solid var(--line);
  background: #fff;
}

.place-city-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 22px 28px; background: #fff; border-inline: 1px solid var(--line); }
.place-city-filter p { flex-basis: 100%; margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.place-copy .place-city { color: var(--green-700); font-weight: 700; font-size: 12px; margin: 6px 0; }
.place-copy .place-style { color: var(--muted); font-size: 12px; font-weight: 600; }
.place-copy .place-address { font-size: 13px; }
.place-contact-links { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 12px 0; }
.place-copy .place-source { font-size: 11px; color: var(--muted); line-height: 1.6; }
.place-copy .place-source a { display: inline; font: inherit; text-decoration: underline; }
.place-empty { margin: 0; padding: 18px 28px; background: var(--green-50); color: var(--ink); }
.place-empty[hidden] { display: none; }
.rating-source-note { max-width: 320px; }

.rating-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-filter-button {
  min-height: 38px;
  padding: 8px 13px;
  color: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.rating-filter-button:hover,
.rating-filter-button:focus-visible {
  border-color: var(--green-500);
  transform: translateY(-1px);
}

.rating-filter-button.active {
  color: #fff;
  border-color: var(--green-700);
  background: var(--green-700);
}

.rating-source-note {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.place-grid-group {
  border-radius: 0;
  box-shadow: none;
}

.place-grid-group.hotel-grid {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow);
}

.place-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  min-height: 252px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.place-card[hidden] {
  display: none;
}

.place-media { margin-bottom: 16px; min-width: 0; }
.place-photo-link { display: block; border-radius: 12px; overflow: hidden; background: var(--cream-100, #f5f2e9); }
.place-photo { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.place-photo[hidden] { display: none; }
.place-photo-credit { display: block; margin: 5px 0 10px; font-size: 11px; color: var(--muted); }
.place-photo-pending, .place-photo-fallback { display: block; padding: 14px; font-size: 12px; border: 1px dashed var(--line); border-radius: 10px; }
.place-photo-fallback[hidden] { display: none; }
.place-directions, .travel-open, .travel-back { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--green-700); border-radius: 9px; color: var(--green-700); background: white; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; }
.travel-open { margin-top: 16px; }
.travel-dialog { width: min(680px, calc(100vw - 24px)); max-height: 90dvh; overflow-y: auto; padding: 24px; }
.travel-back { position: sticky; top: 0; z-index: 1; margin-bottom: 14px; }
.travel-return-hint { margin-bottom: 18px; font-size: 13px; line-height: 1.6; }
.travel-dialog h2 { margin-bottom: 12px; }
.travel-dialog .place-photo { max-height: 340px; }
.travel-open:focus-visible, .travel-back:focus-visible, .place-directions:focus-visible, .place-photo-link:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; }

.place-card:nth-child(3n) {
  border-right: 0;
}

.place-card:nth-child(n + 4) {
  border-top: 1px solid var(--line);
}

.place-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #fff;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--green-600), var(--green-700));
  box-shadow: 0 10px 22px rgba(0, 132, 93, .2);
}

.place-icon.hotel {
  background: linear-gradient(145deg, #326d92, var(--navy-800));
  box-shadow: 0 10px 22px rgba(11, 56, 83, .18);
}

.place-labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.place-labels span {
  color: var(--green-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
}

.place-labels em {
  padding: 3px 7px;
  color: var(--muted);
  border-radius: 999px;
  background: var(--canvas);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.place-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.place-copy h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.place-copy p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.place-rating {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: -5px 0 17px;
  padding: 7px 10px;
  color: var(--navy-900);
  border: 1px solid rgba(0, 166, 118, .22);
  border-radius: 10px;
  background: rgba(0, 166, 118, .07);
}

.place-rating strong {
  font-size: 16px;
}

.place-rating strong span {
  color: #f2aa18;
}

.place-rating small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.place-rating.pending {
  color: var(--muted);
  border-color: var(--line);
  background: var(--canvas);
}

.place-rating.pending span {
  font-size: 12px;
  font-weight: 800;
}

.place-copy a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: auto;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 800;
}

.place-copy a:hover {
  color: var(--navy-900);
}

.place-copy a svg {
  width: 16px;
  height: 16px;
}

.guide-note {
  margin: 14px 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.intro-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.eyebrow,
.kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.eyebrow {
  color: var(--green-500);
}

.kicker {
  color: var(--green-700);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--navy-900);
  letter-spacing: -0.04em;
}

h1 {
  max-width: 750px;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(30px, 4.1vw, 54px);
  line-height: 1.06;
}

h2 {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.2;
}

h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.demo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 12px;
  color: #bdd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.demo-badge span,
.live-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(17, 188, 136, 0.14);
}

.search-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 34px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  padding: 0 18px;
  color: var(--muted);
  border: 2px solid transparent;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-field:focus-within {
  border-color: var(--green-500);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18), 0 0 0 4px rgba(17, 188, 136, 0.17);
}

.search-field svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--green-700);
}

.search-field input {
  width: 100%;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 17px;
}

.search-field input::placeholder {
  color: #8799a5;
}

kbd {
  padding: 4px 7px;
  color: #718792;
  border: 1px solid #dbe5e9;
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #f5f8f9;
  font-family: inherit;
  font-size: 11px;
}

.primary-button {
  min-height: 54px;
  padding: 0 25px;
  color: #fff;
  border: 0;
  border-radius: 14px;
  background: var(--green-600);
  box-shadow: 0 12px 25px rgba(0, 166, 118, 0.22);
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.search-form .primary-button {
  min-height: 62px;
}

.primary-button:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}

.primary-button.full {
  width: 100%;
}

.quick-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-top: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-row::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 13px;
  color: #aecaD7;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.chip svg {
  width: 14px;
  height: 14px;
}

.chip-health {
  color: #c8ffec;
  border-color: rgba(17, 188, 136, 0.34);
  background: rgba(17, 188, 136, 0.1);
}

.catalog-metrics {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.catalog-metrics > span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 11px;
  color: #aecaD7;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
}

.catalog-metrics strong {
  color: #fff;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
}

.catalog-metrics .fresh-metric {
  color: #d7fff2;
  border-color: rgba(38, 214, 159, 0.32);
  background: rgba(17, 188, 136, 0.12);
}

.catalog-metrics .fresh-metric strong {
  color: #65f0c3;
}

.catalog-metrics .comparison-metric {
  color: #dff8ff;
  border-color: rgba(105, 204, 237, 0.3);
  background: rgba(48, 143, 181, 0.14);
}

.catalog-metrics .comparison-metric strong {
  color: #8fe3ff;
}

.chip:hover,
.chip.active {
  color: #fff;
  border-color: rgba(17, 188, 136, 0.7);
  background: rgba(17, 188, 136, 0.17);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.75fr);
  gap: 22px;
  padding: 34px 5vw 52px;
}

.results-panel,
.currency-card,
.spotlight-card,
.trust-card,
.health-card {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.results-panel {
  min-width: 0;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.section-heading,
.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.sort-control select {
  padding: 9px 32px 9px 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-weight: 600;
}

.comparison-filters {
  display: grid;
  gap: 16px;
  padding: 18px;
  margin-top: 0;
  border: 1px solid #8fb6e5;
  border-left: 5px solid #1769c2;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf3ff, #f7faff);
  box-shadow: 0 8px 22px rgba(23, 105, 194, 0.09);
}

.comparison-filters[hidden] {
  display: none;
}

.filter-panel-intro {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-panel-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: #1769c2;
}

.filter-panel-icon svg {
  width: 22px;
  height: 22px;
}

.filter-panel-intro p {
  margin: 0 0 2px;
  color: #1769c2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.filter-panel-intro h2 {
  margin: 0;
  color: var(--navy-900);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.filter-panel-intro span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.filter-panel-controls {
  display: grid;
  grid-template-columns: minmax(250px, 1fr);
  gap: 12px;
}

.dose-control {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  color: var(--ink);
  border: 1px solid rgba(23, 105, 194, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.dose-control {
  cursor: pointer;
}

.filter-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.filter-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.filter-copy strong {
  font-size: 14px;
}

.dose-control select {
  min-width: 145px;
  padding: 10px 31px 10px 11px;
  margin-left: auto;
  color: #1259a5;
  border: 1px solid #8fb6e5;
  border-radius: 10px;
  background: #fff;
  font-weight: 800;
}

.dose-control select:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.78;
}

.result-list {
  display: grid;
  gap: 12px;
  margin-top: 23px;
}

.product-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1.35fr) minmax(145px, 0.7fr) minmax(115px, 0.5fr) 80px auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.product-row.alerted-product {
  border-color: #efc472;
  background: linear-gradient(90deg, #fffaf0, #fff 22%);
}

.product-thumb {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #e4ecef;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #eef5f6);
}

.product-thumb img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  background: #fff;
}

.thumb-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.product-thumb.no-image img {
  display: none;
}

.radar-mini {
  position: relative;
  width: 29px;
  height: 29px;
  border: 1px solid #a9c9c0;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-600) 0 2px, transparent 3px);
  opacity: 0.72;
}

.radar-mini::before,
.radar-mini::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.radar-mini::before {
  inset: 6px;
  border: 1px solid #c6dbd6;
}

.radar-mini::after {
  left: 50%;
  bottom: 50%;
  width: 1px;
  height: 11px;
  border-radius: 0;
  background: var(--green-600);
  transform: rotate(42deg);
  transform-origin: bottom;
}

.product-row:hover {
  border-color: #a8d9c8;
  box-shadow: 0 9px 24px rgba(7, 40, 63, 0.08);
  transform: translateY(-1px);
}

.product-info {
  min-width: 0;
}

.category-label {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 5px;
}

.product-labels .category-label {
  margin-bottom: 0;
}

.health-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  color: #785812;
  border: 1px solid #eed797;
  border-radius: 999px;
  background: #fff8df;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.health-badge svg {
  width: 12px;
  height: 12px;
}

.health-badge.alert {
  color: #9f3f35;
  border-color: #efb4ae;
  background: #fff0ed;
}

.comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  color: #0a6174;
  border: 1px solid #9bd9e4;
  border-radius: 999px;
  background: #effcff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.comparison-badge svg {
  width: 12px;
  height: 12px;
}

.product-info h3 {
  overflow: hidden;
  margin-bottom: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-meta,
.store-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
}

.verified svg {
  width: 15px;
  height: 15px;
}

.store-block strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy-900);
  font-size: 14px;
}

.store-meta svg {
  width: 14px;
  height: 14px;
}

.freshness-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding: 3px 7px;
  border: 1px solid #a9dccb;
  border-radius: 999px;
  color: var(--green-700);
  background: var(--green-50);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.freshness-badge.recent {
  color: #8a6417;
  border-color: #ead08a;
  background: #fff8df;
}

.freshness-badge.stale {
  color: #a34c36;
  border-color: #efb6a7;
  background: #fff1ec;
}

.product-row.stale-price .price-block strong {
  color: #7f665e;
}

.price-block {
  text-align: right;
}

.price-block strong {
  display: block;
  color: var(--navy-900);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 20px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.price-block span {
  color: var(--muted);
  font-size: 12px;
}

.radar-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 80px;
}

.score-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.score-label.excellent {
  color: var(--green-700);
}

.score-label.good {
  color: #4f79a2;
}

.score-label.regular {
  color: #a77919;
}

.score-track {
  width: 76px;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #e7eef1;
}

.score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.score-track .excellent {
  background: var(--green-600);
}

.score-track .good {
  background: #4f8fc2;
}

.score-track .regular {
  background: var(--amber);
}

.row-action {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.row-action:hover {
  color: #fff;
  border-color: var(--green-700);
  background: var(--green-700);
}

.row-action svg {
  width: 18px;
  height: 18px;
}

/* A product search is a comparison, not another catalog card. */
.result-list.comparison-results { display: grid; gap: 18px; }

.search-comparison-card {
  overflow: hidden;
  border: 1px solid #cddde2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(7, 40, 63, 0.055);
}

.search-comparison-card.alerted-product { border-color: #efc472; }

.search-comparison-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fff 54%, #f2f9f7);
}

.search-comparison-title { min-width: 0; }
.search-comparison-title h3 { margin: 0; color: var(--navy-900); font-size: 21px; }
.search-comparison-title p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.search-comparison-summary {
  display: grid;
  gap: 3px;
  min-width: 185px;
  text-align: right;
}

.search-comparison-summary strong { color: var(--navy-900); font-size: 13px; }
.search-comparison-summary span { color: var(--green-700); font-size: 12px; font-weight: 700; }
.search-comparison-card > .regulatory-notice { margin: 14px 16px 0; }

.inline-offer-heading,
.inline-offer-row {
  display: grid;
  grid-template-columns: 34px minmax(180px, 1fr) minmax(120px, 155px) 96px;
  align-items: center;
  gap: 13px;
}

.inline-offer-heading {
  padding: 10px 18px 7px;
  color: var(--muted);
  background: #fafcfc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.inline-offer-heading span:first-child { grid-column: 2; }
.inline-offer-heading span:last-child { grid-column: 3; text-align: right; }
.inline-offer-list { border-top: 1px solid var(--line); }

.inline-offer-row {
  min-height: 96px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.inline-offer-row:last-child { border-bottom: 0; }
.inline-offer-row.reference { background: #fffaf8; }

.inline-offer-rank {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--navy-900);
  border: 1px solid #cbdce1;
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.inline-offer-store { min-width: 0; }
.inline-offer-store > strong { display: block; color: var(--navy-900); font-size: 15px; }
.inline-offer-store > small,
.inline-offer-price > small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.inline-offer-store .last-checked { color: var(--muted); font-weight: 500; }
.inline-offer-store .offer-condition { color: #526778; font-weight: 400; line-height: 1.6; }

.inline-offer-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.inline-offer-badges .freshness-badge { margin-top: 0; }

.confirmation-note { color: var(--muted); font-size: 10px; font-weight: 400; }

.inline-offer-price { text-align: right; }
.inline-offer-price > strong {
  display: block;
  color: var(--navy-900);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 18px;
  white-space: nowrap;
}

.inline-offer-row.reference .inline-offer-price > strong { color: #7f665e; }

.inline-offer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  width: 100%;
  padding: 8px 10px;
  color: #fff;
  border-radius: 10px;
  background: var(--navy-900);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.inline-offer-row.reference .inline-offer-action {
  color: var(--navy-900);
  border: 1px solid #d9c8c1;
  background: #fff;
}

.inline-offer-action:hover,
.inline-offer-action:focus-visible { background: var(--green-700); color: #fff; }
.inline-offer-action svg { width: 14px; height: 14px; }
.inline-offer-actions { display: grid; gap: 6px; }
.inline-offer-action.whatsapp { background: var(--green-700); }

.search-comparison-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fafcfc;
  font-size: 11px;
}

.empty-state {
  padding: 65px 20px;
  text-align: center;
}

.result-count {
  min-height: 18px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.load-more {
  display: block;
  width: min(360px, 100%);
  min-height: 48px;
  padding: 0 18px;
  margin: 20px auto 0;
  color: var(--green-700);
  border: 1px solid #aedbcc;
  border-radius: 13px;
  background: var(--green-50);
  font-weight: 800;
  cursor: pointer;
}

.load-more:hover {
  color: #fff;
  border-color: var(--green-700);
  background: var(--green-700);
}

.load-more[hidden] {
  display: none;
}

.empty-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  place-items: center;
  color: var(--green-700);
  border-radius: 50%;
  background: var(--green-100);
}

.empty-state p {
  margin-bottom: 15px;
  color: var(--muted);
}

.text-button {
  padding: 0;
  color: var(--green-700);
  border: 0;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.side-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.currency-card,
.spotlight-card,
.trust-card,
.health-card {
  padding: 22px;
  border-radius: var(--radius-md);
}

.health-card {
  position: relative;
  overflow: hidden;
  color: #d3e9e3;
  border: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(17, 188, 136, 0.3), transparent 38%),
    linear-gradient(145deg, #063447, #075946);
}

.health-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -72px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.025);
}

.health-card .kicker,
.health-card h2 {
  color: #fff;
}

.health-card p:not(.kicker) {
  position: relative;
  z-index: 1;
  margin: 10px 0 15px;
  font-size: 13px;
}

.health-card > a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a4f1d5;
  font-size: 12px;
  font-weight: 800;
}

.health-card > a svg {
  width: 15px;
  height: 15px;
}

.health-orbit {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 17px;
  place-items: center;
  color: #b8f7df;
  border: 1px solid rgba(184, 247, 223, 0.3);
  border-radius: 50%;
  background: rgba(17, 188, 136, 0.12);
  box-shadow: 0 0 0 8px rgba(17, 188, 136, 0.05);
}

.bridge-live {
  scroll-margin-top: 104px;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 64px;
  padding: 30px;
  color: var(--ink);
  border: 1px solid #e9ded0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fffaf3, #fff4e6);
  box-shadow: var(--shadow-soft);
}

.bridge-live-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bridge-live-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
}

.bridge-live-icon svg {
  width: 24px;
  height: 24px;
}

.bridge-live .kicker {
  margin-bottom: 4px;
  color: var(--green-700);
}

.bridge-live h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(25px, 2.7vw, 38px);
  line-height: 1.12;
}

.bridge-live-copy > p {
  margin: 18px 0;
  color: #465f70;
  font-size: 15px;
}

.bridge-live-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.bridge-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  color: #fff;
  border-radius: 999px;
  background: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.bridge-live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.bridge-source-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(11, 45, 91, 0.3);
  text-underline-offset: 4px;
}

.bridge-source-link:hover,
.bridge-source-link:focus-visible {
  color: var(--green-700);
}

.bridge-source-link svg {
  width: 16px;
  height: 16px;
}

.bridge-player-shell {
  overflow: hidden;
  border: 1px solid rgba(6, 28, 63, 0.18);
  border-radius: 18px;
  background: var(--navy-950);
  box-shadow: 0 18px 38px rgba(6, 28, 63, 0.18);
}

.bridge-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #020914;
}

.bridge-player-shell > p {
  margin: 0;
  padding: 9px 14px;
  color: #c2d1df;
  font-size: 11px;
  text-align: center;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  color: var(--green-700);
  border-radius: 999px;
  background: var(--green-50);
  font-size: 11px;
  font-weight: 700;
}

.currency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.currency-grid label {
  position: relative;
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.currency-grid input {
  width: 100%;
  height: 46px;
  padding: 0 10px 0 37px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: #f9fbfb;
  font-weight: 700;
}

.currency-grid input:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(0, 166, 118, 0.1);
}

.input-prefix {
  position: absolute;
  left: 10px;
  bottom: 13px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
}

.display-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 13px;
  padding: 4px;
  border-radius: 11px;
  background: #edf3f5;
}

.display-switch button {
  min-height: 37px;
  padding: 0 7px;
  color: var(--muted);
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.display-switch button.active {
  color: var(--navy-900);
  background: #fff;
  box-shadow: 0 3px 10px rgba(7, 40, 63, 0.08);
}

.currency-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.currency-note a {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(0, 132, 93, 0.35);
  text-underline-offset: 2px;
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  color: #c3d4dd;
  border: 0;
  background: linear-gradient(145deg, var(--navy-900), #0d415d);
}

.spotlight-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(255, 255, 255, 0.025);
}

.spotlight-card .kicker,
.spotlight-card h2 {
  color: #fff;
}

.spotlight-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--green-500);
  border-radius: 12px;
  background: rgba(17, 188, 136, 0.14);
}

.spotlight-card p:not(.kicker) {
  margin: 10px 0 16px;
  font-size: 14px;
}

.legend {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 15px;
  font-size: 11px;
  font-weight: 600;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend .excellent {
  background: var(--green-500);
}

.legend .good {
  background: #6aa6d3;
}

.legend .regular {
  background: var(--amber);
}

.trust-check {
  width: 36px;
  height: 36px;
  color: var(--green-700);
}

.trust-card ul {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.trust-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.trust-card li svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--green-700);
}

.how-it-works {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) 2fr;
  gap: 35px;
  padding: 0 5vw 70px;
}

.how-it-works > div {
  padding: 10px 0;
}

.how-it-works ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
  list-style: none;
}

.how-it-works li {
  display: grid;
  min-height: 140px;
  align-content: center;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.how-it-works li:last-child {
  border-right: 0;
}

.how-it-works li > span {
  margin-bottom: 12px;
  color: var(--green-600);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.how-it-works strong {
  color: var(--navy-900);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 17px;
}

.how-it-works small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

footer {
  display: grid;
  grid-template-columns: auto minmax(250px, 650px) auto;
  align-items: center;
  gap: 35px;
  padding: 28px 5vw;
  color: #a9c0cc;
  background: var(--navy-950);
  font-size: 12px;
}

footer p {
  margin: 0;
  text-align: center;
}

footer > span {
  text-align: right;
}

.footer-brand {
  color: #fff;
  font-size: 15px;
}

.dialog {
  width: min(620px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  padding: 28px;
  overflow-y: auto;
  color: var(--ink);
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.dialog::backdrop {
  background: rgba(4, 28, 44, 0.72);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}

.dialog-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-right: 45px;
  margin-bottom: 24px;
}

.dialog-symbol {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  color: var(--green-700);
  border-radius: 14px;
  background: var(--green-100);
}

.dialog-symbol svg {
  width: 23px;
  height: 23px;
}

.dialog .kicker {
  margin-bottom: 5px;
}

.dialog-product-head {
  padding-right: 50px;
  margin-bottom: 22px;
}

.dialog-product-layout {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  margin-bottom: 20px;
}

.dialog-product-layout .dialog-product-head {
  padding-right: 48px;
  margin-bottom: 0;
}

.product-thumb.large {
  width: 94px;
  height: 94px;
  border-radius: 18px;
}

.regulatory-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  padding: 14px;
  margin-bottom: 17px;
  color: #675018;
  border: 1px solid #ebd18c;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff9e8, #fffdf7);
}

.regulatory-notice.official-alert {
  color: #873a32;
  border-color: #ebb1aa;
  background: linear-gradient(135deg, #fff0ed, #fff9f7);
}

.notice-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
}

.notice-icon svg {
  width: 19px;
  height: 19px;
}

.regulatory-notice strong {
  display: block;
  color: inherit;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 13px;
}

.regulatory-notice p {
  margin: 4px 0 5px;
  font-size: 12px;
}

.regulatory-notice a,
.offer-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dialog-product-head .category-label {
  margin-bottom: 7px;
}

.dialog-product-head h2 {
  font-size: 26px;
}

.dialog-product-head p {
  margin: 7px 0 0;
  color: var(--muted);
}

.offer-list {
  display: grid;
  gap: 10px;
}

.catalog-loading-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 120px;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.catalog-loading-thumb,
.catalog-loading-lines i,
.catalog-loading-price {
  display: block;
  border-radius: 10px;
  background: linear-gradient(90deg, #eef4f3 25%, #f8fbfa 50%, #eef4f3 75%);
  background-size: 220% 100%;
  animation: catalog-loading 1.4s ease-in-out infinite;
}

.catalog-loading-thumb {
  width: 56px;
  height: 56px;
}

.catalog-loading-lines {
  display: grid;
  gap: 8px;
}

.catalog-loading-lines i {
  width: min(420px, 90%);
  height: 12px;
}

.catalog-loading-lines i:nth-child(2) {
  width: min(280px, 68%);
}

.catalog-loading-lines i:nth-child(3) {
  width: min(210px, 54%);
}

.catalog-loading-price {
  width: 110px;
  height: 20px;
}

@keyframes catalog-loading {
  to { background-position: -220% 0; }
}

.offer-list-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 10px;
  color: var(--navy-900);
}

.offer-list-heading strong {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 13px;
}

.offer-list-heading span {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.offer-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.offer-item.best {
  border-color: #8bd0b9;
  background: var(--green-50);
}

.offer-item.stale {
  border-color: #efd0c6;
  background: #fffaf8;
}

.offer-store {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--green-700);
  border-radius: 10px;
  background: #fff;
}

.store-icon svg {
  width: 18px;
  height: 18px;
}

.offer-store strong,
.offer-price strong {
  display: block;
  color: var(--navy-900);
}

.offer-store > div {
  min-width: 0;
  flex: 1;
}

.store-name-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-900);
  text-decoration: none;
}

.store-name-link:hover,
.store-name-link:focus-visible {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.store-name-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.store-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.store-visit-link,
.store-copy-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  font: 800 12px "Manrope", sans-serif;
  border-radius: 10px;
}

.store-visit-link {
  color: #fff;
  text-decoration: none;
  background: var(--green-700);
}

.store-visit-link:hover,
.store-visit-link:focus-visible {
  color: #fff;
  background: var(--navy-900);
}

.store-visit-link svg {
  width: 14px;
  height: 14px;
}

.store-copy-link {
  color: var(--navy-900);
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.store-copy-link:hover,
.store-copy-link:focus-visible {
  color: var(--green-700);
  border-color: var(--green-300);
  background: var(--mint-50);
}

.offer-store small,
.offer-price small {
  color: var(--muted);
  font-size: 11px;
}

.offer-store small {
  display: block;
  margin-top: 3px;
}

.offer-link {
  margin-top: 5px;
  color: var(--green-700);
  text-decoration: none;
}

.offer-link svg {
  width: 13px;
  height: 13px;
}

.offer-price {
  text-align: right;
}

.offer-price strong {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 17px;
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.dialog-actions.single-action {
  grid-template-columns: 1fr;
}

.dialog-back-button {
  width: 100%;
  margin-top: 10px;
  padding: 11px 16px;
  color: var(--navy-900);
  font: 800 13px "Manrope", sans-serif;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.dialog-back-button:hover,
.dialog-back-button:focus-visible {
  color: var(--green-700);
  border-color: #8bd0b9;
  background: var(--green-50);
}

.dialog-primary-link {
  display: grid;
  min-height: 52px;
  place-items: center;
}

.restricted-footnote {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.restricted-footnote svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: #9a731d;
}

.secondary-button {
  min-height: 52px;
  padding: 0 16px;
  color: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.secondary-button:hover {
  border-color: var(--green-600);
  background: var(--green-50);
}

.alert-dialog form {
  display: grid;
  gap: 15px;
}

.alert-dialog form > label {
  display: grid;
  gap: 7px;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}

.alert-dialog form input {
  width: 100%;
  height: 50px;
  padding: 0 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  background: #f9fbfb;
}

.alert-dialog form input:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(0, 166, 118, 0.1);
}

.money-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f9fbfb;
}

.money-input:focus-within {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(0, 166, 118, 0.1);
}

.money-input span {
  padding-left: 13px;
  color: var(--green-700);
}

.money-input input {
  border: 0 !important;
  box-shadow: none !important;
}

.form-note {
  margin: -3px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: min(390px, calc(100% - 32px));
  padding: 14px 17px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: var(--navy-900);
  box-shadow: 0 15px 45px rgba(4, 28, 44, 0.28);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast svg {
  flex: 0 0 auto;
  color: var(--green-500);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(17, 188, 136, 0.42);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .product-row {
    grid-template-columns: 60px minmax(0, 1.3fr) minmax(130px, 0.75fr) minmax(105px, 0.55fr) auto;
    gap: 12px;
  }

  .radar-score {
    display: none;
  }

  .workspace {
    grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.8fr);
  }

  .how-it-works {
    grid-template-columns: 1fr;
  }

  .place-grid {
    grid-template-columns: 1fr 1fr;
  }

  .place-card:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .place-card:nth-child(2n) {
    border-right: 0;
  }

  .place-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 850px) {
  .topbar {
    min-height: 72px;
  }

  .desktop-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    padding: 12px 5vw 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--navy-900);
  }

  .desktop-nav.open {
    display: grid;
  }

  .nav-alert {
    margin-left: 0;
  }

  .mobile-menu {
    display: grid;
  }

  .intro-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-badge {
    order: -1;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .side-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .currency-card {
    grid-column: 1 / -1;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  footer > span {
    text-align: center;
  }
}

@media (max-width: 650px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 185px;
    max-width: 58vw;
    height: 52px;
  }

  .brand-line,
  kbd {
    display: none;
  }

  .brand-name {
    font-size: 16px;
  }

  .search-shell {
    padding-top: 40px;
  }

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

  .comparison-hub:first-child {
    grid-column: 1 / -1;
  }

  .comparison-hub {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 82px;
    padding: 12px;
  }

  .hub-icon {
    width: 40px;
    height: 40px;
  }

  .hub-arrow {
    display: none;
  }

  .hub-copy strong {
    font-size: 15px;
  }

  .hub-copy em {
    font-size: 10px;
  }

  h1 {
    font-size: 34px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-form .primary-button {
    min-height: 54px;
  }

  .workspace {
    padding-top: 22px;
  }

  .results-panel {
    padding: 18px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .sort-control {
    width: 100%;
    justify-content: space-between;
  }

  .sort-control select {
    max-width: 215px;
  }

  .comparison-filters {
    padding: 14px;
  }

  .filter-panel-controls {
    grid-template-columns: 1fr;
  }

  .rating-filter-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .rating-source-note {
    text-align: left;
  }

  .dose-control {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .dose-control select {
    width: 100%;
    margin-left: 0;
  }

  .product-row {
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: start;
    padding: 16px;
  }

  .product-thumb {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 56px;
    height: 56px;
  }

  .product-info {
    grid-column: 2;
    grid-row: 1;
  }

  .product-info h3 {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .product-meta,
  .store-meta {
    flex-wrap: wrap;
  }

  .store-block {
    grid-column: 2 / 3;
    grid-row: 2;
    min-width: 0;
  }

  .price-block {
    grid-column: 1 / -1;
    grid-row: 3;
    min-width: 0;
    text-align: left;
  }

  .price-block strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .price-block span {
    display: block;
    margin-top: 4px;
  }

  .row-action {
    display: none;
  }

  .product-row::after {
    content: "Ver comparação";
    grid-column: 1 / -1;
    padding-top: 11px;
    color: var(--green-700);
    border-top: 1px solid var(--line);
    font-size: 12px;
    font-weight: 700;
  }

  .side-panel {
    grid-template-columns: 1fr;
  }

  .city-guide {
    padding-bottom: 50px;
  }

  .city-guide-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 22px;
  }

  .place-grid {
    grid-template-columns: 1fr;
  }

  .place-card,
  .place-card:nth-child(2),
  .place-card:nth-child(3n),
  .place-card:nth-child(2n) {
    grid-column: auto;
    min-height: 0;
    padding: 22px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .place-card:first-child {
    border-top: 0;
  }

  .currency-card {
    grid-column: auto;
  }

  .how-it-works ol {
    grid-template-columns: 1fr 1fr;
  }

  .how-it-works li {
    min-height: 120px;
    border-bottom: 1px solid var(--line);
  }

  .how-it-works li:nth-child(2) {
    border-right: 0;
  }

  .how-it-works li:nth-child(3),
  .how-it-works li:nth-child(4) {
    border-bottom: 0;
  }

  .dialog {
    padding: 22px;
  }

  .offer-item,
  .dialog-actions {
    grid-template-columns: 1fr;
  }

  .catalog-loading-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 6px;
  }

  .catalog-loading-thumb {
    width: 48px;
    height: 48px;
  }

  .catalog-loading-price {
    display: none;
  }

  .store-link-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store-visit-link,
  .store-copy-link {
    width: 100%;
    min-height: 44px;
  }

  .offer-list-heading {
    display: grid;
    gap: 3px;
  }

  .offer-list-heading span {
    text-align: left;
  }

  .offer-price {
    padding-top: 10px;
    border-top: 1px solid var(--line);
    text-align: left;
  }

  .dialog-product-head h2 {
    font-size: 22px;
  }

  .dialog-product-layout {
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .product-thumb.large {
    width: 70px;
    height: 70px;
  }

  .dialog-product-layout .dialog-product-head {
    padding-right: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ViciaParaguai — busca e resultados no mesmo espaço */
.topbar {
  min-height: 76px;
  background: rgba(11, 45, 91, 0.98);
}

.brand { min-width: 238px; }
.brand-symbol-frame {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.search-shell {
  isolation: isolate;
  min-height: 250px;
  padding: 30px 5vw;
  color: var(--navy-950);
  background: #fff4e6 url('/viciaparaguai-hero-travel-v2.png') no-repeat right bottom / auto 100%;
}
.search-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #fff4e6 0%, rgba(255, 244, 230, 0.97) 38%, rgba(255, 244, 230, 0.3) 67%, transparent 82%);
  pointer-events: none;
}
.search-shell::after { display: none; }
.intro-row { min-height: 0; align-items: center; }
.hero-copy { width: min(650px, 57%); }
.eyebrow { color: var(--navy-900); font-size: 13px; }
.search-shell h1 {
  max-width: 650px;
  color: #172033;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(36px, 3.7vw, 54px);
  font-weight: 800;
  line-height: 1.08;
}
.search-shell h1 span { color: var(--red); }
.hero-subtitle {
  max-width: 530px;
  margin: 12px 0 0;
  color: #33465a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.workspace {
  align-items: start;
  padding-top: 24px;
  scroll-margin-top: 100px;
}
.results-panel { padding: 22px; }
.search-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.search-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.search-navigation a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.search-navigation a:hover { background: var(--green-50); color: var(--navy-900); }
.search-navigation a.active { color: #fff; background: var(--navy-900); }
.search-navigation svg { width: 18px; height: 18px; flex-shrink: 0; }
.category-picker { min-width: 0; }
.category-picker[open] { flex-basis: 100%; }
.category-picker summary {
  width: fit-content;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7faff;
  font-size: 14px;
  cursor: pointer;
}
.category-picker summary strong { color: var(--navy-900); font-weight: 600; }
.category-picker[open] summary { border-color: var(--green-600); }
.category-picker .quick-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 8px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7faff;
}
.category-picker .chip {
  min-height: 44px;
  color: var(--navy-900);
  border-color: var(--line);
  background: #fff;
  font-size: 14px;
}
.category-picker .chip:hover { border-color: var(--green-600); background: var(--green-50); }
.category-picker .chip.active { color: #fff; border-color: var(--green-600); background: var(--green-600); }
.results-panel .search-form {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 12px 0 0;
  scroll-margin-top: 104px;
}
.results-panel .search-field {
  min-width: 0;
  min-height: 60px;
  gap: 10px;
  padding-inline: 14px;
  border-color: #bfcfe0;
  border-radius: 12px;
  box-shadow: none;
}
.results-panel .search-field:focus-within {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px var(--green-100);
}
.results-panel .search-field input { min-width: 0; font-size: 16px; }
.results-panel .search-form .primary-button {
  min-height: 60px;
  padding-inline: 22px;
  border-radius: 12px;
  background: var(--red);
  box-shadow: none;
  font-size: 16px;
}
.results-panel .search-form .primary-button:hover { background: #c92e2b; }
.search-results { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.search-results .section-heading { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.search-results .section-heading > div { min-width: 0; flex: 1 1 230px; }
.search-results h2 { font-size: 20px; overflow-wrap: anywhere; }
.search-results .result-count { min-height: 0; font-size: 14px; }
.search-results .sort-control { flex-wrap: wrap; font-size: 14px; }
.search-results .sort-control select { min-height: 44px; max-width: 100%; font-size: 14px; }
.search-results .result-list { margin-top: 16px; }
.search-results .comparison-filters { margin-top: 0; }
.search-results .comparison-filters + .section-heading {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.search-results .comparison-filters[hidden] + .section-heading {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.search-results .empty-state { padding: 35px 16px; }
.search-navigation a:focus-visible,
.category-picker summary:focus-visible,
.category-picker .chip:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 3px;
}

.catalog-filters {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #bfd7ef;
  border-radius: 15px;
  background: linear-gradient(135deg, #f7fbff, #edf5ff);
}

.catalog-filter-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.catalog-filter-heading p {
  margin: 0 0 2px;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.catalog-filter-heading h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 17px;
}

.clear-filters {
  min-height: 40px;
  padding: 8px 12px;
  color: var(--green-700);
  border: 1px solid #a8c9e9;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.clear-filters:hover,
.clear-filters:focus-visible {
  color: #fff;
  border-color: var(--green-700);
  background: var(--green-700);
}

.clear-filters[hidden] { display: none; }

.catalog-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.catalog-filter-grid label {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.catalog-filter-grid select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 30px 8px 10px;
  color: var(--navy-900);
  border: 1px solid #bfcfe0;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
}

.catalog-filter-grid select:focus-visible {
  outline: 3px solid var(--green-100);
  border-color: var(--green-600);
}

.catalog-summary {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.catalog-summary h2 { font-size: 20px; }
.catalog-summary .demo-badge {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 12px;
  color: var(--muted);
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  font-size: 12px;
  letter-spacing: 0;
}
.catalog-summary .demo-badge span { flex-shrink: 0; box-shadow: none; }
.catalog-summary .catalog-metrics {
  display: grid;
  width: 100%;
  gap: 0;
  margin-top: 14px;
  padding: 0;
  border-radius: 0;
  background: none;
}
.catalog-summary .catalog-metrics > span {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  color: var(--muted);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  font-size: 14px;
}
.catalog-summary .catalog-metrics > span:last-child { border-bottom: 0; padding-bottom: 0; }
.catalog-summary .catalog-metrics strong { color: var(--navy-900); font-size: 16px; }

@media (max-width: 1080px) {
  .desktop-nav { gap: 2px; }
  .desktop-nav a, .nav-alert { padding-inline: 9px; }
  .results-panel .search-field kbd { display: none; }
  .bridge-live { grid-template-columns: minmax(230px, 0.62fr) minmax(420px, 1.38fr); }
}

@media (max-width: 850px) {
  .topbar { min-height: 68px; padding-inline: 16px; }
  .desktop-nav { top: 100%; }
  .brand { min-width: 0; }
  .brand-symbol-frame { flex-basis: 64px; width: 64px; height: 42px; border-radius: 7px; padding: 4px; }
  .brand-wordmark { font-size: 20px; }
  .search-shell { min-height: 220px; padding-block: 24px; }
  .hero-copy { width: 64%; }
  .search-shell h1 { font-size: clamp(28px, 4.8vw, 40px); }
  .search-shell .hero-subtitle { max-width: 410px; }
  .workspace { padding-top: 18px; scroll-margin-top: 86px; }
  .results-panel .search-form { scroll-margin-top: 86px; }
  .catalog-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bridge-live { grid-template-columns: minmax(0, 1fr); margin-bottom: 48px; padding: 24px; scroll-margin-top: 86px; }
  .search-comparison-head { grid-template-columns: 56px minmax(0, 1fr); }
  .search-comparison-summary {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    min-width: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    text-align: left;
  }
  .inline-offer-heading,
  .inline-offer-row {
    grid-template-columns: 30px minmax(150px, 1fr) minmax(112px, 135px) 88px;
    gap: 10px;
  }
  .inline-offer-row { padding-inline: 14px; }
}

@media (max-width: 650px) {
  .brand { gap: 8px; }
  .brand-wordmark { font-size: 18px; }
  .search-shell { min-height: 0; padding: 20px 18px; background-size: auto 100%; }
  .search-shell::before {
    background: linear-gradient(90deg, rgba(255, 244, 230, 0.98), rgba(255, 244, 230, 0.95) 48%, rgba(255, 244, 230, 0.32) 100%);
  }
  .hero-copy { width: 74%; }
  .search-shell .eyebrow { max-width: 200px; margin-bottom: 8px; font-size: 12px; letter-spacing: 0.06em; }
  .search-shell h1 { font-size: clamp(25px, 6.7vw, 36px); }
  .hero-subtitle { display: none; }
  .workspace { gap: 18px; padding: 16px 12px 36px; }
  .bridge-live { width: calc(100% - 24px); gap: 20px; margin-bottom: 36px; padding: 18px; border-radius: 18px; }
  .bridge-live-heading { align-items: flex-start; }
  .bridge-live-icon { width: 44px; height: 44px; border-radius: 13px; }
  .bridge-live h2 { font-size: 24px; }
  .bridge-live-copy > p { margin: 14px 0; font-size: 14px; }
  .bridge-player-shell { border-radius: 13px; }
  .results-panel { padding: 14px; border-radius: 18px; }
  .search-tools { display: block; padding-bottom: 10px; }
  .search-navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
  .search-navigation a { justify-content: center; padding: 8px 2px; font-size: 14px; letter-spacing: -0.025em; }
  .search-navigation svg { display: none; }
  .category-picker { margin-top: 8px; }
  .category-picker .quick-row { padding: 10px; }
  .results-panel .search-form { gap: 8px; margin-top: 10px; }
  .results-panel .search-field { min-height: 54px; padding-inline: 10px; gap: 7px; }
  .results-panel .search-field svg { width: 18px; height: 18px; }
  .results-panel .search-field input { text-overflow: ellipsis; }
  .results-panel .search-form .primary-button { min-height: 54px; padding-inline: 14px; }
  .search-results { margin-top: 16px; padding-top: 14px; }
  .search-results .section-heading { flex-direction: row; gap: 10px; }
  .search-results .section-heading > div { flex-basis: 100%; }
  .search-results h2 { font-size: 19px; }
  .search-results .sort-control { justify-content: space-between; width: 100%; }
  .search-results .sort-control select { max-width: min(215px, 70%); }
  .search-results .result-list { margin-top: 10px; }
  .result-list.comparison-results { gap: 14px; }
  .search-comparison-card { border-radius: 14px; }
  .search-comparison-head { grid-template-columns: 52px minmax(0, 1fr); gap: 11px; padding: 14px; }
  .search-comparison-head .product-thumb { width: 52px; height: 52px; }
  .search-comparison-title h3 { font-size: 18px; }
  .search-comparison-title p { font-size: 12px; }
  .search-comparison-summary { display: grid; gap: 2px; padding-top: 9px; }
  .inline-offer-heading { display: none; }
  .inline-offer-list { border-top: 0; }
  .inline-offer-row {
    grid-template-columns: 27px minmax(0, 1fr);
    align-items: start;
    gap: 8px 10px;
    min-height: 0;
    padding: 18px 14px;
  }
  .inline-offer-rank { grid-row: 1 / 4; width: 25px; height: 25px; }
  .inline-offer-store { grid-column: 2; }
  .inline-offer-price {
    grid-column: 2;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px 9px;
    text-align: left;
  }
  .inline-offer-price > strong { font-size: 22px; letter-spacing: -0.035em; }
  .inline-offer-price > small { margin-top: 0; }
  .inline-offer-cta { grid-column: 2; }
  .inline-offer-action { width: auto; min-width: 118px; flex: 1 1 118px; font-weight: 600; }
  .inline-offer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .inline-offer-store > strong { font-size: 16px; line-height: 1.4; }
  .inline-offer-store > small { font-size: 12px; }
  .search-comparison-title h3 { line-height: 1.3; overflow-wrap: anywhere; }
  .search-comparison-summary span { font-weight: 500; }
  .product-info h3 { font-size: 17px; line-height: 1.35; }
  .product-labels { gap: 5px 7px; }
  .product-row .price-block { padding-top: 12px; border-top: 1px solid var(--line); }
  .product-row .price-block strong { font-size: 24px; }
  .product-row .store-block strong { font-size: 13px; }
  .product-row .store-meta { gap: 4px 8px; font-size: 11px; }
  .product-row .price-block span { font-size: 11px; line-height: 1.6; }
  .search-comparison-footer { padding: 12px 14px 14px; }
  .catalog-filters { margin-bottom: 14px; padding: 13px; }
  .catalog-filter-heading { align-items: center; }
  .catalog-filter-heading h2 { font-size: 16px; }
  .catalog-filter-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .catalog-summary { padding: 22px; }
}

@media (max-width: 360px) {
  .results-panel .search-form { grid-template-columns: minmax(0, 1fr); }
}

/* Compact exchange strip: inline rates and currency tabs, without stacked cards. */
.rate-bar {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(230px, 0.9fr) auto;
  align-items: center;
  gap: 6px 24px;
  width: min(1380px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.rate-bar .card-title-row { justify-content: flex-start; gap: 10px; margin: 0; }
.rate-bar h2 { margin: 0; font-size: 14px; line-height: 1.4; white-space: nowrap; }
.rate-bar h2 span { color: var(--muted); font-weight: 500; margin-left: 6px; }
.rate-bar .live-pill { padding: 0; background: transparent; font-size: 12px; }
.rate-bar .live-pill > span { display: none; }
.rate-bar .currency-grid { display: flex; gap: 16px; margin: 0; }
.rate-bar .currency-grid label { display: flex; align-items: center; gap: 6px; min-width: 0; }
.rate-bar .input-prefix { position: static; font-size: 14px; }
.rate-bar .currency-grid input {
  width: 90px;
  height: 36px;
  padding: 0 3px;
  border: 0;
  border-bottom: 1px solid #b8c9cf;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
}
.rate-bar .currency-grid input:focus { border-bottom-color: var(--green-600); box-shadow: 0 2px 0 var(--green-600); }
.rate-bar .display-switch { display: flex; gap: 4px; margin: 0; padding: 0; background: transparent; border-radius: 0; }
.rate-bar .display-switch button { min-height: 36px; padding: 0 10px; font-size: 14px; border-radius: 0; border-bottom: 2px solid transparent; }
.rate-bar .display-switch button.active { color: var(--green-700); background: transparent; border-bottom-color: var(--green-600); box-shadow: none; }
.rate-details { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.rate-details summary { width: fit-content; padding: 4px 0; cursor: pointer; text-underline-offset: 3px; }
.rate-details summary:hover { color: var(--green-700); }
.rate-bar .currency-note { margin: 4px 0 0; padding: 0; border: 0; line-height: 1.5; }
@media (max-width: 1100px) {
  .rate-bar { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .rate-bar .card-title-row { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .rate-bar { width: calc(100% - 24px); grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
  .rate-bar .card-title-row { justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; }
  .rate-bar .currency-grid { gap: 20px; }
  .rate-bar .currency-grid label { flex: 1; }
  .rate-bar .currency-grid input { flex: 1; width: 70px; min-width: 0; }
  .rate-bar .display-switch { justify-content: flex-start; gap: 8px; }
  .rate-bar .display-switch button { padding: 0 8px; min-height: 36px; }
  .rate-details { grid-column: 1; }
}

/* Keep refinement secondary and search results close to the search field. */
.catalog-filters { margin: 10px 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.catalog-filters > summary { width: fit-content; padding: 8px 0; color: var(--navy-900); font-size: 14px; font-weight: 700; cursor: pointer; }
.catalog-filters > summary span { margin-left: 8px; color: var(--muted); font-weight: 400; }
.catalog-filters[open] .catalog-filter-heading { margin: 8px 0 12px; }
.catalog-filters[open] .catalog-filter-grid { margin-bottom: 16px; }
.comparison-filters { padding: 12px; margin: 10px 0 16px; border-radius: 10px; border-left-width: 3px; }
.comparison-filters .filter-panel-intro { display: none; }
.comparison-filters .filter-panel-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.comparison-filters .dose-control { flex: 1; min-width: 180px; padding: 0; background: transparent; border: 0; display: flex; align-items: center; gap: 10px; }
.comparison-filters .filter-copy strong { display: none; }
.comparison-filters .filter-copy small { font-size: 14px; }
.comparison-filters .dose-control select { width: auto; flex: 1; min-height: 40px; margin: 0; padding: 8px; font-size: 14px; }
@media (max-width: 650px) {
  .catalog-filters { padding: 0; }
  .catalog-filters > summary span { display: none; }
}

/* Local shopping plan: compact controls, readable estimates and saved references. */
#shopping-list-count { display: inline-grid; min-width: 22px; min-height: 22px; padding: 2px 5px; border-radius: 99px; background: #e5f4ef; color: #155e52; font-size: 11px; }
.planning-dialog { width: min(760px, calc(100% - 28px)); }
.planning-dialog h2 { margin: 5px 0 0; font-size: 26px; }
.planning-intro { margin: 16px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.shopping-item { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 18px; padding: 18px 0; border-top: 1px solid #e1e8e5; }
.shopping-item h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.shopping-item p { margin: 5px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.shopping-item small { display: block; font-size: 11px; color: var(--muted); margin: 8px 0; }
.shopping-item-controls label, .planning-fields label { display: grid; gap: 7px; font-size: 12px; font-weight: 650; }
.shopping-item-controls input, .planning-fields input { width: 100%; min-height: 44px; padding: 10px; border: 1px solid #baccc6; border-radius: 10px; font: inherit; background: white; color: var(--ink); }
.shopping-item-controls button { min-height: 44px; font-size: 12px; }
.save-offer-button { display: block; margin-top: 10px; min-height: 40px; padding: 8px 12px; border: 1px solid #b4d2c8; border-radius: 9px; background: #eff8f4; color: #155e52; font: inherit; font-size: 12px; font-weight: 650; text-align: left; cursor: pointer; }
.save-offer-button:hover { background: #dceee6; }
.planning-form fieldset { margin: 20px 0 0; padding: 18px; border: 1px solid #d6e3dd; border-radius: 14px; }
.planning-form legend { padding: 0 6px; font-size: 15px; font-weight: 750; }
.planning-fields { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.planning-fields label { align-content: end; }
.planning-total { margin-top: 18px; padding: 18px; border-radius: 14px; background: #f0f6f3; font-size: 13px; line-height: 1.6; }
.planning-total > div { display: flex; justify-content: space-between; gap: 16px; margin: 8px 0; }
.planning-total strong { white-space: nowrap; }
.shopping-grand-total { padding-top: 12px; border-top: 1px solid #ccded3; font-size: 17px; }
.planning-disclaimer { font-size: 12px; line-height: 1.65; color: var(--muted); margin: 16px 0; }
.planning-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.planning-actions button { min-height: 44px; }
.planning-actions button:disabled { opacity: .45; cursor: default; }
.shopping-empty { background: #f6f8f5; border-radius: 14px; padding: 20px; line-height: 1.6; font-size: 14px; }
.planning-form input:focus-visible, .save-offer-button:focus-visible { outline: 3px solid #5da08c; outline-offset: 3px; }
@media (max-width: 600px) {
 .planning-fields { grid-template-columns: 1fr; }
 .planning-dialog { padding: 24px 18px; }
 .planning-total { padding: 14px; }
 .shopping-grand-total { font-size: 15px; }
 .shopping-item { grid-template-columns: minmax(0,1fr) 82px; gap: 12px; }
}

/* Condition belongs to each store offer, including saved references. */
.offer-comparison-note { color: var(--muted); font-size: .82rem; line-height: 1.55; margin: 0 0 16px; }
.offer-store .offer-condition { display: block; color: var(--ink); font-weight: 600; margin-top: 5px; }

/* Camera beside the opening banner, below the header and exchange rates. */
.home-intro-with-camera {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  align-items: start;
  gap: 24px;
  width: min(1380px, calc(100% - 48px));
  margin: 20px auto 24px;
}
.home-intro-with-camera .search-shell {
  width: 100%;
  min-width: 0;
  min-height: 290px;
  padding: 28px;
  border-radius: 22px;
}
.home-intro-with-camera .hero-copy { width: 76%; }
.home-intro-with-camera .intro-row { width: 100%; }
.home-intro-with-camera .bridge-live-top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border-radius: 20px;
}
.bridge-live-top .bridge-live-heading { gap: 10px; }
.bridge-live-top .bridge-live-icon { width: 36px; height: 36px; border-radius: 10px; }
.bridge-live-top h2 { font-size: 21px; }
.bridge-live-top .kicker { font-size: 10px; }
.bridge-live-top .bridge-live-meta { margin-top: 10px; gap: 6px 8px; font-size: 10px; }
.bridge-live-top .bridge-live-badge { padding: 4px 7px; font-size: 9px; }
.bridge-live-top .bridge-source-link { margin-top: 8px; font-size: 11px; }
.bridge-live-top .bridge-player-shell { border-radius: 12px; box-shadow: none; }
.bridge-live-top .bridge-player-shell > p { padding: 7px 8px; font-size: 10px; }
@media (max-width: 900px) {
  .home-intro-with-camera { grid-template-columns: minmax(0, 1fr) minmax(250px, 310px); gap: 16px; }
  .home-intro-with-camera .search-shell { padding: 22px; }
  .home-intro-with-camera h1 { font-size: 34px; }
  .home-intro-with-camera .hero-copy { width: 100%; }
}
@media (max-width: 640px) {
  .home-intro-with-camera { grid-template-columns: minmax(0, 1fr); width: calc(100% - 24px); margin-top: 12px; gap: 12px; }
  .home-intro-with-camera .search-shell { min-height: 180px; padding: 20px; }
  .home-intro-with-camera h1 { font-size: 30px; }
  .home-intro-with-camera .hero-copy { width: 80%; }
  .home-intro-with-camera .bridge-live-top { justify-self: end; max-width: 320px; padding: 12px; }
}

/* Media family filters wrap into accessible touch targets on smaller screens. */
.media-family-filters { margin: 0 0 20px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #f0f8f5; }
.media-family-filters[hidden] { display: none; }
.media-family-filters h2 { margin: 0 0 7px; font-size: 18px; color: var(--ink); }
.media-family-filters p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.media-family-filters .quick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.media-family-filters .chip { min-height: 44px; white-space: normal; color: var(--ink); border-color: var(--line); background: var(--paper); }
.media-family-filters .chip:hover, .media-family-filters .chip.active { color: #fff; border-color: var(--green-700); background: var(--green-700); }
.media-family-filters .chip:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; }
@media (max-width: 650px) { .media-family-filters { padding: 14px; } }

/* Cost planning keeps blanks pending and separates shared trip expenses. */
.planning-fields[hidden], #planning-trip-fields[hidden] { display: none; }
.planning-fields { margin-top: 14px; }
.planning-check { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.6; margin-top: 14px; cursor: pointer; }
.planning-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green-700); }
.shopping-reference { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.shopping-reference summary { cursor: pointer; color: var(--green-700); font-size: 13px; font-weight: 650; padding: 6px 0; }
.shopping-reference .planning-fields { grid-template-columns: 1fr; }
.shopping-reference .planning-fields label { font-size: 12px; }
.shopping-reference input { min-width: 0; }
.planning-breakdown { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.7; margin: 12px 0; }
.planning-result-label { margin: 0 0 10px; font-size: 12px; color: var(--muted); font-weight: 650; }
@media (max-width: 600px) { .shopping-item > div { min-width: 0; } .planning-total strong { white-space: normal; } }

/* Shared finishing details: brand integrity, keyboard focus and safe mobile spacing. */
.brand-symbol-frame { box-shadow: none; }
.footer-brand { display: inline-flex; align-items: center; gap: 7px; }
.footer-brand img { display: block; width: 52px; height: 32px; padding: 3px; border-radius: 5px; background: #fffdf7; }
.footer-brand strong { margin-left: -7px; }
:where(a, button, input, select, summary):focus-visible { outline: 3px solid #00868d; outline-offset: 3px; }
.inline-offer-price > small { font-size: 11px; }
.search-comparison-card .freshness-badge { color: #00676d; border-color: #b8ded9; background: #eef9f7; letter-spacing: .025em; }
@media (max-width: 650px) {
  .topbar { padding-top: env(safe-area-inset-top, 0px); }
  .result-list { min-width: 0; }
  .search-comparison-head { padding: 16px 14px; }
  .search-comparison-head .product-thumb { grid-row: 1; }
  .search-comparison-footer { padding-bottom: 18px; text-align: left; line-height: 1.65; }
  .search-comparison-summary { gap: 3px; }
  .catalog-filters > summary { min-height: 44px; }
  .inline-offer-cta { min-width: 0; padding-top: 4px; }
  footer { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}
