/**
 * WESHIPAC cart desktop reference correction — 0.9.34.
 *
 * Cart-only rules load after the shared commerce and journey layers. The
 * approved max-620px mobile presentation continues to own the phone layout.
 */

@media (min-width: 621px) {
	body.woocommerce-cart .aos-commerce-page-cart {
		--wsp-c34-container: 1240px;
		--wsp-c34-gutter: clamp(24px, 3vw, 40px);
		--wsp-c34-main-gap: 22px;
		--wsp-c34-manifest-height: 580px;
		--wsp-c34-row-min: 116px;
		--wsp-c34-icon-frame: 46px;
		--wsp-c34-control: 44px;
		--wsp-c34-radius: 10px;
		--wsp-c34-line: #d8e5ed;
		--wsp-c34-line-strong: #bdd6e4;
		--wsp-c34-ice: #f3f9fc;
		--wsp-c34-blue: #087fc2;
		--wsp-c34-blue-strong: #006cac;
		--wsp-c34-navy: #0a2038;
		--wsp-c34-muted: #62768c;
		--wsp-c34-success: #11865e;
		--wsp-c34-shadow: 0 12px 34px rgba(10, 42, 67, 0.08);
		--wsp-c34-duration-fast: 160ms;
		--wsp-c34-duration-base: 220ms;
		--wsp-c34-ease: cubic-bezier(0.25, 1, 0.5, 1);
		padding: clamp(34px, 4vw, 54px) 0 clamp(34px, 4vw, 52px);
	}

	body.woocommerce-cart .aos-commerce-page-cart > .aos-container {
		width: min(calc(100% - (2 * var(--wsp-c34-gutter))), var(--wsp-c34-container));
	}

	body.woocommerce-cart .aos-commerce-header-cart {
		grid-template-columns: minmax(0, 0.96fr) minmax(500px, 1.04fr);
		align-items: center;
		gap: clamp(32px, 4vw, 64px);
		padding: 0 0 34px;
		margin: 0;
		border-bottom: 0;
	}

	body.woocommerce-cart .aos-commerce-header-cart .aos-eyebrow {
		margin-bottom: 10px;
	}

	body.woocommerce-cart .aos-commerce-header-cart h1 {
		margin: 0 0 10px;
		font-size: clamp(2.65rem, 4vw, 3.45rem);
		line-height: 1.02;
		letter-spacing: -0.04em;
	}

	body.woocommerce-cart .aos-commerce-header-cart .aos-commerce-intro {
		max-width: 52ch;
		font-size: 1rem;
		line-height: 1.55;
	}

	body.woocommerce-cart .aos-order-path {
		padding: 8px;
		border-color: var(--wsp-c34-line);
		border-radius: var(--wsp-c34-radius);
		box-shadow: 0 8px 24px rgba(10, 42, 67, 0.05);
	}

	body.woocommerce-cart .aos-order-path li {
		grid-template-columns: 36px minmax(0, 1fr);
		min-height: 66px;
		padding: 8px 12px;
	}

	body.woocommerce-cart .aos-order-path-index {
		width: 34px;
		height: 34px;
	}

	body.woocommerce-cart .aos-order-path strong {
		font-size: 0.78rem;
	}

	body.woocommerce-cart .aos-order-path small {
		font-size: 0.68rem;
	}

	body.woocommerce-cart .wsp-cart-assurances {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin: 0 0 28px;
		border-color: rgba(8, 127, 194, 0.2);
		border-radius: var(--wsp-c34-radius);
		background: rgba(247, 252, 255, 0.94);
		box-shadow: 0 8px 24px rgba(10, 42, 67, 0.045);
	}

	body.woocommerce-cart .wsp-cart-assurances > .wsp-cart-assurance {
		grid-template-columns: var(--wsp-c34-icon-frame) minmax(0, 1fr);
		align-items: center;
		gap: 14px;
		min-height: 88px;
		padding: 14px 20px;
	}

	body.woocommerce-cart .wsp-cart-assurances > .wsp-cart-assurance::before {
		display: none;
		content: none;
	}

	body.woocommerce-cart .wsp-cart-assurance > .wsp-commerce-assurance-icon {
		display: grid !important;
		grid-column: 1;
		grid-row: 1;
		width: var(--wsp-c34-icon-frame);
		height: var(--wsp-c34-icon-frame);
		place-items: center;
		border: 1px solid rgba(8, 127, 194, 0.12);
		border-radius: 50%;
		background: #e4f5fd;
		color: var(--wsp-c34-blue);
	}

	body.woocommerce-cart .wsp-cart-assurance > .wsp-commerce-assurance-icon .aos-icon {
		display: block;
		width: 24px;
		height: 24px;
	}

	body.woocommerce-cart .wsp-cart-assurance > span:last-child {
		grid-column: 2;
		grid-row: 1;
		align-self: center;
		min-width: 0;
	}

	body.woocommerce-cart .wsp-cart-assurance strong {
		font-size: 0.92rem;
		line-height: 1.3;
	}

	body.woocommerce-cart .wsp-cart-assurance strong + span {
		margin-top: 5px;
		font-size: 0.76rem;
		line-height: 1.45;
	}

	body.woocommerce-cart .aos-commerce-content > .woocommerce,
	body.woocommerce-cart .aos-commerce-content .wp-block-shortcode > .woocommerce,
	body.woocommerce-cart .aos-commerce-content .elementor-shortcode > .woocommerce {
		gap: var(--wsp-c34-main-gap);
		align-items: start;
	}

	body.woocommerce-cart .woocommerce-cart-form,
	body.woocommerce-cart .cart_totals,
	body.woocommerce-cart .wsp-cart-recommendations,
	body.woocommerce-cart .wsp-cart-service-rail,
	body.woocommerce-cart .wsp-cart-support {
		border-color: var(--wsp-c34-line);
		border-radius: var(--wsp-c34-radius);
		box-shadow: var(--wsp-c34-shadow);
	}

	body.woocommerce-cart .cart_totals {
		overflow: hidden;
		padding: 24px;
	}

	body.woocommerce-cart .cart_totals::before {
		height: 3px;
		background: linear-gradient(90deg, #0bb7e8, var(--wsp-c34-blue));
	}

	body.woocommerce-cart .cart_totals h2 {
		padding-bottom: 16px;
		margin: 2px 0 14px;
		font-size: clamp(1.55rem, 2vw, 1.9rem);
	}

	body.woocommerce-cart .cart_totals table.shop_table {
		margin-bottom: 10px;
		background: linear-gradient(135deg, #f5fbfe, #edf8fc);
	}

	body.woocommerce-cart .cart_totals table.shop_table th,
	body.woocommerce-cart .cart_totals table.shop_table td {
		padding: 12px 10px;
		font-size: 0.88rem;
	}

	body.woocommerce-cart .cart_totals .order-total th,
	body.woocommerce-cart .cart_totals .order-total td {
		font-size: 1.15rem;
	}

	body.woocommerce-cart .wc-proceed-to-checkout {
		gap: 12px;
	}

	body.woocommerce-cart .wsp-cart-shipping-confirmation {
		order: 0;
		display: grid;
		grid-template-columns: 26px minmax(0, 1fr);
		align-items: center;
		gap: 10px;
		padding: 14px;
		border: 1px solid rgba(17, 134, 94, 0.18);
		border-radius: 8px;
		background: linear-gradient(135deg, #f0fcf7, #e7f8f1);
		color: var(--wsp-c34-success);
		font-size: 0.8rem;
		line-height: 1.45;
	}

	body.woocommerce-cart .wsp-cart-shipping-confirmation .aos-icon {
		width: 24px;
		height: 24px;
	}

	body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button.button.alt {
		min-height: 50px;
		border-color: var(--wsp-c34-blue);
		background: linear-gradient(90deg, var(--wsp-c34-blue), #006eb7);
		box-shadow: 0 10px 22px rgba(8, 127, 194, 0.18);
		font-size: 0.95rem;
	}

	body.woocommerce-cart #wc-stripe-express-checkout-element {
		gap: 8px;
		margin-top: 0 !important;
	}

	body.woocommerce-cart .wsp-cart-financing.is-ready {
		padding: 10px 12px;
		margin-top: 0;
	}

	body.woocommerce-cart .wsp-cart-support {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 56px;
		align-items: center;
		gap: 10px;
		padding: 12px 14px;
		margin-top: 12px;
		overflow: hidden;
		background: linear-gradient(145deg, #fafdff, #eef8fd);
	}

	body.woocommerce-cart .wsp-cart-support h2 {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		overflow: hidden !important;
		clip: rect(1px, 1px, 1px, 1px) !important;
		white-space: nowrap !important;
	}

	body.woocommerce-cart .wsp-cart-support .aos-eyebrow {
		margin: 0 0 5px;
	}

	body.woocommerce-cart .wsp-cart-support ul {
		display: grid;
		gap: 4px;
		padding: 0;
		margin: 0;
		list-style: none;
	}

	body.woocommerce-cart .wsp-cart-support li {
		display: grid;
		grid-template-columns: 18px minmax(0, 1fr);
		align-items: center;
		gap: 7px;
		font-size: 0.76rem;
	}

	body.woocommerce-cart .wsp-cart-support li .aos-icon {
		width: 17px;
		height: 17px;
		color: var(--wsp-c34-blue);
	}

	body.woocommerce-cart .wsp-cart-support li a {
		color: var(--wsp-c34-navy);
		font-weight: 700;
		text-decoration: none;
	}

	body.woocommerce-cart .wsp-cart-support p:not(.aos-eyebrow) {
		margin: 5px 0 0;
		font-size: 0.72rem;
	}

	body.woocommerce-cart .wsp-cart-support .button {
		display: none;
	}

	body.woocommerce-cart .wsp-cart-support-icon {
		display: grid;
		width: 54px;
		height: 54px;
		place-items: center;
		border-radius: 50%;
		background: #fff;
		color: var(--wsp-c34-navy);
		box-shadow: 0 8px 22px rgba(10, 42, 67, 0.08);
	}

	body.woocommerce-cart .wsp-cart-support-icon .aos-icon {
		width: 30px;
		height: 30px;
	}

	body.woocommerce-cart .wsp-cart-recommendations {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto auto;
		gap: 10px 12px;
		padding: 16px;
		margin-top: 0;
		overflow: hidden;
		isolation: isolate;
		background: linear-gradient(145deg, rgba(247, 252, 255, 0.99), rgba(235, 248, 253, 0.94));
	}

	body.woocommerce-cart .wsp-cart-recommendations-heading {
		grid-column: 1;
		grid-row: 1;
		align-self: center;
	}

	body.woocommerce-cart .wsp-cart-recommendations-heading .aos-eyebrow,
	body.woocommerce-cart .wsp-cart-recommendations-heading > p:last-child {
		display: none;
	}

	body.woocommerce-cart .wsp-cart-recommendations-heading h2 {
		margin: 0;
		font-size: 1.05rem;
		line-height: 1.25;
	}

	body.woocommerce-cart .wsp-cart-deck-controls {
		grid-column: 2;
		grid-row: 1;
		gap: 6px;
	}

	body.woocommerce-cart .wsp-cart-deck-controls button {
		width: var(--wsp-c34-control);
		height: var(--wsp-c34-control);
	}

	body.woocommerce-cart .wsp-cart-deck {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	body.woocommerce-cart .wsp-cart-deck-card {
		grid-template-columns: 76px minmax(0, 1fr);
		min-height: 106px;
		padding: 9px;
	}

	body.woocommerce-cart .wsp-cart-deck-card-media {
		width: 76px;
		height: 76px;
	}

	body.woocommerce-cart .wsp-cart-deck-card-copy {
		gap: 3px 8px;
	}

	body.woocommerce-cart .wsp-cart-deck-card h3 {
		font-size: 0.8rem;
	}

	body.woocommerce-cart .wsp-cart-deck-card-model {
		font-size: 0.6rem;
	}

	body.woocommerce-cart .wsp-cart-deck-card-price {
		font-size: 0.82rem;
	}

	body.woocommerce-cart .wsp-cart-deck.is-enhanced .wsp-cart-deck-card.is-next::after {
		background: rgba(238, 248, 253, 0.4);
	}

	body.woocommerce-cart .wsp-cart-deck.is-enhanced .wsp-cart-deck-card.is-third::after {
		background: rgba(238, 248, 253, 0.72);
	}

	body.woocommerce-cart .wsp-cart-service-rail {
		display: block;
		padding: 16px;
		margin-top: 0;
		overflow: hidden;
		background: rgba(255, 255, 255, 0.9);
	}

	body.woocommerce-cart .wsp-cart-service-rail h2 {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		overflow: hidden !important;
		clip: rect(1px, 1px, 1px, 1px) !important;
		white-space: nowrap !important;
	}

	body.woocommerce-cart .wsp-cart-service-rail ul {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body.woocommerce-cart .wsp-cart-service-rail li {
		display: grid;
		grid-template-columns: 46px minmax(0, 1fr);
		align-items: center;
		gap: 12px;
		padding: 8px 16px;
	}

	body.woocommerce-cart .wsp-cart-service-icon {
		display: grid !important;
		width: 44px;
		height: 44px;
		place-items: center;
		border-radius: 50%;
		background: #e9f7fd;
		color: var(--wsp-c34-blue);
	}

	body.woocommerce-cart .wsp-cart-service-icon .aos-icon {
		width: 25px;
		height: 25px;
	}

	body.woocommerce-cart .wsp-cart-service-rail strong {
		font-size: 0.78rem;
		line-height: 1.35;
	}

	body.woocommerce-cart .wsp-cart-service-rail strong + span {
		margin-top: 3px;
		color: var(--wsp-c34-muted);
		font-size: 0.68rem;
		line-height: 1.4;
	}
}

@media (min-width: 1024px) {
	body.woocommerce-cart .aos-commerce-content > .woocommerce,
	body.woocommerce-cart .aos-commerce-content .wp-block-shortcode > .woocommerce,
	body.woocommerce-cart .aos-commerce-content .elementor-shortcode > .woocommerce {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		grid-template-rows: max-content max-content;
		grid-auto-flow: row;
		column-gap: var(--wsp-c34-main-gap);
		row-gap: 24px;
	}

	body.woocommerce-cart .woocommerce-cart-form {
		grid-column: 1 / span 8;
		grid-row: 1;
		max-height: none;
		overflow: visible;
	}

	body.woocommerce-cart .cart-collaterals {
		display: flex;
		grid-column: 9 / span 4;
		grid-row: 1;
		flex-direction: column;
		min-width: 0;
	}

	body.woocommerce-cart .wsp-cart-recommendations {
		grid-column: 1 / span 4;
		grid-row: 2;
	}

	body.woocommerce-cart .wsp-cart-service-rail {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	body.woocommerce-cart table.shop_table.cart {
		width: 100%;
		overflow: hidden;
		border-color: var(--wsp-c34-line);
		border-radius: var(--wsp-c34-radius);
		background: #fff;
		box-shadow: var(--wsp-c34-shadow);
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed {
		display: grid;
		grid-template-rows: 48px var(--wsp-c34-manifest-height) auto;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed thead,
	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed tbody {
		display: block;
		width: 100%;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed thead {
		grid-row: 1;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed thead tr,
	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed tbody tr.cart_item {
		display: grid;
		grid-template-columns: 42px 76px minmax(160px, 1fr) 88px 132px 94px;
		align-items: center;
		width: 100%;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed thead tr {
		min-height: 48px;
		background: #f1f8fc;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed thead th {
		position: static;
		display: flex;
		min-width: 0;
		align-items: center;
		height: 100%;
		padding: 10px 8px;
		background: transparent;
		box-shadow: none;
		font-size: 0.66rem;
		letter-spacing: 0.08em;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed tbody.wsp-cart-items-viewport {
		grid-row: 2;
		height: var(--wsp-c34-manifest-height);
		min-height: var(--wsp-c34-manifest-height);
		max-height: var(--wsp-c34-manifest-height);
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-color: rgba(8, 127, 194, 0.38) transparent;
		scrollbar-width: thin;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed tbody.wsp-cart-items-viewport::-webkit-scrollbar {
		width: 9px;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed tbody.wsp-cart-items-viewport::-webkit-scrollbar-thumb {
		border: 2px solid transparent;
		border-radius: 999px;
		background: rgba(8, 127, 194, 0.36);
		background-clip: padding-box;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed tbody tr.cart_item {
		min-height: var(--wsp-c34-row-min);
		border-bottom: 1px solid var(--wsp-c34-line);
		transition: background-color var(--wsp-c34-duration-fast) ease;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed tbody tr.cart_item td {
		display: flex;
		min-width: 0;
		align-items: center;
		height: 100%;
		padding: 14px 8px;
		border: 0;
		text-align: left;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed tbody tr.cart_item .product-remove {
		justify-content: center;
		padding-inline: 5px;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed a.remove {
		width: 30px;
		height: 30px;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed .product-thumbnail {
		width: auto;
		justify-content: center;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed .product-thumbnail img {
		width: 64px;
		height: 64px;
		padding: 6px;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed tbody tr.cart_item td.product-name {
		display: block;
		padding-left: 10px;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed .product-name a {
		display: inline;
		font-size: 0.88rem;
		line-height: 1.35;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed .product-name :is(dl, .variation, .wc-item-meta) {
		margin: 6px 0 0;
		color: var(--wsp-c34-muted);
		font-size: 0.68rem;
		line-height: 1.35;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed .product-name dl.variation {
		display: grid !important;
		grid-template-columns: max-content minmax(0, 1fr);
		gap: 2px 6px;
		float: none !important;
		clear: both;
		width: 100%;
		min-width: 0;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed .product-name dl.variation dt,
	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed .product-name dl.variation dd {
		float: none !important;
		display: block;
		min-width: 0;
		padding: 0;
		margin: 0;
		overflow-wrap: anywhere;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed .product-price,
	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed .product-subtotal {
		font-size: 0.78rem;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed .product-subtotal {
		font-weight: 800;
	}

	body.woocommerce-cart .quantity.aos-quantity-stepper {
		grid-template-columns: repeat(3, 44px);
		min-width: 132px;
		min-height: var(--wsp-c34-control);
	}

	body.woocommerce-cart .quantity.aos-quantity-stepper .qty,
	body.woocommerce-cart .quantity.aos-quantity-stepper .aos-quantity-button {
		min-height: var(--wsp-c34-control);
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed tbody.wsp-cart-actions {
		grid-row: 3;
		overflow: visible;
		border-top: 1px solid var(--wsp-c34-line);
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed tbody.wsp-cart-actions > tr {
		position: static;
		display: block;
		width: 100%;
		background: rgba(247, 252, 255, 0.98);
		box-shadow: 0 -8px 18px rgba(10, 42, 67, 0.04);
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed td.actions {
		display: flex;
		width: 100%;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 12px 14px;
		background: transparent;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed td.actions .coupon {
		display: grid;
		grid-template-columns: minmax(150px, 1fr) auto;
		gap: 8px;
		min-width: 0;
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed td.actions .coupon .input-text {
		width: min(220px, 100%);
		min-height: var(--wsp-c34-control);
	}

	body.woocommerce-cart table.shop_table.cart.wsp-cart-manifest-fixed td.actions .button {
		min-height: var(--wsp-c34-control);
		padding: 10px 16px;
		font-size: 0.76rem;
	}
}

@media (min-width: 621px) and (max-width: 1023px) {
	body.woocommerce-cart .aos-commerce-header-cart {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	body.woocommerce-cart .cart_totals {
		max-width: 620px;
	}

	body.woocommerce-cart .wsp-cart-recommendations,
	body.woocommerce-cart .wsp-cart-service-rail {
		margin-top: 22px;
	}
}

@media (min-width: 1024px) and (max-width: 1160px) {
	body.woocommerce-cart .aos-commerce-page-cart {
		--wsp-c34-gutter: 24px;
		--wsp-c34-main-gap: 16px;
	}

	body.woocommerce-cart .aos-commerce-header-cart {
		grid-template-columns: minmax(0, 1fr) minmax(470px, 1fr);
		gap: 28px;
	}

	body.woocommerce-cart .wsp-cart-assurances > .wsp-cart-assurance {
		gap: 10px;
		padding-inline: 14px;
	}

	body.woocommerce-cart .wsp-cart-service-rail li {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 9px;
		padding-inline: 10px;
	}
}

@media (min-width: 621px) and (prefers-reduced-motion: reduce) {
	body.woocommerce-cart .woocommerce-cart-form,
	body.woocommerce-cart .cart_totals,
	body.woocommerce-cart .wsp-cart-deck-card {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}
