:root {
  --bg: #ffffff;
  --bg-soft: #fff8f3;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-alt: #f7f5f1;
  --ink: #111111;
  --muted: #676a70;
  --line: rgba(17, 17, 17, 0.08);
  --line-strong: rgba(17, 17, 17, 0.14);
  --accent: #ff5a3d;
  --accent-strong: #ff4929;
  --accent-soft: rgba(255, 90, 61, 0.12);
  --green: #1a8f46;
  --green-soft: #edf8ef;
  --gold: #f5c85c;
  --shadow-xl: 0 24px 80px rgba(28, 16, 8, 0.08);
  --shadow-lg: 0 20px 48px rgba(28, 16, 8, 0.06);
  --shadow-md: 0 14px 30px rgba(28, 16, 8, 0.05);
  --shadow-sm: 0 8px 16px rgba(28, 16, 8, 0.04);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1440px;
  --content-width: min(calc(100vw - 64px), var(--max-width));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 136, 102, 0.16), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(255, 202, 87, 0.12), transparent 18%),
    radial-gradient(circle at 78% 72%, rgba(52, 167, 92, 0.08), transparent 16%),
    linear-gradient(180deg, #fff 0%, #fff 55%, #fffaf7 100%);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.015) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.015) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  opacity: 0.4;
}

img,
svg {
  display: block;
}

button,
input,
select {
  font: inherit;
}

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

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

.page-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 22px 0 56px;
}

.section {
  margin-top: 32px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.04);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.9rem, 2vw, 2.3rem);
  font-weight: 800;
  line-height: 1;
}

.brand-accent {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 1rem;
  color: #232323;
}

.site-nav a,
.nav-login,
.location-summary,
.panel-action,
.inline-link,
.load-more {
  transition:
    color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.inline-link:hover,
.inline-link:focus-visible,
.nav-login:hover,
.nav-login:focus-visible {
  color: var(--accent);
}

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #202020;
  cursor: pointer;
}

.button:disabled,
.nav-login:disabled,
.panel-action:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.icon.large {
  width: 32px;
  height: 32px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(520px, 0.9fr);
  gap: 38px;
  align-items: start;
  padding: 56px 0 18px;
}

.hero-copy {
  position: relative;
  padding: 34px 0 0;
}

.hero-copy h1,
.section-head h2,
.import-copy h2,
.cta-copy h3 {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 8.8ch;
  font-size: clamp(4rem, 7vw, 6.4rem);
  line-height: 0.92;
}

.headline-dot,
.section-head h2::after,
.import-copy h2 span,
.eyebrow {
  color: var(--accent);
}

.hero-text,
.section-head p,
.panel-head p,
.import-copy p,
.cta-copy p,
.site-footer p {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-text {
  max-width: 34rem;
  margin: 28px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 24px;
  border-radius: 20px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.panel-action:hover,
.panel-action:focus-visible,
.location-summary:hover,
.location-summary:focus-visible,
.load-more:hover,
.load-more:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff7357 0%, #ff4b2d 90%);
}

.button-secondary {
  color: #232323;
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
}

.button-full {
  width: 100%;
}

.hero-visual-note {
  position: relative;
  margin-top: 44px;
  width: min(560px, 100%);
  height: 220px;
}

.note-bag {
  position: absolute;
  inset: 38px auto 0 0;
  width: 58%;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.72), transparent 48%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  filter: blur(0.2px);
}

.note-bag::before,
.note-bag::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(28deg, rgba(209, 184, 155, 0.45) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(-28deg, rgba(209, 184, 155, 0.45) 0 2px, transparent 2px 16px);
  border-radius: 28px;
  opacity: 0.7;
}

.note-produce {
  position: absolute;
  inset: 56px 0 0 26px;
}

.produce {
  position: absolute;
  display: block;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.produce-tomato {
  left: 2%;
  bottom: 18px;
  width: 94px;
  height: 94px;
  background:
    radial-gradient(circle at 34% 30%, #ff7f70 0, #df2b16 52%, #ae1406 100%);
}

.produce-tomato::before,
.produce-tomato::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 34px;
  height: 22px;
  border-radius: 999px 999px 0 999px;
  background: linear-gradient(180deg, #4ca94f, #276229);
}

.produce-tomato::before {
  left: 18px;
  transform: rotate(-22deg);
}

.produce-tomato::after {
  right: 14px;
  transform: rotate(42deg);
}

.produce-apple {
  left: 34%;
  bottom: 6px;
  width: 112px;
  height: 112px;
  background:
    radial-gradient(circle at 35% 28%, #ffe3b1 0, #f49d3f 42%, #d66f16 100%);
}

.produce-apple::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 6px;
  height: 26px;
  border-radius: 999px;
  background: #643f1d;
  transform: translateX(-50%) rotate(12deg);
}

.produce-leaf {
  left: 58%;
  bottom: 54px;
  width: 168px;
  height: 132px;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.2), transparent 46%),
    linear-gradient(140deg, #b2e08f 0%, #80be5f 42%, #5d8e40 100%);
  border-radius: 42px 84px 34px 92px;
  transform: rotate(-10deg);
}

.produce-leaf::before,
.produce-leaf::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 999px;
}

.produce-leaf::before {
  width: 6px;
  height: 92px;
  top: 16px;
  left: 78px;
}

.produce-leaf::after {
  width: 80px;
  height: 6px;
  top: 60px;
  left: 44px;
  transform: rotate(-26deg);
}

.hero-panel,
.toolbar-card,
.alert-panel,
.workflow-card,
.cta-band,
.site-footer,
.market-marquee {
  border: 1px solid rgba(17, 17, 17, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92));
  box-shadow: var(--shadow-xl);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -11% -18% auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(255, 90, 61, 0.16), rgba(255, 90, 61, 0) 70%);
  pointer-events: none;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
}

.input-shell,
.control select,
.stacked-control input,
.stacked-control select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.input-shell input,
.control select,
.stacked-control input,
.stacked-control select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}

.hero-panel-block {
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

.panel-head h2,
.panel-inline-head h2,
.workflow-card h3,
.alert-panel h3 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.panel-head p {
  margin: 8px 0 0;
  font-size: 0.98rem;
}

.panel-inline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
}

.chip-grid,
.compact-store-row,
.category-row,
.market-marquee-track,
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.store-chip,
.category-chip,
.brand-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.store-chip:hover,
.store-chip:focus-visible,
.category-chip:hover,
.category-chip:focus-visible,
.brand-pill:hover,
.brand-pill:focus-visible,
.offer-card:hover,
.offer-card:focus-visible,
.mini-offer-card:hover,
.mini-offer-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 90, 61, 0.24);
  box-shadow: var(--shadow-md);
}

.store-chip.is-active,
.category-chip.is-active {
  border-color: rgba(255, 90, 61, 0.32);
  background: linear-gradient(180deg, rgba(255, 96, 68, 0.09), rgba(255, 255, 255, 0.96));
}

.store-chip-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.08);
}

.store-chip-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 0.96rem;
}

.store-chip-text small {
  display: none;
}

.store-chip-check {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 180ms ease, transform 180ms ease;
}

.store-chip.is-active .store-chip-check {
  opacity: 1;
  transform: scale(1);
}

.mini-offer-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.mini-offer-card,
.offer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.mini-offer-card {
  padding: 14px;
}

.offer-card {
  padding: 16px;
  cursor: pointer;
}

.offer-card.is-selected {
  border-color: rgba(255, 90, 61, 0.32);
  box-shadow: 0 24px 48px rgba(255, 90, 61, 0.14);
}

.offer-card-top,
.offer-card-footer,
.mini-offer-meta,
.panel-list-row,
.status-line,
.alert-panel-head,
.section-head,
.toolbar-controls,
.cta-points,
.site-footer,
.footer-links,
.footer-links div {
  display: flex;
}

.offer-card-top,
.panel-list-row,
.status-line,
.alert-panel-head,
.section-head,
.site-footer {
  align-items: center;
  justify-content: space-between;
}

.offer-list-toggle {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.offer-list-toggle.is-added {
  background: linear-gradient(180deg, rgba(16, 158, 93, 0.14), rgba(16, 158, 93, 0.08));
  border-color: rgba(16, 158, 93, 0.18);
}

.offer-art,
.selected-product-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--art-a) 22%, white) 0%, white 42%, color-mix(in srgb, var(--art-b) 18%, white) 100%);
}

.offer-art {
  min-height: 178px;
  margin: 14px 0 16px;
  padding: 18px;
}

.offer-art::before,
.offer-art::after,
.selected-product-card::before,
.selected-product-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
}

.offer-art::before,
.selected-product-card::before {
  width: 140px;
  height: 140px;
  right: -18px;
  top: -12px;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--art-b) 92%, white), color-mix(in srgb, var(--art-b) 54%, #111));
}

.offer-art::after,
.selected-product-card::after {
  width: 120px;
  height: 120px;
  left: -26px;
  bottom: -34px;
  background: radial-gradient(circle at 45% 35%, color-mix(in srgb, var(--art-c) 90%, white), color-mix(in srgb, var(--art-c) 58%, #111));
}

.art-monogram {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 68px;
  padding: 0 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  box-shadow: var(--shadow-sm);
}

.art-detail {
  position: absolute;
  inset: auto 16px 16px auto;
  z-index: 1;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.mini-offer-card .offer-art {
  min-height: 138px;
  margin: 0 0 12px;
}

.mini-offer-card .art-monogram {
  min-width: 56px;
  min-height: 56px;
  font-size: 1.3rem;
}

.mini-offer-card h3,
.offer-copy h3 {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.mini-offer-card h3 {
  font-size: 1.02rem;
}

.offer-copy p,
.mini-offer-meta,
.offer-copy small,
.workflow-card p,
.workflow-status,
.cta-points,
.footer-links a,
.toolbar-label,
.control span,
.stacked-control span,
.location-summary,
.brand-pill,
.feature-list span,
.feature-list strong,
.section-head p,
.load-more,
.panel-list-row span,
.panel-list-row strong {
  font-size: 0.96rem;
}

.mini-offer-meta,
.offer-copy p,
.offer-copy small,
.workflow-card p,
.feature-list span,
.site-footer p,
.panel-list-row span,
.panel-list-row strong {
  color: var(--muted);
}

.discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(23, 140, 67, 0.12);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
}

.offer-copy {
  display: grid;
  gap: 6px;
}

.offer-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
}

.offer-price-row strong,
#selected-offer-price {
  color: var(--accent-strong);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.offer-price-row span,
.mini-offer-price span {
  color: #96989d;
  text-decoration: line-through;
}

.mini-offer-price strong {
  font-size: 1.36rem;
  line-height: 1;
}

.mini-offer-price span {
  font-size: 0.82rem;
}

.offer-card-footer {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.store-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #252525;
}

.store-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

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

.market-marquee {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 999px;
}

.market-marquee-label {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.market-marquee-track {
  flex: 1;
  overflow: hidden;
}

.brand-pill {
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding-inline: 16px;
  border-radius: 999px;
  font-weight: 700;
}

.offers {
  padding-top: 24px;
}

#angebote,
#supermaerkte,
#wie,
#alarm {
  scroll-margin-top: 124px;
}

.section-head {
  gap: 24px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(3rem, 4vw, 4.8rem);
  line-height: 0.95;
}

.section-head h2::after {
  content: ".";
}

.section-head p {
  max-width: 42rem;
  margin: 14px 0 0;
}

.location-summary {
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #252525;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.toolbar-card {
  position: sticky;
  top: 112px;
  padding: 20px;
  border-radius: var(--radius-lg);
}

.toolbar-row {
  display: flex;
  gap: 18px;
}

.toolbar-row + .toolbar-row {
  margin-top: 18px;
}

.toolbar-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #232323;
  font-weight: 700;
}

.toolbar-select {
  width: 100%;
}

.category-row {
  gap: 10px;
}

.category-chip {
  padding: 12px 16px;
  font-weight: 600;
}

.toolbar-controls {
  align-items: stretch;
  gap: 14px;
}

.control,
.stacked-control {
  display: grid;
  gap: 8px;
}

.control {
  flex: 1;
}

.control span,
.stacked-control span {
  color: #303236;
  font-weight: 700;
}

.control select,
.stacked-control input,
.stacked-control select {
  min-height: 58px;
}

.toggle-card {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  min-height: 58px;
  font-weight: 700;
}

.toggle-card.compact {
  margin-top: 18px;
}

.toggle-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-ui {
  position: relative;
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.1);
}

.toggle-ui::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.15);
  transition: transform 180ms ease, background-color 180ms ease;
}

.toggle-card input:checked + .toggle-ui {
  background: rgba(255, 90, 61, 0.4);
}

.toggle-card input:checked + .toggle-ui::after {
  transform: translateX(26px);
  background: var(--accent);
}

.compact-store-row {
  margin-top: 18px;
}

.compact-store-row .store-chip {
  min-height: 58px;
}

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

.load-more {
  margin: 24px auto 0;
  min-width: 280px;
  min-height: 60px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  color: #252525;
  font-weight: 700;
}

.alert-panel {
  position: sticky;
  top: 112px;
  padding: 22px;
  border-radius: 30px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.panel-action {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  cursor: pointer;
}

.selected-product-card {
  min-height: 220px;
  margin-top: 22px;
  padding: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.selected-product-mark {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 88px;
  padding: 0 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  color: #111111;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.07em;
  box-shadow: var(--shadow-md);
}

.offer-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  font-weight: 800;
  letter-spacing: -0.02em;
  width: fit-content;
}

.selected-product-info {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  max-width: 180px;
  text-align: right;
}

.selected-product-info p {
  margin: 0 0 10px;
  color: #474a4f;
}

.status-line {
  margin-top: 20px;
  gap: 14px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 700;
}

.stacked-control {
  margin-top: 18px;
}

.panel-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.panel-list-row {
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.import {
  display: grid;
  gap: 28px;
  padding-top: 30px;
}

.import-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.import-copy h2 {
  font-size: clamp(3.3rem, 5vw, 5.8rem);
  line-height: 0.95;
}

.import-copy h2 span {
  display: inline-block;
}

.import-copy p {
  max-width: 42rem;
  margin: 0;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: start;
  gap: 16px;
}

.feature-list .icon {
  width: 22px;
  height: 22px;
  color: var(--green);
}

.feature-list strong,
.workflow-card h3,
.cta-copy h3,
.footer-links h4 {
  color: #161616;
}

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

.workflow-card {
  position: relative;
  padding: 26px 24px 22px;
  border-radius: 28px;
  min-height: 320px;
}

.workflow-step {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff7a60, #ff5638);
  color: #fff;
  font-weight: 800;
}

.workflow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-top: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 90, 61, 0.12), rgba(255, 90, 61, 0.05));
  color: var(--ink);
}

.workflow-card h3 {
  margin-top: 26px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.workflow-card p {
  margin: 12px 0 0;
  line-height: 1.7;
}

.workflow-status {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 700;
}

.cta-band {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 36px;
}

.cta-art {
  position: relative;
  height: 210px;
}

.cta-envelope {
  position: absolute;
  left: 18px;
  bottom: 0;
  width: 190px;
  height: 126px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ff8369, #ff5637);
  box-shadow: var(--shadow-lg);
}

.cta-envelope::before,
.cta-envelope::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent);
  clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%);
  border-radius: 26px;
}

.cta-note {
  position: absolute;
  left: 52px;
  bottom: 78px;
  width: 112px;
  height: 128px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0 8%, transparent 8% 18%, rgba(0, 0, 0, 0.08) 18% 21%, transparent 21% 36%, rgba(0, 0, 0, 0.08) 36% 39%, transparent 39% 54%, rgba(0, 0, 0, 0.08) 54% 57%, transparent 57%),
    linear-gradient(180deg, #fff, #f9f3ef);
  box-shadow: var(--shadow-md);
}

.cta-note::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  left: 34px;
  top: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff7d63, #ff5637);
}

.cta-coin {
  position: absolute;
  left: 156px;
  bottom: 8px;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 32%, #ffbe93, #ff7b52 46%, #ef4c24 100%);
  box-shadow: var(--shadow-md);
}

.cta-coin::after {
  content: "%";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

.cta-copy h3 {
  font-size: clamp(3rem, 4vw, 4.8rem);
  line-height: 0.94;
}

.cta-copy p {
  margin: 16px 0 24px;
}

.cta-points {
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  color: var(--muted);
}

.cta-points span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--green);
}

.brand-strip {
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
}

.trust-note-band {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding: 6px 0 10px;
}

.trust-note-head h3 {
  margin: 6px 0 0;
  color: #101729;
  font-size: clamp(2rem, 2.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.trust-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.legal-note-card a {
  color: var(--accent);
  font-weight: 700;
}

.site-footer {
  gap: 42px;
  margin-top: 34px;
  padding: 28px;
  border-radius: 32px;
}

.footer-brand {
  flex: 1.15;
}

.footer-brand p {
  max-width: 34rem;
  margin: 16px 0 0;
}

.footer-meta {
  margin-top: 14px;
  color: #60729b;
  font-size: 0.92rem;
}

.footer-meta a {
  color: var(--accent);
  font-weight: 700;
}

.footer-links {
  flex: 1;
  gap: 34px;
  justify-content: space-between;
}

.footer-links div {
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-legal-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 320;
  min-width: 260px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.offer-empty {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed rgba(255, 90, 61, 0.24);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
}

:root {
  --bg-soft: #f6faff;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-alt: #f3f8ff;
  --ink: #0f1d52;
  --muted: #516286;
  --line: rgba(28, 67, 168, 0.14);
  --line-strong: rgba(28, 67, 168, 0.24);
  --accent: #1b5be6;
  --accent-strong: #124fd8;
  --accent-soft: rgba(27, 91, 230, 0.11);
  --green: #1f8b49;
  --green-soft: #edf8f0;
  --gold: #f5cb31;
  --shadow-xl: 0 28px 72px rgba(18, 50, 138, 0.08);
  --shadow-lg: 0 18px 36px rgba(18, 50, 138, 0.07);
  --shadow-md: 0 12px 22px rgba(18, 50, 138, 0.06);
  --shadow-sm: 0 6px 14px rgba(18, 50, 138, 0.05);
}

body {
  background:
    radial-gradient(circle at left 22%, rgba(79, 144, 255, 0.14), transparent 28%),
    radial-gradient(circle at 78% 22%, rgba(92, 150, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 56%, #f7fbff 100%);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body::before {
  opacity: 0.16;
}

.page-shell {
  padding-top: 14px;
}

.site-header {
  top: 0;
  gap: 30px;
  padding: 20px 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: none;
}

.brand {
  align-items: center;
  gap: 12px;
  font-size: clamp(1.85rem, 2vw, 2.2rem);
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.brand-accent {
  color: var(--accent);
}

.site-nav {
  gap: 42px;
  font-size: 1rem;
  color: #1b1b1d;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1b1b1d;
  font-size: 1rem;
}

.nav-login {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero {
  gap: 48px;
  padding: 46px 0 28px;
  grid-template-columns: minmax(0, 0.98fr) minmax(640px, 1.02fr);
}

.hero::before {
  content: "";
  position: absolute;
  left: -220px;
  top: 38px;
  width: 920px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 58% 34%, rgba(217, 233, 255, 0.96), rgba(217, 233, 255, 0.34) 52%, rgba(217, 233, 255, 0) 72%);
  pointer-events: none;
}

.hero-copy {
  z-index: 1;
  padding-top: 46px;
}

.hero-copy h1 {
  max-width: 9.7ch;
  font-size: clamp(3.75rem, 6.5vw, 5.7rem);
  line-height: 0.93;
  color: #0a1b56;
}

.hero-text {
  max-width: 31rem;
  color: #263968;
  font-size: 1.12rem;
  line-height: 1.55;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-stat {
  display: grid;
  gap: 4px;
  min-width: 140px;
  padding: 14px 16px;
  border: 1px solid rgba(27, 91, 230, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
}

.hero-stat strong {
  color: #0b1b55;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.hero-stat span {
  color: #5d6d8d;
  font-size: 0.84rem;
  font-weight: 600;
}

.button-primary {
  background: linear-gradient(180deg, #2d6fff 0%, #1656dd 100%);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(26, 92, 229, 0.14);
  background: rgba(255, 255, 255, 0.95);
}

.hero-visual-note,
.market-marquee {
  display: none;
}

.hero-panel,
.toolbar-card,
.alert-panel,
.workflow-card,
.cta-band,
.site-footer,
.brand-strip {
  border: 1px solid rgba(30, 79, 193, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.96));
}

.hero-panel {
  padding: 24px 28px 20px;
  box-shadow: 0 16px 40px rgba(14, 61, 162, 0.1);
}

.hero-panel::before {
  display: none;
}

.hero-search-panel-head {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
}

.hero-search {
  gap: 12px;
}

.hero-query-shell {
  grid-column: 1 / -1;
}

.input-shell,
.control select,
.stacked-control input,
.stacked-control select,
.toggle-card,
.store-chip,
.category-chip,
.offer-card,
.panel-action {
  border-color: rgba(26, 92, 229, 0.12);
}

.input-shell,
.control select,
.stacked-control input,
.stacked-control select {
  min-height: 62px;
  background: #ffffff;
}

.input-shell input::placeholder {
  color: #8190ae;
}

.button-locate {
  min-width: 206px;
}

.panel-head h2 {
  color: var(--ink);
  font-size: 1.05rem;
}

.panel-head p {
  display: none;
}

.hero-panel-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(27, 91, 230, 0.06), rgba(27, 91, 230, 0.04));
  color: var(--accent);
  font-weight: 500;
}

.chip-grid {
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.store-chip {
  min-height: 88px;
  justify-content: center;
  padding: 12px 10px;
  border-radius: 14px;
  background: #ffffff;
}

.store-chip-hero {
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px 18px;
}

.store-chip-compact {
  min-height: 68px;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 14px;
}

.store-chip:hover,
.store-chip:focus-visible,
.category-chip:hover,
.category-chip:focus-visible,
.brand-pill:hover,
.brand-pill:focus-visible,
.offer-card:hover,
.offer-card:focus-visible {
  border-color: rgba(27, 91, 230, 0.26);
  box-shadow: var(--shadow-md);
}

.store-chip.is-active,
.category-chip.is-active {
  border-color: rgba(27, 91, 230, 0.86);
  background: linear-gradient(180deg, rgba(27, 91, 230, 0.08), rgba(255, 255, 255, 1));
  box-shadow: 0 16px 32px rgba(34, 84, 198, 0.1);
}

.store-chip-logo {
  min-width: 58px;
  width: 58px;
  height: 42px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.store-chip-compact .store-chip-logo {
  min-width: 34px;
  width: 34px;
  height: 24px;
}

.store-chip-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-chip-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #f0f4fb, #ffffff);
  color: #52627e;
  font-size: 0.92rem;
  font-weight: 700;
}

.store-chip-text {
  font-size: 0.85rem;
  color: #152044;
}

.store-chip-hero .store-chip-text {
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.15;
}

.store-chip-compact .store-chip-text {
  font-size: 0.86rem;
  line-height: 1.1;
}

.store-chip-check {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  background: #2154c6;
  color: #ffffff;
}

.brand-pill {
  gap: 10px;
  min-height: 46px;
  color: #203359;
}

.brand-pill img {
  width: 34px;
  height: 22px;
  object-fit: contain;
}

.insights-ribbon {
  margin-top: 18px;
}

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

.insight-card {
  display: grid;
  gap: 12px;
  min-height: 168px;
  padding: 18px;
  border: 1px solid rgba(30, 79, 193, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.94));
  box-shadow: var(--shadow-lg);
}

.insight-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.insight-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(27, 91, 230, 0.12);
}

.insight-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.insight-kicker {
  color: #607191;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card h3 {
  margin: 0;
  color: #0b1b55;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.insight-value {
  color: var(--accent);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.insight-copy {
  color: #516286;
  line-height: 1.55;
}

.insight-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(27, 91, 230, 0.08);
  color: #22417a;
  font-size: 0.84rem;
  font-weight: 700;
}

.insight-offer-link {
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.insight-offer-link:hover .insight-copy,
.insight-offer-link:focus-visible .insight-copy {
  color: #34508a;
}

.insight-offer-link:focus-visible {
  outline: 2px solid rgba(33, 84, 198, 0.4);
  outline-offset: 3px;
  border-radius: 16px;
}

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

.section-head h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.1;
  color: #0b1b55;
}

.section-head h2::after {
  content: none;
}

.offers-link {
  margin-bottom: 6px;
  color: var(--accent);
}

.workspace {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

.toolbar-card {
  position: static;
  padding: 18px;
}

.toolbar-search-row {
  align-items: end;
}

.control-search {
  min-width: 280px;
}

.compact-input-shell {
  min-height: 58px;
  padding-inline: 18px;
}

.category-row {
  gap: 12px;
}

.category-chip {
  border-radius: 999px;
  color: #24355b;
}

.category-chip.is-active {
  color: var(--accent);
}

.toggle-card input:checked + .toggle-ui {
  background: rgba(27, 91, 230, 0.28);
}

.toggle-card input:checked + .toggle-ui::after {
  background: var(--accent);
}

.compact-store-row .store-chip {
  min-height: 70px;
  min-width: 132px;
}

.filter-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(27, 91, 230, 0.1);
  border-radius: 18px;
  background: rgba(244, 248, 255, 0.82);
}

.filter-summary-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #48607f;
}

.filter-summary strong {
  color: #0b1b55;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(27, 91, 230, 0.1);
  color: #20355f;
  font-size: 0.88rem;
  font-weight: 700;
}

.filter-summary-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.summary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(27, 91, 230, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #20355f;
  font-weight: 700;
  cursor: pointer;
}

.offer-grid {
  gap: 18px;
  margin-top: 18px;
}

.offer-card {
  padding: 18px;
  border-radius: 22px;
}

.offer-card.is-selected {
  border-color: rgba(27, 91, 230, 0.3);
  box-shadow: 0 20px 40px rgba(27, 91, 230, 0.1);
}

.offer-card-top {
  gap: 12px;
}

.offer-card-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.offer-card-store span {
  color: #5a6887;
  font-size: 0.95rem;
}

.offer-store-logo {
  width: 44px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.offer-list-toggle {
  color: #0f1d52;
}

.offer-list-toggle.is-added {
  background: linear-gradient(180deg, rgba(18, 122, 75, 0.14), rgba(18, 122, 75, 0.08));
  border-color: rgba(18, 122, 75, 0.22);
  color: #127a4b;
}

.offer-card-body {
  display: grid;
  grid-template-columns: minmax(160px, 42%) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 12px;
}

.offer-art {
  margin: 0;
}

.offer-art.image-art {
  min-height: 202px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
}

.offer-art.image-art.compact {
  min-height: 128px;
}

.offer-art.image-art::before,
.offer-art.image-art::after {
  display: none;
}

.offer-product-image {
  width: 100%;
  height: 100%;
  max-height: 186px;
  object-fit: contain;
}

.offer-copy {
  gap: 10px;
}

.offer-copy h3 {
  font-size: 1.12rem;
  line-height: 1.25;
  color: #182752;
}

.offer-copy p {
  color: #4c5c7d;
  line-height: 1.52;
}

.discount-pill {
  margin-bottom: 0;
  background: #ffe15a;
  color: #1c2853;
  font-size: 0.85rem;
}

.compact-badge {
  width: fit-content;
  margin-top: 2px;
}

.offer-price-row strong,
#selected-offer-price {
  color: var(--price-color, var(--accent-strong));
}

.offer-card-footer {
  margin-top: 14px;
  justify-content: flex-end;
}

.distance {
  color: #687792;
  font-size: 0.95rem;
}

.card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(27, 91, 230, 0.18);
  border-radius: 999px;
  color: var(--accent);
}

.load-more {
  margin-top: 20px;
  border-radius: 999px;
}

.alert-panel {
  position: sticky;
  top: 112px;
  width: 100%;
  max-width: none;
  margin-left: 0;
  align-self: start;
}

.selected-product-card {
  display: grid;
  align-items: center;
  min-height: 208px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
}

.selected-product-card::before,
.selected-product-card::after {
  opacity: 0.42;
}

.selected-product-image {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  width: 160px;
  height: 140px;
  object-fit: contain;
}

.selected-product-info {
  max-width: 190px;
  color: var(--ink);
}

.history-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(27, 91, 230, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.8), rgba(255, 255, 255, 0.94));
}

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

.history-head span,
.history-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.history-head span {
  color: #20345c;
  font-weight: 700;
}

.history-head strong {
  color: #56708f;
  font-size: 0.88rem;
}

.history-chart-shell {
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(27, 91, 230, 0.08);
}

#price-history-chart {
  display: block;
  width: 100%;
  height: auto;
}

.history-grid-line {
  stroke: rgba(27, 91, 230, 0.08);
  stroke-width: 1;
}

.history-area {
  fill: rgba(27, 91, 230, 0.12);
}

.history-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.history-point {
  fill: #ffffff;
  stroke: var(--accent);
  stroke-width: 2.5;
}

.history-label {
  fill: #5b6d8a;
  font-size: 11px;
  font-weight: 700;
}

.history-price {
  fill: #0b1b55;
  font-size: 12px;
  font-weight: 800;
}

.history-empty-copy {
  fill: #6a7d9a;
  font-size: 13px;
  font-weight: 600;
}

.history-range-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(36, 152, 87, 0.12);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.offer-badge {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.status-chip {
  background: rgba(36, 152, 87, 0.12);
}

.workflow-step {
  background: linear-gradient(180deg, #4e86ff, #1c5be8);
}

.site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.98));
}

@media (max-width: 1240px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 980px;
  }

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

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

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

  .toolbar-card,
  .alert-panel {
    position: static;
  }

  .alert-panel {
    order: 0;
    max-width: 100%;
    margin-left: 0;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1040px) {
  .page-shell {
    padding-top: 18px;
  }

  .site-header {
    padding: 18px 0;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

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

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

  .offer-card-body {
    grid-template-columns: 1fr;
  }

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

  .import-copy {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --content-width: min(calc(100vw - 32px), var(--max-width));
  }

  .hero-copy {
    padding-top: 18px;
  }

  .hero-panel,
  .toolbar-card,
  .alert-panel,
  .workflow-card,
  .cta-band,
  .site-footer {
    border-radius: 24px;
  }

  .hero-search,
  .toolbar-controls {
    grid-template-columns: 1fr;
    display: grid;
  }

  .toolbar-search-row {
    flex-direction: column;
  }

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

  .offer-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

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

  .market-marquee,
  .section-head,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .selected-product-image {
    width: 132px;
    height: 116px;
  }

  .selected-product-info {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    text-align: left;
    margin-top: 68px;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(calc(100vw - 20px), var(--max-width));
    padding-bottom: 28px;
  }

  .site-header {
    gap: 14px;
    flex-wrap: wrap;
  }

  .brand {
    font-size: 1.7rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    gap: 24px;
    padding-top: 26px;
  }

  .hero-copy h1,
  .section-head h2,
  .import-copy h2,
  .cta-copy h3 {
    letter-spacing: -0.05em;
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 18vw, 4.6rem);
  }

  .store-chip-compact {
    min-width: 0;
  }

  .hero-text,
  .section-head p,
  .import-copy p,
  .cta-copy p,
  .panel-head p {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stat {
    min-width: calc(50% - 6px);
  }

  .button,
  .location-summary,
  .load-more,
  .nav-login {
    min-height: 56px;
  }

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

  .market-marquee {
    border-radius: 24px;
  }

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

  .filter-summary-copy,
  .filter-summary-actions {
    width: 100%;
  }

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

  .offer-price-row strong,
  #selected-offer-price {
    font-size: 1.7rem;
  }

  .selected-product-image {
    position: relative;
    left: auto;
    bottom: auto;
    width: 118px;
    height: 110px;
    margin-top: 18px;
  }

  .cta-art {
    height: 170px;
  }
}

/* Template refinement */

body {
  background:
    radial-gradient(circle at 14% 20%, rgba(76, 131, 255, 0.14), transparent 22%),
    radial-gradient(circle at 86% 22%, rgba(94, 145, 255, 0.12), transparent 18%),
    radial-gradient(circle at 82% 54%, rgba(127, 171, 255, 0.16), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 58%, #f7faff 100%);
}

body::before {
  opacity: 0.1;
}

.page-shell {
  width: min(calc(100vw - 38px), 1460px);
  padding-top: 18px;
}

.brand,
.hero-copy h1,
.section-head h2,
.import-copy h2,
.cta-copy h3 {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.brand {
  gap: 10px;
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-header {
  position: relative;
  top: 0;
  gap: 28px;
  padding: 0;
  background: transparent;
  border: 0;
}

.nav-pill-shell,
.quick-actions-shell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(40, 88, 200, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(29, 76, 181, 0.09);
}

.nav-pill-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  color: #1d1d20;
  font-size: 1rem;
  font-weight: 700;
}

.nav-pill-link .icon {
  width: 22px;
  height: 22px;
}

.nav-pill-link.is-active {
  color: var(--accent);
}

.nav-pill-link.is-active::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.quick-actions-shell {
  gap: 10px;
  margin-left: auto;
  padding: 12px;
}

.quick-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: #20222c;
}

.nav-login {
  min-height: 0;
  padding: 0;
}

.hero {
  display: block;
  padding: 30px 0 0;
}

.hero::before {
  left: -140px;
  top: 84px;
  width: 680px;
  height: 420px;
  background: radial-gradient(circle at 42% 42%, rgba(219, 232, 255, 0.95), rgba(219, 232, 255, 0.12) 72%, rgba(219, 232, 255, 0) 100%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 42px;
  align-items: start;
  padding-inline: 24px;
}

.hero-copy {
  max-width: 780px;
  padding-top: 18px;
}

.hero-copy h1 {
  max-width: 10.5ch;
  color: #0d1224;
  font-size: clamp(3.2rem, 4.3vw, 4.95rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.headline-dot {
  color: var(--accent);
}

.hero-text {
  max-width: 34rem;
  margin-top: 16px;
  color: #4f6089;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.58;
}

.hero-doodle {
  width: 160px;
  height: 14px;
  margin-top: 14px;
  border-bottom: 4px solid var(--accent);
  border-radius: 999px;
  transform: rotate(-2deg);
}

.hero-reset-row {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.hero-reset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 68px;
  padding: 0 20px;
  border: 1px solid rgba(33, 84, 198, 0.12);
  border-radius: 22px;
  background: rgba(246, 250, 255, 0.94);
  color: #1b47b0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.hero-reset-row[hidden] {
  display: none;
}

.hero-search-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
  max-width: 780px;
  padding: 18px;
  border: 1px solid rgba(39, 94, 214, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 48px rgba(28, 79, 197, 0.12);
}

.hero-search-card {
  position: relative;
}

.hero-search-top,
.hero-query-row,
.hero-search-actions {
  display: grid;
  gap: 14px;
}

.hero-search-top {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.hero-query-row {
  grid-template-columns: minmax(0, 1fr) 84px;
  align-items: stretch;
}

.hero-search-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.hero-location-shell,
.hero-query-shell,
.hero-radius-shell {
  min-height: 72px;
  padding: 0 22px;
  border: 1px solid rgba(39, 94, 214, 0.08);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-location-shell {
  gap: 14px;
  padding-right: 20px;
}

.hero-query-shell {
  gap: 12px;
  padding-right: 8px;
}

.hero-query-shell input {
  min-width: 0;
}

.hero-radius-shell {
  gap: 12px;
  padding-right: 16px;
  min-width: 0;
}

.hero-radius-shell select {
  width: 100%;
  border: 0;
  background: transparent;
  color: #17203b;
  font-size: 1rem;
  font-weight: 700;
  appearance: none;
  cursor: pointer;
}

.hero-shell-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eef3ff, #f8faff);
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-location-shell input,
.hero-query-shell input {
  font-size: 1.02rem;
  font-weight: 700;
  color: #17203b;
}

.hero-location-shell input::placeholder,
.hero-query-shell input::placeholder,
.hero-radius-shell select {
  color: #7f90b6;
}

.hero-radius-shell select {
  color: #17203b;
  font-size: 0.96rem;
}

.chevron-inline {
  color: #5b6d96;
}

.hero-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 72px;
  border: 0;
  border-radius: 26px;
  background: linear-gradient(180deg, #2d6fff 0%, #1656dd 100%);
  color: #ffffff;
  box-shadow: 0 24px 48px rgba(37, 96, 228, 0.24);
  cursor: pointer;
}

.hero-search-submit .icon {
  width: 34px;
  height: 34px;
}

.hero-locate-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 20px;
  border: 1px solid rgba(39, 94, 214, 0.08);
  border-radius: 999px;
  color: #182241;
  background: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.hero-stats-hidden,
.market-marquee,
.insights-ribbon {
  display: none;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 520px;
  min-height: 480px;
  padding: 18px 18px 24px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px 14px 14px;
  border-radius: 42px;
  background:
    radial-gradient(circle at top right, rgba(76, 128, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 246, 255, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 26px 70px rgba(19, 55, 136, 0.1);
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 48px;
  width: 200px;
  height: 200px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(76, 128, 255, 0.22), rgba(76, 128, 255, 0) 72%);
  pointer-events: none;
}

.hero-phone {
  position: absolute;
  right: 84px;
  top: 18px;
  width: 278px;
  height: 492px;
  padding: 18px 14px;
  border-radius: 44px;
  background: linear-gradient(180deg, #17181d, #2d2f36);
  box-shadow: 0 38px 72px rgba(10, 20, 48, 0.22);
  transform: rotate(6deg);
  z-index: 2;
}

.hero-phone::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 112px;
  height: 26px;
  border-radius: 0 0 18px 18px;
  background: #0f1014;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.hero-phone-screen::before {
  content: "";
  position: absolute;
  right: -34px;
  top: 90px;
  width: 160px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(112, 164, 255, 0.22), rgba(112, 164, 255, 0) 70%);
}

.hero-phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 26px 18px 12px;
}

.hero-phone-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f1c48;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-phone-brand img {
  width: 16px;
  height: 16px;
}

.hero-phone-location {
  color: #7f8eb0;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-phone-section {
  padding: 0 14px 16px;
}

.hero-phone-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #151c38;
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-preview-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.hero-preview-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(40, 88, 200, 0.08);
}

.hero-preview-media {
  display: grid;
  place-items: center;
  min-height: 86px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f2f6ff);
}

.hero-preview-media img {
  width: 100%;
  height: 84px;
  object-fit: contain;
}

.hero-preview-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 84px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--art-a), var(--art-b), var(--art-c));
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
}

.hero-preview-copy {
  display: grid;
  gap: 5px;
  align-content: start;
}

.hero-preview-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #7081a8;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-preview-brand img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.hero-preview-copy strong {
  color: #0c1632;
  font-size: 0.9rem;
  line-height: 1.2;
}

.hero-preview-copy span {
  color: #6f7e9f;
  font-size: 0.72rem;
  line-height: 1.4;
}

.hero-preview-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 3px;
}

.hero-preview-price strong {
  color: #f33a3a;
  font-size: 1rem;
}

.hero-preview-price span {
  color: #9ea8bc;
  text-decoration: line-through;
}

.hero-preview-empty {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  color: #6a7a9a;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-floating-logo {
  position: absolute;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 48px rgba(35, 85, 200, 0.14);
  z-index: 3;
}

.hero-floating-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo-rewe {
  top: 78px;
  left: 26px;
  transform: rotate(10deg);
}

.logo-lidl {
  top: 190px;
  left: 10px;
  transform: rotate(-10deg);
}

.logo-aldi {
  top: 104px;
  right: 18px;
  transform: rotate(14deg);
}

.logo-dm {
  top: 236px;
  right: 0;
  transform: rotate(8deg);
}

.logo-edeka {
  top: 348px;
  right: 28px;
  transform: rotate(6deg);
}

.logo-rossmann {
  top: 320px;
  left: 42px;
  transform: rotate(-8deg);
}

.hero-spark {
  position: absolute;
  border-radius: 999px;
  background: var(--accent);
}

.hero-spark-a {
  top: 78px;
  right: 278px;
  width: 6px;
  height: 42px;
  transform: rotate(-14deg);
}

.hero-spark-b {
  top: 104px;
  right: 228px;
  width: 36px;
  height: 4px;
  transform: rotate(50deg);
}

.hero-spark-c {
  top: 240px;
  right: 294px;
  width: 34px;
  height: 4px;
  transform: rotate(-56deg);
}

.store-rail,
.category-rail {
  margin-top: 24px;
}

.store-rail-shell,
.category-rail-shell,
.offers {
  padding: 14px;
  border: 1px solid rgba(35, 85, 200, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(35, 84, 199, 0.08);
}

.offers {
  padding: 24px;
}

#hero-store-filters {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(118px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

#hero-store-filters::-webkit-scrollbar,
.category-row-showcase::-webkit-scrollbar {
  display: none;
}

.store-chip {
  min-height: 94px;
  justify-content: center;
  padding: 12px 10px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: none;
}

.store-chip-hero {
  flex-direction: column;
  gap: 8px;
}

.store-chip-logo {
  width: 58px;
  height: 42px;
}

.store-chip-text {
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
}

.store-chip-check {
  right: 10px;
  bottom: 10px;
  width: 22px;
  height: 22px;
}

.category-row-showcase {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-chip {
  gap: 12px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  font-weight: 700;
  white-space: nowrap;
}

.category-chip .icon {
  width: 20px;
  height: 20px;
}

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

.section-head h2 {
  color: #0d1224;
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.section-head p {
  max-width: 38rem;
  margin-top: 8px;
  color: #7382a3;
  font-size: 0.98rem;
}

.offers-link {
  align-self: center;
  margin-bottom: 0;
}

.workspace {
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 18px;
}

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

.toolbar-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.toolbar-search-row {
  justify-content: space-between;
}

.control-search {
  flex: 1;
  max-width: 320px;
}

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

.control span {
  color: #3c5078;
  font-size: 0.82rem;
  font-weight: 700;
}

.control select,
.compact-input-shell,
.toggle-card {
  min-height: 54px;
  border-radius: 18px;
  background: #ffffff;
}

.compact-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.compact-store-row .store-chip {
  min-height: 56px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 16px;
}

.compact-store-row .store-chip-logo {
  width: 30px;
  height: 22px;
}

.filter-summary {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 18px;
}

.filter-summary strong {
  font-size: 0.92rem;
}

.filter-pill {
  min-height: 34px;
  font-size: 0.82rem;
}

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

.offer-card {
  padding: 16px;
  border-radius: 24px;
  min-width: 0;
}

.offer-card-top {
  gap: 8px;
}

.offer-card-store {
  gap: 10px;
}

.offer-card-store span {
  font-size: 0.8rem;
  font-weight: 600;
}

.offer-store-logo {
  width: 34px;
  height: 22px;
}

.offer-list-toggle {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.8rem;
}

.offer-card-body {
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.offer-art.image-art {
  min-height: 150px;
  padding: 14px;
}

.offer-product-image {
  max-height: 120px;
}

.offer-copy {
  gap: 4px;
}

.offer-copy h3 {
  color: #101729;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.18;
}

.offer-copy p {
  font-size: 0.84rem;
  line-height: 1.45;
}

.discount-pill {
  font-size: 0.8rem;
}

.offer-price-row {
  margin-top: 8px;
}

.offer-price-row strong,
#selected-offer-price {
  font-size: 1.18rem;
  font-weight: 800;
}

.offer-price-row span {
  font-size: 0.88rem;
}

.offer-card-footer {
  margin-top: 12px;
}

.distance {
  font-size: 0.8rem;
}

.card-arrow {
  width: 34px;
  height: 34px;
}

.alert-panel {
  top: 96px;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(28, 79, 197, 0.1);
}

.location-map-card {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  border: 1px solid rgba(35, 85, 200, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(244, 248, 255, 0.98), rgba(255, 255, 255, 0.98)),
    linear-gradient(90deg, rgba(112, 145, 205, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(112, 145, 205, 0.12) 1px, transparent 1px);
  background-size: auto, 52px 52px, 52px 52px;
}

.location-map-card::before,
.location-map-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(38, 91, 230, 0.12);
}

.location-map-card::before {
  width: 200px;
  height: 200px;
  right: -80px;
  top: -70px;
}

.location-map-card::after {
  width: 140px;
  height: 140px;
  left: -46px;
  bottom: -46px;
}

.map-logo {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(33, 82, 191, 0.14);
}

.map-logo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.map-logo-a {
  top: 24px;
  left: 28px;
}

.map-logo-b {
  top: 30px;
  right: 22px;
}

.map-logo-c {
  left: 44px;
  bottom: 28px;
}

.map-logo-d {
  right: 46px;
  bottom: 24px;
}

.map-logo-e {
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
}

.map-pin-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px 999px 999px 0;
  background: linear-gradient(180deg, #3a75ff, #1a58e4);
  transform: translate(-50%, -52%) rotate(-45deg);
  box-shadow: 0 18px 38px rgba(38, 91, 230, 0.22);
}

.map-pin-core::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.map-location-line {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #1c274a;
  font-size: 0.82rem;
  font-weight: 700;
}

.alert-panel-head {
  margin-top: 14px;
}

.eyebrow {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.alert-panel h3 {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.06;
}

.panel-action {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.selected-product-card {
  min-height: 176px;
  margin-top: 14px;
  padding: 16px;
  border-radius: 22px;
}

.selected-product-image {
  left: 16px;
  bottom: 14px;
  width: 124px;
  height: 108px;
}

.offer-badge {
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.76rem;
}

.selected-product-info {
  right: 16px;
  bottom: 16px;
  max-width: 148px;
}

.selected-product-info p {
  margin-bottom: 6px;
  font-size: 0.76rem;
}

.status-line {
  margin-top: 12px;
  align-items: center;
}

.status-chip {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.74rem;
}

.status-line strong {
  color: #33466c;
  font-size: 0.84rem;
  line-height: 1.4;
}

.stacked-control {
  margin-top: 12px;
}

.stacked-control span {
  color: #42557f;
  font-size: 0.8rem;
  font-weight: 700;
}

.stacked-control input,
.stacked-control select {
  min-height: 48px;
  border-radius: 16px;
}

.panel-list {
  gap: 10px;
  margin-top: 14px;
}

.panel-list-row {
  padding-bottom: 10px;
}

.panel-list-row span,
.panel-list-row strong {
  font-size: 0.78rem;
}

.history-panel {
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 18px;
}

.history-head span,
.history-head strong {
  font-size: 0.78rem;
}

.toggle-card.compact {
  margin-top: 14px;
}

.button-full {
  min-height: 50px;
  margin-top: 12px;
  border-radius: 18px;
}

.button-full span {
  font-size: 0.9rem;
}

.import {
  margin-top: 34px;
}

@media (max-width: 1320px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 440px;
    margin-top: 10px;
  }

  .hero-phone {
    right: 50%;
    transform: translateX(50%) rotate(6deg);
  }

  .logo-rewe {
    left: calc(50% - 220px);
  }

  .logo-lidl {
    left: calc(50% - 190px);
  }

  .logo-rossmann {
    left: calc(50% - 220px);
  }

  .logo-aldi,
  .logo-dm,
  .logo-edeka {
    right: calc(50% - 220px);
  }

  .hero-spark-a {
    right: calc(50% - 140px);
  }

  .hero-spark-b {
    right: calc(50% - 90px);
  }

  .hero-spark-c {
    right: calc(50% - 156px);
  }

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

@media (max-width: 1160px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-pill-shell {
    order: 3;
    width: 100%;
    justify-content: center;
  }

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

  .alert-panel {
    position: static;
  }

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

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100vw - 24px), 1460px);
  }

  .site-header {
    gap: 16px;
  }

  .brand {
    font-size: 1.45rem;
  }

  .nav-pill-shell {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-pill-link {
    min-height: 46px;
    padding: 0 20px;
    font-size: 0.94rem;
    white-space: nowrap;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .hero-copy h1 {
    font-size: clamp(2.75rem, 12vw, 4.4rem);
  }

  .hero-search-bar {
    padding: 18px;
  }

  .hero-search-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-location-shell,
  .hero-query-shell,
  .hero-radius-shell {
    min-height: 66px;
  }

  .hero-reset-button {
    min-height: 52px;
    border-radius: 18px;
  }

  .hero-query-row {
    grid-template-columns: minmax(0, 1fr) 86px;
  }

  .hero-search-submit {
    width: 86px;
    height: 66px;
    border-radius: 22px;
  }

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

  .hero-visual {
    min-height: 390px;
  }

  .hero-phone {
    right: 50%;
    width: 248px;
    height: 430px;
    transform: translateX(50%) rotate(5deg);
  }

  .hero-floating-logo {
    width: 76px;
    height: 76px;
    border-radius: 22px;
  }

  .hero-floating-logo img {
    width: 46px;
    height: 46px;
  }

  .logo-rewe {
    top: 72px;
    left: 14px;
  }

  .logo-lidl {
    top: 160px;
    left: 18px;
  }

  .logo-rossmann {
    top: 252px;
    left: 8px;
  }

  .logo-aldi {
    top: 82px;
    right: 6px;
  }

  .logo-dm {
    top: 206px;
    right: 0;
  }

  .logo-edeka {
    top: 296px;
    right: 10px;
  }

  .store-rail-shell,
  .category-rail-shell,
  .offers {
    padding: 12px;
    border-radius: 24px;
  }

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

  .control-search {
    max-width: none;
  }

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

  .offer-card-body {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  .offer-art.image-art {
    min-height: 110px;
  }

  .offer-product-image {
    max-height: 92px;
  }

  .selected-product-info {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 74px;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .quick-actions-shell {
    padding: 8px;
  }

  .quick-action-button {
    width: 44px;
    height: 44px;
  }

  .hero-phone {
    width: 214px;
    height: 378px;
  }

  .hero-phone-header {
    padding: 22px 14px 10px;
  }

  .hero-preview-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }

  .hero-preview-media,
  .hero-preview-fallback {
    min-height: 66px;
    height: 66px;
  }

  .hero-preview-copy strong {
    font-size: 0.8rem;
  }

  .hero-preview-copy span,
  .hero-preview-brand {
    font-size: 0.66rem;
  }
}

[data-reveal],
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Pixel fidelity pass */

.page-shell {
  width: min(calc(100vw - 32px), 1840px);
}

.hero {
  padding-top: 24px;
}

.hero-shell {
  grid-template-columns: minmax(0, 1.44fr) minmax(420px, 0.56fr);
  gap: 28px;
}

.hero-copy {
  max-width: 1060px;
  padding-top: 78px;
}

.hero-copy h1 {
  max-width: 17.5ch;
  font-size: clamp(3.9rem, 4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-text {
  max-width: 38rem;
  margin-top: 14px;
  font-size: 1.06rem;
}

.hero-search-bar {
  max-width: 980px;
  margin-top: 26px;
}

.hero-location-shell,
.hero-query-shell,
.hero-radius-shell {
  min-height: 84px;
}

.hero-visual {
  max-width: 500px;
  min-height: 540px;
}

.hero-phone {
  right: 54px;
  top: 8px;
  width: 312px;
  height: 554px;
}

.hero-floating-logo {
  width: 88px;
  height: 88px;
}

.logo-rewe {
  top: 108px;
  left: 14px;
}

.logo-lidl {
  top: 230px;
  left: 24px;
}

.logo-rossmann {
  top: 368px;
  left: 8px;
}

.logo-aldi {
  top: 110px;
  right: 4px;
}

.logo-dm {
  top: 284px;
  right: -4px;
}

.logo-edeka {
  top: 408px;
  right: 18px;
}

.store-rail-shell,
.category-rail-shell,
.offers {
  border-radius: 28px;
}

.category-rail {
  margin-top: 18px;
}

.offers {
  margin-top: 22px;
  padding: 22px 20px 24px;
}

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

.workspace {
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 22px;
}

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

.toolbar-search-row,
.toolbar-controls {
  margin-top: 0;
}

.toolbar-search-row {
  align-items: end;
}

.control-search {
  max-width: 280px;
}

.compact-input-shell,
.control select,
.toggle-card {
  min-height: 50px;
}

.toolbar-controls {
  grid-template-columns: minmax(120px, 150px) minmax(150px, 180px);
  justify-content: start;
  gap: 10px;
}

.compact-store-row {
  margin-top: 4px;
}

.filter-summary {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(241, 246, 255, 0.92), rgba(255, 255, 255, 0.96));
}

.filter-summary-copy {
  gap: 8px;
}

.filter-summary strong {
  font-size: 1rem;
}

.filter-summary-actions {
  gap: 8px;
}

.filter-pill-toggle {
  font: inherit;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.filter-pill-toggle.is-active {
  border-color: transparent;
  background: linear-gradient(180deg, #2d6fff 0%, #1656dd 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(26, 92, 229, 0.2);
}

.filter-pill-toggle:focus-visible {
  outline: 2px solid rgba(37, 94, 215, 0.38);
  outline-offset: 2px;
}

.summary-action {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
}

.summary-action-prominent {
  border-color: rgba(27, 91, 230, 0.38);
  background: rgba(27, 91, 230, 0.08);
  color: var(--accent);
}

.summary-action-prominent.is-active {
  background: linear-gradient(180deg, #2d6fff 0%, #1656dd 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(26, 92, 229, 0.22);
}

.offer-grid {
  margin-top: 12px;
}

.load-more {
  min-width: 340px;
  min-height: 58px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #2d6fff 0%, #1656dd 100%);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  box-shadow: 0 20px 38px rgba(26, 92, 229, 0.2);
}

.load-more:hover,
.load-more:focus-visible {
  box-shadow: 0 24px 44px rgba(26, 92, 229, 0.26);
}

.alert-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.alert-panel-quick-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.map-open-button {
  min-height: 42px;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  border-color: rgba(37, 88, 206, 0.2);
  background: rgba(255, 255, 255, 0.94);
  color: #214ea9;
  font-weight: 700;
}

.map-overlay-backdrop {
  position: fixed;
  inset: 0;
  z-index: 86;
  display: none;
  background: rgba(9, 18, 42, 0.42);
  backdrop-filter: blur(8px);
}

.map-overlay {
  position: fixed;
  inset: 0;
  z-index: 88;
  display: none;
  place-items: center;
  padding: 24px;
  pointer-events: none;
}

.map-overlay-panel {
  width: min(460px, 100%);
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 32px 70px rgba(18, 45, 106, 0.24);
  pointer-events: auto;
}

.map-overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.map-overlay-head .eyebrow {
  margin: 0;
}

.map-overlay-close {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 23, 41, 0.08);
  color: #16223e;
  cursor: pointer;
}

.map-overlay .location-map-card {
  min-height: 368px;
}

.is-map-overlay-open {
  overflow: hidden;
}

.is-map-overlay-open .map-overlay,
.is-map-overlay-open .map-overlay-backdrop {
  display: grid;
}

.location-map-card {
  min-height: 344px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 54%, rgba(65, 119, 255, 0.14), rgba(65, 119, 255, 0) 32%),
    linear-gradient(180deg, rgba(243, 247, 255, 0.98), rgba(255, 255, 255, 0.98)),
    repeating-linear-gradient(90deg, rgba(132, 158, 210, 0.1) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(rgba(132, 158, 210, 0.1) 0 1px, transparent 1px 58px);
  background-size: auto, auto, 58px 58px, 58px 58px;
  box-shadow: 0 20px 42px rgba(31, 79, 185, 0.12);
}

.location-map-card::before,
.location-map-card::after {
  background: none;
}

.location-map-card .eyebrow {
  margin-bottom: 6px;
}

.map-card-head {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  max-width: 180px;
}

.map-card-head h3 {
  margin: 0;
  color: #17223f;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.08;
}

.map-logo {
  width: 52px;
  height: 52px;
}

.map-logo img {
  width: 30px;
  height: 30px;
}

.map-logo-a {
  top: 94px;
  left: 40px;
}

.map-logo-b {
  top: 70px;
  right: 34px;
}

.map-logo-c {
  left: 36px;
  bottom: 80px;
}

.map-logo-d {
  right: 38px;
  bottom: 70px;
}

.map-logo-e {
  top: 164px;
  left: 54%;
}

.map-pin-core {
  top: 56%;
  width: 66px;
  height: 66px;
}

.map-location-line {
  left: 16px;
  right: 16px;
  bottom: 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 16px;
  font-size: 0.84rem;
}

.alert-drawer {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(35, 85, 200, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(31, 79, 185, 0.08);
}

.alert-drawer[open] {
  box-shadow: 0 18px 38px rgba(31, 79, 185, 0.11);
}

.alert-drawer-summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px;
  list-style: none;
  cursor: pointer;
}

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

.alert-drawer-summary span {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.alert-drawer-summary strong {
  color: #16213e;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.1;
}

.alert-drawer-summary #selected-offer-summary-meta {
  color: #35508a;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.alert-drawer-summary small {
  color: #64779e;
  font-size: 0.78rem;
  font-weight: 700;
}

.alert-drawer-summary span strong,
.alert-drawer-summary span small {
  text-align: left;
}

.alert-drawer-summary .icon {
  color: #5e739f;
  transition: transform 180ms ease;
}

.alert-drawer[open] .alert-drawer-summary .alert-drawer-chevron {
  transform: rotate(180deg);
}

.alert-drawer-body {
  padding: 0 16px 16px;
}

.alert-overlay-close,
.mobile-alert-backdrop {
  display: none;
}

@media (min-width: 1161px) {
  .alert-drawer-summary {
    cursor: default;
  }

  .alert-drawer-summary .alert-drawer-chevron,
  .alert-overlay-close {
    display: none;
  }
}

@media (max-width: 820px) {
  .quantity-panel {
    grid-template-columns: 1fr;
  }

  .quantity-profit {
    padding: 10px 12px;
  }

  .quantity-profit strong {
    font-size: 1.12rem;
  }
}

.service-disclaimer {
  margin: 14px 0 0;
  color: #687aa0;
  font-size: 0.78rem;
  line-height: 1.6;
}

.service-disclaimer.compact {
  padding-top: 2px;
}

.alert-panel-head {
  margin-top: 0;
}

.selected-product-card {
  min-height: 152px;
}

.quantity-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.quantity-control {
  margin-top: 0;
}

.quantity-control input {
  min-height: 48px;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 700;
}

.quantity-profit {
  display: grid;
  gap: 3px;
  align-content: start;
  padding: 11px 13px;
  border: 1px solid rgba(27, 91, 230, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.quantity-profit span {
  color: #6a7fa7;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quantity-profit strong {
  color: var(--accent-strong);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.quantity-profit small {
  color: #6a7a9c;
  font-size: 0.7rem;
  line-height: 1.35;
}

.quantity-panel.is-price-unavailable {
  grid-template-columns: 1fr;
}

.quantity-panel.is-price-unavailable .quantity-profit {
  display: none;
}

.market-insights-block {
  margin-top: 24px;
  padding-top: 8px;
}

.market-insights-head h3 {
  margin: 0;
  color: #101729;
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.market-insights-head p {
  margin: 6px 0 0;
  color: #6f81a7;
  font-size: 0.92rem;
}

.market-insights-block .insight-grid {
  margin-top: 14px;
}

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

.insight-card {
  min-height: 146px;
  gap: 10px;
}

.insight-value {
  font-size: 1.6rem;
}

@media (min-width: 1660px) {
  .hero-shell {
    grid-template-columns: minmax(0, 1.5fr) minmax(460px, 0.5fr);
  }

  .hero-copy h1 {
    max-width: 22ch;
    font-size: clamp(4rem, 3.4vw, 5.2rem);
  }

  .hero-text {
    font-size: 1.1rem;
  }

  .hero-visual {
    max-width: 560px;
  }

  .hero-phone {
    right: 72px;
    width: 330px;
    height: 588px;
  }

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

@media (max-width: 1320px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 26px;
  }

  .hero-visual {
    max-width: 100%;
    min-height: 430px;
    justify-self: center;
  }

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

  .alert-panel {
    order: 2;
  }

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

  .trust-note-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100vw - 18px), 1840px);
  }

  .hero-shell {
    gap: 18px;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.65rem, 11vw, 4rem);
  }

  .hero-text {
    max-width: none;
    font-size: 0.98rem;
  }

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

  .load-more {
    width: 100%;
    min-width: 0;
  }

  .location-map-card {
    min-height: 290px;
  }

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

/* Mobile and tablet cleanup pass */

.filter-drawer {
  display: block;
}

.filter-drawer-summary {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(29, 90, 227, 0.1);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.98);
  color: #1743a6;
  font-size: 0.88rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

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

.filter-drawer-summary span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.filter-drawer-summary .icon {
  transition: transform 180ms ease;
}

.filter-drawer[open] .filter-drawer-summary .icon:last-child {
  transform: rotate(180deg);
}

.filter-drawer-body {
  display: grid;
  gap: 12px;
}

@media (max-width: 1160px) {
  html,
  body {
    overflow-x: clip;
  }

  .page-shell {
    width: min(calc(100vw - 24px), 1840px);
    padding-inline: 4px;
  }

  .site-header {
    gap: 14px;
  }

  .nav-pill-shell {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 8px;
  }

  .nav-pill-link {
    min-height: 46px;
    padding: 0 18px;
    white-space: nowrap;
  }

  .quick-actions-shell {
    padding: 8px;
  }

  .quick-action-button {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding-top: 14px;
  }

  .hero-shell {
    gap: 16px;
  }

  .hero-copy {
    padding-top: 18px;
  }

  .hero-copy h1 {
    max-width: 14ch;
    font-size: clamp(3rem, 8vw, 4.5rem);
  }

  .hero-text {
    max-width: 34rem;
    font-size: 0.98rem;
  }

  .hero-search-bar {
    margin-top: 20px;
  }

  .hero-location-shell,
  .hero-query-shell,
  .hero-radius-shell {
    min-height: 76px;
  }

  .hero-visual {
    min-height: 410px;
  }

  .hero-phone {
    right: 50%;
    top: 12px;
    width: 268px;
    height: 474px;
    transform: translateX(50%) rotate(5deg);
  }

  .hero-floating-logo,
  .hero-spark,
  .hero-doodle,
  .hero-stats,
  .market-marquee,
  .brand-strip,
  .import,
  .footer-links {
    display: none;
  }

  .store-rail-shell,
  .category-rail-shell,
  .offers {
    padding: 14px;
    border-radius: 24px;
  }

  .workspace {
    gap: 18px;
  }

  .toolbar-card {
    gap: 10px;
    position: static;
    top: auto;
    z-index: auto;
    padding: 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 32px rgba(35, 85, 200, 0.08);
  }

  .filter-drawer-summary {
    display: flex;
  }

  .filter-drawer:not([open]) .filter-drawer-body {
    display: none;
  }

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

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

  .compact-store-row {
    margin-top: 2px;
  }

  .filter-summary {
    margin-top: 2px;
    gap: 12px;
  }

  .filter-summary-copy {
    gap: 6px;
  }

  .filter-summary strong {
    font-size: 1rem;
  }

  .summary-action {
    min-height: 46px;
  }

  .load-more {
    width: 100%;
    min-width: 0;
  }

  .alert-panel {
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .map-overlay .location-map-card {
    display: block !important;
  }

  .alert-drawer {
    margin-top: 0;
  }

  .market-insights-block {
    margin-top: 18px;
  }

  .site-footer {
    padding: 20px 18px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100vw - 20px), 1840px);
    padding-bottom: 42px;
  }

  body.has-active-filters .filter-summary {
    top: 56px;
  }

  .filter-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 2px;
    padding: 10px 12px;
  }

  .filter-summary-copy {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .filter-summary-copy strong {
    white-space: nowrap;
  }

  .filter-summary-copy::-webkit-scrollbar {
    display: none;
  }

  .filter-summary-copy .filter-pill {
    white-space: nowrap;
  }

  .filter-summary-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
  }

  .summary-action {
    flex: 1 1 0;
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .filter-drawer-summary {
    min-height: 42px;
    padding: 0 12px;
  }

  .toolbar-card {
    position: static;
    top: auto;
    z-index: auto;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(35, 85, 200, 0.07);
  }

  .filter-summary strong {
    font-size: 0.94rem;
  }

  .filter-pill {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .mobile-alert-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(9, 18, 42, 0.42);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .is-alert-overlay-open .mobile-alert-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .is-alert-overlay-open {
    overflow: hidden;
  }

  .is-alert-overlay-open .alert-panel {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 100;
    max-height: min(84vh, 720px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .is-alert-overlay-open .alert-drawer {
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(8, 24, 64, 0.28);
  }

  .alert-overlay-close {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(16, 23, 41, 0.08);
    color: #17223f;
    cursor: pointer;
  }

  .alert-drawer-summary .alert-drawer-chevron {
    display: none;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100vw - 14px), 1840px);
    padding-inline: 0;
  }

  .site-header {
    flex-wrap: nowrap;
    gap: 8px;
    top: 6px;
    padding: 8px 10px;
    border-radius: 20px;
  }

  .brand {
    flex: 0 0 auto;
    font-size: 1.08rem;
  }

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

  .nav-pill-shell {
    flex: 1 1 auto;
    width: auto;
    gap: 8px;
    padding: 6px;
    order: 0;
    border-radius: 999px;
  }

  .nav-pill-link {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .nav-pill-link span {
    display: none;
  }

  .quick-actions-shell {
    flex: 0 0 auto;
    width: auto;
    gap: 6px;
    padding: 6px;
  }

  .quick-action-button {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
  }

  .quick-action-button[href="#alarm"] {
    display: none;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.5rem, 12vw, 3.55rem);
  }

  .hero-location-shell,
  .hero-query-shell,
  .hero-radius-shell {
    min-height: 62px;
  }

  .hero-search-submit {
    height: 56px;
    border-radius: 20px;
  }

  .hero-visual {
    display: none;
  }

  .hero-phone {
    display: none;
  }

  .store-rail,
  .category-rail,
  .offers {
    margin-top: 18px;
  }

  .store-rail-shell,
  .category-rail-shell,
  .offers {
    padding: 10px;
    border-radius: 20px;
  }

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

  .section-head h2 {
    font-size: clamp(1.52rem, 8vw, 2rem);
  }

  #hero-store-filters {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 100%;
    overflow: visible;
    padding: 2px 2px 8px;
  }

  .store-chip {
    min-height: 104px;
    padding: 12px 10px;
    border-radius: 18px;
  }

  .store-chip-logo {
    width: 64px;
    height: 46px;
  }

  .store-chip-text {
    font-size: 0.78rem;
  }

  .store-rail-shell {
    overflow: hidden;
  }

  .category-row-showcase {
    gap: 10px;
  }

  .category-chip {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.76rem;
  }

  .category-row-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
  }

  .category-row-showcase .category-chip {
    width: 100%;
    justify-content: center;
  }

  .category-chip .icon {
    width: 16px;
    height: 16px;
  }

  .toolbar-search-row {
    display: none;
  }

  .filter-drawer-summary {
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .toolbar-card {
    position: static;
    top: auto;
    z-index: auto;
    margin-inline: -2px;
  }

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

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

  .compact-store-row {
    display: none;
  }

  .filter-summary {
    padding: 12px;
    border-radius: 18px;
  }

  .filter-summary-actions .summary-action:first-child {
    display: none;
  }

  .summary-action.summary-action-prominent {
    width: 100%;
    flex: 1 1 auto;
  }

  .alert-panel-quick-actions {
    margin-bottom: 8px;
  }

  .map-open-button {
    width: 100%;
    justify-content: center;
  }

  .offer-grid {
    gap: 12px;
    margin-top: 10px;
  }

  .offer-card {
    padding: 14px;
    border-radius: 20px;
    scroll-margin-top: 132px;
  }

  .offer-card-body {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
  }

  .offer-art.image-art {
    min-height: 96px;
    padding: 10px;
  }

  .offer-product-image {
    max-height: 82px;
  }

  .offer-copy h3 {
    font-size: 0.94rem;
  }

  .offer-copy p,
  .distance,
  .offer-card-store span {
    font-size: 0.74rem;
  }

  .offer-price-row strong {
    font-size: 1.08rem;
  }

  .offer-price-row span {
    font-size: 0.8rem;
  }

  .offers-link {
    display: none;
  }

  .alert-drawer-summary strong {
    font-size: 0.96rem;
  }

  .alert-drawer-summary small {
    font-size: 0.72rem;
  }

  .market-insights-head p {
    display: none;
  }

  .insight-card {
    min-height: 126px;
  }

  .site-footer {
    padding: 18px 14px;
    border-radius: 24px;
  }

  .site-footer p {
    font-size: 0.84rem;
  }

  .trust-note-head h3 {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .map-overlay {
    padding: 10px;
  }

  .map-overlay-panel {
    padding: 12px;
    border-radius: 22px;
  }

  .map-overlay .location-map-card {
    min-height: 300px;
  }
}

/* Frontend polish pass */

:root {
  --max-width: 1508px;
  --content-width: min(calc(100vw - 112px), var(--max-width));
}

.page-shell {
  padding: 26px 0 78px;
}

.section {
  margin-top: 38px;
}

.hero {
  padding: 62px 0 26px;
}

.hero-text {
  max-width: 38rem;
  font-size: 1.08rem;
  line-height: 1.76;
  color: #5d6f97;
}

.store-rail-shell,
.category-rail-shell,
.offers,
.trust-note-band,
.share-band,
.site-footer {
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(30, 58, 120, 0.07);
}

.section-head {
  gap: 28px;
  margin-bottom: 28px;
  align-items: end;
}

.section-head h2 {
  font-size: clamp(2.35rem, 3.7vw, 4.2rem);
  line-height: 0.98;
}

.section-head p {
  max-width: 45rem;
  margin-top: 12px;
  color: #66799f;
  font-size: 1rem;
  line-height: 1.72;
}

.store-rail-shell {
  display: grid;
  gap: 18px;
}

#hero-store-filters {
  gap: 14px;
}

.store-rail-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.store-rail-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(33, 84, 198, 0.15);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.96), rgba(237, 243, 255, 0.96));
  color: #1b47b0;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.store-rail-toggle span {
  color: inherit;
  font-size: 0.96rem;
}

.store-rail-toggle strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #2154c6;
  color: #fff;
  font-size: 0.79rem;
  line-height: 1;
}

.store-rail-toggle:hover,
.store-rail-toggle:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(33, 84, 198, 0.16);
}

.store-rail-toggle-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #43547b;
}

.store-rail-toggle-secondary strong {
  background: rgba(67, 84, 123, 0.12);
  color: #43547b;
  font-size: 0.76rem;
}

.store-selection-empty {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px dashed rgba(33, 84, 198, 0.18);
  border-radius: 20px;
  background: rgba(245, 249, 255, 0.9);
  color: #405277;
}

.store-selection-empty strong {
  color: #173d91;
  font-size: 1rem;
}

.store-selection-empty p {
  margin: 0;
  line-height: 1.55;
}

.store-selection-empty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2154c6, #3d73f0);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.offer-grid {
  gap: 20px;
}

.market-insights-block {
  margin-top: 30px;
}

.market-insights-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.market-insights-head h3 {
  font-size: 1.48rem;
}

.market-insights-head p {
  max-width: 38rem;
  line-height: 1.6;
}

.insight-card {
  min-height: 210px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.94));
  box-shadow: 0 18px 38px rgba(21, 48, 108, 0.08);
}

.insight-copy {
  color: #556887;
  line-height: 1.6;
}

.insight-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.insight-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(20, 64, 165, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: #204da9;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.insight-action:hover,
.insight-action:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(20, 64, 165, 0.12);
}

.insight-action-primary {
  background: linear-gradient(135deg, #2154c6 0%, #3d73f0 100%);
  color: #fff;
  border-color: transparent;
}

.share-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 26px;
  align-items: center;
  margin-top: 42px;
}

.share-band-copy h3 {
  margin: 0;
  color: #101729;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.share-band-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  max-width: 42rem;
  color: #617396;
  font-size: 1rem;
  line-height: 1.72;
}

.share-band-actions {
  display: grid;
  gap: 12px;
}

.share-band-link {
  width: 100%;
}

.stats-band {
  display: grid;
  gap: 20px;
  margin-top: 42px;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(33, 84, 198, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.92));
  box-shadow: 0 18px 44px rgba(30, 58, 120, 0.08);
}

.stats-band-copy h3 {
  margin: 0;
  color: #101729;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.stats-band-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  max-width: 46rem;
  color: #617396;
  line-height: 1.72;
}

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

.stats-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(33, 84, 198, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
}

.stats-card strong {
  color: #173d91;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.stats-card span {
  color: #18295c;
  font-weight: 800;
}

.stats-card small {
  color: #63769d;
  line-height: 1.45;
}

.footer-meta {
  gap: 12px;
}

@media (max-width: 1320px) {
  :root {
    --content-width: min(calc(100vw - 72px), var(--max-width));
  }

  .share-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 1160px) {
  :root {
    --content-width: min(calc(100vw - 40px), var(--max-width));
  }

  .page-shell {
    padding-bottom: 60px;
  }

  .store-rail-shell,
  .category-rail-shell,
  .offers,
  .trust-note-band,
  .share-band,
  .site-footer {
    padding: 20px;
    border-radius: 24px;
  }

  .section-head h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
  }
}

@media (max-width: 820px) {
  :root {
    --content-width: min(calc(100vw - 26px), var(--max-width));
  }

  .share-band {
    gap: 18px;
    margin-top: 28px;
  }

  .share-band-actions {
    grid-template-columns: 1fr;
  }

  .stats-band {
    margin-top: 28px;
    padding: 20px;
  }

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

  .insight-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --content-width: min(calc(100vw - 18px), var(--max-width));
  }

  .page-shell {
    padding-top: 16px;
    padding-bottom: 44px;
  }

  .store-rail-shell,
  .category-rail-shell,
  .offers,
  .trust-note-band,
  .share-band,
  .site-footer {
    padding: 14px;
    border-radius: 20px;
  }

  .store-rail-shell {
    gap: 14px;
  }

  .store-rail-toggle {
    width: 100%;
    min-height: 50px;
    font-size: 0.92rem;
  }

  .insight-actions {
    padding-top: 4px;
  }

  .insight-action {
    min-height: 44px;
    font-size: 0.82rem;
  }

  .share-band-copy h3 {
    font-size: clamp(1.65rem, 8vw, 2.05rem);
  }

  .share-band-copy p:not(.eyebrow) {
    font-size: 0.9rem;
  }
}

/* Hero refinement pass */

.hero {
  padding: 34px 0 12px;
}

.hero-shell {
  grid-template-columns: minmax(0, 1.5fr) minmax(390px, 0.5fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  max-width: 920px;
  padding-top: 26px;
}

.hero-copy h1 {
  max-width: 11.5ch;
  font-size: clamp(3rem, 3.6vw, 4.2rem);
  line-height: 0.99;
  letter-spacing: -0.05em;
}

.hero-text {
  margin-top: 10px;
  font-size: 1rem;
}

.hero-search-bar {
  margin-top: 18px;
}

.hero-visual {
  max-width: 460px;
  min-height: 470px;
  justify-self: end;
  padding-right: 16px;
}

.hero-phone {
  top: 16px;
  right: 34px;
  width: 286px;
  height: 506px;
}

.hero-floating-logo {
  width: 80px;
  height: 80px;
}

.logo-rewe {
  left: 20px;
}

.logo-aldi {
  right: 14px;
}

@media (max-width: 1320px) {
  .hero {
    padding-top: 22px;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .hero-visual {
    min-height: 370px;
    padding-right: 0;
  }
}

@media (max-width: 1160px) {
  .hero {
    padding-top: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 7.5vw, 3.7rem);
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.2rem, 10.2vw, 2.95rem);
    line-height: 0.97;
  }
}

/* Menu, filters and sheet overlays */

body.is-menu-open,
body.is-alert-overlay-open,
body.is-map-overlay-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.has-active-filters .filter-summary {
  position: sticky;
  top: 14px;
  z-index: 18;
  box-shadow: 0 18px 34px rgba(26, 56, 120, 0.09);
}

.toolbar-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(27, 91, 230, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 38px rgba(26, 56, 120, 0.06);
}

.toolbar-row {
  gap: 12px;
}

.toolbar-search-row {
  align-items: end;
  margin-bottom: 0;
}

.control-search {
  max-width: 100%;
}

.filter-drawer {
  margin-top: 0;
}

.filter-drawer-summary {
  padding-inline: 16px;
}

.filter-summary {
  margin-top: 0;
}

.filter-summary-actions {
  gap: 8px;
}

.summary-action-prominent {
  border-color: rgba(27, 91, 230, 0.18);
}

.summary-action-prominent.is-active {
  border-color: transparent;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: none;
  background: rgba(8, 18, 42, 0.52);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
  pointer-events: none;
}

.menu-panel {
  width: min(1180px, 100%);
  height: calc(100dvh - 40px);
  margin: auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 90, 61, 0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(36, 101, 255, 0.12), transparent 24%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(11, 25, 60, 0.28);
  pointer-events: auto;
}

.menu-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.menu-panel-head h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.menu-panel-head p {
  max-width: 48rem;
  margin: 10px 0 0;
  color: #64779e;
  line-height: 1.55;
}

.menu-close {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 23, 41, 0.08);
  color: #17223f;
  cursor: pointer;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.menu-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(27, 91, 230, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 26px rgba(26, 56, 120, 0.04);
}

.menu-card-label {
  margin: 0 0 4px;
  color: #7a8aad;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-card a,
.menu-card button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(27, 91, 230, 0.1);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.96);
  color: #13264d;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.menu-card a:hover,
.menu-card a:focus-visible,
.menu-card button:hover,
.menu-card button:focus-visible {
  border-color: rgba(27, 91, 230, 0.28);
  background: rgba(236, 242, 255, 0.96);
  transform: translateY(-1px);
}

.menu-card .icon {
  color: var(--accent);
}

.menu-backdrop {
  display: none;
}

.is-menu-open .menu-backdrop,
.is-menu-open .menu-overlay {
  display: block;
}

.is-menu-open .menu-overlay {
  display: grid;
}

.is-menu-open .menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.is-menu-open .menu-overlay {
  pointer-events: auto;
}

.alert-drawer-grip {
  display: none;
}

@media (max-width: 1160px) {
  .toolbar-card {
    position: static;
    top: auto;
    z-index: auto;
    padding: 12px;
    border-radius: 22px;
  }

  body.has-active-filters .filter-summary {
    top: 68px;
  }

  .toolbar-search-row {
    display: none;
  }

  .filter-drawer-summary {
    min-height: 48px;
    padding-inline: 14px;
  }

  .filter-summary {
    gap: 12px;
  }

  .filter-summary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .summary-action {
    width: 100%;
    justify-content: center;
  }

  .filter-summary-actions .summary-action:first-child {
    display: inline-flex;
  }

  .is-alert-overlay-open .mobile-alert-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .is-alert-overlay-open .alert-panel {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translate3d(0, var(--alert-sheet-offset, 0), 0);
    transition: transform 180ms ease;
  }

  .is-alert-sheet-dragging .alert-panel {
    transition: none;
  }

  .is-alert-overlay-open .alert-drawer {
    display: block;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: visible;
    border-radius: 28px 28px 22px 22px;
    box-shadow: 0 30px 90px rgba(8, 24, 64, 0.3);
  }

  .alert-drawer-summary {
    position: relative;
    padding: 24px 16px 14px;
    cursor: grab;
    touch-action: pan-y;
  }

  .alert-drawer-grip {
    position: absolute;
    top: 10px;
    left: 50%;
    display: block;
    width: 58px;
    height: 5px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.12);
    transform: translateX(-50%);
  }

  .alert-drawer-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
    padding: 0 16px 16px;
  }

  .is-alert-overlay-open .alert-drawer-summary {
    position: sticky;
    top: 0;
    z-index: 6;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.93));
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 24px rgba(8, 24, 64, 0.08);
  }

  .is-alert-overlay-open .alert-overlay-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 7;
    box-shadow: 0 10px 24px rgba(18, 34, 84, 0.12);
  }

  .menu-overlay {
    padding: 12px;
  }

  .menu-panel {
    width: 100%;
    height: calc(100dvh - 24px);
    padding: 18px;
    border-radius: 28px;
  }

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

@media (max-width: 820px) {
  body.has-active-filters .filter-summary {
    top: 56px;
  }

  .filter-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 2px;
    padding: 10px 12px;
  }

  .filter-summary-copy {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .filter-summary-copy::-webkit-scrollbar {
    display: none;
  }

  .filter-summary-copy .filter-pill {
    white-space: nowrap;
  }

  .filter-summary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .summary-action {
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .filter-summary strong {
    font-size: 0.94rem;
  }

  .filter-pill {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .is-alert-overlay-open .alert-panel {
    left: 4px;
    right: 4px;
    bottom: 4px;
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 8px);
    overflow-y: auto;
    overflow-x: hidden;
  }

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

  .menu-panel {
    padding: 16px;
  }

  .menu-panel-head {
    flex-direction: column;
  }
}

/* Mobile hero and market-radar refinement */

@media (max-width: 820px) {
  .toolbar-card {
    position: static;
    top: auto;
    z-index: auto;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(35, 85, 200, 0.07);
  }

  .hero {
    padding-top: 16px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .hero-copy {
    max-width: none;
    padding-top: 0;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.15rem, 8vw, 3.3rem);
    line-height: 0.98;
  }

  .section-head h2,
  .import-copy h2,
  .share-band-copy h3,
  .stats-band-copy h3 {
    font-size: clamp(1.9rem, 6.4vw, 2.65rem);
  }

  .hero-text {
    display: block;
    max-width: none;
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-search-bar {
    gap: 12px;
    margin-top: 18px;
    max-width: none;
    padding: 16px;
    border-radius: 26px;
  }

  .hero-location-shell,
  .hero-query-shell,
  .hero-radius-shell {
    min-height: 60px;
    padding-inline: 18px;
  }

  .hero-search-top,
  .hero-query-row,
  .hero-search-actions {
    grid-template-columns: 1fr;
  }

  .hero-reset-button {
    min-height: 50px;
    border-radius: 18px;
  }

  .hero-search-submit {
    width: 100%;
    height: 56px;
    border-radius: 18px;
  }

  .hero-visual,
  .hero-phone {
    display: none;
  }

  .store-rail-shell {
    overflow: hidden;
  }

  #hero-store-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    overflow: visible;
  }

  .store-chip {
    min-height: 88px;
    padding: 10px 10px 12px;
  }

  .store-chip-logo {
    width: 56px;
    height: 42px;
  }

  .store-chip-text {
    font-size: 0.72rem;
  }

  .store-rail-actions {
    display: flex;
  }

  .store-rail-toggle {
    width: 100%;
  }

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

  .insight-card {
    min-height: 0;
  }

  .insight-offer-link {
    display: grid;
    gap: 8px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
  }

  .insight-offer-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 16px;
  }

  .insight-action {
    width: 100%;
  }

  .toast {
    right: 14px;
    bottom: 96px;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: clamp(1.92rem, 10vw, 2.6rem);
  }

  .section-head h2,
  .import-copy h2,
  .share-band-copy h3,
  .stats-band-copy h3 {
    font-size: clamp(1.56rem, 7vw, 2.1rem);
    line-height: 1.02;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  #hero-store-filters {
    gap: 10px;
  }

  .store-chip {
    min-height: 84px;
  }

  .store-chip-logo {
    width: 52px;
    height: 38px;
  }

  .store-chip-text {
    font-size: 0.7rem;
  }

  .menu-panel {
    padding: 14px;
  }
}

body.is-member-overlay-open {
  overflow: hidden;
}

.member-backdrop,
.member-overlay {
  display: none;
}

.member-backdrop {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: rgba(9, 22, 48, 0.46);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.member-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 22px;
  pointer-events: none;
}

.member-panel {
  width: min(1180px, 100%);
  max-height: calc(100dvh - 44px);
  margin: 0 auto;
  overflow: auto;
  pointer-events: auto;
  padding: 28px;
  border: 1px solid rgba(27, 91, 230, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 251, 255, 0.95));
  box-shadow: 0 26px 80px rgba(8, 24, 64, 0.22);
}

.member-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.member-panel-head h2 {
  margin: 8px 0 0;
  max-width: 12ch;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.member-panel-head p:last-child {
  max-width: 52rem;
}

.member-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(27, 91, 230, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #17305f;
  cursor: pointer;
  flex: 0 0 auto;
}

.member-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.member-card,
.member-summary-card,
.member-action-cluster {
  border: 1px solid rgba(27, 91, 230, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 26px rgba(26, 56, 120, 0.05);
}

.member-card,
.member-summary-card {
  padding: 22px;
}

.stack-form {
  display: grid;
  gap: 14px;
}

.field-stack {
  display: grid;
  gap: 8px;
}

.field-stack span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #17305f;
}

.field-stack input,
.shopping-item-controls input {
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid rgba(27, 91, 230, 0.12);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.96);
  color: #13264d;
  outline: none;
}

.member-consent-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(27, 91, 230, 0.12);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.96);
  color: #17305f;
  font-size: 0.92rem;
  line-height: 1.5;
}

.member-consent-check input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #245be8;
}

.member-consent-check a {
  color: #245be8;
  font-weight: 700;
}

.member-note {
  margin: 2px 0 0;
  color: #697999;
  font-size: 0.92rem;
  line-height: 1.55;
}

.member-dashboard {
  display: grid;
  gap: 18px;
}

.member-dashboard-top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 18px;
}

.member-summary-card h3 {
  margin: 10px 0 6px;
  font-size: 1.9rem;
  letter-spacing: -0.04em;
}

.member-summary-card > p:last-of-type {
  margin: 0;
  color: #5c6b88;
}

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

.member-stat-card {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(240, 245, 255, 0.96), rgba(255, 255, 255, 0.92));
}

.member-stat-card strong {
  font-size: 1.35rem;
  color: #13264d;
}

.member-stat-card span {
  color: #7382a0;
  font-size: 0.88rem;
}

.member-action-cluster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  align-content: start;
}

.member-action-cluster .button {
  min-height: 56px;
  border-radius: 18px;
}

.shopping-item-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(27, 91, 230, 0.08);
  border-radius: 22px;
  background: rgba(248, 251, 255, 0.92);
}

.shopping-item-main {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.shopping-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.shopping-item-head strong {
  font-size: 1.05rem;
}

.shopping-item-head span,
.shopping-item-main p,
.shopping-item-controls label span {
  color: #677793;
  font-size: 0.92rem;
}

.shopping-item-main p {
  margin: 0;
}

.shopping-item-price {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shopping-item-price span {
  color: #17305f;
  font-weight: 700;
}

.shopping-item-price strong {
  color: var(--accent-strong);
}

.shopping-item-controls {
  display: grid;
  gap: 10px;
  align-content: start;
}

.shopping-item-controls label {
  display: grid;
  gap: 8px;
}

.shopping-item-controls input {
  min-height: 52px;
}

.member-empty-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(243, 247, 255, 0.96);
}

.member-empty-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.member-empty-card p {
  margin: 0;
  color: #64748e;
  line-height: 1.6;
}

.offer-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.offer-list-toggle .icon {
  width: 16px;
  height: 16px;
}

.offer-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.offer-action-button {
  min-height: 58px;
  border-radius: 18px;
}

.is-member-overlay-open .member-backdrop,
.is-member-overlay-open .member-overlay {
  display: block;
}

.is-member-overlay-open .member-overlay {
  display: grid;
  align-items: center;
}

.is-member-overlay-open .member-backdrop {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1080px) {
  .member-dashboard-top {
    grid-template-columns: 1fr;
  }

  .member-action-cluster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .member-overlay {
    padding: 10px;
  }

  .member-panel {
    max-height: calc(100dvh - 20px);
    padding: 18px;
    border-radius: 28px;
  }

  .member-panel-head {
    flex-direction: column;
    gap: 14px;
  }

  .member-panel-head h2 {
    max-width: none;
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .member-auth,
  .offer-action-grid,
  .shopping-item-card,
  .member-action-cluster,
  .member-stats {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .member-overlay {
    padding: 0;
    align-items: end;
  }

  .member-panel {
    width: 100%;
    max-height: min(92dvh, 920px);
    margin-top: auto;
    border-radius: 28px 28px 0 0;
    padding: 18px 14px 22px;
  }

  .member-panel-head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-bottom: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82));
    backdrop-filter: blur(18px);
  }

  .member-panel-head h2 {
    font-size: 1.92rem;
    line-height: 0.98;
  }

  .member-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
  }

  .member-card,
  .member-summary-card {
    padding: 16px;
    border-radius: 24px;
  }
}

.member-mode-note {
  margin: 8px 0 0;
  color: #61708c;
  line-height: 1.65;
}

.secondary-feature-drawer {
  border: 1px solid rgba(27, 91, 230, 0.08);
  border-radius: 22px;
  background: rgba(248, 251, 255, 0.92);
}

.secondary-feature-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: #17305f;
}

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

.secondary-feature-summary span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.secondary-feature-body {
  display: grid;
  gap: 12px;
  padding: 0 18px 18px;
}

.alert-panel-head .eyebrow {
  margin-bottom: 6px;
}

.offer-action-grid .button-primary {
  box-shadow: 0 18px 34px rgba(39, 94, 214, 0.18);
}

.panel-action-lite {
  border-color: rgba(27, 91, 230, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #17305f;
}

.alert-panel-quick-actions {
  gap: 10px;
}

.alert-panel-head {
  align-items: center;
  margin-bottom: 10px;
}

.alert-panel-head h3 {
  font-size: clamp(1.18rem, 2.1vw, 1.65rem);
  line-height: 1.08;
}

.selected-product-card {
  min-height: 180px;
  padding: 18px;
}

.selected-product-info p {
  font-size: 0.94rem;
}

.status-line {
  padding: 12px 14px;
}

.status-chip {
  min-height: 36px;
}

.panel-list {
  gap: 8px;
}

.panel-list-row {
  min-height: 48px;
  padding-block: 8px;
}

.history-panel {
  padding: 16px;
}

.history-head {
  gap: 12px;
}

.history-head strong {
  font-size: 0.92rem;
}

body.is-alert-panel-fullscreen {
  overflow: hidden;
}

body.is-alert-panel-fullscreen .alert-panel {
  position: fixed;
  inset: 14px;
  z-index: 92;
  max-height: none;
  padding: 0;
  overflow: hidden;
}

body.is-alert-panel-fullscreen .alert-drawer {
  height: 100%;
  max-height: none;
  border-radius: 30px;
  box-shadow: 0 32px 80px rgba(8, 24, 64, 0.22);
}

body.is-alert-panel-fullscreen .alert-drawer-body {
  max-height: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

body.is-alert-panel-fullscreen .alert-panel-quick-actions {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0;
  padding: 12px 18px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88));
  backdrop-filter: blur(18px);
}

body.is-alert-panel-fullscreen .alert-drawer-summary {
  padding-inline: 18px;
}

body.is-alert-panel-fullscreen .alert-drawer-body {
  padding-inline: 18px 18px 20px;
}

@media (max-width: 820px) {
  .secondary-feature-summary {
    padding: 14px 16px;
  }

  .secondary-feature-body {
    padding: 0 16px 16px;
  }

  body.is-alert-panel-fullscreen .alert-panel {
    inset: 0;
  }

  body.is-alert-panel-fullscreen .alert-drawer {
    border-radius: 0;
  }

  body.is-alert-panel-fullscreen .alert-panel-quick-actions {
    padding-inline: 14px;
  }

  body.is-alert-panel-fullscreen .alert-drawer-summary,
  body.is-alert-panel-fullscreen .alert-drawer-body {
    padding-inline: 14px;
  }
}

body.is-layout-wide {
  --max-width: 1760px;
  --content-width: min(calc(100vw - 36px), var(--max-width));
}

@media (min-width: 1200px) {
  body.is-layout-wide .page-shell {
    padding-top: 18px;
  }

  body.is-layout-wide .hero {
    padding-top: 46px;
    padding-bottom: 18px;
  }

  body.is-layout-wide .hero-shell {
    grid-template-columns: minmax(0, 1.52fr) minmax(540px, 0.48fr);
    gap: 44px;
  }

  body.is-layout-wide .hero-copy {
    max-width: 1000px;
  }

  body.is-layout-wide .hero-copy h1 {
    max-width: 10.5ch;
    font-size: clamp(3.35rem, 4.15vw, 5.15rem);
  }

  body.is-layout-wide .hero-text {
    max-width: 46rem;
    margin-top: 16px;
    font-size: 1.08rem;
  }

  body.is-layout-wide .hero-search-bar {
    max-width: 1000px;
  }

  body.is-layout-wide .hero-visual {
    max-width: 560px;
    min-height: 520px;
  }

body.is-layout-wide .workspace {
    grid-template-columns: minmax(0, 1.1fr) minmax(500px, 0.9fr);
    gap: 28px;
  }

  body.is-layout-wide .toolbar-card {
    top: 104px;
  }

  body.is-layout-wide .offer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

body.is-layout-wide .offer-card-body {
    grid-template-columns: minmax(210px, 50%) minmax(0, 1fr);
    gap: 26px;
  }

  body.is-layout-wide .offer-art.image-art {
    min-height: 228px;
    padding: 18px;
  }

  body.is-layout-wide .offer-product-image {
    max-height: 206px;
  }

  body.is-layout-wide .offer-copy h3 {
    font-size: 1.28rem;
    line-height: 1.18;
  }

  body.is-layout-wide .discount-pill {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.95rem;
  }

  body.is-layout-wide .offer-price-row strong {
    font-size: 1.62rem;
  }

  body.is-layout-wide .alert-panel {
    top: 104px;
  }

body.is-layout-wide .selected-product-card {
    min-height: 310px;
  }

  body.is-layout-wide .selected-product-image {
    width: 232px;
    height: 200px;
    left: 20px;
    bottom: 18px;
  }

  body.is-layout-wide .selected-product-info {
    max-width: 250px;
  }

  body.is-layout-wide .selected-product-info p {
    font-size: 0.86rem;
  }
}

@media (min-width: 1680px) {
  body.is-layout-wide .offer-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  body.is-layout-wide .offer-art.image-art {
    min-height: 238px;
    padding: 18px;
  }

  body.is-layout-wide .offer-product-image {
    max-height: 214px;
  }
}

body.is-layout-panel-open {
  overflow: hidden;
}

.layout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 202;
  display: none;
  background: rgba(8, 18, 42, 0.42);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.layout-sidepanel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 206;
  display: none;
  align-items: stretch;
  justify-content: flex-end;
  width: min(470px, 100%);
  padding: 14px;
  pointer-events: none;
}

.layout-panel-shell {
  width: 100%;
  height: calc(100dvh - 28px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 90, 61, 0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(36, 101, 255, 0.12), transparent 24%),
    rgba(255, 255, 255, 0.97);
  box-shadow: 0 30px 80px rgba(11, 25, 60, 0.26);
  overflow: hidden;
  pointer-events: auto;
  transform: translateX(28px);
  opacity: 0;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.layout-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.layout-panel-head h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.layout-panel-head p:not(.eyebrow) {
  margin: 10px 0 0;
  color: #64779e;
  font-size: 0.98rem;
  line-height: 1.55;
}

.layout-panel-close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 23, 41, 0.08);
  color: #17223f;
  cursor: pointer;
  flex: 0 0 auto;
}

.layout-panel-body {
  min-height: 0;
  display: grid;
  gap: 14px;
  overflow: auto;
  padding-right: 4px;
}

.layout-panel-group {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(27, 91, 230, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 28px rgba(18, 45, 106, 0.04);
}

.layout-group-head {
  display: grid;
  gap: 4px;
}

.layout-group-head .eyebrow {
  margin: 0;
}

.layout-group-head h3 {
  margin: 0;
  color: #16213e;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.18;
}

.layout-profile-grid {
  display: grid;
  gap: 10px;
}

.layout-profile-button {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(27, 91, 230, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 0.98));
  color: #15254a;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.layout-profile-button strong {
  font-size: 1rem;
  font-weight: 800;
}

.layout-profile-button span {
  color: #64779e;
  font-size: 0.88rem;
  line-height: 1.45;
}

.layout-profile-button:hover,
.layout-profile-button:focus-visible {
  border-color: rgba(27, 91, 230, 0.28);
  box-shadow: 0 16px 30px rgba(23, 57, 129, 0.1);
  transform: translateY(-1px);
}

.layout-profile-button.is-active {
  border-color: rgba(27, 91, 230, 0.42);
  background:
    radial-gradient(circle at top right, rgba(44, 111, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(240, 246, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 34px rgba(23, 57, 129, 0.14);
}

.layout-profile-button.is-active strong {
  color: #1b4fc3;
}

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

.layout-panel-group .toggle-card.compact {
  margin-top: 0;
}

.layout-panel-footer {
  display: grid;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid rgba(27, 91, 230, 0.08);
}

.layout-panel-footer p {
  margin: 0;
  color: #64779e;
  font-size: 0.86rem;
  line-height: 1.5;
}

.layout-panel-footer p strong {
  color: #193c8f;
}

.layout-panel-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.layout-panel-actions .button {
  width: 100%;
  min-height: 56px;
}

.is-layout-panel-open .layout-backdrop {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.is-layout-panel-open .layout-sidepanel {
  display: flex;
  pointer-events: auto;
}

.is-layout-panel-open .layout-panel-shell {
  transform: translateX(0);
  opacity: 1;
}

body[data-offer-columns="2"] .offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-offer-columns="3"] .offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-offer-columns="4"] .offer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-offer-columns="5"] .offer-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body[data-offer-columns="6"] .offer-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.offer-card-top.is-actions-only {
  justify-content: flex-end;
}

.offer-card-footer.is-arrow-only {
  justify-content: flex-end;
}

body[data-offer-detail-size="compact"] .offer-card {
  padding: 14px;
  border-radius: 20px;
}

body[data-offer-detail-size="compact"] .offer-card-body {
  gap: 12px;
}

body[data-offer-detail-size="compact"] .offer-art.image-art {
  min-height: 132px;
  padding: 12px;
}

body[data-offer-detail-size="compact"] .offer-product-image {
  max-height: 110px;
}

body[data-offer-detail-size="compact"] .offer-copy h3 {
  font-size: 1rem;
}

body[data-offer-detail-size="compact"] .offer-copy p {
  font-size: 0.84rem;
}

body[data-offer-detail-size="compact"] .offer-price-row strong {
  font-size: 1.18rem;
}

body[data-offer-detail-size="compact"] .selected-product-card {
  min-height: 252px;
}

body[data-offer-detail-size="compact"] .selected-product-image {
  width: 184px;
  height: 156px;
}

body[data-offer-detail-size="large"] .offer-card {
  padding: 20px;
  border-radius: 26px;
}

body[data-offer-detail-size="large"] .offer-card-body {
  grid-template-columns: minmax(180px, 48%) minmax(0, 1fr);
  gap: 20px;
}

body[data-offer-detail-size="large"] .offer-art.image-art {
  min-height: 220px;
  padding: 18px;
}

body[data-offer-detail-size="large"] .offer-product-image {
  max-height: 188px;
}

body[data-offer-detail-size="large"] .offer-copy h3 {
  font-size: 1.28rem;
  line-height: 1.12;
}

body[data-offer-detail-size="large"] .offer-copy p {
  font-size: 0.96rem;
}

body[data-offer-detail-size="large"] .discount-pill {
  min-height: 34px;
  padding-inline: 12px;
  font-size: 0.94rem;
}

body[data-offer-detail-size="large"] .offer-price-row strong {
  font-size: 1.66rem;
}

body[data-offer-detail-size="large"] .selected-product-card {
  min-height: 338px;
}

body[data-offer-detail-size="large"] .selected-product-image {
  width: 248px;
  height: 214px;
  left: 24px;
  bottom: 20px;
}

body[data-offer-detail-size="large"] .selected-product-info {
  max-width: 258px;
}

body.is-site-fullscreen {
  --max-width: none;
  --content-width: calc(100vw - clamp(18px, 2vw, 30px));
}

@media (min-width: 1200px) {
  body.is-site-fullscreen .page-shell {
    padding-top: 16px;
    padding-bottom: 72px;
  }

  body.is-site-fullscreen .hero {
    padding-top: 40px;
  }

  body.is-site-fullscreen .hero-shell {
    grid-template-columns: minmax(0, 1.56fr) minmax(560px, 0.64fr);
    gap: 48px;
  }

  body.is-site-fullscreen .workspace {
    grid-template-columns: minmax(0, 1.18fr) minmax(540px, 0.82fr);
    gap: 32px;
  }

  body.is-site-fullscreen .toolbar-card,
  body.is-site-fullscreen .alert-panel {
    top: 102px;
  }
}

@media (min-width: 1161px) and (max-width: 1320px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr) 312px;
    gap: 20px;
  }

  .alert-panel {
    order: initial;
    position: sticky;
  }
}

@media (max-width: 1160px) {
  .layout-sidepanel {
    inset: 0;
    width: 100%;
    padding: 8px 0 0;
    align-items: end;
  }

  .layout-panel-shell {
    height: min(780px, calc(100dvh - 8px));
    border-radius: 28px 28px 0 0;
    transform: translateY(28px);
  }

  .is-layout-panel-open .layout-panel-shell {
    transform: translateY(0);
  }

  body[data-offer-columns] .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-offer-detail-size="large"] .offer-card-body,
  body[data-offer-detail-size="compact"] .offer-card-body {
    grid-template-columns: 1fr;
  }

  body[data-offer-detail-size="large"] .offer-art.image-art {
    min-height: 164px;
    padding: 14px;
  }

  body[data-offer-detail-size="large"] .offer-product-image {
    max-height: 126px;
  }

  body.is-site-fullscreen {
    --content-width: min(calc(100vw - 20px), 100vw);
  }
}

@media (max-width: 820px) {
  .layout-panel-shell {
    padding: 18px 14px 14px;
  }

  .layout-panel-head h2 {
    font-size: 1.9rem;
  }

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

/* Responsive offer layout stabilization */

.offer-card-store,
.offer-copy {
  min-width: 0;
}

@media (min-width: 1161px) {
  body[data-offer-detail-size="large"][data-offer-columns="3"] .offer-card-body,
  body[data-offer-detail-size="large"][data-offer-columns="4"] .offer-card-body,
  body[data-offer-detail-size="large"][data-offer-columns="5"] .offer-card-body,
  body[data-offer-detail-size="large"][data-offer-columns="6"] .offer-card-body {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body[data-offer-detail-size="large"][data-offer-columns="3"] .offer-art.image-art,
  body[data-offer-detail-size="large"][data-offer-columns="4"] .offer-art.image-art,
  body[data-offer-detail-size="large"][data-offer-columns="5"] .offer-art.image-art,
  body[data-offer-detail-size="large"][data-offer-columns="6"] .offer-art.image-art {
    min-height: 176px;
    padding: 14px;
  }

  body[data-offer-detail-size="large"][data-offer-columns="3"] .offer-product-image,
  body[data-offer-detail-size="large"][data-offer-columns="4"] .offer-product-image,
  body[data-offer-detail-size="large"][data-offer-columns="5"] .offer-product-image,
  body[data-offer-detail-size="large"][data-offer-columns="6"] .offer-product-image {
    max-height: 148px;
  }

  .selected-product-card {
    min-height: clamp(184px, 19vw, 228px);
  }

  .selected-product-image {
    width: clamp(126px, 34%, 170px);
    height: clamp(110px, 28%, 150px);
  }

  .selected-product-info {
    max-width: min(46%, 210px);
  }

  body[data-offer-detail-size="large"] .selected-product-card {
    min-height: clamp(228px, 22vw, 282px);
  }

  body[data-offer-detail-size="large"] .selected-product-image {
    width: clamp(164px, 41%, 214px);
    height: clamp(142px, 31%, 184px);
    left: 20px;
    bottom: 18px;
  }

  body[data-offer-detail-size="large"] .selected-product-info {
    max-width: min(48%, 228px);
  }

  body.is-layout-wide .selected-product-card {
    min-height: clamp(238px, 22vw, 292px);
  }

  body.is-layout-wide .selected-product-image {
    width: clamp(168px, 40%, 220px);
    height: clamp(146px, 31%, 188px);
  }
}

@media (max-width: 1160px) {
  .offer-card-body,
  body[data-offer-detail-size="compact"] .offer-card-body,
  body[data-offer-detail-size="balanced"] .offer-card-body,
  body[data-offer-detail-size="large"] .offer-card-body {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .offer-art.image-art,
  body[data-offer-detail-size="large"] .offer-art.image-art {
    min-height: 152px;
    padding: 14px;
  }

  .offer-product-image,
  body[data-offer-detail-size="large"] .offer-product-image {
    max-height: 126px;
  }
}

@media (max-width: 720px) {
  .offer-grid,
  body[data-offer-columns] .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-card {
    padding: 14px;
    border-radius: 20px;
  }

  .offer-card-body,
  body[data-offer-detail-size="compact"] .offer-card-body,
  body[data-offer-detail-size="balanced"] .offer-card-body,
  body[data-offer-detail-size="large"] .offer-card-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .offer-art.image-art,
  body[data-offer-detail-size="large"] .offer-art.image-art,
  body[data-offer-detail-size="compact"] .offer-art.image-art {
    min-height: 132px;
    padding: 12px;
  }

  .offer-product-image,
  body[data-offer-detail-size="large"] .offer-product-image,
  body[data-offer-detail-size="compact"] .offer-product-image {
    max-height: 118px;
  }

  .offer-copy {
    gap: 6px;
  }

  .offer-copy h3 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .offer-copy p {
    font-size: 0.82rem;
    line-height: 1.48;
  }
}

/* Right column redesign */

@media (min-width: 1321px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr) clamp(420px, 31vw, 520px);
    gap: 28px;
  }

  body.is-layout-wide .workspace,
  body.is-site-fullscreen .workspace {
    grid-template-columns: minmax(0, 1fr) clamp(450px, 31vw, 560px);
  }
}

.alert-drawer {
  border-radius: 34px;
  border: 1px solid rgba(26, 92, 229, 0.09);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 54px rgba(16, 47, 112, 0.12);
}

.alert-drawer-summary {
  align-items: flex-start;
  gap: 10px;
  padding: 18px 18px 14px;
}

.alert-drawer-summary > span:last-of-type {
  gap: 4px;
}

.alert-drawer-summary strong {
  font-size: 1.06rem;
  line-height: 1.08;
}

.alert-drawer-summary small {
  font-size: 0.8rem;
}

.alert-drawer-body {
  padding: 0 18px 22px;
}

.alert-detail-shell {
  display: grid;
  gap: 22px;
}

.alert-panel-quick-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.map-open-button {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
}

.panel-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  min-width: 50px;
  padding: 0;
}

.panel-action-icon .icon {
  width: 20px;
  height: 20px;
  margin: 0;
  display: block;
}

.alert-product-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.alert-product-copy {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.alert-product-copy .offer-badge {
  justify-self: start;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.alert-product-copy h3 {
  margin: 0;
  color: #18295e;
  font-family: "Avenir Next", "Avenir", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 3.45vw, 3.05rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.alert-product-detail {
  margin: 0;
  color: #5d6f95;
  font-size: 0.93rem;
  line-height: 1.45;
}

.alert-favorite-button {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(40, 83, 182, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #192d60;
  box-shadow: 0 10px 22px rgba(20, 53, 121, 0.08);
}

.alert-favorite-button.is-active {
  border-color: rgba(26, 92, 229, 0.24);
  background: rgba(235, 243, 255, 0.96);
  color: #1a5ce5;
}

.alert-favorite-button:disabled {
  opacity: 0.45;
}

.alert-price-block {
  display: grid;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(41, 82, 175, 0.14);
}

.alert-price-main-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.alert-price-main-row #selected-offer-price {
  color: #e0303d;
  font-size: clamp(2.45rem, 6vw, 3.85rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.alert-discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd84f 0%, #ffcf3a 100%);
  color: #193b8c;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.alert-price-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #607196;
  font-size: 0.93rem;
}

.alert-price-meta strong {
  color: #e0303d;
}

.alert-price-meta #selected-offer-old-price {
  color: #607196;
  text-decoration: line-through;
}

.alert-price-dot {
  color: #b8c2da;
}

.alert-validity-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px 18px;
  border: 1px solid rgba(54, 112, 238, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.alert-validity-card .icon {
  color: #2d67f4;
}

.alert-validity-card div {
  display: grid;
  gap: 2px;
}

.alert-validity-card strong {
  color: #2458dd;
  font-size: 0.95rem;
}

.alert-validity-card span {
  color: #64779e;
  font-size: 0.9rem;
}

.quantity-panel {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 0;
}

.quantity-panel-copy {
  margin: 0;
  color: #1d2b57;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 64px minmax(88px, 1fr) 64px;
  align-items: center;
  min-height: 70px;
  min-width: min(318px, 100%);
  border: 1px solid rgba(34, 83, 188, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  overflow: hidden;
}

.quantity-stepper-button {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: #1b2d63;
  font-size: 2rem;
  line-height: 1;
}

.quantity-stepper input {
  width: 100%;
  min-height: 70px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #16295e;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  appearance: textfield;
}

.quantity-stepper input::-webkit-outer-spin-button,
.quantity-stepper input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

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

.offer-action-button-primary {
  min-height: 66px;
  border-radius: 22px;
  box-shadow: 0 24px 42px rgba(27, 92, 229, 0.2);
}

.offer-action-button-primary span {
  font-size: 1rem;
  font-weight: 800;
}

.alert-secondary-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 6px 4px;
  color: #235ae0;
}

.alert-secondary-link-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.alert-secondary-link-copy {
  display: grid;
  gap: 2px;
}

.alert-secondary-link-copy strong {
  color: #235ae0;
  font-size: 0.93rem;
  font-weight: 800;
}

.alert-secondary-link-copy small {
  color: #66789f;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(62, 171, 106, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(248, 255, 250, 0.98), rgba(255, 255, 255, 0.98));
}

.status-chip {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(62, 171, 106, 0.12);
  color: #329158;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-line strong {
  color: #627293;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.status-info-link {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #627293;
}

.status-line-link {
  text-decoration: none;
}

.status-line-link:hover {
  border-color: rgba(62, 171, 106, 0.22);
  box-shadow: 0 12px 22px rgba(16, 47, 112, 0.08);
}

.status-line-link.is-disabled {
  pointer-events: none;
  opacity: 0.88;
}

.offer-badge-link {
  text-decoration: none;
}

.offer-badge-link.is-disabled {
  pointer-events: none;
}

.secondary-feature-drawer {
  border-radius: 24px;
  border: 1px solid rgba(37, 88, 206, 0.1);
  background: linear-gradient(180deg, rgba(249, 251, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.secondary-feature-summary {
  gap: 12px;
  padding: 18px;
  color: #17295d;
}

.secondary-feature-summary-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.secondary-feature-summary-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.secondary-feature-summary-copy strong {
  color: #17295d;
  font-size: 0.92rem;
  font-weight: 800;
}

.secondary-feature-summary-copy small {
  color: #6b7c9d;
  font-size: 0.82rem;
  font-weight: 600;
}

.secondary-feature-drawer[open] .secondary-feature-summary > .icon:last-child {
  transform: rotate(180deg);
}

.secondary-feature-body {
  gap: 12px;
  padding: 0 18px 18px;
}

.secondary-feature-history {
  padding-top: 2px;
}

.history-panel {
  gap: 12px;
  margin-top: 0;
  padding: 4px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

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

.history-head strong {
  color: #5c6e95;
  font-size: 0.84rem;
}

.history-chart-shell {
  border-radius: 20px;
  border: 1px solid rgba(37, 88, 206, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

.service-disclaimer.compact {
  margin-top: 6px;
  padding-top: 0;
  color: #7c89a5;
  font-size: 0.82rem;
}

@media (min-width: 1161px) {
  .alert-panel {
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
  }

  .alert-panel::-webkit-scrollbar {
    width: 8px;
  }

  .alert-panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(72, 98, 155, 0.35);
  }

  .alert-panel::-webkit-scrollbar-track {
    background: transparent;
  }

  .alert-drawer {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .alert-drawer-summary {
    display: none;
  }

  .alert-drawer-body {
    padding: 0;
  }

  .alert-detail-shell {
    padding: 22px;
    border: 1px solid rgba(26, 92, 229, 0.09);
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.97));
    box-shadow: 0 28px 64px rgba(16, 47, 112, 0.12);
  }
}

@media (max-width: 1160px) {
  .alert-drawer {
    border-radius: 30px;
  }

  .alert-panel-quick-actions {
    padding-top: 4px;
  }

  .alert-detail-shell {
    gap: 20px;
  }
}

@media (max-width: 820px) {
  .alert-drawer-summary {
    padding: 14px 14px 10px;
  }

  .alert-drawer-body {
    padding: 0 14px 18px;
  }

  .map-open-button {
    min-height: 46px;
    padding-inline: 14px;
    font-size: 0.92rem;
  }

  .panel-action-icon {
    width: 46px;
    min-width: 46px;
  }

  .alert-product-copy {
    gap: 12px;
  }

  .alert-product-copy h3 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .alert-product-detail {
    font-size: 0.88rem;
  }

  .alert-price-main-row #selected-offer-price {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .alert-validity-card {
    padding: 16px;
  }

  .quantity-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .quantity-stepper {
    min-width: 0;
    width: 100%;
    min-height: 68px;
  }

  .quantity-stepper input {
    min-height: 68px;
    font-size: 1.48rem;
  }

  .offer-action-button-primary {
    min-height: 64px;
  }

  .status-line {
    grid-template-columns: 1fr auto;
    row-gap: 8px;
  }

  .status-line strong {
    grid-column: 1 / -1;
    font-size: 0.92rem;
  }

  .secondary-feature-summary {
    padding: 16px;
  }

  .secondary-feature-summary-copy strong {
    font-size: 0.94rem;
  }

  .secondary-feature-summary-copy small {
    font-size: 0.82rem;
  }

  .service-disclaimer.compact {
    font-size: 0.84rem;
  }
}

/* Mobile home dock */

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

@media (max-width: 820px) {
  .mobile-home-dock {
    position: fixed;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 80;
    width: min(calc(100vw - 18px), 520px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(32, 70, 161, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 22px 48px rgba(17, 44, 113, 0.2);
  }

  .mobile-home-dock button,
  .mobile-home-dock a {
    min-height: 52px;
    border: 1px solid rgba(32, 70, 161, 0.14);
    border-radius: 16px;
    background: #ffffff;
    color: #1d355f;
    font-size: 0.86rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
  }

  .mobile-home-dock button .icon,
  .mobile-home-dock a .icon {
    width: 18px;
    height: 18px;
  }

  .mobile-home-dock button[data-action="scroll-to-offers"] {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(160deg, #2a63ea, #1c4fcd);
  }

  .page-shell {
    padding-bottom: 94px;
  }

  .hero {
    padding-top: 10px;
  }

  .hero-shell {
    gap: 10px;
    padding-inline: 8px;
  }

  .hero-copy {
    padding-top: 2px;
  }

  .hero-copy h1 {
    font-size: clamp(1.82rem, 7vw, 2.45rem);
    max-width: 12ch;
  }

  .hero-text {
    margin-top: 6px;
    font-size: 0.94rem;
  }

  .hero-doodle,
  .hero-visual {
    display: none;
  }

  .hero-search-bar {
    margin-top: 12px;
    gap: 8px;
    padding: 12px;
  }

  .hero-location-shell,
  .hero-query-shell,
  .hero-radius-shell {
    min-height: 48px;
  }

  .hero-shell-icon {
    width: 34px;
    height: 34px;
  }

  .hero-search-submit {
    width: 54px;
    height: 60px;
    border-radius: 16px;
  }

  .hero-search-submit .icon {
    width: 21px;
    height: 21px;
  }

  .hero-radius-shell,
  .hero-locate-button {
    min-height: 48px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .offers {
    padding: 14px;
  }

  .toolbar-card {
    position: static;
    top: auto;
    z-index: auto;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
  }

  .toolbar-row.toolbar-search-row {
    margin-bottom: 8px;
  }
}

@media (max-width: 560px) {
  .toolbar-card {
    display: grid;
    gap: 10px;
    align-content: start;
  }

  .toolbar-row {
    flex-wrap: wrap;
  }

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

  .filter-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    overflow: hidden;
  }

  .filter-summary-copy {
    flex-wrap: wrap;
    overflow: visible;
    white-space: normal;
  }

  .filter-summary-copy strong {
    width: 100%;
    white-space: normal;
  }

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

  .summary-action {
    width: 100%;
  }

  .mobile-home-dock {
    width: min(calc(100vw - 12px), 520px);
    bottom: 8px;
    padding: 7px;
  }

  .mobile-home-dock button,
  .mobile-home-dock a {
    min-height: 48px;
    gap: 6px;
    font-size: 0.82rem;
  }

  .hero-location-shell,
  .hero-query-shell,
  .hero-radius-shell {
    min-height: 48px;
    padding-inline: 14px;
  }

  .hero-reset-button {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 16px;
    font-size: 0.82rem;
  }

  .hero-query-shell,
  .hero-radius-shell,
  .hero-locate-button {
    border-radius: 20px;
  }

  .hero-search-submit {
    width: 100%;
    height: 48px;
    border-radius: 18px;
  }

  .hero-search-actions {
    gap: 8px;
  }

  .hero-locate-button {
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .toast {
    right: 10px;
    bottom: 84px;
    min-width: 0;
  }
}

/* Hero refinements: search layout + visual balance */
.hero-shell {
  grid-template-columns: minmax(0, 1.04fr) minmax(470px, 0.96fr);
  gap: 38px;
  align-items: center;
  padding-inline: 28px;
}

.hero-copy {
  max-width: 860px;
  padding-top: 10px;
}

.hero-search-bar {
  max-width: 860px;
  margin-top: 26px;
  gap: 14px;
  padding: 18px;
  border-radius: 34px;
}

.hero-search-top {
  grid-template-columns: minmax(0, 1fr) auto;
}

.hero-query-row {
  grid-template-columns: minmax(0, 1fr);
}

.hero-query-shell {
  position: relative;
  min-height: 76px;
  padding-right: 106px;
}

.hero-query-shell input {
  padding-right: 8px;
}

.hero-search-submit {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 86px;
  height: calc(100% - 20px);
}

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

.hero-locate-button,
.hero-radius-shell {
  min-height: 68px;
}

.hero-visual {
  max-width: 570px;
  min-height: 570px;
  padding: 16px 12px 24px;
}

.hero-visual::before {
  inset: 34px 22px 20px;
  border-radius: 44px;
}

.hero-visual::after {
  inset: 20px;
  margin: auto;
  width: 470px;
  height: 470px;
  border: 2px solid rgba(255, 255, 255, 0.36);
  background: radial-gradient(circle, rgba(76, 128, 255, 0.1), rgba(76, 128, 255, 0) 72%);
}

.hero-phone {
  left: 50%;
  right: auto;
  top: 26px;
  width: 294px;
  height: 518px;
  transform: translateX(-50%) rotate(6.5deg);
}

.hero-floating-logo {
  width: 84px;
  height: 84px;
}

.hero-floating-logo img {
  width: 50px;
  height: 50px;
}

.logo-rewe {
  top: 108px;
  left: 42px;
  transform: rotate(8deg);
}

.logo-lidl {
  top: 226px;
  left: 20px;
  transform: rotate(-8deg);
}

.logo-rossmann {
  top: 402px;
  left: 44px;
  transform: rotate(-6deg);
}

.logo-aldi {
  top: 126px;
  right: 30px;
  transform: rotate(8deg);
}

.logo-dm {
  top: 262px;
  right: 10px;
  transform: rotate(5deg);
}

.logo-edeka {
  top: 398px;
  right: 40px;
  transform: rotate(6deg);
}

.hero-spark-a {
  top: 72px;
  right: 148px;
  width: 5px;
  height: 36px;
  transform: rotate(-12deg);
}

.hero-spark-b {
  top: 92px;
  right: 112px;
  width: 30px;
  height: 4px;
  transform: rotate(42deg);
}

.hero-spark-c {
  top: 302px;
  left: 114px;
  width: 28px;
  height: 4px;
  transform: rotate(-46deg);
}

@media (max-width: 1320px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 960px;
  }

  .hero-visual {
    max-width: 620px;
    min-height: 500px;
    margin-top: 18px;
  }

  .hero-phone {
    transform: translateX(-50%) rotate(5.5deg);
  }

  .logo-rewe {
    left: calc(50% - 250px);
  }

  .logo-lidl {
    left: calc(50% - 272px);
  }

  .logo-rossmann {
    left: calc(50% - 242px);
  }

  .logo-aldi,
  .logo-dm,
  .logo-edeka {
    right: calc(50% - 252px);
  }

  .hero-spark-a {
    right: calc(50% - 114px);
  }

  .hero-spark-b {
    right: calc(50% - 78px);
  }

  .hero-spark-c {
    left: calc(50% - 176px);
  }
}

@media (max-width: 1100px) {
  .hero-shell {
    gap: 28px;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(3.3rem, 5.5vw, 4.65rem);
  }

  .hero-search-bar {
    max-width: 100%;
  }

  .hero-search-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-reset-row {
    justify-content: flex-start;
  }

  .hero-visual {
    min-height: 454px;
  }

  .hero-phone {
    width: 258px;
    height: 452px;
    top: 16px;
    transform: translateX(-50%) rotate(5deg);
  }

  .hero-floating-logo {
    width: 76px;
    height: 76px;
    border-radius: 22px;
  }

  .hero-floating-logo img {
    width: 44px;
    height: 44px;
  }

  .logo-rewe {
    top: 92px;
    left: 28px;
  }

  .logo-lidl {
    top: 188px;
    left: 18px;
  }

  .logo-rossmann {
    top: 318px;
    left: 26px;
  }

  .logo-aldi {
    top: 102px;
    right: 22px;
  }

  .logo-dm {
    top: 214px;
    right: 10px;
  }

  .logo-edeka {
    top: 330px;
    right: 30px;
  }
}

@media (max-width: 820px) {
  .hero-query-shell {
    min-height: 66px;
    padding-right: 94px;
  }

  .hero-search-submit {
    top: 8px;
    right: 8px;
    width: 78px;
    height: calc(100% - 16px);
    border-radius: 22px;
  }

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

  .hero-locate-button,
  .hero-radius-shell {
    min-height: 64px;
  }

  .hero-visual {
    min-height: 414px;
  }

  .hero-phone {
    width: 244px;
    height: 424px;
  }

  .logo-rewe {
    top: 86px;
    left: 22px;
  }

  .logo-lidl {
    top: 178px;
    left: 14px;
  }

  .logo-rossmann {
    top: 292px;
    left: 22px;
  }

  .logo-aldi {
    top: 94px;
    right: 18px;
  }

  .logo-dm {
    top: 198px;
    right: 8px;
  }

  .logo-edeka {
    top: 302px;
    right: 24px;
  }
}

/* Offers area redesign */

.offers .section-head {
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.offers .section-head h2 {
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  line-height: 0.96;
}

.offers .section-head p {
  max-width: 44rem;
  color: #66789d;
  font-size: 1rem;
  line-height: 1.56;
}

.offers-link {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(37, 88, 206, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(18, 48, 120, 0.06);
}

.workspace {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 24px;
  align-items: start;
}

.workspace-main {
  display: grid;
  gap: 18px;
}

body.has-active-filters .filter-summary {
  position: static;
  top: auto;
  box-shadow: none;
}

.toolbar-card {
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(29, 90, 227, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.9));
  box-shadow: 0 24px 54px rgba(15, 40, 98, 0.08);
}

.toolbar-command-row {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(180px, 0.9fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 12px;
}

.control-search-inline,
.control-sort-inline {
  margin: 0;
}

.control-search-inline .compact-input-shell,
.control-sort-inline .compact-select-shell {
  min-height: 60px;
  border-radius: 20px;
  border: 1px solid rgba(34, 86, 205, 0.1);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.control-search-inline .compact-input-shell {
  padding-inline: 18px;
}

.control-sort-inline select {
  width: 100%;
  min-height: 60px;
  padding: 0 46px 0 16px;
  border: 0;
  background: transparent;
  color: #19284a;
  font-size: 0.98rem;
  font-weight: 700;
  appearance: none;
}

.toolbar-chip {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(34, 86, 205, 0.1);
  border-radius: 20px;
  background: #ffffff;
  color: #18284d;
  font-size: 0.96rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(22, 52, 118, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.toolbar-chip:hover,
.toolbar-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 92, 227, 0.24);
  box-shadow: 0 16px 28px rgba(22, 52, 118, 0.08);
}

.toolbar-location-chip {
  justify-content: space-between;
  min-width: 0;
}

.toolbar-location-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toolbar-chip-chevron,
.compact-select-shell .chevron-inline {
  color: #7e8fb5;
  flex: 0 0 auto;
}

.toolbar-filter-chip[aria-expanded="true"] {
  border-color: rgba(28, 92, 229, 0.3);
  background: rgba(37, 88, 206, 0.08);
  color: #1c4db3;
}

.filter-drawer {
  margin-top: 0;
  border: 0;
}

.filter-drawer-summary {
  display: none;
}

.filter-drawer-body {
  gap: 14px;
  padding-top: 2px;
}

.toolbar-controls {
  grid-template-columns: minmax(0, 200px);
  gap: 12px;
}

.toolbar-controls .control select {
  min-height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(33, 86, 210, 0.12);
  background: #ffffff;
}

.compact-store-row {
  gap: 12px;
  margin-top: 0;
}

.compact-store-row .store-chip {
  min-height: 60px;
  padding: 12px 14px;
  border-radius: 18px;
  border-color: rgba(37, 88, 206, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(20, 49, 110, 0.04);
}

.compact-store-row .store-chip.is-active {
  border-color: rgba(31, 92, 227, 0.3);
  box-shadow: 0 18px 32px rgba(25, 88, 217, 0.12);
}

.filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.filter-summary-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.filter-summary-copy strong {
  color: #132447;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.filter-summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(36, 86, 204, 0.1);
  background: rgba(246, 249, 255, 0.96);
  color: #59709d;
  font-size: 0.84rem;
  font-weight: 700;
}

.filter-summary-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.filter-pill-toggle {
  min-height: 42px;
}

.summary-icon-action {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 88, 206, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #2357c9;
  box-shadow: 0 10px 22px rgba(18, 48, 120, 0.06);
}

.summary-action {
  min-height: 46px;
  padding-inline: 16px;
  border-radius: 16px;
  font-size: 0.84rem;
  font-weight: 800;
}

.summary-action-prominent {
  background: rgba(255, 255, 255, 0.96);
}

.offer-grid {
  margin-top: 0;
  gap: 18px;
}

.offer-card {
  min-width: 0;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(28, 91, 227, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 255, 0.98));
  box-shadow: 0 20px 44px rgba(15, 42, 104, 0.06);
}

.offer-card.is-selected {
  border-color: rgba(34, 86, 205, 0.22);
  box-shadow: 0 28px 60px rgba(28, 92, 227, 0.12);
}

.offer-card-top {
  align-items: start;
  gap: 12px;
}

.offer-card-store {
  gap: 10px;
}

.offer-card-store span {
  color: #68799c;
  font-size: 0.82rem;
  font-weight: 700;
}

.offer-list-toggle {
  min-height: 38px;
  padding-inline: 12px;
  border: 1px solid rgba(34, 86, 205, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: #1b4bb1;
  box-shadow: 0 10px 20px rgba(14, 46, 113, 0.04);
}

.offer-list-toggle.is-added {
  border-color: rgba(38, 170, 94, 0.24);
  background: rgba(236, 251, 243, 0.98);
  color: #1b8a4a;
}

.offer-card-body {
  grid-template-columns: 1fr;
  gap: 16px;
}

.offer-art.image-art {
  min-height: 178px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(246, 248, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.offer-product-image {
  max-height: 148px;
}

.offer-copy {
  gap: 8px;
}

.offer-copy h3 {
  color: #101a35;
  font-size: 1.26rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.offer-copy p {
  color: #60739c;
  font-size: 0.92rem;
  line-height: 1.55;
}

.discount-pill.compact-badge {
  width: fit-content;
  min-height: 30px;
  padding-inline: 10px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.offer-price-row {
  align-items: baseline;
  gap: 10px;
  margin-top: 2px;
}

.offer-price-row strong {
  color: var(--price-color, #e12634);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.offer-price-row span {
  color: #8b98b7;
  font-size: 1rem;
}

.offer-card-footer {
  margin-top: 14px;
  align-items: center;
}

.distance {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(248, 250, 255, 0.98);
  color: #6e7f9f;
  font-size: 0.82rem;
  font-weight: 700;
}

.card-arrow {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(246, 249, 255, 0.96);
  color: #2256c7;
}

.load-more {
  width: fit-content;
  min-width: 0;
  min-height: 48px;
  margin-top: 2px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(36, 86, 204, 0.14);
  color: #2357c9;
  box-shadow: 0 14px 30px rgba(18, 48, 120, 0.06);
}

.alert-panel {
  top: 104px;
}

.alert-detail-shell {
  padding: 20px;
  border: 1px solid rgba(28, 91, 227, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  box-shadow: 0 24px 54px rgba(15, 42, 104, 0.08);
}

.alert-panel-quick-actions {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.panel-action.map-open-button {
  min-height: 44px;
  padding-inline: 14px;
  border-radius: 16px;
}

.alert-product-header {
  align-items: start;
  gap: 18px;
}

.alert-product-copy h3 {
  margin-top: 10px;
  font-size: clamp(2rem, 2vw, 2.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.alert-product-detail {
  margin-top: 10px;
  color: #5f7197;
  font-size: 1rem;
  line-height: 1.55;
}

.alert-price-block {
  margin-top: 16px;
}

.alert-price-main-row {
  align-items: center;
  gap: 12px;
}

#selected-offer-price {
  color: var(--selected-price-color, #e12634);
  font-size: clamp(2.75rem, 3vw, 4rem);
  letter-spacing: -0.05em;
}

.alert-price-meta {
  margin-top: 10px;
  color: #7586a7;
}

.alert-validity-card {
  margin-top: 18px;
}

.quantity-panel {
  margin-top: 18px;
}

.quantity-stepper {
  min-height: 54px;
  border-radius: 18px;
}

.offer-action-stack {
  gap: 12px;
  margin-top: 18px;
}

.alert-secondary-link {
  min-height: 66px;
  padding: 0 18px;
  border-radius: 18px;
}

.status-line {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 18px;
}

.secondary-feature-drawer {
  margin-top: 12px;
}

@media (max-width: 1280px) {
  .toolbar-command-row {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.8fr) auto;
  }

  .control-sort-inline {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .alert-panel {
    top: auto;
  }
}

@media (max-width: 820px) {
  .offers .section-head {
    align-items: start;
    margin-bottom: 14px;
  }

  .offers .section-head h2 {
    font-size: clamp(1.95rem, 8vw, 2.6rem);
  }

  .toolbar-card {
    padding: 14px;
    border-radius: 24px;
  }

  .toolbar-command-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .toolbar-chip,
  .control-search-inline .compact-input-shell,
  .control-sort-inline .compact-select-shell {
    min-height: 56px;
  }

  .toolbar-location-chip,
  .toolbar-filter-chip,
  .control-sort-inline {
    width: 100%;
  }

  .filter-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-summary-actions {
    justify-content: flex-start;
  }

  .offer-grid {
    gap: 14px;
  }

  .offer-card {
    padding: 14px;
    border-radius: 24px;
  }

  .offer-art.image-art {
    min-height: 138px;
    padding: 14px;
  }

  .offer-product-image {
    max-height: 112px;
  }

  .offer-copy h3 {
    font-size: 1.04rem;
  }

  .offer-price-row strong {
    font-size: 1.6rem;
  }
}

/* Legal / trust-focused overrides */

.store-chip-mark,
.brand-pill-mark,
.offer-card-store-badge,
.hero-floating-logo span,
.map-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.store-chip-mark {
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.8rem;
}

.brand-pill-mark {
  min-width: 44px;
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.72rem;
}

.offer-card-store-badge {
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.78rem;
}

.offer-card-price-note {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  color: #627293;
  font-size: 0.84rem;
  line-height: 1.4;
}

.alert-price-meta #selected-offer-old-price {
  text-decoration: none;
  font-weight: 700;
}

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

.alert-source-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(37, 88, 206, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(249, 251, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.alert-source-item strong {
  color: #2458dd;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alert-source-item span {
  color: #5d6f95;
  font-size: 0.92rem;
  line-height: 1.45;
}

.alert-source-note {
  margin: -8px 0 0;
  color: #607196;
  font-size: 0.86rem;
  line-height: 1.5;
}

.panel-inline-link {
  color: #2458dd;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.panel-inline-link:hover {
  text-decoration: underline;
}

.hero-floating-logo,
.map-logo {
  padding: 6px;
}

.hero-floating-logo span {
  min-height: 28px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #18387f;
  font-size: 0.76rem;
}

.map-logo span {
  min-height: 28px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.96);
  color: #17306a;
  font-size: 0.72rem;
}

.hero-preview-brand-mark,
.insight-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 800;
}

.hero-preview-brand-mark {
  min-height: 24px;
  padding: 0 8px;
  font-size: 0.68rem;
}

.insight-logo-mark {
  width: 44px;
  height: 44px;
  font-size: 0.76rem;
}

.hero-preview-price span {
  color: #627293;
  text-decoration: none;
  font-size: 0.72rem;
}

@media (max-width: 880px) {
  .alert-source-grid {
    grid-template-columns: 1fr;
  }
}
