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

:root {
  /* Coolblue palette */
  --cb-blue: #0090e3;
  --cb-blue-dark: #0079c1;
  --cb-blue-deep: #0a6cb0;
  --cb-navy: #2a4d9b;
  --cb-orange: #ff8200;
  --cb-orange-dark: #e67500;
  --ink: #17233b;
  --text: #33475b;
  --muted: #6b7a8d;
  --line: #e3e8ee;
  --line-strong: #cfd6de;
  --bg: #f2f5f8;
  --white: #ffffff;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
.cb-hide-sm, .cb-hide-md { display: inline-flex; }

/* ─────────────── Header ─────────────── */
.cb-header { background: var(--cb-blue); color: #fff; }
.cb-topbar-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cb-burger {
  display: none;
  background: transparent; border: none; color: #fff;
  font-size: 22px; cursor: pointer; padding: 0 2px;
}

/* Logo — orange rounded square, "cool"/"blue" stacked */
.cb-logo {
  flex-shrink: 0;
  background: var(--cb-orange);
  border-radius: 12px;
  padding: 7px 12px;
  text-decoration: none;
  line-height: 1;
}
.cb-logo b { display: block; color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -.3px; }

.cb-allcats {
  flex-shrink: 0;
  color: #fff; text-decoration: none;
  font-size: 13.5px; font-weight: 600; line-height: 1.15;
  flex-direction: column;
}
.cb-allcats-l1 { opacity: .95; }
.cb-allcats .chev { font-size: 12px; }

/* Search */
.cb-search {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cb-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
}
.cb-search-input::placeholder { color: #9aa6b2; }
.cb-search-btn {
  border: none;
  background: var(--cb-blue-dark);
  color: #fff;
  font-size: 16px;
  padding: 0 16px;
  align-self: stretch;
  cursor: pointer;
}

.cb-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.cb-action { color: #fff; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.cb-action .chev { font-size: 12px; }
.cb-ico { font-size: 19px; }
.cb-ico-account { position: relative; }
.cb-ico-account::after {
  content: ""; position: absolute; top: -1px; right: -2px;
  width: 8px; height: 8px; background: var(--cb-orange);
  border-radius: 50%; border: 1.5px solid var(--cb-blue);
}

/* Language switcher */
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.55); border-radius: 6px; overflow: hidden; }
.lang-btn {
  background: transparent; border: none;
  border-left: 1px solid rgba(255,255,255,.55);
  color: #eaf6ff; font-size: 11px; font-weight: 700;
  padding: 4px 8px; cursor: pointer; transition: background .15s, color .15s;
}
.lang-btn:first-child { border-left: none; }
.lang-btn:hover { background: rgba(255,255,255,.15); }
.lang-btn.active { background: #fff; color: var(--cb-blue); }

/* Category nav */
.cb-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 11px 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cb-nav::-webkit-scrollbar { display: none; }
.cb-nav a {
  color: var(--cb-blue);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  padding-bottom: 1px;
}
.cb-nav a:hover { text-decoration: underline; }

/* Trust bar */
.cb-trust { background: #fff; border-bottom: 1px solid var(--line); }
.cb-trust-inner {
  max-width: 1360px; margin: 0 auto; padding: 10px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cb-trust-tagline {
  font-style: italic; font-weight: 700; font-size: 16px; color: var(--cb-blue);
  white-space: nowrap;
}
.cb-trust-items { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.cb-trust-item { font-size: 12.5px; color: var(--text); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cb-trust-item::before { content: "✔"; color: #2ecc71; font-weight: 800; }
.cb-trust-item b { color: var(--cb-orange); }

/* ─────────────── Main ─────────────── */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 20px 52px;
  width: 100%;
}
#step-login { width: 100%; max-width: 460px; }

/* Voucher hero */
.voucher-hero {
  background: linear-gradient(135deg, var(--cb-blue) 0%, var(--cb-blue-deep) 100%);
  color: #fff;
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(10,108,176,.24);
}
.voucher-gift { font-size: 46px; line-height: 1; flex-shrink: 0; filter: drop-shadow(0 3px 4px rgba(0,0,0,.2)); }
.voucher-copy { flex: 1; }
.voucher-badge {
  display: inline-block;
  background: var(--cb-orange); color: #fff;
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px;
  padding: 3px 9px; border-radius: 20px; margin-bottom: 6px;
}
.voucher-amount { font-size: 34px; font-weight: 800; letter-spacing: -.5px; line-height: 1; margin-bottom: 6px; }
.voucher-lead { font-size: 13px; line-height: 1.5; color: #eaf6ff; }

/* Card */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 32px;
  width: 100%;
  box-shadow: 0 1px 2px rgba(23,35,59,.04), 0 8px 26px rgba(23,35,59,.06);
}
.card h2 { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.2px; margin-bottom: 6px; }
.subtitle { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 22px; }

/* Form */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-group input::placeholder { color: #aeb7c2; }
.form-group input:focus { border-color: var(--cb-blue); box-shadow: 0 0 0 3px rgba(0,144,227,.16); }
.form-aux { display: flex; justify-content: flex-end; margin: -4px 0 16px; }
.forgot { font-size: 12.5px; color: var(--cb-blue); text-decoration: none; }
.forgot:hover { text-decoration: underline; }

/* Button (orange CTA) */
.btn {
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: var(--cb-orange);
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.btn:hover { background: var(--cb-orange-dark); box-shadow: 0 4px 14px rgba(255,130,0,.35); }
.btn:active { background: #cc6a00; }

.help-text { font-size: 12px; color: var(--muted); text-align: center; margin-top: 16px; }
.trust-line { line-height: 1.6; }

/* Home disclaimer card */
.disclaimer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--cb-orange);
  border-radius: 12px;
  padding: 34px 36px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 26px rgba(23,35,59,.08);
}
.disclaimer-badge {
  display: inline-block;
  background: #fff2e0; color: #a85a00;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}
.disclaimer-card h1 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.disclaimer-card p { font-size: 14px; line-height: 1.65; color: var(--text); margin-bottom: 18px; }
.disclaimer-link {
  display: inline-block;
  background: var(--cb-blue); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 8px; transition: background .15s;
}
.disclaimer-link:hover { background: var(--cb-blue-dark); }
.disclaimer-foot { font-size: 11.5px; color: var(--muted); margin: 22px 0 0; }

/* Spinner */
.spinner-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 70px 20px; color: var(--muted); font-size: 13px; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--line); border-top-color: var(--cb-blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hidden { display: none !important; }

/* ─────────────── Footer ─────────────── */
.cb-footer { color: #eaf6ff; }

/* Newsletter band */
.cb-news { background: var(--cb-blue); }
.cb-news-inner {
  max-width: 1360px; margin: 0 auto; padding: 26px 18px;
  display: flex; align-items: flex-start; gap: 32px; flex-wrap: wrap;
}
.cb-news-illus { flex-shrink: 0; }
.cb-news-col { flex: 1; min-width: 240px; }
.cb-news-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.cb-news-col p { font-size: 13px; line-height: 1.55; color: #eaf6ff; margin-bottom: 12px; }
.cb-news-col a { color: #fff; }
.cb-news-label { display: block; font-size: 12.5px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.cb-news-form { display: flex; gap: 10px; max-width: 380px; flex-wrap: wrap; }
.cb-news-input {
  flex: 1; min-width: 160px;
  border: none; border-radius: 5px; padding: 10px 12px;
  font-size: 14px; color: var(--ink); outline: none;
}
.cb-news-btn {
  border: none; background: var(--cb-navy); color: #fff;
  font-size: 14px; font-weight: 700; padding: 10px 22px; border-radius: 5px; cursor: pointer;
  transition: background .15s;
}
.cb-news-btn:hover { background: #22407f; }

/* Link columns */
.cb-foot-cols {
  background: var(--cb-blue);
  border-top: 1px solid rgba(255,255,255,.15);
  padding-bottom: 30px;
}
.cb-foot-grid {
  max-width: 1360px; margin: 0 auto; padding: 24px 18px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.cb-foot-col h5 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.cb-foot-col ul { list-style: none; }
.cb-foot-col li { margin-bottom: 8px; }
.cb-foot-col a { color: #d6ecfb; text-decoration: none; font-size: 13px; }
.cb-foot-col a:hover { text-decoration: underline; color: #fff; }

/* Payment band */
.cb-pay { background: #fff; border-top: 1px solid var(--line); }
.cb-pay-inner {
  max-width: 1360px; margin: 0 auto; padding: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.cb-pay-icons { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay {
  height: 26px; min-width: 42px; padding: 0 8px;
  border: 1px solid var(--line-strong); border-radius: 4px; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; font-weight: 800; color: #444; letter-spacing: .2px;
}
.pay-visa { color: #1a1f71; font-style: italic; }
.pay-pp { color: #003087; font-style: italic; }
.pay-bc { color: #005498; }
.pay-eco { color: #4a9c2d; }
.pay-bpost { color: #e2001a; }
.pay-mc i { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.pay-mc i:first-child { background: #eb001b; }
.pay-mc i:last-child { background: #f79e1b; margin-left: -6px; opacity: .9; }
.cb-pay-award { font-size: 12px; font-weight: 700; color: var(--cb-orange); }

/* Legal band */
.cb-legal { background: #fff; padding: 6px 18px 26px; text-align: center; color: var(--muted); }
.cb-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-bottom: 12px; }
.cb-legal-links a { color: var(--cb-blue); text-decoration: none; font-size: 12.5px; }
.cb-legal-links a:hover { text-decoration: underline; }
.cb-legal-copy { font-size: 12px; margin-bottom: 8px; }
.cb-ratings { font-size: 12px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; }
.cb-rating { color: var(--text); font-weight: 600; }
.cb-imitation { margin-top: 14px; font-size: 11.5px; color: #8794a3; line-height: 1.5; }
.cb-imitation a { color: var(--cb-blue); }

/* ─────────────── Responsive ─────────────── */
@media (max-width: 960px) {
  .cb-hide-md { display: none !important; }
  .cb-foot-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cb-trust-tagline { font-size: 14px; }
}
@media (max-width: 720px) {
  .cb-burger { display: inline-flex; }
  .cb-nav { display: none; }
  .cb-topbar-inner { flex-wrap: wrap; gap: 12px; }
  .cb-logo { order: 1; }
  .cb-actions { order: 2; margin-left: auto; gap: 12px; }
  .cb-search { order: 3; flex-basis: 100%; }
  .cb-trust-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cb-trust-items { justify-content: flex-start; gap: 8px 18px; }
}
@media (max-width: 560px) {
  .cb-hide-sm { display: none !important; }
  .main { padding: 24px 14px 40px; }
  .card { padding: 24px 20px; }
  .disclaimer-card { padding: 26px 22px; }
  .voucher-hero { padding: 18px; }
  .voucher-amount { font-size: 28px; }
  .cb-foot-grid { grid-template-columns: 1fr; gap: 20px; }
  .cb-news-inner { gap: 20px; }
  .cb-news-illus { display: none; }
  .cb-pay-inner { justify-content: center; }
}
