/* ====================================================================
   NAPLES — Adult Content Consent Modal
   --------------------------------------------------------------------
   Shown on first visit (per session) to gallery category pages that
   contain surgical nudity. Acknowledge-only gate. Cancel redirects
   to /gallery/. Stored in sessionStorage so it appears once per session.
   ==================================================================== */

.naples-consent-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(0, 0, 0, 0.75);
	font-family: var(--naples-font-body);
	box-sizing: border-box;
}

.naples-consent-modal.is-open {
	display: flex;
}

.naples-consent-modal *,
.naples-consent-modal *::before,
.naples-consent-modal *::after {
	box-sizing: border-box;
}

.naples-consent-modal__dialog {
	background: var(--naples-white);
	max-width: 560px;
	width: 100%;
	padding: 48px 40px;
	border-radius: 0;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
	color: var(--naples-dark-slate);
	max-height: 90vh;
	overflow-y: auto;
}

@media (max-width: 600px) {
	.naples-consent-modal__dialog {
		padding: 36px 24px;
	}
}

.naples-consent-modal__heading {
	font-family: var(--naples-font-heading);
	font-size: 32px;
	line-height: 1.2;
	color: var(--naples-primary);
	font-weight: 400;
	margin: 0 0 20px;
	letter-spacing: -0.5px;
}

@media (max-width: 600px) {
	.naples-consent-modal__heading {
		font-size: 26px;
	}
}

.naples-consent-modal__intro {
	font-family: var(--naples-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--naples-dark-slate);
	font-weight: 400;
	margin: 0 0 20px;
}

.naples-consent-modal__list-intro {
	font-family: var(--naples-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--naples-dark-slate);
	font-weight: 500;
	margin: 0 0 12px;
}

.naples-consent-modal__list {
	list-style: disc;
	margin: 0 0 32px;
	padding-left: 22px;
}

.naples-consent-modal__list li {
	font-family: var(--naples-font-body);
	font-size: 15px;
	line-height: 1.6;
	color: var(--naples-dark-slate);
	font-weight: 400;
	margin: 0 0 8px;
}

.naples-consent-modal__list li:last-child {
	margin-bottom: 0;
}

.naples-consent-modal__list li::marker {
	color: var(--naples-primary);
}

.naples-consent-modal__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

@media (max-width: 480px) {
	.naples-consent-modal__actions {
		flex-direction: column;
	}
}

.naples-consent-modal__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-width: 200px;
	padding: 16px 24px;
	font-family: var(--naples-font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.4px;
	line-height: 1.2;
	border: 1px solid var(--naples-primary);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	text-decoration: none;
	text-align: center;
}

.naples-consent-modal__btn--confirm {
	background: var(--naples-primary);
	color: var(--naples-white);
}

.naples-consent-modal__btn--confirm:hover,
.naples-consent-modal__btn--confirm:focus {
	background: #1d4658;
	border-color: #1d4658;
	color: var(--naples-white);
	outline: 0;
}

.naples-consent-modal__btn--cancel {
	background: var(--naples-white);
	color: var(--naples-primary);
}

.naples-consent-modal__btn--cancel:hover,
.naples-consent-modal__btn--cancel:focus {
	background: var(--naples-bg-light);
	outline: 0;
}

/* Body scroll lock when modal is open */
body.naples-consent-open {
	overflow: hidden;
}
