/*
 * IPTVUK — main stylesheet
 * ---------------------------------------------------------------------------
 *  1. Tokens & colour schemes
 *  2. Base & typography
 *  3. Layout helpers
 *  4. Buttons & pills
 *  5. Top bar, header, navigation, drawer
 *  6. Hero
 *  7. Trust bar & section heads
 *  8. Cards, features, channels, devices, steps, reviews
 *  9. Pricing table
 * 10. FAQ accordion
 * 11. CTA band & footer
 * 12. Blog, single, comments, sidebar, widgets
 * 13. Page heroes, breadcrumbs, 404, search, pagination
 * 14. Floating UI (mobile bar, WhatsApp bubble, back-to-top)
 * 15. Forms & plugin normalisation
 * 16. Utilities, motion & print
 * ---------------------------------------------------------------------------
 */

/* ==========================================================================
   1. Tokens & colour schemes
   ========================================================================== */

:root {
	/* Brand colours are re-declared inline by the Customizer. */
	--iptv-brand: #2f6bff;
	--iptv-brand-rgb: 47, 107, 255;
	--iptv-brand-2: #7c3aed;
	--iptv-brand-2-rgb: 124, 58, 237;
	--iptv-accent: #e11d48;
	--iptv-accent-rgb: 225, 29, 72;
	--iptv-ink: #0b1020;
	--iptv-ink-rgb: 11, 16, 32;

	--iptv-wa: #25d366;
	--iptv-tg: #229ed9;
	--iptv-ok: #16a34a;

	/* Light scheme surfaces */
	--iptv-bg: #ffffff;
	--iptv-bg-alt: #f4f6fb;
	--iptv-surface: #ffffff;
	--iptv-surface-2: #f8fafc;
	--iptv-text: #1a2233;
	--iptv-heading: #0b1020;
	--iptv-muted: #64748b;
	--iptv-border: #e3e8f2;
	--iptv-border-strong: #cfd8ea;

	--iptv-shadow-sm: 0 2px 8px rgba(15, 23, 42, .05);
	--iptv-shadow: 0 8px 28px rgba(15, 23, 42, .08);
	--iptv-shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
	--iptv-shadow-brand: 0 14px 36px rgba(var(--iptv-brand-rgb), .3);

	--iptv-radius-sm: 10px;
	--iptv-radius: 16px;
	--iptv-radius-lg: 24px;
	--iptv-radius-pill: 999px;

	--iptv-container: 1220px;
	--iptv-gutter: clamp(16px, 4vw, 28px);
	--iptv-section-y: clamp(56px, 7vw, 96px);

	--iptv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--iptv-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

	--iptv-header-h: 76px;
	--iptv-ease: cubic-bezier(.22, .61, .36, 1);
}

/* Dark scheme */
@media (prefers-color-scheme: dark) {
	:root:not([data-scheme="light"]) {
		--iptv-bg: #080c17;
		--iptv-bg-alt: #0d1424;
		--iptv-surface: #111a2e;
		--iptv-surface-2: #16203a;
		--iptv-text: #d5dcec;
		--iptv-heading: #f2f5fc;
		--iptv-muted: #8e9ab5;
		--iptv-border: #1e2a45;
		--iptv-border-strong: #2b3a5c;
		--iptv-shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
		--iptv-shadow: 0 10px 30px rgba(0, 0, 0, .4);
		--iptv-shadow-lg: 0 28px 70px rgba(0, 0, 0, .55);
	}
}

:root[data-scheme="dark"] {
	--iptv-bg: #080c17;
	--iptv-bg-alt: #0d1424;
	--iptv-surface: #111a2e;
	--iptv-surface-2: #16203a;
	--iptv-text: #d5dcec;
	--iptv-heading: #f2f5fc;
	--iptv-muted: #8e9ab5;
	--iptv-border: #1e2a45;
	--iptv-border-strong: #2b3a5c;
	--iptv-shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
	--iptv-shadow: 0 10px 30px rgba(0, 0, 0, .4);
	--iptv-shadow-lg: 0 28px 70px rgba(0, 0, 0, .55);
}

/* ==========================================================================
   2. Base & typography
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--iptv-header-h) + 20px); }

body {
	margin: 0;
	background: var(--iptv-bg);
	color: var(--iptv-text);
	font-family: var(--iptv-font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	color: var(--iptv-heading);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.375rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--iptv-brand); text-decoration: none; transition: color .18s var(--iptv-ease); }
a:hover { color: var(--iptv-brand-2); }

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

ul, ol { padding-left: 1.2em; }

hr { border: 0; border-top: 1px solid var(--iptv-border); margin: 2rem 0; }

code, pre, kbd { font-family: var(--iptv-mono); font-size: .9em; }

pre {
	background: var(--iptv-bg-alt);
	border: 1px solid var(--iptv-border);
	border-radius: var(--iptv-radius-sm);
	padding: 1rem 1.1rem;
	overflow-x: auto;
}

blockquote {
	margin: 1.6rem 0;
	padding: .2rem 0 .2rem 1.2rem;
	border-left: 3px solid var(--iptv-brand);
	color: var(--iptv-heading);
	font-size: 1.08em;
}

table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid var(--iptv-border); padding: .65rem .8rem; text-align: left; }
th { background: var(--iptv-bg-alt); font-weight: 700; }

::selection { background: rgba(var(--iptv-brand-rgb), .22); }

:focus-visible {
	outline: 3px solid rgba(var(--iptv-brand-rgb), .55);
	outline-offset: 2px;
	border-radius: 6px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	background: var(--iptv-surface);
	color: var(--iptv-brand);
	z-index: 100000;
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */

.iptv-site { position: relative; overflow-x: clip; }

.iptv-container {
	width: 100%;
	max-width: var(--iptv-container);
	margin-inline: auto;
	padding-inline: var(--iptv-gutter);
}

.iptv-container--narrow { max-width: 900px; }

/* Sections alternate surface / tinted so the homepage reads as bands. */
.iptv-section { padding-block: var(--iptv-section-y); background: var(--iptv-bg); }
.iptv-features,
.iptv-vod--movie,
.iptv-channels,
.iptv-devices,
.iptv-faq { background: var(--iptv-bg-alt); }

.iptv-layout { display: grid; gap: clamp(28px, 4vw, 52px); padding-block: var(--iptv-section-y); }
.iptv-layout.has-sidebar { grid-template-columns: 1fr; }

@media (min-width: 992px) {
	.iptv-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
}

.iptv-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.iptv-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.iptv-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.iptv-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.iptv-main.is-canvas > * { max-width: none; }

.iptv-entry { padding-block: clamp(32px, 5vw, 60px); }
.iptv-entry > * { max-width: 800px; margin-inline: auto; }
.iptv-entry > .alignwide { max-width: 1100px; }
.iptv-entry > .alignfull { max-width: none; margin-inline: calc(50% - 50vw); width: 100vw; }
.iptv-entry--wide > *, .iptv-main.is-wc-page .iptv-entry > * { max-width: none; }
.iptv-entry .iptv-section, .iptv-entry .iptv-ctaband, .iptv-entry .iptv-trustbar { max-width: none; margin-inline: calc(50% - 50vw); width: 100vw; }

.alignleft { float: left; margin: .3rem 1.6rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.6rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-element-caption { color: var(--iptv-muted); font-size: .875rem; text-align: center; margin-top: .5rem; }

/* ==========================================================================
   4. Buttons & pills
   ========================================================================== */

.iptv-btn {
	--btn-bg: var(--iptv-brand);
	--btn-fg: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .82rem 1.45rem;
	border: 1px solid transparent;
	border-radius: var(--iptv-radius-pill);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: .95rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .18s var(--iptv-ease), box-shadow .18s var(--iptv-ease), background-color .18s var(--iptv-ease), color .18s var(--iptv-ease);
}

.iptv-btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.iptv-btn:active { transform: translateY(0); }
.iptv-btn svg { flex: none; }

.iptv-btn--primary {
	background: linear-gradient(135deg, var(--iptv-brand) 0%, var(--iptv-brand-2) 100%);
	box-shadow: var(--iptv-shadow-brand);
}
.iptv-btn--primary:hover { box-shadow: 0 18px 44px rgba(var(--iptv-brand-rgb), .42); }

.iptv-btn--outline {
	background: transparent;
	border-color: var(--iptv-border-strong);
	color: var(--iptv-heading);
}
.iptv-btn--outline:hover { border-color: var(--iptv-brand); color: var(--iptv-brand); }

.iptv-btn--light { background: #fff; color: var(--iptv-ink); }
.iptv-btn--light:hover { color: var(--iptv-brand); }

.iptv-btn--ghost {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .28);
	color: #fff;
}
.iptv-btn--ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.iptv-btn--whatsapp { --btn-bg: var(--iptv-wa); color: #06301a; }
.iptv-btn--whatsapp:hover { color: #06301a; box-shadow: 0 14px 34px rgba(37, 211, 102, .35); }

.iptv-btn--telegram { --btn-bg: var(--iptv-tg); }

.iptv-btn--lg { padding: 1.05rem 1.85rem; font-size: 1.02rem; }
.iptv-btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.iptv-btn--block { display: flex; width: 100%; }

.iptv-pill {
	display: inline-flex;
	align-items: center;
	padding: .28rem .7rem;
	border-radius: var(--iptv-radius-pill);
	background: rgba(var(--iptv-brand-rgb), .12);
	color: var(--iptv-brand);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .01em;
}

/* Contact button group */
.iptv-contact-group { display: flex; flex-wrap: wrap; gap: .6rem; }

.iptv-contact-btn {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .62rem 1.1rem;
	border-radius: var(--iptv-radius-pill);
	font-size: .9rem;
	font-weight: 700;
	border: 1px solid transparent;
	transition: transform .18s var(--iptv-ease), background-color .18s var(--iptv-ease);
}
.iptv-contact-btn:hover { transform: translateY(-2px); }

.is-solid .iptv-contact-btn.is-whatsapp { background: var(--iptv-wa); color: #06301a; }
.is-solid .iptv-contact-btn.is-telegram { background: var(--iptv-tg); color: #fff; }
.is-solid .iptv-contact-btn.is-email { background: var(--iptv-heading); color: var(--iptv-bg); }

.is-soft .iptv-contact-btn { background: var(--iptv-surface); border-color: var(--iptv-border); color: var(--iptv-heading); }
.is-soft .iptv-contact-btn.is-whatsapp svg { color: var(--iptv-wa); }
.is-soft .iptv-contact-btn.is-telegram svg { color: var(--iptv-tg); }
.is-soft .iptv-contact-btn:hover { border-color: var(--iptv-brand); color: var(--iptv-brand); }

.is-ghost .iptv-contact-btn { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .26); color: #fff; }
.is-ghost .iptv-contact-btn:hover { background: rgba(255, 255, 255, .24); }

/* ==========================================================================
   5. Top bar, header, navigation, drawer
   ========================================================================== */

.iptv-topbar {
	background: linear-gradient(90deg, var(--iptv-brand) 0%, var(--iptv-brand-2) 100%);
	color: #fff;
	font-size: .84rem;
}

.iptv-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 40px;
	padding-block: .35rem;
}

.iptv-topbar__text { display: flex; align-items: center; gap: .45rem; margin: 0; font-weight: 600; }
.iptv-topbar__links { display: flex; gap: 1.1rem; }
.iptv-topbar__links a { display: inline-flex; align-items: center; gap: .35rem; color: #fff; font-weight: 600; opacity: .95; }
.iptv-topbar__links a:hover { color: #fff; opacity: 1; text-decoration: underline; }

@media (max-width: 860px) {
	.iptv-topbar__links { display: none; }
	.iptv-topbar__text { justify-content: center; width: 100%; text-align: center; font-size: .8rem; }
}

.iptv-header {
	position: relative;
	z-index: 60;
	background: var(--iptv-surface);
	border-bottom: 1px solid var(--iptv-border);
}

body.has-sticky-header .iptv-header { position: sticky; top: 0; }
.iptv-header.is-stuck { box-shadow: var(--iptv-shadow); backdrop-filter: saturate(180%) blur(12px); background: color-mix(in srgb, var(--iptv-surface) 88%, transparent); }

.iptv-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 28px);
	min-height: var(--iptv-header-h);
}

.iptv-header__brand { flex: none; }

.iptv-brand__link { display: inline-flex; align-items: center; gap: .65rem; color: var(--iptv-heading); }
.iptv-brand__mark {
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--iptv-brand), var(--iptv-brand-2));
	color: #fff;
	box-shadow: var(--iptv-shadow-brand);
}
.iptv-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.iptv-brand__name { font-size: 1.22rem; font-weight: 900; letter-spacing: -.03em; }
.iptv-brand__tag { font-size: .72rem; color: var(--iptv-muted); font-weight: 600; }

.custom-logo-link { display: block; }
.custom-logo { max-height: 52px; width: auto; }

/* Primary menu */
.iptv-nav { flex: 1; display: none; }

@media (min-width: 1080px) { .iptv-nav { display: block; } }

.iptv-menu {
	display: flex;
	align-items: center;
	gap: .2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.iptv-menu li { position: relative; }

.iptv-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .6rem .8rem;
	border-radius: 10px;
	color: var(--iptv-heading);
	font-size: .95rem;
	font-weight: 600;
}
.iptv-menu > li > a:hover,
.iptv-menu > li.current-menu-item > a,
.iptv-menu > li.current_page_item > a {
	background: rgba(var(--iptv-brand-rgb), .09);
	color: var(--iptv-brand);
}

.iptv-menu .menu-item-has-children > a::after {
	content: "";
	width: 6px; height: 6px;
	margin-left: .15rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.iptv-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 40;
	min-width: 230px;
	margin: 0;
	padding: .45rem;
	list-style: none;
	background: var(--iptv-surface);
	border: 1px solid var(--iptv-border);
	border-radius: var(--iptv-radius);
	box-shadow: var(--iptv-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s var(--iptv-ease), transform .2s var(--iptv-ease), visibility .2s;
}

.iptv-menu li:hover > .sub-menu,
.iptv-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.iptv-menu .sub-menu .sub-menu { top: -.45rem; left: 100%; }

.iptv-menu .sub-menu a {
	display: block;
	padding: .55rem .7rem;
	border-radius: 9px;
	color: var(--iptv-text);
	font-size: .92rem;
	font-weight: 600;
}
.iptv-menu .sub-menu a:hover { background: var(--iptv-bg-alt); color: var(--iptv-brand); }

.iptv-menu-hint { margin: .4rem 0 0; font-size: .78rem; }

/* Header actions */
.iptv-header__actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }

.iptv-header__chat { display: none; }
.iptv-header__cta { display: none; }

@media (min-width: 1080px) {
	.iptv-header__chat, .iptv-header__cta { display: inline-flex; }
}

.iptv-header__account,
.iptv-cart {
	position: relative;
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	border-radius: 12px;
	color: var(--iptv-heading);
	background: var(--iptv-bg-alt);
}
.iptv-header__account:hover, .iptv-cart:hover { color: var(--iptv-brand); }

.iptv-cart__count {
	position: absolute;
	top: -5px; right: -5px;
	min-width: 20px; height: 20px;
	padding: 0 5px;
	display: grid; place-items: center;
	border-radius: var(--iptv-radius-pill);
	background: var(--iptv-accent);
	color: #fff;
	font-size: .7rem;
	font-weight: 800;
	opacity: 0;
	transform: scale(.6);
	transition: .2s var(--iptv-ease);
}
.iptv-cart__count.has-items { opacity: 1; transform: scale(1); }

/* Burger */
.iptv-burger {
	display: grid;
	align-content: center;
	gap: 5px;
	width: 44px; height: 44px;
	padding: 0 10px;
	border: 0;
	border-radius: 12px;
	background: var(--iptv-bg-alt);
	cursor: pointer;
}
.iptv-burger span { display: block; height: 2px; background: var(--iptv-heading); border-radius: 2px; transition: .25s var(--iptv-ease); }
.iptv-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.iptv-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.iptv-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1080px) { .iptv-burger { display: none; } }

/* Drawer */
.iptv-drawer { position: fixed; inset: 0; z-index: 200; }
.iptv-drawer[hidden] { display: none; }

.iptv-drawer__backdrop {
	position: absolute; inset: 0;
	background: rgba(4, 8, 18, .6);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .28s var(--iptv-ease);
}
.iptv-drawer.is-open .iptv-drawer__backdrop { opacity: 1; }

.iptv-drawer__panel {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	z-index: 2;
	width: min(400px, 88vw);
	display: flex;
	flex-direction: column;
	background: var(--iptv-surface);
	box-shadow: var(--iptv-shadow-lg);
	transform: translateX(100%);
	transition: transform .3s var(--iptv-ease);
}
.iptv-drawer.is-open .iptv-drawer__panel { transform: translateX(0); }

.iptv-drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem;
	padding: 1rem var(--iptv-gutter);
	border-bottom: 1px solid var(--iptv-border);
}
.iptv-drawer__close {
	display: grid; place-items: center;
	width: 42px; height: 42px;
	border: 0; border-radius: 12px;
	background: var(--iptv-bg-alt);
	color: var(--iptv-heading);
	cursor: pointer;
}

.iptv-drawer__body { flex: 1; overflow-y: auto; padding: 1.2rem var(--iptv-gutter) 2rem; display: grid; gap: 1.2rem; align-content: start; }

.iptv-drawer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.iptv-drawer__menu a {
	display: block;
	padding: .8rem .9rem;
	border-radius: 12px;
	color: var(--iptv-heading);
	font-size: 1.02rem;
	font-weight: 700;
}
.iptv-drawer__menu a:hover { background: var(--iptv-bg-alt); color: var(--iptv-brand); }
.iptv-drawer__menu .sub-menu { list-style: none; margin: 0 0 0 .6rem; padding: 0; border-left: 2px solid var(--iptv-border); }
.iptv-drawer__menu .sub-menu a { font-size: .93rem; font-weight: 600; }

.iptv-drawer__hours { display: flex; align-items: center; gap: .45rem; margin: 0; color: var(--iptv-muted); font-size: .88rem; }

/* ==========================================================================
   6. Hero (text only — no image)
   ========================================================================== */

.iptv-hero {
	--hero-fg: #ffffff;
	--hero-soft: rgba(233, 238, 252, .82);
	--hero-line: rgba(255, 255, 255, .18);
	--hero-chip: rgba(255, 255, 255, .07);

	position: relative;
	isolation: isolate;
	padding-block: clamp(52px, 8vw, 104px) clamp(52px, 8vw, 96px);
	background: linear-gradient(165deg, var(--iptv-ink) 0%, #131c36 55%, #0f1830 100%);
	color: var(--hero-fg);
	overflow: hidden;
	text-align: center;
}

.iptv-hero.is-brand {
	background: linear-gradient(140deg, var(--iptv-brand) 0%, var(--iptv-brand-2) 100%);
}

.iptv-hero.is-light {
	--hero-fg: var(--iptv-heading);
	--hero-soft: var(--iptv-muted);
	--hero-line: var(--iptv-border);
	--hero-chip: var(--iptv-surface);
	background: var(--iptv-bg-alt);
	border-bottom: 1px solid var(--iptv-border);
}

.iptv-hero__bg { position: absolute; inset: 0; z-index: -1; }

.iptv-hero__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.iptv-hero__blob--1 { top: -180px; left: -100px; width: 520px; height: 520px; background: rgba(var(--iptv-brand-rgb), .55); }
.iptv-hero__blob--2 { bottom: -220px; right: -80px; width: 560px; height: 560px; background: rgba(var(--iptv-brand-2-rgb), .45); }
.iptv-hero.is-brand .iptv-hero__blob,
.iptv-hero.is-light .iptv-hero__blob { opacity: .22; }

.iptv-hero__grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(80% 65% at 50% 10%, #000 0%, transparent 78%);
	-webkit-mask-image: radial-gradient(80% 65% at 50% 10%, #000 0%, transparent 78%);
}
.iptv-hero.is-light .iptv-hero__grid { opacity: .5; background-image:
	linear-gradient(rgba(15, 23, 42, .06) 1px, transparent 1px),
	linear-gradient(90deg, rgba(15, 23, 42, .06) 1px, transparent 1px); }

.iptv-hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 900px;
}

.iptv-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .42rem .95rem .42rem .65rem;
	margin-bottom: 1.2rem;
	border: 1px solid var(--hero-line);
	border-radius: var(--iptv-radius-pill);
	background: var(--hero-chip);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .01em;
}
.iptv-hero__dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--iptv-wa);
	box-shadow: 0 0 0 0 rgba(37, 211, 102, .7);
	animation: iptv-pulse 2.2s infinite;
}

@keyframes iptv-pulse {
	0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .7); }
	70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
	100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.iptv-hero__title {
	margin: 0 0 1rem;
	color: var(--hero-fg);
	font-size: clamp(2.1rem, 5.4vw, 3.75rem);
	line-height: 1.06;
	letter-spacing: -.035em;
	text-wrap: balance;
}

.iptv-hero__text {
	max-width: 62ch;
	margin: 0 0 1.8rem;
	color: var(--hero-soft);
	font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.iptv-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
	margin-bottom: 1.6rem;
}

.iptv-hero__points {
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: .5rem 1.5rem;
	margin: 0 0 clamp(28px, 4vw, 44px); padding: 0;
	list-style: none;
	font-size: .93rem;
	color: var(--hero-soft);
}
.iptv-hero__points li { display: inline-flex; align-items: center; gap: .4rem; }
.iptv-hero__points svg { color: var(--iptv-wa); }

/* Stats row — replaces the old device mock-up. */
.iptv-hero__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1px;
	width: 100%;
	max-width: 820px;
	margin-bottom: 1.8rem;
	background: var(--hero-line);
	border: 1px solid var(--hero-line);
	border-radius: var(--iptv-radius-lg);
	overflow: hidden;
}
.iptv-hero__stat {
	display: grid;
	gap: .2rem;
	padding: 1.1rem .8rem;
	background: var(--hero-chip);
	backdrop-filter: blur(6px);
}
.iptv-hero.is-light .iptv-hero__stat { background: var(--iptv-surface); }
.iptv-hero__statnum {
	color: var(--hero-fg);
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
	font-weight: 900;
	letter-spacing: -.03em;
	line-height: 1.1;
}
.iptv-hero__statlabel { color: var(--hero-soft); font-size: .82rem; font-weight: 600; }

.iptv-hero__social { display: flex; align-items: center; justify-content: center; gap: .7rem; flex-wrap: wrap; }
.iptv-hero__stars { display: inline-flex; gap: 2px; color: #ffb020; }
.iptv-hero__social p { margin: 0; font-size: .88rem; color: var(--hero-soft); }

/* ==========================================================================
   6b. Horizontal scrollers (movies, series, channels)
   ========================================================================== */

.iptv-scrollhead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: clamp(18px, 2.4vw, 28px);
}
.iptv-scrollhead__copy { max-width: 62ch; }
.iptv-scrollhead__title { margin: 0 0 .4rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.iptv-scrollhead__sub { margin: 0; color: var(--iptv-muted); font-size: 1rem; }
.iptv-scrollhead__link { flex: none; }

@media (max-width: 700px) {
	.iptv-scrollhead { flex-direction: column; align-items: flex-start; gap: .9rem; }
}

.iptv-scroller { position: relative; }

.iptv-scroller__track {
	/* Distance from the viewport edge to the page container's content edge. */
	--edge: max(var(--iptv-gutter), calc(50% - (var(--iptv-container) / 2) + var(--iptv-gutter)));

	display: flex;
	gap: clamp(12px, 1.4vw, 18px);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	padding-block: 4px 20px;
	/* Align the first/last card with the page container, but bleed to the edge. */
	padding-inline: var(--edge);
	/* Without this the snap points sit past the padding and the first card
	   gets pulled flush to the viewport edge on load. */
	scroll-padding-inline: var(--edge);
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--iptv-border-strong) transparent;
	overscroll-behavior-x: contain;
}
.iptv-scroller__track::-webkit-scrollbar { height: 8px; }
.iptv-scroller__track::-webkit-scrollbar-track { background: transparent; }
.iptv-scroller__track::-webkit-scrollbar-thumb { background: var(--iptv-border-strong); border-radius: 99px; }
.iptv-scroller__track::-webkit-scrollbar-thumb:hover { background: var(--iptv-muted); }
.iptv-scroller__track:focus-visible { outline: 3px solid rgba(var(--iptv-brand-rgb), .5); outline-offset: -3px; border-radius: 12px; }

.iptv-scroller.is-grabbing .iptv-scroller__track { scroll-behavior: auto; cursor: grabbing; scroll-snap-type: none; }
.iptv-scroller.is-grabbing .iptv-scroller__track * { pointer-events: none; }

.iptv-scroller__nav {
	position: absolute;
	top: calc(50% - 33px);
	z-index: 5;
	display: none;
	place-items: center;
	width: 46px; height: 46px;
	padding: 0;
	border: 1px solid var(--iptv-border);
	border-radius: 50%;
	background: var(--iptv-surface);
	color: var(--iptv-heading);
	box-shadow: var(--iptv-shadow);
	cursor: pointer;
	transition: transform .18s var(--iptv-ease), color .18s var(--iptv-ease);
}
.iptv-scroller__nav:not([hidden]) { display: grid; }
.iptv-scroller__nav:hover { color: var(--iptv-brand); border-color: var(--iptv-brand); }
.iptv-scroller__nav.is-prev { left: 10px; }
.iptv-scroller__nav.is-prev svg { transform: rotate(180deg); }
.iptv-scroller__nav.is-next { right: 10px; }

@media (hover: none) {
	.iptv-scroller__nav { display: none !important; }
}

/* Poster card (movies & series) */
.iptv-vod { overflow: hidden; }

.iptv-poster {
	flex: 0 0 auto;
	width: clamp(140px, 20vw, 180px);
	scroll-snap-align: start;
	color: inherit;
	text-decoration: none;
}

.iptv-poster__art {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 2 / 3;
	margin-bottom: .65rem;
	border-radius: 14px;
	background: linear-gradient(155deg, var(--art-1, #2f6bff), var(--art-2, #7c3aed));
	box-shadow: var(--iptv-shadow-sm);
	overflow: hidden;
	transition: transform .25s var(--iptv-ease), box-shadow .25s var(--iptv-ease);
}
.iptv-poster:hover .iptv-poster__art { transform: translateY(-5px); box-shadow: var(--iptv-shadow-lg); }
.iptv-poster__art img { width: 100%; height: 100%; object-fit: cover; }

.iptv-poster__initials {
	font-size: clamp(1.9rem, 4vw, 2.5rem);
	font-weight: 900;
	letter-spacing: -.04em;
	color: rgba(255, 255, 255, .92);
	text-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}

.iptv-poster__badge {
	position: absolute;
	top: 8px; left: 8px;
	padding: .18rem .45rem;
	border-radius: 6px;
	background: rgba(8, 12, 24, .62);
	color: #fff;
	font-size: .62rem;
	font-weight: 800;
	letter-spacing: .06em;
	backdrop-filter: blur(4px);
}

.iptv-poster__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(8, 12, 24, .45);
	color: #fff;
	opacity: 0;
	transition: opacity .22s var(--iptv-ease);
}
.iptv-poster__play::before {
	content: "";
	position: absolute;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	border: 2px solid rgba(255, 255, 255, .75);
}
.iptv-poster:hover .iptv-poster__play,
.iptv-poster:focus-visible .iptv-poster__play { opacity: 1; }
.iptv-poster__play svg { position: relative; margin-left: 3px; }

.iptv-poster__title {
	margin: 0 0 .15rem;
	font-size: .92rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--iptv-heading);
}
.iptv-poster__meta { margin: 0; font-size: .8rem; color: var(--iptv-muted); }

/* Channel rows */
.iptv-channels { overflow: hidden; }

.iptv-chanrow + .iptv-chanrow { margin-top: clamp(14px, 2vw, 22px); }

.iptv-chanrow__title {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin: 0 0 .7rem;
	font-size: 1.08rem;
}

.iptv-chan {
	flex: 0 0 auto;
	display: grid;
	gap: .55rem;
	justify-items: center;
	align-content: start;
	width: 128px;
	padding: .95rem .55rem;
	border: 1px solid var(--iptv-border);
	border-radius: 16px;
	background: var(--iptv-surface);
	scroll-snap-align: start;
	transition: transform .2s var(--iptv-ease), border-color .2s var(--iptv-ease), box-shadow .2s var(--iptv-ease);
}
.iptv-chan:hover { transform: translateY(-4px); border-color: rgba(var(--iptv-brand-rgb), .45); box-shadow: var(--iptv-shadow-sm); }

.iptv-chan__logo {
	display: grid;
	place-items: center;
	width: 54px; height: 54px;
	border-radius: 15px;
	background: linear-gradient(150deg, var(--art-1, #2f6bff), var(--art-2, #7c3aed));
	color: #fff;
	font-size: 1.02rem;
	font-weight: 900;
	letter-spacing: -.02em;
	overflow: hidden;
}
.iptv-chan__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

.iptv-chan__name {
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.28;
	text-align: center;
	color: var(--iptv-heading);
}

.iptv-channels__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	margin: clamp(16px, 2vw, 26px) 0 0;
	color: var(--iptv-muted);
	font-size: .88rem;
}
}

/* ==========================================================================
   7. Trust bar & section heads
   ========================================================================== */

.iptv-trustbar { background: var(--iptv-surface); border-bottom: 1px solid var(--iptv-border); }

.iptv-trustbar__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
	gap: .6rem 1.5rem;
	margin: 0; padding: 1.05rem 0;
	list-style: none;
}
.iptv-trustbar__list li {
	display: flex; align-items: center; justify-content: center; gap: .5rem;
	font-size: .92rem; font-weight: 700;
	color: var(--iptv-heading);
}
.iptv-trustbar__list svg { color: var(--iptv-brand); }

.iptv-sectionhead { max-width: 720px; margin: 0 auto clamp(30px, 4vw, 52px); }
.iptv-sectionhead.is-center { text-align: center; }
.iptv-sectionhead.is-left { margin-inline: 0; text-align: left; }

.iptv-eyebrow {
	display: inline-block;
	margin-bottom: .7rem;
	padding: .3rem .8rem;
	border-radius: var(--iptv-radius-pill);
	background: rgba(var(--iptv-brand-rgb), .1);
	color: var(--iptv-brand);
	font-size: .78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .09em;
}

.iptv-sectionhead__title { margin: 0 0 .55rem; }
.iptv-sectionhead__sub { margin: 0; color: var(--iptv-muted); font-size: 1.04rem; }

/* ==========================================================================
   8. Cards, features, channels, devices, steps, reviews
   ========================================================================== */

.iptv-card {
	background: var(--iptv-surface);
	border: 1px solid var(--iptv-border);
	border-radius: var(--iptv-radius);
	box-shadow: var(--iptv-shadow-sm);
	transition: transform .22s var(--iptv-ease), box-shadow .22s var(--iptv-ease), border-color .22s var(--iptv-ease);
}
.iptv-card:hover { transform: translateY(-4px); box-shadow: var(--iptv-shadow); border-color: var(--iptv-border-strong); }

.iptv-feature { padding: clamp(20px, 2.6vw, 30px); }
.iptv-feature__icon {
	display: grid; place-items: center;
	width: 52px; height: 52px;
	margin-bottom: 1rem;
	border-radius: 15px;
	background: linear-gradient(135deg, rgba(var(--iptv-brand-rgb), .16), rgba(var(--iptv-brand-2-rgb), .16));
	color: var(--iptv-brand);
}
.iptv-feature__title { margin: 0 0 .45rem; font-size: 1.13rem; }
.iptv-feature__text { margin: 0; color: var(--iptv-muted); font-size: .95rem; }

/* Channels */
.iptv-channelcard { padding: clamp(20px, 2.6vw, 28px); }
.iptv-channelcard__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.iptv-channelcard__head h3 { margin: 0; font-size: 1.08rem; }

.iptv-channelcard__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .38rem; }
.iptv-channelcard__list li { display: flex; align-items: flex-start; gap: .45rem; color: var(--iptv-muted); font-size: .9rem; }
.iptv-channelcard__list svg { flex: none; margin-top: .2rem; color: var(--iptv-ok); }

/* Devices */
.iptv-devicegrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
	gap: .8rem;
	margin: 0; padding: 0;
	list-style: none;
}
.iptv-devicegrid__item {
	display: flex; align-items: center; gap: .6rem;
	padding: .85rem 1rem;
	border: 1px solid var(--iptv-border);
	border-radius: var(--iptv-radius-sm);
	background: var(--iptv-surface);
	font-size: .9rem;
	font-weight: 700;
	color: var(--iptv-heading);
	transition: .2s var(--iptv-ease);
}
.iptv-devicegrid__item svg { color: var(--iptv-brand); flex: none; }
.iptv-devicegrid__item:hover { border-color: var(--iptv-brand); transform: translateY(-3px); box-shadow: var(--iptv-shadow-sm); }

/* Steps */
.iptv-steps__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: clamp(20px, 3vw, 34px);
	margin: 0; padding: 0;
	list-style: none;
	counter-reset: step;
}
.iptv-steps__item { position: relative; padding-top: .5rem; }
.iptv-steps__num {
	display: inline-grid; place-items: center;
	width: 54px; height: 54px;
	margin-bottom: .9rem;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--iptv-brand), var(--iptv-brand-2));
	color: #fff;
	font-size: 1.05rem;
	font-weight: 900;
	box-shadow: var(--iptv-shadow-brand);
}
.iptv-steps__item h3 { margin: 0 0 .4rem; font-size: 1.14rem; }
.iptv-steps__item p { margin: 0; color: var(--iptv-muted); font-size: .95rem; }

@media (min-width: 900px) {
	.iptv-steps__item:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 27px; left: 68px; right: -18px;
		height: 2px;
		background: repeating-linear-gradient(90deg, var(--iptv-border-strong) 0 8px, transparent 8px 16px);
	}
}

/* Reviews */
.iptv-review { display: flex; flex-direction: column; gap: .9rem; padding: clamp(20px, 2.6vw, 28px); }
.iptv-review__stars { display: flex; gap: 2px; color: #ffb020; }
.iptv-review blockquote { margin: 0; padding: 0; border: 0; font-size: .97rem; color: var(--iptv-text); }
.iptv-review blockquote::before { content: "“"; }
.iptv-review blockquote::after { content: "”"; }
.iptv-review figcaption { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.iptv-review figcaption span { display: flex; flex-direction: column; line-height: 1.3; }
.iptv-review figcaption small { color: var(--iptv-muted); font-size: .82rem; }
.iptv-review__avatar {
	display: grid; place-items: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--iptv-brand), var(--iptv-brand-2));
	color: #fff;
	font-weight: 800;
}

/* ==========================================================================
   9. Pricing table
   ========================================================================== */

.iptv-pricing__tabs {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 auto clamp(26px, 3vw, 38px);
	padding: 5px;
	border: 1px solid var(--iptv-border);
	border-radius: var(--iptv-radius-pill);
	background: var(--iptv-surface);
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.iptv-pricing__tab {
	padding: .55rem 1.15rem;
	border: 0;
	border-radius: var(--iptv-radius-pill);
	background: transparent;
	color: var(--iptv-muted);
	font-size: .9rem;
	font-weight: 700;
	cursor: pointer;
	transition: .2s var(--iptv-ease);
}
.iptv-pricing__tab:hover { color: var(--iptv-heading); }
.iptv-pricing__tab.is-active {
	background: linear-gradient(135deg, var(--iptv-brand), var(--iptv-brand-2));
	color: #fff;
	box-shadow: var(--iptv-shadow-brand);
}

.iptv-plans {
	display: grid;
	gap: clamp(18px, 2.4vw, 26px);
	align-items: stretch;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

@media (min-width: 1024px) {
	.iptv-plans--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; margin-inline: auto; }
	.iptv-plans--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.iptv-plans--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.iptv-plan[hidden] { display: none; }

.iptv-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(24px, 3vw, 34px) clamp(20px, 2.6vw, 30px);
	background: var(--iptv-surface);
	border: 1px solid var(--iptv-border);
	border-radius: var(--iptv-radius-lg);
	box-shadow: var(--iptv-shadow-sm);
	transition: transform .25s var(--iptv-ease), box-shadow .25s var(--iptv-ease), border-color .25s var(--iptv-ease);
}
.iptv-plan:hover { transform: translateY(-6px); box-shadow: var(--iptv-shadow); border-color: rgba(var(--iptv-brand-rgb), .4); }

.iptv-plan.is-popular {
	border-color: transparent;
	box-shadow: var(--iptv-shadow-lg);
	background:
		linear-gradient(var(--iptv-surface), var(--iptv-surface)) padding-box,
		linear-gradient(135deg, var(--iptv-brand), var(--iptv-brand-2)) border-box;
	border: 2px solid transparent;
}

@media (min-width: 1024px) {
	.iptv-plan.is-popular { transform: scale(1.035); z-index: 2; }
	.iptv-plan.is-popular:hover { transform: scale(1.035) translateY(-6px); }
}

.iptv-plan__badge {
	position: absolute;
	top: -14px; left: 50%;
	transform: translateX(-50%);
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .35rem .85rem;
	border-radius: var(--iptv-radius-pill);
	background: linear-gradient(135deg, var(--iptv-brand), var(--iptv-brand-2));
	color: #fff;
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: var(--iptv-shadow-brand);
}

.iptv-plan__head { margin-bottom: 1.1rem; }
.iptv-plan__name { margin: 0 0 .3rem; font-size: 1.28rem; }
.iptv-plan__desc { margin: 0; color: var(--iptv-muted); font-size: .9rem; }

.iptv-plan__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .45rem;
	padding-bottom: 1.15rem;
	margin-bottom: 1.15rem;
	border-bottom: 1px dashed var(--iptv-border);
}

.iptv-plan__amount {
	color: var(--iptv-heading);
	font-size: clamp(2rem, 3.4vw, 2.6rem);
	font-weight: 900;
	letter-spacing: -.03em;
	line-height: 1;
}
.iptv-plan__amount .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.iptv-plan__amount del { font-size: .45em; font-weight: 700; color: var(--iptv-muted); opacity: .8; margin-right: .25em; }
.iptv-plan__amount ins { text-decoration: none; }
.iptv-plan__amount .woocommerce-Price-currencySymbol { font-size: .68em; vertical-align: baseline; }
.iptv-plan__amount small, .iptv-plan__amount .subscription-details { font-size: .38em; font-weight: 700; color: var(--iptv-muted); letter-spacing: 0; }

.iptv-plan__old { color: var(--iptv-muted); font-size: 1.1rem; font-weight: 700; }
.iptv-plan__period { color: var(--iptv-muted); font-size: .92rem; font-weight: 600; }

.iptv-plan__save {
	padding: .22rem .6rem;
	border-radius: var(--iptv-radius-pill);
	background: rgba(22, 163, 74, .12);
	color: var(--iptv-ok);
	font-size: .76rem;
	font-weight: 800;
}

.iptv-plan__features { flex: 1; margin: 0 0 1.4rem; padding: 0; list-style: none; display: grid; gap: .55rem; }
.iptv-plan__features li { display: flex; align-items: flex-start; gap: .55rem; font-size: .93rem; color: var(--iptv-text); }
.iptv-plan__features svg { flex: none; margin-top: .18rem; color: var(--iptv-ok); }

.iptv-plan__actions { display: grid; gap: .55rem; margin-top: auto; }
.iptv-plan__more { text-align: center; font-size: .85rem; font-weight: 600; color: var(--iptv-muted); }
.iptv-plan__more:hover { color: var(--iptv-brand); }

.iptv-plan .added_to_cart {
	display: block;
	text-align: center;
	font-size: .85rem;
	font-weight: 700;
	color: var(--iptv-ok);
}

.iptv-pricing__note {
	max-width: 720px;
	margin: clamp(24px, 3vw, 34px) auto 0;
	color: var(--iptv-muted);
	font-size: .88rem;
	text-align: center;
}

.iptv-admin-note {
	max-width: 720px;
	margin: 1.2rem auto 0;
	padding: .7rem 1rem;
	border: 1px dashed var(--iptv-border-strong);
	border-radius: var(--iptv-radius-sm);
	color: var(--iptv-muted);
	font-size: .85rem;
	text-align: center;
}

/* ==========================================================================
   10. FAQ accordion
   ========================================================================== */

.iptv-accordion { display: grid; gap: .7rem; }
.iptv-accordion--cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }

.iptv-accordion__item {
	background: var(--iptv-surface);
	border: 1px solid var(--iptv-border);
	border-radius: var(--iptv-radius);
	overflow: hidden;
	transition: border-color .2s var(--iptv-ease), box-shadow .2s var(--iptv-ease);
}
.iptv-accordion__item.is-open { border-color: rgba(var(--iptv-brand-rgb), .45); box-shadow: var(--iptv-shadow-sm); }

.iptv-accordion__heading { margin: 0; font-size: inherit; }

.iptv-accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1.05rem 1.2rem;
	border: 0;
	background: transparent;
	color: var(--iptv-heading);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}
.iptv-accordion__trigger:hover { color: var(--iptv-brand); }
.iptv-accordion__chev { flex: none; color: var(--iptv-muted); transition: transform .25s var(--iptv-ease); }
.iptv-accordion__trigger[aria-expanded="true"] .iptv-accordion__chev { transform: rotate(180deg); color: var(--iptv-brand); }

.iptv-accordion__panel { overflow: hidden; }
.iptv-accordion__content { padding: 0 1.2rem 1.2rem; color: var(--iptv-muted); font-size: .95rem; }
.iptv-accordion__content p:last-child { margin-bottom: 0; }

.iptv-faq__cta { margin-top: clamp(24px, 3vw, 36px); text-align: center; }
.iptv-faq__cta p { margin: 0 0 .8rem; color: var(--iptv-muted); font-weight: 600; }
.iptv-faq__cta .iptv-contact-group { justify-content: center; }

/* ==========================================================================
   11. CTA band & footer
   ========================================================================== */

.iptv-ctaband {
	padding-block: clamp(44px, 6vw, 72px);
	background: linear-gradient(135deg, var(--iptv-brand) 0%, var(--iptv-brand-2) 100%);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.iptv-ctaband::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 100% at 85% 0%, rgba(255, 255, 255, .18), transparent 60%);
	pointer-events: none;
}

.iptv-ctaband__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 1.8rem;
	align-items: center;
}
@media (min-width: 900px) { .iptv-ctaband__inner { grid-template-columns: 1.1fr auto; } }

.iptv-ctaband h2 { margin: 0 0 .5rem; color: #fff; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.iptv-ctaband p { margin: 0; color: rgba(255, 255, 255, .9); }
.iptv-ctaband__hours { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem !important; font-size: .88rem; opacity: .85; }
.iptv-ctaband__actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }

.iptv-prefooter { padding-block: clamp(32px, 4vw, 52px); background: var(--iptv-bg-alt); border-top: 1px solid var(--iptv-border); }

.iptv-footer {
	background: var(--iptv-ink);
	color: rgba(226, 232, 245, .78);
	padding-top: clamp(44px, 5vw, 68px);
}
:root[data-scheme="dark"] .iptv-footer { border-top: 1px solid var(--iptv-border); }

.iptv-footer a { color: rgba(226, 232, 245, .78); }
.iptv-footer a:hover { color: #fff; }
.iptv-footer .iptv-brand__link, .iptv-footer .iptv-brand__name { color: #fff; }
.iptv-footer .iptv-brand__tag { color: rgba(226, 232, 245, .5); }

.iptv-footer__top {
	display: grid;
	gap: clamp(30px, 4vw, 56px);
	padding-bottom: clamp(30px, 4vw, 48px);
}
@media (min-width: 900px) { .iptv-footer__top { grid-template-columns: minmax(260px, 1fr) 2fr; } }

.iptv-footer__text { margin: 1rem 0 1.3rem; font-size: .92rem; max-width: 42ch; }

.iptv-footer__contact { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.iptv-footer__contact a { display: flex; align-items: center; gap: .65rem; font-size: .92rem; }
.iptv-footer__contact span { display: flex; flex-direction: column; line-height: 1.25; font-weight: 700; color: #fff; }
.iptv-footer__contact small { font-weight: 500; font-size: .76rem; color: rgba(226, 232, 245, .55); }
.iptv-footer__contact svg { flex: none; color: var(--iptv-brand); }
.iptv-footer__contact li:first-child svg { color: var(--iptv-wa); }
.iptv-footer__contact li:nth-child(2) svg { color: var(--iptv-tg); }

.iptv-footer__widgets {
	display: grid;
	gap: clamp(24px, 3vw, 36px);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
}

.iptv-footer .widget-title, .footer-widget-title {
	margin: 0 0 .9rem;
	color: #fff;
	font-size: .95rem;
	font-weight: 800;
	letter-spacing: .01em;
}

.iptv-footer__menu, .iptv-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.iptv-footer__menu a, .iptv-footer .widget a { font-size: .9rem; }
.iptv-footer .widget { margin-bottom: 1.4rem; }

.iptv-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .8rem 1.4rem;
	padding-block: 1.15rem;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .85rem;
}
.iptv-footer__copy, .iptv-footer__region { margin: 0; }
.iptv-footer__region { display: inline-flex; align-items: center; gap: .4rem; opacity: .7; }
.iptv-footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 0; padding: 0; list-style: none; }

body.has-mobile-bar .iptv-footer__bottom { padding-bottom: calc(1.15rem + 68px); }
@media (min-width: 768px) { body.has-mobile-bar .iptv-footer__bottom { padding-bottom: 1.15rem; } }

/* ==========================================================================
   12. Blog, single, comments, sidebar, widgets
   ========================================================================== */

.iptv-postcard { display: flex; flex-direction: column; overflow: hidden; }
.iptv-postcard__link { display: block; }

.iptv-postcard__thumb { position: relative; aspect-ratio: 16 / 10; background: var(--iptv-bg-alt); overflow: hidden; }
.iptv-postcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--iptv-ease); }
.iptv-postcard:hover .iptv-postcard__thumb img { transform: scale(1.05); }
.iptv-postcard__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--iptv-border-strong); }

.iptv-postcard__cat {
	position: absolute; top: 12px; left: 12px;
	padding: .28rem .65rem;
	border-radius: var(--iptv-radius-pill);
	background: rgba(var(--iptv-ink-rgb), .78);
	color: #fff;
	font-size: .72rem;
	font-weight: 800;
	backdrop-filter: blur(6px);
}

.iptv-postcard__body { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem 1.2rem 1.2rem; flex: 1; }
.iptv-postcard__title { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.iptv-postcard__title a { color: var(--iptv-heading); }
.iptv-postcard__title a:hover { color: var(--iptv-brand); }
.iptv-postcard__excerpt { margin: 0; color: var(--iptv-muted); font-size: .92rem; }
.iptv-postcard__foot {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; margin-top: auto; padding-top: .6rem;
	border-top: 1px solid var(--iptv-border);
	color: var(--iptv-muted); font-size: .82rem;
}
.iptv-postcard__more { display: inline-flex; align-items: center; gap: .2rem; font-weight: 700; }

.iptv-single__head { padding-top: clamp(8px, 2vw, 20px); margin-bottom: 1.4rem; }
.iptv-single__title { margin: 0 0 .8rem; }

.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.1rem; color: var(--iptv-muted); font-size: .88rem; }
.entry-meta__item { display: inline-flex; align-items: center; gap: .35rem; }
.entry-meta a { color: var(--iptv-muted); }
.entry-meta a:hover { color: var(--iptv-brand); }

.iptv-single__thumb { margin-bottom: 1.6rem; border-radius: var(--iptv-radius-lg); overflow: hidden; }
.iptv-page__thumb { margin: 0 0 1.6rem; border-radius: var(--iptv-radius-lg); overflow: hidden; }

.iptv-single .iptv-entry { padding-block: 0; }
.iptv-single .iptv-entry > * { max-width: none; }

.iptv-single__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.8rem; }
.iptv-single__tags a {
	padding: .3rem .8rem;
	border-radius: var(--iptv-radius-pill);
	background: var(--iptv-bg-alt);
	color: var(--iptv-muted);
	font-size: .82rem;
	font-weight: 600;
}
.iptv-single__tags a:hover { background: rgba(var(--iptv-brand-rgb), .1); color: var(--iptv-brand); }

.iptv-single__cta {
	display: grid;
	gap: 1.1rem;
	margin: clamp(30px, 4vw, 48px) 0;
	padding: clamp(22px, 3vw, 32px);
	border-radius: var(--iptv-radius-lg);
	background: linear-gradient(135deg, rgba(var(--iptv-brand-rgb), .1), rgba(var(--iptv-brand-2-rgb), .1));
	border: 1px solid rgba(var(--iptv-brand-rgb), .2);
}
@media (min-width: 760px) { .iptv-single__cta { grid-template-columns: 1fr auto; align-items: center; } }
.iptv-single__cta h2 { margin: 0 0 .3rem; font-size: 1.25rem; }
.iptv-single__cta p { margin: 0; color: var(--iptv-muted); font-size: .95rem; }

.post-navigation { display: grid; gap: .8rem; margin-top: 2rem; }
@media (min-width: 700px) { .post-navigation { grid-template-columns: 1fr 1fr; } }
.post-navigation .nav-links { display: contents; }
.post-navigation a {
	display: block;
	padding: 1rem 1.2rem;
	border: 1px solid var(--iptv-border);
	border-radius: var(--iptv-radius);
	background: var(--iptv-surface);
}
.post-navigation a:hover { border-color: var(--iptv-brand); }
.post-navigation .nav-next { text-align: right; }
.nav-label { display: block; color: var(--iptv-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.nav-title { display: block; color: var(--iptv-heading); font-weight: 700; margin-top: .2rem; }

/* Comments */
.iptv-comments { margin-top: clamp(34px, 4vw, 54px); }
.iptv-comments__title { margin-bottom: 1.2rem; font-size: 1.3rem; }
.iptv-comments__list, .iptv-comments__list .children { list-style: none; margin: 0; padding: 0; }
.iptv-comments__list .children { margin-left: clamp(14px, 3vw, 38px); }
.iptv-comments__list li { margin-bottom: 1rem; }
.comment-body {
	padding: 1.1rem 1.2rem;
	border: 1px solid var(--iptv-border);
	border-radius: var(--iptv-radius);
	background: var(--iptv-surface);
}
.comment-author { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { margin: .2rem 0 .6rem; font-size: .8rem; color: var(--iptv-muted); }
.comment-metadata a { color: var(--iptv-muted); }
.reply { margin-top: .5rem; font-size: .85rem; font-weight: 700; }

.comment-respond { margin-top: 1.8rem; }
.comment-reply-title { font-size: 1.2rem; }
.comment-form { display: grid; gap: .8rem; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: .3rem; font-size: .85rem; font-weight: 700; }
.comment-notes, .comment-form-cookies-consent { font-size: .85rem; color: var(--iptv-muted); }

/* Sidebar + widgets */
.iptv-sidebar { display: grid; gap: 1.2rem; align-content: start; }

.widget {
	padding: 1.2rem 1.3rem;
	border: 1px solid var(--iptv-border);
	border-radius: var(--iptv-radius);
	background: var(--iptv-surface);
}
.widget-title { margin: 0 0 .9rem; font-size: 1.02rem; }
.widget ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.widget ul ul { margin-top: .5rem; padding-left: .9rem; }
.widget li a { color: var(--iptv-text); font-size: .93rem; }
.widget li a:hover { color: var(--iptv-brand); }
.widget select, .widget input[type="text"], .widget input[type="search"] { width: 100%; }

.iptv-sidebar-cta {
	background: linear-gradient(150deg, rgba(var(--iptv-brand-rgb), .1), rgba(var(--iptv-brand-2-rgb), .1));
	border-color: rgba(var(--iptv-brand-rgb), .22);
	display: grid;
	gap: .8rem;
}
.iptv-sidebar-cta p { margin: 0; color: var(--iptv-muted); font-size: .9rem; }

body.has-sticky-header .iptv-sidebar { position: sticky; top: calc(var(--iptv-header-h) + 20px); }

/* ==========================================================================
   13. Page heroes, breadcrumbs, 404, search, pagination
   ========================================================================== */

.iptv-pagehero {
	position: relative;
	padding-block: clamp(34px, 5vw, 62px);
	background: linear-gradient(160deg, var(--iptv-ink), #16203c);
	color: #fff;
	text-align: center;
	overflow: hidden;
}
.iptv-pagehero::after {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(70% 100% at 50% 0%, rgba(var(--iptv-brand-rgb), .35), transparent 65%);
	pointer-events: none;
}
.iptv-pagehero > * { position: relative; z-index: 1; }
.iptv-pagehero__title { margin: 0; color: #fff; }
.iptv-pagehero__text { max-width: 62ch; margin: .7rem auto 0; color: rgba(255, 255, 255, .8); }
.iptv-pagehero .iptv-contact-group { justify-content: center; margin-top: 1.2rem; }
.iptv-pagehero__search { max-width: 520px; margin: 1.2rem auto 0; }

.iptv-breadcrumbs { padding-block: .85rem; border-bottom: 1px solid var(--iptv-border); font-size: .84rem; color: var(--iptv-muted); }
.iptv-breadcrumbs a { color: var(--iptv-muted); }
.iptv-breadcrumbs a:hover { color: var(--iptv-brand); }
.iptv-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.iptv-crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.iptv-breadcrumbs .woocommerce-breadcrumb { color: var(--iptv-muted); }

.iptv-404 { padding-block: clamp(50px, 8vw, 100px); text-align: center; }
.iptv-404__code {
	display: block;
	font-size: clamp(4.5rem, 16vw, 9rem);
	font-weight: 900;
	line-height: .9;
	letter-spacing: -.05em;
	background: linear-gradient(135deg, var(--iptv-brand), var(--iptv-brand-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.iptv-404__title { margin-top: .6rem; }
.iptv-404__text { max-width: 56ch; margin-inline: auto; color: var(--iptv-muted); }
.iptv-404 .iptv-searchform { max-width: 460px; margin: 1.6rem auto; }
.iptv-404__actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-bottom: 1.4rem; }
.iptv-404 .iptv-contact-group { justify-content: center; }

.iptv-noresults { text-align: center; padding: clamp(34px, 5vw, 60px) 1rem; }
.iptv-noresults__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 1rem; border-radius: 22px; background: var(--iptv-bg-alt); color: var(--iptv-muted); }
.iptv-noresults p { max-width: 52ch; margin-inline: auto; color: var(--iptv-muted); }
.iptv-noresults .iptv-searchform { max-width: 440px; margin: 1.2rem auto; }
.iptv-noresults__actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.2rem; }

.iptv-contactpage { display: grid; gap: clamp(26px, 4vw, 46px); padding-block: clamp(36px, 5vw, 64px); }
@media (min-width: 940px) { .iptv-contactpage { grid-template-columns: 1fr 360px; align-items: start; } }
.iptv-contactpage__aside { display: grid; gap: 1rem; }
.iptv-contactcard { padding: 1.4rem 1.5rem; display: grid; gap: .9rem; }
.iptv-contactcard h2 { margin: 0; font-size: 1.18rem; }
.iptv-contactcard p { margin: 0; color: var(--iptv-muted); font-size: .93rem; }
.iptv-contactcard__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.iptv-contactcard__list a { display: flex; align-items: center; gap: .75rem; color: var(--iptv-heading); }
.iptv-contactcard__list span:not(.iptv-contactcard__icon) { display: flex; flex-direction: column; line-height: 1.25; font-size: .9rem; color: var(--iptv-muted); }
.iptv-contactcard__list strong { color: var(--iptv-heading); }
.iptv-contactcard__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--iptv-bg-alt); }
.iptv-contactcard__icon.is-whatsapp { background: rgba(37, 211, 102, .14); color: var(--iptv-wa); }
.iptv-contactcard__icon.is-telegram { background: rgba(34, 158, 217, .14); color: var(--iptv-tg); }
.iptv-contactcard__icon.is-email { background: rgba(var(--iptv-brand-rgb), .12); color: var(--iptv-brand); }
.iptv-contactcard__note { display: flex; align-items: center; gap: .4rem; font-size: .84rem; }

/* Pagination */
.pagination, .woocommerce-pagination { margin-top: clamp(28px, 4vw, 44px); }
.pagination .nav-links, .woocommerce-pagination ul {
	display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem;
	margin: 0; padding: 0; list-style: none; border: 0 !important;
}
.woocommerce-pagination li { border: 0 !important; }
.page-numbers {
	display: grid; place-items: center;
	min-width: 42px; height: 42px;
	padding: 0 .8rem;
	border: 1px solid var(--iptv-border);
	border-radius: 12px;
	background: var(--iptv-surface);
	color: var(--iptv-heading) !important;
	font-weight: 700;
	font-size: .9rem;
}
.page-numbers:hover { border-color: var(--iptv-brand); color: var(--iptv-brand) !important; }
.page-numbers.current {
	background: linear-gradient(135deg, var(--iptv-brand), var(--iptv-brand-2));
	border-color: transparent;
	color: #fff !important;
}
.page-numbers.dots { border: 0; background: transparent; }

/* ==========================================================================
   14. Floating UI
   ========================================================================== */

.iptv-mobilebar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 120;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	background: var(--iptv-surface);
	border-top: 1px solid var(--iptv-border);
	box-shadow: 0 -8px 26px rgba(15, 23, 42, .12);
	padding-bottom: env(safe-area-inset-bottom);
}
.iptv-mobilebar a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .15rem;
	padding: .6rem .4rem;
	color: var(--iptv-heading);
	font-size: .7rem;
	font-weight: 700;
}
.iptv-mobilebar a + a { border-left: 1px solid var(--iptv-border); }
.iptv-mobilebar .is-whatsapp svg { color: var(--iptv-wa); }
.iptv-mobilebar .is-telegram svg { color: var(--iptv-tg); }
.iptv-mobilebar .is-buy svg { color: var(--iptv-brand); }

@media (min-width: 768px) { .iptv-mobilebar { display: none; } }
@media (max-width: 767px) { body.has-mobile-bar { padding-bottom: 62px; } }

.iptv-float-wa {
	position: fixed;
	right: 22px; bottom: 22px;
	z-index: 110;
	display: none;
	align-items: center;
	gap: .55rem;
	width: 60px; height: 60px;
	padding: 0;
	border-radius: var(--iptv-radius-pill);
	background: var(--iptv-wa);
	color: #06301a;
	box-shadow: 0 14px 34px rgba(37, 211, 102, .42);
	overflow: hidden;
	transition: width .3s var(--iptv-ease), padding .3s var(--iptv-ease);
}
.iptv-float-wa svg { flex: none; margin-left: 16px; }
.iptv-float-wa__tip { white-space: nowrap; font-size: .88rem; font-weight: 800; opacity: 0; transition: opacity .2s var(--iptv-ease); }
.iptv-float-wa:hover { width: 250px; color: #06301a; }
.iptv-float-wa:hover .iptv-float-wa__tip { opacity: 1; }

@media (min-width: 768px) { .iptv-float-wa { display: inline-flex; } }

.iptv-totop {
	position: fixed;
	right: 22px; bottom: 92px;
	z-index: 105;
	display: grid; place-items: center;
	width: 46px; height: 46px;
	border: 1px solid var(--iptv-border);
	border-radius: 14px;
	background: var(--iptv-surface);
	color: var(--iptv-heading);
	box-shadow: var(--iptv-shadow);
	cursor: pointer;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .25s var(--iptv-ease), transform .25s var(--iptv-ease);
}
.iptv-totop.is-visible { opacity: 1; transform: none; }
.iptv-totop:hover { color: var(--iptv-brand); border-color: var(--iptv-brand); }
@media (max-width: 767px) { .iptv-totop { bottom: 76px; right: 14px; } }

/* ==========================================================================
   15. Forms & plugin normalisation
   ========================================================================== */

input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="date"],
select, textarea {
	width: 100%;
	padding: .78rem 1rem;
	border: 1px solid var(--iptv-border);
	border-radius: 12px;
	background: var(--iptv-surface);
	color: var(--iptv-text);
	font-family: inherit;
	font-size: .95rem;
	transition: border-color .18s var(--iptv-ease), box-shadow .18s var(--iptv-ease);
}
input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--iptv-brand);
	box-shadow: 0 0 0 4px rgba(var(--iptv-brand-rgb), .13);
}
textarea { min-height: 140px; resize: vertical; }

button, input[type="submit"], .wp-block-button__link {
	font-family: inherit;
	cursor: pointer;
}

input[type="submit"], .wp-block-button__link, .wpcf7-submit, .wpforms-submit, .frm_button_submit {
	padding: .85rem 1.6rem;
	border: 0;
	border-radius: var(--iptv-radius-pill);
	background: linear-gradient(135deg, var(--iptv-brand), var(--iptv-brand-2));
	color: #fff;
	font-weight: 700;
	box-shadow: var(--iptv-shadow-brand);
	transition: transform .18s var(--iptv-ease), box-shadow .18s var(--iptv-ease);
	width: auto;
}
input[type="submit"]:hover, .wp-block-button__link:hover, .wpcf7-submit:hover, .wpforms-submit:hover { transform: translateY(-2px); }

.wpcf7-form { display: grid; gap: .9rem; }
.wpcf7-form label { display: block; font-size: .88rem; font-weight: 700; color: var(--iptv-heading); }
.wpcf7 form .wpcf7-response-output { margin: .6rem 0 0; border-radius: 12px; border-width: 1px; font-size: .9rem; }

.iptv-searchform__field {
	position: relative;
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .3rem .3rem .3rem .9rem;
	border: 1px solid var(--iptv-border);
	border-radius: var(--iptv-radius-pill);
	background: var(--iptv-surface);
}
.iptv-searchform__field svg { flex: none; color: var(--iptv-muted); }
.iptv-searchform__field:focus-within { border-color: var(--iptv-brand); box-shadow: 0 0 0 4px rgba(var(--iptv-brand-rgb), .13); }
.iptv-searchform__input { flex: 1; border: 0; background: transparent; padding: .5rem 0; }
.iptv-searchform__input:focus { box-shadow: none; }
.iptv-searchform__btn {
	flex: none;
	padding: .6rem 1.15rem;
	border: 0;
	border-radius: var(--iptv-radius-pill);
	background: linear-gradient(135deg, var(--iptv-brand), var(--iptv-brand-2));
	color: #fff;
	font-size: .88rem;
	font-weight: 700;
}

/* Cookie banners / notices — keep them above the mobile bar */
#cookie-notice, .cookie-notice-container, .cmplz-cookiebanner { z-index: 130 !important; }
@media (max-width: 767px) { body.has-mobile-bar #cookie-notice { bottom: 62px !important; } }

/* Elementor / builder resets so sections can go full width */
.elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--iptv-container); }
.iptv-main.is-builder > .iptv-container { max-width: none; padding: 0; }

/* ==========================================================================
   16. Utilities, motion & print
   ========================================================================== */

.iptv-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--iptv-ease), transform .6s var(--iptv-ease); }
.iptv-reveal.is-in { opacity: 1; transform: none; }

/* Keep the highlighted plan's scale while it reveals. */
@media (min-width: 1024px) {
	.iptv-plan.is-popular.iptv-reveal { transform: scale(1.035) translateY(18px); }
	.iptv-plan.is-popular.iptv-reveal.is-in { transform: scale(1.035); }
}

/* Drawer sub-menu toggle injected by theme.js */
.iptv-drawer__subtoggle {
	position: absolute;
	top: 4px; right: 4px;
	width: 38px; height: 38px;
	display: grid; place-items: center;
	border: 0; border-radius: 10px;
	background: var(--iptv-bg-alt);
	color: var(--iptv-heading);
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}
.iptv-drawer__menu .menu-item-has-children { position: relative; }
.iptv-drawer__menu .menu-item-has-children > a { padding-right: 52px; }

/* Copy-to-clipboard feedback */
[data-copied] { position: relative; }
[data-copied]::after {
	content: attr(data-copied);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	padding: .3rem .6rem;
	border-radius: 8px;
	background: var(--iptv-heading);
	color: var(--iptv-bg);
	font-size: .74rem;
	font-weight: 700;
	white-space: nowrap;
	pointer-events: none;
}

.iptv-checkout-note {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
	margin-bottom: 1.2rem;
	padding: .9rem 1.1rem;
	border-radius: var(--iptv-radius);
	background: rgba(var(--iptv-brand-rgb), .08);
	border: 1px solid rgba(var(--iptv-brand-rgb), .18);
	font-size: .9rem;
}
.iptv-checkout-note svg { flex: none; margin-top: .1rem; color: var(--iptv-brand); }

.iptv-thankyou {
	margin: 1.6rem 0;
	padding: 1.4rem 1.5rem;
	border-radius: var(--iptv-radius-lg);
	background: var(--iptv-bg-alt);
	border: 1px solid var(--iptv-border);
}
.iptv-thankyou h2 { margin-top: 0; font-size: 1.2rem; }
.iptv-thankyou__steps { margin: 0 0 1.1rem; padding-left: 1.2rem; color: var(--iptv-muted); display: grid; gap: .35rem; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.iptv-reveal { opacity: 1; transform: none; }
}

@media print {
	.iptv-header, .iptv-topbar, .iptv-footer, .iptv-mobilebar, .iptv-float-wa,
	.iptv-totop, .iptv-drawer, .iptv-ctaband, .iptv-breadcrumbs { display: none !important; }
	body { background: #fff; color: #000; font-size: 12pt; }
	.iptv-container { max-width: none; padding: 0; }
	a[href]::after { content: " (" attr(href) ")"; font-size: .8em; word-break: break-all; }
}
