/* ── Promo bar ────────────────────────────────── */
.promo-bar {
  background: linear-gradient(90deg, #134e4a 0%, #0f766e 50%, #134e4a 100%);
  background-size: 200% 100%;
  animation: promoBg 6s ease-in-out infinite;
  padding: 10px 24px;
  text-align: center;
  position: relative;
}
@keyframes promoBg { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.promo-bar-inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; max-width: 1080px; margin: 0 auto;
}
.promo-bar p { font-size: 0.84rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.promo-bar strong { color: #fff; font-weight: 800; }
.promo-code {
  font-family: monospace; font-size: 0.82rem; font-weight: 700;
  color: #f4d06f; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(244,208,111,0.4);
  border-radius: 6px; padding: 3px 10px; cursor: pointer;
  transition: background 0.15s; position: relative;
}
.promo-code:hover { background: rgba(255,255,255,0.16); }
.promo-code .copied-toast {
  display: none; position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 700;
  color: #fff; background: #134e4a; border-radius: 6px; padding: 4px 10px;
  white-space: nowrap; pointer-events: none;
}
.promo-code.copied .copied-toast { display: block; }
.promo-dismiss {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.4);
  font-size: 1.1rem; line-height: 1; padding: 4px; transition: color 0.15s;
  font-family: sans-serif;
}
.promo-dismiss:hover { color: rgba(255,255,255,0.8); }

/* ── Buy buttons ──────────────────────────────── */
.btn-buy-nl {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  border: none; border-radius: 11px; padding: 10px 18px; cursor: pointer; width: 100%;
  box-shadow: 0 4px 0 #134e4a, 0 8px 18px rgba(20,184,166,0.18);
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s;
}
.btn-buy-nl:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #134e4a, 0 12px 24px rgba(20,184,166,0.26); }
.btn-buy-nl:active { transform: translateY(2px); box-shadow: 0 2px 0 #134e4a; transition: transform 0.06s linear, box-shadow 0.06s linear; }

.btn-buy-gm {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem; font-weight: 800; color: #101820;
  background: linear-gradient(135deg, #38bdf8, #0891b2);
  border: none; border-radius: 11px; padding: 10px 18px; cursor: pointer; width: 100%;
  box-shadow: 0 4px 0 #0369a1, 0 8px 18px rgba(56,189,248,0.14);
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s;
}
.btn-buy-gm:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #0369a1, 0 12px 24px rgba(56,189,248,0.22); }
.btn-buy-gm:active { transform: translateY(2px); box-shadow: 0 2px 0 #0369a1; transition: transform 0.06s linear, box-shadow 0.06s linear; }

/* ── Cart icon ────────────────────────────────── */
.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; color: rgba(255,255,255,0.6);
  transition: background 0.15s, color 0.15s; flex-shrink: 0;
}
.cart-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
.cart-btn .bi { font-size: 18px; line-height: 1; }

.cart-badge {
  display: none;
  position: absolute; top: -5px; right: -5px;
  width: 17px; height: 17px; border-radius: 50%;
  background: #14b8a6; color: #fff;
  font-size: 0.6rem; font-weight: 800;
  align-items: center; justify-content: center;
  border: 2px solid #101820;
}
.cart-badge.visible { display: flex; }

/* ── Cart drawer ──────────────────────────────── */
.cart-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 998; backdrop-filter: blur(3px);
}
.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 380px; max-width: 100vw;
  background: #15212b; border-left: 1px solid rgba(255,255,255,0.08);
  z-index: 999; display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.32,.72,0,1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cart-drawer-header h3 { font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: -0.3px; }
.cart-close {
  background: rgba(255,255,255,0.07); border: none; border-radius: 10px;
  width: 34px; height: 34px; cursor: pointer; color: rgba(255,255,255,0.45);
  display: grid; place-items: center;
  transition: background 0.15s, color 0.15s;
}
.cart-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
.cart-close svg { width: 16px; height: 16px; }

.cart-items {
  flex: 1; overflow-y: auto; padding: 16px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: #31404d; border-radius: 2px; }

.cart-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  padding: 40px 24px; text-align: center;
}
.cart-empty svg { width: 40px; height: 40px; color: rgba(255,255,255,0.14); }
.cart-empty p { font-size: 0.9rem; color: rgba(255,255,255,0.25); font-weight: 600; }

.cart-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 12px 14px;
}
.cart-item-img {
  width: 44px; height: 44px; border-radius: 10px;
  background-size: cover; background-position: center; flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 0.87rem; font-weight: 700; color: #fff; margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item-game { font-size: 0.74rem; color: rgba(255,255,255,0.35); font-weight: 500; }
.cart-item-price { font-size: 0.9rem; font-weight: 800; color: #fff; white-space: nowrap; }
.cart-item-price sub { font-size: 0.64rem; color: rgba(255,255,255,0.35); font-weight: 600; vertical-align: baseline; }
.cart-item-remove {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.2); padding: 4px; border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.cart-item-remove:hover { color: #f87171; background: rgba(248,113,113,0.1); }
.cart-item-remove svg { width: 15px; height: 15px; display: block; }

.cart-footer {
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
}
.cart-total-label { font-size: 0.87rem; font-weight: 600; color: rgba(255,255,255,0.42); }
.cart-total-amount { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.cart-total-amount sub { font-size: 0.73rem; font-weight: 600; color: rgba(255,255,255,0.35); vertical-align: baseline; }

.btn-checkout {
  width: 100%; font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  border: none; border-radius: 13px; padding: 15px; cursor: pointer;
  box-shadow: 0 5px 0 #134e4a, 0 10px 24px rgba(20,184,166,0.2);
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s;
}
.btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #134e4a, 0 14px 30px rgba(20,184,166,0.28); }
.btn-checkout:active { transform: translateY(2px); box-shadow: 0 2px 0 #134e4a; transition: transform 0.06s linear, box-shadow 0.06s linear; }
.btn-checkout:disabled { opacity: 0.38; pointer-events: none; }

/* ── Checkout modal ───────────────────────────── */
.checkout-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.68);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.checkout-modal-overlay.open { display: flex; }

.checkout-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: #15212b;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.58);
}

.checkout-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255,255,255,0.44);
  background: rgba(255,255,255,0.06);
  font-size: 1.15rem;
  line-height: 1;
}
.checkout-close:hover { color: #fff; background: rgba(255,255,255,0.11); }

.checkout-modal h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.checkout-summary {
  color: rgba(255,255,255,0.42);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.checkout-promo-row { margin-bottom: 18px; }
.checkout-promo-label { display: block; color: rgba(255,255,255,0.58); font-size: 0.8rem; font-weight: 700; }
.checkout-promo-inputs { display: flex; gap: 8px; margin-top: 7px; }
.checkout-promo-inputs input {
  flex: 1; font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; font-weight: 600;
  color: #fff; background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px; padding: 11px 12px; outline: none; text-transform: uppercase;
}
.btn-promo-apply {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; font-weight: 800;
  color: #101820; background: #f4d06f; border: none; border-radius: 12px;
  padding: 0 14px; cursor: pointer; white-space: nowrap;
}
.btn-promo-apply:disabled { opacity: 0.5; cursor: not-allowed; }
.checkout-promo-msg { margin: 8px 0 0; font-size: 0.78rem; font-weight: 600; min-height: 1.1em; }
.checkout-promo-msg.ok { color: #4ade80; }
.checkout-promo-msg.error { color: #f87171; }

#checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: rgba(255,255,255,0.58);
  font-size: 0.8rem;
  font-weight: 700;
}

#checkout-form input,
#checkout-form textarea {
  width: 100%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 12px 13px;
  outline: none;
  resize: vertical;
}

#checkout-form input:focus,
#checkout-form textarea:focus {
  border-color: rgba(20,184,166,0.50);
  background: rgba(255,255,255,0.075);
}

.checkout-error {
  display: none;
  color: #fca5a5;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.16);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.checkout-result {
  display: none;
  text-align: center;
}

.checkout-result p {
  color: rgba(255,255,255,0.46);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 8px 0 18px;
}

.checkout-result strong {
  color: #fff;
  font-family: monospace;
  letter-spacing: 0.04em;
}

.checkout-success-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: #08120c;
  background: #4ade80;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 8px 28px rgba(74,222,128,0.24);
}

/* ── Comparison table (NovaLife shop) ────────── */
.compare-wrap { overflow-x: auto; margin-bottom: 32px; }

.compare-table {
  width: 100%; border-collapse: collapse; table-layout: fixed;
}

.compare-table th, .compare-table td { padding: 0; text-align: center; }
.compare-head th:first-child { width: 40%; text-align: left; }
.compare-head th:not(:first-child) { width: 20%; }

.compare-grade-header {
  background: #15212b; border: 1px solid rgba(255,255,255,0.08); border-bottom: none;
  padding: 22px 16px 18px;
}
.compare-grade-header:first-child { border-radius: 16px 0 0 0; background: transparent; border: none; }
.compare-grade-header.col-or {
  background: linear-gradient(160deg, rgba(161,122,18,0.18) 0%, #15212b 100%);
  border-top: 2px solid rgba(234,179,8,0.5); position: relative;
}
.compare-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #1a1200; background: #eab308;
  border-radius: 20px; padding: 3px 10px; white-space: nowrap;
}
.compare-grade-name { font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: -0.3px; margin-bottom: 4px; }
.compare-grade-price { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -0.5px; line-height: 1; }
.compare-grade-price sub { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.35); vertical-align: baseline; }

.compare-feature-label { text-align: left !important; padding: 0 !important; }
.compare-feature-label-inner {
  font-size: 0.84rem; font-weight: 500; color: rgba(255,255,255,0.48);
  padding: 13px 16px; border-top: 1px solid rgba(255,255,255,0.05);
}

.compare-cell {
  background: #15212b; border-left: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.05); padding: 12px 8px;
}
.compare-cell.col-or { background: rgba(161,122,18,0.07); }
.compare-cell:last-child { border-right: 1px solid rgba(255,255,255,0.08); }

.check { color: #f4d06f; font-size: 1.1rem; }
.cross { color: rgba(255,255,255,0.16); font-size: 1rem; }

.compare-cta-row td:first-child { background: transparent; border: none; padding: 16px 0 0; }
.compare-cta-cell {
  background: #15212b; border: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.05); padding: 16px 12px 20px;
}
.compare-cta-cell:nth-child(2) { border-radius: 0 0 0 16px; }
.compare-cta-cell:last-child {
  border-radius: 0 0 16px 0; background: rgba(161,122,18,0.07);
  border-color: rgba(255,255,255,0.08);
}
