.cd-dp { margin: 14px 0 20px; }

.cd-dp-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 18px;
}
@media (max-width: 540px) { .cd-dp-grid { grid-template-columns: 1fr; } }

.cd-dp-field { margin: 0; }
.cd-dp-col-full { grid-column: 1 / -1; }

.cd-dp-field label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 6px;
}
.cd-dp-field .cd-dp-free { font-weight: 400; color: #9aa0a6; font-size: 12px; }

.cd-dp-select {
	width: 100%;
	padding: 12px 40px 12px 14px;
	font-size: 15px;
	color: #333;
	background-color: #fff;
	border: 1px solid #d3d6db;
	border-radius: 8px;
	line-height: 1.2;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
.cd-dp-select:focus { outline: none; border-color: #2a6df0; box-shadow: 0 0 0 3px rgba(42,109,240,.15); }
.cd-dp-select.cd-dp-empty { color: #9aa0a6; }

.cd-dp-hidden-select {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px; border: 0;
	clip: rect(0 0 0 0); overflow: hidden;
}

.cd-dp .cd-dp-swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2px; }
.cd-dp .cd-dp-swatches .cd-dp-swatch {
	width: 40px !important;
	height: 40px !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 1px solid rgba(0, 0, 0, .18) !important;
	border-radius: 50% !important;
	background-color: var(--sw, #dcdcdc) !important;
	background-image: none !important;
	box-shadow: none !important;
	cursor: pointer;
	line-height: 0 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	outline: none;
	transition: transform .08s ease, box-shadow .08s ease;
}
.cd-dp .cd-dp-swatches .cd-dp-swatch:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .18) !important;
}
.cd-dp .cd-dp-swatches .cd-dp-swatch.is-selected {
	border-color: #2a6df0 !important;
	box-shadow: 0 0 0 3px rgba(42, 109, 240, .35) !important;
}

.cd-dp-price-line { margin-top: 18px; font-size: 15px; color: #555; }
.cd-dp-price { font-size: 26px; font-weight: 800; color: #123a8f; margin-left: 4px; vertical-align: -2px; }

.cd-dp-live-price { font-size: 34px; font-weight: 800; color: #123a8f; display: inline-block; line-height: 1.1; }
.cd-dp-live-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
