/* Figma popup 7657:10758 and 8860:28365; the native modal owns focus/inertness. */
.furpsy-marketing-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 16px;
	border: 0;
	align-items: center;
	justify-content: center;
	overflow: auto;
	background: rgba(22, 22, 22, 0.24);
	color: var(--furpsy-color-grey-100);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 300ms ease, visibility 0s 300ms;
}
.furpsy-marketing-popup[open] { display: flex; }
.furpsy-marketing-popup::backdrop { background: transparent; }
.furpsy-marketing-popup.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.furpsy-marketing-popup__dialog {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 341fr) minmax(0, 429fr);
	gap: 32px;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: min(858px, 100%);
	min-height: min(388px, calc(100dvh - 32px));
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 12px 44px 12px 12px;
	overflow: auto;
	background: var(--furpsy-color-opacity-white-100);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 300ms ease, transform 300ms ease;
}
.is-open > .furpsy-marketing-popup__dialog { opacity: 1; transform: translateY(0); }
.furpsy-marketing-popup__media { width: 100%; aspect-ratio: 341 / 364; overflow: hidden; }
.furpsy-marketing-popup__image-crop { position: relative; width: 100%; height: 100%; overflow: hidden; background: #b4b4b4; }
.furpsy-marketing-popup__image-crop > img {
	position: absolute;
	top: 0;
	left: -1px;
	width: calc(100% + 1px);
	height: auto;
	aspect-ratio: 342 / 427;
	max-width: none;
	object-fit: cover;
}
.furpsy-marketing-popup__content { min-width: 0; margin-top: 48px; }
.furpsy-marketing-popup__copy { display: flex; flex-direction: column; gap: 8px; }
.furpsy-marketing-popup__copy h2 { margin: 0; color: var(--furpsy-color-grey-100); font: 600 24px/32px var(--furpsy-font-heading); letter-spacing: var(--furpsy-letter-spacing); overflow-wrap: anywhere; }
.furpsy-marketing-popup__copy p { margin: 0; color: rgba(22, 22, 22, 0.56); font: 400 16px/24px var(--furpsy-font-body); }
#furpsy-marketing-popup-form { display: flex; flex-direction: column; margin-top: 24px; }
#furpsy-marketing-popup-email { width: calc(100% + 11px); }
.furpsy-marketing-popup__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#furpsy-marketing-popup-form .furpsy-marketing-popup__submit { width: 100%; margin-top: 16px; padding: 0 24px; border-radius: 54px; font: 500 16px/24px var(--furpsy-font-body); }
.furpsy-marketing-popup__consent { margin: 8px 0 0; color: rgba(22, 22, 22, 0.56); font: 400 12px/20px var(--furpsy-font-body); text-align: center; }
.furpsy-marketing-popup__message { margin-top: 12px; font: 400 14px/20px var(--furpsy-font-body); color: var(--furpsy-color-accent-1); overflow-wrap: anywhere; }
.furpsy-marketing-popup__message:empty { display: none; }
.furpsy-marketing-popup__close { position: absolute; top: 0; right: 0; z-index: 1; display: block; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.furpsy-marketing-popup__close picture, .furpsy-marketing-popup__close img { display: block; width: 40px; height: 40px; }
.furpsy-marketing-popup__close:focus-visible { outline: 2px solid var(--furpsy-color-primary-30); outline-offset: -2px; }
@media (max-width: 500px) {
	.furpsy-marketing-popup { background: var(--furpsy-color-opacity-black-20); }
	.furpsy-marketing-popup__dialog { display: flex; flex-direction: column; gap: 0; min-height: min(677px, calc(100dvh - 32px)); padding: 0; }
	.furpsy-marketing-popup__content { flex: 0 0 auto; margin: 0; padding: 32px 16px 16px; }
	.furpsy-marketing-popup__copy { gap: 12px; text-align: center; }
	.furpsy-marketing-popup__copy p { color: var(--furpsy-color-opacity-black-60); font-size: 14px; line-height: 20px; }
	#furpsy-marketing-popup-form { margin-top: 20px; }
	#furpsy-marketing-popup-email { width: 100%; }
	#furpsy-marketing-popup-form .furpsy-marketing-popup__submit { margin-top: 12px; }
	.furpsy-marketing-popup__consent { margin-top: 12px; line-height: 16px; }
	.furpsy-marketing-popup__media { order: 1; flex: 0 0 auto; aspect-ratio: 343 / 305; }
	.furpsy-marketing-popup__image-crop { aspect-ratio: 343 / 364; height: auto; }
	.furpsy-marketing-popup__image-crop > img { top: -1px; width: 100%; aspect-ratio: 343 / 429; }
	.furpsy-marketing-popup__close, .furpsy-marketing-popup__close picture, .furpsy-marketing-popup__close img { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	.furpsy-marketing-popup, .furpsy-marketing-popup__dialog { transition: none; }
	.furpsy-marketing-popup__dialog { transform: none; }
}

/* Figma 7657:9958 / 7862:7172; confirmed mobile <=500px. */
.furpsy-marketing-offer-wrapper {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9997;
    width: 51px;
    height: 215px;
    background: var(--furpsy-color-secondary-50);
}
.furpsy-marketing-offer-wrapper.is-hidden,
.furpsy-marketing-offer-wrapper[hidden] { display: none; }
.furpsy-marketing-offer-tab,
.furpsy-marketing-offer-close {
    position: absolute;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    background: transparent;
    color: var(--furpsy-color-grey-100);
    cursor: pointer;
}
.furpsy-marketing-offer-tab { inset: 0; width: 100%; height: 100%; }
.furpsy-marketing-offer-tab.is-hidden { display: none; }
.furpsy-marketing-offer-label {
    position: absolute;
    left: 16px;
    top: 48px;
    bottom: 20px;
    width: 20px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
}
.furpsy-marketing-offer-label--mobile { display: none; }
.furpsy-marketing-offer-close { top: 0; left: 0; width: 100%; height: 48px; }
.furpsy-marketing-offer-close picture { position: absolute; left: 20px; top: 20px; width: 12px; height: 12px; }
.furpsy-marketing-offer-close img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: auto; height: auto; max-width: none; }
.furpsy-marketing-offer-tab:focus-visible,
.furpsy-marketing-offer-close:focus-visible { outline: 2px solid var(--furpsy-color-primary-30); outline-offset: -2px; }
@media (max-width: 500px) {
    .furpsy-marketing-offer-wrapper { width: 24px; height: 154px; }
    .furpsy-marketing-offer-label { left: 4px; top: 24px; bottom: 8px; width: 16px; }
    .furpsy-marketing-offer-label--desktop { display: none; }
    .furpsy-marketing-offer-label--mobile { display: block; }
    .furpsy-marketing-offer-close { height: 24px; }
    .furpsy-marketing-offer-close picture { left: 8px; top: 8px; width: 8px; height: 8px; }
}
