.wce-product-addons-field .wce-product-addons-options {
	display: grid;
	gap: 10px;
	margin-top: 8px;
}

.wce-product-addons-field .wce-product-addon-option {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	padding: 8px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	background: #fff;
}

.wce-product-addons-field .wce-product-addon-content {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wce-product-addons-field .wce-product-addon-thumb {
	width: 44px;
	height: 44px;
	overflow: hidden;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	flex: 0 0 44px;
	background: #f6f7f7;
}

.wce-product-addons-field .wce-product-addon-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wce-product-addons-field .wce-product-addon-text {
	display: grid;
	gap: 2px;
	line-height: 1.3;
}

.wce-product-addons-field .wce-product-addon-title {
	font-weight: 600;
}

.wce-product-addons-field .wce-product-addon-price {
	font-size: 13px;
	color: #007017;
}

.wce-product-addons-field .wce-product-addon-status {
	font-size: 12px;
	color: #a12622;
}

.wce-delivery-scheduler-field .wce-delivery-scheduler-trigger {
	margin-top: 8px;
}

.wce-delivery-scheduler-field .wce-delivery-scheduler-selected {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #374151;
}

.wce-delivery-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 16px;
}

.wce-delivery-modal[hidden] {
	display: none;
}

.wce-delivery-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.wce-delivery-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: min(90vh, 820px);
	overflow: auto;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
	padding: 18px;
}

.wce-delivery-modal__title {
	margin: 0 44px 12px 0;
	font-size: 22px;
	line-height: 1.25;
}

.wce-delivery-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.wce-delivery-modal__calendar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 8px 0 12px;
}

.wce-delivery-modal__calendar-head strong {
	font-size: 18px;
}

.wce-delivery-modal__day-names {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
	opacity: 0.9;
}

.wce-delivery-modal__day-names span {
	text-align: center;
}

.wce-delivery-modal__calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 8px;
}

.wce-delivery-modal__empty-day {
	min-height: 42px;
}

.wce-delivery-modal__day {
	min-height: 42px;
	border: 1px solid #d4d8dd;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
}

.wce-delivery-modal__day.is-selected {
	border-color: #005a87;
	background: #eef6fb;
	color: #005a87;
	font-weight: 700;
}

.wce-delivery-modal__day.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.wce-delivery-modal__slot-block {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e4e6e8;
}

.wce-delivery-modal__slot-block h4 {
	margin: 0 0 10px;
	font-size: 16px;
}

.wce-delivery-modal__slots {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wce-delivery-modal__slot.is-selected {
	background: #005a87;
	border-color: #005a87;
	color: #fff;
}

.wce-delivery-modal__slot.is-disabled,
.wce-delivery-modal__slot:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.wce-delivery-modal__hint {
	margin: 0;
	font-size: 14px;
	color: #6b7280;
}

body.wce-delivery-modal-open {
	overflow: hidden;
}
