/* Checkout 2026 - camada visual isolada para não alterar o restante da loja. */
.checkout-modern {
  --checkout-wine: #731d2c;
  --checkout-wine-dark: #54131f;
  --checkout-gold: #b88b4a;
  --checkout-ink: #2c2526;
  --checkout-muted: #746b6d;
  --checkout-line: #e6ded8;
  --checkout-cream: #f8f5f1;
  --checkout-white: #fff;
  background: #f4f1ed;
  color: var(--checkout-ink);
}

.checkout-modern #content { padding: 32px 0 56px; }
.checkout-modern #content > .wrapper { max-width: 1120px; }
.checkout-modern .caminho { margin-bottom: 18px; color: var(--checkout-muted); }
.checkout-modern .caminho a { color: var(--checkout-wine); }
.checkout-modern .title_interna {
  background: transparent;
  border: 0;
  box-sizing: border-box;
  float: none;
  height: auto;
  margin: 0 0 18px;
  overflow: visible;
  width: 100%;
}
.checkout-modern .title_interna h2 {
  color: var(--checkout-ink);
  font: 700 30px/1.2 'open_sansregular', Arial, sans-serif;
  letter-spacing: -.6px;
  float: none;
  margin: 0;
  text-transform: none;
}

.checkout-steps {
  align-items: center;
  background: var(--checkout-white);
  border: 1px solid var(--checkout-line);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(55, 36, 37, .05);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 24px;
  overflow: hidden;
  clear: both;
  width: 100%;
}
.checkout-step { color: var(--checkout-muted); padding: 16px 20px; position: relative; }
.checkout-step + .checkout-step { border-left: 1px solid var(--checkout-line); }
.checkout-step strong { display: block; font: 700 14px/1.2 Arial, sans-serif; }
.checkout-step span { display: block; font-size: 12px; margin-top: 3px; }
.checkout-step.is-active { background: #fbf6f0; color: var(--checkout-wine); }
.checkout-step.is-active:after { background: var(--checkout-gold); bottom: 0; content: ''; height: 3px; left: 0; position: absolute; right: 0; }

.checkout-modern .continuar_comprando {
  background: var(--checkout-wine);
  border: 1px solid var(--checkout-wine);
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(115,29,44,.14);
  clear: both;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  margin: 0 0 16px;
  padding: 10px 14px;
  text-decoration: none;
}
.checkout-modern .continuar_comprando:hover { background: var(--checkout-wine-dark); color: #fff; }

.checkout-modern table.carrinho_compras {
  background: var(--checkout-white);
  border: 1px solid var(--checkout-line);
  border-collapse: separate;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(55, 36, 37, .05);
  float: none;
  margin: 0 0 24px;
  overflow: hidden;
}
.checkout-modern table.carrinho_compras thead th {
  background: #f7f2ed;
  color: var(--checkout-muted);
  font: 700 12px/1 Arial, sans-serif;
  letter-spacing: .06em;
  padding: 15px 18px;
  text-transform: uppercase;
}
.checkout-modern table.carrinho_compras tbody td {
  background: var(--checkout-white);
  border: 0;
  border-top: 1px solid var(--checkout-line);
  font-size: 14px;
  padding: 18px;
}
.checkout-modern table.carrinho_compras tbody td img.thumb { border-radius: 10px; height: 76px; object-fit: cover; width: 76px; }
.checkout-modern table.carrinho_compras tbody td h4 { color: var(--checkout-ink); font-weight: 700; margin-top: 6px; }
.checkout-modern table.carrinho_compras tfoot td { background: #fbf9f7; border-color: var(--checkout-line); padding: 12px 18px; }
.checkout-modern table.carrinho_compras tfoot tr:last-child td { color: var(--checkout-wine); font-size: 18px; padding-bottom: 18px; padding-top: 16px; }
.checkout-modern table.carrinho_compras tbody td input[type=text] {
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 15px;
  height: 38px;
  min-height: 0;
  padding: 0 10px;
  width: 52px;
}
.checkout-modern table.carrinho_compras tbody td input[type=button] {
  background-color: #d70b2d;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  height: 38px;
  margin-left: 2px;
  width: 38px;
}

.checkout-modern #bt_cadastro,
.checkout-modern #area_cadastro,
.checkout-modern #area_endereco,
.checkout-modern #area_pagamento {
  background: var(--checkout-white);
  border: 1px solid var(--checkout-line);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(55, 36, 37, .05);
  box-sizing: border-box;
  clear: both;
  float: none;
  margin: 0 0 20px;
  overflow: hidden;
  padding: 24px;
  width: 100%;
}
.checkout-modern #bt_cadastro {
  height: auto;
  min-height: 112px;
  overflow: visible;
  text-align: center;
}
.checkout-modern #bt_cadastro p { margin: 0 0 18px; }
.checkout-modern #bt_cadastro a {
  background-image: none;
  border-radius: 9px;
  box-sizing: border-box;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  margin: 4px;
  min-width: 210px;
  padding: 13px 18px;
  text-decoration: none;
}
.checkout-modern #bt_cadastro a.login2 {
  background: var(--checkout-wine);
  border: 1px solid var(--checkout-wine);
  color: #fff;
  padding: 13px 18px;
}
.checkout-modern #bt_cadastro a.cadastro {
  background: #fff;
  border: 1px solid var(--checkout-wine);
  color: var(--checkout-wine);
  padding: 13px 18px;
}
.checkout-modern #bt_cadastro a.login2:hover { background: var(--checkout-wine-dark); }
.checkout-modern #bt_cadastro a.cadastro:hover { background: #fbf3ed; }
.checkout-modern #area_cadastro h3,
.checkout-modern #area_endereco h3,
.checkout-modern #area_pagamento > h3 {
  color: var(--checkout-ink);
  font: 700 20px/1.2 Arial, sans-serif;
  margin: 0 0 22px;
}
.checkout-modern #area_cadastro h3:before,
.checkout-modern #area_endereco h3:before,
.checkout-modern #area_pagamento > h3:before {
  background: var(--checkout-wine);
  border-radius: 50%;
  color: #fff;
  display: inline-grid;
  font-size: 13px;
  height: 28px;
  margin-right: 9px;
  place-items: center;
  vertical-align: 2px;
  width: 28px;
}
.checkout-modern #area_cadastro h3:before { content: '1'; }
.checkout-modern #area_endereco h3:before { content: '2'; }
.checkout-modern #area_pagamento > h3:before { content: '3'; }

/* Grade do cadastro: elimina as larguras fixas e floats do tema antigo. */
.checkout-modern #area_cadastro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 16px;
}
.checkout-modern #area_cadastro > h3 { grid-column: 1 / -1; }
.checkout-modern #area_cadastro #bt_cadastro2,
.checkout-modern #area_cadastro .pessoa_carrinho,
.checkout-modern #area_cadastro .empresa_carrinho { display: contents; }
.checkout-modern #area_cadastro > div[style*="clear"] { display: none; }
.checkout-modern #area_cadastro p {
  float: none;
  margin: 0;
  padding: 0;
  width: auto;
}
.checkout-modern #area_cadastro p.p { grid-column: span 3; width: auto; }
.checkout-modern #area_cadastro p.m { grid-column: span 4; width: auto; }
.checkout-modern #area_cadastro p.g { grid-column: span 6; width: auto; }
.checkout-modern #area_cadastro p.full { grid-column: 1 / -1; width: auto; }
.checkout-modern #area_cadastro #bt_cadastro2 p { grid-column: span 2; }
.checkout-modern #area_cadastro input[type=text],
.checkout-modern #area_cadastro input[type=password],
.checkout-modern #area_cadastro input[type=email],
.checkout-modern #area_cadastro select { width: 100%; }
.checkout-modern #area_cadastro p.full label { align-items: center; display: flex; gap: 8px; }

/* EndereÃ§o: CEP/nÃºmero compactos, endereÃ§o amplo e demais campos alinhados. */
.checkout-modern #area_endereco {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 16px;
}
.checkout-modern #area_endereco > h3 { grid-column: 1 / -1; }
.checkout-modern #area_endereco p {
  float: none;
  margin: 0;
  padding: 0;
  width: auto;
}
.checkout-modern #area_endereco p.p { grid-column: span 2; width: auto; }
.checkout-modern #area_endereco p.m { grid-column: span 4; width: auto; }
.checkout-modern #area_endereco p.g { grid-column: span 6; width: auto; }
.checkout-modern #area_endereco p.full { grid-column: 1 / -1; width: auto; }
.checkout-modern #area_endereco input[type=text],
.checkout-modern #area_endereco input[type=password],
.checkout-modern #area_endereco select,
.checkout-modern #area_endereco p input[type=text].cep { float: none; width: 100%; }

.checkout-modern #area_cadastro p,
.checkout-modern #area_endereco p { box-sizing: border-box; padding-right: 14px; }
.checkout-modern #area_cadastro p label,
.checkout-modern #area_endereco p label,
.checkout-modern #area_pagamento p label { color: var(--checkout-muted); font-weight: 700; }
.checkout-modern #area_cadastro input[type=text],
.checkout-modern #area_cadastro input[type=password],
.checkout-modern #area_cadastro select,
.checkout-modern #area_endereco input[type=text],
.checkout-modern #area_endereco select,
.checkout-modern #area_pagamento p input[type=text],
.checkout-modern #area_pagamento p select {
  border: 1px solid #d8cfca;
  border-radius: 8px;
  box-sizing: border-box;
  height: 44px;
  padding: 0 12px;
}
.checkout-modern input:focus,
.checkout-modern select:focus { border-color: var(--checkout-wine) !important; box-shadow: 0 0 0 3px rgba(115,29,44,.1); outline: 0; }

.checkout-modern #area_pagamento { border-top: 1px solid var(--checkout-line); padding: 24px; }
.checkout-modern #area_pagamento h4.leg { display: none; }
.checkout-modern #area_pagamento h4.total { color: var(--checkout-wine); float: none; font: 700 22px/1.3 Arial, sans-serif; margin: -49px 0 24px; text-align: right; }
.checkout-modern #area_pagamento h4.total small { color: var(--checkout-muted); display: block; font-size: 11px; font-weight: 400; }
.checkout-modern #area_pagamento .box_car { background: transparent; border: 0; box-sizing: border-box; float: none; padding: 0; width: 100%; }
.checkout-modern #area_pagamento .box_car > p { color: var(--checkout-muted); margin: 0 0 14px; }
.checkout-modern #area_pagamento .box_car .form_dir { background: transparent; border: 0; box-sizing: border-box; float: none; margin: 0; padding: 0; width: 100%; }
.checkout-modern #area_pagamento .form_dir > label {
  align-items: center;
  background: #fff;
  border: 1px solid var(--checkout-line);
  border-radius: 10px;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  margin: 0 0 10px;
  min-height: 58px;
  padding: 12px 14px;
  transition: border-color .15s ease, background .15s ease;
  width: 100%;
}
.checkout-modern #area_pagamento .form_dir > label:hover,
.checkout-modern #area_pagamento .form_dir > label:has(input:checked) { background: #fbf6f0; border-color: var(--checkout-wine); }
.checkout-modern #area_pagamento .form_dir > label > img:first-child { display: none; }
.checkout-modern #area_pagamento .form_dir input[type=radio] { accent-color: var(--checkout-wine); float: none; height: 18px; margin: 0 12px 0 0; width: 18px; }
.checkout-modern #area_pagamento .box_car .form_dir .preco { color: var(--checkout-ink); margin: 0; }

.checkout-modern #area_pagamento .payment-credit-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.checkout-modern #area_pagamento .payment-credit-choice__item {
  background: #fff;
  border: 2px solid var(--checkout-line);
  border-radius: 12px;
  box-sizing: border-box;
  color: var(--checkout-ink);
  cursor: pointer;
  align-items: flex-start;
  display: grid;
  font-family: Arial, sans-serif;
  gap: 12px;
  grid-template-columns: 20px minmax(0, 1fr);
  min-height: 92px;
  padding: 18px;
  text-align: left;
  text-decoration: none;
  width: 100%;
}
.checkout-modern #area_pagamento .payment-credit-choice__control {
  accent-color: var(--checkout-wine);
  height: 18px;
  margin: 2px 0 0;
  width: 18px;
}
.checkout-modern #area_pagamento .payment-credit-choice__copy { min-width: 0; }
.checkout-modern #area_pagamento .payment-credit-choice__item:hover {
  background: #fbf6f0;
  border-color: #caa7ad;
}
.checkout-modern #area_pagamento .payment-credit-choice__item.is-active {
  background: #fbf3ed;
  border-color: var(--checkout-wine);
  box-shadow: 0 0 0 3px rgba(115,29,44,.08);
}
.checkout-modern #area_pagamento .payment-credit-choice__item:has(.payment-credit-choice__control:checked) {
  background: #fbf3ed;
  border-color: var(--checkout-wine);
  box-shadow: 0 0 0 3px rgba(115,29,44,.08);
}
.checkout-modern #area_pagamento .payment-credit-choice__item strong {
  color: var(--checkout-wine);
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.checkout-modern #area_pagamento .payment-credit-choice__item span {
  color: var(--checkout-muted);
  display: block;
  font-size: 13px;
  line-height: 1.4;
}
.checkout-modern #area_pagamento .form_dir > label.legacy-two-card-option { display: none; }

.checkout-modern #area_pagamento .payment-single-options {
  background: #faf8f6;
  border: 1px solid var(--checkout-line);
  border-radius: 12px;
  display: none;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 22px;
  padding: 18px;
}
.checkout-modern #area_pagamento .payment-single-options.is-open { display: grid; }
.checkout-modern #area_pagamento .payment-single-options h5 {
  color: var(--checkout-ink);
  font: 700 16px/1.3 Arial, sans-serif;
  grid-column: 1 / -1;
  margin: 0 0 5px;
}
.checkout-modern #area_pagamento .payment-single-options > label.lista_pgto {
  align-items: center;
  background: #fff;
  border: 1px solid var(--checkout-line);
  border-radius: 9px;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  float: none;
  height: auto;
  margin: 0;
  min-height: 76px;
  padding: 12px;
  width: 100%;
}
.checkout-modern #area_pagamento .payment-single-options > label.lista_pgto:hover,
.checkout-modern #area_pagamento .payment-single-options > label.lista_pgto:has(input:checked) {
  background: #fbf3ed;
  border-color: var(--checkout-wine);
}
.checkout-modern #area_pagamento .payment-single-options > label.lista_pgto > img:first-child { display: none; }
.checkout-modern #area_pagamento .payment-single-options > label.lista_pgto input[type=radio] {
  accent-color: var(--checkout-wine);
  flex: 0 0 auto;
  margin: 0 10px 0 0;
}
.checkout-modern #area_pagamento .payment-single-options > label.lista_pgto img.cartao {
  float: none;
  margin-right: 10px;
  max-width: 54px;
}
.checkout-modern #area_pagamento .payment-single-options > label.lista_pgto span {
  color: var(--checkout-muted);
  float: none;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

.checkout-modern #area_pagamento .single-card-form {
  background: #fff;
  border: 1px solid var(--checkout-line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
  padding: 20px;
}
.checkout-modern #area_pagamento .single-card-form p { float: none; margin: 0; width: auto; }
.checkout-modern #area_pagamento .single-card-form p.m { grid-column: span 6; width: auto; }
.checkout-modern #area_pagamento .single-card-form p.p { grid-column: span 3; width: auto; }
.checkout-modern #area_pagamento .single-card-form p.single-card-cvv { grid-column: span 4; }
.checkout-modern #area_pagamento .single-card-form p.full { grid-column: 1 / -1; width: auto; }
.checkout-modern #area_pagamento .single-card-form > div[style*="clear"] { display: none; }
.checkout-modern #area_pagamento .single-card-form input[type=text],
.checkout-modern #area_pagamento .single-card-form select { box-sizing: border-box; width: 100% !important; }
.checkout-modern #area_pagamento .single-card-form .single-card-expiry {
  display: grid;
  grid-column: span 8;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.checkout-modern #area_pagamento .single-card-form .single-card-expiry label { grid-column: 1 / -1; }
.checkout-modern #area_pagamento .single-card-form .single-card-expiry select.mes,
.checkout-modern #area_pagamento .single-card-form .single-card-expiry select.ano {
  display: block;
  min-width: 0;
  width: 100% !important;
}

.checkout-modern .area_submit { clear: both; padding: 4px 0 0; text-align: right; }
.checkout-modern .area_submit .finalizar,
.checkout-modern input.finalizar,
.checkout-modern .bt_pagar_novamente {
  align-items: center;
  background: var(--checkout-wine);
  border: 0;
  border-radius: 9px;
  box-shadow: 0 7px 18px rgba(115,29,44,.18);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: 700 15px/1 Arial, sans-serif;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  text-decoration: none;
  text-transform: none;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
  vertical-align: middle;
}
.checkout-modern .area_submit .finalizar:hover,
.checkout-modern input.finalizar:hover,
.checkout-modern .bt_pagar_novamente:hover {
  background: var(--checkout-wine-dark);
  box-shadow: 0 9px 22px rgba(115,29,44,.25);
  color: #fff;
  transform: translateY(-1px);
}
.checkout-modern .bt_pagar_novamente:focus-visible {
  outline: 3px solid rgba(139,22,40,.3);
  outline-offset: 3px;
}
.checkout-modern .area_submit .finalizar:disabled {
  background: #9b9290;
  box-shadow: none;
  cursor: not-allowed;
}

.checkout-result {
  background: var(--checkout-white);
  border: 1px solid var(--checkout-line);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(55,36,37,.06);
  font-size: 15px;
  line-height: 1.65;
  min-height: 140px;
  padding: 32px;
  text-align: center;
}
.checkout-result p { margin: 8px 0; }
.checkout-result .payment-result-summary {
  border-top: 1px solid var(--checkout-line);
  margin-top: 28px;
  padding-top: 24px;
  text-align: left;
}
.checkout-result .payment-result-summary__header {
  background: #faf7f5;
  border: 1px solid var(--checkout-line);
  border-radius: 11px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  padding: 16px;
}
.checkout-result .payment-result-summary__header span,
.checkout-result .payment-result-card dt {
  color: var(--checkout-muted);
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.checkout-result .payment-result-summary__header strong { color: var(--checkout-ink); display: block; font-size: 15px; }
.checkout-result .payment-result-cards { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 15px; }
.checkout-result .payment-result-card { border: 1px solid var(--checkout-line); border-radius: 11px; padding: 16px; }
.checkout-result .payment-result-card__top { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
.checkout-result .payment-result-card__top > strong { color: var(--checkout-ink); font-size: 16px; }
.checkout-result .payment-result-state { border-radius: 999px; font-size: 11px; font-weight: 700; padding: 6px 9px; text-align: center; }
.checkout-result .payment-result-state.is-approved { background: #e7f5ec; color: #267344; }
.checkout-result .payment-result-state.is-denied { background: #fbe8e7; color: #a22a32; }
.checkout-result .payment-result-state.is-pending { background: #fff2d5; color: #876015; }
.checkout-result .payment-result-card dl { display: grid; gap: 10px; grid-template-columns: 1fr 1fr 1fr; margin: 15px 0 0; }
.checkout-result .payment-result-card dd { color: var(--checkout-ink); font-size: 13px; margin: 0; }
.checkout-result .payment-result-message { color: var(--checkout-muted); font-size: 12px; margin-top: 12px; }
.checkout-result .payment-result-card .bt_pagar_novamente {
  box-sizing: border-box;
  display: flex;
  font-size: 13px;
  margin-top: 15px;
  min-height: 44px;
  width: 100%;
}

.checkout-modern #area_pagamento .page { box-sizing: border-box; margin: 26px auto 0; max-width: none; padding: 0; }
.checkout-modern #area_pagamento .page__header { margin-bottom: 20px; }
.checkout-modern #area_pagamento .page__title { color: var(--checkout-ink); font-size: 24px; }
.checkout-modern #area_pagamento .total-bar,
.checkout-modern #area_pagamento .card-panel,
.checkout-modern #area_pagamento .balance-bar { border-color: var(--checkout-line); box-shadow: none; }
.checkout-modern #area_pagamento .card-panel { padding: 20px; }
.checkout-modern #area_pagamento .card-panel__number { background: var(--checkout-wine); }
.checkout-modern #area_pagamento .cards-row__joint { background: #f4e8dc; color: var(--checkout-wine); }
.checkout-modern #area_pagamento .field label { color: var(--checkout-muted); float: none; font-weight: 700; width: auto; }
.checkout-modern #area_pagamento .field input[type=text],
.checkout-modern #area_pagamento .field select { box-sizing: border-box; min-height: 44px; width: 100%; }
.checkout-modern #area_pagamento .field input[readonly] { background: #f5f2ef; color: var(--checkout-muted); }
.checkout-modern #area_pagamento .input-prefix input[type=text] { border: 0; }
.checkout-modern #area_pagamento .balance-bar { background: #fbf9f7; }
.checkout-modern #area_pagamento .balance-bar--ok { background: #edf6f1; border-color: #bdd8ca; }
.checkout-modern #area_pagamento .balance-bar__row strong { color: var(--checkout-ink); font-family: Arial, sans-serif; font-size: 13px; text-align: right; }

@media (max-width: 760px) {
  body.checkout-modern #content {
    box-sizing: border-box;
    display: block;
    float: left;
    padding: 16px 12px 36px;
    width: 100%;
  }
  .checkout-result .payment-result-summary__header,
  .checkout-result .payment-result-cards { grid-template-columns: 1fr; }
  .checkout-result .payment-result-card__top { align-items: flex-start; display: block; }
  .checkout-result .payment-result-state { display: inline-block; margin-top: 8px; }
  body.checkout-modern #content_mobile { display: none !important; }
  .checkout-modern #content { padding: 18px 12px 36px; }
  .checkout-modern .title_interna h2 { font-size: 24px; }
  .checkout-step { padding: 12px 10px; text-align: center; }
  .checkout-step span { display: none; }
  .checkout-modern .continuar_comprando {
    float: none;
    justify-content: center;
    margin: 0 0 16px auto;
    width: max-content;
  }
  .checkout-modern table.carrinho_compras thead { display: none; }
  .checkout-modern table.carrinho_compras,
  .checkout-modern table.carrinho_compras tbody { clear: both; display: block; width: 100%; }
  .checkout-modern table.carrinho_compras {
    clear: both;
    display: block;
    float: none;
    table-layout: fixed;
    width: 100% !important;
  }
  .checkout-modern table.carrinho_compras tbody tr {
    border-top: 1px solid var(--checkout-line);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 14px;
    width: auto;
  }
  .checkout-modern table.carrinho_compras tbody td {
    border: 0;
    box-sizing: border-box;
    display: block;
    padding: 8px 6px;
    text-align: left;
    width: auto !important;
  }
  .checkout-modern table.carrinho_compras tbody td:first-child {
    grid-column: 1 / -1;
    min-height: 92px;
  }
  .checkout-modern table.carrinho_compras tbody td:not(:first-child):before {
    color: var(--checkout-muted);
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 5px;
    min-width: 0;
    text-transform: uppercase;
  }
  .checkout-modern table.carrinho_compras tbody td:nth-child(3) {
    display: grid;
    grid-template-columns: 52px 38px;
    justify-content: start;
  }
  .checkout-modern table.carrinho_compras tbody td:nth-child(3):before,
  .checkout-modern table.carrinho_compras tbody td:nth-child(3) .alterar { grid-column: 1 / -1; }
  .checkout-modern table.carrinho_compras tbody td img.thumb {
    height: 72px;
    width: 72px;
  }
  .checkout-modern table.carrinho_compras tbody td h4 {
    line-height: 1.4;
    margin: 4px 0 0;
  }
  .checkout-modern table.carrinho_compras tfoot td { font-size: 13px; }
  .checkout-modern #area_cadastro,
  .checkout-modern #area_endereco,
  .checkout-modern #area_pagamento { padding: 18px; }
  .checkout-modern #area_pagamento h4.total { margin: 0 0 18px; text-align: left; }
  .checkout-modern #area_pagamento .payment-credit-choice,
  .checkout-modern #area_pagamento .payment-single-options { grid-template-columns: 1fr; }
  .checkout-modern #area_pagamento .single-card-form { grid-template-columns: 1fr; }
  .checkout-modern #area_pagamento .single-card-form p.m,
  .checkout-modern #area_pagamento .single-card-form p.p,
  .checkout-modern #area_pagamento .single-card-form p.full { grid-column: 1; }
  .checkout-modern #area_pagamento .single-card-form .single-card-expiry { grid-column: 1; }
  .checkout-modern #area_pagamento .balance-bar__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .checkout-modern #area_pagamento .balance-bar__row strong {
    line-height: 1.4;
    text-align: left;
  }
  .checkout-modern #area_cadastro p,
  .checkout-modern #area_endereco p { float: none; padding-right: 0; width: 100%; }
  .checkout-modern #area_cadastro,
  .checkout-modern #area_endereco { grid-template-columns: 1fr; row-gap: 14px; }
  .checkout-modern #area_cadastro p.p,
  .checkout-modern #area_cadastro p.m,
  .checkout-modern #area_cadastro p.g,
  .checkout-modern #area_cadastro p.full,
  .checkout-modern #area_cadastro #bt_cadastro2 p,
  .checkout-modern #area_endereco p.p,
  .checkout-modern #area_endereco p.m,
  .checkout-modern #area_endereco p.g,
  .checkout-modern #area_endereco p.full { grid-column: 1; }
  .checkout-modern .area_submit { text-align: stretch; }
  .checkout-modern .area_submit .finalizar { width: 100%; }
}

@media only screen and (max-width: 640px) {
  body.checkout-modern #content { display: block; }
}

