body.nms-product-coupons-drawer-open {
	overflow: hidden;
}

/* closer to cashback */
.nms-product-coupons-trigger-wrap {
	margin: 8px 0 0;
	width: 100%;
}

.nms-product-coupons-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 10px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	cursor: pointer;
	text-align: start;
	transition: opacity 0.2s ease, transform 0.2s ease;
	box-shadow: none;
}

.nms-product-coupons-trigger:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.nms-product-coupons-trigger__left {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1 1 auto;
}

.nms-product-coupons-trigger__icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.nms-product-coupons-trigger__icon img {
	width: 20px;
	height: 20px;
	display: block;
	object-fit: contain;
}

.nms-product-coupons-trigger__text {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex-wrap: wrap;
}

.nms-product-coupons-trigger__label {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: inherit;
}

.nms-product-coupons-trigger__sub {
	font-size: 12px;
	line-height: 1.4;
	opacity: 0.72;
	color: inherit;
}

.nms-product-coupons-trigger__arrow {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0.8;
}

/* bottom drawer */
.nms-product-coupons-drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.32);
	z-index: 9998;
}

.nms-product-coupons-drawer {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	z-index: 9999;
	pointer-events: none;
}

.nms-product-coupons-drawer__sheet {
	width: min(680px, 100%);
	max-height: 88vh;
	background: #fff;
	border-radius: 22px 22px 0 0;
	transform: translateY(100%);
	transition: transform 0.28s ease;
	box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.14);
	overflow: hidden;
	pointer-events: auto;
}

.nms-product-coupons-drawer.is-open .nms-product-coupons-drawer__sheet {
	transform: translateY(0);
}

.nms-product-coupons-drawer__handle {
	width: 52px;
	height: 5px;
	border-radius: 999px;
	background: rgba(17, 24, 39, 0.16);
	margin: 10px auto 0;
}

.nms-product-coupons-drawer__body {
	overflow: auto;
	max-height: calc(88vh - 20px);
}

.nms-product-coupons-drawer__inner {
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

.nms-product-coupons-drawer__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px 10px;
}

.nms-product-coupons-drawer__eyebrow {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #6b7280;
	margin-bottom: 4px;
}

.nms-product-coupons-drawer__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 700;
	color: #111827;
}

.nms-product-coupons-drawer__close {
	appearance: none;
	border: 0;
	background: rgba(17, 24, 39, 0.06);
	width: 38px;
	height: 38px;
	border-radius: 999px;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	color: #111827;
	flex: 0 0 auto;
}

.nms-product-coupons-drawer__content {
	padding: 0 18px 22px;
}

.nms-product-coupons-list {
	display: grid;
	gap: 12px;
}

.nms-product-coupon-card {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 14px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	background: #fafafa;
}

.nms-product-coupon-card__content {
	flex: 1 1 auto;
	min-width: 0;
}

.nms-product-coupon-card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.nms-product-coupon-card__code {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.nms-product-coupon-card__label {
	font-size: 13px;
	opacity: 0.85;
}

.nms-product-coupon-card__desc {
	font-size: 12px;
	line-height: 1.55;
	opacity: 0.78;
	margin-bottom: 4px;
}

.nms-product-coupon-card__meta {
	font-size: 11px;
	line-height: 1.5;
	opacity: 0.65;
}

.nms-product-coupon-card__actions {
	flex: 0 0 auto;
}

.nms-product-coupon-copy-btn {
	min-width: 96px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 12px;
	line-height: 1.2;
}

.nms-product-coupon-copy-btn.is-copied {
	opacity: 0.9;
}

.nms-product-coupons-drawer__message {
	margin-top: 14px;
	font-size: 12px;
	line-height: 1.45;
	color: #0f8a4b;
	opacity: 0;
	transition: opacity 0.2s ease;
	min-height: 18px;
}

.nms-product-coupons-drawer__message.is-visible {
	opacity: 1;
}

.nms-product-coupons-drawer__empty {
	padding: 12px 18px 18px;
	font-size: 14px;
	line-height: 1.5;
	opacity: 0.75;
}

@media (max-width: 767px) {
	.nms-product-coupons-trigger-wrap {
		margin: 6px 0 0;
	}

	.nms-product-coupons-trigger {
		padding: 8px 0;
		gap: 10px;
	}

	.nms-product-coupons-trigger__left {
		gap: 10px;
	}

	.nms-product-coupons-trigger__icon,
	.nms-product-coupons-trigger__icon img {
		width: 18px;
		height: 18px;
	}

	.nms-product-coupons-trigger__text {
		gap: 6px;
	}

	.nms-product-coupons-trigger__label {
		font-size: 13px;
	}

	.nms-product-coupons-trigger__sub {
		font-size: 11px;
	}

	.nms-product-coupons-drawer__header {
		padding: 14px 16px 10px;
	}

	.nms-product-coupons-drawer__title {
		font-size: 18px;
	}

	.nms-product-coupons-drawer__content {
		padding: 0 16px 18px;
	}

	.nms-product-coupon-card {
		padding: 12px;
		gap: 10px;
		border-radius: 12px;
	}

	.nms-product-coupon-card__code,
	.nms-product-coupon-card__label {
		font-size: 12px;
	}

	.nms-product-coupon-card__desc {
		font-size: 11px;
	}

	.nms-product-coupon-copy-btn {
		min-width: 82px;
		padding: 8px 12px;
		font-size: 11px;
		border-radius: 8px;
	}
}
/* Fix hidden coupons drawer ghost strip on mobile/tablet */
.nms-product-coupons-drawer {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

.nms-product-coupons-drawer.is-open {
	opacity: 1;
	visibility: visible;
}

.nms-product-coupons-drawer__sheet {
	transform: translateY(calc(100% + 24px));
	will-change: transform;
}

.nms-product-coupons-drawer.is-open .nms-product-coupons-drawer__sheet {
	transform: translateY(0);
}