/* ============================================================
   cards.css v3.0
   ============================================================ */

:root {
  --accent-color: #7928ca;
  --card-radius: 14px;
  --btn-radius: 9px;
}

/* ── Hero ───────────────────────────────────────────────────── */
.cards-hero {
  position: relative;
  padding: 54px 0 36px;
  overflow: hidden;
  color: white;
  text-align: center;
}
.cards-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 28% 55%, rgba(121,40,202,.35) 0%, transparent 65%),
              radial-gradient(ellipse at 72% 45%, rgba(255,0,128,.2) 0%, transparent 65%);
  pointer-events: none;
}
.cards-hero .hero-icon {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 16px currentColor);
}
.cards-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -.4px;
}
.cards-hero p { font-size: .95rem; opacity: .8; max-width: 480px; margin: 0 auto; }

/* ── Region picker section ──────────────────────────────────── */
.region-picker-section {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 12px 0;
  position: sticky;
  top: 70px;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.region-picker-section .container {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rp-label-text {
  font-size: .78rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .6px;
  flex-shrink: 0;
}

/* ── Picker component ───────────────────────────────────────── */
.cp-picker { position: relative; display: inline-block; width: 230px; max-width: 100%; }

.cp-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border: 2px solid var(--accent-color);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  color: #222;
  text-align: left;
  transition: box-shadow .2s;
}
.cp-trigger:hover {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 18%, transparent);
}
.cp-trigger-flag { font-size: 1.2rem; flex-shrink: 0; }
.cp-trigger-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-caret        { font-size: .68rem; color: #aaa; transition: transform .2s; flex-shrink: 0; }
.cp-caret.cp-open{ transform: rotate(180deg); }

/* Dropdown */
.cp-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.14);
  z-index: 400;
  overflow: hidden;
  display: none;
}
.cp-dropdown.cp-open { display: block; animation: cpIn .14s ease; }
@keyframes cpIn {
  from { opacity:0; transform:translateY(-5px); }
  to   { opacity:1; transform:translateY(0); }
}

.cp-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.cp-search-row i  { color: #bbb; font-size: .8rem; }
.cp-search-input  { flex:1; border:none; outline:none; font-size:.88rem; color:#333; background:transparent; }

.cp-list { max-height: 260px; overflow-y: auto; scrollbar-width: thin; }

.cp-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: .88rem;
  color: #333;
  transition: background .12s;
}
.cp-option:hover   { background: #f5f5f5; }
.cp-opt-active     {
  background: color-mix(in srgb, var(--accent-color) 10%, transparent) !important;
  color: var(--accent-color);
  font-weight: 700;
}
.cp-opt-flag       { font-size: 1.1rem; flex-shrink: 0; }

/* Special offers option — visually distinct */
.cp-opt-special {
  background: linear-gradient(90deg, rgba(121,40,202,.06), rgba(255,0,128,.04));
  border-bottom: 1px solid #f0e8ff;
  font-weight: 700;
  color: var(--accent-color);
}
.cp-opt-special:hover { background: rgba(121,40,202,.1); }

/* ── Main section ───────────────────────────────────────────── */
.cards-section { padding: 26px 0 60px; min-height: 50vh; }
.cp-panel { animation: cpFade .2s ease; }
@keyframes cpFade { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }

/* ── Info banner ────────────────────────────────────────────── */
.cards-info-banner {
  background: linear-gradient(135deg,rgba(121,40,202,.05),rgba(255,0,128,.03));
  border: 1px solid rgba(121,40,202,.14);
  border-radius: 12px;
  padding: 13px 16px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 22px;
}
.cards-info-banner > i { color: var(--accent-color); font-size: 1rem; margin-top: 3px; flex-shrink: 0; }
.cards-info-banner p   { margin: 0; font-size: .86rem; color: #555; line-height: 1.55; }

/* ── Grid ───────────────────────────────────────────────────── */
.cp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

/* ── Card ───────────────────────────────────────────────────── */
.cp-card {
  background: white;
  border-radius: var(--card-radius);
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.cp-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }

.cp-card-bar { height: 5px; flex-shrink: 0; }

.cp-card-body {
  padding: 14px 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  flex: 1;
}
.cp-card-icon    { line-height: 1; margin-bottom: 4px; }
.cp-card-amount  { font-size: 1.25rem; font-weight: 800; color: #1a1a2e; letter-spacing: -.4px; }
.cp-card-sublabel{ font-size: .68rem; color: #bbb; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }

.cp-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-top: auto;
  padding-top: 8px;
}
.cp-price span { font-size: .72em; opacity: .75; }
.cp-price-na   { font-size: .78rem; color: #ccc; font-style: italic; margin-top: auto; padding-top: 8px; }

/* Subscription card body (horizontal) */
.cp-sub-body {
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
  gap: 8px !important;
}
.cp-sub-info  { flex: 1; }
.cp-sub-name  { font-size: .88rem; font-weight: 700; color: #1a1a2e; line-height: 1.3; }
.cp-sub-dur   { font-size: .72rem; color: #999; margin-top: 2px; }

/* ── Tier block ─────────────────────────────────────────────── */
.cp-tier-block { margin-bottom: 26px; }
.cp-tier-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cp-tier-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e9ecef;
}

/* Tier badges */
.cp-tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.cp-tier-essential { background:#e8f1fc; color:#0050a0; }
.cp-tier-extra     { background:#fff3cd; color:#7a5000; }
.cp-tier-premium   { background:#dce8fb; color:#003087; }
.cp-tier-deluxe    { background:#1a1a2e; color:#fcc000; }
.cp-tier-core      { background:#f0f0f0; color:#555; }
.cp-tier-ultimate  { background:#e6f7e6; color:#0a5c0a; }

/* ── Buttons (icon-only, outlined with colored icons) ───────── */
.card-btn-row {
  display: flex;
  gap: 8px;
  padding: 8px 10px 10px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}
.card-btn {
  flex: 1;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--btn-radius);
  border: 1.5px solid #e0e0e0;
  background: #fafafa;
  text-decoration: none;
  transition: border-color .18s, background .18s, transform .15s;
  cursor: pointer;
}
.card-btn i { font-size: 1.25rem; transition: transform .15s; }

.card-btn.messenger i { color: #0084ff; }
.card-btn.whatsapp  i { color: #25d366; }

.card-btn.messenger:hover {
  border-color: #0084ff;
  background: #f0f7ff;
  transform: translateY(-1px);
}
.card-btn.whatsapp:hover {
  border-color: #25d366;
  background: #f0fff5;
  transform: translateY(-1px);
}
.card-btn:hover i { transform: scale(1.1); }

/* ── Empty state ────────────────────────────────────────────── */
.cp-empty {
  text-align: center;
  padding: 52px 20px;
  color: #ccc;
}
.cp-empty i { font-size: 2.5rem; display: block; margin-bottom: 12px; opacity: .4; }
.cp-empty p { font-size: .9rem; }

/* ── Special Offers section ─────────────────────────────────── */
.offers-section { /* no extra margin — it IS the content */ }

.offers-intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  background: linear-gradient(135deg,rgba(121,40,202,.06),rgba(255,0,128,.03));
  border: 1px solid rgba(121,40,202,.14);
  border-radius: 12px;
  margin-bottom: 16px;
}
.offers-intro > i       { color: var(--accent-color); font-size: 1.2rem; flex-shrink:0; margin-top:3px; }
.offers-intro-title     { font-size: .95rem; font-weight: 700; color: #1a1a2e; }
.offers-intro-sub       { font-size: .78rem; color: #888; margin-top: 2px; }

.offer-card {
  background: white;
  border-radius: var(--card-radius);
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }

.offer-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 8px;
}
.offer-dur { font-size: .8rem; color: #777; font-weight: 600; margin-left: auto; }

.offer-slots {
  display: flex;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.offer-slot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px;
  text-align: center;
  border-right: 1px solid #f0f0f0;
  gap: 3px;
}
.offer-slot:last-child   { border-right: none; }
.offer-slot-icon         { font-size: .95rem; }
.offer-slot-label        { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #aaa; line-height: 1.1; }
.offer-slot-price        { font-size: .85rem; font-weight: 800; color: var(--accent-color); }
.offer-slot-price.offer-na { color: #ccc; font-weight: 400; }

/* ── PS Plus tier info cards ────────────────────────────────── */
.psplus-tiers-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.psplus-tier-info-card {
  border-radius: 12px;
  padding: 15px;
  border: 1px solid rgba(0,0,0,.08);
}
.psplus-tier-info-card.essential { background:#f0f6ff; border-color:#c5d9f7; }
.psplus-tier-info-card.extra     { background:#fffbf0; border-color:#f0d890; }
.psplus-tier-info-card.premium   { background:#1a1a2e; color:#fcc000; border-color:#333; }
.psplus-tier-info-card h5        { font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.5px; margin-bottom:9px; }
.psplus-tier-info-card ul        { list-style:none; padding:0; margin:0; font-size:.79rem; }
.psplus-tier-info-card ul li     { padding:2px 0 2px 15px; position:relative; opacity:.85; }
.psplus-tier-info-card ul li::before { content:'✓'; position:absolute; left:0; font-weight:700; color:#0070d1; }
.psplus-tier-info-card.premium ul li::before { color:#fcc000; }

/* ── Steam Calculator ───────────────────────────────────────── */
.steam-calc-section { padding: 8px 0 48px; }

.steam-calc {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  overflow: hidden;
  max-width: 520px;
  margin: 0 auto;
}
.steam-calc-header {
  background: linear-gradient(135deg,#0a0e14,#1b2838);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
}
.steam-calc-header i    { font-size: 1.8rem; color: #c6d4df; flex-shrink: 0; }
.steam-calc-title       { font-size: 1rem; font-weight: 700; }
.steam-calc-subtitle    { font-size: .78rem; opacity: .7; margin-top: 2px; }

.steam-calc-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }

.steam-calc-field label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.steam-calc-select-wrap,
.steam-calc-amount-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.steam-calc-select {
  width: 100%;
  padding: 10px 36px 10px 12px;
  border: 1.5px solid #e0e0e0;
  border-radius: 9px;
  font-size: .9rem;
  font-weight: 600;
  color: #222;
  background: white;
  appearance: none;
  cursor: pointer;
  transition: border-color .18s;
}
.steam-calc-select:focus { outline: none; border-color: #1b9ede; }
.steam-calc-select-arrow {
  position: absolute;
  right: 11px;
  color: #bbb;
  font-size: .72rem;
  pointer-events: none;
}
.steam-calc-currency {
  position: absolute;
  left: 12px;
  font-size: .92rem;
  font-weight: 700;
  color: #555;
  pointer-events: none;
  min-width: 16px;
  text-align: center;
}
.steam-calc-amount {
  width: 100%;
  padding: 10px 12px 10px 34px;
  border: 1.5px solid #e0e0e0;
  border-radius: 9px;
  font-size: .95rem;
  font-weight: 700;
  color: #222;
  transition: border-color .18s;
}
.steam-calc-amount:focus { outline: none; border-color: #1b9ede; }

.steam-calc-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 9px;
  background: linear-gradient(135deg,#1b2838,#2a475e);
  color: white;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter .18s, transform .15s;
}
.steam-calc-btn:hover { filter: brightness(1.15); transform: translateY(-1px); }

.steam-calc-result {
  border-top: 1px solid #f0f0f0;
  padding: 16px 20px 20px;
  text-align: center;
  background: #fafafa;
}
.calc-result-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #999; margin-bottom: 6px; }
.calc-result-value { font-size: 2rem; font-weight: 800; color: #1b2838; letter-spacing: -1px; margin-bottom: 6px; }
.calc-result-note  { font-size: .78rem; color: #aaa; margin-bottom: 12px; }

/* ── RTL ────────────────────────────────────────────────────── */
[dir="rtl"] .cp-sub-body { text-align: right !important; }
[dir="rtl"] .cp-tier-heading::after { display: none; }
[dir="rtl"] .cp-tier-heading::before { content:''; flex:1; height:1px; background:#e9ecef; order:-1; }
[dir="rtl"] .offer-slot { border-right: none; border-left: 1px solid #f0f0f0; }
[dir="rtl"] .offer-slot:last-child { border-left: none; }
[dir="rtl"] .offer-dur { margin-left: 0; margin-right: auto; }
[dir="rtl"] .cp-picker { direction: ltr; }
[dir="rtl"] .steam-calc-currency { left: auto; right: 12px; }
[dir="rtl"] .steam-calc-amount   { padding-left: 12px; padding-right: 34px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .cp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cp-picker { width: 100%; max-width: 300px; }
  .cp-dropdown { min-width: 100%; }
}
@media (max-width: 480px) {
  .cp-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cp-card-amount { font-size: 1.1rem; }
  .offer-slot-price { font-size: .78rem; }
  .cp-sub-body { flex-direction: column !important; text-align: center !important; }
  .cp-price, .cp-price-na { padding-top: 4px; }
}
@media (min-width: 769px) {
  .cp-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* ── Sale price (real price struck-through + sale price) ── */
.cp-price-sale-wrap {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.cp-price-old {
  font-size: .82rem;
  font-weight: 600;
  color: #9aa3ad;
  text-decoration: line-through;
  text-decoration-color: #e11d48;
}
.cp-price-now {
  font-size: 1.05rem;
  font-weight: 800;
  color: #e11d48;
  line-height: 1;
}
.cp-price-now span { font-size: .72em; opacity: .8; }
.cp-discount-badge {
  font-size: .6rem;
  font-weight: 800;
  background: #e11d48;
  color: #fff;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: .3px;
}
/* Subscription rows align sale block to the right */
.cp-sub-body .cp-price-sale-wrap { align-items: flex-end; }
[dir="rtl"] .cp-sub-body .cp-price-sale-wrap { align-items: flex-start; }

/* ===== Enhanced card design v3.1 ===== */
.cp-grid { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

.cp-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  border: 1px solid rgba(20, 20, 60, .06);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(20, 20, 50, .06);
  transition: transform .22s ease, box-shadow .22s ease;
}
.cp-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(20, 20, 70, .16); }
.cp-card-bar { height: 6px; }

.cp-card-body { padding: 18px 14px 12px; gap: 6px; }

.cp-card-icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #eef3f9; margin-bottom: 8px;
}
@supports (background: color-mix(in srgb, red, white)) {
  .cp-card-icon { background: color-mix(in srgb, var(--accent-color) 14%, white); }
}

.cp-card-amount { font-size: 1.55rem; font-weight: 900; color: #12122e; }
.cp-card-sublabel {
  font-size: .56rem; color: #9aa3b2; letter-spacing: .7px;
  background: #f0f2f7; padding: 2px 9px; border-radius: 12px;
}

.cp-price { font-size: 1.15rem; font-weight: 800; }
.cp-price-now { font-size: 1.2rem; }

/* discount -> floating corner ribbon */
.cp-discount-badge {
  position: absolute; top: 14px; right: 0;
  border-radius: 20px 0 0 20px;
  padding: 4px 11px; font-size: .66rem;
  box-shadow: 0 3px 9px rgba(225, 29, 72, .4);
}

/* buttons -> filled brand colours */
.card-btn-row { gap: 9px; padding: 10px 12px 14px; border-top: 1px solid #eef0f4; }
.card-btn { border: none !important; height: 44px; }
.card-btn.messenger { background: linear-gradient(135deg, #0a7cff, #0062dd); }
.card-btn.whatsapp  { background: linear-gradient(135deg, #2bd672, #12b150); }
.card-btn i { color: #fff !important; font-size: 1.3rem; }
.card-btn.messenger:hover { background: linear-gradient(135deg, #0062dd, #0050bb); }
.card-btn.whatsapp:hover  { background: linear-gradient(135deg, #12b150, #0d9a44); }
.card-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }

/* subscriptions: a touch more breathing room */
.cp-sub-name { font-size: .92rem; }

/* ===== PlayStation-style gift-card voucher ===== */
.gift-voucher { padding: 0; border: none; }
.gv-top {
  position: relative; min-height: 156px;
  padding: 18px 16px 14px; color: #fff; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.gv-top::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.30), transparent 55%),
    linear-gradient(118deg, transparent 42%, rgba(255,255,255,.14) 49%, transparent 57%);
}
.gv-chip {
  position: absolute; top: 14px; left: 14px; width: 34px; height: 25px; border-radius: 5px;
  background: linear-gradient(135deg, #fbe8a6, #d4af37 55%, #b07d12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}
.gv-chip::after { content: ''; position: absolute; inset: 6px 8px; border: 1px solid rgba(0,0,0,.2); border-radius: 2px; }
.gv-flag {
  position: absolute; top: 12px; right: 12px; font-size: 1.2rem; line-height: 1;
  background: rgba(255,255,255,.92); border-radius: 6px; padding: 3px 5px; box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.gv-brand { font-size: 2.5rem; line-height: 1; filter: drop-shadow(0 2px 5px rgba(0,0,0,.3)); position: relative; }
.gv-brand i { color: #fff; }
.gv-amount { font-size: 2.3rem; font-weight: 900; letter-spacing: -1px; text-shadow: 0 2px 8px rgba(0,0,0,.28); position: relative; margin-top: 4px; }
.gv-label { font-size: .56rem; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; opacity: .92; margin-top: 3px; position: relative; }
.gv-bottom { padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fff; }
.gv-bottom .cp-price, .gv-bottom .cp-price-na, .gv-bottom .cp-price-sale-wrap { margin-top: 0 !important; padding-top: 0 !important; }
.gv-bottom .card-btn-row { width: 100%; border-top: none; padding: 2px 0 0; margin-top: 2px; }
.gift-voucher .cp-discount-badge { position: static; box-shadow: none; }
.gift-voucher:hover { box-shadow: 0 20px 40px rgba(0,40,120,.22); }

/* ===== voucher v2: alignment, single order button, flags, popup ===== */
.cp-card { height: 100%; }
.gv-bottom { flex: 1 1 auto; }
.gv-bottom .card-btn-row { margin-top: auto; }

/* real SVG flag on the card */
.gv-flag {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 22px; border-radius: 4px; overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.35); background: none; padding: 0;
}
.gv-flag .fi { width: 100%; height: 100%; border-radius: 4px; }

/* single themed Order button */
.cp-order-btn {
  width: 100%; height: 42px; border: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: .9rem; cursor: pointer; color: #fff;
  background: var(--accent-color);
  transition: filter .15s, transform .15s, box-shadow .15s;
}
.cp-order-btn:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.2); }

/* contact chooser popup */
.cp-contact-modal { position: fixed; inset: 0; background: rgba(10,12,30,.55); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 20px; }
.cp-contact-modal[hidden] { display: none; }
.cp-contact-box { background: #fff; border-radius: 18px; padding: 24px 22px; width: 100%; max-width: 340px; position: relative; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.cp-contact-close { position: absolute; top: 8px; right: 14px; border: none; background: none; font-size: 1.7rem; color: #aaa; cursor: pointer; line-height: 1; }
.cp-contact-title { font-size: 1.15rem; font-weight: 800; color: #15152a; text-align: center; }
.cp-contact-sub { font-size: .78rem; color: #888; text-align: center; margin-bottom: 16px; }
.cp-contact-opt { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; margin-top: 10px; text-decoration: none; font-weight: 700; color: #fff; transition: transform .12s, filter .12s; }
.cp-contact-opt:hover { transform: translateY(-2px); filter: brightness(1.07); }
.cp-contact-opt i { font-size: 1.35rem; width: 24px; text-align: center; }
.cpc-wa { background: linear-gradient(135deg,#2bd672,#12b150); }
.cpc-me { background: linear-gradient(135deg,#0a7cff,#0062dd); }
.cpc-em { background: linear-gradient(135deg,#7928ca,#5a1e99); }

/* ===== subscription / offers voucher ===== */
.sub-voucher { padding: 0; border: none; }
.sub-voucher .sv-top {
  position: relative; color: #fff; padding: 18px 14px 14px; min-height: 116px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden;
}
.sub-voucher .sv-top::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 16%, rgba(255,255,255,.28), transparent 55%); }
.sv-brand { font-size: 2rem; line-height: 1; filter: drop-shadow(0 2px 5px rgba(0,0,0,.3)); position: relative; }
.sv-brand i { color: #fff; }
.sv-plan { font-size: 1.18rem; font-weight: 900; margin-top: 4px; text-shadow: 0 2px 6px rgba(0,0,0,.28); position: relative; }
.sv-dur  { font-size: .74rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .92; position: relative; margin-top: 2px; }
.sv-ribbon {
  position: absolute; top: 14px; right: -34px; transform: rotate(45deg);
  background: #ffd54a; color: #3a2a00; font-size: .58rem; font-weight: 800; letter-spacing: .5px;
  padding: 3px 38px; box-shadow: 0 2px 6px rgba(0,0,0,.3); z-index: 2;
}
.offer-card.sub-voucher .offer-slots { padding: 12px 14px 6px; }

/* ===== offers grouping, alignment, tier colors, social buttons ===== */
.offer-slot-label { min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
/* PlayStation tier colours */
.sub-voucher.tier-extra .sv-top { color: #2a2008; }
.sub-voucher.tier-extra .sv-brand i { color: #2a2008; }
.sub-voucher.tier-extra .sv-plan { text-shadow: none; }
.sub-voucher.tier-extra .sv-ribbon { background: #2a2008; color: #ffd54a; }
.sub-voucher.tier-deluxe .sv-top { color: #f4c430; }
.sub-voucher.tier-deluxe .sv-brand i { color: #f4c430; }
/* social order buttons */
.cpc-tg { background: linear-gradient(135deg, #34b3f1, #1c8adb); }
.cpc-ig { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }

/* offers: per-slot sale price (aligned at bottom) */
.offer-slot-pricewrap { margin-top: auto; display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
.offer-slot-old { font-size: .62rem; color: #bbb; text-decoration: line-through; text-decoration-color: #e11d48; }
.offer-slot-price.sale { color: #e11d48; }

/* subscription sale badge sits inline (not corner) so it doesn't clash with the ribbon */
.sub-voucher .cp-discount-badge { position: static; box-shadow: none; }

/* amount: big number + small unit */
.gv-unit { display: block; font-size: .5em; font-weight: 700; letter-spacing: .5px; opacity: .92; margin-top: 3px; text-transform: uppercase; }
/* discount badge -> left corner ribbon (rounded on the inner side) */
.gift-voucher .cp-discount-badge,
.sub-voucher .cp-discount-badge {
  position: absolute; top: 14px; left: 0; right: auto;
  padding: 4px 12px 4px 10px; border-radius: 0 16px 16px 0;
  background: linear-gradient(135deg, #f43f5e, #be123c); color: #fff;
  box-shadow: 0 3px 8px rgba(225,29,72,.45); z-index: 4;
}

/* brand logo image on voucher face */
.gv-brand-img { height: 46px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }

/* ribbon: fixed-width diagonal band so longer labels (e.g. "Meilleure offre") stay centered */
.sv-ribbon {
  top: 16px; right: -44px; left: auto; width: 154px;
  transform: rotate(45deg); text-align: center;
  padding: 4px 0; letter-spacing: .2px;
}
