/**
 * assets/css/currency-strip.css
 * Purpose: Country flag strip — quick currency switcher.
 * Last modified: 2026-04-11
 */

/* ─── Strip container ────────────────────────────────────────────────────────── */
.currency-strip {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 20px 0;
}

.currency-strip .container {
  display: flex;
  justify-content: center;
}

/* ─── List ───────────────────────────────────────────────────────────────────── */
.cs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ─── Link/span base ─────────────────────────────────────────────────────────── */
.cs-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
  min-width: 90px;
}

/* Live hover */
a.cs-link:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ─── Active ─────────────────────────────────────────────────────────────────── */
.cs-item--active .cs-link {
  background: rgba(79, 140, 255, 0.18);
  border-color: rgba(79, 140, 255, 0.45);
  cursor: default;
}

.cs-item--active .cs-code {
  color: #4f8cff;
  font-weight: 700;
}

.cs-item--active .cs-label {
  color: rgba(255, 255, 255, 0.85);
}

/* ─── Coming soon ────────────────────────────────────────────────────────────── */
.cs-link--soon {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ─── Flag ───────────────────────────────────────────────────────────────────── */
.cs-flag {
  font-size: 80px;
  line-height: 1;
  display: block;
}

/* ─── Currency code ──────────────────────────────────────────────────────────── */
.cs-code {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  line-height: 1;
}

/* ─── Country label ──────────────────────────────────────────────────────────── */
.cs-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  font-family: Arial, sans-serif;
  line-height: 1;
  white-space: nowrap;
}

/* ─── Mobile — scale down gracefully ────────────────────────────────────────── */
@media (max-width: 640px) {
  .cs-link {
    padding: 10px 12px;
    min-width: 60px;
  }

  .cs-flag {
    font-size: 48px;
  }

  .cs-code {
    font-size: 12px;
  }

  .cs-label {
    font-size: 10px;
  }
}

@media (max-width: 400px) {
  .cs-flag {
    font-size: 36px;
  }

  .cs-label {
    display: none;
  }
}
