/* AYESH v1.0.185: COD + unavailable bKash in the same row on every screen.
   Overrides v182's mobile single-column rule and earlier generic checkout CSS.
   Only applies when the native list has exactly one real COD gateway and the
   informational bKash card was added to it (class toggled by JS).
*/
html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
#payment ul.payment_methods.ayesh-v185-inline-payment {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:auto!important;
  gap:12px!important;
  align-items:stretch!important;
  align-content:start!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  box-sizing:border-box!important;
}
html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
#payment ul.payment_methods.ayesh-v185-inline-payment > li {
  display:flex!important;
  float:none!important;
  clear:none!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  align-self:stretch!important;
  min-width:0!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  min-height:142px!important;
  margin:0!important;
  padding:12px 9px!important;
  box-sizing:border-box!important;
  border-radius:16px!important;
  overflow:hidden!important;
  text-align:center!important;
}
html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
#payment ul.payment_methods.ayesh-v185-inline-payment > li.ayesh-v183-bkash-unavailable {
  grid-column:1!important;
  grid-row:1!important;
  order:0!important;
  gap:7px!important;
  border:2px solid #e3e3e7!important;
  background:#fbfbfc!important;
  opacity:1!important;
  cursor:not-allowed!important;
  color:#777!important;
  box-shadow:none!important;
}
html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
#payment ul.payment_methods.ayesh-v185-inline-payment > li.payment_method_cod {
  grid-column:2!important;
  grid-row:1!important;
  order:1!important;
  border:2px solid #151515!important;
  background:#fff!important;
  box-shadow:0 0 0 3px #ededed!important;
}
html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
#payment ul.payment_methods.ayesh-v185-inline-payment > li.payment_method_cod > label {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-width:0!important;
  min-height:82px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:6px 3px!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  font-size:15px!important;
  line-height:1.35!important;
  font-weight:750!important;
  color:#151515!important;
  text-align:center!important;
  cursor:pointer!important;
}
html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
#payment ul.payment_methods.ayesh-v185-inline-payment > li.payment_method_cod > label img {
  display:block!important;
  width:auto!important;
  max-width:90px!important;
  max-height:39px!important;
  height:auto!important;
  margin:0 auto!important;
  object-fit:contain!important;
}
html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
#payment ul.payment_methods.ayesh-v185-inline-payment > li.payment_method_cod > label:has(img):before {
  content:none!important;
  display:none!important;
}
html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
#payment ul.payment_methods.ayesh-v185-inline-payment .ayesh-v185-bkash-logo {
  display:block!important;
  position:static!important;
  flex:0 0 auto!important;
  width:auto!important;
  height:auto!important;
  max-width:min(100%,105px)!important;
  max-height:42px!important;
  margin:2px auto 0!important;
  object-fit:contain!important;
}
html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
#payment ul.payment_methods.ayesh-v185-inline-payment .ayesh-v183-bkash-name {
  display:block!important;
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:750!important;
  color:#666!important;
}
html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
#payment ul.payment_methods.ayesh-v185-inline-payment .ayesh-v183-bkash-status {
  display:inline-block!important;
  max-width:100%!important;
  padding:4px 9px!important;
  border-radius:99px!important;
  background:#f0f0f2!important;
  color:#777!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:650!important;
  white-space:nowrap!important;
}
html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
#payment ul.payment_methods.ayesh-v185-inline-payment .ayesh-v183-bkash-radio {
  display:block!important;
  position:absolute!important;
  top:11px!important;
  right:11px!important;
  width:20px!important;
  height:20px!important;
  border:2px solid #d2d4d7!important;
  border-radius:50%!important;
  background:#f7f7f7!important;
}
html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
#payment ul.payment_methods.ayesh-v185-inline-payment > li.payment_method_cod > input[name="payment_method"] {
  right:11px!important;
  top:11px!important;
}
@media (max-width: 359px) {
  html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
  #payment ul.payment_methods.ayesh-v185-inline-payment {gap:8px!important;}
  html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
  #payment ul.payment_methods.ayesh-v185-inline-payment > li {min-height:132px!important;padding:10px 5px!important;}
  html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
  #payment ul.payment_methods.ayesh-v185-inline-payment > li.payment_method_cod > label {font-size:13px!important;padding:4px 2px!important;}
  html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
  #payment ul.payment_methods.ayesh-v185-inline-payment .ayesh-v183-bkash-name {font-size:13px!important;}
  html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
  #payment ul.payment_methods.ayesh-v185-inline-payment .ayesh-v183-bkash-status {font-size:10px!important;padding:3px 6px!important;}
}
@media (prefers-reduced-motion:reduce) {
  html body.woocommerce-checkout.ayesh-v182-checkout:not(.woocommerce-order-received)
  #payment ul.payment_methods.ayesh-v185-inline-payment > li {transition:none!important;}
}
