/* Monzio public portal */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f0f3f6;
  --surface-muted: #e8edf2;
  --border: #dbe1e8;
  --border-strong: #c8d1db;
  --text: #171a1f;
  --text-muted: #596270;
  --text-dim: #7b8491;
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --accent-soft: #e6f5f2;
  --blue: #2563eb;
  --blue-soft: #e9f0ff;
  --amber: #b7791f;
  --amber-soft: #fff4db;
  --success: #15803d;
  --success-bg: #e9f8ef;
  --error: #b42318;
  --error-bg: #fff0ee;
  --wa: #25d366;
  --radius: 8px;
  --font: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1120px;
  --header-h: 92px;
  --shadow: 0 18px 50px rgba(19, 25, 38, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body.public-page {
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #eef3f7 100%);
  overflow: hidden;
}

.page-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hidden {
  display: none !important;
}

.page--home .whatsapp-fab {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal-up 0.55s ease forwards;
}

.reveal--d1 {
  animation-delay: 0.08s;
}

.reveal--d2 {
  animation-delay: 0.16s;
}

.reveal--d3 {
  animation-delay: 0.24s;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glass {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header__inner {
  max-width: var(--max);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand__wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #231f20;
  line-height: 1;
  text-transform: uppercase;
}

.brand__wordmark-main {
  display: block;
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
}

.brand__wordmark-sub {
  display: block;
  align-self: center;
  margin-top: 9px;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.brand__logo {
  display: block;
  width: min(210px, 52vw);
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--text);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.brand__name {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
}

.brand__tag {
  display: block;
  margin-top: 1px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.header-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.lang-btn {
  min-width: 42px;
  min-height: 28px;
  padding: 0 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--accent);
  color: #fff;
}

.main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 24px 96px;
}

.section-title {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
}

.home-hero {
  margin-bottom: 22px;
}

.home-view {
  max-width: 720px;
  margin: 0 auto;
}

.home-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.home-intro {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 900px) {
  .home-intro .quick-points {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.hero__label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero__title {
  max-width: 100%;
  margin: 0 auto 16px;
  color: var(--text);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.12;
}

.hero__text {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero-actions {
  max-width: 100%;
  margin: 0 auto;
}

.hero-actions__title {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.hero-actions__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-actions__list li {
  position: relative;
  padding: 11px 14px 11px 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-actions__list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
}

.hero-actions__note {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(220, 38, 38, 0.38);
  border-radius: var(--radius);
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.08);
}

.quick-points {
  display: grid;
  gap: 10px;
  max-width: 560px;
}

@media (min-width: 680px) {
  .quick-points {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quick-point {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.quick-point__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
}

.search-panel {
  position: relative;
  order: -2;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.search-box {
  border-radius: var(--radius);
  padding: 24px;
}


.search-box__head {
  margin-bottom: 20px;
}

.search-box__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.search-box__title {
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 700;
}

.search-box__sub {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.input-wrap {
  position: relative;
}

.input-wrap__icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  height: 54px;
  padding: 0 16px 0 48px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  outline: none;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.12rem;
  font-weight: 600;
}

.input-wrap input::placeholder {
  color: var(--text-dim);
  font-weight: 500;
}

.input-wrap input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.search-hint {
  margin-top: 13px;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.recent-searches {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.recent-searches__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recent-chip {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.recent-chip:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  width: 100%;
  margin-top: 16px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
  box-shadow: none;
}

.btn-ghost {
  width: auto;
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  background: var(--surface-soft);
}

.btn-secondary {
  width: 100%;
  margin-top: 12px;
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.link-btn {
  margin-top: 16px;
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--accent-dark);
}

.link-btn--small {
  margin-top: 0;
  font-size: 0.8rem;
}

.alert {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.5;
}

.alert--error {
  border: 1px solid #ffd0cc;
  background: var(--error-bg);
  color: var(--error);
}

.alert-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--error);
  font-weight: 700;
}

.home-extras {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.features {
  display: grid;
  gap: 14px;
}

@media (min-width: 740px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  min-height: 150px;
  padding: 22px;
  border-radius: var(--radius);
}

.feature-card__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
}

.feature-card__icon--teal {
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-card__icon--blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.feature-card__icon--amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.feature-card h3 {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.faq {
  padding: 24px;
  border-radius: var(--radius);
}

.faq-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 4px;
}

.faq-head p {
  max-width: 400px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.faq-grid {
  display: grid;
}

@media (min-width: 720px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.marketplace-guide {
  margin-top: 10px;
}

.marketplace-guide p {
  margin-top: 0;
}

.marketplace-list {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.marketplace-row {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.marketplace-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

.marketplace-logo img {
  display: block;
  max-width: 108px;
  max-height: 34px;
  object-fit: contain;
}

.marketplace-logo img[alt="Koçtaş"] {
  max-height: 48px;
}

.marketplace-path {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}


.result-view {
  animation: fade-in 0.35s ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.result-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.result-header h2 {
  margin-top: 12px;
  color: var(--text);
  font-size: 2rem;
  font-weight: 700;
}

.result-header__sub {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.pill--success {
  border: 1px solid #bfe9ca;
  background: var(--success-bg);
  color: var(--success);
}

.pill__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

.result-layout {
  display: grid;
  gap: 22px;
}

@media (min-width: 900px) {
  .result-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
  }
}

.result-sidebar {
  align-self: start;
}

.card {
  border-radius: var(--radius);
  padding: 22px;
}

.card__label {
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.card--summary {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card--summary::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

.card--summary .card__label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.card--summary .card__label::before {
  content: '';
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border));
  border-radius: 8px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat,
    var(--accent-soft);
}

.summary-grid {
  display: grid;
  gap: 8px;
}

.summary-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 0.88rem;
}

.summary-row--order {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
  background: color-mix(in srgb, var(--accent-soft) 72%, #fff);
}

.summary-row__label {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.summary-row__value {
  min-width: 0;
  color: var(--text);
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.summary-row__value--mono {
  color: var(--accent-dark);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.summary-marketplace {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.summary-marketplace img {
  max-width: 128px;
  max-height: 36px;
  display: block;
  object-fit: contain;
}

.summary-marketplace--koctas img {
  max-width: 118px;
  max-height: 48px;
}

.multi-note {
  margin-bottom: 8px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--text-muted);
  font-size: 0.84rem;
}

.wa-hint {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.wa-hint--sidebar {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
}

.order-preview {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.order-preview__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.order-preview__title {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.order-preview__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.order-preview__support {
  width: auto;
  margin-top: 0;
  white-space: nowrap;
}

.order-preview__pill {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.order-preview__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.support-choice {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.support-choice__title {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.support-choice__grid a,
.support-choice__grid button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--accent-dark);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.support-choice__grid a:hover,
.support-choice__grid button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.support-choice__note {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #ffd0cc;
  border-radius: 6px;
  background: var(--error-bg);
  color: var(--error);
  font-size: 0.78rem;
  line-height: 1.45;
}


.schema-zone {
  margin-bottom: 22px;
}

.schema-panel-head {
  margin-bottom: 12px;
}

.schema-panel-head h3 {
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 700;
}

.schema-panel-head p {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.schema-panel {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.schema-panel__toggle {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  border: none;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.94rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.schema-panel__icon {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}

.schema-panel__body {
  padding: 16px;
  border-top: 1px solid var(--border);
  background: #fbfcfd;
}

.schema-panel__original-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font);
}

.schema-panel__original-link:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  background: color-mix(in srgb, var(--accent) 8%, #fff);
}

.schema-panel__viewport {
  min-height: min(92vh, 1120px);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.schema-pdf-shell {
  width: 100%;
  min-height: min(88vh, 1080px);
  box-sizing: border-box;
  background: #fff;
}

.schema-panel__viewport--direct {
  min-height: 180px;
}

.schema-iframe {
  width: 100%;
  height: min(88vh, 1080px);
  min-height: 720px;
  border: none;
  background: #fff;
}

.schema-iframe-hint {
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 0.8rem;
  text-align: center;
}

.schema-native-fallback {
  height: min(82vh, 820px);
  min-height: 620px;
  padding: 0;
}

.schema-native-frame {
  width: 100%;
  height: min(88vh, 1080px);
  min-height: 720px;
  display: block;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.schema-pdf-embed {
  overflow: hidden;
}

.schema-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  padding: 18px;
  background: rgba(15, 23, 42, 0.28);
}

.schema-modal--open {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.schema-modal-open {
  overflow: hidden;
}

.schema-modal__dialog {
  width: min(1120px, 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.schema-modal__bar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.schema-modal__close {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.schema-modal__frame {
  flex: 1;
  width: 100%;
  min-height: calc(100vh - 96px);
  border: 0;
  background: #fff;
}

.schema-modal__content {
  flex: 1;
  min-height: calc(100vh - 96px);
  overflow: auto;
  background: var(--surface-muted);
}

.schema-modal__content .schema-pdf-pages {
  max-height: calc(100vh - 96px);
}

.schema-panel__viewport--secure {
  user-select: none;
  -webkit-user-select: none;
}

.schema-pdf-shell {
  padding: 8px;
}

.schema-pdf-shell--direct {
  min-height: 160px;
  display: grid;
  place-items: center;
}

.schema-direct-open {
  width: min(520px, 100%);
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 28px 18px;
  text-align: center;
}

.schema-direct-open strong {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.4;
}

.schema-direct-open p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.86rem;
  line-height: 1.5;
}

.schema-pdf-tools {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 10px;
  margin-bottom: 10px;
}

.schema-pdf-tools label {
  display: grid;
  gap: 5px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.schema-pdf-tools input,
.schema-pdf-tools select {
  height: 38px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  padding: 0 10px;
}

.schema-pdf-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-height: min(84vh, 900px);
  padding: 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.schema-pdf-page {
  width: 100%;
  max-width: 860px;
  height: auto !important;
  background: #fff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
  border-radius: 4px;
  pointer-events: none;
  transition: opacity 0.18s ease, outline-color 0.18s ease;
}

.schema-pdf-page--match {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.schema-pdf-page--dim {
  opacity: 0.34;
}

.schema-pdf-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 200px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.products-section .section-title {
  margin-bottom: 12px;
}

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

.product-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.filter-btn {
  min-height: 30px;
  padding: 0 11px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-btn.is-active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.products-empty {
  margin-bottom: 10px;
  color: var(--text-dim);
  font-size: 0.84rem;
}

.product-list {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-card {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface-muted);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-card__media .type-badge {
  position: absolute;
  left: 10px;
  top: 10px;
}

.product-card h3 {
  flex: 1;
  margin: 12px 0 8px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}


.product-detail {
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.type-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius);
  font-size: 0.76rem;
  font-weight: 700;
}

.type-dolap {
  background: var(--blue-soft);
  color: var(--blue);
}

.type-ranza {
  background: var(--amber-soft);
  color: var(--amber);
}

.type-komodin {
  background: #dcfce7;
  color: #166534;
}

.type-sifonyer {
  background: #fce7f3;
  color: #9d174d;
}

.type-other {
  background: #e5e7eb;
  color: #374151;
}

.btn-schema {
  width: 100%;
  margin-top: auto;
  background: var(--accent);
  color: #fff;
}

.btn-schema:hover {
  background: var(--accent-dark);
}

.product-msg {
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.product-support-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}

.product-support-actions .btn {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  font-size: 0.78rem;
}

.btn-support-lite {
  background: #fff;
  border-color: var(--border);
  color: var(--accent-dark);
}

.btn-support-lite:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.48);
}

.support-modal--open {
  display: flex;
}

.support-modal-open {
  overflow: hidden;
}

.support-modal__dialog {
  width: min(640px, 100%);
  max-height: min(760px, calc(100dvh - 36px));
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.support-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--border);
}

.support-modal__eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.support-modal__head h2 {
  margin-top: 4px;
  color: var(--text);
  font-size: 1.25rem;
}

.support-modal__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.support-form {
  padding: 18px 20px 20px;
}

.support-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.support-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.support-field {
  display: block;
  margin-bottom: 14px;
}

.support-field span,
.support-check span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.support-field input,
.support-field select,
.support-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}

.support-field textarea {
  min-height: 112px;
  resize: vertical;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.support-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 12px;
}

.support-check span {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.support-policy {
  padding: 10px 12px;
  border: 1px solid #ffd0cc;
  border-radius: 8px;
  background: var(--error-bg);
  color: var(--error);
  font-size: 0.82rem;
  line-height: 1.45;
}

.support-form-result {
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
}

.support-form-result--success {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}

.support-form-result--error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: var(--error);
}

.support-form__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.68);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.footer-dot {
  opacity: 0.45;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.whatsapp-fab {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 100;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.28);
  transition: transform 0.18s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
}

.spinner {
  width: 18px;
  height: 18px;
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: middle;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 899px) {
  .main {
    padding-top: 34px;
  }

  .home-intro {
    text-align: center;
  }

  .hero__title,
  .hero__text,
  .quick-points {
    margin-left: auto;
    margin-right: auto;
  }

  .search-panel {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 84px;
  }

  .site-header__inner {
    padding: 0 16px;
    row-gap: 8px;
  }

  .brand__wordmark-main {
    font-size: 2rem;
  }

  .brand__wordmark-sub {
    margin-top: 6px;
    font-size: 0.64rem;
  }

  .brand__tag {
    display: none;
  }

  .brand__logo {
    width: min(190px, 54vw);
    max-height: 56px;
  }

  .header-badge {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .lang-switch {
    margin-left: auto;
  }

  .main {
    padding: 28px 16px 86px;
  }

  .hero__label {
    margin-bottom: 14px;
  }

  .hero__title {
    font-size: 2.18rem;
  }

  .hero__text {
    font-size: 0.98rem;
  }

  .search-box,
  .faq,
  .feature-card,
  .card {
    padding: 20px;
  }

  .faq-head {
    display: block;
  }

  .faq-head p {
    margin-bottom: 4px;
  }

  .marketplace-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .marketplace-logo {
    justify-content: flex-start;
    width: fit-content;
  }

  .result-sidebar {
    position: static;
    z-index: auto;
    margin-bottom: 14px;
  }

  .result-main {
    position: relative;
    z-index: 1;
  }

  .result-header h2 {
    font-size: 1.56rem;
  }

  .products-head {
    align-items: stretch;
  }

  .product-filters {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .order-preview__actions,
  .order-preview__support {
    width: 100%;
  }

  .support-choice__grid {
    grid-template-columns: 1fr 1fr;
  }

  .support-form__grid,
  .support-form__actions {
    grid-template-columns: 1fr;
  }

  .schema-panel__body {
    padding: 10px;
  }

  .schema-panel__viewport {
    min-height: 88vh;
  }

  .schema-panel__viewport--direct {
    min-height: 180px;
  }

  .schema-pdf-pages {
    max-height: 76vh;
    padding: 10px;
  }

  .schema-native-frame {
    height: 86vh;
    min-height: 680px;
  }

  .schema-modal {
    padding: 0;
  }

  .schema-modal__dialog {
    width: 100%;
    min-height: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .schema-modal__frame {
    min-height: calc(100dvh - 58px);
  }

  .schema-pdf-tools {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 420px) {
  .brand__wordmark-main {
    font-size: 1.72rem;
  }

  .brand__wordmark-sub {
    margin-top: 5px;
    font-size: 0.55rem;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 1rem;
  }

  .brand__logo {
    width: min(170px, 54vw);
  }

  .hero__title {
    font-size: 1.92rem;
  }

  .input-wrap input {
    height: 54px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
