/* Newsletter Modal */

.adult-store-footer__menu .adult-store-newsletter-trigger {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.78rem;
	color: var(--adult-store-text-faint, rgba(255, 255, 255, 0.55));
	text-align: left;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.adult-store-footer__menu .adult-store-newsletter-trigger:hover,
.adult-store-footer__menu .adult-store-newsletter-trigger:focus-visible {
	color: var(--adult-store-accent, #c9a86a);
	outline: none;
}

.adult-store-newsletter-modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.adult-store-newsletter-modal[hidden] {
	display: none !important;
}

.adult-store-newsletter-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(2px);
}

.adult-store-newsletter-modal__panel {
	position: relative;
	z-index: 1;
	width: min(100%, 520px);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 36px 32px 32px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 2px;
	background:
		radial-gradient(circle at 80% 0%, rgba(201, 168, 106, 0.08), transparent 42%),
		linear-gradient(165deg, #141014 0%, #0a090b 100%);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
	color: #f5f5f5;
}

.adult-store-newsletter-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.03);
	color: rgba(255, 255, 255, 0.72);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.adult-store-newsletter-modal__close:hover,
.adult-store-newsletter-modal__close:focus-visible {
	border-color: var(--adult-store-accent, #c9a86a);
	color: var(--adult-store-accent, #c9a86a);
	outline: none;
}

.adult-store-newsletter-modal__eyebrow {
	margin: 0 0 14px;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--adult-store-accent, #c9a86a);
}

.adult-store-newsletter-modal__title {
	margin: 0 0 14px;
	font-size: clamp(1.2rem, 3vw, 1.55rem);
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.2;
	color: #fff;
}

.adult-store-newsletter-modal__copy {
	margin: 0 0 24px;
	font-size: 0.92rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.68);
}

.adult-store-newsletter-modal__field {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.adult-store-newsletter-modal__label {
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.adult-store-newsletter-modal__input {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 2px;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 0.95rem;
	font-family: inherit;
}

.adult-store-newsletter-modal__input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.adult-store-newsletter-modal__input:focus {
	outline: none;
	border-color: var(--adult-store-accent, #c9a86a);
	box-shadow: 0 0 0 1px rgba(201, 168, 106, 0.25);
}

.adult-store-newsletter-modal__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.adult-store-newsletter-modal__error {
	margin: 0 0 14px;
	font-size: 0.82rem;
	line-height: 1.5;
	color: #e8b4b4;
}

.adult-store-newsletter-modal__error.is-info {
	color: rgba(201, 168, 106, 0.92);
}

.adult-store-newsletter-modal__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 2px;
	background: var(--adult-store-accent, #c9a86a);
	color: #0a0a0a;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.adult-store-newsletter-modal__submit:hover:not(:disabled) {
	opacity: 0.92;
}

.adult-store-newsletter-modal__submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.adult-store-newsletter-modal__privacy {
	margin: 14px 0 0;
	font-size: 0.76rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.42);
}

.adult-store-newsletter-modal__success-view {
	padding-top: 8px;
}

.adult-store-newsletter-modal__success-view .adult-store-newsletter-modal__copy {
	margin-bottom: 0;
}

body.adult-store-newsletter-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.adult-store-newsletter-modal {
		padding: 16px;
	}

	.adult-store-newsletter-modal__panel {
		width: calc(100% - 0px);
		padding: 28px 20px 24px;
	}
}
