/* Hide the native <select> visually but keep it in the DOM/tab order so
   WooCommerce's own variation JS (price/stock/add-to-cart) keeps working —
   the clickable chips below just drive this same element. */
.ber4u-native-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ber4u-packaging-row .label {
	display: none;
}

.ber4u-packaging-blocks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
	margin: 8px 0 16px;
}

.ber4u-packaging-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 14px 10px;
	border: 2px solid #ececec;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	text-align: center;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ber4u-packaging-chip:hover {
	border-color: #f5c518;
}

.ber4u-packaging-chip.is-active {
	border-color: #f5a623;
	box-shadow: 0 0 0 1px #f5a623;
}

.ber4u-packaging-chip__icon {
	font-size: 24px;
	line-height: 1;
}

.ber4u-packaging-chip__label {
	font-weight: 600;
	font-size: 0.95em;
}

.ber4u-packaging-chip__price {
	font-size: 0.85em;
	color: #555;
}

.ber4u-packaging-chip__price .price {
	font-size: inherit;
}
