/*
 * Zoolitz cart page — v1.3.3
 *
 * A playful empty state and a disciplined, high-intent filled state. All
 * decorative artwork uses fixed classes and clipped containers; nothing is
 * randomly positioned or moved by JavaScript.
 */

body.woocommerce-cart {
	overflow-x: hidden;
}

.zlz-cart-page {
	padding: 50px 0 76px;
	background:
		radial-gradient(circle at 92% 8%, rgba(185, 211, 85, 0.11), transparent 23%),
		linear-gradient(180deg, #fff 0%, #fff 68%, #fffaf5 100%);
}

.zlz-cart-page .woocommerce-notices-wrapper,
.zlz-cart-page > .zlz-container > .woocommerce-message,
.zlz-cart-page > .zlz-container > .woocommerce-error,
.zlz-cart-page > .zlz-container > .woocommerce-info {
	margin-bottom: 22px;
}

.zlz-cart-page__header {
	margin-bottom: 26px;
}

.zlz-cart-page__eyebrow,
.zlz-cart-empty__eyebrow,
.zlz-cart-recommendations__eyebrow,
.zlz-cart-item__type {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--zlz-primary);
}

.zlz-cart-page__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 5px;
}

.zlz-cart-page__title-row h1 {
	font-size: clamp(34px, 4.2vw, 54px);
	line-height: 1;
	color: var(--zlz-text);
}

.zlz-cart-page__count {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 7px 13px;
	border-radius: 999px;
	background: #f2ebff;
	color: var(--zlz-primary-dark);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- Empty cart ---------- */

.zlz-cart-empty {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	min-height: 330px;
	display: flex;
	align-items: center;
	padding: 52px 330px 52px 54px;
	border: 1px solid #e5d9fb;
	border-radius: 28px;
	background:
		radial-gradient(circle at 86% 22%, rgba(70, 191, 224, 0.24), transparent 22%),
		radial-gradient(circle at 76% 90%, rgba(217, 83, 128, 0.17), transparent 31%),
		linear-gradient(135deg, #fff9f2 0%, #f8f1ff 100%);
	box-shadow: 0 22px 50px rgba(39, 28, 44, 0.08);
}

.zlz-cart-empty::before,
.zlz-cart-empty::after {
	content: '';
	position: absolute;
	border-radius: 999px;
	pointer-events: none;
	z-index: -1;
}

.zlz-cart-empty::before {
	width: 130px;
	height: 130px;
	right: 222px;
	top: -54px;
	border: 24px solid rgba(123, 63, 228, 0.08);
}

.zlz-cart-empty::after {
	width: 24px;
	height: 24px;
	right: 282px;
	bottom: 42px;
	background: var(--zlz-accent-orange);
	box-shadow: 40px -32px 0 rgba(59, 184, 176, 0.9), 82px 8px 0 rgba(185, 211, 85, 0.95);
}

.zlz-cart-empty__content {
	position: relative;
	z-index: 3;
	max-width: 610px;
}

.zlz-cart-empty h2 {
	max-width: 570px;
	margin: 7px 0 14px;
	font-size: clamp(31px, 4vw, 49px);
	line-height: 1.05;
	color: var(--zlz-text);
}

.zlz-cart-empty p {
	max-width: 590px;
	font-size: 17px;
	line-height: 1.65;
	color: #625a70;
}

.zlz-cart-empty__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.zlz-cart-empty__actions .zlz-btn {
	min-height: 48px;
	padding-inline: 24px;
	border-radius: 12px;
	font-weight: 600;
}

.zlz-decor-character--cart-empty {
	right: 18px;
	bottom: -21px;
	z-index: 2;
	width: 285px;
	max-height: 322px;
	object-position: bottom center;
	filter: drop-shadow(0 20px 22px rgba(39, 28, 44, 0.18));
}

/* ---------- Shipping progress ---------- */

.zlz-cart-shipping {
	margin-bottom: 24px;
	padding: 18px 20px;
	border: 1px solid #ddd1f7;
	border-radius: 16px;
	background: #faf7ff;
}

.zlz-cart-shipping__copy {
	display: flex;
	align-items: center;
	gap: 11px;
	color: var(--zlz-text);
	font-size: 15px;
}

.zlz-cart-shipping__copy strong {
	font-weight: 600;
}

.zlz-cart-shipping__icon {
	width: 29px;
	height: 29px;
	display: grid;
	place-items: center;
	color: var(--zlz-primary);
}

.zlz-cart-shipping__icon svg {
	width: 27px;
	height: 27px;
}

.zlz-cart-shipping__track {
	height: 8px;
	margin-top: 13px;
	overflow: hidden;
	border-radius: 999px;
	background: #e8e1f3;
}

.zlz-cart-shipping__track span {
	display: block;
	height: 100%;
	max-width: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--zlz-primary), var(--zlz-accent-pink));
	transition: width 0.25s ease;
}

.zlz-cart-shipping.is-complete {
	border-color: #d4e6a3;
	background: #f7fbe9;
}

.zlz-cart-shipping.is-complete .zlz-cart-shipping__icon,
.zlz-cart-shipping.is-complete .zlz-cart-shipping__copy {
	color: #4d7029;
}

.zlz-cart-shipping.is-complete .zlz-cart-shipping__track span {
	background: var(--zlz-accent-green);
}

/* ---------- Filled-cart layout ---------- */

.zlz-cart-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 28px;
	align-items: start;
}

.zlz-cart-items,
.zlz-cart-summary {
	border: 1px solid #e7e2ed;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(39, 28, 44, 0.055);
}

.zlz-cart-items {
	overflow: hidden;
}

.zlz-cart-items__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 21px 22px;
	border-bottom: 1px solid #eeeaf2;
	background: #fffdfb;
}

.zlz-cart-items__header h2,
.zlz-cart-summary h2 {
	font-size: 22px;
	line-height: 1.15;
	color: var(--zlz-text);
}

.zlz-cart-update {
	min-height: 36px;
	padding: 7px 13px;
	border: 1px solid #d7c9f2;
	border-radius: 9px;
	background: #fff;
	color: var(--zlz-primary);
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.zlz-cart-update:disabled {
	opacity: 0.42;
	cursor: default;
}

.zlz-cart-item {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	padding: 22px;
	border-bottom: 1px solid #eeeaf2;
}

.zlz-cart-item:last-of-type {
	border-bottom: 0;
}

.zlz-cart-item__visual {
	width: 116px;
	height: 116px;
	overflow: hidden;
	border-radius: 16px;
	background: #f6f3f8;
}

.zlz-cart-item__visual > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zlz-cart-item__details {
	min-width: 0;
}

.zlz-cart-item__type {
	margin-bottom: 4px;
	font-size: 9.5px;
}

.zlz-cart-item h3 {
	margin: 0 0 5px;
	font-size: 19px;
	line-height: 1.25;
	color: var(--zlz-text);
}

.zlz-cart-item h3 a:hover {
	color: var(--zlz-primary);
}

.zlz-cart-item__meta,
.zlz-cart-item__note,
.zlz-cart-item__unit-price {
	font-size: 13px;
	line-height: 1.5;
	color: #6b6478;
}

.zlz-cart-item__meta dl,
.zlz-cart-item__meta p {
	margin: 0;
}

.zlz-cart-item__note {
	margin-top: 4px;
	color: #7b5770;
}

.zlz-cart-item__unit-price {
	margin-top: 4px;
	font-weight: 600;
	color: var(--zlz-text);
}

.zlz-cart-item__secondary-link {
	display: inline-flex;
	margin-top: 7px;
	font-size: 12px;
	font-weight: 600;
	color: var(--zlz-primary);
}

.zlz-cart-item__secondary-link:hover {
	text-decoration: underline;
}

.zlz-cart-item__actions {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-top: 15px;
}

.zlz-cart-qty {
	display: inline-flex;
	align-items: center;
	overflow: hidden;
	border: 1px solid #dcd5e6;
	border-radius: 10px;
	background: #fff;
}

.zlz-cart-qty__button {
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	background: #faf8fc;
	color: var(--zlz-text);
	font: inherit;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
}

.zlz-cart-qty__button:hover {
	background: #f1eaff;
	color: var(--zlz-primary);
}

.zlz-cart-qty__input {
	display: block !important;
	width: 42px !important;
	min-width: 42px;
	height: 34px !important;
	margin: 0 !important;
	padding: 0 3px !important;
	border: 0 !important;
	border-left: 1px solid #e7e2ed !important;
	border-right: 1px solid #e7e2ed !important;
	border-radius: 0 !important;
	outline: 0;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--zlz-text, #271c2c) !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 34px !important;
	text-align: center !important;
	-moz-appearance: textfield;
}

.zlz-cart-qty__input::-webkit-outer-spin-button,
.zlz-cart-qty__input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.zlz-cart-qty__input:focus-visible {
	position: relative;
	z-index: 1;
	box-shadow: inset 0 0 0 2px var(--zlz-primary) !important;
}

.zlz-cart-item__remove {
	font-size: 12px;
	font-weight: 600;
	color: #9e3b48;
}

.zlz-cart-item__remove:hover {
	text-decoration: underline;
}

.zlz-cart-item__total {
	min-width: 108px;
	text-align: right;
}

.zlz-cart-item__total span {
	display: block;
	margin-bottom: 3px;
	font-size: 10px;
	font-weight: 500;
	color: #8a8294;
}

.zlz-cart-item__total strong {
	font-size: 16px;
	white-space: nowrap;
	color: var(--zlz-text);
}

/* Bundle preview is a fixed thumbnail mosaic, never free-floating. */
.zlz-cart-bundle-preview {
	position: relative;
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 3px;
	padding: 5px;
	background: #f5efff;
}

.zlz-cart-bundle-preview__item {
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 7px;
	background: #fff;
	color: var(--zlz-primary);
	font-weight: 700;
}

.zlz-cart-bundle-preview__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zlz-cart-bundle-preview__more {
	position: absolute;
	right: 6px;
	bottom: 6px;
	display: grid;
	place-items: center;
	min-width: 30px;
	height: 30px;
	padding: 0 7px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--zlz-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.zlz-cart-surprise-visual {
	position: relative;
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at 28% 25%, rgba(255,255,255,.6) 0 3px, transparent 4px),
		radial-gradient(circle at 76% 67%, rgba(255,255,255,.45) 0 4px, transparent 5px),
		linear-gradient(145deg, var(--zlz-accent-pink), var(--zlz-primary));
}

.zlz-cart-surprise-visual::before {
	content: '';
	position: absolute;
	width: 58px;
	height: 48px;
	bottom: 20px;
	border-radius: 8px 8px 12px 12px;
	background: #fff9f2;
	box-shadow: 0 -9px 0 #f4c061;
	transform: rotate(-3deg);
}

.zlz-cart-surprise-visual span {
	position: relative;
	z-index: 2;
	margin-top: -30px;
	font-size: 39px;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 4px 0 rgba(39, 28, 44, 0.18);
}

/* ---------- Summary ---------- */

.zlz-cart-summary {
	position: sticky;
	top: 118px;
	padding: 24px;
	background: var(--zlz-cream);
}

.zlz-cart-summary h2 {
	margin-bottom: 19px;
}

.zlz-cart-summary__rows {
	border-top: 1px solid #e8dfd7;
	border-bottom: 1px solid #e8dfd7;
}

.zlz-cart-summary__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding: 12px 0;
	font-size: 14px;
	color: #625a70;
}

.zlz-cart-summary__row strong,
.zlz-cart-summary__value {
	font-weight: 600;
	text-align: right;
	color: var(--zlz-text);
}

.zlz-cart-summary__row.is-saving strong {
	color: #b76217;
}

.zlz-cart-summary__row.is-total {
	margin-top: 2px;
	padding-top: 16px;
	border-top: 1px solid #e8dfd7;
	font-size: 18px;
	color: var(--zlz-text);
}

.zlz-cart-summary__row.is-total strong,
.zlz-cart-summary__row.is-total .zlz-cart-summary__value {
	font-size: 20px;
	font-weight: 700;
}

.zlz-cart-coupon {
	margin: 15px 0 17px;
	border-bottom: 1px solid #e8dfd7;
}

.zlz-cart-coupon summary {
	position: relative;
	padding: 0 22px 14px 0;
	list-style: none;
	font-size: 13px;
	font-weight: 600;
	color: var(--zlz-primary);
	cursor: pointer;
}

.zlz-cart-coupon summary::-webkit-details-marker {
	display: none;
}

.zlz-cart-coupon summary::after {
	content: '+';
	position: absolute;
	right: 1px;
	top: -3px;
	font-size: 19px;
	line-height: 1;
}

.zlz-cart-coupon[open] summary::after {
	content: '−';
}

.zlz-cart-coupon__fields {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	padding-bottom: 15px;
}

.zlz-cart-coupon__fields input {
	min-width: 0;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #d8cfdf;
	border-radius: 9px;
	background: #fff;
	font: inherit;
	font-size: 13px;
	color: var(--zlz-text);
}

.zlz-cart-coupon__fields button {
	height: 42px;
	padding: 0 14px;
	border: 0;
	border-radius: 9px;
	background: var(--zlz-text);
	color: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.zlz-cart-summary__checkout {
	min-height: 52px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
}

.zlz-cart-summary__lock {
	width: 18px;
	height: 18px;
	display: inline-flex;
}

.zlz-cart-summary__lock svg {
	width: 100%;
	height: 100%;
}

.zlz-cart-summary__trust,
.zlz-cart-summary__tax-note {
	text-align: center;
	color: #766e80;
}

.zlz-cart-summary__trust {
	margin-top: 11px;
	font-size: 11.5px;
}

.zlz-cart-summary__tax-note {
	margin-top: 9px;
	font-size: 10.5px;
}

.zlz-cart-payment-list {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
}

.zlz-cart-payment-list__item {
	width: 61px;
	height: 34px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border: 1px solid #ded7e4;
	border-radius: 8px;
	background: #fff;
}

.zlz-cart-payment-list__item svg,
.zlz-cart-payment-list__item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ---------- Recommendations ---------- */

.zlz-cart-recommendations {
	margin-top: 56px;
}

.zlz-cart-recommendations__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 22px;
	margin-bottom: 19px;
}

.zlz-cart-recommendations__header h2 {
	margin-top: 4px;
	font-size: clamp(27px, 3.2vw, 38px);
	line-height: 1.08;
	color: var(--zlz-text);
}

.zlz-cart-recommendations__header > a {
	padding-bottom: 3px;
	font-size: 13px;
	font-weight: 600;
	color: var(--zlz-primary);
	white-space: nowrap;
}

.zlz-cart-recommendations__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.zlz-cart-product-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e7e2ed;
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(39, 28, 44, 0.045);
}

.zlz-cart-product-card__image {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: #f6f3f8;
}

.zlz-cart-product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.22s ease;
}

.zlz-cart-product-card:hover .zlz-cart-product-card__image img {
	transform: scale(1.025);
}

.zlz-cart-product-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 5px 8px;
	border-radius: 999px;
	background: var(--zlz-accent-orange);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.zlz-cart-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 15px;
}

.zlz-cart-product-card__theme {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--zlz-primary);
}

.zlz-cart-product-card h3 {
	margin: 4px 0 5px;
	font-size: 16px;
	line-height: 1.25;
	color: var(--zlz-text);
}

.zlz-cart-product-card__price {
	margin-bottom: 13px;
	font-size: 13px;
	font-weight: 600;
	color: #5f566a;
}

.zlz-cart-product-card__price del {
	opacity: .55;
}

.zlz-cart-product-card__price ins {
	text-decoration: none;
}

.zlz-cart-product-card__cta {
	width: 100%;
	min-height: 42px;
	margin-top: auto;
	padding: 9px 10px;
	border-radius: 10px;
	font-size: 11px;
	line-height: 1.2;
	text-align: center;
}

.zlz-cart-mobile-checkout {
	display: none;
}

/* WooCommerce notices inside this custom page. */
.zlz-cart-page .woocommerce-message,
.zlz-cart-page .woocommerce-error,
.zlz-cart-page .woocommerce-info {
	padding: 13px 16px;
	border: 1px solid #dfd6e9;
	border-radius: 12px;
	background: #fff;
	color: var(--zlz-text);
	list-style: none;
}

.zlz-cart-page .woocommerce-error {
	border-color: #f1c3c8;
	background: #fff7f8;
}

/* ---------- Tablet ---------- */

@media (max-width: 980px) {
	.zlz-cart-layout {
		grid-template-columns: 1fr;
	}

	.zlz-cart-summary {
		position: static;
	}

	.zlz-cart-empty {
		padding-right: 260px;
	}

	.zlz-decor-character--cart-empty {
		right: -4px;
		width: 240px;
	}

	.zlz-cart-recommendations__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Mobile ---------- */

@media (max-width: 680px) {
	body.woocommerce-cart {
		padding-bottom: 76px;
	}

	.zlz-cart-page {
		padding: 32px 0 48px;
	}

	.zlz-cart-page__title-row {
		align-items: flex-end;
	}

	.zlz-cart-page__title-row h1 {
		font-size: 38px;
	}

	.zlz-cart-page__count {
		font-size: 11px;
	}

	.zlz-cart-empty {
		min-height: 0;
		padding: 34px 24px;
		border-radius: 21px;
	}

	.zlz-cart-empty h2 {
		font-size: 32px;
	}

	.zlz-cart-empty p {
		font-size: 15px;
	}

	.zlz-cart-empty__actions {
		flex-direction: column;
	}

	.zlz-cart-empty__actions .zlz-btn {
		width: 100%;
	}

	.zlz-decor-character--cart-empty,
	.zlz-cart-empty::before,
	.zlz-cart-empty::after {
		display: none;
	}

	.zlz-cart-shipping {
		padding: 15px;
	}

	.zlz-cart-shipping__copy {
		align-items: flex-start;
		font-size: 13px;
	}

	.zlz-cart-items__header {
		padding: 17px;
	}

	.zlz-cart-items__header h2 {
		font-size: 19px;
	}

	.zlz-cart-update {
		padding-inline: 10px;
		font-size: 11px;
	}

	.zlz-cart-item {
		grid-template-columns: 86px minmax(0, 1fr);
		gap: 14px;
		padding: 17px;
		align-items: start;
	}

	.zlz-cart-item__visual {
		width: 86px;
		height: 86px;
		border-radius: 13px;
	}

	.zlz-cart-item h3 {
		font-size: 16px;
	}

	.zlz-cart-item__meta,
	.zlz-cart-item__note,
	.zlz-cart-item__unit-price {
		font-size: 11.5px;
	}

	.zlz-cart-item__actions {
		flex-wrap: wrap;
		gap: 9px 12px;
		margin-top: 12px;
	}

	.zlz-cart-item__total {
		grid-column: 1 / -1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-width: 0;
		padding-top: 13px;
		border-top: 1px dashed #e4ddeb;
		text-align: left;
	}

	.zlz-cart-item__total span {
		margin: 0;
	}

	.zlz-cart-summary {
		padding: 20px;
	}

	.zlz-cart-recommendations {
		margin-top: 42px;
	}

	.zlz-cart-recommendations__header {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.zlz-cart-recommendations__header h2 {
		font-size: 29px;
	}

	.zlz-cart-recommendations__grid {
		display: flex;
		gap: 13px;
		overflow-x: auto;
		padding: 2px 2px 12px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.zlz-cart-product-card {
		flex: 0 0 min(74vw, 270px);
		scroll-snap-align: start;
	}

	.zlz-cart-mobile-checkout {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		padding: 11px 16px max(11px, env(safe-area-inset-bottom));
		border-top: 1px solid #ddd4e7;
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 0 -10px 30px rgba(39, 28, 44, 0.13);
		backdrop-filter: blur(12px);
	}

	.zlz-cart-mobile-checkout span {
		display: flex;
		flex-direction: column;
		font-size: 15px;
		font-weight: 700;
		color: var(--zlz-text);
	}

	.zlz-cart-mobile-checkout small {
		font-size: 9px;
		font-weight: 500;
		letter-spacing: .08em;
		text-transform: uppercase;
		color: #7a7284;
	}

	.zlz-cart-mobile-checkout a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		padding: 0 16px;
		border-radius: 10px;
		background: var(--zlz-primary);
		color: #fff;
		font-size: 12px;
		font-weight: 700;
		white-space: nowrap;
	}
}

@media (max-width: 390px) {
	.zlz-cart-page__title-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.zlz-cart-item {
		grid-template-columns: 76px minmax(0, 1fr);
		padding: 14px;
	}

	.zlz-cart-item__visual {
		width: 76px;
		height: 76px;
	}

	.zlz-cart-mobile-checkout {
		gap: 9px;
		padding-inline: 12px;
	}

	.zlz-cart-mobile-checkout a {
		padding-inline: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zlz-cart-product-card__image img,
	.zlz-cart-shipping__track span {
		transition: none;
	}
}

/* ---------- v1.3.3 cart reliability fixes ---------- */
html:has(body.woocommerce-cart),
body.woocommerce-cart {
	max-width: 100%;
	overflow-x: clip;
}

.zlz-cart-page,
.zlz-cart-page .zlz-container,
.zlz-cart-recommendations,
.zlz-cart-recommendations__grid,
.zlz-cart-layout,
.zlz-cart-items,
.zlz-cart-summary {
	min-width: 0;
	max-width: 100%;
}

.zlz-cart-qty.is-loading {
	opacity: .62;
	pointer-events: none;
}

.zlz-cart-product-card__cta {
	border: 0;
	font-family: inherit;
	cursor: pointer;
}

.zlz-cart-product-card__cta.is-loading,
.zlz-cart-option-modal__choice.is-loading {
	opacity: .65;
	cursor: wait;
}

body.zlz-cart-modal-open {
	overflow: hidden;
}

.zlz-cart-option-modal[hidden] {
	display: none !important;
}

.zlz-cart-option-modal {
	position: fixed;
	inset: 0;
	z-index: 10020;
	display: grid;
	place-items: center;
	padding: 20px;
}

.zlz-cart-option-modal__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgba(39, 28, 44, .58);
	backdrop-filter: blur(6px);
	cursor: pointer;
}

.zlz-cart-option-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 470px);
	max-height: min(720px, calc(100vh - 40px));
	overflow-y: auto;
	padding: 24px;
	border: 1px solid #e4d9f4;
	border-radius: 22px;
	background: #fffaf5;
	box-shadow: 0 28px 70px rgba(39, 28, 44, .24);
}

.zlz-cart-option-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #e4d9f4;
	border-radius: 50%;
	background: #fff;
	color: var(--zlz-text);
	font: inherit;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.zlz-cart-option-modal__product {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 15px;
	align-items: center;
	padding-right: 34px;
}

.zlz-cart-option-modal__product img {
	width: 82px;
	height: 82px;
	object-fit: cover;
	border-radius: 14px;
	background: #f6f3f8;
}

.zlz-cart-option-modal__product span {
	display: block;
	margin-bottom: 3px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .12em;
	color: var(--zlz-primary);
}

.zlz-cart-option-modal__product h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.1;
	color: var(--zlz-text);
}

.zlz-cart-option-modal__intro {
	margin: 17px 0;
	font-size: 14px;
	line-height: 1.55;
	color: #6b6478;
}

.zlz-cart-option-modal__choices {
	display: grid;
	gap: 10px;
}

.zlz-cart-option-modal__choice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 56px;
	padding: 12px 15px;
	border: 1px solid #d9cbf2;
	border-radius: 13px;
	background: #fff;
	color: var(--zlz-text);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.zlz-cart-option-modal__choice:hover,
.zlz-cart-option-modal__choice:focus-visible {
	border-color: var(--zlz-primary);
	background: #f6f0ff;
	outline: none;
}

.zlz-cart-option-modal__choice span {
	font-size: 14px;
	font-weight: 600;
}

.zlz-cart-option-modal__choice strong {
	font-size: 13px;
	white-space: nowrap;
}

.zlz-cart-option-modal__choice strong del {
	display: none;
}

.zlz-cart-option-modal__choice strong ins {
	text-decoration: none;
}

.zlz-cart-option-modal__status {
	min-height: 21px;
	margin: 12px 0 0;
	font-size: 12px;
	font-weight: 600;
	color: var(--zlz-primary);
	text-align: center;
}

@media (max-width: 680px) {
	.zlz-cart-page .zlz-container {
		width: 100%;
		padding-inline: 12px;
		overflow-x: clip;
	}

	.zlz-cart-recommendations__grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		overflow: visible;
		padding: 0;
		scroll-snap-type: none;
	}

	.zlz-cart-product-card {
		width: 100%;
		max-width: 100%;
		flex: none;
	}

	.zlz-cart-product-card__image {
		aspect-ratio: 1 / .92;
	}

	.zlz-cart-option-modal {
		align-items: end;
		padding: 10px;
	}

	.zlz-cart-option-modal__dialog {
		width: 100%;
		max-height: calc(100vh - 20px);
		padding: 20px;
		border-radius: 20px;
	}
}
