.wcppl-cart {
	margin-top: 1rem;
}

.wcppl-selectors {
	margin-bottom: 1rem;
}

.wcppl-selectors--buttons .label {
	vertical-align: top;
}

.wcppl-selectors--buttons .label label,
.wcppl-selectors .label .wcppl-step-label {
	display: flex;
	margin-top: 0;
}

.wcppl-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-content: flex-start;
}

.wcppl-cart .wcppl-buttons .wcppl-option-btn.button {
	margin-inline-start: 0 !important;
	margin-inline-end: var(--button-spacing, 10px) !important;
}

.wcppl-buttons-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.wcppl-option-btn.button {
	background: #111;
	color: #fff;
	border: 1px solid #111;
	border-radius: 0;
	line-height: 1.1;
	min-height: 2.2em;
	min-width: 96px;
	padding: 0.65em 1em;
	font-weight: 500;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	white-space: normal;
	text-align: center;
}

.wcppl-option-btn .wcppl-option-label {
	display: block;
	width: 100%;
	white-space: nowrap;
}

.wcppl-option-btn .wcppl-option-stock-hint {
	display: block;
	margin-top: 0.3em;
	font-size: 0.76em;
	font-weight: 500;
	letter-spacing: 0.01em;
	opacity: 0.9;
	width: 100%;
	white-space: nowrap;
	line-height: 1;
}

.wcppl-option-btn.button:hover {
	background: #222;
	border-color: #222;
	color: #fff;
}

.wcppl-option-btn.is-selected {
	background: #fff;
	color: #111;
	border-color: #111;
	box-shadow: inset 0 0 0 1px #111;
}

.wcppl-option-btn.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.wcppl-option-btn.is-out-of-stock {
	opacity: 1;
	background: #f3f4f6;
	color: #7a7a7a;
	border-color: #c9cdd2;
	background-image: repeating-linear-gradient(
		-45deg,
		rgba(122, 122, 122, 0.08),
		rgba(122, 122, 122, 0.08) 6px,
		rgba(122, 122, 122, 0.14) 6px,
		rgba(122, 122, 122, 0.14) 12px
	);
}

.wcppl-option-btn.is-out-of-stock .wcppl-option-stock-hint,
.wcppl-option-btn.is-incompatible .wcppl-option-stock-hint {
	color: #7a7a7a;
}

.wcppl-reset-variations {
	white-space: nowrap;
}

.wcppl-selectors--swatches {
	display: block;
	width: 100%;
}

.wcppl-selectors--swatches .wcppl-selector-group {
	display: block;
	width: 100%;
	margin-bottom: 1rem;
}

.wcppl-selectors--swatches .wcppl-swatch-attribute-cell {
	display: block;
	width: 100%;
	padding: 0;
}

.wcppl-selectors--swatches .wcppl-swatch-attribute-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	margin-bottom: 12px;
}

.wcppl-selectors--swatches .wcppl-swatch-attribute-label {
	display: block;
	width: 100%;
	margin: 0;
	font-size: 24px;
	color: #364a52;
	font-family: "Bariol", sans-serif;
	font-weight: 600;
	line-height: 1.2;
}

.wcppl-swatches-row {
	display: block;
	width: 100%;
}

.wcppl-selectors--swatches .wd-swatches-product {
	flex: 1 1 auto;
	min-width: 0;
}

.wcppl-selectors--swatches .wcppl-reset-variations {
	align-self: baseline;
	line-height: 1.2;
}

/* Swatch selection mode — override Woodmart's 25px default swatch sizing. */
.wcppl-cart .wcppl-selectors--swatches td.value.with-swatches {
	width: 100%;
}

.wcppl-cart .wcppl-selectors--swatches {
	--wcppl-swatch-card-gap: 12px;
	--wcppl-swatch-card-width-options: 132px;
	/* Slightly under the old 188px so 3 still fit once the scrollbar is present. */
	--wcppl-swatch-card-width-size: 180px;
	--wcppl-swatch-card-width: var(--wcppl-swatch-card-width-size);
	--wcppl-swatch-card-ratio: 210 / 312;
	/* Full row 1 + ~2/3 of row 2 (no third row peek). */
	--wcppl-swatch-scroll-rows: calc(1 + 2 / 3);
	--wcppl-swatch-scrollbar-size: 14px;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_insert-size {
	--wcppl-swatch-card-width: var(--wcppl-swatch-card-width-size);
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_options,
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_color {
	--wcppl-swatch-card-width: var(--wcppl-swatch-card-width-options);
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatches-row {
	position: relative;
	width: 100%;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatches-row > .wd-swatches-product {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	gap: var(--wcppl-swatch-card-gap);
	width: 100% !important;
	max-width: none;
	box-sizing: border-box;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatches-row > .wd-swatches-product.wcppl-swatch-layout-card {
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-gutter: stable;
	max-height: calc(
		var(--wcppl-swatch-card-width) * (312 / 210) * var(--wcppl-swatch-scroll-rows)
		+ var(--wcppl-swatch-card-gap)
	);
	scrollbar-width: auto;
	scrollbar-color: #364a52 #e5e5e5;
	-webkit-overflow-scrolling: touch;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatches-row > .wd-swatches-product.wcppl-swatch-layout-card::-webkit-scrollbar {
	width: var(--wcppl-swatch-scrollbar-size);
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatches-row > .wd-swatches-product.wcppl-swatch-layout-card::-webkit-scrollbar-track {
	background: #e5e5e5;
	border-radius: 8px;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatches-row > .wd-swatches-product.wcppl-swatch-layout-card::-webkit-scrollbar-thumb {
	background: #364a52;
	border-radius: 8px;
	border: 3px solid #e5e5e5;
	background-clip: padding-box;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatches-row.wcppl-has-more-below::after {
	content: '';
	position: absolute;
	left: 0;
	right: var(--wcppl-swatch-scrollbar-size);
	bottom: 0;
	height: 56px;
	pointer-events: none;
	z-index: 2;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92) 70%, #fff);
}

.wcppl-cart .wcppl-selectors--swatches .wd-swatches-product {
	--wd-swatch-size: 16px !important;
	--wd-swatch-w: var(--wcppl-swatch-card-width) !important;
	--wd-swatch-h: auto !important;
	--wd-swatch-text-size: 14px !important;
	width: 100% !important;
	max-width: none;
}

.wcppl-cart .wcppl-selectors--swatches .wd-swatches-product.wcppl-swatch-layout-card,
.wcppl-cart .wcppl-selectors--swatches .wd-swatches-product.wcppl-swatch-layout-image {
	align-items: stretch;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch {
	width: var(--wcppl-swatch-card-width) !important;
	flex: 0 0 var(--wcppl-swatch-card-width);
	height: auto !important;
	min-width: 0 !important;
	max-width: var(--wcppl-swatch-card-width) !important;
	display: block !important;
	align-items: stretch !important;
	justify-content: stretch !important;
	font-size: 16px !important;
	line-height: 1.3 !important;
	padding: 0 !important;
	border-radius: 14px;
	box-sizing: border-box;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch:has(.size-card) {
	width: var(--wcppl-swatch-card-width) !important;
	max-width: var(--wcppl-swatch-card-width) !important;
	/* Match .size-card radius so overflow:hidden does not clip corner strokes */
	border-radius: 6px;
	/* Contain Woodmart ::before so it cannot stretch over qty/CTA */
	position: relative;
	overflow: hidden;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch:after,
.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch:before {
	display: none !important;
	content: none !important;
	pointer-events: none !important;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch .wd-swatch-bg {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	border-radius: inherit;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch:not(:has(.size-card)) .wd-swatch-bg img,
.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch:not(:has(.size-card)) .wd-swatch-bg picture,
.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch:not(:has(.size-card)) .wd-swatch-bg picture img {
	display: block !important;
	width: 100% !important;
	height: 160px !important;
	max-height: none !important;
	object-fit: contain !important;
	border-radius: 6px;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_insert-size .wcppl-swatch.wd-active .size-card {
	border: 2px solid #364a52;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_options .size-card,
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_color .size-card {
	border: none;
	padding: 0;
	aspect-ratio: auto;
	max-width: none;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_options .size-thumb img,
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_color .size-thumb img {
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	box-sizing: border-box;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_options .wcppl-swatch.wd-active .size-thumb img,
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_color .wcppl-swatch.wd-active .size-thumb img {
	border: 2px solid #364a52;
}

.wcppl-cart .wcppl-selectors--swatches .size-card {
	position: relative;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wcppl-swatch-card-width);
	aspect-ratio: var(--wcppl-swatch-card-ratio);
	display: flex;
	flex-direction: column;
	padding: 14px 0 10px;
	text-align: center;
	transition: 0.3s ease;
	cursor: pointer;
	overflow: hidden;
}

.wcppl-cart .wcppl-selectors--swatches .size-badge {
	position: absolute;
	top: 0;
	left: 0;
	background: #bb0a2e;
	color: #fff;
	font-size: 14px;
	padding: 5px 11px;
	border-radius: 0 0 6px 0;
	font-weight: 300;
	z-index: 1;
}

.wcppl-cart .wcppl-selectors--swatches .size-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
}

.wcppl-cart .wcppl-selectors--swatches .size-thumb .wd-swatch-bg {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.wcppl-cart .wcppl-selectors--swatches .size-thumb img,
.wcppl-cart .wcppl-selectors--swatches .size-thumb .wd-swatch-bg img {
	width: auto !important;
	max-width: 100%;
	height: auto !important;
	max-height: 100%;
	margin: 0 auto;
	object-fit: contain !important;
}

.wcppl-cart .wcppl-selectors--swatches .size-card.has-per-box {
	padding-bottom: 48px;
}

.wcppl-cart .wcppl-selectors--swatches .size-title {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	color: #364a52;
	margin: 8px 0 0;
	flex-shrink: 0;
	text-align: center;
}

/* Size / insert-size labels wrap onto 2–3 lines. Drop the fixed aspect
   ratio so the card grows and the label stays under the diagram.
   Cards on the same row stretch to the tallest card in that row. */
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_insert-size .wcppl-swatches-row > .wd-swatches-product,
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_size .wcppl-swatches-row > .wd-swatches-product {
	align-items: stretch;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_insert-size .wcppl-swatch:has(.size-card),
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_size .wcppl-swatch:has(.size-card) {
	display: flex !important;
	flex-direction: column;
	align-self: stretch;
	height: auto !important;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_insert-size .size-card,
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_size .size-card {
	aspect-ratio: auto;
	height: auto;
	flex: 1 1 auto;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_insert-size .size-thumb,
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_size .size-thumb {
	flex: 0 0 auto;
	min-height: 0;
	height: auto;
	overflow: hidden;
	padding: 0 8px;
	box-sizing: border-box;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_insert-size .size-thumb .wd-swatch-bg,
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_size .size-thumb .wd-swatch-bg {
	height: auto !important;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_insert-size .size-thumb img,
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_insert-size .size-thumb .wd-swatch-bg img,
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_size .size-thumb img,
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_size .size-thumb .wd-swatch-bg img {
	max-height: 168px !important;
	height: auto !important;
	width: auto !important;
	max-width: 100%;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_insert-size .size-title,
.wcppl-cart .wcppl-selectors--swatches .wcppl-selector-group--pa_size .size-title {
	white-space: normal;
	flex: 0 0 auto;
	position: relative;
	z-index: 1;
	padding: 0 8px;
	box-sizing: border-box;
}

.wcppl-cart .wcppl-selectors--swatches .size-title-inches,
.wcppl-cart .wcppl-selectors--swatches .size-title-mm {
	display: block;
	text-align: center;
}

.wcppl-cart .wcppl-selectors--swatches .size-dimension {
	display: none;
}

.wcppl-cart .wcppl-selectors--swatches .size-per-box {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: #e5e5e5;
	position: absolute;
	width: 100%;
	left: 0;
	right: 0;
	padding: 10px 8px;
	bottom: 0;
	box-sizing: border-box;
	color: #364a52;
	font-weight: 500;
	font-size: 13px;
	line-height: 1.2;
}

.wcppl-cart .wcppl-selectors--swatches .size-per-box .box-icon {
	position: relative;
	display: inline-block;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	top: 0;
}

.wcppl-cart .wcppl-selectors--swatches .size-per-box .box-icon:before {
	width: 24px;
	height: 24px;
	position: static;
	top: auto;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch-layout-image .wd-swatch.wd-bg .wd-swatch-text,
.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch-layout-card .wd-swatch.wd-bg .wd-swatch-text {
	display: none !important;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch-layout-image .wcppl-swatch {
	background: #fff;
	border: none;
	border-radius: 0;
	padding: 0 !important;
	text-align: center;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch-layout-image .wcppl-swatch.wd-active {
	border: none;
	box-shadow: none;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch-layout-image .wcppl-swatch .wd-swatch-bg img,
.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch-layout-image .wcppl-swatch .wd-swatch-bg picture img {
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	box-sizing: border-box;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch-layout-image .wcppl-swatch.wd-active .wd-swatch-bg img,
.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch-layout-image .wcppl-swatch.wd-active .wd-swatch-bg picture img {
	border: 2px solid #364a52;
}

.wcppl-cart .wcppl-selectors--swatches .wcppl-swatch-layout-image .wd-swatch-text {
	display: block !important;
	margin-top: 10px;
	font-size: 15px;
	font-weight: 600;
	color: #364a52;
}

/* Unavailable Options/Insert Size: always grey + diagonal slash.
   Options attributes often use WoodMart dis-style-1, and the child theme
   forces opacity:1 on that style — so without this, Options look selectable. */
.single-product .wcppl-cart [class*="wd-swatches"] .wcppl-swatch.wd-disabled,
.single-product .wcppl-cart [class*="wd-swatches"] .wcppl-swatch.is-incompatible,
.single-product .wcppl-cart [class*="wd-swatches"] .wcppl-swatch.is-out-of-stock,
.wcppl-cart [class*="wd-swatches"] .wcppl-swatch.wd-disabled,
.wcppl-cart [class*="wd-swatches"] .wcppl-swatch.is-incompatible,
.wcppl-cart [class*="wd-swatches"] .wcppl-swatch.is-out-of-stock {
	opacity: 0.4 !important;
	cursor: pointer;
	position: relative;
	--wd-swatch-brd-color: var(--brdcolor-gray-500, #9ca3af);
}

.wcppl-cart [class*="wd-swatches"] .wcppl-swatch.is-out-of-stock:not(.is-incompatible):not(.wd-disabled) {
	cursor: pointer;
	opacity: 0.55 !important;
}

.wcppl-cart [class*="wd-swatches"] .wcppl-swatch.is-out-of-stock.wd-active:not(.is-incompatible) {
	opacity: 0.85 !important;
}

.wcppl-cart [class*="wd-swatches"] .wcppl-swatch.wd-disabled::before,
.wcppl-cart [class*="wd-swatches"] .wcppl-swatch.is-incompatible::before,
.wcppl-cart [class*="wd-swatches"] .wcppl-swatch.is-out-of-stock::before {
	content: "" !important;
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-image: linear-gradient(
		to top left,
		transparent calc(50% - 1px),
		var(--wd-swatch-brd-color, #9ca3af) 50%,
		transparent calc(50% + 1px)
	) !important;
	opacity: 1 !important;
	z-index: 2;
	pointer-events: none;
	display: block !important;
}

/* Avoid a second slash from any leftover thumb overlay rules. */
.wcppl-cart .wcppl-selector-group--pa_options .wcppl-swatch.wd-disabled .size-thumb::after,
.wcppl-cart .wcppl-selector-group--pa_options .wcppl-swatch.is-incompatible .size-thumb::after,
.wcppl-cart .wcppl-selector-group--pa_options .wcppl-swatch.is-out-of-stock .size-thumb::after,
.wcppl-cart .wcppl-selector-group--pa_color .wcppl-swatch.wd-disabled .size-thumb::after,
.wcppl-cart .wcppl-selector-group--pa_color .wcppl-swatch.is-incompatible .size-thumb::after,
.wcppl-cart .wcppl-selector-group--pa_color .wcppl-swatch.is-out-of-stock .size-thumb::after {
	content: none !important;
	background-image: none !important;
	display: none !important;
}

.wcppl-cart .wcppl-reset-variations {
	color: #bb0a2e;
	font-family: "Bariol", sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
}

@media (max-width: 1024px) {
	.wcppl-cart .wcppl-selectors--swatches {
		--wcppl-swatch-card-width-size: 188px;
		--wcppl-swatch-card-width-options: 130px;
	}
}

@media (max-width: 768px) {
	.wcppl-cart .wcppl-selectors--swatches {
		--wcppl-swatch-card-width-size: 180px;
		--wcppl-swatch-card-width-options: 120px;
	}
}

.wcppl-step-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.wcppl-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #364a52;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	font-family: "Bariol", sans-serif;
}

.wcppl-step-label,
.wcppl-step-label.wcppl-swatch-attribute-label,
.wcppl-step-label.wcppl-quantity-label {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.35em;
	margin: 0;
	font-size: 24px;
	color: var(--e-global-color-text);
	font-family: "Bariol", sans-serif;
	font-weight: 600;
	line-height: 1.2;
}

.wcppl-step-required {
	font-size: 16px;
	font-weight: 600;
	color: #bb0a2e;;
}

.wcppl-selectors--swatches .wcppl-swatch-attribute-header {
	align-items: baseline;
}

.wcppl-selectors--swatches .wcppl-swatch-attribute-header .wcppl-step-heading {
	align-items: baseline;
}

.wcppl-selectors--swatches .wcppl-swatch-attribute-header .wcppl-step-number {
	align-self: center;
}

.wcppl-selectors--swatches .wcppl-swatch-attribute-label {
	width: auto;
}

.wcppl-cart .wcppl-selected-price,
.wcppl-selected-price {
	display: none !important;
}

.wcppl-actions {
	display: block;
	width: 100%;
	background: transparent !important;
	padding:0 important
}

.wcppl-actions-inner {
	display: block;
	width: 100%;
	background: transparent !important;
}

.wcppl-selection-summary {
	background: #e5e5e5;
	border-radius: 8px;
	padding: 16px 20px;
	margin: 0 0 1.25rem;
}

.wcppl-selection-title {
	margin: 0 0 0.45rem;
	font-size: 18px;
	color: #364a52;
	font-family: "Bariol", sans-serif;
	font-weight: 700;
	line-height: 1.2;
}

.wcppl-selected-identity {
	margin: 0;
	font-size: 18px;
	color: #bb0a2e;
	font-weight: 700;
	font-family: "Bariol", sans-serif;
	line-height: 1.25;
	display: block;
}

.wcppl-selected-identity[hidden] {
	display: none !important;
}

.wcppl-selected-identity .wcppl-selected-sku-row,
.wcppl-selected-identity .wcppl-selected-sku {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.25;
}

.wcppl-selected-identity .wcppl-selected-sku-value {
	font-weight: 700;
	color: #bb0a2e;
}

.wcppl-quantity-step {
	display: block;
	width: 100%;
	background: transparent !important;
}

.wcppl-actions-header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem;
	margin-bottom: 0.65rem;
}

.wcppl-actions-controls {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch;
	justify-content: flex-start;
	gap: 30px !important;
	margin-bottom: 30px !important;
}

.wcppl-cart .wcppl-quantity-label,
.wcppl-cart h4.wcppl-quantity-label {
	margin: 0;
	flex: 1 1 auto;
	text-align: left;
}

.wcppl-actions .wcppl-box-quantity-row,
.wcppl-actions .box-selector.quantity-selector {
	display: block;
	flex: 1 1 auto;
	max-width: 280px;
	margin: 0 !important;
}

.wcppl-actions .adventa-box-select-dropdown,
.wcppl-actions select.qty.adventa-box-select-dropdown {
	width: 100%;
	min-width: 0;
	max-width: 280px;
	border-radius: 8px;
	font-size: 20px;
	font-weight: 600;
	color: #364a52;
	background-color: #fff;
}

.wcppl-price-stack {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	flex: 0 0 auto;
	margin: 0;
	text-align: left;
	font-size: 20px;
	line-height: 1.2;
	color: #364a52;
	font-family: "Bariol", sans-serif;
	font-weight: 600;
	white-space: nowrap;
}

.wcppl-price-stack .wcppl-price-per-unit {
	font-size: 0.85em;
	font-weight: 600;
	color: #364a52;
}

.wcppl-price-stack.is-call-to-order {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	max-width: 280px;
	height: 48px;
	padding: 0 16px;
	box-sizing: border-box;
	gap: 0;
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	color: #364a52;
	font-family: "Bariol", sans-serif;
	background-color: #fff;
	border: 1px solid #dcdfe3;
	border-radius: 8px;
	white-space: nowrap;
	cursor: default;
	pointer-events: none;
}

.wcppl-price-stack.is-call-to-order .wcppl-price-per-box {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	line-height: inherit;
}

.wcppl-lead-time {
	margin: 0 0 20px !important;
	font-size: 16px;
	font-weight: 600;
	color: #364a52;
	font-family: "Bariol", sans-serif;
	line-height: 1.2;
}

.wcppl-lead-time[hidden],
.wcppl-call-to-order[hidden],
.wcppl-actions .single_add_to_cart_button[hidden] {
	display: none !important;
}

.wcppl-cta-row {
	display: block;
	position: relative;
	width: 100%;
	max-width: 280px;
}

.wcppl-actions .single_add_to_cart_button,
.wcppl-actions .wcppl-call-to-order {
	float: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 280px;
	margin: 0 !important;
	border-radius: 8px;
	text-align: center;
	text-decoration: none;
	text-transform: none;
}

.wcppl-cart .single_add_to_cart_button.disabled,
.wcppl-cart .single_add_to_cart_button:disabled,
.wcppl-cart .single_add_to_cart_button[aria-disabled="true"] {
	background: #8e989b !important;
	border-color: #8e989b !important;
	color: #fff !important;
	opacity: 1 !important;
	cursor: not-allowed !important;
	pointer-events: none;
	box-shadow: none !important;
}

/* Incomplete: grey look but still clickable so we can show the hint popup. */
.wcppl-cart .wcppl-actions.is-incomplete .single_add_to_cart_button.disabled,
.wcppl-cart .wcppl-actions.is-incomplete .single_add_to_cart_button[aria-disabled="true"] {
	cursor: pointer !important;
	pointer-events: auto;
}

.wcppl-incomplete-hint {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 5;
	box-sizing: border-box;
	min-width: 100%;
	max-width: 320px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #dcdfe3;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(54, 74, 82, 0.08);
	color: #bb0a2e;
	font-family: "Bariol", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	white-space: nowrap;
}

.wcppl-incomplete-hint[hidden] {
	display: none !important;
}

.wcppl-incomplete-hint::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 28px;
	width: 12px;
	height: 12px;
	background: #fff;
	border-left: 1px solid #dcdfe3;
	border-top: 1px solid #dcdfe3;
	transform: rotate(45deg);
}

.wcppl-cart .single_add_to_cart_button.disabled:hover,
.wcppl-cart .single_add_to_cart_button:disabled:hover,
.wcppl-cart .single_add_to_cart_button[aria-disabled="true"]:hover {
	background: #8e989b !important;
	border-color: #8e989b !important;
	color: #fff !important;
}

.wcppl-actions .wcppl-call-to-order {
	background: #bb0a2e;
	border-color: #bb0a2e;
	color: #fff;
	border-radius: 8px;
}

.wcppl-actions .wcppl-call-to-order:hover,
.wcppl-actions .wcppl-call-to-order:focus {
	background: #9a0826;
	border-color: #9a0826;
	color: #fff;
}

/* V3 out of stock: keep “Select quantity” + one “Call to order” line; hide qty dropdown. */
.wcppl-actions.is-oos .wcppl-box-quantity-row,
.wcppl-actions.is-oos .quantity,
.wcppl-actions.is-oos select.qty {
	display: none !important;
}

.wcppl-cart .wcppl-selected-price.custom-total-price-wrapper,
.wcppl-cart .wcppl-selected-price .wcppl-price-breakdown,
.wcppl-cart .wcppl-selected-price .wcppl-price-breakdown--from {
	font-size: 20px;
	line-height: 1.2;
}

.wcppl-selected-price .wcppl-price-breakdown {
	display: block;
}

.wcppl-selected-price .wcppl-price-per-box {
	font-weight: inherit;
}

/* Injected Assets gallery (ACF assets field) for child selection swaps. */
.wcppl-assets-gallery {
	width: 100%;
}

.wcppl-assets-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wcppl-assets-item {
	margin: 0;
}

.wcppl-assets-link {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-decoration: none;
	color: var(--e-global-color-text)
}

.wcppl-assets-link:hover,
.wcppl-assets-link:focus {
	color: #bb0a2e;
}

.wcppl-assets-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	overflow: hidden;
}

.wcppl-assets-thumb img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 180px;
	object-fit: contain;
}

.wcppl-assets-file-icon {
	display: block;
	width: 42px;
	height: 54px;
	border: 2px solid #364a52;
	border-radius: 4px;
	position: relative;
	background: #fff;
}

.wcppl-assets-file-icon::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	border-style: solid;
	border-width: 0 12px 12px 0;
	border-color: transparent #364a52 transparent transparent;
}

.wcppl-assets-name {
	font-size: 13px;
	line-height: 1.3;
	word-break: break-word;
	color: #364a52;
}

.wcppl-secondary-title-is-incomplete,
.wcppl-secondary-title-is-incomplete.elementor-heading-title,
.wcppl-secondary-title-is-incomplete .elementor-heading-title,
.elementor-widget-container.wcppl-secondary-title-is-incomplete,
.elementor-widget-container.wcppl-secondary-title-is-incomplete * {
	color: #000 !important;
}

.wcppl-secondary-title-is-selected,
.wcppl-secondary-title-is-selected.elementor-heading-title,
.wcppl-secondary-title-is-selected .elementor-heading-title,
.elementor-widget-container.wcppl-secondary-title-is-selected,
.elementor-widget-container.wcppl-secondary-title-is-selected * {
	color: #bb0a2e !important;
}

/* Match Adventa Elementor USP "See More" truncation (Theme Builder HTML widget).
   Kept here so parent-product description swaps keep the same UX even if that
   inline style block is not present. */
.usps-container .usp-hidden {
	display: none !important;
}

.usps-container ul {
	margin-bottom: 15px !important;
}

.see-more-usps-btn {
	color: var(--e-global-color-ed7ca26) !important;
}

.see-more-usps-btn:hover {
	background-color: transparent !important;
	color: #bb0a2e !important;
}

/* Soft loading state while child short/long descriptions are fetched. */
.wcppl-description-loading {
	opacity: 0.45;
	transition: opacity 0.18s ease;
	pointer-events: none;
	position: relative;
}

.wcppl-description-loading::after {
	content: '';
	position: absolute;
	top: 0.35em;
	right: 0;
	width: 0.7em;
	height: 0.7em;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	opacity: 0.7;
	animation: wcppl-desc-spin 0.7s linear infinite;
}

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

/* Ensure plugin styles don't override the simple-product selector look. */
.wcppl-actions .box-selector,
.wcppl-actions .quantity-selector,
.wcppl-actions .box-selector h4 {
	background: transparent;
	padding: 0;
	border: 0;
	box-shadow: none;
}

@media (max-width: 767px) {
	.wcppl-actions .wcppl-box-quantity-row,
	.wcppl-actions .adventa-box-select-dropdown,
	.wcppl-cta-row,
	.wcppl-actions .single_add_to_cart_button,
	.wcppl-actions .wcppl-call-to-order {
		max-width: 100%;
	}
}
