#assembled-cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 999999;
	visibility: hidden;
	pointer-events: none;
}

#assembled-cart-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.assembled-cart-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.52);
	opacity: 0;
	transition: opacity 220ms ease;
}

.assembled-cart-drawer__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(100%, 430px);
	height: 100%;
	padding: 0 20px;
	background: #fff;
	color: #111;
	box-shadow: 8px 0 32px rgba(0, 0, 0, 0.18);
	transform: translateX(-100%);
	transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

#assembled-cart-drawer.is-open .assembled-cart-drawer__backdrop {
	opacity: 1;
}

#assembled-cart-drawer.is-open .assembled-cart-drawer__panel {
	transform: translateX(0);
}

body.assembled-cart-drawer-open {
	overflow: hidden;
}

.assembled-cart-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	border-bottom: 1px solid #e7e7e7;
}

.assembled-cart-drawer__header h2 {
	margin: 0;
	color: #111;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.assembled-cart-drawer__close {
	display: grid;
	width: 42px;
	height: 42px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #111;
	font-size: 34px;
	font-weight: 300;
	line-height: 1;
}

.assembled-cart-drawer__close:hover,
.assembled-cart-drawer__close:focus-visible {
	background: #111;
	color: #fff;
}

.assembled-cart-drawer__contents {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.assembled-cart-drawer__contents .woocommerce-mini-cart {
	flex: 1;
	overflow-y: auto;
	margin: 0 -4px;
	padding: 22px 4px 12px;
	list-style: none;
}

.assembled-cart-drawer__contents .woocommerce-mini-cart-item {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr) 26px;
	gap: 13px;
	align-items: start;
	margin: 0;
	padding: 0 0 20px;
}

.assembled-cart-drawer__contents .woocommerce-mini-cart-item + .woocommerce-mini-cart-item {
	padding-top: 20px;
	border-top: 1px solid #e7e7e7;
}

.assembled-cart-drawer__contents .woocommerce-mini-cart-item > a:not(.remove) {
	grid-column: 1;
	display: block;
	background: #f4f4f4;
}

.assembled-cart-drawer__contents .woocommerce-mini-cart-item > a:not(.remove) img {
	display: block;
	width: 78px;
	height: 100px;
	object-fit: cover;
}

.assembled-cart-drawer__contents .woocommerce-mini-cart-item .product-data {
	grid-column: 2;
	min-width: 0;
}

.assembled-cart-drawer__contents .product-title {
	display: block;
	margin: 0 0 7px;
	color: #111;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.assembled-cart-drawer__contents .variation {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 3px 7px;
	margin: 0 0 10px;
	color: #666;
	font-size: 12px;
	line-height: 1.35;
}

.assembled-cart-drawer__contents .variation dt,
.assembled-cart-drawer__contents .variation dd,
.assembled-cart-drawer__contents .variation dd p {
	margin: 0;
}

.assembled-cart-drawer__contents .variation dt {
	color: #777;
	font-weight: 400;
}

.assembled-cart-drawer__contents .variation dt::after {
	content: ':';
}

.assembled-cart-drawer__contents .variation dd {
	color: #111;
	font-weight: 600;
}

.assembled-cart-drawer__contents .variation dd::after {
	content: none;
}

.assembled-cart-drawer__contents .quantity {
	display: block;
	color: #111;
	font-size: 13px;
	font-weight: 600;
}

.assembled-cart-drawer__contents .remove {
	position: relative;
	display: grid;
	grid-column: 3;
	grid-row: 1;
	width: 26px;
	height: 26px;
	padding: 0;
	place-items: center;
	align-self: start;
	justify-self: end;
	border: 1px solid #d8d8d8;
	border-radius: 0;
	color: #111;
	font-size: 0;
	line-height: 1;
	text-decoration: none;
}

.assembled-cart-drawer__contents .remove .ct-icon {
	display: none;
}

.assembled-cart-drawer__contents .remove::before,
.assembled-cart-drawer__contents .remove::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 1px;
	background: currentColor;
	content: '';
}

.assembled-cart-drawer__contents .remove::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.assembled-cart-drawer__contents .remove::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.assembled-cart-drawer__contents .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 18px 0;
	border-top: 1px solid #111;
	color: #111;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

.assembled-cart-drawer__contents .woocommerce-mini-cart__buttons {
	display: grid;
	grid-template-columns: 1fr;
	gap: 9px;
	margin: 0;
	padding: 0 0 18px;
}

.assembled-cart-drawer__contents .woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout) {
	display: none;
}

.assembled-cart-drawer__contents .woocommerce-mini-cart__buttons .button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid #111;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: #111;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.07em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.assembled-cart-drawer__contents .woocommerce-mini-cart__buttons .checkout {
	border-color: var(--assembled-accent-color);
	background: var(--assembled-accent-color);
	color: #111;
}

.assembled-cart-drawer__contents .woocommerce-mini-cart__buttons .button:hover,
.assembled-cart-drawer__contents .woocommerce-mini-cart__buttons .button:focus-visible {
	border-color: #111;
	background: #111;
	color: #fff;
}

.assembled-cart-drawer__contents .woocommerce-mini-cart__empty-message {
	margin: 32px 0;
	color: #111;
	font-size: 14px;
	text-align: center;
}

.assembled-cart-drawer__reassurance {
	margin: 0 -20px;
	padding: 15px 20px;
	border-top: 1px solid #e7e7e7;
	color: #555;
	font-size: 11px;
	letter-spacing: 0.05em;
	text-align: center;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.assembled-cart-drawer__panel {
		padding: 0 30px;
	}

	.assembled-cart-drawer__reassurance {
		margin-right: -30px;
		margin-left: -30px;
		padding-right: 30px;
		padding-left: 30px;
	}
}
