.affshop-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.affshop-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.65rem 1rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font: inherit;
	cursor: pointer;
	text-decoration: none;
}

.affshop-btn--primary {
	background: #0ea5e9;
	color: #fff;
}

.affshop-btn--ghost {
	background: transparent;
	border-color: rgba(0, 0, 0, 0.12);
}

.affshop-btn--block {
	width: 100%;
}

.affshop-cart-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 1.25rem;
}

.affshop-cart-line {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr) auto;
	gap: 0.85rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.affshop-cart-line__title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
}

.affshop-cart-line__title a {
	color: inherit;
	text-decoration: none;
}

.affshop-cart-page__summary-card {
	position: sticky;
	top: 1rem;
	padding: 1rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.92);
}

.affshop-cart-page__summary-lines {
	margin: 0 0 1rem;
}

.affshop-cart-page__summary-line {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.35rem;
}

.affshop-cart-page__note,
.affshop-cart-page__warn,
.affshop-cart-page__continue {
	font-size: 0.9rem;
	color: #64748b;
}

.affshop-checkout-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 1rem;
	background: rgba(15, 23, 42, 0.82);
	backdrop-filter: blur(8px);
}

.affshop-checkout-overlay[hidden] {
	display: none !important;
}

.affshop-checkout-overlay__panel {
	width: min(520px, 100%);
	padding: 1.5rem;
	border-radius: 18px;
	background: #fff;
	text-align: center;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.affshop-checkout-overlay__eyebrow {
	margin: 0 0 0.5rem;
	color: #0ea5e9;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.affshop-checkout-overlay__title {
	margin: 0 0 1rem;
	font-size: 1.15rem;
	line-height: 1.45;
}

.affshop-checkout-overlay__bar {
	height: 8px;
	border-radius: 999px;
	overflow: hidden;
	background: #e2e8f0;
	margin-bottom: 0.85rem;
}

.affshop-checkout-overlay__bar-fill {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #0ea5e9, #22d3ee);
}

@media (max-width: 900px) {
	.affshop-cart-page__layout {
		grid-template-columns: 1fr;
	}
}
