/* ═══════════════════════════════════════
   Cart Page — matches React CartPage.tsx
   ═══════════════════════════════════════ */

/* Page header gradient */
.breezan-page-header {
	background: linear-gradient(to left, #fdf2f0, #fef9f7);
	padding: 2.5rem 0;
	text-align: center;
}
.breezan-page-header__title {
	font-size: 1.75rem;
	color: var(--breezan-text);
}
@media (min-width: 768px) {
	.breezan-page-header__title { font-size: 2.25rem; }
}

/* Empty cart */
.breezan-cart-empty {
	text-align: center;
	padding: 5rem 1rem;
}
.breezan-cart-empty svg { margin: 0 auto 1.5rem; display: block; }
.breezan-cart-empty h2 { font-size: 1.25rem; color: var(--breezan-text); margin-bottom: 0.75rem; }
.breezan-cart-empty p { font-size: 0.875rem; color: var(--breezan-text-muted); margin-bottom: 1.5rem; }
.breezan-cart-empty .breezan-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 2rem;
	font-size: 0.9375rem;
	border-radius: 0.5rem;
	line-height: 1;
}
.breezan-cart-empty .breezan-btn svg {
	flex-shrink: 0;
	position: relative;
	top: 1px;
}

/* Cart grid */
.breezan-cart-wrap { padding-block: 2rem 4rem; }
.breezan-cart-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
@media (min-width: 1024px) {
	.breezan-cart-grid { grid-template-columns: 1fr 340px; }
}

/* Table header (desktop) */
.breezan-cart-table-head {
	display: none;
	grid-template-columns: 5fr 2fr 3fr 2fr;
	gap: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #f3f4f6;
}
.breezan-cart-th { font-size: 0.75rem; color: #9ca3af; }
.breezan-cart-th--price,
.breezan-cart-th--qty,
.breezan-cart-th--total { text-align: center; }
@media (min-width: 768px) {
	.breezan-cart-table-head { display: grid; }
}

/* Cart row */
.breezan-cart-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	padding: 1rem 0;
	border-bottom: 1px solid #f9fafb;
	align-items: center;
}
@media (min-width: 768px) {
	.breezan-cart-row {
		grid-template-columns: 5fr 2fr 3fr 2fr;
		gap: 1rem;
	}
}

/* Product cell */
.breezan-cart-row__product {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.breezan-cart-row__img {
	width: 5rem;
	height: 5rem;
	background: #f9f9f9;
	border-radius: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.breezan-cart-row__img img {
	width: 3.5rem;
	height: 3.5rem;
	object-fit: contain;
}
.breezan-cart-row__name {
	font-size: 0.875rem;
	color: var(--breezan-text);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.2s;
}
.breezan-cart-row__name:hover { color: var(--breezan-primary); }
.breezan-cart-row__cat {
	display: block;
	font-size: 0.75rem;
	color: #9ca3af;
	margin-top: 0.25rem;
}

/* Price cell */
.breezan-cart-row__price {
	font-size: 0.875rem;
	color: #4b5563;
	text-align: center;
}

/* Quantity cell */
.breezan-cart-row__qty {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}
.breezan-qty {
	display: flex;
	align-items: center;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	overflow: hidden;
}
.breezan-qty__btn {
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: #6b7280;
	cursor: pointer;
	transition: background 0.15s;
	padding: 0;
}
.breezan-qty__btn:hover { background: #f9fafb; }
.breezan-qty__val {
	width: 2.5rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.875rem;
}
.breezan-cart-row__remove {
	background: none;
	border: none;
	color: #d1d5db;
	cursor: pointer;
	padding: 0.25rem;
	transition: color 0.2s;
}
.breezan-cart-row__remove:hover { color: #f87171; }

/* Total cell */
.breezan-cart-row__total {
	font-size: 0.875rem;
	color: var(--breezan-primary);
	text-align: center;
}

/* Continue shopping */
.breezan-cart-continue { margin-top: 2rem; }
.breezan-cart-continue__link {
	font-size: 0.875rem;
	color: #6b7280;
	text-decoration: none;
	transition: color 0.2s;
}
.breezan-cart-continue__link:hover { color: var(--breezan-primary); }

/* Order Summary */
.breezan-order-summary {
	background: #fefbf8;
	border-radius: 1rem;
	padding: 1.5rem;
}
.breezan-order-summary__title {
	font-size: 1rem;
	color: var(--breezan-text);
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #f3f4f6;
}
.breezan-order-summary__rows { margin-bottom: 1.5rem; }
.breezan-order-summary__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.875rem;
	padding: 0.375rem 0;
}
.breezan-order-summary__row span:first-child { color: #6b7280; }
.breezan-order-summary__row span:last-child { color: var(--breezan-text); }
.breezan-order-summary__free { color: #22c55e !important; }
.breezan-order-summary__total-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid #e5e7eb;
	padding-top: 1rem;
	margin-bottom: 1.5rem;
}
.breezan-order-summary__total-row > span:first-child { color: var(--breezan-text); font-weight: 600; }
.breezan-order-summary__total-price {
	font-size: 1.25rem;
	color: var(--breezan-primary);
	font-weight: 700;
}
.breezan-order-summary .breezan-btn--block {
	width: 100%;
	text-align: center;
	justify-content: center;
	padding: 0.875rem;
	margin-bottom: 0.75rem;
}
.breezan-order-summary__note {
	font-size: 0.625rem;
	color: #9ca3af;
	text-align: center;
	line-height: 1.6;
}

/* Benefits */
.breezan-cart-benefits { margin-top: 1.5rem; }
.breezan-cart-benefit {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.75rem;
	color: #6b7280;
	padding: 0.5rem 0;
}
.breezan-cart-benefit svg { flex-shrink: 0; }

/* Loading overlay on cart row */
.breezan-cart-row.is-loading { opacity: 0.4; pointer-events: none; }
