/**
 * Cartbasket storefront (see inc/cb-storefront.php). Tokens in cb-brand.css.
 * Spacing scale: 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 px. Controls are at least 44 px tall; focus is a 2 px aubergine ring.
 */

/* ------------------------------------------------------------------ WoodMart variables → Cartbasket tokens */
html:root {
	--wd-primary-color: var(--cb-aubergine);
	--wd-alternative-color: var(--cb-ink);
	--wd-text-color: var(--cb-ink);
	--wd-title-color: var(--cb-ink);
	--wd-entities-title-color: var(--cb-ink);
	--wd-entities-title-color-hover: var(--cb-aubergine);
	--wd-widget-title-color: var(--cb-ink);
	--wd-link-color: var(--cb-ink);
	--wd-link-color-hover: var(--cb-aubergine);
	--wd-main-bgcolor: var(--cb-ivory);
	--wd-form-brd-radius: 8px;
	--wd-form-brd-width: 1px;
	--wd-form-brd-color: var(--cb-line-strong);
	--wd-form-brd-color-focus: var(--cb-aubergine);
	--wd-form-bg: var(--cb-white);
	--wd-form-height: 46px;
	--wd-brd-radius: 10px;
	--btn-accented-bgcolor: var(--cb-aubergine);
	--btn-accented-bgcolor-hover: var(--cb-aubergine-dark);
	--btn-accented-color: #FFFFFF;
	--btn-accented-color-hover: #FFFFFF;
	--btn-accented-brd-radius: 8px;
	--btn-accented-box-shadow: none;
	--btn-accented-box-shadow-hover: none;
	--btn-accented-bottom-active: 0;
	--btn-default-bgcolor: var(--cb-white);
	--btn-default-bgcolor-hover: var(--cb-rose-soft);
	--btn-default-color: var(--cb-ink);
	--btn-default-color-hover: var(--cb-ink);
	--btn-default-brd-radius: 8px;
	--wd-otl-color: var(--cb-focus);
	--wd-otl-width: 2px;
	--wd-otl-style: solid;
	--wd-otl-offset: 2px;
}

/* ------------------------------------------------------------------ base */
body,
.website-wrapper,
.wd-page-content,
.main-page-wrapper {
	background-color: var(--cb-ivory);
}

body {
	font-family: var(--cb-font-body);
	color: var(--cb-ink);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, .title, .wd-page-title .title, .product_title, .wd-el-title {
	font-family: var(--cb-font-head);
	color: var(--cb-ink);
	letter-spacing: -0.005em;
}

h4, h5, h6 {
	font-family: var(--cb-font-body);
	font-weight: 600;
}

a {
	color: var(--cb-ink);
}

a:hover {
	color: var(--cb-aubergine);
}

:focus-visible {
	outline: 2px solid var(--cb-focus) !important;
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.price,
.amount {
	font-family: var(--cb-font-body);
	color: var(--cb-ink);
	font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ buttons */
.cb-btn,
.btn.btn-color-primary,
.button.alt,
.single_add_to_cart_button,
.checkout-button,
#place_order,
.wd-add-btn > .button,
.wd-add-btn > a,
.woocommerce-form-login__submit,
.woocommerce-form-track-order button,
button[type="submit"].button,
.wd-buy-now-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--cb-btn-h, 48px);
	padding: 10px 22px;
	border: 1px solid var(--cb-aubergine);
	border-radius: var(--cb-btn-radius, 10px);
	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, 650);
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: none;
	box-shadow: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cb-btn:hover,
.btn.btn-color-primary:hover,
.button.alt:hover,
.single_add_to_cart_button:hover,
.checkout-button:hover,
#place_order:hover,
.wd-add-btn > .button:hover,
.wd-add-btn > a:hover,
button[type="submit"].button:hover {
	background-color: var(--cb-aubergine-dark);
	border-color: var(--cb-aubergine-dark);
	color: #FFFFFF;
	box-shadow: none;
}

.cb-btn--outline,
.wd-buy-now-btn {
	background-color: transparent;
	color: var(--cb-aubergine);
}

.cb-btn--outline:hover,
.wd-buy-now-btn:hover {
	background-color: var(--cb-aubergine);
	color: #FFFFFF;
}

.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.button:not(.alt):not(.single_add_to_cart_button):not(.checkout-button):not(.add_to_cart_button):not(.product_type_variable):not(.product_type_simple) {
	border-radius: 8px;
	min-height: 44px;
	font-weight: 600;
	text-transform: none;
}

/* ------------------------------------------------------------------ forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"],
select, textarea, .select2-container--default .select2-selection--single {
	min-height: 46px;
	border: 1px solid var(--cb-line-strong);
	border-radius: 8px;
	background-color: var(--cb-white);
	color: var(--cb-ink);
	font-family: var(--cb-font-body);
	font-size: 16px;
}

textarea {
	min-height: 120px;
}

input:focus, select:focus, textarea:focus, .select2-container--focus .select2-selection--single {
	border-color: var(--cb-aubergine);
	box-shadow: 0 0 0 3px rgba(66, 36, 58, 0.15);
}

label, .form-row label {
	color: var(--cb-ink);
	font-weight: 500;
}

.form-row .required {
	color: var(--cb-danger);
}

/* ------------------------------------------------------------------ header */
.whb-header .whb-general-header,
.whb-header .whb-header-bottom {
	background-color: var(--cb-white);
}

.whb-general-header {
	border-bottom: 1px solid var(--cb-line);
}

.whb-header-bottom {
	border-bottom: 1px solid var(--cb-line);
}

.whb-sticked .whb-general-header {
	box-shadow: none;
}

.whb-general-header .wd-header-search-form {
	flex: 1 1 auto;
	max-width: 620px;
	margin-inline: auto;
}

.whb-general-header .wd-header-search-form .searchform input[type="text"] {
	height: 46px;
	padding-inline: 20px 52px;
	border: 1px solid var(--cb-line-strong);
	border-radius: 999px;
	background-color: var(--cb-ivory);
	font-size: var(--cb-size-ui);
}

.whb-general-header .wd-header-search-form .searchform input[type="text"]::placeholder {
	color: var(--cb-muted);
}

.whb-general-header .wd-header-search-form .searchform input[type="text"]:focus {
	background-color: var(--cb-white);
}

.whb-general-header .searchsubmit {
	width: 52px;
	color: var(--cb-ink);
}

.whb-header .wd-tools-element > a {
	min-width: 44px;
	min-height: 44px;
	justify-content: center;
	color: var(--cb-ink);
}

.whb-header .wd-tools-element > a:hover {
	color: var(--cb-aubergine);
}

.whb-header .wd-tools-count,
.whb-header .wd-cart-number {
	background-color: var(--cb-aubergine);
	color: #FFFFFF;
	font-family: var(--cb-font-body);
	font-weight: 600;
}

/* Primary navigation (desktop). */
.whb-header-bottom .wd-nav-header > li > a {
	position: relative;
	min-height: 48px;
	padding-inline: 2px;
	color: var(--cb-ink);
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-ui);
	font-weight: var(--cb-weight-semibold);
	text-transform: none;
}

.whb-header-bottom .wd-nav-header > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	height: 2px;
	background-color: var(--cb-aubergine);
	transform: scaleX(0);
	transition: transform 0.18s ease;
}

.whb-header-bottom .wd-nav-header > li:hover > a,
.whb-header-bottom .wd-nav-header > li.current-menu-item > a,
.whb-header-bottom .wd-nav-header > li.current-menu-ancestor > a,
.whb-header-bottom .wd-nav-header > li.og-open > a {
	color: var(--cb-aubergine);
}

.whb-header-bottom .wd-nav-header > li:hover > a::after,
.whb-header-bottom .wd-nav-header > li.current-menu-item > a::after,
.whb-header-bottom .wd-nav-header > li.og-open > a::after {
	transform: scaleX(1);
}

.whb-header-bottom .wd-nav-header > li.menu-item-sale > a,
.whb-header-bottom .wd-nav-header > li.cb-nav-sale > a {
	color: var(--cb-danger);
}

/* Collections panel: groups in columns, group headings link to the parent collection. */
.wd-nav-header > li.og-collections > .wd-dropdown-menu {
	border-top: 1px solid var(--cb-line);
	background-color: var(--cb-white);
	box-shadow: 0 18px 40px rgba(36, 31, 35, 0.12);
}

.wd-nav-header > li.og-collections > .wd-dropdown-menu .wd-sub-menu > li > a {
	padding-bottom: 6px;
	color: var(--cb-ink);
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-body);
	font-weight: var(--cb-weight-bold);
	text-transform: none;
}

.wd-nav-header > li.og-collections > .wd-dropdown-menu .wd-sub-menu li li > a {
	display: flex;
	align-items: baseline;
	gap: 6px;
	min-height: 32px;
	padding-block: 5px;
	color: var(--cb-ink);
	font-size: var(--cb-size-ui);
}

.wd-nav-header > li.og-collections > .wd-dropdown-menu .wd-sub-menu > li > a:hover,
.wd-nav-header > li.og-collections > .wd-dropdown-menu .wd-sub-menu li li > a:hover,
.wd-nav-header > li.og-collections > .wd-dropdown-menu .wd-sub-menu li li.current-menu-item > a {
	color: var(--cb-aubergine);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cb-count {
	color: var(--cb-muted);
	font-family: var(--cb-font-body);
	font-size: 0.82em;
	font-weight: 400;
	font-variant-numeric: tabular-nums;
}

.wd-nav-header .cb-count {
	margin-left: auto;
	padding-left: 8px;
}

/* Mobile header row and drawer. */
.whb-general-header .wd-header-mobile-nav > a,
.whb-general-header .wd-header-search-mobile > a,
.whb-general-header .wd-header-cart > a {
	min-width: 44px;
	min-height: 44px;
}

.mobile-nav.wd-side-hidden {
	background-color: var(--cb-white);
}

.mobile-nav .wd-nav-mobile > li > a,
.mobile-nav .wd-nav-mobile .wd-sub-menu li > a {
	min-height: 50px;
	color: var(--cb-ink);
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-body);
	font-weight: var(--cb-weight-semibold);
	text-transform: none;
}

.mobile-nav .wd-nav-mobile .wd-sub-menu li > a {
	font-weight: var(--cb-weight-medium);
	padding-left: 32px;
	background-color: var(--cb-ivory);
}

.mobile-nav .wd-nav-mobile li,
.mobile-nav .wd-nav-mobile .wd-sub-menu li {
	border-color: var(--cb-line);
}

.mobile-nav .wd-nav-mobile .wd-nav-opener {
	width: 52px;
	min-height: 50px;
	color: var(--cb-ink);
	border-left: 1px solid var(--cb-line);
}

.mobile-nav .wd-nav-mobile .wd-nav-opener.wd-active,
.mobile-nav .wd-nav-mobile li.opener-page > a {
	color: var(--cb-aubergine);
}

.mobile-nav .wd-nav-mobile .cb-count {
	margin-left: 6px;
}

.mobile-nav .wd-nav-mobile > li.cb-drawer-utility > a {
	font-size: var(--cb-size-ui);
	color: var(--cb-muted);
}

.mobile-nav .wd-nav-mobile > li.cb-drawer-account > a,
.mobile-nav .wd-nav-mobile > li.cb-drawer-wishlist > a {
	background-color: var(--cb-rose-soft);
}

.mobile-nav .wd-nav-mobile > li.cb-nav-sale > a {
	color: var(--cb-danger);
}

/* ------------------------------------------------------------------ page titles and breadcrumbs */
.wd-page-title {
	background-color: var(--cb-rose);
	background-image: none;
}

.wd-page-title .title,
.wd-page-title .entry-title,
.wd-page-title .woocommerce-breadcrumb,
.wd-page-title .woocommerce-breadcrumb a,
.wd-page-title .wd-breadcrumbs a,
.wd-page-title .wd-breadcrumbs {
	color: var(--cb-ink);
}

.wd-page-title .title {
	font-family: var(--cb-font-head);
	font-weight: var(--cb-weight-heading);
}

.woocommerce-breadcrumb,
.wd-breadcrumbs {
	color: var(--cb-muted);
	font-size: var(--cb-size-small);
}

.woocommerce-breadcrumb a,
.wd-breadcrumbs a {
	color: var(--cb-muted);
}

.woocommerce-breadcrumb a:hover,
.wd-breadcrumbs a:hover {
	color: var(--cb-aubergine);
}

/* ------------------------------------------------------------------ chips (archive sub-categories, homepage) */
.cb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cb-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 40px;
	padding: 8px 16px;
	border: 1px solid var(--cb-line-strong);
	border-radius: 999px;
	background-color: var(--cb-white);
	color: var(--cb-ink);
	font-size: var(--cb-size-ui);
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
}

.cb-chip:hover {
	border-color: var(--cb-aubergine);
	color: var(--cb-aubergine);
}

.cb-chip.is-current,
.cb-chip--strong {
	border-color: var(--cb-aubergine);
	background-color: var(--cb-aubergine);
	color: #FFFFFF;
}

.cb-chip.is-current .cb-count,
.cb-chip--strong .cb-count {
	color: rgba(255, 255, 255, 0.8);
}

.cb-subcats {
	margin-block: 4px 8px;
}

/* ------------------------------------------------------------------ product cards */
.wd-products .wd-product .product-wrapper,
.products .wd-product .product-wrapper {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 0 0 14px;
	border: 1px solid var(--cb-line);
	border-radius: 12px;
	background-color: var(--cb-white);
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wd-products .wd-product:hover .product-wrapper {
	border-color: var(--cb-line-strong);
	box-shadow: 0 10px 28px rgba(36, 31, 35, 0.08);
}

.wd-products.products-bordered-grid .wd-product,
.products-bordered-grid .wd-product .wd-product-wrapper {
	background-color: transparent;
}

.wd-product .product-element-top {
	margin-bottom: 12px;
	border-radius: 0;
	background-color: var(--cb-rose-soft);
}

.wd-product .product-element-top .product-image-link img,
.wd-product .product-element-top .hover-img img,
.wd-product .product-element-top .wd-product-grid-slide img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
}

.wd-product .product-element-bottom,
.wd-product .wd-product-header,
.wd-product .product-element-bottom > * {
	padding-inline: 14px;
}

.wd-product .product-element-bottom {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 6px;
	padding-inline: 0;
}

.wd-product .wd-entities-title {
	margin: 0;
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-card-title);
	font-weight: 500;
	line-height: var(--cb-leading-snug);
	overflow-wrap: anywhere;
}

.wd-product .wd-entities-title a {
	color: var(--cb-ink);
}

.wd-product .wd-product-cats,
.wd-product .wd-product-cats a {
	color: var(--cb-muted);
	font-size: 13px;
}

.wd-product .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin-top: auto;
	color: var(--cb-ink);
	font-size: var(--cb-size-price);
	font-weight: var(--cb-weight-semibold);
}

.wd-product .price del,
.wd-product .price del .amount {
	color: var(--cb-muted);
	font-size: var(--cb-size-small);
	font-weight: 400;
}

.wd-product .price ins {
	color: var(--cb-aubergine);
	text-decoration: none;
}

.wd-product .wd-add-btn {
	width: auto;
	margin-top: 8px;
}

.wd-product .wd-add-btn > a,
.wd-product .wd-add-btn > .button {
	width: 100%;
	min-height: 44px;
	font-size: var(--cb-size-small);
}

.wd-product .wd-add-btn > a .wd-action-icon,
.wd-product .wd-add-btn-replace .add-to-cart-loop span {
	display: inline;
}

/* No empty star rows, SKUs or quantity steppers on browsing cards (also off in Theme Settings). */
.wd-product .star-rating:not([title]),
.wd-product .wd-star-rating:not(:has(.star-rating[title])),
.wd-product .wd-product-sku,
.wd-product .quantity,
.wd-product .wd-product-stock-progress,
.wd-product .wd-progress-bar {
	display: none !important;
}

.wd-product .stock.in-stock {
	display: none;
}

/* Labels. */
.product-labels .product-label {
	border-radius: 999px;
	padding: 4px 10px;
	font-family: var(--cb-font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.product-labels .product-label.onsale {
	background-color: var(--cb-aubergine);
	color: #FFFFFF;
}

.product-labels .product-label.new {
	background-color: var(--cb-rose);
	color: var(--cb-ink);
}

.product-labels .product-label.out-of-stock {
	background-color: var(--cb-ink);
	color: #FFFFFF;
}

/* ------------------------------------------------------------------ archives */
.wd-shop-tools,
.cb-store .wd-shop-tools {
	color: var(--cb-muted);
}

.woocommerce-result-count,
.wd-shop-tools .woocommerce-result-count {
	color: var(--cb-muted);
	font-size: var(--cb-size-ui);
}

.woocommerce-ordering select,
.wd-products-per-page select {
	min-height: 44px;
	padding-inline: 14px 36px;
	border-radius: 8px;
}

.woocommerce-ordering.wd-style-underline select,
.woocommerce-ordering.wd-style-underline .orderby {
	border: 1px solid var(--cb-line-strong);
	padding-inline: 14px 36px;
}

/* Phones: WoodMart turns the sort control into an icon with the select laid over it. The padding and border above
   made that select 52 px wide and pushed it past the right edge; the frame now sits on the 44 px icon instead. */
@media (max-width: 768.98px) {
	.woocommerce-ordering.wd-ordering-mb-icon {
		width: 44px;
		height: 44px;
		border: 1px solid var(--cb-line-strong);
		border-radius: 8px;
	}

	.woocommerce-ordering.wd-style-underline.wd-ordering-mb-icon select,
	.woocommerce-ordering.wd-ordering-mb-icon .orderby {
		min-height: 0;
		padding: 0;
		border: 0;
	}
}

.wd-shop-archive-woocommerce-title .title,
.elementor-widget-wd_shop_archive_woocommerce_title .title,
.wd-woocommerce-title .title,
h1.page-title,
.woocommerce-products-header__title {
	font-family: var(--cb-font-head);
	font-size: var(--cb-size-title);
	font-weight: var(--cb-weight-heading);
	color: var(--cb-ink);
}

.wd-products-per-page a,
.wd-products-shop-view a {
	color: var(--cb-muted);
}

.wd-products-per-page .current-variation,
.wd-products-shop-view .current-variation,
.wd-products-shop-view a.current-variation {
	color: var(--cb-aubergine);
}

.wd-sidebar .widget-title,
.wd-sidebar .wd-widget-title {
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-body);
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0.01em;
}

.wd-sidebar a {
	color: var(--cb-ink);
}

.woocommerce-widget-layered-nav-list a,
.wd-widget-layered-nav-list a,
.wd-sidebar .product-categories a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
}

.wd-off-canvas-btn,
.wd-builder-off-canvas-column-btn a,
.wd-show-sidebar-btn {
	min-height: 44px;
	padding-inline: 16px;
	border: 1px solid var(--cb-line-strong);
	border-radius: 8px;
	background-color: var(--cb-white);
	color: var(--cb-ink);
	font-weight: 600;
}

.woocommerce-pagination .page-numbers,
.wd-pagination .page-numbers {
	gap: 6px;
}

.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span,
.wd-pagination .page-numbers a,
.wd-pagination .page-numbers span {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--cb-line-strong);
	border-radius: 8px;
	background-color: var(--cb-white);
	color: var(--cb-ink);
	font-weight: 600;
}

.woocommerce-pagination .page-numbers li span.current,
.wd-pagination .page-numbers span.current {
	border-color: var(--cb-aubergine);
	background-color: var(--cb-aubergine);
	color: #FFFFFF;
}

.wd-active-filters .wd-widget-title,
.wd-active-filters a {
	color: var(--cb-ink);
}

/* ------------------------------------------------------------------ product page */
.single-product .product_title {
	font-family: var(--cb-font-head);
	font-size: var(--cb-size-product-title);
	font-weight: var(--cb-weight-heading);
	line-height: var(--cb-leading-heading);
	overflow-wrap: anywhere;
}

.single-product .summary .price,
.single-product .wd-single-price .price,
.single-product .elementor-widget-wd_single_product_price .price {
	color: var(--cb-aubergine);
	font-size: var(--cb-size-price-lg);
	font-weight: 700;
}

.single-product .summary .price del,
.single-product .wd-single-price .price del {
	color: var(--cb-muted);
	font-size: 0.62em;
	font-weight: 400;
}

.single-product .product_meta,
.single-product .product_meta a,
.single-product .wd-product-meta {
	color: var(--cb-muted);
	font-size: var(--cb-size-small);
}

.single-product form.cart {
	padding: 20px;
	border: 1px solid var(--cb-line);
	border-radius: 12px;
	background-color: var(--cb-white);
}

.single-product .variations th,
.single-product .variations .label label {
	color: var(--cb-ink);
	font-weight: 600;
	font-size: var(--cb-size-ui);
}

.single-product .variations select {
	min-width: 220px;
	min-height: 46px;
	padding-inline: 14px 38px;
}

.single-product .wd-swatch {
	min-width: 44px;
	min-height: 44px;
	border-radius: 8px;
}

.single-product .reset_variations {
	color: var(--cb-aubergine);
	font-weight: 500;
}

.single-product .woocommerce-variation-availability .stock,
.single-product .summary .stock,
.single-product p.stock {
	font-weight: 600;
}

.single-product .stock.in-stock {
	color: var(--cb-success);
}

.single-product .stock.out-of-stock,
.single-product .wc-no-matching-variations {
	color: var(--cb-danger);
}

.single-product .quantity input.qty,
.cart .quantity input.qty {
	min-height: 46px;
	width: 56px;
	border-color: var(--cb-line-strong);
	font-size: 16px;
}

.single-product .quantity input[type="button"],
.cart .quantity input[type="button"],
.quantity .minus,
.quantity .plus {
	min-width: 40px;
	min-height: 46px;
	border-color: var(--cb-line-strong);
	color: var(--cb-ink);
}

.single-product form.cart .single_add_to_cart_button {
	flex: 1 1 200px;
	min-height: 48px;
}

.single-product .wd-wishlist-btn a,
.single-product .wd-compare-btn a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	color: var(--cb-ink);
	font-weight: 500;
}

.single-product .wd-info-box .info-box-title,
.single-product .elementor-widget-wd_infobox .info-box-title {
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-card-heading);
	font-weight: 600;
	color: var(--cb-ink);
}

.single-product .wd-info-box .info-box-icon,
.single-product .elementor-widget-wd_infobox .info-box-icon {
	color: var(--cb-aubergine);
}

/* Specifications, Description, Material & Care, Shipping & Returns (og-product-details.css). */
.og-pd {
	--og-pd-ink: var(--cb-ink);
}

.og-pd-specs__title {
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-heading-ui);
	font-weight: var(--cb-weight-semibold);
	color: var(--cb-ink);
}

.og-pd-list--specs > div,
.og-pd-list > div {
	border-color: var(--cb-line);
}

.og-pd-list dt {
	color: var(--cb-ink);
	font-weight: 600;
}

.og-pd-list dd {
	color: var(--cb-ink);
}

.og-pd-acc {
	border-color: var(--cb-line);
}

.og-pd-acc__title {
	min-height: 52px;
	color: var(--cb-ink);
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-card-heading);
	font-weight: 600;
}

.og-pd-acc__body {
	color: var(--cb-ink);
	font-size: var(--cb-size-body);
	line-height: var(--cb-leading-body);
}

.og-pd-policies {
	margin-top: 12px;
	font-size: var(--cb-size-ui);
}

.og-pd-policies p {
	margin-bottom: 6px;
	color: var(--cb-muted);
}

.og-pd-policies ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.og-pd-policies a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: var(--cb-aubergine);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wd-single-tabs .wd-accordion-title-text,
.wd-tabs-header .tabs a,
.woocommerce-tabs .wd-accordion-title,
.wd-single-tabs .wd-nav-tabs a {
	color: var(--cb-ink);
	font-family: var(--cb-font-body);
	font-weight: 600;
}

.wd-single-tabs .wd-accordion-item {
	border-color: var(--cb-line);
}

.shop_attributes th,
.shop_attributes td {
	border-color: var(--cb-line);
	color: var(--cb-ink);
}

/* Sticky add-to-cart bar. */
.wd-sticky-btn {
	background-color: var(--cb-white);
	border-top: 1px solid var(--cb-line);
}

.wd-sticky-btn .wd-entities-title {
	font-family: var(--cb-font-body);
}

/* ------------------------------------------------------------------ cart and checkout */
.woocommerce-cart .wd-page-title,
.woocommerce-checkout .wd-page-title {
	background-color: var(--cb-rose);
}

.woocommerce-cart-form,
.cart_totals,
.cart-totals-inner,
.woocommerce-checkout-review-order,
#order_review,
.wd-table-wrapper {
	color: var(--cb-ink);
}

.shop_table,
.shop_table th,
.shop_table td {
	border-color: var(--cb-line) !important;
	color: var(--cb-ink);
}

.shop_table th {
	font-weight: 600;
}

.cart_totals,
.cart-totals-inner,
.woocommerce-checkout-review-order,
.checkout-order-review,
.wd-cart-totals {
	border-radius: 12px;
}

.woocommerce-cart .cart_totals,
.woocommerce-cart .cart-totals-inner,
.woocommerce-checkout .checkout-order-review,
.woocommerce-checkout #order_review {
	padding: 20px;
	border: 1px solid var(--cb-line);
	background-color: var(--cb-white);
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
	color: var(--cb-ink);
}

.woocommerce-checkout .form-row {
	margin-bottom: 16px;
}

.woocommerce-checkout #payment,
.woocommerce-checkout .woocommerce-checkout-payment {
	border-radius: 12px;
	background-color: var(--cb-ivory);
}

.woocommerce-checkout #payment ul.payment_methods li {
	padding-block: 10px;
}

.woocommerce-checkout #payment ul.payment_methods li label {
	font-weight: 600;
}

.woocommerce-checkout #payment div.payment_box {
	background-color: var(--cb-rose-soft);
	color: var(--cb-ink);
	border-radius: 8px;
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--cb-rose-soft);
}

.woocommerce-shipping-methods li,
#shipping_method li {
	padding-block: 6px;
}

.woocommerce-shipping-methods label,
#shipping_method label {
	color: var(--cb-ink);
}

.order-total .amount,
.order-total th {
	color: var(--cb-ink);
	font-size: var(--cb-size-total);
	font-weight: 700;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.wc-block-components-notice-banner {
	border-radius: 10px;
	font-size: var(--cb-size-ui);
}

.woocommerce-message,
.woocommerce-info {
	background-color: var(--cb-rose-soft);
	color: var(--cb-ink);
}

.woocommerce-message a,
.woocommerce-info a {
	color: var(--cb-aubergine);
	font-weight: 600;
}

.woocommerce-error {
	background-color: #FBEDEE;
	color: #7A1A22;
}

.wd-free-progress-bar .progress-area,
.wd-progress-bar .progress-area {
	background-color: var(--cb-rose);
}

.wd-free-progress-bar .progress-bar,
.wd-progress-bar .progress-bar {
	background-color: var(--cb-aubergine);
}

/* Checkout step badges ("1.", "2.") set in Elementor. */
.woocommerce-checkout .elementor-widget-wd_text_block .wd-text-block {
	font-family: var(--cb-font-body);
}

/* ------------------------------------------------------------------ footer ([cb_footer] in block 1731) */
footer.wd-footer {
	background-color: var(--cb-aubergine);
	color: #F6EEF2;
}

footer.wd-footer .container,
footer.wd-footer .elementor-1731 {
	background-color: transparent;
}

.cb-footer {
	max-width: var(--wd-container-w, 1390px);
	margin-inline: auto;
	padding: 56px 15px 28px;
	color: #F6EEF2;
	font-size: var(--cb-size-ui);
	line-height: 1.6;
}

.cb-footer a {
	color: #FFFFFF;
	text-decoration: none;
}

.cb-footer a:hover {
	color: #FFFFFF;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cb-footer a:focus-visible {
	outline-color: #FFFFFF !important;
}

.cb-footer__main {
	display: grid;
	grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 1fr));
	gap: 40px;
}

.cb-footer__about {
	max-width: 36ch;
	margin: 16px 0;
	color: #E9DCE4;
}

.cb-footer__contact,
.cb-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cb-footer__contact li + li {
	margin-top: 4px;
}

.cb-footer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.cb-footer__label {
	min-width: 48px;
	color: var(--cb-rose);
	font-size: var(--cb-size-eyebrow);
	font-weight: var(--cb-weight-semibold);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.cb-footer__title {
	margin: 0 0 12px;
	color: #FFFFFF;
	font-family: var(--cb-font-body);
	font-size: var(--cb-size-small);
	font-weight: var(--cb-weight-bold);
}

.cb-footer__links li a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: #F1E6EC;
}

.cb-footer__legal {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	color: #DCCBD5;
	font-size: var(--cb-size-small);
}

.cb-footer__legal p {
	margin: 0 0 6px;
}

.cb-footer__legal strong {
	color: #FFFFFF;
	font-weight: 600;
}

.cb-footer__copy {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 12px !important;
}

@media (max-width: 1024px) {
	.cb-footer__main {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cb-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	.cb-footer {
		padding: 40px 16px 24px;
	}

	.cb-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

	.cb-footer__col:last-child {
		grid-column: 1 / -1;
	}
}

/* ------------------------------------------------------------------ mobile */
@media (max-width: 767px) {

	.wd-product .product-element-bottom > * {
		padding-inline: 10px;
	}

	.wd-product .wd-add-btn > a,
	.wd-product .wd-add-btn > .button {
		padding-inline: 8px;
		font-size: var(--cb-size-micro);
	}

	.single-product form.cart {
		padding: 16px;
	}

	.single-product .variations select {
		min-width: 0;
		width: 100%;
	}
}

/* Card buttons: sentence case, allowed to wrap on narrow cards. */
.wd-product .wd-add-btn > a,
.wd-product .wd-add-btn > a span,
.wd-product .wd-add-btn > .button span {
	text-transform: none;
	white-space: normal;
	letter-spacing: 0;
	text-align: center;
}

/* Archive header (inc/cb-storefront.php cb_archive_header). */
.cb-archive-head {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--cb-line);
}

.cb-archive-head__title {
	margin: 0 0 4px;
	font-family: var(--cb-font-head);
	font-size: var(--cb-size-title);
	font-weight: var(--cb-weight-heading);
	line-height: var(--cb-leading-title);
	color: var(--cb-ink);
	overflow-wrap: anywhere;
}

.cb-archive-head__count {
	margin: 0 0 14px;
	color: var(--cb-muted);
	font-size: var(--cb-size-ui);
}

.cb-archive-head .cb-subcats {
	margin: 0;
}

.shop-loop-head .wd-shop-tools .woocommerce-result-count {
	display: none;
}

@media (max-width: 767px) {
	.cb-archive-head {
		margin-bottom: 14px;
		padding-bottom: 14px;
	}

	.cb-archive-head .cb-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-inline: -15px;
		padding: 2px 15px 6px;
		scrollbar-width: thin;
	}

	.cb-archive-head .cb-chip {
		flex: 0 0 auto;
		white-space: nowrap;
	}
}

/* Sentence case on all buttons (WoodMart sets uppercase). */
.button,
button,
input[type="submit"],
.btn,
.wd-sticky-btn .button,
#respond input#submit {
	text-transform: none;
	letter-spacing: 0.01em;
}

/* The layout's add-to-cart container is already a box. */
.single-product form.cart {
	padding: 0;
	border: 0;
	background: transparent;
}

.og-pd-specs__title {
	text-transform: none;
	letter-spacing: 0;
}

/* Drawer accordion arrow stays visible when open. */
.mobile-nav .wd-nav-mobile .wd-nav-opener.wd-active {
	background-color: var(--cb-rose-soft);
	color: var(--cb-aubergine);
}

/* Breadcrumbs sit above the archive title (cb_archive_header), not in the toolbar. */
.shop-loop-head .wd-shop-tools .wd-breadcrumbs,
.shop-loop-head .wd-shop-tools .woocommerce-breadcrumb {
	display: none;
}

.cb-archive-head .wd-breadcrumbs,
.cb-archive-head .woocommerce-breadcrumb {
	display: block;
	margin-bottom: 10px;
}

/* Checkout fields on white; Place order in sentence case. */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single {
	background-color: var(--cb-white);
	border: 1px solid var(--cb-line-strong);
	color: var(--cb-ink);
}

form.checkout #place_order,
.woocommerce-checkout-payment #place_order {
	width: 100%;
	min-height: 50px;
	text-transform: none;
	font-size: var(--cb-size-body);
}

/* Icons in the cart and checkout "More Information" accordions (Megamarket blue SVGs) and the product-page service
   icons, in ink. */
.elementor-widget-wd_accordion .wd-accordion-title img,
.elementor-widget-wd_accordion img,
.single-product .elementor-widget-wd_infobox .info-box-icon img {
	filter: brightness(0) opacity(0.78);
}

/* Cart totals: the layout's container is the card; no boxes inside it. */
.woocommerce-cart .cart_totals,
.woocommerce-cart .cart-totals-inner {
	padding: 0;
	border: 0;
	background: transparent;
}

.wc-proceed-to-checkout a.checkout-button {
	width: 100%;
	min-height: 50px;
	text-transform: none;
	font-size: var(--cb-size-body);
}
