.cds-product-addons {
	margin: 0 0 20px;
}

.cds-addon-field {
	margin-bottom: 16px;
}

.cds-addon-field-label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.cds-addon-required {
	color: #d63638;
}

.cds-addon-field-description {
	display: block;
	font-size: 0.875em;
	color: #666;
	margin-top: 4px;
}

.cds-addon-textarea {
	width: 100%;
	max-width: 480px;
	box-sizing: border-box;
}

.cds-addon-daterange {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cds-addon-daterange input,
.cds-addon-date input {
	max-width: 160px;
	box-sizing: border-box;
	cursor: pointer;
	background: #fff;
}

.cds-addon-date-sep {
	color: #666;
}

/* Minimal jQuery UI datepicker skin (WordPress core does not enqueue one). */
.ui-datepicker {
	width: 17em;
	padding: 0.5em;
	background: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.15 );
	z-index: 9999 !important;
	font-size: 0.9em;
}

.ui-datepicker .ui-datepicker-header {
	position: relative;
	padding: 0.2em 0;
	text-align: center;
}

.ui-datepicker .ui-datepicker-title {
	font-weight: 600;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
	position: absolute;
	top: 0;
	width: 1.8em;
	height: 1.8em;
	cursor: pointer;
	text-align: center;
	line-height: 1.8em;
}

.ui-datepicker .ui-datepicker-prev {
	left: 0;
}

.ui-datepicker .ui-datepicker-next {
	right: 0;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
	display: none;
}

.ui-datepicker .ui-datepicker-prev::before {
	content: '\2039';
}

.ui-datepicker .ui-datepicker-next::before {
	content: '\203a';
}

.ui-datepicker table {
	width: 100%;
	border-collapse: collapse;
	margin: 0.5em 0 0;
}

.ui-datepicker th {
	padding: 0.4em 0.2em;
	text-align: center;
	font-weight: 600;
	font-size: 0.85em;
}

.ui-datepicker td {
	padding: 1px;
	text-align: center;
}

.ui-datepicker td a,
.ui-datepicker td span {
	display: block;
	padding: 0.5em 0.4em;
	text-decoration: none;
	color: #333;
	border-radius: 3px;
	transition: background-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.ui-datepicker td a {
	cursor: pointer;
}

.ui-datepicker td a:hover,
.ui-datepicker td a:focus {
	background: #2271b1;
	color: #fff;
	outline: none;
}

.ui-datepicker td .ui-state-highlight {
	box-shadow: inset 0 0 0 1px #2271b1;
}

.ui-datepicker td .ui-state-active,
.ui-datepicker td .ui-state-active:hover {
	background: #135e96;
	color: #fff;
	box-shadow: none;
}

.ui-datepicker td .ui-state-disabled span {
	color: #ccc;
}

.ui-datepicker-unselectable .ui-state-default {
	color: #ccc;
	cursor: default;
}
