/* RC — Card de Preços + Pix (escopado) */
.rc-preco-card{
  display: inline-block;
  width: auto;
  max-width: 100%;
  transform: scale(0.8);
  transform-origin: top left;
}

.rc-bloco-preco{
  display:flex;
  margin:15px 0 20px 0;
  align-items:flex-start;
  justify-content:flex-start;
  gap:40px;
  width:100%;
  max-width:none;
  font-family:inherit;
}

.rc-coluna{ display:flex; flex-direction:column; justify-content:flex-start; gap:3px; text-align:center; }
.rc-coluna:first-child{ flex:0 0 auto; padding-right:0; }
.rc-coluna:last-child{ flex:0 0 auto; padding-left:0; min-width:160px; }
.rc-divisor{ width:1px; height:60px; background:linear-gradient(to bottom, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%); opacity:0.9; margin-top:6px; }
.rc-preco-principal{ font-size:30px; font-weight:900; color:#1a237e; line-height:1.1; letter-spacing:-0.5px; }
.rc-sub{ font-size:16px; color:#555; line-height:1.3; white-space:normal; }
.rc-sub strong, .rc-sub bdi{ color:#1a237e; font-weight:700; }
.rc-label{ font-size:13px; color:#888; font-weight:600; line-height:1.1; letter-spacing:0.8px; text-transform:uppercase; margin-bottom:2px; text-align:center; }
.rc-preco-pix{ font-size:24px; font-weight:900; color:#00796b; line-height:1.1; text-align:center; }
.rc-selo{ display:block; background:#e0f2f1; color:#00796b; font-size:13px; font-weight:800; padding:6px 14px; border-radius:6px; width:max-content; margin:5px auto 0 auto; border:1px solid #00796b; box-shadow:none; }

/* Link "mais opções" + modal (escopado ao card) */
.rc-preco-card .rc-sub-text{ display:block; }
.rc-preco-card .rc-more-options{
  display:block;
  margin:6px auto 0 auto;
  padding:0;
  border:0;
  background:transparent;
  color:#1a237e;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  text-decoration:underline;
}
.rc-preco-card .rc-more-options:hover{ opacity:0.85; }

body.rc-pay-modal-open{ overflow:hidden; }

.rc-pay-modal{ display:none; position:fixed !important; inset:0 !important; z-index:2147483647 !important; }
.rc-pay-modal.is-open{ display:block; }
.rc-pay-modal__backdrop{ position:absolute; inset:0; background: rgba(0,0,0,0.48); }
.rc-pay-modal__dialog{
  position:relative;
  width:min(520px, 92vw);
  margin:8vh auto 0 auto;
  background:#fff;
  border-radius:14px;
  box-shadow:0 10px 40px rgba(0,0,0,0.18);
  overflow:hidden;
}
.rc-pay-modal__header{
  padding:14px 16px 10px 16px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid #eee;
}
.rc-pay-modal__title{ font-size:16px; font-weight:900; color:#111; line-height:1.2; }
.rc-pay-modal__close{
  width:34px; height:34px;
  border-radius:10px;
  border:1px solid #eee;
  background:#fff;
  color:#111;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.rc-pay-modal__close:hover{ background:#f7f7f7; }
.rc-pay-modal__body{ padding:12px 16px 16px 16px; }
.rc-pay-modal .rc-pay-options-inner{ overflow-x:auto; }

.rc-pay-modal .rc-pay-table{ width:100%; border-collapse:collapse; font-size:13px; }
.rc-pay-modal .rc-pay-table th{
  text-align:left;
  font-size:12px;
  color:#777;
  font-weight:800;
  padding:6px 4px;
  border-bottom:1px solid #eaeaea;
  white-space:nowrap;
}
.rc-pay-modal .rc-pay-table td{
  padding:7px 4px;
  border-bottom:1px solid #f0f0f0;
  vertical-align:middle;
  white-space:nowrap;
}
.rc-pay-modal .rc-pay-table tr:last-child td{ border-bottom:0; }
.rc-pay-modal .rc-pay-row-pix td{ font-weight:800; }
.rc-pay-modal .rc-pay-fee{ color:#00796b; font-weight:900; }

@media (max-width: 600px){
  .rc-pay-modal__dialog{ margin-top:6vh; width:94vw; }
  .rc-pay-modal__header{ padding:14px 14px 10px 14px; }
  .rc-pay-modal__body{ padding:12px 14px 14px 14px; }
}


.rc-preco-mini{ text-align:center; margin-top:8px; line-height:1.3; }
.rc-mini-pix{ font-size:16px; font-weight:800; color:#00796b; white-space:nowrap; }
.rc-mini-parcela{ font-size:14px; color:#666; }

.pix-desconto-checkout{
  display:inline-flex; align-items:center; justify-content:center;
  background:#e0f2f1; color:#00796b; font-weight:700; font-size:13px;
  border-radius:4px; padding:4px 10px; border:1px solid #00796b; margin-left:8px;
}

@media (max-width: 600px){
  .rc-preco-card{
    display: block;
    width: 100%;
    transform: scale(0.8);
    transform-origin: top center;
  }
  .rc-bloco-preco{
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 15px auto;
    gap: 20px;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .rc-divisor{ height:55px; }
  .rc-preco-principal{ font-size:24px; }
  .rc-preco-pix{ font-size:22px; }
}
