.webintel-bed-patina-technical-option-hidden,
.webintel-empty-custom-table {
	display: none !important;
}

/* Neutralises the legacy show_gallery_fast visibility script. */
#webintel_custom_item_after_variants,
#webintel_custom_item_after_variants.webintel-custom-fields-visible {
	display: block !important;
}

.webintel-bed-color-row {
	visibility: visible !important;
}

.webintel-bed-color-value {
	min-width: 0;
	width: 100%;
}

.webintel-bed-color-control-group {
	display: flex;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	min-width: 0;
}

#hikashop_product_form .webintel-bed-color-select {
	display: block;
	flex: 1 1 auto;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	min-height: 42px;
	margin: 0;
	padding: 8px 34px 8px 12px;
	box-sizing: border-box;
	border: 1px solid #d7dce2;
	border-radius: 2px;
	background-color: #fff;
	color: inherit;
	font: inherit;
	line-height: 1.35;
}

#hikashop_product_form select.webintel-progressive-disabled,
#hikashop_product_form .webintel-bed-color-select:disabled {
	border-color: #dfe3e8;
	background-color: #f2f4f6;
	color: #818891;
	cursor: not-allowed;
	opacity: 0.72;
}

#hikashop_product_form .webintel-bed-color-select:focus {
	border-color: #8f969e;
	outline: 2px solid rgba(76, 94, 112, 0.18);
	outline-offset: 1px;
}

.webintel-bed-color-label-group {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	max-width: 100%;
	vertical-align: middle;
}

.webintel-bed-color-label {
	margin: 0;
}

.webintel-color-chart-trigger {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin: 0;
	padding: 0;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: transparent;
	color: #58616b;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.webintel-color-chart-trigger:hover,
.webintel-color-chart-trigger:focus-visible {
	background-color: #58616b;
	color: #fff;
	transform: scale(1.04);
	outline: none;
}

.webintel-color-chart-trigger-icon {
	display: block;
	transform: translateY(-0.5px);
}

.webintel-swatch-trigger {
	display: inline-flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	width: 42px;
	min-height: 42px;
	margin: 0;
	padding: 8px;
	border: 1px solid #aeb5bd;
	border-radius: 3px;
	background: #fff;
	color: #343b43;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.webintel-swatch-trigger svg {
	display: block;
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.webintel-swatch-trigger:hover:not(:disabled),
.webintel-swatch-trigger:focus-visible:not(:disabled) {
	border-color: #343b43;
	background: #343b43;
	color: #fff;
	transform: scale(1.025);
	outline: 2px solid rgba(52, 59, 67, 0.18);
	outline-offset: 1px;
}

.webintel-swatch-trigger:disabled {
	border-color: #dfe3e8;
	background: #f2f4f6;
	color: #a1a7ae;
	cursor: not-allowed;
	opacity: 0.72;
}

.webintel-bed-patina-notice {
	margin: 7px 0 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: #b45f06;
}

.webintel-bed-patina-notice[hidden] {
	display: none !important;
}

.webintel-bed-colour-error {
	margin: 6px 0 8px;
	color: #c62828;
	font-size: 13px;
	font-weight: 600;
}

.webintel-bed-colour-error[hidden] {
	display: none !important;
}

.webintel-bed-choice {
	display: inline;
}

/* The real HikaShop dynamic-price element is moved beside the original top price. */
#hikashop_product_price_main.webintel-base-price-hidden {
	display: none !important;
}

#hikashop_product_price_with_options_main.webintel-final-price-at-top {
	display: none;
	margin: 0;
}

#hikashop_product_price_with_options_main.webintel-final-price-at-top.webintel-final-price-visible {
	display: inline-block;
}

#hikashop_product_price_with_options_main.webintel-options-price-hidden {
	display: none !important;
}

html.webintel-image-modal-open,
html.webintel-image-modal-open body {
	overflow: hidden;
}

.webintel-image-modal[hidden] {
	display: none !important;
}

.webintel-image-modal {
	position: fixed;
	z-index: 2147483000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(12px, 3vw, 36px);
	opacity: 0;
	transition: opacity 0.18s ease;
}

.webintel-image-modal.is-open {
	opacity: 1;
}

.webintel-image-modal-backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.72);
	cursor: zoom-out;
}

.webintel-image-modal-dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(92vw, 1040px);
	max-height: 94vh;
	overflow: hidden;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
	transform: scale(0.965);
	transition: transform 0.18s ease;
}

.webintel-image-modal.is-open .webintel-image-modal-dialog {
	transform: scale(1);
}

.webintel-image-modal-swatch .webintel-image-modal-dialog {
	width: min(92vw, 820px);
}

.webintel-image-modal-title {
	flex: 0 0 auto;
	margin: 0;
	padding: 20px 64px 14px 24px;
	border-bottom: 1px solid #eceff2;
	color: #222;
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
}

.webintel-image-modal-content {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	min-height: 0;
	overflow: auto;
	padding: clamp(12px, 2vw, 24px);
	background: #fff;
}

.webintel-image-modal-image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: calc(94vh - 100px);
	object-fit: contain;
}

.webintel-image-modal-swatch .webintel-image-modal-image {
	width: auto;
	max-width: 100%;
}

.webintel-image-modal-close {
	position: absolute;
	z-index: 2;
	top: 12px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #151515;
	color: #fff;
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 9px rgba(0, 0, 0, 0.28);
}

.webintel-image-modal-close:hover,
.webintel-image-modal-close:focus-visible {
	background: #000;
	outline: 3px solid rgba(255, 255, 255, 0.7);
	outline-offset: 2px;
}

.webintel-image-modal-error {
	margin: 30px;
	color: #b42318;
	font-weight: 600;
	text-align: center;
}

@media (max-width: 640px) {
	.webintel-bed-color-control-group {
		gap: 6px;
	}

	.webintel-image-modal {
		padding: 8px;
	}

	.webintel-image-modal-dialog,
	.webintel-image-modal-swatch .webintel-image-modal-dialog {
		width: 100%;
		max-height: 96vh;
	}

	.webintel-image-modal-title {
		padding: 16px 52px 12px 16px;
		font-size: 19px;
		text-align: left;
	}

	.webintel-image-modal-close {
		top: 8px;
		right: 8px;
		width: 34px;
		height: 34px;
	}

	.webintel-image-modal-content {
		padding: 8px;
	}

	.webintel-image-modal-image {
		max-height: calc(96vh - 78px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.webintel-image-modal,
	.webintel-image-modal-dialog,
	.webintel-swatch-trigger,
	.webintel-color-chart-trigger {
		transition: none !important;
	}
}


.webintel-flow-placeholder td {
	vertical-align: middle;
}

.webintel-flow-placeholder-select {
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-height: 42px;
	box-sizing: border-box;
	opacity: 0.62;
	cursor: not-allowed;
}

.webintel-flow-placeholder-label {
	opacity: 0.72;
}

/* v1.2.2: HikaShop renders all native characteristic rows but may hide the
 * non-current rows with inline styles. The plugin marks the audited rows and
 * keeps the real HikaShop controls visible; only their enabled state changes. */
#hikashop_product_form .webintel-flow-block,
#hikashop_product_form .webintel-flow-table,
#hikashop_product_form .webintel-flow-tbody {
	visibility: visible !important;
	opacity: 1 !important;
}

#hikashop_product_form .webintel-flow-block {
	display: block !important;
}

#hikashop_product_form table.webintel-flow-table {
	display: table !important;
	width: 100%;
}

#hikashop_product_form tbody.webintel-flow-tbody {
	display: table-row-group !important;
}

#hikashop_product_form tr.webintel-flow-row {
	display: table-row !important;
	visibility: visible !important;
	opacity: 1 !important;
}

#hikashop_product_form select.webintel-flow-select {
	display: block !important;
	visibility: visible !important;
	opacity: 1;
	width: 100% !important;
	max-width: 100%;
	min-height: 42px;
	box-sizing: border-box;
}

#hikashop_product_form select.webintel-flow-select.webintel-progressive-disabled,
#hikashop_product_form select.webintel-flow-select:disabled {
	opacity: 0.62;
}
