/* v1.4.88 checkout neutrality for plugin-driven flow */

body.rdc-checkout-fullscreen #page,
body.rdc-checkout-fullscreen .site-main,
body.rdc-checkout-fullscreen .fm-container,
body.rdc-checkout-fullscreen .fm-container--narrow,
body.rdc-checkout-fullscreen .fm-stack-lg,
body.rdc-checkout-fullscreen .content-panel,
body.rdc-checkout-fullscreen .content-panel--page,
body.rdc-checkout-fullscreen .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.rdc-checkout-fullscreen .site-main {
  padding: 0 !important;
}

body.rdc-checkout-fullscreen .page-intro,
body.rdc-checkout-fullscreen .site-header,
body.rdc-checkout-fullscreen .site-footer {
  display: none !important;
}

body.rdc-checkout-fullscreen button,
body.rdc-checkout-fullscreen .button,
body.rdc-checkout-fullscreen input[type='submit'],
body.rdc-checkout-fullscreen .wp-block-button__link,
body.rdc-checkout-fullscreen .wp-element-button {
  min-height: auto;
  padding: revert;
  border: revert;
  border-radius: revert;
  background: revert;
  color: revert;
  box-shadow: none;
  transform: none;
}

body.rdc-checkout-fullscreen input,
body.rdc-checkout-fullscreen select,
body.rdc-checkout-fullscreen textarea {
  width: revert;
  padding: revert;
  border: revert;
  border-radius: revert;
  background: revert;
  color: revert;
  box-shadow: none;
}

body.rdc-checkout-fullscreen input:focus,
body.rdc-checkout-fullscreen select:focus,
body.rdc-checkout-fullscreen textarea:focus {
  border-color: revert;
  box-shadow: revert;
}

body.rdc-checkout-fullscreen .entry-content > :first-child {
  margin-top: 0 !important;
}

body.rdc-checkout-fullscreen .entry-content > :last-child {
  margin-bottom: 0 !important;
}


/* v1.5.14 checkout review neutralization for plugin checkout block */
.rdc-card--review,
.rdc-card--review .rdc-card-body,
.rdc-card--review .rdc-order-review-wrap,
.rdc-card--review .woocommerce-checkout-review-order,
.rdc-card--review #order_review {
  background: transparent !important;
  box-shadow: none !important;
}

.rdc-card--review .shop_table.woocommerce-checkout-review-order-table {
  width: 100%;
  border: 1px solid rgba(223, 216, 203, 0.95) !important;
  border-radius: 24px !important;
  overflow: hidden;
  background: #fbfaf7 !important;
}

.rdc-card--review .shop_table thead th {
  background: #f3efe8;
  color: #17223b;
  font-weight: 800;
}

.rdc-card--review .shop_table tbody td,
.rdc-card--review .shop_table tfoot th,
.rdc-card--review .shop_table tfoot td {
  background: #fffefc;
  color: #17223b;
}

.rdc-card--review .shop_table tr.cart_item td,
.rdc-card--review .shop_table tr.cart-subtotal th,
.rdc-card--review .shop_table tr.cart-subtotal td,
.rdc-card--review .shop_table tr.fee th,
.rdc-card--review .shop_table tr.fee td,
.rdc-card--review .shop_table tr.order-total th,
.rdc-card--review .shop_table tr.order-total td {
  font-weight: 700;
}

.rdc-card--review .shop_table tr.order-total th,
.rdc-card--review .shop_table tr.order-total td {
  background: #f7f2ea;
}

.rdc-card--review .shop_table .woocommerce-shipping-methods,
.rdc-card--review #payment .wc_payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.rdc-card--review .shop_table .woocommerce-shipping-methods li,
.rdc-card--review #payment .wc_payment_methods > li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(223, 216, 203, 0.95);
  border-radius: 20px;
  background: #fff !important;
  box-shadow: none !important;
}

.rdc-card--review .shop_table .woocommerce-shipping-methods label,
.rdc-card--review #payment .wc_payment_methods > li > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  font-weight: 700;
  color: #17223b;
  cursor: pointer;
}

.rdc-card--review .shop_table .woocommerce-shipping-methods input[type='radio'],
.rdc-card--review #payment .wc_payment_methods > li > input[type='radio'] {
  margin: 0;
  flex: 0 0 auto;
}


.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping th {
  display: none !important;
}

.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping td {
  display: block !important;
  width: 100% !important;
  padding: 10px 0 0 !important;
  background: transparent !important;
}

.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping td[data-title=''] {
  width: 100% !important;
}

.rdc-card--review .shop_table .woocommerce-shipping-methods {
  width: 100% !important;
}


.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping {
  display: block !important;
  width: 100% !important;
}

.rdc-card--review .shop_table tfoot tr.woocommerce-shipping-totals.shipping > th,
.rdc-card--review .shop_table tfoot tr.woocommerce-shipping-totals.shipping > td {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.rdc-card--review .shop_table tfoot tr.woocommerce-shipping-totals.shipping > td {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping td[data-title=''] {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
}

.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping .woocommerce-shipping-methods {
  display: grid !important;
  width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
}

.rdc-card--review .shop_table .woocommerce-shipping-methods li {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  background: #fff !important;
}

.rdc-card--review .shop_table .woocommerce-shipping-methods input[type='radio'] {
  margin: 0 0 0 18px !important;
  justify-self: start;
}

.rdc-card--review .shop_table .woocommerce-shipping-methods label {
  padding: 16px 18px 16px 8px !important;
  min-width: 0;
  background: transparent !important;
  border-radius: 0 !important;
}

.rdc-card--review #payment {
  margin-top: 18px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.rdc-card--review #payment .wc_payment_methods {
  margin-bottom: 18px;
}

.rdc-card--review #payment .payment_box {
  width: 100%;
  margin: 14px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(223, 216, 203, 0.95);
  border-radius: 18px;
  background: #fffefc !important;
  color: #17223b;
}

.rdc-card--review #payment .payment_box::before,
.rdc-card--review #payment .payment_box::after {
  display: none !important;
}

.rdc-card--review #payment .form-row.place-order {
  margin-top: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.rdc-card--review #payment #place_order {
  width: 100%;
  min-height: 58px;
  border: 0 !important;
  border-radius: 20px !important;
  background: #0f1f4d !important;
  color: #fff !important;
  font-weight: 800;
  box-shadow: none !important;
}

.rdc-card--review #payment #place_order:hover,
.rdc-card--review #payment #place_order:focus {
  background: #13265d !important;
}

.rdc-card--review .pix-desconto-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(15, 118, 110, 0.3);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .rdc-card--review .shop_table .woocommerce-shipping-methods li,
  .rdc-card--review #payment .wc_payment_methods > li {
    padding: 14px 14px;
    border-radius: 18px;
  }

  .rdc-card--review .shop_table .woocommerce-shipping-methods label,
  .rdc-card--review #payment .wc_payment_methods > li > label {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .rdc-card--review #payment .payment_box {
    padding: 14px;
  }
}


.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping.fm-shipping-expanded > td {
  width: 100% !important;
  min-width: 100% !important;
}

.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping.fm-shipping-expanded > td[data-title=''] {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
}

.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping.fm-shipping-expanded .woocommerce-shipping-methods,
.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping.fm-shipping-expanded .woocommerce-shipping-methods li,
.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping.fm-shipping-expanded .woocommerce-shipping-methods label {
  width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
}


/* v1.5.18 shipping full width real table fix */
.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping.fm-shipping-expanded {
  display: table-row !important;
  width: auto !important;
}

.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping.fm-shipping-expanded > td,
.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping.fm-shipping-expanded > td[data-title=''] {
  display: table-cell !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 10px 0 0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping.fm-shipping-expanded > td[data-title=''] > .woocommerce-shipping-methods {
  width: 100% !important;
  min-width: 100% !important;
  display: grid !important;
}

.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping.fm-shipping-expanded > td[data-title=''] > .woocommerce-shipping-methods > li {
  width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
}


/* v1.5.19 shipping row extracted from table + mobile payment box below */
.rdc-card--review .shop_table tr.woocommerce-shipping-totals.shipping.fm-shipping-hidden {
  display: none !important;
}

.rdc-card--review .shop_table tr.fm-shipping-row-fullwidth > td {
  width: 100% !important;
  padding: 10px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

.rdc-card--review .shop_table tr.fm-shipping-row-fullwidth .fm-shipping-cell {
  width: 100% !important;
}

.rdc-card--review .shop_table tr.fm-shipping-row-fullwidth .woocommerce-shipping-methods {
  width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 12px !important;
}

.rdc-card--review .shop_table tr.fm-shipping-row-fullwidth .woocommerce-shipping-methods > li {
  width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .rdc-card--review #payment .wc_payment_methods > li {
    display: block !important;
  }

  .rdc-card--review #payment .wc_payment_methods > li > input[type='radio'] {
    float: none !important;
    display: inline-block !important;
    vertical-align: middle;
    margin-right: 10px !important;
  }

  .rdc-card--review #payment .wc_payment_methods > li > label {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    vertical-align: middle;
    margin-bottom: 0 !important;
  }

  .rdc-card--review #payment .payment_box {
    display: block !important;
    width: 100% !important;
    margin: 14px 0 0 !important;
  }
}
