/* ============================================================
   Xiaomi promo — design tokens + base
   Brand-inspired warm orange + dark green palette
   ============================================================ */

:root {
  /* Brand colors */
  --c-bg: #faf6f0;
  --c-bg-soft: #f3eee5;
  --c-bg-card: #f1ece2;
  --c-surface: #ffffff;

  --c-ink: #1a1814;
  --c-ink-2: #3a352d;
  --c-muted: #7a7468;
  --c-line: #e6dfd1;
  --c-line-soft: #efe9dc;

  --c-green: #0e4a3a;
  /* deep Leica/Xiaomi-style green */
  --c-green-2: #0a3a2d;
  --c-green-soft: #16604c;
  --c-green-tint: #d9e8e2;

  --c-orange: #ff6a13;
  /* warm Xiaomi-style orange */
  --c-orange-2: #e15a0a;
  --c-orange-tint: #ffe4d2;

  --c-red: #d92d20;

  /* Typography */
  --ff-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-display: ui-sans-serif, system-ui, sans-serif;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(20, 18, 14, 0.04), 0 1px 1px rgba(20, 18, 14, 0.03);
  --sh-2: 0 6px 24px rgba(20, 18, 14, 0.06), 0 1px 3px rgba(20, 18, 14, 0.04);
  --sh-3: 0 24px 60px rgba(14, 74, 58, 0.12), 0 4px 12px rgba(14, 74, 58, 0.06);

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
}

#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#root>main {
  flex: 1 0 auto;
}

#root>.ftr {
  margin-top: auto;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

a {
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== Header ===== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(230, 223, 209, 0.6);
}

.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.hdr-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hdr-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-ink);
  transition: color 0.15s;
}

.hdr-nav a:hover {
  color: var(--c-orange-2);
}

.hdr-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ===== Hamburger ===== */
.hdr-burger {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.hdr-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.hdr-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hdr-burger.open span:nth-child(2) {
  opacity: 0;
}

.hdr-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Mobile overlay menu ===== */
.mob-menu {
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(26, 24, 20, 0.45);
  z-index: 49;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.mob-menu-nav {
  background: var(--c-surface);
  display: flex;
  flex-direction: column;
  padding-bottom: 8px;
  box-shadow: 0 8px 32px rgba(20, 18, 14, 0.12);
}

.mob-menu-nav a {
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line-soft);
  transition: background 0.12s, color 0.12s;
}

.mob-menu-nav a:hover {
  background: var(--c-bg-soft);
  color: var(--c-orange-2);
}

.mob-menu-locale {
  display: flex;
  gap: 8px;
  padding: 14px 20px 6px;
}

.mob-menu-locale button {
  appearance: none;
  border: 1px solid var(--c-line);
  background: transparent;
  padding: 6px 20px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.mob-menu-locale button.on {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}

.locale {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.04);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 2px;
}

.locale button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  cursor: pointer;
}

.locale button.on {
  background: var(--c-ink);
  color: #fff;
}


/* ===== Home — CZ-ref layout (phones left, brand + CTAs right) ===== */
.home-hero {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f2ea 100%);
  overflow: visible;
}

.home-grid {
  display: grid;
  grid-template-columns: 1.0fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

/* Diagonal overlapping phones (modern element from SK ref) */
.home-phones {
  position: relative;
  min-height: 520px;
}

.home-phone {
  position: absolute;
  filter: drop-shadow(0 15px 20px rgba(20, 18, 14, 0.18));
}

.home-phone-back {
  width: 50%;
  left: 6%;
  top: 0%;
  transform: rotate(0deg);
}

.home-phone-front {
  width: 48%;
  right: 0%;
  top: 0%;
  transform: rotate(6deg);
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .home-brand {
    gap: 1px !important;
  }
}

.home-brand .brand-wordmark {
  letter-spacing: -0.03em;
  padding-right: 6px;
  overflow: visible;
}

.home-brand-sup {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--c-ink);
  letter-spacing: 0;
}

.home-leica {
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-left: 200px;

}

@media (max-width: 1024px) {
  .home-leica {
    margin-left: 0 !important;
    width: 100%;
    justify-content: center;
  }
}

.home-tagline {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin: 0 0 32px;
}

.home-ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  margin-bottom: 28px;
}

.cta-pill {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: var(--c-green, #0e4a3a);
  color: #fff;
  border-radius: 999px;
  padding: 14px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 8px 20px -8px rgba(14, 74, 58, 0.4);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: var(--ff-display);
  white-space: nowrap;
  min-width: 280px;
}

.cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(14, 74, 58, 0.5);
  background: #126a52;
}

.cta-pill.sold-out {
  background: #d7d2ca;
  color: #6f685f;
  cursor: pointer;
  box-shadow: none;
}

.cta-pill.sold-out:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -4px rgba(14, 74, 58, 0.2);
  background: #ccc7bf;
}

.cta-pill:disabled {
  background: #d7d2ca;
  color: #6f685f;
  cursor: not-allowed;
  box-shadow: none;
}

.cta-pill:disabled:hover {
  transform: none;
  box-shadow: none;
  background: #d7d2ca;
}

.cta-pill-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.cta-pill-sub {
  font-size: 13px;
  font-weight: 400;
  opacity: .92;
  white-space: nowrap;
}

.home-validity {
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.6;
  max-width: 480px;
}

/* ===== Gifts strip — floating glass cards overlapping the phones ===== */
.home-gifts {
  padding: 32px 0 80px;
  background: var(--c-bg);
  position: relative;
  z-index: 5;
  margin-top: 0;
}

.gifts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 5;
}

.gift-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 18px 20px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 20px 40px -16px rgba(20, 18, 14, 0.22),
    0 4px 12px -2px rgba(20, 18, 14, 0.08);
}

.gift-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 30px 50px -18px rgba(20, 18, 14, 0.28),
    0 6px 16px -2px rgba(20, 18, 14, 0.1);
}

.gift-card-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gift-card-model {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gift-wordmark {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--c-ink);
  white-space: nowrap;
}

.gift-card-model .leica-mark {
  font-size: 10px;
}

.gift-card-plus {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plus-mark {
  color: var(--c-orange);
  font-size: 26px;
  font-weight: 800;
  line-height: 0.9;
}

.gift-card-label {
  font-size: 13px;
  color: var(--c-ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gift-card-label strong {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
}

.gift-card-label .tag {
  font-style: normal;
  border: 1px solid var(--c-ink);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 12px;
  font-weight: 600;
  margin: 0 4px;
}

.gift-card-label .muted {
  font-style: normal;
  color: var(--c-muted);
  font-size: 11px;
  margin-left: -3px;
  vertical-align: super;
}

.gift-card-art {
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Tablet: phones side-by-side (no absolute overlap) */
@media (max-width: 880px) and (min-width: 541px) {
  .home-phones {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    min-height: 300px;
  }

  .home-phone {
    position: absolute;
    width: 38%;

  }

  .home-phone-back {
    transform: rotate(-6deg);
    margin-top: 24px;
    left: 22%;
    top: -4%;
  }

  .home-phone-front {
    transform: rotate(4deg);
    right: 15%;
    top: 4%;

  }
}

/* Tablet: phones side-by-side (no absolute overlap) */
@media (max-width: 541px) and (min-width: 300px) {


  .home-phone-back {
    transform: rotate(-6deg);
    margin-top: 24px;
    left: 2%;
    top: -4%;
  }

  .home-phone-front {
    transform: rotate(4deg);
    right: 05%;
    top: 4%;

  }
}

@media (max-width: 880px) {
  .home-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-phone img {
    max-width: 150px;
    width: auto;
  }

  .home-phones {
    min-height: 300px;
  }

  .home-content {
    align-items: center;
    text-align: center;
  }

  .home-leica {
    margin-left: 0;
  }

  .home-validity,
  .home-ctas {
    align-self: center;
  }

  .home-brand {
    justify-content: center;
  }

  .brand-wordmark {
    font-size: 44px !important;
  }

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

  .gift-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .gift-card-art {
    justify-content: flex-start;
  }
}

/* ===== Hero (detail) ===== */
.hero {
  padding: 56px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-grid.centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-grid.fullbleed {
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
}

.hero-product {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--c-bg-soft);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-product img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.hero-grid.fullbleed .hero-product {
  aspect-ratio: 21 / 9;
  max-height: 480px;
}

.brand-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.hero-grid.centered .brand-line,
.hero-grid.fullbleed .brand-line {
  justify-content: center;
}

.brand-wordmark {
  font-family: var(--ff-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--c-ink);
}

.brand-tag {
  font-size: 14px;
  color: var(--c-muted);
  letter-spacing: 0.02em;
}

.brand-rada {
  font-size: 18px;
  color: var(--c-muted);
  font-style: italic;
  font-weight: 400;
}

.leica-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 600;
  margin-left: 150px;
  padding-bottom: 5px;
}

.gift-card .leica-mark {
  margin-left: 30px;
}


.hero-tagline {
  font-size: 22px;
  font-weight: 500;
  color: var(--c-ink-2);
  margin: 10px 0 28px;
}

/* CTA buttons */
.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

.hero-grid.centered .cta-stack,
.hero-grid.fullbleed .cta-stack {
  margin: 0 auto;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  background: var(--c-green);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 20px rgba(14, 74, 58, 0.18);
}

.cta:hover {
  background: var(--c-green-soft);
  transform: translateY(-1px);
}

.cta:active {
  transform: translateY(0);
}

.cta small {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.85;
}

.cta.dark {
  background: var(--c-ink);
  box-shadow: 0 6px 20px rgba(20, 18, 14, 0.18);
}

.cta.dark:hover {
  background: #000;
}

.cta:disabled,
.cta.dark:disabled {
  background: #d7d2ca;
  color: #6f685f;
  cursor: default;
  box-shadow: none;
}

.cta:disabled:hover,
.cta.dark:disabled:hover {
  background: #d7d2ca;
  transform: none;
}

.cta.outline {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-line);
  box-shadow: none;
}

.cta.outline:hover {
  border-color: var(--c-ink);
  background: rgba(0, 0, 0, 0.02);
}

.hero-disclaimer {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-muted);
  max-width: 480px;
}

.hero-grid.centered .hero-disclaimer,
.hero-grid.fullbleed .hero-disclaimer {
  margin-left: auto;
  margin-right: auto;
}

/* ===== Offer card (detail hero) ===== */
.offer-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: 8px;
  position: relative;
  margin-bottom: 64px;
  box-shadow: var(--sh-2);
  border: 1px solid var(--c-line-soft);
  margin: 24px 0 18px;
  /* max-width: 300px; */
  width: 100%;
  box-sizing: border-box;
}


.hero-grid.centered .offer-card,
.hero-grid.fullbleed .offer-card {
  margin-left: auto;
  margin-right: auto;
}

.offer-row {
  /* display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--r-md); */
  display: flex;
  justify-content: flex-start;
  /* grid-template-columns: 36px 0.8fr auto; */
  gap: 9px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--r-md);
  align-items: center;
}

.offer-row+.offer-row {
  margin-top: 14px;
}

.offer-row.gift {
  background: var(--c-green);
  color: #fff;
  grid-template-columns: 36px 1fr;
  position: relative;
  overflow: visible;
}

.offer-row.gift .offer-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.offer-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-orange-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-orange-2);
}

.offer-text {
  font-size: 13px;
  line-height: 1.3;
  color: var(--c-muted);
}

.offer-text.textimg {
  max-width: calc(100% - 110px);
}

.offer-text strong {
  display: inline-block;
  font-size: 24px;
  padding-left: 8px;
  /* display: block; */
  font-weight: 800;
  line-height: 1.1;
  color: #0e4a3a;

  letter-spacing: -0.03em;
}

.offer-row.gift .offer-text {
  color: rgba(255, 255, 255, 0.8);
}

.offer-row.gift .offer-text strong {
  color: #fff;
}

.offer-thumb {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: auto;
  height: 156px;
  pointer-events: none;
  z-index: 10;
  /* box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); */
  filter: drop-shadow(0 0 23px rgba(255, 255, 255, 0.8));
}

.offer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(8deg);
  filter: drop-shadow(0 12px 28px rgba(20, 18, 14, 0.22));
}

@media (max-width: 880px) {
  .offer-thumb {
    position: relative;
    right: auto;
    bottom: auto;

    flex-shrink: 0;
    align-self: flex-end;
    margin-right: -15px;
    margin-bottom: -2px;
  }

  .offer-text.textimg {
    max-width: none;
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 440px) {
  .offer-row {
    display: flex;
    padding: 6px 10px;
    gap: 4px;
  }

  .offer-icon {
    margin-right: 2px;
    width: 26px;
    height: 26px;
  }

  .offer-text.textimg {
    display: block;
    padding: 5px 0;
    flex: unset;
  }

  .offer-thumb {
    text-align: center;
    width: unset;
    height: unset;
    filter: drop-shadow(0 0 23px rgba(255, 255, 255, 1));

  }

  .offer-text strong {
    display: inline-block;
    font-size: 16px;
    padding: 0;
  }

  .offer-thumb img {
    width: auto;
    height: 85px;
    object-fit: contain;
    margin: auto;
    filter: drop-shadow(0 12px 28px rgba(20, 18, 14, 0.22));
  }
}



/* ===== Section heading ===== */
.section {
  padding: 80px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-h {
  text-align: center;
  margin-bottom: 48px;
}

.section-h h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--c-ink);
}

.section-h p {
  font-size: 16px;
  color: var(--c-muted);
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-orange-2);
  margin-bottom: 12px;
}

/* ===== Benefits row (subscriptions / display repair) ===== */
.benefits {
  background: var(--c-bg-soft);
  padding: 56px 0;
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line-soft);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
}


.benefit {
  text-align: center;
  padding: 8px;
}

.benefit-logo {
  height: 28px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--c-ink);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.benefit-logo .dot {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--c-ink);
}

.benefit-logo img {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 28px;
  object-fit: contain;
}

.benefit p {
  font-size: 14px;
  color: var(--c-muted);
  margin: 0;
  line-height: 1.5;
}

.benefit strong {
  display: block;
  color: var(--c-ink);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.fn-ref {
  font-size: 10px;
  margin-left: 1px;
  color: var(--c-muted);
  text-decoration: none;
}

.fn-ref:hover {
  color: var(--c-ink);
  text-decoration: underline;
}

.page-footnotes {
  padding: 32px 0 40px;
  border-top: 1px solid var(--c-line-soft);
}

.benefit-footnotes {
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.7;
  list-style: none;
  counter-reset: fn;
}

.benefit-footnotes li {
  counter-increment: fn;
  margin-bottom: 8px;
  padding-left: 28px;
  position: relative;
}

.benefit-footnotes li::before {
  content: "*" counter(fn);
  position: absolute;
  left: 0;
  font-weight: 600;
  font-size: 11px;
  color: var(--c-ink);
  opacity: 0.5;
}

.benefit-footnotes a {
  color: var(--c-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

.benefit-footnotes a:hover {
  color: var(--c-ink);
}

/* ===== Partners ===== */
.partners {
  padding: 56px 0;
  text-align: center;
}

.partners h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--c-ink-2);
  margin: 0 0 32px;
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 22px;
}

.partner-logo {
  width: 120px;
  /* width: 100%; */
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
}

.partner-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 40px;
  min-width: 50px;
  object-fit: contain;

}

.partner-online {
  display: block;
  text-align: center;
  margin-top: 28px;
  color: var(--c-orange-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.partner-online:hover {
  text-decoration: underline;
}

.partners-foot {
  margin-top: 14px;
  font-size: 13px;
  color: var(--c-muted);
}

/* ===== How it works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.step {
  text-align: center;
  padding: 0 8px;
}

.step-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green);
}

.step h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

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

.steps-foot {
  text-align: center;
  margin-top: 36px;
}

.steps-foot a {
  color: var(--c-muted);
  text-decoration: underline;
  font-size: 14px;
}

/* ===== Form ===== */
.form-wrap {
  background: var(--c-bg-card);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--sh-1);
}

.form-gift-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff8e6;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-bottom: 28px;
}

.form-gift-img {
  flex: 0 0 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-gift-img img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
}

.gift-card.sold-out {
  opacity: 0.55;
  cursor: default;
}

.gift-card.sold-out:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 20px 40px -16px rgba(20, 18, 14, 0.22),
    0 4px 12px -2px rgba(20, 18, 14, 0.08);
}

.offer-row.gift.sold-out {
  background: #d7d2ca;
  color: #5f584f;
}

.offer-row.gift.sold-out .offer-text strong {
  color: #2d2924;
}

.offer-row.gift.sold-out .offer-text small {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #2d2924;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.gift-card-soldout {
  display: inline-block;
  background: var(--c-ink, #1a1a1a);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
}

/* ===== No-campaign placeholder page ===== */
.no-campaign-page {
  background: #e6e6e6;
  min-height: 340px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 60px var(--gutter);
}

.no-campaign-mi {
  position: absolute;
  top: 28px;
  right: 40px;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: block;
}

.no-campaign-text {
  padding-left: min(280px, 20vw);
}

.no-campaign-text p {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 4px;
}

.no-campaign-text p+p {
  color: var(--c-muted);
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

.campaign-notice {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  max-width: 720px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--c-line, #ded8cf);
  border-left: 4px solid var(--c-ink, #1a1a1a);
  border-radius: 8px;
  font-size: 15px;
  color: var(--c-ink, #1a1a1a);
  margin: 0;
}

.campaign-notice.compact {
  max-width: 420px;
  margin: 0 0 24px;
}

.campaign-notice strong {
  font-size: 18px;
  line-height: 1.25;
}

.campaign-notice span {
  color: var(--c-muted);
  line-height: 1.5;
}

.form-gift-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-gift-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-muted);
}

.form-gift-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.2;
}

.form-gift-model {
  font-size: 13px;
  color: var(--c-muted);
}

.form-section+.form-section {
  margin-top: 28px;
}

.form-section-h {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 18px;
}

.field {
  margin-bottom: 14px;
}

.field-row {
  display: grid;
  gap: 14px;
}

.field-row.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.field-row.cols-21 {
  grid-template-columns: 2fr 1fr;
}

.field-row.cols-phone {
  grid-template-columns: 110px 1fr;
}

.label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-2);
  margin-bottom: 6px;
}

.label .req {
  color: var(--c-orange-2);
}

.input,
.select,
.textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--c-ink);
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--c-green-soft);
  box-shadow: 0 0 0 3px rgba(14, 74, 58, 0.12);
}

.textarea {
  resize: vertical;
  min-height: 80px;
}

.input.error,
.select.error {
  border-color: var(--c-red);
}

.input.error:focus {
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.15);
}

/* ===== SearchSelect combobox ===== */
.search-select {
  position: relative;
  width: 100%;
}

.search-select-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.search-select-control:focus {
  outline: none;
  border-color: var(--c-green-soft);
  box-shadow: 0 0 0 3px rgba(14, 74, 58, 0.12);
}

.search-select-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  color: var(--c-ink);
  padding: 0;
  min-width: 0;
}

.search-select-placeholder {
  color: var(--c-muted);
}

.search-select-chevron {
  color: var(--c-muted);
  font-size: 11px;
  margin-left: 8px;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.search-select.open .search-select-chevron {
  transform: rotate(180deg);
}

.search-select-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-2);
  max-height: 220px;
  overflow-y: auto;
  z-index: 200;
  list-style: none;
  margin: 0;
  padding: 4px 0;
}

.search-select-item {
  padding: 9px 14px;
  font-size: 14px;
  cursor: pointer;
  color: var(--c-ink);
  transition: background 0.1s;
}

.search-select-item:hover,
.search-select-item:focus {
  background: var(--c-bg-soft);
}

.search-select-item.selected {
  background: var(--c-green-tint);
  color: var(--c-green);
  font-weight: 600;
}

.search-select-empty {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--c-muted);
  font-style: italic;
}

.error-msg {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--c-red);
  line-height: 1.4;
}

.form-error-summary {
  margin-top: 10px;
  margin-bottom: 16px;
  background: #fff5f5;
  border: 1px solid rgba(217, 45, 32, 0.18);
  border-left: 4px solid var(--c-red);
  border-radius: var(--r-md);
  padding: 13px 16px 14px;
}

.form-error-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.form-error-summary-head strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-red);
  line-height: 1.3;
}

.form-error-dismiss {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 2px 4px;
  margin: -4px -4px 0 auto;
  flex-shrink: 0;
}

.form-error-dismiss:hover {
  color: var(--c-ink);
}

.form-error-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-error-list li {
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.4;
  padding-left: 12px;
  position: relative;
}

.form-error-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--c-red);
}

.form-fixed-alert {
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 1000;
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 32px));
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(198, 40, 40, 0.22);
  border-left: 5px solid var(--c-red);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(20, 18, 14, 0.16);
  color: var(--c-ink);
  padding: 16px 18px;
}

.form-fixed-alert strong {
  display: block;
  color: var(--c-red);
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.form-fixed-alert span {
  display: block;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.45;
}

.form-fixed-alert button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  margin: -3px -4px 0 auto;
  padding: 4px;
}

.form-fixed-alert button:hover {
  color: var(--c-ink);
}

.help-box {
  background: #fff8e6;
  border: 1px solid #f6e3a8;
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.5;
  color: #6d5a18;
  margin-top: 8px;
}

/* File upload */
.file-field {
  border: 1.5px dashed var(--c-line);
  background: #fff;
  border-radius: var(--r-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.file-field:hover {
  border-color: var(--c-green-soft);
  background: #fafafa;
}

.file-field.has-file {
  border-style: solid;
  border-color: var(--c-green-soft);
  background: #f4faf7;
}

.file-field input[type="file"] {
  display: none;
}

.file-btn {
  background: var(--c-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--r-xs);
  white-space: nowrap;
}

.file-name {
  font-size: 13px;
  color: var(--c-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-help {
  margin-top: 6px;
  font-size: 12px;
  color: var(--c-muted);
  background: #fff8e6;
  border: 1px solid #f6e3a8;
  border-radius: var(--r-sm);
  padding: 10px 14px;
  line-height: 1.5;
}

/* Radio for delivery */
.radio-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-ink);
  cursor: pointer;
}

.radio-row input[type="radio"] {
  accent-color: var(--c-green);
}

.delivery-summary {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  color: var(--c-ink-2);
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 14px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.5;
}

.checkbox-row input[type="checkbox"] {
  accent-color: var(--c-green);
  margin-top: 2px;
}

.submit-row {
  text-align: center;
  margin-top: 24px;
}

.btn-submit {
  background: var(--c-ink);
  color: #fff;
  border: 0;
  padding: 14px 36px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  min-width: 220px;
}

.btn-submit:hover {
  background: #000;
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

.btn-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  animation: xp-spin 0.65s linear infinite;
  flex-shrink: 0;
}

.form-soldout-notice {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: var(--c-bg-soft);
  border-left: 3px solid #b45309;
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
  font-size: 13px;
  color: var(--c-ink-2);
}

.outlet-picker {
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-ink-2);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Form success */
.form-success {
  text-align: center;
  padding: 60px 20px;
}

.form-success .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 32px;
}

.form-success h3 {
  font-size: 24px;
  margin: 0 0 12px;
}

.form-success p {
  color: var(--c-muted);
  margin: 0;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--c-line);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  user-select: none;
  list-style: none;
}

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

.faq-q::after {
  content: "+";
  font-size: 22px;
  color: var(--c-orange-2);
  font-weight: 400;
  margin-left: 12px;
  transition: transform 0.2s;
}

details[open] .faq-q::after {
  content: "−";
}

.faq-a {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-ink-2);
}

.faq-a a {
  color: var(--c-orange-2);
}

/* ===== Rules section ===== */
.rules {
  background: var(--c-bg-soft);
  padding: 56px 0;
  border-top: 1px solid var(--c-line-soft);
}

.rules h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.rules-sub {
  text-align: center;
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 28px;
}

.rules-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-ink-2);
}

.rules-text p {
  margin: 0 0 10px;
}

.rules-foot {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
}

.rules-foot a {
  color: var(--c-muted);
  text-decoration: underline;
}

.rules-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--c-ink);
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  transition: border-color .15s, background .15s;
}

.rules-pdf-link:hover {
  border-color: var(--c-ink);
  background: var(--c-bg-soft);
  text-decoration: none;
}

/* ===== Footer ===== */
.ftr {
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
  font-size: 13px;
}

.ftr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ftr-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.ftr-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.ftr-links a:hover {
  color: #fff;
}

.ftr-contact {
  text-align: right;
}

.ftr-contact .lbl {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.ftr-contact a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* ===== Home (rozcestnik) tiles ===== */
.models {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.model-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  position: relative;
  overflow: hidden;
}

.model-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
  border-color: var(--c-green);
}

.model-card .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--c-orange);
  color: #fff;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.model-card .product-img {
  background: var(--c-bg-soft);
  border-radius: var(--r-md);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.model-card .product-img img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.model-card h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.model-card .gift-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--c-ink-2);
}

.gift-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-green-tint);
  color: var(--c-green-2);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
}

.model-card .go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-green);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  align-self: flex-start;
  font-weight: 700;
  font-size: 14px;
}

/* ===== Mobile ===== */
@media (max-width: 880px) {
  :root {
    --gutter: 10px;
  }

  .hdr-nav {
    display: none;
  }

  .hdr-right .locale {
    display: none;
  }

  .hdr-burger {
    display: flex;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .brand-line {
    justify-content: center;
  }

  .cta-stack {
    margin: 0 auto;
  }

  .hero-disclaimer {
    margin-left: auto;
    margin-right: auto;
  }

  .brand-wordmark {
    font-size: 42px;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .hdr-nav {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .section-h h2 {
    font-size: 28px;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .partner-grid {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 16px 14px;
  }

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

  .form-wrap {
    padding: 24px 18px;
  }

  .field-row.cols-2 {
    grid-template-columns: 1fr;
  }

  .field-row.cols-21 {
    grid-template-columns: 1fr;
  }

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

  .ftr-inner {
    flex-direction: column;
    text-align: center;
  }

  .ftr-contact {
    text-align: center;
  }
}

@media (max-width: 400px) {
  .benefits-grid {
    grid-template-columns: 100%;
    gap: 32px 24px;
  }

  .partner-grid {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 16px 14px;
  }

  /* .hero-content-fix {
    text-align: centerS;
    padding: 5px;
    max-width: fit-content;
  }
 */
  .offer-card {
    max-width: unset;
  }

  .hero-grid {
    grid-template-columns: 100%;
  }

  .leica-mark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-muted);
    font-weight: 600;
    margin-left: 10px;
    padding-bottom: 5px;
  }
}

.fd-row {
  flex-direction: row !important;
}

/* ===== Submit steps loader ===== */
.submit-loading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.submit-steps-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-lg);
  padding: 28px 36px;
  box-shadow: var(--sh-3);
  min-width: 240px;
}

.submit-steps-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 18px;
  text-align: center;
  letter-spacing: -0.01em;
}

.submit-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--c-line-soft);
}

.submit-step:last-child {
  border-bottom: none;
}

.submit-step-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-done .submit-step-icon {
  color: var(--c-green);
}

.step-done .submit-step-label {
  color: var(--c-green);
}

.step-active .submit-step-label {
  color: var(--c-ink);
  font-weight: 600;
}

.step-pending .submit-step-label {
  color: var(--c-muted);
}

.step-circle {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--c-line);
  margin: 0 auto;
}

.btn-spinner.step-spinner {
  border-color: rgba(255, 165, 0, 0.25);
  border-top-color: var(--c-orange);
  width: 16px;
  height: 16px;
}