/**
 * Cart / checkout shop styles — Bien Plus Encore
 * Loaded after landing.css on cart and checkout blank-canvas pages.
 * Scoped to body.bpe-shop. Reuses landing CSS variables via body.bpe-landing.
 */

/* -------------------------------------------------------------------------
   Main offset (fixed header)
   ------------------------------------------------------------------------- */

main.bpe-shop {
	padding-top: 72px;
	background-color: var(--bpe-ivoire);
	min-height: 60vh;
}

.bpe-cart main.bpe-shop,
.bpe-checkout main.bpe-shop {
	background-color: var(--bpe-white);
}

@media (min-width: 768px) {
	main.bpe-shop {
		padding-top: 80px;
	}

	body.bpe-shop .woocommerce td.actions .coupon .input-text {
		width: 10rem;
		min-width: 8rem;
		flex: 0 0 auto;
	}
}

body.admin-bar main.bpe-shop {
	padding-top: calc(72px + 32px);
}

@media (min-width: 768px) {
	body.admin-bar main.bpe-shop {
		padding-top: calc(80px + 32px);
	}
}

@media (max-width: 782px) {
	body.admin-bar main.bpe-shop {
		padding-top: calc(72px + 46px);
	}
}

/* -------------------------------------------------------------------------
   Shell / intro
   ------------------------------------------------------------------------- */

.bpe-shop__inner {
	padding-block: 48px 64px;
}

@media (min-width: 768px) {
	.bpe-shop__inner {
		padding-block: 64px 96px;
	}
}

.bpe-shop__intro {
	margin: 0 0 32px;
}

@media (min-width: 768px) {
	.bpe-shop__intro {
		margin-bottom: 48px;
	}
}

.bpe-shop__title {
	margin: 0;
	color: var(--bpe-vert);
	font-family: var(--bpe-font-display);
	font-size: 1.75rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 2.25rem;
}

@media (min-width: 768px) {
	.bpe-shop__title {
		font-size: 2.25rem;
		line-height: 2.75rem;
	}
}

.bpe-shop__content {
	color: var(--bpe-brun);
	font-family: var(--bpe-font-body);
	font-size: 1rem;
	line-height: 1.6;
}

.bpe-shop__content p,
.bpe-shop__content ul,
.bpe-shop__content ol,
.bpe-shop__content li {
	max-width: none;
}

/* -------------------------------------------------------------------------
   Shared typography inside WooCommerce content
   ------------------------------------------------------------------------- */

body.bpe-shop .woocommerce h2,
body.bpe-shop .woocommerce h3,
body.bpe-shop .woocommerce-cart-form h2,
body.bpe-shop .cart_totals h2,
body.bpe-shop #order_review_heading {
	margin: 0 0 1rem;
	color: var(--bpe-vert);
	font-family: var(--bpe-font-display);
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.4;
}

body.bpe-shop .cart_totals h2 {
	border-color: var(--bpe-vert);
}

body.bpe-shop .woocommerce a:not(.button):not(.checkout-button):not(.remove) {
	color: var(--bpe-vert);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.bpe-shop .woocommerce a:not(.button):not(.checkout-button):not(.remove):hover {
	color: var(--bpe-corail);
}

/* -------------------------------------------------------------------------
   Notices
   ------------------------------------------------------------------------- */

body.bpe-shop .woocommerce-message,
body.bpe-shop .woocommerce-info,
body.bpe-shop .woocommerce-error,
body.bpe-shop .woocommerce-warning,
body.bpe-shop .woocommerce-NoticeGroup .woocommerce-error,
body.bpe-shop .woocommerce-NoticeGroup .woocommerce-message,
body.bpe-shop .woocommerce-NoticeGroup .woocommerce-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid rgba(199, 163, 107, 0.25);
	border-radius: var(--bpe-radius-lg);
	list-style: none;
	font-size: 0.9375rem;
	line-height: 1.5;
	background-color: var(--bpe-lin);
	color: var(--bpe-brun);
}

body.bpe-shop .woocommerce-message {
	background-color: var(--bpe-sauge-clair);
	border-color: rgba(82, 96, 82, 0.2);
}

body.bpe-shop .woocommerce-error {
	background-color: rgba(242, 147, 132, 0.18);
	border-color: rgba(242, 147, 132, 0.45);
}

body.bpe-shop .woocommerce-error strong {
	color: var(--bpe-corail-hover);
}

body.bpe-shop .woocommerce-info,
body.bpe-shop .woocommerce-warning {
	background-color: var(--bpe-lin);
}

body.bpe-shop .woocommerce-message::before,
body.bpe-shop .woocommerce-info::before,
body.bpe-shop .woocommerce-error::before {
	display: none;
}

body.bpe-shop .woocommerce-message .button,
body.bpe-shop .woocommerce-info .button {
	margin: 0;
}

/* -------------------------------------------------------------------------
   Buttons (map WooCommerce .button to brand)
   ------------------------------------------------------------------------- */

body.bpe-shop .woocommerce a.button,
body.bpe-shop .woocommerce button.button,
body.bpe-shop .woocommerce input.button,
body.bpe-shop .woocommerce #respond input#submit,
body.bpe-shop .woocommerce .checkout-button,
body.bpe-shop .woocommerce button[name="woocommerce_checkout_place_order"],
body.bpe-shop .woocommerce #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--bpe-space);
	padding: calc(var(--bpe-space) * 1.5) calc(var(--bpe-space) * 3);
	border: 2px solid transparent;
	border-radius: var(--bpe-radius-lg);
	background-color: var(--bpe-vert);
	color: var(--bpe-white) !important;
	font-family: var(--bpe-font-body);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.25rem;
	text-align: center;
	text-decoration: none !important;
	text-transform: none;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.bpe-shop .woocommerce a.button:hover,
body.bpe-shop .woocommerce button.button:hover,
body.bpe-shop .woocommerce input.button:hover,
body.bpe-shop .woocommerce .checkout-button:hover,
body.bpe-shop .woocommerce #place_order:hover {
	background-color: var(--bpe-vert-hover);
	color: var(--bpe-white) !important;
}

body.bpe-shop .woocommerce a.button:focus-visible,
body.bpe-shop .woocommerce button.button:focus-visible,
body.bpe-shop .woocommerce input.button:focus-visible,
body.bpe-shop .woocommerce #place_order:focus-visible {
	outline: none;
	box-shadow: var(--bpe-focus-ring);
}

body.bpe-shop .woocommerce a.button:disabled,
body.bpe-shop .woocommerce button.button:disabled,
body.bpe-shop .woocommerce input.button:disabled,
body.bpe-shop .woocommerce a.button.disabled,
body.bpe-shop .woocommerce button.button.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Secondary / outline actions (coupon apply, update cart) */
body.bpe-shop .woocommerce button[name="apply_coupon"],
body.bpe-shop .woocommerce button[name="update_cart"],
body.bpe-shop .woocommerce .coupon .button {
	background-color: transparent;
	border-color: var(--bpe-vert);
	color: var(--bpe-vert) !important;
}

body.bpe-shop .woocommerce button[name="apply_coupon"]:hover,
body.bpe-shop .woocommerce button[name="update_cart"]:hover,
body.bpe-shop .woocommerce .coupon .button:hover {
	background-color: rgba(82, 96, 82, 0.08);
	color: var(--bpe-vert) !important;
}

body.bpe-shop .woocommerce .checkout-button {
	width: 100%;
	padding-block: calc(var(--bpe-space) * 2);
	font-size: 1rem;
}

/* -------------------------------------------------------------------------
   Form fields
   ------------------------------------------------------------------------- */

body.bpe-shop .woocommerce form .form-row {
	margin: 0 0 1rem;
	padding: 0;
}

body.bpe-shop .woocommerce form .form-row label {
	display: block;
	margin: 0 0 0.35rem;
	color: var(--bpe-vert);
	font-family: var(--bpe-font-subtitle);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
}

body.bpe-shop .woocommerce form .form-row .required {
	color: var(--bpe-corail);
	text-decoration: none;
}

body.bpe-shop .woocommerce form .input-text,
body.bpe-shop .woocommerce form textarea,
body.bpe-shop .woocommerce form select,
body.bpe-shop .woocommerce form .select2-container .select2-selection--single {
	width: 100%;
	min-height: 44px;
	padding: 0.625rem 0.875rem;
	border: 1px solid rgba(199, 163, 107, 0.35);
	border-radius: var(--bpe-radius-lg);
	background-color: var(--bpe-white);
	color: var(--bpe-brun);
	font-family: var(--bpe-font-body);
	font-size: 1rem;
	line-height: 1.5;
	box-shadow: none;
}

body.bpe-shop .woocommerce form textarea {
	min-height: 6rem;
	resize: vertical;
}

body.bpe-shop .woocommerce form .input-text:focus,
body.bpe-shop .woocommerce form textarea:focus,
body.bpe-shop .woocommerce form select:focus {
	outline: none;
	border-color: var(--bpe-vert);
	box-shadow: var(--bpe-focus-ring);
}

body.bpe-shop .woocommerce form .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
}

body.bpe-shop .woocommerce form .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--bpe-brun);
	line-height: 1.5;
	padding: 0;
}

body.bpe-shop .woocommerce form .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%;
}

body.bpe-shop .select2-dropdown {
	border-color: rgba(199, 163, 107, 0.35);
	border-radius: var(--bpe-radius-lg);
}

body.bpe-shop .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 400;
	color: var(--bpe-brun);
}

body.bpe-shop .woocommerce-form__input-checkbox {
	margin-top: 0.2rem;
	accent-color: var(--bpe-vert);
}

/* Quantity */
body.bpe-shop .woocommerce .quantity .qty {
	width: 4.5rem;
	min-height: 40px;
	padding: 0.4rem 0.5rem;
	border: 1px solid rgba(199, 163, 107, 0.35);
	border-radius: var(--bpe-radius);
	background-color: var(--bpe-white);
	color: var(--bpe-brun);
	text-align: center;
	font-family: var(--bpe-font-body);
}

/* -------------------------------------------------------------------------
   Cart layout
   ------------------------------------------------------------------------- */

body.bpe-shop .woocommerce-cart-form,
body.bpe-shop .cart-collaterals {
	float: none !important;
	width: 100% !important;
	max-width: none;
	min-width: 0;
}

body.bpe-shop .woocommerce-cart-form {
	margin-bottom: 2rem;
}

body.bpe-shop .woocommerce table.shop_table {
	width: 100%;
	max-width: 100%;
	margin: 0 0 1.5rem;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid rgba(199, 163, 107, 0.2);
	border-radius: var(--bpe-radius-lg);
	background-color: var(--bpe-ivoire);
	table-layout: fixed;
	overflow: hidden;
}

body.bpe-shop .woocommerce table.shop_table thead tr:first-child th:first-child {
	border-top-left-radius: var(--bpe-radius-lg);
}

body.bpe-shop .woocommerce table.shop_table thead tr:first-child th:last-child {
	border-top-right-radius: var(--bpe-radius-lg);
}

body.bpe-shop .woocommerce table.shop_table tbody tr:last-child td:first-child {
	border-bottom-left-radius: var(--bpe-radius-lg);
}

body.bpe-shop .woocommerce table.shop_table tbody tr:last-child td:last-child {
	border-bottom-right-radius: var(--bpe-radius-lg);
}

body.bpe-shop .woocommerce table.shop_table th,
body.bpe-shop .woocommerce table.shop_table td {
	padding: 1rem;
	border: none;
	border-bottom: 1px solid rgba(199, 163, 107, 0.15);
	color: var(--bpe-brun);
	font-size: 0.9375rem;
	line-height: 1.5;
	vertical-align: middle;
}

body.bpe-shop .woocommerce table.shop_table thead th {
	background-color: var(--bpe-lin);
	color: var(--bpe-vert);
	font-family: var(--bpe-font-subtitle);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

body.bpe-shop .woocommerce table.shop_table .product-remove {
	width: 3rem;
	max-width: 3rem;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

body.bpe-shop .woocommerce table.shop_table .product-thumbnail {
	width: 5.5rem;
}

body.bpe-shop .woocommerce table.shop_table .product-name {
	width: auto;
}

body.bpe-shop .woocommerce table.shop_table .product-price {
	width: 12%;
}

body.bpe-shop .woocommerce table.shop_table .product-quantity {
	width: 14%;
}

body.bpe-shop .woocommerce table.shop_table .product-subtotal {
	width: 14%;
	padding-right: 1.5rem;
	text-align: right;
}

body.bpe-shop .woocommerce table.shop_table thead th.product-subtotal {
	width: 20%;
	padding-right: 1.5rem;
	text-align: right;
}

body.bpe-shop .woocommerce table.shop_table td.product-subtotal {
	padding-right: 1.5rem;
	text-align: right;
}

body.bpe-shop .woocommerce table.shop_table .product-price,
body.bpe-shop .woocommerce table.shop_table .product-quantity,
body.bpe-shop .woocommerce table.shop_table .product-subtotal {
	white-space: nowrap;
}

body.bpe-shop .woocommerce table.shop_table tbody tr:last-child td {
	border-bottom: none;
}

body.bpe-shop .woocommerce table.shop_table .product-thumbnail img {
	width: 64px;
	height: auto;
	border-radius: var(--bpe-radius);
	border: 1px solid rgba(199, 163, 107, 0.2);
}

body.bpe-shop .woocommerce table.shop_table .product-name a {
	color: var(--bpe-vert);
	font-weight: 600;
	text-decoration: none;
}

body.bpe-shop .woocommerce table.shop_table .product-name a:hover {
	color: var(--bpe-corail);
}

body.bpe-shop .woocommerce table.shop_table .product-remove .remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 999px;
	background-color: transparent;
	color: var(--bpe-brun) !important;
	font-size: 1.25rem;
	line-height: 1;
	text-decoration: none !important;
	opacity: 0.55;
}

body.bpe-shop .woocommerce table.shop_table .product-remove .remove:hover {
	background-color: rgba(242, 147, 132, 0.2);
	color: var(--bpe-corail) !important;
	opacity: 1;
}

body.bpe-shop .woocommerce td.actions {
	display: table-cell;
	vertical-align: middle;
	padding: 1rem;
	border-bottom: none;
}

body.bpe-shop .woocommerce td.actions::after {
	content: "";
	display: block;
	clear: both;
}

body.bpe-shop .woocommerce td.actions .coupon {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.75rem;
	float: left;
	width: auto;
	flex: 0 1 auto;
	min-width: 0;
	padding: 15px !important;
}

body.bpe-shop .woocommerce td.actions .coupon .button,
body.bpe-shop .woocommerce td.actions>.button {
	white-space: nowrap;
	flex-shrink: 0;
}

body.bpe-shop .woocommerce td.actions .coupon .button {
	background-color: var(--bpe-white);
}

body.bpe-shop .woocommerce td.actions>.button[name="update_cart"] {
	float: right;
}

body.bpe-shop .woocommerce td.actions .coupon .input-text {
	width: 100%;
	min-width: 8rem;
	flex: 0 0 auto;
}

@media (min-width: 768px) {
	body.bpe-shop .woocommerce td.actions .coupon .input-text {
		width: 10rem;
		min-width: 8rem;
		flex: 0 0 auto;
	}

	body.bpe-shop .woocommerce td.actions .coupon {
		padding: 0 !important;
	}
}

body.bpe-shop .woocommerce .cart_totals {
	float: none !important;
	width: 100%;
	max-width: none;
	margin-left: 0;
	padding: 1.5rem;
	border: 1px solid rgba(199, 163, 107, 0.25);
	border-radius: var(--bpe-radius-lg);
	background-color: var(--bpe-lin);
}

body.bpe-shop .woocommerce .cart_totals table.shop_table {
	background: transparent;
	border: none;
	margin-bottom: 1.25rem;
}

body.bpe-shop .woocommerce .cart_totals table.shop_table th,
body.bpe-shop .woocommerce .cart_totals table.shop_table td {
	padding: 0.75rem 0;
	padding-left: 1.5rem;
	padding-right: 0.5rem;
	border-bottom-color: rgba(199, 163, 107, 0.25);
	background: transparent;
}

@media (min-width: 768px) {
	body.bpe-shop .woocommerce .cart_totals table.shop_table td {
		padding: 0.75rem 0;
	}
}

body.bpe-shop .woocommerce .cart_totals table.shop_table .order-total th,
body.bpe-shop .woocommerce .cart_totals table.shop_table .order-total td {
	color: var(--bpe-vert);
	font-size: 1.0625rem;
	font-weight: 700;
	border-bottom: none;
}

body.bpe-shop .woocommerce .wc-proceed-to-checkout {
	padding: 0;
}

@media (min-width: 992px) {
	body.bpe-shop.woocommerce-cart .woocommerce {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
		gap: 2rem;
		align-items: start;
	}

	body.bpe-shop.woocommerce-cart .woocommerce::before,
	body.bpe-shop.woocommerce-cart .woocommerce::after {
		content: none;
		display: none;
	}

	body.bpe-shop.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}

	body.bpe-shop.woocommerce-cart .woocommerce>.woocommerce-cart-form {
		grid-column: 1;
		width: 100% !important;
	}

	body.bpe-shop.woocommerce-cart .woocommerce>.cart-collaterals {
		grid-column: 2;
		width: 100% !important;
	}
}

/* -------------------------------------------------------------------------
   Checkout layout
   ------------------------------------------------------------------------- */

body.bpe-shop .woocommerce-form-login-toggle .woocommerce-info,
body.bpe-shop .woocommerce-form-coupon-toggle .woocommerce-info {
	cursor: pointer;
}

body.bpe-shop .woocommerce form.checkout_coupon,
body.bpe-shop .woocommerce form.login,
body.bpe-shop .woocommerce form.register {
	margin: 0 0 1.5rem;
	padding: 1.25rem;
	border: 1px solid rgba(199, 163, 107, 0.25);
	border-radius: var(--bpe-radius-lg);
	background-color: var(--bpe-white);
}

body.bpe-shop .woocommerce form.checkout {
	margin: 0;
}

body.bpe-shop .woocommerce-checkout #customer_details,
body.bpe-shop .woocommerce-checkout #order_review {
	float: none !important;
	width: 100%;
}

body.bpe-shop .woocommerce-checkout #customer_details {
	margin-bottom: 2rem;
}

body.bpe-shop .woocommerce-checkout .col2-set {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
	float: none;
}

body.bpe-shop .woocommerce-checkout .col2-set .col-1,
body.bpe-shop .woocommerce-checkout .col2-set .col-2 {
	width: 100%;
	float: none;
	padding: 1.5rem;
	border: 1px solid rgba(199, 163, 107, 0.2);
	border-radius: var(--bpe-radius-lg);
	background-color: var(--bpe-white);
}

@media (min-width: 992px) {
	body.bpe-shop .woocommerce form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
		gap: 2rem;
		align-items: start;
	}

	body.bpe-shop .woocommerce form.checkout::before,
	body.bpe-shop .woocommerce form.checkout::after {
		content: none;
		display: none;
	}

	body.bpe-shop .woocommerce-checkout #customer_details {
		grid-column: 1;
		grid-row: 1;
		margin-bottom: 0;
	}

	body.bpe-shop .woocommerce-checkout #order_review {
		grid-column: 2;
		grid-row: 1;
	}
}

body.bpe-shop .woocommerce-billing-fields__field-wrapper .woocommerce-warning,
body.bpe-shop .woocommerce-checkout #nopurchase-ch-message,
body.bpe-shop .woocommerce-checkout .customFeesInfos {
	margin-bottom: 1rem;
}

body.bpe-shop #order_review {
	padding: 1.5rem;
	border: 1px solid rgba(199, 163, 107, 0.25);
	border-radius: var(--bpe-radius-lg);
	background-color: var(--bpe-lin);
}

body.bpe-shop #order_review_heading {
	margin-top: 0;
}

body.bpe-shop #order_review .woocommerce-checkout-review-order-table {
	width: 100%;
	background: transparent;
	border: none;
	table-layout: fixed;
}

body.bpe-shop #order_review .woocommerce-checkout-review-order-table th,
body.bpe-shop #order_review .woocommerce-checkout-review-order-table td {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(199, 163, 107, 0.25);
	background: transparent;
}

body.bpe-shop #order_review .woocommerce-checkout-review-order-table th:first-child,
body.bpe-shop #order_review .woocommerce-checkout-review-order-table td:first-child {
	width: 60%;
	padding-left: 15px;
	padding-right: 0;
}

body.bpe-shop #order_review .woocommerce-checkout-review-order-table th:last-child,
body.bpe-shop #order_review .woocommerce-checkout-review-order-table td:last-child {
	width: 40%;
	padding-left: 0;
	padding-right: 15px;
	text-align: right;
}

body.bpe-shop .woocommerce-checkout-payment {
	margin-top: 1.25rem;
	padding: 0;
	background: transparent;
	border: none;
}

body.bpe-shop .woocommerce-checkout-payment ul.payment_methods {
	margin: 0 0 1rem;
	padding: 0;
	border: none;
	list-style: none;
}

body.bpe-shop .woocommerce-checkout-payment ul.payment_methods li {
	margin: 0 0 0.75rem;
	padding: 0.875rem 1rem;
	background-color: var(--bpe-white);
}

body.bpe-shop .woocommerce-checkout-payment ul.payment_methods li,
body.bpe-shop #payment .payment_methods>.wc_payment_method {
	border: 1px solid rgba(199, 163, 107, 0.25);
	border-radius: var(--bpe-radius-lg);
}

body.bpe-shop .woocommerce-checkout-payment ul.payment_methods li label {
	color: var(--bpe-vert);
	font-weight: 600;
}

body.bpe-shop .woocommerce-checkout-payment .payment_box {
	margin: 0.75rem 0 0;
	padding: 0.75rem 0 0;
	background: transparent;
	color: rgba(63, 52, 47, 0.85);
	font-size: 0.875rem;
}

body.bpe-shop .woocommerce-checkout-payment .payment_box::before {
	display: none;
}

body.bpe-shop .woocommerce-checkout-payment .place-order {
	margin: 0;
	padding: 1rem 0 0;
}

body.bpe-shop .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 1rem;
}

body.bpe-shop .woocommerce-privacy-policy-text p,
body.bpe-shop .woocommerce-terms-and-conditions-checkbox-text {
	font-size: 0.875rem;
	color: rgba(63, 52, 47, 0.85);
}

/* Payment plugin buttons: style the container only */
body.bpe-shop .woocommerce-checkout-payment .payment_method_ppcp-gateway,
body.bpe-shop .woocommerce-checkout-payment [class*="ppcp"],
body.bpe-shop .woocommerce-checkout-payment [class*="paypal"] {
	/* leave plugin button chrome intact */
}

/* -------------------------------------------------------------------------
   Checkout color accents
   ------------------------------------------------------------------------- */

body.bpe-checkout {
	--bpe-checkout-info-bg: #e3edf2;
	--bpe-checkout-info-border: rgba(71, 112, 133, 0.38);
	--bpe-checkout-info-link: #477085;
}

/* Login prompt */

/* Disabled on this theme */
body.bpe-checkout .woocommerce-form-login-toggle {
	display: none;
}

body.bpe-checkout .woocommerce-form-login-toggle .woocommerce-info {
	background-color: var(--bpe-sauge-clair);
	border-color: rgba(82, 96, 82, 0.25);
	color: var(--bpe-brun);
}

body.bpe-checkout .woocommerce-form-login-toggle .woocommerce-info a {
	color: var(--bpe-vert);
	font-weight: 600;
}

body.bpe-checkout .woocommerce-form-login-toggle .woocommerce-info a:hover {
	color: var(--bpe-corail);
}

/* Promo code prompt — info blue */
body.bpe-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	background-color: var(--bpe-checkout-info-bg);
	border-color: var(--bpe-checkout-info-border);
	color: var(--bpe-brun);
}

body.bpe-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
	color: var(--bpe-checkout-info-link);
	font-weight: 600;
}

body.bpe-checkout .woocommerce-form-coupon-toggle .woocommerce-info a:hover {
	color: var(--bpe-corail);
}

body.bpe-checkout form.checkout_coupon {
	background-color: var(--bpe-checkout-info-bg);
	border-color: var(--bpe-checkout-info-border);
}

body.bpe-checkout form.login {
	background-color: rgba(216, 231, 210, 0.35);
	border-color: rgba(82, 96, 82, 0.25);
}

/* Billing & shipping blocks */
body.bpe-checkout .woocommerce-checkout .col2-set .col-1 {
	background-color: var(--bpe-ivoire);
	border-color: rgba(199, 163, 107, 0.4);
}

body.bpe-checkout .woocommerce-checkout .col2-set .col-2 {
	background-color: rgba(216, 231, 210, 0.3);
	border-color: rgba(169, 183, 164, 0.5);
}

/* In-form notices */
body.bpe-checkout .woocommerce-checkout .col-1 .woocommerce-warning,
body.bpe-checkout .woocommerce-checkout .customFeesInfos {
	background-color: var(--bpe-surface-warm);
	border-color: rgba(242, 147, 132, 0.35);
	color: var(--bpe-brun);
}

body.bpe-checkout .woocommerce-checkout #nopurchase-ch-message {
	background-color: rgba(242, 147, 132, 0.14);
	border-color: rgba(242, 147, 132, 0.4);
	color: var(--bpe-brun);
}

body.bpe-checkout .woocommerce-checkout .col-2 .woocommerce-shipping-fields>h3 label {
	color: var(--bpe-vert);
}

/* Order summary sidebar */
body.bpe-checkout #order_review {
	background-color: var(--bpe-lin);
	border-color: rgba(199, 163, 107, 0.45);
}

body.bpe-checkout #order_review .woocommerce-checkout-review-order-table thead th {
	background-color: var(--bpe-surface-warm);
	color: var(--bpe-vert);
}

body.bpe-checkout #order_review .woocommerce-checkout-review-order-table th,
body.bpe-checkout #order_review .woocommerce-checkout-review-order-table td {
	border-bottom-color: rgba(199, 163, 107, 0.32);
}

body.bpe-checkout #order_review .woocommerce-checkout-review-order-table .order-total th,
body.bpe-checkout #order_review .woocommerce-checkout-review-order-table .order-total td {
	border-bottom: none;
	background-color: rgba(255, 255, 255, 0.5);
	color: var(--bpe-vert);
	font-weight: 700;
}

body.bpe-checkout #order_review .woocommerce-checkout-review-order-table .order-total .amount {
	color: var(--bpe-corail);
}

body.bpe-checkout .woocommerce-checkout-payment ul.payment_methods li {
	border-color: rgba(199, 163, 107, 0.32);
}

body.bpe-checkout .woocommerce-checkout-payment ul.payment_methods li:has(input[type="radio"]:checked) {
	background-color: var(--bpe-sauge-clair);
	border-color: rgba(82, 96, 82, 0.35);
}

body.bpe-checkout .woocommerce-terms-and-conditions-wrapper {
	padding: 0.875rem 1rem;
	border: 1px solid rgba(199, 163, 107, 0.25);
	border-radius: var(--bpe-radius-lg);
	background-color: rgba(255, 255, 255, 0.55);
}

body.bpe-checkout .woocommerce-terms-and-conditions-checkbox-text a {
	color: var(--bpe-vert);
	font-weight: 600;
}

body.bpe-checkout .woocommerce-terms-and-conditions-checkbox-text a:hover {
	color: var(--bpe-corail);
}

/* -------------------------------------------------------------------------
   Empty cart / order received
   ------------------------------------------------------------------------- */

body.bpe-shop .cart-empty.woocommerce-info {
	justify-content: center;
	text-align: center;
}

body.bpe-shop .return-to-shop {
	text-align: center;
	margin-top: 1.5rem;
}

body.bpe-shop .woocommerce-order {
	padding: 1.5rem;
	border: 1px solid rgba(199, 163, 107, 0.2);
	border-radius: var(--bpe-radius-lg);
	background-color: var(--bpe-white);
}

body.bpe-shop .woocommerce-order .woocommerce-thankyou-order-received {
	color: var(--bpe-vert);
	font-family: var(--bpe-font-display);
	font-size: 1.25rem;
	font-weight: 600;
}

/* -------------------------------------------------------------------------
   Responsive cart table
   ------------------------------------------------------------------------- */

@media (max-width: 767px) {
	body.bpe-shop .woocommerce table.shop_table_responsive thead {
		display: none;
	}

	body.bpe-shop .woocommerce table.shop_table_responsive tr {
		display: block;
		margin-bottom: 1rem;
		border: 1px solid rgba(199, 163, 107, 0.2);
		border-radius: var(--bpe-radius-lg);
		background-color: var(--bpe-white);
		overflow: hidden;
	}

	body.bpe-shop .woocommerce table.shop_table_responsive td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
		width: 100%;
		text-align: right !important;
		border-bottom: 1px solid rgba(199, 163, 107, 0.12);
	}

	body.bpe-shop .woocommerce table.shop_table_responsive td::before {
		content: attr(data-title);
		flex: 1;
		text-align: left;
		color: var(--bpe-vert);
		font-weight: 600;
		font-size: 0.8125rem;
		text-transform: uppercase;
		letter-spacing: 0.04em;
	}

	body.bpe-shop .woocommerce table.shop_table_responsive td.product-remove,
	body.bpe-shop .woocommerce table.shop_table_responsive td.product-thumbnail {
		justify-content: flex-start;
	}

	body.bpe-shop .woocommerce table.shop_table_responsive td.product-remove::before,
	body.bpe-shop .woocommerce table.shop_table_responsive td.product-thumbnail::before {
		display: none;
	}

	body.bpe-shop .woocommerce table.shop_table {
		border: none;
		background: transparent;
	}

	body.bpe-shop .woocommerce .cart_totals {
		max-width: none;
	}

	body.bpe-shop .woocommerce td.actions .coupon {
		float: none;
		width: 100%;
		flex-wrap: wrap;
	}

	body.bpe-shop .woocommerce td.actions>.button[name="update_cart"] {
		float: none;
		width: 100%;
		margin-top: 0.75rem;
	}
}