.wcnwa-wrapper {
	display: block;
	clear: both;
	float: none;
	position: relative;
	width: 100%;
	height: auto;
	margin: 28px 0 40px;
	padding: 4px 0 6px;
	line-height: normal;
	display: flow-root;
}

.wcnwa-wrapper + .product_meta,
.wcnwa-wrapper ~ .product_meta {
	clear: both;
	position: relative;
	margin-top: 20px;
}

.wcnwa-open-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #1c2338;
	color: #ffffff;
	border: none;
	box-shadow: none;
	margin: 0;
	max-width: 100%;
	box-sizing: border-box;
	text-align: center;
	line-height: 1.3;
	text-transform: none;
	padding: 14px 28px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.wcnwa-open-btn:hover {
	background: #2a3350;
}

.wcnwa-bell,
.wcnwa-bell-large {
	line-height: 1;
}

.wcnwa-bell-large {
	font-size: 30px;
	display: block;
	margin-bottom: 8px;
}

/* Overlay */
.wcnwa-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(20, 22, 34, 0.65);
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.wcnwa-overlay.wcnwa-open {
	display: flex;
}

.wcnwa-modal {
	background: #ffffff;
	width: 100%;
	max-width: 420px;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
	animation: wcnwaPopIn 0.18s ease-out;
}

@keyframes wcnwaPopIn {
	from {
		transform: scale(0.95);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

.wcnwa-modal-header {
	background: #1c2338;
	color: #ffffff;
	text-align: center;
	padding: 28px 30px 22px;
}

.wcnwa-modal-header h3 {
	margin: 0 0 6px;
	font-size: 20px;
	color: #ffffff;
}

.wcnwa-modal-header p {
	margin: 0;
	font-size: 13px;
	color: #b7bcd1;
}

.wcnwa-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: transparent;
	border: none;
	color: #ffffff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
}

.wcnwa-form {
	padding: 26px 30px 30px;
}

.wcnwa-field {
	margin-bottom: 18px;
}

.wcnwa-field label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #333;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.wcnwa-required {
	color: #d63638;
}

.wcnwa-field input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d8dae2;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

.wcnwa-field input:focus {
	outline: none;
	border-color: #1c2338;
}

.wcnwa-message {
	font-size: 13px;
	margin-bottom: 12px;
	min-height: 0;
}

.wcnwa-message.wcnwa-error {
	color: #d63638;
}

.wcnwa-message.wcnwa-success {
	color: #1e7e34;
}

.wcnwa-submit-btn {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #1c2338;
	color: #ffffff;
	border: none;
	padding: 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.wcnwa-submit-btn:hover {
	background: #2a3350;
}

.wcnwa-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

@media (max-width: 480px) {
	.wcnwa-modal-header,
	.wcnwa-form {
		padding-left: 20px;
		padding-right: 20px;
	}
}


/* Product name inside the popup header */
.wcnwa-modal-product:empty {
	display: none;
}

.wcnwa-modal {
	max-height: calc(100vh - 40px);
	overflow-y: auto;
}

.wcnwa-field input {
	width: 100%;
	box-sizing: border-box;
}

/* Shop / category / home grid button: same box as the theme's Add to Cart button */
body a.button.wcnwa-archive-btn {
	display: inline-block !important;
	padding: 10px 16px !important;
	font-size: 12px !important;
	font-weight: 600;
	text-transform: capitalize !important;
	line-height: 1.2 !important;
	margin-top: auto !important;
	align-self: center !important;
	border: 0 !important;
	border-radius: 6px !important;
	box-sizing: border-box;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	white-space: normal;
	width: auto;
}

/* Desktop: grid button matches the theme's desktop Add to Cart size */
@media (min-width: 768px) {
	body a.button.wcnwa-archive-btn {
		font-size: 16px !important;
		padding: 10px 22px !important;
	}

	/* Single product page: push the button 20px lower on desktop */
	.wcnwa-wrapper {
		margin-top: 48px;
		z-index: 1;
	}
}

/* Responsive */
@media (max-width: 767px) {
	.wcnwa-open-btn {
		width: 100%;
		padding: 13px 16px;
	}
	.wcnwa-modal-header {
		padding: 22px 20px 18px;
	}
	.wcnwa-form {
		padding: 20px;
	}
}
