/*
 * Cart and checkout presentation.
 *
 * WooCommerce continues to render and operate every classic form and Block.
 * All rules are limited to cart or checkout routes and public WooCommerce
 * component classes.
 */

.outlet-store-cart-page .site-main,
.outlet-store-checkout .site-main {
	margin-inline: auto;
	max-width: var(--outlet-store-container);
	padding: clamp(2rem, 6vw, 6rem) var(--outlet-store-space);
}

.outlet-store-cart-page .entry-title,
.outlet-store-checkout .entry-title,
.outlet-store-cart-page .woocommerce > h2,
.outlet-store-checkout .woocommerce > h2 {
	font-family: var(--outlet-store-display-font);
	font-size: clamp(2.5rem, 7vw, 5.5rem);
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 0.92;
	margin: 0 0 clamp(2rem, 5vw, 4rem);
	text-transform: uppercase;
}

.outlet-store-cart-page .woocommerce-notices-wrapper,
.outlet-store-checkout .woocommerce-notices-wrapper {
	clear: both;
	grid-column: 1 / -1;
}

.outlet-store-cart-page .woocommerce-message,
.outlet-store-cart-page .woocommerce-info,
.outlet-store-cart-page .woocommerce-error,
.outlet-store-checkout .woocommerce-message,
.outlet-store-checkout .woocommerce-info,
.outlet-store-checkout .woocommerce-error,
.outlet-store-cart-page .wc-block-components-notice-banner,
.outlet-store-checkout .wc-block-components-notice-banner {
	background: var(--outlet-store-white);
	border: 1px solid var(--outlet-store-black);
	border-radius: 0;
	color: var(--outlet-store-ink);
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
}

.outlet-store-cart-page .woocommerce-error,
.outlet-store-checkout .woocommerce-error,
.outlet-store-cart-page .wc-block-components-notice-banner.is-error,
.outlet-store-checkout .wc-block-components-notice-banner.is-error {
	border-left-width: 6px;
}

.outlet-store-cart-page .woocommerce-cart-form {
	float: left;
	width: calc(66.666% - 1.25rem);
}

.outlet-store-cart-page .cart-collaterals {
	float: right;
	width: calc(33.333% - 1.25rem);
}

.outlet-store-cart-page .woocommerce::after {
	clear: both;
	content: "";
	display: table;
}

.outlet-store-cart-page table.shop_table,
.outlet-store-checkout table.shop_table {
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
	margin: 0;
	table-layout: fixed;
	width: 100%;
}

.outlet-store-cart-page table.shop_table th,
.outlet-store-cart-page table.shop_table td,
.outlet-store-checkout table.shop_table th,
.outlet-store-checkout table.shop_table td {
	border-bottom: 1px solid var(--outlet-store-rule);
	overflow-wrap: anywhere;
	padding: 1rem 0.75rem;
	text-align: left;
	vertical-align: middle;
}

.outlet-store-cart-page table.shop_table thead th,
.outlet-store-checkout table.shop_table thead th {
	border-bottom-color: var(--outlet-store-black);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.outlet-store-cart-page .product-thumbnail img {
	aspect-ratio: 4 / 5;
	display: block;
	object-fit: cover;
	width: clamp(5rem, 10vw, 8rem);
}

.outlet-store-cart-page .product-name a,
.outlet-store-cart-page .cart_totals h2,
.outlet-store-checkout #order_review_heading,
.outlet-store-checkout .woocommerce-billing-fields > h3,
.outlet-store-checkout .woocommerce-shipping-fields > h3,
.outlet-store-checkout .woocommerce-additional-fields > h3 {
	font-family: var(--outlet-store-display-font);
	font-weight: 900;
	letter-spacing: -0.025em;
	text-transform: uppercase;
}

.outlet-store-cart-page .product-name a {
	text-decoration: none;
}

.outlet-store-cart-page .product-remove .remove {
	border: 1px solid var(--outlet-store-black);
	border-radius: 50%;
	color: var(--outlet-store-black);
	display: inline-grid;
	font-size: 1rem;
	min-height: 44px;
	min-width: 44px;
	place-items: center;
	text-decoration: none;
}

.outlet-store-cart-page .quantity .qty,
.outlet-store-checkout .quantity .qty,
.outlet-store-cart-page .coupon input,
.outlet-store-checkout form.checkout input.input-text,
.outlet-store-checkout form.checkout select,
.outlet-store-checkout form.checkout textarea,
.outlet-store-cart-page .wc-block-components-quantity-selector,
.outlet-store-cart-page .wc-block-components-text-input input,
.outlet-store-checkout .wc-block-components-text-input input,
.outlet-store-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
.outlet-store-checkout .wc-block-components-textarea {
	background: var(--outlet-store-white);
	border: 1px solid var(--outlet-store-black);
	border-radius: 0;
	color: var(--outlet-store-ink);
	font: inherit;
	min-height: 46px;
}

.outlet-store-cart-page .quantity .qty,
.outlet-store-checkout .quantity .qty {
	padding: 0.5rem;
	width: 4.5rem;
}

.outlet-store-cart-page .actions {
	padding-top: 1.5rem;
}

.outlet-store-cart-page .coupon {
	display: flex;
	gap: 0.5rem;
	max-width: 30rem;
}

.outlet-store-cart-page .coupon label {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.outlet-store-cart-page .coupon input {
	min-width: 0;
	padding-inline: 0.75rem;
	width: 100%;
}

.outlet-store-cart-page button.button,
.outlet-store-cart-page a.button,
.outlet-store-checkout button.button,
.outlet-store-checkout a.button,
.outlet-store-cart-page .wc-block-components-button,
.outlet-store-checkout .wc-block-components-button {
	background: var(--outlet-store-black);
	border: 1px solid var(--outlet-store-black);
	border-radius: 0;
	color: var(--outlet-store-white);
	cursor: pointer;
	font-family: var(--outlet-store-body-font);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.2;
	min-height: 46px;
	padding: 0.9rem 1.2rem;
	text-decoration: none;
	text-transform: uppercase;
}

.outlet-store-cart-page button.button:disabled,
.outlet-store-checkout button.button:disabled,
.outlet-store-cart-page .wc-block-components-button:disabled,
.outlet-store-checkout .wc-block-components-button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.outlet-store-cart-page .cart_totals,
.outlet-store-checkout #order_review,
.outlet-store-cart-page .wc-block-cart__sidebar,
.outlet-store-checkout .wc-block-checkout__sidebar {
	border: 1px solid var(--outlet-store-black);
	padding: clamp(1.25rem, 3vw, 2rem);
}

.outlet-store-cart-page .cart_totals h2,
.outlet-store-checkout #order_review_heading {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1;
	margin: 0 0 1.5rem;
}

.outlet-store-cart-page .cart_totals table th,
.outlet-store-checkout #order_review table th {
	font-weight: 700;
}

.outlet-store-cart-page .cart_totals table td,
.outlet-store-checkout #order_review table td {
	text-align: right;
}

.outlet-store-cart-page .order-total th,
.outlet-store-cart-page .order-total td,
.outlet-store-checkout .order-total th,
.outlet-store-checkout .order-total td,
.outlet-store-cart-page .wc-block-components-totals-footer-item,
.outlet-store-checkout .wc-block-components-totals-footer-item {
	border-top: 2px solid var(--outlet-store-black);
	font-size: 1.1rem;
	font-weight: 800;
}

.outlet-store-cart-page .wc-proceed-to-checkout {
	padding: 1.5rem 0 0;
}

.outlet-store-cart-page .wc-proceed-to-checkout .checkout-button {
	margin: 0;
	text-align: center;
	width: 100%;
}

.outlet-store-cart-page .woocommerce-shipping-calculator,
.outlet-store-cart-page .woocommerce-shipping-methods,
.outlet-store-checkout .woocommerce-shipping-methods {
	font-size: 0.875rem;
}

.outlet-store-cart-page .shipping-calculator-form {
	padding-top: 0.75rem;
}

.outlet-store-checkout form.checkout {
	display: grid;
	gap: 0 2.5rem;
	grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr);
	position: relative;
}

.outlet-store-checkout #customer_details {
	grid-column: 1;
	grid-row: 1 / 3;
}

.outlet-store-checkout #order_review_heading,
.outlet-store-checkout #order_review {
	grid-column: 2;
	min-width: 0;
}

.outlet-store-checkout #order_review_heading {
	align-self: end;
	margin-top: 0;
}

.outlet-store-checkout #customer_details .col-1,
.outlet-store-checkout #customer_details .col-2 {
	float: none;
	width: 100%;
}

.outlet-store-checkout .woocommerce-billing-fields > h3,
.outlet-store-checkout .woocommerce-shipping-fields > h3,
.outlet-store-checkout .woocommerce-additional-fields > h3 {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1;
	margin: 0 0 1.5rem;
}

.outlet-store-checkout .form-row {
	margin: 0 0 1rem;
	padding: 0;
}

.outlet-store-checkout .form-row label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 0.35rem;
	text-transform: uppercase;
}

.outlet-store-checkout .woocommerce-form__label-for-checkbox,
.outlet-store-checkout label.checkbox,
.outlet-store-checkout .wc-block-components-checkbox__label {
	align-items: center;
	display: inline-flex;
	min-height: 44px;
}

.outlet-store-checkout .form-row input.input-text,
.outlet-store-checkout .form-row select,
.outlet-store-checkout .form-row textarea {
	padding: 0.75rem;
	width: 100%;
}

.outlet-store-checkout .woocommerce-form-coupon-toggle,
.outlet-store-checkout .woocommerce-form-login-toggle {
	margin-bottom: 1rem;
}

.outlet-store-checkout .checkout_coupon,
.outlet-store-checkout form.woocommerce-form-login {
	border: 1px solid var(--outlet-store-black);
	border-radius: 0;
	margin: 0 0 2rem;
	padding: 1.25rem;
}

.outlet-store-checkout .checkout_coupon input.input-text,
.outlet-store-checkout form.woocommerce-form-login input.input-text {
	background: var(--outlet-store-white);
	border: 1px solid var(--outlet-store-black);
	border-radius: 0;
	font: inherit;
	min-height: 46px;
	padding: 0.75rem;
	width: 100%;
}

.outlet-store-checkout .select2-container .select2-selection--single {
	border: 1px solid var(--outlet-store-black);
	border-radius: 0;
	height: 46px;
}

.outlet-store-checkout .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 44px;
}

.outlet-store-checkout .select2-container .select2-selection--single .select2-selection__arrow {
	height: 44px;
}

.outlet-store-checkout .woocommerce-invalid input.input-text,
.outlet-store-checkout .woocommerce-invalid select,
.outlet-store-checkout .woocommerce-invalid .select2-selection {
	border-color: #b81c23;
}

.outlet-store-checkout .woocommerce-validated input.input-text,
.outlet-store-checkout .woocommerce-validated select,
.outlet-store-checkout .woocommerce-validated .select2-selection {
	border-color: #2d7a3e;
}

.outlet-store-checkout #payment {
	background: transparent;
	border-radius: 0;
	margin-top: 1.5rem;
}

.outlet-store-checkout .wc_payment_methods {
	border-bottom: 1px solid var(--outlet-store-rule);
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.outlet-store-checkout .wc_payment_method {
	border-top: 1px solid var(--outlet-store-rule);
	padding: 1rem 0;
}

.outlet-store-checkout .payment_box {
	background: #f4f4f4;
	margin-top: 0.75rem;
	padding: 1rem;
}

.outlet-store-checkout .place-order {
	margin-bottom: 0;
}

.outlet-store-checkout #place_order {
	width: 100%;
}

.outlet-store-checkout .woocommerce-terms-and-conditions-wrapper {
	font-size: 0.875rem;
	margin-bottom: 1rem;
}

.outlet-store-cart-page .wp-block-woocommerce-cart,
.outlet-store-checkout .wp-block-woocommerce-checkout {
	margin-inline: auto;
	max-width: 100%;
}

.outlet-store-cart-page .wc-block-components-sidebar-layout,
.outlet-store-checkout .wc-block-components-sidebar-layout {
	gap: clamp(1.5rem, 4vw, 4rem);
	min-width: 0;
}

.outlet-store-cart-page .wc-block-components-main,
.outlet-store-cart-page .wc-block-components-sidebar,
.outlet-store-checkout .wc-block-components-main,
.outlet-store-checkout .wc-block-components-sidebar {
	min-width: 0;
}

.outlet-store-cart-page .wc-block-cart-items,
.outlet-store-cart-page .wc-block-components-totals-wrapper,
.outlet-store-checkout .wc-block-components-totals-wrapper,
.outlet-store-checkout .wc-block-components-order-summary {
	border-color: var(--outlet-store-rule);
}

.outlet-store-cart-page .wc-block-components-product-name,
.outlet-store-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	font-family: var(--outlet-store-display-font);
	font-weight: 900;
	letter-spacing: -0.02em;
	text-decoration: none;
	text-transform: uppercase;
}

.outlet-store-cart-page .wc-block-cart-item__image img,
.outlet-store-checkout .wc-block-components-order-summary-item__image img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.outlet-store-checkout .wc-block-checkout__actions_row {
	border-top: 1px solid var(--outlet-store-rule);
	margin-top: 1.5rem;
	padding-top: 1.5rem;
}

.outlet-store-cart-page :is(button, a, input, select, textarea):focus-visible,
.outlet-store-checkout :is(button, a, input, select, textarea):focus-visible {
	box-shadow: 0 0 0 2px var(--outlet-store-white), 0 0 0 4px var(--outlet-store-black);
	outline: 2px solid transparent;
	outline-offset: 2px;
}

@media (max-width: 899px) {
	.outlet-store-cart-page .woocommerce-cart-form,
	.outlet-store-cart-page .cart-collaterals {
		float: none;
		width: 100%;
	}

	.outlet-store-cart-page .cart-collaterals {
		margin-top: 2rem;
	}

	.outlet-store-checkout form.checkout {
		display: block;
	}

	.outlet-store-checkout #order_review_heading {
		margin-top: 2.5rem;
	}

	.outlet-store-cart-page .wc-block-components-sidebar-layout,
	.outlet-store-checkout .wc-block-components-sidebar-layout {
		flex-direction: column;
	}

	.outlet-store-cart-page .wc-block-components-main,
	.outlet-store-cart-page .wc-block-components-sidebar,
	.outlet-store-checkout .wc-block-components-main,
	.outlet-store-checkout .wc-block-components-sidebar {
		padding-inline: 0;
		width: 100%;
	}
}

@media (max-width: 599px) {
	.outlet-store-cart-page .shop_table_responsive .product-thumbnail,
	.outlet-store-cart-page .shop_table_responsive thead {
		position: absolute;
		clip: rect(1px, 1px, 1px, 1px);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		white-space: nowrap;
		width: 1px;
	}

	.outlet-store-cart-page .shop_table_responsive tr {
		border-bottom: 1px solid var(--outlet-store-black);
		display: block;
		padding-block: 1rem;
	}

	.outlet-store-cart-page .shop_table_responsive td {
		align-items: center;
		border-bottom: 1px solid var(--outlet-store-rule);
		display: flex;
		gap: 1rem;
		justify-content: space-between;
		text-align: right;
	}

	.outlet-store-cart-page .shop_table_responsive td::before {
		content: attr(data-title);
		font-size: 0.75rem;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-align: left;
		text-transform: uppercase;
	}

	.outlet-store-cart-page .shop_table_responsive td.actions {
		display: block;
		text-align: left;
	}

	.outlet-store-cart-page .shop_table_responsive td.actions::before,
	.outlet-store-cart-page .shop_table_responsive td.product-remove::before {
		content: "";
	}

	.outlet-store-cart-page .coupon {
		margin-bottom: 0.75rem;
		max-width: 100%;
	}
}
