/**
 * Cart and Checkout widgets.
 *
 * WooCommerce prints its own cart and checkout; this file dresses them.
 * Visual language: Wisdom by Rawan - cherry speaks, charcoal explains, peach
 * and cream are the light. Everything is scoped under .wbr-shop, so no other
 * WooCommerce page changes. Re-skin with the custom properties below (the
 * widget's Style tab sets them).
 *
 * Many rules carry !important: the theme and WooCommerce style the same
 * elements with long selectors, and these screens have to look the same
 * whatever they do.
 */

.wbr-shop {
	--wbr-shop-accent: #670626;
	--wbr-shop-accent-hover: #4f041d;
	--wbr-shop-accent-text: #ffffff;
	--wbr-shop-highlight: #f5b98f;
	--wbr-shop-heading: #670626;
	--wbr-shop-text: #4a3a38;
	--wbr-shop-muted: #8f6a50;
	--wbr-shop-card: #fffdfa;
	--wbr-shop-soft: #fbf4ec;
	--wbr-shop-border: #f0e2d3;
	--wbr-shop-danger: #b3261e;
	--wbr-shop-success: #2e7d5b;

	--wbr-shop-radius: 20px;
	--wbr-shop-field-radius: 12px;
	--wbr-shop-pad: 28px;
	--wbr-shop-gap: 32px;
	--wbr-shop-side: 420px;
	--wbr-shop-sticky-top: 24px;
	--wbr-shop-shadow: none;

	color: var(--wbr-shop-text);
	font-size: 16px;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}

.wbr-shop--shadow {
	--wbr-shop-shadow: 0 24px 60px -32px rgba(103, 6, 38, 0.28);
}

.wbr-shop,
.wbr-shop *,
.wbr-shop *::before,
.wbr-shop *::after {
	box-sizing: border-box;
}

.wbr-shop .woocommerce {
	max-width: none;
	margin: 0;
	padding: 0;
}

.wbr-shop .woocommerce::before,
.wbr-shop .woocommerce::after,
.wbr-shop .clear {
	display: none !important;
}

/* ---------------------------------------------------------------- titles */

.wbr-shop h2,
.wbr-shop h3,
.wbr-shop .wbr-shop__title {
	margin: 0 0 18px !important;
	padding: 0 !important;
	border: 0 !important;
	color: var(--wbr-shop-heading) !important;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

.wbr-shop .wbr-shop__title {
	margin-bottom: 26px !important;
	font-size: clamp(28px, 4vw, 40px);
}

.wbr-shop h2,
.wbr-shop h3 {
	font-size: 22px;
}

.wbr-shop a {
	color: var(--wbr-shop-accent);
	text-decoration: none;
	box-shadow: none;
}

.wbr-shop a:hover {
	color: var(--wbr-shop-accent-hover);
}

.wbr-shop a:focus-visible,
.wbr-shop button:focus-visible,
.wbr-shop input[type="radio"]:focus-visible,
.wbr-shop input[type="checkbox"]:focus-visible {
	outline: 3px solid var(--wbr-shop-highlight) !important;
	outline-offset: 2px;
}

.wbr-shop img {
	max-width: 100%;
	height: auto;
}

/* ----------------------------------------------------------------- boxes */

.wbr-shop--cart .woocommerce-cart-form,
.wbr-shop--cart .cart_totals,
.wbr-shop--cart .cross-sells,
.wbr-shop--checkout #customer_details > div,
.wbr-shop--checkout #order_review,
.wbr-shop--checkout form.checkout_coupon,
.wbr-shop--checkout form.woocommerce-form-login,
.wbr-shop .woocommerce-order,
.wbr-shop .wbr-shop__empty {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: var(--wbr-shop-pad) !important;
	border: 1px solid var(--wbr-shop-border) !important;
	border-radius: var(--wbr-shop-radius) !important;
	background: var(--wbr-shop-card) !important;
	box-shadow: var(--wbr-shop-shadow);
}

/* The summary boxes: a little warmer, so the eye finds the total. */
.wbr-shop--cart .cart_totals,
.wbr-shop--checkout #order_review {
	background: var(--wbr-shop-soft) !important;
}

/* --------------------------------------------------------------- buttons */

.wbr-shop .button,
.wbr-shop button[type="submit"],
.wbr-shop .woocommerce a.button,
.wbr-shop .woocommerce button.button,
.wbr-shop .woocommerce input.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	min-height: 48px;
	margin: 0 !important;
	padding: 12px 26px !important;
	border: 1.5px solid var(--wbr-shop-accent) !important;
	border-radius: var(--wbr-shop-field-radius) !important;
	background: transparent !important;
	color: var(--wbr-shop-accent) !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2 !important;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none !important;
	text-transform: none;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.wbr-shop .button:hover,
.wbr-shop button[type="submit"]:hover,
.wbr-shop .woocommerce a.button:hover,
.wbr-shop .woocommerce button.button:hover {
	border-color: var(--wbr-shop-accent) !important;
	background: var(--wbr-shop-accent) !important;
	color: var(--wbr-shop-accent-text) !important;
}

/* The one button that matters on the screen. */
.wbr-shop .button.alt,
.wbr-shop .checkout-button,
.wbr-shop #place_order,
.wbr-shop .woocommerce a.button.alt,
.wbr-shop .woocommerce button.button.alt,
.wbr-shop .woocommerce a.checkout-button,
.wbr-shop .return-to-shop .button {
	background: var(--wbr-shop-accent) !important;
	color: var(--wbr-shop-accent-text) !important;
}

.wbr-shop .button.alt:hover,
.wbr-shop .checkout-button:hover,
.wbr-shop #place_order:hover,
.wbr-shop .woocommerce a.button.alt:hover,
.wbr-shop .woocommerce button.button.alt:hover,
.wbr-shop .return-to-shop .button:hover {
	border-color: var(--wbr-shop-accent-hover) !important;
	background: var(--wbr-shop-accent-hover) !important;
	color: var(--wbr-shop-accent-text) !important;
	transform: translateY(-1px);
}

.wbr-shop .checkout-button,
.wbr-shop #place_order {
	display: flex !important;
	float: none !important;
	width: 100% !important;
	min-height: 56px;
	font-size: 17px !important;
}

.wbr-shop .button:disabled,
.wbr-shop .button.disabled,
.wbr-shop button[type="submit"]:disabled {
	opacity: 0.45 !important;
	cursor: not-allowed;
	transform: none;
}

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

.wbr-shop .form-row {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wbr-shop .form-row label,
.wbr-shop .woocommerce-form__label {
	display: block;
	margin: 0 0 6px;
	color: var(--wbr-shop-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.wbr-shop .form-row .required {
	color: var(--wbr-shop-accent);
	text-decoration: none;
}

.wbr-shop .form-row .optional {
	color: var(--wbr-shop-muted);
	font-weight: 400;
}

.wbr-shop input.input-text,
.wbr-shop input[type="text"],
.wbr-shop input[type="email"],
.wbr-shop input[type="tel"],
.wbr-shop input[type="password"],
.wbr-shop input[type="number"],
.wbr-shop select,
.wbr-shop textarea,
.wbr-shop .select2-container .select2-selection--single {
	width: 100%;
	height: auto;
	min-height: 50px;
	margin: 0;
	padding: 12px 16px !important;
	border: 1.5px solid var(--wbr-shop-border) !important;
	border-radius: var(--wbr-shop-field-radius) !important;
	background-color: #ffffff !important;
	color: var(--wbr-shop-text) !important;
	font-size: 16px; /* 16px: phones do not zoom into the field */
	line-height: 1.4;
	box-shadow: none !important;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.wbr-shop textarea {
	min-height: 110px;
	resize: vertical;
}

.wbr-shop input::placeholder,
.wbr-shop textarea::placeholder {
	color: var(--wbr-shop-muted);
	opacity: 0.75;
}

.wbr-shop input.input-text:focus,
.wbr-shop input[type="text"]:focus,
.wbr-shop input[type="email"]:focus,
.wbr-shop input[type="tel"]:focus,
.wbr-shop input[type="password"]:focus,
.wbr-shop input[type="number"]:focus,
.wbr-shop select:focus,
.wbr-shop textarea:focus,
.wbr-shop .select2-container--focus .select2-selection--single,
.wbr-shop .select2-container--open .select2-selection--single {
	border-color: var(--wbr-shop-accent) !important;
	outline: none !important;
	box-shadow: 0 0 0 4px rgba(245, 185, 143, 0.35) !important;
}

.wbr-shop .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	padding: 0 16px !important;
}

.wbr-shop .select2-container .select2-selection--single .select2-selection__rendered {
	flex: 1 1 auto;
	padding: 0 !important;
	color: var(--wbr-shop-text);
	line-height: 1.4;
}

.wbr-shop .select2-container .select2-selection--single .select2-selection__arrow {
	position: static;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
}

.wbr-shop .form-row.woocommerce-invalid input.input-text,
.wbr-shop .form-row.woocommerce-invalid select,
.wbr-shop .form-row.woocommerce-invalid .select2-selection--single {
	border-color: var(--wbr-shop-danger) !important;
}

.wbr-shop .form-row.woocommerce-validated input.input-text {
	border-color: var(--wbr-shop-success) !important;
}

.wbr-shop .checkout-inline-error-message,
.wbr-shop .woocommerce-input-wrapper + .error {
	margin: 6px 0 0;
	color: var(--wbr-shop-danger);
	font-size: 13px;
}

.wbr-shop input[type="radio"],
.wbr-shop input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-height: 0;
	margin: 0;
	accent-color: var(--wbr-shop-accent);
	cursor: pointer;
}

.wbr-shop .woocommerce-form__label-for-checkbox,
.wbr-shop label.checkbox {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	font-weight: 500;
	cursor: pointer;
}

.wbr-shop .woocommerce-form__label-for-checkbox input,
.wbr-shop label.checkbox input {
	flex: 0 0 auto;
	margin-top: 3px;
}

/* --------------------------------------------------------------- notices */

.wbr-shop .woocommerce-notices-wrapper:empty {
	display: none;
}

.wbr-shop .woocommerce-error,
.wbr-shop .woocommerce-info,
.wbr-shop .woocommerce-message {
	display: block;
	width: auto;
	margin: 0 0 18px !important;
	padding: 14px 18px !important;
	border: 0 !important;
	border-inline-start: 4px solid var(--wbr-shop-highlight) !important;
	border-radius: var(--wbr-shop-field-radius) !important;
	background: var(--wbr-shop-soft) !important;
	color: var(--wbr-shop-text) !important;
	font-size: 15px;
	line-height: 1.5;
	list-style: none !important;
	box-shadow: none !important;
}

.wbr-shop .woocommerce-error::before,
.wbr-shop .woocommerce-info::before,
.wbr-shop .woocommerce-message::before,
.wbr-shop .woocommerce-error::after,
.wbr-shop .woocommerce-info::after,
.wbr-shop .woocommerce-message::after {
	display: none !important;
}

.wbr-shop .woocommerce-error {
	border-inline-start-color: var(--wbr-shop-danger) !important;
	background: #fdf0ee !important;
}

.wbr-shop .woocommerce-message {
	border-inline-start-color: var(--wbr-shop-success) !important;
}

.wbr-shop .woocommerce-error li,
.wbr-shop .woocommerce-info li,
.wbr-shop .woocommerce-message li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.wbr-shop .woocommerce-error li + li {
	margin-top: 6px !important;
}

/* A button inside a notice ("Undo?", "View cart") becomes a plain link. */
.wbr-shop .woocommerce-error .button,
.wbr-shop .woocommerce-info .button,
.wbr-shop .woocommerce-message .button,
.wbr-shop .woocommerce-message a.restore-item {
	display: inline !important;
	float: none !important;
	min-height: 0;
	margin: 0 0 0 8px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--wbr-shop-accent) !important;
	font-size: inherit;
	font-weight: 600;
	text-decoration: underline !important;
	text-underline-offset: 0.18em;
	transform: none !important;
}

/* ------------------------------------------------ totals (cart + checkout) */

.wbr-shop .cart_totals table.shop_table,
.wbr-shop table.woocommerce-checkout-review-order-table {
	display: block;
	width: 100% !important;
	margin: 0 0 20px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
}

.wbr-shop .cart_totals table.shop_table thead,
.wbr-shop table.woocommerce-checkout-review-order-table thead {
	display: none;
}

.wbr-shop .cart_totals table.shop_table tbody,
.wbr-shop table.woocommerce-checkout-review-order-table tbody,
.wbr-shop table.woocommerce-checkout-review-order-table tfoot {
	display: block;
}

.wbr-shop .cart_totals table.shop_table tr,
.wbr-shop table.woocommerce-checkout-review-order-table tr {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 18px;
	margin: 0;
	padding: 13px 0;
	border: 0;
	border-bottom: 1px solid var(--wbr-shop-border);
	background: none !important;
}

.wbr-shop .cart_totals table.shop_table th,
.wbr-shop .cart_totals table.shop_table td,
.wbr-shop table.woocommerce-checkout-review-order-table th,
.wbr-shop table.woocommerce-checkout-review-order-table td {
	display: block !important;
	width: auto !important;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--wbr-shop-text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	text-align: start !important;
}

.wbr-shop .cart_totals table.shop_table td::before,
.wbr-shop table.woocommerce-checkout-review-order-table td::before {
	display: none !important;
}

.wbr-shop .cart_totals table.shop_table th,
.wbr-shop table.woocommerce-checkout-review-order-table tfoot th {
	color: var(--wbr-shop-muted);
}

.wbr-shop .cart_totals table.shop_table td,
.wbr-shop table.woocommerce-checkout-review-order-table tfoot td,
.wbr-shop table.woocommerce-checkout-review-order-table td.product-total {
	margin-inline-start: auto;
	font-weight: 600;
	text-align: end !important;
}

.wbr-shop .cart-discount td,
.wbr-shop .cart-discount td .amount {
	color: var(--wbr-shop-success);
}

.wbr-shop .woocommerce-remove-coupon {
	margin-inline-start: 6px;
	color: var(--wbr-shop-muted) !important;
	font-size: 13px;
	font-weight: 500;
}

/* Shipping: the choices need the whole width. */
.wbr-shop tr.woocommerce-shipping-totals {
	flex-direction: column;
	align-items: stretch !important;
}

.wbr-shop tr.woocommerce-shipping-totals td {
	margin-inline-start: 0 !important;
	font-weight: 500 !important;
	text-align: start !important;
}

.wbr-shop ul#shipping_method,
.wbr-shop ul.woocommerce-shipping-methods {
	display: grid;
	gap: 8px;
	margin: 0 0 8px !important;
	padding: 0 !important;
	list-style: none !important;
}

.wbr-shop ul#shipping_method li,
.wbr-shop ul.woocommerce-shipping-methods li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	padding: 10px 14px !important;
	border: 1.5px solid var(--wbr-shop-border);
	border-radius: var(--wbr-shop-field-radius);
	background: #ffffff;
	text-indent: 0 !important;
}

.wbr-shop ul#shipping_method li:has(input:checked) {
	border-color: var(--wbr-shop-accent);
}

.wbr-shop ul#shipping_method li label {
	flex: 1 1 auto;
	margin: 0 !important;
	font-weight: 500;
	cursor: pointer;
}

.wbr-shop .woocommerce-shipping-destination,
.wbr-shop .woocommerce-shipping-calculator {
	margin: 0 !important;
	color: var(--wbr-shop-muted);
	font-size: 14px;
}

.wbr-shop .shipping-calculator-form {
	display: grid;
	gap: 10px;
	margin-top: 10px;
}

/* The total. */
.wbr-shop tr.order-total {
	align-items: center !important;
	padding-top: 18px !important;
	border-bottom: 0 !important;
}

.wbr-shop tr.order-total th {
	color: var(--wbr-shop-heading) !important;
	font-size: 17px !important;
	font-weight: 600 !important;
}

.wbr-shop tr.order-total td,
.wbr-shop tr.order-total td strong,
.wbr-shop tr.order-total td .amount {
	color: var(--wbr-shop-heading) !important;
	font-size: 24px !important;
	font-weight: 700 !important;
	line-height: 1.2;
}

.wbr-shop tr.order-total td small {
	display: block;
	color: var(--wbr-shop-muted);
	font-size: 12px;
	font-weight: 400;
}

/* =================================================================== CART */

.wbr-shop--cart .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wbr-shop-gap);
	align-items: start;
}

.wbr-shop--cart .woocommerce > * {
	min-width: 0;
	grid-column: 1 / -1;
}

.wbr-shop--cart .woocommerce > .woocommerce-notices-wrapper {
	margin-bottom: calc(var(--wbr-shop-gap) * -1 + 4px);
}

@media (min-width: 1025px) {
	.wbr-shop--cart.wbr-shop--side .woocommerce {
		grid-template-columns: minmax(0, 1fr) minmax(0, var(--wbr-shop-side));
	}

	.wbr-shop--cart.wbr-shop--side .woocommerce > .woocommerce-cart-form {
		grid-column: 1;
	}

	.wbr-shop--cart.wbr-shop--side .woocommerce > .cart-collaterals {
		grid-column: 2;
	}

	.wbr-shop--cart.wbr-shop--sticky .woocommerce > .cart-collaterals {
		position: sticky;
		top: var(--wbr-shop-sticky-top);
	}
}

.wbr-shop--cart .cart-collaterals {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wbr-shop--cart .cart-collaterals::before,
.wbr-shop--cart .cart-collaterals::after {
	display: none !important;
}

/* ----------------------------------------------------------- the products */

.wbr-shop--cart table.cart {
	display: block;
	width: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
}

.wbr-shop--cart table.cart thead {
	display: none !important;
}

.wbr-shop--cart table.cart tbody {
	display: block;
}

.wbr-shop--cart table.cart tr {
	display: block;
	margin: 0;
	border: 0 !important;
	background: none !important;
}

.wbr-shop--cart table.cart td {
	display: block !important;
	width: auto !important;
	min-width: 0;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--wbr-shop-text);
	text-align: start !important;
}

.wbr-shop--cart table.cart td::before {
	display: none !important;
}

.wbr-shop--cart table.cart tr.cart_item {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto minmax(90px, auto) 36px;
	grid-template-areas:
		"thumb name  qty total remove"
		"thumb price qty total remove";
	align-items: center;
	gap: 2px 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--wbr-shop-border) !important;
}

.wbr-shop--cart table.cart tr.cart_item:first-child {
	padding-top: 0;
}

.wbr-shop--cart table.cart td.product-thumbnail {
	grid-area: thumb;
}

.wbr-shop--cart table.cart td.product-thumbnail a {
	display: block;
}

.wbr-shop--cart table.cart td.product-thumbnail img {
	display: block;
	width: 92px !important;
	height: 92px !important;
	max-width: none;
	border-radius: calc(var(--wbr-shop-radius) * 0.7);
	background: var(--wbr-shop-soft);
	object-fit: cover;
}

.wbr-shop--cart table.cart td.product-name {
	grid-area: name;
	align-self: end;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
}

.wbr-shop--cart table.cart td.product-name a {
	color: var(--wbr-shop-heading);
	text-decoration: none;
}

.wbr-shop--cart table.cart td.product-name a:hover {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.wbr-shop .variation,
.wbr-shop .wc-item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0 6px;
	margin: 4px 0 0 !important;
	padding: 0 !important;
	color: var(--wbr-shop-muted);
	font-size: 13px;
	font-weight: 400;
	list-style: none;
}

.wbr-shop .variation dt,
.wbr-shop .variation dd,
.wbr-shop .variation dd p {
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 400;
}

.wbr-shop .variation dd {
	flex-basis: 60%;
	flex-grow: 1;
}

.wbr-shop--cart table.cart td.product-price {
	grid-area: price;
	align-self: start;
	color: var(--wbr-shop-muted);
	font-size: 14px;
}

.wbr-shop--cart table.cart td.product-quantity {
	grid-area: qty;
}

.wbr-shop--cart table.cart td.product-subtotal {
	grid-area: total;
	color: var(--wbr-shop-heading);
	font-size: 17px;
	font-weight: 700;
	text-align: end !important;
	white-space: nowrap;
}

.wbr-shop--cart table.cart td.product-remove {
	grid-area: remove;
	justify-self: end;
}

.wbr-shop--cart table.cart a.remove {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 34px !important;
	height: 34px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--wbr-shop-soft) !important;
	color: var(--wbr-shop-muted) !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.wbr-shop--cart table.cart a.remove:hover {
	background: var(--wbr-shop-danger) !important;
	color: #ffffff !important;
}

/* Quantity, with the plus and minus buttons the script adds. */
.wbr-shop .quantity {
	display: inline-flex !important;
	align-items: center;
	float: none !important;
	margin: 0 !important;
	border: 1.5px solid var(--wbr-shop-border);
	border-radius: 999px;
	background: #ffffff;
}

.wbr-shop .quantity input.qty {
	width: 54px !important;
	min-height: 42px !important;
	padding: 0 4px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: none !important;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	box-shadow: none !important;
	-moz-appearance: textfield;
	appearance: textfield;
}

.wbr-shop .quantity.wbr-qty input.qty {
	width: 42px !important;
}

.wbr-shop .quantity.wbr-qty input.qty::-webkit-outer-spin-button,
.wbr-shop .quantity.wbr-qty input.qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.wbr-shop .quantity.hidden,
.wbr-shop .quantity:has(> input[type="hidden"]:only-of-type) {
	border: 0;
	background: none;
}

.wbr-shop .wbr-qty__btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px !important;
	min-width: 0;
	height: 42px;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: none !important;
	color: var(--wbr-shop-accent) !important;
	font-size: 20px !important;
	font-weight: 500;
	line-height: 1 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.wbr-shop .wbr-qty__btn:hover {
	background: var(--wbr-shop-soft) !important;
	color: var(--wbr-shop-accent-hover) !important;
}

.wbr-shop .wbr-qty__btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

/* Coupon and "Update cart". */
.wbr-shop--cart table.cart td.actions {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 22px !important;
}

.wbr-shop--cart table.cart td.actions .coupon {
	display: flex;
	flex: 1 1 320px;
	float: none !important;
	gap: 10px;
	max-width: 460px;
	margin: 0 !important;
	padding: 0 !important;
}

.wbr-shop--cart table.cart td.actions .coupon .input-text {
	flex: 1 1 auto;
	float: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
}

.wbr-shop--cart table.cart td.actions .coupon .button {
	flex: 0 0 auto;
	float: none !important;
	width: auto !important;
}

.wbr-shop--cart table.cart td.actions > .button {
	float: none !important;
	width: auto !important;
	margin-inline-start: auto !important;
}

/* The cart updates by itself: the button is only there for the script. */
.wbr-shop--cart.wbr-shop--auto button[name="update_cart"] {
	position: absolute !important;
	width: 1px !important;
	min-height: 0 !important;
	height: 1px !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.wbr-shop .wbr-shop__continue {
	margin: 20px 0 0;
	font-size: 15px;
	font-weight: 600;
}

.wbr-shop .wbr-shop__continue a {
	text-decoration: none;
}

.wbr-shop .wbr-shop__continue a:hover {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

[dir="rtl"] .wbr-shop .wbr-shop__continue span {
	display: inline-block;
	transform: scaleX(-1);
}

/* ------------------------------------------------------------- the totals */

.wbr-shop--cart .wc-proceed-to-checkout {
	display: grid;
	gap: 12px;
	margin: 0 !important;
	padding: 0 !important;
}

.wbr-shop--cart .wc-proceed-to-checkout > * {
	margin: 0 !important;
}

/* ------------------------------------------------------------- cross-sells */

.wbr-shop--cart .cross-sells ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 22px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.wbr-shop--cart .cross-sells ul.products::before,
.wbr-shop--cart .cross-sells ul.products::after {
	display: none !important;
}

.wbr-shop--cart .cross-sells ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wbr-shop--cart .cross-sells ul.products li.product img {
	border-radius: calc(var(--wbr-shop-radius) * 0.7);
}

/* -------------------------------------------------------------- empty cart */

.wbr-shop--cart .wc-empty-cart-message,
.wbr-shop--cart .return-to-shop {
	margin: 0 !important;
	text-align: center;
}

.wbr-shop--cart .wc-empty-cart-message .woocommerce-info,
.wbr-shop--cart .cart-empty {
	margin: 0 !important;
	padding: 56px 24px 8px !important;
	border: 0 !important;
	background: none !important;
	color: var(--wbr-shop-heading) !important;
	font-size: 24px;
	font-weight: 600;
	text-align: center;
}

.wbr-shop--cart .return-to-shop {
	padding-bottom: 56px;
}

/* =============================================================== CHECKOUT */

.wbr-shop--checkout .woocommerce-form-coupon-toggle,
.wbr-shop--checkout .woocommerce-form-login-toggle {
	margin: 0 0 14px;
}

.wbr-shop--checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.wbr-shop--checkout .woocommerce-form-login-toggle .woocommerce-info {
	margin: 0 !important;
	border: 1.5px dashed var(--wbr-shop-border) !important;
	background: var(--wbr-shop-card) !important;
	color: var(--wbr-shop-muted) !important;
}

.wbr-shop--checkout .woocommerce-form-coupon-toggle .woocommerce-info a,
.wbr-shop--checkout .woocommerce-form-login-toggle .woocommerce-info a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.wbr-shop--checkout form.checkout_coupon,
.wbr-shop--checkout form.woocommerce-form-login {
	margin: 0 0 18px !important;
	box-shadow: none;
}

/* WooCommerce opens and closes these forms itself: only lay them out while open. */
.wbr-shop--checkout form.checkout_coupon:not([style*="none"]) {
	display: flex !important;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px;
}

.wbr-shop--checkout form.checkout_coupon > p:not(.form-row) {
	flex: 1 1 100%;
	margin: 0;
	color: var(--wbr-shop-muted);
	font-size: 14px;
}

.wbr-shop--checkout form.checkout_coupon .form-row-first {
	flex: 1 1 220px;
}

.wbr-shop--checkout form.checkout_coupon .form-row-last {
	flex: 0 0 auto;
}

.wbr-shop--checkout form.woocommerce-form-login .form-row,
.wbr-shop--checkout form.woocommerce-form-login > p {
	margin: 0 0 14px !important;
}

.wbr-shop--checkout form.woocommerce-form-login .lost_password {
	margin-bottom: 0 !important;
	font-size: 14px;
}

/* ------------------------------------------------------------- the layout */

.wbr-shop--checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wbr-shop-gap);
	align-items: start;
	margin: 0;
}

.wbr-shop--checkout form.checkout > * {
	min-width: 0;
}

.wbr-shop--checkout form.checkout > .woocommerce-NoticeGroup {
	grid-column: 1 / -1;
	margin-bottom: calc(var(--wbr-shop-gap) * -1 + 4px);
}

/* Its text is printed again inside the summary box. */
.wbr-shop--checkout #order_review_heading {
	display: none !important;
}

@media (min-width: 1025px) {
	.wbr-shop--checkout.wbr-shop--side form.checkout {
		grid-template-columns: minmax(0, 1fr) minmax(0, var(--wbr-shop-side));
	}

	.wbr-shop--checkout.wbr-shop--side form.checkout > * {
		grid-column: 1;
	}

	.wbr-shop--checkout.wbr-shop--side form.checkout > .woocommerce-NoticeGroup {
		grid-column: 1 / -1;
	}

	.wbr-shop--checkout.wbr-shop--side form.checkout > #order_review {
		grid-column: 2;
		grid-row: 1 / span 20;
	}

	.wbr-shop--checkout.wbr-shop--side form.checkout > .woocommerce-NoticeGroup ~ #order_review {
		grid-row: 2 / span 20;
	}

	.wbr-shop--checkout.wbr-shop--sticky form.checkout > #order_review {
		position: sticky;
		top: var(--wbr-shop-sticky-top);
	}
}

.wbr-shop--checkout #customer_details {
	display: grid;
	float: none !important;
	width: 100% !important;
	gap: var(--wbr-shop-gap);
	margin: 0 !important;
}

.wbr-shop--checkout #customer_details::before,
.wbr-shop--checkout #customer_details::after {
	display: none !important;
}

/* No shipping address and no notes: the second box has nothing to show. */
.wbr-shop--checkout #customer_details > .col-2:not(:has(input, textarea, select)) {
	display: none;
}

/* ------------------------------------------------------------- the fields */

.wbr-shop--checkout .woocommerce-billing-fields__field-wrapper,
.wbr-shop--checkout .woocommerce-shipping-fields__field-wrapper,
.wbr-shop--checkout .woocommerce-additional-fields__field-wrapper,
.wbr-shop--checkout .woocommerce-account-fields .create-account {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
}

.wbr-shop--checkout #customer_details .form-row {
	grid-column: 1 / -1;
}

.wbr-shop--checkout #customer_details .form-row-first,
.wbr-shop--checkout #customer_details .form-row-last {
	grid-column: auto;
}

@media (max-width: 600px) {
	.wbr-shop--checkout #customer_details .form-row-first,
	.wbr-shop--checkout #customer_details .form-row-last {
		grid-column: 1 / -1;
	}
}

.wbr-shop--checkout .woocommerce-account-fields,
.wbr-shop--checkout .woocommerce-additional-fields,
.wbr-shop--checkout .woocommerce-shipping-fields + .woocommerce-additional-fields {
	margin-top: 22px;
}

.wbr-shop--checkout .woocommerce-shipping-fields:empty,
.wbr-shop--checkout .woocommerce-shipping-fields:not(:has(*)) {
	display: none;
}

.wbr-shop--checkout .woocommerce-shipping-fields:not(:has(*)) + .woocommerce-additional-fields {
	margin-top: 0;
}

.wbr-shop--checkout #ship-to-different-address {
	margin-bottom: 0 !important;
	font-size: 17px;
}

.wbr-shop--checkout #ship-to-different-address label {
	margin: 0;
	font-size: inherit;
	font-weight: 600;
}

.wbr-shop--checkout .shipping_address {
	margin-top: 18px;
}

/* --------------------------------------------------------- order summary */

.wbr-shop--checkout .wbr-shop__summary-title {
	margin-bottom: 8px !important;
}

.wbr-shop--checkout table.woocommerce-checkout-review-order-table tbody tr {
	align-items: center;
}

.wbr-shop--checkout table.woocommerce-checkout-review-order-table td.product-name {
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	color: var(--wbr-shop-text);
	font-weight: 600;
	line-height: 1.4;
}

.wbr-shop--checkout .wbr-co-thumb {
	float: inline-start;
	width: 58px;
	height: 58px;
	margin-inline-end: 14px;
	border: 1px solid var(--wbr-shop-border);
	border-radius: 14px;
	background: #ffffff;
	overflow: hidden;
}

/* Browsers without logical floats. */
@supports not (float: inline-start) {
	.wbr-shop--checkout .wbr-co-thumb {
		float: left;
	}

	[dir="rtl"] .wbr-shop--checkout .wbr-co-thumb {
		float: right;
	}
}

.wbr-shop--checkout .wbr-co-thumb img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	border-radius: 0 !important;
	object-fit: cover;
}

.wbr-shop--checkout td.product-name .product-quantity {
	color: var(--wbr-shop-muted);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

/* --------------------------------------------------------------- payment */

.wbr-shop--checkout #payment {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
}

.wbr-shop--checkout #payment ul.payment_methods {
	display: grid;
	gap: 10px;
	margin: 0 0 20px !important;
	padding: 0 !important;
	border: 0 !important;
	list-style: none !important;
}

.wbr-shop--checkout #payment ul.payment_methods::before,
.wbr-shop--checkout #payment ul.payment_methods::after {
	display: none !important;
}

.wbr-shop--checkout #payment ul.payment_methods > li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 12px;
	margin: 0 !important;
	padding: 14px 16px !important;
	border: 1.5px solid var(--wbr-shop-border);
	border-radius: var(--wbr-shop-field-radius);
	background: #ffffff;
	line-height: 1.4;
	list-style: none !important;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.wbr-shop--checkout #payment ul.payment_methods > li:has(> input:checked) {
	border-color: var(--wbr-shop-accent);
	box-shadow: 0 0 0 3px rgba(245, 185, 143, 0.3);
}

.wbr-shop--checkout #payment ul.payment_methods > li > input {
	flex: 0 0 auto;
	margin: 0 !important;
}

.wbr-shop--checkout #payment ul.payment_methods > li > label {
	display: flex;
	flex: 1 1 0;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	min-width: 0;
	margin: 0 !important;
	color: var(--wbr-shop-text);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.wbr-shop--checkout #payment ul.payment_methods > li > label img {
	float: none !important;
	max-height: 26px;
	width: auto;
	margin: 0 !important;
	margin-inline-start: auto !important;
}

.wbr-shop--checkout #payment div.payment_box {
	flex: 1 1 100%;
	width: 100%;
	margin: 12px 0 0 !important;
	padding: 14px 16px !important;
	border-radius: calc(var(--wbr-shop-field-radius) * 0.8);
	background: var(--wbr-shop-soft) !important;
	color: var(--wbr-shop-text);
	font-size: 14px;
	line-height: 1.55;
}

.wbr-shop--checkout #payment div.payment_box::before,
.wbr-shop--checkout #payment div.payment_box::after {
	display: none !important;
}

.wbr-shop--checkout #payment div.payment_box p {
	margin: 0 0 8px;
}

.wbr-shop--checkout #payment div.payment_box p:last-child {
	margin-bottom: 0;
}

.wbr-shop--checkout #payment div.payment_box fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.wbr-shop--checkout #payment .place-order {
	display: grid;
	gap: 16px;
	margin: 0 !important;
	padding: 0 !important;
}

.wbr-shop--checkout .woocommerce-terms-and-conditions-wrapper {
	margin: 0;
	color: var(--wbr-shop-muted);
	font-size: 13px;
	line-height: 1.55;
}

.wbr-shop--checkout .woocommerce-privacy-policy-text p {
	margin: 0 0 10px;
}

.wbr-shop--checkout .woocommerce-terms-and-conditions-wrapper .form-row label {
	font-size: 14px;
}

.wbr-shop--checkout .wbr-shop__secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 16px 0 0;
	color: var(--wbr-shop-muted);
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
}

.wbr-shop--checkout .wbr-shop__secure svg {
	flex: 0 0 auto;
}

/* ------------------------------------- order received / pay for an order */

.wbr-shop .woocommerce-order > * + * {
	margin-top: 24px !important;
}

.wbr-shop .woocommerce-thankyou-order-received {
	margin: 0 !important;
	color: var(--wbr-shop-heading);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.35;
}

.wbr-shop ul.woocommerce-order-overview,
.wbr-shop ul.order_details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.wbr-shop ul.woocommerce-order-overview::before,
.wbr-shop ul.woocommerce-order-overview::after,
.wbr-shop ul.order_details::before,
.wbr-shop ul.order_details::after {
	display: none !important;
}

.wbr-shop ul.woocommerce-order-overview li,
.wbr-shop ul.order_details li {
	float: none !important;
	margin: 0 !important;
	padding: 14px 16px !important;
	border: 0 !important;
	border-radius: var(--wbr-shop-field-radius);
	background: var(--wbr-shop-soft);
	color: var(--wbr-shop-muted);
	font-size: 12px;
	letter-spacing: 0.04em;
	line-height: 1.4;
	text-transform: uppercase;
}

.wbr-shop ul.woocommerce-order-overview li strong,
.wbr-shop ul.order_details li strong {
	display: block;
	margin-top: 4px;
	color: var(--wbr-shop-text);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	overflow-wrap: anywhere;
}

.wbr-shop table.order_details,
.wbr-shop table.woocommerce-table--order-details,
.wbr-shop form#order_review table.shop_table {
	width: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
	border-radius: 0 !important;
	background: none !important;
}

.wbr-shop table.order_details th,
.wbr-shop table.order_details td,
.wbr-shop form#order_review table.shop_table th,
.wbr-shop form#order_review table.shop_table td {
	padding: 13px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--wbr-shop-border) !important;
	background: none !important;
	color: var(--wbr-shop-text);
	font-size: 15px;
	text-align: start;
	vertical-align: top;
}

.wbr-shop table.order_details th:last-child,
.wbr-shop table.order_details td:last-child,
.wbr-shop form#order_review table.shop_table th:last-child,
.wbr-shop form#order_review table.shop_table td:last-child {
	text-align: end;
}

.wbr-shop table.order_details thead th,
.wbr-shop table.order_details tfoot th {
	color: var(--wbr-shop-muted);
	font-weight: 500;
}

.wbr-shop table.order_details tfoot tr:last-child th,
.wbr-shop table.order_details tfoot tr:last-child td {
	border-bottom: 0 !important;
	color: var(--wbr-shop-heading);
	font-size: 18px;
	font-weight: 700;
}

.wbr-shop .woocommerce-customer-details address {
	margin: 0;
	padding: 18px 20px !important;
	border: 0 !important;
	border-radius: var(--wbr-shop-field-radius) !important;
	background: var(--wbr-shop-soft);
	font-style: normal;
	line-height: 1.7;
}

.wbr-shop .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.wbr-shop .woocommerce-columns--addresses::before,
.wbr-shop .woocommerce-columns--addresses::after {
	display: none !important;
}

.wbr-shop .woocommerce-columns--addresses > * {
	float: none !important;
	width: auto !important;
	max-width: none !important;
}

/* ------------------------------------------------------ tablets and phones */

@media (max-width: 1024px) {
	.wbr-shop {
		--wbr-shop-gap: 24px;
	}
}

@media (max-width: 767px) {
	.wbr-shop {
		--wbr-shop-pad: 18px;
		--wbr-shop-gap: 18px;
		--wbr-shop-radius: 16px;
	}

	.wbr-shop--cart table.cart tr.cart_item {
		grid-template-columns: 76px minmax(0, 1fr) 36px;
		grid-template-areas:
			"thumb name  remove"
			"thumb price price"
			"qty   qty   total";
		gap: 4px 14px;
		padding: 18px 0;
	}

	.wbr-shop--cart table.cart td.product-thumbnail img {
		width: 76px !important;
		height: 76px !important;
	}

	.wbr-shop--cart table.cart td.product-name {
		align-self: start;
		font-size: 16px;
	}

	.wbr-shop--cart table.cart td.product-remove {
		align-self: start;
	}

	.wbr-shop--cart table.cart td.product-quantity,
	.wbr-shop--cart table.cart td.product-subtotal {
		margin-top: 12px;
	}

	.wbr-shop--cart table.cart td.actions .coupon {
		flex-basis: 100%;
		max-width: none;
	}

	.wbr-shop--cart table.cart td.actions > .button {
		width: 100% !important;
	}

	.wbr-shop tr.order-total td,
	.wbr-shop tr.order-total td strong,
	.wbr-shop tr.order-total td .amount {
		font-size: 22px !important;
	}
}

@media (max-width: 420px) {
	.wbr-shop--cart table.cart td.actions .coupon {
		flex-direction: column;
	}

	.wbr-shop--cart table.cart td.actions .coupon .button,
	.wbr-shop--checkout form.checkout_coupon .form-row-last,
	.wbr-shop--checkout form.checkout_coupon .form-row-last .button {
		width: 100% !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wbr-shop *,
	.wbr-shop *::before,
	.wbr-shop *::after {
		transition: none !important;
	}
}
