/* ============================================================
   checkdubaicard.org · stylesheet
   corporate-trust skeleton + arabic-modern accent
   palette: #e60000 / #1a1a1a / #ffffff (+ #f5f7fa neutral)
   prefix: cdc-
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --cdc-red:        #e60000;
  --cdc-red-dark:   #b80000;
  --cdc-red-soft:   #fff0f0;
  --cdc-ink:        #1a1a1a;
  --cdc-ink-2:      #3a3a3a;
  --cdc-paper:      #ffffff;
  --cdc-soft:       #f5f7fa;
  --cdc-soft-2:     #e9ecf2;
  --cdc-line:       #e5e7ed;
  --cdc-mute:       #6b7280;
  --cdc-good:       #1f7a4d;

  --cdc-radius-sm:  6px;
  --cdc-radius:     10px;
  --cdc-radius-lg:  16px;
  --cdc-shadow:     0 1px 2px rgba(26, 26, 26, .04), 0 4px 14px rgba(26, 26, 26, .04);

  --cdc-font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --cdc-font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --cdc-font-ar:      'Cairo', 'Inter', sans-serif;

  /* diamond-in-diamond pattern (arabic-modern accent) */
  --cdc-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 0 L40 20 L20 40 L0 20 Z M10 20 L20 10 L30 20 L20 30 Z' fill='none' stroke='%231a1a1a' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E");

  --cdc-pattern-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 0 L40 20 L20 40 L0 20 Z M10 20 L20 10 L30 20 L20 30 Z' fill='none' stroke='%23e60000' stroke-opacity='.18' stroke-width='1'/%3E%3C/svg%3E");
}


/* ============================================================
   2. RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--cdc-font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--cdc-ink);
  background: var(--cdc-paper);
  -webkit-font-smoothing: antialiased;
}
html[dir="rtl"] body { font-family: var(--cdc-font-ar); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--cdc-red); text-decoration: none; }
a:hover { text-decoration: underline; }


/* ============================================================
   3. TYPOGRAPHY HELPERS
   ============================================================ */
.cdc-display { font-family: var(--cdc-font-display); letter-spacing: -0.018em; }
.cdc-ar      { font-family: var(--cdc-font-ar); direction: rtl; letter-spacing: 0; }
.cdc-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cdc-red);
  font-weight: 700;
}
.cdc-mute { color: var(--cdc-mute); }


/* ============================================================
   4. WRAPPER
   ============================================================ */
.cdc-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.cdc-wrap--narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }


/* ============================================================
   5. TOPLINE — thin red strip with bilingual notice
   ============================================================ */
.cdc-topline {
  background: var(--cdc-ink);
  color: var(--cdc-paper);
  font-size: 12px;
  letter-spacing: .3px;
}
.cdc-topline__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 6px;
}
.cdc-topline__row a { color: var(--cdc-paper); opacity: .8; }
.cdc-topline__row a:hover { opacity: 1; text-decoration: none; }
.cdc-topline__pulse {
  display: inline-flex; align-items: center; gap: 6px;
}
.cdc-topline__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cdc-red); animation: cdc-pulse 1.6s ease-in-out infinite;
}
@keyframes cdc-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.6); }
  50% { opacity: .55; box-shadow: 0 0 0 5px rgba(230, 0, 0, 0); }
}


/* ============================================================
   6. HEADER — logo + nav + lang toggle
   ============================================================ */
.cdc-header {
  background: var(--cdc-paper);
  border-bottom: 1px solid var(--cdc-line);
  position: relative;
}
.cdc-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 24px;
}
.cdc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cdc-ink);
  text-decoration: none;
}
.cdc-brand:hover { text-decoration: none; }
.cdc-brand__mark {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--cdc-ink);
  color: var(--cdc-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cdc-brand__mark::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 12px; height: 12px;
  background: var(--cdc-red);
}
.cdc-brand__name {
  font-family: var(--cdc-font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.018em;
}
.cdc-brand__sub {
  display: block;
  font-family: var(--cdc-font-ar);
  direction: rtl;
  font-size: 11px;
  color: var(--cdc-mute);
  margin-top: 2px;
}

.cdc-header__nav {
  display: none;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
}
.cdc-header__nav a {
  color: var(--cdc-ink-2);
  padding: 6px 0;
  position: relative;
}
.cdc-header__nav a:hover { color: var(--cdc-red); text-decoration: none; }
.cdc-header__nav a[aria-current="page"] {
  color: var(--cdc-red);
}
.cdc-header__nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -19px;
  height: 2px;
  background: var(--cdc-red);
}

.cdc-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cdc-lang {
  background: none;
  border: 1px solid var(--cdc-line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cdc-ink-2);
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .3px;
}
.cdc-lang:hover { border-color: var(--cdc-red); color: var(--cdc-red); }

.cdc-burger {
  width: 38px; height: 38px;
  border: 1px solid var(--cdc-line);
  background: var(--cdc-paper);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 920px) {
  .cdc-header__nav { display: flex; }
  .cdc-burger { display: none; }
}


/* ============================================================
   7. DRAWER (mobile nav)
   ============================================================ */
.cdc-drawer {
  position: fixed; inset: 0; z-index: 70;
  pointer-events: none;
}
.cdc-drawer[data-open="true"] { pointer-events: auto; }
.cdc-drawer__bg {
  position: absolute; inset: 0;
  background: rgba(26, 26, 26, .5);
  opacity: 0;
  transition: opacity .22s;
}
.cdc-drawer[data-open="true"] .cdc-drawer__bg { opacity: 1; }
.cdc-drawer__panel {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: 290px;
  background: var(--cdc-paper);
  padding: 22px;
  transform: translateX(100%);
  transition: transform .26s ease;
  display: flex; flex-direction: column;
  gap: 6px;
}
.cdc-drawer[data-open="true"] .cdc-drawer__panel { transform: translateX(0); }
.cdc-drawer__close {
  align-self: flex-end;
  background: none; border: none;
  font-size: 28px; line-height: 1;
  color: var(--cdc-mute);
}
.cdc-drawer__nav {
  display: flex; flex-direction: column;
  margin-top: 6px; gap: 2px;
}
.cdc-drawer__nav a {
  color: var(--cdc-ink);
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
}
.cdc-drawer__nav a:hover { background: var(--cdc-soft); text-decoration: none; }


/* ============================================================
   8. HERO
   ============================================================ */
.cdc-hero {
  position: relative;
  background:
    var(--cdc-pattern),
    var(--cdc-paper);
  background-size: 40px 40px, 100%;
  background-position: 0 0, 0 0;
  border-bottom: 1px solid var(--cdc-line);
  overflow: hidden;
}
.cdc-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cdc-red) 0%, var(--cdc-red) 28%, var(--cdc-ink) 28%);
}
.cdc-hero__row {
  padding: 56px 0 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
@media (min-width: 920px) {
  .cdc-hero__row { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}
.cdc-hero__title {
  font-family: var(--cdc-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--cdc-ink);
  margin: 14px 0 6px;
}
.cdc-hero__title em {
  font-style: normal;
  color: var(--cdc-red);
}
.cdc-hero__title-ar {
  font-family: var(--cdc-font-ar);
  direction: rtl;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: var(--cdc-mute);
  margin: 0 0 18px;
  letter-spacing: 0;
}
.cdc-hero__lead {
  color: var(--cdc-ink-2);
  font-size: 1.02rem;
  max-width: 56ch;
  margin: 0 0 24px;
}
.cdc-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.cdc-hero__bullets {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  font-size: 13px; color: var(--cdc-ink-2);
}
.cdc-hero__bullets li {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 12px;
  border-left: 2px solid var(--cdc-red);
  background: var(--cdc-paper);
}


/* ============================================================
   9. NOL CARD TYPE SELECTOR (hero-right)
   visual cards for Red Ticket / Silver / Gold / Personal
   ============================================================ */
.cdc-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.cdc-card {
  position: relative;
  border: 1px solid var(--cdc-line);
  border-radius: var(--cdc-radius);
  padding: 18px;
  background: var(--cdc-paper);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .18s, border-color .18s;
}
.cdc-card:hover { border-color: var(--cdc-ink); transform: translateY(-2px); }
.cdc-card__chip {
  width: 28px; height: 22px;
  border-radius: 4px;
  background: linear-gradient(135deg, #d4af37 0%, #f0cf6c 60%, #b8902a 100%);
  border: 1px solid rgba(0,0,0,.1);
  position: relative;
  margin-bottom: 8px;
}
.cdc-card__chip::after {
  content: '';
  position: absolute;
  inset: 4px 6px;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,.12);
}
.cdc-card__title {
  font-family: var(--cdc-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cdc-ink);
  letter-spacing: -0.012em;
  margin: 0;
}
.cdc-card__sub {
  font-family: var(--cdc-font-ar);
  direction: rtl;
  font-size: 12px;
  color: var(--cdc-mute);
  margin: 0;
}
.cdc-card__desc {
  font-size: 12.5px;
  color: var(--cdc-ink-2);
  margin: 4px 0 0;
}
.cdc-card__price {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--cdc-line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: var(--cdc-mute);
}
.cdc-card__price strong {
  font-family: var(--cdc-font-display);
  color: var(--cdc-ink);
  font-size: 16px;
  font-weight: 700;
}
.cdc-card--red    .cdc-card__chip { background: linear-gradient(135deg, #e60000, #b80000); }
.cdc-card--silver .cdc-card__chip { background: linear-gradient(135deg, #c0c0c0, #e8e8e8 60%, #9a9a9a); }
.cdc-card--gold   .cdc-card__chip { background: linear-gradient(135deg, #d4af37, #f0cf6c 60%, #b8902a); }
.cdc-card--personal .cdc-card__chip { background: linear-gradient(135deg, #1a1a1a, #404040 60%, #1a1a1a); }


/* ============================================================
   10. SECTION (generic)
   ============================================================ */
.cdc-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--cdc-line);
}
.cdc-section--soft { background: var(--cdc-soft); }
.cdc-section--ink  { background: var(--cdc-ink); color: var(--cdc-paper); }
.cdc-section--ink h2,
.cdc-section--ink h3 { color: var(--cdc-paper); }

.cdc-section__head {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
}
.cdc-section__title {
  font-family: var(--cdc-font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--cdc-ink);
  margin: 6px 0 0;
  max-width: 28ch;
}
.cdc-section__title-ar {
  display: block;
  font-family: var(--cdc-font-ar);
  direction: rtl;
  font-size: .8rem;
  font-weight: 500;
  color: var(--cdc-mute);
  margin-top: 6px;
  letter-spacing: 0;
}
.cdc-section__lead {
  color: var(--cdc-ink-2);
  max-width: 44ch;
  font-size: 14.5px;
  margin: 0;
}


/* ============================================================
   11. WHERE NOL WORKS — two columns transit / non-transit
   ============================================================ */
.cdc-coverage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) { .cdc-coverage { grid-template-columns: 1fr 1fr; gap: 20px; } }

.cdc-cov-col {
  border: 1px solid var(--cdc-line);
  border-radius: var(--cdc-radius-lg);
  padding: 26px;
  background: var(--cdc-paper);
  position: relative;
}
.cdc-cov-col--transit { border-top: 4px solid var(--cdc-red); }
.cdc-cov-col--retail  { border-top: 4px solid var(--cdc-ink); }

.cdc-cov-col h3 {
  font-family: var(--cdc-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--cdc-ink);
}
.cdc-cov-col p.lead {
  font-size: 13px;
  color: var(--cdc-mute);
  margin: 0 0 18px;
}
.cdc-cov-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.cdc-cov-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--cdc-line);
}
.cdc-cov-list li:last-child { border-bottom: 0; }
.cdc-cov-list__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--cdc-soft);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--cdc-ink);
}
.cdc-cov-col--transit .cdc-cov-list__icon { background: var(--cdc-red-soft); color: var(--cdc-red); }
.cdc-cov-list strong {
  font-family: var(--cdc-font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--cdc-ink);
}
.cdc-cov-list span {
  display: block;
  font-size: 12.5px;
  color: var(--cdc-mute);
  margin-top: 2px;
}


/* ============================================================
   12. STEPS — 3 step diagram
   ============================================================ */
.cdc-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  counter-reset: cdc-step;
}
@media (min-width: 720px) { .cdc-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.cdc-step {
  position: relative;
  border: 1px solid var(--cdc-line);
  border-radius: var(--cdc-radius);
  padding: 28px 22px 22px;
  background: var(--cdc-paper);
  counter-increment: cdc-step;
}
.cdc-step::before {
  content: counter(cdc-step, decimal-leading-zero);
  position: absolute;
  top: -14px; left: 22px;
  width: 36px; height: 28px;
  background: var(--cdc-red);
  color: var(--cdc-paper);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--cdc-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .8px;
}
.cdc-step h3 {
  font-family: var(--cdc-font-display);
  font-size: 1.05rem;
  margin: 0 0 4px;
  color: var(--cdc-ink);
}
.cdc-step .ar {
  font-family: var(--cdc-font-ar);
  direction: rtl;
  font-size: 12.5px;
  color: var(--cdc-mute);
  margin-bottom: 10px;
}
.cdc-step p {
  font-size: 13.5px;
  color: var(--cdc-ink-2);
  margin: 0;
  line-height: 1.6;
}


/* ============================================================
   13. PRICE TABLE (4 Nol types)
   ============================================================ */
.cdc-price {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background: var(--cdc-paper);
  border: 1px solid var(--cdc-line);
  border-radius: var(--cdc-radius);
  overflow: hidden;
}
.cdc-price th, .cdc-price td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--cdc-line);
  vertical-align: top;
}
.cdc-price th {
  background: var(--cdc-soft);
  font-weight: 700;
  color: var(--cdc-ink);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.cdc-price tbody tr:last-child td { border-bottom: 0; }
.cdc-price tbody tr:hover { background: var(--cdc-soft); }
.cdc-price__name {
  font-family: var(--cdc-font-display);
  font-weight: 700;
  color: var(--cdc-ink);
  font-size: 15px;
}
.cdc-price__name small {
  display: block;
  font-family: var(--cdc-font-ar);
  direction: rtl;
  font-size: 11.5px;
  color: var(--cdc-mute);
  font-weight: 500;
  margin-top: 2px;
}
.cdc-price__num {
  font-family: var(--cdc-font-display);
  font-weight: 700;
  color: var(--cdc-ink);
  font-size: 15px;
}
@media (max-width: 640px) {
  .cdc-price thead { display: none; }
  .cdc-price, .cdc-price tbody, .cdc-price tr, .cdc-price td { display: block; width: 100%; }
  .cdc-price tr {
    border-bottom: 1px solid var(--cdc-line);
    padding: 6px 0;
  }
  .cdc-price td {
    padding: 8px 16px;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
  }
  .cdc-price td::before {
    content: attr(data-label);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--cdc-mute);
    font-weight: 600;
  }
}


/* ============================================================
   14. BUTTONS
   ============================================================ */
.cdc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  font-family: var(--cdc-font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s, transform .12s;
}
.cdc-btn:active { transform: scale(0.98); }
.cdc-btn--primary { background: var(--cdc-red); color: var(--cdc-paper); }
.cdc-btn--primary:hover:not(:disabled) { background: var(--cdc-red-dark); text-decoration: none; }
.cdc-btn--ink     { background: var(--cdc-ink); color: var(--cdc-paper); }
.cdc-btn--ink:hover:not(:disabled) { background: #000; text-decoration: none; }
.cdc-btn--outline {
  background: transparent;
  border: 1px solid var(--cdc-ink);
  color: var(--cdc-ink);
}
.cdc-btn--outline:hover { background: var(--cdc-ink); color: var(--cdc-paper); text-decoration: none; }
.cdc-btn--ghost {
  background: var(--cdc-soft); color: var(--cdc-ink);
}
.cdc-btn--ghost:hover { background: var(--cdc-soft-2); }
.cdc-btn--block { width: 100%; }
.cdc-btn--lg    { padding: 15px 28px; font-size: 15.5px; }
.cdc-btn:disabled { opacity: .5; cursor: not-allowed; }


/* ============================================================
   15. FORM
   ============================================================ */
.cdc-form {
  background: var(--cdc-paper);
  border: 1px solid var(--cdc-line);
  border-radius: var(--cdc-radius-lg);
  padding: 28px;
  box-shadow: var(--cdc-shadow);
}
.cdc-fieldset {
  border: 0; padding: 0; margin: 0 0 24px;
}
.cdc-fieldset:last-of-type { margin-bottom: 0; }
.cdc-form__legend {
  font-family: var(--cdc-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cdc-ink);
  margin: 0 0 4px;
  padding: 0;
}
.cdc-form__hint {
  font-size: 12.5px;
  color: var(--cdc-mute);
  margin: 0 0 18px;
}
.cdc-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cdc-line) 50%, transparent 100%);
  margin: 24px 0;
}

.cdc-field { margin-bottom: 16px; }
.cdc-field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cdc-ink);
  margin-bottom: 6px;
}
.cdc-field__label sup { color: var(--cdc-red); margin-left: 2px; font-weight: 700; }
.cdc-field__hint { font-size: 11.5px; color: var(--cdc-mute); margin-top: 4px; }

.cdc-input,
.cdc-select {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--cdc-line);
  border-radius: 10px;
  background: var(--cdc-paper);
  color: var(--cdc-ink);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.cdc-input:focus,
.cdc-select:focus {
  outline: none;
  border-color: var(--cdc-red);
  box-shadow: 0 0 0 3px rgba(230, 0, 0, .12);
}
.cdc-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.cdc-input--error,
.cdc-select--error { border-color: var(--cdc-red); }
.cdc-input--error:focus,
.cdc-select--error:focus { box-shadow: 0 0 0 3px rgba(230, 0, 0, .14); }
.cdc-input:disabled,
.cdc-select:disabled {
  background: var(--cdc-soft);
  color: var(--cdc-mute);
  cursor: not-allowed;
}

.cdc-error {
  display: block;
  min-height: 14px;
  font-size: 12px;
  color: var(--cdc-red);
  margin-top: 4px;
}

.cdc-prefix { display: flex; gap: 8px; }
.cdc-prefix__tag {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--cdc-line);
  background: var(--cdc-soft);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--cdc-ink);
}
.cdc-prefix .cdc-input { flex: 1; }

.cdc-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 540px) {
  .cdc-row--2 { grid-template-columns: 1fr 1fr; }
}

/* amount chips */
.cdc-amount {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.cdc-amount button {
  padding: 11px 20px;
  border: 1px solid var(--cdc-line);
  background: var(--cdc-paper);
  color: var(--cdc-ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  transition: background .15s, color .15s, border-color .15s;
}
.cdc-amount button:hover { border-color: var(--cdc-ink); }
.cdc-amount button[data-active="true"] {
  background: var(--cdc-ink);
  border-color: var(--cdc-ink);
  color: var(--cdc-paper);
}


/* ============================================================
   16. STEPBAR (form pages)
   ============================================================ */
.cdc-stepbar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.cdc-stepbar li {
  display: flex; align-items: center; gap: 8px;
  color: var(--cdc-mute);
  border-bottom: 2px solid var(--cdc-line);
  padding-bottom: 10px;
}
.cdc-stepbar li[data-current] {
  color: var(--cdc-red);
  border-bottom-color: var(--cdc-red);
  font-weight: 600;
}
.cdc-stepbar li[data-done] {
  color: var(--cdc-good);
  border-bottom-color: var(--cdc-good);
}
.cdc-stepbar__num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--cdc-soft);
  color: var(--cdc-mute);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 12px;
}
.cdc-stepbar li[data-current] .cdc-stepbar__num { background: var(--cdc-red); color: var(--cdc-paper); }
.cdc-stepbar li[data-done] .cdc-stepbar__num { background: var(--cdc-good); color: var(--cdc-paper); }


/* ============================================================
   17. CRUMBS
   ============================================================ */
.cdc-crumbs {
  font-size: 13px;
  color: var(--cdc-mute);
  margin-bottom: 22px;
}
.cdc-crumbs a { color: var(--cdc-mute); text-decoration: none; }
.cdc-crumbs a:hover { color: var(--cdc-red); }
.cdc-crumbs__sep { margin: 0 8px; }
.cdc-crumbs span[aria-current="step"] { color: var(--cdc-ink); font-weight: 500; }


/* ============================================================
   18. BALANCE READOUT (status block on home + recharge result)
   ============================================================ */
.cdc-readout {
  border-radius: var(--cdc-radius-lg);
  background: var(--cdc-ink);
  color: var(--cdc-paper);
  padding: 28px;
  margin-top: 22px;
  position: relative;
  overflow: hidden;
}
.cdc-readout::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--cdc-pattern-red);
  background-size: 40px 40px;
  opacity: .5;
  pointer-events: none;
}
.cdc-readout > * { position: relative; }
.cdc-readout__head {
  display: flex; justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
}
.cdc-readout__amount {
  font-family: var(--cdc-font-display);
  font-size: 2.4rem;
  font-weight: 700;
  margin: 12px 0 4px;
  letter-spacing: -0.025em;
}
.cdc-readout__amount sup {
  font-size: .9rem;
  color: var(--cdc-red);
  font-weight: 600;
  margin-right: 6px;
  vertical-align: middle;
}
.cdc-readout__sub { font-size: 13px; color: rgba(255,255,255,.7); }
.cdc-readout__divider { height: 1px; background: rgba(255,255,255,.18); margin: 20px 0; }
.cdc-readout__row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 13px;
}


/* ============================================================
   19. FAQ
   ============================================================ */
.cdc-faq {
  border-top: 1px solid var(--cdc-line);
  border-bottom: 1px solid var(--cdc-line);
  background: var(--cdc-paper);
}
.cdc-faq__item { border-bottom: 1px solid var(--cdc-line); }
.cdc-faq__item:last-child { border-bottom: 0; }
.cdc-faq__sum {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4px;
  cursor: pointer;
  font-weight: 600;
  color: var(--cdc-ink);
  font-size: 15px;
  font-family: inherit;
}
.cdc-faq__sum::-webkit-details-marker { display: none; }
.cdc-faq__plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--cdc-red-soft);
  color: var(--cdc-red);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 18px;
  transition: transform .25s;
}
details[open] .cdc-faq__plus { transform: rotate(45deg); background: var(--cdc-red); color: var(--cdc-paper); }
.cdc-faq__body {
  padding: 0 4px 18px;
  color: var(--cdc-ink-2);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 70ch;
}


/* ============================================================
   20. PROSE (legal pages)
   ============================================================ */
.cdc-prose { max-width: 70ch; }
.cdc-prose h1 {
  font-family: var(--cdc-font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cdc-ink);
  margin: 8px 0 6px;
  letter-spacing: -0.022em;
}
.cdc-prose h2 {
  font-family: var(--cdc-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cdc-ink);
  margin: 1.8em 0 .4em;
  border-left: 3px solid var(--cdc-red);
  padding-left: 10px;
}
.cdc-prose p { margin: .8em 0; line-height: 1.7; color: var(--cdc-ink-2); }
.cdc-prose ul, .cdc-prose ol { margin: 1em 0; padding-left: 1.4em; }
.cdc-prose li { margin: .35em 0; line-height: 1.65; color: var(--cdc-ink-2); }
.cdc-prose code {
  background: var(--cdc-soft);
  border: 1px solid var(--cdc-line);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: .9em;
  color: var(--cdc-ink);
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
}
.cdc-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 1em 0;
}
.cdc-prose th, .cdc-prose td {
  border-bottom: 1px solid var(--cdc-line);
  padding: 10px 12px;
  text-align: left;
}
.cdc-prose th { background: var(--cdc-soft); font-weight: 700; color: var(--cdc-ink); }


/* ============================================================
   21. FOOTER
   ============================================================ */
.cdc-footer {
  background: var(--cdc-ink);
  color: rgba(255,255,255,.85);
  position: relative;
}
.cdc-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cdc-red) 0%, var(--cdc-red) 28%, transparent 28%);
}
.cdc-footer__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 56px 24px 28px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .cdc-footer__row { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
.cdc-footer h4 {
  font-family: var(--cdc-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--cdc-paper);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cdc-footer ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.cdc-footer a {
  font-size: 13.5px;
  color: rgba(255,255,255,.72);
  text-decoration: none;
}
.cdc-footer a:hover { color: var(--cdc-paper); }
.cdc-footer__about {
  font-size: 13.5px;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  max-width: 36ch;
  margin: 12px 0 0;
}
.cdc-footer__legal {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.cdc-badges { display: flex; gap: 8px; align-items: center; }


/* ============================================================
   22. COOKIE BANNER + REDIRECT OVERLAY
   ============================================================ */
.cdc-cookies {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 60;
  background: var(--cdc-ink);
  color: var(--cdc-paper);
  border-radius: var(--cdc-radius);
  padding: 16px 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .25);
  display: none;
  font-size: 13.5px;
}
.cdc-cookies[data-visible="true"] { display: block; }
@media (min-width: 540px) {
  .cdc-cookies { left: auto; max-width: 380px; }
}
.cdc-cookies p { margin: 0 0 12px; }
.cdc-cookies a { color: #ff8a8a; }
.cdc-cookies button {
  background: var(--cdc-red);
  color: var(--cdc-paper);
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 13px;
}

.cdc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(255, 255, 255, .96);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.cdc-overlay[data-active="true"] { display: flex; }
.cdc-spin {
  width: 38px; height: 38px;
  border: 3px solid var(--cdc-line);
  border-top-color: var(--cdc-red);
  border-radius: 50%;
  animation: cdc-rot 1s linear infinite;
}
.cdc-overlay p { font-weight: 600; color: var(--cdc-ink); margin: 0; }
@keyframes cdc-rot { to { transform: rotate(360deg); } }

[hidden] { display: none !important; }

/* loading state for selects (cascading load animation) */
.cdc-field--loading { position: relative; }
.cdc-field--loading::after {
  content: '';
  position: absolute;
  right: 14px;
  top: calc(50% + 5px);
  width: 14px; height: 14px;
  border: 2px solid var(--cdc-line);
  border-top-color: var(--cdc-red);
  border-radius: 50%;
  animation: cdc-rot 1s linear infinite;
}
.cdc-field--loading .cdc-select { background-image: none; }
