.ddw {
	--ddw-label-width: 160px;
	box-sizing: border-box;
	width: 100%;
}
.ddw *,
.ddw *::before,
.ddw *::after {
	box-sizing: border-box;
}
.ddw__divider {
	border-top: 1px solid #e3e0d8;
	width: 100%;
}
.ddw__heading {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-size: 40px;
	line-height: 1.1;
	color: #1b2244;
}
.ddw__address {
	margin-top: 24px;
}
.ddw__name {
	margin: 0;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.5;
	color: #1b2244;
}
.ddw__lines {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: #2b3150;
}
.ddw__rows {
	display: table;
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}
.ddw__row {
	display: table-row;
}
.ddw__label,
.ddw__value-wrap {
	display: table-cell;
	vertical-align: baseline;
}
.ddw__row + .ddw__row > .ddw__label,
.ddw__row + .ddw__row > .ddw__value-wrap {
	padding-top: 14px;
}
.ddw__label {
	width: 1%;
	white-space: nowrap;
	padding-right: 16px;
	font-size: 14px;
	color: #4a5070;
}
.ddw__value-wrap {
	font-size: 14px;
	color: #1b2244;
}
.ddw__value--bold {
	font-weight: 600;
}
.ddw__sep {
	margin: 0 6px;
	opacity: .6;
}
.ddw--notice,
.ddw--empty {
	padding: 16px;
	font-size: 14px;
	color: #4a5070;
	border: 1px dashed #c9c5b8;
}
.ddw-on {
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
}
.ddw-on__prefix {
	display: inline-block;
}

/* ---------- Order summary ---------- */
.ddw-os {
	--ddw-img-w: 90px;
	--ddw-qty-w: 60px;
	--ddw-price-w: 90px;
	box-sizing: border-box;
	width: 100%;
}
.ddw-os *,
.ddw-os *::before,
.ddw-os *::after {
	box-sizing: border-box;
}
.ddw-os__heading {
	margin: 0 0 16px;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-size: 40px;
	line-height: 1.1;
	color: #1b2244;
}
.ddw-os__item {
	display: grid;
	grid-template-columns: var(--ddw-img-w) minmax(0, 1fr) var(--ddw-qty-w) var(--ddw-price-w);
	column-gap: 16px;
	align-items: start;
	padding: 14px 0;
	border-bottom: 1px solid #e3e0d8;
}
.ddw-os__item--noimg {
	grid-template-columns: minmax(0, 1fr) var(--ddw-qty-w) var(--ddw-price-w);
}
.ddw-os__img img {
	display: block;
	width: 100%;
	height: auto;
}
.ddw-os__brand {
	font-weight: 600;
	font-size: 15px;
	color: #1b2244;
}
.ddw-os__name {
	font-size: 15px;
	line-height: 1.4;
	color: #2b3150;
}
.ddw-os__qty {
	font-size: 14px;
	color: #4a5070;
}
.ddw-os__price {
	font-size: 15px;
	text-align: right;
	color: #1b2244;
}
.ddw-os__divider {
	border-top: 1px solid #e3e0d8;
	margin: 16px 0;
}
.ddw-os__totals {
	display: flex;
	flex-direction: column;
	row-gap: 8px;
}
.ddw-os__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	column-gap: 16px;
}
.ddw-os__tlabel {
	font-size: 15px;
	color: #2b3150;
}
.ddw-os__tvalue {
	font-size: 15px;
	text-align: right;
	color: #1b2244;
}
.ddw-os__grand .ddw-os__tlabel,
.ddw-os__grand .ddw-os__tvalue {
	font-weight: 600;
	font-size: 18px;
	color: #1b2244;
}
.ddw-os__note {
	font-size: 14px;
	color: #4a5070;
}

.ddw-os__img {
	position: relative;
}
.ddw-os__badge {
	display: none;
	position: absolute;
	top: var(--ddw-badge-y, -6px);
	right: var(--ddw-badge-x, -6px);
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #1b2244;
	color: #fff;
	font-size: 12px;
	line-height: 22px;
	text-align: center;
	z-index: 1;
}
.ddw-os-wrap {
	container-type: inline-size;
	width: 100%;
}

/* Compact layout: based on the widget's own width, so it also works
   when the widget sits in a narrow column on tablets and desktops. */
@container (max-width: 480px) {
	.ddw-os__item {
		grid-template-columns: var(--ddw-img-w) minmax(0, 1fr) auto;
	}
	.ddw-os__item--noimg {
		grid-template-columns: minmax(0, 1fr) auto auto;
	}
	.ddw-os--badge .ddw-os__badge {
		display: inline-block;
	}
	.ddw-os--badge .ddw-os__qty {
		display: none;
	}
}
@supports not (container-type: inline-size) {
	@media (max-width: 767px) {
		.ddw-os__item {
			grid-template-columns: var(--ddw-img-w) minmax(0, 1fr) auto;
		}
		.ddw-os__item--noimg {
			grid-template-columns: minmax(0, 1fr) auto auto;
		}
		.ddw-os--badge .ddw-os__badge {
			display: inline-block;
		}
		.ddw-os--badge .ddw-os__qty {
			display: none;
		}
	}
}
