/* ==========================================================================
   Checkout — "View Offers". The trigger sits beside the block checkout's
   own coupon field; the modal turns each coupon into a small ticket-stub
   card — a dashed border and a punched "hole", the same hang-tag logic
   as .bz-swing-tag elsewhere on the site, just laid flat in a list
   instead of pinned at an angle.
   ========================================================================== */

.bz-view-offers-row {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 0.75rem;
}
.bz-view-offers-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	background: none;
	border: 0;
	padding: 0.3em 0;
	font-family: var(--bz-font-body);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: var(--bz-lavender-deep);
	cursor: pointer;
}
.bz-view-offers-btn::before {
	content: "";
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	border: 1.5px dashed var(--bz-lavender-deep);
	border-radius: 3px;
}
.bz-view-offers-btn:hover,
.bz-view-offers-btn:focus-visible {
	color: var(--bz-ink);
}
.bz-view-offers-btn:focus-visible {
	outline: 2px solid var(--bz-lavender-deep);
	outline-offset: 3px;
}

/* ==========================================================================
   Modal panel
   ========================================================================== */
.bz-coupons-modal-panel {
	max-width: 480px;
}
.bz-coupons-modal-panel h3 {
	margin: 0 0 0.4rem;
}
.bz-coupons-modal-intro {
	font-size: 0.88rem;
	color: #6f6b7a;
	margin: 0 0 1.5rem;
}
.bz-coupons-message {
	font-size: 0.85rem;
	margin: 0;
}
.bz-coupons-message:empty {
	display: none;
}
.bz-coupons-message.is-error {
	color: #b3413a;
	margin-bottom: 1rem;
}
.bz-coupons-message.is-success {
	color: var(--bz-lavender-deep);
	margin-bottom: 1rem;
}

.bz-coupons-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.bz-coupons-state {
	text-align: center;
	color: #8a8694;
	font-size: 0.9rem;
	padding: 2rem 0;
	margin: 0;
}

/* Each offer — a flat ticket stub: dashed border, a punched circular
   notch at the perforation, code stamped in the display face. */
.bz-coupon-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
	text-align: left;
	background: var(--bz-white);
	border: 1.5px dashed #c9c2da;
	border-radius: var(--bz-radius);
	padding: 1.1rem 1.25rem;
	cursor: pointer;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.bz-coupon-card:hover,
.bz-coupon-card:focus-visible {
	border-color: var(--bz-lavender-deep);
	border-style: solid;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(33, 31, 46, 0.1);
}
.bz-coupon-card:focus-visible {
	outline: 2px solid var(--bz-lavender-deep);
	outline-offset: 2px;
}
.bz-coupon-card::before,
.bz-coupon-card::after {
	content: "";
	position: absolute;
	left: -1.5px;
	width: 14px;
	height: 14px;
	background: var(--bz-white);
	border: 1.5px dashed #c9c2da;
	border-radius: 50%;
}
.bz-coupon-card::before {
	top: -8px;
}
.bz-coupon-card::after {
	bottom: -8px;
}

.bz-coupon-card-body {
	flex: 1 1 auto;
	min-width: 0;
}
.bz-coupon-card-summary {
	font-family: var(--bz-font-display);
	font-size: 1.15rem;
	font-weight: 500;
	color: var(--bz-ink);
	margin: 0 0 0.25rem;
}
.bz-coupon-card-code {
	display: inline-block;
	font-family: var(--bz-font-body);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bz-lavender-deep);
	background: var(--bz-linen);
	border-radius: var(--bz-radius);
	padding: 0.2em 0.6em;
	margin-bottom: 0.4rem;
}
.bz-coupon-card-description,
.bz-coupon-card-minimum {
	display: block;
	font-size: 0.8rem;
	color: #8a8694;
	margin-top: 0.15rem;
}
.bz-coupon-card-cta {
	flex-shrink: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bz-ink);
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	white-space: nowrap;
}
.bz-coupon-card.is-applying {
	pointer-events: none;
	opacity: 0.6;
}
.bz-coupon-card.is-applying .bz-coupon-card-cta {
	border-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
	.bz-coupon-card {
		transition: none;
	}
	.bz-coupon-card:hover {
		transform: none;
	}
}

@media (max-width: 480px) {
	.bz-coupons-modal-panel {
		padding: 2rem 1.5rem;
	}
	.bz-coupon-card {
		flex-wrap: wrap;
	}
}
