:root {
  --bg: #f3f5f1;
  --surface: #ffffff;
  --text: #151817;
  --muted: #626b68;
  --accent: #55dfbf;
  --accent-strong: #20c99e;
  --accent-warm: #ff7a1a;
  --border: rgba(21, 24, 23, 0.1);
  --shadow: 0 18px 42px rgba(24, 43, 38, 0.1);
  --chip-bg: rgba(85, 223, 191, 0.14);
  --chip-border: rgba(32, 201, 158, 0.28);
  --chip-text: #116955;
  --highlight-bg: rgba(85, 223, 191, 0.2);
  --section-gap: 2.4rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(85, 223, 191, 0.22) 0%, rgba(85, 223, 191, 0) 36%),
    linear-gradient(215deg, rgba(255, 122, 26, 0.12) 0%, rgba(255, 122, 26, 0) 34%),
    linear-gradient(180deg, #fbfcf8 0%, #eef2ec 100%);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header,
.site-footer {
  width: 100%;
}

.site-header {
  padding: 1.45rem 0 var(--section-gap);
  margin-bottom: var(--section-gap);
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: inherit;
  overflow: visible;
}

.hero-store {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-store-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 340px);
  gap: 1rem;
  align-items: center;
}

.hero-store-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.hero-store-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 1.1rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: #146350;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: none;
}

.hero-store-badge::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.48rem;
  border-radius: 999px;
  background: #20c99e;
  box-shadow: 0 0 0 4px rgba(32, 201, 158, 0.16);
}

body.spotlight-active::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.spotlight-target {
  position: relative;
  z-index: 999;
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(24, 43, 38, 0.18);
  border-color: rgba(32, 201, 158, 0.42);
  scroll-margin-top: 140px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.hero-store-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3.4vw, 3.25rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

body.brand-page:not(.home-page) .hero-store-copy h1 {
  max-width: 9.2em;
  margin-bottom: 1rem;
  font-size: 4.7rem;
  line-height: 0.98;
  font-weight: 800;
}

.hero-store-copy .lead {
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.5;
}

body.brand-page:not(.home-page) .hero-store-copy .lead {
  max-width: 34rem;
  font-size: 1.22rem;
  line-height: 1.4;
  color: rgba(244, 241, 232, 0.72);
}

.home-hero-layout {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.home-page .hero-store-copy {
  align-items: center;
  text-align: center;
}

.home-page .hero-store-copy h1 {
  max-width: 820px;
  font-size: clamp(1.9rem, 4.1vw, 3.35rem);
  line-height: 1.04;
}

.home-page .hero-store-copy .lead {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(1.04rem, 1.42vw, 1.22rem);
  line-height: 1.46;
}

.home-hero-panel {
  display: grid;
  gap: 0.8rem;
  align-self: center;
  position: relative;
  overflow: hidden;
  padding: 1.05rem;
  border-radius: 28px;
  border: 1px solid rgba(32, 201, 158, 0.18);
  background:
    linear-gradient(180deg, rgba(85, 223, 191, 0.16) 0%, rgba(255, 255, 255, 0.96) 28%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 0 20px 46px rgba(24, 43, 38, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-hero-panel::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 223, 191, 0.24) 0%, rgba(85, 223, 191, 0) 68%);
  pointer-events: none;
}

.home-hero-note {
  margin: 0;
  position: relative;
  z-index: 1;
  padding-top: 0.1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #b8becc;
}

.hero-store-tags {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  min-height: 100%;
  padding-top: 0;
}

.hero-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-tag-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--chip-text);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.hero-tag-link:hover,
.hero-tag-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 213, 61, 0.32);
  background: rgba(255, 213, 61, 0.18);
  color: #fff1a7;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-store-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.hero-store-icon {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 213, 61, 0.08);
  border: 1px solid rgba(255, 213, 61, 0.14);
  color: #ffe88a;
}

.hero-store-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 10px;
}

.hero-store-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.hero-store-name {
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.hero-store-category {
  font-size: 0.78rem;
  line-height: 1.2;
  color: #a0a7b5;
}

.hero-store-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  position: relative;
  z-index: 1;
}

.hero-stat {
  display: grid;
  gap: 0.12rem;
  padding: 0.88rem 0.92rem 0.85rem;
  border: 1px solid rgba(255, 213, 61, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 213, 61, 0.1) 0%, rgba(32, 36, 44, 0.96) 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-stat-value {
  font-size: 1.48rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff4be;
}

.hero-stat-label {
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #acb2bf;
}

.hero h1 {
  margin: 0 0 0.62rem;
}

.hero .lead {
  margin: 0;
}

h1 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.55rem);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.lead {
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
}

.hero .lead {
  color: var(--muted);
}

.home-page h2 {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: -0.01em;
}

body.home-page .hero .lead,
body.brand-page .hero .lead {
  max-width: 58ch;
}

.home-page .grid {
  margin: 0;
}

main.container {
  display: grid;
  gap: var(--section-gap);
  padding-bottom: 3rem;
}

#content {
  display: grid;
  gap: var(--section-gap);
  margin-bottom: 0;
}

#content > section > h2 {
  position: relative;
  margin-bottom: 1.35rem;
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(32, 201, 158, 0.36);
  box-shadow: 0 22px 42px rgba(24, 43, 38, 0.14);
}

.card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.card-media {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: #111111;
  background: linear-gradient(180deg, #c5fff0 0%, #55dfbf 100%);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 0.95rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.offers-grid .card {
  padding: 22px;
  border-radius: 28px;
  border-color: rgba(21, 24, 23, 0.08);
  box-shadow: 0 16px 34px rgba(24, 43, 38, 0.1);
}

.offers-grid .card-content {
  padding: 0;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  align-self: flex-start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.card-header-text {
  min-width: 0;
  flex: 0 1 auto;
}

.card-header .card-media {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(85, 223, 191, 0.16);
  box-sizing: border-box;
  font-size: 0.5rem;
  font-weight: 600;
}

.card-header .card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.card-separator {
  margin: 0.95rem 0 0.8rem;
  border-top: 1px solid rgba(21, 24, 23, 0.1);
}

.card-brand {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #116955;
}

.card-content h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.05em * 2);
}

h2 {
  margin: 0;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #151817;
  overflow-wrap: anywhere;
}

.hl-marker {
  display: inline;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.hl-marker-blue {
  background: transparent;
}

.card-content p {
  margin: 0.78rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.card-content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.45em * 2);
}

.offers-section {
  margin-top: 0;
}

.offers-section > h2 {
  margin-bottom: 1.35rem;
}

.offers-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  margin: 0;
}

.offers-grid > li {
  display: flex;
  min-width: 0;
}

.offers-grid .card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.promo-card {
  background:
    linear-gradient(180deg, rgba(85, 223, 191, 0.08) 0%, rgba(255, 255, 255, 0) 38%),
    #ffffff;
}

.promo-card .card-brand {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #0f7a61;
}

.promo-card .card-content h3 {
  margin-top: 1.05rem;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.42rem, 2.15vw, 1.9rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  color: #151817;
  min-height: calc(1.08em * 2);
  -webkit-line-clamp: 2;
}

.promo-card .card-content p {
  margin-top: 0.82rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 520;
  color: #59635f;
  min-height: calc(1.5em * 2);
  -webkit-line-clamp: 2;
}

.card-header + h3 {
  margin-top: 0.95rem;
}

.promo-open-button {
  margin-top: 1.05rem;
  padding: 0.84rem 0.95rem;
  border-radius: 14px;
  font-size: 0.92rem;
  box-shadow: 0 12px 22px rgba(255, 122, 26, 0.18);
}

.promo-open-button:hover,
.promo-open-button:focus-visible {
  box-shadow: 0 14px 24px rgba(255, 122, 26, 0.22);
}

.hub-section {
  max-width: none;
  margin-inline: 0;
}

.hub-section > h2 {
  margin-bottom: 1.35rem;
}

.hub-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0;
  align-items: stretch;
}

.hub-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  border-radius: 24px;
  border-color: rgba(21, 24, 23, 0.08);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(24, 43, 38, 0.1);
  min-height: 100%;
  padding: 1rem;
}

.hub-card-top {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.hub-card-media {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  background: rgba(85, 223, 191, 0.14);
  padding: 0;
  font-size: 0.95rem;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: auto;
}

.hub-card-media .card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  max-width: 100%;
  max-height: 100%;
}

.hub-card-heading {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
}

.hub-card .card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.72rem;
  align-items: flex-start;
  padding: 0;
  min-width: 0;
  flex: 1 1 auto;
}

.hub-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.68rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #0f7a61;
  font-weight: 600;
  margin-bottom: 0.04rem;
}

.hub-card .card-content h3 {
  display: none;
}

.hub-card-heading h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 650;
  overflow-wrap: anywhere;
  color: #151817;
}

.hub-card .card-content p {
  margin-top: 0;
  font-size: 0.84rem;
  line-height: 1.42;
  color: #626b68;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 0;
}

.hub-card-offer {
  width: 100%;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(21, 24, 23, 0.1);
  font-size: 0.9rem;
  line-height: 1.28;
  font-weight: 700;
  color: #0f7a61;
}

.home-page .hub-card .card-content {
  min-height: 0;
}

.site-footer {
  padding: 1.25rem 0 1rem;
  color: #6f7774;
  font-size: 0.8rem;
  background: transparent;
  border-top: 0;
}

.site-footer .container {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-top: 0;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-strong);
  text-decoration: underline;
}

.footer-link-muted {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(21, 24, 23, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  padding: 0.42rem 0.86rem;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
  font-size: 0.8rem;
  color: rgba(69, 78, 74, 0.58);
  text-decoration: none;
}

.footer-link-muted:hover,
.footer-link-muted:focus-visible {
  border-color: rgba(32, 201, 158, 0.28);
  background: rgba(85, 223, 191, 0.12);
  color: #116955;
  text-decoration: none;
}

.footer-meta {
  margin: 1rem auto 0;
  max-width: 460px;
  text-align: center;
}

.footer-meta p {
  margin: 0.22rem 0;
  font-size: 0.86rem;
  line-height: 1.42;
  color: #58625e;
}

.footer-meta .footer-disclaimer {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: #7a837f;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.footer-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.68rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--chip-text);
  box-shadow: none;
}

.footer-trigger:hover,
.footer-trigger:focus-visible {
  background: rgba(85, 223, 191, 0.18);
  color: #116955;
}

.dialog .footer-meta,
.dialog .footer-meta p,
.dialog .footer-meta a {
  color: #454e4a;
}

.breadcrumbs {
  margin-top: 0.84rem;
  display: inline-flex;
  width: fit-content;
  align-self: flex-start;
  gap: 0.45rem;
  align-items: center;
  background: rgba(85, 223, 191, 0.14);
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(24, 43, 38, 0.1);
  position: relative;
  isolation: isolate;
}

.breadcrumbs a {
  color: #116955;
  text-decoration: none;
  font-weight: 700;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  text-decoration: underline;
}

.breadcrumbs:hover,
.breadcrumbs:focus-within {
  background: rgba(85, 223, 191, 0.2);
  box-shadow: 0 12px 28px rgba(24, 43, 38, 0.12);
}

.breadcrumbs span {
  color: #a3abba;
}

.card-actions {
  margin-top: auto;
  padding-top: 0.9rem;
}

.promo-valid-until {
  margin-top: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.25;
  color: #7a837f;
}

.promo-valid-until::before {
  content: "";
  width: 0.86rem;
  height: 0.86rem;
  flex: 0 0 auto;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%237a837f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='3.2' width='11' height='10.3' rx='2'/%3E%3Cpath d='M5.5 1.9v2.5M10.5 1.9v2.5M2.8 6.5h10.4'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.86;
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.56rem 0.82rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(180deg, #ff963d 0%, #ff7616 100%);
  border-color: #ff7616;
  color: #111111;
  box-shadow: 0 14px 28px rgba(255, 122, 26, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(180deg, #ffa75c 0%, #ff842c 100%);
  border-color: #ff842c;
  color: #121212;
}

.btn-primary.copy-success {
  background: linear-gradient(180deg, #74e8cd 0%, #20c99e 100%);
  border-color: #20c99e;
  color: #121212;
  box-shadow: 0 14px 28px rgba(32, 201, 158, 0.22);
}

.btn-primary.copy-success:hover,
.btn-primary.copy-success:focus-visible {
  background: linear-gradient(180deg, #8bf0da 0%, #35d8ad 100%);
  border-color: #35d8ad;
  color: #121212;
}

.btn-secondary {
  background: rgba(21, 24, 23, 0.04);
  border-color: rgba(21, 24, 23, 0.1);
  color: #151817;
}

.dialog[hidden] {
  display: none;
}

.dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 24, 23, 0.48);
}

.dialog-panel {
  position: relative;
  width: min(560px, 92vw);
  max-height: 92vh;
  margin: 4vh auto 0;
  overflow: auto;
  background: var(--surface);
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22);
  padding: 1.2rem;
}

.dialog-panel h2 {
  margin: 0 auto 1rem;
  max-width: 14em;
  text-align: center;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
  color: #151817;
}

.dialog-note {
  max-width: 34rem;
  margin: 0.3rem auto 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.52;
  color: #58625e;
}

.code-box {
  margin: 1.2rem auto 0.35rem;
  border: 2px dashed rgba(32, 201, 158, 0.72);
  border-radius: 18px;
  background: rgba(239, 255, 250, 0.94);
  box-shadow: none;
  padding: 1.05rem 1.2rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 850;
  letter-spacing: 0.04em;
  text-align: center;
  color: #0b5f4d;
}

.steps {
  margin: 1.25rem auto 0;
  max-width: 30rem;
  padding-left: 1.25rem;
  color: #58625e;
  font-size: 0.95rem;
  line-height: 1.45;
}

.steps li {
  margin-bottom: 0.5rem;
}

.faq {
  margin: 0 0 2.4rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.faq > h2 {
  margin-bottom: 1rem;
}

.faq-list {
  margin-top: 0;
  display: grid;
  gap: 0.6rem;
}

.faq-item {
  border: 1px solid rgba(21, 24, 23, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(32, 201, 158, 0.28);
  box-shadow: 0 12px 26px rgba(24, 43, 38, 0.12);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 1.4rem;
}

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

.faq-item summary::marker {
  content: "";
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent-strong);
  border-bottom: 2px solid var(--accent-strong);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.dialog-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.ad-slot {
  margin: 0;
}

.ad-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 213, 61, 0.12);
  background: rgba(24, 27, 34, 0.94);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: none;
}

.ad-media {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 213, 61, 0.08);
  border: 1px solid rgba(255, 213, 61, 0.14);
  color: #ffe88a;
  font-weight: 700;
}

.ad-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-content {
  min-width: 0;
}

.ad-label {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-strong);
  text-transform: uppercase;
}

.ad-card h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  letter-spacing: -0.01em;
}

.ad-card p {
  margin: 0 0 0.8rem;
}

.ad-action {
  display: flex;
  justify-content: flex-end;
}

.similar-section {
  margin: 0;
}

.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.35rem;
}

.carousel-controls {
  display: flex;
  gap: 0.45rem;
}

.carousel-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 213, 61, 0.16);
  border-radius: 9px;
  background: rgba(255, 213, 61, 0.08);
  color: #fff0a6;
  font-weight: 800;
  cursor: pointer;
}

.chevron {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.chevron-left {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.chevron-right {
  transform: rotate(45deg);
  margin-right: 3px;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  border-color: rgba(255, 213, 61, 0.32);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.similar-carousel {
  margin-top: 0.8rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.similar-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 1rem;
  align-items: start;
  padding-bottom: 0.2rem;
}

.similar-card {
  scroll-snap-align: start;
  width: 100%;
  min-height: 100%;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  padding: 15px;
  border-radius: 22px;
}

.similar-card .card-content {
  padding: 0;
}

.similar-card .card-header {
  gap: 0.65rem;
}

.similar-card .card-separator {
  margin: 0.85rem 0 0.75rem;
}

.similar-card .card-brand {
  font-size: 0.84rem;
}

.similar-card .card-content h3 {
  font-size: 1.12rem;
  line-height: 1.05;
}

.similar-card .card-content p {
  font-size: 0.84rem;
}

.similar-card .card-actions {
  padding-top: 0.9rem;
}

@media (max-width: 760px) {
  .site-header {
    padding: 1.3rem 0 var(--section-gap);
    margin-bottom: var(--section-gap);
  }

  .hero {
    gap: 0;
  }

  .hero-store {
    padding: 0;
  }

  .hero-store-layout {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .home-hero-panel {
    padding: 0.88rem;
    border-radius: 22px;
  }

  .hero-store-copy h1 {
    max-width: none;
    margin-bottom: 0.5rem;
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    line-height: 1.04;
  }

  .home-page .hero-store-copy h1 {
    font-size: clamp(2.05rem, 10vw, 3.25rem);
  }

  body.brand-page:not(.home-page) .hero-store-copy h1 {
    max-width: none;
    margin-bottom: 0.75rem;
    font-size: 2.65rem;
    line-height: 1;
  }

  .hero-store-badge {
    margin-bottom: 0.8rem;
    font-size: 0.78rem;
  }

  .hero-store-copy .lead {
    font-size: 1rem;
    line-height: 1.42;
  }

  .home-page .hero-store-copy .lead {
    font-size: 1.06rem;
    line-height: 1.42;
  }

  body.brand-page:not(.home-page) .hero-store-copy .lead {
    font-size: 1rem;
    line-height: 1.38;
  }

  h1 {
    font-size: clamp(1.55rem, 7vw, 2.05rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.15rem, 5.6vw, 1.45rem);
    line-height: 1.15;
  }

  .breadcrumbs {
    width: auto;
    max-width: 100%;
    white-space: normal;
    flex-wrap: wrap;
    padding: 0.3rem 0.65rem;
    font-size: 0.88rem;
  }

  .site-footer .container {
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
  }

  .similar-track {
    grid-auto-columns: minmax(280px, 82vw);
  }

  .offers-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .offers-grid > li,
  .hub-grid > li,
  .similar-track > * {
    min-width: 0;
  }

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

  .offers-grid .card-media {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 0.56rem;
  }

  .card-header {
    gap: 0.42rem;
  }

  .card-brand {
    font-size: 0.74rem;
  }

  .card-content h3 {
    font-size: 1.02rem;
    line-height: 1.14;
    min-height: 0;
  }

  .card-content p {
    font-size: 0.82rem;
    line-height: 1.4;
    min-height: 0;
  }

  .card-actions {
    padding-top: 0.84rem;
  }

  .card-header .card-media {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    margin: 0;
    font-size: 0.48rem;
  }

  .promo-card .card-brand {
    font-size: 0.74rem;
    letter-spacing: 0;
  }

  .promo-card .card-content h3 {
    margin-top: 0.82rem;
    font-size: 1.28rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0;
    min-height: 0;
  }

  .card-header + h3 {
    margin-top: 0.7rem;
  }

  .promo-card .card-content p {
    margin-top: 0.64rem;
    font-size: 0.94rem;
    line-height: 1.45;
    font-weight: 520;
    min-height: 0;
  }

  .promo-open-button {
    margin-top: 0.86rem;
    padding: 0.7rem 0.88rem;
    font-size: 0.85rem;
  }

  .home-page .hub-card-media {
    font-size: 0.86rem;
    padding: 0;
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
  }

  .home-page .hub-card .card-content {
    min-height: 0;
    padding: 0;
  }

  .home-page .hub-category {
    font-size: 0.66rem;
  }

  .hub-card .card-content {
    gap: 0.62rem;
  }

  .hub-card-heading h3 {
    font-size: 0.95rem;
  }

  .hub-card .card-content p {
    font-size: 0.77rem;
  }

  .card-content {
    padding: 0;
    min-width: 0;
  }

  .offers-grid .btn {
    font-size: 0.86rem;
    padding: 0.54rem 0.76rem;
  }

  .similar-card {
    padding: 15px;
    border-radius: 18px;
  }

  .similar-card .card-content h3 {
    font-size: 0.98rem;
  }

  .similar-card .card-content p {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .similar-card .card-actions {
    padding-top: 0.84rem;
  }

  .ad-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ad-media {
    display: none;
  }

  .ad-action {
    justify-content: stretch;
  }

  .ad-action .btn {
    width: 100%;
    text-align: center;
  }

  .carousel-head {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .carousel-controls {
    display: none;
  }
}

@media (max-width: 1200px) {
  .hub-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

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