/**
 * escolher-pagamento.html — somente desktop (≥992px).
 * Não adicionar regras em (max-width: 991px) neste arquivo.
 */

.fe-desktop-only {
  display: none !important;
}

.fe-mobile-only {
  display: block;
}

@media only screen and (min-width: 992px) {
  .fe-mobile-only {
    display: none !important;
  }

  .fe-desktop-only.ep-pay-page-title {
    display: block !important;
  }

  #ep-pricebox-aside.fe-desktop-only {
    display: block !important;
  }

  #ep-payment-footer-button-container.fe-desktop-only {
    display: flex !important;
  }

  .ep-pay-left-col > .ep-navbar {
    display: none !important;
  }

  body[data-site="ML"][data-country="BR"] #root-app #attach.attach-page {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }

  #ep-pay-step-root.ep-pay-step-container {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    background-color: #ededed;
    padding: 32px 12px 40px;
  }

  .ep-pay-main-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    gap: 36px;
    min-height: 0;
  }

  .ep-pay-left-col {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .ep-pay-page-title {
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    color: rgba(0, 0, 0, 0.9);
    margin: 0 0 20px;
    padding: 0;
    letter-spacing: -0.02em;
  }

  .ep-main {
    padding: 0 0 24px;
    padding-bottom: 24px;
  }

  #ep-show-more {
    display: none !important;
  }

  #ep-cartoes-section.ep-accordion-content {
    grid-template-rows: 1fr !important;
  }

  #ep-cartoes-section .ep-section {
    margin-top: 0;
  }

  #root-app .ep-card {
    margin: 0 !important;
    border-radius: 6px;
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .ep-section-title {
    margin-top: 20px;
    margin-bottom: 12px;
  }

  .ep-section:first-child .ep-section-title {
    margin-top: 0;
  }

  .ep-list-item-chevron {
    display: none !important;
  }

  .ep-list-item {
    cursor: pointer;
  }

  #ep-pricebox-aside.ep-pricebox-aside.fe-card {
    flex: 0 0 360px;
    width: 360px;
    max-width: 100%;
    position: sticky;
    top: 24px;
    align-self: flex-start;
    overflow: hidden;
    zoom: 0.9;
    background-color: #f7f7f7;
    box-shadow: none !important;
  }

  .ep-pricebox-aside__header {
    padding: 16px 16px 0;
  }

  .ep-aside-section-title {
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.9);
    margin: 0 0 8px;
  }

  .ep-aside-sep {
    border: 0;
    height: 1px;
    margin: 16px 0;
    background: rgba(0, 0, 0, 0.1);
  }

  .ep-aside-sep--tight {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .ep-aside-body {
    padding: 0 16px 16px;
  }

  .ep-aside-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: rgba(0, 0, 0, 0.9);
  }

  .ep-aside-row__value {
    font-weight: 400;
    white-space: nowrap;
    text-align: right;
  }

  .ep-aside-row__value--positive {
    color: #00a650;
  }

  .ep-aside-cupom-btn {
    display: block;
    padding: 0;
    margin: 0;
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #3483fa;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
  }

  .ep-aside-cupom-btn:hover {
    color: #2968c8;
    text-decoration: none;
  }

  .ep-aside-discount {
    font-size: 15px;
    font-weight: 600;
    color: #00a650;
    white-space: nowrap;
  }

  .ep-aside-discount[hidden] {
    display: none !important;
  }

  .ep-aside-row--total {
    font-size: 18px;
    font-weight: 700;
    padding-top: 4px;
  }

  .ep-aside-row--total .ep-aside-row__value {
    font-weight: 700;
  }

  .ep-aside-pay-old {
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.45);
    text-decoration: line-through;
    margin-right: 10px;
    white-space: nowrap;
  }

  .ep-aside-pay-old[hidden] {
    display: none !important;
  }

  .ep-aside-pay-wrap {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
  }

  .ep-aside-savings {
    display: flex;
    justify-content: flex-end;
    padding: 4px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #00a650;
    -webkit-text-fill-color: #00a650;
  }

  .ep-aside-savings[hidden] {
    display: none !important;
  }

  #ep-payment-footer-button-container {
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
  }

  #ep-btn-continuar-desktop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 122px;
    height: 48px;
    padding: 0 20px;
    font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #3483fa;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1;
  }

  #ep-btn-continuar-desktop:hover {
    background: #2968c8;
  }

}
