.weddy-gift-trigger {
	cursor: pointer;
}

.weddy-gift-trigger--image {
	display: inline-block;
	text-align: center;
}

.weddy-gift-trigger__heading {
	font-size: 20px;
	font-weight: 700;
	color: #7A2B2B;
	margin-bottom: 16px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.weddy-gift-trigger__image {
	display: block;
	width: 220px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.weddy-gift-trigger__subtext {
	margin-top: 12px;
	font-size: 13px;
	color: #6B5D54;
}

.weddy-gift-trigger--button {
	background-color: #1B3A2B;
	color: #ffffff;
	border: none;
	border-radius: 999px;
	padding: 14px 32px;
	font-size: 15px;
	font-weight: 700;
}

.weddy-gift-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.weddy-gift-modal.is-open {
	display: flex;
}

.weddy-gift-modal * {
	box-sizing: border-box;
}

.weddy-gift-modal__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(20, 20, 20, 0.45);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.weddy-gift-modal__box {
	position: relative;
	background-color: #ffffff;
	border-radius: 16px;
	max-width: 640px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.weddy-gift-modal__header {
	position: relative;
	background-color: #1B3A2B;
	color: #ffffff;
	padding: 20px 32px;
	text-align: center;
}

.weddy-gift-modal__header h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.weddy-gift-modal__close {
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.15) !important;
	color: #ffffff !important;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.weddy-gift-modal__close:hover {
	background: rgba(255, 255, 255, 0.28) !important;
	color: #ffffff !important;
}

.weddy-gift-modal__body {
	background-color: #FBF6F3;
	padding: 32px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.weddy-gift-person {
	text-align: center;
}

.weddy-gift-person__title {
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 700;
	color: #1B3A2B;
}

.weddy-gift-person__qr-box {
	background: #ffffff;
	border-radius: 12px;
	padding: 12px;
	margin: 0 auto 16px;
	max-width: 200px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.weddy-gift-person__qr-box img {
	display: block;
	width: 100%;
	height: auto;
}

.weddy-gift-person__bank,
.weddy-gift-person__account {
	margin: 0 0 2px;
	font-size: 13.5px;
	color: #6B5D54;
}

.weddy-gift-person__holder {
	margin: 4px 0 16px;
	font-size: 14px;
	font-weight: 700;
	color: #2B2420;
}

.weddy-gift-save {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #F0EAE0;
	color: #7A3B2E;
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.weddy-gift-save__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	font-size: 14px;
	line-height: 1;
}

.weddy-gift-save__icon i,
.weddy-gift-save__icon svg {
	width: 1em;
	height: 1em;
	font-size: inherit;
}

.weddy-gift-save__icon svg {
	fill: currentColor;
}

.weddy-gift-save:hover {
	background: #E5DCCB;
	color: #7A3B2E;
}

@media (max-width: 480px) {
	.weddy-gift-modal__body {
		grid-template-columns: 1fr;
		padding: 24px;
		gap: 28px;
	}
	.weddy-gift-modal__header {
		padding: 16px 24px;
	}
}
