/**
 * InnerCircle Woo Variation Buttons – base styles.
 * Visuals (colors, border, hover/selected/disabled states) are driven by
 * the Elementor controls; this file only provides structural defaults.
 */

/* Native <select> kept for WC JS, hidden but accessible to scripts. */
.icwvb-form .icwvb-select-wrap {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.icwvb-form .icwvb-attribute {
	display: block;
}

.icwvb-form .icwvb-label {
	display: block;
}

.icwvb-form .icwvb-group {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.icwvb-form .icwvb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	font: inherit;
	line-height: 1;
	text-align: center;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 0;
	cursor: pointer;
	transition-property: color, background-color, border-color, box-shadow, opacity;
	transition-timing-function: ease;
	transition-duration: 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.icwvb-form .icwvb-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.icwvb-form .icwvb-btn.icwvb-disabled {
	cursor: not-allowed;
	opacity: 0.35;
}

/* Stretch alignment: buttons share the row equally. */
.icwvb-form .icwvb-group[style*="stretch"] .icwvb-btn,
.icwvb-form .icwvb-attribute .icwvb-group[style*="justify-content: stretch"] .icwvb-btn {
	flex: 1 1 0;
}

.icwvb-notice {
	padding: 12px 16px;
	font-size: 13px;
	color: #856404;
	background: #fff3cd;
	border: 1px solid #ffeeba;
	border-radius: 3px;
}

/* Stock display – populated by JS on found_variation. */
.icwvb-form .icwvb-stock:empty {
	display: none;
}

/* Custom add-to-cart mode: hide the native price/availability block,
   it only exists for WC' variation JS. !important nötig, weil WC' Variations-
   JS bei found_variation ein inline style="display:block" auf .single_variation
   setzt – ohne !important bliebe der native Lagerbestand sichtbar (doppelt). */
.icwvb-form .icwvb-cart--custom .single_variation {
	display: none !important;
}

.icwvb-form .icwvb-cart--custom .variations_button {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
}

.icwvb-form .icwvb-add-to-cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	font: inherit;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	border: 1px solid transparent;
	-webkit-appearance: none;
	appearance: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.icwvb-form .icwvb-add-to-cart.disabled {
	cursor: not-allowed;
}
