/* JB57 — shell one-page. Isolado do theme legado. */
:root {
  --c2-cyan: #0e94c8;
  --c2-cyan-2: #00b9f0;
  --c2-teal: #0ad0c4;
  --c2-ink: #0F0F0F; /* #2a2a2a; */
  --c2-muted: #8a97a3;
  --c2-locked: #b7c3cc;
  --c2-line: #c8ccd5; /* #e4ebf0; */
  --c2-bg: #ecf0f4;
  --c2-card: #fff;
  --c2-radius: 15px;
  --c2-col-left: 540px;
  --c2-col-right: 400px;
  --c2-col-gap: 60px;
  --c2-max: calc(var(--c2-col-left) + var(--c2-col-gap) + var(--c2-col-right) + (2 * var(--c2-gutter)));
  --c2-gutter: 16px;
  --c2-header-pad-y: 1rem;
  --c2-logo-h: 35px;
  --c2-grad: linear-gradient(90deg, #0e94c8 13.42%, #0ad0c4 100%);
  --c2-shadow: 0 6px 20px rgba(20, 40, 60, 0.06);
}
@media (min-width: 991px) {
  :root { --c2-logo-h: 43px; }
}

.c2-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Lato, "Noto Sans", Arial, sans-serif;
  background: var(--c2-bg);
  color: var(--c2-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}
.c2-body *,
.c2-body *::before,
.c2-body *::after {
  box-sizing: border-box;
}
/* Substitui o [hidden] do vendor/normalize: senão display:flex/block/grid da classe vence o atributo. */
.c2-body [hidden] {
  display: none !important;
}
/* Evita vazamento de seletores globais do tema (p/span em vendor/theme.min.css) */
.c2-body p,
.c2-body span {
  font-weight: inherit;
  line-height: inherit;
  /* color: inherit; */
}
/* .c2-body a { color: inherit; text-decoration: none; } */

.c2-topbar {
  box-sizing: border-box;
  width: 100%;
  height: 70px;
  padding: 0;
  display: flex;
  align-items: center;
  background: var(--c2-grad);
  position: sticky;
  top: 0;
  z-index: 20;
}

.c2-topbar-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--c2-max);
  margin: 0 auto;
  padding: 0 var(--c2-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.c2-logo { display: block; line-height: 0; flex-shrink: 0; }
.c2-logo img { height: var(--c2-logo-h); width: auto; display: block; }

.c2-segura {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.c2-segura-icon { width: 14px; height: 17px; flex-shrink: 0; }

.c2-preview-banner {
  background: #fff6d8;
  color: #7a5b00;
  text-align: center;
  padding: 8px 12px;
  margin: 0 0 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.c2-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--c2-max);
  margin: 0 auto;
  padding: 16px var(--c2-gutter) 32px;
}

.c2-pagehead {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 0px;
}
.c2-pagetitle { display: none; }

.c2-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.c2-step {
  display: flex;
  align-items: center;
  gap: 8px;
  /* color: var(--c2-locked); */
  font-weight: 700;
  font-size: 14px;
}
.c2-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  /* background: #d5dee4; */
  background: #0D95C7;
  opacity: 40%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.c2-step.is-active { color: var(--c2-cyan); }
.c2-step.is-active .c2-step-num { background: #0D95C7; opacity: 100%; }

.c2-step-label {
  font-size: 15px;
  font-weight: 600;
  /* color: var(--c2-locked); */
  color: #0D95C7;
  opacity: 40%;
}
.c2-step.is-active .c2-step-label { color: var(--c2-cyan); opacity: 100%; }
.c2-step.is-locked .c2-step-label { color: #0D95C7; opacity: 40%; }

.c2-grid { display: grid; gap: 20px; }

.c2-card {
  background: transparent;
  border: 0;
  border-radius: var(--c2-radius);
  margin-bottom: 30px;
  box-shadow: none;
}
.c2-card-panel {
  background: var(--c2-card);
  border-radius: var(--c2-radius);
  box-shadow: var(--c2-shadow);
}
.c2-card:not(:has(.c2-card-panel)) {
  background: var(--c2-card);
  box-shadow: var(--c2-shadow);
}
.c2-card-foot { margin-top: 15px; }
.c2-card:not(.is-current) .c2-card-foot { display: none; }
.c2-card.is-locked { display: none; }
.c2-card.is-current .c2-card-head,
.c2-card.is-current .c2-ico { color: var(--c2-ink); }
.c2-card.is-current .c2-ico { opacity: 1; }

.c2-card-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 37px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.c2-card.is-current .c2-card-head { padding-bottom: 16px; }
.c2-card-head strong { font-size: 20px; font-weight: 900; }

.c2-ico {
  width: 20px;
  height: 20px;
  display: inline-flex;
  flex-shrink: 0;
  color: inherit;
}
.c2-ico svg,
.c2-ico img,
.c2-ico-img { width: 20px; height: 20px; display: block; object-fit: contain; }

.c2-card-body { padding: 8px 32px 32px; }
.c2-card[data-card="detento"] .c2-card-body { padding-bottom: 30px; }

.c2-choice { display: flex; flex-direction: column; gap: 15px; margin-bottom: 15px; }

.c2-radio {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.c2-radio input {
  appearance: none;
  -webkit-appearance: none;
  margin-top: 2px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 0;
  background: url("../img/icons/checkout/selecao-1.svg") no-repeat center / contain;
  cursor: pointer;
}
.c2-radio input:checked {
  background-image: url("../img/icons/checkout/selecao-2.svg");
}
.c2-radio input[type="radio"]:focus,
.c2-radio input[type="checkbox"]:focus {
  outline: none;
}
.c2-radio span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* line-height: 1.2rem; */
  /* gap: 4px; */
}
.c2-radio b { display: block; font-size: 16px; font-weight: 700; }
.c2-radio small { display: block; color: #bbc3d5; font-size: 14px; font-weight: 400; margin-top: 2px; }
.c2-genero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin: 8px 0 16px;
}
.c2-genero .c2-hint { width: 100%; margin: 0; }
.c2-genero > .c2-md-erro { width: 100%; flex-basis: 100%; }
.c2-genero[hidden] { display: none; }
.c2-inline-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--c2-cyan);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.c2-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 5px;
  background: #d8f8c1;
  color: #2a9f06;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
}

.c2-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0 0 0;
}
.c2-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--c2-muted); }
.c2-fields input, .c2-fields select {
  border: 1px solid var(--c2-line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  color: var(--c2-ink);
  background: #fff;
}
.c2-fields input[readonly] { background: #f4f8fb; color: var(--c2-muted); }
.c2-span2 { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .c2-fields { grid-template-columns: 1fr; }
  .c2-span2 { grid-column: auto; }
}

.c2-option-detento { align-items: flex-start; }
.c2-detento-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0px; align-items: flex-start; justify-content: flex-start; }
.c2-edit {
  align-self: flex-end;
  white-space: nowrap;
  font-weight: 400;
  color: #c8ccd5;
  font-size: 12px;
  text-decoration: none;
  border: 1px dashed #c8ccd5;
  border-radius: 5px;
  background: #fff;
  padding: 6px 12px;
  cursor: pointer;
  font-family: inherit;
}
.c2-btn-cancelar-edicao {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  border: 0;
  background: none;
  color: var(--c2-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.c2-card.is-done:not(.is-current) .c2-card-head,
.c2-card.is-done:not(.is-current) .c2-ico {
  color: var(--c2-ink);
  opacity: 1;
}
.c2-novo-toggle { margin-top: 4px; }
.c2-novo-form { margin-top: 0px; }
.c2-subtitle { margin: 16px 0 6px; color: var(--c2-cyan); font-size: 16px; }
.c2-copy { font-size: 16px; line-height: 1.4; }
.c2-hint, .c2-empty {
  color: var(--c2-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  text-align: left;
}
.c2-hint-opcional { margin-top: 0; }
.c2-frete-faltam {
  background: #e8f7ee;
  color: #1aa05a;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 800;
}
.c2-pay { margin: 12px 0 8px; gap: 22px; }
.c2-itens { list-style: none; margin: 8px 0 0; padding: 0; }
.c2-itens li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13px; color: var(--c2-muted); }
.c2-itens em { font-style: normal; }

.c2-btn {
  display: block;
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  background: var(--c2-cyan-2);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}
.c2-card[data-card="meus-dados"] .c2-btn[disabled] {
  background: #00b9f0;
  opacity: 0.2;
  cursor: default;
}
.c2-btn-finalizar {
  background: #c5e8f6;
  color: #fff;
  cursor: default;
  margin-top: 8px;
  display: none;
}
.c2-btn-desk { display: block; }
.c2-actions-mobi .c2-btn { display: none; }

.c2-sidebar { display: flex; flex-direction: column; gap: 20px; }
.c2-summary {
  padding: 8px 0px 0;
  border-top: 1px solid var(--c2-line);
}
.c2-produtos-card {
  background: var(--c2-card);
  /* box-shadow: var(--c2-shadow); */
}
.c2-keep {
  display: block;
  text-align: right;
  color: #8d95a5;
  font-weight: 400;
  font-size: 14px;
  margin: 8px 30px 16px;
  text-decoration: underline;
}
.c2-cupom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c2-muted);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: default;
}
.c2-cupom .c2-ico { width: 18px; height: 18px; }
.c2-cupom .c2-ico svg,
.c2-cupom .c2-ico img { width: 18px; height: 18px; }

.c2-summary dl { margin: 20px 30px 20px; }
.c2-summary dl > div,
.c2-resumo-linha {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
  padding: 0px 0;
  margin-bottom: 20px;
  color: var(--c2-ink);
  font-size: 14px;
}
.c2-summary dt { font-weight: 400; color: var(--c2-ink); }
.c2-summary dd { margin: 0; font-weight: 500; min-width: fit-content; }
.c2-itens-toggle summary {
  list-style: none;
  cursor: pointer;
  font-weight: 400;
}
.c2-itens-toggle summary::-webkit-details-marker { display: none; }
.c2-itens-toggle summary::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid var(--c2-muted);
  border-bottom: 1.5px solid var(--c2-muted);
  transform: rotate(45deg);
  vertical-align: 2px;
}
.c2-itens-toggle[open] summary::after { transform: rotate(-135deg); vertical-align: -1px; }

.c2-gratis { color: #2a9f06; font-weight: 500 !important; font-size: 16px !important; }
.c2-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0px;
  margin-right: 30px;
  margin-left: 30px;
  font-weight: 900;
  font-size: 18px;
}
.c2-total strong { font-size: 22px; }
.c2-parcelas { margin: 0px 0 0; text-align: right !important; color: var(--c2-muted); font-size: 13px; }

.c2-actions-mobi { margin-top: 8px;}
.c2-legal {
  margin: 14px 30px 0;
  text-align: left !important;
  color: #8d95a4;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}
.c2-legal a { color: #8d95a4; font-weight: 400; text-decoration: underline; }

.c2-trust {
  margin-top: auto;
  padding-top: 100px;
  /* border-top: 1px solid var(--c2-line); */
  text-align: center;
}
.c2-ra {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  min-height: 40px;
}
.c2-ra-fallback {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}
.c2-ra.has-widget .c2-ra-fallback { display: none; }
.c2-bandeiras {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 12px;
  max-width: 220px;
  list-style: none;
  margin: 0 auto 45px;
  padding: 0;
}
.c2-bandeiras img {
  display: block;
  height: 20px;
  width: auto;
  object-fit: contain;
}
.c2-company { display: block; color: #A1A6AF; font-size: 11px; line-height: 1.35; }
.c2-cep-txt { color: inherit; font: inherit; }
.c2-company a[href^="tel"],
.c2-company a[x-apple-data-detectors] {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
  cursor: text;
}
.c2-company-desk { display: none; }

@media (min-width: 960px) {
  .c2-pagehead {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: var(--c2-col-left);
    justify-content: space-between;
    margin: 8px 0 0;
  }
  .c2-cards {
    grid-column: 1;
    grid-row: 2;
  }
  .c2-sidebar {
    grid-column: 2;
    grid-row: 2;
  }
  .c2-pagetitle {
    display: block;
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    color: #1a1a1a;
  }
  .c2-stepper { justify-content: flex-end; }
  .c2-grid {
    margin-bottom: 80px;
    grid-template-columns: var(--c2-col-left) var(--c2-col-right);
    justify-content: center;
    align-items: start;
    column-gap: 60px;
  }
  .c2-cards { width: var(--c2-col-left); max-width: var(--c2-col-left); }
  .c2-sidebar { width: var(--c2-col-right); }
  .c2-md input,
  .c2-md select,
  .c2-fields input,
  .c2-fields select { width: 100%; }
  .c2-btn-desk { display: block; }
  .c2-btn-finalizar { display: block; }
  .c2-actions-mobi { display: none; }
  .c2-sidebar {
    position: sticky;
    top: 70px;
    align-self: start;
  }
  .c2-summary {
    background: #fff;
    border: 0;
    border-radius: var(--c2-radius);
    box-shadow: var(--c2-shadow);
    padding: 20px 0px 22px;
  }
  .c2-produtos-card {
    border-radius: var(--c2-radius);
    overflow: hidden;
  }
  .c2-keep { margin-top: 0; }
  .c2-company { display: block; font-size: 13px; }
  .c2-company-desk { display: inline; }
  .c2-company-mobi { display: none; }
}

/* F1.10 — Entrega concluída + primeiro acesso Detento/Visitante */
.c2-card-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.c2-card-top-main { flex: 1; min-width: 0; }
.c2-card-top .c2-card-head { width: auto; padding-right: 0; }

.c2-done-summary,
.c2-btn-alterar { display: none; }
.c2-done-summary { padding: 0 0 40px 32px; }
.c2-done-summary b { display: block; font-size: 14px; font-weight: 700; }
.c2-done-summary small { display: block; color: var(--c2-muted); font-size: 14px; font-weight: 400; margin-top: 0px; }

.c2-btn-alterar {
  flex-shrink: 0;
  margin: 0 24px 40px 0;
  padding: 6px 14px;
  border: 1px dashed #c8ccd5;
  border-radius: 5px;
  background: #fff;
  color: #c8ccd5;
  font: inherit;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
}

.c2-card.is-done:not(.is-current) .c2-card-body { display: none; }
.c2-card.is-keep-open .c2-card-body { display: block; }
.c2-card.is-done:not(.is-current) .c2-done-summary,
.c2-card.is-done:not(.is-current) .c2-btn-alterar { display: block; }
.c2-card.is-done:not(.is-current) .c2-card-head { padding-bottom: 16px; cursor: default; }
.c2-card.is-done.is-current .c2-done-summary,
.c2-card.is-done.is-current .c2-btn-alterar { display: none; }

.c2-block { margin-top: 28px; }
.c2-block-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--c2-ink);
}
.c2-block-head strong { font-size: 20px; font-weight: 900; }

.c2-fields-stack { grid-template-columns: 1fr; }
.c2-fields-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}
.c2-fields-split label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--c2-muted); }
.c2-fields-split input {
  border: 1px solid var(--c2-line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  color: var(--c2-ink);
  background: #fff;
}

/* F1.15 — inputs outlined (Material Design) */
.c2-md {
  position: relative;
  margin: 8px 0 6px;
}
.c2-md.c2-span2 { grid-column: 1 / -1; }
.c2-md input,
.c2-md select {
  width: 100%;
  box-sizing: border-box;
  height: 56px;
  padding: 16px 16px 12px;
  border: 1px solid #c5ced6;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--c2-ink);
  outline: none;
  appearance: none;
}
.c2-md select {
  padding-right: 36px;
  background-image: none;
}
.c2-md label,
.c2-fields .c2-md label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: auto;
  padding: 0 6px;
  margin: 0;
  background: transparent;
  color: #8d95a5;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  transition: top 0.18s ease, font-size 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.c2-md.is-filled label,
.c2-md.is-focused label,
.c2-md input:focus + label,
.c2-md select:focus + label,
.c2-md input:not(:placeholder-shown) + label,
.c2-md select:not([value=""]) + label {
  top: -6px;
  font-size: 12px;
  background: #fff;
}
.c2-md input:focus,
.c2-md select:focus {
  border-color: #03b9f0;
  border-width: 1px;
}
.c2-md input:focus + label,
.c2-md select:focus + label { color: #03b9f0; }
.c2-md.is-err input,
.c2-md.is-err select,
.c2-md.is-err input:focus,
.c2-md.is-err select:focus {
  border-color: #e5364b;
  border-width: 1px;
}
.c2-md.is-err label,
.c2-md.is-err .c2-md-help,
.c2-md.is-err input:focus + label,
.c2-md.is-err select:focus + label { color: #e5364b !important; }
.c2-md-help {
  display: none;
  margin: 6px 4px 0;
  font-size: 12px;
  font-weight: 600;
}
.c2-md.is-err .c2-md-help { display: block; }

/* F1.16 — primeiro acesso: só CPF + Salvar */
.c2-card.is-cpf-gate.is-current .c2-card-top { display: none; }
.c2-card.is-cpf-gate.is-current .c2-card-body { padding: 22px 20px 0 20px; }
.c2-card.is-cpf-gate.is-current .c2-dados-extra { display: none; }
.c2-card.is-cpf-gate.is-current .c2-btn-salvar-dados { display: none; }
.c2-card.is-cpf-gate.is-current .c2-cpf-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.c2-card.is-cpf-gate.is-current .c2-cpf-row .c2-md { flex: 1; min-width: 0; margin: 0; }
.c2-card.is-cpf-gate.is-current .c2-btn-salvar-cpf {
  display: block;
  width: auto;
  margin: 0;
  padding: 16px 28px;
  flex-shrink: 0;
  height: 56px;
  box-sizing: border-box;
}
.c2-btn-salvar-cpf { display: none; }

/* Pagamento visível com CPF ainda pendente */
.c2-card.is-pay-preview .c2-card-body { display: block; }
.c2-card.is-pay-preview .c2-card-head,
.c2-card.is-pay-preview .c2-ico { color: var(--c2-ink); opacity: 1; }
.c2-pay.is-gated { pointer-events: none; opacity: 0.72; }

.c2-pay-opt { align-items: center; gap: 14px; }
.c2-pay-opt b { display: inline; font-weight: 700; }
.c2-pay-ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex-shrink: 0;
  color: var(--c2-ink);
  line-height: 0;
  flex-direction: row;
}
.c2-pay-ico svg,
.c2-pay-ico img { width: 22px; height: 22px; display: block; object-fit: contain; }
.c2-pay-opt > span:not(.c2-pay-ico) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.c2-pay-opt small {
  font-size: 13px;
  font-weight: 400;
  color: #8d95a5;
}
.c2-pay-opt .c2-badge { margin-top: 0; }
.c2-btn-pay-inner { margin-top: 20px; }

.c2-highlight {
  margin: 0 0 16px;
  padding: 4px 24px;
  border-radius: 4px;
  background: #d4eef8;
  color: #0C94C8;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}
.c2-highlight p { margin: 0; color: #0C94C8; font-weight: 400;}

.c2-produtos-card .c2-card-head {
  cursor: default;
  padding-bottom: 8px;
  width: 100%;
  justify-content: flex-start;
}
.c2-produtos-card .c2-card-head strong { flex: 1; min-width: 0; }
.c2-produtos-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 30px 40px;
}
.c2-produtos-card .c2-btn-alterar {
  display: block;
  margin: 0 0 0 auto;
  align-self: flex-end;
  text-decoration: none;
  text-align: center;
  align-content: center;
}
.c2-produtos-itens {
  list-style: none;
  margin: 0;
  padding: 0 32px 8px;
  width: 100%;
  box-sizing: border-box;
}
.c2-produtos-itens li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: baseline;
  padding: 0px 8px 0px 4px;
  font-size: 14px;
  color: var(--c2-muted);
  border-bottom: 1px dashed #eef1f4;
  border-top: 0;
}
.c2-prod-qtd { margin-right: 12px; display: inline-block; }
.c2-produtos-itens li strong:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.c2-produtos-itens li strong:last-child {
  white-space: nowrap;
  justify-self: end;
}
.c2-produtos-itens strong { color: var(--c2-muted); font-weight: 100; }
.c2-produtos-itens em { font-style: normal; color: var(--c2-muted); font-weight: 100; }
.c2-ver-mais {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #8d95a5;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.c2-ver-mais::after {
  content: "";
  width: 11px;
  height: 7px;
  background: url("../img/icons/checkout/seta.svg") no-repeat center / contain;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
  opacity: 0.45;
  filter: grayscale(1);
}
.c2-ver-mais.is-open::after { transform: rotate(0deg); }

.c2-shell[data-card="pagamento"] .c2-actions-mobi { display: none; }

.c2-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.c2-highlight-ico { width: 18px; height: 18px; color: var(--c2-cyan); }
.c2-highlight-ico svg,
.c2-highlight-ico img { width: 18px; height: 18px; object-fit: contain; }

.c2-pay-extra .c2-card-head { cursor: default; }
#card-nf { display: none !important; }
#card-nf.is-boleto .c2-nf-extra { display: none; }
.c2-subtitle-line {
  margin: 20px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c2-line);
  color: var(--c2-ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
}
.c2-btn-finalizar-pay {
  display: block;
}
.c2-btn-finalizar-resumo {
  margin-top: 57px;
  background: #0d95c7;
  opacity: 0.4;
}
.c2-shell[data-pay] .c2-btn-finalizar-resumo {
  background: var(--c2-cyan-2);
  opacity: 1;
}

.c2-cupom { cursor: pointer; }
.c2-cupom-box { margin: 0 30px 0px; }
.c2-cupom-box.is-open .c2-cupom,
.c2-cupom-box.is-applied .c2-cupom { margin-bottom: 0; }
.c2-cupom-box.is-applied {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.c2-cupom-box.is-applied .c2-cupom { margin: 0; flex: 1; }
.c2-cupom-x {
  border: 0;
  background: none;
  color: var(--c2-muted);
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.c2-cupom-x img { width: 10px; height: 10px; display: block; }
.c2-cupom-valor { margin-left: auto; font-size: 14px; }
#card-cartao .c2-card-body > .c2-fields > .c2-fields {
  grid-template-columns: 2fr 1fr;
}
.c2-cupom-form {
  display: flex;
  gap: 0;
  width: 100%;
  margin: 10px 0 0;
  border: 1px solid #A1A6AF;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  max-height: 56px;
  opacity: 1;
  transition: opacity 0.28s ease, max-height 0.28s ease, margin 0.28s ease;
}
.c2-cupom-form.is-closing,
.c2-body .c2-cupom-form[hidden] {
  display: flex !important;
  opacity: 0;
  max-height: 0;
  margin: 0;
  border-width: 0;
  pointer-events: none;
}
.c2-cupom-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 12px 14px;
  font: inherit;
  font-size: 13px;
  outline: none;
  height: 40px;
}
.c2-cupom-acao {
  border: 0;
  padding: 8px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  height: 40px;
  border-color: #A1A6AF;
}
.c2-cupom-acao.is-cancel { background: #c5ced6; }
.c2-cupom-acao.is-apply { background: var(--c2-cyan-2); }

.c2-resumo-toggle {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--c2-ink);
  cursor: pointer;
}
.c2-resumo-toggle::after {
  content: "";
  display: inline-block;
  width: 11px;
  height: 7px;
  margin-left: 6px;
  background: url("../img/icons/checkout/seta.svg") no-repeat center / contain;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
  vertical-align: 1px;
  opacity: 0.55;
}
.c2-resumo-toggle.is-open::after { transform: rotate(0deg); }
.c2-resumo-breakdown,
.c2-frete-hint {
  display: block;
  margin-top: 4px;
  color: var(--c2-muted);
  /* font-size: 12px; */
  font-weight: 400;
}
.c2-resumo-frete s {
  color: var(--c2-muted);
  font-weight: 400;
  margin-right: 6px;
}

.c2-card-erro {
  margin: 16px 0 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fdecea;
  color: #c62828;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.c2-actions-mobi .c2-card-erro { margin: 0 0 10px; }
.c2-summary .c2-card-erro { margin: 12px 0 0; }
.c2-card.is-saving .c2-btn,
.c2-btn.is-busy { opacity: 0.65; pointer-events: none; }

.c2-pix-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 12px 0 16px;
}
.c2-pix-qr-wrap img {
  width: 220px;
  height: 220px;
  background: #fff;
}
.c2-pix-copia-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}
.c2-pix-copia input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid #d5dde4;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
}

/* Homologação 2 — mobile + desktop (homologacao-ajustes-2 / desktop-2) */
.c2-shell { padding-left: 16px; padding-right: 16px; }
.c2-card-panel,
.c2-card:not(:has(.c2-card-panel)),
.c2-produtos-card,
.c2-summary { box-shadow: none; margin-top: 0px; margin-bottom: 0px;}
.c2-card-head strong,
.c2-block-head strong { font-size: 20px; font-weight: 800; }
.c2-radio b { font-size: 15px; font-weight: 700; }
.c2-radio small { color: #bbc3d5; }
.c2-md label,
.c2-fields .c2-md label {
  top: 28px;
  transform: translateY(-50%);
  color: #b6bfce;
  font-weight: 400;
}
.c2-md.is-filled label,
.c2-md.is-focused label,
.c2-md input:focus + label,
.c2-md select:focus + label,
.c2-md input:not(:placeholder-shown) + label {
  top: -6px;
  transform: none;
  font-weight: 400;
}
.c2-md select:not([value=""]) + label { top: 28px; transform: translateY(-50%); font-weight: 400; }
.c2-md.is-filled select + label,
.c2-md select:focus + label {
  top: 0;
  transform: none;
}
.c2-md input::placeholder,
.c2-cupom-form input::placeholder {
  color: #b6bfce;
  font-weight: 400;
  opacity: 1;
}
.c2-md-erro {
  display: none;
  margin: 2px 4px 2px;
  color: #e5364b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}
.c2-md-erro[hidden] { display: none !important; }
.c2-md.is-err > .c2-md-erro,
.c2-genero.is-err > .c2-md-erro,
.c2-cupom-box.is-err > .c2-md-erro { display: block !important; }
.c2-md.is-err .c2-md-help { display: none; }
.c2-cupom-box.is-err .c2-cupom-form input {
  border-color: #e5364b;
}
.c2-btn[disabled],
.c2-shell[data-card="pagamento"] .c2-btn-finalizar-resumo:not(.is-ready) {
  background: #00b9f0;
  opacity: 0.2;
  color: #fff;
  cursor: default;
}
.c2-btn-resumo-next,
.c2-legal-resumo { display: none; }
.c2-btn-finalizar-coluna:not(.is-ready) {
  background: #00B9F0;
  opacity: 0.2;
  cursor: default;
}
.c2-card-foot { padding: 0 32px 24px; margin-top: 0; }
.c2-card.is-editing .c2-legal { display: none; }
.c2-hint,
.c2-hint-opcional,
.c2-hint-endereco {
  margin-top: 0px;
  line-height: 1.35;
}
.c2-hint-opcional { margin: 4px 0 12px; }
.c2-hint-endereco { margin: 2px 10px 8px;   font-size: 13px !important;}
.c2-edit,
.c2-btn-alterar {
  height: 45px;
  width: 80px;
  padding: 8px 14px;
  border-width: 1px;
  border-style: dashed;
  border-color: #c8ccd5;
}
.c2-pay-imediata { 
  color: #2a9f06 !important; 
  /* text-decoration: underline; */
  background: #d8f8c1;
  padding: 3px 8px;
  border-radius: 5px; }
.c2-produtos-itens li { white-space: nowrap; }
.c2-produtos-itens li strong:first-child,
.c2-prod-nome {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c2-highlight {
  padding: 6px 8px;
  margin: -10px 0 20px 0;
}
.c2-subtitle-line { border-bottom: 0; }
.c2-keep { text-decoration: underline; }
/* .c2-summary { border-top: 2px solid #c8ccd5; } */
.c2-cupom-acao.is-apply,
.c2-cupom-acao.is-cancel { background: #a1a6af; color: #fff; }
.c2-cupom-form input { 
  /* border: 2px solid #a1a6af; */
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px; }
.c2-cupom-box.is-err .c2-cupom-form input { border-color: #e5364b; }
.c2-cupom-box > .c2-md-erro { width: 100%; flex-basis: 100%; }
.c2-parcelas {
  text-align: right !important;
  color: #8D95A5;
  font-size: 13px;
  font-weight: 400 !important;
  margin: 0px 30px 0;
}
.c2-md select {
  background-image: none;
}
.c2-md:has(> select)::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 28px;
  width: 11px;
  height: 7px;
  background: url("../img/icons/checkout/seta.svg") no-repeat center / contain;
  transform: translateY(-50%) rotate(180deg);
  transition: transform 0.2s ease;
  pointer-events: none;
  z-index: 2;
}
.c2-md.is-select-open::after,
.c2-md:has(> select:open)::after {
  transform: translateY(-50%) rotate(0deg);
}
.c2-card[data-card="pagamento"] .c2-ico,
#card-cartao .c2-ico { color: #0d95c7; }
.c2-btn-finalizar-coluna {
  display: none;
  margin: 8px 0 0;
  background: #0d95c7;
  opacity: 0.4;
}
.c2-shell[data-pay] .c2-btn-finalizar-coluna.is-ready {
  background: #00b9f0;
  opacity: 1;
}
.c2-shell[data-pay="cartao"] .c2-btn-finalizar-coluna,
.c2-shell[data-pay="cartao"] .c2-btn-finalizar-resumo { display: none !important; }

@media (max-width: 959px) {
  .c2-card[data-card="entrega"].is-current .c2-card-foot { display: none; }
  .c2-card[data-card="entrega"].is-current.is-editing .c2-card-foot { display: block; }
  .c2-actions-mobi { display: none !important; }
  .c2-shell[data-card="entrega"] .c2-btn-resumo-next { display: block; }
  .c2-shell[data-card="entrega"] .c2-legal-resumo { display: block; }
  .c2-shell.is-editing-card .c2-btn-resumo-next,
  .c2-shell.is-editing-card .c2-legal-resumo { display: none !important; }
  .c2-shell:not([data-card="pagamento"]) .c2-btn-finalizar-resumo { display: none !important; }
  .c2-shell[data-card="detento"] .c2-summary,
  .c2-shell[data-card="detento"] .c2-produtos-card { display: none; }
  .c2-shell.is-detento-primeiro .c2-card[data-card="detento"] .c2-card-foot { display: none; }
  .c2-shell.is-detento-primeiro .c2-actions-mobi {
    display: block !important;
    margin: 0px 0 0;
  }
  .c2-shell.is-detento-primeiro .c2-actions-mobi .c2-btn { display: block; margin-top: -16px !important; }
  .c2-card.is-pay-preview { display: block; }
  .c2-card.is-pay-preview .c2-card-body { display: block; }
  .c2-parcelas { display: none; }
  .c2-shell[data-card="pagamento"] .c2-highlight { margin-top: 20px !important; }
}

@media (min-width: 960px) {
  .c2-pagetitle { font-size: 20px; font-weight: 800; }
  .c2-card.is-locked { display: block; }
  .c2-card.is-locked .c2-card-body,
  .c2-card.is-locked .c2-card-foot { display: none; }
  .c2-card.is-locked .c2-card-head,
  .c2-card.is-locked .c2-card-head strong,
  .c2-card.is-locked .c2-ico {
    color: #B6BFCE;
    opacity: 1;
  }
  .c2-card.is-locked .c2-ico {
    background-color: #B6BFCE;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  .c2-card.is-locked .c2-ico img {
    opacity: 0;
  }
  .c2-card.is-locked[data-card="detento"] .c2-ico {
    -webkit-mask-image: url("../img/icons/checkout/detento.svg");
    mask-image: url("../img/icons/checkout/detento.svg");
  }
  .c2-card.is-locked[data-card="meus-dados"] .c2-ico {
    -webkit-mask-image: url("../img/icons/checkout/meus-dados.svg");
    mask-image: url("../img/icons/checkout/meus-dados.svg");
  }
  .c2-card.is-locked[data-card="pagamento"] .c2-ico {
    -webkit-mask-image: url("../img/icons/checkout/pagamento-2.svg");
    mask-image: url("../img/icons/checkout/pagamento-2.svg");
  }
  .c2-actions-mobi { display: none !important; }
  .c2-btn-resumo-next,
  .c2-legal-resumo { display: none !important; }
  .c2-card[data-card="entrega"].is-current .c2-card-foot { display: block; }
  .c2-btn-finalizar-resumo { display: none; }
  .c2-btn-finalizar-coluna { display: block; }
  .c2-bandeiras {
    flex-wrap: nowrap;
    max-width: 430px;
  }
  .c2-trust { border-top-width: 2px; border-top-color: #c8ccd5; }
  .c2-summary { box-shadow: none; }
}
