.hexco-pov {
	margin: 1.5em 0;
}

.hexco-pov-step {
	margin-bottom: 1.75em;
}

.hexco-pov-step--auto {
	display: none;
}

.hexco-pov-step.is-locked .hexco-pov-options {
	pointer-events: none;
	opacity: 0.45;
}

.hexco-pov-step__title {
	margin: 0 0 0.25em;
	font-size: 1.1em;
	font-weight: 700;
}

.hexco-pov-step__subtitle {
	margin: 0 0 0.75em;
	color: #666;
	font-size: 0.95em;
}

.hexco-pov-options {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hexco-pov-option {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-height: 118px;
	text-align: center;
	cursor: pointer;
	border: none;
	box-shadow: none;
	margin: 0 !important;
    justify-content: center;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.hexco-pov-option:hover:not(.is-disabled):not(.is-selected),
.hexco-pov-option:focus:not(.is-disabled):not(.is-selected) {
	outline: none;
}

.hexco-pov-option.is-selected {
	border: 1px solid #000;
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
}

.hexco-pov-option.is-disabled {
	opacity: 0.38;
	cursor: not-allowed;
	pointer-events: none;
	border: none;
	box-shadow: none;
}

.hexco-pov-option img {
	display: block;
	width: 72px;
	height: 72px;
	margin: 0 auto 6px;
	object-fit: contain;
	flex-shrink: 0;
}

.hexco-pov-option__label {
	display: block;
	width: 100%;
	font-size: 0.85em;
	line-height: 1.25;
	font-weight: 600;
	word-break: break-word;
}

.hexco-pov-option__text {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 6px;
	font-weight: 700;
	font-size: 0.9em;
	line-height: 1.2;
	flex-shrink: 0;
}

/* Verberg standaard WooCommerce variatietabel wanneer viewer actief is */
body.hexco-pov-active form.variations_form table.variations {
	display: none !important;
}

body.hexco-pov-active form.variations_form .tc-styled-variations,
body.hexco-pov-active form.variations_form .tm-extra-product-options-variations {
	display: none !important;
}

/* Oude TM-totalen verbergen; hexco-pov-totals neemt het over */
body.hexco-pov-active .tc-totals-form,
body.hexco-pov-active .tm-extra-product-options-totals:not(.hexco-pov-totals__list) {
	display: none !important;
}

.hexco-pov-totals {
	clear: both;
}

.hexco-pov-totals__list {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0;
}

.hexco-pov-totals__label {
	margin: 0;
	font-weight: 700;
	font-size: 1.05em;
}

.hexco-pov-totals__price {
	margin: 0;
}


/* Prijsweergave: primair (groot, groen) en secundair (klein, zwart) - voor simple producten */
.hexco-price-display {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hexco-price-primary {
	font-weight: 700;
	font-size: 1.4em;
	color: #46a049;
}

.hexco-price-primary .woocommerce-Price-amount {
	font-weight: 700;
	color: #46a049;
}

.hexco-price-secondary {
	font-size: 0.9em;
	color: #333;
}

.hexco-price-secondary .woocommerce-Price-amount {
	font-weight: 400;
	color: #333;
}

.woocommerce-product-gallery img {
	background: white;
}

.wd-sticky-btn .hexco-sticky-selection {
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.35;
	color: rgba(0, 0, 0, 0.75);
}

.wd-sticky-btn .wd-sticky-add-to-cart.wd-disabled {
	pointer-events: none;
	opacity: 0.55;
}

.hexco-variant-upsells,
.hexco-upsells,
.hexco-upsells-groups,
.hexco-upsells-groups__selectors,
.hexco-upsells-groups__details {
	background: #fff;
}

.hexco-variant-upsells {
	margin: 0 0 1.25rem;
}

.hexco-upsells__title {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	font-weight: 600;
}

.hexco-upsells-groups {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hexco-upsells-group {
	min-width: 0;
}

.hexco-upsells-group__trigger {
	width: 100%;
	background: none !important;
}

.hexco-upsells-group.is-expanded .hexco-upsells-group__trigger,
.hexco-upsells-group.is-selected .hexco-upsells-group__trigger {
	border: 1px solid #000;
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
}

.hexco-upsells-groups__details {
	width: 100%;
}

.hexco-upsells-group__panel {
	padding: 12px 0 0;
	border: none;
	border-radius: 0;
	background: #fff;
}

.hexco-upsells__group-header td {
	padding-top: 1rem;
	padding-bottom: 0.35rem;
	font-weight: 700;
	border-top: 1px solid #e5e5e5;
}

.hexco-upsells__group-header:first-child td {
	border-top: none;
	padding-top: 0;
}

.hexco-upsells__table {
	width: 100%;
	margin-bottom: 0;
}

.hexco-upsells__table th,
.hexco-upsells__table td {
	vertical-align: middle;
}

.hexco-upsells__product {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hexco-upsells__thumb {
	width: 48px;
	height: 48px;
	object-fit: contain;
	flex-shrink: 0;
}

.hexco-upsells__product-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.hexco-upsells__name {
	font-weight: 500;
	line-height: 1.3;
}

.hexco-upsells__stock {
	font-size: 0.85em;
	color: #b32d2e;
}

.hexco-upsells__qty {
	width: 5.5rem;
	text-align: center;
}

.hexco-upsells__qty-input {
	width: 4.5rem;
	max-width: 100%;
	text-align: center;
}