/* MANYA Payment Options - readable Bootstrap-like checkout UI */
:root{
  --manya-green:#006b4f;
  --manya-dark:#061711;
  --manya-border:#d6e7df;
  --manya-soft:#f5faf7;
  --manya-text:#12211c;
  --manya-muted:#5b6964;
  --manya-gold:#d8aa22;
}

.woocommerce-checkout .woocommerce,
.woocommerce-order,
.woocommerce-cart .woocommerce,
.woocommerce-account .woocommerce{
  color:var(--manya-text) !important;
}

.woocommerce-checkout form.checkout{
  display:grid !important;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr) !important;
  gap:32px !important;
  align-items:start !important;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment,
.woocommerce-order .woocommerce-order-overview,
.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-customer-details{
  background:#fff !important;
  color:var(--manya-text) !important;
  border:1px solid var(--manya-border) !important;
  border-radius:28px !important;
  box-shadow:0 18px 50px rgba(0,0,0,.08) !important;
  padding:28px !important;
}

.woocommerce-checkout #order_review{
  position:sticky !important;
  top:120px !important;
  max-height:none !important;
  overflow:visible !important;
}

.woocommerce-checkout #payment{
  margin-top:18px !important;
  padding:22px !important;
}

.woocommerce-checkout #payment ul.payment_methods{
  padding:0 !important;
  border:0 !important;
  display:grid !important;
  gap:14px !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method{
  list-style:none !important;
  margin:0 !important;
}

.manya-payment-card{
  background:var(--manya-soft) !important;
  color:var(--manya-text) !important;
  border:1px solid var(--manya-border) !important;
  border-radius:18px !important;
  padding:16px 18px !important;
  transition:border-color .2s ease, background .2s ease, box-shadow .2s ease !important;
}

.manya-payment-card.is-selected{
  border-color:var(--manya-green) !important;
  background:#eefaf5 !important;
  box-shadow:0 12px 28px rgba(0,107,79,.14) !important;
}

.manya-payment-card label{
  color:var(--manya-text) !important;
  font-weight:800 !important;
  font-size:16px !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
}

.manya-payment-card input.input-radio{
  width:18px !important;
  height:18px !important;
  accent-color:var(--manya-green) !important;
}

.manya-pay-details{
  margin-top:12px !important;
  padding:14px !important;
  border-radius:16px !important;
  background:#ffffff !important;
  border:1px solid var(--manya-border) !important;
  color:var(--manya-text) !important;
}

.manya-bank-box{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:10px !important;
}

.manya-bank-box div{
  padding:12px !important;
  border-radius:14px !important;
  background:#f7fbf9 !important;
  border:1px solid var(--manya-border) !important;
}

.manya-bank-box strong,
.manya-bank-box span{
  display:block !important;
  color:var(--manya-text) !important;
}

.manya-bank-box strong{
  font-size:12px !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
  color:var(--manya-green) !important;
  margin-bottom:4px !important;
}

.manya-pay-muted{
  color:var(--manya-muted) !important;
  margin:0 0 10px !important;
  line-height:1.55 !important;
}

.woocommerce-checkout table.shop_table,
.woocommerce-order table.shop_table{
  width:100% !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  background:#fff !important;
  color:var(--manya-text) !important;
  border:1px solid var(--manya-border) !important;
  border-radius:20px !important;
  overflow:hidden !important;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td,
.woocommerce-order table.shop_table th,
.woocommerce-order table.shop_table td{
  color:var(--manya-text) !important;
  border-color:var(--manya-border) !important;
  padding:16px !important;
  vertical-align:top !important;
  background:transparent !important;
  opacity:1 !important;
}

.woocommerce-checkout table.shop_table thead th,
.woocommerce-order table.shop_table thead th{
  background:#eef5f1 !important;
  font-weight:800 !important;
}

.woocommerce-checkout .product-name,
.woocommerce-order .product-name,
.woocommerce-checkout .product-total,
.woocommerce-order .product-total{
  color:var(--manya-text) !important;
  opacity:1 !important;
}

.woocommerce-checkout .wc-item-meta,
.woocommerce-order .wc-item-meta,
.woocommerce-checkout dl.variation,
.woocommerce-order dl.variation{
  color:var(--manya-text) !important;
  opacity:1 !important;
}

.woocommerce-checkout .wc-item-meta li,
.woocommerce-order .wc-item-meta li,
.woocommerce-checkout dl.variation dt,
.woocommerce-checkout dl.variation dd,
.woocommerce-order dl.variation dt,
.woocommerce-order dl.variation dd{
  color:var(--manya-text) !important;
  opacity:1 !important;
  font-size:14px !important;
  line-height:1.5 !important;
}

.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-account input,
.woocommerce-account select,
.woocommerce-account textarea{
  background:#fff !important;
  color:var(--manya-text) !important;
  border:1px solid var(--manya-border) !important;
  border-radius:14px !important;
  padding:13px 14px !important;
}

.woocommerce-checkout label,
.woocommerce-account label,
.woocommerce-order strong,
.woocommerce-order p,
.woocommerce-order li,
.woocommerce-order td,
.woocommerce-order th{
  color:var(--manya-text) !important;
  opacity:1 !important;
}

.woocommerce-checkout button.button,
.woocommerce-checkout #place_order{
  background:var(--manya-green) !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:14px 24px !important;
  font-weight:800 !important;
  border:0 !important;
}

body.manya-dark .woocommerce-checkout #customer_details,
body.manya-dark .woocommerce-checkout #order_review,
body.manya-dark .woocommerce-checkout #payment,
body.manya-dark .woocommerce-order .woocommerce-order-overview,
body.manya-dark .woocommerce-order .woocommerce-order-details,
body.manya-dark .woocommerce-order .woocommerce-customer-details,
body.manya-dark.woocommerce-checkout #customer_details,
body.manya-dark.woocommerce-checkout #order_review,
body.manya-dark.woocommerce-checkout #payment,
body.manya-dark.woocommerce-order-received .woocommerce-order-details{
  background:#ffffff !important;
  color:#102019 !important;
  border-color:#d8e8e0 !important;
}

body.manya-dark .woocommerce-checkout table.shop_table,
body.manya-dark .woocommerce-order table.shop_table,
body.manya-dark .woocommerce-order table.shop_table td,
body.manya-dark .woocommerce-order table.shop_table th,
body.manya-dark .woocommerce-checkout table.shop_table td,
body.manya-dark .woocommerce-checkout table.shop_table th{
  background:#ffffff !important;
  color:#102019 !important;
  opacity:1 !important;
}

body.manya-dark .woocommerce-checkout table.shop_table thead th,
body.manya-dark .woocommerce-order table.shop_table thead th{
  background:#eaf4ef !important;
  color:#102019 !important;
}

body.manya-dark .manya-payment-card{
  background:#f6fbf8 !important;
  color:#102019 !important;
}

body.manya-dark .manya-payment-card.is-selected{
  background:#eaf9f2 !important;
  color:#102019 !important;
}

body.manya-dark .manya-pay-details,
body.manya-dark .manya-bank-box div{
  background:#ffffff !important;
  color:#102019 !important;
}

body.manya-dark .manya-payment-card label,
body.manya-dark .manya-pay-muted,
body.manya-dark .manya-bank-box strong,
body.manya-dark .manya-bank-box span,
body.manya-dark .woocommerce-order p,
body.manya-dark .woocommerce-order li,
body.manya-dark .woocommerce-order td,
body.manya-dark .woocommerce-order th,
body.manya-dark .woocommerce-order strong,
body.manya-dark .woocommerce-checkout .wc-item-meta,
body.manya-dark .woocommerce-order .wc-item-meta,
body.manya-dark .woocommerce-checkout dl.variation,
body.manya-dark .woocommerce-order dl.variation,
body.manya-dark .woocommerce-checkout dl.variation dt,
body.manya-dark .woocommerce-checkout dl.variation dd,
body.manya-dark .woocommerce-order dl.variation dt,
body.manya-dark .woocommerce-order dl.variation dd{
  color:#102019 !important;
  opacity:1 !important;
}

body.manya-dark .woocommerce-checkout input,
body.manya-dark .woocommerce-checkout select,
body.manya-dark .woocommerce-checkout textarea,
body.manya-dark .woocommerce-account input,
body.manya-dark .woocommerce-account select,
body.manya-dark .woocommerce-account textarea{
  background:#ffffff !important;
  color:#102019 !important;
}

@media (max-width: 991px){
  .woocommerce-checkout form.checkout{
    grid-template-columns:1fr !important;
  }
  .woocommerce-checkout #order_review{
    position:relative !important;
    top:auto !important;
  }
  .manya-bank-box{
    grid-template-columns:1fr !important;
  }
}
