/* Widget-scoped popup. This file is only loaded when the Paid Video Card widget is present. */
.evc-widget-popup[hidden] { display: none !important; }
.evc-widget-popup, .evc-widget-popup * { box-sizing: border-box; }
html.evc-widget-popup-open, html.evc-widget-popup-open body { overflow: hidden !important; }
.elementor-widget-evc-paid-video-card.evc-popup-source-active .evc-pvc-card[data-evc-popup-source="1"] { display: none !important; }

.evc-widget-popup {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 16px;
	margin: 0;
	direction: ltr;
	font-family: inherit;
}
.evc-widget-popup__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: rgba(21, 32, 43, .72);
	backdrop-filter: blur(7px);
}
.evc-widget-popup__panel {
	position: relative;
	z-index: 1;
	display: flex;
	width: min(var(--evc-widget-popup-width, 920px), calc(100vw - 32px));
	max-width: 100%;
	max-height: calc(100vh - 32px);
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(47,64,83,.10);
	border-radius: 24px;
	background: #eaf8fa;
	box-shadow: 0 30px 90px rgba(8,18,28,.34);
	color: #2f4053;
}
.evc-widget-popup__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 20;
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(47,64,83,.15);
	border-radius: 50%;
	background: rgba(255,255,255,.96);
	box-shadow: 0 8px 22px rgba(20,34,48,.14);
	color: #2f4053;
	cursor: pointer;
	font: 400 27px/1 Arial,sans-serif;
}
.evc-widget-popup__media {
	position: relative;
	display: grid;
	width: 100%;
	height: clamp(220px, 37vh, 345px);
	min-height: 0;
	flex: 0 1 auto;
	place-items: center;
	overflow: hidden;
	background: #f5efe6;
}
.evc-widget-popup__media img,
.evc-widget-popup__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	min-width: 0;
	object-fit: contain;
	object-position: center;
}
.evc-widget-popup__placeholder { display:grid; place-items:center; color:#6c7d8a; font-weight:800; letter-spacing:.1em; }
.evc-widget-popup__play {
	position: absolute;
	top: 50%; left: 50%;
	display: grid;
	width: 68px; height: 68px;
	place-items: center;
	border: 1px solid rgba(255,255,255,.8);
	border-radius: 50%;
	background: rgba(255,255,255,.94);
	box-shadow: 0 14px 35px rgba(20,34,48,.20);
	transform: translate(-50%,-50%);
}
.evc-widget-popup__play i { width:0; height:0; margin-left:5px; border-top:10px solid transparent; border-bottom:10px solid transparent; border-left:16px solid #ff7447; }
.evc-widget-popup__download,
.evc-widget-popup__lock {
	position: absolute;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	max-width: calc(100% - 28px);
	padding: 7px 10px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 750;
	line-height: 1.2;
	white-space: nowrap;
}
.evc-widget-popup__download { top:12px; left:12px; background:rgba(255,255,255,.96); color:#2f4053; }
.evc-widget-popup__lock { right:12px; bottom:12px; background:rgba(39,54,69,.86); color:#fff; }
.evc-widget-popup__content { min-width:0; flex:0 0 auto; padding:16px 22px 18px; }
.evc-widget-popup__top { display:flex; min-width:0; align-items:center; justify-content:space-between; gap:10px; margin-bottom:7px; }
.evc-widget-popup__badge { flex:0 0 auto; padding:5px 8px; border-radius:7px; background:rgba(255,124,76,.12); color:#ff7447; font-size:9px; font-weight:850; letter-spacing:.08em; }
.evc-widget-popup__access { display:inline-flex; min-width:0; align-items:center; gap:6px; color:#5a6c7c; font-size:10px; font-weight:650; white-space:nowrap; }
.evc-widget-popup__access i { width:7px; height:7px; flex:0 0 7px; border-radius:50%; background:#23a878; box-shadow:0 0 0 3px rgba(35,168,120,.12); }
.evc-widget-popup__content h2 { margin:0 0 6px; color:#2f4053; font-size:clamp(25px,3vw,37px); font-weight:780; letter-spacing:-.035em; line-height:1.04; overflow-wrap:anywhere; }
.evc-widget-popup__desc { display:-webkit-box; overflow:hidden; margin:0 0 8px; color:#627487; font-size:12px; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.evc-widget-popup__meta { display:flex; min-width:0; flex-wrap:wrap; gap:6px; margin-bottom:8px; }
.evc-widget-popup__meta span { padding:5px 8px; border:1px solid rgba(47,64,83,.08); border-radius:8px; background:rgba(255,255,255,.58); color:#536777; font-size:10px; font-weight:650; }
.evc-widget-popup__features { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px 12px; margin:0 0 9px; padding:0; list-style:none; }
.evc-widget-popup__features li { display:flex; min-width:0; align-items:flex-start; gap:6px; color:#455a6b; font-size:10px; line-height:1.25; overflow-wrap:anywhere; }
.evc-widget-popup__features li span { display:grid; width:16px; height:16px; flex:0 0 16px; place-items:center; border-radius:50%; background:rgba(255,124,76,.14); color:#ff7447; font-size:9px; font-weight:900; }
.evc-widget-popup__purchase { display:grid; grid-template-columns:minmax(120px,auto) minmax(0,1fr); align-items:center; gap:12px; padding-top:9px; border-top:1px solid rgba(47,64,83,.10); }
.evc-widget-popup__price { display:flex; min-width:0; flex-direction:column; }
.evc-widget-popup__price small { margin-bottom:2px; color:#71828f; font-size:8px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.evc-widget-popup__price strong { color:#2f4053; font-size:27px; font-weight:800; line-height:1; white-space:nowrap; }
.evc-widget-popup__buy { display:inline-flex; width:100%; min-width:0; min-height:48px; align-items:center; justify-content:center; gap:10px; padding:11px 16px; border:0; border-radius:12px; background:#2f4053; color:#fff; cursor:pointer; font-family:inherit; font-size:13px; font-weight:750; line-height:1.2; }
.evc-widget-popup__buy span { min-width:0; overflow-wrap:anywhere; }
.evc-widget-popup__buy b { flex:0 0 auto; font-size:18px; font-weight:400; }
.evc-widget-popup__payments { display:flex; min-width:0; align-items:center; gap:6px; margin-top:8px; color:#637786; }
.evc-widget-popup__payments > span { display:inline-flex; height:20px; align-items:center; padding:0 6px; border:1px solid rgba(47,64,83,.11); border-radius:5px; background:rgba(255,255,255,.68); color:#3e5263; font-size:8px; font-weight:800; }
.evc-widget-popup__payments > small { min-width:0; margin-left:auto; font-size:9px; }

@media (max-width: 600px) {
	.evc-widget-popup { padding:8px; }
	.evc-widget-popup__panel { width:calc(100vw - 16px); max-height:calc(100vh - 16px); border-radius:18px; }
	.evc-widget-popup__media { height:clamp(180px,31vh,250px); }
	.evc-widget-popup__content { padding:13px 14px 14px; }
	.evc-widget-popup__top { align-items:flex-start; flex-direction:column; gap:5px; }
	.evc-widget-popup__content h2 { font-size:24px; }
	.evc-widget-popup__features { grid-template-columns:1fr 1fr; gap:4px 8px; }
	.evc-widget-popup__purchase { grid-template-columns:1fr; gap:8px; }
	.evc-widget-popup__price { flex-direction:row; align-items:baseline; justify-content:space-between; }
	.evc-widget-popup__payments { flex-wrap:wrap; }
	.evc-widget-popup__payments > small { width:100%; margin:2px 0 0; }
}
@media (max-height: 720px) {
	.evc-widget-popup__media { height:220px; }
	.evc-widget-popup__content { padding-top:12px; padding-bottom:13px; }
	.evc-widget-popup__desc { -webkit-line-clamp:1; margin-bottom:6px; }
	.evc-widget-popup__features li:nth-child(n+3) { display:none; }
	.evc-widget-popup__features { margin-bottom:6px; }
	.evc-widget-popup__content h2 { font-size:27px; }
}
@media (max-height: 610px) {
	.evc-widget-popup__media { height:175px; }
	.evc-widget-popup__desc, .evc-widget-popup__features { display:none; }
	.evc-widget-popup__meta { margin-bottom:5px; }
	.evc-widget-popup__content h2 { font-size:24px; }
}
@media (prefers-reduced-motion: reduce) { .evc-widget-popup__panel { animation:none; } }
