/**
 * Checkout page (B6) + order received page.
 *
 * Reference geometry (recon/cart-checkout.md §3.1, 1440 viewport):
 *   .vKzE4a_container : grid 858px form | 8px gap | 558px summary
 *   form content      : x=176, width ≈512
 *   summary           : max-width 580, padding-top 180
 * Payment icons: 26 local PNGs, .pay-brands 42×26.
 *
 * @package drmartens
 */

/* Reference grid: 1440 → 858 + 8 + 558 (right column flush to 16px edge). */
.mSoC-W_container .vKzE4a_container {
	display: block;
	padding: 0 16px 0 0;
	padding-block-end: 5rem;
}

/* Reference: warm-white form side, white summary side. */
@media (min-width: 1024px) {
	.mSoC-W_container .vKzE4a_container {
		background: linear-gradient(to right, var(--background-background-warm-white, #f5f3f0) 0, var(--background-background-warm-white, #f5f3f0) calc(100% - 582px), var(--background-background, #fff) calc(100% - 582px));
	}
}

.drm-shop-checkout__form {
	display: block;
	width: 100%;
}

.drm-shop-checkout__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 558px;
	column-gap: 8px;
	align-items: start;
}

.drm-shop-checkout__main {
	min-width: 0;
}

/* Left form content: 512px wide, offset ≈176px from the viewport edge. */
.drm-shop-checkout__mainInner {
	max-width: 512px;
	margin-left: clamp(1rem, 11.8vw, 170px);
	padding-block: 180px 0;
}

.drm-shop-checkout__header {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 2.5625rem;
}

.drm-shop-checkout__step {
	flex-shrink: 0;
	width: 1.4375rem;
	height: 1.875rem;
	display: grid;
	place-items: center;
	border: 1px solid var(--border-border, #dadada);
	font-size: .8125rem;
	font-weight: 700;
	margin-top: 0;
}

/* Reference h1: two lines, ≈72px, cap top y≈185 at 1440. */
.drm-shop-checkout__title {
	font-size: clamp(2rem, 5.2vw, 4.75rem);
	font-weight: 800;
	line-height: .88;
	letter-spacing: 0;
	text-transform: uppercase;
	margin: 0;
	max-width: 512px;
}

/* ------------------------------------------------------------- sections */
.drm-shop-checkout__section {
	margin-bottom: 2.5rem;
}

.drm-shop-checkout__section-title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1rem;
}

.drm-shop-checkout__section[data-section="contact"] .drm-shop-checkout__section-title,
.drm-shop-checkout__section[data-section="address"] .drm-shop-checkout__section-title,
.drm-shop-checkout__section[data-section="payment"] .drm-shop-checkout__section-title {
	font-size: 1rem;
	font-weight: 700;
	text-transform: none;
}

.drm-shop-checkout__deliveryNote {
	font-size: .75rem;
	line-height: 1.5;
	color: var(--text-text-secondary, #454545);
	margin: .75rem 0 0;
	max-width: 30rem;
}

/* ------------------------------------------------------- delivery rates */
.drm-checkout-rates {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--border-border, #dadada);
}

.drm-checkout-rate + .drm-checkout-rate {
	border-top: 1px solid var(--border-border, #dadada);
}

.drm-checkout-rate__label {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	padding: 1.25rem 1rem;
	cursor: pointer;
}

.drm-checkout-rate__input {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	margin-top: .25rem;
	appearance: none;
	border: 1px solid var(--border-border, #dadada);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.drm-checkout-rate__input:checked {
	background: var(--background-background-black, #000);
	border-color: var(--background-background-black, #000);
	box-shadow: inset 0 0 0 2px #fff;
}

.drm-checkout-rate__body {
	display: flex;
	flex-direction: column;
	gap: .25rem;
	flex: 1;
	min-width: 0;
}

.drm-checkout-rate__name {
	font-size: .8125rem;
	font-weight: 700;
	text-transform: uppercase;
}

.drm-checkout-rate__desc {
	font-size: .875rem;
	line-height: 1.4;
}

.drm-checkout-rate__price {
	font-size: .875rem;
	font-weight: 700;
	text-transform: uppercase;
	padding-top: .25rem;
}

/* ------------------------------------------------------- Woo form fields */
.drm-shop-checkout__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 1rem;
	row-gap: 1.5rem;
}

.drm-shop-checkout__fields--single {
	grid-template-columns: minmax(0, 1fr);
}

.drm-shop-checkout__namesRow {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 1rem;
	row-gap: 1.5rem;
	grid-column: 1 / -1;
}

.drm-shop-checkout .drm-shop-checkout__namesRow .form-row-first,
.drm-shop-checkout .drm-shop-checkout__namesRow .form-row-last {
	grid-column: auto;
	width: 100%;
}

.drm-shop-checkout .form-row {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	float: none;
	position: relative;
}

.drm-shop-checkout .form-row-wide,
.drm-shop-checkout .form-row-first,
.drm-shop-checkout .form-row-last {
	grid-column: 1 / -1;
	width: 100%;
}

.drm-shop-checkout .form-row label {
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--text-text, #000);
	margin-bottom: .375rem;
}

.drm-shop-checkout .form-row .optional {
	display: none;
}

.drm-shop-checkout .form-row .required {
	color: var(--text-support-text-support-error, #cf3636);
	text-decoration: none;
}

.drm-shop-checkout .form-row .input-text,
.drm-shop-checkout .form-row select,
.drm-shop-checkout .form-row textarea {
	width: 100%;
	min-height: 3rem;
	padding: .5rem .75rem;
	font: inherit;
	font-size: 1rem;
	color: var(--text-text, #000);
	background: transparent;
	border: 1px solid var(--border-border, #dadada);
	border-radius: 0;
	appearance: none;
}

.drm-shop-checkout .form-row textarea {
	min-height: 6rem;
	resize: vertical;
}

.drm-shop-checkout .form-row .input-text:focus,
.drm-shop-checkout .form-row select:focus,
.drm-shop-checkout .form-row textarea:focus {
	outline: 2px solid var(--text-text, #000);
	outline-offset: -1px;
}

.drm-shop-checkout .form-row .woocommerce-input-wrapper {
	display: block;
	width: 100%;
}

.drm-shop-checkout .form-row .select2,
.drm-shop-checkout .form-row .select2-container {
	width: 100% !important;
}

/* Same-address / newsletter checkbox rows */
.drm-shop-checkout__checkbox {
	display: block;
	margin-top: 1rem;
}

.drm-shop-checkout__sameAddress {
	margin-top: 1.5rem;
}

.drm-shop-checkout__checkbox .f_pWCW_labelWrapper {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	cursor: pointer;
	width: 100%;
}

.drm-shop-checkout__checkbox .f_pWCW_input {
	width: 1.0625rem;
	height: 1.0625rem;
	flex-shrink: 0;
	margin-top: .1875rem;
	appearance: none;
	border: 1px solid var(--border-border, #dadada);
	background: transparent;
	cursor: pointer;
	position: static;
	opacity: 1;
}

.drm-shop-checkout__checkbox .f_pWCW_input:checked {
	background: var(--background-background-black, #000);
	border-color: var(--background-background-black, #000);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M4.7 9.2 1.5 6l1.1-1.1 2.1 2.1 4.7-4.7L10.5 3.4z'/%3E%3C/svg%3E");
	background-size: .75rem .75rem;
	background-position: center;
	background-repeat: no-repeat;
}

.drm-shop-checkout__checkbox .f_pWCW_input:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.drm-shop-checkout__checkbox .f_pWCW_label {
	font-size: .875rem;
	line-height: 1.45;
}

.drm-shop-checkout__checkbox .f_pWCW_label a {
	text-decoration: underline;
	color: inherit;
}

.drm-shop-checkout__error {
	font-size: .8125rem;
	color: var(--text-support-text-support-error, #cf3636);
	margin: .5rem 0 0;
}

/* ------------------------------------------------------------- payment */
.drm-shop-checkout__gateways {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	margin-bottom: 1rem;
}

.drm-gateway__option {
	display: flex;
	align-items: center;
	gap: .625rem;
	font-size: .875rem;
	cursor: pointer;
}

.drm-gateway__option .Vl465G_input {
	width: 1rem;
	height: 1rem;
	appearance: none;
	border: 1px solid var(--border-border, #dadada);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	flex-shrink: 0;
	margin: 0;
}

.drm-gateway__option .Vl465G_input:checked {
	background: var(--background-background-black, #000);
	border-color: var(--background-background-black, #000);
	box-shadow: inset 0 0 0 2px #fff;
}

.drm-shop-checkout__card {
	display: flex;
	flex-direction: column;
	gap: .75rem;
	margin-bottom: 1rem;
}

.drm-shop-checkout__card-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .75rem;
}

.R9ejxW_wrapper {
	display: flex;
	flex-direction: column;
}

.R9ejxW_field {
	position: relative;
	cursor: text;
}

.R9ejxW_input {
	width: 100%;
	min-height: 3.25rem;
	padding: 1.25rem .75rem .4375rem;
	font: inherit;
	font-size: 1rem;
	color: var(--text-text, #000);
	background: transparent;
	border: 1px solid var(--border-border, #dadada);
	border-radius: 0;
	appearance: none;
}

.R9ejxW_input:focus {
	outline: 2px solid var(--text-text, #000);
	outline-offset: -1px;
}

.R9ejxW_label {
	position: absolute;
	left: .75rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	font-size: .875rem;
	color: var(--text-text-secondary, #454545);
	transition: transform .15s ease, font-size .15s ease, top .15s ease;
}

.R9ejxW_input:focus + .R9ejxW_label,
.R9ejxW_input:not(:placeholder-shown) + .R9ejxW_label {
	top: .5rem;
	transform: none;
	font-size: .6875rem;
	text-transform: uppercase;
	font-weight: 700;
}

/* 26 local payment icons: 42 × 26, contained, white card with a 1px border. */
.pay-brands {
	display: flex;
	flex-wrap: wrap;
	gap: .375rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.pay-brands__item {
	display: flex;
}

.pay-brands__item--wallet svg {
	width: 42px;
	height: 26px;
	background: #fff;
	border: 1px solid var(--border-border-tertiary, #e0dbd1);
	border-radius: .25rem;
}

.pay-brands__item img {
	width: 42px;
	height: 26px;
	object-fit: contain;
	background: #fff;
	border: 1px solid var(--border-border-tertiary, #e0dbd1);
	border-radius: .25rem;
	padding: 2px;
}

.drm-shop-checkout__secure {
	font-size: .75rem;
	color: var(--text-text-secondary, #454545);
	margin: .625rem 0 0;
}

.drm-shop-checkout__place-order {
	width: 100%;
	min-height: 3.25rem;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 0;
	cursor: pointer;
	background: var(--background-background-black, #000);
	color: var(--text-text-inverse, #fff);
	font: inherit;
	font-size: .875rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: .875rem 1rem;
	margin-top: .5rem;
}

.drm-shop-checkout__place-order:hover {
	background: var(--surface-button-surface-button-hover, #2c2c2c);
}

.drm-shop-checkout__place-order[data-loading="true"] {
	opacity: .7;
	pointer-events: none;
}

/* --------------------------------------------------------------- aside */
.drm-shop-checkout__aside {
	min-width: 0;
	background: var(--background-background, #fff);
}

.drm-shop-checkout__asideInner {
	max-width: 580px;
	padding: 180px 0 0 7px;
}

.drm-shop-checkout__summary-title {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
	font-size: clamp(1.75rem, 3.4vw, 3rem);
	font-weight: 800;
	line-height: .85;
	text-transform: uppercase;
	margin: 0 0 2rem;
}

.drm-shop-checkout__lines {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-height: 26rem;
	overflow-y: auto;
}

.drm-shop-checkout__line {
	font-size: .875rem;
}

.drm-shop-checkout__line .QzW29a_asset {
	width: 200px;
}

.drm-shop-checkout__line .QzW29a_asset img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	background: var(--background-background-product, #f5f3f0);
}

.drm-shop-checkout__line .QzW29a_product {
	padding-block: .5rem;
	justify-content: flex-start;
	gap: 2rem;
}

.drm-shop-checkout__line .QzW29a_asset {
	aspect-ratio: 4 / 5;
}

.drm-shop-checkout__line .QzW29a_topRow {
	display: block;
}

.drm-shop-checkout__line .QzW29a_productOptions {
	margin-top: .5rem;
}

.drm-shop-checkout__line .QzW29a_productOptions li {
	margin: 0;
}

.drm-shop-checkout__line .QzW29a_price {
	font-weight: 700;
}

.drm-shop-checkout__totals {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.drm-shop-checkout__totals > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
}

.drm-shop-checkout__totals dt,
.drm-shop-checkout__totals dd {
	margin: 0;
	font-size: .875rem;
}

.drm-shop-checkout__totalRow {
	margin-top: .5rem;
}

.drm-shop-checkout__totalRow dt,
.drm-shop-checkout__totalRow dd {
	font-size: 1.25rem !important;
	font-weight: 700;
}

.drm-shop-checkout__totals + .a97iZq_vat {
	margin: .25rem 0 0;
}

/* ----------------------------------------------------------- empty cart */
.drm-shop-checkout__empty {
	max-width: 512px;
	padding: 180px 16px 4rem;
}

.drm-shop-checkout__empty-text {
	font-size: .9375rem;
	margin: 1rem 0 1.5rem;
}

.drm-shop-checkout__empty-ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

@media (max-width: 1023px) {
	.drm-shop-checkout__empty {
		padding: 2rem 16px 4rem;
	}
}

/* --------------------------------------------------------------- notices */
.drm-shop-notices,
.drm-shop-checkout__unavailable {
	margin-bottom: 1.5rem;
}

.drm-shop-notices .woocommerce-error,
.drm-shop-notices .woocommerce-message,
.drm-shop-notices .woocommerce-info {
	list-style: none;
	margin: 0 0 .75rem;
	padding: .75rem 1rem;
	border: 1px solid var(--border-border, #dadada);
	font-size: .875rem;
}

.drm-shop-notices .woocommerce-error {
	border-color: var(--text-support-text-support-error, #cf3636);
	color: var(--text-support-text-support-error, #cf3636);
}

.drm-shop-notices ul {
	margin: 0;
	padding-left: 1rem;
}

/* ---------------------------------------------------------- mobile bar */
.drm-shop-checkout__bar {
	display: none;
}

/* ------------------------------------------------------------ thank you */
.drm-container.drm-shop-thankyou {
	max-width: 56rem;
}

.drm-shop-thankyou {
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

.drm-shop-thankyou__eyebrow {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	margin: 0 0 .75rem;
	color: var(--text-text-secondary, #454545);
}

.drm-shop-thankyou__title {
	font-size: clamp(2rem, 4.2vw, 3rem);
	font-weight: 800;
	line-height: .9;
	text-transform: uppercase;
	margin: 0 0 1rem;
}

.drm-shop-thankyou__body {
	font-size: .9375rem;
	max-width: 34rem;
	margin: 0 0 1.5rem;
}

.drm-shop-thankyou__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 0 0 1.75rem;
	padding: 1.25rem;
	background: var(--background-background-warm-white, #f5f3f0);
}

.drm-shop-thankyou__meta div {
	display: flex;
	flex-direction: column;
	gap: .25rem;
}

.drm-shop-thankyou__meta dt {
	font-size: .6875rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--text-text-secondary, #454545);
}

.drm-shop-thankyou__meta dd {
	margin: 0;
	font-weight: 700;
	font-size: .875rem;
	overflow-wrap: anywhere;
}

.drm-shop-thankyou__lines {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	border-top: 1px solid var(--border-border, #dadada);
}

.drm-shop-thankyou__line {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: .75rem;
	border-bottom: 1px solid var(--border-border, #dadada);
	font-size: .875rem;
}

.drm-shop-thankyou__line-qty {
	color: var(--text-text-secondary, #454545);
}

.drm-shop-thankyou__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

/* --------------------------------------------------------------- mobile */
@media (max-width: 1023px) {
	.mSoC-W_container .vKzE4a_container {
		padding: 0;
		padding-block-end: 4rem;
	}

	.drm-shop-checkout__grid {
		grid-template-columns: minmax(0, 1fr);
		column-gap: 0;
	}

	.drm-shop-checkout__mainInner {
		max-width: none;
		margin-left: 0;
		padding: 1rem 16px 0;
	}

	.drm-shop-checkout__bar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		position: sticky;
		top: 0;
		z-index: 4;
		background: var(--background-background, #fff);
		border-bottom: 1px solid var(--border-border, #dadada);
		padding: .875rem 16px;
		font-size: .8125rem;
		font-weight: 700;
		text-transform: uppercase;
	}

	.drm-shop-checkout__bar-chevron {
		width: 1.25rem;
		height: 1.25rem;
	}

	.drm-shop-checkout__aside {
		background: var(--background-background-warm-white, #f5f3f0);
		margin-top: 2rem;
	}

	.drm-shop-checkout__asideInner {
		max-width: none;
		padding: 1.5rem 16px;
	}

	.drm-shop-checkout__line .QzW29a_asset {
		width: 128px;
	}

	.drm-shop-checkout__fields,
	.drm-shop-checkout__namesRow {
		grid-template-columns: minmax(0, 1fr);
		column-gap: 0;
	}

	.drm-shop-thankyou__meta {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (min-width: 1024px) and (max-width: 1300px) {
	.drm-shop-checkout__mainInner {
		margin-left: 4rem;
	}
}

/* Checkout refinement: match the cart's monochrome layout and spacing. */
.mSoC-W_container .vKzE4a_container.drm-shop-checkout {
	max-width: 1440px;
	margin-inline: auto;
	padding: 128px clamp(24px, 3.3vw, 48px) 80px;
	background: #fff;
}

.drm-shop-checkout .drm-shop-checkout__grid {
	grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
	gap: clamp(32px, 5vw, 72px);
}

.drm-shop-checkout .drm-shop-checkout__mainInner {
	max-width: 680px;
	margin: 0;
	padding: 0;
}

.drm-shop-checkout .drm-shop-checkout__header {
	gap: 14px;
	margin-bottom: 36px;
}

.drm-shop-checkout .drm-shop-checkout__step {
	width: 28px;
	height: 28px;
	margin-top: 4px;
	border-color: #000;
}

.drm-shop-checkout .drm-shop-checkout__title {
	max-width: none;
	font-size: clamp(48px, 4.45vw, 64px);
	line-height: .95;
	overflow-wrap: anywhere;
}

.drm-shop-checkout .drm-shop-checkout__section {
	margin-bottom: 28px;
}

.drm-shop-checkout .drm-shop-checkout__section + .drm-shop-checkout__section {
	border-top: 1px solid #dedede;
	padding-top: 28px;
}

.drm-shop-checkout .drm-shop-checkout__section-title {
	font-size: 18px;
	line-height: 1.25;
	margin-bottom: 18px;
}

.drm-shop-checkout .drm-checkout-rates {
	border-color: #cfcfcf;
	background: #f7f7f5;
}

.drm-shop-checkout .drm-checkout-rate__label {
	padding: 18px;
}

.drm-shop-checkout .drm-shop-checkout__fields,
.drm-shop-checkout .drm-shop-checkout__namesRow {
	gap: 20px 16px;
}

.drm-shop-checkout .form-row label {
	line-height: 1.35;
	margin-bottom: 8px;
}

.drm-shop-checkout .form-row .input-text,
.drm-shop-checkout .form-row select,
.drm-shop-checkout .form-row textarea,
.drm-shop-checkout .R9ejxW_input {
	min-height: 52px;
	border-color: #bdbdbd;
	background-color: #fff;
}

.drm-shop-checkout .form-row textarea {
	min-height: 96px;
}

.drm-shop-checkout .drm-shop-checkout__checkbox {
	margin-top: 0;
}

.drm-shop-checkout .drm-shop-checkout__sameAddress {
	margin-top: 20px;
}

.drm-shop-checkout .drm-shop-checkout__checkbox .f_pWCW_labelWrapper {
	min-height: 32px;
	padding-block: 4px;
}

.drm-shop-checkout .drm-shop-checkout__gateways {
	margin-bottom: 16px;
}

.drm-shop-checkout .drm-gateway__option {
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid #cfcfcf;
	background: #f7f7f5;
}

.drm-shop-checkout .drm-shop-checkout__legal {
	display: grid;
	gap: 12px;
	margin-bottom: 20px;
}

.drm-shop-checkout .drm-shop-checkout__place-order {
	min-height: 56px;
	padding: 18px 24px;
	line-height: 1.4;
}

.drm-shop-checkout :is(a, button, input, select, textarea):focus-visible {
	outline: 2px solid #000;
	outline-offset: 3px;
}

.drm-shop-checkout .drm-shop-checkout__aside {
	margin: 0;
	border: 1px solid #dedede;
	background: #f7f7f5;
	position: sticky;
	top: 112px;
}

.drm-shop-checkout .drm-shop-checkout__asideInner {
	max-width: none;
	padding: 28px;
}

.drm-shop-checkout .drm-shop-checkout__summary-title {
	font-size: 40px;
	line-height: .95;
	margin-bottom: 28px;
	gap: 10px;
}

.drm-shop-checkout .drm-shop-checkout__summary-title .vZKt_q_cartQuantity {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 24px;
	margin-top: 2px;
	padding-inline: 6px;
	font-family: var(--font-family-body, Arial, sans-serif);
	font-size: 14px;
	line-height: 1;
	flex-shrink: 0;
}

.drm-shop-checkout .drm-shop-checkout__lines {
	max-height: 400px;
	gap: 20px;
	margin-bottom: 24px;
}

.drm-shop-checkout .drm-shop-checkout__line {
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 16px;
}

.drm-shop-checkout .drm-shop-checkout__line .QzW29a_asset {
	width: 96px;
	height: auto;
}

.drm-shop-checkout .drm-shop-checkout__line .QzW29a_product {
	padding-block: 2px;
	gap: 14px;
}

.drm-shop-checkout .drm-shop-checkout__line .QzW29a_productInfo {
	gap: 8px;
}

.drm-shop-checkout .drm-shop-checkout__line .QzW29a_productName {
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.drm-shop-checkout .drm-shop-checkout__line .QzW29a_productOptions {
	margin: 0;
	color: #454545;
}

.drm-shop-checkout .drm-shop-checkout__line .QzW29a_bottomRow {
	flex-wrap: wrap;
	gap: 8px;
}

.drm-shop-checkout .drm-shop-checkout__totals {
	border-top: 1px solid #d2d2d2;
	padding-top: 20px;
	gap: 14px;
}

.drm-shop-checkout .drm-shop-checkout__totals > div {
	gap: 16px;
}

.drm-shop-checkout .drm-shop-checkout__totals dd {
	text-align: right;
	flex-shrink: 0;
}

.drm-shop-checkout .drm-shop-checkout__totalRow {
	border-top: 1px solid #d2d2d2;
	margin-top: 4px;
	padding-top: 20px;
}

.drm-shop-checkout .drm-shop-checkout__totals + .a97iZq_vat {
	margin-top: 12px;
	font-size: 12px;
	line-height: 1.5;
}

.drm-shop-checkout .drm-shop-checkout__empty {
	max-width: 1000px;
	margin-inline: auto;
	padding: 48px 32px;
	border: 1px solid #dedede;
	text-align: center;
}

.drm-shop-checkout .drm-shop-checkout__empty-text {
	margin: 24px 0;
	font-size: 16px;
}

.drm-shop-checkout .drm-shop-checkout__empty-ctas {
	justify-content: center;
	gap: 24px;
}

@media (max-width: 1023px) {
	.mSoC-W_container .vKzE4a_container.drm-shop-checkout {
		padding: 72px 20px 64px;
	}

	.drm-shop-checkout .drm-shop-checkout__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.drm-shop-checkout .drm-shop-checkout__mainInner {
		max-width: 680px;
		margin-inline: auto;
	}

	.drm-shop-checkout .drm-shop-checkout__bar {
		position: static;
		min-height: 52px;
		padding: 14px 0;
		margin-bottom: 28px;
		gap: 16px;
	}

	.drm-shop-checkout .drm-shop-checkout__header {
		margin-bottom: 28px;
	}

	.drm-shop-checkout .drm-shop-checkout__title {
		font-size: 48px;
	}

	.drm-shop-checkout .drm-shop-checkout__aside {
		position: static;
	}

	.drm-shop-checkout .drm-shop-checkout__asideInner {
		padding: 24px 20px;
	}

	.drm-shop-checkout .drm-shop-checkout__summary-title {
		font-size: 36px;
	}

	.drm-shop-checkout .drm-shop-checkout__empty {
		padding: 36px 20px;
	}

	.drm-shop-checkout .drm-shop-checkout__empty-ctas {
		flex-direction: column;
	}

	.drm-shop-checkout .drm-shop-checkout__empty-ctas .JhSqVW_button {
		width: 100%;
	}
}

@media (max-width: 359px) {
	.drm-shop-checkout .drm-shop-checkout__line {
		grid-template-columns: 80px minmax(0, 1fr);
		gap: 12px;
	}

	.drm-shop-checkout .drm-shop-checkout__line .QzW29a_asset {
		width: 80px;
	}
}

/* Charitable commitment below the order total. */
.drm-shop-checkout .drm-checkout-charity {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-top: 24px;
	padding: 20px;
	border: 1px solid #dedbd4;
	background: #f6f4ef;
	color: #202020;
}
.drm-shop-checkout .drm-checkout-charity__icon {
	flex: 0 0 24px;
	margin-top: 1px;
	color: #8b745d;
}
.drm-shop-checkout .drm-checkout-charity__copy { min-width: 0; }
.drm-shop-checkout .drm-checkout-charity h3 {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: none;
}
.drm-shop-checkout .drm-checkout-charity p {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.65;
}
@media (max-width: 359px) {
	.drm-shop-checkout .drm-checkout-charity { gap: 10px; padding: 16px 12px; }
}
