/*
 * Worldy cart — Worldy Fixes, fix 3 (R9).
 * Site palette (LittleDino theme options): olive #68724a · navy #12265a · rose #c88787 · gold #d8a83e.
 * Layout: phone < 640px (one column, compact cards) · tablet 640–1023px (one column, roomy cards,
 * summary below) · desktop ≥ 1024px (cards + sticky summary side by side).
 * Logical properties only, so the page reads correctly in RTL (Arabic) and LTR (English).
 */



/* ---------- WooCommerce success notices on the cart (coupon applied, cart updated …) ---------- */

.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 28px;
	padding: 18px 20px;
	border: 1px solid color-mix(in srgb, var(--wf-olive) 28%, transparent);
	border-radius: var(--wf-radius);
	background: var(--wf-olive-soft);
	box-shadow: none;
	color: var(--wf-navy);
}
.woocommerce-cart .woocommerce-message .message_content,
.woocommerce-cart .woocommerce-message .message_text {
	flex: 1;
	min-width: 0;
	padding: 0;
	color: inherit;
	font-size: 16px;
	line-height: 1.75;
}
/* One check mark for every success notice on the cart (the theme's is absolutely positioned and
   sits on top of the text and buttons). */
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message .message_icon_wrap {
	display: none;
}
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before {
	content: "" !important;
	position: static !important;
	flex: none;
	width: 40px;
	height: 40px;
	margin: 0 !important;
	border-radius: 50%;
	background: var(--wf-olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message {
	align-items: center;
}
/* ---------- Layout ---------- */

.wf-cart {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	color: var(--wf-navy);
}
/* The theme sets overflow: hidden auto on html + body, which turns <body> into a scroll container
   that never scrolls — position: sticky then has nothing to stick to. overflow-x: clip keeps the
   page from scrolling sideways without creating a scroll container. */
html:has(body.woocommerce-cart),
body.woocommerce-cart {
	overflow-x: clip !important;
	overflow-y: visible !important;
}

@media (min-width: 1024px) {
	.wf-cart {
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: 32px;
		align-items: start;
	}
	.wf-cart__aside {
		position: sticky;
		top: 124px; /* below the theme's 100px sticky header */
	}
}

.wf-cart__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-block-end: 16px;
}
.wf-cart__title {
	margin: 0;
	font-size: 26px;
	line-height: 1.3;
	color: var(--wf-navy);
}
.wf-cart__count {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--wf-rose-soft);
	color: #8c4a4a;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- Story cards ---------- */

.wf-items {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.wf-items > li::before,
.wf-items > li::after {
	content: none !important;
	display: none !important;
}
.wf-item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 16px;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--wf-line);
	border-radius: var(--wf-radius);
	background: var(--wf-card);
	box-shadow: var(--wf-shadow);
}
@media (min-width: 640px) {
	.wf-item {
		grid-template-columns: 132px minmax(0, 1fr);
		gap: 22px;
		padding: 20px;
	}
}
.wf-item__cover a,
.wf-item__cover img {
	display: block;
}
.wf-item__cover img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 10px 22px -12px rgb(18 38 90 / 0.45);
}
.wf-item__body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}
.wf-item__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 4px 16px;
}
.wf-cart .wf-item__title {
	margin: 0;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.4;
}
.wf-cart .wf-item__title a {
	color: var(--wf-navy);
	font-size: inherit !important;
	line-height: inherit;
	text-decoration: none;
}
.wf-item__title a:hover {
	color: var(--wf-olive);
}
.wf-item__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	font-size: 20px;
	font-weight: 700;
	color: var(--wf-navy);
	white-space: nowrap;
}
.wf-item__price .amount {
	color: inherit;
	font-family: inherit;
}
.wf-item__unit {
	font-size: 13px;
	font-weight: 500;
	color: var(--wf-muted);
}

/* The child, as the story's hero */
.wf-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	padding: 10px 12px;
	border-radius: 16px;
	background: var(--wf-cream);
}
.wf-hero__photo {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fff;
	box-shadow: 0 0 0 2px var(--wf-rose);
	background: var(--wf-rose-soft);
}
.wf-hero__text {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 120px;
	line-height: 1.45;
}
.wf-hero__label {
	font-size: 12px;
	color: var(--wf-muted);
}
.wf-hero__name {
	font-size: 17px;
	color: var(--wf-navy);
}
.wf-hero__meta {
	font-size: 14px;
	color: var(--wf-muted);
}
.wf-hero__ok {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--wf-ok-soft);
	color: var(--wf-ok);
	font-size: 13px;
	font-weight: 600;
}
.wf-hero__ok::before {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%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'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Fix 21: the child's photo is gone — say so, in the error colour, with a "!" mark */
.wf-hero__ok--missing {
	background: #fdecec;
	color: #b3261e;
}
.wf-hero__ok--missing::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' d='M12 6v8M12 18.5v.01'/%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'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' d='M12 6v8M12 18.5v.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Other choices (story language, dedication, paper type …) as a tidy two-column list */
.wf-item__details dl.variation {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 6px 14px;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}
.wf-item__details dl.variation dt,
.wf-item__details dl.variation dd {
	float: none;
	clear: none;
	margin: 0;
	padding: 0;
	font-size: inherit;
}
.wf-item__details dl.variation dt {
	font-weight: 500;
	color: var(--wf-muted);
}
.wf-item__details dl.variation dd {
	font-weight: 600;
	color: var(--wf-navy);
}
.wf-item__details dl.variation dd p {
	margin: 0;
}
.wf-item__details .apo-cart-fee {
	margin-inline-start: 6px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--wf-olive-soft);
	color: var(--wf-olive-ink);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

/* Quantity + remove */

/* Quantity stepper: [−] 2 [+] — round 40px buttons, bold number, one pill. The theme's absolutely
   positioned +/− glyphs and number spinners are replaced. In RTL "−" sits at the start (right). */
.wf-cart .wf-item__qty .quantity.number-input {
	display: inline-flex;
	align-items: center;
	margin: 0;
}
.wf-cart .wf-item__qty .quantity-wrapper {
	position: relative;
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 4px !important;
	border: 1px solid var(--wf-line) !important;
	border-radius: 999px !important;
	background: var(--wf-cream) !important;
	box-shadow: none !important;
}
.wf-cart .wf-item__qty .quantity-wrapper input.qty {
	order: 2;
	position: static !important;
	width: 46px !important;
	height: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--wf-navy) !important;
	font-family: inherit !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 40px !important;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}
.wf-cart .wf-item__qty input.qty::-webkit-outer-spin-button,
.wf-cart .wf-item__qty input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.wf-cart .wf-item__qty .quantity-wrapper span.minus {
	order: 1;
}
.wf-cart .wf-item__qty .quantity-wrapper span.plus {
	order: 3;
}
.wf-cart .wf-item__qty .quantity-wrapper span.minus,
.wf-cart .wf-item__qty .quantity-wrapper span.plus {
	position: static !important;
	inset: auto !important;
	display: inline-block !important;
	flex: none;
	width: 40px !important;
	height: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background-color: #fff !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: 18px !important;
	box-shadow: 0 1px 2px rgb(18 38 90 / 0.1), inset 0 0 0 1px var(--wf-line) !important;
	transform: none !important;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.wf-cart .wf-item__qty .quantity-wrapper span.minus {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%234f5735' stroke-width='2.6' stroke-linecap='round' d='M5 12h14'/%3E%3C/svg%3E") !important;
}
.wf-cart .wf-item__qty .quantity-wrapper span.plus {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%234f5735' stroke-width='2.6' stroke-linecap='round' d='M12 5v14M5 12h14'/%3E%3C/svg%3E") !important;
}
.wf-cart .wf-item__qty .quantity-wrapper span.minus::before,
.wf-cart .wf-item__qty .quantity-wrapper span.minus::after,
.wf-cart .wf-item__qty .quantity-wrapper span.plus::before,
.wf-cart .wf-item__qty .quantity-wrapper span.plus::after {
	content: none !important;
	display: none !important;
}
.wf-cart .wf-item__qty .quantity-wrapper span.minus:hover,
.wf-cart .wf-item__qty .quantity-wrapper span.plus:hover {
	background-color: var(--wf-olive-soft) !important;
}
.wf-cart .wf-item__qty .quantity-wrapper span.minus:active,
.wf-cart .wf-item__qty .quantity-wrapper span.plus:active {
	transform: scale(0.94) !important;
}

.wf-item__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block-start: 12px;
	border-top: 1px dashed var(--wf-line);
}
.wf-item__qty .quantity {
	margin: 0 !important;
}
.wf-item__qty .label-qty {
	display: none;
}
.wf-cart a.remove.wf-remove {
	position: static;
	display: inline-flex;
	font-family: inherit !important;
	font-size: 14px !important;
	align-items: center;
	gap: 6px;
	min-height: 50px;
	padding: 0 18px !important;
	border: 1px solid var(--wf-line) !important;
	border-radius: 999px;
	color: var(--wf-muted) !important;
	font-weight: 600;
	text-decoration: none !important;
	/* WooCommerce + the theme style a.remove as a small round "×" with 0px text — undo that. */
	width: auto !important;
	height: auto !important;
	line-height: 1 !important;
	background: transparent !important;
}
.wf-cart a.remove.wf-remove::before,
.wf-cart a.remove.wf-remove::after {
	content: none !important;
	display: none !important;
}
.wf-cart a.remove.wf-remove:hover {
	border-color: color-mix(in srgb, #a23b3b 35%, transparent) !important;
	color: #a23b3b !important;
	background: var(--wf-rose-soft) !important;
}

/* Coupon + pending quantity save */
.wf-cart__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-block-start: 16px;
}
.wf-update[disabled] {
	display: none;
}

/* ---------- Order summary ---------- */

.woocommerce-cart .wf-cart__aside .cart_totals {
	float: none;
	width: 100%;
	margin: 0;
	padding: 24px !important;
	border: 1px solid var(--wf-line);
	border-radius: var(--wf-radius);
	background: var(--wf-cream);
	box-shadow: var(--wf-shadow);
}
.woocommerce-cart .wf-cart__aside .cart_totals h2 {
	margin: 0 0 8px;
	padding: 0 !important;
	font-size: 22px;
	color: var(--wf-navy);
}
.woocommerce-cart .wf-cart__aside .cart_totals table.shop_table {
	width: 100%;
	margin: 0 0 18px;
	padding: 0 !important;
	border: 0;
	border-collapse: collapse;
	background: transparent;
}
.wf-cart__aside .cart_totals table.shop_table tr {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--wf-line);
}
.wf-cart__aside .cart_totals table.shop_table th,
.wf-cart__aside .cart_totals table.shop_table td {
	display: block;
	padding: 0 !important;
	border: 0 !important;
	background: none;
	width: auto;
	font-size: 15px;
	font-weight: 500;
	color: var(--wf-muted);
	text-align: start;
}
.wf-cart__aside .cart_totals table.shop_table td {
	text-align: end;
	color: var(--wf-navy);
}
.wf-cart__aside .cart_totals table.shop_table td::before {
	display: none; /* responsive-table labels */
}
.woocommerce-cart .wf-cart__aside .cart_totals .woocommerce-Price-amount,
.woocommerce-cart .wf-cart__aside .cart_totals .amount {
	color: var(--wf-navy) !important;
	font-size: inherit;
	font-weight: 700;
}
.woocommerce-cart .wf-cart__aside .cart_totals .woocommerce-shipping-destination,
.woocommerce-cart .wf-cart__aside .cart_totals .shipping-calculator-button,
.woocommerce-cart .wf-cart__aside .cart_totals #shipping_method li label {
	font-size: 13px !important;
	line-height: 1.6;
	color: var(--wf-muted) !important;
}
/* Delivery row: label + price on one line, then a full-width note ("estimated — updates at the
   next step") and the calculator link under it. */
.wf-cart__aside .cart_totals table.shop_table tr.woocommerce-shipping-totals {
	flex-wrap: wrap;
	row-gap: 10px;
}
.wf-cart__aside .cart_totals tr.woocommerce-shipping-totals > td {
	display: contents;
}
.wf-cart__aside .cart_totals tr.woocommerce-shipping-totals #shipping_method {
	margin-inline-start: auto;
	text-align: end;
}
/* Owner 2026-11-07: no sentence under the delivery price ("estimated…" / "Delivery to …"). */
.woocommerce-cart .wf-cart__aside .cart_totals .woocommerce-shipping-destination {
	display: none !important;
}
.woocommerce-cart .wf-cart__aside .cart_totals .woocommerce-shipping-destination {
	flex: 0 0 100%;
	position: relative;
	display: block;
	margin: 0;
	padding: 10px 12px;
	padding-inline-start: 36px;
	border-radius: 12px;
	background: var(--wf-olive-soft);
	color: var(--wf-olive-ink) !important;
	text-align: start;
}
.woocommerce-cart .wf-cart__aside .cart_totals .woocommerce-shipping-destination::before {
	content: "";
	position: absolute;
	inset-inline-start: 12px;
	top: 13px;
	width: 16px;
	height: 16px;
	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.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v6M12 7.5v.01'/%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.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v6M12 7.5v.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-cart .wf-cart__aside .cart_totals .woocommerce-shipping-destination strong {
	font-weight: 700;
}
.wf-cart__aside .cart_totals tr.woocommerce-shipping-totals form.woocommerce-shipping-calculator {
	flex: 0 0 100%;
	margin: 0;
	text-align: start;
}
.woocommerce-cart .wf-cart__aside .cart_totals .shipping-calculator-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--wf-olive-ink) !important;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.woocommerce-cart .wf-cart__aside .cart_totals .shipping-calculator-button::after {
	display: none !important; /* the theme's caret */
}

/* ---------- Delivery calculator dialog (moved to <body> by cart.js) ---------- */
body.wf-calc-is-open {
	overflow: hidden;
}
.wf-calc-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgb(18 38 90 / 0.45);
	animation: wf-calc-fade 0.18s ease-out;
}
form.woocommerce-shipping-calculator.wf-calc {
	position: fixed;
	z-index: 100001;
	top: 50%;
	left: 50%;
	width: min(460px, calc(100vw - 32px));
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	margin: 0;
	padding: 0;
	transform: translate(-50%, -50%);
	border-radius: var(--wf-radius);
	background: var(--wf-card);
	box-shadow: 0 30px 80px -20px rgb(18 38 90 / 0.45);
	font-family: inherit;
	animation: wf-calc-in 0.2s ease-out;
}
.wf-calc > .shipping-calculator-button {
	display: none !important;
}
.wf-calc .shipping-calculator-form {
	display: block !important;
	margin: 0 !important;
	padding: 22px 24px 24px !important;
}
.wf-calc .wf-calc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
}
.wf-calc .wf-calc__title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	color: var(--wf-navy);
}
.wf-calc .wf-calc__close {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--wf-cream);
	color: var(--wf-navy);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.wf-calc .wf-calc__close:hover {
	background: var(--wf-line);
}
.wf-calc .wf-calc__hint {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--wf-muted);
}
.wf-calc .form-row {
	margin: 0 0 14px !important;
	padding: 0 !important;
	width: 100% !important;
	float: none !important;
}
.wf-calc .form-row label {
	display: block;
	margin: 0 0 6px !important;
	font-size: 14px !important;
	font-weight: 600;
	line-height: 1.4;
	color: var(--wf-navy);
}
.wf-calc .form-row .required {
	color: #b3403a;
	text-decoration: none;
	border: 0;
}
.wf-calc .form-row input.input-text,
.wf-calc .form-row select {
	box-sizing: border-box;
	width: 100% !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid var(--wf-line) !important;
	border-radius: 12px !important;
	background-color: var(--wf-cream) !important;
	color: var(--wf-navy) !important;
	font: inherit;
	font-size: 16px !important; /* no zoom on iPhone */
	line-height: 46px !important;
	box-shadow: none !important;
}
.wf-calc .form-row select {
	-webkit-appearance: none;
	appearance: none;
	padding-inline-end: 40px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312265a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-size: 18px !important;
	background-position: right 14px center !important;
}
[dir="rtl"] .wf-calc .form-row select,
.rtl .wf-calc .form-row select {
	background-position: left 14px center !important;
}
.wf-calc .form-row input.input-text:focus,
.wf-calc .form-row select:focus {
	border-color: var(--wf-olive) !important;
	background-color: #fff !important;
	outline: 3px solid color-mix(in srgb, var(--wf-olive) 25%, transparent);
	outline-offset: 0;
}
.wf-calc .select2-container {
	width: 100% !important;
}
.wf-calc .select2-container .select2-selection--single {
	box-sizing: border-box;
	height: 48px;
	padding: 0 14px;
	padding-inline-end: 40px;
	border: 1px solid var(--wf-line);
	border-radius: 12px;
	background: var(--wf-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312265a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.rtl .wf-calc .select2-container .select2-selection--single {
	background-position: left 14px center;
}
.wf-calc .select2-container .select2-selection__rendered {
	padding: 0 !important;
	line-height: 46px !important;
	color: var(--wf-navy) !important;
	font-size: 16px;
}
.wf-calc .select2-container .select2-selection__arrow {
	display: none;
}
.wf-calc .select2-dropdown {
	border-color: var(--wf-line);
	border-radius: 12px;
	overflow: hidden;
}
.wf-calc .select2-search__field {
	min-height: 40px;
	border-radius: 8px;
	font-size: 16px !important;
}
.wf-calc .shipping-calculator-form > p:last-of-type {
	margin: 8px 0 0 !important;
}
.wf-calc button[name="calc_shipping"] {
	width: 100%;
	min-height: 52px;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--wf-olive) !important;
	color: #fff !important;
	font: inherit;
	font-size: 17px !important;
	font-weight: 700 !important;
	cursor: pointer;
}
.wf-calc button[name="calc_shipping"]:hover {
	background: var(--wf-olive-ink) !important;
}
@media (max-width: 600px) {
	/* Phones: a bottom sheet */
	form.woocommerce-shipping-calculator.wf-calc {
		top: auto;
		bottom: 0;
		left: 0;
		width: 100%;
		max-height: 88dvh;
		transform: none;
		border-radius: var(--wf-radius) var(--wf-radius) 0 0;
		animation-name: wf-calc-up;
	}
	.wf-calc .shipping-calculator-form {
		padding: 18px 16px calc(20px + env(safe-area-inset-bottom)) !important;
	}
}
@keyframes wf-calc-fade { from { opacity: 0; } }
@keyframes wf-calc-in { from { opacity: 0; transform: translate(-50%, -46%); } }
@keyframes wf-calc-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
	.wf-calc-backdrop,
	form.woocommerce-shipping-calculator.wf-calc {
		animation: none;
	}
}
.wf-cart__aside .cart_totals #shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}
.wf-cart__aside .cart_totals tr.order-total {
	border-bottom: 0;
}
.wf-cart__aside .cart_totals tr.order-total th,
.wf-cart__aside .cart_totals tr.order-total td,
.wf-cart__aside .cart_totals tr.order-total .amount {
	font-size: 20px;
	font-weight: 800;
	color: var(--wf-navy);
}
.wf-cart__aside .wc-proceed-to-checkout {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 0;
}
.wf-cart__aside .wc-proceed-to-checkout .button__wrapper {
	display: block;
	width: 100%;
}
.wf-cart__aside .wc-proceed-to-checkout .button__wrapper > svg {
	display: none; /* theme's dashed outline */
}
.wf-cart__aside .wc-proceed-to-checkout a.checkout-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	margin: 0 !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--wf-olive) !important;
	color: #fff !important;
	font-size: 18px !important;
	font-weight: 700;
	box-shadow: 0 12px 24px -14px rgb(79 87 53 / 0.9);
}
.wf-cart__aside .wc-proceed-to-checkout a.checkout-button:hover {
	background: var(--wf-olive-ink) !important;
}
.wf-summary__more {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border-radius: 999px;
	color: var(--wf-olive-ink) !important;
	font-weight: 700;
	text-decoration: none !important;
}
.wf-summary__more:hover {
	background: var(--wf-olive-soft);
}

/* ---------- Phone ---------- */

@media (max-width: 639px) {
	.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message {
		padding: 16px;
	}
	.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before {
		width: 32px;
		height: 32px;
		background-size: 18px;
	}
	.wf-cart__title {
		font-size: 22px;
	}
	.wf-item__title,
	.wf-item__price {
		font-size: 18px;
	}
	.wf-item__top {
		flex-direction: column;
	}
	.wf-item__price {
		align-items: flex-start;
	}
	/* The details span the full card width under the cover. */
	.wf-item__body {
		display: contents;
	}
	.wf-item__top {
		grid-column: 2;
	}
	.wf-hero,
	.wf-item__details,
	.wf-item__foot,
	.wf-item .backorder_notification {
		grid-column: 1 / -1;
	}
	.wf-item__details dl.variation {
		font-size: 14px;
	}
	.wf-cart__actions {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wf-btn {
		transition: none;
	}
}
