/**
 * Variation Swatches – styles
 *
 * @package WC_Customizations
 */

/* ── Hide default select & label ── */
.variations select { display: none !important; }
.variations { margin-bottom: 15px !important; }
.variations td.label { display: none !important; }
.variations td.value { width: 100% !important; padding: 0 !important; }

/* ── Swatch container ── */
.custom-variation-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
}

/* ── Individual swatch button ── */
.custom-variation-swatches .swatch-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 80px;
	padding: 10px 16px;
	border: 2px solid #ddd;
	border-radius: 8px;
	cursor: pointer;
	background: #fff;
	transition: all 0.2s ease;
	text-align: center;
}

.custom-variation-swatches .swatch-btn:hover {
	border-color: #1a5c2a;
}

/* ── Active / selected state ── */
.custom-variation-swatches .swatch-btn.active {
	border-color: #1a5c2a;
	background: #f0faf3;
	box-shadow: 0 0 0 1px #1a5c2a;
}

/* ── Label (variation name) ── */
.custom-variation-swatches .swatch-btn .swatch-size {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	line-height: 1.3;
}

/* ── Price beneath label ── */
.custom-variation-swatches .swatch-btn .swatch-price {
	font-size: 13px;
	color: #1a5c2a;
	font-weight: 600;
	margin-top: 2px;
}

/* ── Hide reset link ── */
.reset_variations {
	display: none !important;
}
