/**
 * Cartbasket header, search, account menu, drawers, cart drawer, shared buttons and address cards (brand and header
 * redesign, 2026-11-17; see inc/cb-header.php and js/cb-header.js). Loaded after cb-ux.css. WoodMart prints its
 * css/parts after the child styles, so rules aimed at its elements start with `html body`.
 */

:root {
	--cb-hd-tap: 44px;
	--cb-hd-icon: 24px;
	--cb-hd-radius: 12px;
	--cb-btn-h: 48px;
	--cb-btn-radius: 10px;
	--cb-btn-pad: 22px;
	--cb-btn-weight: 650;
	--cb-ring: 0 0 0 3px rgba(66, 36, 58, 0.22);

	/* One stroke icon set (24 px grid, 1.75 stroke) for the header and drawers. */
	--cb-i-account: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.25' r='3.75'/%3E%3Cpath d='M4.75 19.75c1.1-3.35 3.95-5.25 7.25-5.25s6.15 1.9 7.25 5.25'/%3E%3C/svg%3E");
	--cb-i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19.5s-7.25-4.35-7.25-9.6A4.15 4.15 0 0 1 12 7.35a4.15 4.15 0 0 1 7.25 2.55c0 5.25-7.25 9.6-7.25 9.6z'/%3E%3C/svg%3E");
	--cb-i-basket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.75 10.25h16.5'/%3E%3Cpath d='M5.25 10.25l1.35 8.1a1.6 1.6 0 0 0 1.58 1.4h7.64a1.6 1.6 0 0 0 1.58-1.4l1.35-8.1'/%3E%3Cpath d='M7.75 10.25a4.25 4.25 0 0 1 8.25-1.45'/%3E%3Cpath d='M10 13.5v3M14 13.5v3'/%3E%3C/svg%3E");
	--cb-i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.75' cy='10.75' r='6'/%3E%3Cpath d='M15.25 15.25l4.5 4.5'/%3E%3C/svg%3E");
	--cb-i-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h11'/%3E%3C/svg%3E");
	--cb-i-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E");
	--cb-i-logout: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4.75H7.25a1.5 1.5 0 0 0-1.5 1.5v11.5a1.5 1.5 0 0 0 1.5 1.5H14'/%3E%3Cpath d='M10.5 12h9M16.5 8.5 20 12l-3.5 3.5'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ shared buttons */
/* Search, Continue shopping, Add address, View cart and Checkout: one shape, sentence case, 48 px tall. Other
   .cb-btn buttons share the same height, corner and weight through the base rule in cb-storefront.css. */
html body :is(.cb-btn--primary, .cb-btn--secondary, .cb-search-submit, .cart-widget-side .woocommerce-mini-cart__buttons .button, .cb-address-card__add, .woocommerce-address-fields .button[name="save_address"]) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--cb-btn-h);
	padding: 0 var(--cb-btn-pad);
	border: 1.5px solid var(--cb-aubergine);
	border-radius: var(--cb-btn-radius);
	background-color: var(--cb-aubergine);
	color: #FFFFFF;
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-ui);
	font-weight: var(--cb-btn-weight);
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color var(--cb-dur-fast) var(--cb-ease-out), border-color var(--cb-dur-fast) var(--cb-ease-out), color var(--cb-dur-fast) var(--cb-ease-out), transform var(--cb-dur-fast) var(--cb-ease-out), box-shadow var(--cb-dur-fast) var(--cb-ease-out);
}

html body :is(.cb-btn--primary, .cb-btn--secondary, .cb-search-submit, .cart-widget-side .woocommerce-mini-cart__buttons .button, .cb-address-card__add, .woocommerce-address-fields .button[name="save_address"]):hover {
	border-color: var(--cb-aubergine-dark);
	background-color: var(--cb-aubergine-dark);
	color: #FFFFFF;
}

html body :is(.cb-btn--primary, .cb-btn--secondary, .cb-search-submit, .cart-widget-side .woocommerce-mini-cart__buttons .button, .cb-address-card__add, .woocommerce-address-fields .button[name="save_address"]):focus-visible {
	outline: 2px solid var(--cb-aubergine);
	outline-offset: 3px;
	box-shadow: none;
}

html body :is(.cb-btn--primary, .cb-btn--secondary, .cb-search-submit, .cart-widget-side .woocommerce-mini-cart__buttons .button, .cb-address-card__add, .woocommerce-address-fields .button[name="save_address"]):active {
	transform: translateY(1px) scale(0.99);
}

html body :is(.cb-btn--primary, .cb-btn--secondary, .cb-search-submit, .cart-widget-side .woocommerce-mini-cart__buttons .button, .cb-address-card__add, .woocommerce-address-fields .button[name="save_address"]):is(:disabled, .disabled, [aria-disabled="true"]) {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* Secondary: View cart. */
html body .cart-widget-side .woocommerce-mini-cart__buttons .button:not(.checkout),
html body .cb-btn--secondary {
	border-color: var(--cb-aubergine);
	background-color: #FFFFFF;
	color: var(--cb-aubergine);
}

html body .cart-widget-side .woocommerce-mini-cart__buttons .button:not(.checkout):hover,
html body .cb-btn--secondary:hover {
	border-color: var(--cb-aubergine);
	background-color: var(--cb-aubergine-tint);
	color: var(--cb-aubergine);
}

/* Loading: label stays, a ring turns beside it. */
html body :is(.cb-btn--primary, .cb-btn--secondary, .cb-search-submit, .cart-widget-side .woocommerce-mini-cart__buttons .button, .woocommerce-address-fields .button):is(.loading, .is-loading, [aria-busy="true"])::after {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	margin: 0;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	opacity: 1;
	position: static;
	font-family: inherit;
	animation: cb-spin 700ms linear infinite;
}

@keyframes cb-spin {
	to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------------ desktop header row */
/* Brand left, search centred, Account / Wishlist / Cart right: equal side columns so the search sits on the axis. */
@media (min-width: 1025px) {
	html body .whb-general-header .whb-general-header-inner {
		gap: 24px;
	}

	html body .whb-general-header .whb-col-left,
	html body .whb-general-header .whb-col-right {
		flex: 1 1 0;
		min-width: 0;
	}

	html body .whb-general-header .whb-col-center {
		flex: 0 1 620px;
		min-width: 360px;
	}

	html body .whb-general-header .whb-col-right {
		justify-content: flex-end;
		gap: 4px;
	}

	html body .whb-general-header .whb-col-right .whb-space-element {
		display: none;
	}
}

html body .whb-header .cb-brand {
	display: flex;
	align-items: center;
	margin: 0;
	line-height: 0;
}

/* ------------------------------------------------------------------ search (desktop form) */
html body .whb-general-header .wd-header-search-form {
	--wd-search-form-width: 620px;
	width: 100%;
	max-width: 620px;
	padding-inline: 0;
}

html body :is(.whb-general-header .wd-header-search-form, .wd-page-content .wd-search-form) .searchform {
	--wd-form-height: 48px;
	display: flex;
	align-items: center;
	gap: 6px;
	height: 52px;
	padding: 2px 2px 2px 0;
	border: 1.5px solid var(--cb-line-strong);
	border-radius: 14px;
	background-color: #FFFFFF;
	transition: border-color var(--cb-dur-fast) var(--cb-ease-out), box-shadow var(--cb-dur-fast) var(--cb-ease-out);
}

html body :is(.whb-general-header .wd-header-search-form, .wd-page-content .wd-search-form) .searchform:hover {
	border-color: #B3A5A6;
}

html body :is(.whb-general-header .wd-header-search-form, .wd-page-content .wd-search-form) .searchform:focus-within {
	border-color: var(--cb-aubergine);
	box-shadow: var(--cb-ring);
}

/* Leading magnifier inside the field. */
html body :is(.whb-general-header .wd-header-search-form, .wd-page-content .wd-search-form) .searchform::before {
	content: "";
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-inline-start: 14px;
	background-color: var(--cb-muted);
	-webkit-mask: var(--cb-i-search) center / contain no-repeat;
	mask: var(--cb-i-search) center / contain no-repeat;
}

html body :is(.whb-general-header .wd-header-search-form, .wd-page-content .wd-search-form) .searchform input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	padding: 0 6px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--cb-ink);
	font-size: var(--cb-size-input);
	box-shadow: none;
	outline: none;
}

/* The whole form draws the focus ring (:focus-within), so the field's own ring (the site-wide !important
   :focus-visible outline in cb-storefront.css) is turned off inside it. */
html body :is(.whb-general-header .wd-header-search-form, .wd-search-full-screen, .wd-page-content .wd-search-form) .searchform input[type="text"]:is(:focus, :focus-visible) {
	border: 0;
	outline: none !important;
	box-shadow: none;
}

html body :is(.whb-general-header .wd-header-search-form, .wd-page-content .wd-search-form) .searchform input[type="text"]::placeholder {
	color: #6E6469;
}

/* Clear (×): a 36 px target between the field and the button, only while there is text. */
html body .wd-search-form .searchform .wd-clear-search,
html body .wd-search-full-screen .searchform .wd-clear-search {
	position: static;
	flex: 0 0 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--cb-muted);
	cursor: pointer;
	transform: none;
	inset: auto;
}

html body :is(.wd-search-form, .wd-search-full-screen) .searchform .wd-clear-search::after {
	content: none;
}

html body .wd-search-form .searchform .wd-clear-search.wd-hide,
html body .wd-search-full-screen .searchform .wd-clear-search.wd-hide {
	display: none;
}

html body :is(.wd-search-form, .wd-search-full-screen) .searchform .wd-clear-search::before {
	content: "";
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: var(--cb-i-close) center / contain no-repeat;
	mask: var(--cb-i-close) center / contain no-repeat;
	font-family: inherit;
}

html body :is(.wd-search-form, .wd-search-full-screen) .searchform .wd-clear-search:hover {
	background-color: var(--cb-rose-soft);
	color: var(--cb-ink);
}

html body :is(.wd-search-form, .wd-search-full-screen) .searchform .wd-clear-search:focus-visible {
	outline: 2px solid var(--cb-aubergine);
	outline-offset: 1px;
}

/* The Search button: a real, labelled submit button (WoodMart's is an icon over the field's end). */
html body :is(.whb-general-header .wd-header-search-form, .wd-search-full-screen, .wd-page-content .wd-search-form) .searchform .searchsubmit {
	position: static;
	inset: auto;
	flex: 0 0 auto;
	width: auto;
	min-width: 96px;
	height: 44px;
	min-height: 44px;
	padding: 0 20px;
	border: 1.5px solid var(--cb-aubergine);
	border-radius: 11px;
	background-color: var(--cb-aubergine);
	color: #FFFFFF;
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-ui);
	font-weight: var(--cb-btn-weight);
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
	opacity: 1;
	transition: background-color var(--cb-dur-fast) var(--cb-ease-out), transform var(--cb-dur-fast) var(--cb-ease-out);
}

html body :is(.whb-general-header .wd-header-search-form, .wd-search-full-screen, .wd-page-content .wd-search-form) .searchform .searchsubmit > span {
	position: static;
	display: inline;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	clip-path: none;
	font-size: inherit;
	opacity: 1;
	white-space: nowrap;
}

html body :is(.whb-general-header .wd-header-search-form, .wd-search-full-screen, .wd-page-content .wd-search-form) .searchform .searchsubmit::after,
html body :is(.whb-general-header .wd-header-search-form, .wd-search-full-screen, .wd-page-content .wd-search-form) .searchform .searchsubmit::before {
	content: none;
}

html body :is(.whb-general-header .wd-header-search-form, .wd-search-full-screen, .wd-page-content .wd-search-form) .searchform .searchsubmit:hover {
	border-color: var(--cb-aubergine-dark);
	background-color: var(--cb-aubergine-dark);
}

html body :is(.whb-general-header .wd-header-search-form, .wd-search-full-screen, .wd-page-content .wd-search-form) .searchform .searchsubmit:active {
	transform: translateY(1px) scale(0.99);
}

html body :is(.whb-general-header .wd-header-search-form, .wd-search-full-screen, .wd-page-content .wd-search-form) .searchform .searchsubmit:focus-visible {
	outline: 2px solid var(--cb-aubergine);
	outline-offset: 3px;
}

/* Loading: WoodMart adds .wd-search-loading to the form while a request is out. */
html body :is(.whb-general-header .wd-header-search-form, .wd-search-full-screen, .wd-page-content .wd-search-form) .searchform.wd-search-loading .searchsubmit::after {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-inline-start: 8px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	font-family: inherit;
	opacity: 1;
	animation: cb-spin 700ms linear infinite;
}

html body .searchform.wd-search-loading::before {
	opacity: 1;
}

/* Suggestions panel */
html body .whb-general-header .wd-header-search-form .wd-search-results {
	inset-inline: 0;
	margin-top: 8px;
	padding: 8px;
	border: 1px solid var(--cb-line);
	border-radius: 16px;
	background-color: #FFFFFF;
	box-shadow: 0 18px 44px rgba(36, 31, 35, 0.14);
	transition: opacity var(--cb-dur-panel) var(--cb-ease-out), transform var(--cb-dur-panel) var(--cb-ease-out), visibility var(--cb-dur-panel);
	transform: translateY(-4px);
}

html body .whb-general-header .wd-header-search-form .wd-search-results.wd-opened {
	transform: none;
}

/* One readable list (WoodMart lays suggestions out as a two-column grid). */
html body .wd-search-results .wd-suggestions-group {
	display: flex;
	flex-direction: column;
	gap: 2px;
	grid-template-columns: none;
}

html body .wd-search-results .wd-suggestions-group > .wd-suggestion {
	width: 100%;
	max-width: none;
	border: 0;
}

html body .wd-search-results .wd-entities-title strong {
	text-decoration: none;
}

html body :is(.wd-search-results, .wd-search-full-screen .wd-search-results) .wd-suggestion {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
	padding: 8px 10px;
	border: 0;
	border-radius: 10px;
	transition: background-color var(--cb-dur-fast) var(--cb-ease-out);
}

html body :is(.wd-search-results, .wd-search-full-screen .wd-search-results) .wd-suggestion:is(:hover, .wd-active) {
	background-color: var(--cb-rose-soft);
}

html body :is(.wd-search-results, .wd-search-full-screen .wd-search-results) .wd-suggestion.wd-active {
	box-shadow: inset 3px 0 0 var(--cb-aubergine);
}

html body .wd-search-results .wd-suggestion-thumb {
	flex: 0 0 48px;
	width: 48px;
	max-width: 48px;
	margin: 0;
}

html body .wd-search-results .wd-suggestion-thumb img {
	width: 48px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
}

html body .wd-search-results .wd-entities-title {
	color: var(--cb-ink);
	font-size: var(--cb-size-ui);
	font-weight: var(--cb-weight-medium);
	line-height: var(--cb-leading-snug);
}

html body .wd-search-results .wd-entities-title strong {
	font-weight: var(--cb-weight-bold);
	color: var(--cb-aubergine);
}

html body .wd-search-results .price {
	margin-top: 2px;
	font-size: var(--cb-size-small);
	font-weight: var(--cb-weight-price);
}

html body .wd-search-results .wd-not-found {
	min-height: 0;
	padding: 18px 12px;
}

html body .wd-search-results .wd-not-found-msg {
	color: var(--cb-ink);
	font-size: var(--cb-size-ui);
	font-weight: var(--cb-weight-medium);
}

html body .wd-search-results .wd-not-found-msg::after {
	content: "Try a shorter word, such as kurti or saree.";
	display: block;
	margin-top: 4px;
	color: var(--cb-muted);
	font-size: var(--cb-size-small);
	font-weight: var(--cb-weight-regular);
}

/* Full results link at the end of the list. */
html body .wd-search-results .wd-all-results {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin: 6px 2px 2px;
	border: 1.5px solid var(--cb-aubergine);
	border-radius: var(--cb-btn-radius);
	background: #FFFFFF;
	color: var(--cb-aubergine);
	font-size: var(--cb-size-ui);
	font-weight: var(--cb-btn-weight);
	text-transform: none;
	letter-spacing: 0;
}

html body .wd-search-results .wd-all-results:hover {
	background-color: var(--cb-aubergine-tint);
}

html body .wd-search-results .wd-all-results:focus-visible {
	outline: 2px solid var(--cb-aubergine);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------ header icons: Account, Wishlist, Cart (+ mobile) */
html body .whb-header :is(.wd-header-my-account, .wd-header-wishlist, .wd-header-cart, .wd-header-search-mobile, .wd-header-mobile-nav) {
	--wd-tools-icon-base-width: var(--cb-hd-tap);
	margin: 0;
}

html body .whb-header :is(.wd-header-my-account, .wd-header-wishlist, .wd-header-cart, .wd-header-search-mobile, .wd-header-mobile-nav) > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--cb-hd-tap);
	min-width: var(--cb-hd-tap);
	height: var(--cb-hd-tap);
	min-height: var(--cb-hd-tap);
	padding: 0;
	border-radius: var(--cb-hd-radius);
	color: var(--cb-ink);
	transition: background-color var(--cb-dur-fast) var(--cb-ease-out), color var(--cb-dur-fast) var(--cb-ease-out);
}

html body .whb-header :is(.wd-header-my-account, .wd-header-wishlist, .wd-header-cart, .wd-header-search-mobile, .wd-header-mobile-nav) > a:hover,
html body .whb-header .wd-header-my-account.cb-open > a {
	background-color: var(--cb-rose-soft);
	color: var(--cb-aubergine);
}

html body .whb-header :is(.wd-header-my-account, .wd-header-wishlist, .wd-header-cart, .wd-header-search-mobile, .wd-header-mobile-nav) > a:active {
	background-color: var(--cb-rose);
}

html body .whb-header :is(.wd-header-my-account, .wd-header-wishlist, .wd-header-cart, .wd-header-search-mobile, .wd-header-mobile-nav) > a:focus-visible {
	outline: 2px solid var(--cb-aubergine);
	outline-offset: 2px;
}

/* WoodMart's design 6 draws a ring round the wishlist and cart icons; one plain style for all three. */
html body .whb-header :is(.wd-header-my-account, .wd-header-wishlist, .wd-header-cart, .wd-header-search-mobile, .wd-header-mobile-nav) .wd-tools-icon {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--cb-hd-icon);
	height: var(--cb-hd-icon);
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

html body .whb-header :is(.wd-header-my-account, .wd-header-wishlist, .wd-header-cart, .wd-header-search-mobile, .wd-header-mobile-nav) .wd-tools-icon::before {
	content: "";
	display: block;
	width: var(--cb-hd-icon);
	height: var(--cb-hd-icon);
	background-color: currentColor;
	font-family: inherit;
	-webkit-mask: var(--cb-i-account) center / contain no-repeat;
	mask: var(--cb-i-account) center / contain no-repeat;
}

html body .whb-header .wd-header-wishlist .wd-tools-icon::before {
	-webkit-mask-image: var(--cb-i-heart);
	mask-image: var(--cb-i-heart);
}

html body .whb-header .wd-header-cart .wd-tools-icon::before {
	-webkit-mask-image: var(--cb-i-basket);
	mask-image: var(--cb-i-basket);
}

html body .whb-header .wd-header-search-mobile .wd-tools-icon::before {
	-webkit-mask-image: var(--cb-i-search);
	mask-image: var(--cb-i-search);
}

html body .whb-header .wd-header-mobile-nav .wd-tools-icon::before {
	-webkit-mask-image: var(--cb-i-menu);
	mask-image: var(--cb-i-menu);
}

html body .whb-header :is(.wd-header-my-account, .wd-header-wishlist, .wd-header-cart, .wd-header-search-mobile, .wd-header-mobile-nav) .wd-tools-icon::after {
	content: none;
}

/* While the full-width search is open the search icon becomes its close control (WoodMart's html.wd-search-opened). */
html.wd-search-opened body .whb-header .wd-header-search-mobile .wd-tools-icon::before {
	opacity: 1;
	-webkit-mask-image: var(--cb-i-close);
	mask-image: var(--cb-i-close);
}

/* Badges: same size and corner for both counts, centred on the icon's top-right, hidden at zero. */
html body .whb-header :is(.wd-header-wishlist, .wd-header-cart) .wd-tools-count {
	position: absolute;
	top: 3px;
	inset-inline-end: 2px;
	left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 20px;
	width: auto;
	height: 20px;
	margin: 0;
	padding: 0 5px;
	border: 2px solid #FFFFFF;
	border-radius: 999px;
	background-color: var(--cb-aubergine);
	color: #FFFFFF;
	font-family: var(--cb-font-body);
	font-size: 11px;
	font-weight: var(--cb-weight-bold);
	line-height: 1;
	font-variant-numeric: tabular-nums;
	transform: none;
	pointer-events: none;
}

html body .whb-header .wd-header-cart .wd-tools-count > span {
	display: none;
}

html body .whb-header .wd-tools-count.cb-count-zero,
html body.cb-wishlist-zero .whb-header .wd-header-wishlist .wd-tools-count:not(.cb-count-on) {
	display: none;
}

/* ------------------------------------------------------------------ account menu (signed in) */
html body .whb-header .wd-header-my-account {
	position: relative;
}

/* Opened by click, tap or keyboard (js/cb-header.js removes WoodMart's hover trigger once it runs). */
html body .whb-header .wd-header-my-account .cb-account-menu {
	inset-inline-start: auto;
	inset-inline-end: 0;
	left: auto;
	right: 0;
	width: 280px;
	margin-top: 8px;
	padding: 8px;
	border: 1px solid var(--cb-line);
	border-radius: 16px;
	background-color: #FFFFFF;
	box-shadow: 0 18px 44px rgba(36, 31, 35, 0.16);
	transform: translateY(-6px);
	transition: opacity var(--cb-dur-panel) var(--cb-ease-out), transform var(--cb-dur-panel) var(--cb-ease-out), visibility var(--cb-dur-panel);
}

html body .whb-header .wd-header-my-account .cb-account-menu::before,
html body .whb-header .wd-header-my-account .cb-account-menu::after {
	display: none;
}

/* Visible at once when opened (it still fades), so keyboard focus can move straight into it. */
html body .whb-header .wd-header-my-account.cb-open > .cb-account-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	transition: opacity var(--cb-dur-panel) var(--cb-ease-out), transform var(--cb-dur-panel) var(--cb-ease-out), visibility 0s;
	transition-duration: var(--cb-dur-panel), var(--cb-dur-panel), 0s !important; /* cb-design.css sets one !important duration on every dropdown */
}

.cb-account-menu__who {
	margin: 0 0 6px;
	padding: 10px 12px 12px;
	border-bottom: 1px solid var(--cb-line);
	color: var(--cb-muted);
	font-size: var(--cb-size-small);
	line-height: var(--cb-leading-snug);
}

.cb-account-menu__who strong {
	display: block;
	overflow: hidden;
	color: var(--cb-ink);
	font-size: var(--cb-size-ui);
	font-weight: var(--cb-weight-semibold);
	text-overflow: ellipsis;
	white-space: nowrap;
}

html body .cb-account-menu .cb-account-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

html body .cb-account-menu .cb-account-menu__list > li > a,
html body .cb-account-menu .cb-account-menu__logout {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 10px;
	color: var(--cb-ink);
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-ui);
	font-weight: var(--cb-weight-medium);
	line-height: 1.25;
	text-decoration: none;
	transition: background-color var(--cb-dur-fast) var(--cb-ease-out);
}

html body .cb-account-menu .cb-account-menu__list > li > a:hover,
html body .cb-account-menu .cb-account-menu__logout:hover {
	background-color: var(--cb-rose-soft);
	color: var(--cb-ink);
}

html body .cb-account-menu .cb-account-menu__list > li > a:focus-visible,
html body .cb-account-menu .cb-account-menu__logout:focus-visible {
	outline: 2px solid var(--cb-aubergine);
	outline-offset: -2px;
	background-color: var(--cb-rose-soft);
}

html body .cb-account-menu .cb-account-menu__list > li.is-current > a {
	background-color: var(--cb-aubergine-tint);
	color: var(--cb-aubergine);
	font-weight: var(--cb-weight-semibold);
	box-shadow: inset 3px 0 0 var(--cb-aubergine);
}

.cb-account-menu__foot {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--cb-line);
}

html body .cb-account-menu .cb-account-menu__logout {
	color: var(--cb-aubergine);
}

html body .cb-account-menu .cb-account-menu__logout::before {
	content: "";
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask: var(--cb-i-logout) center / contain no-repeat;
	mask: var(--cb-i-logout) center / contain no-repeat;
}

/* ------------------------------------------------------------------ category row */
html body .whb-header-bottom .wd-nav-header > li > a {
	font-size: var(--cb-size-ui);
	font-weight: var(--cb-weight-medium);
	letter-spacing: 0;
}

/* ------------------------------------------------------------------ compact (mobile and tablet) header */
@media (max-width: 1024.98px) {
	html body .whb-general-header .whb-mobile-left,
	html body .whb-general-header .whb-mobile-right {
		flex: 1 1 0;
		min-width: 0;
	}

	html body .whb-general-header .whb-mobile-center {
		flex: 0 0 auto;
	}

	html body .whb-general-header .whb-mobile-right {
		justify-content: flex-end;
		gap: 2px;
	}
}

@media (max-width: 389.98px) {
	html body .whb-general-header .container {
		padding-inline: 10px;
	}

	html body .cb-logo--mobile {
		--cb-logo-mark: 25px;
		--cb-logo-word: 14.5px;
		--cb-logo-gap: 5px;
	}

	html body .whb-header :is(.wd-header-search-mobile, .wd-header-cart, .wd-header-mobile-nav) > a {
		width: 42px;
		min-width: 42px;
	}
}

/* Full-width search panel (phones and tablets). */
html body .wd-search-full-screen {
	padding: max(16px, env(safe-area-inset-top)) 16px 24px;
}

html body .wd-search-full-screen .searchform {
	display: flex;
	align-items: center;
	gap: 6px;
	max-width: 760px;
	margin: 0 auto;
	padding: 2px 2px 2px 0;
	border: 1.5px solid var(--cb-aubergine);
	border-radius: 14px;
	background-color: #FFFFFF;
	box-shadow: var(--cb-ring);
}

html body .wd-search-full-screen .searchform::before {
	content: "";
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-inline-start: 12px;
	background-color: var(--cb-muted);
	-webkit-mask: var(--cb-i-search) center / contain no-repeat;
	mask: var(--cb-i-search) center / contain no-repeat;
}

html body .wd-search-full-screen .searchform input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	padding: 0 4px;
	border: 0;
	background: transparent;
	color: var(--cb-ink);
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-input);
	font-weight: var(--cb-weight-regular);
	text-align: start;
	box-shadow: none;
	outline: none;
}

html body .wd-search-full-screen .searchform .searchsubmit {
	min-width: 0;
	padding: 0 16px;
}

html body .wd-search-full-screen .wd-close-search {
	top: max(8px, env(safe-area-inset-top));
	inset-inline-end: 8px;
}

html body .wd-search-full-screen .wd-close-search > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
}

html body .wd-search-full-screen .wd-close-search > a:focus-visible {
	outline: 2px solid var(--cb-aubergine);
	outline-offset: 2px;
}

html body .wd-search-full-screen .wd-search-info-text {
	max-width: 760px;
	margin: 14px auto 0;
	padding: 0 4px;
	color: var(--cb-muted);
	font-size: var(--cb-size-small);
	text-align: start;
}

html body .wd-search-full-screen .wd-search-results {
	max-width: 760px;
	margin: 12px auto 0;
}

html body .wd-search-full-screen .wd-search-loader {
	display: none;
}

html body .wd-search-full-screen .cb-drawer-title--search {
	padding-inline: 4px;
	padding-inline-end: 56px;
}

/* Results inside the full-screen panel: a list, not WoodMart's grid of cards. */
html body .wd-search-full-screen .wd-search-results .wd-suggestions-group {
	display: block;
}

html body .wd-search-full-screen .wd-search-results .wd-suggestion {
	width: 100%;
	max-width: none;
	flex-direction: row;
	text-align: start;
	border-bottom: 1px solid var(--cb-line);
	border-radius: 0;
}

html body .wd-search-full-screen .wd-search-results .wd-suggestion-thumb {
	flex: 0 0 48px;
	width: 48px;
	max-width: 48px;
	margin: 0;
}

html body .wd-search-full-screen .wd-search-results .wd-suggestion-thumb img {
	width: 48px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
}

/* ------------------------------------------------------------------ mobile menu drawer */
html body .mobile-nav .wd-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 68px;
	padding: 10px 12px 10px 18px;
}

html body .mobile-nav .wd-heading .cb-logo {
	margin-inline-end: auto;
}

html body .mobile-nav .wd-heading .cb-drawer-title {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Account and Wishlist side by side at the top of the drawer. */
html body .mobile-nav .wd-nav-mobile {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

html body .mobile-nav .wd-nav-mobile > li {
	flex: 1 1 100%;
}

html body .mobile-nav .wd-nav-mobile > li:is(.menu-item-account, .menu-item-wishlist, .cb-drawer-account, .cb-drawer-wishlist) {
	order: -1;
	flex: 1 1 50%;
	min-width: 0;
	border-bottom: 1px solid var(--cb-line);
	background-color: var(--cb-rose-soft);
}

html body .mobile-nav .wd-nav-mobile > li:is(.menu-item-account, .cb-drawer-account) {
	order: -2;
	border-inline-end: 1px solid var(--cb-line);
}

html body .mobile-nav .wd-nav-mobile > li:is(.menu-item-account, .menu-item-wishlist, .cb-drawer-account, .cb-drawer-wishlist) > a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding-inline: 18px 12px;
	font-size: var(--cb-size-ui);
	font-weight: var(--cb-weight-semibold);
}

html body .mobile-nav .wd-nav-mobile > li:is(.menu-item-account, .menu-item-wishlist, .cb-drawer-account, .cb-drawer-wishlist) > a::before {
	content: "";
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	background-color: var(--cb-aubergine);
	-webkit-mask: var(--cb-i-account) center / contain no-repeat;
	mask: var(--cb-i-account) center / contain no-repeat;
	font-family: inherit;
}

html body .mobile-nav .wd-nav-mobile > li:is(.menu-item-wishlist, .cb-drawer-wishlist) > a::before {
	-webkit-mask-image: var(--cb-i-heart);
	mask-image: var(--cb-i-heart);
}

html body .mobile-nav .wd-nav-mobile > li:is(.menu-item-account, .menu-item-wishlist, .cb-drawer-account, .cb-drawer-wishlist) > .wd-nav-opener {
	display: none;
}

html body .mobile-nav .wd-nav-mobile > li.menu-item-wishlist .wd-tools-count,
html body .mobile-nav .wd-nav-mobile > li.menu-item-wishlist .count {
	margin-inline-start: auto;
	color: var(--cb-muted);
	font-size: var(--cb-size-micro);
}

/* Close buttons in the drawers: same 44 px control with a labelled cross. */
html body .wd-side-hidden .close-side-widget a {
	gap: 6px;
	min-height: 44px;
	padding: 0 14px 0 10px;
	border-radius: 999px;
	font-size: var(--cb-size-small);
	font-weight: var(--cb-weight-semibold);
}

html body .wd-side-hidden .close-side-widget a:focus-visible {
	outline: 2px solid var(--cb-aubergine);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------ cart drawer */
html body .cart-widget-side {
	display: flex;
	flex-direction: column;
	width: min(420px, 100vw);
	max-width: 100%;
}

html body .cart-widget-side .wd-heading {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 68px;
	padding: 10px 12px 10px 20px;
}

html body .cart-widget-side .wd-heading .title {
	margin: 0;
	font-family: var(--cb-font-body);
	font-size: 20px;
	font-weight: var(--cb-weight-heading);
	letter-spacing: -0.01em;
}

html body .cart-widget-side .widget_shopping_cart {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
}

html body .cart-widget-side .widget_shopping_cart_content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	height: auto;
}

html body .cart-widget-side .shopping-cart-widget-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* The footer always stays in view: subtotal, free-delivery bar, View cart and Checkout. */
html body .cart-widget-side .shopping-cart-widget-footer {
	flex: 0 0 auto;
	padding: 14px 20px max(16px, env(safe-area-inset-bottom));
	border-top: 1px solid var(--cb-line);
	background-color: #FFFFFF;
	box-shadow: 0 -10px 24px rgba(36, 31, 35, 0.06);
}

html body .cart-widget-side .shopping-cart-widget-footer.wd-cart-empty {
	display: none;
}

html body .cart-widget-side .woocommerce-mini-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	background: none;
	font-size: var(--cb-size-body);
}

html body .cart-widget-side .woocommerce-mini-cart__total strong {
	font-weight: var(--cb-weight-semibold);
}

html body .cart-widget-side .woocommerce-mini-cart__total .amount {
	font-size: 18px;
	font-weight: var(--cb-weight-bold);
}

html body .cart-widget-side .wd-free-progress-bar {
	margin: 0 0 12px;
	padding: 0;
	background: none;
}

html body .cart-widget-side .woocommerce-mini-cart__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0;
	padding: 0;
	background: none;
}

html body .cart-widget-side .woocommerce-mini-cart__buttons .button {
	width: 100%;
	margin: 0;
}

/* Lines: image | name, size, quantity and price | remove. */
html body .cart-widget-side .cb-mini-list {
	margin: 0;
	padding: 6px 20px;
}

html body .cart-widget-side .cb-mini-item {
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 0 14px;
	align-items: start;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--cb-line);
	transition: opacity var(--cb-dur-panel) var(--cb-ease-out);
}

html body .cart-widget-side .cb-mini-item:last-child {
	border-bottom: 0;
}

html body .cart-widget-side .cb-mini-item__image {
	position: static;
	display: block;
	width: 72px;
	margin: 0;
	border-radius: 10px;
	overflow: hidden;
	background-color: var(--cb-rose-soft);
}

html body .cart-widget-side .cb-mini-item__image img {
	display: block;
	max-width: none;
	width: 72px;
	height: 90px;
	margin: 0;
	object-fit: cover;
}

html body .cart-widget-side .cb-mini-item__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding: 0;
}

html body .cart-widget-side .cb-mini-item__name {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	padding: 0 34px 0 0;
	color: var(--cb-ink);
	font-size: var(--cb-size-ui);
	font-weight: var(--cb-weight-medium);
	line-height: var(--cb-leading-snug);
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

html body .cart-widget-side a.cb-mini-item__name:hover {
	color: var(--cb-aubergine);
	text-decoration: underline;
	text-underline-offset: 3px;
}

html body .cart-widget-side .cb-mini-item__details {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 12px;
	margin: 0;
	color: var(--cb-muted);
	font-size: var(--cb-size-small);
	line-height: var(--cb-leading-snug);
}

html body .cart-widget-side .cb-mini-item__details strong {
	color: var(--cb-ink);
	font-weight: var(--cb-weight-semibold);
}

html body .cart-widget-side .cb-mini-item__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 10px;
	margin-top: 6px;
}

html body .cart-widget-side .cb-mini-item .quantity {
	display: inline-flex;
	align-items: center;
	margin: 0;
	border: 1px solid var(--cb-line-strong);
	border-radius: 10px;
	background-color: #FFFFFF;
	overflow: hidden;
}

html body .cart-widget-side .cb-mini-item .quantity :is(.minus, .plus) {
	width: 36px;
	min-width: 36px;
	height: 36px;
	min-height: 36px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--cb-ink);
	font-size: 18px;
	line-height: 1;
}

html body .cart-widget-side .cb-mini-item .quantity :is(.minus, .plus):hover {
	background-color: var(--cb-rose-soft);
}

html body .cart-widget-side .cb-mini-item .quantity :is(.minus, .plus):focus-visible {
	outline: 2px solid var(--cb-aubergine);
	outline-offset: -2px;
}

html body .cart-widget-side .cb-mini-item .quantity .qty {
	width: 36px;
	min-width: 36px;
	height: 36px;
	min-height: 36px;
	padding: 0;
	border: 0;
	border-inline: 1px solid var(--cb-line);
	border-radius: 0;
	color: var(--cb-ink);
	font-size: var(--cb-size-ui);
	font-weight: var(--cb-weight-semibold);
	text-align: center;
}

html body .cart-widget-side .cb-mini-item__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	color: var(--cb-ink);
	font-size: var(--cb-size-ui);
	font-weight: var(--cb-weight-price);
	line-height: 1.2;
	text-align: end;
	white-space: nowrap;
}

html body .cart-widget-side .cb-mini-item__each {
	color: var(--cb-muted);
	font-size: var(--cb-size-micro);
	font-weight: var(--cb-weight-regular);
}

html body .cart-widget-side .cb-mini-item .cb-mini-item__remove {
	position: absolute;
	top: 8px;
	right: -8px;
	left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	border-radius: 50%;
	background: none;
	color: var(--cb-muted);
	font-size: 22px;
	line-height: 1;
	text-decoration: none;
}

html body .cart-widget-side .cb-mini-item .cb-mini-item__remove > span {
	display: none;
}

html body .cart-widget-side .cb-mini-item .cb-mini-item__remove::before {
	content: "";
	width: 16px;
	height: 16px;
	background-color: currentColor;
	font-family: inherit;
	-webkit-mask: var(--cb-i-close) center / contain no-repeat;
	mask: var(--cb-i-close) center / contain no-repeat;
}

html body .cart-widget-side .cb-mini-item .cb-mini-item__remove::after {
	content: none;
}

html body .cart-widget-side .cb-mini-item .cb-mini-item__remove:hover {
	background-color: var(--cb-rose-soft);
	color: var(--cb-danger);
}

html body .cart-widget-side .cb-mini-item .cb-mini-item__remove:focus-visible {
	outline: 2px solid var(--cb-aubergine);
	outline-offset: 0;
}

/* Loading: a line being updated or removed dims and shows a ring; WoodMart adds these classes. */
html body .cart-widget-side .cb-mini-item:is(.wd-loading, .removing-process) {
	opacity: 0.5;
	pointer-events: none;
}

html body .cart-widget-side .cb-mini-item:is(.wd-loading, .removing-process)::after {
	content: "";
	position: absolute;
	top: calc(50% - 11px);
	left: calc(50% - 11px);
	width: 22px;
	height: 22px;
	border: 2px solid var(--cb-aubergine);
	border-right-color: transparent;
	border-radius: 50%;
	animation: cb-spin 700ms linear infinite;
}

html body .cart-widget-side .widget_shopping_cart_content.cb-busy {
	opacity: 0.6;
	transition: opacity var(--cb-dur-fast) var(--cb-ease-out);
}

/* Status and error messages above the list (js/cb-header.js). */
.cb-mini-status {
	margin: 0;
	padding: 0 20px;
}

.cb-mini-status:empty {
	display: none;
}

.cb-mini-status.is-error {
	margin: 12px 20px 0;
	padding: 10px 12px;
	border-left: 3px solid var(--cb-error-line, #A3262F);
	border-radius: 8px;
	background-color: var(--cb-error-bg, #FBEDEE);
	color: var(--cb-error-ink, #7A1A22);
	font-size: var(--cb-size-small);
	font-weight: var(--cb-weight-medium);
}

/* Empty state */
html body .cart-widget-side .cb-mini-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 100%;
	padding: 40px 28px 48px;
	text-align: center;
}

html body .cart-widget-side .cb-mini-empty::before {
	content: none;
}

.cb-empty-basket {
	display: block;
	width: 132px;
	height: auto;
	margin-bottom: 6px;
	overflow: visible;
}

html body .cart-widget-side .cb-mini-empty .cb-mini-empty__title {
	margin: 0;
	color: var(--cb-ink);
	font-family: var(--cb-font-body);
	font-size: 22px;
	font-weight: var(--cb-weight-heading);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

html body .cart-widget-side .cb-mini-empty .cb-mini-empty__title::before {
	content: none;
}

.cb-mini-empty__text {
	max-width: 26em;
	margin: 0 0 8px;
	color: var(--cb-muted);
	font-size: var(--cb-size-ui);
	line-height: var(--cb-leading-compact);
}

html body .cart-widget-side .cb-mini-empty .cb-mini-empty__cta {
	min-width: 220px;
}

/* The empty basket plays once when it comes into view: it drops in, the handle swings, the accent and sparks pop. */
.cb-empty-basket__drop {
	transform-origin: 60px 100px;
}

.cb-empty-basket__handle {
	transform-origin: 7.6px 14px;
}

.cb-empty-basket__accent {
	transform-origin: 22.8px 8.66px;
}

.cb-empty-basket__sparks circle {
	transform-box: fill-box;
	transform-origin: center;
}

.cb-empty-basket__shadow {
	transform-origin: 60px 100px;
}

html body .cart-widget-side.wd-opened .cb-empty-basket__drop {
	animation: cb-empty-drop 720ms var(--cb-ease-emph) 120ms both;
}

html body .cart-widget-side.wd-opened .cb-empty-basket__shadow {
	animation: cb-empty-shadow 720ms var(--cb-ease-emph) 120ms both;
}

html body .cart-widget-side.wd-opened .cb-empty-basket__handle {
	animation: cb-empty-handle 900ms var(--cb-ease-out) 520ms both;
}

html body .cart-widget-side.wd-opened .cb-empty-basket__accent {
	animation: cb-empty-pop 520ms var(--cb-ease-emph) 900ms both;
}

html body .cart-widget-side.wd-opened .cb-empty-basket__sparks circle {
	animation: cb-empty-spark 600ms var(--cb-ease-emph) both;
}

html body .cart-widget-side.wd-opened .cb-empty-basket__sparks circle:nth-child(1) { animation-delay: 760ms; }
html body .cart-widget-side.wd-opened .cb-empty-basket__sparks circle:nth-child(2) { animation-delay: 860ms; }
html body .cart-widget-side.wd-opened .cb-empty-basket__sparks circle:nth-child(3) { animation-delay: 960ms; }

@keyframes cb-empty-drop {
	0% { opacity: 0; transform: translateY(-18px) rotate(-5deg); }
	60% { opacity: 1; transform: translateY(2px) rotate(2deg); }
	100% { opacity: 1; transform: none; }
}

@keyframes cb-empty-shadow {
	0% { opacity: 0; transform: scaleX(0.5); }
	100% { opacity: 1; transform: none; }
}

@keyframes cb-empty-handle {
	0% { transform: none; }
	35% { transform: translateY(-1.6px) rotate(-8deg); }
	70% { transform: rotate(2deg); }
	100% { transform: none; }
}

@keyframes cb-empty-pop {
	0% { transform: scale(0.4); }
	60% { transform: scale(1.25); }
	100% { transform: none; }
}

@keyframes cb-empty-spark {
	0% { opacity: 0; transform: scale(0); }
	70% { opacity: 1; transform: scale(1.3); }
	100% { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ empty cart page */
/* The Cart page's empty state uses the brand basket (static) instead of WoodMart's crossed-out trolley. */
html body .wd-empty-block-title.wc-empty-cart-message::before {
	content: "";
	display: block;
	width: 96px;
	height: 96px;
	margin: 0 auto 18px;
	background: url("../img/brand/cb-mark.svg") center / contain no-repeat;
	font-size: 0;
}

/* ------------------------------------------------------------------ addresses (My Account) */
.cb-addresses__head {
	margin-bottom: 20px;
}

html body .woocommerce-MyAccount-content .cb-addresses__title {
	margin: 0 0 6px;
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-subsection);
	font-weight: var(--cb-weight-heading);
	line-height: var(--cb-leading-heading);
	letter-spacing: -0.01em;
}

.cb-addresses__intro {
	max-width: var(--cb-measure);
	margin: 0;
	color: var(--cb-muted);
	font-size: var(--cb-size-ui);
	line-height: var(--cb-leading-compact);
}

html body .cb-address-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin: 0;
}

html body .cb-address-grid::before,
html body .cb-address-grid::after {
	content: none;
}

@media (min-width: 769px) {
	html body .cb-address-grid--two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

html body .cb-address-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 22px 22px 24px;
	border: 1px solid var(--cb-line);
	border-radius: 16px;
	background-color: #FFFFFF;
	float: none;
}

html body .cb-address-card.is-empty {
	border-style: dashed;
	border-color: var(--cb-line-strong);
	background-color: var(--cb-ivory);
}

html body .cb-address-card .cb-address-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 0;
	border: 0;
}

html body .cb-address-card .cb-address-card__head h3 {
	margin: 0;
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-card-heading);
	font-weight: var(--cb-weight-semibold);
	line-height: var(--cb-leading-snug);
	letter-spacing: 0;
	text-transform: none;
}

html body .cb-address-card .cb-address-card__edit {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1.5px solid var(--cb-aubergine);
	border-radius: var(--cb-btn-radius);
	color: var(--cb-aubergine);
	font-size: var(--cb-size-small);
	font-weight: var(--cb-btn-weight);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--cb-dur-fast) var(--cb-ease-out);
}

html body .cb-address-card .cb-address-card__edit::before {
	content: none;
}

html body .cb-address-card .cb-address-card__edit:hover {
	background-color: var(--cb-aubergine-tint);
}

html body .cb-address-card .cb-address-card__edit:focus-visible {
	outline: 2px solid var(--cb-aubergine);
	outline-offset: 2px;
}

html body .cb-address-card .cb-address-card__lines {
	margin: 0;
	color: var(--cb-ink);
	font-size: var(--cb-size-body);
	font-style: normal;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.cb-address-card__empty {
	margin: 0;
	color: var(--cb-muted);
	font-size: var(--cb-size-ui);
	line-height: var(--cb-leading-compact);
}

html body .cb-address-card .cb-address-card__add {
	align-self: flex-start;
	margin-top: 4px;
}

/* Edit address form: one column on phones, two on wider screens, clear save button. */
html body .woocommerce-MyAccount-content form > h2,
html body .woocommerce-MyAccount-content form > h3 {
	margin-bottom: 18px;
}

html body .woocommerce-address-fields .button[name="save_address"] {
	margin-top: 8px;
	min-width: 200px;
}

/* ------------------------------------------------------------------ footer link states */
html body footer.wd-footer .cb-footer :is(.cb-footer__links a, .cb-footer__contact a):visited {
	color: inherit;
}

html body footer.wd-footer .cb-footer .cb-footer__links a:focus-visible,
html body footer.wd-footer .cb-footer .cb-footer__contact a:focus-visible {
	outline: 2px solid var(--cb-on-dark-accent, #F5D4E3);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
	.cb-empty-basket *,
	html body .whb-general-header .wd-header-search-form .wd-search-results,
	html body .whb-header .wd-header-my-account .cb-account-menu,
	html body .cart-widget-side .cb-mini-item {
		animation: none !important;
		transition: none !important;
	}

	html body .whb-header .wd-header-my-account .cb-account-menu,
	html body .whb-general-header .wd-header-search-form .wd-search-results {
		transform: none;
	}

	html body :is(.cb-btn--primary, .cb-btn--secondary, .cb-search-submit, .searchsubmit, .cart-widget-side .button):is(.loading, .is-loading, [aria-busy="true"])::after,
	html body .searchform.wd-search-loading .searchsubmit::after,
	html body .cart-widget-side .cb-mini-item:is(.wd-loading, .removing-process)::after {
		animation-duration: 1.6s !important;
	}
}
