/*!
 * WooPlus File-Protect — protected player + dynamic watermark.
 * The watermark is pointer-events:none + user-select:none and is moved by JS
 * so a screen recording always carries the buyer's identity.
 */
.wpfp-wrap{ --wpfp-accent:#422AFB; margin:22px 0; font-family:'Vazirmatn','Vazir',Tahoma,sans-serif; }
.wpfp-wrap *{ box-sizing:border-box; }
.wpfp-title{ font-size:16px; font-weight:800; margin:0 0 12px; display:flex; align-items:center; gap:8px; }

.wpfp-item{ margin:0 0 16px; }
.wpfp-vname{ font-size:13.5px; font-weight:700; margin:0 0 7px; color:#1b2440; }

.wpfp-player{
	position:relative; width:100%; background:#000; border-radius:14px; overflow:hidden;
	box-shadow:0 18px 42px -26px rgba(15,20,40,.6); line-height:0;
}
.wpfp-player video{ width:100%; height:auto; display:block; border-radius:14px; background:#000; }

/* dynamic watermark overlay */
.wpfp-wm{
	position:absolute; left:6%; top:10%; z-index:5;
	pointer-events:none; user-select:none; -webkit-user-select:none;
	white-space:nowrap; font-weight:700; letter-spacing:.2px;
	text-shadow:0 1px 3px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.7);
	transition:left 1.1s ease, top 1.1s ease; will-change:left,top;
	line-height:1.4;
}

/* anti-crop tiled/diagonal watermark — repeats across the whole frame so it can't be cropped out */
.wpfp-wm-tile{
	position:absolute; inset:0; z-index:4;
	pointer-events:none; user-select:none; -webkit-user-select:none;
	background-repeat:repeat; opacity:.13;
}

/* file (non-video) rows */
.wpfp-file{
	display:flex; align-items:center; gap:12px; justify-content:space-between;
	background:#f7f8fc; border:1px solid #e7eaf3; border-radius:12px; padding:12px 14px;
}
.wpfp-fname{ font-size:13.5px; font-weight:600; color:#1b2440; }
.wpfp-dl{
	display:inline-flex; align-items:center; gap:7px; text-decoration:none;
	background:var(--wpfp-accent); color:#fff; border-radius:10px; padding:9px 16px;
	font-size:13px; font-weight:800; transition:filter .15s, transform .08s;
}
.wpfp-dl:hover{ filter:brightness(.92); color:#fff; }
.wpfp-dl:active{ transform:translateY(1px); }

/* locked (not purchased) */
.wpfp-locked{
	display:flex; align-items:center; gap:11px; flex-wrap:wrap;
	background:#fff7ed; border:1px solid #fed7aa; color:#9a3412;
	border-radius:13px; padding:15px 18px; font-size:13.5px; font-weight:600;
}
.wpfp-locked svg{ flex:0 0 auto; color:#ea7a1c; }
.wpfp-locklist{ margin-inline-start:auto; font-size:12px; background:#fff; border:1px solid #fed7aa; border-radius:8px; padding:3px 9px; }

/* my-account grouping */
.wpfp-acc-prod{ border-top:1px solid #eef1f7; padding-top:6px; margin-top:14px; }
.wpfp-acc-prod h4{ margin:0 0 4px; font-size:14px; }

@media (max-width:600px){
	.wpfp-file{ flex-direction:column; align-items:stretch; }
	.wpfp-dl{ justify-content:center; }
}
