:root{--bgcs-flow-primary:#000000;--bgcs-flow-primary-contrast:#fff;--bgcs-flow-bg:#fff;--bgcs-flow-surface:#fff;--bgcs-flow-surface-alt:#f7f7f7;--bgcs-flow-text:#171717;--bgcs-flow-muted:#64748b;--bgcs-flow-border:#e5e7eb;--bgcs-flow-radius:12px;--bgcs-flow-radius-control:10px;--bgcs-flow-control-height:48px}
.bgcs-flow-icon{width:1.15em;height:1.15em;display:inline-block;vertical-align:-.18em;flex:0 0 auto}.bgcs-flow-icon--custom{object-fit:contain}
.bgcs-flow-button{min-height:var(--bgcs-flow-control-height);display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;border:1px solid transparent;border-radius:var(--bgcs-flow-radius-control);font:inherit;font-weight:700;line-height:1;text-decoration:none!important;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease}.bgcs-flow-button:hover{transform:translateY(-1px)}.bgcs-flow-button--primary{background:var(--bgcs-flow-primary);color:var(--bgcs-flow-primary-contrast)!important;border-color:var(--bgcs-flow-primary)}.bgcs-flow-button--secondary{background:var(--bgcs-flow-surface);color:var(--bgcs-flow-text)!important;border-color:var(--bgcs-flow-border)}
body.bgcs-flow-buttons--pill .bgcs-flow-button,body.bgcs-flow-buttons--pill #place_order{border-radius:999px!important}body.bgcs-flow-buttons--soft .bgcs-flow-button--primary,body.bgcs-flow-buttons--soft #place_order{box-shadow:0 7px 18px rgba(15,23,42,.14)}
body.bgcs-flow-surface #place_order,body.bgcs-flow-surface .button.alt{background:var(--bgcs-flow-primary)!important;border-color:var(--bgcs-flow-primary)!important;color:var(--bgcs-flow-primary-contrast)!important}
body.bgcs-flow-inputs--soft .woocommerce form .form-row input.input-text,body.bgcs-flow-inputs--soft .woocommerce form .form-row textarea,body.bgcs-flow-inputs--soft .select2-container .select2-selection{background:var(--bgcs-flow-surface-alt)!important}body.bgcs-flow-inputs--classic .woocommerce form .form-row label{position:static!important;transform:none!important;font-size:inherit!important;opacity:1!important}
@media (prefers-reduced-motion:reduce){.bgcs-flow-button{transition:none!important}.bgcs-flow-button:hover{transform:none}}

/* BGCS Flow Component Contract 1.1 — checkout variant surfaces. */
body.bgcs-flow-checkout-layout--essential form.checkout{gap:30px}
body.bgcs-flow-checkout-layout--conversion form.checkout{gap:34px}
body.bgcs-flow-checkout-layout--atelier form.checkout{gap:44px}
body.bgcs-flow-checkout-layout--atelier .woocommerce-billing-fields,
body.bgcs-flow-checkout-layout--atelier .woocommerce-shipping-fields,
body.bgcs-flow-checkout-layout--atelier .woocommerce-additional-fields,
body.bgcs-flow-checkout-layout--atelier #order_review{box-shadow:none!important}

body.bgcs-flow-checkout-couriers--conversion .bgcs-cd-shipping-choice,
body.bgcs-flow-checkout-payment--conversion #payment ul.payment_methods li{transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
body.bgcs-flow-checkout-couriers--conversion .bgcs-cd-shipping-choice.is-selected,
body.bgcs-flow-checkout-payment--conversion #payment ul.payment_methods li:has(input:checked){box-shadow:0 8px 24px color-mix(in srgb,var(--bgcs-flow-primary) 12%,transparent)}
body.bgcs-flow-checkout-submit--conversion #place_order{min-height:56px;font-weight:800;box-shadow:0 10px 28px color-mix(in srgb,var(--bgcs-flow-primary) 18%,transparent)}

body.bgcs-flow-checkout-couriers--atelier .bgcs-cd-shipping-choice,
body.bgcs-flow-checkout-payment--atelier #payment ul.payment_methods li{border-radius:4px!important;box-shadow:none!important;background:transparent!important}
body.bgcs-flow-checkout-couriers--atelier .bgcs-cd-shipping-choice.is-selected,
body.bgcs-flow-checkout-payment--atelier #payment ul.payment_methods li:has(input:checked){background:var(--bgcs-flow-surface-alt)!important}
body.bgcs-flow-checkout-submit--atelier #place_order{min-height:56px;border-radius:2px!important;text-transform:uppercase;letter-spacing:.075em;font-size:12px}
body.bgcs-flow-checkout-order_summary--atelier #order_review_heading{letter-spacing:.035em}
body.bgcs-flow-checkout-coupon--atelier .bgcs-responsive-coupon__toggle{text-transform:uppercase;letter-spacing:.07em;font-size:11px}

/* 0.7 reference-preset anatomy. Every rule is keyed by semantic component
   variant so Studio-authored mixed templates stay coherent. */
body.bgcs-flow-checkout-header--essential .bgcs-checkout-header{border-bottom-color:var(--bgcs-flow-border)}
body.bgcs-flow-checkout-header--conversion .bgcs-checkout-header{border-bottom-color:color-mix(in srgb,var(--bgcs-flow-primary) 18%,var(--bgcs-flow-border))}
body.bgcs-flow-checkout-header--atelier .bgcs-checkout-header{border-bottom-color:var(--bgcs-flow-border);min-height:88px}
body.bgcs-flow-checkout-header--atelier .bgcs-checkout-brand img{max-height:46px}

body.bgcs-flow-checkout-customer_fields--essential .woocommerce-billing-fields,
body.bgcs-flow-checkout-customer_fields--essential .woocommerce-shipping-fields,
body.bgcs-flow-checkout-customer_fields--essential .woocommerce-additional-fields,
body.bgcs-flow-checkout-delivery--essential .bgcs-cd-delivery-section,
body.bgcs-flow-checkout-order_summary--essential #order_review,
body.bgcs-flow-checkout-customer_fields--conversion .woocommerce-billing-fields,
body.bgcs-flow-checkout-customer_fields--conversion .woocommerce-shipping-fields,
body.bgcs-flow-checkout-customer_fields--conversion .woocommerce-additional-fields,
body.bgcs-flow-checkout-delivery--conversion .bgcs-cd-delivery-section,
body.bgcs-flow-checkout-order_summary--conversion #order_review,
body.bgcs-flow-checkout-customer_fields--atelier .woocommerce-billing-fields,
body.bgcs-flow-checkout-customer_fields--atelier .woocommerce-shipping-fields,
body.bgcs-flow-checkout-customer_fields--atelier .woocommerce-additional-fields,
body.bgcs-flow-checkout-delivery--atelier .bgcs-cd-delivery-section,
body.bgcs-flow-checkout-order_summary--atelier #order_review{
 box-sizing:border-box;padding:clamp(18px,2vw,24px);border:1px solid var(--bgcs-flow-border);background:var(--bgcs-flow-surface)
}
body.bgcs-flow-checkout-customer_fields--essential .woocommerce-billing-fields,
body.bgcs-flow-checkout-customer_fields--essential .woocommerce-shipping-fields,
body.bgcs-flow-checkout-customer_fields--essential .woocommerce-additional-fields,
body.bgcs-flow-checkout-delivery--essential .bgcs-cd-delivery-section,
body.bgcs-flow-checkout-order_summary--essential #order_review{border-radius:10px;box-shadow:none}
body.bgcs-flow-checkout-customer_fields--conversion .woocommerce-billing-fields,
body.bgcs-flow-checkout-customer_fields--conversion .woocommerce-shipping-fields,
body.bgcs-flow-checkout-customer_fields--conversion .woocommerce-additional-fields,
body.bgcs-flow-checkout-delivery--conversion .bgcs-cd-delivery-section,
body.bgcs-flow-checkout-order_summary--conversion #order_review{border-radius:14px;box-shadow:0 10px 30px rgba(15,23,42,.055)}
body.bgcs-flow-checkout-customer_fields--atelier .woocommerce-billing-fields,
body.bgcs-flow-checkout-customer_fields--atelier .woocommerce-shipping-fields,
body.bgcs-flow-checkout-customer_fields--atelier .woocommerce-additional-fields,
body.bgcs-flow-checkout-delivery--atelier .bgcs-cd-delivery-section,
body.bgcs-flow-checkout-order_summary--atelier #order_review{border-radius:4px;box-shadow:none}

body.bgcs-flow-checkout-customer_fields--essential .woocommerce-checkout .input-text,
body.bgcs-flow-checkout-customer_fields--conversion .woocommerce-checkout .input-text,
body.bgcs-flow-checkout-customer_fields--atelier .woocommerce-checkout .input-text,
body.bgcs-flow-checkout-courier_selector--essential .select2-selection,
body.bgcs-flow-checkout-courier_selector--conversion .select2-selection,
body.bgcs-flow-checkout-courier_selector--atelier .select2-selection{
 min-height:48px;border-width:1px!important;border-style:solid!important;border-color:var(--bgcs-flow-border)!important;box-shadow:none!important
}
body.bgcs-flow-checkout-customer_fields--essential .woocommerce-checkout .input-text:focus,
body.bgcs-flow-checkout-customer_fields--conversion .woocommerce-checkout .input-text:focus,
body.bgcs-flow-checkout-customer_fields--atelier .woocommerce-checkout .input-text:focus{
 border-color:var(--bgcs-flow-primary)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--bgcs-flow-primary) 12%,transparent)!important
}

body.bgcs-flow-checkout-customer_fields--essential .form-row.bgcs-label--float>label,
body.bgcs-flow-checkout-customer_fields--conversion .form-row.bgcs-label--float>label,
body.bgcs-flow-checkout-customer_fields--atelier .form-row.bgcs-label--float>label{
 left:14px;max-width:calc(100% - 30px);padding-inline:5px;background:var(--cd-input-bg,var(--bgcs-flow-surface));font-size:.94em
}
body.bgcs-flow-checkout-customer_fields--essential .form-row.bgcs-label--float:has(.input-text:focus)>label,
body.bgcs-flow-checkout-customer_fields--essential .form-row.bgcs-label--float:has(.input-text:not(:placeholder-shown))>label,
body.bgcs-flow-checkout-customer_fields--conversion .form-row.bgcs-label--float:has(.input-text:focus)>label,
body.bgcs-flow-checkout-customer_fields--conversion .form-row.bgcs-label--float:has(.input-text:not(:placeholder-shown))>label,
body.bgcs-flow-checkout-customer_fields--atelier .form-row.bgcs-label--float:has(.input-text:focus)>label,
body.bgcs-flow-checkout-customer_fields--atelier .form-row.bgcs-label--float:has(.input-text:not(:placeholder-shown))>label{
 color:var(--bgcs-flow-primary);font-weight:650
}
body.bgcs-flow-checkout-customer_fields--essential .woocommerce-billing-fields__field-wrapper>.form-row:last-child,
body.bgcs-flow-checkout-customer_fields--conversion .woocommerce-billing-fields__field-wrapper>.form-row:last-child,
body.bgcs-flow-checkout-customer_fields--atelier .woocommerce-billing-fields__field-wrapper>.form-row:last-child{margin-bottom:0!important}

body.bgcs-flow-checkout-couriers--essential .bgcs-cd-shipping-choice,
body.bgcs-flow-checkout-couriers--conversion .bgcs-cd-shipping-choice,
body.bgcs-flow-checkout-couriers--atelier .bgcs-cd-shipping-choice{
 --bgcs-flow-courier-choice-height:80px;min-height:var(--bgcs-flow-courier-choice-height);justify-content:center;gap:8px;padding:10px 12px;border:1px solid var(--bgcs-flow-border);background:var(--bgcs-flow-surface);box-shadow:none
}
body.bgcs-flow-checkout-couriers--essential .bgcs-cd-shipping-choice{--bgcs-flow-courier-choice-height:76px;justify-content:flex-start;border-radius:10px}
body.bgcs-flow-checkout-couriers--conversion .bgcs-cd-shipping-choice{border-radius:14px;background:color-mix(in srgb,var(--bgcs-flow-primary) 4%,var(--bgcs-flow-surface))}
body.bgcs-flow-checkout-couriers--atelier .bgcs-cd-shipping-choice{--bgcs-flow-courier-choice-height:72px;justify-content:flex-start;border-radius:3px;background:transparent}
body.bgcs-flow-checkout-couriers--essential .bgcs-cd-shipping-choice__label,
body.bgcs-flow-checkout-couriers--conversion .bgcs-cd-shipping-choice__label,
body.bgcs-flow-checkout-couriers--atelier .bgcs-cd-shipping-choice__label{gap:5px;line-height:1.3}
body.bgcs-flow-checkout-couriers--essential .bgcs-cd-method-text,
body.bgcs-flow-checkout-couriers--conversion .bgcs-cd-method-text,
body.bgcs-flow-checkout-couriers--atelier .bgcs-cd-method-text{font-weight:650}
body.bgcs-flow-checkout-couriers--essential .bgcs-cd-shipping-choice:hover,
body.bgcs-flow-checkout-couriers--conversion .bgcs-cd-shipping-choice:hover,
body.bgcs-flow-checkout-couriers--atelier .bgcs-cd-shipping-choice:hover{border-color:color-mix(in srgb,var(--bgcs-flow-primary) 58%,var(--bgcs-flow-border))}
body.bgcs-flow-checkout-couriers--essential .bgcs-cd-shipping-choice.is-selected,
body.bgcs-flow-checkout-couriers--conversion .bgcs-cd-shipping-choice.is-selected,
body.bgcs-flow-checkout-couriers--atelier .bgcs-cd-shipping-choice.is-selected{border-color:var(--bgcs-flow-primary)}
body.bgcs-flow-checkout-couriers--essential .bgcs-cd-method-logo img,
body.bgcs-flow-checkout-couriers--conversion .bgcs-cd-method-logo img,
body.bgcs-flow-checkout-couriers--atelier .bgcs-cd-method-logo img{max-width:96px;max-height:34px}

body.bgcs-flow-checkout-payment--essential #payment ul.payment_methods>li{border-radius:10px!important}
body.bgcs-flow-checkout-payment--conversion #payment ul.payment_methods>li{border-radius:14px!important}
body.bgcs-flow-checkout-payment--atelier #payment ul.payment_methods>li{border-radius:3px!important}
body.bgcs-flow-checkout-payment--conversion #payment ul.payment_methods>li:has(input:checked){background:color-mix(in srgb,var(--bgcs-flow-primary) 6%,var(--bgcs-flow-surface))!important}

body.bgcs-flow-checkout-order_summary--essential #order_review_heading,
body.bgcs-flow-checkout-order_summary--conversion #order_review_heading{font-weight:750;letter-spacing:-.02em}
body.bgcs-flow-checkout-order_summary--atelier #order_review_heading{font-weight:600;letter-spacing:.035em}
body.bgcs-flow-checkout-order_summary--conversion #order_review .order-total{font-size:1.06em}

body.bgcs-flow-checkout-trust--essential .bgcs-cd-trust-badges{background:transparent}
body.bgcs-flow-checkout-trust--conversion .bgcs-cd-trust-badges{padding:14px;border:1px solid color-mix(in srgb,var(--bgcs-flow-primary) 14%,var(--bgcs-flow-border));border-radius:12px;background:color-mix(in srgb,var(--bgcs-flow-primary) 4%,var(--bgcs-flow-surface))}
body.bgcs-flow-checkout-trust--atelier .bgcs-cd-trust-badges{padding-top:18px;border-top:1px solid var(--bgcs-flow-border);background:transparent}
body.bgcs-flow-checkout-trust--atelier .bgcs-cd-trust-badge{font-size:10px;letter-spacing:.025em}

body.bgcs-flow-checkout-legal--essential .woocommerce-terms-and-conditions-wrapper,
body.bgcs-flow-checkout-legal--conversion .woocommerce-terms-and-conditions-wrapper,
body.bgcs-flow-checkout-legal--atelier .woocommerce-terms-and-conditions-wrapper{font-size:12px;line-height:1.55;color:var(--bgcs-flow-muted)}
body.bgcs-flow-checkout-legal--atelier .woocommerce-terms-and-conditions-wrapper{font-size:11px}

body.bgcs-flow-checkout-submit--essential #place_order{min-height:54px;font-weight:750}
body.bgcs-flow-checkout-submit--conversion #place_order{min-height:56px;font-weight:800;box-shadow:0 10px 28px color-mix(in srgb,var(--bgcs-flow-primary) 18%,transparent)}
body.bgcs-flow-checkout-submit--atelier #place_order{min-height:56px;border-radius:2px!important;text-transform:uppercase;letter-spacing:.075em;font-size:12px;font-weight:700;box-shadow:none}

@media(max-width:782px){
 body.bgcs-flow-checkout-layout--essential form.checkout,
 body.bgcs-flow-checkout-layout--conversion form.checkout,
 body.bgcs-flow-checkout-layout--atelier form.checkout{gap:18px}
 body.bgcs-flow-checkout-customer_fields--essential .woocommerce-billing-fields,
 body.bgcs-flow-checkout-customer_fields--conversion .woocommerce-billing-fields,
 body.bgcs-flow-checkout-customer_fields--atelier .woocommerce-billing-fields,
 body.bgcs-flow-checkout-delivery--essential .bgcs-cd-delivery-section,
 body.bgcs-flow-checkout-delivery--conversion .bgcs-cd-delivery-section,
 body.bgcs-flow-checkout-delivery--atelier .bgcs-cd-delivery-section,
 body.bgcs-flow-checkout-order_summary--essential #order_review,
 body.bgcs-flow-checkout-order_summary--conversion #order_review,
 body.bgcs-flow-checkout-order_summary--atelier #order_review{padding:16px}
}

/* Contract 1.3: Cart Timer + Campaign Banner. Templates may override these stable targets. */
.bgcs-flow-component--cart_timer {
  --bgcs-flow-timer-bg: var(--bgcs-flow-surface-alt);
  --bgcs-flow-timer-color: var(--bgcs-flow-text);
  --bgcs-flow-timer-border: var(--bgcs-flow-border);
  display:flex;align-items:center;gap:.6rem;padding:.8rem 1rem;margin-block:12px;border:1px solid var(--bgcs-flow-timer-border);border-radius:var(--bgcs-flow-radius);background:var(--bgcs-flow-timer-bg);color:var(--bgcs-flow-timer-color);
}
.bgcs-flow-cart-timer__icon { display:inline-flex;flex:0 0 auto; }
.bgcs-flow-cart-timer__value { margin-inline-start:auto;font-variant-numeric:tabular-nums;white-space:nowrap; }
.bgcs-flow-component--campaign_banner {
  --bgcs-flow-campaign-bg: var(--bgcs-flow-surface-alt);
  --bgcs-flow-campaign-border: var(--bgcs-flow-border);
  --bgcs-flow-campaign-gap: 14px;
  display:grid;gap:var(--bgcs-flow-campaign-gap);padding:16px;margin-block:12px;border:1px solid var(--bgcs-flow-campaign-border);border-radius:var(--bgcs-flow-radius);background:var(--bgcs-flow-campaign-bg);color:var(--bgcs-flow-text);
}
.bgcs-flow-campaign__visual img { display:block;max-width:100%;height:auto;border-radius:var(--bgcs-flow-radius-control); }
.bgcs-flow-campaign__content,.bgcs-flow-campaign__header,.bgcs-flow-campaign__product-content { display:grid;gap:7px; }
.bgcs-flow-campaign__header h2,.bgcs-flow-campaign__product-title,.bgcs-flow-campaign__text,.bgcs-flow-campaign__promotional-text { margin:0; }
.bgcs-flow-campaign__badge { width:max-content;max-width:100%;font-size:.75rem;font-weight:700; }
.bgcs-flow-campaign__product { display:grid;grid-template-columns:minmax(72px,96px) minmax(0,1fr);gap:14px;align-items:center; }
.bgcs-flow-campaign__product-image img { display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:var(--bgcs-flow-radius-control); }
.bgcs-flow-campaign__price del { opacity:.62; }
.bgcs-flow-campaign__cta,.bgcs-flow-campaign__link { width:max-content;max-width:100%; }
.bgcs-flow-campaign__status { margin:2px 0 0;font-size:.875rem;overflow-wrap:anywhere; }
.bgcs-flow-campaign__status.is-error { color:#b42318; }
.bgcs-flow-campaign__status.is-success { color:#067647; }
.bgcs-flow-campaign__fallback { width:max-content;max-width:100%;font-size:.875rem;font-weight:600; }
@media (max-width: 560px) { .bgcs-flow-campaign__product { grid-template-columns:72px minmax(0,1fr); } }

/* 0.9.8 — единен продуктов ред и чисти суми за всички вградени шаблони.
   Flow запазва семантичната WooCommerce таблица, но не допуска theme CSS или
   дълго продуктово име да превръщат реда в min-content колони. Custom template
   assets се зареждат след този слой и могат съзнателно да го надградят. */
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table {
  width:100%!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  border-spacing:0!important;
  background:transparent!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table>thead {
  display:table-header-group!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table:has(>tbody[hidden])>thead {
  display:none!important;
}
body.bgcs-flow-surface #order_review .shop_table>thead>tr,
body.bgcs-flow-surface #order_review .shop_table>tbody>tr.cart_item,
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr {
  display:table-row!important;
  background:transparent!important;
}
body.bgcs-flow-surface #order_review .shop_table>thead>tr>th {
  padding:0 0 12px!important;
  border:0!important;
  border-bottom:1px solid var(--cd-border)!important;
  background:transparent!important;
  color:var(--cd-heading)!important;
  font-size:.84rem!important;
  font-weight:650!important;
  line-height:1.35!important;
}
body.bgcs-flow-surface #order_review .shop_table>thead .product-name,
body.bgcs-flow-surface #order_review .shop_table>tbody>tr.cart_item>.product-name,
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr>th {
  width:72%!important;
  text-align:left!important;
}
body.bgcs-flow-surface #order_review .shop_table>thead .product-total,
body.bgcs-flow-surface #order_review .shop_table>tbody>tr.cart_item>.product-total,
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr>td {
  width:28%!important;
  text-align:right!important;
}
body.bgcs-flow-surface #order_review .shop_table>tbody>tr.cart_item>td {
  display:table-cell!important;
  box-sizing:border-box!important;
  padding:15px 0!important;
  border:0!important;
  border-bottom:1px solid var(--cd-border)!important;
  background:transparent!important;
  vertical-align:middle!important;
}
body.bgcs-flow-surface #order_review .shop_table>tbody>tr.cart_item>.product-name {
  min-width:0!important;
  padding-right:18px!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
body.bgcs-flow-surface #order_review .shop_table>tbody>tr.cart_item>.product-total {
  padding-left:10px!important;
  color:var(--cd-heading)!important;
  font-weight:650!important;
  white-space:nowrap!important;
  font-variant-numeric:tabular-nums;
}
body.bgcs-flow-surface #order_review .bgcs-cd-product {
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
}
body.bgcs-flow-surface #order_review .bgcs-cd-product__media {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:56px!important;
  height:56px!important;
  overflow:hidden!important;
  border-radius:10px!important;
  background:var(--bgcs-flow-surface-alt)!important;
}
body.bgcs-flow-surface #order_review .bgcs-cd-product__image {
  display:block!important;
  width:56px!important;
  height:56px!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  object-fit:cover!important;
}
body.bgcs-flow-surface #order_review .bgcs-cd-product__copy {
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  gap:2px 5px!important;
  width:100%!important;
  min-width:0!important;
  color:var(--cd-text)!important;
  font-size:.92rem!important;
  font-weight:550!important;
  line-height:1.42!important;
}
body.bgcs-flow-surface #order_review .bgcs-cd-product__title {
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
body.bgcs-flow-surface #order_review .bgcs-cd-product__quantity {
  display:inline!important;
  flex:0 0 auto!important;
  margin:0!important;
  color:var(--cd-text)!important;
  font-size:inherit!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
body.bgcs-flow-surface #order_review .shop_table .product-name>.variation {
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  gap:2px 6px!important;
  min-width:0!important;
  margin:7px 0 0 68px!important;
  color:var(--cd-muted)!important;
  font-size:.78rem!important;
  line-height:1.35!important;
}
body.bgcs-flow-surface #order_review .shop_table .product-name>.variation dt,
body.bgcs-flow-surface #order_review .shop_table .product-name>.variation dd,
body.bgcs-flow-surface #order_review .shop_table .product-name>.variation p {
  min-width:0!important;
  margin:0!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
body.bgcs-flow-surface.bgcs-cd-cart--minimal #order_review .bgcs-cd-product {
  grid-template-columns:minmax(0,1fr)!important;
}
body.bgcs-flow-surface.bgcs-cd-cart--minimal #order_review .bgcs-cd-product__media {
  display:none!important;
}
body.bgcs-flow-surface.bgcs-cd-cart--minimal #order_review .shop_table .product-name>.variation {
  margin-left:0!important;
}
body.bgcs-flow-surface #order_review .shop_table>tfoot,
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr,
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr>th,
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr>td {
  background:transparent!important;
}
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr>th,
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr>td {
  padding:13px 0!important;
  border:0!important;
  border-top:1px solid var(--cd-border)!important;
  vertical-align:middle!important;
}
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr>th {
  padding-right:18px!important;
  color:var(--cd-text)!important;
  font-size:.92rem!important;
  font-weight:550!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
}
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr>td {
  color:var(--cd-heading)!important;
  font-size:.92rem!important;
  font-weight:650!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  font-variant-numeric:tabular-nums;
}
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr.bgcs-cd-shipping-summary-row>td {
  width:28%!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
}
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr.order-total>th {
  font-size:1rem!important;
  font-weight:650!important;
}
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr.order-total>td {
  font-size:1.22rem!important;
  font-weight:800!important;
}
body.bgcs-flow-surface #order_review .shop_table>tfoot>tr.order-total>td small {
  display:block!important;
  margin-top:3px!important;
  color:var(--cd-muted)!important;
  font-size:.68em!important;
  font-weight:500!important;
  line-height:1.35!important;
  white-space:normal!important;
}
body.bgcs-flow-surface #order_review .shop_table .woocommerce-Price-amount,
body.bgcs-flow-surface #order_review .shop_table .amount {
  white-space:nowrap!important;
  font-variant-numeric:tabular-nums;
}
@media(max-width:520px){
  body.bgcs-flow-surface #order_review .shop_table>thead .product-name,
  body.bgcs-flow-surface #order_review .shop_table>tbody>tr.cart_item>.product-name,
  body.bgcs-flow-surface #order_review .shop_table>tfoot>tr>th{width:68%!important}
  body.bgcs-flow-surface #order_review .shop_table>thead .product-total,
  body.bgcs-flow-surface #order_review .shop_table>tbody>tr.cart_item>.product-total,
  body.bgcs-flow-surface #order_review .shop_table>tfoot>tr>td{width:32%!important}
  body.bgcs-flow-surface #order_review .shop_table>tbody>tr.cart_item>.product-name{padding-right:10px!important}
  body.bgcs-flow-surface #order_review .bgcs-cd-product{grid-template-columns:48px minmax(0,1fr)!important;gap:10px!important}
  body.bgcs-flow-surface #order_review .bgcs-cd-product__media,
  body.bgcs-flow-surface #order_review .bgcs-cd-product__image{width:48px!important;height:48px!important}
  body.bgcs-flow-surface #order_review .shop_table .product-name>.variation{margin-left:58px!important}
  body.bgcs-flow-surface.bgcs-cd-cart--minimal #order_review .shop_table .product-name>.variation{margin-left:0!important}
}

/* 0.9.9 — WoodMart / one-cell checkout product-row adapter.
   WoodMart renders each cart item as ONE td (`.wd-checkout-prod`) containing
   its own thumbnail, title/meta wrapper and price. Generic Flow table rules
   assume the default WooCommerce TWO-cell row (`.product-name` +
   `.product-total`). Forcing WoodMart's one-cell row back into that two-column
   table model leaves the second column empty and crushes the title/variations
   into a min-content strip. checkout-layout.js marks this markup explicitly so
   every built-in Flow template uses one deterministic layout without theme
   detection by name and without affecting ordinary WooCommerce rows. */
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart {
  display:block!important;
  width:100%!important;
  max-width:none!important;
  table-layout:auto!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart>thead {
  display:none!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart>tbody:not([hidden]) {
  display:block!important;
  width:100%!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart>tfoot {
  display:table!important;
  width:100%!important;
  max-width:none!important;
  table-layout:auto!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart>tbody>tr.bgcs-cd-cart-item--woodmart {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart>tbody>tr.bgcs-cd-cart-item--woodmart>td.wd-checkout-prod {
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr)!important;
  align-items:start!important;
  column-gap:12px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  padding:15px 0!important;
  border:0!important;
  border-bottom:1px solid var(--cd-border)!important;
  background:transparent!important;
  box-sizing:border-box!important;
  text-align:left!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-img {
  grid-column:1!important;
  grid-row:1!important;
  width:56px!important;
  min-width:56px!important;
  max-width:56px!important;
  margin:0!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-img>a {
  display:block!important;
  width:56px!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-img img {
  display:block!important;
  width:56px!important;
  height:56px!important;
  max-width:56px!important;
  margin:0!important;
  object-fit:cover!important;
  border-radius:10px!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-cont {
  grid-column:2!important;
  grid-row:1!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) max-content!important;
  align-items:start!important;
  column-gap:14px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-title {
  grid-column:1!important;
  min-width:0!important;
  max-width:none!important;
  width:auto!important;
  margin:0!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  hyphens:none!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-total {
  grid-column:2!important;
  width:auto!important;
  min-width:max-content!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  text-align:right!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-remove-btn-wrapp {
  display:none!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .cart-product-label-link,
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .cart-product-label {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .bgcs-cd-product {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .bgcs-cd-product__media {
  display:none!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .bgcs-cd-product__copy {
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:2px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  white-space:normal!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .bgcs-cd-product__title {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  hyphens:none!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .bgcs-cd-product__quantity {
  display:block!important;
  margin:0!important;
  white-space:nowrap!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-title>ul.variation,
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-title .variation {
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  gap:3px 6px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:7px 0 0!important;
  padding:0!important;
  list-style:none!important;
  color:var(--cd-muted)!important;
  font-size:.78rem!important;
  line-height:1.35!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-title .variation>li {
  display:contents!important;
}
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-title .item-variation-name,
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-title .item-variation-value,
body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-title .item-variation-value>p {
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}

@media(max-width:520px){
  body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart>tbody>tr.bgcs-cd-cart-item--woodmart>td.wd-checkout-prod {
    grid-template-columns:48px minmax(0,1fr)!important;
    column-gap:10px!important;
    padding:13px 0!important;
  }
  body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-img,
  body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-img>a,
  body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-img img {
    width:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    height:48px!important;
  }
  body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-cont {
    grid-template-columns:minmax(0,1fr) max-content!important;
    column-gap:8px!important;
  }
  body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-total {
    font-size:.9em!important;
  }
}

@media(max-width:380px){
  body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-cont {
    grid-template-columns:minmax(0,1fr)!important;
    row-gap:7px!important;
  }
  body.bgcs-flow-surface #order_review table.bgcs-cd-products-table--woodmart .wd-checkout-prod-total {
    grid-column:1!important;
    text-align:left!important;
  }
}

/* 0.9.10 — hard reset for theme-owned one-cell checkout rows.
   A WoodMart-style cart row contains one `td.wd-checkout-prod`, while the same
   order-review table footer still contains two cells. If that product tbody is
   allowed to keep table-row/table-cell semantics, the single product cell is
   assigned to the first table column (68–72% in Flow), which is exactly the
   242.375px-style width seen on narrow checkout summaries. Make only the
   product tbody/rows block layout so the one cell spans the actual table width.
   Structural :has() matching also applies before checkout-layout.js adds its
   adapter classes and after WooCommerce fragment refreshes. */
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod) {
  display:block!important;
  width:100%!important;
  max-width:none!important;
  table-layout:auto!important;
}
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod)>tfoot {
  display:table!important;
  width:100%!important;
  max-width:none!important;
  table-layout:auto!important;
}
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod)>tbody:not([hidden]) {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod)>tbody>tr.cart_item:has(>td.wd-checkout-prod) {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod)>tbody>tr.cart_item>td.wd-checkout-prod {
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr)!important;
  align-items:start!important;
  column-gap:12px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod) .wd-checkout-prod-cont {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) max-content!important;
  align-items:start!important;
  column-gap:14px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  flex:1 1 auto!important;
}
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod) .wd-checkout-prod-title {
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  flex:1 1 0%!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod) .wd-checkout-prod-total {
  width:auto!important;
  min-width:max-content!important;
  max-width:none!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
}
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod) .wd-checkout-remove-btn-wrapp {
  display:none!important;
}
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod) .wd-checkout-prod-title .variation {
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod) .wd-checkout-prod-title .item-variation-name,
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod) .wd-checkout-prod-title .item-variation-value,
body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod) .wd-checkout-prod-title .item-variation-value>p {
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}

@media(max-width:520px){
  body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod)>tbody>tr.cart_item>td.wd-checkout-prod {
    grid-template-columns:48px minmax(0,1fr)!important;
    column-gap:10px!important;
  }
  body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod) .wd-checkout-prod-cont {
    grid-template-columns:minmax(0,1fr) max-content!important;
    column-gap:8px!important;
  }
}

@media(max-width:380px){
  body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod) .wd-checkout-prod-cont {
    grid-template-columns:minmax(0,1fr)!important;
    row-gap:7px!important;
  }
  body.bgcs-flow-surface #order_review table.woocommerce-checkout-review-order-table:has(>tbody>tr.cart_item>td.wd-checkout-prod) .wd-checkout-prod-total {
    grid-column:1!important;
    text-align:left!important;
  }
}
