/* Cart page — HRR shell (Replit match; WC qty kept) */

.hrr-shell .hrr-cart-hero.hrr-compact-page-hero,
.hrr-shell .hrr-compact-page-hero {
	padding: 75px 0 55px;
}

.hrr-shell .hrr-cart-section,
.hrr-shell .hrr-cart-wrap {
	width: min(1240px, calc(100% - 64px));
	max-width: none;
	margin: 0 auto;
	padding: 78px 0 96px;
}

.hrr-shell .hrr-cart-layout {
	display: grid;
	grid-template-columns: 1.35fr 0.65fr;
	gap: 80px;
	align-items: start;
}

.hrr-shell .hrr-cart-items {
	display: grid;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.hrr-shell .hrr-cart-item {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 26px;
	align-items: start;
	padding: 0 0 28px;
	border-bottom: 1px solid hsl(var(--border));
	background: transparent;
}

.hrr-shell .hrr-cart-item-thumb {
	width: 180px;
	height: 225px;
	overflow: hidden;
	background: #e9ddd0;
}

.hrr-shell .hrr-cart-item-thumb a,
.hrr-shell .hrr-cart-item-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hrr-shell .hrr-cart-item-copy {
	min-width: 0;
}

.hrr-shell .hrr-cart-item-eyebrow {
	display: block;
	font: 500 10px/1.2 var(--hrr-font-mono, "DM Mono", monospace);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: hsl(var(--primary));
}

.hrr-shell .hrr-cart-item-name {
	margin: 13px 0 10px !important;
	font: 500 30px/1.05 var(--hrr-font-serif, "Playfair Display", serif) !important;
	letter-spacing: -0.02em;
	color: #351c26 !important;
}

.hrr-shell .hrr-cart-item-name a {
	color: inherit !important;
	text-decoration: none !important;
}

.hrr-shell .hrr-cart-item-desc,
.hrr-shell .hrr-cart-item-copy .variation {
	margin: 0 0 10px;
	max-width: 360px;
	color: hsl(var(--muted-foreground));
	font: 14px/1.7 var(--hrr-font-serif, "Playfair Display", serif);
}

.hrr-shell .hrr-cart-item-price {
	display: block;
	margin: 0 0 14px;
	font: 500 12px/1.3 var(--hrr-font-mono, "DM Mono", monospace) !important;
	letter-spacing: 0.04em;
	color: #351c26;
}

.hrr-shell .hrr-cart-item-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	margin-bottom: 8px;
}

.hrr-shell .hrr-cart-item-qty .quantity {
	display: inline-flex;
	border: 1px solid #e8dccf;
	background: #fff;
	min-height: 42px;
}

.hrr-shell .hrr-cart-item-qty .qty {
	width: 52px;
	border: 0;
	text-align: center;
	font: 500 14px/1 var(--hrr-font-sans, "DM Sans", sans-serif);
	background: transparent;
	-moz-appearance: textfield;
}

.hrr-shell .hrr-cart-item-qty .qty::-webkit-outer-spin-button,
.hrr-shell .hrr-cart-item-qty .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.hrr-shell .hrr-cart-item-subtotal {
	font: 500 12px/1.3 var(--hrr-font-mono, "DM Mono", monospace) !important;
	color: #6b5560;
}

.hrr-shell .hrr-cart-remove,
.hrr-shell .hrr-cart-item .remove-link {
	display: inline-block;
	margin-top: 20px;
	padding: 0 0 4px;
	border: 0;
	border-bottom: 1px solid hsl(var(--primary) / 0.5);
	background: transparent;
	font: 10px/normal var(--hrr-font-mono, "DM Mono", monospace) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: hsl(var(--primary)) !important;
	text-decoration: none !important;
	line-height: 1.2;
}

.hrr-shell .hrr-cart-remove:hover,
.hrr-shell .hrr-cart-item .remove-link:hover {
	opacity: 0.75;
}

.hrr-shell .hrr-cart-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0 0;
	border: 0;
}

.hrr-shell .hrr-cart-coupon {
	display: flex;
	gap: 8px;
	flex: 1 1 auto;
}

.hrr-shell .hrr-cart-coupon input {
	flex: 1;
	min-height: 46px;
	border: 1px solid #e8dccf;
	background: #fff;
	padding: 0 14px;
	font: 400 12px/1 var(--hrr-font-sans, "DM Sans", sans-serif);
	letter-spacing: normal;
	text-transform: none;
	color: #351c26;
}

.hrr-shell .hrr-cart-coupon .hrr-button-ghost,
.hrr-shell .hrr-cart-update {
	border-color: hsl(var(--primary) / 0.45) !important;
	color: hsl(var(--primary)) !important;
	background: transparent !important;
	white-space: nowrap;
	transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hrr-shell .hrr-cart-coupon .hrr-button-ghost:hover,
.hrr-shell .hrr-cart-update:hover {
	background: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	transform: translateY(-3px);
}

/* Aside totals */
.hrr-shell .hrr-cart-aside {
	position: sticky;
	top: 25px;
}

.hrr-shell .hrr-cart-totals {
	background: hsl(var(--secondary));
	padding: 30px;
}

.hrr-shell .hrr-cart-totals .hrr-section-kicker {
	display: block;
	margin: 0;
}

.hrr-shell .hrr-cart-totals-title {
	margin: 15px 0 30px !important;
	font: 500 37px/1.05 var(--hrr-font-serif, "Playfair Display", serif) !important;
	letter-spacing: -0.02em;
	color: #351c26 !important;
}

.hrr-shell .hrr-cart-totals-title i,
.hrr-shell .hrr-cart-totals-title em {
	font-family: "Playfair Display", serif !important;
	font-style: italic !important;
	font-weight: 500 !important;
}

.hrr-shell .hrr-cart-totals-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 13px 0;
	border-top: 1px solid hsl(var(--primary) / 0.18);
	border-bottom: 0;
	font: 11px/1.4 var(--hrr-font-mono, "DM Mono", monospace) !important;
	letter-spacing: 0.04em;
	text-transform: none;
	color: #351c26;
}

.hrr-shell .hrr-cart-totals-row strong {
	font-weight: 500;
}

.hrr-shell .hrr-cart-totals-row.order-total,
.hrr-shell .hrr-cart-totals-row.summary-total {
	margin-top: 8px;
	font-size: 14px !important;
}

.hrr-shell .hrr-cart-checkout {
	margin-top: 22px;
}

.hrr-shell .hrr-cart-checkout .checkout-button,
.hrr-shell .hrr-cart-checkout a.checkout-button,
.hrr-shell .hrr-cart-checkout .wc-forward,
.hrr-shell .hrr-cart-checkout .anarkali-checkout-button,
.hrr-shell .hrr-cart-checkout .hrr-button-primary {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 46px !important;
	margin-top: 0 !important;
	padding: 0 22px !important;
	border: 1px solid #f0b099 !important;
	background: #f0b099 !important;
	color: #4b182e !important;
	font: 500 10px/1 var(--hrr-font-mono, "DM Mono", monospace) !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hrr-shell .hrr-cart-checkout .checkout-button:hover,
.hrr-shell .hrr-cart-checkout a.checkout-button:hover,
.hrr-shell .hrr-cart-checkout .wc-forward:hover,
.hrr-shell .hrr-cart-checkout .anarkali-checkout-button:hover,
.hrr-shell .hrr-cart-checkout .hrr-button-primary:hover {
	background: #f7c9b7 !important;
	transform: translateY(-3px);
}

.hrr-shell .hrr-cart-summary-note {
	margin: 18px 0 0;
	color: hsl(var(--muted-foreground));
	font: 12px/1.6 var(--hrr-font-serif, "Playfair Display", serif);
}

.hrr-shell .hrr-cart-summary-note a {
	color: hsl(var(--primary));
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Empty */
.hrr-shell .hrr-cart-empty {
	min-height: 390px;
	max-width: none;
	margin: 0;
	padding: 48px 24px;
	display: grid;
	place-items: center;
	align-content: center;
	text-align: center;
	gap: 8px;
}

.hrr-shell .hrr-cart-empty .hrr-empty-icon {
	color: hsl(var(--primary));
	margin-bottom: 4px;
}

.hrr-shell .hrr-cart-empty-title {
	margin: 10px 0 0 !important;
	font: 500 36px/1.15 var(--hrr-font-serif, "Playfair Display", serif) !important;
	color: #351c26 !important;
}

.hrr-shell .hrr-cart-empty-sub {
	margin: 0 0 17px;
	font: 400 14px/1.5 var(--hrr-font-serif, "Playfair Display", serif) !important;
	letter-spacing: normal;
	text-transform: none;
	color: hsl(var(--muted-foreground));
}

.hrr-shell .hrr-cart-empty .hrr-button-primary {
	margin-top: 15px;
}

.hrr-shell .hrr-cart-empty .cart-empty,
.hrr-shell .hrr-cart-empty .woocommerce-info,
.hrr-shell .hrr-cart-empty .return-to-shop,
.hrr-shell .hrr-cart-empty .wc-empty-cart-message {
	display: none !important;
}

/* Hide theme cart chrome leftovers inside wrap */
.hrr-shell .hrr-cart-wrap .anarkali-page-hero,
.hrr-shell .hrr-cart-wrap .nt-hero-title,
.hrr-shell .hrr-cart-wrap .anarkali-breadcrumbs {
	display: none !important;
}

@media (max-width: 899px) {
	.hrr-shell .hrr-cart-section,
	.hrr-shell .hrr-cart-wrap {
		width: min(1240px, calc(100% - 40px));
		padding-top: 45px;
	}

	.hrr-shell .hrr-cart-layout {
		grid-template-columns: 1fr;
		gap: 45px;
	}

	.hrr-shell .hrr-cart-item {
		grid-template-columns: 110px 1fr;
		gap: 16px;
	}

	.hrr-shell .hrr-cart-item-thumb {
		width: 110px;
		height: 145px;
	}

	.hrr-shell .hrr-cart-item-name {
		font-size: 23px !important;
	}

	.hrr-shell .hrr-cart-item-desc {
		font-size: 12px;
	}

	.hrr-shell .hrr-cart-aside {
		position: static;
	}

	.hrr-shell .hrr-cart-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hrr-shell .hrr-cart-totals-title {
		font-size: 30px !important;
	}
}
