:root {
  --ink: #17332d;
  --muted: #62736f;
  --green: #197c64;
  --green-dark: #105744;
  --mint: #dff3e9;
  --mint-light: #f3faf6;
  --cream: #fbf9f2;
  --orange: #ef8c52;
  --white: #ffffff;
  --line: #dfe8e3;
  --shadow: 0 20px 50px rgba(28, 75, 63, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

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

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

.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;
}

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.brand > span:last-child > span {
  color: var(--green);
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  transform: rotate(45deg);
}

.brand-mark span {
  position: absolute;
  background: var(--green);
  border-radius: 3px;
}

.brand-mark span:first-child {
  width: 11px;
  height: 30px;
  left: 9px;
}

.brand-mark span:last-child {
  width: 30px;
  height: 11px;
  top: 9px;
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #455c56;
  font-size: 14px;
  font-weight: 600;
}

nav a {
  transition: color 180ms ease;
}

nav a:hover {
  color: var(--green);
}

.location-button {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  color: var(--ink);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}

.location-button span {
  color: var(--green);
  font-size: 18px;
  margin-right: 5px;
}

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 50px;
  padding: 55px 0 75px;
}

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}

h1 {
  max-width: 760px;
  margin: 18px 0 22px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -4px;
}

h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-copy > p {
  max-width: 620px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.search-box {
  max-width: 720px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(39, 87, 74, .09);
}

.search-icon {
  width: 17px;
  height: 17px;
  border: 2px solid var(--green);
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  background: var(--green);
  transform: rotate(45deg);
}

.search-box input {
  min-width: 0;
  height: 50px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
}

.search-box input::placeholder {
  color: #8a9894;
}

.search-box button,
.empty-state button {
  border: 0;
  border-radius: 11px;
  color: white;
  background: var(--green);
  padding: 16px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.search-box button:hover,
.empty-state button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.quick-searches {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
  color: #7b8b86;
  font-size: 12px;
}

.quick-searches button {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #526761;
  background: transparent;
  cursor: pointer;
}

.hero-visual {
  min-height: 400px;
  position: relative;
}

.orbit {
  position: absolute;
  border: 1px solid #c9e1d6;
  border-radius: 50%;
}

.orbit-one {
  width: 360px;
  height: 360px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.orbit-two {
  width: 260px;
  height: 260px;
  left: 50%;
  top: 50%;
  border-style: dashed;
  transform: translate(-50%, -50%);
}

.pill-main {
  position: absolute;
  width: 104px;
  height: 220px;
  left: 50%;
  top: 50%;
  overflow: hidden;
  border-radius: 55px;
  background: var(--green);
  box-shadow: 0 26px 45px rgba(25, 124, 100, .25);
  transform: translate(-50%, -50%) rotate(34deg);
}

.pill-main span {
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 0;
  background: var(--orange);
}

.pill-main::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  top: 50%;
  background: rgba(255,255,255,.6);
}

.price-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 14px;
  background: rgba(255,255,255,.87);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.price-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.price-card strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 24px;
}

.price-card-top {
  top: 56px;
  right: 0;
  display: block;
  transform: rotate(3deg);
}

.price-card-top strong {
  color: var(--orange);
}

.price-card-bottom {
  bottom: 58px;
  left: 4px;
  transform: rotate(-2deg);
}

.price-card-bottom strong {
  font-size: 15px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #42b883;
  box-shadow: 0 0 0 5px #e2f6ed;
}

.ads-landing .site-header nav a {
  color: #435a54;
}

.ads-hero h1 {
  max-width: 820px;
}

.ads-safe-tags a {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #526761;
  background: transparent;
  font-weight: 700;
}

.ads-visual {
  display: grid;
  place-items: center;
}

.ads-orbit {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid #c9e1d6;
  border-radius: 50%;
}

.ads-price-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(100%, 340px);
}

.ads-price-stack article {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.ads-price-stack article:nth-child(2) {
  transform: translateX(22px);
}

.ads-price-stack small,
.ads-price-stack span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.ads-price-stack strong {
  display: block;
  margin: 5px 0 4px;
  color: var(--green);
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  line-height: 1.1;
}

.ads-trust strong {
  min-width: 112px;
  font-size: 24px;
}

.ads-comparison-preview {
  padding: 92px max(24px, calc((100% - 1180px) / 2)) 96px;
  background: white;
}

.ads-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.ads-preview-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfc;
  box-shadow: 0 10px 28px rgba(25, 70, 58, .05);
}

.ads-preview-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green);
  background: var(--mint);
  font-size: 11px;
  font-weight: 800;
}

.ads-preview-grid h3 {
  margin: 0 0 9px;
  font-size: 20px;
}

.ads-preview-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.ads-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 28px;
  border-radius: 14px;
  color: white;
  background: var(--green);
}

.ads-cta-panel .eyebrow,
.ads-cta-panel p {
  color: rgba(255,255,255,.78);
}

.ads-cta-panel h2 {
  margin: 8px 0 8px;
  font-size: 32px;
}

.ads-cta-panel p {
  max-width: 720px;
  margin: 0;
  line-height: 1.6;
}

.ads-cta-panel a {
  display: inline-flex;
  justify-content: center;
  min-width: 180px;
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--green);
  background: white;
  font-weight: 800;
}

.ads-how {
  background: var(--mint-light);
}

.ads-info {
  background: white;
  text-align: center;
}

.ads-info h2,
.ads-info p {
  margin-right: auto;
  margin-left: auto;
}

.ads-how .steps article > span {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--green);
  background: white;
  box-shadow: 0 6px 16px rgba(21, 60, 49, .06);
}

.ads-faq-section {
  padding: 86px max(24px, calc((100% - 980px) / 2)) 92px;
  background: white;
}

.ads-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.ads-faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfc;
  overflow: hidden;
}

.ads-faq-list summary {
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.ads-faq-list summary::-webkit-details-marker {
  display: none;
}

.ads-faq-list summary::after {
  content: "+";
  float: right;
  color: var(--green);
  font-weight: 800;
}

.ads-faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--mint-light);
}

.ads-faq-list details[open] summary::after {
  content: "-";
}

.ads-faq-list p {
  margin: 0;
  padding: 16px 20px 18px;
  color: var(--muted);
  line-height: 1.65;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--green);
  color: white;
  padding: 26px max(24px, calc((100% - 980px) / 2));
}

.trust-strip div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  border-right: 1px solid rgba(255,255,255,.22);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  font-family: "Manrope", sans-serif;
  font-size: 28px;
}

.trust-strip span {
  color: rgba(255,255,255,.74);
  font-size: 12px;
  line-height: 1.4;
}

.comparison-section {
  padding: 94px max(24px, calc((100% - 1180px) / 2)) 110px;
  background: white;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}

.section-heading h2 {
  margin: 10px 0 7px;
  font-size: 40px;
  letter-spacing: -1.8px;
}

.section-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.view-controls {
  min-width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 12px;
  align-items: end;
}

.control-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.view-controls label {
  color: var(--muted);
  font-size: 12px;
}

.view-controls select {
  width: 100%;
  min-width: 0;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: white;
  cursor: pointer;
}

.demo-notice {
  margin: 28px 0 18px;
  padding: 13px 16px;
  border-left: 3px solid var(--orange);
  border-radius: 4px 10px 10px 4px;
  color: #74543f;
  background: #fff6ed;
  font-size: 13px;
}

.demo-notice strong {
  margin-right: 6px;
}

.filter-row {
  display: flex;
  gap: 9px;
  margin: 22px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

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

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

.comparison-layout > * {
  min-width: 0;
}

.category-sidebar {
  position: sticky;
  top: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdfc;
  box-shadow: 0 8px 22px rgba(17, 84, 67, 0.05);
}

.category-sidebar-heading strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 15px;
}

.category-sidebar .view-controls {
  min-width: 0;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 16px;
}

.category-sidebar .control-field {
  gap: 5px;
  min-width: 0;
}

.category-sidebar .view-controls select {
  border-radius: 7px;
  background-color: white;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-group-label {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.category-filter-list {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  overflow: visible;
}

.category-filter-list .filter {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  white-space: normal;
}

.category-filter-list .filter:hover {
  color: var(--ink);
  background: #f0f7f4;
}

.category-filter-list .filter.active {
  border-color: var(--green);
  color: var(--green-dark);
  background: #e9f5ef;
}

.category-filter-list .filter span {
  min-width: 0;
  line-height: 1.25;
}

.category-filter-list .filter small {
  flex: 0 0 auto;
  min-width: 24px;
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--green);
  background: white;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.category-filter-list .filter.active small {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.72);
}

.comparison-results-panel {
  min-width: 0;
}

.filter {
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: white;
  cursor: pointer;
}

.filter.active {
  border-color: var(--green);
  color: white;
  background: var(--green);
}

.results-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.results-summary p {
  margin: 0;
}

.results-summary strong {
  color: var(--ink);
  font-size: 14px;
}

.results-summary span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.results-summary i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42b883;
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 355px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #bbd8cb;
  box-shadow: var(--shadow);
}

.best-badge {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.product-visual {
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mint-light);
}

.product-visual > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  mix-blend-mode: multiply;
}

.image-fallback {
  width: 116px;
  height: 66px;
  display: none;
}

.image-broken > img {
  display: none;
}

.image-broken > .image-fallback {
  display: block;
}

.medicine-box {
  position: relative;
  width: 116px;
  height: 66px;
  padding: 12px;
  border-radius: 5px;
  color: var(--green-dark);
  background: white;
  box-shadow: 0 12px 24px rgba(30, 77, 65, .13);
  transform: rotate(-4deg);
}

.medicine-box::after {
  content: "";
  position: absolute;
  width: 30%;
  height: 100%;
  top: 0;
  right: 0;
  background: var(--card-accent, var(--orange));
  border-radius: 0 5px 5px 0;
  opacity: .9;
}

.medicine-box strong,
.medicine-box small {
  display: block;
  position: relative;
  z-index: 1;
}

.medicine-box strong {
  max-width: 76px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
}

.medicine-box small {
  margin-top: 4px;
  font-size: 8px;
}

.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
}

.pharmacy {
  color: var(--green);
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.laboratory-chip {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  margin-top: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #48655d;
  background: var(--mint-light);
  font-size: 10px;
  font-weight: 800;
}

.product-card h3 {
  margin: 10px 0 5px;
  font-size: 17px;
  line-height: 1.25;
}

.product-description {
  min-height: 36px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.price strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  letter-spacing: -1px;
}

.price small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.price .promo-price {
  margin-top: 3px;
  color: var(--green);
  font-weight: 700;
}

.price-trend {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.price-trend-down {
  color: #126a4f;
  background: #e5f6ee;
}

.price-trend-up {
  color: #9a4b1f;
  background: #fff0df;
}

.trend-icon {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: currentColor;
  font-size: 10px;
  line-height: 1;
}

.trend-icon {
  color: inherit;
  background: rgba(255, 255, 255, .72);
}

.bank-promotions-section {
  width: 100%;
  margin: -66px 0 0;
  padding: 48px max(24px, calc((100% - 1180px) / 2)) 56px;
  color: white;
  background: #16352d;
}

.bank-promotions-section .section-heading {
  color: white;
  margin-bottom: 26px;
}

.bank-promotions-section .section-heading p {
  max-width: 720px;
  margin-top: 8px;
  color: rgba(255, 255, 255, .76);
}

.bank-promotions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bank-promo-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
}

.bank-promo-logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dce8e3;
  border-radius: 8px;
  background: #f8fbfa;
}

.bank-promo-logo img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
}

.bank-promo-logo-fallback {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--bank-color, var(--green));
  font-size: 15px;
  font-weight: 800;
}

.bank-promo-logo img + .bank-promo-logo-fallback {
  display: none;
}

.bank-promo-logo.image-broken img {
  display: none;
}

.bank-promo-logo.image-broken .bank-promo-logo-fallback {
  display: grid;
}

.bank-promo-content {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
}

.bank-promo-bank {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  min-height: 22px;
  padding: 4px 8px;
  border-radius: 999px;
  color: white;
  background: var(--bank-color, var(--green));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.bank-promo-heading h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
}

.bank-promo-content > strong {
  display: block;
  margin: 11px 0 14px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.bank-promo-content button,
.bank-promo-source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 9px 10px;
  border: 1px solid var(--green);
  border-radius: 8px;
  color: white;
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.bank-promo-content button:hover,
.bank-promo-source:hover {
  color: white;
  background: #115c49;
}

.bank-promo-modal-heading p {
  max-width: 760px;
}

.bank-promo-modal-image {
  display: grid;
  place-items: center;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfc;
}

.bank-promo-modal-image img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.bank-promo-modal-legal {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.bank-promo-modal-legal p {
  margin: 0;
}

.bank-promo-source {
  width: max-content;
  margin-top: 16px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border: 1px solid var(--green);
  border-radius: 9px;
  color: var(--green);
  background: white;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.product-link:hover {
  color: white;
  background: var(--green);
}

.product-detail-link {
  display: inline-flex;
  width: max-content;
  margin-bottom: 9px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.product-detail-link:hover {
  text-decoration: underline;
}

.empty-state {
  padding: 70px 20px;
  text-align: center;
  border: 1px dashed #bfd5cb;
  border-radius: 18px;
  background: var(--mint-light);
}

.empty-state div {
  width: 45px;
  height: 45px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 24px;
}

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

.empty-state p {
  color: var(--muted);
}

.empty-state button {
  margin-top: 10px;
}

.missing-product-form {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto;
  column-gap: 12px;
  align-items: end;
  width: min(650px, 100%);
  margin: 24px auto 8px;
  padding: 20px;
  border: 1px solid #c9ddd4;
  border-radius: 10px;
  background: white;
}

.missing-product-form strong,
.missing-product-form > span,
.missing-product-form small {
  display: block;
  grid-column: 1 / -1;
}

.missing-product-form > span {
  margin: 5px 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.missing-product-form label {
  display: block;
  width: 100%;
}

.missing-product-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #bfd5cb;
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.missing-product-form button {
  min-height: 48px;
  margin: 0;
  padding: 10px 16px;
  white-space: nowrap;
}

.missing-product-form button:disabled { opacity: .65; cursor: wait; }
.missing-product-form small { min-height: 18px; margin-top: 10px; color: #9a4b1f; }
.missing-product-form small.success { color: var(--green); font-weight: 700; }

.empty-state #clearSearch {
  margin-top: 12px;
  padding: 7px 4px;
  border-radius: 0;
  color: #557069;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.empty-state #clearSearch:hover {
  color: var(--green-dark);
  background: transparent;
  transform: none;
}

@media (max-width: 640px) {
  .empty-state { padding: 42px 14px; }
  .missing-product-form { grid-template-columns: 1fr; row-gap: 8px; }
  .missing-product-form label { display: block; width: 100%; }
  .missing-product-form button { width: 100%; margin: 0; white-space: normal; }
}

.data-status {
  padding: 24px;
  border: 1px dashed #bfd5cb;
  border-radius: 14px;
  color: var(--muted);
  background: var(--mint-light);
  text-align: center;
}

.data-status strong {
  display: block;
  color: var(--ink);
}

.load-more {
  display: block;
  margin: 30px auto 0;
  padding: 13px 22px;
  border: 1px solid var(--green);
  border-radius: 10px;
  color: var(--green);
  background: white;
  font-weight: 700;
  cursor: pointer;
}

.load-more:hover {
  color: white;
  background: var(--green);
}

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

body.modal-open {
  overflow: hidden;
}

.comparison-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 25, .66);
  backdrop-filter: blur(5px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 34px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 30px 90px rgba(8, 34, 27, .3);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--mint-light);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.modal-heading {
  padding-right: 42px;
}

.modal-heading h2 {
  margin: 9px 0 7px;
  font-size: 28px;
  letter-spacing: -1px;
}

.modal-heading p,
.modal-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.modal-product-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  margin-top: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.modal-product-detail-link:hover,
.modal-product-detail-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 24px 0 18px;
}

.modal-summary span {
  padding: 14px;
  border-radius: 11px;
  background: var(--mint-light);
}

.modal-summary small,
.modal-summary strong {
  display: block;
}

.modal-summary small {
  color: var(--muted);
  font-size: 10px;
}

.modal-summary strong {
  margin-top: 3px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
}

.modal-watchers strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9a2d54;
}

.offer-list {
  display: grid;
  gap: 9px;
  margin: 20px 0;
}

.offer-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 150px auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.offer-row.cheapest-offer {
  border-color: var(--orange);
  background: rgba(239, 140, 82, .08);
}

.offer-store {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.offer-position {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--green);
  background: var(--mint);
  font-size: 11px;
  font-weight: 800;
}

.watchers-badge {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #9a2d54;
  background: #fff1f5;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(154, 45, 84, .10);
}

.watchers-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: currentColor;
  stroke: none;
}

.offer-detail,
.offer-price strong,
.offer-price small {
  display: block;
}

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

.offer-detail {
  min-width: 0;
}

.original-product-name {
  display: block;
  max-width: 340px;
  margin-top: 5px;
  color: #7c8f89;
  font-size: 10px;
  line-height: 1.35;
}

.offer-pharmacy {
  display: block;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.offer-badge {
  width: max-content;
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.offer-laboratory {
  display: block;
  margin-top: 7px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.offer-stock {
  display: inline-flex;
  width: max-content;
  margin-top: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .25px;
}

.offer-stock.in-stock {
  color: #126a4f;
  background: #e5f6ee;
}

.offer-stock.out-stock {
  color: #9a4b1f;
  background: #fff1df;
}

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

.offer-price strong {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
}

.offer-price small {
  color: var(--green);
}

.offer-row > a {
  padding: 9px 11px;
  border-radius: 8px;
  color: white;
  background: var(--green);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.modal-note {
  padding-top: 4px;
}

.match-confidence {
  margin-top: 16px;
  padding: 11px 13px;
  border-left: 3px solid var(--green);
  border-radius: 4px 9px 9px 4px;
  color: var(--muted);
  background: var(--mint-light);
  font-size: 11px;
}

.match-confidence strong {
  display: block;
  margin-bottom: 2px;
  color: var(--green-dark);
}

.error-report-beta {
  margin: 18px 0 12px;
  padding: 14px;
  border: 1px solid #f0dcc6;
  border-radius: 16px;
  background: #fffaf4;
}

.detail-report-box {
  margin: -6px 0 22px;
}

.error-report-toggle {
  border: 0;
  border-radius: 999px;
  color: #8a552c;
  background: #ffeddc;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.error-report-toggle:hover {
  background: #ffe0bf;
}

.error-report-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.error-report-form[hidden] {
  display: none;
}

.error-report-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.error-report-form select,
.error-report-form textarea {
  width: 100%;
  border: 1px solid #ecd4bd;
  border-radius: 10px;
  color: var(--ink);
  background: white;
  padding: 10px 11px;
  font: inherit;
}

.error-report-form textarea {
  resize: vertical;
}

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

.error-report-actions button {
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--green);
  padding: 9px 13px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.error-report-actions button:disabled {
  opacity: .65;
  cursor: wait;
}

.error-report-actions span {
  color: var(--muted);
  font-size: 11px;
}

.error-report-actions span.success {
  color: #126a4f;
  font-weight: 800;
}

.error-report-actions span.error {
  color: #9a2d2d;
  font-weight: 800;
}

.how-it-works {
  padding: 100px max(24px, calc((100% - 980px) / 2));
  background: var(--mint-light);
}

.centered {
  display: block;
  text-align: center;
}

.section-heading.centered p {
  margin-right: auto;
  margin-left: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 54px;
}

.steps article {
  position: relative;
  text-align: center;
}

.steps article > span {
  position: absolute;
  top: -5px;
  right: calc(50% - 55px);
  color: #b7d5c8;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  position: relative;
  border-radius: 20px;
  background: var(--mint);
}

.search-step::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 19px;
  top: 17px;
  border: 3px solid var(--green);
  border-radius: 50%;
}

.search-step::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 3px;
  left: 37px;
  top: 39px;
  background: var(--green);
  transform: rotate(45deg);
}

.compare-step::before,
.compare-step::after {
  content: "";
  position: absolute;
  width: 17px;
  border-radius: 3px 3px 0 0;
  background: var(--green);
  bottom: 17px;
}

.compare-step::before {
  height: 20px;
  left: 15px;
  opacity: .55;
}

.compare-step::after {
  height: 31px;
  right: 15px;
}

.choose-step::before {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 30px;
  font-weight: 800;
}

.steps h3 {
  margin: 0 0 9px;
  font-size: 18px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.sources {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 80px max(24px, calc((100% - 1180px) / 2));
  color: white;
  background: var(--ink);
}

.sources h2 {
  margin: 10px 0 0;
  font-size: 36px;
}

.sources .eyebrow {
  color: #8ed4bd;
}

.source-list {
  min-width: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  gap: 8px;
}

.source-list a,
.source-pending {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-size: 14px;
}

.source-list a:hover {
  color: #8ed4bd;
}

.source-pending {
  color: rgba(255,255,255,.45);
}

.seo-content {
  width: 100%;
  margin: 0;
  padding: 64px max(24px, calc((100% - 1180px) / 2));
  border: 0;
  border-radius: 0;
  /*background: linear-gradient(135deg, rgba(237, 248, 242, .82), rgba(255, 255, 255, .96));*/
    background-color: white;
  box-shadow: none;
}

.seo-content h2 {
  max-width: 720px;
  margin: 9px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1.7px;
}

.seo-content p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.seo-content p + p {
  margin-top: 10px;
}

.seo-content.ads-info h2,
.seo-content.ads-info p {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.detail-page {
  width: min(1180px, calc(100% - 48px));
  margin: 38px auto 80px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .55fr);
  gap: 38px;
  align-items: center;
  margin-bottom: 26px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff, var(--mint-light));
  box-shadow: var(--shadow-soft);
}

.detail-hero h1 {
  max-width: 820px;
  margin: 10px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .98;
  letter-spacing: -2.4px;
}

.detail-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.detail-primary-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid #cbe4d8;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 26px rgba(25, 70, 58, .08);
}

.detail-primary-action div {
  display: grid;
  gap: 2px;
}

.detail-primary-action small,
.detail-primary-action span {
  color: var(--muted);
  font-size: 11px;
}

.detail-primary-action strong {
  color: var(--green-dark);
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.detail-primary-action a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.detail-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.detail-kpis span {
  min-width: 128px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.76);
}

.detail-kpis small,
.detail-kpis strong {
  display: block;
}

.detail-kpis small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-kpis strong {
  margin-top: 3px;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
}

.detail-watchers {
  cursor: help;
}

.detail-watchers strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9a2d54;
}

.detail-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.detail-insights article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 8px 22px rgba(25, 70, 58, .05);
}

.detail-insights strong {
  display: block;
  margin-top: 5px;
  font-size: 16px;
}

.detail-insights p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.price-alert-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .55fr);
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid #cbe4d8;
  border-radius: 18px;
  background: #f4fbf8;
}

.price-alert-section {
  background: #f4fbf8;
}

.price-alert-section .price-alert-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.price-alert-card > div {
  grid-column: 1 / -1;
  min-width: 0;
}

.price-alert-card strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
}

.price-alert-card p {
  margin: 4px 0 0;
  font-size: 12px;
}

.price-alert-card label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.price-alert-card input,
.price-alert-card select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 9px 10px;
  color: var(--ink);
  font: inherit;
}

.price-alert-card button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--green);
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

.price-alert-card button:disabled {
  opacity: .65;
  cursor: wait;
}

.price-alert-status {
  grid-column: 1 / -1;
  min-height: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.price-alert-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.price-alert-status.success {
  color: #126a4f;
}

.price-alert-status.error {
  color: #9a2d2d;
}

.product-enrichment-section {
  background: #fbfdfc;
}

.product-enrichment-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.product-enrichment-tabs button {
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid #cfe5dc;
  border-radius: 999px;
  color: #126a4f;
  background: #eff9f5;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.product-enrichment-tabs button[aria-selected="true"] {
  border-color: var(--green);
  color: white;
  background: var(--green);
  box-shadow: 0 6px 16px rgba(25, 122, 89, .16);
}

.product-enrichment-panel h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.product-enrichment-empty {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px dashed #cfe5dc;
  border-radius: 14px;
  background: white;
}

.product-enrichment-empty strong {
  color: var(--ink);
  font-size: 15px;
}

.product-enrichment-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.product-enrichment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-enrichment-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.product-enrichment-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-enrichment-grid strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.35;
}

.product-enrichment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.product-enrichment-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid #b9d8cd;
  border-radius: 8px;
  color: var(--green);
  background: white;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(21, 60, 49, .05);
}

.product-enrichment-action::after {
  content: "↗";
  font-size: 12px;
  line-height: 1;
}

.product-enrichment-action:hover {
  border-color: var(--green);
  color: white;
  background: var(--green);
}

.product-enrichment-action.action-prospectus {
  color: white;
  border-color: var(--green);
  background: var(--green);
}

.product-enrichment-action.action-prospectus:hover {
  background: #126a4f;
}

.product-enrichment-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.modal-price-alert {
  margin: 14px 0 12px;
  box-shadow: none;
}

.detail-visual {
  min-height: 260px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: white;
}

.detail-visual img {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.detail-section {
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 12px 34px rgba(25, 70, 58, .06);
}

.detail-copy h2 {
  margin: 0 0 8px;
}

.detail-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.detail-history-section {
  overflow: hidden;
}

.price-history-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  gap: 9px;
  align-items: end;
  min-height: 190px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: #f8fbfa;
}

.price-history-point {
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 6px;
  align-items: end;
  min-height: 150px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.price-history-point span {
  display: block;
  width: 100%;
  min-height: 18px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--green), #9dd8c0);
}

.price-history-point b {
  color: var(--ink);
  font-size: 10px;
}

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

.related-grid a,
.category-product-card {
  display: grid;
  gap: 7px;
  min-height: 120px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
  background: var(--mint-light);
  text-decoration: none;
}

.related-grid a:hover,
.category-product-card:hover {
  border-color: #b8d7cb;
  background: white;
  box-shadow: 0 10px 26px rgba(25, 70, 58, .08);
}

.related-grid strong,
.category-product-card strong {
  line-height: 1.25;
}

.related-grid span,
.category-product-card span {
  color: var(--muted);
  font-size: 12px;
}

.category-product-card b {
  margin-top: auto;
  color: var(--green);
}

.interest-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: start;
  padding: 92px max(24px, calc((100% - 1180px) / 2));
  background: var(--mint-light);
}

.interest-copy h2 {
  margin: 10px 0 14px;
  font-size: 40px;
  letter-spacing: -1.8px;
}

.interest-copy p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
}

.interest-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.interest-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.interest-form input,
.interest-form select,
.interest-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: white;
  padding: 12px 13px;
  font: inherit;
}

.interest-form textarea {
  resize: vertical;
}

.wide-field,
.interest-form button,
.interest-status {
  grid-column: 1 / -1;
}

.interest-form button {
  border: 0;
  border-radius: 11px;
  color: white;
  background: var(--green);
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
}

.interest-form button:disabled {
  opacity: .65;
  cursor: wait;
}

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

.interest-status.success {
  color: #126a4f;
}

.interest-status.error {
  color: #9a2d2d;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 28px max(24px, calc((100% - 1180px) / 2));
  color: #72827d;
  background: #102720;
  font-size: 11px;
}

.legal-page {
  width: min(980px, calc(100% - 48px));
  margin: 40px auto 90px;
}

.legal-card {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 64px);
}

.legal-intro {
  max-width: 760px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.legal-card article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.legal-card h2 {
  margin: 0 0 10px;
  font-size: 23px;
}

.legal-card article p,
.legal-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.brand-footer {
  color: white;
  font-size: 16px;
}

.brand-footer .brand-mark {
  width: 22px;
  height: 22px;
}

.brand-footer .brand-mark span:first-child {
  width: 8px;
  height: 22px;
  left: 7px;
}

.brand-footer .brand-mark span:last-child {
  width: 22px;
  height: 8px;
  top: 7px;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
  }

  .hero-visual {
    display: none;
  }

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

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

  .ads-preview-grid,
  .ads-cta-panel {
    grid-template-columns: 1fr;
  }

  .ads-cta-panel a {
    width: max-content;
  }

  .comparison-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-sidebar {
    position: static;
  }

  .category-sidebar .view-controls.sidebar-controls {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-insights {
    grid-template-columns: 1fr;
  }

  .product-enrichment-grid {
    grid-template-columns: 1fr;
  }

  .price-alert-card {
    grid-template-columns: 1fr 1fr;
  }

  .price-alert-card > div,
  .price-alert-card button,
  .price-alert-status {
    grid-column: 1 / -1;
  }

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

  .steps {
    gap: 25px;
  }
}

@media (max-width: 760px) {
  .category-sidebar .view-controls.sidebar-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 32px);
    height: 70px;
  }

  .location-button {
    padding: 8px 10px;
    font-size: 11px;
  }

  .hero {
    width: calc(100% - 32px);
    min-height: auto;
    padding: 56px 0 70px;
  }

  h1 {
    margin-top: 14px;
    font-size: 45px;
    letter-spacing: -2.8px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .ads-comparison-preview {
    padding: 70px 16px 74px;
  }

  .ads-faq-section {
    padding: 70px 16px 74px;
  }

  .ads-preview-grid {
    gap: 12px;
  }

  .ads-cta-panel {
    padding: 22px;
  }

  .ads-cta-panel h2 {
    font-size: 28px;
  }

  .ads-cta-panel a {
    width: 100%;
  }

  .search-box {
    grid-template-columns: 20px 1fr;
    padding: 8px 12px 8px 17px;
  }

  .search-box button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .bank-promotions-section {
    margin-top: -41px;
    padding: 34px 16px 40px;
  }

  .bank-promo-card {
    grid-template-rows: auto 1fr;
    padding: 12px;
  }

  .bank-promo-logo {
    height: auto;
  }

  .bank-promotions-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-strip div {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
    padding-bottom: 20px;
  }

  .trust-strip div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .comparison-section,
  .how-it-works {
    padding-top: 70px;
    padding-bottom: 75px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .view-controls {
    margin-top: 22px;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    padding: 14px;
  }

  .category-sidebar .view-controls.sidebar-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
  }

  .category-filter-list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .category-filter-list .filter {
    flex: 0 0 auto;
    width: max-content;
    white-space: nowrap;
  }

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

  .detail-page {
    width: calc(100% - 32px);
    margin-top: 26px;
  }

  .seo-content {
    width: 100%;
    margin: 0;
    padding: 42px 16px;
    border-radius: 0;
  }

  .seo-content h2 {
    font-size: 28px;
    letter-spacing: 0;
  }

  .seo-content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .detail-hero,
  .detail-section {
    padding: 22px;
    border-radius: 20px;
  }

  .detail-hero h1 {
    font-size: 34px;
    letter-spacing: -1.5px;
  }

  .detail-primary-action {
    width: 100%;
  }

  .detail-primary-action a {
    width: 100%;
  }

  .detail-visual {
    min-height: 190px;
  }

  .related-grid,
  .category-product-grid {
    grid-template-columns: 1fr;
  }

  .comparison-modal {
    align-items: end;
    padding: 0;
  }

  .modal-panel {
    width: 100%;
    max-height: 90vh;
    padding: 27px 18px 22px;
    border-radius: 20px 20px 0 0;
  }

  .error-report-beta {
    margin: 14px 0 10px;
    padding: 12px;
    border-radius: 12px;
  }

  .error-report-toggle,
  .error-report-actions button {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
  }

  .error-report-form select,
  .error-report-form textarea {
    min-width: 0;
    font-size: 16px;
  }

  .price-alert-card {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 14px;
  }

  .price-alert-card input,
  .price-alert-card select {
    min-width: 0;
    font-size: 16px;
  }

  .price-alert-card button {
    width: 100%;
  }

  .error-report-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .error-report-actions span {
    text-align: center;
  }

  .modal-heading h2 {
    font-size: 22px;
  }

  .modal-summary {
    grid-template-columns: 1fr;
  }

  .modal-summary span {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .offer-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .offer-row > a {
    grid-column: 1 / -1;
  }

  .results-summary span {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .sources {
    display: block;
  }

  .source-list {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .interest-section {
    grid-template-columns: 1fr;
    padding-top: 70px;
    padding-bottom: 75px;
  }

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

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 340px) {
  .category-sidebar .view-controls.sidebar-controls {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
