.nh-gift-modal[hidden] {
	display: none !important;
}

.nh-gift-modal {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: grid;
	place-items: center;
	padding: 20px;
}

.nh-gift-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(21, 28, 35, .58);
	backdrop-filter: blur(3px);
}

.nh-gift-modal__dialog {
	position: relative;
	width: min(680px, 100%);
	max-width: calc(100vw - 40px);
	max-height: min(760px, calc(100vh - 40px));
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 30px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
}

.nh-gift-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 38px !important;
	height: 38px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #f2f4f5 !important;
	color: #28313a !important;
	font-size: 27px !important;
	font-weight: 400 !important;
	line-height: 38px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transition: none !important;
	cursor: pointer;
}

.nh-gift-modal__eyebrow {
	display: inline-block;
	margin-bottom: 7px;
	color: #d92516;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
}

.nh-gift-modal h2 {
	margin: 0 42px 7px 0;
	color: #17212b;
	font-size: 28px;
	line-height: 1.15;
}

.nh-gift-modal__intro {
	margin: 0 0 20px;
	color: #66717c;
}

.nh-gift-modal__options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	min-width: 0;
}

.nh-gift-option {
	position: relative;
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 13px;
	align-items: center;
	min-height: 108px;
	min-width: 0;
	box-sizing: border-box;
	margin: 0;
	padding: 12px;
	border: 2px solid #e2e6e9;
	border-radius: 13px;
	background: #fff;
	cursor: pointer;
	transition: none !important;
}

.nh-gift-option.is-selected {
	border-color: #f0c4bf;
	background: #fffaf9;
}

.nh-gift-option input {
	position: absolute;
	top: 11px;
	right: 11px;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #e32a1b;
}

.nh-gift-option__image {
	display: grid;
	place-items: center;
	width: 82px;
	height: 82px;
	overflow: hidden;
	border-radius: 0;
	background: #f6f7f8;
}

.nh-gift-option__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nh-gift-option__content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding-right: 18px;
}

.nh-gift-option__content strong {
	display: block;
	min-width: 0;
	color: #202a33;
	font-size: 15px;
	line-height: 1.25;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.nh-gift-option__content small {
	color: #7b858e;
	font-size: 11px;
}

.nh-gift-option__content em {
	align-self: flex-start;
	padding: 3px 8px;
	border-radius: 999px;
	background: #e32a1b;
	color: #fff;
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
	letter-spacing: .04em;
}

.nh-gift-modal__message {
	min-height: 20px;
	margin: 13px 0 0;
	color: #2d7a35;
	font-size: 13px;
}

.nh-gift-modal__message.is-error {
	color: #c6281b;
}

.nh-gift-modal__actions {
	display: flex;
	gap: 10px;
	margin-top: 5px;
}

.nh-gift-modal__actions .button {
	flex: 1;
	margin: 0;
	border-radius: 999px;
}

.nh-gift-modal__add {
	background: #e32a1b !important;
}

.nh-gift-modal__add:disabled {
	opacity: .45;
	cursor: not-allowed;
}

body.nh-gift-modal-open {
	overflow: hidden;
}

.nh-gift-cart-label {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 7px;
	border-radius: 999px;
	background: #e32a1b;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	vertical-align: middle;
}

@media (max-width: 600px) {
	.nh-gift-modal {
		align-items: end;
		padding: 0;
	}

	.nh-gift-modal__dialog {
		width: 100%;
		max-width: 100vw;
		max-height: 88vh;
		padding: 24px 16px 18px;
		border-radius: 18px 18px 0 0;
	}

	.nh-gift-modal h2 {
		font-size: 23px;
	}

	.nh-gift-modal__options {
		grid-template-columns: 1fr;
	}

	.nh-gift-option {
		grid-template-columns: 70px minmax(0, 1fr);
		min-height: 92px;
	}

	.nh-gift-option__image {
		width: 70px;
		height: 70px;
	}

	.nh-gift-modal__actions {
		flex-direction: column;
	}
}
