/* Frontend Styles voor 3D Print Shop Suite — Strak & Passend bij het Website Thema */
.wc-3dps-product-options {
	margin: 20px 0;
	padding: 18px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	font-family: inherit;
}

.wc-3dps-field-group {
	margin-bottom: 18px;
}

.wc-3dps-field-group:last-child {
	margin-bottom: 0;
}

.wc-3dps-label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: inherit;
}

.wc-3dps-selected-color-name {
	font-weight: 400;
	opacity: 0.8;
	margin-left: 6px;
}

.wc-3dps-fee-badge {
	font-weight: 600;
	margin-left: 4px;
}

.wc-3dps-max-files-note {
	font-weight: 400;
	opacity: 0.7;
	margin-left: 4px;
}

.wc-3dps-swatches-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wc-3dps-swatch {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px 5px 7px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.15s ease;
	user-select: none;
}

.wc-3dps-swatch:hover {
	border-color: rgba(0, 0, 0, 0.5);
}

.wc-3dps-swatch input[type="radio"] {
	display: none;
}

.wc-3dps-swatch.is-selected {
	border-color: currentColor;
	box-shadow: 0 0 0 1px currentColor;
	background: rgba(0, 0, 0, 0.03);
}

.wc-3dps-swatch-circle {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.25);
	display: inline-block;
	flex-shrink: 0;
}

/* Kleurbolletje in de Winkelwagen & Afrekenen */
.wc-3dps-cart-swatch-dot {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.35);
	vertical-align: -2px;
	margin-right: 6px;
	flex-shrink: 0;
}

.wc-3dps-swatch-name {
	font-size: 13px;
	font-weight: 500;
	color: inherit;
}

.wc-3dps-swatch-price {
	font-size: 12px;
	opacity: 0.85;
	font-weight: 600;
}

.wc-3dps-text-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 6px;
	font-family: inherit;
}

.wc-3dps-upload-zone {
	padding: 14px;
	border: 1px dashed rgba(0, 0, 0, 0.25);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.015);
	text-align: center;
}

.wc-3dps-upload-hint {
	margin: 6px 0 0;
	font-size: 12px;
	opacity: 0.7;
}

.wc-3dps-upload-preview {
	margin-top: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.wc-3dps-upload-preview img {
	width: 90px;
	height: 90px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid rgba(0, 0, 0, 0.12);
}

.wc-3dps-live-price-box {
	margin-top: 16px;
	padding: 12px 16px;
	background: rgba(0, 0, 0, 0.03);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: inherit;
}

.wc-3dps-live-price-amount {
	font-size: 17px;
	font-weight: 700;
}

/* Subtiele, Wegklikbare Meldingen (Productpagina & Winkelwagen) die passen bij het thema */
.wc-3dps-product-promos,
.wc-3dps-cart-banners-wrap {
	margin: 16px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wc-3dps-notice {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 36px 11px 14px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-left: 3px solid currentColor;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
	color: inherit;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.45;
}

.wc-3dps-notice-icon {
	font-size: 16px;
	line-height: 1;
	flex-shrink: 0;
}

.wc-3dps-notice-body {
	flex: 1;
}

.wc-3dps-notice-body a {
	color: inherit;
	text-decoration: underline;
	font-weight: 600;
	margin-left: 4px;
}

.wc-3dps-notice-close {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	color: inherit !important;
	opacity: 0.45;
	font-size: 20px;
	line-height: 1;
	padding: 4px 6px !important;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.wc-3dps-notice-close:hover {
	opacity: 1;
}

/* Voortgangsbalk binnen de melding */
.wc-3dps-gift-text {
	margin-bottom: 6px;
}

.wc-3dps-progress-bar {
	width: 100%;
	height: 6px;
	background: rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	overflow: hidden;
}

.wc-3dps-progress-fill {
	height: 100%;
	background: currentColor;
	opacity: 0.8;
	transition: width 0.3s ease;
}

.wc-3dps-free-gift-badge {
	display: inline-block;
	background: rgba(0, 0, 0, 0.08);
	color: inherit;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 999px;
	margin-left: 6px;
	vertical-align: middle;
}
