/* Subscribe & Save popup */

body.beanies-subscribe-popup-open {
	overflow: hidden;
}

.beanies-subscribe-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: inherit;
}

.beanies-subscribe-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(36, 26, 14, 0.55);
	cursor: pointer;
}

.beanies-subscribe-popup__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #ffffff;
	border-radius: 20px;
	padding: 40px 32px 32px;
	box-shadow: 0px 20px 60px rgba(36, 26, 14, 0.25);
	outline: none;
}

.beanies-subscribe-popup__close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 36px;
	height: 36px;
	line-height: 1;
	font-size: 28px;
	background: transparent;
	border: 0;
	color: #241A0E;
	cursor: pointer;
	padding: 0;
}

.beanies-subscribe-popup__close:hover {
	color: #E40046;
}

.beanies-subscribe-popup__heading {
	font-size: 26px;
	line-height: 1.15;
	font-weight: 700;
	color: #241A0E;
	margin: 0 0 12px;
	text-align: center;
}

.beanies-subscribe-popup__body {
	color: #41455A;
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 20px;
	text-align: center;
}

.beanies-subscribe-popup__plans {
	border: 0;
	padding: 0;
	margin: 0 0 24px;
}

.beanies-subscribe-popup__plans-legend {
	font-size: 15px;
	font-weight: 600;
	color: #241A0E;
	margin: 0 0 10px;
	padding: 0;
}

.beanies-subscribe-popup__plan {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #e5e5e8;
	border-radius: 10px;
	cursor: pointer;
	margin-bottom: 8px;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.beanies-subscribe-popup__plan:last-child {
	margin-bottom: 0;
}

.beanies-subscribe-popup__plan:hover {
	border-color: #4FD89E;
}

.beanies-subscribe-popup__plan input[type="radio"] {
	margin: 0;
	accent-color: #4FD89E;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.beanies-subscribe-popup__plan:has(input:checked) {
	border-color: #4FD89E;
	background: rgba(79, 216, 158, 0.08);
}

.beanies-subscribe-popup__plan-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.beanies-subscribe-popup__plan-name {
	font-size: 16px;
	font-weight: 600;
	color: #241A0E;
}

.beanies-subscribe-popup__plan-savings {
	font-size: 14px;
	font-weight: 500;
	color: #148757;
}

.beanies-subscribe-popup__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.beanies-subscribe-popup__btn {
	appearance: none;
	border: 0;
	height: 52px;
	padding: 0 24px;
	border-radius: 7px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
	font-family: inherit;
	line-height: 1;
}

.beanies-subscribe-popup__btn--confirm {
	background: #4FD89E;
	color: #ffffff;
}

.beanies-subscribe-popup__btn--confirm:hover {
	background: #E40046;
}

.beanies-subscribe-popup__btn--dismiss {
	background: #ffffff;
	color: #623412;
	border: 1px solid #623412;
}

.beanies-subscribe-popup__btn--dismiss:hover {
	background: #623412;
	color: #ffffff;
}

@media (min-width: 640px) {
	.beanies-subscribe-popup__heading {
		font-size: 30px;
	}

	.beanies-subscribe-popup__dialog {
		padding: 48px 40px 40px;
	}
}
