/* Selfiecam.se cart. Scope every rule to the WooCommerce cart page. */
body.woocommerce-cart {
	--wisely-cart-pink: #de399b;
	--wisely-cart-pink-hover: #c92c88;
	--wisely-cart-ink: #202024;
	--wisely-cart-border: #e9e5e8;
	--wisely-cart-soft: #faf7f9;
}

body.woocommerce-cart #content.site-main {
	width: min(100% - 40px, 1140px);
	padding: 48px 0 88px;
}

body.woocommerce-cart .page-header {
	margin-bottom: 30px;
}

body.woocommerce-cart .page-header .entry-title {
	margin: 0;
	color: var(--wisely-cart-ink);
	font-size: clamp(32px, 4vw, 42px);
	font-weight: 600;
	line-height: 1.18;
}

body.woocommerce-cart .page-content,
body.woocommerce-cart .page-content .woocommerce {
	color: var(--wisely-cart-ink);
	font-family: Inter, sans-serif;
}

body.woocommerce-cart .woocommerce a {
	color: var(--wisely-cart-pink);
}

body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-cart .woocommerce input.button,
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 26px;
	border: 0;
	border-radius: 50px;
	background: var(--wisely-cart-pink);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color .2s ease, transform .2s ease;
}

body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-cart .woocommerce input.button:hover,
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
	background: var(--wisely-cart-pink-hover);
	color: #fff;
	transform: translateY(-1px);
}

body.woocommerce-cart .woocommerce button.button:disabled,
body.woocommerce-cart .woocommerce button.button:disabled:hover {
	background: #e6e3e5;
	color: #767177;
	transform: none;
}

/* Empty cart. */
body.woocommerce-cart.wisely-se-cart-empty .page-header {
	text-align: center;
	margin-bottom: 26px;
}

body.woocommerce-cart.wisely-se-cart-empty .page-content > .woocommerce,
body.woocommerce-cart.wisely-se-cart-empty .page-content .product > .woocommerce {
	max-width: 680px;
	margin: 0 auto;
	padding: clamp(38px, 6vw, 64px) 24px;
	border: 1px solid var(--wisely-cart-border);
	border-radius: 20px;
	background: var(--wisely-cart-soft);
	text-align: center;
}

body.woocommerce-cart.wisely-se-cart-empty #cfw_empty_side_cart_message,
body.woocommerce-cart.wisely-se-cart-empty .cart-empty {
	margin: 0 0 24px;
	font-size: clamp(21px, 3vw, 27px);
	font-weight: 600;
	line-height: 1.35;
}

body.woocommerce-cart.wisely-se-cart-empty .return-to-shop {
	margin: 0;
}

/* Filled cart. */
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals {
	border: 1px solid var(--wisely-cart-border);
	border-radius: 16px;
	background: #fff;
}

body.woocommerce-cart .woocommerce-cart-form {
	overflow: hidden;
}

body.woocommerce-cart .woocommerce table.shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 0;
}

body.woocommerce-cart .woocommerce table.shop_table th,
body.woocommerce-cart .woocommerce table.shop_table td {
	padding: 18px 16px;
	border: 0;
	border-bottom: 1px solid var(--wisely-cart-border);
	vertical-align: middle;
}

body.woocommerce-cart .woocommerce table.shop_table thead th {
	background: var(--wisely-cart-soft);
	font-size: 13px;
	font-weight: 600;
}

body.woocommerce-cart .woocommerce table.shop_table tr:last-child > td {
	border-bottom: 0;
}

body.woocommerce-cart .woocommerce .product-thumbnail img {
	width: 80px;
	border-radius: 10px;
}

body.woocommerce-cart .woocommerce .quantity .qty {
	width: 72px;
	min-height: 42px;
	border: 1px solid var(--wisely-cart-border);
	border-radius: 8px;
}

body.woocommerce-cart .woocommerce .coupon .input-text {
	min-height: 48px;
	border: 1px solid var(--wisely-cart-border);
	border-radius: 8px;
}

body.woocommerce-cart .cart-collaterals {
	margin-top: 30px;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
	float: right;
	width: min(100%, 460px);
	padding: 26px;
}

body.woocommerce-cart .cart-collaterals .cart_totals h2 {
	margin: 0 0 18px;
	font-family: Inter, sans-serif !important;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.3;
}

body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
	padding: 14px 0;
}

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

body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button {
	width: 100%;
	margin: 0;
}

@media (max-width: 767px) {
	body.woocommerce-cart #content.site-main {
		width: min(100% - 32px, 1140px);
		padding: 32px 0 64px;
	}

	body.woocommerce-cart .page-header {
		margin-bottom: 22px;
	}

	body.woocommerce-cart .woocommerce table.shop_table th,
	body.woocommerce-cart .woocommerce table.shop_table td {
		padding: 14px 12px;
	}

	body.woocommerce-cart .cart-collaterals .cart_totals {
		float: none;
		width: 100%;
		padding: 20px;
	}

	body.woocommerce-cart .woocommerce .woocommerce-cart-form td.actions .coupon {
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
		padding-bottom: 10px;
	}

	body.woocommerce-cart .woocommerce .woocommerce-cart-form td.actions .coupon .input-text,
	body.woocommerce-cart .woocommerce .woocommerce-cart-form td.actions .coupon .button,
	body.woocommerce-cart .woocommerce .woocommerce-cart-form td.actions > .button {
		width: 100% !important;
		max-width: none;
		margin: 0;
		float: none !important;
	}

	body.woocommerce-cart .woocommerce .woocommerce-cart-form td.actions > .button {
		margin-top: 10px;
	}
}
