// general styles
.cart_totals {

	.wc-proceed-to-checkout {

		a {
			width: 100%;
		}
	}

	// misc
	.shipping-calculator-button {
		display: block;
		margin: 10px 0;
	}
}


// theme styles
.ct-woocommerce-cart-form .cart_totals {
	align-self: flex-start;
	position: sticky;
	top: calc(50px + var(--admin-bar, 0px) + var(--header-sticky-height, 0px) * (var(--sticky-shrink, 100) / 100));
	border: 2px solid var(--theme-border-color);

	@include media-breakpoint-down(sm) {
		padding: 25px;
	}

	@include media-breakpoint-up(md) {
		padding: 30px;
	}

	h2 {
		font-size: 15px;
	}

	table {

		td {
			text-align: var(--theme-table-text-align, end);

			@include media-breakpoint-down(sm) {
				padding-inline-start: 0;
			}
		}
	}

	.wc-proceed-to-checkout {
		margin-top: 30px;

		a {
			width: 100%;
		}
	}

	// misc
	.shipping-calculator-button {
		display: block;
		margin: 10px 0;
	}
}
