#product .radio.poc-unavailable,
.product-layout_cat.poc-category-card .radio.poc-unavailable {
	position: relative;
	cursor: not-allowed;
}

#product .radio.poc-unavailable > label,
#product .radio.poc-unavailable .opthe,
#product .radio.poc-unavailable .im_option,
.product-layout_cat.poc-category-card .radio.poc-unavailable > label,
.product-layout_cat.poc-category-card .radio.poc-unavailable .opthe,
.product-layout_cat.poc-category-card .radio.poc-unavailable .im_option {
	cursor: not-allowed;
}

#product .radio.poc-unavailable > label,
.product-layout_cat.poc-category-card .radio.poc-unavailable > label {
	pointer-events: none;
}

#product .radio.poc-unavailable .im_option,
.product-layout_cat.poc-category-card .radio.poc-unavailable .im_option {
	color: #9ca3a1;
	background-color: #fafafa;
	border-color: #e1e4e3;
}

#product .radio.poc-unavailable .opthe > img,
#product .radio.poc-unavailable img.imgpopcat,
.product-layout_cat.poc-category-card .radio.poc-unavailable .opthe > img,
.product-layout_cat.poc-category-card .radio.poc-unavailable img.imgpopcat {
	opacity: 0.55;
	filter: saturate(0.65) brightness(1.08);
}

#product .radio.poc-unavailable .opthe,
#product .radio.poc-unavailable .im_option,
.product-layout_cat.poc-category-card .radio.poc-unavailable .opthe,
.product-layout_cat.poc-category-card .radio.poc-unavailable .im_option {
	position: relative;
	overflow: hidden;
}

#product .radio.poc-unavailable .opthe::before,
#product .radio.poc-unavailable .opthe::after,
#product .radio.poc-unavailable .im_option::before,
#product .radio.poc-unavailable .im_option::after,
.product-layout_cat.poc-category-card .radio.poc-unavailable .opthe::before,
.product-layout_cat.poc-category-card .radio.poc-unavailable .opthe::after,
.product-layout_cat.poc-category-card .radio.poc-unavailable .im_option::before,
.product-layout_cat.poc-category-card .radio.poc-unavailable .im_option::after {
	content: "";
	display: block;
	position: absolute;
	top: 3px;
	right: 3px;
	bottom: 3px;
	left: 3px;
	width: auto;
	height: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	z-index: 10;
	opacity: 1;
	visibility: visible;
	pointer-events: none;
	background-color: transparent;
	background-repeat: no-repeat;
	transform: none;
}

/* Text radio (for example, size): use the active Deluxe cart colour without changing element dimensions. */
#product .radio input.options_none[type="radio"]:checked:not(:disabled) + .im_option,
.product-layout_cat.poc-category-card .radio input.options_none[type="radio"]:checked:not(:disabled) + .im_option {
	border-color: #128c2c;
	box-shadow: inset 0 0 0 1px #128c2c;
}

/* Availability always has priority over the selected state. */
#product .radio.poc-unavailable input.options_none[type="radio"] + .im_option,
.product-layout_cat.poc-category-card .radio.poc-unavailable input.options_none[type="radio"] + .im_option {
	border-color: #e1e4e3;
	box-shadow: none;
}

#product .radio.poc-unavailable .opthe::before,
#product .radio.poc-unavailable .im_option::before,
.product-layout_cat.poc-category-card .radio.poc-unavailable .opthe::before,
.product-layout_cat.poc-category-card .radio.poc-unavailable .im_option::before {
	background-image: linear-gradient(
		to top right,
		transparent calc(50% - 0.55px),
		rgba(190, 54, 48, 0.9) calc(50% - 0.55px),
		rgba(190, 54, 48, 0.9) calc(50% + 0.55px),
		transparent calc(50% + 0.55px)
	);
}

#product .radio.poc-unavailable .opthe::after,
#product .radio.poc-unavailable .im_option::after,
.product-layout_cat.poc-category-card .radio.poc-unavailable .opthe::after,
.product-layout_cat.poc-category-card .radio.poc-unavailable .im_option::after {
	background-image: linear-gradient(
		to bottom right,
		transparent calc(50% - 0.55px),
		rgba(190, 54, 48, 0.9) calc(50% - 0.55px),
		rgba(190, 54, 48, 0.9) calc(50% + 0.55px),
		transparent calc(50% + 0.55px)
	);
}

.product-layout_cat.poc-category-card .poc-category-warning {
	clear: both;
	width: 100%;
}

.product-layout_cat.poc-category-card .poc-category-warning .alert {
	margin: 8px 0;
	padding: 8px 10px;
}

@media (max-width: 767px) {
	.checkout-custom #custom-cart .poc-checkout-row-warning:empty,
	.extension-module-custom #custom-cart .poc-checkout-row-warning:empty {
		display: none;
	}

	.checkout-custom #custom-cart .poc-checkout-row-warning:not(:empty),
	.extension-module-custom #custom-cart .poc-checkout-row-warning:not(:empty) {
		display: block;
		box-sizing: border-box;
		width: 100%;
		margin: 6px 0 4px;
		padding: 7px 9px;
		color: #8a6d3b;
		background-color: #fcf8e3;
		border: 1px solid #faebcc;
		border-radius: 4px;
		font-size: 13px;
		line-height: 1.35;
		white-space: normal;
		overflow-wrap: anywhere;
	}
}
