body.woocommerce-cart {
	--mamyto-accent: var(--ast-global-color-0, #222);
	--mamyto-border: #e8e8e8;
	--mamyto-muted: #6b7280;
	--mamyto-surface: #fff;
	--mamyto-soft: #f7f7f7;
}

body.woocommerce-cart .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(300px, .75fr);
	align-items: start;
	gap: clamp(24px, 4vw, 56px);
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce > .woocommerce-message,
body.woocommerce-cart .woocommerce > .woocommerce-info {
	grid-column: 1 / -1;
}

body.woocommerce-cart form.woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals {
	width: 100%;
}

body.woocommerce-cart table.shop_table {
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0 14px;
	background: transparent;
}

body.woocommerce-cart table.shop_table thead {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

body.woocommerce-cart table.shop_table td {
	padding: 18px 12px;
	border: solid var(--mamyto-border);
	border-width: 1px 0;
	background: var(--mamyto-surface);
	vertical-align: middle;
}

body.woocommerce-cart table.shop_table td:first-child {
	border-left-width: 1px;
	border-radius: 14px 0 0 14px;
}

body.woocommerce-cart table.shop_table td:last-child {
	border-right-width: 1px;
	border-radius: 0 14px 14px 0;
}

body.woocommerce-cart td.product-thumbnail {
	width: 132px;
	padding-left: 18px;
}

body.woocommerce-cart td.product-thumbnail img {
	width: 110px;
	height: 110px;
	border-radius: 12px;
	object-fit: cover;
}

body.woocommerce-cart td.product-name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
}

body.woocommerce-cart td.product-name a {
	color: inherit;
	text-decoration: none;
}

body.woocommerce-cart td.product-name .variation {
	margin: 7px 0 0;
	color: var(--mamyto-muted);
	font-size: 13px;
	font-weight: 400;
}

body.woocommerce-cart td.product-price {
	display: none;
}

body.woocommerce-cart td.product-quantity {
	width: 150px;
}

body.woocommerce-cart .quantity {
	display: inline-flex;
	align-items: center;
	height: 44px;
	border: 1px solid var(--mamyto-border);
	border-radius: 999px;
	background: var(--mamyto-soft);
	overflow: hidden;
}

body.woocommerce-cart .quantity .qty {
	width: 45px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: center;
	font-weight: 700;
	-moz-appearance: textfield;
}

body.woocommerce-cart .quantity .qty::-webkit-inner-spin-button,
body.woocommerce-cart .quantity .qty::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

body.woocommerce-cart .mamyto-qty-button {
	display: grid;
	width: 38px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #242424;
	font-size: 20px;
	line-height: 1;
	place-items: center;
	cursor: pointer;
}

body.woocommerce-cart .mamyto-qty-button:hover {
	background: rgba(0, 0, 0, .05);
}

body.woocommerce-cart td.product-subtotal {
	width: 125px;
	text-align: right;
}

body.woocommerce-cart td.product-subtotal .amount {
	font-size: 17px;
	font-weight: 800;
	white-space: nowrap;
}

body.woocommerce-cart td.product-remove {
	width: 46px;
	padding-right: 18px;
	text-align: right;
}

body.woocommerce-cart td.product-remove a.remove {
	display: inline-grid;
	width: 32px;
	height: 32px;
	border: 1px solid var(--mamyto-border);
	border-radius: 50%;
	color: #757575 !important;
	font-size: 21px;
	line-height: 1;
	place-items: center;
}

body.woocommerce-cart td.product-remove a.remove:hover {
	border-color: #d63638;
	background: #fff3f3;
	color: #d63638 !important;
}

body.woocommerce-cart td.actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 5px;
	padding: 16px 0 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.woocommerce-cart td.actions .coupon {
	display: flex;
	align-items: center;
	gap: 8px;
}

body.woocommerce-cart td.actions .coupon .input-text {
	min-width: 190px;
	height: 46px;
	padding: 0 15px;
	border: 1px solid var(--mamyto-border);
	border-radius: 10px;
}

body.woocommerce-cart td.actions button.button {
	min-height: 46px;
	padding: 0 18px;
	border-radius: 10px;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
	float: none;
	position: sticky;
	top: 30px;
	width: 100%;
	padding: clamp(22px, 3vw, 32px);
	border: 1px solid var(--mamyto-border);
	border-radius: 18px;
	background: var(--mamyto-surface);
	box-shadow: 0 16px 45px rgba(17, 24, 39, .08);
}

body.woocommerce-cart .cart_totals h2 {
	margin: 0 0 20px;
	font-size: clamp(22px, 2vw, 28px);
}

body.woocommerce-cart .cart_totals table {
	border-spacing: 0;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
	padding: 15px 0;
	border: 0;
	border-bottom: 1px solid var(--mamyto-border);
	background: transparent;
}

body.woocommerce-cart .cart_totals table td {
	text-align: right;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
	padding-top: 20px;
	border-bottom: 0;
	font-size: 18px;
}

body.woocommerce-cart .wc-proceed-to-checkout {
	padding: 22px 0 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	margin: 0;
	border-radius: 12px;
	background: var(--mamyto-accent);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .01em;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
	filter: brightness(.9);
	transform: translateY(-1px);
}

body.woocommerce-cart .wp-block-woocommerce-cart {
	width: 100%;
}

@media (max-width: 960px) {
	body.woocommerce-cart .woocommerce {
		grid-template-columns: 1fr;
	}

	body.woocommerce-cart .cart-collaterals .cart_totals {
		position: static;
	}
}
