:root {
	--nep-overlay: rgba(7, 18, 23, 0.64);
	--nep-surface: #ffffff;
	--nep-ink: #071217;
	--nep-muted: #5c6970;
	--nep-accent: #e3cea5;
	--nep-accent-strong: #e3cea5;
	--nep-radius: 24px;
}

html.nep-popup-open,
body.nep-popup-open {
	overflow: hidden;
}

.nep-popup-layer[hidden] {
	display: none !important;
}

.nep-popup-layer {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	position: fixed;
	z-index: 999999;
}

.nep-popup-backdrop {
	background: var(--nep-overlay);
	inset: 0;
	position: absolute;
}

.nep-popup-shell {
	outline: none;
	padding: 24px;
	position: relative;
	z-index: 1;
}

/* Vertical position classes */
.nep-popup-shell.nep-position-top {
	align-self: flex-start;
}

.nep-popup-shell.nep-position-center {
	align-self: center;
}

.nep-popup-shell.nep-position-bottom {
	align-self: flex-end;
}

.nep-popup-panel {
	background: var(--nep-background, var(--nep-surface, #ffffff));
	border-radius: var(--nep-radius);
	box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
	color: var(--nep-text, #071217);
	max-height: none;
	max-width: min(var(--nep-max-width, 560px), 100%);
	overflow: visible;
	position: relative;
	transform: translateY(20px) scale(0.98);
	opacity: 0;
	transition: transform 0.24s ease, opacity 0.24s ease;
	width: 100%;
}

.nep-popup-media-bg {
	border-radius: inherit;
	inset: 0;
	position: absolute;
}

.nep-popup-panel.has-background-image .nep-popup-media-bg {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.nep-popup-layer.is-visible .nep-popup-panel {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.nep-popup-panel.nep-animation-fade {
	transform: none;
	opacity: 0;
}

.nep-popup-layer.is-visible .nep-popup-panel.nep-animation-fade {
	transform: none;
	opacity: 1;
}

.nep-popup-panel.nep-animation-slide {
	transform: translateY(40px) scale(1);
	opacity: 0;
}

.nep-popup-layer.is-visible .nep-popup-panel.nep-animation-slide {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.nep-popup-close {
	align-items: center;
	background: rgba(7, 18, 23, 0.0);
	border: 0;
	border-radius: 999px;
	color: var(--nep-ink);
	cursor: pointer;
	display: inline-flex;
	font-size: 42px!important;
	height: 42px;
	justify-content: center;
	position: absolute;
	right: 14px;
	top: 14px;
	width: 42px;
	z-index: 2;
	color:#464343;
}

.nep-popup-body {
	display: grid;
	gap: 18px;
	padding: 44px 32px 32px;
	position: relative;
	z-index: 1;
	text-align: center;
}

.nep-popup-eyebrow {
	color: var(--nep-accent);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.24em;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.nep-popup-eyebrow[hidden] {
	display: none;
}

.nep-popup-title {
	color: var(--nep-title, var(--nep-ink, #071217));
	font-size: clamp(28px, 4.5vw, 48px);
	line-height: 1.02;
	margin: 0;
}

.nep-popup-title:empty {
	display: none;
}

.nep-popup-title[hidden] {
	display: none;
}

.nep-popup-content {
	color: var(--nep-text, var(--nep-ink, #071217));
	font-size: clamp(16px, 2.6vw, 19px);
	line-height: 1.6;
}

.nep-popup-content > :first-child {
	margin-top: 0;
}

.nep-popup-content > :last-child {
	margin-bottom: 0;
}

.nep-popup-content p,
.nep-popup-content ul,
.nep-popup-content ol {
	margin: 0 0 16px;
}

.nep-popup-content img {
	border-radius: 18px;
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 100%;
}

.nep-popup-content .nep-geo-flag,
.nep-popup-content .nep-popup-geo-row,
.nep-popup-content .nep-geo-flag-source,
.nep-popup-content .nep-gtranslate-dropdown {
	margin: 0 auto 16px;
	max-width: 100%;
}

.nep-popup-content .nep-geo-flag {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.nep-popup-content .nep-gtranslate-dropdown {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 12px;
}

.nep-popup-content .nep-gtranslate-dropdown .gtranslate_wrapper {
	width: fit-content !important;
	max-width: 320px !important;
	margin: 0 auto !important;
	display: inline-flex !important;
}

.nep-popup-content .nep-gtranslate-dropdown .gt_switcher,
.nep-popup-content .nep-gtranslate-dropdown .gt_switcher.notranslate {
	width: fit-content !important;
	max-width: 320px !important;
	min-width: 0 !important;
	margin: 0 auto !important;
	position: relative;
	overflow: visible !important;
	line-height: 1.4 !important;
	white-space: normal !important;
	display: inline-flex !important;
	flex-wrap: nowrap !important;
}

.nep-popup-content .nep-gtranslate-dropdown .gt_switcher.notranslate {
	min-width: 0 !important;
}

.nep-popup-content .nep-gtranslate-dropdown .gt_switcher a {
	line-height: 1.4 !important;
}

.nep-popup-content .nep-gtranslate-dropdown [class*="gt_container-"] .gt_switcher,
.nep-popup-content .nep-gtranslate-dropdown [class*="gt_container-"].gt_switcher,
.nep-popup-content .nep-gtranslate-dropdown .gt_switcher {
	width: auto !important;
	max-width: 320px !important;
	margin: 0 auto !important;
	overflow: visible !important;
	line-height: 1.4 !important;
	white-space: normal !important;
	min-width: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
}

.nep-popup-content .nep-gtranslate-dropdown .gt_switcher a {
	width: auto !important;
	min-width: 0 !important;
}

.nep-popup-content .nep-gtranslate-dropdown .gt_selected {
	display: inline-flex !important;
	width: auto !important;
	max-width: 320px !important;
}

.nep-popup-content .nep-gtranslate-dropdown .gt_selected a {
	display: inline-flex !important;
	align-items: center;
	justify-content: space-between;
	width: fit-content !important;
	max-width: 320px !important;
	min-width: 0 !important;
	white-space: nowrap !important;
	box-sizing: border-box;
	padding: 10px 14px !important;
	border: 1px solid #ddd !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: inherit !important;
	text-decoration: none !important;
	cursor: pointer;
	min-height: 48px !important;
}


.nep-popup-content .nep-gtranslate-dropdown .gt_selected a img {
	margin-right: 8px;
}

.nep-popup-content .nep-gtranslate-dropdown .gt_option {
	width: auto !important;
	max-width: 320px;
	min-width: 0 !important;
	position: relative;
	margin-top: 8px;
	border: 1px solid #ddd;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(0,0,0,0.08);
	display: none !important;
	height: 0 !important;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 0.22s ease, transform 0.22s ease, height 0.22s ease;
	max-height: 260px;
}

.nep-popup-content .nep-gtranslate-dropdown .gt_switcher:has(.gt_selected a.open) .gt_option,
.nep-popup-content .nep-gtranslate-dropdown .gt_option.open {
	display: block !important;
	height: auto !important;
	opacity: 1;
	transform: translateY(0);
	overflow-y: auto;
	overflow-x: hidden;
	width: auto !important;
}

.nep-popup-content .nep-gtranslate-dropdown .gt_option a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	color: #333;
	text-decoration: none;
	width: auto !important;
	white-space: nowrap !important;
}

.nep-popup-content .nep-gtranslate-dropdown .gt_option a:hover {
	background: #f4f4f4;
}

.nep-popup-content .nep-gtranslate-dropdown select,
.nep-popup-content .nep-gtranslate-dropdown .gt_selector {
	width: 100%;
	max-width: 320px;
	padding: 12px 14px;
	border: 1px solid #ddd;
	border-radius: 12px;
	background: #fff;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}

.nep-popup-content .nep-popup-button,
.nep-popup-content a.nep-popup-button {
	background: var(--nep-button-bg, var(--wp--preset--color--primary, var(--global--color-primary, var(--primary-color, #00543d))));
	border-radius: 14px;
	border: 1px solid var(--nep-button-border, rgba(255, 255, 255, 0.16));
	color: var(--nep-button-text, var(--wp--preset--color--on-primary, #ffffff));
	display: inline-flex;
	font-size: 17px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	min-height: 54px;
	min-width: min(100%, 280px);
	padding: 16px 24px;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.nep-popup-content .nep-popup-button:hover,
.nep-popup-content a.nep-popup-button:hover {
	background: var(--nep-button-hover, rgba(0, 84, 61, 0.92));
	filter: none;
	transform: translateY(-1px);
}

.nep-popup-content .nep-popup-button--ghost,
.nep-popup-content a.nep-popup-button--ghost {
	background: transparent;
	border: 1px solid rgba(7, 18, 23, 0.14);
	color: inherit;
}

.nep-popup-content .nep-popup-button--ghost:hover,
.nep-popup-content a.nep-popup-button--ghost:hover {
	background: rgba(7, 18, 23, 0.04);
}

@media (max-width: 640px) {
	.nep-popup-shell {
		align-items: flex-end;
		padding: 12px;
	}

	.nep-popup-panel {
		border-radius: 22px 22px 18px 18px;
		max-height: min(92vh, 920px);
	}

	.nep-popup-body {
		gap: 16px;
		padding: 42px 20px 24px;
	}

	.nep-popup-content .nep-popup-button,
	.nep-popup-content a.nep-popup-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nep-popup-panel,
	.nep-popup-content .nep-popup-button,
	.nep-popup-content a.nep-popup-button {
		transition: none;
	}
}

/* Container Mobile Fixes */
.luxury-geo-popup {
    text-align: center;
    padding: 10px;
}

.luxury-geo-popup h2 {
    font-size: 18px !important;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Remove bullets and fix spacing */
.benefit-box p {
    margin: 5px 0 !important;
    font-size: 14px;
    color: #666;
}

/* Fix the black button */
.btn-continue-shop {
    display: block !important;
    background: #000 !important;
    color: #fff !important;
    padding: 15px !important;
    text-decoration: none !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    border-radius: 4px;
    margin: 20px auto;
    width: 90%;
}

/* Hide the switcher by default */
.switcher-inline {
    display: none;
    margin-bottom: 20px;
}

/* Fix YayCurrency dropdown on mobile */
.yay-currency-custom-select-wrapper {
    max-width: 100% !important;
    margin: 0 auto;
}

.yay-currency-custom-select__trigger {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
}

.change-link {
    font-size: 12px;
    text-decoration: underline;
    color: #888;
    cursor: pointer;
}
