.elementor-572 .elementor-element.elementor-element-9c44f29{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-b81f67e *//* ================== MOBILE-FIRST, NO-OVERFLOW ORDER REVIEW ================== */

/* Safety: never let the review block exceed the viewport */
.woocommerce-order-pay form#order_review,
.woocommerce-checkout div#order_review,
.woocommerce-checkout .woocommerce-checkout-review-order{
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  display:block !important;                 /* 1 column by default */
  overflow-x:hidden !important;             /* kill horizontal scroll */
}

/* Tables & cells must respect container width */
#order_review table,
#order_review table *{
  box-sizing:border-box !important;
}
#order_review table.shop_table{
  width:100% !important;
  max-width:100% !important;
  table-layout:auto !important;             /* allow wrapping */
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  overflow:hidden;                           /* keep rounded corners */
  box-shadow:0 10px 26px rgba(2,8,20,.06);
  margin:0 !important;
}
#order_review .shop_table thead th{
  background:#f8fafc;
  border:0;
  padding:12px 14px;
  font-weight:700;
  white-space:nowrap;
}
#order_review .shop_table td{
  border:0;
  border-bottom:1px dashed #e9edf3;
  padding:12px 14px;
  vertical-align:middle;
  word-break:break-word;                     /* wrap long text */
}
#order_review .shop_table tfoot tr.order-total{
  background:#eef6ff;
  font-weight:800;
}
#order_review .shop_table tfoot tr:last-child td,
#order_review .shop_table tfoot tr:last-child th{ border-bottom:0; }

/* HIDE SUBTOTAL ROW */
#order_review .shop_table tfoot .cart-subtotal{ display:none !important; }

/* ===== PRODUCT ROW FIX ===== */
#order_review .shop_table tbody td.product-name{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}
#order_review .shop_table tbody td.product-name .opc-thumb{
  flex:0 0 64px !important;
  line-height:0 !important;
}
#order_review .shop_table tbody td.product-name .opc-thumb img{
  width:64px !important; height:auto !important; border-radius:10px !important;
}
#order_review .shop_table tbody td.product-name .opc-title{
  font-weight:800 !important;
  line-height:1.25 !important;
  display:block !important;
}
#order_review .shop_table tbody td.product-total{
  white-space:nowrap !important;
  text-align:right !important;
  vertical-align:middle !important;
}
#order_review .shop_table tbody td.product-quantity{
  width:58px !important;
  min-width:58px !important;
  text-align:center !important;
  white-space:nowrap !important;
  vertical-align:middle !important;
}
#order_review .shop_table tbody td.product-total{
  width:112px !important;
  min-width:112px !important;
}
#order_review .shop_table tbody td.product-name{ width:auto !important; }
@media (max-width:480px){
  #order_review .shop_table tbody td.product-name .opc-title{
    font-size:15px !important;
    line-height:1.22 !important;
    display:-webkit-box !important;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
}

/* Payment card (mobile) */
#order_review #payment,
.woocommerce-checkout-review-order #payment{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:14px;
  box-shadow:0 10px 26px rgba(2,8,20,.06);
  margin-top:18px;                            /* spacing under table on mobile */
  width:auto !important; max-width:100% !important;
}
#payment ul.payment_methods{
  list-style:none; margin:0; padding:10px 12px;
  border:1px dashed #e9edf3; border-radius:12px; background:#fff;
}
#payment .payment_box{
  background:#f1f0f6; border:0; border-radius:10px; padding:12px 14px;
}
#payment .place-order{ margin-top:14px; }

/* Full-width primary button */
#place_order{
  width:100% !important;
  border-radius:12px; padding:12px 16px; font-weight:800;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
}
#place_order:hover{ transform:translateY(-1px); }
#place_order:active{ transform:none; }

/* ── DESKTOP: TWO COLUMNS ≥ 992px ─────────────────────────────────────────── */
@media (min-width: 992px){
  .woocommerce-order-pay form#order_review,
  .woocommerce-checkout div#order_review,
  .woocommerce-checkout .woocommerce-checkout-review-order{
    display:grid !important;
    grid-template-columns: 1.2fr .8fr !important;   /* left items | right payment */
    gap:18px !important;
    align-items:start !important;
  }
  #order_review table.shop_table,
  .woocommerce-checkout-review-order table.shop_table{
    grid-column:1 !important;
  }
  #order_review #payment,
  .woocommerce-checkout-review-order #payment{
    grid-column:2 !important;
    align-self:start !important;
    position:sticky !important; top:18px !important;
    margin-top:0 !important;
  }
}

/* ── Your smaller tweaks kept ───────────────────────────────────── */
.shop_table{ padding:10px; }
.product-name, .product-quantity, .product-total, .product-subtotal{ background:#fff !important; }
.product-subtotal{ font-size:20px !important; font-weight:600 !important; }
.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th{ border:none !important; }
.woocommerce-terms-and-conditions-wrapper{ display:none !important; }
.button.alt{
  width:100% !important; border-radius:5px !important; background:#ff9400 !important; font-weight:500 !important;
}

/* ================== FONT SCOPING (checkout / order-pay only) ================== */
/* English → Poppins */
.woocommerce-checkout #order_review :lang(en),
.woocommerce-order-pay #order_review :lang(en),
.woocommerce-checkout form.checkout :lang(en),
.woocommerce-order-pay form#order_review :lang(en){
  font-family:'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif !important;
}
/* Bangla → Anek Bangla */
.woocommerce-checkout #order_review :lang(bn),
.woocommerce-order-pay #order_review :lang(bn),
.woocommerce-checkout form.checkout :lang(bn),
.woocommerce-order-pay form#order_review :lang(bn){
  font-family:'Anek Bangla','Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif !important;
}/* End custom CSS */