/* LHN — Home-visit popup (shown after add-to-cart, or after leaving cart/checkout). */
.lhn-hv[hidden] { display: none !important; }
.lhn-hv {
	--hv-gold: #B79B56; --hv-champagne: #D0BE91; --hv-gold-dark: #937C49;
	--hv-deep: #34283D; --hv-abyss: #271E30; --hv-border: #5A4A68;
	--hv-ivory: #FAF7F1; --hv-txt2: #C9BFD4;
	--hv-display: 'Cormorant Garamond', Georgia, serif;
	--hv-body: 'Jost', system-ui, -apple-system, sans-serif;
	position: fixed; inset: 0; z-index: 2147483000;
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
}
.lhn-hv[dir="rtl"] {
	--hv-display: 'El Messiri', 'Cormorant Garamond', Georgia, serif;
	--hv-body: 'Tajawal', 'Jost', system-ui, -apple-system, sans-serif;
}
.lhn-hv__backdrop {
	position: absolute; inset: 0;
	background: rgba(20, 14, 26, .72);
	backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
	opacity: 0; transition: opacity .3s ease;
}
.lhn-hv__card {
	position: relative; width: 100%; max-width: 400px;
	max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto;
	background: linear-gradient(180deg, var(--hv-deep) 0%, var(--hv-abyss) 100%);
	border: 1px solid rgba(183, 155, 86, .55); border-radius: 18px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .55), inset 0 0 0 4px rgba(183, 155, 86, .08);
	color: var(--hv-ivory); text-align: center;
	opacity: 0; transform: translateY(18px) scale(.97);
	transition: opacity .3s ease, transform .3s ease;
}
.lhn-hv.is-open .lhn-hv__backdrop { opacity: 1; }
.lhn-hv.is-open .lhn-hv__card { opacity: 1; transform: none; }

.lhn-hv__close {
	position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2;
	width: 38px; height: 38px; border-radius: 50%;
	display: grid; place-items: center; padding: 0; cursor: pointer;
	background: rgba(39, 30, 48, .7); color: var(--hv-champagne);
	border: 1px solid rgba(183, 155, 86, .5);
	transition: background .2s ease, color .2s ease;
}
.lhn-hv__close:hover, .lhn-hv__close:focus-visible { background: var(--hv-gold); color: var(--hv-abyss); outline: none; }
.lhn-hv__close svg { width: 16px; height: 16px; }

.lhn-hv__logo { padding: 18px 0 10px; }
.lhn-hv__logo img { height: 46px; width: auto; display: inline-block; }

.lhn-hv__media { margin: 0 16px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(183, 155, 86, .35); aspect-ratio: 800 / 600; background: #fff; }
.lhn-hv__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }

.lhn-hv__body { padding: 20px 22px 22px; }
.lhn-hv__title {
	margin: 0 0 10px; font-family: var(--hv-display); font-weight: 600;
	font-size: 28px; line-height: 1.25; letter-spacing: .01em;
	background: linear-gradient(180deg, #D0BE91, #B79B56 55%, #937C49);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.lhn-hv__title .lhn-hv__gem { -webkit-text-fill-color: initial; color: initial; }
.lhn-hv__lead { margin: 0 0 8px; font-family: var(--hv-body); font-size: 17px; font-weight: 500; color: var(--hv-ivory); line-height: 1.6; }
.lhn-hv__text { margin: 0 0 18px; font-family: var(--hv-body); font-size: 15px; color: var(--hv-txt2); line-height: 1.75; }
.lhn-hv__divider { display: flex; align-items: center; gap: 10px; margin: 0 auto 16px; max-width: 220px; color: var(--hv-gold); }
.lhn-hv__divider::before, .lhn-hv__divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--hv-gold), transparent); }
.lhn-hv__divider svg { width: 12px; height: 12px; }

.lhn-hv__cta {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; min-height: 52px; padding: 12px 18px; border-radius: 999px;
	background: linear-gradient(180deg, #D0BE91, #B79B56 55%, #937C49);
	color: #271E30 !important; text-decoration: none !important;
	font-family: var(--hv-body); font-size: 16px; font-weight: 600; letter-spacing: .02em;
	box-shadow: 0 8px 22px rgba(183, 155, 86, .28);
	transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.lhn-hv__cta:hover, .lhn-hv__cta:focus-visible { filter: brightness(1.06); box-shadow: 0 10px 28px rgba(183, 155, 86, .4); transform: translateY(-1px); outline: none; }
.lhn-hv__cta svg { width: 22px; height: 22px; flex: none; }
.lhn-hv__note { margin: 12px 0 0; font-family: var(--hv-body); font-size: 13px; color: var(--hv-txt2); }

html.lhn-hv-lock, html.lhn-hv-lock body { overflow: hidden !important; }

@media (max-width: 380px) {
	.lhn-hv__title { font-size: 24px; }
	.lhn-hv__lead { font-size: 16px; }
	.lhn-hv__text { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.lhn-hv__backdrop, .lhn-hv__card { transition: none; }
}
