/**
 * Tribe Botanicals - Shared popup base (overlay, card, close, logo)
 * Used by: age gate + newsletter. Keep this; both depend on it.
 */

.tribe-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(18, 36, 26, 0.72);
	backdrop-filter: blur(6px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility .3s ease;
}
.tribe-popup-overlay.is-open {
	opacity: 1;
	visibility: visible;
}
.tribe-popup-card {
	position: relative;
	width: 100%;
	max-width: 460px;
	background: #fff;
	border-radius: 18px;
	padding: 42px 38px 38px;
	text-align: center;
	box-shadow: 0 30px 80px rgba(12, 26, 18, 0.35);
	transform: translateY(16px) scale(.97);
	transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.tribe-popup-overlay.is-open .tribe-popup-card {
	transform: translateY(0) scale(1);
}

.tribe-popup-close {
	position: absolute;
	top: 14px;
	right: 16px;
	border: none;
	background: none;
	cursor: pointer;
	padding: 6px;
	line-height: 0;
	opacity: .55;
	transition: opacity .2s ease, transform .2s ease;
	z-index: 2;
}
.tribe-popup-close:hover {
	opacity: 1;
	transform: rotate(90deg);
}
.tribe-popup-close svg {
	width: 18px;
	height: 18px;
	stroke: #23432B;
	stroke-width: 2;
	stroke-linecap: round;
}

.tribe-popup-logo {
	margin: 0 auto 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tribe-popup-logo img {
	max-width: 180px;
	height: auto;
}

@media (max-width: 480px) {
	.tribe-popup-card {
		padding: 34px 24px 30px;
	}
}
