/* WoodMart Weight Price Buttons */
.wm-weight-price-buttons {
	margin: 0 0 22px;
	width: 100%;
}

.wm-weight-price-buttons__label {
	display: block;
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: #202020;
}

.wm-weight-price-buttons__label .wm-current-value {
	font-weight: 700;
	color: #198754;
}

.wm-weight-price-buttons__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.wm-weight-price-buttons__button {
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #d8d8d8;
	background: #fff;
	color: #242424;
	border-radius: 8px;
	padding: 11px 18px;
	min-width: 76px;
	min-height: 44px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.1;
	cursor: pointer;
	transition: all .18s ease;
	box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.wm-weight-price-buttons__button:hover {
	border-color: #198754;
	color: #198754;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(25,135,84,.12);
}

.wm-weight-price-buttons__button.is-selected {
	background: #198754;
	border-color: #198754;
	color: #fff;
	box-shadow: 0 5px 14px rgba(25,135,84,.22);
}

.wm-weight-price-buttons__button.is-disabled {
	opacity: .42;
	cursor: not-allowed;
	text-decoration: line-through;
	transform: none;
	box-shadow: none;
}

.wm-weight-price-buttons__clear {
	margin-top: 9px;
	border: 0;
	background: transparent;
	padding: 0;
	color: #666;
	font-family: inherit;
	font-size: 13px;
	cursor: pointer;
	text-decoration: underline;
}

.wm-weight-price-buttons__clear:hover {
	color: #198754;
}

/* Hide only the variation select that has been enhanced.
   The native select stays in the DOM so WooCommerce variation logic continues to work. */
.wm-weight-enhanced-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0,0,0,0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.wm-weight-price-buttons-ready {
	display: none !important;
}

/* WooCommerce price area: make variation price transition cleaner */
.woocommerce-variation-price .price,
.woocommerce-variation.single_variation .price {
	transition: opacity .15s ease, transform .15s ease;
}

/* Mobile */
@media (max-width: 576px) {
	.wm-weight-price-buttons {
		margin-bottom: 18px;
	}

	.wm-weight-price-buttons__list {
		gap: 8px;
	}

	.wm-weight-price-buttons__button {
		min-width: 68px;
		padding: 10px 14px;
		font-size: 14px;
	}
}
