/*
 * Cart + checkout — same look as the rest of the store (inc/store-flow.php).
 * White page, yellow banner like the shop header, white cards with soft borders,
 * cream summary card, pill buttons (ink → lime), Manrope headings, DM Sans text.
 */

/* ---------- Page ---------- */
html:not(#bs) body:is(.woocommerce-cart, .bs-checkout-shell) { background: var(--bs-color-bg); }
html:not(#bs) .woocommerce-cart .bs-entry__header { display: none; }
html:not(#bs) :is(.woocommerce-cart, .bs-checkout-shell) .bs-entry--app.bs-section { padding-top: 18px; }
html:not(#bs) .bs-checkout-shell .bs-main { padding: 0; }
html:not(#bs) .bs-checkout-shell .bs-entry__content { max-width: 1240px; margin: 0 auto; padding: 18px var(--bs-pad, 16px) 0; }
html:not(#bs) :is(.woocommerce-cart, .bs-checkout-shell) .bs-ft__cta { display: none; }
html:not(#bs) .bs-checkout-shell .wp-block-woocommerce-checkout { max-width: none; padding: 0; }

/* ---------- Banner ---------- */
html:not(#bs) .bs-flow { margin: 0 0 22px; }
html:not(#bs) .bs-flow__frame { display: grid; gap: 18px; padding: clamp(22px, 3.4vw, 36px) clamp(20px, 3.6vw, 40px); border-radius: var(--bs-r-lg, 26px); background: var(--bs-color-sunny); color: var(--bs-color-ink); overflow: hidden; position: relative; }
html:not(#bs) .bs-flow__frame::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: color-mix(in srgb, #fff 26%, transparent); pointer-events: none; }
@media (min-width: 900px) { html:not(#bs) .bs-flow__frame { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; } }
html:not(#bs) .bs-flow__copy { position: relative; z-index: 1; display: grid; gap: 6px; }
html:not(#bs) .bs-flow__copy > * { margin: 0; }
html:not(#bs) .bs-flow__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
html:not(#bs) .bs-flow__eyebrow svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html:not(#bs) .bs-flow__title { color: var(--bs-color-ink); font-family: var(--bs-font-heading); font-size: clamp(30px, 4vw, 48px); font-weight: 800; line-height: 1; letter-spacing: -0.045em; }
html:not(#bs) .bs-flow__text { color: color-mix(in srgb, var(--bs-color-ink) 80%, transparent); font-size: 15px; }
html:not(#bs) .bs-flow__steps { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px; border-radius: 999px; background: color-mix(in srgb, #fff 55%, transparent); list-style: none; justify-self: start; }
html:not(#bs) .bs-flow__steps li { margin: 0; }
html:not(#bs) .bs-flow__steps li, html:not(#bs) .bs-flow__steps a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 6px; border-radius: 999px; color: color-mix(in srgb, var(--bs-color-ink) 60%, transparent); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
html:not(#bs) .bs-flow__steps li:has(> a) { padding: 0; }
html:not(#bs) .bs-flow__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--bs-color-ink) 10%, transparent); color: var(--bs-color-ink); font-size: 12px; }
html:not(#bs) .bs-flow__steps .is-now { background: var(--bs-color-ink); color: #fff; }
html:not(#bs) .bs-flow__steps .is-now .bs-flow__n { background: var(--bs-color-lime); color: var(--bs-color-ink); }
html:not(#bs) .bs-flow__steps .is-done a { color: var(--bs-color-ink); }
html:not(#bs) .bs-flow__steps .is-done .bs-flow__n { background: var(--bs-color-ink); color: var(--bs-color-lime); }
html:not(#bs) .bs-flow__steps .is-done a:hover { background: #fff; }

/* ---------- Shared: fields ---------- */
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) :is(.wc-block-components-text-input input, .wc-block-components-select select, .wc-blocks-components-select__select, textarea) { border: 1.5px solid var(--bs-color-border); border-radius: 14px; background: #fff; color: var(--bs-color-ink); box-shadow: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) :is(.wc-block-components-text-input input, .wc-blocks-components-select__select, textarea):hover { border-color: color-mix(in srgb, var(--bs-color-ink) 30%, var(--bs-color-border)); }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) :is(.wc-block-components-text-input input, .wc-blocks-components-select__select, textarea):focus { border-color: var(--bs-color-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bs-color-lime) 55%, transparent); outline: none; }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-text-input label { color: var(--bs-color-muted); }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) :is(.wc-block-components-checkbox__input, .wc-block-components-radio-control__input) { border-color: var(--bs-color-field-border); }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-checkbox__input:checked { background: var(--bs-color-ink); border-color: var(--bs-color-ink); }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-radio-control__input:checked { border-color: var(--bs-color-ink); }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-radio-control__input:checked::before { background: var(--bs-color-ink); }

/* ---------- Shared: summary card ---------- */
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-sidebar { padding: 24px; border: 1px solid var(--bs-color-border); border-radius: var(--bs-r-lg, 26px); background: var(--bs-color-surface); box-shadow: 0 18px 50px color-mix(in srgb, var(--bs-color-ink) 6%, transparent); }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-item { color: var(--bs-color-text); font-size: 14px; }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-item__label { color: var(--bs-color-text); }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-item__value { color: var(--bs-color-ink); font-weight: 700; }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-footer-item { padding-top: 14px; }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__label, .wc-block-components-totals-item__value) { color: var(--bs-color-ink); font-family: var(--bs-font-heading); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-coupon .wc-block-components-panel__button { color: var(--bs-color-ink); font-weight: 700; }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-coupon__button { min-height: 48px; border-radius: 999px; }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) :is(.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button) { width: 100%; min-height: 56px; border-radius: 999px; font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
html:not(#bs) .bs-cart-assure, html:not(#bs) .bs-cart-note { color: var(--bs-color-text); }

/* ---------- Cart: items as clean rows in a white card ---------- */
html:not(#bs) .wc-block-cart .wc-block-cart-items { border: 1px solid var(--bs-color-border); border-radius: var(--bs-r-lg, 26px); background: #fff; border-collapse: separate; border-spacing: 0; overflow: hidden; }
html:not(#bs) .wc-block-cart .wc-block-cart-items__header { background: var(--bs-color-card-bg); }
html:not(#bs) .wc-block-cart .wc-block-cart-items__header th { padding: 14px 20px; border: 0; color: var(--bs-color-muted); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
html:not(#bs) .wc-block-cart .wc-block-cart-items__row td { padding: 18px 20px; border-top: 1px solid var(--bs-color-border); vertical-align: top; }
html:not(#bs) .wc-block-cart .wc-block-cart-items__row:first-child td { border-top: 0; }
html:not(#bs) .wc-block-cart .wc-block-cart-item__image img { width: 96px; height: 96px; border-radius: 16px; background: var(--bs-color-card-bg); object-fit: cover; }
html:not(#bs) .wc-block-cart .wc-block-components-product-name { color: var(--bs-color-ink); font-family: var(--bs-font-heading); font-size: 16px; font-weight: 800; line-height: 1.3; text-decoration: none; }
html:not(#bs) .wc-block-cart .wc-block-components-product-name:hover { text-decoration: underline; }
html:not(#bs) .wc-block-cart .wc-block-cart-item__prices, html:not(#bs) .wc-block-cart .wc-block-components-product-metadata { color: var(--bs-color-muted); font-size: 13px; }
html:not(#bs) .wc-block-cart .wc-block-cart-item__total .wc-block-components-product-price { color: var(--bs-color-ink); font-size: 16px; font-weight: 800; }
html:not(#bs) .wc-block-cart .wc-block-components-sale-badge { border: 0; border-radius: 999px; background: var(--bs-color-ink); color: var(--bs-color-lime); font-size: 11px; font-weight: 800; }
html:not(#bs) .wc-block-cart .wc-block-components-quantity-selector { width: 116px; min-height: 42px; margin-top: 10px; border: 1.5px solid var(--bs-color-border); border-radius: 999px; background: #fff; overflow: hidden; }
html:not(#bs) .wc-block-cart .wc-block-components-quantity-selector::after { display: none; }
html:not(#bs) .wc-block-cart .wc-block-components-quantity-selector__input { color: var(--bs-color-ink); font-size: 15px; font-weight: 800; }
html:not(#bs) .wc-block-cart .wc-block-components-quantity-selector__button { min-width: 38px; color: var(--bs-color-ink); opacity: 1; transition: background-color 0.2s ease; }
html:not(#bs) .wc-block-cart .wc-block-components-quantity-selector__button:hover { background: var(--bs-skin-chip); }
html:not(#bs) .wc-block-cart .wc-block-cart-item__remove-link { margin-top: 10px; color: var(--bs-color-muted); font-size: 12.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
html:not(#bs) .wc-block-cart .wc-block-cart-item__remove-link:hover { color: var(--bs-color-coral-strong); }
@media (min-width: 1000px) {
	html:not(#bs) .wc-block-cart.wc-block-components-sidebar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
	html:not(#bs) .wc-block-cart .wc-block-components-main, html:not(#bs) .wc-block-cart .wc-block-components-sidebar { width: auto; margin: 0; padding-left: 0; padding-right: 0; }
	html:not(#bs) .wc-block-cart .wc-block-components-sidebar { position: sticky; top: 24px; padding: 26px; }
}

/* Empty cart */
html:not(#bs) .wp-block-woocommerce-empty-cart-block { padding: clamp(28px, 5vw, 56px) 20px; border: 1px dashed var(--bs-color-border); border-radius: var(--bs-r-lg, 26px); background: var(--bs-color-surface); text-align: center; }
html:not(#bs) .wp-block-woocommerce-empty-cart-block h2 { font-size: clamp(22px, 2.6vw, 30px); }

/* ---------- Checkout: each step is a card with a numbered title ---------- */
html:not(#bs) .bs-checkout-shell .wc-block-checkout__form { counter-reset: bs-step; }
html:not(#bs) .bs-checkout-shell .wc-block-components-checkout-step { margin: 0 0 16px; padding: 22px 24px; border: 1px solid var(--bs-color-border); border-radius: var(--bs-r-lg, 26px); background: #fff; }
html:not(#bs) .bs-checkout-shell .wc-block-components-checkout-step__heading { display: flex; align-items: center; margin: 0 0 14px; }
html:not(#bs) .bs-checkout-shell .wc-block-components-checkout-step__title { display: inline-flex; align-items: center; gap: 12px; margin: 0; color: var(--bs-color-ink); font-family: var(--bs-font-heading); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
html:not(#bs) .bs-checkout-shell .wc-block-components-checkout-step__title::before { counter-increment: bs-step; content: counter(bs-step); display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--bs-color-lime); color: var(--bs-color-ink); font-size: 13px; font-weight: 800; }
html:not(#bs) .bs-checkout-shell .wc-block-components-checkout-step__description { margin: -6px 0 14px; color: var(--bs-color-muted); font-size: 13.5px; }
html:not(#bs) .bs-checkout-shell .wc-block-components-checkout-step__container::after, html:not(#bs) .bs-checkout-shell .wc-block-components-checkout-step::before { display: none; }
html:not(#bs) .bs-checkout-shell .wc-block-components-radio-control-accordion-option, html:not(#bs) .bs-checkout-shell .wc-block-components-radio-control__option { border-radius: 16px; }
html:not(#bs) .bs-checkout-shell .wc-block-components-radio-control--highlight-checked { border: 1px solid var(--bs-color-border); border-radius: 16px; overflow: hidden; }
html:not(#bs) .bs-checkout-shell .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
html:not(#bs) .bs-checkout-shell .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--bs-color-ink); background: color-mix(in srgb, var(--bs-color-lime) 14%, #fff); }
html:not(#bs) .bs-checkout-shell .wc-block-components-checkout-return-to-cart-button { color: var(--bs-color-ink); font-weight: 700; }
html:not(#bs) .bs-checkout-shell .wc-block-checkout__actions { padding: 0; }
html:not(#bs) .bs-checkout-shell .wc-block-checkout__terms { color: var(--bs-color-muted); font-size: 13px; }
html:not(#bs) .bs-checkout-shell .wc-block-components-order-summary-item__image img { border-radius: 12px; background: #fff; }
html:not(#bs) .bs-checkout-shell .wc-block-components-order-summary-item__quantity { border: 2px solid var(--bs-color-surface); background: var(--bs-color-ink); color: #fff; box-shadow: none; }
html:not(#bs) .bs-checkout-shell .wc-block-components-checkout-order-summary__title-text { color: var(--bs-color-ink); font-family: var(--bs-font-heading); font-weight: 800; }
@media (min-width: 1000px) {
	html:not(#bs) .bs-checkout-shell .wc-block-components-sidebar-layout { grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; }
	html:not(#bs) .bs-checkout-shell .wc-block-components-main { padding: 0 0 48px; }
	html:not(#bs) .bs-checkout-shell .wc-block-components-sidebar { position: sticky; top: 24px; margin: 0 0 48px; }
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
	html:not(#bs) .bs-flow { margin-bottom: 14px; }
	html:not(#bs) .bs-flow__frame { gap: 14px; padding: 20px 18px; border-radius: 20px; }
	html:not(#bs) .bs-flow__title { font-size: 28px; }
	html:not(#bs) .bs-flow__text { font-size: 13.5px; }
	html:not(#bs) .bs-flow__steps { width: 100%; justify-content: space-between; }
	html:not(#bs) .bs-flow__steps li, html:not(#bs) .bs-flow__steps a { min-height: 34px; padding-right: 10px; font-size: 12px; gap: 6px; }
	html:not(#bs) .bs-flow__n { width: 22px; height: 22px; font-size: 11px; }
	html:not(#bs) .wc-block-cart .wc-block-cart-items { border-radius: 20px; }
	html:not(#bs) .wc-block-cart .wc-block-cart-items__row td { padding: 14px; }
	html:not(#bs) .wc-block-cart .wc-block-cart-item__image img { width: 76px; height: 76px; border-radius: 14px; }
	html:not(#bs) .wc-block-cart .wc-block-components-product-name { font-size: 14.5px; }
	html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-sidebar { padding: 18px; border-radius: 20px; }
	html:not(#bs) .bs-checkout-shell .wc-block-components-checkout-step { padding: 18px 16px; border-radius: 20px; }
	html:not(#bs) .bs-checkout-shell .wc-block-components-checkout-step__title { font-size: 17px; }
	html:not(#bs) .bs-checkout-shell .wc-block-components-checkout-step__title::before { width: 26px; height: 26px; font-size: 12px; }
	html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__label, .wc-block-components-totals-item__value) { font-size: 18px; }
}

/* ---------- Steps: Bag → Pay → Confirmed ---------- */
html:not(#bs) .bs-flow__steps .is-done.is-now { background: var(--bs-color-ink); color: #fff; }
html:not(#bs) .bs-flow__steps .is-done.is-now .bs-flow__n { background: var(--bs-color-lime); color: var(--bs-color-ink); }
html:not(#bs) .bs-flow__steps li.is-done:not(.is-now) { color: var(--bs-color-ink); }
html:not(#bs) .bs-flow__steps .is-error { background: var(--bs-color-coral-strong, #D63B24); color: #fff; }
html:not(#bs) .bs-flow__steps .is-error .bs-flow__n { background: #fff; color: var(--bs-color-coral-strong, #D63B24); }

/* ---------- Order confirmation: the banner is the page's hero ---------- */
html:not(#bs) body.woocommerce-order-received .bs-entry__header { display: none; }
html:not(#bs) body.woocommerce-order-received .bs-entry--app.bs-section { padding-top: 18px; }
html:not(#bs) body.woocommerce-order-received .bs-entry__content { max-width: 1240px; margin-inline: auto; }

html:not(#bs) .bs-flow--done.is-failed .bs-flow__frame { background: var(--bs-color-blush, #FFE5DC); }
html:not(#bs) .bs-flow--done .bs-flow__copy { grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: center; }
html:not(#bs) .bs-flow--done .bs-flow__copy > :not(.bs-flow__badge) { grid-column: 2; }
html:not(#bs) .bs-flow__badge { grid-column: 1; grid-row: 1 / span 3; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bs-color-ink); color: var(--bs-color-lime); font-size: 28px; font-weight: 800; animation: bs-pop 0.5s cubic-bezier(.3, 1.5, .5, 1) both; }
html:not(#bs) .bs-flow--done.is-failed .bs-flow__badge { background: var(--bs-color-coral-strong, #D63B24); color: #fff; }
html:not(#bs) .bs-flow--done .bs-flow__title { overflow-wrap: anywhere; }
@keyframes bs-pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* Confirmation body: one clear 2-column layout (details | summary), single column on phones. */
html:not(#bs) body.woocommerce-order-received .woocommerce:has(> .bs-thanks) { max-width: none; margin: 0; text-align: left; }
html:not(#bs) .bs-thanks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: none; margin: 0; align-items: start; }
html:not(#bs) .bs-thanks::before, html:not(#bs) .bs-thanks::after { content: none; }
html:not(#bs) .bs-thanks__main { display: grid; gap: 18px; min-width: 0; }
html:not(#bs) .bs-thanks__summary { min-width: 0; }
@media (min-width: 1000px) {
	html:not(#bs) .bs-thanks { grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; }
	html:not(#bs) .bs-thanks__summary { position: sticky; top: calc(var(--bs-header-height, 80px) + 20px); }
}
html:not(#bs) .bs-thanks.has-flow .bs-thanks__card--confirm .bs-thanks__lead { margin-top: 0; }
html:not(#bs) .bs-thanks :is(.bs-thanks__card, .bs-thanks__summary) { box-shadow: none; transform: none; }
html:not(#bs) .bs-thanks .bs-progress { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html:not(#bs) .bs-thanks .bs-oitem { grid-template-columns: 64px minmax(0, 1fr) auto; }
html:not(#bs) .bs-thanks .bs-oitem__media { width: 64px; height: 64px; overflow: visible; }
html:not(#bs) .bs-thanks .bs-oitem__media img { position: static; width: 100%; height: 100%; max-width: none; object-fit: cover; }
html:not(#bs) .bs-thanks__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
@media (max-width: 767px) {
	html:not(#bs) .bs-flow__badge { width: 48px; height: 48px; font-size: 22px; }
	html:not(#bs) .bs-flow--done .bs-flow__copy { column-gap: 14px; }
	html:not(#bs) .bs-thanks .bs-progress__step strong { font-size: 11.5px; }
	html:not(#bs) .bs-thanks__actions { flex-direction: column; align-items: stretch; }
	html:not(#bs) .bs-thanks__actions > * { text-align: center; }
}

/* ======================================================================
 * Bag page tidy-up
 * ==================================================================== */
/* Suggestions: the store's own product cards, a calm heading (not a page-size title). */
html:not(#bs) .bs-cart-more { margin: 40px 0 0; }
html:not(#bs) .bs-cart-more__head { display: grid; gap: 4px; margin: 0 0 18px; }
html:not(#bs) .bs-cart-more__title { margin: 0; color: var(--bs-color-ink); font-family: var(--bs-font-heading); font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; }
html:not(#bs) .bs-cart-more__sub { margin: 0; color: var(--bs-color-muted); font-size: 15px; }
html:not(#bs) .bs-cart-more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { html:not(#bs) .bs-cart-more__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
html:not(#bs) .bs-cart-more__grid > li { display: flex; margin: 0; }
html:not(#bs) .bs-cart-more__grid > li > * { flex: 1 1 auto; }

/* "Secure checkout" — same words and lock as the bag drawer's button. */
html:not(#bs) .wc-block-cart__submit-button { display: flex; align-items: center; justify-content: center; gap: 10px; }
html:not(#bs) .wc-block-cart__submit-button::before { content: ""; flex: 0 0 auto; width: 18px; height: 18px; background: currentColor; -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%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") 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%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") center / contain no-repeat; }

/* Coupon box always open (flow.js opens it); the toggle becomes a plain label. */
html:not(#bs) .wc-block-components-totals-coupon .wc-block-components-panel__button { pointer-events: none; cursor: default; padding-top: 4px; padding-bottom: 10px; }
html:not(#bs) .wc-block-components-totals-coupon .wc-block-components-panel__button-icon { display: none; }
html:not(#bs) .wc-block-components-totals-coupon .wc-block-components-panel__content { padding-top: 0; }
html:not(#bs) .wc-block-components-totals-coupon__form { display: flex; gap: 8px; align-items: stretch; }
html:not(#bs) .wc-block-components-totals-coupon__form .wc-block-components-text-input { flex: 1 1 auto; margin: 0; }
html:not(#bs) .wc-block-components-totals-coupon__button { flex: 0 0 auto; margin: 0; padding: 0 20px; }

/* One line between rows, never two (WooCommerce adds its own borders next to ours). */
html:not(#bs) .wc-block-cart .wc-block-cart-items { border-collapse: separate; }
html:not(#bs) .wc-block-cart .wc-block-cart-items__header th { border-bottom: 1px solid var(--bs-color-border); }
html:not(#bs) .wc-block-cart .wc-block-cart-items__row:first-child td { border-top: 0; }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-sidebar .wc-block-components-totals-wrapper:first-child { border-top: 0; }
html:not(#bs) :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-sidebar .wc-block-components-totals-wrapper:empty { display: none; }

/* Breathing room at the end of store pages: one gap before the footer, not two. */
html:not(#bs) :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .wc-block-cart, .wc-block-checkout) { margin-bottom: 0; }
html:not(#bs) body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .bs-entry--app.bs-section { padding-bottom: 0; }
html:not(#bs) body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .bs-ft { margin-top: clamp(48px, 6vw, 72px); }
html:not(#bs) .wc-block-cart .wc-block-components-sidebar-layout, html:not(#bs) .bs-checkout-shell .wc-block-components-sidebar-layout { margin-bottom: 0; }
html:not(#bs) .bs-checkout-shell .wc-block-components-sidebar { margin-bottom: 0; }
html:not(#bs) .bs-checkout-shell .wc-block-components-main { padding-bottom: 0; }

/* ======================================================================
 * Order confirmation = same look as bag + checkout
 * Yellow banner, white step-style cards, cream summary card like the bag totals.
 * ==================================================================== */
html:not(#bs) .bs-flow--done:not(.is-failed) .bs-flow__frame { background: var(--bs-color-sunny); }
html:not(#bs) .bs-thanks .bs-thanks__card { padding: 24px; border: 1px solid var(--bs-color-border); border-radius: var(--bs-r-lg, 26px); background: #fff; }
html:not(#bs) .bs-thanks .bs-thanks__card--confirm { border-color: var(--bs-color-border); }
html:not(#bs) .bs-thanks .bs-thanks__h2 { margin: 0 0 14px; color: var(--bs-color-ink); font-family: var(--bs-font-heading); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
html:not(#bs) .bs-thanks .bs-thanks__summary { padding: 26px; border: 1px solid var(--bs-color-border); border-radius: var(--bs-r-lg, 26px); background: var(--bs-color-surface); box-shadow: 0 18px 50px color-mix(in srgb, var(--bs-color-ink) 6%, transparent); }
html:not(#bs) .bs-thanks .bs-thanks__payinfo > * { margin: 0; padding: 18px 22px; border: 1px solid var(--bs-color-border); border-radius: var(--bs-r-lg, 26px); background: #fff; }
@media (max-width: 767px) {
	html:not(#bs) .bs-thanks :is(.bs-thanks__card, .bs-thanks__summary) { padding: 18px 16px; border-radius: 20px; }
	html:not(#bs) .bs-cart-more { margin-top: 28px; }
	html:not(#bs) .bs-cart-more__title { font-size: 19px; }
}

/* Checkout options: the group has the border; options inside only get a divider (no box in a box). */
html:not(#bs) .wc-block-components-radio-control--highlight-checked :is(.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option):not([class*="checked-option-highlighted"]) { border: 0; box-shadow: none; }
html:not(#bs) .wc-block-components-radio-control--highlight-checked > * + * { border-top: 1px solid var(--bs-color-border); }
html:not(#bs) .bs-checkout-shell .wc-block-components-checkout-step .wc-block-components-checkout-step { border: 0; padding: 0; }
