/* Bodyfirst checkout: brand styling for the WooCommerce (classic) checkout.
   Shared by the theme lab mock (#/checkout) and the "Bodyfirst Checkout Style"
   plugin, so the live site looks exactly like the mock.
   Everything is scoped to .woocommerce-checkout (the body class on the live
   checkout page, and the wrapper in the mock). */

.woocommerce-checkout,
.woocommerce-cart {
  --bfc-blue: #0F75BC;
  --bfc-sky: #05ABEF;
  --bfc-lime: #A6FF00;
  --bfc-ink: #111111;
  --bfc-text: #555B63;
  --bfc-soft: #F4F6F8;
  --bfc-tint: #EAF4FB;
  --bfc-border: #E3E7EC;
  --bfc-navy: #0A2540;
  --bfc-gradient: linear-gradient(135deg, #0F75BC 0%, #05ABEF 100%);
  --bfc-radius: 16px;
  --bfc-field-radius: 12px;
  --bfc-shadow: 0 10px 30px rgba(15, 40, 70, 0.07);
  --bfc-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
  --bfc-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.3'/%3E%3C/svg%3E");
  --bfc-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}

/* ---------- Hero band: progress + reassurance ---------- */

.bf-co-hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px;
  margin: 0 0 24px; padding: 26px 30px;
  border-radius: 20px; background: var(--bfc-gradient); color: #fff;
  box-shadow: 0 14px 34px rgba(15, 117, 188, 0.22);
}
.bf-co-hero::after { /* the "ring" from the logo, as a soft graphic */
  content: ""; position: absolute; right: -60px; top: -90px; width: 260px; height: 260px;
  border: 26px solid rgba(255, 255, 255, 0.1); border-radius: 50%; pointer-events: none;
}
.bf-co-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 5px 12px;
  border-radius: 999px; background: var(--bfc-lime); color: var(--bfc-ink);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.bf-co-eyebrow::before { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: var(--bfc-lock) center / contain no-repeat; mask: var(--bfc-lock) center / contain no-repeat; }
.bf-co-hero h2 { margin: 0 0 4px; color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.15; }
.bf-co-hero p { margin: 0; max-width: 560px; color: rgba(255, 255, 255, 0.92); font-size: 15px; line-height: 1.5; }
.bf-co-hero p strong { color: #fff; }

.bf-co-steps { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bf-co-steps li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.75); white-space: nowrap; }
.bf-co-steps li + li::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.45); }
.bf-co-steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); font-size: 13px; }
.bf-co-steps .is-done b { border-color: #fff; background: #fff; color: var(--bfc-blue); font-size: 0; }
.bf-co-steps .is-done b::after { content: ""; width: 14px; height: 14px; background: var(--bfc-blue); -webkit-mask: var(--bfc-check) center / contain no-repeat; mask: var(--bfc-check) center / contain no-repeat; }
.bf-co-steps .is-current { color: #fff; }
.bf-co-steps .is-current b { border-color: var(--bfc-lime); background: var(--bfc-lime); color: var(--bfc-ink); }

/* ---------- Notices: coupon toggle, info, errors ---------- */

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  margin: 0 0 16px; padding: 14px 18px;
  border: 1.5px dashed rgba(5, 171, 239, 0.55); border-left-width: 1.5px; border-radius: var(--bfc-radius);
  background: #fff; color: var(--bfc-ink); font-size: 14.5px; box-shadow: none;
}
/* Coupon prompt: a tag icon in a soft-blue circle. */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { position: relative; padding-left: 64px; }
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 34px; height: 34px; margin: -17px 0 0; border-radius: 50%;
  background: var(--bfc-tint); font-size: 0; color: transparent; -webkit-mask: none; mask: none;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::after {
  content: ""; position: absolute; left: 26px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: var(--bfc-blue); -webkit-mask: var(--bfc-tag) center / contain no-repeat; mask: var(--bfc-tag) center / contain no-repeat;
}
.woocommerce-checkout .woocommerce-info a,
.woocommerce-checkout .showcoupon { color: var(--bfc-blue); font-weight: 600; }

.woocommerce-checkout form.checkout_coupon {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: -6px 0 18px; padding: 16px 18px; border: 1px solid var(--bfc-border); border-radius: var(--bfc-radius); background: var(--bfc-tint);
}
.woocommerce-checkout form.checkout_coupon[hidden] { display: none; }
.woocommerce-checkout form.checkout_coupon p { margin: 0; }
.woocommerce-checkout form.checkout_coupon p:first-child { flex-basis: 100%; font-size: 14px; color: var(--bfc-text); }
.woocommerce-checkout form.checkout_coupon .form-row-first { flex: 1 1 220px; width: auto; float: none; }
.woocommerce-checkout form.checkout_coupon .form-row-last { flex: none; width: auto; float: none; }

.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error {
  margin: 0 0 16px; padding: 14px 18px; border: 0; border-left: 4px solid #D93025; border-radius: 12px; background: #FDECEA; color: #8A1C14; list-style: none;
}

/* ---------- Layout: details on the left, order summary on the right ---------- */

@media (min-width: 1000px) {
  .woocommerce-checkout form.checkout {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    grid-template-rows: auto 1fr; column-gap: 28px; align-items: start;
  }
  .woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
  .woocommerce-checkout form.checkout > #customer_details { grid-column: 1; grid-row: 1 / span 2; }
  .woocommerce-checkout form.checkout > #order_review_heading { grid-column: 2; grid-row: 1; }
  .woocommerce-checkout form.checkout > #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 110px; }
}
.woocommerce-checkout #customer_details.col2-set,
.woocommerce-checkout #customer_details {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; width: 100%; margin: 0 0 24px;
}
.woocommerce-checkout #customer_details::before,
.woocommerce-checkout #customer_details::after { display: none; }
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { width: 100% !important; max-width: none; float: none !important; margin: 0; padding: 0; }

.woocommerce-checkout #customer_details .col-2 > * + * { margin-top: 20px; }

/* ---------- Cards with numbered headings ---------- */

.woocommerce-checkout { counter-reset: bfc-step; }
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  position: relative; padding: 26px 26px 14px; border: 1px solid var(--bfc-border); border-radius: var(--bfc-radius);
  background: #fff; box-shadow: var(--bfc-shadow); overflow: hidden;
}
.woocommerce-checkout .woocommerce-billing-fields::before,
.woocommerce-checkout .woocommerce-shipping-fields::before,
.woocommerce-checkout .woocommerce-additional-fields::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--bfc-gradient);
}
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3,
.woocommerce-checkout #ship-to-different-address {
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--bfc-ink);
  font-size: 21px; font-weight: 700; line-height: 1.3;
}
.woocommerce-checkout .woocommerce-billing-fields > h3::before,
.woocommerce-checkout .woocommerce-additional-fields > h3::before {
  counter-increment: bfc-step; content: counter(bfc-step);
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bfc-gradient); color: #fff; font-size: 15px; font-weight: 700;
}
.woocommerce-checkout #ship-to-different-address { margin-bottom: 4px; font-size: 18px; }
.woocommerce-checkout #ship-to-different-address label { display: flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; font-weight: 700; }
.woocommerce-checkout .shipping_address { margin-top: 18px; }
.woocommerce-checkout .woocommerce-shipping-fields:not(:has(.shipping_address:not([style*="none"]))) { padding-bottom: 22px; }

/* ---------- Fields ---------- */

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .bf-co-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > *,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > *,
.woocommerce-checkout .bf-co-fields > * { grid-column: 1 / -1; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-first,
.woocommerce-checkout .bf-co-fields > .form-row-first { grid-column: 1; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last,
.woocommerce-checkout .bf-co-fields > .form-row-last { grid-column: 2; }
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last,
.woocommerce-checkout .form-row-wide { display: block; width: auto !important; float: none !important; margin-right: 0 !important; }
.woocommerce-checkout .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce-checkout .form-row label { display: block; margin: 0 0 6px; color: var(--bfc-ink); font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.woocommerce-checkout .form-row .required { color: var(--bfc-blue) !important; text-decoration: none; border: 0; }
.woocommerce-checkout .form-row .optional { color: var(--bfc-text); font-weight: 400; }
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-checkout .select2-container .select2-selection--single {
  /* !important: the theme styles these fields with more specific selectors. */
  width: 100%; max-width: none; min-height: 48px !important; padding: 12px 14px !important; box-sizing: border-box;
  border: 1.5px solid #D6DCE3 !important; border-radius: var(--bfc-field-radius) !important; background: #FBFCFD !important;
  color: var(--bfc-ink) !important; font: inherit; font-size: 15px !important; line-height: 1.4; box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.woocommerce-checkout textarea { min-height: 100px; resize: vertical; }
.woocommerce-checkout .select2-container .select2-selection--single { display: flex; align-items: center; padding: 0 14px !important; height: 48px; }
.woocommerce-checkout .select2-container .select2-selection__rendered { padding: 0; color: var(--bfc-ink); line-height: 1.4; }
.woocommerce-checkout .select2-container .select2-selection__arrow { top: 50%; right: 10px; transform: translateY(-50%); height: 24px; }
.woocommerce-checkout .input-text:hover,
.woocommerce-checkout select:hover,
.woocommerce-checkout .select2-container .select2-selection--single:hover { border-color: #B8C3CF; }
.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout .select2-container--focus .select2-selection--single,
.woocommerce-checkout .select2-container--open .select2-selection--single {
  outline: none; border-color: var(--bfc-blue) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(5, 171, 239, 0.18);
}
.woocommerce-checkout .woocommerce-invalid .input-text,
.woocommerce-checkout .woocommerce-invalid select { border-color: #D93025 !important; }
.woocommerce-checkout .woocommerce-validated .input-text { border-color: #2E9E5B !important; }
.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--bfc-blue); flex: none; }

/* ---------- Your order (summary card) ---------- */

.woocommerce-checkout #order_review_heading {
  margin: 0; padding: 18px 22px; border: 1px solid var(--bfc-border); border-bottom: 0; border-radius: var(--bfc-radius) var(--bfc-radius) 0 0;
  background: var(--bfc-tint); color: var(--bfc-ink); font-size: 20px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.woocommerce-checkout #order_review_heading::before {
  content: ""; width: 22px; height: 22px; background: var(--bfc-blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-checkout #order_review {
  padding: 4px 22px 22px; border: 1px solid var(--bfc-border); border-top: 0; border-radius: 0 0 var(--bfc-radius) var(--bfc-radius);
  background: #fff; box-shadow: var(--bfc-shadow);
}
/* The summary "table" is laid out as stacked rows (label left, amount right),
   which fits the narrow column and lets the delivery options span the width. */
.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  display: block; width: 100%; margin: 0 0 18px; border: 0; border-radius: 0; background: none; font-size: 14.5px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead,
.woocommerce-checkout .woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot { display: block; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--bfc-border);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  display: block; padding: 0; border: 0; background: none; text-align: left; color: var(--bfc-text);
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th:first-child,
.woocommerce-checkout .woocommerce-checkout-review-order-table td:first-child { flex: 1 1 auto; min-width: 0; }
.woocommerce-checkout .woocommerce-checkout-review-order-table td:last-child,
.woocommerce-checkout .woocommerce-checkout-review-order-table th:last-child { flex: none; text-align: right; }
.woocommerce-checkout .woocommerce-checkout-review-order-table thead tr { padding: 12px 0; }
.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  color: var(--bfc-text); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table dl.variation { margin: 6px 0 0; padding: 0; }
.woocommerce-checkout .woocommerce-checkout-review-order-table dl.variation dd { margin: 0; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.fee th small,
.woocommerce-checkout .woocommerce-checkout-review-order-table .bf-drs-fee-note { display: block; margin-top: 2px; color: var(--bfc-text); font-size: 12px; font-weight: 400; }
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item td.product-name { color: var(--bfc-ink); font-weight: 500; padding-right: 12px; }
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-quantity { color: var(--bfc-blue); font-weight: 700; }
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total { color: var(--bfc-ink); font-weight: 600; white-space: nowrap; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th { color: var(--bfc-ink); font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td { color: var(--bfc-ink); }
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-discount td,
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-discount th { color: #1E8E4E; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total { align-items: center; padding: 18px 0 4px; border-bottom: 0; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total th { font-size: 17px; font-weight: 700; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total .amount { color: var(--bfc-blue); font-size: 26px; font-weight: 800; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total small { display: block; color: var(--bfc-text); font-size: 12px; font-weight: 400; }

/* Delivery options as tick-able cards */
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { flex-direction: column; align-items: stretch; gap: 10px; }
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { flex: none; width: 100%; text-align: left; }
:is(.woocommerce-checkout, .woocommerce-cart) ul#shipping_method { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
:is(.woocommerce-checkout, .woocommerce-cart) ul#shipping_method li {
  position: relative; display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px;
  border: 1.5px solid var(--bfc-border); border-radius: 12px; background: #fff; text-indent: 0; line-height: 1.4;
}
:is(.woocommerce-checkout, .woocommerce-cart) ul#shipping_method li:has(input:checked) { border-color: var(--bfc-blue); background: var(--bfc-tint); }
:is(.woocommerce-checkout, .woocommerce-cart) ul#shipping_method li label { display: flex; flex: 1; justify-content: space-between; gap: 10px; margin: 0; color: var(--bfc-ink); font-weight: 600; cursor: pointer; }
:is(.woocommerce-checkout, .woocommerce-cart) ul#shipping_method li label .amount { color: var(--bfc-blue); }
.woocommerce-checkout .woocommerce-shipping-totals td > p,
.woocommerce-checkout .woocommerce-shipping-totals td ul + p { margin: 8px 0 0; font-size: 13px; color: var(--bfc-text); }

/* ---------- Payment ---------- */

.woocommerce-checkout #payment { margin: 0; padding: 0 !important; border-radius: 0; background: none !important; }
.woocommerce-checkout #payment ul.payment_methods { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; border: 0; list-style: none; }
.woocommerce-checkout #payment ul.payment_methods::before,
.woocommerce-checkout #payment ul.payment_methods::after { display: none; }
.woocommerce-checkout #payment ul.payment_methods > li {
  margin: 0; padding: 14px 16px; border: 1.5px solid var(--bfc-border); border-radius: 14px; background: #fff; line-height: 1.4;
}
.woocommerce-checkout #payment ul.payment_methods > li:has(> input:checked) { border-color: var(--bfc-blue); background: var(--bfc-tint); }
.woocommerce-checkout #payment ul.payment_methods > li > input { vertical-align: middle; margin-right: 8px; }
.woocommerce-checkout #payment ul.payment_methods > li > label { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--bfc-ink); font-weight: 600; cursor: pointer; }
.woocommerce-checkout #payment ul.payment_methods > li img { max-height: 22px; width: auto; margin: 0 0 0 4px; }
.woocommerce-checkout #payment div.payment_box {
  margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff; color: var(--bfc-text); font-size: 13.5px; box-shadow: inset 0 0 0 1px var(--bfc-border);
}
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.form-row.place-order { margin: 0; padding: 0; }
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 12.5px; line-height: 1.5; color: var(--bfc-text); }
.woocommerce-checkout .woocommerce-privacy-policy-text p { margin: 0 0 10px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }

.woocommerce-checkout #place_order,
.woocommerce-checkout button#place_order {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; float: none; min-height: 58px; margin: 14px 0 0; padding: 16px 24px;
  border: 0; border-radius: 999px; background: var(--bfc-gradient); color: #fff;
  font: inherit; font-size: 17px; font-weight: 700; letter-spacing: 0.01em; cursor: pointer;
  box-shadow: 0 12px 26px rgba(15, 117, 188, 0.32); transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.woocommerce-checkout #place_order::before {
  content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--bfc-lock) center / contain no-repeat; mask: var(--bfc-lock) center / contain no-repeat;
}
.woocommerce-checkout #place_order:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 16px 30px rgba(15, 117, 188, 0.38); }
.woocommerce-checkout #place_order:disabled { opacity: 0.6; transform: none; cursor: wait; }

/* ---------- Trust row under the button ---------- */

.bf-co-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--bfc-border); list-style: none; }
.bf-co-trust li { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; text-align: center; color: var(--bfc-text); font-size: 12px; line-height: 1.35; }
.bf-co-trust strong { display: block; color: var(--bfc-ink); font-size: 12.5px; }
.bf-co-trust svg { width: 30px; height: 30px; }
.bf-co-trust .o { fill: none; stroke: var(--bfc-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bf-co-trust .f { fill: var(--bfc-sky); opacity: 0.55; }
.bf-co-help { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--bfc-soft); color: var(--bfc-text); font-size: 13px; text-align: center; }
.bf-co-help a { color: var(--bfc-blue); font-weight: 600; }

/* ---------- Small screens ---------- */

@media (max-width: 700px) {
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
  .woocommerce-checkout .bf-co-fields { grid-template-columns: minmax(0, 1fr); }
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last,
  .woocommerce-checkout .bf-co-fields > .form-row-last { grid-column: 1; }
  .bf-co-hero { grid-template-columns: 1fr; padding: 22px 20px; border-radius: 16px; }
  .bf-co-steps { gap: 6px; }
  .bf-co-steps li { font-size: 12.5px; }
  .bf-co-steps li + li::before { width: 14px; }
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields { padding: 22px 18px 10px; }
  .woocommerce-checkout #order_review { padding: 4px 16px 18px; }
  .woocommerce-checkout #order_review_heading { padding: 16px; }
}

/* =====================================================================
   Cart page (view full cart). Scoped to .woocommerce-cart, the body class
   on the live cart page and the wrapper in the mock (#/cart).
   ===================================================================== */

/* Free-delivery meter inside the hero band */
.bf-co-meter { margin: 14px 0 0; max-width: 520px; }
.bf-co-meter p { margin: 0 0 8px; font-size: 14px; color: #fff; }
.bf-co-meter p strong { color: var(--bfc-lime); }
.bf-co-meter span { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.bf-co-meter i { display: block; height: 100%; border-radius: inherit; background: var(--bfc-lime); }

/* Layout: items on the left, totals card on the right */
@media (min-width: 1000px) {
  .woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); column-gap: 28px; align-items: start;
  }
  .woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > * { grid-column: 1 / -1; }
  .woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > .woocommerce-cart-form { grid-column: 1; }
  .woocommerce-cart .woocommerce:has(> .woocommerce-cart-form) > .cart-collaterals { grid-column: 2; position: sticky; top: 110px; }
}
.woocommerce-cart .cart-collaterals { width: 100%; }
.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; }
.woocommerce-cart .cart-collaterals .cross-sells { float: none; width: 100%; }

/* The items table as a card */
.woocommerce-cart table.shop_table.cart {
  width: 100%; margin: 0 0 24px; border: 1px solid var(--bfc-border) !important; border-collapse: separate; border-spacing: 0;
  border-radius: var(--bfc-radius) !important; overflow: hidden; background: #fff; box-shadow: var(--bfc-shadow);
}
.woocommerce-cart table.shop_table.cart thead th {
  padding: 14px 16px; background: var(--bfc-tint) !important; color: var(--bfc-ink); border: 0;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.woocommerce-cart table.shop_table.cart td { padding: 16px; border-top: 1px solid var(--bfc-border); color: var(--bfc-text); vertical-align: middle; }
.woocommerce-cart table.shop_table.cart .product-thumbnail img {
  width: 80px; height: 80px; object-fit: contain; border: 1px solid var(--bfc-border); border-radius: 12px; background: #fff;
}
.woocommerce-cart table.shop_table.cart td.product-name a { color: var(--bfc-ink); font-weight: 600; text-decoration: none; }
.woocommerce-cart table.shop_table.cart td.product-name a:hover { color: var(--bfc-blue); text-decoration: underline; }
.woocommerce-cart table.shop_table.cart td.product-name dl.variation { margin: 6px 0 0; font-size: 12.5px; }
.woocommerce-cart table.shop_table.cart td.product-price { color: var(--bfc-text); }
.woocommerce-cart table.shop_table.cart td.product-subtotal { color: var(--bfc-ink); font-weight: 700; }
.woocommerce-cart table.shop_table.cart a.remove {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bfc-soft); color: var(--bfc-text) !important; font-size: 20px; line-height: 1; text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.woocommerce-cart table.shop_table.cart a.remove:hover { background: #D93025; color: #fff !important; }
.woocommerce-cart table.shop_table.cart tr.bf-luck-gift td { background: rgba(166, 255, 0, 0.08); }

/* Quantity box */
.woocommerce-cart table.shop_table.cart .quantity input.qty {
  width: 64px; min-height: 42px; padding: 8px; border: 1.5px solid #D6DCE3; border-radius: 10px; background: #FBFCFD;
  color: var(--bfc-ink); font: inherit; font-weight: 600; text-align: center;
}

/* Actions row: coupon, empty cart, update */
.woocommerce-cart table.shop_table.cart td.actions { padding: 16px; background: var(--bfc-soft); text-align: right; }
.woocommerce-cart table.shop_table.cart td.actions .coupon { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; float: left; }
.woocommerce-cart table.shop_table.cart td.actions .coupon label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text {
  width: 200px !important; min-height: 44px; padding: 10px 14px !important; border: 1.5px dashed rgba(5, 171, 239, 0.6) !important;
  border-radius: 999px !important; background: #fff !important; color: var(--bfc-ink); font: inherit; font-size: 14px;
}
.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text:focus { outline: none; border-style: solid !important; border-color: var(--bfc-blue) !important; box-shadow: 0 0 0 4px rgba(5, 171, 239, 0.18); }
.woocommerce-cart table.shop_table.cart td.actions .coupon .button {
  min-height: 44px; padding: 10px 20px; border: 2px solid var(--bfc-blue) !important; border-radius: 999px; background: #fff !important; color: var(--bfc-blue) !important; font-weight: 700;
}
.woocommerce-cart table.shop_table.cart td.actions .coupon .button:hover { background: var(--bfc-blue) !important; color: #fff !important; }
.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"] {
  min-height: 44px; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--bfc-ink); color: #fff; font-weight: 600;
}
.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"]:disabled { background: #C9D1DA; color: #fff; opacity: 1; }

/* Totals card */
.woocommerce-cart .cart_totals {
  padding: 0 22px 22px; border: 1px solid var(--bfc-border); border-radius: var(--bfc-radius); background: #fff; box-shadow: var(--bfc-shadow); overflow: hidden;
}
.woocommerce-cart .cart_totals > h2 {
  display: flex; align-items: center; gap: 10px; margin: 0 -22px 6px; padding: 18px 22px;
  background: var(--bfc-tint); color: var(--bfc-ink); font-size: 20px; font-weight: 700; line-height: 1.3;
}
.woocommerce-cart .cart_totals > h2::before {
  content: ""; width: 22px; height: 22px; background: var(--bfc-blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-cart .cart_totals table.shop_table {
  display: block; width: 100%; margin: 0 0 16px; border: 0 !important; border-radius: 0 !important; background: none; box-shadow: none; overflow: visible; font-size: 14.5px;
}
.woocommerce-cart .cart_totals table.shop_table tbody { display: block; }
.woocommerce-cart .cart_totals table.shop_table tr { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--bfc-border); }
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td { display: block; padding: 0 !important; border: 0 !important; background: none !important; color: var(--bfc-ink); text-align: left; }
.woocommerce-cart .cart_totals table.shop_table th { flex: 1 1 auto; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.woocommerce-cart .cart_totals table.shop_table td { flex: none; text-align: right; }
.woocommerce-cart .cart_totals table.shop_table td::before { display: none !important; }
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals { flex-direction: column; align-items: stretch; gap: 10px; }
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td { width: 100%; text-align: left; }
.woocommerce-cart .cart_totals .woocommerce-shipping-destination { margin: 10px 0 4px; font-size: 13px; color: var(--bfc-text); }
.woocommerce-cart .cart_totals .shipping-calculator-button { color: var(--bfc-blue); font-size: 13px; font-weight: 600; }
.woocommerce-cart .cart_totals tr.fee th small,
.woocommerce-cart .cart_totals .bf-drs-fee-note { display: block; margin-top: 2px; color: var(--bfc-text); font-size: 12px; font-weight: 400; }
.woocommerce-cart .cart_totals .cart-discount td,
.woocommerce-cart .cart_totals .cart-discount th { color: #1E8E4E; }
.woocommerce-cart .cart_totals tr.order-total { align-items: center; padding: 18px 0 4px; border-bottom: 0; }
.woocommerce-cart .cart_totals tr.order-total th { font-size: 17px; font-weight: 700; }
.woocommerce-cart .cart_totals tr.order-total td,
.woocommerce-cart .cart_totals tr.order-total .amount { color: var(--bfc-blue); font-size: 26px; font-weight: 800; }
.woocommerce-cart .cart_totals tr.order-total small { display: block; color: var(--bfc-text); font-size: 12px; font-weight: 400; }

/* Secure checkout button */
.woocommerce-cart .wc-proceed-to-checkout { padding: 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: flex !important; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 58px; margin: 6px 0 0; padding: 16px 24px;
  border: 0; border-radius: 999px; background: var(--bfc-gradient) !important; color: #fff !important;
  font-size: 17px !important; font-weight: 700; text-decoration: none !important;
  box-shadow: 0 12px 26px rgba(15, 117, 188, 0.32); transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 16px 30px rgba(15, 117, 188, 0.38); }

/* Small screens: the theme stacks the table into blocks; keep it tidy. */
@media (max-width: 768px) {
  .woocommerce-cart table.shop_table.cart thead { display: none; }
  .woocommerce-cart table.shop_table.cart tr.cart_item { display: block; position: relative; padding: 12px 0; border-top: 1px solid var(--bfc-border); }
  .woocommerce-cart table.shop_table.cart tr.cart_item td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 16px; border: 0; text-align: right; }
  .woocommerce-cart table.shop_table.cart tr.cart_item td::before { content: attr(data-title); color: var(--bfc-ink); font-weight: 600; text-align: left; }
  .woocommerce-cart table.shop_table.cart tr.cart_item td.product-remove { position: absolute; top: 10px; right: 6px; padding: 0; }
  .woocommerce-cart table.shop_table.cart tr.cart_item td.product-remove::before,
  .woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail::before { content: none; }
  .woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail { justify-content: flex-start; }
  .woocommerce-cart table.shop_table.cart tr.cart_item td.product-name { display: block; padding-right: 50px; text-align: left; }
  .woocommerce-cart table.shop_table.cart tr.cart_item td.product-name::before { content: none; }
  .woocommerce-cart table.shop_table.cart tr:last-child,
  .woocommerce-cart table.shop_table.cart td.actions { display: block; }
  .woocommerce-cart table.shop_table.cart td.actions .coupon { float: none; display: flex; width: 100%; margin-bottom: 10px; }
  .woocommerce-cart table.shop_table.cart td.actions .coupon .input-text { flex: 1; width: auto !important; }
  .woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"] { width: 100%; margin-top: 8px; }
  .woocommerce-cart .cart_totals { margin-top: 8px; padding: 0 16px 18px; }
  .woocommerce-cart .cart_totals > h2 { margin: 0 -16px 6px; padding: 16px; }
}
/* Cart page touches */
.woocommerce-cart .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bf-co-eyebrow.is-basket::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E");
}
.woocommerce-cart table.shop_table.cart td.product-name { color: var(--bfc-ink); font-weight: 600; }
.woocommerce-cart table.shop_table.cart td.product-name dl.variation,
.woocommerce-cart table.shop_table.cart td.product-name small { font-weight: 400; }