.whx-promo-archive {
  --whx-navy: #091f53;
  --whx-navy-deep: #001a4d;
  --whx-blue: #2563eb;
  --whx-blue-dark: #1e40af;
  --whx-blue-soft: #dbeafe;
  --whx-orange: #ffa500;
  --whx-orange-soft: #fff4dc;
  --whx-ink: #0f172a;
  --whx-muted: #64748b;
  --whx-line: #e2e8f0;
  --whx-surface: #ffffff;
  --whx-success: #047857;
  --whx-danger: #b91c1c;
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 64px;
  color: var(--whx-ink);
  font-family: "Figtree", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

.whx-promo-archive *,
.whx-promo-archive *::before,
.whx-promo-archive *::after { box-sizing: border-box; }

.whx-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--whx-line);
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 24px -18px rgba(9,31,83,.45);
}

.whx-filter-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  margin: 0;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #334155;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.whx-filter-tab:hover { background: #f1f5f9; color: var(--whx-navy); transform: translateY(-1px); }
.whx-filter-tab--active,
.whx-filter-tab--active:hover {
  border-color: var(--whx-navy);
  background: var(--whx-navy);
  color: #fff;
}
.whx-filter-tab:focus-visible,
.whx-copy-btn:focus-visible,
.whx-promo-card__btn:focus-visible,
.whx-search-input:focus-visible,
.whx-search-icon-btn:focus-visible { outline: 3px solid rgba(37,99,235,.28); outline-offset: 2px; }

.whx-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.whx-promo-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--whx-line);
  border-radius: 20px;
  background: var(--whx-surface);
  box-shadow: 0 16px 45px -28px rgba(9,31,83,.5);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.whx-promo-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 24px 55px -30px rgba(9,31,83,.6);
}

.whx-promo-card__header {
  position: relative;
  min-height: 196px;
  padding: 28px 28px 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--whx-navy-deep) 0%, var(--whx-navy) 58%, var(--whx-blue-dark) 100%);
  color: #fff;
}

.whx-promo-card__header::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -82px;
  top: -96px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}

.whx-promo-card__discount-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 18px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--whx-orange);
  color: #1f1300;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.whx-promo-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.whx-promo-card__subtitle {
  position: relative;
  z-index: 1;
  max-width: 48ch;
  margin: 12px 0 0;
  color: #dbeafe;
  font-size: 15px;
  line-height: 1.55;
}

.whx-promo-card__badges { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.whx-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.whx-badge--hot, .whx-badge--soon { border-color: rgba(255,165,0,.65); background: rgba(255,165,0,.18); color: #ffe5ad; }
.whx-badge--expired { background: rgba(255,255,255,.18); color: #e2e8f0; }
.whx-badge--black-friday { border-color: #fbbf24; background: #111827; color: #fbbf24; }

.whx-promo-card__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 28px 28px;
}

.whx-promo-card__description { margin: 0 0 22px; color: #475569; font-size: 15px; }
.whx-promo-card__pricing { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 9px; margin: 0 0 18px; }
.whx-promo-card__terms { width: 100%; overflow-x: auto; margin: 0 0 14px; border: 1px solid #dbe4f1; border-radius: 12px; }
.whx-promo-card__terms:focus-visible { outline: 2px solid #1c56ce; outline-offset: 2px; }
.whx-promo-card__terms table { width: 100%; min-width: 244px; margin: 0; border: 0; border-collapse: collapse; color: #15264a; font-size: 13px; }
.whx-promo-card__terms caption { caption-side: top; text-align: left; color: #15264a; background: #f5f8fd; font-weight: 800; font-size: 15px; padding: 12px; }
.whx-promo-card__terms th, .whx-promo-card__terms td { border: 0; border-top: 1px solid #dbe4f1; padding: 9px 8px; line-height: 1.35; text-align: left; overflow-wrap: normal; word-break: normal; }
.whx-promo-card__terms thead th { background: #edf3fc; font-weight: 800; }
.whx-promo-card__terms tbody tr:nth-child(even) { background: #f8faff; }
.whx-promo-card__terms td { font-variant-numeric: tabular-nums; }
.whx-term-price { display: block; white-space: nowrap; }
.whx-term-price small { font-size: 11px; font-weight: 500; color: #425571; }
.whx-term-price--regular { color: #425571; }
.whx-term-price--offer { margin-top: 3px; font-weight: 800; }
.whx-term-saving { display: inline-block; white-space: nowrap; color: #105238; background: #e3f5e9; padding: 4px 6px; border-radius: 6px; font-weight: 800; }
@media (max-width: 560px) {
    .whx-promo-card__terms table { font-size: 12px; }
    .whx-promo-card__terms th, .whx-promo-card__terms td { padding-inline: 5px; }
    .whx-term-price small { display: block; }
    .whx-term-saving { padding-inline: 4px; }
}
.whx-promo-card__monthly { width: 100%; padding: 10px 12px; margin: 0 0 18px; border-left: 3px solid #a8bbdb; background: #f5f8fd; color: #263c60; font-size: 13px; }
.whx-promo-card__monthly span { display: block; }
.whx-promo-card__price-now { color: var(--whx-navy); font-size: clamp(27px, 3vw, 38px); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.whx-promo-card__price-period { color: var(--whx-muted); font-size: 14px; font-weight: 600; }
.whx-promo-card__price-was { width: 100%; margin-top: 3px; color: #94a3b8; font-size: 14px; text-decoration: line-through; text-decoration-thickness: 1.5px; }

.whx-promo-card__coupon {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  margin: 0 0 11px;
  padding: 10px 12px;
  border: 1px dashed #93c5fd;
  border-radius: 11px;
  background: #eff6ff;
}
.whx-promo-card__coupon-label { color: #475569; font-size: 13px; font-weight: 700; }
.whx-promo-card__code { overflow-wrap: anywhere; padding: 0; border: 0; background: transparent; color: var(--whx-blue-dark); font: 800 14px/1.2 "JetBrains Mono", Consolas, monospace; letter-spacing: .035em; }
.whx-copy-btn {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: var(--whx-blue);
  color: #fff;
  box-shadow: none;
  cursor: pointer;
}
.whx-copy-btn:hover { background: var(--whx-blue-dark); }
.whx-copy-btn--copied { background: var(--whx-success); }

.whx-promo-card__expiry { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 22px; color: var(--whx-muted); font-size: 13px; }
.whx-promo-card__expiry svg { flex: 0 0 auto; }
body .whx-promo-archive a.whx-promo-card__compare {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: auto 0 8px;
  color: #174bc1;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body .whx-promo-archive a.whx-promo-card__compare:hover { color: #103694; }
body .whx-promo-archive a.whx-promo-card__compare:focus-visible { outline: 2px solid #174bc1; outline-offset: 3px; }
.whx-promo-card__compare + .whx-promo-card__btn { margin-top: 0; }

.whx-promo-card__btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  padding: 12px 19px;
  border: 1px solid var(--whx-blue);
  border-radius: 11px;
  background: var(--whx-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 25px -14px rgba(37,99,235,.85);
}
.whx-promo-card__btn:hover { border-color: var(--whx-blue-dark); background: var(--whx-blue-dark); color: #fff; text-decoration: none; }
.whx-promo-card__btn svg { transition: transform .18s ease; }
.whx-promo-card__btn:hover svg { transform: translateX(3px); }
body .whx-promo-archive a.whx-promo-card__btn--upgrade { color: #fff !important; background: #174bc1; border-color: #174bc1; }
body .whx-promo-archive a.whx-promo-card__btn--upgrade:hover { background: #103694; border-color: #103694; }
body .whx-promo-archive a.whx-promo-card__btn--upgrade:focus-visible { outline: 3px solid #174bc1; outline-offset: 3px; }

.whx-domain-search-spaceship { width: 100%; margin: auto 0 0; }
.whx-search-wrapper { position: relative; display: flex; width: 100%; align-items: stretch; }
.whx-search-input {
  width: 100%;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 0 132px 0 15px;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: #fff;
  color: var(--whx-ink);
  box-shadow: none;
  font: inherit;
  font-size: 15px;
}
.whx-search-input:focus { border-color: var(--whx-blue); }
.whx-tld-display { position: absolute; right: 50px; top: 50%; max-width: 78px; overflow: hidden; transform: translateY(-50%); color: #475569; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.whx-search-icon-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: var(--whx-blue);
  color: #fff;
  box-shadow: none;
  cursor: pointer;
}
.whx-search-icon-btn:hover { background: var(--whx-blue-dark); }

.whx-promo-card--ending-soon { border-color: #fdba74; }
.whx-promo-card--ending-soon .whx-promo-card__header { background: linear-gradient(135deg, #7c2d12, #c2410c); }
.whx-promo-card--black-friday .whx-promo-card__header { background: linear-gradient(135deg, #030712, #111827 62%, #78350f); }
.whx-promo-card--expired { filter: grayscale(.35); opacity: .72; }
.whx-promo-card--expired:hover { transform: none; }

.whx-notice { width: min(1180px, calc(100% - 32px)); margin: 32px auto; padding: 16px 18px; border: 1px solid #bae6fd; border-radius: 12px; background: #f0f9ff; color: #0c4a6e; }
.whx-notice--error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.whx-notice p { margin: 0; }

@media (max-width: 820px) {
  .whx-promo-grid { grid-template-columns: 1fr; }
  .whx-promo-card__header { min-height: 0; }
}

@media (max-width: 520px) {
  .whx-promo-archive { width: min(100% - 22px, 1180px); margin-top: 24px; }
  .whx-filter-tabs { width: 100%; gap: 6px; padding: 5px; border-radius: 13px; }
  .whx-filter-tab { flex: 1 1 auto; min-height: 40px; padding: 9px 11px; font-size: 12px; }
  .whx-promo-grid { gap: 16px; }
  .whx-promo-card { border-radius: 16px; }
  .whx-promo-card__header { padding: 23px 20px 21px; }
  .whx-promo-card__body { padding: 22px 20px 23px; }
  .whx-promo-card__title { font-size: 24px; }
  .whx-promo-card__price-now { font-size: 30px; }
  .whx-promo-card__btn { width: 100%; }
  .whx-search-input { padding-right: 118px; }
  .whx-tld-display { max-width: 66px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .whx-promo-archive *, .whx-promo-archive *::before, .whx-promo-archive *::after { scroll-behavior: auto !important; transition: none !important; }
}
