@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-display: swap;
  font-weight: 160 700;
  src: url("/static/fonts/readex-pro-arabic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
    U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F,
    U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-display: swap;
  font-weight: 160 700;
  src: url("/static/fonts/readex-pro-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #142126;
  --muted: #607075;
  --paper: #f6f0e5;
  --surface: #fffdf9;
  --line: #ded5c6;
  --brand: #0b6b62;
  --brand-dark: #07574f;
  --accent: #c9793a;
  --accent-soft: #f7e8d9;
  --soft: #e6f3f0;
  --danger: #a74335;
  --shadow: 0 16px 40px rgba(20, 33, 38, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  font-family: "Readex Pro", Tahoma, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 7% 4%, rgba(201, 121, 58, 0.11), transparent 26rem),
    radial-gradient(circle at 94% 13%, rgba(11, 107, 98, 0.1), transparent 28rem),
    var(--paper);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  padding-block: 20px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 190px;
  height: auto;
}

.nav-menu-toggle {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.nav-link:hover {
  color: var(--brand);
  background: rgba(255, 253, 249, 0.72);
}

.nav-link.active {
  border-color: #b9dfd8;
  color: var(--brand-dark);
  background: var(--soft);
  font-weight: 650;
}

.nav-link.nav-cta {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
  font-weight: 650;
}

.nav-link.nav-cta:hover {
  color: #fff;
  background: var(--brand-dark);
}

.viewer-state {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.viewer-session {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #b9dfd8;
  border-radius: 11px;
  background: rgba(255, 253, 249, 0.86);
}

.viewer-session.admin {
  border-color: #e1c3a9;
}

.viewer-session > a {
  display: grid;
  align-content: center;
  gap: 1px;
  min-height: 38px;
  padding: 5px 10px;
}

.viewer-session > a span {
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.1;
}

.viewer-session > a strong {
  max-width: 130px;
  overflow: hidden;
  color: var(--brand-dark);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viewer-session.admin > a strong {
  color: #8a4c1d;
}

.viewer-session .session-logout {
  display: flex;
  border-inline-start: 1px solid currentColor;
  color: rgba(11, 107, 98, 0.18);
}

.viewer-session.admin .session-logout {
  color: rgba(201, 121, 58, 0.24);
}

.viewer-session .session-logout button {
  min-height: 100%;
  padding: 5px 8px;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.63rem;
}

.viewer-session .session-logout button:hover {
  color: var(--danger);
  border: 0;
  background: #fceeea;
}

.viewer-guest {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px dashed #c8beb0;
  border-radius: 11px;
  color: var(--muted);
  background: rgba(255, 253, 249, 0.55);
  font-size: 0.68rem;
  white-space: nowrap;
}

.viewer-guest > span {
  color: var(--accent);
  font-size: 0.9rem;
}

.status-pill {
  padding: 8px 13px;
  border: 1px solid #b9dfd8;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.dashboard-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  padding-block: 46px 38px;
}

.dashboard-intro h1 {
  font-size: clamp(2.45rem, 5vw, 4.25rem);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-weight: 650;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.85;
}

.currency-switcher {
  min-width: 332px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.84);
  box-shadow: var(--shadow);
}

.switcher-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding: 5px;
  border-radius: 14px;
  background: #e9e3d9;
}

.segmented-control button {
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}

.segmented-control button[aria-pressed="true"] {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 5px 14px rgba(11, 107, 98, 0.22);
}

.currency-switcher small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.market-section {
  padding-block: 28px 42px;
  scroll-margin-top: 20px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 6px;
  padding: 6px 10px;
  border-radius: 9px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 0.74rem;
  font-weight: 650;
}

.metal-kicker {
  color: #8a4c1f;
  background: var(--accent-soft);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
}

.section-heading p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.8rem;
}

.sync-summary {
  display: grid;
  justify-items: end;
  gap: 3px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.sync-summary strong {
  color: var(--brand-dark);
  font-size: 0.76rem;
}

.sync-summary.failed strong {
  color: var(--danger);
}

.sync-summary bdi {
  direction: ltr;
}

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

.currencies-grid .market-card:first-child,
.metals-grid .market-card:first-child {
  border-color: rgba(11, 107, 98, 0.42);
  box-shadow: 0 18px 46px rgba(11, 107, 98, 0.1);
}

.metal-card:first-child {
  border-color: rgba(201, 121, 58, 0.45);
  box-shadow: 0 18px 46px rgba(201, 121, 58, 0.1);
}

.market-card {
  display: flex;
  min-height: 268px;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.93);
  box-shadow: var(--shadow);
}

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

.instrument-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.instrument-symbol {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 14px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 1.05rem;
  font-weight: 700;
}

.metal-card .instrument-symbol {
  color: #8a4c1f;
  background: var(--accent-soft);
}

.instrument-identity strong,
.instrument-identity small {
  display: block;
}

.instrument-identity strong {
  font-size: 0.96rem;
}

.instrument-identity small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: right;
}

.freshness {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 650;
}

.freshness.current {
  color: var(--brand-dark);
  background: var(--soft);
}

.freshness.calculated {
  color: #8a4c1f;
  background: var(--accent-soft);
}

.freshness.verified {
  color: #fff;
  background: var(--brand);
}

.freshness.stale {
  color: #8a4c1f;
  background: var(--accent-soft);
}

.freshness.waiting {
  color: var(--muted);
  background: #eee9e1;
}

.rate-body {
  padding-block: 22px 17px;
}

.rate-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rate {
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--line);
}

.rate:first-child {
  padding-inline: 0 12px;
  border-inline-start: 0;
}

.rate span,
.single-rate span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.rate strong,
.single-rate strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 680;
  letter-spacing: -0.025em;
  direction: ltr;
  text-align: right;
}

.single-rate strong {
  color: var(--brand-dark);
  font-size: clamp(2rem, 4vw, 2.65rem);
}

.rate-unit {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.66rem;
}

.rate-unit span + span::before {
  content: "•";
  margin-inline-end: 5px;
}

.change {
  margin: 12px 0 0;
  font-size: 0.72rem;
  font-weight: 650;
}

.change span {
  color: var(--muted);
  font-weight: 400;
}

.change.up {
  color: var(--brand);
}

.change.down {
  color: var(--danger);
}

.change.flat {
  color: var(--muted);
}

.market-card-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #ebe4da;
  color: var(--muted);
  font-size: 0.67rem;
}

.market-card-foot a {
  max-width: 62%;
  color: var(--brand-dark);
  line-height: 1.45;
}

.market-card-foot a:hover {
  text-decoration: underline;
}

.market-card-foot time {
  direction: ltr;
  white-space: nowrap;
}

.market-card-times {
  display: grid;
  flex: 0 0 auto;
  gap: 3px;
}

.market-card-times > span {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  white-space: nowrap;
}

.empty-rate {
  display: grid;
  min-height: 150px;
  flex: 1;
  place-content: center;
  padding: 24px 12px 10px;
  text-align: center;
}

.empty-rate strong {
  color: var(--muted);
  font-size: 0.9rem;
}

.empty-rate p {
  max-width: 220px;
  margin: 7px auto 0;
  color: #7d898c;
  font-size: 0.72rem;
  line-height: 1.7;
}

.transparency-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-block: 18px 72px;
  padding: 19px 21px;
  border: 1px solid #b9dfd8;
  border-radius: 18px;
  background: rgba(230, 243, 240, 0.66);
}

.note-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-weight: 700;
}

.transparency-note strong {
  font-size: 0.85rem;
}

.transparency-note p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.75;
}

.platform-band {
  padding-block: 70px 30px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.52);
}

.platform-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: 60px;
}

.platform-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
}

.platform-intro p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.search-shell {
  display: flex;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.search-shell input {
  min-width: 0;
  flex: 1;
  padding: 14px 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-shell button {
  padding: 13px 20px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--brand);
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease;
}

.search-shell button:hover {
  background: var(--brand-dark);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-block: 54px 28px;
}

.stat-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 1.8rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-bottom: 42px;
}

.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.feature-label {
  display: inline-block;
  margin-bottom: 15px;
  padding: 6px 10px;
  border-radius: 9px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 0.76rem;
  font-weight: 600;
}

.feature h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
}

.feature-action {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 13px;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  font-size: 0.76rem;
  font-weight: 650;
}

.logout-form {
  margin: 0;
}

.logout-form button {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  cursor: pointer;
}

.logout-form button:hover {
  color: var(--danger);
  border-color: rgba(167, 67, 53, 0.35);
}

.auth-section {
  display: grid;
  min-height: calc(100vh - 210px);
  place-items: center;
  padding-block: 60px 100px;
}

.auth-card {
  width: min(470px, 100%);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: var(--shadow);
}

.auth-card h1,
.admin-heading h1,
.methodology-section h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.admin-lead {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.admin-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.admin-form label {
  display: grid;
  gap: 7px;
}

.admin-form label > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 550;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  color: var(--ink);
  background: #fff;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  border-color: rgba(11, 107, 98, 0.65);
  box-shadow: 0 0 0 3px rgba(11, 107, 98, 0.1);
}

.password-input {
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}

.admin-form button {
  padding: 13px 18px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--brand);
  cursor: pointer;
  font-weight: 650;
}

.admin-form button:hover {
  background: var(--brand-dark);
}

.admin-form button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.admin-alert {
  margin-top: 22px;
  padding: 13px 16px;
  border: 1px solid;
  border-radius: 13px;
  font-size: 0.8rem;
  line-height: 1.7;
}

.admin-alert.success {
  color: var(--brand-dark);
  border-color: #b9dfd8;
  background: var(--soft);
}

.admin-alert.warning {
  color: #7b461e;
  border-color: #e6c8ac;
  background: var(--accent-soft);
}

.admin-alert.error {
  color: var(--danger);
  border-color: rgba(167, 67, 53, 0.3);
  background: #faece8;
}

.admin-section {
  min-height: calc(100vh - 180px);
  padding-block: 54px 90px;
}

.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.admin-heading .admin-lead {
  max-width: 720px;
}

.admin-user {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 0.76rem;
}

.admin-market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-market-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: var(--shadow);
}

.admin-market-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.metal-symbol {
  color: #8a4c1f;
  background: var(--accent-soft);
}

.admin-current-time {
  color: var(--muted);
  direction: ltr;
  font-size: 0.68rem;
  white-space: nowrap;
}

.admin-current-rate {
  display: grid;
  gap: 4px;
  min-height: 106px;
  align-content: center;
  padding-block: 18px;
}

.admin-current-rate > span,
.admin-current-rate small {
  color: var(--muted);
  font-size: 0.7rem;
}

.admin-current-rate strong {
  color: var(--brand-dark);
  font-size: 1.45rem;
}

.admin-current-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  direction: rtl;
}

.admin-current-pair > span {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid #ebe4da;
  border-radius: 12px;
  background: #faf7f1;
}

.admin-current-pair small {
  color: var(--muted);
  font-size: 0.68rem;
}

.admin-current-pair strong {
  font-size: 1.25rem;
}

.admin-current-rate small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-update {
  border-top: 1px solid #ebe4da;
}

.admin-update summary {
  padding-top: 15px;
  color: var(--brand-dark);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 650;
}

.admin-form.compact {
  margin-top: 18px;
}

.form-row {
  display: grid;
  gap: 10px;
}

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

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

.field-help {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.7;
}

.audit-preview {
  margin-top: 50px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.75);
}

.admin-subheading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.admin-subheading h2 {
  margin: 0;
}

.admin-subheading a {
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.audit-list {
  display: grid;
  gap: 2px;
}

.audit-list article {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(240px, 1.5fr) auto;
  gap: 14px;
  padding: 13px 10px;
  border-top: 1px solid #ebe4da;
  font-size: 0.75rem;
}

.audit-list article:first-child {
  border-top: 0;
}

.audit-list span,
.audit-list time {
  color: var(--muted);
}

.audit-list time {
  direction: ltr;
  white-space: nowrap;
}

.empty-admin {
  color: var(--muted);
  text-align: center;
}

.audit-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.audit-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
}

.audit-table th,
.audit-table td {
  padding: 14px;
  border-bottom: 1px solid #ebe4da;
  text-align: right;
  vertical-align: top;
  font-size: 0.75rem;
}

.audit-table th {
  color: var(--muted);
  background: #f2ece3;
}

.audit-table pre {
  max-width: 420px;
  margin: 8px 0 0;
  padding: 10px;
  overflow: auto;
  border-radius: 8px;
  background: #f2ece3;
  font-size: 0.68rem;
  white-space: pre-wrap;
}

.audit-table summary {
  color: var(--brand-dark);
  cursor: pointer;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.78rem;
}

.pagination a {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--brand-dark);
  background: var(--surface);
}

.methodology-section {
  min-height: calc(100vh - 180px);
  padding-block: 60px 90px;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.methodology-grid article {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.methodology-grid h2 {
  margin: 18px 0 9px;
  font-size: 1.2rem;
}

.methodology-grid p,
.formula-card p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.methodology-grid a {
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.step-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  font-weight: 700;
}

.formula-card {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid #b9dfd8;
  border-radius: 22px;
  background: rgba(230, 243, 240, 0.66);
}

.formula-card > span {
  display: block;
  color: var(--brand-dark);
  font-size: 0.75rem;
}

.formula-card strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.25rem, 3vw, 2rem);
  text-align: left;
}

.methodology-note {
  margin-bottom: 0;
}

.merchant-form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1.25fr);
  align-items: start;
  gap: clamp(32px, 7vw, 90px);
  padding-block: 58px 90px;
}

.merchant-form-intro {
  position: sticky;
  top: 30px;
}

.merchant-form-intro h1,
.merchant-dashboard h1,
.public-store h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.merchant-benefits {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.merchant-benefits li {
  position: relative;
  padding-inline-start: 24px;
}

.merchant-benefits li::before {
  position: absolute;
  inset-inline-start: 0;
  content: "✓";
  color: var(--brand);
  font-weight: 700;
}

.merchant-form-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: var(--shadow);
}

.merchant-form-card .admin-alert {
  margin-top: 0;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.slug-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.slug-input:focus-within {
  border-color: rgba(11, 107, 98, 0.65);
  box-shadow: 0 0 0 3px rgba(11, 107, 98, 0.1);
}

.slug-input > span {
  display: flex;
  align-items: center;
  padding-inline: 12px;
  color: var(--muted);
  background: #f2ece3;
  font-size: 0.76rem;
}

.admin-form .slug-input input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.terms-check {
  display: flex !important;
  align-items: flex-start;
  grid-template-columns: none !important;
  gap: 10px !important;
  padding: 13px;
  border: 1px solid #b9dfd8;
  border-radius: 12px;
  background: rgba(230, 243, 240, 0.55);
  cursor: pointer;
}

.admin-form .terms-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.terms-check span {
  line-height: 1.7;
}

.terms-check a {
  color: var(--brand-dark);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-switch {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.form-switch a {
  color: var(--brand-dark);
  font-weight: 650;
}

.merchant-dashboard {
  min-height: calc(100vh - 180px);
  padding-block: 58px 90px;
}

.merchant-dashboard-head,
.public-store-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.store-status {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 650;
}

.store-status.pending {
  color: #7b461e;
  background: var(--accent-soft);
}

.store-status.approved {
  color: var(--brand-dark);
  background: var(--soft);
}

.store-status.rejected {
  color: var(--danger);
  background: #faece8;
}

.phone-verification-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
  padding: 24px;
  border: 1px solid #e6c8ac;
  border-radius: 20px;
  background: rgba(247, 232, 217, 0.65);
}

.phone-verification-panel h2 {
  margin: 5px 0 0;
  font-size: 1.35rem;
}

.phone-verification-panel p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.verification-step {
  color: #7b461e;
  font-size: 0.7rem;
  font-weight: 650;
}

.phone-verification-panel code {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.phone-verification-panel > a {
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  background: #168349;
  font-size: 0.8rem;
  font-weight: 650;
  text-align: center;
}

.phone-verification-panel .verification-not-configured {
  max-width: 330px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
}

.phone-verified-strip {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 38px;
  padding: 14px 17px;
  border: 1px solid #b9dfd8;
  border-radius: 15px;
  color: var(--brand-dark);
  background: rgba(230, 243, 240, 0.65);
  font-size: 0.82rem;
}

.phone-verified-strip span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
}

.merchant-status-panel {
  margin-top: 38px;
  padding: 24px;
  border: 1px solid;
  border-radius: 20px;
}

.merchant-status-panel.pending {
  border-color: #e6c8ac;
  background: rgba(247, 232, 217, 0.65);
}

.merchant-status-panel.approved {
  border-color: #b9dfd8;
  background: rgba(230, 243, 240, 0.65);
}

.merchant-status-panel.rejected {
  border-color: rgba(167, 67, 53, 0.3);
  background: #faece8;
}

.merchant-status-panel p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.merchant-status-panel .review-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid currentColor;
}

.merchant-status-panel .review-note strong {
  display: inline;
}

.merchant-status-panel a {
  display: inline-flex;
  margin-top: 16px;
  padding: 9px 13px;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  font-size: 0.76rem;
  font-weight: 650;
}

.merchant-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.merchant-details-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.merchant-details-grid span,
.store-review-data dt {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.7rem;
}

.merchant-details-grid strong {
  font-size: 0.88rem;
}

.merchant-products {
  margin-top: 58px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.merchant-products-head,
.public-price-list > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.merchant-products-head h2,
.public-price-list h2 {
  margin: 4px 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.merchant-products-head p:not(.eyebrow),
.public-price-list > header p:not(.eyebrow) {
  max-width: 680px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.8;
}

.merchant-products-head > span {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 0.76rem;
  font-weight: 650;
}

.merchant-product-create {
  margin-top: 24px;
  border: 1px solid #b9dfd8;
  border-radius: 20px;
  background: rgba(230, 243, 240, 0.42);
}

.merchant-product-create > summary {
  padding: 18px 20px;
  color: var(--brand-dark);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
}

.merchant-product-create[open] > summary {
  border-bottom: 1px solid #b9dfd8;
}

.merchant-product-form {
  margin: 0;
  padding: 22px;
}

.merchant-product-form.compact {
  padding: 18px 0 2px;
}

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

.merchant-product-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: var(--shadow);
}

.merchant-product-card.archived {
  border-style: dashed;
  background: rgba(245, 242, 236, 0.76);
}

.merchant-product-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.merchant-product-identity {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 14px;
}

.merchant-product-identity > div:last-child {
  min-width: 0;
}

.product-image-frame {
  display: grid;
  overflow: hidden;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e4dbcf;
  color: var(--brand-dark);
  background:
    linear-gradient(145deg, rgba(230, 243, 240, 0.9), rgba(247, 232, 217, 0.56));
  font-size: 1.5rem;
  font-weight: 750;
}

.product-image-frame img,
.offer-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.product-image-frame.merchant {
  width: 76px;
  height: 76px;
  border-radius: 16px;
}

.product-image-frame.public {
  width: 100%;
  height: 164px;
  margin-bottom: 16px;
  border-radius: 16px;
}

.merchant-product-card h3,
.public-product-card h3 {
  margin: 9px 0 0;
  font-size: 1.15rem;
}

.merchant-product-card header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.product-category {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 0.67rem;
  font-weight: 650;
}

.merchant-product-price {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 8px;
}

.merchant-product-price strong {
  color: var(--brand-dark);
  font-size: 1.25rem;
}

.product-availability {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 650;
}

.product-availability.available {
  color: var(--brand-dark);
  background: var(--soft);
}

.product-availability.archived {
  color: #7b461e;
  background: var(--accent-soft);
}

.merchant-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #ebe4da;
  color: var(--muted);
  font-size: 0.68rem;
}

.merchant-product-edit {
  margin-top: 15px;
  border-top: 1px solid #ebe4da;
}

.merchant-product-edit > summary,
.merchant-product-image-manager > summary {
  padding-top: 15px;
  color: var(--brand-dark);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 650;
}

.merchant-product-image-manager {
  margin-top: 15px;
  border-top: 1px solid #ebe4da;
}

.product-image-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(230, 243, 240, 0.45);
}

.product-image-actions form:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.product-image-actions label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.68rem;
}

.product-image-actions input[type="file"] {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 0.72rem;
}

.product-image-actions button {
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
}

.product-image-actions button.danger {
  color: var(--danger);
  background: #faece8;
}

.merchant-product-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.merchant-product-actions button {
  padding: 8px 12px;
  border: 1px solid #b9dfd8;
  border-radius: 10px;
  color: var(--brand-dark);
  background: var(--soft);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 650;
}

.merchant-product-actions button.danger {
  color: var(--danger);
  border-color: rgba(167, 67, 53, 0.24);
  background: #faece8;
}

.merchant-products-empty {
  margin-top: 24px;
  padding: 28px;
  border: 1px dashed #b9dfd8;
  border-radius: 20px;
  text-align: center;
}

.merchant-products-empty p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.account-security {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  margin-top: 42px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid #b9dfd8;
  border-radius: 24px;
  background: rgba(230, 243, 240, 0.45);
  scroll-margin-top: 20px;
}

.account-security-copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.account-security-copy > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.85;
}

.account-security-form .admin-form {
  margin-top: 0;
}

.account-security-form .admin-alert {
  margin: 0 0 14px;
}

.public-store {
  min-height: calc(100vh - 180px);
  padding-block: 70px 100px;
}

.public-store-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

.whatsapp-action {
  padding: 12px 17px;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  font-size: 0.82rem;
  font-weight: 650;
}

.public-store-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.public-store-actions button {
  padding: 11px 16px;
  border: 1px solid #b9dfd8;
  border-radius: 12px;
  color: var(--brand-dark);
  background: var(--soft);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 650;
}

.store-description {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.public-price-list {
  margin-top: 48px;
}

.store-product-search {
  display: grid;
  width: min(360px, 100%);
  gap: 7px;
}

.store-product-search span {
  color: var(--muted);
  font-size: 0.68rem;
}

.store-product-search input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: #fff;
}

.store-product-search input:focus {
  border-color: rgba(11, 107, 98, 0.65);
  box-shadow: 0 0 0 3px rgba(11, 107, 98, 0.1);
}

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

.public-product-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: var(--shadow);
}

.public-product-card.search-hidden {
  display: none;
}

.public-product-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-brand {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-package {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.public-product-price {
  display: block;
  margin-top: auto;
  padding-block: 28px 22px;
  color: var(--brand-dark);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  text-align: right;
}

.public-product-price small {
  font-size: 0.75rem;
}

.public-product-card > footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #ebe4da;
  color: var(--muted);
  font-size: 0.64rem;
}

.public-product-card > footer a {
  width: 100%;
  color: var(--brand-dark);
  font-weight: 700;
}

.store-search-empty {
  margin-top: 24px;
  padding: 24px;
  border: 1px dashed #b9dfd8;
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.empty-price-list {
  display: grid;
  min-height: 310px;
  place-items: center;
  align-content: center;
  gap: 8px;
  margin-top: 40px;
  padding: 40px;
  border: 1px dashed #b9dfd8;
  border-radius: 24px;
  background: rgba(230, 243, 240, 0.32);
  text-align: center;
}

.empty-price-list > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--brand);
  font-weight: 700;
}

.empty-price-list h2 {
  margin: 8px 0 0;
}

.empty-price-list p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.store-review-list {
  display: grid;
  gap: 18px;
}

.catalog-rule-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
  padding: 18px 20px;
  border: 1px solid #a7d8d1;
  border-radius: 16px;
  background: rgba(231, 245, 242, 0.72);
}

.catalog-rule-strip strong {
  color: var(--brand-dark);
}

.catalog-rule-strip span {
  padding-inline-start: 10px;
  border-inline-start: 1px solid #a7d8d1;
}

.catalog-review-list {
  display: grid;
  gap: 18px;
}

.catalog-review-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: var(--shadow);
}

.catalog-review-card.merged {
  opacity: 0.7;
}

.catalog-review-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.catalog-review-card code {
  color: var(--brand-dark);
  font-weight: 700;
}

.catalog-review-card h2 {
  margin: 7px 0 4px;
}

.catalog-review-card header p {
  margin: 0;
  color: var(--muted);
}

.catalog-review-data {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.catalog-review-data div {
  padding: 13px;
  border-radius: 12px;
  background: #f7f2e9;
}

.catalog-review-data dt {
  color: var(--muted);
  font-size: 0.72rem;
}

.catalog-review-data dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  font-weight: 700;
}

.catalog-review-actions {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #ebe4da;
}

.catalog-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #7b461e;
  background: var(--accent-soft);
  font-size: 0.78rem;
}

.catalog-revoke-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 10px;
}

.catalog-revoke-form input {
  min-height: 44px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.catalog-revoke-form .warning {
  border: 0;
  border-radius: 10px;
  color: #7b461e;
  background: var(--accent-soft);
  cursor: pointer;
  font-weight: 700;
}

.catalog-merge-form {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(240px, 1.3fr) auto;
  gap: 10px;
}

.catalog-merge-form input {
  min-height: 44px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.catalog-merge-form button {
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--danger);
  cursor: pointer;
  font-weight: 700;
}

.product-identity-fields {
  padding: 16px;
  border: 1px dashed #a7d8d1;
  border-radius: 16px;
  background: rgba(231, 245, 242, 0.34);
}

.store-review-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: var(--shadow);
}

.store-review-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.store-review-card h2 {
  margin: 0;
  font-size: 1.3rem;
}

.store-review-card header p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.store-review-data {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.store-review-data div {
  padding: 13px;
  border-radius: 12px;
  background: #f7f2e9;
}

.store-review-data dd {
  margin: 0;
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-state {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 650;
}

.phone-state.verified {
  color: var(--brand-dark);
  background: var(--soft);
}

.phone-state.unverified {
  color: #7b461e;
  background: var(--accent-soft);
}

.store-review-description {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.8;
}

.store-review-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #ebe4da;
}

.store-review-actions form {
  display: flex;
  gap: 8px;
}

.store-review-actions input {
  min-width: 0;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
}

.store-review-actions button {
  flex: 0 0 auto;
  padding: 10px 13px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-weight: 650;
}

.store-review-actions .approve {
  background: var(--brand);
}

.store-review-actions .verify-phone-form {
  grid-column: 1 / -1;
}

.store-review-actions .verify {
  background: #168349;
}

.store-review-actions .reject {
  background: var(--danger);
}

.approval-blocked {
  margin: 0;
  padding: 11px 13px;
  border-radius: 10px;
  color: #7b461e;
  background: var(--accent-soft);
  font-size: 0.75rem;
  line-height: 1.7;
}

.store-public-link {
  display: inline-flex;
  margin-top: 15px;
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 650;
}

.search-page-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: 44px;
  padding-block: 54px 34px;
}

.search-page-intro h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.public-search-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) minmax(140px, 0.8fr)
    minmax(140px, 0.8fr) auto;
  align-items: end;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.public-search-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.75rem;
}

.public-search-form input,
.public-search-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  color: var(--ink);
  background: #fff;
}

.public-search-form input:focus,
.public-search-form select:focus {
  border-color: #79bbb2;
  box-shadow: 0 0 0 3px rgba(11, 107, 98, 0.1);
}

.public-search-form button {
  min-height: 46px;
  padding: 10px 17px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  cursor: pointer;
  font-weight: 650;
}

.public-search-form button:hover {
  background: var(--brand-dark);
}

.search-results-section {
  padding-block: 20px 76px;
}

.search-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.search-results-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.currency-switcher.compact {
  width: auto;
  min-width: 300px;
  padding: 12px;
}

.currency-switcher.compact .switcher-label {
  font-size: 0.72rem;
}

.search-feedback {
  margin-bottom: 18px;
  padding: 13px 16px;
  border: 1px solid #b9dfd8;
  border-radius: 14px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 0.82rem;
}

.search-feedback.error {
  margin-block: 8px 70px;
  border-color: #e5b9b2;
  color: var(--danger);
  background: #fceeea;
}

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

.comparison-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.comparison-product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.comparison-labels {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.comparison-labels span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 0.68rem;
  font-weight: 650;
}

.comparison-labels .identity-approved {
  color: #286441;
  background: #e5f4e9;
}

.comparison-product-head h3 {
  margin: 12px 0 4px;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.comparison-product-head p {
  display: flex;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.identity-code {
  display: grid;
  justify-items: end;
  gap: 3px;
  color: var(--muted);
  font-size: 0.7rem;
}

.identity-code bdi {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.identity-code small {
  font-size: 0.66rem;
}

.comparison-offers {
  display: grid;
}

.comparison-offer {
  display: grid;
  grid-template-columns: 72px minmax(210px, 1fr) minmax(170px, 0.65fr)
    minmax(220px, 1fr);
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.offer-product-image {
  display: grid;
  width: 68px;
  height: 68px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #e4dbcf;
  border-radius: 15px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 1.15rem;
  font-weight: 750;
}

.comparison-offer.best {
  background: linear-gradient(90deg, rgba(230, 243, 240, 0.8), transparent);
}

.offer-store {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.offer-store > div {
  display: grid;
  gap: 4px;
}

.offer-store a {
  color: var(--brand-dark);
  font-weight: 700;
}

.offer-store span {
  color: var(--muted);
  font-size: 0.75rem;
}

.best-price-label {
  padding: 5px 8px;
  border-radius: 999px;
  color: #286441;
  background: #dff1e5;
  font-size: 0.63rem;
  white-space: nowrap;
}

.offer-price {
  display: grid;
  justify-items: end;
  gap: 2px;
  padding-inline: 20px;
  border-inline: 1px solid var(--line);
}

.offer-price strong {
  color: var(--brand-dark);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.offer-price span {
  color: var(--muted);
  font-size: 0.68rem;
}

.offer-meta {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.7rem;
}

.offer-meta > span:first-child {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.offer-meta a {
  margin-top: 2px;
  color: var(--brand-dark);
  font-weight: 650;
}

.comparison-card-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 12px 24px;
  color: var(--muted);
  background: rgba(246, 240, 229, 0.45);
  font-size: 0.7rem;
}

.comparison-details-link {
  flex: 0 0 auto;
  color: var(--brand-dark);
  font-weight: 700;
}

.comparison-details-link::after {
  margin-inline-start: 5px;
  content: "←";
}

.product-detail-hero {
  padding-block: 36px 30px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.74rem;
}

.breadcrumbs a {
  color: var(--brand-dark);
  font-weight: 600;
}

.breadcrumbs span[aria-current="page"] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(270px, 0.7fr);
  align-items: end;
  gap: 42px;
}

.product-detail-head h1 {
  margin: 13px 0 5px;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1.12;
}

.product-detail-head .lead {
  display: flex;
  gap: 10px;
  margin: 0;
}

.product-identity-panel {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-identity-panel > span,
.product-identity-panel small {
  color: var(--muted);
  font-size: 0.7rem;
}

.product-identity-panel > strong {
  color: var(--brand-dark);
  font-size: 1.15rem;
}

.product-identity-panel button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 650;
}

.product-identity-panel button:hover {
  background: var(--brand-dark);
}

.product-comparison-summary {
  padding-block: 22px 28px;
}

.product-summary-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.product-summary-heading h2,
.product-offers-section h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.product-summary-heading p:not(.eyebrow),
.product-offers-section > header > p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.currency-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px;
}

.currency-summary-card {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.currency-summary-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.currency-summary-card > header > div {
  display: grid;
  gap: 2px;
}

.currency-summary-card > header span {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 650;
}

.currency-summary-card > header bdi {
  color: var(--muted);
  font-size: 0.65rem;
}

.currency-summary-card > header > strong {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 0.65rem;
}

.currency-summary-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 15px 0 0;
}

.currency-summary-card dl > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.currency-summary-card dt {
  color: var(--muted);
  font-size: 0.65rem;
}

.currency-summary-card dd {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin: 0;
}

.currency-summary-card dd strong {
  overflow: hidden;
  font-size: clamp(0.9rem, 1.7vw, 1.2rem);
  text-overflow: ellipsis;
}

.currency-summary-card dd span {
  color: var(--muted);
  font-size: 0.6rem;
}

.currency-summary-card .summary-lowest strong {
  color: var(--brand-dark);
}

.currency-summary-card > p {
  margin: 15px 0 0;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.68rem;
}

.product-offers-section {
  padding-block: 20px 34px;
}

.product-offers-section > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.product-offer-card {
  border-radius: 20px;
}

.product-no-offers {
  margin-block: 20px 34px;
  padding: 54px 24px;
  border: 1px dashed #a9d7d0;
  border-radius: 24px;
  text-align: center;
}

.product-no-offers > span {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--brand);
  font-size: 1.6rem;
}

.product-no-offers h2 {
  margin: 15px 0 6px;
}

.product-no-offers p {
  margin: 0;
  color: var(--muted);
}

.product-no-offers a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand-dark);
  font-weight: 650;
}

.comparison-method-note {
  margin-bottom: 68px;
  padding: 18px 20px;
  border: 1px solid #b9dfd8;
  border-radius: 18px;
  background: var(--soft);
}

.comparison-method-note strong {
  color: var(--brand-dark);
}

.comparison-method-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.8;
}

.product-not-found {
  min-height: 430px;
  margin-top: 45px;
}

.product-not-found .eyebrow {
  margin: 18px 0 0;
}

.product-not-found h1 {
  margin: 5px 0 10px;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.not-found-actions a:last-child {
  color: var(--muted);
}

.search-empty-state,
.search-start-state {
  margin-block: 18px 76px;
  padding: 54px 30px;
  border: 1px dashed #a9d7d0;
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.55);
  text-align: center;
}

.search-empty-state > span,
.search-start-state > div > span {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--brand);
  font-size: 1.8rem;
}

.search-empty-state h2,
.search-start-state h2 {
  margin: 18px 0 7px;
}

.search-empty-state p,
.search-start-state p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

.search-empty-state a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand-dark);
  font-weight: 650;
}

.search-start-state {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.search-start-state > div {
  text-align: center;
}

.search-start-state ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  text-align: start;
}

.search-start-state li {
  position: relative;
  padding-inline-start: 24px;
  line-height: 1.7;
}

.search-start-state li::before {
  position: absolute;
  inset-inline-start: 0;
  content: "✓";
  color: var(--brand);
  font-weight: 700;
}

.info-hero {
  padding-block: 64px 38px;
}

.info-hero.compact {
  padding-bottom: 28px;
}

.info-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.info-hero.compact h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.policy-date {
  display: inline-flex;
  margin-top: 22px;
  padding: 8px 12px;
  border: 1px solid #b9dfd8;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.info-grid,
.contact-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-block: 15px 54px;
}

.info-card,
.contact-topics article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: var(--shadow);
}

.info-card-number {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: var(--brand-dark);
  background: var(--soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.info-card h2,
.contact-topics h2 {
  margin: 25px 0 8px;
  font-size: 1.35rem;
}

.info-card p,
.contact-topics p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.info-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 70px;
  padding: 34px;
  border: 1px solid #b9dfd8;
  border-radius: 24px;
  background: rgba(230, 243, 240, 0.7);
}

.info-callout h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.info-callout p:not(.eyebrow) {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--brand);
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  font-weight: 650;
  white-space: nowrap;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.primary-link:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.secondary-link {
  color: var(--brand-dark);
  background: var(--surface);
}

.secondary-link:hover {
  background: var(--soft);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
  border: 1px solid #b9dfd8;
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow);
}

.contact-copy {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  background: var(--brand);
  font-size: 1.25rem;
  font-weight: 700;
}

.contact-copy h2 {
  margin: 0;
  font-size: 1.45rem;
}

.contact-copy p {
  max-width: 650px;
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.whatsapp-contact {
  display: grid;
  gap: 5px;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--brand);
  text-align: center;
}

.whatsapp-contact span {
  font-size: 0.78rem;
}

.whatsapp-contact strong {
  font-size: 0.95rem;
}

.whatsapp-contact:hover {
  background: var(--brand-dark);
}

.contact-unavailable {
  color: var(--muted);
}

.contact-topics {
  padding-top: 22px;
  padding-bottom: 70px;
}

.contact-topics h2 {
  margin-top: 0;
}

.policy-document {
  max-width: 920px;
  padding-bottom: 75px;
}

.policy-document section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.policy-document h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.policy-document p,
.policy-document li {
  color: var(--muted);
  line-height: 1.95;
}

.policy-document p {
  margin: 0;
}

.policy-document ul {
  margin: 0;
  padding-inline-start: 24px;
}

.policy-document li + li {
  margin-top: 8px;
}

.policy-document .policy-contact {
  margin-top: 22px;
  padding: 28px;
  border: 1px solid #b9dfd8;
  border-radius: 20px;
  background: rgba(230, 243, 240, 0.62);
}

.policy-contact .primary-link {
  margin-top: 18px;
}

.error-page {
  min-height: 66vh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding-block: 50px 80px;
  text-align: center;
}

.error-code {
  color: var(--accent);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.error-page .eyebrow {
  margin-top: 24px;
}

.error-page h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
}

.error-page > p:not(.eyebrow) {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.site-footer {
  padding-block: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-identity {
  display: grid;
  gap: 5px;
}

.footer-brand {
  color: var(--brand-dark);
  font-weight: 600;
}

.footer-copyright {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 18px;
  flex-wrap: wrap;
}

.footer-links a {
  transition: color 160ms ease;
}

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

@media (max-width: 980px) {
  .dashboard-intro,
  .platform-intro,
  .search-page-intro {
    grid-template-columns: 1fr;
  }

  .currency-switcher {
    width: min(440px, 100%);
    min-width: 0;
  }

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

  .platform-intro {
    gap: 28px;
  }

  .admin-market-grid {
    grid-template-columns: 1fr;
  }

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

  .merchant-form-intro {
    position: static;
  }

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

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

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

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

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

  .account-security {
    grid-template-columns: 1fr;
  }

  .public-search-form {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 0.6fr);
  }

  .public-search-form button {
    min-height: 46px;
  }

  .product-detail-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .comparison-offer {
    grid-template-columns: 68px minmax(190px, 1fr) minmax(150px, 0.65fr);
  }

  .offer-meta {
    grid-column: 2 / -1;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .site-header {
    padding-block: 13px;
  }

  .brand-logo {
    width: 150px;
  }

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

  .nav-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #b9dfd8;
    border-radius: 11px;
    color: var(--brand-dark);
    background: rgba(255, 253, 249, 0.9);
    cursor: pointer;
    font-size: 0.73rem;
    font-weight: 700;
  }

  .nav-menu-toggle > span:first-child {
    width: 16px;
    height: 12px;
    border-block: 2px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  }

  .nav-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 7px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: var(--shadow);
  }

  .js .nav .nav-actions {
    display: none;
  }

  .js .nav.menu-open .nav-actions {
    display: flex;
  }

  .nav-actions > * {
    flex: 0 0 auto;
  }

  .viewer-state {
    flex: 0 0 auto;
  }

  .viewer-session > a strong {
    max-width: 105px;
  }

  .viewer-guest {
    min-height: 34px;
    padding: 5px 9px;
    font-size: 0.65rem;
  }

  .nav-link {
    min-height: 34px;
    padding: 7px 10px;
    border-color: rgba(222, 213, 198, 0.82);
    background: rgba(255, 253, 249, 0.72);
    font-size: 0.73rem;
  }

  .status-pill {
    padding: 7px 10px;
    font-size: 0.7rem;
  }

  .dashboard-intro {
    gap: 24px;
    padding-block: 36px 30px;
  }

  h1 {
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }

  .lead {
    margin-top: 13px;
    font-size: 0.92rem;
  }

  .market-section {
    padding-block: 22px 30px;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 8px;
  }

  .sync-summary {
    justify-items: start;
    margin-top: 8px;
  }

  .market-grid,
  .stats,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .market-card {
    min-height: 250px;
  }

  .transparency-note {
    margin-bottom: 50px;
  }

  .platform-band {
    padding-top: 50px;
  }

  .search-shell {
    flex-direction: column;
  }

  .search-page-intro {
    gap: 24px;
    padding-block: 36px 24px;
  }

  .public-search-form {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .search-results-heading,
  .comparison-product-head,
  .product-summary-heading,
  .product-offers-section > header {
    display: block;
  }

  .currency-switcher.compact {
    width: 100%;
    min-width: 0;
    margin-top: 16px;
  }

  .identity-code {
    justify-items: start;
    margin-top: 15px;
  }

  .comparison-offer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .offer-price {
    justify-items: start;
    padding: 14px 0;
    border-block: 1px solid var(--line);
    border-inline: 0;
  }

  .offer-meta {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
  }

  .offer-product-image {
    width: 82px;
    height: 82px;
  }

  .comparison-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-detail-hero {
    padding-top: 25px;
  }

  .breadcrumbs {
    margin-bottom: 20px;
  }

  .product-detail-head h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .product-summary-heading .currency-switcher {
    margin-top: 15px;
  }

  .currency-summary-card dl {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .currency-summary-card dl > div {
    grid-template-columns: 0.7fr 1fr;
    align-items: center;
  }

  .currency-summary-card dd {
    justify-items: end;
  }

  .search-start-state {
    grid-template-columns: 1fr;
    padding-inline: 18px;
  }

  .stats {
    padding-top: 36px;
  }

  .admin-heading {
    display: block;
  }

  .admin-user {
    display: inline-block;
    margin-top: 16px;
  }

  .form-row.three,
  .form-row.two,
  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .audit-list article {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .logout-form button {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.73rem;
  }

  .merchant-form-section {
    padding-top: 36px;
  }

  .merchant-form-card {
    padding-inline: 16px;
  }

  .merchant-dashboard-head,
  .public-store-head,
  .merchant-products-head,
  .public-price-list > header {
    display: block;
  }

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

  .merchant-dashboard-head > .store-status,
  .public-store-head > .whatsapp-action {
    margin-top: 18px;
  }

  .public-store-actions {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .merchant-products-head > span {
    display: inline-flex;
    margin-top: 16px;
  }

  .store-product-search {
    margin-top: 18px;
  }

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

  .merchant-product-card > header {
    display: block;
  }

  .merchant-product-identity {
    align-items: center;
  }

  .merchant-product-price {
    justify-items: start;
    margin-top: 18px;
  }

  .product-image-actions form:first-child {
    grid-template-columns: 1fr;
  }

  .merchant-details-grid,
  .store-review-data,
  .catalog-review-data {
    grid-template-columns: 1fr;
  }

  .account-security {
    margin-top: 30px;
    padding: 20px 15px;
  }

  .store-review-actions form {
    flex-direction: column;
  }

  .catalog-review-card > header {
    display: block;
  }

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

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

  .admin-current-pair {
    grid-template-columns: 1fr;
  }

  .info-hero {
    padding-block: 40px 24px;
  }

  .info-hero h1,
  .info-hero.compact h1 {
    font-size: clamp(2.5rem, 13vw, 3.7rem);
  }

  .info-grid,
  .contact-topics {
    grid-template-columns: 1fr;
    padding-bottom: 42px;
  }

  .info-card,
  .contact-topics article {
    padding: 22px;
  }

  .info-callout,
  .contact-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
  }

  .contact-copy {
    align-items: flex-start;
  }

  .whatsapp-contact {
    width: 100%;
    min-width: 0;
  }

  .policy-document section {
    padding-block: 22px;
  }

  .policy-document .policy-contact {
    padding: 22px;
  }

  .site-footer-content {
    align-items: center;
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }

  .footer-identity {
    justify-items: center;
  }

  .footer-copyright {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

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