/* Joker Shop Toolkit: shared styles.
   Low specificity on purpose so themes and module settings win; the few
   higher-specificity rules only neutralise WooCommerce's float grid. */

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

/* ------------------------------------------------------------ Grid */

.cwt-grid,
.cwt-cats {
	--cwt-c: 4;
	--cwt-gap: 24px;
	--cwt-radius: 6px;
	--cwt-muted: rgba(0, 0, 0, 0.6);
	--cwt-line: rgba(0, 0, 0, 0.12);
	--cwt-accent: currentColor;
	position: relative;
}

/* Fallback columns when no module CSS sets --cwt-c (module CSS wins on specificity). */
@media (max-width: 992px) {
	.cwt-grid {
		--cwt-c: 3;
	}
}

@media (max-width: 600px) {
	.cwt-grid {
		--cwt-c: 2;
		--cwt-gap: 16px;
	}
}

.cwt-grid[aria-busy="true"] .cwt-grid__list,
.cwt-cats[aria-busy="true"] .cwt-cats__list {
	opacity: 0.55;
	transition: opacity 0.15s;
}

.cwt-grid__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.cwt-grid__count {
	margin: 0;
}

.cwt-grid .cwt-sort {
	margin: 0;
	float: none;
}

/* WooCommerce floats ul.products and adds clearfix pseudo elements that
   would become grid items. Reset them inside the toolkit only. */
.cwt-grid .cwt-grid__list.products,
.cwt-cats .cwt-cats__list {
	display: grid;
	grid-template-columns: repeat(var(--cwt-c), minmax(0, 1fr));
	gap: var(--cwt-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.cwt-grid .cwt-grid__list.products::before,
.cwt-grid .cwt-grid__list.products::after {
	content: none;
	display: none;
}

.cwt-grid .cwt-grid__list.products > li.product.cwt-card {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	clear: none;
}

.cwt-grid--list .cwt-grid__list.products {
	grid-template-columns: minmax(0, 1fr);
}

.cwt-grid__list:focus,
.cwt-cats__list:focus {
	outline: none;
}

.cwt-grid__list:focus-visible,
.cwt-cats__list:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

/* ------------------------------------------------------------ Card */

.cwt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.cwt-card__media {
	position: relative;
	overflow: hidden;
	border-radius: var(--cwt-radius);
}

.cwt-card__media-link {
	display: block;
}

.cwt-card__img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 !important;
}

.cwt-card__media--swap .cwt-card__img--alt {
	position: absolute;
	inset: 0;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.cwt-card:hover .cwt-card__media--swap .cwt-card__img--alt,
.cwt-card:focus-within .cwt-card__media--swap .cwt-card__img--alt {
	opacity: 1;
}

.cwt-card__badges {
	position: absolute;
	top: 8px;
	left: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	pointer-events: none;
}

.cwt-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 0.75em;
	font-weight: 600;
	line-height: 1.6;
	white-space: nowrap;
}

.cwt-badge--sale {
	background: #b3261e;
}

.cwt-badge--out-of-stock {
	background: #555;
}

.cwt-card__cat {
	margin: 0;
	font-size: 0.8em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cwt-muted);
}

.cwt-card__title {
	margin: 0;
	font-size: 1em;
	line-height: 1.35;
}

.cwt-card__title a {
	color: inherit;
	text-decoration: none;
}

/* Whole card clickable via the title link, without nesting controls in a link. */
.cwt-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.cwt-card__actions,
.cwt-card__badges {
	position: relative;
	z-index: 2;
}

.cwt-card__badges {
	position: absolute;
}

.cwt-card__title a:focus-visible {
	outline: none;
}

.cwt-card:has(.cwt-card__title a:focus-visible) {
	outline: 2px solid currentColor;
	outline-offset: 4px;
	border-radius: var(--cwt-radius);
}

.cwt-card .star-rating {
	float: none;
	margin: 0;
}

.cwt-card__price {
	display: block;
}

.cwt-card__excerpt {
	margin: 0;
	color: var(--cwt-muted);
	font-size: 0.9em;
}

.cwt-card__stock .stock {
	margin: 0;
	font-size: 0.85em;
}

.cwt-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: auto;
}

.cwt-card__actions .button {
	margin: 0;
}

/*
 * Card buttons look like buttons on any theme (themes that only style
 * .btn, such as Bootstrap/Understrap, would otherwise show a plain link).
 * Colours come from custom properties the grid's Style tab sets.
 * "Theme buttons" (.cwt-btns--theme) leaves them to the theme.
 */
.cwt-grid {
	--cwt-atc-ink: #fff;
	--cwt-atc-bg: #1f2227;
	--cwt-atc-line: var(--cwt-atc-bg);
	--cwt-atc-ink-h: #fff;
	--cwt-atc-bg-h: #000;
	--cwt-atc-line-h: var(--cwt-atc-bg-h);
	--cwt-btn2-ink: #1f2227;
	--cwt-btn2-bg: transparent;
	--cwt-btn2-line: #c9ccd1;
	--cwt-btn2-ink-h: #1f2227;
	--cwt-btn2-bg-h: #f1f2f4;
	--cwt-btn2-line-h: #1f2227;
	--cwt-btn-radius: 6px;
}

.cwt-grid:not(.cwt-btns--theme) .cwt-card__actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 40px;
	padding: 0.55em 1.15em;
	border: 1px solid var(--cwt-btn2-line);
	border-radius: var(--cwt-btn-radius);
	background: var(--cwt-btn2-bg);
	box-shadow: none;
	color: var(--cwt-btn2-ink);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.cwt-grid:not(.cwt-btns--theme) .cwt-card__actions .button:hover,
.cwt-grid:not(.cwt-btns--theme) .cwt-card__actions .button:focus-visible {
	border-color: var(--cwt-btn2-line-h);
	background: var(--cwt-btn2-bg-h);
	color: var(--cwt-btn2-ink-h);
	text-decoration: none;
}

.cwt-grid:not(.cwt-btns--theme) .cwt-card__actions .button:focus-visible {
	outline: 2px solid var(--cwt-atc-bg);
	outline-offset: 2px;
}

.cwt-grid:not(.cwt-btns--theme) .cwt-card__actions .cwt-atc {
	border-color: var(--cwt-atc-line);
	background: var(--cwt-atc-bg);
	color: var(--cwt-atc-ink);
}

.cwt-grid:not(.cwt-btns--theme) .cwt-card__actions .cwt-atc:hover,
.cwt-grid:not(.cwt-btns--theme) .cwt-card__actions .cwt-atc:focus-visible {
	border-color: var(--cwt-atc-line-h);
	background: var(--cwt-atc-bg-h);
	color: var(--cwt-atc-ink-h);
}

.cwt-grid:not(.cwt-btns--theme) .cwt-card__actions .cwt-atc:active {
	transform: translateY(1px);
}

.cwt-btns--outline .cwt-card__actions .cwt-atc:not(:hover):not(:focus-visible) {
	background: transparent;
	color: var(--cwt-atc-line);
}

.cwt-btns--full .cwt-card__actions .button {
	flex: 1 1 100%;
}

.cwt-atc.is-loading {
	opacity: 0.6;
	cursor: progress;
}

.cwt-atc.is-added::after {
	content: " \2713";
}

.cwt-notice {
	flex-basis: 100%;
	margin: 4px 0 0;
	font-size: 0.85em;
}

.cwt-notice--error {
	color: #b3261e;
}

.cwt-grid--list .cwt-card {
	display: grid;
	grid-template-columns: minmax(120px, 28%) minmax(0, 1fr);
	grid-auto-rows: min-content;
	column-gap: var(--cwt-gap);
	align-items: start;
}

.cwt-grid--list .cwt-card__media {
	grid-row: 1 / span 8;
}

.cwt-grid--list .cwt-card__actions {
	margin-top: 4px;
}

@media (max-width: 600px) {
	.cwt-grid--list .cwt-card {
		grid-template-columns: minmax(90px, 34%) minmax(0, 1fr);
	}
}

/* -------------------------------------------------------- Carousel */

.cwt-carousel {
	position: relative;
}

.cwt-grid .cwt-grid__list.cwt-track,
.cwt-cats .cwt-cats__list.cwt-track {
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--cwt-c) - 1) * var(--cwt-gap)) / var(--cwt-c));
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.cwt-track::-webkit-scrollbar {
	display: none;
}

.cwt-track > li {
	scroll-snap-align: start;
}

.cwt-carousel__controls {
	display: flex;
	justify-content: flex-end;
	gap: 6px;
	margin-bottom: 10px;
}

.cwt-carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--cwt-line);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.cwt-carousel__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.cwt-carousel__btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-carousel__icon {
	width: 10px;
	height: 12px;
	border-left: 3px solid currentColor;
	border-right: 3px solid currentColor;
}

.cwt-carousel__toggle.is-paused .cwt-carousel__icon {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent currentColor;
}

@media (prefers-reduced-motion: reduce) {
	.cwt-track {
		scroll-behavior: auto;
	}
}

/* ------------------------------------------------------ Pagination */

.cwt-grid__pagination:empty {
	display: none;
}

.cwt-pagination {
	margin-top: 28px;
}

.cwt-pagination__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cwt-pagination__list > li {
	margin: 0;
}

.cwt-pagination a,
.cwt-pagination__current,
.cwt-pagination__dots,
.cwt-pagination__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 4px;
	text-decoration: none;
}

.cwt-pagination__list a {
	border: 1px solid var(--cwt-line);
	color: inherit;
}

.cwt-pagination__list a:hover,
.cwt-pagination__list a:focus-visible {
	border-color: currentColor;
}

.cwt-pagination__current {
	background: #111;
	color: #fff;
	font-weight: 600;
}

.cwt-pagination--load_more,
.cwt-pagination--infinite {
	display: flex;
	justify-content: center;
}

.cwt-pagination .cwt-load-more {
	padding: 0 24px;
	border: 1px solid currentColor;
}

/* ------------------------------------------------------ Categories */

.cwt-cats--sc {
	--cwt-c: var(--cwt-cols, 4);
}

@media (max-width: 992px) {
	.cwt-cats--sc {
		--cwt-c: var(--cwt-cols-md, var(--cwt-cols, 3));
	}
}

@media (max-width: 768px) {
	.cwt-cats--sc {
		--cwt-c: var(--cwt-cols-sm, 2);
	}
}

.cwt-cats--list .cwt-cats__list {
	grid-template-columns: minmax(0, 1fr);
}

.cwt-cat {
	margin: 0;
	min-width: 0;
}

.cwt-cat__link {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.cwt-cats--list .cwt-cat__link {
	flex-direction: row;
	align-items: center;
	gap: 16px;
}

.cwt-cats--list .cwt-cat__media {
	flex: 0 0 96px;
}

.cwt-cat__media {
	display: block;
	overflow: hidden;
	border-radius: var(--cwt-radius);
}

.cwt-cat__img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.3s ease;
}

.cwt-cat__link:hover .cwt-cat__img {
	transform: scale(1.04);
}

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

	.cwt-cat__link:hover .cwt-cat__img {
		transform: none;
	}
}

.cwt-cat__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cwt-cat__title {
	margin: 0;
	font-size: 1em;
	line-height: 1.3;
}

.cwt-cat__count,
.cwt-cat__desc {
	margin: 0;
	color: var(--cwt-muted);
	font-size: 0.85em;
}

.cwt-cat__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
	border-radius: var(--cwt-radius);
}

/* ---------------------------------------------------------- Dialog */

.cwt-dialog {
	width: min(960px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #fff;
	color: #111;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

.cwt-dialog::backdrop {
	background: rgba(0, 0, 0, 0.55);
}

.cwt-dialog-open {
	overflow: hidden;
}

.cwt-dialog__panel {
	position: relative;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 28px;
}

.cwt-dialog__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.06);
	color: inherit;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.cwt-dialog__close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/*
 * Themes often restyle every button on :hover, :focus or :active (for
 * example position: relative, a margin or a transform for a "pressed"
 * effect). On an absolutely placed close button that drops it back into
 * the flow, so it jumps to the left. Lock its placement in every state.
 */
.cwt-dialog .cwt-dialog__panel > .cwt-dialog__close,
.cwt-dialog .cwt-dialog__panel > .cwt-dialog__close:hover,
.cwt-dialog .cwt-dialog__panel > .cwt-dialog__close:focus,
.cwt-dialog .cwt-dialog__panel > .cwt-dialog__close:focus-visible,
.cwt-dialog .cwt-dialog__panel > .cwt-dialog__close:active {
	position: absolute !important;
	top: 10px !important;
	right: 10px !important;
	bottom: auto !important;
	left: auto !important;
	float: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 0;
	height: 40px;
	min-height: 0;
	margin: 0 !important;
	padding: 0;
	transform: none !important;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	color: inherit;
	font-size: 26px;
	line-height: 1;
	text-decoration: none;
}

.cwt-dialog .cwt-dialog__panel > .cwt-dialog__close {
	background: rgba(0, 0, 0, 0.06);
}

.cwt-dialog .cwt-dialog__panel > .cwt-dialog__close:hover,
.cwt-dialog .cwt-dialog__panel > .cwt-dialog__close:focus,
.cwt-dialog .cwt-dialog__panel > .cwt-dialog__close:active {
	background: rgba(0, 0, 0, 0.12);
	color: inherit;
}

.cwt-dialog--lightbox .cwt-dialog__panel > .cwt-dialog__close,
.cwt-dialog--lightbox .cwt-dialog__panel > .cwt-dialog__close:hover,
.cwt-dialog--lightbox .cwt-dialog__panel > .cwt-dialog__close:focus,
.cwt-dialog--lightbox .cwt-dialog__panel > .cwt-dialog__close:active {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

.cwt-dialog__loading {
	margin: 40px 0;
	text-align: center;
}

/* ------------------------------------------------------ Quick view */

.cwt-qv {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 28px;
}

@media (max-width: 720px) {
	.cwt-qv {
		grid-template-columns: minmax(0, 1fr);
	}
}

.cwt-qv__track {
	position: relative;
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	border-radius: var(--cwt-radius, 6px);
}

.cwt-qv__track::-webkit-scrollbar {
	display: none;
}

.cwt-qv__track:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-qv__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
}

.cwt-qv__img {
	display: block;
	width: 100%;
	height: auto;
}

.cwt-qv__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.cwt-qv__thumb {
	width: 64px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 4px;
	background: none;
	cursor: pointer;
	opacity: 0.7;
}

.cwt-qv__thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.cwt-qv__thumb[aria-current="true"] {
	border-color: currentColor;
	opacity: 1;
}

.cwt-qv__thumb:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-qv__title {
	margin: 0 40px 10px 0;
}

.cwt-qv__title:focus {
	outline: none;
}

.cwt-qv .price {
	display: block;
	margin: 0 0 12px;
	font-size: 1.25em;
}

.cwt-qv form.cart {
	margin: 16px 0;
}

.cwt-qv__more {
	margin: 12px 0 0;
}

.cwt-qv__notice:not(:empty) {
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.05);
}

.cwt-qv__notice .added_to_cart {
	margin-left: 8px;
}

/* ------------------------------------------------ Quantity stepper */

.cwt-qty {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--cwt-line, rgba(0, 0, 0, 0.2));
	border-radius: 4px;
	overflow: hidden;
	vertical-align: middle;
}

.cwt-qty input.qty,
.cwt-qty input[type="number"] {
	width: 3.2em;
	min-height: 40px;
	margin: 0;
	padding: 0 4px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

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

.cwt-qty__btn {
	min-width: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 1.1em;
	line-height: 1;
	cursor: pointer;
}

.cwt-qty__btn:hover {
	background: rgba(0, 0, 0, 0.05);
}

.cwt-qty__btn:focus-visible,
.cwt-qty input:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}

/* ------------------------------------------------- Add to Cart */

.cwt-buy-wrap form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.cwt-buy-wrap form.cart .quantity {
	float: none;
	margin: 0;
}

.cwt-buy-wrap form.cart .single_add_to_cart_button {
	float: none;
	margin: 0;
}

.cwt-buy-wrap--center,
.cwt-buy-wrap--center form.cart {
	justify-content: center;
	text-align: center;
}

.cwt-buy-wrap--right,
.cwt-buy-wrap--right form.cart {
	justify-content: flex-end;
	text-align: right;
}

.cwt-buy-wrap--full .single_add_to_cart_button {
	flex: 1 1 auto;
}

.cwt-buy-wrap form.variations_form,
.cwt-buy-wrap form.grouped_form {
	display: block;
}

.cwt-buy-wrap .single_variation_wrap .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.cwt-buy__price {
	margin: 0 0 10px;
}

.cwt-buy__notice:not(:empty) {
	margin-top: 10px;
	font-size: 0.9em;
}

.cwt-buy__notice .added_to_cart {
	margin-left: 8px;
}

.single_add_to_cart_button.loading,
.cwt-cart__cross-add:disabled {
	opacity: 0.6;
	cursor: progress;
}

.cwt-editor-note {
	padding: 12px;
	border: 1px dashed currentColor;
	font-size: 13px;
	opacity: 0.8;
}

/* -------------------------------------------- Free shipping bar */

.cwt-ship {
	padding: 10px 0;
}

.cwt-ship[hidden] {
	display: none;
}

.cwt-ship__msg {
	margin: 0 0 6px;
	font-size: 0.9em;
}

.cwt-ship__track {
	position: relative;
	height: 6px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.1);
}

.cwt-ship__fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	border-radius: inherit;
	background: #2f7d32;
	transition: width 0.35s ease;
}

.cwt-ship.is-complete .cwt-ship__fill {
	background: #1b5e20;
}

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

/* ------------------------------------------- Cart button + panel */

.cwt-cart {
	--cwt-cart-width: 420px;
	position: relative;
	display: inline-block;
}

.cwt-cart__trigger {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 4px 6px;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.cwt-cart__trigger:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 4px;
}

.cwt-cart__icon {
	display: block;
	width: 24px;
	height: 24px;
}

.cwt-cart__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.cwt-cart__icon + .cwt-cart__count {
	position: absolute;
	top: -2px;
	left: 22px;
}

.cwt-cart__count[hidden] {
	display: none;
}

.cwt-cart__drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(var(--cwt-cart-width), 100vw);
	max-width: 100vw;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	overflow: visible;
}

.cwt-cart__drawer--left {
	inset: 0 auto 0 0;
}

.cwt-cart__drawer::backdrop {
	background: rgba(0, 0, 0, 0.45);
}

.cwt-cart__drawer[open] {
	animation: cwt-slide-in 0.25s ease;
}

.cwt-cart__drawer--left[open] {
	animation-name: cwt-slide-in-left;
}

@keyframes cwt-slide-in {
	from { transform: translateX(100%); }
	to { transform: none; }
}

@keyframes cwt-slide-in-left {
	from { transform: translateX(-100%); }
	to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.cwt-cart__drawer[open] {
		animation: none;
	}
}

.cwt-cart__drawer .cwt-cart__panel {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow-y: auto;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

.cwt-cart__panel {
	box-sizing: border-box;
	padding: 20px;
	background: #fff;
	color: #111;
	text-align: left;
}

.cwt-cart__dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 1000;
	width: min(var(--cwt-cart-width), calc(100vw - 24px));
	margin-top: 8px;
}

.cwt-cart__dropdown .cwt-cart__panel {
	max-height: min(70vh, 640px);
	overflow-y: auto;
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.cwt-cart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.cwt-cart__title {
	margin: 0;
	font-size: 1.25em;
}

.cwt-cart__close {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.06);
	color: inherit;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.cwt-cart__close:focus-visible,
.cwt-cart__remove:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-cart__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	background: inherit;
}

.cwt-cart__items,
.cwt-cart__cross-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cwt-cart__item {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--cwt-line, rgba(0, 0, 0, 0.1));
}

.cwt-cart__item[aria-busy] {
	opacity: 0.5;
}

.cwt-cart__thumb:empty {
	width: 64px;
	height: 64px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.05);
}

.cwt-cart__thumb img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 4px;
}

.cwt-cart__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.cwt-cart__name {
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}

.cwt-cart__name:hover,
.cwt-cart__name:focus-visible {
	text-decoration: underline;
}

.cwt-cart__meta,
.cwt-cart__unit {
	font-size: 0.85em;
	opacity: 0.75;
}

.cwt-cart__qty {
	align-self: flex-start;
	margin-top: 4px;
}

.cwt-cart__qty input.qty {
	min-height: 32px;
}

.cwt-cart__qty .cwt-qty__btn {
	min-width: 30px;
}

.cwt-cart__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px;
}

.cwt-cart__line {
	font-weight: 600;
	white-space: nowrap;
}

.cwt-cart__remove {
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-size: 20px;
	line-height: 1;
	opacity: 0.6;
	cursor: pointer;
}

.cwt-cart__remove:hover {
	opacity: 1;
	background: rgba(0, 0, 0, 0.06);
}

.cwt-cart__empty {
	margin: 24px 0 12px;
}

.cwt-cart__continue {
	align-self: flex-start;
}

.cwt-cart__cross {
	margin-top: 18px;
}

.cwt-cart__subhead {
	margin: 0 0 8px;
	font-size: 1em;
}

.cwt-cart__cross-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
}

.cwt-cart__cross-item img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 4px;
}

.cwt-cart__cross-item .cwt-cart__info {
	flex: 1 1 auto;
}

.cwt-cart__cross-add {
	padding: 6px 12px;
	font-size: 0.85em;
}

.cwt-cart__foot {
	position: sticky;
	bottom: -20px;
	margin: auto -20px -20px;
	padding: 16px 20px 20px;
	border-top: 1px solid var(--cwt-line, rgba(0, 0, 0, 0.1));
	background: inherit;
}

.cwt-cart__subtotal {
	display: flex;
	justify-content: space-between;
	margin: 0 0 12px;
	font-size: 1.05em;
}

.cwt-cart__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.cwt-cart__actions .button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	text-align: center;
}

.cwt-cart__actions .button:only-child {
	grid-column: 1 / -1;
}

.cwt-cart__view {
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
}

.cwt-cart__checkout {
	border: 1px solid #111;
	background: #111;
	color: #fff;
}

/* ------------------------------------------------- Sticky bar */

.cwt-sticky {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 99990;
	background: #fff;
	color: #111;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
	transition: transform 0.25s ease, visibility 0.25s;
	visibility: hidden;
}

.cwt-sticky--bottom {
	bottom: 0;
	transform: translateY(110%);
}

.cwt-sticky--top {
	top: var(--cwt-sticky-top, 0);
	transform: translateY(-110%);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.admin-bar .cwt-sticky--top {
	top: calc(var(--cwt-sticky-top, 0px) + 32px);
}

.cwt-sticky.is-visible {
	transform: none;
	visibility: visible;
}

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

.cwt-sticky--preview {
	position: relative;
	visibility: visible;
	transform: none;
}

@media (max-width: 768px) {
	.cwt-sticky--desktop:not(.cwt-sticky--preview) {
		display: none;
	}
}

@media (min-width: 769px) {
	.cwt-sticky--mobile:not(.cwt-sticky--preview) {
		display: none;
	}
}

.cwt-sticky__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 16px;
	box-sizing: border-box;
}

.cwt-sticky__media img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 4px;
}

.cwt-sticky__info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.cwt-sticky__name {
	overflow: hidden;
	font-size: 0.9375rem;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cwt-sticky__price {
	font-size: 0.95em;
}

.cwt-sticky__action form.cart {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.cwt-sticky__action .single_add_to_cart_button {
	margin: 0;
	white-space: nowrap;
}

.cwt-sticky__action .is-added::after {
	content: " \2713";
}

@media (max-width: 600px) {
	.cwt-sticky__media {
		display: none;
	}

	.cwt-sticky__name {
		font-size: 0.9em;
	}
}

.cwt-sticky-anchor {
	height: 1px;
	margin-top: -1px;
	pointer-events: none;
}

/* ------------------------------------------------------- Swatches */

.cwt-swatch-field {
	position: relative;
}

.cwt-swatch-field select[data-cwt-swatch-select] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0 !important;
	opacity: 0;
	pointer-events: none;
}

.cwt-swatches {
	--cwt-sw: 32px;
	--cwt-sw-radius: 50%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.cwt-swatches--rounded {
	--cwt-sw-radius: 6px;
}

.cwt-swatches--square {
	--cwt-sw-radius: 0;
}

.cwt-swatches__chosen {
	flex-basis: 100%;
	order: -1;
	min-height: 1.2em;
	font-size: 0.9em;
	opacity: 0.8;
}

.cwt-swatch {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--cwt-sw);
	height: var(--cwt-sw);
	margin: 0;
	padding: 2px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: var(--cwt-sw-radius);
	background: #fff;
	color: #111;
	line-height: 1;
	cursor: pointer;
	box-sizing: border-box;
}

.cwt-swatch--button {
	padding: 0 12px;
	border-radius: min(var(--cwt-sw-radius), 6px);
	font-size: 0.9em;
}

.cwt-swatch__color,
.cwt-swatch__img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.cwt-swatch--color,
.cwt-swatch--image {
	width: var(--cwt-sw);
}

.cwt-swatch:hover {
	border-color: rgba(0, 0, 0, 0.6);
}

.cwt-swatch.is-selected,
.cwt-swatch[aria-pressed="true"] {
	border-color: #111;
	box-shadow: 0 0 0 1px #111;
}

.cwt-swatch--button.is-selected {
	background: #111;
	color: #fff;
}

.cwt-swatch:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-swatch.is-unavailable {
	cursor: not-allowed;
}

.cwt-swatches--na-fade .cwt-swatch.is-unavailable {
	opacity: 0.35;
}

.cwt-swatches--na-hide .cwt-swatch.is-unavailable {
	display: none;
}

.cwt-swatches--na-cross .cwt-swatch.is-unavailable {
	opacity: 0.5;
	overflow: hidden;
}

.cwt-swatches--na-cross .cwt-swatch.is-unavailable::after {
	content: "";
	position: absolute;
	top: 50%;
	left: -10%;
	width: 120%;
	height: 1px;
	background: currentColor;
	transform: rotate(-45deg);
}

.cwt-swatches--na-cross .cwt-swatch--button.is-unavailable::after {
	transform: rotate(-20deg);
}

/* WooCommerce variation table: let swatches use the full width. */
.variations .cwt-swatch-field {
	width: 100%;
}

.cwt-card__swatches {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	--cwt-sw-radius: 50%;
}

.cwt-card__swatches.cwt-swatches--rounded {
	--cwt-sw-radius: 4px;
}

.cwt-card__swatches.cwt-swatches--square {
	--cwt-sw-radius: 0;
}

.cwt-swatch--mini {
	width: 20px;
	min-width: 20px;
	height: 20px;
	padding: 1px;
}

.cwt-swatch__more {
	font-size: 0.8em;
	color: inherit;
	text-decoration: none;
}

/* ------------------------------------------- Frequently bought */

.cwt-fbt__heading {
	margin: 0 0 12px;
}

.cwt-fbt__images {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.cwt-fbt__image {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	transition: opacity 0.2s;
}

.cwt-fbt__image + .cwt-fbt__image::before {
	content: "+";
	font-size: 1.4em;
	opacity: 0.6;
}

.cwt-fbt__image img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 6px;
}

.cwt-fbt__image.is-off img {
	opacity: 0.35;
}

.cwt-fbt__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cwt-fbt__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0;
	padding: 8px 0;
	border-bottom: 1px solid var(--cwt-line, rgba(0, 0, 0, 0.1));
}

.cwt-fbt__item.is-off .cwt-fbt__name,
.cwt-fbt__item.is-off .cwt-fbt__price {
	opacity: 0.55;
}

.cwt-fbt__check {
	width: 18px;
	height: 18px;
	margin: 0;
}

.cwt-fbt__name {
	flex: 1 1 200px;
	margin: 0;
	cursor: pointer;
}

.cwt-fbt__this {
	font-weight: 600;
}

.cwt-fbt__link {
	font-size: 0.85em;
}

.cwt-fbt__variation {
	max-width: 100%;
}

.cwt-fbt__price {
	margin-left: auto;
	white-space: nowrap;
}

.cwt-fbt__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
}

.cwt-fbt__total {
	margin: 0;
	font-weight: 600;
}

.cwt-fbt__add:disabled {
	opacity: 0.5;
}

/* ------------------------------------------------- Quick order */

.cwt-qo__search {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
}

.cwt-qo__search input[type="search"] {
	flex: 1 1 auto;
	min-height: 40px;
}

.cwt-qo__count {
	margin: 0 0 8px;
	font-size: 0.9em;
	opacity: 0.8;
}

.cwt-qo[aria-busy="true"] tbody {
	opacity: 0.55;
}

.cwt-qo__scroll {
	overflow-x: auto;
}

.cwt-qo__table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

.cwt-qo__table:focus {
	outline: none;
}

.cwt-qo__table th,
.cwt-qo__table td {
	padding: 10px 8px;
	border-bottom: 1px solid var(--cwt-line, rgba(0, 0, 0, 0.1));
	text-align: left;
	vertical-align: middle;
}

.cwt-qo__table thead th {
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.cwt-qo__table tbody th {
	font-weight: 400;
}

.cwt-qo__img {
	width: 56px;
}

.cwt-qo__img img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 4px;
}

.cwt-qo__name a {
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}

.cwt-qo__name a:hover,
.cwt-qo__name a:focus-visible {
	text-decoration: underline;
}

.cwt-qo__meta {
	display: block;
	font-size: 0.85em;
	opacity: 0.75;
}

.cwt-qo__sku,
.cwt-qo__stock {
	font-size: 0.9em;
	white-space: nowrap;
}

.cwt-qo__stock .stock {
	margin: 0;
}

.cwt-qo__price {
	white-space: nowrap;
}

.cwt-qo__action {
	width: 1%;
	white-space: nowrap;
}

.cwt-qo__row.is-picked {
	background: rgba(47, 125, 50, 0.07);
}

.cwt-qo__bar {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	padding: 12px 0;
	background: inherit;
}

.cwt-qo__summary {
	flex: 1 1 auto;
	margin: 0;
	font-weight: 600;
}

.cwt-qo__add:disabled {
	opacity: 0.5;
}

@media (max-width: 640px) {
	.cwt-qo__table .cwt-qo__sku,
	.cwt-qo__table .cwt-qo__stock {
		display: none;
	}

	.cwt-qo__img {
		width: 40px;
	}

	.cwt-qo__img img {
		width: 36px;
		height: 36px;
	}
}

/* ------------------------------------------------------- Filters */

.cwt-flt {
	--cwt-accent: #111;
	--cwt-line: rgba(0, 0, 0, 0.12);
}

.cwt-flt__toggle {
	display: none;
	align-items: center;
	gap: 8px;
}

@media (max-width: 768px) {
	.cwt-flt--drawer .cwt-flt__toggle {
		display: inline-flex;
	}

	.cwt-flt--drawer > .cwt-flt__inline {
		display: none;
	}
}

.cwt-flt__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	margin-left: 6px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--cwt-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.cwt-flt__badge[hidden] {
	display: none;
}

.cwt-flt__heading {
	margin: 0 0 8px;
	font-weight: 700;
}

.cwt-flt__active {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.cwt-flt__active[hidden] {
	display: none;
}

.cwt-flt__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cwt-flt__chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border: 1px solid var(--cwt-accent);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.85em;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
}

.cwt-flt__chip:hover,
.cwt-flt__chip:focus-visible {
	background: var(--cwt-accent);
	color: #fff;
}

.cwt-flt__clear {
	font-size: 0.85em;
}

.cwt-flt__section {
	border-bottom: 1px solid var(--cwt-line);
}

.cwt-flt__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.cwt-flt__title::-webkit-details-marker {
	display: none;
}

.cwt-flt__title::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s;
}

.cwt-flt__section[open] > .cwt-flt__title::after {
	transform: rotate(-135deg);
}

.cwt-flt__title .cwt-flt__badge {
	margin: 0 10px 0 6px;
}

.cwt-flt__title:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-flt__fieldset {
	min-width: 0;
	margin: 0;
	padding: 0 0 12px;
	border: 0;
}

.cwt-flt__options {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cwt-flt__opt {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 4px 0 4px calc(var(--depth, 0) * 16px);
	cursor: pointer;
}

.cwt-flt__opt[hidden],
.cwt-flt__opt.is-over {
	display: none;
}

.cwt-flt__opt input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--cwt-accent);
}

.cwt-flt__opt.is-empty {
	opacity: 0.45;
	cursor: default;
}

.cwt-flt__count {
	margin-left: auto;
	font-size: 0.85em;
	opacity: 0.7;
}

.cwt-flt__stars {
	color: #e0a100;
	letter-spacing: 1px;
}

.cwt-flt__more {
	margin-top: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 0.85em;
	text-decoration: underline;
	cursor: pointer;
}

.cwt-flt__more[hidden] {
	display: none;
}

.cwt-flt__select {
	width: 100%;
	min-height: 40px;
}

/* Buttons and swatches: the input stays for keyboard and screen readers. */
.cwt-flt__options--buttons,
.cwt-flt__options--swatches {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 6px;
}

.cwt-flt__options--buttons .cwt-flt__opt,
.cwt-flt__options--swatches .cwt-flt__opt {
	position: relative;
	padding: 6px 10px;
	border: 1px solid var(--cwt-line);
	border-radius: 6px;
}

.cwt-flt__options--buttons input,
.cwt-flt__options--swatches input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.cwt-flt__options--buttons .cwt-flt__opt:has(input:checked),
.cwt-flt__options--swatches .cwt-flt__opt:has(input:checked) {
	border-color: var(--cwt-accent);
	box-shadow: 0 0 0 1px var(--cwt-accent);
}

.cwt-flt__options--buttons .cwt-flt__opt:has(input:focus-visible),
.cwt-flt__options--swatches .cwt-flt__opt:has(input:focus-visible) {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-flt__options--buttons .cwt-flt__count,
.cwt-flt__options--swatches .cwt-flt__count {
	margin-left: 4px;
}

.cwt-flt__swatch {
	display: inline-block;
	width: 22px;
	height: 22px;
	overflow: hidden;
	border-radius: 50%;
}

.cwt-flt__swatch .cwt-swatch__color,
.cwt-flt__swatch .cwt-swatch__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Price */

.cwt-flt__price {
	--lo: 0%;
	--hi: 100%;
}

.cwt-flt__range {
	position: relative;
	height: 28px;
	margin: 4px 9px 8px;
}

.cwt-flt__range::before,
.cwt-flt__range::after {
	content: "";
	position: absolute;
	top: 12px;
	height: 4px;
	border-radius: 2px;
}

.cwt-flt__range::before {
	left: 0;
	right: 0;
	background: var(--cwt-line);
}

.cwt-flt__range::after {
	left: var(--lo);
	right: calc(100% - var(--hi));
	background: var(--cwt-accent);
}

.cwt-flt__slider {
	position: absolute;
	inset: 0 -9px;
	z-index: 1;
	width: calc(100% + 18px);
	height: 28px;
	margin: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.cwt-flt__slider::-webkit-slider-runnable-track {
	background: none;
}

.cwt-flt__slider::-moz-range-track {
	background: none;
}

.cwt-flt__slider::-webkit-slider-thumb {
	width: 18px;
	height: 18px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--cwt-accent);
	box-shadow: 0 0 0 1px var(--cwt-accent);
	pointer-events: auto;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.cwt-flt__slider::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--cwt-accent);
	box-shadow: 0 0 0 1px var(--cwt-accent);
	pointer-events: auto;
	cursor: pointer;
}

.cwt-flt__price-inputs {
	display: flex;
	gap: 10px;
}

.cwt-flt__price-inputs label {
	display: flex;
	flex: 1 1 0;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	min-width: 0;
	font-size: 0.85em;
}

.cwt-flt__price-label {
	flex-basis: 100%;
	opacity: 0.75;
}

.cwt-flt__price-inputs input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: 36px;
}

.cwt-flt__actions {
	margin-top: 14px;
}

.cwt-flt__actions[hidden] {
	display: none;
}

.cwt-flt__apply {
	width: 100%;
}

/* Drawer */

.cwt-flt__drawer {
	position: fixed;
	inset: 0 auto 0 0;
	width: min(400px, 92vw);
	max-width: 92vw;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
}

.cwt-flt__drawer::backdrop {
	background: rgba(0, 0, 0, 0.45);
}

.cwt-flt__drawer[open] {
	animation: cwt-slide-in-left 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
	.cwt-flt__drawer[open] {
		animation: none;
	}
}

.cwt-flt__drawer-panel {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	color: #111;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

.cwt-flt__drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px 8px;
}

.cwt-flt__drawer-title {
	margin: 0;
	font-size: 1.2em;
}

.cwt-flt__drawer-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 0 20px;
}

.cwt-flt__drawer-body .cwt-flt__heading {
	display: none;
}

.cwt-flt__drawer-foot {
	padding: 12px 20px 20px;
	border-top: 1px solid var(--cwt-line);
}

.cwt-flt__show {
	width: 100%;
}

/* -------------------------------------------------------- Search */

.cwt-search {
	position: relative;
	width: 100%;
}

.cwt-search__form {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin: 0;
}

.cwt-search__cat {
	max-width: 40%;
	min-height: 42px;
	border-right: 0;
	border-radius: 4px 0 0 4px;
}

.cwt-search__field {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.cwt-search__input {
	width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 0 40px 0 12px;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 4px;
	box-sizing: border-box;
}

.cwt-search__form > .cwt-search__cat + .cwt-search__field .cwt-search__input {
	border-radius: 0;
}

.cwt-search__field:has(+ input + .cwt-search__submit) .cwt-search__input {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.cwt-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 46px;
	margin: 0;
	border-radius: 0 4px 4px 0;
}

.cwt-search__spinner {
	position: absolute;
	top: 50%;
	right: 12px;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	border: 2px solid rgba(0, 0, 0, 0.15);
	border-top-color: currentColor;
	border-radius: 50%;
	opacity: 0;
	animation: cwt-spin 0.8s linear infinite;
	pointer-events: none;
}

.cwt-search.is-loading .cwt-search__spinner {
	opacity: 1;
}

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

@media (prefers-reduced-motion: reduce) {
	.cwt-search__spinner {
		animation-duration: 2s;
	}
}

.cwt-search__panel {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 1000;
	max-height: min(70vh, 520px);
	overflow-y: auto;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	background: #fff;
	color: #111;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.cwt-search__panel[hidden] {
	display: none;
}

.cwt-search__list {
	margin: 0;
	padding: 6px 0;
	list-style: none;
}

.cwt-search__opt {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 12px;
	cursor: pointer;
}

.cwt-search__opt[aria-selected="true"] {
	background: rgba(0, 0, 0, 0.06);
	outline: 2px solid transparent;
	box-shadow: inset 3px 0 0 currentColor;
}

.cwt-search__opt img {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 4px;
}

.cwt-search__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.cwt-search__name {
	overflow: hidden;
	text-overflow: ellipsis;
}

.cwt-search__meta,
.cwt-search__label {
	font-size: 0.8em;
	opacity: 0.7;
}

.cwt-search__label {
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cwt-search__price {
	white-space: nowrap;
	font-size: 0.9em;
}

.cwt-search__opt--all {
	justify-content: center;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	font-weight: 600;
}

.cwt-search__none {
	padding: 12px;
	opacity: 0.75;
}

/* ------------------------------------------- Wishlist / compare */

.cwt-list-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 6px;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	line-height: 1;
	cursor: pointer;
}

.cwt-list-btn--text {
	padding: 6px 0;
}

.cwt-list-btn__icon {
	flex: 0 0 auto;
}

.cwt-list-btn--wishlist .cwt-list-btn__icon {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.cwt-list-btn--wishlist[aria-pressed="true"] {
	color: #c62828;
}

.cwt-list-btn--wishlist[aria-pressed="true"] .cwt-list-btn__icon {
	fill: currentColor;
}

.cwt-list-btn--compare[aria-pressed="true"] {
	font-weight: 600;
}

.cwt-list-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 4px;
}

.cwt-card__wish {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 3;
}

.cwt-card__wish .cwt-list-btn {
	width: 36px;
	height: 36px;
	justify-content: center;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.cwt-card__actions .cwt-list-btn--compare {
	font-size: 0.85em;
}

.cwt-qv__lists {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 8px 0;
}

.cwt-list-count {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 4px 6px;
	color: inherit;
	text-decoration: none;
}

.cwt-list-count__n {
	position: absolute;
	top: -2px;
	left: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.cwt-list-count.is-empty .cwt-list-count__n {
	display: none;
}

.cwt-list-count:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 4px;
}

/* Wishlist page */

.cwt-wl__shared,
.cwt-wl__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 16px;
}

.cwt-wl__shared {
	padding: 12px 16px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.04);
}

.cwt-wl__shared[hidden],
.cwt-wl__bar[hidden],
.cwt-wl__empty[hidden] {
	display: none;
}

.cwt-wl__shared p,
.cwt-wl__count {
	margin: 0;
}

.cwt-wl__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cwt-wl[aria-busy="true"] .cwt-grid__list {
	opacity: 0.55;
}

/* Compare page */

.cwt-cmp__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.cwt-cmp__bar[hidden],
.cwt-cmp__empty[hidden] {
	display: none;
}

.cwt-cmp__actions {
	display: flex;
	gap: 8px;
}

.cwt-cmp__scroll {
	overflow-x: auto;
}

.cwt-cmp__scroll:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-cmp__table {
	width: 100%;
	min-width: calc(160px + var(--cwt-cmp-cols, 2) * 200px);
	margin: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.cwt-cmp__table th,
.cwt-cmp__table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--cwt-line, rgba(0, 0, 0, 0.1));
	text-align: left;
	vertical-align: top;
}

.cwt-cmp__table thead th,
.cwt-cmp__corner {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #fff;
}

.cwt-cmp__corner {
	width: 160px;
}

.cwt-cmp__label {
	position: sticky;
	left: 0;
	z-index: 1;
	width: 160px;
	background: #fafafa;
	font-weight: 600;
}

.cwt-cmp__product {
	position: relative;
	font-weight: 400;
}

.cwt-cmp__media img {
	display: block;
	width: 100%;
	max-width: 180px;
	height: auto;
	margin-bottom: 8px;
	border-radius: 6px;
}

.cwt-cmp__name {
	display: block;
	margin-bottom: 4px;
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}

.cwt-cmp__price {
	display: block;
	margin-bottom: 8px;
}

.cwt-cmp__remove {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
	color: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.cwt-cmp__remove:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-cmp__muted {
	opacity: 0.6;
}

.cwt-cmp__table .star-rating {
	float: none;
	display: inline-block;
}

.only-diff .cwt-cmp__row.is-same {
	display: none;
}

.cwt-cmp__hint {
	margin: 0 0 10px;
	padding: 10px 12px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.04);
}

/* Floating compare bar */

.cwt-cmpbar {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 99980;
	background: #fff;
	color: #111;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
}

.cwt-cmpbar[hidden] {
	display: none;
}

.cwt-cmpbar--bottom {
	bottom: 0;
}

.cwt-cmpbar--top {
	top: 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.admin-bar .cwt-cmpbar--top {
	top: 32px;
}

/* Keep the sticky add to cart bar above the compare bar when both show. */
.cwt-has-cmpbar .cwt-sticky--bottom.is-visible {
	bottom: 72px;
}

.cwt-cmpbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 16px;
}

.cwt-cmpbar__items {
	display: flex;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
}

.cwt-cmpbar__item {
	position: relative;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	max-width: 220px;
	margin: 0;
	padding-right: 28px;
}

.cwt-cmpbar__item img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 4px;
}

.cwt-cmpbar__name {
	overflow: hidden;
	font-size: 0.85em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cwt-cmpbar__remove {
	position: absolute;
	top: 50%;
	right: 0;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.06);
	color: inherit;
	line-height: 1;
	cursor: pointer;
}

.cwt-cmpbar__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
}

.cwt-cmpbar__clear {
	padding: 6px;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.cwt-cmpbar__go.is-disabled {
	opacity: 0.6;
}

@media (max-width: 600px) {
	.cwt-cmpbar__name {
		display: none;
	}

	.cwt-cmpbar__item {
		padding-right: 0;
	}

	.cwt-cmpbar__remove {
		top: -6px;
		right: -6px;
		margin: 0;
		width: 22px;
		height: 22px;
		background: #fff;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	}
}

/* Room for the floating compare bar so it never covers the footer. */
html.cwt-has-cmpbar body {
	padding-bottom: 72px;
}

/* ------------------------------------------------ Reviews Showcase */

.cwt-reviews {
	--cwt-c: 3;
	--cwt-gap: 20px;
	--cwt-line: rgba(0, 0, 0, 0.12);
	--cwt-muted: rgba(0, 0, 0, 0.6);
	--cwt-star: #e0a100;
}

@media (max-width: 992px) {
	.cwt-reviews {
		--cwt-c: 2;
	}
}

@media (max-width: 600px) {
	.cwt-reviews {
		--cwt-c: 1;
		--cwt-gap: 14px;
	}
}

.cwt-stars {
	position: relative;
	display: inline-block;
	color: var(--cwt-star, #e0a100);
	line-height: 1;
	white-space: nowrap;
}

.cwt-stars::before,
.cwt-stars__fill::before {
	content: "\2605\2605\2605\2605\2605";
	letter-spacing: 0.08em;
}

.cwt-stars::before {
	opacity: 0.25;
}

.cwt-stars__fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	overflow: hidden;
}

.cwt-reviews__heading {
	margin: 0 0 12px;
}

.cwt-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
	margin-bottom: 20px;
}

.cwt-reviews__score {
	display: grid;
	gap: 4px;
	justify-items: start;
}

.cwt-reviews__avg {
	font-size: 2.4em;
	font-weight: 700;
	line-height: 1;
}

.cwt-reviews__score .cwt-stars {
	font-size: 1.25em;
}

.cwt-reviews__total {
	color: var(--cwt-muted);
	font-size: 0.9em;
}

.cwt-reviews__bars {
	flex: 1 1 220px;
	max-width: 360px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cwt-reviews__bar {
	display: grid;
	grid-template-columns: 3em 1fr 3em;
	align-items: center;
	gap: 8px;
	font-size: 0.85em;
	line-height: 1.8;
}

.cwt-reviews__bar-track {
	height: 8px;
	border-radius: 99px;
	background: var(--cwt-line);
	overflow: hidden;
}

.cwt-reviews__bar-fill {
	display: block;
	height: 100%;
	background: var(--cwt-star);
}

.cwt-reviews__bar-count {
	color: var(--cwt-muted);
	text-align: right;
}

.cwt-reviews__list {
	display: grid;
	grid-template-columns: repeat(var(--cwt-c), minmax(0, 1fr));
	gap: var(--cwt-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.cwt-reviews--list .cwt-reviews__list {
	grid-template-columns: minmax(0, 1fr);
}

.cwt-reviews .cwt-reviews__list.cwt-track {
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--cwt-c) - 1) * var(--cwt-gap)) / var(--cwt-c));
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.cwt-review {
	margin: 0;
	padding: 20px;
	border: 1px solid var(--cwt-line);
	border-radius: 8px;
}

.cwt-review__inner {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
}

.cwt-review__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
}

.cwt-review__date {
	color: var(--cwt-muted);
	font-size: 0.85em;
}

.cwt-review__text > :first-child {
	margin-top: 0;
}

.cwt-review__text > :last-child {
	margin-bottom: 0;
}

.cwt-review__text[data-cwt-clamp] {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--cwt-clamp, 5);
	overflow: hidden;
}

.cwt-review__text.is-open {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.cwt-review__more {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 0.9em;
	text-decoration: underline;
	cursor: pointer;
}

.cwt-review__more:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-review__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-top: auto;
	font-size: 0.9em;
}

.cwt-review__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.cwt-review__author {
	font-weight: 600;
}

.cwt-review__verified {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: #1a7f37;
	font-size: 0.9em;
}

.cwt-review__product {
	margin: 0;
	color: var(--cwt-muted);
	font-size: 0.85em;
}

.cwt-reviews__all {
	margin: 16px 0 0;
}

/* ------------------------------------------------------ Specs table */

.cwt-specs {
	--cwt-specs-label: 35%;
	--cwt-specs-stripe: rgba(0, 0, 0, 0.035);
	--cwt-specs-line: rgba(0, 0, 0, 0.1);
}

.cwt-specs__heading {
	margin: 0 0 12px;
}

.cwt-specs__group + .cwt-specs__group {
	margin-top: 20px;
}

.cwt-specs__group-title {
	margin: 0 0 8px;
	font-size: 1.05em;
}

.cwt-specs__list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--cwt-specs-line);
}

.cwt-specs__row {
	display: grid;
	grid-template-columns: minmax(min-content, var(--cwt-specs-label)) minmax(0, 1fr);
	gap: 4px 16px;
	padding: 10px 12px;
	border-bottom: 1px solid var(--cwt-specs-line);
}

.cwt-specs--striped .cwt-specs__row:nth-child(odd) {
	background: var(--cwt-specs-stripe);
}

.cwt-specs__label {
	margin: 0;
	font-weight: 600;
}

.cwt-specs__value {
	margin: 0;
	overflow-wrap: anywhere;
}

.cwt-specs--stacked .cwt-specs__row {
	grid-template-columns: minmax(0, 1fr);
}

.cwt-specs--columns .cwt-specs__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px;
	border-top: 0;
}

.cwt-specs--columns .cwt-specs__row {
	border-top: 0;
}

.cwt-specs--columns.cwt-specs--striped .cwt-specs__row:nth-child(odd) {
	background: none;
}

.cwt-specs--columns.cwt-specs--striped .cwt-specs__row:nth-child(4n + 1),
.cwt-specs--columns.cwt-specs--striped .cwt-specs__row:nth-child(4n + 2) {
	background: var(--cwt-specs-stripe);
}

@media (max-width: 600px) {
	.cwt-specs--columns .cwt-specs__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.cwt-specs__row {
		grid-template-columns: minmax(min-content, 40%) minmax(0, 1fr);
	}

	.cwt-specs--stacked .cwt-specs__row {
		grid-template-columns: minmax(0, 1fr);
	}
}

.cwt-specs.is-collapsed .cwt-specs__extra {
	display: none;
}

.cwt-specs__extra:focus {
	outline: none;
}

.cwt-specs__toggle {
	margin-top: 12px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.cwt-specs__toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* ------------------------------------------------------- Size guide */

.cwt-sg__trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

.cwt-sg--link .cwt-sg__trigger {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

summary.cwt-sg__trigger {
	list-style: none;
}

summary.cwt-sg__trigger::-webkit-details-marker {
	display: none;
}

.cwt-sg__trigger:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-sg[open] > .cwt-sg__panel {
	margin-top: 12px;
}

.cwt-sg__title {
	margin: 0 48px 16px 0;
	font-size: 1.4em;
}

.cwt-sg__title:focus {
	outline: none;
}

.cwt-sg__content {
	overflow-x: auto;
}

.cwt-sg__content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}

.cwt-sg__content th,
.cwt-sg__content td {
	padding: 8px 10px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	text-align: left;
}

.cwt-sg__content th {
	background: rgba(0, 0, 0, 0.04);
}

.cwt-sg-dialog {
	width: min(820px, calc(100vw - 32px));
}

/* -------------------------------------------------- Dispatch countdown */

.cwt-dispatch {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.cwt-dispatch__icon {
	flex: none;
	margin-top: 0.1em;
	color: #1a7f37;
}

.cwt-dispatch__text p {
	margin: 0;
}

.cwt-dispatch__main {
	font-weight: 600;
}

.cwt-dispatch__delivery {
	opacity: 0.8;
	font-size: 0.92em;
}

/* ---------------------------------------------------- Catalog mode */

.cwt-catalog-cta {
	margin: 0 0 1.5em;
}

/* Visitors who cannot buy anything do not need basket widgets. */
body.cwt-catalog-blocked .cwt-cart,
body.cwt-catalog-blocked .cwt-ship,
body.cwt-catalog-blocked .cwt-sticky {
	display: none !important;
}

/* ------------------------------------------- Product page modules */

.cwt-pp > :first-child {
	margin-top: 0;
}

.cwt-pp > :last-child {
	margin-bottom: 0;
}

.cwt-pp__title {
	margin: 0;
}

.cwt-pp__title a {
	color: inherit;
	text-decoration: none;
}

.cwt-pp__price {
	margin: 0;
}

.cwt-pp__price del {
	opacity: 0.6;
	font-size: 0.8em;
}

.cwt-pp__price ins {
	text-decoration: none;
	background: none;
}

.cwt-pp__price--stacked del {
	display: block;
}

.cwt-pp__price--sale_only del {
	display: none;
}

.cwt-pp__price-prefix,
.cwt-pp__price-suffix {
	font-size: 0.75em;
	opacity: 0.8;
}

.cwt-pp__meta--stacked .cwt-pp__meta-item {
	display: block;
}

.cwt-pp__meta--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
}

.cwt-pp__meta-label {
	font-weight: 600;
}

.cwt-pp__rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.cwt-pp__rating-link {
	color: inherit;
	font-size: 0.9em;
}

.cwt-pp__stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 600;
}

.cwt-pp__stock.is-in { color: #1a7f37; }
.cwt-pp__stock.is-low { color: #b35900; }
.cwt-pp__stock.is-backorder { color: #8a6100; }
.cwt-pp__stock.is-out { color: #b3261e; }

.cwt-pp__stock-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent);
}

.cwt-pp__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.cwt-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 99px;
	background: #b3261e;
	color: #fff;
	font-size: 0.8em;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.cwt-badge--out { background: #3c4043; }
.cwt-badge--new { background: #1a5fb4; }
.cwt-badge.is-preview { opacity: 0.6; }

.cwt-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	font-size: 0.9em;
}

.cwt-crumbs a {
	color: inherit;
}

.cwt-crumbs__sep {
	opacity: 0.55;
}

.cwt-notices:empty {
	display: none;
}

.cwt-field__label {
	margin: 0 0 6px;
}

.cwt-field--inline .cwt-field__label {
	font-weight: 600;
	margin: 0 6px 0 0;
}

.cwt-field__list {
	margin: 0;
	padding-left: 1.2em;
}

.cwt-field__img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ----------------------------------------------------------- Tabs */

.cwt-tabs {
	--cwt-tabs-line: rgba(0, 0, 0, 0.12);
	--cwt-tabs-indicator: currentColor;
}

.cwt-tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 4px;
	border-bottom: 1px solid var(--cwt-tabs-line);
}

.cwt-tabs__list[hidden],
.cwt-tabs__panel[hidden] {
	display: none;
}

.cwt-tabs__tab {
	position: relative;
	margin: 0;
	padding: 12px 18px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	opacity: 0.65;
	cursor: pointer;
}

.cwt-tabs__tab:hover {
	opacity: 1;
}

.cwt-tabs__tab[aria-selected="true"] {
	opacity: 1;
}

.cwt-tabs__tab[aria-selected="true"]::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 3px;
	background: var(--cwt-tabs-indicator);
}

.cwt-tabs__tab:focus-visible,
.cwt-tabs__toggle:focus-visible,
.cwt-tabs__panel:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-tabs__content {
	padding: 20px 0;
}

.cwt-tabs__content > :first-child {
	margin-top: 0;
}

.cwt-tabs__content > :last-child {
	margin-bottom: 0;
}

.cwt-tabs__heading {
	margin: 0;
	font-size: 1em;
}

/* Tabs mode hides the accordion headings; without JS both read as sections. */
.cwt-tabs.is-tabs .cwt-tabs__heading {
	display: none;
}

.cwt-tabs__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 14px 4px;
	border: 0;
	border-bottom: 1px solid var(--cwt-tabs-line);
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.cwt-tabs:not(.is-accordion) .cwt-tabs__toggle {
	cursor: default;
}

.cwt-tabs:not(.is-accordion) .cwt-tabs__chev {
	display: none;
}

.cwt-tabs__chev {
	width: 8px;
	height: 8px;
	margin: 0 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.15s;
}

.cwt-tabs__item.is-open .cwt-tabs__chev {
	transform: rotate(-135deg) translateY(-2px);
}

.cwt-tabs.is-accordion .cwt-tabs__content {
	padding: 14px 4px 20px;
}

.cwt-tabs--vertical.is-tabs {
	display: flex;
	align-items: flex-start;
	gap: 28px;
}

.cwt-tabs--vertical.is-tabs .cwt-tabs__list {
	flex: 0 0 220px;
	flex-direction: column;
	gap: 2px;
	border-bottom: 0;
	border-right: 1px solid var(--cwt-tabs-line);
}

.cwt-tabs--vertical.is-tabs .cwt-tabs__tab {
	text-align: left;
}

.cwt-tabs--vertical.is-tabs .cwt-tabs__tab[aria-selected="true"]::after {
	top: 0;
	right: -1px;
	bottom: 0;
	left: auto;
	width: 3px;
	height: auto;
}

.cwt-tabs--vertical.is-tabs .cwt-tabs__panels {
	flex: 1;
	min-width: 0;
}

.cwt-tabs--vertical.is-tabs .cwt-tabs__content {
	padding-top: 6px;
}

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

/* -------------------------------------------------------- Gallery */

.cwt-gallery {
	--cwt-gallery-radius: 8px;
	--cwt-gallery-gap: 10px;
	--cwt-thumbs: 5;
	display: grid;
	gap: var(--cwt-gallery-gap);
}

.cwt-gallery--thumbs-left {
	grid-template-columns: minmax(56px, 14%) minmax(0, 1fr);
}

.cwt-gallery--thumbs-left .cwt-gallery__stage {
	order: 2;
}

.cwt-gallery__stage {
	position: relative;
	min-width: 0;
}

.cwt-gallery__track {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	border-radius: var(--cwt-gallery-radius);
}

.cwt-gallery__track::-webkit-scrollbar {
	display: none;
}

.cwt-gallery__slide {
	position: relative;
	flex: 0 0 100%;
	margin: 0;
	overflow: hidden;
	scroll-snap-align: start;
}

.cwt-gallery__link {
	display: block;
	cursor: zoom-in;
}

.cwt-gallery__img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.2s ease-out;
}

.cwt-gallery--ratio-1-1 .cwt-gallery__img { aspect-ratio: 1 / 1; object-fit: cover; }
.cwt-gallery--ratio-4-3 .cwt-gallery__img { aspect-ratio: 4 / 3; object-fit: cover; }
.cwt-gallery--ratio-3-4 .cwt-gallery__img { aspect-ratio: 3 / 4; object-fit: cover; }
.cwt-gallery--ratio-16-9 .cwt-gallery__img { aspect-ratio: 16 / 9; object-fit: cover; }

.cwt-gallery__slide.is-zoomed .cwt-gallery__img {
	transform: scale(1.8);
}

.cwt-gallery__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
}

.cwt-gallery__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	color: #111;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.cwt-gallery__arrow[hidden] {
	display: none;
}

.cwt-gallery__arrow:disabled {
	opacity: 0;
	pointer-events: none;
}

.cwt-gallery__arrow--prev { left: 10px; }
.cwt-gallery__arrow--next { right: 10px; }

.cwt-gallery__arrow:focus-visible,
.cwt-gallery__thumb:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-gallery__thumbs {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--cwt-thumbs) - 1) * var(--cwt-gallery-gap)) / var(--cwt-thumbs));
	gap: var(--cwt-gallery-gap);
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: thin;
}

.cwt-gallery--thumbs-left .cwt-gallery__thumbs {
	grid-auto-flow: row;
	grid-auto-columns: auto;
	align-content: start;
	max-height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
}

.cwt-gallery__thumbs li {
	margin: 0;
}

.cwt-gallery__thumb {
	display: block;
	width: 100%;
	padding: 0;
	border: 2px solid transparent;
	border-radius: calc(var(--cwt-gallery-radius) * 0.75);
	background: none;
	overflow: hidden;
	opacity: 0.7;
	cursor: pointer;
}

.cwt-gallery__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.cwt-gallery__thumb.is-active,
.cwt-gallery__thumb[aria-pressed="true"] {
	border-color: currentColor;
	opacity: 1;
}

@media (max-width: 600px) {
	.cwt-gallery--thumbs-left {
		grid-template-columns: minmax(0, 1fr);
	}

	.cwt-gallery--thumbs-left .cwt-gallery__stage {
		order: 0;
	}

	.cwt-gallery--thumbs-left .cwt-gallery__thumbs {
		grid-auto-flow: column;
		grid-auto-columns: calc((100% - 4 * var(--cwt-gallery-gap)) / 5);
		overflow-x: auto;
		overflow-y: hidden;
	}
}

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

/* Lightbox */

.cwt-dialog--lightbox {
	width: min(1200px, calc(100vw - 24px));
	background: #111;
	color: #fff;
}

.cwt-dialog--lightbox .cwt-dialog__panel {
	padding: 0;
}

.cwt-dialog--lightbox .cwt-dialog__close {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

.cwt-lightbox {
	position: relative;
}

.cwt-lightbox__figure {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	min-height: 50vh;
}

.cwt-lightbox__figure img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 80px);
	object-fit: contain;
}

.cwt-lightbox__nav {
	position: absolute;
	top: 50%;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.cwt-lightbox__nav--prev { left: 12px; }
.cwt-lightbox__nav--next { right: 12px; }

.cwt-lightbox__nav:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.cwt-lightbox__count {
	position: absolute;
	bottom: 10px;
	left: 0;
	right: 0;
	margin: 0;
	text-align: center;
	font-size: 13px;
	opacity: 0.8;
}

/* ======================================================================
 * Cart page, Checkout, My Account and Thank You modules.
 * They wrap WooCommerce's own markup, so selectors use WooCommerce's
 * classes. Widths respond to the module's own width (container queries),
 * so they work in any column.
 * ==================================================================== */

.cwt-sp {
	--cwt-sp-gap: 32px;
	--cwt-sp-sticky: 20px;
	--cwt-sp-nav: 240px;
	--cwt-sp-thumb: 72px;
	--cwt-sp-line: rgba(0, 0, 0, 0.12);
	container-type: inline-size;
	container-name: cwt-sp;
}

.cwt-sp__heading {
	margin: 0 0 0.75em;
}

.cwt-sp .woocommerce-notices-wrapper:empty {
	display: none;
}

/* ------------------------------------------------------------- Cart */

.cwt-sp--cart .product-thumbnail img {
	width: var(--cwt-sp-thumb);
	max-width: none;
	height: auto;
}

.cwt-sp--cart .cart-collaterals .cart_totals {
	float: none;
	width: auto;
}

.cwt-sp--cart .cart-collaterals .cross-sells {
	float: none;
	width: auto;
}

.cwt-sp--cart > .woocommerce > .cross-sells {
	margin-top: var(--cwt-sp-gap);
}

.cwt-sp--no-update .woocommerce-cart-form button[name="update_cart"]:disabled {
	display: none;
}

@container cwt-sp (min-width: 860px) {
	.cwt-sp--totals-side > .woocommerce {
		display: grid;
		grid-template-columns: minmax(0, 1fr) var(--cwt-sp-aside, 360px);
		column-gap: var(--cwt-sp-gap);
		align-items: start;
	}

	.cwt-sp--totals-side > .woocommerce > * {
		grid-column: 1 / -1;
	}

	.cwt-sp--totals-side > .woocommerce > .woocommerce-cart-form {
		grid-column: 1;
	}

	.cwt-sp--totals-side > .woocommerce > .cart-collaterals {
		grid-column: 2;
		grid-row: span 2;
	}

	.cwt-sp--totals-side.cwt-sp--sticky > .woocommerce > .cart-collaterals {
		position: sticky;
		top: var(--cwt-sp-sticky);
	}
}

@container cwt-sp (max-width: 640px) {
	.cwt-sp--mobile-cards table.shop_table.cart thead {
		display: none;
	}

	.cwt-sp--mobile-cards table.shop_table.cart,
	.cwt-sp--mobile-cards table.shop_table.cart tbody {
		display: block;
		width: 100%;
	}

	.cwt-sp--mobile-cards table.shop_table.cart tr.cart_item {
		position: relative;
		display: grid;
		grid-template-columns: var(--cwt-sp-thumb) minmax(0, 1fr);
		column-gap: 12px;
		padding: 12px 36px 12px 12px;
		border-bottom: 1px solid var(--cwt-sp-line);
	}

	.cwt-sp--mobile-cards table.shop_table.cart tr.cart_item td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 8px;
		grid-column: 2;
		padding: 2px 0;
		border: 0;
		background: none;
		text-align: left;
	}

	.cwt-sp--mobile-cards table.shop_table.cart tr.cart_item td::before {
		display: none;
	}

	.cwt-sp--mobile-cards table.shop_table.cart tr.cart_item td.product-price::before,
	.cwt-sp--mobile-cards table.shop_table.cart tr.cart_item td.product-quantity::before,
	.cwt-sp--mobile-cards table.shop_table.cart tr.cart_item td.product-subtotal::before {
		display: inline;
		float: none;
		content: attr(data-title);
		opacity: 0.7;
		font-weight: normal;
	}

	.cwt-sp--mobile-cards table.shop_table.cart tr.cart_item td.product-thumbnail {
		display: block;
		grid-column: 1;
		grid-row: 1 / span 4;
	}

	.cwt-sp--mobile-cards table.shop_table.cart tr.cart_item td.product-name {
		font-weight: 600;
	}

	.cwt-sp--mobile-cards table.shop_table.cart tr.cart_item td.product-remove {
		position: absolute;
		top: 8px;
		right: 8px;
		padding: 0;
	}

	.cwt-sp--mobile-cards table.shop_table.cart td.actions {
		display: block;
		padding: 12px 0;
		border: 0;
	}

	.cwt-sp--mobile-cards table.shop_table.cart td.actions .coupon {
		display: flex;
		gap: 8px;
		margin-bottom: 8px;
		float: none;
	}

	.cwt-sp--mobile-cards table.shop_table.cart td.actions .coupon .input-text {
		flex: 1 1 auto;
		width: auto;
	}

	.cwt-sp--mobile-cards table.shop_table.cart td.actions > .button {
		width: 100%;
	}
}

/* --------------------------------------------------------- Checkout */

.cwt-sp--checkout #customer_details.col2-set .col-1,
.cwt-sp--checkout #customer_details.col2-set .col-2 {
	float: none;
	width: auto;
}

.cwt-sp--checkout #order_review_heading,
.cwt-sp--checkout #order_review {
	float: none;
	width: auto;
}

@container cwt-sp (min-width: 860px) {
	.cwt-sp--layout-two form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) var(--cwt-sp-aside, 40%);
		grid-auto-flow: row dense;
		column-gap: var(--cwt-sp-gap);
		align-items: start;
	}

	.cwt-sp--layout-two form.checkout > * {
		grid-column: 1 / -1;
	}

	.cwt-sp--layout-two form.checkout > #customer_details {
		grid-column: 1;
		grid-row: span 2;
	}

	.cwt-sp--layout-two form.checkout > #order_review_heading,
	.cwt-sp--layout-two form.checkout > #order_review {
		grid-column: 2;
	}

	.cwt-sp--layout-two form.checkout > #order_review_heading {
		margin-top: 0;
	}

	.cwt-sp--layout-two.cwt-sp--sticky form.checkout > #order_review {
		position: sticky;
		top: var(--cwt-sp-sticky);
	}

	/* Steps: on the payment step the order and payment take the full width. */
	.cwt-sp--layout-two form.checkout[data-cwt-step="3"] > #order_review_heading,
	.cwt-sp--layout-two form.checkout[data-cwt-step="3"] > #order_review {
		grid-column: 1 / -1;
	}
}

/* Steps */

.cwt-steps {
	margin: 0 0 var(--cwt-sp-gap);
}

.cwt-steps__list {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.cwt-steps__item {
	flex: 1 1 0;
	margin: 0;
	border-bottom: 3px solid var(--cwt-sp-step, var(--cwt-sp-line));
	color: var(--cwt-sp-step, inherit);
	opacity: 0.7;
}

.cwt-steps__item.is-current {
	border-color: var(--cwt-sp-step-active, currentColor);
	color: var(--cwt-sp-step-active, inherit);
	opacity: 1;
}

.cwt-steps__item.is-done {
	border-color: var(--cwt-sp-step-done, currentColor);
	color: var(--cwt-sp-step-done, inherit);
	opacity: 1;
}

.cwt-steps__link {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 8px 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.cwt-steps__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.cwt-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.8em;
	height: 1.8em;
	border: 2px solid currentColor;
	border-radius: 50%;
	font-size: 0.85em;
	font-weight: 700;
}

.cwt-steps__item.is-current .cwt-steps__num {
	border-color: var(--cwt-sp-step-active, #111);
	background: var(--cwt-sp-step-active, #111);
	color: #fff;
}

.cwt-steps__item.is-done .cwt-steps__num {
	border-color: var(--cwt-sp-step-done, #111);
	background: var(--cwt-sp-step-done, #111);
	color: #fff;
}

.cwt-steps__actions {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
}

.cwt-steps__actions .cwt-steps__next {
	margin-left: auto;
}

form.cwt-steps-on[data-cwt-step]:not([data-cwt-step="1"]) [data-cwt-step-part="1"],
form.cwt-steps-on[data-cwt-step]:not([data-cwt-step="2"]) [data-cwt-step-part="2"],
form.cwt-steps-on[data-cwt-step]:not([data-cwt-step="3"]) [data-cwt-step-part="3"],
form.cwt-steps-on [data-cwt-step-part="none"],
form.cwt-steps-on[data-cwt-step]:not([data-cwt-step="3"]) #payment {
	display: none;
}

form.cwt-steps-on[data-cwt-step="3"] > #customer_details {
	display: none;
}

/* One column: the order review is part of the payment step. */
.cwt-sp--layout-one form.cwt-steps-on[data-cwt-step]:not([data-cwt-step="3"]) > #order_review_heading,
.cwt-sp--layout-one form.cwt-steps-on[data-cwt-step]:not([data-cwt-step="3"]) > #order_review {
	display: none;
}

@container cwt-sp (max-width: 859px) {
	.cwt-sp--layout-two form.cwt-steps-on[data-cwt-step]:not([data-cwt-step="3"]) > #order_review_heading,
	.cwt-sp--layout-two form.cwt-steps-on[data-cwt-step]:not([data-cwt-step="3"]) > #order_review {
		display: none;
	}
}

@container cwt-sp (max-width: 520px) {
	.cwt-steps__name {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.cwt-steps__item.is-current .cwt-steps__name {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
	}
}

/* ------------------------------------------------------- My Account */

.cwt-sp--account .woocommerce-MyAccount-navigation,
.cwt-sp--account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
}

.cwt-sp--account .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cwt-sp--account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
}

.cwt-sp--account .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	text-decoration: none;
	color: inherit;
}

.cwt-sp--account .woocommerce-MyAccount-navigation li.is-active a {
	font-weight: 600;
	background-color: rgba(0, 0, 0, 0.05);
}

@container cwt-sp (min-width: 720px) {
	.cwt-sp--nav-left > .woocommerce,
	.cwt-sp--nav-right > .woocommerce {
		display: grid;
		grid-template-columns: var(--cwt-sp-nav) minmax(0, 1fr);
		gap: var(--cwt-sp-gap);
		align-items: start;
	}

	.cwt-sp--nav-right > .woocommerce {
		grid-template-columns: minmax(0, 1fr) var(--cwt-sp-nav);
	}

	.cwt-sp--nav-left > .woocommerce > *,
	.cwt-sp--nav-right > .woocommerce > * {
		grid-column: 1 / -1;
	}

	.cwt-sp--nav-left > .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; }
	.cwt-sp--nav-left > .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; }
	.cwt-sp--nav-right > .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 2; grid-row: 1; }
	.cwt-sp--nav-right > .woocommerce > .woocommerce-MyAccount-content { grid-column: 1; grid-row: 1; }
}

/* Tabs, and every layout on narrow widths: one scrollable row. */
.cwt-sp--nav-tabs .woocommerce-MyAccount-navigation {
	margin-bottom: var(--cwt-sp-gap);
}

.cwt-sp--nav-tabs .woocommerce-MyAccount-navigation ul {
	flex-direction: row;
	flex-wrap: nowrap;
	overflow-x: auto;
	border-bottom: 1px solid var(--cwt-sp-line);
	scrollbar-width: thin;
}

.cwt-sp--nav-tabs .woocommerce-MyAccount-navigation li a {
	white-space: nowrap;
}

@container cwt-sp (max-width: 719px) {
	.cwt-sp--nav-left .woocommerce-MyAccount-navigation,
	.cwt-sp--nav-right .woocommerce-MyAccount-navigation {
		margin-bottom: var(--cwt-sp-gap);
	}

	.cwt-sp--nav-left .woocommerce-MyAccount-navigation ul,
	.cwt-sp--nav-right .woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: thin;
	}

	.cwt-sp--account .woocommerce-MyAccount-navigation li a {
		white-space: nowrap;
	}
}

/* Icons (masks, so they take the link colour). */
.cwt-sp--icons .woocommerce-MyAccount-navigation li a::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: var(--cwt-sp-icon) center / contain no-repeat;
	mask: var(--cwt-sp-icon) center / contain no-repeat;
	--cwt-sp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4a6 6 0 1 0 0 12a6 6 0 1 0 0-12zm0 1.6a4.4 4.4 0 1 1 0 8.8a4.4 4.4 0 1 1 0-8.8z'/%3E%3C/svg%3E");
}

.cwt-sp--icons .woocommerce-MyAccount-navigation-link--dashboard a::before {
	--cwt-sp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 3h6v6H3zm8 0h6v4h-6zM3 11h6v6H3zm8-2h6v8h-6z'/%3E%3C/svg%3E");
}

.cwt-sp--icons .woocommerce-MyAccount-navigation-link--orders a::before {
	--cwt-sp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 2h12v16H4zm2 3v1.6h8V5zm0 4v1.6h8V9zm0 4v1.6h5V13z'/%3E%3C/svg%3E");
}

.cwt-sp--icons .woocommerce-MyAccount-navigation-link--downloads a::before {
	--cwt-sp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M9.2 2h1.6v8.6l3-3 1.1 1.1L10 13.6 5.1 8.7l1.1-1.1 3 3zM3 15h14v3H3z'/%3E%3C/svg%3E");
}

.cwt-sp--icons .woocommerce-MyAccount-navigation-link--edit-address a::before {
	--cwt-sp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2a6 6 0 0 0-6 6c0 4.4 6 10 6 10s6-5.6 6-10a6 6 0 0 0-6-6zm0 3.5a2.5 2.5 0 1 1 0 5a2.5 2.5 0 1 1 0-5z'/%3E%3C/svg%3E");
}

.cwt-sp--icons .woocommerce-MyAccount-navigation-link--payment-methods a::before {
	--cwt-sp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2 4h16v12H2zm1.6 1.6V7h12.8V5.6zm0 4V14.4h12.8V9.6zM5 11h4v1.4H5z'/%3E%3C/svg%3E");
}

.cwt-sp--icons .woocommerce-MyAccount-navigation-link--edit-account a::before {
	--cwt-sp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 3a3.5 3.5 0 1 1 0 7a3.5 3.5 0 1 1 0-7zm-7 14.5c0-3.6 3.1-6 7-6s7 2.4 7 6z'/%3E%3C/svg%3E");
}

.cwt-sp--icons .woocommerce-MyAccount-navigation-link--customer-logout a::before {
	--cwt-sp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 3h8v1.6H4.6v10.8H11V17H3zm10.3 3.2l3.8 3.8-3.8 3.8-1.1-1.1 1.9-1.9H7.5V9.2h6.6l-1.9-1.9z'/%3E%3C/svg%3E");
}

/* Login and register. */
.cwt-sp--account .u-columns.col2-set .u-column1,
.cwt-sp--account .u-columns.col2-set .u-column2 {
	float: none;
	width: auto;
}

@container cwt-sp (min-width: 720px) {
	.cwt-sp--forms-columns .u-columns.col2-set {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--cwt-sp-gap);
	}

	.cwt-sp--forms-columns .u-columns.col2-set::before,
	.cwt-sp--forms-columns .u-columns.col2-set::after {
		display: none;
	}
}

.cwt-sp--forms-stacked .u-columns.col2-set .u-column2 {
	margin-top: var(--cwt-sp-gap);
}

.cwt-sp--account .woocommerce-form-login,
.cwt-sp--account .woocommerce-form-register {
	margin: 0;
}

.cwt-sp__welcome {
	margin-bottom: 1em;
}

/* --------------------------------------------------------- Thank you */

.cwt-sp--overview-cards ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 12px;
	margin: 0 0 var(--cwt-sp-gap);
	padding: 0;
	list-style: none;
}

.cwt-sp--overview-cards ul.woocommerce-order-overview::before,
.cwt-sp--overview-cards ul.woocommerce-order-overview::after {
	display: none;
}

.cwt-sp--overview-cards ul.woocommerce-order-overview li {
	float: none;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--cwt-sp-line);
	border-radius: 6px;
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cwt-sp--overview-cards ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	font-size: 1.25em;
	text-transform: none;
	letter-spacing: 0;
	word-break: break-word;
}

.cwt-sp--thankyou .woocommerce-customer-details .col2-set .col-1,
.cwt-sp--thankyou .woocommerce-customer-details .col2-set .col-2 {
	float: none;
	width: auto;
}

@container cwt-sp (min-width: 640px) {
	.cwt-sp--addresses-columns .woocommerce-columns--addresses {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--cwt-sp-gap);
	}

	.cwt-sp--addresses-columns .woocommerce-columns--addresses::before,
	.cwt-sp--addresses-columns .woocommerce-columns--addresses::after {
		display: none;
	}
}

.cwt-sp--addresses-stacked .woocommerce-columns--addresses .woocommerce-column + .woocommerce-column {
	margin-top: var(--cwt-sp-gap);
}

/* --------------------------------------------- Card: chips, footer, bleed */

.cwt-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cwt-chip {
	margin: 0;
	padding: 3px 10px;
	border-radius: 99px;
	background: rgba(0, 0, 0, 0.06);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
}

.cwt-card__excerpt.is-clamped {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--cwt-lines, 2);
	overflow: hidden;
}

.cwt-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	margin-top: auto;
	padding-top: 8px;
}

.cwt-card__footer .cwt-card__actions {
	margin-top: 0;
	margin-left: auto;
}

.cwt-card__footer .cwt-card__price {
	margin: 0;
}

.cwt-card--bleed {
	overflow: hidden;
}

.cwt-card--bleed > .cwt-card__media {
	border-radius: 0;
}

.cwt-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 16px 20px 20px;
}

.cwt-grid--list .cwt-card--bleed {
	display: grid;
}

.cwt-grid--list .cwt-card--bleed > .cwt-card__body {
	grid-column: 2;
	grid-row: 1 / span 8;
}

/* ------------------------------------------------------- Archive modules */

.cwt-arch__title {
	margin: 0;
}

.cwt-arch__prefix {
	display: block;
	font-size: 0.45em;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
}

.cwt-arch__desc > :first-child {
	margin-top: 0;
}

.cwt-arch__desc > :last-child {
	margin-bottom: 0;
}

.cwt-arch__image {
	overflow: hidden;
}

.cwt-arch__image img {
	display: block;
	width: 100%;
	height: auto;
}

.cwt-arch__image--1-1 img { aspect-ratio: 1 / 1; object-fit: cover; }
.cwt-arch__image--4-3 img { aspect-ratio: 4 / 3; object-fit: cover; }
.cwt-arch__image--16-9 img { aspect-ratio: 16 / 9; object-fit: cover; }
.cwt-arch__image--3-1 img { aspect-ratio: 3 / 1; object-fit: cover; }

/* ------------------------------------------------------- Smart Search */

.cwt-ss {
	--cwt-ss-a: #7c3aed;
	--cwt-ss-b: #2563eb;
	--cwt-ss-h: 60px;
	--cwt-ss-r: 999px;
	--cwt-ss-box: #fff;
	--cwt-ss-ink: #1d1b2c;
	--cwt-ss-bg: #fff;
	--cwt-ss-text: #1d1b2c;
	--cwt-ss-muted: #6b6880;
	--cwt-ss-tint: color-mix(in srgb, var(--cwt-ss-a) 8%, #fff);
	--cwt-ss-line: color-mix(in srgb, var(--cwt-ss-a) 12%, #eceaf3);
	--cwt-ss-badge: #e7f8ee;
	--cwt-ss-badge-ink: #15803d;
	--cwt-ss-star: #f59e0b;
	position: relative;
	width: 100%;
	color: var(--cwt-ss-text);
}

.cwt-ss__form {
	margin: 0;
}

.cwt-ss__box {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: var(--cwt-ss-h);
	padding: 6px 6px 6px 18px;
	border: 2px solid transparent;
	border-radius: var(--cwt-ss-r);
	background:
		linear-gradient(var(--cwt-ss-box), var(--cwt-ss-box)) padding-box,
		linear-gradient(110deg, var(--cwt-ss-a), var(--cwt-ss-b)) border-box;
	box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--cwt-ss-a) 45%, transparent);
	box-sizing: border-box;
	transition: box-shadow 0.2s ease;
}

.cwt-ss__box:focus-within {
	box-shadow:
		0 0 0 4px color-mix(in srgb, var(--cwt-ss-a) 16%, transparent),
		0 14px 34px -12px color-mix(in srgb, var(--cwt-ss-a) 55%, transparent);
}

.cwt-ss__lead {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--cwt-ss-a);
}

.cwt-ss__spinner {
	position: absolute;
	inset: 0;
	border: 2px solid color-mix(in srgb, var(--cwt-ss-a) 20%, transparent);
	border-top-color: var(--cwt-ss-a);
	border-radius: 50%;
	opacity: 0;
	animation: cwt-spin 0.8s linear infinite;
}

.cwt-ss.is-loading .cwt-ss__lead svg {
	opacity: 0;
}

.cwt-ss.is-loading .cwt-ss__spinner {
	opacity: 1;
}

.cwt-ss__input,
.cwt-ss__input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 8px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--cwt-ss-ink);
	font-size: 1.0625rem;
	line-height: 1.3;
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
}

.cwt-ss__input::placeholder {
	color: var(--cwt-ss-muted);
	opacity: 1;
}

.cwt-ss__input::-webkit-search-cancel-button,
.cwt-ss__input::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
}

.cwt-ss__clear,
.cwt-ss__submit {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	line-height: 1;
	transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.2s ease;
}

.cwt-ss__clear[hidden] {
	display: none;
}

.cwt-ss__clear {
	width: 32px;
	height: 32px;
	background: color-mix(in srgb, var(--cwt-ss-muted) 12%, transparent);
	color: var(--cwt-ss-muted);
}

.cwt-ss__clear:hover {
	background: color-mix(in srgb, var(--cwt-ss-muted) 22%, transparent);
	color: var(--cwt-ss-ink);
}

.cwt-ss__submit {
	width: calc(var(--cwt-ss-h) - 16px);
	height: calc(var(--cwt-ss-h) - 16px);
	min-width: 36px;
	min-height: 36px;
	background: linear-gradient(135deg, var(--cwt-ss-a), var(--cwt-ss-b));
	color: #fff;
	box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--cwt-ss-a) 80%, transparent);
}

.cwt-ss__submit:hover {
	transform: scale(1.05);
	color: #fff;
}

.cwt-ss__clear:focus-visible,
.cwt-ss__submit:focus-visible,
.cwt-ss__explore:focus-visible {
	outline: 2px solid var(--cwt-ss-a);
	outline-offset: 2px;
}

/* Panel */

.cwt-ss__panel {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	z-index: 1000;
	max-height: min(75vh, 620px);
	overflow-y: auto;
	padding: 6px 16px;
	border: 1px solid var(--cwt-ss-line);
	border-radius: 20px;
	background: var(--cwt-ss-bg);
	color: var(--cwt-ss-text);
	box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--cwt-ss-a) 35%, rgba(15, 10, 40, 0.35));
	box-sizing: border-box;
	font-size: 1rem;
	line-height: 1.4;
	overscroll-behavior: contain;
	transform-origin: top center;
	animation: cwt-ss-reveal 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cwt-ss__panel[hidden] {
	display: none;
}

@keyframes cwt-ss-reveal {
	from { opacity: 0; transform: translateY(-6px) scale(0.985); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.cwt-ss__panel { animation: none; }
	.cwt-ss__spinner { animation-duration: 2s; }
}

.cwt-ss__section {
	padding: 12px 0 14px;
}

.cwt-ss__section + .cwt-ss__section {
	border-top: 1px solid var(--cwt-ss-line);
}

.cwt-ss__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	color: var(--cwt-ss-text);
}

.cwt-ss__head .cwt-ss__ico {
	color: var(--cwt-ss-a);
}

.cwt-ss__ico,
.cwt-ss__go,
.cwt-ss__chip-ico,
.cwt-ss__empty-ico {
	display: inline-flex;
	flex: 0 0 auto;
}

.cwt-ss__title {
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.005em;
}

/* Products */

.cwt-ss__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cwt-ss__product {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 10px;
	border-radius: 14px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.cwt-ss__product.is-active {
	background: var(--cwt-ss-tint);
	outline: 1px solid transparent;
}

.cwt-ss__img {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: #f4f3f8;
	object-fit: cover;
}

.cwt-ss__info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.cwt-ss__top,
.cwt-ss__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	min-width: 0;
}

.cwt-ss__name {
	overflow: hidden;
	min-width: 0;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cwt-ss__badge {
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--cwt-ss-badge);
	color: var(--cwt-ss-badge-ink);
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
}

.cwt-ss__badge--sale {
	background: #fdecec;
	color: #b42318;
}

.cwt-ss__badge--featured {
	background: var(--cwt-ss-tint);
	color: var(--cwt-ss-a);
}

.cwt-ss__meta {
	font-size: 0.8125rem;
}

.cwt-ss__price {
	font-weight: 700;
}

.cwt-ss__rating,
.cwt-ss__sku,
.cwt-ss__oos {
	color: var(--cwt-ss-muted);
}

.cwt-ss__star {
	color: var(--cwt-ss-star);
}

.cwt-ss__oos {
	font-style: italic;
}

.cwt-ss__go {
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: var(--cwt-ss-a);
	opacity: 0.45;
	transition: opacity 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.cwt-ss__product.is-active .cwt-ss__go {
	background: color-mix(in srgb, var(--cwt-ss-a) 12%, transparent);
	opacity: 1;
	transform: translate(1px, -1px);
}

.cwt-ss__all {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	padding: 8px 10px;
	border-radius: 12px;
	color: var(--cwt-ss-a);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
}

.cwt-ss__all.is-active {
	background: var(--cwt-ss-tint);
}

/* Empty state */

.cwt-ss__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 10px 0 4px;
	text-align: center;
}

.cwt-ss__empty-ico {
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin-bottom: 6px;
	border-radius: 16px;
	background: var(--cwt-ss-tint);
	color: var(--cwt-ss-a);
}

.cwt-ss__empty-title {
	font-size: 1.0625rem;
	font-weight: 700;
}

.cwt-ss__empty-text {
	color: var(--cwt-ss-muted);
	font-size: 0.875rem;
}

.cwt-ss__explore {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: center;
	margin: 10px 0 2px;
	padding: 11px 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--cwt-ss-a), var(--cwt-ss-b));
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--cwt-ss-a) 80%, transparent);
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cwt-ss__explore.is-active {
	box-shadow: 0 0 0 3px var(--cwt-ss-bg), 0 0 0 5px var(--cwt-ss-a);
	transform: translateY(-1px);
}

/* Chips */

.cwt-ss__chips {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
}

.cwt-ss__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 7px 14px;
	border: 1px solid var(--cwt-ss-line);
	border-radius: 999px;
	background: var(--cwt-ss-tint);
	color: var(--cwt-ss-text);
	font-size: 0.8125rem;
	line-height: 1.3;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.cwt-ss__section--trending .cwt-ss__chip,
.cwt-ss__section--cats .cwt-ss__chip {
	background: transparent;
}

.cwt-ss__chip span {
	overflow: hidden;
	text-overflow: ellipsis;
}

.cwt-ss__chip-ico {
	color: var(--cwt-ss-muted);
}

.cwt-ss__chip.is-active {
	border-color: var(--cwt-ss-a);
	background: color-mix(in srgb, var(--cwt-ss-a) 12%, var(--cwt-ss-bg));
	color: var(--cwt-ss-a);
}

.cwt-ss__chip.is-active .cwt-ss__chip-ico {
	color: currentColor;
}

@media (max-width: 600px) {
	.cwt-ss__box {
		padding-left: 14px;
	}
	.cwt-ss__panel {
		padding: 4px 10px;
		border-radius: 16px;
	}
	.cwt-ss__img {
		width: 46px;
		height: 46px;
	}
	.cwt-ss__product {
		gap: 10px;
		padding: 8px 6px;
	}
}

@media (forced-colors: active) {
	.cwt-ss__box {
		border-color: CanvasText;
	}
	.cwt-ss__product.is-active,
	.cwt-ss__chip.is-active,
	.cwt-ss__all.is-active,
	.cwt-ss__explore.is-active {
		outline: 2px solid Highlight;
	}
}
