/* ==========================================================================
   BikerDroid — Cart + shared purchase-flow components
   Loaded on: cart, checkout, order-pay and order-received.
   The Cart/Checkout blocks render inside .entry-content, whose long-form "prose"
   rules (links, lists, tables, headings) are neutralised here first.
   ========================================================================== */

/* ---------- Page frame ---------- */
/* base.css' ".one-container .container" reset also zeroes the page gutter; restore it. */
.bd-theme.bd-flow .site.grid-container.container {
	padding-left: var(--bd-gutter);
	padding-right: var(--bd-gutter);
}
.bd-theme.bd-flow .site-content {
	padding-top: clamp(20px, 3vw, 36px);
	padding-bottom: clamp(48px, 6vw, 88px);
}
.bd-flow .entry-content {
	font-size: var(--bd-fs-base);
	line-height: 1.5;
	color: var(--bd-text);
}
.bd-theme .entry-content .wp-block-woocommerce-cart.alignwide,
.bd-theme .entry-content .wp-block-woocommerce-checkout.alignwide {
	width: auto;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-top: 0;
}
.bd-theme .wp-block-woocommerce-cart,
.bd-theme .wp-block-woocommerce-checkout {
	color: var(--bd-text);
	font-size: var(--bd-fs-base);
	line-height: 1.5;
}

/*
 * Prose resets inside the blocks. :where() keeps them exactly as specific as the
 * base.css prose rules they undo, so component rules below still win.
 */
.bd-theme .entry-content :where(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .bd-received, .bd-pay) a:where(:not(.button):not(.bd-btn):not(.wp-block-button__link):not(.wc-block-components-button)) {
	color: inherit;
	text-decoration: none;
}
.bd-theme .entry-content :where(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .bd-received, .bd-pay) a:where(:not(.button):not(.bd-btn):not(.wp-block-button__link):not(.wc-block-components-button)):hover {
	color: var(--bd-gold-ink);
}
.bd-theme .entry-content :where(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .bd-received, .bd-pay) ul,
.bd-theme .entry-content :where(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .bd-received, .bd-pay) ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bd-theme .entry-content :where(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .bd-received, .bd-pay) li {
	margin: 0;
}
.bd-theme .entry-content :where(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .bd-received, .bd-pay) h2,
.bd-theme .entry-content :where(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .bd-received, .bd-pay) h3 {
	margin-top: 0;
	color: inherit;
}

/* ---------- Compact flow heading ---------- */
.bd-flow-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px 40px;
	margin: 0 0 clamp(20px, 2.6vw, 32px);
	padding-bottom: clamp(16px, 2vw, 22px);
	border-bottom: 1px solid var(--bd-line);
}
.bd-flow-head__main {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.bd-theme .bd-flow-head__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 0;
	font-family: var(--bd-font-display);
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 800;
	font-stretch: 110%;
	line-height: 1;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}
.bd-flow-head__count {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border-radius: var(--bd-r-pill);
	background: var(--bd-paper);
	border: 1px solid var(--bd-line);
	color: var(--bd-text-2);
	font-family: var(--bd-font-body);
	font-size: 12px;
	font-weight: 700;
	font-stretch: 100%;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: none;
}
.bd-theme .bd-flow-head__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	min-height: 32px;
	color: var(--bd-text-2);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
}
.bd-theme .bd-flow-head__back .bd-icon {
	transition: transform var(--bd-dur) var(--bd-ease);
}
.bd-theme .bd-flow-head__back:hover {
	color: var(--bd-text);
}
.bd-theme .bd-flow-head__back:hover .bd-icon {
	transform: translateX(-3px);
}
.bd-cart-is-empty .bd-flow-head .bd-steps,
.bd-cart-is-empty .bd-flow-head__count {
	display: none;
}
.bd-flow-head--done {
	justify-content: center;
	border-bottom: 0;
	padding-bottom: 0;
}

/* ---------- Progress steps ---------- */
.bd-theme ol.bd-steps {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}
.bd-theme .bd-steps__item {
	display: flex;
	align-items: center;
	margin: 0;
	color: var(--bd-text-3);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}
.bd-steps__item + .bd-steps__item::before {
	content: "";
	flex: none;
	width: clamp(18px, 4vw, 48px);
	height: 2px;
	margin: 0 12px;
	border-radius: 2px;
	background: var(--bd-line-2);
}
.bd-steps__item.is-done + .bd-steps__item::before,
.bd-steps__item.is-done + .bd-steps__item.is-current::before {
	background: var(--bd-gold);
}
.bd-steps__link,
.bd-theme .bd-steps__link {
	display: inline-flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
}
.bd-steps__link:hover .bd-steps__label {
	color: var(--bd-gold-ink);
}
.bd-steps__dot {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 24px;
	height: 24px;
	margin-right: 9px;
	border-radius: 50%;
	border: 1.5px solid var(--bd-line-2);
	background: var(--bd-white);
	color: var(--bd-text-3);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0;
}
.bd-steps__item.is-current {
	color: var(--bd-text);
}
.bd-steps__item.is-current .bd-steps__dot {
	border-color: var(--bd-gold);
	background: var(--bd-gold);
	color: var(--bd-black);
	box-shadow: 0 0 0 4px var(--bd-gold-soft);
}
.bd-steps__item.is-done {
	color: var(--bd-text-2);
}
.bd-steps__item.is-done .bd-steps__dot {
	border-color: var(--bd-black);
	background: var(--bd-black);
	color: var(--bd-gold);
	box-shadow: none;
}
@media (max-width: 767px) {
	.bd-flow-head {
		align-items: stretch;
		flex-direction: column;
	}
	.bd-flow-head__main {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
	}
	.bd-theme .bd-flow-head__back {
		align-self: center;
		order: 2;
	}
	.bd-theme ol.bd-steps {
		justify-content: space-between;
	}
	.bd-steps__item + .bd-steps__item {
		flex: 1 1 auto;
	}
	.bd-steps__item + .bd-steps__item::before {
		flex: 1 1 auto;
		width: auto;
		min-width: 12px;
		margin: 0 8px;
	}
	.bd-theme .bd-steps__item {
		font-size: 10.5px;
		letter-spacing: 0.08em;
	}
	.bd-steps__dot {
		width: 22px;
		height: 22px;
		margin-right: 6px;
	}
}

/* ---------- Shared block components ---------- */

/* Money */
.bd-theme .wc-block-components-formatted-money-amount,
.bd-theme .wc-block-components-product-price {
	font-family: var(--bd-font-display);
	font-variant-numeric: tabular-nums;
}

/* Generic block buttons */
.bd-theme .wc-block-components-button:not(.is-link) {
	min-height: 52px;
	border-radius: var(--bd-r-btn);
	font-family: var(--bd-font-body);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none;
	transition: background-color var(--bd-dur) var(--bd-ease), box-shadow var(--bd-dur) var(--bd-ease), transform var(--bd-dur) var(--bd-ease);
}
.bd-theme .wc-block-components-button:not(.is-link):focus-visible {
	outline: 2px solid var(--bd-black);
	outline-offset: 2px;
	box-shadow: var(--bd-ring);
}
.bd-theme .wc-block-components-button:not(.is-link):active {
	transform: translateY(0);
}
.bd-theme .wc-block-components-button:not(.is-link)[disabled],
.bd-theme .wc-block-components-button:not(.is-link):disabled {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}
.bd-theme .wc-block-components-button .wc-block-components-spinner::after {
	border-color: var(--bd-black);
	border-right-color: transparent;
}

/* Plain-text buttons (coupon toggles, "change address", remove) — GeneratePress paints every <button> grey. */
.bd-theme .wc-block-components-button.is-link,
.bd-theme .wc-block-components-totals-shipping__change-address__link,
.bd-theme .wc-block-components-panel__button {
	background: transparent;
	color: inherit;
	border: 0;
	padding: 0;
	min-height: 0;
	box-shadow: none;
	text-transform: none;
	letter-spacing: 0;
}

/* Text inputs with floating labels (coupon form, shipping calculator, checkout) */
.bd-theme .wc-block-components-text-input {
	margin-top: 14px;
}
.bd-theme .wc-block-components-text-input input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="password"], [type="date"]) {
	height: 52px;
	min-height: 52px;
	padding: 16px 14px;
	border: 1.5px solid var(--bd-line-2);
	border-radius: var(--bd-r-btn);
	background: var(--bd-white);
	color: var(--bd-text);
	font-family: var(--bd-font-body);
	font-size: 15px;
	line-height: 20px;
	box-shadow: none;
	transition: border-color var(--bd-dur) var(--bd-ease), box-shadow var(--bd-dur) var(--bd-ease);
}
.bd-theme .wc-block-components-text-input input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="password"], [type="date"]):hover {
	border-color: var(--bd-text-3);
}
.bd-theme .wc-block-components-text-input input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="password"], [type="date"]):focus {
	border-color: var(--bd-black);
	box-shadow: var(--bd-ring);
	outline: none;
}
.bd-theme .wc-block-components-text-input.is-active input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="password"], [type="date"]),
.bd-theme .wc-block-components-text-input input:-webkit-autofill {
	padding: 24px 14px 6px;
}
.bd-theme .wc-block-components-text-input label {
	left: 15px;
	top: 26px;
	max-width: calc(100% - 30px);
	color: var(--bd-text-3);
	font-size: 15px;
	font-weight: 400;
	line-height: 20px;
	transition: transform 0.15s var(--bd-ease), top 0.15s var(--bd-ease), color 0.15s var(--bd-ease);
}
.bd-theme .wc-block-components-text-input.is-active label,
.bd-theme .wc-block-components-text-input input:-webkit-autofill + label {
	top: 8px;
	transform: scale(0.8);
	color: var(--bd-text-2);
	font-weight: 600;
}
.bd-theme .wc-block-components-text-input.has-error input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="password"]) {
	border-color: var(--bd-danger);
	background: var(--bd-danger-bg);
}
.bd-theme .wc-block-components-text-input.has-error input:focus {
	box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.2);
}
.bd-theme .wc-block-components-text-input.has-error label,
.bd-theme .wc-block-components-validation-error,
.bd-theme .wc-block-components-validation-error > p {
	color: var(--bd-danger);
}
.bd-theme .wc-block-components-validation-error {
	margin-top: 6px;
	font-size: 12.5px;
	font-weight: 600;
}
.bd-theme .wc-block-components-validation-error svg {
	fill: currentColor;
}

/* Selects (country / state) */
.bd-theme .wc-blocks-components-select .wc-blocks-components-select__container {
	height: 52px;
	border-radius: var(--bd-r-btn);
	background: var(--bd-white);
}
.bd-theme .wc-blocks-components-select .wc-blocks-components-select__select {
	height: 52px;
	min-height: 52px;
	padding: 22px 40px 6px 14px;
	border: 1.5px solid var(--bd-line-2);
	border-radius: var(--bd-r-btn);
	background: transparent;
	background-image: none;
	color: var(--bd-text);
	font-size: 15px;
	line-height: 20px;
	box-shadow: none;
}
.bd-theme .wc-blocks-components-select .wc-blocks-components-select__select:hover {
	border-color: var(--bd-text-3);
}
.bd-theme .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--bd-black);
	box-shadow: var(--bd-ring);
	outline: none;
}
.bd-theme .wc-blocks-components-select .wc-blocks-components-select__label {
	left: 15px;
	top: 8px;
	color: var(--bd-text-2);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}
.bd-theme .wc-blocks-components-select .wc-blocks-components-select__expand {
	right: 14px;
	fill: var(--bd-text);
}

/* Checkbox */
.bd-theme .wc-block-components-checkbox {
	margin-top: 14px;
}
.bd-theme .wc-block-components-checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 22px;
	color: var(--bd-text);
	cursor: pointer;
}
.bd-theme .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	flex: none;
	width: 22px;
	height: 22px;
	min-height: 0;
	margin: 0 12px 0 0;
	border: 1.5px solid var(--bd-line-2);
	border-radius: 6px;
	background: var(--bd-white);
	box-shadow: none;
	transition: background-color var(--bd-dur) var(--bd-ease), border-color var(--bd-dur) var(--bd-ease);
}
.bd-theme .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:hover {
	border-color: var(--bd-text-2);
}
.bd-theme .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	border-color: var(--bd-black);
	background: var(--bd-black);
}
.bd-theme .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--bd-gold);
	outline-offset: 2px;
}
.bd-theme .wc-block-components-checkbox .wc-block-components-checkbox__mark {
	left: 3px;
	top: 3px;
	width: 16px;
	height: 16px;
	margin: 0;
	fill: var(--bd-gold);
}

/* Radio options as selectable cards */
.bd-theme .wc-block-components-radio-control {
	display: grid;
	gap: 10px;
}
.bd-theme .wc-block-components-radio-control__option,
.bd-theme .wc-block-components-radio-control-accordion-option {
	position: relative;
	margin: 0;
	border: 1.5px solid var(--bd-line);
	border-radius: var(--bd-r);
	background: var(--bd-white);
	box-shadow: none;
	transition: border-color var(--bd-dur) var(--bd-ease), background-color var(--bd-dur) var(--bd-ease), box-shadow var(--bd-dur) var(--bd-ease);
}
.bd-theme .wc-block-components-radio-control__option {
	display: block;
	padding: 16px 16px 16px 52px;
	cursor: pointer;
}
.bd-theme .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
	border: 0;
	border-radius: 0;
	background: transparent;
}
.bd-theme .wc-block-components-radio-control__option:hover,
.bd-theme .wc-block-components-radio-control-accordion-option:hover {
	border-color: var(--bd-text-3);
}
.bd-theme .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option:hover {
	border-color: transparent;
}
.bd-theme .wc-block-components-radio-control__option.wc-block-components-radio-control__option-checked,
.bd-theme .wc-block-components-radio-control-accordion-option:has(.wc-block-components-radio-control__option-checked) {
	border-color: var(--bd-gold);
	background: var(--bd-gold-50);
	box-shadow: 0 0 0 1px var(--bd-gold), 0 10px 24px -18px rgba(140, 103, 0, 0.6);
}
.bd-theme .wc-block-components-radio-control-accordion-option:has(.wc-block-components-radio-control__option-checked) .wc-block-components-radio-control__option {
	background: transparent;
	box-shadow: none;
}
/* WooCommerce's own "highlight" outlines are replaced by the card states above. */
.bd-theme .wc-block-components-radio-control--highlight-checked::after,
.bd-theme .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted::after,
.bd-theme .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted::after,
.bd-theme .wc-block-components-radio-control__option--checked-option-highlighted::after {
	display: none;
	content: none;
}
.bd-theme .wc-block-components-radio-control .wc-block-components-radio-control__input {
	position: absolute;
	left: 16px;
	top: 16px;
	width: 22px;
	height: 22px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1.5px solid var(--bd-line-2);
	border-radius: 50%;
	background: var(--bd-white);
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transform: none;
}
.bd-theme .wc-block-components-radio-control .wc-block-components-radio-control__option .wc-block-components-radio-control__input {
	top: 16px;
	transform: none;
}
.bd-theme .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
	border: 7px solid var(--bd-black);
	background: var(--bd-gold);
}
.bd-theme .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before {
	display: none;
}
.bd-theme .wc-block-components-radio-control .wc-block-components-radio-control__input:focus-visible {
	outline: 2px solid var(--bd-gold);
	outline-offset: 2px;
}
.bd-theme .wc-block-components-radio-control__option-layout {
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: 100%;
	padding: 0;
}
.bd-theme .wc-block-components-radio-control__label-group {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.bd-theme .wc-block-components-radio-control__label {
	color: var(--bd-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}
.bd-theme .wc-block-components-radio-control__secondary-label {
	color: var(--bd-text);
	font-family: var(--bd-font-display);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}
.bd-theme .wc-block-components-radio-control__description,
.bd-theme .wc-block-components-radio-control__secondary-description {
	color: var(--bd-text-2);
	font-size: 13px;
	line-height: 1.45;
}

/* Totals rows */
.bd-theme .wc-block-components-totals-wrapper {
	padding: 14px 0;
	border-top: 1px solid var(--bd-line);
}
.bd-theme .wc-block-components-totals-wrapper:empty,
.bd-theme .wc-block-components-totals-wrapper:has(> :only-child:empty) {
	display: none;
}
.bd-theme .wc-block-components-totals-wrapper:first-child {
	border-top: 0;
}
/* Subtotal, discounts, fees, shipping and taxes form one group. */
.bd-theme :is(.wp-block-woocommerce-cart-order-summary-totals-block, .wp-block-woocommerce-checkout-order-summary-totals-block) {
	padding: 10px 0;
	border-top: 1px solid var(--bd-line);
}
.bd-theme :is(.wp-block-woocommerce-cart-order-summary-totals-block, .wp-block-woocommerce-checkout-order-summary-totals-block) .wc-block-components-totals-wrapper {
	padding: 2px 0;
	border-top: 0;
}
.bd-theme .wc-block-components-totals-item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	padding: 4px 0;
	font-size: 14.5px;
}
.bd-theme .wc-block-components-totals-item__label {
	color: var(--bd-text-2);
	font-weight: 500;
	flex: 1 1 auto;
}
.bd-theme .wc-block-components-totals-item__value {
	color: var(--bd-text);
	font-weight: 700;
	white-space: nowrap;
}
.bd-theme .wc-block-components-totals-item__value strong {
	color: var(--bd-success);
	font-family: var(--bd-font-body);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.bd-theme .wc-block-components-totals-item__description {
	flex-basis: 100%;
	width: 100%;
	color: var(--bd-text-3);
	font-size: 12.5px;
}
.bd-theme .wc-block-components-totals-item__description:empty {
	display: none;
}
.bd-theme .wc-block-components-totals-footer-item {
	align-items: center;
	padding-top: 6px;
}
.bd-theme .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	color: var(--bd-text);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.bd-theme .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.bd-theme .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
	font-family: var(--bd-font-display);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
}
.bd-theme .wc-block-components-totals-footer-item-tax {
	color: var(--bd-text-3);
	font-size: 12px;
}
.bd-theme .wc-block-components-totals-shipping .wc-block-components-totals-item__description {
	margin-top: 2px;
}
.bd-theme .wc-block-components-shipping-address {
	color: var(--bd-text-3);
	font-size: 12.5px;
}
.bd-theme .wc-block-components-totals-shipping__change-address__link,
.bd-theme .wc-block-components-totals-shipping__change-address-button {
	color: var(--bd-gold-ink);
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.bd-theme .wc-block-components-totals-discount .wc-block-components-totals-item__value {
	color: var(--bd-success);
}
.bd-theme .wc-block-components-totals-discount__coupon-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 6px;
}
.bd-theme .wc-block-components-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 4px 6px 4px 10px;
	border: 1px solid rgba(21, 128, 61, 0.25);
	border-radius: var(--bd-r-pill);
	background: var(--bd-success-bg);
	color: var(--bd-success);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.bd-theme .wc-block-components-chip .wc-block-components-chip__remove {
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(21, 128, 61, 0.12);
	color: inherit;
	cursor: pointer;
}
.bd-theme .wc-block-components-chip .wc-block-components-chip__remove-icon {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

/* Coupon panel */
.bd-theme .wc-block-components-totals-coupon,
.bd-theme .wc-block-components-sidebar .wc-block-components-totals-coupon {
	padding: 0;
}
.bd-theme .wc-block-components-panel__button {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0 28px 0 0;
	color: var(--bd-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}
.bd-theme .wc-block-components-totals-coupon .wc-block-components-panel__button::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: var(--bd-gold-ink);
	-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='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z'/%3E%3Ccircle cx='7.5' cy='7.5' r='.5' fill='black'/%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='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z'/%3E%3Ccircle cx='7.5' cy='7.5' r='.5' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bd-theme .wc-block-components-panel__button:hover {
	color: var(--bd-gold-ink);
	background: transparent;
	transform: none;
}
.bd-theme .wc-block-components-panel__button .wc-block-components-panel__button-icon {
	position: absolute;
	right: 0;
	top: 50%;
	width: 22px;
	height: 22px;
	margin: 0;
	transform: translateY(-50%);
	fill: currentColor;
}
.bd-theme .wc-block-components-panel__content {
	padding: 4px 0 6px;
}
.bd-theme .wc-block-components-totals-coupon__form {
	display: flex;
	gap: 8px;
	margin: 0;
}
.bd-theme .wc-block-components-totals-coupon__form .wc-block-components-text-input {
	flex: 1 1 auto;
	margin: 0;
}
.bd-theme .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
	flex: none;
	min-height: 52px;
	padding: 0 20px;
	background: var(--bd-black);
	border-color: var(--bd-black);
	color: var(--bd-white);
}
.bd-theme .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:hover {
	background: var(--bd-dark-3);
	color: var(--bd-gold);
	box-shadow: none;
}
.bd-theme .wc-block-components-totals-coupon__content .wc-block-components-validation-error {
	margin-top: 8px;
}

/* Store notices inside the blocks */
.bd-theme .wc-block-components-notice-banner {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 16px;
	padding: 14px 16px;
	border: 1px solid var(--bd-line);
	border-left-width: 4px;
	border-radius: var(--bd-r);
	background: var(--bd-white);
	color: var(--bd-text);
	font-size: 14px;
	line-height: 1.5;
	box-shadow: var(--bd-shadow-xs);
}
.bd-theme .wc-block-components-notice-banner > svg {
	flex: none;
	width: 22px;
	height: 22px;
	padding: 0;
	border-radius: 50%;
	background: transparent;
	fill: currentColor;
}
.bd-theme .wc-block-components-notice-banner.is-error {
	border-color: rgba(198, 40, 40, 0.25);
	border-left-color: var(--bd-danger);
	background: var(--bd-danger-bg);
}
.bd-theme .wc-block-components-notice-banner.is-error > svg {
	color: var(--bd-danger);
}
.bd-theme .wc-block-components-notice-banner.is-success {
	border-left-color: var(--bd-success);
}
.bd-theme .wc-block-components-notice-banner.is-success > svg {
	color: var(--bd-success);
}
.bd-theme .wc-block-components-notice-banner.is-info,
.bd-theme .wc-block-components-notice-banner.is-warning {
	border-left-color: var(--bd-gold);
}
.bd-theme .wc-block-components-notice-banner.is-info > svg,
.bd-theme .wc-block-components-notice-banner.is-warning > svg {
	color: var(--bd-gold-ink);
}
.bd-theme .wc-block-components-notice-banner__content {
	flex: 1 1 auto;
	align-self: center;
}
.bd-theme .wc-block-components-notice-banner .wc-block-components-button.wc-block-components-notice-banner__dismiss {
	min-height: 0;
	padding: 0;
	background: transparent;
	color: var(--bd-text-3);
}
.bd-theme .wc-block-components-notice-snackbar-list {
	z-index: var(--bd-z-toast);
}
.bd-theme .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner {
	border: 0;
	background: var(--bd-black);
	color: var(--bd-white);
	box-shadow: var(--bd-shadow-lg);
}
.bd-theme .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner > svg {
	color: var(--bd-gold);
}

/* Quantity stepper */
.bd-theme .wc-block-components-quantity-selector {
	display: inline-flex;
	align-items: stretch;
	width: auto;
	min-width: 0;
	height: 40px;
	margin: 0;
	border: 1.5px solid var(--bd-line-2);
	border-radius: var(--bd-r-btn);
	background: var(--bd-white);
	overflow: hidden;
}
.bd-theme .wc-block-components-quantity-selector::after {
	display: none;
}
.bd-theme .wc-block-components-quantity-selector:focus-within {
	border-color: var(--bd-black);
	box-shadow: var(--bd-ring);
}
.bd-theme .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input {
	order: 2;
	width: 40px;
	min-width: 0;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--bd-text);
	font-family: var(--bd-font-display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	box-shadow: none;
	-moz-appearance: textfield;
}
.bd-theme .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input:focus {
	box-shadow: none;
	outline: none;
}
.bd-theme .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	display: grid;
	place-items: center;
	width: 40px;
	min-width: 40px;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--bd-text);
	font-family: var(--bd-font-body);
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	opacity: 1;
	cursor: pointer;
	transition: background-color var(--bd-dur) var(--bd-ease), color var(--bd-dur) var(--bd-ease);
}
.bd-theme .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--minus {
	order: 1;
}
.bd-theme .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--plus {
	order: 3;
}
.bd-theme .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover:not(:disabled) {
	background: var(--bd-paper);
	color: var(--bd-gold-ink);
}
.bd-theme .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus-visible {
	outline: 2px solid var(--bd-gold);
	outline-offset: -2px;
}
.bd-theme .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled {
	color: var(--bd-line-2);
	cursor: not-allowed;
}

/* Sale badge */
.bd-theme .wc-block-components-sale-badge,
.bd-theme .wc-block-components-product-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin: 6px 0 0;
	padding: 3px 8px;
	border: 0;
	border-radius: var(--bd-r-xs);
	background: var(--bd-gold);
	color: var(--bd-black);
	font-family: var(--bd-font-body);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
	white-space: nowrap;
}
.bd-theme .wc-block-components-sale-badge .wc-block-components-formatted-money-amount {
	font-family: inherit;
	font-size: inherit;
}

/* Product name / price inside the blocks */
.bd-theme .wc-block-components-product-name {
	color: var(--bd-text);
	font-family: var(--bd-font-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}
.bd-theme .wc-block-components-product-price {
	color: var(--bd-text);
	font-size: 15px;
	font-weight: 600;
}
.bd-theme .wc-block-components-product-price del,
.bd-theme .wc-block-components-product-price__regular {
	color: var(--bd-text-3);
	font-weight: 500;
	text-decoration-thickness: 1px;
}
.bd-theme .wc-block-components-product-price ins,
.bd-theme .wc-block-components-product-price__value.is-discounted {
	color: var(--bd-text);
	text-decoration: none;
	background: none;
}
.bd-theme .wc-block-components-product-metadata__description {
	display: none;
}
.bd-theme .wc-block-components-product-details {
	margin: 4px 0 0;
	padding: 0;
	color: var(--bd-text-2);
	font-size: 12.5px;
	list-style: none;
}

/* Loading skeletons: tone them to the paper palette */
.bd-theme .wc-block-components-skeleton__element,
.bd-theme .wc-block-components-skeleton--cart-line-items .wc-block-components-skeleton__element {
	background: var(--bd-paper-2);
}

/* ---------- Shared assurance list / secure note ---------- */
.bd-theme ul.bd-assure {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bd-theme .bd-assure__item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--bd-text-2);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}
.bd-assure__item .bd-icon {
	flex: none;
	color: var(--bd-gold-ink);
}
.bd-theme ul.bd-assure--grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 14px;
}
.bd-assure--grid .bd-assure__item {
	align-items: flex-start;
	font-size: 12.5px;
}
.bd-assure--grid .bd-assure__item .bd-icon {
	margin-top: -1px;
}
.bd-theme ul.bd-assure--row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 26px;
}

.bd-secure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}
.bd-theme .bd-secure__text {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--bd-text-2);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}
.bd-secure__text .bd-icon {
	flex: none;
	color: var(--bd-success);
}
.bd-secure__text strong {
	color: var(--bd-text);
	font-weight: 700;
}
.bd-theme ul.bd-secure__badges {
	justify-content: center;
	margin: 0;
	padding: 0;
}
.bd-theme .bd-paybadges li {
	margin: 0;
}

/* ==========================================================================
   Cart page
   ========================================================================== */

.bd-theme .wp-block-woocommerce-cart {
	margin: 0;
}
.bd-theme .wc-block-cart.wc-block-components-sidebar-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
}
.bd-theme .wc-block-cart .wc-block-components-main,
.bd-theme .wc-block-cart .wc-block-components-sidebar {
	width: auto;
	margin: 0;
	padding: 0;
}
.bd-theme .wc-block-cart .wc-block-cart__sidebar {
	order: 0;
	margin: 0;
}
@container (min-width: 920px) {
	.bd-theme .wc-block-cart.wc-block-components-sidebar-layout {
		grid-template-columns: minmax(0, 1fr) clamp(340px, 31%, 400px);
		gap: clamp(28px, 3vw, 48px);
		align-items: start;
	}
	.bd-theme .wc-block-cart .wc-block-cart__sidebar {
		position: sticky;
		top: var(--bd-sticky-top);
	}
}

/* Free-shipping meter */
.bd-cart-ship {
	margin: 0 0 18px;
}
.bd-cart-ship .bd-freeship {
	padding: 16px 18px;
	border-radius: var(--bd-r-lg);
	border: 1px solid var(--bd-line);
	background:
		radial-gradient(420px 120px at 100% 0%, rgba(253, 198, 2, 0.12), transparent 70%),
		var(--bd-paper);
}
.bd-theme .bd-cart-ship .bd-freeship__text {
	margin: 0 0 12px;
	color: var(--bd-text-2);
	font-size: 14px;
}
.bd-cart-ship .bd-freeship__text .bd-icon {
	box-sizing: content-box;
	padding: 7px;
	border-radius: 50%;
	background: var(--bd-black);
	color: var(--bd-gold);
}
.bd-cart-ship .bd-freeship__bar {
	height: 8px;
	background: var(--bd-white);
	box-shadow: inset 0 0 0 1px var(--bd-line);
}
.bd-cart-ship .bd-freeship.is-complete {
	background: var(--bd-success-bg);
	border-color: rgba(21, 128, 61, 0.2);
}
.bd-cart-ship .bd-freeship.is-complete .bd-freeship__text .bd-icon {
	background: var(--bd-success);
	color: var(--bd-white);
}

/* Line items as a card list */
.bd-theme .entry-content .wc-block-cart table.wc-block-cart-items,
.bd-theme .wc-block-cart table.wc-block-cart-items {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 clamp(16px, 2vw, 24px);
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-r-lg);
	background: var(--bd-white);
	border-collapse: separate;
	border-spacing: 0;
	box-sizing: border-box;
}
.bd-theme .wc-block-cart table.wc-block-cart-items caption {
	display: none;
}
.bd-theme .wc-block-cart table.wc-block-cart-items thead,
.bd-theme .wc-block-cart table.wc-block-cart-items tbody {
	display: block;
}
.bd-theme .entry-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__header {
	display: flex;
	justify-content: space-between;
	padding: 16px 0 12px;
	border-bottom: 1px solid var(--bd-line);
}
.bd-theme .entry-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__header th {
	display: block;
	padding: 0;
	border: 0;
	background: none;
	color: var(--bd-text-3);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.bd-theme .entry-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-product {
	display: none;
}
.bd-theme .entry-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row {
	display: grid;
	grid-template-columns: clamp(84px, 9vw, 112px) minmax(0, 1fr) auto;
	column-gap: clamp(14px, 1.8vw, 22px);
	align-items: start;
	padding: clamp(16px, 2vw, 22px) 0;
	border: 0;
	border-top: 1px solid var(--bd-line);
}
.bd-theme .entry-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row:first-child {
	border-top: 0;
}
.bd-theme .entry-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row td {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}
.bd-theme .wc-block-cart .wc-block-cart-item__image a {
	display: block;
	aspect-ratio: 1;
	padding: 8px;
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-r);
	background: var(--bd-white);
	box-sizing: border-box;
	overflow: hidden;
	transition: border-color var(--bd-dur) var(--bd-ease);
}
.bd-theme .wc-block-cart .wc-block-cart-item__image a:hover {
	border-color: var(--bd-line-2);
}
.bd-theme .wc-block-cart .wc-block-cart-item__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.bd-theme .wc-block-cart .wc-block-cart-item__wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
}
.bd-theme .wc-block-cart .wc-block-cart-item__wrap > * {
	margin: 0;
}
.bd-theme .wc-block-cart .wc-block-cart-item__product .wc-block-components-product-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 100%;
	font-size: clamp(14.5px, 1.2vw, 16px);
	text-transform: none;
}
.bd-theme .wc-block-cart .wc-block-cart-item__prices {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	color: var(--bd-text-2);
}
.bd-theme .wc-block-cart .wc-block-cart-item__prices .wc-block-components-product-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	color: var(--bd-text-2);
	font-size: 14px;
	font-weight: 600;
}
.bd-theme .wc-block-cart .wc-block-cart-item__quantity {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-top: 6px;
}
.bd-theme .wc-block-cart .wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: auto;
	height: 40px;
	min-height: 0;
	margin: 0;
	padding: 0 8px;
	border: 0;
	border-radius: var(--bd-r-btn);
	background: transparent;
	color: var(--bd-text-3);
	font-family: var(--bd-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	opacity: 1;
	cursor: pointer;
	transition: color var(--bd-dur) var(--bd-ease), background-color var(--bd-dur) var(--bd-ease);
}
.bd-theme .wc-block-cart .wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link::after {
	content: "Remove";
}
.bd-theme .wc-block-cart .wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}
.bd-theme .wc-block-cart .wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:hover {
	background: var(--bd-danger-bg);
	color: var(--bd-danger);
	transform: none;
}
.bd-theme .wc-block-cart .wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link:focus-visible {
	outline: 2px solid var(--bd-gold);
	outline-offset: 1px;
}
.bd-theme .entry-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
	text-align: right;
	min-width: 84px;
}
.bd-theme .wc-block-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
.bd-theme .wc-block-cart .wc-block-cart-item__total .wc-block-components-product-price {
	color: var(--bd-text);
	font-size: clamp(16px, 1.4vw, 19px);
	font-weight: 800;
}
.bd-theme .wc-block-cart .wc-block-cart-items__row.is-disabled {
	opacity: 0.55;
}
.bd-theme .wc-block-cart .wc-block-components-product-low-in-stock-badge,
.bd-theme .wc-block-cart .wc-block-components-product-backorder-badge {
	display: inline-flex;
	padding: 3px 8px;
	border-radius: var(--bd-r-xs);
	background: var(--bd-warning-bg);
	color: var(--bd-warning);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
/*
 * Phones: image | details, with the remove "×" pinned top-right and the line total
 * sitting on the quantity row.
 */
@container (max-width: 519px) {
	.bd-theme .entry-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__header {
		display: none;
	}
	.bd-theme .entry-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row {
		position: relative;
		grid-template-columns: 84px minmax(0, 1fr);
		column-gap: 14px;
	}
	.bd-theme .entry-content .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
		position: absolute;
		right: 0;
		bottom: 16px;
		min-width: 0;
		pointer-events: none;
	}
	.bd-theme .wc-block-cart .wc-block-cart-item__total .wc-block-components-product-price {
		font-size: 16px;
	}
	.bd-theme .wc-block-cart .wc-block-cart-item__total .wc-block-components-sale-badge {
		margin-top: 4px;
		font-size: 10px;
	}
	.bd-theme .wc-block-cart .wc-block-cart-item__product .wc-block-components-product-name {
		padding-right: 30px;
		font-size: 14.5px;
	}
	.bd-theme .wc-block-cart .wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
		position: absolute;
		top: 8px;
		right: -10px;
		width: 40px;
		height: 40px;
		padding: 0;
		justify-content: center;
		border-radius: 50%;
	}
	.bd-theme .wc-block-cart .wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link::after {
		content: none;
	}
	.bd-theme .wc-block-cart .wc-block-cart-items .wc-block-cart-item__quantity .wc-block-cart-item__remove-link svg {
		width: 17px;
		height: 17px;
	}
	.bd-theme .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
		width: 38px;
		min-width: 38px;
	}
}

/* Cross-sells / picks */
.bd-cart-picks {
	margin-top: clamp(32px, 4vw, 56px);
}
.bd-cart-picks .bd-section-head {
	margin-bottom: 20px;
}
.bd-theme .bd-cart-picks .bd-section-title {
	font-size: clamp(22px, 2.2vw, 28px);
}

/* ---------- Totals card ---------- */
.bd-theme .wc-block-cart .wc-block-cart__sidebar > .wp-block-woocommerce-cart-order-summary-block,
.bd-theme .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
	margin: 0;
}
.bd-theme .wc-block-cart .wc-block-cart__sidebar {
	padding: clamp(20px, 2.2vw, 28px);
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-r-lg);
	background: var(--bd-white);
	box-shadow: var(--bd-shadow-sm);
	box-sizing: border-box;
}
.bd-theme .wc-block-cart .wc-block-cart__totals-title,
.bd-theme .wc-block-cart .wc-block-components-sidebar .wc-block-cart__totals-title {
	display: block;
	margin: 0 0 6px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--bd-line);
	color: var(--bd-text);
	font-family: var(--bd-font-display);
	font-size: 20px;
	font-weight: 800;
	font-stretch: 108%;
	letter-spacing: 0;
	line-height: 1.2;
	text-align: left;
	text-transform: uppercase;
}
.bd-theme .wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-item,
.bd-theme .wc-block-cart .wc-block-components-sidebar .wc-block-components-panel,
.bd-theme .wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-coupon {
	padding-left: 0;
	padding-right: 0;
}
.bd-theme .wc-block-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper:has(.wc-block-components-totals-coupon) {
	padding: 6px 0;
	border-top: 0;
}
.bd-theme .wc-block-cart .wp-block-woocommerce-cart-order-summary-block {
	margin: 0;
	border-bottom: 0;
	font-size: inherit;
	line-height: inherit;
}
.bd-theme .wc-block-cart .wc-block-cart__submit {
	margin: 18px 0 0;
}
.bd-theme .wc-block-cart .wc-block-cart__submit-container {
	padding: 0;
}
/* WooCommerce hides the button on wide screens while it is scrolled out of view; keep it in place. */
@media (min-width: 783px) {
	.bd-theme .wc-block-cart .wc-block-cart__submit-container--sticky {
		display: block;
	}
}
.bd-theme .wc-block-cart .wc-block-cart__submit-button {
	width: 100%;
	min-height: 56px;
	gap: 10px;
	font-size: 15px;
}
.bd-theme .wc-block-cart .wc-block-cart__submit-button .wc-block-components-button__text {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.bd-theme .wc-block-cart .wc-block-cart__submit-button .wc-block-components-button__text::before {
	content: "";
	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 width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%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 width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bd-theme .wc-block-cart .wc-block-cart__payment-options:empty {
	display: none;
}
.bd-cart-extras {
	display: grid;
	gap: 16px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--bd-line);
}
.bd-cart-extras__pay {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.bd-cart-extras__label {
	color: var(--bd-text-3);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.bd-theme .bd-cart-extras ul.bd-paybadges {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin: 0;
	padding: 0;
}
.bd-cart-extras .bd-paybadge {
	width: 100%;
	min-width: 0;
	height: 32px;
	padding: 0 4px;
}
.bd-cart-extras .bd-paybadge .bd-icon {
	width: 30px;
	height: 20px;
}

/* Sticky "Proceed to checkout" bar on phones (WooCommerce toggles --sticky). */
@media (max-width: 782px) {
	.bd-theme .wc-block-cart .wc-block-cart__submit-container--sticky {
		left: 0;
		right: 0;
		/* Sits above any other fixed bottom UI (cart-checkout.js adds its own height to --bd-bottom-ui). */
		bottom: var(--bd-cc-bottom, 0px);
		z-index: calc(var(--bd-z-sticky) + 1);
		padding: 12px var(--bd-gutter) calc(12px + var(--bd-cc-safe, env(safe-area-inset-bottom)));
		background: rgba(255, 255, 255, 0.96) !important;
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		border-top: 1px solid var(--bd-line);
		box-shadow: 0 -12px 30px -18px rgba(10, 10, 10, 0.4);
		animation: bd-cc-rise 0.3s var(--bd-ease-out);
	}
	.bd-theme .wc-block-cart .wc-block-cart__submit-container--sticky::before {
		display: none;
	}
}
@keyframes bd-cc-rise {
	from {
		transform: translateY(100%);
	}
	to {
		transform: none;
	}
}

/* ---------- Empty cart ---------- */
.bd-theme .wp-block-woocommerce-empty-cart-block {
	margin: 0;
}
.bd-cart-empty {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 48px);
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-r-xl);
	background:
		radial-gradient(520px 220px at 50% -10%, rgba(253, 198, 2, 0.16), transparent 70%),
		var(--bd-paper);
	text-align: center;
	overflow: hidden;
}
.bd-cart-empty::after {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(115deg, rgba(10, 10, 10, 0.018) 0 2px, transparent 2px 14px);
	pointer-events: none;
}
.bd-cart-empty > * {
	position: relative;
	z-index: 1;
}
.bd-cart-empty__icon {
	display: grid;
	place-items: center;
	width: 88px;
	height: 88px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: var(--bd-black);
	color: var(--bd-gold);
	box-shadow: 0 0 0 8px var(--bd-white), 0 0 0 9px var(--bd-line), 0 18px 40px -16px rgba(10, 10, 10, 0.45);
}
.bd-theme .bd-cart-empty__title {
	margin: 0;
	font-family: var(--bd-font-display);
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
	font-stretch: 110%;
	line-height: 1.05;
	text-transform: uppercase;
}
.bd-theme .bd-cart-empty__text {
	max-width: 520px;
	margin: 12px auto 0;
	color: var(--bd-text-2);
	font-size: 15.5px;
	line-height: 1.6;
}
.bd-theme .bd-cart-empty .bd-cart-empty__cta {
	margin-top: 26px;
}
.bd-theme ul.bd-cart-empty__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	max-width: 640px;
	margin: 26px auto 0;
	padding: 0;
	list-style: none;
}
.bd-theme .bd-cart-empty__chips li {
	margin: 0;
}
.bd-theme .bd-cart-empty__chips .bd-chip {
	background: var(--bd-white);
}
.bd-theme .bd-cart-empty .bd-assure--row {
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid var(--bd-line);
}
.bd-cart-empty .bd-assure__item {
	font-size: 12.5px;
}
@media (max-width: 767px) {
	.bd-theme .bd-cart-empty__chips {
		flex-wrap: nowrap;
		justify-content: flex-start;
		max-width: none;
		width: calc(100% + 2 * clamp(20px, 4vw, 48px));
		margin-left: calc(-1 * clamp(20px, 4vw, 48px));
		margin-right: calc(-1 * clamp(20px, 4vw, 48px));
		padding: 2px clamp(20px, 4vw, 48px);
		overflow-x: auto;
		scrollbar-width: none;
	}
	.bd-theme .bd-cart-empty__chips::-webkit-scrollbar {
		display: none;
	}
	.bd-theme ul.bd-assure--row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		text-align: left;
	}
	.bd-cart-empty .bd-assure__item {
		align-items: flex-start;
	}
}

/* Hide WooCommerce's default empty-cart artwork if its markup is ever restored */
.bd-theme .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	display: none;
}
