/* Pet-store side cart (store-profile feature "side_cart").
   Dresses Blocksy's off-canvas mini cart (#woo-cart-panel); everything keys off
   body.wd-side-cart so other stores are untouched. Colours come from the theme
   palette: 2 deep green, 5 / 6 soft greens, 7 cream, 8 white. */

body.wd-side-cart #woo-cart-panel .ct-panel-inner {
	background: var(--theme-palette-color-7, #fff9ee);
}

/* ── header ─────────────────────────────────────────────────────────────── */
body.wd-side-cart #woo-cart-panel .ct-panel-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px 14px;
	border-bottom: 1px solid var(--theme-palette-color-5, #d3e6d9);
}
body.wd-side-cart #woo-cart-panel .ct-panel-heading {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--theme-font-family, Lexend, sans-serif);
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--theme-palette-color-2, #0e3d27);
}
body.wd-side-cart #woo-cart-panel .ct-panel-heading::before {
	content: "";
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: var(--theme-palette-color-6, #e4f2e8);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%230e3d27'%3E%3Cellipse cx='4.6' cy='11' rx='2' ry='2.7' transform='rotate(-20 4.6 11)'/%3E%3Cellipse cx='9' cy='5.9' rx='2.1' ry='2.9' transform='rotate(-8 9 5.9)'/%3E%3Cellipse cx='15' cy='5.9' rx='2.1' ry='2.9' transform='rotate(8 15 5.9)'/%3E%3Cellipse cx='19.4' cy='11' rx='2' ry='2.7' transform='rotate(20 19.4 11)'/%3E%3Cpath d='M12 11.2c-3 0-6 2.8-6 5.6 0 2 1.5 3.2 3.2 3.2 1 0 1.8-.5 2.8-.5s1.8.5 2.8.5c1.7 0 3.2-1.2 3.2-3.2 0-2.8-3-5.6-6-5.6z'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px;
}
body.wd-side-cart #woo-cart-panel .ct-toggle-close {
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	background: var(--theme-palette-color-6, #e4f2e8);
	color: var(--theme-palette-color-2, #0e3d27);
	transition: background .15s ease;
}
body.wd-side-cart #woo-cart-panel .ct-toggle-close:hover { background: var(--theme-palette-color-5, #d3e6d9); }
body.wd-side-cart #woo-cart-panel .ct-toggle-close .ct-icon { fill: currentColor; }

body.wd-side-cart #woo-cart-panel .ct-panel-content-inner { padding: 14px 20px 20px; }

/* ── top: item count, delivery date, free-delivery bar ─────────────────── */
.wd-sc-top { margin: 0 0 14px; }
.wd-sc-top__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
}
.wd-sc-count {
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--theme-palette-color-2, #0e3d27);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}
.wd-sc-eta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--theme-text-color, #1a1a17);
}
.wd-sc-eta svg { flex: none; width: 17px; height: 17px; color: var(--theme-palette-color-1, #1e7a4c); }

.wd-sc-ship {
	margin-top: 12px;
	padding: 11px 13px 12px;
	border-radius: 14px;
	background: var(--theme-palette-color-6, #e4f2e8);
	font-size: 12.5px;
	color: var(--theme-palette-color-2, #0e3d27);
}
.wd-sc-ship__text { margin: 0 0 8px; line-height: 1.35; }
.wd-sc-ship__track {
	height: 8px;
	border-radius: 99px;
	background: var(--theme-palette-color-8, #fff);
	overflow: hidden;
}
.wd-sc-ship__track > span {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: var(--theme-palette-color-1, #1e7a4c);
	transition: width .4s ease;
}
.wd-sc-ship.is-done .wd-sc-ship__track > span { background: var(--theme-palette-color-2, #0e3d27); }

/* ── items ──────────────────────────────────────────────────────────────── */
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 12px;
	padding: 12px;
	border: 1px solid var(--theme-palette-color-5, #d3e6d9);
	border-radius: 18px;
	background: var(--theme-palette-color-8, #fff);
	box-shadow: 0 6px 18px -14px rgba(14, 61, 39, .5);
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .ct-media-container {
	flex: none;
	width: 78px;
	height: 78px;
	border-radius: 14px;
	overflow: hidden;
	background: var(--theme-palette-color-6, #e4f2e8);
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .ct-media-container img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .product-data {
	flex: 1 1 auto;
	min-width: 0;
	padding-right: 30px;
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .product-title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--theme-palette-color-2, #0e3d27);
	text-decoration: none;
}
.wd-sc-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}
.wd-sc-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 0; }
.wd-sc-chip {
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--theme-palette-color-6, #e4f2e8);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--theme-palette-color-2, #0e3d27);
}
.wd-sc-chip em { font-style: normal; font-weight: 500; opacity: .75; }

body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .ct-product-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-top: 10px;
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .quantity {
	border-radius: 12px;
	border-color: var(--theme-palette-color-5, #d3e6d9);
	background: var(--theme-palette-color-6, #e4f2e8);
	color: var(--theme-palette-color-2, #0e3d27);
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .ct-product-multiply-symbol { opacity: .55; }
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .woocommerce-Price-amount {
	font-size: 15px;
	font-weight: 800;
	color: var(--theme-palette-color-2, #0e3d27);
}

body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .remove_from_cart_button {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--theme-palette-color-6, #e4f2e8);
	color: var(--theme-palette-color-2, #0e3d27);
	transition: background .15s ease, color .15s ease;
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .remove_from_cart_button:hover {
	background: #fde8e6;
	color: #b42318;
}

/* ── totals + buttons ───────────────────────────────────────────────────── */
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 8px 0 0;
	padding: 16px 0 12px;
	border-top: 1px dashed var(--theme-palette-color-5, #d3e6d9);
	font-size: 14px;
	text-transform: none;
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__total strong {
	font-size: 14px;
	letter-spacing: .02em;
	color: var(--theme-palette-color-2, #0e3d27);
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__total .woocommerce-Price-amount {
	font-size: 20px;
	font-weight: 800;
	color: var(--theme-palette-color-2, #0e3d27);
}

.wd-sc-bottom { margin: 0 0 16px; }
.wd-sc-save {
	margin: 0 0 8px;
	padding: 9px 13px;
	border-radius: 12px;
	background: var(--theme-palette-color-6, #e4f2e8);
	font-size: 13px;
	color: var(--theme-palette-color-2, #0e3d27);
}
.wd-sc-note {
	margin: 0 0 14px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--theme-text-color, #1a1a17);
	opacity: .7;
}
.wd-sc-trust {
	display: grid;
	grid-template-columns: repeat(var(--wd-sc-n, 3), minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 10px 4px;
	list-style: none;
	border-radius: 14px;
	background: var(--theme-palette-color-6, #e4f2e8);
}
.wd-sc-trust li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 2px 6px;
	text-align: center;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--theme-palette-color-2, #0e3d27);
}
.wd-sc-trust li + li { border-left: 1px solid var(--theme-palette-color-5, #cfe3d6); }
.wd-sc-trust svg { flex: none; width: 20px; height: 20px; color: var(--theme-palette-color-1, #1e7a4c); }

body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__buttons .button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	margin: 0;
	border-radius: 12px;
	font-family: var(--theme-button-font-family, Montserrat, sans-serif);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__buttons .checkout {
	order: 1;
	background: var(--theme-button-background-initial-color, #1e7a4c);
	color: #fff;
	border: 0;
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__buttons .wc-forward:not(.checkout) {
	order: 2;
	background: transparent;
	color: var(--theme-palette-color-2, #0e3d27);
	border: 1.5px solid var(--theme-palette-color-2, #0e3d27);
}

/* ── empty cart ─────────────────────────────────────────────────────────── */
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__empty-message { display: none; }
.wd-sc-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 40px 0 0;
	padding: 30px 22px;
	border: 1px dashed var(--theme-palette-color-5, #d3e6d9);
	border-radius: 20px;
	background: var(--theme-palette-color-8, #fff);
	text-align: center;
	font-size: 13.5px;
	color: var(--theme-text-color, #1a1a17);
}
.wd-sc-empty strong { font-size: 16px; color: var(--theme-palette-color-2, #0e3d27); }
.wd-sc-empty__paw {
	width: 64px;
	height: 64px;
	margin-bottom: 4px;
	border-radius: 50%;
	background-color: var(--theme-palette-color-6, #e4f2e8);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%230e3d27'%3E%3Cellipse cx='4.6' cy='11' rx='2' ry='2.7' transform='rotate(-20 4.6 11)'/%3E%3Cellipse cx='9' cy='5.9' rx='2.1' ry='2.9' transform='rotate(-8 9 5.9)'/%3E%3Cellipse cx='15' cy='5.9' rx='2.1' ry='2.9' transform='rotate(8 15 5.9)'/%3E%3Cellipse cx='19.4' cy='11' rx='2' ry='2.7' transform='rotate(20 19.4 11)'/%3E%3Cpath d='M12 11.2c-3 0-6 2.8-6 5.6 0 2 1.5 3.2 3.2 3.2 1 0 1.8-.5 2.8-.5s1.8.5 2.8.5c1.7 0 3.2-1.2 3.2-3.2 0-2.8-3-5.6-6-5.6z'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 32px;
}
.wd-sc-empty__btn {
	margin-top: 10px;
	border-radius: 14px;
	background: var(--theme-button-background-initial-color, #1e7a4c);
	color: #fff;
	font-weight: 700;
}

/* ═══ v2: pinned footer, delivery card, paw progress, sheet-style totals ═══ */
body.wd-side-cart #woo-cart-panel .ct-panel-inner { display: flex; flex-direction: column; height: 100%; }
body.wd-side-cart #woo-cart-panel .ct-panel-content {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 0;
}
body.wd-side-cart #woo-cart-panel .ct-panel-content-inner {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
}
/* the list scrolls; the totals + buttons stay pinned to the bottom */
body.wd-side-cart #woo-cart-panel .wd-sc-top { flex: none; padding: 14px 20px 0; margin: 0; }
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 4px 20px 16px;
	overscroll-behavior: contain;
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item:last-child { margin-bottom: 0; }

/* close button: round, soft green, visible icon */
body.wd-side-cart #woo-cart-panel button.ct-toggle-close[data-type] {
	width: 38px !important;
	height: 38px !important;
	border-radius: 50% !important;
	background: var(--theme-palette-color-6, #e4f2e8) !important;
	color: var(--theme-palette-color-2, #0e3d27) !important;
	--theme-icon-color: var(--theme-palette-color-2, #0e3d27);
}
body.wd-side-cart #woo-cart-panel button.ct-toggle-close[data-type] .ct-icon,
body.wd-side-cart #woo-cart-panel button.ct-toggle-close[data-type] .ct-icon path {
	fill: var(--theme-palette-color-2, #0e3d27) !important;
}
body.wd-side-cart #woo-cart-panel button.ct-toggle-close[data-type] .ct-icon { width: 13px; height: 13px; }
body.wd-side-cart #woo-cart-panel .ct-panel-actions { background: var(--theme-palette-color-8, #fff); }

/* delivery card */
.wd-sc-eta {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 12px;
	row-gap: 8px;
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--theme-palette-color-6, #e4f2e8), var(--theme-palette-color-5, #d3e6d9));
	color: var(--theme-palette-color-2, #0e3d27);
}
.wd-sc-eta__ic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--theme-palette-color-8, #fff);
	color: var(--theme-palette-color-1, #1e7a4c);
	box-shadow: 0 4px 10px -6px rgba(14, 61, 39, .6);
}
.wd-sc-eta__ic svg { width: 23px; height: 23px; }
.wd-sc-eta__tx { display: flex; flex-direction: column; line-height: 1.25; }
.wd-sc-eta__tx small { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.wd-sc-eta__tx strong { font-size: 17px; font-weight: 800; }
.wd-sc-eta__to {
	grid-column: 1 / -1;
	padding-top: 8px;
	border-top: 1px dashed rgba(14, 61, 39, .25);
	font-size: 12.5px;
	font-weight: 600;
}
.wd-sc-eta__to::before { content: "Delivering to "; font-weight: 500; opacity: .75; }

/* free-delivery bar with a paw riding the fill */
.wd-sc-ship {
	margin: 0 0 14px;
	padding: 12px 14px 14px;
	border-radius: 18px;
	background: var(--theme-palette-color-8, #fff);
	border: 1px solid var(--theme-palette-color-5, #d3e6d9);
}
.wd-sc-ship__track { height: 10px; overflow: visible; background: var(--theme-palette-color-6, #e4f2e8); margin-right: 14px; }
.wd-sc-ship__track > span { position: relative; overflow: visible; min-width: 10px; }
.wd-sc-ship__paw {
	position: absolute;
	top: 50%;
	right: -14px;
	width: 28px;
	height: 28px;
	transform: translateY(-50%);
	border-radius: 50%;
	background-color: var(--theme-palette-color-8, #fff);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%230e3d27'%3E%3Cellipse cx='4.6' cy='11' rx='2' ry='2.7' transform='rotate(-20 4.6 11)'/%3E%3Cellipse cx='9' cy='5.9' rx='2.1' ry='2.9' transform='rotate(-8 9 5.9)'/%3E%3Cellipse cx='15' cy='5.9' rx='2.1' ry='2.9' transform='rotate(8 15 5.9)'/%3E%3Cellipse cx='19.4' cy='11' rx='2' ry='2.7' transform='rotate(20 19.4 11)'/%3E%3Cpath d='M12 11.2c-3 0-6 2.8-6 5.6 0 2 1.5 3.2 3.2 3.2 1 0 1.8-.5 2.8-.5s1.8.5 2.8.5c1.7 0 3.2-1.2 3.2-3.2 0-2.8-3-5.6-6-5.6z'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 15px;
	border: 2px solid var(--theme-palette-color-1, #1e7a4c);
	box-shadow: 0 3px 8px -4px rgba(14, 61, 39, .6);
}
.wd-sc-ship.is-done { background: var(--theme-palette-color-2, #0e3d27); border-color: var(--theme-palette-color-2, #0e3d27); color: #fff; }
.wd-sc-ship.is-done .wd-sc-ship__track { background: rgba(255, 255, 255, .2); }
.wd-sc-ship.is-done .wd-sc-ship__track > span { background: var(--theme-palette-color-5, #d3e6d9); }

/* "Your picks" section line */
.wd-sc-head { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.wd-sc-head__t { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--theme-palette-color-2, #0e3d27); }
.wd-sc-head::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--theme-palette-color-5, #d3e6d9); order: 1; }
.wd-sc-count { order: 2; }

/* pinned footer sheet */
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__total,
body.wd-side-cart #woo-cart-panel .wd-sc-bottom,
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__buttons {
	flex: none;
	margin: 0;
	padding-left: 20px;
	padding-right: 20px;
	background: var(--theme-palette-color-8, #fff);
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__total {
	padding-top: 16px;
	padding-bottom: 8px;
	border-top: 1px solid var(--theme-palette-color-5, #d3e6d9);
	border-radius: 22px 22px 0 0;
	box-shadow: 0 -14px 22px -18px rgba(14, 61, 39, .55);
}
body.wd-side-cart #woo-cart-panel .wd-sc-bottom { padding-bottom: 12px; }
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__buttons {
	padding-top: 2px;
	padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	border: 0;
}
.wd-sc-save {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 13px;
	border-radius: 14px;
	background: #fff4e0;
	color: #7a4b00;
}
.wd-sc-save::before {
	content: "%";
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #f5a524;
	color: #1a1a17;
	font-size: 13px;
	font-weight: 800;
}
.wd-sc-save strong { color: #1a1a17; }
.wd-sc-trust { margin: 0 !important; width: auto; box-sizing: border-box; }

@media (max-height: 720px) {
	.wd-sc-note, .wd-sc-trust { display: none; }
}

/* ═══ v3: "best of" the five mock-ups ═══════════════════════════════════════
   header paw badge + title (5), compact delivery bar (1/2/5), clean item card
   with chips and qty/price row (all), add-on card (2), amber savings chip (1/2/5),
   three trust points (1-4), deep-green Checkout with arrow + outlined View cart (1/3/5). */

/* header: white, paw badge, title */
body.wd-side-cart #woo-cart-panel .ct-panel-actions { padding: 16px 18px 14px; border-bottom: 0; }
body.wd-side-cart #woo-cart-panel .ct-panel-heading { font-size: 20px; }

/* compact delivery bar */
.wd-sc-eta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 10px;
	padding: 10px 12px;
	border-radius: 14px;
	background: var(--theme-palette-color-6, #e4f2e8);
}
.wd-sc-eta__ic {
	width: 36px;
	height: 36px;
	box-shadow: none;
	background: transparent;
	color: var(--theme-palette-color-2, #0e3d27);
}
.wd-sc-eta__ic svg { width: 28px; height: 28px; }
.wd-sc-eta__tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.wd-sc-eta__tx strong { font-size: 14px; font-weight: 700; color: var(--theme-palette-color-2, #0e3d27); }
.wd-sc-eta__tx small { font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .8; }

/* plain count line */
.wd-sc-head { display: block; margin: 4px 0 10px; font-size: 13px; font-weight: 500; color: var(--theme-text-color, #1a1a17); opacity: .75; }
.wd-sc-head::after { display: none; }

/* item card: name, quiet chips, qty left / price right */
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item {
	border-radius: 16px;
	box-shadow: none;
	border-color: var(--theme-palette-color-5, #d3e6d9);
}
.wd-sc-chip {
	padding: 3px 10px;
	border-radius: 8px;
	background: #f2f2ee;
	font-weight: 500;
	color: var(--theme-text-color, #1a1a17);
}
.wd-sc-chip em { font-weight: 500; opacity: 1; }
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .ct-product-actions {
	justify-content: space-between;
	flex-wrap: nowrap;
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .ct-product-multiply-symbol { display: none; }
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .quantity {
	border-radius: 10px;
	border: 1px solid var(--theme-palette-color-5, #d3e6d9);
	background: var(--theme-palette-color-8, #fff);
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart-item .remove_from_cart_button {
	background: transparent;
	width: 28px;
	height: 28px;
	opacity: .75;
}

/* add-on card */
.wd-sc-add {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 16px;
	background: var(--theme-palette-color-6, #e4f2e8);
	list-style: none;
}
.wd-sc-add__img {
	flex: none;
	width: 54px;
	height: 54px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--theme-palette-color-8, #fff);
}
.wd-sc-add__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wd-sc-add__tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.wd-sc-add__tx strong { font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--theme-palette-color-2, #0e3d27); }
.wd-sc-add__tx .woocommerce-Price-amount { font-weight: 700; color: var(--theme-palette-color-2, #0e3d27); }
body.wd-side-cart #woo-cart-panel .wd-sc-add__btn {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	background: var(--theme-palette-color-8, #fff);
	color: var(--theme-palette-color-2, #0e3d27);
	border: 1px solid var(--theme-palette-color-5, #d3e6d9);
	font-size: 22px;
	font-weight: 600;
	line-height: 1;
}
body.wd-side-cart #woo-cart-panel .wd-sc-add__btn.loading { opacity: .5; }
body.wd-side-cart #woo-cart-panel .wd-sc-add__btn.added { display: none; }

/* footer: savings chip + buttons */
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__buttons .checkout {
	gap: 10px;
	background: var(--theme-palette-color-2, #0e3d27);
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__buttons .checkout::after {
	content: "";
	width: 18px;
	height: 18px;
	background-color: 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__buttons .wc-forward:not(.checkout) {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 600;
}

/* the theme's own list padding beat the strip's; pin it */
body.wd-side-cart #woo-cart-panel .wd-sc-trust {
	margin: 0 !important;
	padding: 10px 4px !important;
}

/* ═══ free-delivery bar: animated ═══════════════════════════════════════════ */
.wd-sc-ship { position: relative; overflow: hidden; margin: 0 0 12px; padding: 12px 14px 16px; }
.wd-sc-ship__row { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.wd-sc-ship__truck {
	flex: none;
	width: 30px;
	height: 30px;
	color: var(--theme-palette-color-1, #1e7a4c);
	animation: wd-sc-drive 2.4s ease-in-out infinite;
}
.wd-sc-ship__tx { min-width: 0; }
.wd-sc-ship__text { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--theme-palette-color-2, #0e3d27); }
.wd-sc-ship__sub { margin-top: 2px; font-size: 11.5px; line-height: 1.3; opacity: .7; }
.wd-sc-ship__track { margin: 0 14px 0 0; }
.wd-sc-ship__track > span {
	background: linear-gradient(90deg, var(--theme-palette-color-1, #1e7a4c), var(--theme-palette-color-2, #0e3d27));
	animation: wd-sc-fill 1.1s cubic-bezier(.2, .8, .2, 1) both;
}
/* a soft highlight keeps sliding along the fill */
.wd-sc-ship__track > span::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .55) 50%, transparent 100%);
	background-size: 40% 100%;
	background-repeat: no-repeat;
	animation: wd-sc-sheen 2.2s ease-in-out 1.1s infinite;
}
.wd-sc-ship__paw { animation: wd-sc-hop 1.6s ease-in-out 1.1s infinite; }

/* unlocked: deep green card, truck rides across, shine sweep, paw bounces */
.wd-sc-ship.is-done { padding-bottom: 14px; }
.wd-sc-ship.is-done .wd-sc-ship__truck { color: #fff; animation: wd-sc-drive 1.6s ease-in-out infinite; }
.wd-sc-ship.is-done .wd-sc-ship__text,
.wd-sc-ship.is-done .wd-sc-ship__sub { color: #fff; }
.wd-sc-ship.is-done .wd-sc-ship__sub { opacity: .85; }
.wd-sc-ship.is-done .wd-sc-ship__track > span { background: var(--theme-palette-color-5, #d3e6d9); }
.wd-sc-ship.is-done::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 45%;
	height: 100%;
	pointer-events: none;
	background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .28) 50%, transparent 100%);
	animation: wd-sc-card-shine 3.2s ease-in-out .6s infinite;
}
.wd-sc-ship.is-done { animation: wd-sc-pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }

@keyframes wd-sc-fill { from { width: 0; } }
@keyframes wd-sc-sheen { 0% { background-position: -60% 0; } 60%, 100% { background-position: 160% 0; } }
@keyframes wd-sc-hop { 0%, 100% { transform: translateY(-50%) scale(1); } 45% { transform: translateY(-78%) scale(1.08); } 70% { transform: translateY(-50%) scale(.96); } }
@keyframes wd-sc-drive { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(3px); } }
@keyframes wd-sc-card-shine { 0% { left: -60%; opacity: 0; } 15% { opacity: 1; } 55%, 100% { left: 120%; opacity: 0; } }
@keyframes wd-sc-pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
	.wd-sc-ship, .wd-sc-ship *, .wd-sc-ship::after { animation: none !important; }
}

/* ═══ v4: empty cart (mock-up), buy-now coloured free-delivery text, equal buttons ═══ */

/* Empty cart: only the new block shows; the theme's notice + "Return to shop" go */
body.wd-side-cart #woo-cart-panel .ct-panel-content-inner:has(.wd-sc-empty) > :not(.wd-sc-empty):not(:has(.wd-sc-empty)) { display: none !important; }
body.wd-side-cart #woo-cart-panel .wd-sc-empty {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 24px 28px 60px;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: center;
}
.wd-sc-empty__dog {
	display: block;
	width: 128px;
	height: 128px;
	margin: 0 0 8px;
	color: var(--theme-palette-color-1, #1e7a4c);
	background: none;
	border-radius: 0;
}
.wd-sc-empty__dog svg { display: block; width: 100%; height: 100%; }
body.wd-side-cart #woo-cart-panel .wd-sc-empty strong { font-size: 22px; font-weight: 800; color: var(--theme-palette-color-2, #0e3d27); }
.wd-sc-empty__tx { max-width: 270px; font-size: 14.5px; line-height: 1.5; color: var(--theme-text-color, #1a1a17); opacity: .8; }
body.wd-side-cart #woo-cart-panel .wd-sc-empty__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 300px;
	min-height: 52px;
	margin: 14px 0 0;
	border: 0;
	border-radius: 12px;
	background: var(--theme-button-background-initial-color, #1e7a4c);
	color: #fff;
	font-family: var(--theme-button-font-family, Montserrat, sans-serif);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
}

/* free-delivery card text stays white (the original look) */
.wd-sc-ship.is-done .wd-sc-ship__text,
.wd-sc-ship.is-done .wd-sc-ship__truck { color: #fff; }
.wd-sc-ship.is-done .wd-sc-ship__sub { color: #fff; opacity: .85; }

/* Checkout and View cart: identical height */
body.wd-side-cart #woo-cart-panel .woocommerce-mini-cart__buttons .button {
	box-sizing: border-box;
	height: 52px;
	min-height: 52px;
	padding-top: 0;
	padding-bottom: 0;
	line-height: 1;
}

/* ═══ review pass: animations only run while the panel is open; no entrance on re-draw ═══ */
#woo-cart-panel:not(.active) .wd-sc-ship,
#woo-cart-panel:not(.active) .wd-sc-ship *,
#woo-cart-panel:not(.active) .wd-sc-ship::after,
#woo-cart-panel:not(.active) .wd-sc-ship *::before { animation: none !important; }

.wd-sc-ship.is-static,
.wd-sc-ship.is-static .wd-sc-ship__track > span { animation: none; }
.wd-sc-ship.is-static .wd-sc-ship__track > span::before { animation-delay: 0s; }
.wd-sc-ship.is-static .wd-sc-ship__paw { animation-delay: 0s; }

/* card shine moves with transform (compositor only), not `left` */
.wd-sc-ship.is-done::after {
	left: 0;
	width: 45%;
	transform: translateX(-130%);
	animation: wd-sc-card-shine 3.2s ease-in-out .6s infinite;
}
@keyframes wd-sc-card-shine {
	0% { transform: translateX(-130%); opacity: 0; }
	15% { opacity: 1; }
	55%, 100% { transform: translateX(330%); opacity: 0; }
}
.wd-sc-ship__track > span { will-change: width; }
