/* iSupply cart drawer — fixed overlay presentation over the current page. */

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/archivo-latin-variable.woff2") format("woff2");
}

.isd-cart-drawer {
	--isd-drawer-font: "Archivo", Arial, sans-serif;
	--isd-drawer-navy: #07152c;
	--isd-drawer-ink: var(--opt1-ink, #0b0d12);
	--isd-drawer-muted: var(--opt1-muted, #5e6572);
	--isd-drawer-line: var(--opt1-line, #dfe4eb);
	--isd-drawer-soft: var(--opt1-soft, #f4f7fa);
	--isd-drawer-surface: var(--opt1-white, #fff);
	--isd-drawer-accent: var(--opt1-blue, #1769ff);
	--isd-drawer-accent-dark: var(--opt1-blue-dark, #084fcc);
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
	pointer-events: none;
	font-family: var(--isd-drawer-font);
	transition: visibility 0s linear 260ms;
}

.isd-cart-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

body.isd-cart-drawer-open {
	overflow: hidden;
	padding-right: var(--isd-cart-drawer-scrollbar, 0px);
}

.isd-cart-drawer__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(7, 21, 44, 0.64);
	opacity: 0;
	cursor: default;
	transition: opacity 220ms ease;
}

/* Keep Kadence's global button interaction colors from recoloring the overlay. */
.isd-cart-drawer__backdrop:hover,
.isd-cart-drawer__backdrop:focus,
.isd-cart-drawer__backdrop:active {
	border: 0;
	background: rgba(7, 21, 44, 0.64);
	box-shadow: none;
	color: transparent;
	transform: none;
}

.isd-cart-drawer.is-open .isd-cart-drawer__backdrop {
	opacity: 1;
}

.isd-cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(540px, 100vw);
	height: 100%;
	height: 100dvh;
	box-sizing: border-box;
	overflow: hidden;
	background: var(--isd-drawer-soft);
	box-shadow: -20px 0 60px rgba(10, 49, 95, 0.18);
	color: var(--isd-drawer-ink);
	transform: translate3d(100%, 0, 0);
	transition: transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.isd-cart-drawer.is-open .isd-cart-drawer__panel {
	transform: translate3d(0, 0, 0);
}

.isd-cart-drawer__panel:focus {
	outline: none;
}

.isd-cart-drawer__replace {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	height: 100%;
	min-height: 0;
}

.isd-cart-drawer__header {
	position: relative;
	z-index: 2;
	padding: 24px;
	border-bottom: 3px solid var(--isd-drawer-accent);
	background: var(--isd-drawer-surface);
}

.isd-cart-drawer__title-row {
	display: flex;
	min-height: 40px;
	align-items: center;
	gap: 10px;
}

.isd-cart-drawer__title-row h2 {
	margin: 0;
	color: var(--isd-drawer-navy);
	font: 800 32px/1.05 var(--isd-drawer-font);
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

.isd-cart-drawer__count {
	display: inline-flex;
	min-height: 29px;
	align-items: center;
	padding: 2px 13px;
	border-radius: 2px;
	border: 1px solid var(--isd-drawer-line);
	background: var(--isd-drawer-soft);
	color: var(--isd-drawer-navy);
	font-size: 12px;
	font-weight: 650;
	white-space: nowrap;
}

.isd-cart-drawer__close {
	display: inline-flex;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	margin: 0 0 0 auto;
	padding: 0;
	border: 1px solid var(--isd-drawer-line);
	border-radius: 2px;
	background: transparent;
	box-shadow: none;
	color: var(--isd-drawer-navy);
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.isd-cart-drawer__close:hover {
	background: var(--isd-drawer-accent);
	color: #fff;
	transform: none;
}

.isd-cart-drawer__close .kadence-svg-iconset,
.isd-cart-drawer__close svg {
	display: block;
	margin: 0;
	width: 20px;
	height: 20px;
}

.isd-cart-drawer__close .kadence-svg-iconset {
	display: flex;
	align-items: center;
	justify-content: center;
}

.isd-cart-drawer__shipping {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-height: 64px;
	box-sizing: border-box;
	margin-top: 18px;
	padding: 12px 0 0;
	border-top: 1px solid var(--isd-drawer-line);
	border-radius: 2px;
	background: transparent;
}

.isd-cart-drawer__shipping.has-goal {
	grid-template-columns: 26px minmax(0, 1fr) auto;
}

.isd-cart-drawer__shipping-icon {
	display: inline-flex;
	width: 24px;
	height: 24px;
	align-items: center;
	justify-content: center;
	color: var(--isd-drawer-accent);
	line-height: 0;
}

.isd-cart-drawer__shipping-icon svg {
	display: block;
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
}

.isd-cart-drawer__shipping-copy {
	min-width: 0;
}

.isd-cart-drawer__shipping-copy p,
.isd-cart-drawer__shipping-copy small {
	display: block;
	margin: 0;
	color: var(--isd-drawer-navy);
	font-size: 13px;
	line-height: 1.35;
}

.isd-cart-drawer__shipping-copy small {
	margin-top: 2px;
	color: var(--isd-drawer-muted);
	font-size: 11px;
}

.isd-cart-drawer__shipping > strong {
	color: var(--isd-drawer-navy);
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.isd-cart-drawer__progress {
	height: 4px;
	margin-top: 8px;
	overflow: hidden;
	border-radius: 2px;
	background: var(--isd-drawer-line);
}

.isd-cart-drawer__progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--isd-drawer-accent), var(--isd-drawer-accent-dark));
}

.isd-cart-drawer__items {
	display: grid;
	align-content: start;
	gap: 12px;
	min-height: 0;
	padding: 20px 24px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

.isd-cart-drawer__item {
	position: relative;
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) auto;
	grid-template-rows: auto auto auto auto auto;
	column-gap: 12px;
	row-gap: 5px;
	padding: 14px;
	border: 1px solid var(--isd-drawer-line);
	border-radius: 2px;
	background: var(--isd-drawer-surface);
	box-shadow: none;
}

.isd-cart-drawer__item-image {
	grid-column: 1;
	grid-row: 1 / span 4;
	align-self: start;
	border-bottom: 3px solid var(--isd-drawer-accent);
}

.isd-cart-drawer__item-image a,
.isd-cart-drawer__item-image img {
	display: block;
	width: 92px;
	height: 104px;
}

.isd-cart-drawer__item-image img {
	border-radius: 2px;
	background: var(--isd-drawer-soft);
	object-fit: contain;
}

.isd-cart-drawer__item-copy {
	display: contents;
}

.isd-cart-drawer__item-name {
	display: block;
	grid-column: 2 / -1;
	grid-row: 1;
	min-width: 0;
	padding-right: 30px;
	overflow-wrap: anywhere;
	margin: 1px 0 2px;
	color: var(--isd-drawer-ink);
	font: 700 16px/1.3 var(--isd-drawer-font);
	text-decoration: none;
}

.isd-cart-drawer__item-name:hover {
	color: var(--isd-drawer-accent);
}

.isd-cart-drawer__item-meta,
.isd-cart-drawer__item-meta dl,
.isd-cart-drawer__item-meta p {
	margin: 0;
	color: var(--isd-drawer-muted);
	font-size: 11px;
	line-height: 1.35;
}

.isd-cart-drawer__item-meta dl {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 5px;
}

.isd-cart-drawer__item-meta {
	grid-column: 2 / -1;
	grid-row: 2;
	min-width: 0;
	overflow-wrap: anywhere;
}
.isd-cart-drawer__item-meta:empty { display: none; }

.isd-cart-drawer__item-meta dt,
.isd-cart-drawer__item-meta dd {
	margin: 0;
}

.isd-cart-drawer__item-price {
	grid-column: 2 / -1;
	grid-row: 3;
	margin-top: 0;
	color: var(--isd-drawer-accent);
	font-size: 13px;
	font-weight: 700;
}

.isd-cart-drawer__remove {
	position: absolute;
	top: 6px;
	right: 6px;
	display: inline-flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	margin: -1px 0 0;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: transparent;
	color: var(--isd-drawer-muted);
	font-size: 0;
	line-height: 0;
	cursor: pointer;
}

.isd-cart-drawer__remove:hover {
	background: #fbefec;
	color: #9e3e33;
}

.isd-cart-drawer__remove svg {
	display: block;
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
}

.isd-cart-drawer__item-subtotal {
	align-self: end;
	justify-self: end;
	grid-column: 3;
	grid-row: 4;
	padding-bottom: 10px;
	color: var(--isd-drawer-ink);
	font-size: 14px;
	font-weight: 750;
	white-space: nowrap;
}

.isd-cart-drawer__quantity {
	display: grid;
	grid-column: 2;
	grid-row: 4;
	grid-template-columns: 36px 36px 36px;
	width: max-content;
	height: 40px;
	margin-top: 0;
	overflow: hidden;
	border: 1px solid var(--isd-drawer-line);
	border-radius: 2px;
	background: var(--isd-drawer-surface);
}

.isd-cart-drawer__quantity button,
.isd-cart-drawer__quantity input {
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--isd-drawer-ink);
	text-align: center;
}

.isd-cart-drawer__quantity button {
	display: grid;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.isd-cart-drawer__quantity button:hover:not(:disabled) {
	background: var(--isd-drawer-soft);
	color: var(--isd-drawer-accent);
}

.isd-cart-drawer__quantity button:disabled {
	cursor: not-allowed;
	opacity: 0.35;
}

.isd-cart-drawer__quantity button svg {
	width: 14px;
	height: 14px;
}

.isd-cart-drawer__quantity input {
	border-inline: 1px solid var(--isd-drawer-line);
	font-size: 16px;
	font-weight: 700;
	appearance: textfield;
}

.isd-cart-drawer__quantity input::-webkit-inner-spin-button,
.isd-cart-drawer__quantity input::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

.isd-cart-drawer__artwork {
	min-width: 0;
	grid-column: 1 / -1;
	grid-row: 5;
	margin-top: 6px;
}

.isd-cart-drawer__artwork:empty {
	display: none;
}

.isd-cart-drawer__actions {
	position: relative;
	z-index: 2;
	padding: 0 24px max(16px, env(safe-area-inset-bottom));
	border-top: 1px solid var(--isd-drawer-line);
	background: #fff;
	box-shadow: none;
}

.isd-cart-drawer__coupon {
	margin: 0 0 9px;
	border-bottom: 1px solid var(--isd-drawer-line);
}

.isd-cart-drawer__coupon summary {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr) 18px;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--isd-drawer-ink);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.isd-cart-drawer__coupon summary::-webkit-details-marker {
	display: none;
}

.isd-cart-drawer__coupon summary::marker {
	content: "";
}

.isd-cart-drawer__coupon summary span:first-child svg,
.isd-cart-drawer__coupon summary span:last-child svg {
	display: block;
	width: 17px;
	height: 17px;
}

.isd-cart-drawer__coupon summary span:last-child {
	transition: transform 160ms ease;
}

.isd-cart-drawer__coupon[open] summary span:last-child {
	transform: rotate(180deg);
}

.isd-cart-drawer__coupon-body {
	padding: 0 0 11px;
}

.isd-cart-drawer__coupon form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

.isd-cart-drawer__coupon input,
.isd-cart-drawer__coupon form button {
	height: 44px;
	box-sizing: border-box;
	margin: 0;
	border: 1px solid var(--isd-drawer-line);
	border-radius: 2px;
	box-shadow: none;
	font-size: 14px;
}

.isd-cart-drawer__coupon input {
	min-width: 0;
	font-size: 16px;
	padding: 7px 11px;
	background: var(--isd-drawer-surface);
	color: var(--isd-drawer-ink);
}

.isd-cart-drawer__coupon form button {
	padding: 7px 16px;
	background: var(--isd-drawer-accent);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.isd-cart-drawer__applied-coupons {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.isd-cart-drawer__applied-coupons li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 4px 6px 4px 9px;
	border-radius: 2px;
	background: var(--isd-drawer-soft);
	font-size: 10px;
	font-weight: 700;
}

.isd-cart-drawer__applied-coupons button {
	margin: 0;
	padding: 2px 4px;
	border: 0;
	background: transparent;
	color: #9e3e33;
	font-size: 9px;
	cursor: pointer;
}

.isd-cart-drawer__totals {
	display: grid;
	gap: 8px;
}

.isd-cart-drawer__totals p {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin: 0;
	color: var(--isd-drawer-muted);
	font-size: 12px;
}

.isd-cart-drawer__totals p strong {
	color: var(--isd-drawer-ink);
	font-size: 14px;
}

.isd-cart-drawer__totals .isd-cart-drawer__estimated {
	margin-top: 2px;
	padding-top: 10px;
	border-top: 1px solid var(--isd-drawer-line);
	color: var(--isd-drawer-ink);
	font: 750 17px/1.2 var(--isd-drawer-font);
}

.isd-cart-drawer__totals .isd-cart-drawer__estimated strong {
	font-size: 18px;
}

.isd-cart-drawer__totals > small {
	color: var(--isd-drawer-muted);
	font-size: 11px;
	line-height: 1.35;
}

.isd-cart-drawer__checkout {
	display: grid;
	grid-template-columns: 18px auto 18px;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	margin-top: 11px;
	padding: 10px 18px;
	border-radius: 2px;
	border: 1px solid var(--isd-drawer-accent);
	background: var(--isd-drawer-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: .025em;
	text-decoration: none;
	transition: filter 160ms ease, transform 160ms ease;
}

.isd-cart-drawer__checkout:hover,
.isd-cart-drawer__checkout:focus {
	color: #fff;
	background: var(--isd-drawer-accent-dark);
	border-color: var(--isd-drawer-accent-dark);
	transform: none;
}

.isd-cart-drawer__checkout span:first-child svg,
.isd-cart-drawer__checkout span:last-child svg,
.isd-cart-drawer__checkout .kadence-svg-iconset {
	display: block;
	width: 16px;
	height: 16px;
}

.isd-cart-drawer__continue {
	display: block;
	width: max-content;
	margin: 9px auto 0;
	color: var(--isd-drawer-accent-dark);
	font-size: 12px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.isd-cart-drawer__trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 8px;
	color: var(--isd-drawer-muted);
	font-size: 11px;
}

.isd-cart-drawer__trust > span[aria-hidden="true"] {
	display: inline-flex;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.isd-cart-drawer__trust svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
}

.isd-cart-drawer__empty {
	display: flex;
	min-height: 0;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 30px;
	text-align: center;
}

.isd-cart-drawer__empty-icon {
	display: grid;
	width: 78px;
	height: 78px;
	align-items: center;
	justify-content: center;
	border-radius: 2px;
	border-bottom: 3px solid var(--isd-drawer-accent);
	background: var(--isd-drawer-navy);
	color: #80aaff;
}

.isd-cart-drawer__empty-icon svg {
	width: 34px;
	height: 34px;
}

.isd-cart-drawer__empty h3 {
	margin: 19px 0 6px;
	color: var(--isd-drawer-ink);
	text-transform: uppercase;
	font: 800 28px/1.1 var(--isd-drawer-font);
}

.isd-cart-drawer__empty p {
	max-width: 310px;
	margin: 0;
	color: var(--isd-drawer-muted);
	font-size: 13px;
	line-height: 1.55;
}

.isd-cart-drawer__empty a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: 8px;
	margin-top: 19px;
	padding: 9px 20px;
	border-radius: 2px;
	background: var(--isd-drawer-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 750;
	text-transform: uppercase;
	text-decoration: none;
}

.isd-cart-drawer__empty a .kadence-svg-iconset,
.isd-cart-drawer__empty a svg {
	width: 16px;
	height: 16px;
}

.isd-cart-drawer.is-updating .isd-cart-drawer__replace::after {
	position: absolute;
	inset: 0;
	z-index: 5;
	background: rgba(255, 255, 255, 0.45);
	content: "";
	cursor: progress;
}

.isd-cart-drawer__error {
	position: absolute;
	left: 28px;
	right: 18px;
	bottom: 12px;
	z-index: 8;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #ecc7c1;
	border-radius: 2px;
	background: #fff2ef;
	color: #8a3028;
	font-size: 11px;
	line-height: 1.4;
}

.isd-cart-drawer__panel :where(button, a, input, summary):focus-visible {
	outline: 2px solid var(--isd-drawer-accent);
	outline-offset: 2px;
}

/* Product Studio retains upload behavior; these rules adapt its component to
   the drawer's narrow inline surface without changing private-file handling. */
.isd-cart-drawer .isd-cart-artwork {
	gap: 0;
	margin-top: 5px;
}

.isd-cart-drawer .isd-cart-artwork__item {
	width: 100%;
	margin: 0;
	border-color: var(--isd-drawer-line);
	border-radius: 2px;
	background: var(--isd-drawer-soft);
}

.isd-cart-drawer .isd-cart-artwork__item summary {
	min-height: 44px;
	flex-wrap: nowrap;
	align-items: center;
	gap: 7px;
	padding: 10px 12px;
	color: var(--isd-drawer-ink);
}

.isd-cart-drawer .isd-cart-artwork__summary-title {
	flex: 1 1 auto;
	font-size: 12px;
}

.isd-cart-drawer .isd-cart-artwork__summary-title small,
.isd-cart-drawer .isd-cart-artwork__summary-toggle {
	font-size: 11px;
}

.isd-cart-drawer .isd-cart-artwork__summary-uploaded {
	font-size: 9px;
}

.isd-cart-drawer .isd-cart-artwork__summary-meta {
	width: auto;
	flex: 0 0 auto;
}

.isd-cart-drawer .isd-cart-artwork__item[open] summary {
	border-bottom-color: var(--isd-drawer-line);
	background: #eaf1fc;
}

.isd-cart-drawer .isd-cart-artwork :is(.isd-cart-artwork__drop, .isd-cart-artwork__file, .isd-cart-artwork__preview) {
	border-radius: 2px;
}

.isd-cart-drawer__header button:focus-visible {
	outline-color: var(--isd-drawer-navy);
}

.isd-cart-drawer .isd-cart-artwork__summary-toggle {
	display: none;
}

.isd-cart-drawer .isd-cart-artwork__body {
	grid-template-columns: 1fr;
	gap: 8px;
	padding: 9px;
}

.isd-cart-drawer .isd-cart-artwork__drop {
	min-height: 88px;
	background: #fff;
}

.isd-cart-drawer .isd-cart-artwork__drop label {
	padding: 11px;
}

.isd-cart-drawer .isd-cart-artwork__upload-icon,
.isd-cart-drawer .isd-cart-artwork__upload-icon svg {
	width: 24px;
	height: 24px;
}

.isd-cart-drawer .isd-cart-artwork__requirements {
	font-size: 10px;
}

.isd-cart-drawer .isd-cart-artwork__requirements ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 16px;
}

.isd-cart-drawer .isd-cart-artwork__files,
.isd-cart-drawer .isd-cart-artwork__status {
	grid-column: 1;
}

.isd-cart-drawer .isd-cart-artwork__file {
	grid-template-columns: 35px minmax(0, 1fr) 28px;
	grid-template-areas:
		"icon info remove"
		"uploaded uploaded uploaded"
		"preview preview preview";
}

.isd-cart-drawer .isd-cart-artwork__preview {
	width: 100%;
	justify-content: center;
}

@media (max-width: 560px) {
	.isd-cart-drawer__header {
		padding: 18px 16px;
	}

	.isd-cart-drawer__title-row h2 {
		font-size: 28px;
	}

	.isd-cart-drawer__items,
	.isd-cart-drawer__actions {
		padding-inline: 12px;
	}

	.isd-cart-drawer__item {
		grid-template-columns: 76px minmax(0, 1fr) auto;
		padding: 12px;
		column-gap: 10px;
	}

	.isd-cart-drawer__item-image a,
	.isd-cart-drawer__item-image img {
		width: 76px;
		height: 88px;
	}

	.isd-cart-drawer__item-subtotal {
		font-size: 12px;
	}

	.isd-cart-drawer .isd-cart-artwork__summary-uploaded {
		display: none;
	}
}

@media (max-width: 390px) {
	.isd-cart-drawer__item {
		grid-template-columns: 76px minmax(0, 1fr) auto;
		column-gap: 8px;
	}
	.isd-cart-drawer__quantity { grid-template-columns: 32px 32px 32px; }
	.isd-cart-drawer__item-name { font-size: 14px; }
	.isd-cart-drawer__checkout { font-size: 12px; padding-inline: 12px; }
	.isd-cart-drawer__title-row h2 { font-size: 26px; }

	.isd-cart-drawer__shipping.has-goal {
		grid-template-columns: 22px minmax(0, 1fr);
	}

	.isd-cart-drawer__shipping > strong {
		display: none;
	}

	.isd-cart-drawer__count {
		padding-inline: 10px;
	}
}

@media (max-width: 360px) {
	.isd-cart-drawer__item { grid-template-columns: 64px minmax(0, 1fr) auto; }
	.isd-cart-drawer__item-image :is(a, img) { width: 64px; height: 76px; }
}

/* Short screens and browser zoom must not trap products behind a fixed footer. */
@media (max-height: 700px) {
	.isd-cart-drawer__replace {
		display: flex;
		flex-direction: column;
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.isd-cart-drawer__header,
	.isd-cart-drawer__actions { flex: 0 0 auto; }
	.isd-cart-drawer__items { flex: 1 0 auto; overflow: visible; }
	.isd-cart-drawer__empty { flex: 1 0 auto; min-height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
	.isd-cart-drawer__panel,
	.isd-cart-drawer__backdrop,
	.isd-cart-drawer__close,
	.isd-cart-drawer__checkout,
	.isd-cart-drawer__coupon summary span:last-child {
		transition: none;
	}
}
