/* Nels Home — WooCommerce cart (/cart/) */

body.nh-cart-page {
	background: #eef2f7 !important;
}

body.nh-cart-page #page-container,
body.nh-cart-page #main-content,
body.nh-cart-page .content-area {
	background: #eef2f7 !important;
}

body.nh-cart-page #content-area {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}

body.nh-cart-page #main-content {
	width: 100% !important;
}

body.nh-cart-page #sidebar {
	display: none !important;
}

body.nh-cart-page .content-area {
	padding-top: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: 100% !important;
}

body.nh-cart-page #main-content .entry-title,
body.nh-cart-page .et_pb_title_container {
	display: none !important;
}

body.nh-cart-page .entry-content {
	font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #0f172a;
}

body.nh-cart-page .entry-content > .woocommerce,
body.nh-cart-page .entry-content > .wp-block-woocommerce-cart {
	max-width: min(100%, 1080px);
	margin: 0 auto;
	padding: 0 24px 80px;
}

body.nh-cart-page .container {
	width: min(100%, 1080px) !important;
	max-width: 1080px !important;
}

/* Page header */
.nh-cart-page-head {
	margin: 0 0 20px;
	padding: 28px 28px 24px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.nh-cart-page-head__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px 28px;
}

.nh-cart-page-head__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
}

.nh-cart-page-head__back {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 999px;
	background: #fff;
	color: #1b4fd8;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
}

.nh-cart-page-head__back:hover {
	background: #eef2ff;
	color: #1640b8;
}

.nh-cart-page-head__eyebrow {
	margin: 0 0 6px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #64748b;
}

.nh-cart-page-head__title {
	margin: 0 0 8px;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #0b2d5b;
}

.nh-cart-page-head__sub {
	margin: 0;
	max-width: 46ch;
	font-size: 1rem;
	line-height: 1.55;
	color: #64748b;
}

.nh-cart-page-head__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nh-cart-page-head__trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 999px;
	background: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #0b2d5b;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.nh-cart-page-head__trust li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	flex-shrink: 0;
}

/* Notices */
body.nh-cart-page .woocommerce-notices-wrapper,
body.nh-cart-page .wc-block-components-notices {
	margin-bottom: 18px;
}

body.nh-cart-page .woocommerce-message,
body.nh-cart-page .woocommerce-info,
body.nh-cart-page .woocommerce-error,
body.nh-cart-page .wc-block-components-notice-banner {
	margin: 0 0 12px !important;
	padding: 14px 18px !important;
	border: 1px solid rgba(15, 23, 42, 0.08) !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: #0b2d5b !important;
	font-size: 0.9375rem !important;
	font-weight: 600 !important;
	line-height: 1.45 !important;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04) !important;
}

/* Block cart layout */
body.nh-cart-page .wp-block-woocommerce-cart.alignwide {
	width: 100%;
	max-width: 100%;
}

body.nh-cart-page .wc-block-components-sidebar-layout.wc-block-cart {
	display: flex;
	flex-wrap: nowrap;
	gap: 24px;
	align-items: flex-start;
	margin-top: 6px;
}

body.nh-cart-page .wc-block-cart__main {
	flex: 1 1 auto;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	padding: 22px 24px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

body.nh-cart-page .wc-block-cart__sidebar {
	flex: 0 0 340px;
	width: 340px !important;
	max-width: 340px !important;
	min-width: 300px;
	padding: 22px 24px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
	position: sticky;
	top: 24px;
	align-self: flex-start;
}

body.nh-cart-page .wc-block-cart__sidebar > * {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
}

body.nh-cart-page .wc-block-cart__totals-title,
body.nh-cart-page .wp-block-woocommerce-cart-order-summary-heading-block {
	margin: 0 0 16px;
	padding: 0 0 14px;
	border-bottom: 1px solid #eef2f7;
	font-size: 1.0625rem;
	font-weight: 800;
	color: #0b2d5b;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: 0;
}

body.nh-cart-page .wc-block-cart-items {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

body.nh-cart-page .wc-block-cart-items__header th {
	padding: 0 0 12px;
	border-bottom: 1px solid #eef2f7;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b;
}

body.nh-cart-page .wc-block-cart-items__header th span {
	color: inherit;
}

body.nh-cart-page .wc-block-cart-items__row td {
	padding: 18px 0;
	border-bottom: 1px solid #eef2f7;
	vertical-align: middle;
}

body.nh-cart-page .wc-block-cart-items__row:last-child td {
	border-bottom: 0;
	padding-bottom: 0;
}

body.nh-cart-page .wc-block-cart-item__image img {
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: #f8fafc;
}

body.nh-cart-page .wc-block-components-product-name {
	font-size: 1rem;
	font-weight: 700;
	color: #0b2d5b;
	text-decoration: none;
}

body.nh-cart-page .wc-block-components-product-name:hover {
	color: #1b4fd8;
}

body.nh-cart-page .wc-block-cart-item__prices,
body.nh-cart-page .wc-block-components-product-price {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #64748b;
}

body.nh-cart-page .wc-block-components-product-metadata {
	font-size: 0.875rem;
	line-height: 1.45;
	color: #64748b;
}

body.nh-cart-page .wc-block-components-quantity-selector {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

body.nh-cart-page .wc-block-components-quantity-selector__input,
body.nh-cart-page .wc-block-components-quantity-selector__button {
	min-height: 40px;
	border: 0 !important;
	background: transparent !important;
	color: #0b2d5b !important;
	font-weight: 700;
}

body.nh-cart-page .wc-block-components-quantity-selector__button:hover {
	background: #f8fafc !important;
}

body.nh-cart-page .wc-block-cart-item__total .wc-block-formatted-money-amount {
	font-size: 1rem;
	font-weight: 800;
	color: #0b2d5b;
}

body.nh-cart-page .wc-block-cart-item__remove-link,
body.nh-cart-page .wc-block-components-product-details__remove-button {
	color: #64748b !important;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
}

body.nh-cart-page .wc-block-cart-item__remove-link:hover,
body.nh-cart-page .wc-block-components-product-details__remove-button:hover {
	color: #dc2626 !important;
}

body.nh-cart-page .wc-block-components-totals-wrapper,
body.nh-cart-page .wc-block-components-totals-item {
	padding: 10px 0;
	border-bottom: 1px solid #eef2f7;
}

body.nh-cart-page .wc-block-components-totals-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

body.nh-cart-page .wc-block-components-totals-item__label {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #64748b;
}

body.nh-cart-page .wc-block-components-totals-item__value,
body.nh-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 1rem;
	font-weight: 800;
	color: #0b2d5b;
}

body.nh-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-size: 1rem;
	font-weight: 800;
	color: #0b2d5b;
}

body.nh-cart-page .wc-block-components-totals-coupon__button,
body.nh-cart-page .wc-block-components-panel__button {
	color: #1b4fd8 !important;
	font-weight: 700;
}

body.nh-cart-page .wc-block-components-totals-coupon__content input[type="text"] {
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	font-family: inherit;
	font-size: 0.9375rem;
}

body.nh-cart-page .wc-block-components-totals-coupon__content button {
	border-radius: 999px !important;
	background: #1b4fd8 !important;
	color: #fff !important;
	font-weight: 700 !important;
}

body.nh-cart-page .wc-block-cart__submit-container {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #eef2f7;
}

body.nh-cart-page .wc-block-cart__submit-button,
body.nh-cart-page .wc-block-components-button.wc-block-cart__submit-button {
	display: block;
	width: 100% !important;
	min-height: 48px;
	padding: 14px 20px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #1b4fd8 !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	white-space: nowrap;
	box-shadow: 0 4px 14px rgba(27, 79, 216, 0.24);
	transition: background 0.15s ease, transform 0.15s ease;
}

body.nh-cart-page .wc-block-cart__submit-button:hover,
body.nh-cart-page .wc-block-components-button.wc-block-cart__submit-button:hover {
	background: #1640b8 !important;
	color: #fff !important;
	transform: translateY(-1px);
}

body.nh-cart-page .wc-block-cart__empty-cart,
body.nh-cart-page .wc-block-components-empty-cart__title {
	color: #0b2d5b;
	font-weight: 800;
}

body.nh-cart-page .wc-block-components-empty-cart__description {
	color: #64748b;
}

body.nh-cart-page .wc-block-components-empty-cart__button {
	border-radius: 999px !important;
	background: #1b4fd8 !important;
	color: #fff !important;
	font-weight: 700 !important;
}

/* Classic cart fallback */
body.nh-cart-page form.woocommerce-cart-form {
	padding: 22px 24px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

body.nh-cart-page .woocommerce-cart-form__contents {
	border-collapse: separate;
	border-spacing: 0;
}

body.nh-cart-page .woocommerce-cart-form__contents thead th {
	padding: 0 0 12px;
	border-bottom: 1px solid #eef2f7;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b;
	background: transparent;
}

body.nh-cart-page .woocommerce-cart-form__contents td {
	padding: 18px 12px;
	border-bottom: 1px solid #eef2f7;
	vertical-align: middle;
}

body.nh-cart-page .woocommerce-cart-form__contents .product-name a {
	font-weight: 700;
	color: #0b2d5b;
	text-decoration: none;
}

body.nh-cart-page .woocommerce-cart-form__contents .product-quantity input {
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}

body.nh-cart-page .cart-collaterals {
	margin-top: 24px;
}

body.nh-cart-page .cart_totals {
	padding: 22px 24px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

body.nh-cart-page .cart_totals > h2 {
	margin: 0 0 16px;
	padding: 0 0 14px;
	border-bottom: 1px solid #eef2f7;
	font-size: 1.0625rem;
	font-weight: 800;
	color: #0b2d5b;
}

body.nh-cart-page .cart_totals .shop_table {
	border: 0;
}

body.nh-cart-page .cart_totals .shop_table th,
body.nh-cart-page .cart_totals .shop_table td {
	padding: 10px 0;
	border-bottom: 1px solid #eef2f7;
	font-size: 0.9375rem;
}

body.nh-cart-page .cart_totals .order-total th,
body.nh-cart-page .cart_totals .order-total td {
	border-bottom: 0;
	font-size: 1rem;
	font-weight: 800;
	color: #0b2d5b;
}

body.nh-cart-page .wc-proceed-to-checkout a.checkout-button,
body.nh-cart-page .woocommerce-cart .button {
	border-radius: 999px !important;
	background: #1b4fd8 !important;
	color: #fff !important;
	font-weight: 700 !important;
}

body.nh-cart-page .actions .coupon input {
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}

@media (max-width: 960px) {
	.nh-cart-page-head__inner {
		flex-direction: column;
	}

	.nh-cart-page-head__aside {
		align-items: flex-start;
		width: 100%;
	}

	body.nh-cart-page .wc-block-components-sidebar-layout.wc-block-cart {
		flex-direction: column;
	}

	body.nh-cart-page .wc-block-cart__sidebar {
		position: static;
		flex: 1 1 auto;
		width: 100% !important;
		max-width: none !important;
		min-width: 0;
	}
}

@media (max-width: 640px) {
	.nh-cart-page-head {
		padding: 24px 16px;
	}

	body.nh-cart-page .entry-content > .woocommerce,
	body.nh-cart-page .entry-content > .wp-block-woocommerce-cart {
		padding: 0 16px 56px;
	}

	body.nh-cart-page .wc-block-cart__main,
	body.nh-cart-page .wc-block-cart__sidebar,
	body.nh-cart-page form.woocommerce-cart-form,
	body.nh-cart-page .cart_totals {
		padding: 18px 16px;
	}

	body.nh-cart-page .wc-block-cart-items__header {
		display: none;
	}

	body.nh-cart-page .wc-block-cart-items__row {
		display: grid;
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 12px;
	}

	body.nh-cart-page .wc-block-cart-item__image {
		grid-row: span 2;
	}

	body.nh-cart-page .wc-block-cart-item__total {
		grid-column: 2;
	}
}
