/**
 * Saved & Abandoned Carts — storefront save / share UI.
 */
.aieo-cart-ops {
	margin: 1em 0;
}

.aieo-cart-ops--block {
	margin-top: 1.25em;
}

.aieo-save-cart {
	cursor: pointer;
}

/* Checkout: the Save button spans the full width of the right (summary) column. */
.aieo-cart-ops--block .aieo-save-cart[data-source="checkout"] {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}
.aieo-cart-ops--block:has( .aieo-save-cart[data-source="checkout"] ) {
	width: 100%;
}

/* Side-cart: keep the Save button compact (Checkout stays the wide CTA).
   Colours/border come from the side-cart settings (inline CSS, !important);
   these are just the fallback look + compact sizing. */
.aieo-sc-actions.aieo-sc-actions-save {
	grid-template-columns: auto 1fr;
}
.aieo-sc-btn-save {
	padding-left: 22px;
	padding-right: 22px;
	background: #e9e6e2;
	color: #1a1a1a;
	border: 0;
}

.aieo-save-cart[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.aieo-cart-share {
	margin-top: 0.75em;
	padding: 0.85em 1em;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.02);
	max-width: 520px;
}

.aieo-cart-share[hidden] {
	display: none;
}

.aieo-cart-share.is-error {
	border-color: #c0392b;
	background: rgba(192, 57, 43, 0.06);
}

.aieo-cart-share-msg {
	margin: 0 0 0.5em;
	font-size: 0.95em;
}

.aieo-cart-share.is-error .aieo-cart-share-msg {
	color: #c0392b;
}

.aieo-cart-share-row {
	display: flex;
	gap: 0.5em;
	align-items: stretch;
}

.aieo-cart-share-url {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.45em 0.6em;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	font-size: 0.9em;
	background: #fff;
}

.aieo-cart-share-copy {
	cursor: pointer;
	white-space: nowrap;
	padding: 0.45em 0.9em;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	background: #fff;
}

.aieo-cart-share-copy:hover {
	background: rgba(0, 0, 0, 0.04);
}
