.issuq-product-offer-wrap {
	margin: 0.75rem 0 1rem;
	position: relative;
}

/* Modal may render inside the action row; keep it viewport-fixed. */
.issuq-product-offer-wrap .issuq-product-offer-modal {
	position: fixed;
}

.issuq-product-offer-btn.button.alt {
	width: 100%;
	max-width: 100%;
	font-weight: 600;
	border-radius: 999px;
	padding: 0.65rem 1.25rem;
}

.issuq-product-offer-modal[hidden] {
	display: none !important;
}

.issuq-product-offer-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
}

@media (min-width: 600px) {
	.issuq-product-offer-modal {
		align-items: center;
		padding: 1rem;
	}
}

.issuq-po-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(4px);
}

.issuq-po-sheet {
	position: relative;
	width: 100%;
	max-width: 420px;
	background: #fff;
	border-radius: 20px 20px 0 0;
	box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
	padding: 1.25rem 1.35rem 1.75rem;
	max-height: 92vh;
	overflow: auto;
	animation: issuqPoIn 0.22s ease-out;
}

@media (min-width: 600px) {
	.issuq-po-sheet {
		border-radius: 20px;
	}
}

@keyframes issuqPoIn {
	from {
		transform: translateY(12px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.issuq-po-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.35rem;
}

.issuq-po-head h2 {
	margin: 0;
	font-size: clamp(1.55rem, 4vw, 1.85rem);
	font-weight: 800;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
}

.issuq-po-close {
	border: none;
	background: #fef2f2 !important;
	color: #991b1b !important;
	-webkit-text-fill-color: #991b1b !important;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	font-size: 1.65rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: inset 0 0 0 1px rgba(185, 28, 28, 0.35);
}

.issuq-po-close:hover {
	background: #fee2e2;
}

.issuq-po-close-icon {
	display: block;
	margin-top: -2px;
	color: inherit !important;
	-webkit-text-fill-color: inherit !important;
}

.issuq-po-hint {
	margin: 0 0 0.65rem;
	font-size: clamp(1rem, 2.8vw, 1.15rem);
	color: #475569 !important;
	-webkit-text-fill-color: #475569 !important;
	font-weight: 600;
	line-height: 1.35;
}

.issuq-po-hero-wrap {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.15rem;
	margin: 0.5rem 0 1.1rem;
}

.issuq-po-currency-prefix {
	font-size: clamp(2rem, 7vw, 2.85rem);
	font-weight: 800;
	color: #0f172a;
	line-height: 1;
}

.issuq-po-hero-input {
	border: none;
	background: transparent;
	font-size: clamp(2rem, 7vw, 2.85rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	text-align: left;
	color: #0f172a;
	width: 55%;
	max-width: 220px;
	padding: 0.1rem 0;
	margin: 0;
	line-height: 1;
	outline: none;
	box-shadow: none;
	min-height: 52px;
}

.issuq-po-hero-input:focus {
	outline: 2px solid rgba(214, 54, 56, 0.35);
	outline-offset: 4px;
	border-radius: 6px;
}

.issuq-po-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin-bottom: 1.15rem;
}

.issuq-po-chip {
	border: 2px solid #cbd5e1 !important;
	background: #f8fafc !important;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
	border-radius: 999px;
	padding: 0.55rem 1.15rem;
	font-size: clamp(1.05rem, 2.8vw, 1.2rem);
	font-weight: 700;
	cursor: pointer;
	min-height: 48px;
}

.issuq-po-chip:active {
	transform: scale(0.98);
}

.issuq-po-actions {
	display: flex;
	justify-content: stretch;
}

.issuq-po-send {
	width: 100%;
	min-height: 54px;
	border-radius: 999px;
	border: none;
	background: #d63638 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-size: clamp(1.2rem, 3.2vw, 1.38rem) !important;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(214, 54, 56, 0.35);
}

.issuq-po-send:hover {
	filter: brightness(1.05);
}

.issuq-po-send:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.issuq-po-error {
	color: #b91c1c;
	font-size: 0.95rem;
	margin: 0.75rem 0 0;
	font-weight: 500;
}

body.issuq-po-modal-open {
	overflow: hidden;
}

/* Woo / theme button rules often force white text on modal controls — win specificity */
.issuq-product-offer-modal .issuq-po-close,
.issuq-product-offer-modal .issuq-po-close .issuq-po-close-icon {
	color: #991b1b !important;
	-webkit-text-fill-color: #991b1b !important;
}

.woocommerce .issuq-product-offer-modal button.issuq-po-chip,
.issuq-product-offer-modal button.issuq-po-chip {
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
	background: #f1f5f9 !important;
	border: 2px solid #94a3b8 !important;
}

.woocommerce .issuq-product-offer-modal button.issuq-po-chip:hover,
.issuq-product-offer-modal button.issuq-po-chip:hover {
	background: #e2e8f0 !important;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
}
