/* Boeknivo 1.21 – presentatie van bevestiging, factuur- en downloadknoppen.
   Scope: checkout thank-you en WooCommerce Mijn account. Geen verkoopdata gewijzigd. */
body.woocommerce-checkout .woocommerce-order,
body.woocommerce-checkout .wc-block-order-confirmation {
  box-sizing:border-box;
  max-width:100%;
  min-width:0;
  overflow-wrap:anywhere;
  --bn4-after-blue:#206cc8;
  --bn4-after-navy:#173c70;
  --bn4-after-line:#dce6f3;
  --bn4-after-light:#f5f8fd;
}
body.woocommerce-checkout .woocommerce-order .woocommerce-notice--success,
body.woocommerce-checkout .wc-block-order-confirmation .wc-block-order-confirmation-status {
  background:var(--bn4-after-light);
  border:1px solid var(--bn4-after-line);
  border-left:4px solid var(--bn4-after-blue);
  border-radius:10px;
  padding:16px 19px;
  line-height:1.55;
  color:var(--bn4-after-navy);
}
body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview,
body.woocommerce-checkout .wc-block-order-confirmation .wc-block-order-confirmation-summary {
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
body.woocommerce-checkout .woocommerce-order .woocommerce-order-details,
body.woocommerce-checkout .woocommerce-order .woocommerce-customer-details,
body.woocommerce-checkout .wc-block-order-confirmation .wc-block-order-confirmation-totals,
body.woocommerce-checkout .wc-block-order-confirmation .wc-block-order-confirmation-billing-address,
body.woocommerce-checkout .wc-block-order-confirmation .wc-block-order-confirmation-shipping-address {
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
  margin-top:18px;
}
body.woocommerce-checkout .woocommerce-order .woocommerce-order-details h2,
body.woocommerce-checkout .woocommerce-order .woocommerce-customer-details h2,
body.woocommerce-checkout .wc-block-order-confirmation h2 {
  color:var(--bn4-after-navy);
  line-height:1.35;
}
body.woocommerce-checkout .woocommerce-order table.shop_table,
body.woocommerce-checkout .wc-block-order-confirmation table {
  max-width:100%;
  box-sizing:border-box;
  overflow-wrap:anywhere;
}
body.woocommerce-checkout .woocommerce-order table.shop_table a,
body.woocommerce-checkout .wc-block-order-confirmation a {
  overflow-wrap:anywhere;
}
body.woocommerce-checkout .woocommerce-order .woocommerce-order-downloads a.button,
body.woocommerce-checkout .woocommerce-order .woocommerce-order-details a.button,
body.woocommerce-checkout .wc-block-order-confirmation a.wc-block-components-button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  box-sizing:border-box;
  max-width:100%;
  min-height:42px;
  padding:10px 15px;
  border-radius:9px;
  border:1px solid var(--bn4-after-blue);
  background:var(--bn4-after-blue);
  color:#fff;
  font-weight:650;
  line-height:1.35;
  text-align:center;
  text-decoration:none;
  white-space:normal;
  overflow-wrap:anywhere;
}
body.woocommerce-checkout .woocommerce-order .woocommerce-order-downloads a.button:hover,
body.woocommerce-checkout .woocommerce-order .woocommerce-order-details a.button:hover,
body.woocommerce-checkout .wc-block-order-confirmation a.wc-block-components-button:hover {
  background:#1554a6;
  color:#fff;
}
/* Mijn account, inclusief Downloads, Bestellingen en één besteloverzicht. */
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-table--order-downloads,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-MyAccount-downloads,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table {
  box-sizing:border-box;
  max-width:100%;
  overflow-wrap:anywhere;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-downloads-file,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details a.button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-downloads a.button {
  box-sizing:border-box;
  min-height:40px;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1.35;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
  margin:3px 3px 3px 0;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions {
  white-space:normal;
  min-width:0;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-downloads td,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-downloads th,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-downloads td,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-table--order-downloads th {
  overflow-wrap:anywhere;
}
@media (max-width:767px) {
 body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview {
   display:grid;
   grid-template-columns:repeat(2,minmax(0,1fr));
   gap:9px;
 }
 body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview li {
   box-sizing:border-box;
   width:auto;
   min-width:0;
   max-width:100%;
   margin:0;
   padding:12px;
   overflow-wrap:anywhere;
 }
 body.woocommerce-checkout .woocommerce-order .woocommerce-order-details,
 body.woocommerce-checkout .woocommerce-order .woocommerce-customer-details {
   min-width:0;
   max-width:100%;
 }
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button,
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-downloads-file {
   margin:3px 3px 3px 0;
 }
}
@media (max-width:479px) {
 body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview {
   grid-template-columns:1fr;
 }
 body.woocommerce-checkout .woocommerce-order .woocommerce-order-downloads a.button,
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-downloads-file {
   width:100%;
 }
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions a.button {
   min-height:42px;
 }
}
@media (prefers-reduced-motion:reduce) {
 body.woocommerce-checkout .woocommerce-order .woocommerce-order-downloads a.button,
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-downloads-file {
   transition:none;
 }
}
