/* FURi cart composition — isolated so WooCommerce actions and shared UI stay untouched. */
body.furi-commerce-flow.woocommerce-cart .furi-cart-redesign {
	width: min(1180px, calc(100vw - 28px)) !important;
	padding-top: 98px;
}

body.furi-commerce-flow.woocommerce-cart .furi-cart-redesign::before {
	content: none !important;
	display: none !important;
}

body.furi-commerce-flow.woocommerce-cart .furi-woo-shell {
	padding-top: 76px !important;
}

body.furi-commerce-flow.woocommerce-cart .woocommerce:has(.cart-empty) {
	display: block !important;
	width: min(760px, calc(100vw - 28px)) !important;
	max-width: min(760px, calc(100vw - 28px)) !important;
	min-height: 0 !important;
	margin-inline: auto !important;
	padding: 14px !important;
	border: 1px solid rgba(255, 224, 126, .24);
	border-radius: 16px;
	background: rgba(8, 8, 7, .82);
}

@media (min-width: 901px) {
	body.furi-commerce-flow.woocommerce-cart .woocommerce:has(.cart-empty) {
		margin-top: 76px !important;
	}
}

body.furi-commerce-flow.woocommerce-cart .cart-empty {
	margin: 0 !important;
	padding: 17px 18px !important;
	border-radius: 12px !important;
	color: #eee5cf !important;
	font-size: .9rem;
	line-height: 1.35;
}

body.furi-commerce-flow.woocommerce-cart .cart-empty::before {
	top: 50% !important;
	color: #e4b82d !important;
	transform: translateY(-50%);
}

body.furi-commerce-flow.woocommerce-cart .return-to-shop {
	margin: 10px 0 0 !important;
}

body.furi-commerce-flow.woocommerce-cart .return-to-shop .button {
	width: auto !important;
	min-width: 0 !important;
	min-height: 38px !important;
	padding: 7px 16px !important;
	border-radius: 10px !important;
	border-color: rgba(255, 229, 143, .82) !important;
	background: linear-gradient(180deg, #fff0a6 0%, #f2b900 48%, #b87900 100%) !important;
	color: #080704 !important;
	font-size: 10px !important;
	line-height: 1.1 !important;
	box-shadow: 0 7px 18px rgba(242, 185, 0, .22), inset 0 1px 0 rgba(255, 255, 230, .7) !important;
}

body.furi-commerce-flow.woocommerce-cart .furi-cart-layout {
	grid-template-columns: minmax(0, 1fr) minmax(280px, 320px) !important;
	gap: 20px !important;
	padding: 14px !important;
}

body.furi-commerce-flow.woocommerce-cart .furi-cart-panel {
	padding: 18px !important;
	border-radius: 22px !important;
}

body.furi-commerce-flow.woocommerce-cart .furi-cart-panel-head {
	gap: 10px;
	margin-bottom: 12px;
	padding-bottom: 11px;
}

body.furi-commerce-flow.woocommerce-cart .furi-cart-panel-head h2 {
	font-size: clamp(1.05rem, 1.7vw, 1.4rem) !important;
	line-height: 1 !important;
}

body.furi-commerce-flow.woocommerce-cart table.shop_table th,
body.furi-commerce-flow.woocommerce-cart table.shop_table td {
	padding: 10px 11px !important;
}

body.furi-commerce-flow.woocommerce-cart .button,
body.furi-commerce-flow.woocommerce-cart button,
body.furi-commerce-flow.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	min-height: 40px !important;
	border-radius: 20px !important;
	padding: 7px 14px !important;
	box-shadow: 0 10px 26px rgba(255, 184, 0, 0.14) !important;
}

body.furi-commerce-flow.woocommerce-cart .coupon button[name="apply_coupon"],
body.furi-commerce-flow.woocommerce-cart button[name="update_cart"] {
	border-radius: 10px !important;
}

body.furi-commerce-flow.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	min-height: 46px !important;
}

body.furi-commerce-flow.woocommerce-cart .furi-cart-recommendations .furi-section-head h2 {
	font-size: clamp(1.8rem, 3.2vw, 3.15rem) !important;
	line-height: .96 !important;
	overflow-wrap: anywhere !important;
}

@media (max-width: 900px) {
	body.furi-commerce-flow.woocommerce-cart .woocommerce {
		width: min(calc(100vw - 20px), 620px) !important;
		max-width: min(calc(100vw - 20px), 620px) !important;
		margin-inline: auto !important;
		padding: 0 !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-redesign {
		width: min(calc(100vw - 20px), 620px) !important;
		max-width: min(calc(100vw - 20px), 620px) !important;
		padding: 88px 0 calc(110px + env(safe-area-inset-bottom)) !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-woo-shell {
		padding-top: 54px !important;
	}

	body.furi-commerce-flow.woocommerce-cart .woocommerce:has(.cart-empty) {
		width: min(calc(100vw - 24px), 620px) !important;
		max-width: min(calc(100vw - 24px), 620px) !important;
		padding: 9px !important;
		border-radius: 14px;
	}

	body.furi-commerce-flow.woocommerce-cart .cart-empty {
		padding: 14px 15px 14px 38px !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-heading {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 7px !important;
		margin-bottom: 12px !important;
		padding-inline: 3px;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-heading h1 {
		font-size: clamp(1.65rem, 9vw, 2.2rem) !important;
		line-height: .94 !important;
		overflow-wrap: anywhere !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-heading > p {
		margin: 0 !important;
		font-size: .84rem;
		line-height: 1.38;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-layout {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 10px !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-top: 0 !important;
		padding: 8px !important;
		border-radius: 22px !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-panel {
		width: 100% !important;
		padding: 11px !important;
		border-radius: 18px !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-panel-head h2 {
		font-size: 1.05rem !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-panel-head .furi-kicker {
		font-size: 9px;
	}

	body.furi-commerce-flow.woocommerce-cart table.shop_table tr.cart_item {
		margin-bottom: 8px;
		border: 1px solid rgba(255, 232, 154, .2);
		border-radius: 14px;
		overflow: hidden;
	}

	body.furi-commerce-flow.woocommerce-cart table.shop_table th,
	body.furi-commerce-flow.woocommerce-cart table.shop_table td {
		padding: 8px 9px !important;
		font-size: .8rem !important;
		line-height: 1.25 !important;
	}

	body.furi-commerce-flow.woocommerce-cart table.shop_table td::before {
		font-size: 9px !important;
		letter-spacing: .04em;
	}

	body.furi-commerce-flow.woocommerce-cart .product-name a {
		display: inline-block;
		max-width: 68%;
		font-size: .8rem;
		line-height: 1.2;
		overflow-wrap: anywhere;
	}

	body.furi-commerce-flow.woocommerce-cart .quantity .qty {
		width: 54px !important;
		min-height: 38px !important;
		padding: 5px !important;
	}

	body.furi-commerce-flow.woocommerce-cart .actions {
		padding-top: 9px !important;
	}

	body.furi-commerce-flow.woocommerce-cart .coupon {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 6px !important;
		width: 100%;
		margin: 0 0 6px !important;
	}

	body.furi-commerce-flow.woocommerce-cart .coupon :is(input, button),
	body.furi-commerce-flow.woocommerce-cart button[name="update_cart"] {
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		min-height: 40px !important;
		font-size: 10px !important;
		line-height: 1.15 !important;
		white-space: normal !important;
	}

	body.furi-commerce-flow.woocommerce-cart button[name="update_cart"] {
		width: 100%;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-summary,
	body.furi-commerce-flow.woocommerce-cart .cart_totals {
		max-width: 100% !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-summary h2,
	body.furi-commerce-flow.woocommerce-cart .cart_totals h2 {
		font-size: 1.3rem !important;
		margin-bottom: 10px !important;
	}

	body.furi-commerce-flow.woocommerce-cart .wc-proceed-to-checkout {
		padding-bottom: 0;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-recommendations {
		margin-top: 28px;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-recommendations .furi-section-head {
		margin-bottom: 12px;
		padding-inline: 7px;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-recommendations .furi-section-head h2 {
		max-width: 100%;
		font-size: clamp(1.35rem, 7vw, 1.85rem) !important;
		line-height: .96 !important;
		overflow-wrap: anywhere !important;
		word-break: normal !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-product-recs {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-product-recs .furi-video-card {
		min-width: 0;
		min-height: 0;
		border-radius: 14px;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-product-recs .furi-video-frame {
		min-height: 0 !important;
		aspect-ratio: 16 / 9 !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-product-recs .furi-video-body {
		gap: 6px !important;
		padding: 9px !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-product-recs .furi-video-body strong {
		display: -webkit-box;
		font-size: clamp(.7rem, 3.35vw, .86rem) !important;
		line-height: .98 !important;
		overflow: hidden;
		overflow-wrap: anywhere;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 4;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-product-recs .furi-video-body p {
		display: none;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-product-recs .furi-video-body :is(em, .furi-video-card__price) {
		font-size: 9px !important;
	}
}

@media (max-width: 520px) {
	body.furi-commerce-flow.woocommerce-cart .woocommerce,
	body.furi-commerce-flow.woocommerce-cart .furi-cart-redesign {
		width: calc(100vw - 58px) !important;
		max-width: calc(100vw - 58px) !important;
		margin-left: 10px !important;
		margin-right: auto !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-heading h1 {
		font-size: 1.35rem !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-cart-recommendations .furi-section-head h2 {
		font-size: 1.15rem !important;
		line-height: 1 !important;
	}
}

@media (max-width: 340px) {
	body.furi-commerce-flow.woocommerce-cart .furi-cart-redesign {
		width: calc(100vw - 54px) !important;
		max-width: calc(100vw - 54px) !important;
	}

	body.furi-commerce-flow.woocommerce-cart .furi-product-recs .furi-video-body {
		padding: 7px !important;
	}
}
