/* Checkout, pagamento e pedido: mesma linguagem da home (vidro roxo, lilás, botões). Só visual, sem mexer na lógica. */
body .ig-checkout,
body .ig-payment,
body .ig-order {
  --ck-gold: #d8c8ff;
  --ck-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ck-panel: linear-gradient(180deg, #191030 0%, #0f0a20 100%);
  --ck-border: rgb(137 90 246 / 0.26);
}

/* ---------- Títulos ---------- */
body .ig-checkout h1,
body .ig-payment h1,
body .ig-order h1 {
  font-family: 'Plus Jakarta Sans', Manrope, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

/* ---------- Painéis ---------- */
body .ig-checkout .bg-bg2.rounded-cc.border,
body .ig-payment .bg-bg2.rounded-cc,
body .ig-order .bg-bg2.rounded-cc,
body .ig-order .ig-order-details {
  border-color: var(--ck-border);
  border-radius: 20px;
  background:
    radial-gradient(110% 80% at 100% 0%, rgb(137 90 246 / 0.14), transparent 55%),
    var(--ck-panel);
  box-shadow: 0 26px 60px -40px rgb(137 90 246 / 0.55);
}

body .ig-checkout [class*="md:sticky"] {
  border-color: rgb(167 139 250 / 0.4);
  background:
    radial-gradient(110% 80% at 100% 0%, rgb(167 139 250 / 0.12), transparent 55%),
    var(--ck-panel);
  box-shadow: 0 30px 70px -40px rgb(167 139 250 / 0.5);
}

body .ig-checkout .bg-bg2 > .border-b,
body .ig-payment .bg-bg2 > .border-b { border-color: rgb(255 255 255 / 0.08); }

body .ig-checkout h4,
body .ig-payment h4,
body .ig-order h4 {
  font-family: 'Plus Jakarta Sans', Manrope, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ---------- Etapas ---------- */
body .gm-checkout-steps span {
  border-color: rgb(255 255 255 / 0.14);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
body .gm-checkout-steps span[aria-current="step"] {
  border-color: rgb(167 139 250 / 0.55);
  background: rgb(167 139 250 / 0.1);
  color: #fff;
}
body .gm-checkout-steps span b {
  background: hsl(var(--primary));
  color: #160a38;
}
body .gm-checkout-steps span[aria-current="step"] b { background: var(--ck-gold); color: #1a0b3a; }

/* ---------- Campos ---------- */
body .ig-checkout input:not([type="checkbox"]):not([type="radio"]),
body .ig-checkout select,
body .ig-checkout textarea,
body .ig-payment input:not([type="checkbox"]):not([type="radio"]) {
  border-color: rgb(255 255 255 / 0.14);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.04);
  transition: border-color 0.2s ease, box-shadow 0.3s ease, background-color 0.2s ease;
}
body .ig-checkout input:not([type="checkbox"]):not([type="radio"]):hover,
body .ig-checkout select:hover { border-color: rgb(255 255 255 / 0.26); }
body .ig-checkout input:not([type="checkbox"]):not([type="radio"]):focus,
body .ig-checkout select:focus,
body .ig-payment input:focus {
  outline: none;
  border-color: hsl(var(--primary) / 0.65);
  background: rgb(255 255 255 / 0.06);
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.15);
}
body .ig-checkout label { font-weight: 700; }

/* ---------- Formas de pagamento ---------- */
body .ig-checkout [data-payment-method] {
  border-color: rgb(255 255 255 / 0.12);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.035);
  padding: 12px;
  transition: transform 0.3s var(--ck-ease), border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.3s ease;
}
body .ig-checkout [data-payment-method]:hover { transform: translateY(-2px); border-color: hsl(var(--primary) / 0.55); background: hsl(var(--primary) / 0.08); }
body .ig-checkout [data-payment-method][data-selected="true"],
body .ig-checkout [data-payment-method][aria-pressed="true"] {
  --tw-ring-color: var(--ck-gold);
  border-color: rgb(167 139 250 / 0.7);
  background: rgb(167 139 250 / 0.08);
  box-shadow: 0 0 0 1px rgb(167 139 250 / 0.3), 0 18px 36px -22px rgb(167 139 250 / 0.5);
}

/* ---------- Botões principais ---------- */
body .ig-checkout #ig-checkout-continue,
body .ig-checkout #pay-button,
body .ig-payment #go-to-order,
body .ig-order a.btn-primary {
  position: relative;
  overflow: hidden;
  border: 1px solid #2a1569;
  border-radius: 14px;
  background: radial-gradient(110% 130% at 47% 0, #b79bff 38%, #9a6bff 69%, #6a3fe0);
  color: #160a38;
  font-weight: 800;
  box-shadow: 0 18px 34px -16px rgb(0 0 0 / 0.65);
  transition: filter 0.2s ease, transform 0.25s var(--ck-ease);
}
body .ig-checkout #ig-checkout-continue:hover,
body .ig-checkout #pay-button:not(:disabled):hover,
body .ig-payment #go-to-order:hover,
body .ig-order a.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }

body .ig-checkout #pay-button:disabled { opacity: 0.5; }

body .ig-checkout .ig-checkout-back { color: #cbb5ff; font-weight: 700; }

/* ---------- Resumo ---------- */
body .ig-checkout #pricing {
  border-color: rgb(255 255 255 / 0.1);
  border-radius: 16px;
  background: rgb(8 5 18 / 0.5);
}
body .ig-checkout #pricing .total-value,
body .ig-checkout #pay-button-price {
  font-family: 'Plus Jakarta Sans', Manrope, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}
body .ig-checkout #pricing .total-value { color: var(--ck-gold); font-size: 1.5rem; }

body .ig-checkout .ig-checkout-accepted { opacity: 0.85; }

/* ---------- Pagamento gerado (PIX etc.) ---------- */
body .ig-payment .ig-payment-main { border-color: rgb(167 139 250 / 0.4); box-shadow: 0 30px 70px -40px rgb(167 139 250 / 0.5); }

body .ig-payment .ig-payment-qr-wrap > div,
body .ig-payment .ig-payment-qr-wrap > img {
  border: 3px solid var(--ck-gold);
  border-radius: 20px;
  box-shadow: 0 0 0 6px rgb(167 139 250 / 0.12), 0 24px 50px -26px rgb(167 139 250 / 0.7);
}


body .ig-payment .ig-payment-copy { border-color: rgb(255 255 255 / 0.1); }
body .ig-payment .ig-payment-guide-kicker { color: var(--ck-gold); }

/* ---------- Pedido (status) ---------- */
body .ig-order .ig-order-eyebrow { color: var(--ck-gold); }

body .ig-order .ig-order-head {
  position: relative;
  overflow: hidden;
  padding: 26px 28px;
  border: 1px solid var(--ck-border);
  border-radius: 22px;
  background:
    radial-gradient(90% 140% at 100% 0%, rgb(137 90 246 / 0.2), transparent 55%),
    var(--ck-panel);
}
body .ig-order .ig-order-head.is-approved {
  border-color: rgb(167 139 250 / 0.6);
  background:
    radial-gradient(90% 140% at 100% 0%, rgb(167 139 250 / 0.2), transparent 55%),
    radial-gradient(70% 120% at 0% 100%, rgb(52 211 153 / 0.14), transparent 55%),
    var(--ck-panel);
  box-shadow: 0 0 0 1px rgb(167 139 250 / 0.2), 0 34px 80px -40px rgb(167 139 250 / 0.6);
}

body .ig-order .ig-steam-guide {
  border-color: var(--ck-border);
  border-radius: 20px;
  background:
    radial-gradient(110% 80% at 100% 0%, rgb(137 90 246 / 0.14), transparent 55%),
    var(--ck-panel);
}
body .ig-order .ig-steam-guide__step-num { background: hsl(var(--primary)); color: #160a38; }
body .ig-order .ig-steam-guide__eyebrow { color: var(--ck-gold); }

@media (prefers-reduced-motion: reduce) {
  body .ig-checkout #ig-checkout-continue::after,
  body .ig-checkout #pay-button::after,
  body .ig-payment #go-to-order::after,
  body .ig-order .ig-order-head.is-approved::after { animation: none; }
  body .ig-checkout [data-payment-method] { transition: none; }
}

/* respiro para o fio de luzes do topo */
body .ig-checkout,
body .ig-payment,
body .ig-order { padding-top: 3.25rem; }

/* =====================================================================
   Checkout: resumo em cartões, campos maiores, botão Pagar com destaque
   ===================================================================== */
body .ig-checkout { max-width: 1080px; }

body .ig-checkout .bg-bg2.rounded-cc.border {
  border-radius: 24px !important;
  border-color: var(--ck-border) !important;
  background:
    radial-gradient(100% 60% at 100% 0%, rgb(137 90 246 / 0.16), transparent 60%),
    linear-gradient(180deg, #1a1131 0%, #0e0920 100%) !important;
}
body .ig-checkout .bg-bg2.rounded-cc.border > .border-b { padding: 20px 24px !important; }
body .ig-checkout .bg-bg2.rounded-cc.border > .p-4 { padding: 22px 24px !important; }

/* número da etapa no título de cada painel */
body .ig-checkout .ig-checkout-contact h4,
body .ig-checkout .ig-checkout-payment h4 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; }
body .ig-checkout .ig-checkout-contact h4::before,
body .ig-checkout .ig-checkout-payment h4::before {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ck-gold);
  color: #1a0b3a;
  font: 800 0.9rem/1 "Plus Jakarta Sans", sans-serif;
}
body .ig-checkout .ig-checkout-contact h4::before { content: "1"; }
body .ig-checkout .ig-checkout-payment h4::before { content: "2"; }

body .ig-checkout input:not([type="checkbox"]):not([type="radio"]),
body .ig-checkout select { min-height: 50px; padding-inline: 16px; font-size: 0.95rem; }

/* termos */
body .ig-checkout .ig-checkout-submit { display: grid; gap: 14px; padding: 18px; border: 1px solid rgb(255 255 255 / 0.1); border-radius: 20px; background: rgb(8 5 18 / 0.45); }
body .ig-checkout #terms-checkbox { width: 20px; height: 20px; accent-color: #f2c14e; flex: none; }

/* botão Pagar: rótulo à esquerda e valor em pílula escura à direita */
body .ig-checkout #pay-button {
  min-height: 64px !important;
  padding: 0 14px 0 24px !important;
  font-size: 1.1rem !important;
  border-radius: 18px !important;
  justify-content: space-between;
}
body .ig-checkout #pay-button > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
body .ig-checkout #pay-button > span:first-child::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
body .ig-checkout #pay-button-price {
  padding: 10px 16px;
  border-radius: 12px;
  background: #160a38;
  color: var(--ck-gold);
  font: 800 1.15rem/1 "Plus Jakarta Sans", sans-serif;
}

.ck-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 4px 0 0; padding: 0; list-style: none; color: rgb(255 255 255 / 0.65); font-size: 0.76rem; font-weight: 700; }
.ck-trust li { display: inline-flex; align-items: center; gap: 6px; }
.ck-trust svg { color: #f2c14e; }

/* resumo: itens em cartões */
body .ig-checkout #packages-list { display: grid; gap: 12px; }

body .ig-checkout .ck-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.025));
  transition: border-color 0.25s ease;
}
body .ig-checkout .ck-item:hover { border-color: rgb(167 139 250 / 0.35); }

body .ig-checkout .ck-item__img {
  display: grid;
  place-items: center;
  width: 62px;
  height: 86px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 12px;
  object-fit: cover;
  background: #0a0614;
  box-shadow: 0 12px 22px -12px rgb(0 0 0 / 0.7);
}

body .ig-checkout .ck-item__main { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; }
body .ig-checkout .ck-item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
body .ig-checkout .ck-item__name { color: #fff; font-size: 0.95rem; font-weight: 800; line-height: 1.3; }
body .ig-checkout .ck-item__price { color: rgb(255 255 255 / 0.6); font-size: 0.82rem; font-weight: 600; }

body .ig-checkout .ck-item__remove {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 10px;
  background: transparent;
  color: rgb(255 255 255 / 0.55);
}
body .ig-checkout .ck-item__remove:hover { border-color: rgb(255 90 95 / 0.55); background: rgb(255 90 95 / 0.14); color: #ff9a9d; }

body .ig-checkout .ck-item__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }

body .ig-checkout .ck-qty { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgb(255 255 255 / 0.12); border-radius: 12px; background: rgb(0 0 0 / 0.25); }
body .ig-checkout .ck-qty__btn { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 9px; background: rgb(255 255 255 / 0.06); color: #fff; }
body .ig-checkout .ck-qty__btn:not(:disabled):hover { background: hsl(var(--primary) / 0.4); }
body .ig-checkout .ck-qty__btn:disabled { opacity: 0.35; }
body .ig-checkout .ck-qty__input { width: 36px !important; min-height: 30px !important; height: 30px; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; text-align: center; font-weight: 800; }

body .ig-checkout .ck-item__line { color: var(--ck-gold); font: 800 1.05rem/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -0.02em; }

/* cupom em pílula */
body .ig-checkout #toggle-manual-coupon {
  padding: 8px 14px;
  border: 1px dashed rgb(167 139 250 / 0.5);
  border-radius: 999px;
  color: #f6d680;
  font-weight: 700;
}
body .ig-checkout #toggle-manual-coupon:hover { background: rgb(167 139 250 / 0.1); }

/* totais */
body .ig-checkout #pricing { padding: 16px !important; gap: 10px; }
body .ig-checkout #pricing li:last-child {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgb(167 139 250 / 0.35);
}

@media (max-width: 767px) {
  body .ig-checkout .bg-bg2.rounded-cc.border > .border-b { padding: 16px 18px !important; }
  body .ig-checkout .bg-bg2.rounded-cc.border > .p-4 { padding: 18px !important; }
  body .ig-checkout .ck-item__img { width: 54px; height: 76px; }
  body .ig-checkout #pay-button { min-height: 58px !important; font-size: 1rem !important; }
}

/* =====================================================================
   Pagamento gerado (Pix): etapas, QR em destaque e passo a passo
   ===================================================================== */
body .ig-payment { max-width: 1120px; }

body .ig-payment .ig-payment-state {
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgb(167 139 250 / 0.4);
  border-radius: 999px;
  background: rgb(167 139 250 / 0.1);
  color: #f6d680;
}
body .ig-payment .ig-payment-state span { background: var(--ck-gold); animation: ck-pulse 1.8s ease-in-out infinite; }
@keyframes ck-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgb(167 139 250 / 0.25); }
  50% { box-shadow: 0 0 0 8px rgb(167 139 250 / 0); }
}

body .ig-payment .ig-payment-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
body .ig-payment .ig-payment-head p { max-width: 640px; }

/* etapas ligadas por uma linha */
body .ig-payment .ig-payment-progress {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin-top: 26px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
}
body .ig-payment .ig-payment-progress li {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: rgb(255 255 255 / 0.45);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}
body .ig-payment .ig-payment-progress li:last-child { flex: 0 0 auto; }
body .ig-payment .ig-payment-progress li::after {
  content: "";
  flex: 1;
  height: 2px;
  margin: 0 14px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.12);
}
body .ig-payment .ig-payment-progress li:last-child::after { display: none; }
body .ig-payment .ig-payment-progress li > span {
  display: grid;
  position: relative;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.04);
  font-size: 0.8rem;
}
body .ig-payment .ig-payment-progress li.is-done { color: #fff; }
body .ig-payment .ig-payment-progress li.is-done::after { background: linear-gradient(90deg, var(--ck-gold), rgb(167 139 250 / 0.3)); }
body .ig-payment .ig-payment-progress li.is-done > span { border-color: var(--ck-gold); background: var(--ck-gold); color: transparent; }
body .ig-payment .ig-payment-progress li.is-done > span::before { content: "✓"; position: absolute; color: #1a0b3a; font-size: 0.95rem; font-weight: 900; }
body .ig-payment .ig-payment-progress li.is-current { color: #fff; }
body .ig-payment .ig-payment-progress li.is-current > span {
  border-color: transparent;
  background: hsl(var(--primary));
  color: #160a38;
  animation: ck-ring 2s ease-in-out infinite;
}
@keyframes ck-ring {
  0%, 100% { box-shadow: 0 0 0 0 hsl(var(--primary) / 0.45); }
  50% { box-shadow: 0 0 0 9px hsl(var(--primary) / 0); }
}

/* painéis */
body .ig-payment .ig-payment-main,
body .ig-payment .ig-payment-guide {
  border-radius: 26px !important;
  background:
    radial-gradient(100% 60% at 100% 0%, rgb(137 90 246 / 0.18), transparent 60%),
    linear-gradient(180deg, #1a1131 0%, #0e0920 100%) !important;
}
body .ig-payment .ig-payment-main { padding: 28px !important; border-color: rgb(167 139 250 / 0.45) !important; }

body .ig-payment .ig-payment-main-head { border-color: rgb(255 255 255 / 0.1); }
body .ig-payment .ig-payment-main-head span { color: var(--ck-gold); }
body .ig-payment .ig-payment-main-head strong { color: var(--ck-gold); font-size: 1.7rem; letter-spacing: -0.04em; }

/* QR: tela branca com moldura dourada e linha de leitura */
body .ig-payment .ig-payment-qr-wrap { flex-direction: column; gap: 16px; }
body .ig-payment .ig-payment-qr {
  position: relative;
  overflow: hidden;
  padding: 14px !important;
  border: 3px solid var(--ck-gold) !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 0 0 7px rgb(167 139 250 / 0.14), 0 30px 60px -28px rgb(167 139 250 / 0.7) !important;
}
body .ig-payment .ig-payment-qr > img { padding: 0 !important; border-radius: 12px !important; }
body .ig-payment .ig-payment-qr::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgb(167 139 250 / 0.28), transparent);
  transform: translateY(-100%);
  animation: ck-scan 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ck-scan { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(280%); } }

body .ig-payment .ig-payment-qr-wrap::after {
  content: "Aguardando a confirmação do banco…";
  color: rgb(255 255 255 / 0.65);
  font-size: 0.82rem;
  font-weight: 700;
}

/* copia e cola */
body .ig-payment .ig-payment-copy { border-color: rgb(255 255 255 / 0.1); }
body .ig-payment .ig-payment-main input {
  min-height: 46px;
  border-color: rgb(255 255 255 / 0.16) !important;
  border-radius: 14px !important;
  background: rgb(0 0 0 / 0.35) !important;
  font: 600 0.8rem/1 "JetBrains Mono", monospace;
}
body .ig-payment .ig-payment-main .btn-primary {
  min-height: 46px;
  border: 1px solid #2a1569 !important;
  border-radius: 14px !important;
  background: radial-gradient(110% 130% at 47% 0, #b79bff 38%, #9a6bff 69%, #6a3fe0) !important;
  color: #160a38 !important;
  font-weight: 800;
}
body .ig-payment .ig-payment-main .btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }

/* guia */
body .ig-payment .ig-payment-guide { padding: 26px !important; }
body .ig-payment .ig-payment-guide h3 { font: 800 1.35rem/1.2 "Plus Jakarta Sans", sans-serif; letter-spacing: -0.03em; }
body .ig-payment .ig-payment-guide .space-y-3 > div { padding: 14px 0; border-color: rgb(255 255 255 / 0.08); }
body .ig-payment .ig-payment-guide i,
body .ig-payment .ig-payment-guide svg { color: var(--ck-gold); }
body .ig-payment .ig-payment-order { border-color: rgb(255 255 255 / 0.1); }

@media (max-width: 767px) {
  body .ig-payment .ig-payment-main { padding: 20px !important; }
  body .ig-payment .ig-payment-progress li { font-size: 0.72rem; gap: 7px; }
  body .ig-payment .ig-payment-progress li::after { margin: 0 8px; }
  body .ig-payment .ig-payment-progress li > span { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  body .ig-payment .ig-payment-state span,
  body .ig-payment .ig-payment-progress li.is-current > span,
  body .ig-payment .ig-payment-qr::after { animation: none; }
}

/* ---------- Correções: itens do resumo (anulam o grid antigo do commerce.css) ---------- */
body #checkout .ig-checkout-summary .ck-item {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: stretch !important;
  gap: 14px !important;
  padding: 12px !important;
}
body #checkout .ig-checkout-summary .ck-item > div:first-child {
  grid-column: auto !important;
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
}
body #checkout .ig-checkout-summary .ck-item > div:nth-child(2) {
  display: flex !important;
  flex: 1 1 0 !important;
  flex-direction: column !important;
  min-width: 0 !important;
}
body #checkout .ig-checkout-summary .ck-item .ck-qty { grid-column: auto !important; justify-content: flex-start !important; gap: 2px !important; }
body #checkout .ig-checkout-summary .ck-item .ck-item__name { overflow-wrap: anywhere; }
body #checkout .ig-checkout-summary .ck-item .ig-cart-quantity-note { margin: 0; }

/* ---------- Formas de pagamento aceitas ---------- */
body #checkout .ig-checkout-accepted {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 14px;
  margin-top: 16px;
  padding: 14px 16px !important;
  border: 1px solid rgb(255 255 255 / 0.1) !important;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.03);
  color: rgb(255 255 255 / 0.65) !important;
}
body #checkout .ig-checkout-accepted > span {
  color: #f2c14e;
  font: 700 11px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
body #checkout .ig-checkout-accepted > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 !important; }
body #checkout .ig-checkout-accepted img {
  box-sizing: content-box;
  width: 34px !important;
  height: 24px !important;
  padding: 8px 12px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.06);
  filter: none !important;
}
body #checkout .ig-checkout-accepted > p { grid-column: 1 / -1; margin: 0; font-size: 0.76rem; line-height: 1.4; }

/* ---------- Benefícios de Natal no resumo ---------- */
body #checkout .ck-benefits { padding: 14px; border: 1px solid rgb(167 139 250 / 0.35); border-radius: 18px; background: linear-gradient(180deg, rgb(167 139 250 / 0.08), rgb(137 90 246 / 0.08)); }
body #checkout .ck-benefits[hidden] { display: none !important; }
body #checkout .ck-benefits__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #f6d680; font: 800 0.74rem/1 "JetBrains Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; }
body #checkout .ck-benefits__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
body #checkout .ck-ben { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid rgb(255 255 255 / 0.1); border-radius: 14px; background: rgb(255 255 255 / 0.04); transition: border-color 0.25s ease, background-color 0.25s ease; }
body #checkout .ck-ben[hidden] { display: none !important; }
body #checkout .ck-ben[data-state="on"] { border-color: rgb(52 211 153 / 0.55); background: rgb(52 211 153 / 0.1); }
body #checkout .ck-ben__ic { flex: none; width: 20px; height: 20px; color: #f2c14e; }
body #checkout .ck-ben[data-state="on"] .ck-ben__ic { color: #34d399; }
body #checkout .ck-ben__txt { display: flex; flex: 1 1 0; flex-direction: column; gap: 2px; min-width: 0; }
body #checkout .ck-ben__txt strong { font-size: 0.82rem; line-height: 1.2; }
body #checkout .ck-ben__sub { color: rgb(255 255 255 / 0.62); font-size: 0.72rem; line-height: 1.3; }
body #checkout .ck-ben__btn { flex: none; padding: 7px 12px; border: 1px solid rgb(167 139 250 / 0.5); border-radius: 999px; background: rgb(167 139 250 / 0.12); color: #f6d680; font-size: 0.72rem; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background-color 0.2s ease; }
body #checkout .ck-ben__btn[hidden] { display: none !important; }
body #checkout .ck-ben__btn:hover { background: rgb(167 139 250 / 0.24); }

/* ---------- Complete seu pedido (upsell) ---------- */

/* ---------- Redesign do checkout (cabeçalho central, etapas em círculos, cartões com ícone) ---------- */
body #checkout .ck-head { text-align: center; margin-bottom: 8px; }
body #checkout .ck-head h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
body #checkout .ck-head .gm-checkout-subtitle { margin: 8px auto 0; max-width: 520px; color: rgb(255 255 255 / 0.66); }
body #checkout .ig-checkout-breadcrumb { display: none; }

body #checkout .gm-checkout-steps {
  display: flex !important; align-items: flex-start; justify-content: center; gap: 0; margin: 22px auto 34px; padding: 0 !important; max-width: 560px;
  border: 0 !important; background: none !important;
}
body #checkout .gm-checkout-steps > span {
  display: flex !important; flex: none; flex-direction: column; align-items: center; gap: 8px; width: 92px; padding: 0 !important;
  border: 0 !important; background: none !important; box-shadow: none !important;
  color: rgb(255 255 255 / 0.5); font-size: 0.74rem;
}
body #checkout .gm-checkout-steps > span em { font-style: normal; font-weight: 700; text-align: center; white-space: nowrap; }
body #checkout .gm-checkout-steps > span b {
  display: grid !important; place-items: center; width: 34px; height: 34px; border: 1.5px solid rgb(255 255 255 / 0.22); border-radius: 50%;
  background: #120b26 !important; color: rgb(255 255 255 / 0.65) !important; font-size: 0.85rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.4s ease, transform 0.4s var(--ck-ease);
}
body #checkout .gm-checkout-steps > span[aria-current="step"] { color: #fff; }
body #checkout .gm-checkout-steps > span[aria-current="step"] b { border-color: var(--ck-gold); background: var(--ck-gold) !important; color: #1a0b3a !important; box-shadow: 0 0 0 5px rgb(167 139 250 / 0.18), 0 10px 22px -8px rgb(167 139 250 / 0.7); transform: scale(1.08); }
body #checkout .gm-checkout-steps[data-active-step="2"] > span[data-step="1"] b { border-color: rgb(52 211 153 / 0.7); background: rgb(52 211 153 / 0.16) !important; color: #34d399 !important; }
body #checkout .gm-checkout-steps[data-active-step="2"] > span[data-step="1"] { color: rgb(255 255 255 / 0.8); }
body #checkout .gm-checkout-steps > i { flex: 1 1 0; align-self: flex-start; height: 2px; margin-top: 16px; min-width: 24px; border-radius: 2px; background: rgb(255 255 255 / 0.14) !important; }
body #checkout .gm-checkout-steps[data-active-step="2"] > i:nth-of-type(1) { background: linear-gradient(90deg, #34d399, var(--ck-gold)) !important; }

@media (min-width: 768px) {
  body #checkout .gm-checkout-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) !important; gap: 24px !important; min-height: 0 !important; }
}

body #checkout .ig-checkout-payment > .border-b,
body #checkout .ig-checkout-contact > .border-b,
body #checkout .ig-checkout-summary > .border-b { border-bottom: 0; padding-bottom: 4px; }
body #checkout .ig-checkout-payment h4,
body #checkout .ig-checkout-contact h4,
body #checkout .ig-checkout-summary h4 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
body #checkout .ig-checkout-payment h4::before,
body #checkout .ig-checkout-contact h4::before,
body #checkout .ig-checkout-summary h4::before {
  content: ""; flex: none; width: 22px; height: 22px; background: var(--ck-gold);
  -webkit-mask: var(--ck-ic) center / contain no-repeat; mask: var(--ck-ic) center / contain no-repeat;
}
body #checkout .ig-checkout-payment h4 { --ck-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4'/%3E%3C/svg%3E"); }
body #checkout .ig-checkout-contact h4 { --ck-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
body #checkout .ig-checkout-summary h4 { --ck-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3Cpath d='M3.103 6.034h17.794'/%3E%3Cpath d='M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z'/%3E%3C/svg%3E"); }

body #checkout .ck-reviews-link {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; margin: 14px auto 0; padding: 9px 16px;
  border: 1px solid rgb(255 255 255 / 0.14); border-radius: 999px; background: rgb(255 255 255 / 0.04); color: rgb(255 255 255 / 0.85); font-size: 0.8rem; font-weight: 700; text-decoration: none;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.3s var(--ck-ease);
}
body #checkout .ck-reviews-link svg { color: var(--ck-gold); }
body #checkout .ck-reviews-link:hover { border-color: rgb(167 139 250 / 0.55); background: rgb(167 139 250 / 0.1); transform: translateY(-2px); }

@media (max-width: 520px) {
  body #checkout .gm-checkout-steps > span { width: 72px; font-size: 0.68rem; }
}
body #checkout .gm-checkout-steps[data-active-step="2"] > span[data-step="3"]:last-child b { border-color: rgb(255 255 255 / 0.22) !important; background: #120b26 !important; color: rgb(255 255 255 / 0.65) !important; }

/* ---------- Checkout compacto (v9): sem vãos, item em linha, cupom fixo, rádio no pagamento ---------- */
body #checkout .ig-checkout-payment > .border-b,
body #checkout .ig-checkout-contact > .border-b,
body #checkout .ig-checkout-card > .border-b,
body #checkout .ig-checkout-address > .border-b { padding: 20px 22px 0 !important; }
body #checkout .ig-checkout-payment > .border-b + div,
body #checkout #personal-info,
body #checkout .ig-checkout-card > .border-b + div,
body #checkout #address-fields { padding: 16px 22px 22px !important; }
body #checkout #checkout_fields:not(.hidden) { padding: 0 22px 22px !important; }
body #checkout .ig-checkout-section-note { margin-top: 4px; color: rgb(255 255 255 / 0.55); font-size: 0.78rem; }
body #checkout #ig-checkout-back { margin-top: 12px; }
body #checkout #discord-login { margin-bottom: 6px !important; }

body #checkout .ig-checkout-field label,
body #checkout #phone-field-wrapper > label {
  display: block; margin-bottom: 6px; color: rgb(255 255 255 / 0.62); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
body #checkout #personal-info > * + * { margin-top: 12px; }

body #checkout .ig-checkout-accepted { display: none !important; }

/* Rádio nas formas de pagamento */
body #checkout [data-payment-method] { position: relative; padding: 14px 52px 14px 14px !important; }
body #checkout [data-payment-method]::after {
  content: ""; position: absolute; top: 50%; right: 18px; width: 20px; height: 20px; translate: 0 -50%;
  border: 2px solid rgb(255 255 255 / 0.28); border-radius: 50%; transition: border-color 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}
body #checkout [data-payment-method][data-selected="true"] { border-color: rgb(167 139 250 / 0.6) !important; background: rgb(167 139 250 / 0.07) !important; box-shadow: none !important; }
body #checkout [data-payment-method][data-selected="true"]::after { border-color: var(--ck-gold); background: var(--ck-gold); box-shadow: inset 0 0 0 4px #150d2b; }

/* Item do resumo em linha: capa | nome + preço | total, lixeira no canto */
body #checkout .ig-checkout-summary #packages-list { display: grid; gap: 10px; }
body #checkout .ig-checkout-summary #packages-list > * + * { margin-top: 0 !important; }
body #checkout .ig-checkout-summary #packages-list .ck-item {
  display: grid !important; grid-template-columns: 56px minmax(0, 1fr) auto !important;
  grid-template-areas: "media name remove" "media meta line" "qty qty qty";
  align-items: center !important; column-gap: 14px !important; row-gap: 2px !important; padding: 12px !important;
  border-radius: 16px !important;
}
body #checkout .ig-checkout-summary #packages-list .ck-item > .ck-item__media { grid-area: media; width: 56px !important; }
body #checkout .ig-checkout-summary #packages-list .ck-item .ck-item__img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
body #checkout .ig-checkout-summary #packages-list .ck-item > .ck-item__main,
body #checkout .ig-checkout-summary #packages-list .ck-item .ck-item__top,
body #checkout .ig-checkout-summary #packages-list .ck-item .ck-item__bottom { display: contents !important; }
body #checkout .ig-checkout-summary #packages-list .ck-item .ck-item__name { grid-area: name; align-self: end; overflow: hidden; font-size: 0.9rem; font-weight: 800; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
body #checkout .ig-checkout-summary #packages-list .ck-item .ck-item__remove { grid-area: remove; justify-self: end; align-self: end; width: 30px; height: 30px; }
body #checkout .ig-checkout-summary #packages-list .ck-item .ck-item__price { grid-area: meta; align-self: start; margin: 0; color: rgb(255 255 255 / 0.55); font-size: 0.76rem; font-weight: 600; }
body #checkout .ig-checkout-summary #packages-list .ck-item .ig-cart-quantity-note { display: none; }
body #checkout .ig-checkout-summary #packages-list .ck-item .ck-item__line { grid-area: line; justify-self: end; align-self: start; color: var(--ck-gold); font-size: 1rem; font-weight: 800; }
body #checkout .ig-checkout-summary #packages-list .ck-item .ck-qty { grid-area: qty; justify-self: start; margin-top: 8px; }
body #checkout .ig-checkout-summary #packages-list .ck-item:has(.ck-qty__input[readonly]) .ck-qty { display: none !important; }

/* Cupom sempre visível, com rótulo, como campo do formulário */
body #checkout #toggle-manual-coupon { display: none !important; }
body #checkout #coupon { display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
body #checkout #coupon::before { content: "Cupom de desconto"; display: block; margin-bottom: 6px; color: rgb(255 255 255 / 0.62); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
body #checkout #coupon > div { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; height: 44px !important; min-height: 44px; }
body #checkout #coupon input { height: 44px !important; font-size: 0.85rem !important; }
body #checkout #coupon button { min-height: 44px; border: 1px solid rgb(167 139 250 / 0.5) !important; background: rgb(167 139 250 / 0.12) !important; color: #f6d680 !important; }
body #checkout #coupon button:hover { background: rgb(167 139 250 / 0.22) !important; }

/* Benefícios mais enxutos */
body #checkout .ck-benefits { padding: 12px; }
body #checkout .ck-ben { padding: 8px 10px; }
body #checkout .ck-ben__btn { padding: 6px 10px; font-size: 0.7rem; }
body #checkout[data-checkout-step] .ig-checkout-accepted.ig-checkout-accepted { display: none !important; }
body #checkout .ig-checkout-summary > .border-b { padding: 20px 22px 0 !important; }
body #checkout .ig-checkout-summary > .border-b + div { padding: 16px 22px 22px !important; }
body #checkout .ig-checkout-summary > .border-b { gap: 10px; flex-wrap: wrap; }
body #checkout .ig-checkout-summary > .border-b > div:last-child { flex: none; white-space: nowrap; }
@media (max-width: 520px) {
  body #checkout .ig-checkout-summary h4 { font-size: 1rem; white-space: nowrap; }
  body #checkout .ig-checkout-summary > .border-b,
  body #checkout .ig-checkout-payment > .border-b,
  body #checkout .ig-checkout-contact > .border-b { padding: 18px 16px 0 !important; }
  body #checkout .ig-checkout-summary > .border-b + div,
  body #checkout #personal-info,
  body #checkout .ig-checkout-payment > .border-b + div { padding: 14px 16px 18px !important; }
}

/* ---------- Coluna esquerda em um único painel (v12) ---------- */
body #checkout .ck-left {
  display: flex; flex-direction: column; gap: 22px; align-self: start; padding: 24px;
  border: 1px solid var(--ck-border); border-radius: 22px;
  background: radial-gradient(110% 70% at 100% 0%, rgb(137 90 246 / 0.14), transparent 55%), var(--ck-panel);
  box-shadow: 0 26px 60px -40px rgb(137 90 246 / 0.55);
}
body #checkout .ck-left > * { margin: 0 !important; }
body #checkout .ck-left > .bg-bg2.rounded-cc.border,
body #checkout .ck-left > .ig-checkout-submit {
  padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; backdrop-filter: none !important;
}
body #checkout .ck-left > .bg-bg2 > .border-b { padding: 0 !important; border: 0 !important; }
body #checkout .ck-left > .ig-checkout-payment > .border-b + div,
body #checkout .ck-left #personal-info,
body #checkout .ck-left > .ig-checkout-card > .border-b + div,
body #checkout .ck-left #address-fields { padding: 16px 0 0 !important; }
body #checkout .ck-left #checkout_fields:not(.hidden) { padding: 12px 0 0 !important; }
body #checkout .ck-left > .ig-checkout-submit { display: grid; gap: 14px; padding-top: 22px !important; border-top: 1px solid rgb(255 255 255 / 0.08) !important; }
body #checkout .ck-left > .ig-checkout-next { padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 0.08); }

/* Voltar aos dados */
body #checkout #ig-checkout-back {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px 8px 10px;
  border: 1px solid rgb(255 255 255 / 0.12); border-radius: 999px; background: rgb(255 255 255 / 0.04); color: rgb(255 255 255 / 0.85); font-size: 0.8rem; font-weight: 700;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.2s ease;
}
body #checkout #ig-checkout-back svg { transition: transform 0.3s var(--ck-ease); }
body #checkout #ig-checkout-back:hover { border-color: rgb(167 139 250 / 0.5); background: rgb(167 139 250 / 0.08); color: #fff; }
body #checkout #ig-checkout-back:hover svg { transform: translateX(-3px); }

/* Checkbox dos termos */
body #checkout .ig-checkout-submit > .flex { align-items: flex-start !important; gap: 12px !important; }
body #checkout #terms-checkbox.ck-check {
  appearance: none; -webkit-appearance: none; display: grid; place-content: center; flex: none; width: 22px; height: 22px; margin: 0; cursor: pointer;
  border: 1.5px solid rgb(255 255 255 / 0.3); border-radius: 7px; background: rgb(255 255 255 / 0.04);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.3s ease;
}
body #checkout #terms-checkbox.ck-check::before {
  content: ""; width: 12px; height: 12px; background: #1a0b3a; transform: scale(0); transition: transform 0.25s var(--ck-ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
body #checkout #terms-checkbox.ck-check:hover { border-color: rgb(167 139 250 / 0.6); }
body #checkout #terms-checkbox.ck-check:focus-visible { outline: none; box-shadow: 0 0 0 4px rgb(167 139 250 / 0.25); }
body #checkout #terms-checkbox.ck-check:checked { border-color: var(--ck-gold); background: var(--ck-gold); }
body #checkout #terms-checkbox.ck-check:checked::before { transform: scale(1); }
body #checkout .ig-checkout-submit label[for="terms-checkbox"] { padding-top: 1px; line-height: 1.45; cursor: pointer; }

/* Botão Finalizar compra: cheio, centralizado, caixa alta */
body #checkout #pay-button {
  justify-content: center !important; gap: 12px; min-height: 60px !important; padding: 0 24px !important; border: 0 !important; border-radius: 14px !important;
  background: linear-gradient(180deg, #a47bff 0%, #7b4dff 100%) !important; color: #fff !important;
  font: 900 1.05rem/1 "Plus Jakarta Sans", Manrope, sans-serif !important; letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: 0 18px 34px -16px rgb(137 90 246 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.25) !important;
  transition: transform 0.3s var(--ck-ease), box-shadow 0.3s ease, filter 0.2s ease !important;
}
body #checkout #pay-button > span:first-child::before { display: none; }
body #checkout #pay-button #pay-button-price { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; color: #fff !important; font: inherit !important; letter-spacing: 0.02em; }
body #checkout #pay-button:not(:disabled):hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 24px 40px -16px rgb(137 90 246 / 1), inset 0 1px 0 rgb(255 255 255 / 0.25) !important; }
body #checkout #pay-button:not(:disabled):active { transform: translateY(0) scale(0.99); }

/* ---------- Animações do checkout ---------- */
@keyframes ck-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ck-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
body #checkout .ck-head { animation: ck-rise 0.6s var(--ck-ease) both; }
body #checkout .gm-checkout-steps { animation: ck-rise 0.6s var(--ck-ease) 0.08s both; }
body #checkout .ck-left { animation: ck-rise 0.65s var(--ck-ease) 0.16s both; }
body #checkout .ig-checkout-summary { animation: ck-rise 0.65s var(--ck-ease) 0.24s both; }
body #checkout .ck-left > * { animation: ck-fade 0.45s var(--ck-ease) both; }
body #checkout .ck-left > *:nth-child(3) { animation-delay: 0.05s; }
body #checkout .ck-left > *:nth-child(4) { animation-delay: 0.1s; }
body #checkout .ck-left > *:nth-child(n + 5) { animation-delay: 0.15s; }
body #checkout #packages-list:not(.is-ready) .ck-item { animation: ck-fade 0.4s var(--ck-ease) both; }
body #checkout #packages-list:not(.is-ready) .ck-item:nth-child(2) { animation-delay: 0.05s; }
body #checkout #packages-list:not(.is-ready) .ck-item:nth-child(3) { animation-delay: 0.1s; }
body #checkout #packages-list:not(.is-ready) .ck-item:nth-child(n + 4) { animation-delay: 0.15s; }
body #checkout .ck-item.is-leaving,
body #cart-drawer .cd-item.is-leaving { opacity: 0; transform: translateX(-14px); transition: opacity 0.16s ease-in, transform 0.16s ease-in; pointer-events: none; }
body #checkout .ck-item,
body #checkout [data-payment-method],
body #checkout .ck-ben { transition: transform 0.3s var(--ck-ease), border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.3s ease; }
body #checkout .ck-item:hover,
body #checkout [data-payment-method]:hover { transform: translateY(-2px); }
body #checkout .gm-checkout-steps > i { transition: background 0.5s ease; }
body #checkout .gm-checkout-steps > span em { transition: color 0.3s ease; }

@media (max-width: 520px) {
  body #checkout .ck-left { padding: 18px 16px; }
  body #checkout #pay-button { font-size: 0.95rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  body #checkout .ck-head, body #checkout .gm-checkout-steps, body #checkout .ck-left, body #checkout .ig-checkout-summary,
  body #checkout .ck-left > *, body #checkout #packages-list .ck-item, body #checkout .ck-ben { animation: none !important; }
  body #checkout .ck-item:hover, body #checkout [data-payment-method]:hover, body #checkout #pay-button:not(:disabled):hover { transform: none; }
}

/* ---------- v13: separadores, checkbox quadrado, garantias organizadas ---------- */
body #checkout .ck-left > .ig-checkout-payment > .border-b + div { margin-top: 18px; padding-top: 18px !important; border-top: 1px solid rgb(255 255 255 / 0.08); }

body #checkout #terms-checkbox.ck-check { width: 22px !important; height: 22px !important; min-width: 22px; max-width: 22px; min-height: 22px; padding: 0 !important; }
body #checkout .ig-checkout-submit > .flex { margin-bottom: 4px; }

body #checkout .ck-left .ck-trust {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 8px 0 0; padding: 18px 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.08); list-style: none;
}
body #checkout .ck-left .ck-trust li {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px;
  border: 1px solid rgb(255 255 255 / 0.08); border-radius: 14px; background: rgb(255 255 255 / 0.03);
}
body #checkout .ck-trust__ic { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgb(167 139 250 / 0.12); color: var(--ck-gold); }
body #checkout .ck-trust__ic svg { width: 16px; height: 16px; }
body #checkout .ck-trust li > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
body #checkout .ck-trust strong { overflow: hidden; color: #fff; font-size: 0.78rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
body #checkout .ck-trust small { overflow: hidden; color: rgb(255 255 255 / 0.55); font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; }

body #checkout .ck-left .ck-reviews-link { margin: 4px auto 0; padding: 6px 4px; border: 0; background: none; color: rgb(255 255 255 / 0.7); }
body #checkout .ck-left .ck-reviews-link:hover { background: none; color: #fff; transform: none; }
body #checkout .ck-reviews-link__go { transition: transform 0.3s var(--ck-ease); }
body #checkout .ck-reviews-link:hover .ck-reviews-link__go { transform: translateX(3px); }

@media (max-width: 560px) {
  body #checkout .ck-left .ck-trust { grid-template-columns: 1fr; }
}

/* ---------- Página do pedido (v14): colunas alinhadas, detalhes em lista, item e botões no padrão ---------- */
body .ig-order .ig-order-grid { align-items: start; gap: 24px !important; }
body .ig-order .ig-order-grid > section { min-width: 0; }
body .ig-order .ig-order-left { margin-top: 0 !important; }
body .ig-order .ig-order-left > * + * { margin-top: 16px !important; }
body .ig-order .ig-order-h2 {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #fff;
  font: 800 1.15rem/1.2 "Plus Jakarta Sans", Manrope, sans-serif; letter-spacing: -0.02em;
}
body .ig-order .ig-order-left > .ig-order-h2 { margin-bottom: 0; }
body .ig-order .ig-order-h2 svg { width: 20px; height: 20px; color: var(--ck-gold); }

/* Item do pedido */
body .ig-order .ig-order-item {
  gap: 14px !important; padding: 14px !important; border-color: var(--ck-border) !important; border-radius: 18px !important;
  background: linear-gradient(180deg, #191030, #0f0a20) !important;
  transition: border-color 0.25s ease, transform 0.3s var(--ck-ease);
}
body .ig-order .ig-order-item:hover { border-color: rgb(167 139 250 / 0.45) !important; transform: translateY(-2px); }
body .ig-order .ig-order-item img { border-radius: 12px !important; border-color: rgb(255 255 255 / 0.1) !important; }
body .ig-order .ig-order-item p.text-sm { font-size: 0.95rem; font-weight: 800; }
body .ig-order .ig-order-item p.text-xs { color: var(--ck-gold); font-size: 0.8rem; font-weight: 700; }
body .ig-order .ig-order-item .btn-primary {
  height: 40px !important; padding: 0 18px !important; border: 0; border-radius: 12px !important;
  background: linear-gradient(180deg, #a47bff, #7b4dff) !important; color: #fff !important; font-weight: 800;
  box-shadow: 0 12px 24px -14px rgb(137 90 246 / 0.9);
}

/* Detalhes */
body .ig-order .ig-od { display: flex; flex-direction: column; padding: 0 !important; overflow: hidden; }
body .ig-order .ig-od__status { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid rgb(255 255 255 / 0.08); }
body .ig-order .ig-od__status-ic { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: currentColor; }
body .ig-order .ig-od__status-ic svg { width: 20px; height: 20px; color: #0f0a20; }
body .ig-order .ig-od__status strong { display: block; color: #fff; font-size: 1rem; font-weight: 800; }
body .ig-order .ig-od__status span:not(.ig-od__status-ic) { color: rgb(255 255 255 / 0.55); font-size: 0.8rem; }

body .ig-order .ig-od__list { margin: 0; padding: 6px 20px; }
body .ig-order .ig-od__list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; padding: 12px 0; }
body .ig-order .ig-od__list > div + div { border-top: 1px dashed rgb(255 255 255 / 0.1); }
body .ig-order .ig-od__list dt { flex: none; color: rgb(255 255 255 / 0.55); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
body .ig-order .ig-od__list dd { overflow: hidden; margin: 0; color: #fff; font-size: 0.9rem; font-weight: 700; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
body .ig-order .ig-od__mono { display: flex; align-items: center; gap: 8px; }
body .ig-order .ig-od__mono span { overflow: hidden; font-family: "JetBrains Mono", monospace; font-size: 0.84rem; text-overflow: ellipsis; }
body .ig-order .ig-od__copy {
  display: grid; flex: none; place-items: center; width: 30px; height: 30px; border: 1px solid rgb(255 255 255 / 0.12); border-radius: 9px;
  background: rgb(255 255 255 / 0.04); color: rgb(255 255 255 / 0.75); cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
body .ig-order .ig-od__copy svg { width: 14px; height: 14px; }
body .ig-order .ig-od__copy:hover { border-color: rgb(167 139 250 / 0.5); color: var(--ck-gold); }
body .ig-order .ig-od__copy.is-copied { border-color: rgb(52 211 153 / 0.6); background: rgb(52 211 153 / 0.12); color: #34d399; }

body .ig-order .ig-od__total { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 16px 20px; border-top: 1px solid rgb(255 255 255 / 0.08); background: rgb(167 139 250 / 0.06); }
body .ig-order .ig-od__total span { display: block; margin-bottom: 4px; color: rgb(255 255 255 / 0.55); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
body .ig-order .ig-od__total strong { color: #fff; font-size: 1rem; font-weight: 800; }
body .ig-order .ig-od__total > div:last-child { text-align: right; }
body .ig-order .ig-od__price { color: var(--ck-gold) !important; font-size: 1.5rem !important; letter-spacing: -0.02em; }

/* Voltar ao início */
body .ig-order .ig-order-home {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 10px 16px 10px 12px;
  border: 1px solid rgb(255 255 255 / 0.12); border-radius: 999px; background: rgb(255 255 255 / 0.04); color: rgb(255 255 255 / 0.85);
  font-size: 0.85rem; font-weight: 700; text-decoration: none; transition: border-color 0.25s ease, background-color 0.25s ease, color 0.2s ease;
}
body .ig-order .ig-order-home svg { width: 18px; height: 18px; }
body .ig-order .ig-order-home:hover { border-color: rgb(167 139 250 / 0.5); background: rgb(167 139 250 / 0.08); color: #fff; }

/* Entrada suave */
@keyframes od-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
body .ig-order .ig-order-head { animation: od-rise 0.6s var(--ck-ease) both; }
@media (prefers-reduced-motion: reduce) {
  body .ig-order .ig-order-head { animation: none !important; }
  body .ig-order .ig-order-item:hover { transform: none; }
}
@media (max-width: 520px) {
  body .ig-order .ig-od__list > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  body .ig-order .ig-od__list dd { max-width: 100%; text-align: left; }
}
@media (max-width: 767px) {
  body main.ig-order.is-approved .ig-order-grid > section:last-child { order: 1 !important; }
}

/* ---------- Modal de resgate da chave (pedido) ---------- */
body .dialog.ig-od-dialog { z-index: 1000 !important; background: rgb(6 3 14 / 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
body .dialog.ig-od-dialog > div {
  border: 1px solid rgb(167 139 250 / 0.4) !important; border-radius: 22px !important;
  background: radial-gradient(110% 70% at 100% 0%, rgb(167 139 250 / 0.1), transparent 55%), linear-gradient(180deg, #1b1131, #0e0920) !important;
  box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.8), 0 30px 70px -45px rgb(167 139 250 / 0.5);
}
body .dialog.ig-od-dialog[data-state="open"] > div { animation: od-pop 0.35s var(--ck-ease, cubic-bezier(0.22, 1, 0.36, 1)) both; }
@keyframes od-pop { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
body .dialog.ig-od-dialog > div > .border-b { padding: 20px 56px 18px 22px !important; border-color: rgb(255 255 255 / 0.08) !important; }
body .dialog.ig-od-dialog h2 { font: 800 1.15rem/1.25 "Plus Jakarta Sans", Manrope, sans-serif !important; letter-spacing: -0.02em !important; }
body .dialog.ig-od-dialog > div > .border-b > button { width: 34px; height: 34px; border: 1px solid rgb(255 255 255 / 0.12); border-radius: 10px; }
body .dialog.ig-od-dialog > div > .border-b > button:hover { border-color: rgb(167 139 250 / 0.5); color: #fff; }
body .dialog.ig-od-dialog > div > .border-b + div { padding: 20px 22px 22px !important; }

body .ig-key-tools { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
body .ig-key-tools__label { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; color: #f6d680; font: 800 0.72rem/1 "JetBrains Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; }
body .ig-key-tools__label svg { width: 16px; height: 16px; }
body .ig-key-tools__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; min-width: 34px; padding: 0 10px;
  border: 1px solid rgb(255 255 255 / 0.14); border-radius: 10px; background: rgb(255 255 255 / 0.04); color: rgb(255 255 255 / 0.85);
  font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
body .ig-key-tools__btn svg { width: 15px; height: 15px; }
body .ig-key-tools__btn:hover { border-color: rgb(167 139 250 / 0.55); background: rgb(167 139 250 / 0.1); color: #fff; }
body .ig-key-tools__btn[data-is-copied="true"], body .ig-key-tools__btn[data-is-downloaded="true"] { border-color: rgb(52 211 153 / 0.6); background: rgb(52 211 153 / 0.12); color: #34d399; }

body .ig-key-list { overflow: hidden; border: 1.5px dashed rgb(167 139 250 / 0.5) !important; border-radius: 16px !important; background: rgb(167 139 250 / 0.06) !important; }
body .ig-key-list > div { gap: 12px !important; padding: 14px 14px 14px 16px !important; border-color: rgb(167 139 250 / 0.2) !important; }
body .ig-key-list .license-key { color: #fff; font: 700 1.02rem/1.4 "JetBrains Mono", monospace !important; letter-spacing: 0.04em; }
body .ig-key-list [data-action="copy"] {
  display: grid; flex: none; place-items: center; width: 34px; height: 34px; border: 1px solid rgb(167 139 250 / 0.5); border-radius: 10px;
  background: rgb(167 139 250 / 0.14); color: #f6d680; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease;
}
body .ig-key-list [data-action="copy"]:hover { background: #f2c14e; color: #1a0b3a; }
body .ig-key-list [data-action="copy"][data-is-copied="true"] { border-color: rgb(52 211 153 / 0.6); background: rgb(52 211 153 / 0.15); color: #34d399; }

body .dialog.ig-od-dialog .centralcart-content {
  padding: 14px 16px !important; border-color: rgb(255 255 255 / 0.1) !important; border-radius: 14px !important; background: rgb(255 255 255 / 0.04) !important;
  color: rgb(255 255 255 / 0.78); font-size: 0.88rem; line-height: 1.6;
}
@media (prefers-reduced-motion: reduce) { body .dialog.ig-od-dialog[data-state="open"] > div { animation: none; } }

/* Sugestões no resumo: 3 linhas finas, jogos ligados ao que está no carrinho */
body #checkout .ck-up { margin: 0; padding: 16px; border: 1px solid rgb(167 139 250 / 0.3); border-radius: 16px; background: radial-gradient(120% 140% at 0% 0%, rgb(167 139 250 / 0.1), transparent 60%), rgb(255 255 255 / 0.03); box-shadow: 0 24px 50px -36px rgb(0 0 0 / 0.8); animation: ck-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
body #checkout .ck-up.hidden { display: none; }
body #checkout .ck-up__head { margin: 0 0 9px; }
body #checkout .ck-up__eyebrow, body #checkout .ck-up__head p { display: none; }
body #checkout .ck-up h2 { margin: 0; color: #f6d680; font: 800 0.7rem/1.2 "JetBrains Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; }
body #checkout .ck-up__list { display: flex; flex-direction: column; gap: 7px; }
body #checkout .ck-offer { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 8px; border: 1px solid rgb(255 255 255 / 0.08); border-radius: 11px; background: #150f24; transition: border-color 0.2s ease; animation: ck-fade 0.35s ease both; }
body #checkout .ck-offer:hover { border-color: rgb(167 139 250 / 0.5); }
body #checkout .ck-offer__thumb { position: relative; display: grid; place-items: center; width: 36px; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #0b0716; color: rgb(255 255 255 / 0.3); }
body #checkout .ck-offer__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body #checkout .ck-offer__off, body #checkout .ck-offer__kind { display: none; }
body #checkout .ck-offer__info { min-width: 0; }
body #checkout .ck-offer__name { margin: 0; overflow: hidden; color: #fff; font: 700 0.82rem/1.25 Manrope, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
body #checkout .ck-offer__price { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 0; }
body #checkout .ck-offer__price s { color: rgb(255 255 255 / 0.4); font-size: 0.68rem; }
body #checkout .ck-offer__price strong { color: #b597ff; font: 800 0.9rem/1 Manrope, sans-serif; }
body #checkout .ck-offer__add { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 11px; border: 1px solid rgb(167 139 250 / 0.55); border-radius: 9px; background: rgb(167 139 250 / 0.14); color: #f8e2a0; font: 800 0.74rem/1 Manrope, sans-serif; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease; }
body #checkout .ck-offer__add:hover { background: #f2c14e; color: #1a0b3a; }
body #checkout .ck-offer__add:active { transform: scale(0.95); }
body #checkout .ck-offer__done { display: inline-flex; align-items: center; gap: 4px; color: #34d399; font-size: 0.72rem; font-weight: 800; }
@media (max-width: 380px) { body #checkout .ck-offer__add span { display: none; } body #checkout .ck-offer__add { width: 32px; padding: 0; justify-content: center; } }
body #checkout .ck-right { position: static !important; min-width: 0; }
@media (max-width: 767px) { body #checkout .ck-right { position: static; } }

body #checkout .ig-checkout-summary {
  border-color: rgb(167 139 250 / 0.4);
}

body #checkout .ig-checkout-total {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgb(167 139 250 / 0.3);
}

body #checkout .ig-checkout-total .total-value {
  color: #f6d680;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

body .ig-checkout #pay-button:not(:disabled) {
  box-shadow: 0 6px 24px rgb(167 139 250 / 0.28);
}

body .ig-payment .ig-payment-state {
  border: 1px solid rgb(246 214 128 / 0.4);
  color: #f6d680;
}

body .ig-payment .ig-payment-copy {
  padding: 1rem;
  border: 1px solid rgb(167 139 250 / 0.35);
  border-radius: 0.875rem;
  background: rgb(167 139 250 / 0.08);
}

body .ig-order.is-approved :is(.ig-order-redeem, .ig-order-download) {
  font-weight: 800;
  box-shadow: 0 4px 16px rgb(167 139 250 / 0.24);
}

@media (max-width: 480px) {
  body .ig-payment .ig-payment-copy-controls {
    flex-direction: column;
    align-items: stretch;
  }

  body .ig-payment .ig-payment-copy-controls input {
    width: 100%;
    flex: none;
  }
}
