/* Cover-uri default sloturi publicitate pe site live — cod slot doar pe /publicitate/ */
.pub-live-cover-link,
a.pub-live-default-cover {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 0;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	pointer-events: auto !important;
	z-index: 5;
	-webkit-tap-highlight-color: rgba(24, 119, 242, 0.28);
	touch-action: manipulation;
}
.pub-live-cover-link--static,
.pub-live-default-cover.pub-live-cover-link--static {
	cursor: default;
	pointer-events: none !important;
	-webkit-tap-highlight-color: transparent;
}
.pub-live-cover {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	background: #eceff1;
}
.pub-live-cover img,
.pub-live-cover video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	-webkit-user-drag: none;
	user-select: none;
}
/* Campanii sterilizare: afișul întreg în casetă (ca pe Home), fără tăiere pe margini */
.pub-live-cover--campanie {
	background: #0a4a55;
}
.pub-live-cover--campanie img {
	object-fit: contain !important;
	object-position: center center !important;
}
#PW .pt-p43-creative-card .pub-live-cover--campanie img,
#PW .pt-p43-desktop-slot .pub-live-cover--campanie img,
#PW .pt-p43-slot .pub-live-cover--campanie img,
#TW #T3 .t3-box .pub-live-cover--campanie img,
.ilove-case .pub-live-cover--campanie img {
	object-fit: contain !important;
	object-position: center center !important;
	width: 100% !important;
	height: 100% !important;
	max-height: 100% !important;
}
/* Video cu controale: click pe player rămâne pe site */
.pub-live-cover-link--video-player {
	cursor: default;
	pointer-events: auto !important;
}
.pub-live-cover-link--video-player .pub-live-cover video {
	pointer-events: auto;
}
.pub-live-video-link-btn {
	position: absolute !important;
	right: 0.35rem !important;
	top: 0.35rem !important;
	left: auto !important;
	bottom: auto !important;
	inset: auto 0.35rem auto auto !important;
	z-index: 20 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 1.35rem !important;
	height: 1.35rem !important;
	min-width: 1.35rem !important;
	min-height: 1.35rem !important;
	max-width: 1.35rem !important;
	max-height: 1.35rem !important;
	padding: 0 !important;
	margin: 0 !important;
	flex: 0 0 auto !important;
	border-radius: 4px !important;
	background: rgba(15, 23, 42, 0.78) !important;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35) !important;
	pointer-events: auto !important;
	box-sizing: border-box !important;
}
body.page-home-v2 .home-v2-slot-partener a.pub-live-video-link-btn,
body.page-home-v2 .home-v2-mobile-ad-slot a.pub-live-video-link-btn,
body.page-home-v2 #home-col-left .home-v2-slot-partener a.pub-live-video-link-btn,
body.page-home-v2 #home-col-right .home-v2-slot-partener a.pub-live-video-link-btn,
body.page-home-v2 #home-col-left .home-v2-slot-img a.pub-live-video-link-btn,
body.page-home-v2 #home-col-right .home-v2-slot-img a.pub-live-video-link-btn {
	position: absolute !important;
	inset: auto 0.35rem auto auto !important;
	top: 0.35rem !important;
	right: 0.35rem !important;
	width: 1.35rem !important;
	height: 1.35rem !important;
	min-width: 1.35rem !important;
	min-height: 1.35rem !important;
	max-width: 1.35rem !important;
	max-height: 1.35rem !important;
	padding: 0 !important;
	display: inline-flex !important;
	flex: none !important;
}
.pub-live-video-link-btn:hover,
.pub-live-video-link-btn:focus-visible {
	background: rgba(21, 101, 192, 0.92);
	outline: none;
}
.pub-live-cover--strip .pub-live-video-link-btn {
	width: 1.35rem;
	height: 1.35rem;
	font-size: 0.72rem;
	right: 0.12rem;
	top: 0.1rem;
	bottom: auto;
}
/* Bandă cursivă text pe poză — vizibilă, text mai mare */
.pub-live-caption-band {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	height: clamp(2.1rem, 22%, 2.85rem);
	min-height: 2.1rem;
	overflow: hidden;
	pointer-events: none;
	display: flex;
	align-items: center;
	background: linear-gradient(
		180deg,
		rgba(15, 23, 42, 0) 0%,
		rgba(15, 23, 42, 0.55) 28%,
		rgba(15, 23, 42, 0.88) 100%
	);
}
.pub-live-caption-track {
	display: inline-block;
	white-space: nowrap;
	padding: 0.35rem 0.55rem;
	font-family: "Segoe Script", "Brush Script MT", "Apple Chancery", cursive;
	font-size: clamp(1rem, 2.4vw, 1.35rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.15;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
	animation: pub-live-caption-marquee 16s linear infinite;
}
.pub-live-cover--strip .pub-live-caption-band {
	height: 1.45rem;
	min-height: 1.45rem;
}
.pub-live-cover--strip .pub-live-caption-track {
	font-size: 0.78rem;
	padding: 0.15rem 0.35rem;
	animation-duration: 18s;
}
body.page-home-v2 .home-v2-slot-partener .pub-live-caption-band,
body.page-home-v2 .home-v2-mobile-ad-slot .pub-live-caption-band {
	height: clamp(2.25rem, 24%, 3rem) !important;
	min-height: 2.25rem !important;
}
body.page-home-v2 .home-v2-slot-partener .pub-live-caption-track,
body.page-home-v2 .home-v2-mobile-ad-slot .pub-live-caption-track {
	font-size: clamp(1.05rem, 1.6vw, 1.4rem) !important;
	font-weight: 700 !important;
}
@keyframes pub-live-caption-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.pub-live-caption-track {
		animation: none;
		transform: none;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}
.pub-live-cover__tag {
	position: absolute;
	right: 0.28rem;
	bottom: 0.22rem;
	z-index: 2;
	padding: 0.1rem 0.38rem;
	border-radius: 999px;
	font-size: 0.58rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.02em;
	color: #1b5e20;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(129, 199, 132, 0.65);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
	pointer-events: none;
	user-select: none;
}
.pub-live-cover--strip .pub-live-cover__tag {
	font-size: 0.48rem;
	padding: 0.06rem 0.28rem;
	right: 0.12rem;
	bottom: 0.1rem;
}
.pub-live-cover--sidebar .pub-live-cover__tag {
	font-size: 0.62rem;
}
.pub-live-mini-badges {
	position: absolute;
	top: 0.2rem;
	left: 0.2rem;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem;
	pointer-events: none;
}
.pub-live-mini-badge {
	font-size: 0.55rem;
	font-weight: 800;
	padding: 0.08rem 0.28rem;
	border-radius: 999px;
	border: 1px solid transparent;
}
.pub-live-mini-badge--price {
	background: rgba(200, 230, 201, 0.92);
	color: #1b5e20;
	border-color: rgba(76, 175, 80, 0.45);
}
.pub-live-mini-badge--discount {
	background: rgba(255, 205, 210, 0.92);
	color: #b71c1c;
	border-color: rgba(229, 57, 53, 0.35);
}

/* Strip / slot: video player umple celula ca link-ul */
#PW .pt-strip-item.pt-strip-cell--pub .pub-live-cover-link--video-player,
#SW .sw-strip-item.sw-strip-cell--pub .pub-live-cover-link--video-player {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
/* HOME A5/A6 */
body.page-home-v2 .home-v2-slot-partener .pub-live-cover-link {
	position: absolute;
	inset: 0;
}
body.page-home-v2 .home-v2-slot-partener .pub-live-cover-link--video-player,
#PW .pt-p43-slot > .pub-live-cover-link--video-player,
#PW .pt-p43-desktop-slot > .pub-live-cover-link--video-player,
.sw-s4-box-match .pub-live-cover-link--video-player,
.sw-s4-box-ads .pub-live-cover-link--video-player,
.sw-s5-slot .pub-live-cover-link--video-player,
.shw-side-inner-box .pub-live-cover-link--video-player,
.ilove-case .pub-live-cover-link--video-player,
#TW #T3 .t3-box .pub-live-cover-link--video-player {
	position: absolute;
	inset: 0;
	z-index: 2;
	min-height: 0;
}
body.page-mypet .mypet-left-boxes > .mypet-left-box.pub-live-cover-link--video-player {
	position: relative;
	inset: auto;
	display: block;
	flex: 1 1 0;
	min-height: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	overflow: hidden;
}
body.page-home-v2 .home-v2-slot-partener .pub-live-cover {
	height: 100%;
}
body.page-home-v2 .home-v2-pub-badges {
	z-index: 4;
}

/* PT P4/P5 */
.pt-p43-partner-fill.pub-live-cover-link,
.pt-p43-creative-link.pub-live-cover-link,
.pt-pub-fill-link.pub-live-cover-link {
	display: block;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	height: 100%;
}
/* PT: întreg slotul = zonă de tap (evită click-through la P2/A2 dedesubt) */
#PW .pt-p43-slot,
#PW .pt-p43-desktop-slot {
	position: relative;
	overflow: hidden;
}
#PW .pt-p43-slot > .pub-live-cover-link.pt-pub-fill-link,
#PW .pt-p43-slot > a.pt-p43-partner-fill,
#PW .pt-p43-desktop-slot > .pub-live-cover-link.pt-pub-fill-link {
	position: absolute;
	inset: 0;
	z-index: 2;
}
#PW .pt-p43-creative-card .pt-p5-user-avatar {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 0;
}
#PW .pt-p43-creative-card .pt-p5-user-avatar > .pub-live-cover-link.pt-pub-fill-link {
	position: absolute;
	inset: 0;
	z-index: 2;
}
#PW .pt-p43-slot .pub-live-cover,
#PW .pt-p43-desktop-slot .pub-live-cover,
#PW .pt-p43-creative-card .pub-live-cover {
	height: 100%;
	min-height: 100%;
}
.pt-p43-creative-card .pub-live-cover,
.pt-p5-user-avatar .pub-live-cover {
	height: 100%;
	min-height: 3.5rem;
}

/* Benzi cursivă PT / Servicii — celula întreagă = link (a.pt-strip-cell--pub) */
#PW .pt-strip-wrap,
#PW .pt-strip-track,
#SW .sw-strip-wrap,
#SW .sw-strip-track {
	pointer-events: auto;
}
#PW a.pt-strip-item.pt-strip-cell--pub,
#SW a.sw-strip-item.sw-strip-cell--pub {
	display: block;
	flex: 0 0 auto;
	min-width: 0;
	padding: 0 !important;
	overflow: hidden;
	position: relative;
	pointer-events: auto !important;
	z-index: 3;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
}
#PW a.pt-strip-item.pt-strip-cell--pub .pub-live-cover,
#SW a.sw-strip-item.sw-strip-cell--pub .pub-live-cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 100%;
	min-width: 100%;
}
#PW a.pt-strip-item.pt-strip-cell--pub .pub-live-cover--strip,
#SW a.sw-strip-item.sw-strip-cell--pub .pub-live-cover--strip {
	min-height: 2.4rem;
}

/* Servicii S2 / S6 — casete fixe */
.sw-s4-box-match,
.sw-s4-box-ads,
.sw-s5-slot,
.shw-side-inner-box,
.ilove-case {
	position: relative;
	padding: 0;
	overflow: hidden;
}
/* MyPet: <a> = caseta flex (nu wrapper div + link absolut — tap mobil iOS) */
body.page-mypet .mypet-left-boxes > a.mypet-left-box.pub-live-cover-link {
	position: relative;
	inset: auto;
	display: block;
	flex: 1 1 0;
	min-height: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	overflow: hidden;
}
body.page-mypet .mypet-left-boxes > a.mypet-left-box .pub-live-cover {
	height: 100%;
	min-height: 100%;
}
.sw-s4-box-match .pub-live-cover-link,
.sw-s4-box-ads .pub-live-cover-link,
.sw-s5-slot .pub-live-cover-link,
.shw-side-inner-box .pub-live-cover-link,
.ilove-case .pub-live-cover-link {
	position: absolute;
	inset: 0;
	min-height: 0;
}

/* Shop */
.shw-side-inner-box .pub-live-cover-link {
	min-height: 4rem;
}

#TW #T3.tw-cell {
	position: relative;
	z-index: 6;
}
#TW #T3 .t3-box {
	position: relative;
	overflow: hidden;
	z-index: 1;
}
#TW #T3 .t3-box .pub-live-cover-link {
	position: absolute;
	inset: 0;
	z-index: 2;
	min-height: 0;
}

/* I Love laterale */
body.page-home-v2 .home-v2-slot-partener > a .pub-live-cover__tag,
body.page-home-v2 .home-v2-slot-partener > a.pub-live-default-cover .pub-live-cover__tag {
	position: absolute;
	right: 0.35rem;
	bottom: 0.3rem;
	z-index: 2;
}

.ilove-case .pub-live-cover-link {
	min-height: clamp(4.5rem, 12vh, 7rem);
}

/* MyPet mobil: pub deasupra conținutului — tap pe întreaga casetă */
@media (max-width: 767.98px) and (orientation: portrait) {
	body.page-mypet.page-mypet-magazin:not(.page-mypet-fisa) .sidebar-left {
		position: relative;
		z-index: 8;
		isolation: isolate;
		pointer-events: auto;
	}
	body.page-mypet.page-mypet-magazin:not(.page-mypet-fisa) .layout .main-content {
		position: relative;
		z-index: 1;
	}
	body.page-mypet.page-mypet-magazin:not(.page-mypet-fisa) .mypet-left-boxes > a.mypet-left-box {
		pointer-events: auto !important;
		touch-action: manipulation;
		-webkit-tap-highlight-color: rgba(24, 119, 242, 0.28);
	}
}
@media (orientation: landscape) and (max-height: 34em) {
	body.page-mypet.page-mypet-magazin:not(.page-mypet-fisa) .sidebar-left {
		position: relative;
		z-index: 8;
		isolation: isolate;
		pointer-events: auto;
	}
	body.page-mypet.page-mypet-magazin:not(.page-mypet-fisa) .layout .main-content {
		position: relative;
		z-index: 1;
	}
}
