/* Toysprovider Cart Block redesign. Scoped so other quantity controls are untouched. */
body.tp-cart-page {
	--tpcart-orange: #f05a28;
	--tpcart-orange-dark: #d9491a;
	--tpcart-ink: #17191d;
	--tpcart-copy: #4f555d;
	--tpcart-muted: #777d85;
	--tpcart-line: #e7e8e6;
	--tpcart-soft: #faf9f7;
	--tpcart-white: #fff;
	background: var(--tpcart-white);
	color: var(--tpcart-ink);
}
body.tp-cart-page #main {
	padding-top: clamp(34px, 5vw, 68px) !important;
	padding-bottom: clamp(64px, 8vw, 112px) !important;
}
body.tp-cart-page #main .fusion-row,
body.tp-cart-page #main #content { width: 100%; max-width: none; }
.tp-cart-heading,
body.tp-cart-page .wp-block-woocommerce-cart {
	width: min(100% - 48px, 1360px);
	margin-inline: auto;
}
.tp-cart-heading { margin-bottom: 30px; }
.tp-cart-heading__eyebrow {
	margin: 0 0 8px;
	color: var(--tpcart-orange);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.2;
	text-transform: uppercase;
}
.tp-cart-heading h1 {
	margin: 0;
	color: var(--tpcart-ink);
	font-size: clamp(32px, 4vw, 50px);
	font-weight: 750;
	letter-spacing: -.035em;
	line-height: 1.05;
}
.tp-cart-heading__copy {
	margin: 12px 0 0;
	color: var(--tpcart-copy);
	font-size: 16px;
	line-height: 1.55;
}
body.tp-cart-page .wc-block-cart {
	align-items: flex-start;
	gap: clamp(34px, 4vw, 64px);
	margin-bottom: 0;
	padding-top: 0;
}
body.tp-cart-page .wc-block-cart__main {
	box-sizing: border-box;
	min-width: 0;
	padding-right: 0;
}
body.tp-cart-page table.wc-block-cart-items { border-bottom-color: var(--tpcart-line); }
body.tp-cart-page table.wc-block-cart-items .wc-block-cart-items__header {
	color: var(--tpcart-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
}
body.tp-cart-page table.wc-block-cart-items .wc-block-cart-items__header th {
	padding-bottom: 15px;
	font-weight: inherit;
}
body.tp-cart-page table.wc-block-cart-items .wc-block-cart-items__header-image { width: 112px; }
body.tp-cart-page table.wc-block-cart-items .wc-block-cart-items__header-total { width: 120px; }
body.tp-cart-page table.wc-block-cart-items .wc-block-cart-items__row td {
	border-top-color: var(--tpcart-line);
	padding-block: 26px;
}
body.tp-cart-page table.wc-block-cart-items .wc-block-cart-item__image {
	width: 112px;
	padding-right: 22px;
}
body.tp-cart-page table.wc-block-cart-items .wc-block-cart-item__image a,
body.tp-cart-page table.wc-block-cart-items .wc-block-cart-item__image img {
	display: block;
	border-radius: 10px;
}
body.tp-cart-page table.wc-block-cart-items .wc-block-cart-item__image img {
	aspect-ratio: 1;
	object-fit: contain;
	background: var(--tpcart-soft);
}
body.tp-cart-page table.wc-block-cart-items .wc-block-cart-item__wrap {
	gap: 7px;
	padding-right: 20px;
}
body.tp-cart-page table.wc-block-cart-items .wc-block-components-product-name {
	color: var(--tpcart-ink);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.35;
	transition: color .16s ease;
}
body.tp-cart-page table.wc-block-cart-items .wc-block-components-product-name:hover { color: var(--tpcart-orange); }
body.tp-cart-page table.wc-block-cart-items .wc-block-cart-item__prices {
	color: var(--tpcart-copy);
	font-size: 14px;
}
body.tp-cart-page table.wc-block-cart-items .wc-block-components-product-metadata {
	max-width: 540px;
	margin: 0;
	color: var(--tpcart-muted);
	font-size: 13px;
	line-height: 1.5;
}
body.tp-cart-page table.wc-block-cart-items .wc-block-components-product-metadata p { margin: 0; }
body.tp-cart-page table.wc-block-cart-items .wc-block-cart-item__total {
	color: var(--tpcart-ink);
	font-size: 16px;
	font-weight: 700;
}
/* Compact 88 x 36 stepper; the WooCommerce default is 107px wide. */
body.tp-cart-page .wc-block-cart-item__quantity {
	gap: 10px;
	margin-top: 4px;
}
body.tp-cart-page .wc-block-cart-item__quantity .wc-block-components-quantity-selector {
	width: 88px;
	height: 36px;
	border: 1px solid #cfd2d0;
	border-radius: 8px;
	background: var(--tpcart-white);
	overflow: hidden;
}
body.tp-cart-page .wc-block-cart-item__quantity .wc-block-components-quantity-selector__button {
	min-width: 27px;
	min-height: 34px;
	padding: 0;
	color: var(--tpcart-copy);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}
body.tp-cart-page .wc-block-cart-item__quantity input.wc-block-components-quantity-selector__input {
	min-width: 32px;
	height: 34px;
	padding: 0;
	color: var(--tpcart-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 34px;
}
body.tp-cart-page .wc-block-cart-item__quantity .wc-block-components-quantity-selector__button:hover {
	background: var(--tpcart-soft);
	color: var(--tpcart-orange);
}
body.tp-cart-page .wc-block-cart-item__remove-link { color: var(--tpcart-muted); }
body.tp-cart-page .wc-block-cart-item__remove-link:hover { color: var(--tpcart-orange); }
/* Summary card keeps price decisions together instead of floating in space. */
body.tp-cart-page .wc-block-cart__sidebar {
	position: sticky;
	top: 108px;
	box-sizing: border-box;
	padding: 28px;
	border: 1px solid var(--tpcart-line);
	border-radius: 16px;
	background: var(--tpcart-soft);
	box-shadow: 0 14px 38px rgba(25, 28, 32, .06);
}
body.tp-cart-page .wc-block-cart__totals-title {
	padding: 0 0 18px;
	color: var(--tpcart-ink);
	font-size: 18px;
	font-weight: 750;
	letter-spacing: -.01em;
	text-transform: none;
}
body.tp-cart-page .wp-block-woocommerce-cart-order-summary-block {
	margin-bottom: 20px;
	border-bottom-color: var(--tpcart-line);
	font-size: 14px;
}
body.tp-cart-page .wc-block-components-totals-item { padding-block: 13px; }
body.tp-cart-page .wc-block-components-totals-footer-item {
	padding-top: 18px;
	color: var(--tpcart-ink);
}
body.tp-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.tp-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 20px;
	font-weight: 750;
}
body.tp-cart-page .wc-block-cart__submit-button {
	min-height: 54px;
	border: 1px solid var(--tpcart-orange);
	border-radius: 10px;
	background: var(--tpcart-orange);
	box-shadow: none;
	color: #fff;
	font-size: 15px;
	font-weight: 750;
	letter-spacing: .01em;
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
body.tp-cart-page .wc-block-cart__submit-button:hover {
	border-color: var(--tpcart-orange-dark);
	background: var(--tpcart-orange-dark);
	color: #fff;
	transform: translateY(-1px);
}
body.tp-cart-page .wc-block-cart__submit-button:focus-visible,
body.tp-cart-page .wc-block-cart-item__quantity button:focus-visible,
body.tp-cart-page .wc-block-cart-item__remove-link:focus-visible {
	outline: 2px solid var(--tpcart-orange);
	outline-offset: 2px;
}
body.tp-cart-page .wc-block-components-totals-coupon-link {
	color: var(--tpcart-ink);
	font-weight: 600;
}
body.tp-cart-page .wc-block-components-totals-coupon-link:hover { color: var(--tpcart-orange); }
body.tp-cart-page .wc-block-components-payment-method-icons { justify-content: center; }
@media (min-width: 1000px) {
	body.tp-cart-page .wc-block-cart__main { flex: 1 1 0; width: auto; }
	body.tp-cart-page .wc-block-cart__sidebar { flex: 0 0 clamp(340px, 32%, 410px); width: auto; }
}
@media (max-width: 999px) {
	body.tp-cart-page .wc-block-cart { flex-direction: column; }
	body.tp-cart-page .wc-block-cart__main,
	body.tp-cart-page .wc-block-cart__sidebar { width: 100%; }
	body.tp-cart-page .wc-block-cart__sidebar { flex: none; position: static; margin-top: 12px; }
}
@media (max-width: 700px) {
	.tp-cart-heading,
	body.tp-cart-page .wp-block-woocommerce-cart { width: min(100% - 32px, 1360px); }
	body.tp-cart-page #main { padding-top: 28px !important; }
	.tp-cart-heading { margin-bottom: 22px; }
	.tp-cart-heading__copy { font-size: 14px; }
	body.tp-cart-page table.wc-block-cart-items .wc-block-cart-items__row {
		column-gap: 14px;
		grid-template-columns: 92px minmax(0, 1fr);
		padding-block: 20px;
	}
	body.tp-cart-page table.wc-block-cart-items .wc-block-cart-item__image {
		width: auto;
		padding-right: 0;
	}
	body.tp-cart-page table.wc-block-cart-items .wc-block-cart-item__product { grid-column: 2 / 4; }
	body.tp-cart-page table.wc-block-cart-items .wc-block-cart-item__quantity {
		grid-column: 2 / 4;
		grid-row: 2;
		padding: 10px 0 0;
	}
	body.tp-cart-page table.wc-block-cart-items .wc-block-components-product-name { font-size: 15px; }
	body.tp-cart-page table.wc-block-cart-items .wc-block-components-product-metadata { display: none; }
	body.tp-cart-page .wc-block-cart__sidebar { padding: 22px 18px; border-radius: 12px; }
}
@media (max-width: 380px) {
	body.tp-cart-page table.wc-block-cart-items .wc-block-cart-items__row {
		grid-template-columns: 76px minmax(0, 1fr);
	}
}
