/* ==========================================================================
   Pipe-tunes 2 – main stylesheet (design variant B, dark)
   ========================================================================== */

:root {
	--pt-bg: #0B0F14;
	--pt-surface: #121820;
	--pt-surface-2: #161E28;
	--pt-border: #1C2530;
	--pt-border-strong: #2A3542;
	--pt-text: #E6EDF3;
	--pt-white: #FFFFFF;
	--pt-muted: #9AA7B4;
	--pt-accent: #C6F432;
	--pt-accent-hover: #E4FF8A;
	--pt-accent-dark: #8FB82A;
	--pt-on-accent: #0B0F14;
	--pt-error: #FF8A80;
	--pt-font-head: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--pt-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--pt-radius-card: 18px;
	--pt-radius-lg: 22px;
	--pt-radius-input: 12px;
	--pt-section-y: 104px;
	--pt-gutter: 24px;
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html body.pt-theme {
	margin: 0;
	background: var(--pt-bg);
	color: var(--pt-text);
	font-family: var(--pt-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}
body.pt-theme img, body.pt-theme svg, body.pt-theme video { max-width: 100%; height: auto; }
:where(body.pt-theme) :where(a) { color: var(--pt-accent); text-underline-offset: 3px; }
:where(body.pt-theme) :where(a):hover { color: var(--pt-accent-hover); }
body.pt-theme :focus-visible { outline: 2px solid var(--pt-accent); outline-offset: 3px; }
:where(body.pt-theme) :where(h1, h2, h3, h4) {
	font-family: var(--pt-font-head);
	color: var(--pt-white);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin: 0 0 .5em;
}
:where(body.pt-theme) :where(h3, h4) { font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
:where(body.pt-theme) :where(p) { margin: 0 0 1em; }
:where(body.pt-theme) :where(strong, b) { font-weight: 600; color: var(--pt-white); }
body.pt-theme hr { border: 0; border-top: 1px solid var(--pt-border); margin: 2em 0; }
body.pt-theme ::selection { background: var(--pt-accent); color: var(--pt-on-accent); }

.screen-reader-text, .pt-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.pt-skip {
	position: absolute; left: 12px; top: -100px; z-index: 1000;
	background: var(--pt-accent); color: var(--pt-on-accent) !important; font-weight: 600;
	padding: 12px 18px; border-radius: 999px; text-decoration: none;
}
.pt-skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.pt-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pt-gutter); }
.pt-container--narrow { max-width: 860px; }
.pt-container--plan { max-width: 1100px; }
.pt-section { border-top: 1px solid var(--pt-border); padding: var(--pt-section-y) 0; }
.pt-section--flush { border-top: 0; }
.pt-section--hero { border-top: 0; padding: var(--pt-section-y) 0 64px; }
.pt-section--tight { padding-top: 0; border-top: 0; }
.pt-stack { display: flex; flex-direction: column; gap: 40px; }
.pt-stack--sm { gap: 16px; }
.pt-center { text-align: center; align-items: center; }
.pt-main { display: block; min-height: 50vh; }
.pt-page { padding-top: 64px; padding-bottom: var(--pt-section-y); }

/* ---------- Header ---------- */
.pt-header { border-bottom: 1px solid var(--pt-border); background: var(--pt-bg); position: relative; z-index: 50; }
.pt-header__inner { display: flex; align-items: center; gap: 16px 36px; padding-top: 18px; padding-bottom: 18px; }
.pt-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pt-white) !important; min-height: 44px; flex: none; }
.pt-logo svg { width: 30px; height: 30px; flex: none; }
.pt-logo__word { font-family: var(--pt-font-head); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1; }
.pt-logo img.custom-logo { max-height: 36px; width: auto; }

.pt-nav { flex: 1 1 auto; min-width: 0; }
.pt-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.pt-menu li { margin: 0; padding: 0; }
body.pt-theme .pt-menu a { display: inline-flex; align-items: center; min-height: 44px; color: var(--pt-muted); text-decoration: none; }
body.pt-theme .pt-menu a:hover { color: var(--pt-white); }
body.pt-theme .pt-menu .current-menu-item > a, body.pt-theme .pt-menu .current_page_item > a, body.pt-theme .pt-menu a[aria-current="page"] { color: var(--pt-white); }
.pt-menu .lang-item, .pt-menu .pll-parent-menu-item { display: none !important; }
.pt-menu .sub-menu, .pt-menu .children { display: none; }

.pt-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.pt-lang { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
body.pt-theme .pt-lang a {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px;
	border: 1px solid var(--pt-border-strong); border-radius: 999px; color: var(--pt-muted); text-decoration: none;
	font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
body.pt-theme .pt-lang a:hover { color: var(--pt-white); border-color: var(--pt-muted); }
body.pt-theme .pt-lang a[aria-current="true"] { color: var(--pt-white); border-color: var(--pt-accent); }

.pt-mnav { display: none; margin-left: auto; }
.pt-mnav > summary {
	list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border: 1px solid var(--pt-border-strong); border-radius: 999px; color: var(--pt-white);
}
.pt-mnav > summary::-webkit-details-marker { display: none; }
.pt-mnav > summary::marker { content: ''; }
.pt-burger, .pt-burger::before, .pt-burger::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease, background .2s ease; }
.pt-burger::before, .pt-burger::after { content: ''; position: absolute; left: 0; }
.pt-burger::before { top: -6px; }
.pt-burger::after { top: 6px; }
.pt-mnav[open] .pt-burger { background: transparent; }
.pt-mnav[open] .pt-burger::before { transform: translateY(6px) rotate(45deg); }
.pt-mnav[open] .pt-burger::after { transform: translateY(-6px) rotate(-45deg); }
.pt-mnav__panel {
	position: absolute; left: 0; right: 0; top: 100%; background: var(--pt-bg); border-bottom: 1px solid var(--pt-border);
	padding: 8px var(--pt-gutter) 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 40px rgba(0,0,0,.45);
}
.pt-mnav__panel .pt-menu { flex-direction: column; gap: 0; font-size: 18px; }
body.pt-theme .pt-mnav__panel .pt-menu a { width: 100%; min-height: 52px; border-bottom: 1px solid var(--pt-border); }
.pt-mnav__panel .pt-header__actions { flex-wrap: wrap; }
.pt-mnav__panel .pt-btn { flex: 1 1 auto; }

@media (max-width: 899.98px) {
	.pt-nav--desktop, .pt-header__inner > .pt-header__actions { display: none; }
	.pt-mnav { display: block; }
	.pt-header__inner { padding-top: 12px; padding-bottom: 12px; }
}

/* ---------- Buttons ---------- */
.pt-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pt-center .pt-btn-row, .pt-btn-row--center { justify-content: center; }
body.pt-theme .pt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 28px;
	border-radius: 999px; background: var(--pt-accent); color: var(--pt-on-accent); border: 1px solid var(--pt-accent);
	font-family: var(--pt-font-body); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease; text-align: center;
}
body.pt-theme .pt-btn:hover { background: var(--pt-accent-hover); border-color: var(--pt-accent-hover); color: var(--pt-on-accent); }
body.pt-theme .pt-btn--ghost { background: transparent; color: var(--pt-text); border-color: var(--pt-border-strong); }
body.pt-theme .pt-btn--ghost:hover { background: transparent; color: var(--pt-white); border-color: var(--pt-muted); }
body.pt-theme .pt-btn--dark { background: var(--pt-bg); border-color: var(--pt-bg); color: var(--pt-white); }
body.pt-theme .pt-btn--dark:hover { background: #1C2530; border-color: #1C2530; color: var(--pt-white); }
body.pt-theme .pt-btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
body.pt-theme .pt-btn--block { width: 100%; }

/* ---------- Type helpers ---------- */
.pt-eyebrow {
	display: inline-flex; align-items: center; align-self: flex-start; border: 1px solid var(--pt-border-strong); color: var(--pt-accent);
	font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4;
}
.pt-center .pt-eyebrow { align-self: center; }
body.pt-theme .pt-h1 { font-size: clamp(42px, 7.2vw, 76px); line-height: 1.0; letter-spacing: -0.04em; margin: 0; max-width: 900px; }
body.pt-theme .pt-h1--page { font-size: clamp(38px, 5.6vw, 60px); line-height: 1.05; }
body.pt-theme .pt-h2 { font-size: clamp(32px, 4.4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 0; max-width: 760px; }
body.pt-theme .pt-h3 { font-size: 20px; margin: 0; }
.pt-lead { font-size: clamp(18px, 2vw, 20px); color: var(--pt-muted); max-width: 680px; margin: 0; }
.pt-center .pt-lead { margin-left: auto; margin-right: auto; }
.pt-muted { color: var(--pt-muted); }
.pt-small { font-size: 14px; color: var(--pt-muted); }
body.pt-theme .accent { color: var(--pt-accent); }
.pt-facts { font-size: 14px; color: var(--pt-muted); margin: 0; }
.pt-head-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.pt-head-row > span, .pt-head-row > p { color: var(--pt-muted); margin: 0; }

/* ---------- Cards & grids ---------- */
.pt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.pt-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.pt-card {
	background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: var(--pt-radius-card); padding: 28px;
	display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.pt-card > * { margin: 0; }
.pt-card h3 { font-size: 20px; margin: 0; }
.pt-card p, .pt-card li { color: var(--pt-muted); font-size: 16px; }
.pt-card p { margin: 0; }
.pt-card__big { font-family: var(--pt-font-head); color: var(--pt-accent); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.pt-card__label { font-family: var(--pt-font-head); color: var(--pt-accent); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.pt-card .pt-btn-row { margin-top: auto; padding-top: 8px; }

/* Trust strip */
.pt-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; text-align: center; }
.pt-trust__lead { font-family: var(--pt-font-head); font-weight: 600; font-size: 18px; color: var(--pt-white); margin: 0; }
.pt-trust__lead strong { color: var(--pt-accent); }
.pt-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pt-tags li { border: 1px solid var(--pt-border-strong); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--pt-muted); }

/* Steps */
.pt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; counter-reset: pt-step; }
.pt-step {
	counter-increment: pt-step; position: relative; background: var(--pt-surface); border: 1px solid var(--pt-border);
	border-radius: var(--pt-radius-card); padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.pt-step::before {
	content: counter(pt-step); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px;
	background: var(--pt-accent); color: var(--pt-on-accent); font-family: var(--pt-font-head); font-weight: 700; font-size: 20px; margin-bottom: 6px;
}
.pt-step h3 { font-size: 20px; margin: 0; }
.pt-step p { margin: 0; color: var(--pt-muted); font-size: 16px; }
.pt-steps--compact .pt-step { flex-direction: row; align-items: center; gap: 16px; padding: 20px 24px; }
.pt-steps--compact .pt-step::before { margin: 0; flex: none; }
.pt-steps--compact .pt-step p { color: var(--pt-text); }

/* Quote */
.pt-quote { margin: 0 auto; max-width: 900px; text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.pt-quote blockquote { margin: 0; padding: 0; border: 0; font-family: var(--pt-font-head); font-weight: 500; font-size: clamp(22px, 3vw, 32px); line-height: 1.3; letter-spacing: -0.02em; color: var(--pt-white); }
.pt-quote blockquote p { margin: 0; }
.pt-quote figcaption { color: var(--pt-muted); font-size: 15px; }
.pt-quote figcaption strong { color: var(--pt-text); }
.pt-quote__mark { color: var(--pt-accent); font-family: var(--pt-font-head); font-size: 64px; line-height: .6; height: 32px; }

/* ---------- Pricing ---------- */
.pt-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; align-items: stretch; }
.pt-price-card {
	background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: var(--pt-radius-lg); padding: 32px;
	display: flex; flex-direction: column; gap: 12px; min-width: 0; position: relative;
}
.pt-price-card > * { margin: 0; }
.pt-price-card__name { font-weight: 600; color: var(--pt-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.pt-price-card h3.pt-price-card__name, .pt-price-card h2.pt-price-card__name { font-family: var(--pt-font-body); font-size: 17px; letter-spacing: 0; line-height: 1.4; color: var(--pt-muted); }
.pt-price { font-family: var(--pt-font-head); font-size: clamp(44px, 5vw, 56px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; color: var(--pt-white); }
.pt-price small { font-size: 18px; font-weight: 600; letter-spacing: 0; color: var(--pt-muted); }
.pt-price--md { font-size: 40px; }
.pt-vat { font-size: 15px; color: var(--pt-muted); }
.pt-vat strong { color: inherit; font-weight: 600; }
.pt-price-card .pt-btn { margin-top: auto; }
.pt-price-card .pt-list-check { margin: 8px 0 12px; }
.pt-badge {
	display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
	background: var(--pt-accent); color: var(--pt-on-accent);
}
.pt-badge--outline { background: transparent; color: var(--pt-accent); border: 1px solid var(--pt-accent); }
.pt-price-card--featured { background: var(--pt-accent); border-color: var(--pt-accent); color: var(--pt-on-accent); }
body.pt-theme .pt-price-card--featured .pt-price, body.pt-theme .pt-price-card--featured .pt-price-card__name,
body.pt-theme .pt-price-card--featured h3.pt-price-card__name, body.pt-theme .pt-price-card--featured .pt-vat,
body.pt-theme .pt-price-card--featured p, body.pt-theme .pt-price-card--featured li, body.pt-theme .pt-price-card--featured strong,
body.pt-theme .pt-price-card--featured .pt-price small { color: var(--pt-on-accent); }
.pt-price-card--featured .pt-badge { background: var(--pt-on-accent); color: var(--pt-accent); }
body.pt-theme .pt-price-card--featured a:not(.pt-btn) { color: var(--pt-on-accent); }
.pt-price-card--featured .pt-list-check li::before { border-color: var(--pt-on-accent); }
.pt-price-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.pt-price-split > div { border-top: 1px solid var(--pt-border-strong); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }

/* ---------- Lists ---------- */
.pt-list-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pt-list-check li { position: relative; padding-left: 28px; color: var(--pt-text); }
.pt-card .pt-list-check li, .pt-price-card .pt-list-check li { color: var(--pt-muted); font-size: 16px; }
.pt-list-check li::before {
	content: ''; position: absolute; left: 3px; top: .38em; width: 6px; height: 11px;
	border: solid var(--pt-accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* ---------- Tables ---------- */
.pt-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--pt-border); border-radius: var(--pt-radius-card); background: var(--pt-surface); }
.pt-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 16px; }
.pt-table th, .pt-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--pt-border); }
.pt-table thead th { font-family: var(--pt-font-head); color: var(--pt-white); font-weight: 600; font-size: 17px; background: var(--pt-surface-2); }
.pt-table tbody th { color: var(--pt-text); font-weight: 600; }
.pt-table td { color: var(--pt-muted); }
.pt-table td.pt-yes, .pt-table td:last-child { color: var(--pt-text); }
.pt-table tbody tr:last-child th, .pt-table tbody tr:last-child td { border-bottom: 0; }
.pt-table thead th:last-child { color: var(--pt-accent); }

/* ---------- FAQ ---------- */
.pt-faq { display: flex; flex-direction: column; gap: 10px; }
.pt-faq details { background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: 16px; padding: 0 24px; }
.pt-faq details[open] { border-color: var(--pt-border-strong); }
.pt-faq summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 60px; padding: 16px 0; font-weight: 600; font-size: 18px; color: var(--pt-white);
}
.pt-faq summary::-webkit-details-marker { display: none; }
.pt-faq summary::marker { content: ''; }
.pt-faq summary::after {
	content: '+'; flex: none; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--pt-border-strong);
	display: inline-flex; align-items: center; justify-content: center; color: var(--pt-accent); font-size: 20px; font-weight: 500; line-height: 1;
}
.pt-faq details[open] summary::after { content: '\2212'; }
.pt-faq summary:hover { color: var(--pt-accent-hover); }
.pt-faq details > p, .pt-faq details > div { margin: 0 0 20px; color: var(--pt-muted); max-width: 820px; }
.pt-faq-group { display: flex; flex-direction: column; gap: 16px; }
.pt-faq-group + .pt-faq-group { margin-top: 48px; }
.pt-faq-group > h2 { font-size: 24px; margin: 0; letter-spacing: -0.02em; }

/* ---------- Screenshot placeholder ---------- */
.pt-shot {
	min-height: 300px; border: 2px dashed var(--pt-border-strong); border-radius: var(--pt-radius-card); background: rgba(18, 24, 32, .6);
	display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--pt-muted); font-size: 15px; margin: 0;
}
.pt-shot img { border-radius: 12px; display: block; width: 100%; height: auto; }
.pt-shot:has(img) { border-style: solid; border-color: var(--pt-border); padding: 0; min-height: 0; background: transparent; }

/* ---------- Two columns ---------- */
.pt-two-col { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.pt-two-col > * { flex: 1 1 420px; min-width: 0; }
.pt-two-col--top { align-items: flex-start; }
.pt-two-col--reverse { flex-direction: row-reverse; }
.pt-two-col h2 { margin: 0; }
.pt-text { display: flex; flex-direction: column; gap: 18px; }
.pt-text > * { margin: 0; }
.pt-text p { color: var(--pt-muted); }
.pt-text p strong { color: var(--pt-text); }

/* ---------- Cut plan ---------- */
.pt-plan {
	background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: var(--pt-radius-lg); padding: 28px;
	display: flex; flex-direction: column; gap: 18px; margin: 0;
}
.pt-plan__head { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; align-items: center; }
.pt-plan__title { font-family: var(--pt-font-head); font-weight: 600; font-size: 18px; color: var(--pt-white); }
.pt-plan__meta { font-size: 14px; color: var(--pt-muted); }
.pt-plan__meta strong { color: var(--pt-accent); }
.pt-plan__rows { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pt-plan__row { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.pt-plan__count { width: 36px; flex: none; color: var(--pt-muted); font-family: var(--pt-font-head); font-size: 14px; }
.pt-plan__bar { flex: 1 1 auto; min-width: 0; display: flex; gap: 4px; height: 36px; }
.pt-plan__waste { width: 64px; flex: none; text-align: right; color: var(--pt-muted); font-weight: 500; }
.pt-seg {
	flex: 1 1 0; min-width: 3px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
	color: var(--pt-on-accent); overflow: hidden; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.pt-seg--a { background: var(--pt-accent); }
.pt-seg--b { background: var(--pt-accent-hover); }
.pt-seg--c { background: var(--pt-accent-dark); }
.pt-seg--waste { background: var(--pt-border-strong); min-width: 4px; }
.pt-seg--stock { background: transparent; border: 1.5px dashed var(--pt-accent); color: var(--pt-accent); }
.pt-plan figcaption, .pt-plan__caption { color: var(--pt-muted); font-weight: 500; font-size: 13px; }
.pt-plan__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--pt-muted); list-style: none; margin: 0; padding: 0; }
.pt-plan__legend li { display: inline-flex; align-items: center; gap: 6px; }
.pt-plan__legend i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; }

/* ---------- Download / contact / notes ---------- */
.pt-download-card, .pt-contact-card {
	background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: var(--pt-radius-lg); padding: 32px;
	display: flex; flex-direction: column; gap: 14px; min-width: 0;
}
.pt-download-card > *, .pt-contact-card > * { margin: 0; }
.pt-download-card__title { font-family: var(--pt-font-head); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; color: var(--pt-white); line-height: 1.2; }
.pt-download-card__meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pt-download-card__meta li { border: 1px solid var(--pt-border-strong); border-radius: 999px; padding: 4px 12px; font-size: 14px; color: var(--pt-muted); }
.pt-download-card .pt-btn { align-self: stretch; }
.pt-contact-card address { font-style: normal; display: flex; flex-direction: column; gap: 2px; color: var(--pt-text); }
.pt-contact-card__name { font-family: var(--pt-font-head); font-weight: 700; font-size: 20px; letter-spacing: .02em; color: var(--pt-white); }
.pt-contact-card__ids { color: var(--pt-muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.pt-contact-links { display: flex; flex-direction: column; gap: 4px; font-size: 19px; font-weight: 500; }
.pt-contact-links a { display: inline-flex; align-items: center; min-height: 44px; }
.pt-contact-form {
	background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: var(--pt-radius-lg); padding: 32px; min-width: 0;
}
.pt-contact-form > h2 { font-size: 30px; margin: 0 0 18px; }
.pt-contact-form > p:empty { display: none; }
.pt-note { border-left: 3px solid var(--pt-accent); background: var(--pt-surface); border-radius: 0 12px 12px 0; padding: 16px 20px; color: var(--pt-muted); font-size: 15px; margin: 0; }
.pt-note strong { color: var(--pt-text); }
.pt-cta { background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: 28px; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.pt-cta > * { margin: 0; }
.pt-cta p { color: var(--pt-muted); max-width: 640px; }

/* ---------- Generic content (legal pages, WooCommerce pages, plain posts) ---------- */
.pt-page-title { margin: 0 0 32px; font-size: clamp(34px, 5vw, 52px); }
:where(.entry-content) > *:first-child { margin-top: 0; }
:where(.entry-content) h2 { font-size: clamp(26px, 3.2vw, 32px); margin: 1.8em 0 .6em; }
:where(.entry-content) h3 { font-size: 21px; margin: 1.6em 0 .5em; }
:where(.entry-content) h4 { font-size: 18px; margin: 1.4em 0 .4em; }
:where(.entry-content) p, :where(.entry-content) li { color: var(--pt-text); }
:where(.entry-content) ul, :where(.entry-content) ol { padding-left: 1.4em; margin: 0 0 1.2em; }
:where(.entry-content) li { margin: .3em 0; }
:where(.entry-content) li::marker { color: var(--pt-accent); }
:where(.entry-content) blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--pt-accent); color: var(--pt-muted); }
:where(.entry-content) table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 16px; }
:where(.entry-content) th, :where(.entry-content) td { border-bottom: 1px solid var(--pt-border); padding: 12px 14px; text-align: left; vertical-align: top; }
:where(.entry-content) th { color: var(--pt-white); font-family: var(--pt-font-head); font-weight: 600; }
:where(.entry-content) .wp-block-table { overflow-x: auto; }
:where(.entry-content) code { background: var(--pt-surface); border: 1px solid var(--pt-border); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
/* our full-width page layouts reset generic margins */
.entry-content .pt-section h2, .entry-content .pt-section h3 { margin-top: 0; }
.entry-content .pt-section ul, .entry-content .pt-section ol { padding-left: 0; margin-bottom: 0; }
.entry-content .pt-section li { margin: 0; }
.entry-content .pt-section .pt-text ul:not(.pt-list-check), .entry-content .pt-section .pt-text ol:not(.pt-steps) { padding-left: 1.3em; }

/* Legal pages from the previous light design (.pt2web / .legal) */
body.pt-theme .pt2web { background: transparent !important; color: var(--pt-text) !important; font-family: var(--pt-font-body); font-size: 17px; line-height: 1.65; width: auto; margin: 0; overflow: visible; }
body.pt-theme .pt2web [style*="background"] { background: transparent !important; }
body.pt-theme .pt2web [style*="color"]:not(a) { color: inherit !important; }
body.pt-theme .pt2web [style*="border"] { border-color: var(--pt-border) !important; }
body.pt-theme .pt2web [style*="max-width"] { margin-left: auto; margin-right: auto; }
body.pt-theme .pt2web h1, body.pt-theme .pt2web h2, body.pt-theme .pt2web h3, body.pt-theme .pt2web h4 { color: var(--pt-white) !important; font-family: var(--pt-font-head); letter-spacing: -0.02em; }
body.pt-theme .pt2web h1 { font-size: clamp(34px, 5vw, 52px) !important; line-height: 1.08; margin: 0 0 .6em; letter-spacing: -0.035em; }
body.pt-theme .pt2web h2 { font-size: clamp(22px, 2.6vw, 28px) !important; margin: 1.8em 0 .6em; }
body.pt-theme .pt2web h3 { font-size: 20px !important; margin: 1.4em 0 .4em; }
body.pt-theme .pt2web p, body.pt-theme .pt2web li, body.pt-theme .pt2web td { color: var(--pt-text); }
body.pt-theme .pt2web a { color: var(--pt-accent); }
body.pt-theme .pt2web a:hover { color: var(--pt-accent-hover); }
body.pt-theme .pt2web ol, body.pt-theme .pt2web ul { padding-left: 1.5em; margin: 0 0 1.2em; }
body.pt-theme .pt2web ol ol { list-style: lower-alpha; margin: .4em 0; }
body.pt-theme .pt2web li { margin: .35em 0; }
body.pt-theme .pt2web li::marker { color: var(--pt-accent); font-weight: 600; }
body.pt-theme .pt2web table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; }
@media (max-width: 599.98px) { body.pt-theme .pt2web table { display: block; overflow-x: auto; } }
body.pt-theme .pt-page .pt2web > [style*="padding"] { padding-top: 0 !important; }
body.pt-theme .pt2web th, body.pt-theme .pt2web td { border-bottom: 1px solid var(--pt-border) !important; padding: 10px 14px; text-align: left; vertical-align: top; }
body.pt-theme .pt2web th { color: var(--pt-white); font-family: var(--pt-font-head); background: var(--pt-surface) !important; }
body.pt-theme .pt2web strong { color: var(--pt-white); }
body.pt-theme .pt2web .legal { max-width: 860px; margin: 0 auto; }
body.pt-theme .pt2web .legal > * + * { margin-top: .8em; }
body.pt-theme .pt2web .btn, body.pt-theme .pt2web .btn2 { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 600; }
body.pt-theme .pt2web .btn { background: var(--pt-accent) !important; color: var(--pt-on-accent) !important; }
body.pt-theme .pt2web .btn2 { border: 1px solid var(--pt-border-strong) !important; color: var(--pt-text) !important; }

/* ---------- Forms (generic + Contact Form 7) ---------- */
:where(body.pt-theme) :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="password"], input[type="search"], input[type="date"], select, textarea),
body.pt-theme .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="password"], input[type="search"], input[type="date"], select, textarea) {
	font: inherit; font-size: 16px; color: var(--pt-text); background: var(--pt-surface); border: 1px solid var(--pt-border-strong);
	border-radius: var(--pt-radius-input); min-height: 48px; padding: 11px 14px; max-width: 100%;
	transition: border-color .15s ease, box-shadow .15s ease;
}
:where(body.pt-theme) :where(textarea) { min-height: 140px; line-height: 1.5; }
:where(body.pt-theme) :where(input, textarea)::placeholder { color: #7D8A97; opacity: 1; }
:where(body.pt-theme) :where(input, select, textarea):focus, body.pt-theme .wpcf7 :is(input, select, textarea):focus { outline: none; border-color: var(--pt-accent); box-shadow: 0 0 0 3px rgba(198, 244, 50, .25); }
:where(body.pt-theme) :where(input[type="checkbox"], input[type="radio"]) { accent-color: var(--pt-accent); width: 20px; height: 20px; }

body.pt-theme .wpcf7 { color: var(--pt-text); }
body.pt-theme .wpcf7 form > p, body.pt-theme .wpcf7 form > div { margin: 0 0 18px; }
body.pt-theme .wpcf7 label { display: block; color: var(--pt-muted); font-size: 15px; font-weight: 500; }
body.pt-theme .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
body.pt-theme .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.pt-theme .wpcf7 textarea, body.pt-theme .wpcf7 select { width: 100%; }
body.pt-theme .wpcf7 .wpcf7-list-item { margin: 0 16px 0 0; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
body.pt-theme .wpcf7 .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 10px; color: var(--pt-text); }
body.pt-theme .wpcf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0; align-items: flex-start; }
body.pt-theme .wpcf7 input[type="submit"], body.pt-theme .wpcf7 button[type="submit"], body.pt-theme .wpcf7 .wpcf7-submit {
	appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 32px;
	border-radius: 999px; border: 0; background: var(--pt-accent); color: var(--pt-on-accent); font: inherit; font-weight: 600; font-size: 16px; cursor: pointer;
}
body.pt-theme .wpcf7 input[type="submit"]:hover, body.pt-theme .wpcf7 .wpcf7-submit:hover { background: var(--pt-accent-hover); }
body.pt-theme .wpcf7 input[type="submit"]:disabled { opacity: .55; cursor: not-allowed; }
body.pt-theme .wpcf7 .wpcf7-not-valid { border-color: var(--pt-error) !important; }
body.pt-theme .wpcf7 .wpcf7-not-valid-tip { color: var(--pt-error); font-size: 14px; margin-top: 6px; display: block; }
body.pt-theme .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--pt-border-strong); color: var(--pt-text); background: var(--pt-bg); }
body.pt-theme .wpcf7 form.invalid .wpcf7-response-output, body.pt-theme .wpcf7 form.unaccepted .wpcf7-response-output,
body.pt-theme .wpcf7 form.payment-required .wpcf7-response-output, body.pt-theme .wpcf7 form.failed .wpcf7-response-output,
body.pt-theme .wpcf7 form.aborted .wpcf7-response-output, body.pt-theme .wpcf7 form.spam .wpcf7-response-output { border-color: var(--pt-error); }
body.pt-theme .wpcf7 form.sent .wpcf7-response-output { border-color: var(--pt-accent); }
body.pt-theme .wpcf7 .wpcf7-spinner { background-color: var(--pt-muted); }

/* ---------- Footer ---------- */
.pt-footer { border-top: 1px solid var(--pt-border); color: var(--pt-muted); font-size: 15px; }
.pt-footer__inner { padding-top: 56px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 32px; }
.pt-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.pt-footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.pt-footer__brand .pt-logo__word { color: var(--pt-white); }
.pt-footer__col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pt-footer__col h2 { font-family: var(--pt-font-body); color: var(--pt-white); font-weight: 600; font-size: 15px; letter-spacing: 0; margin: 0 0 6px; line-height: 1.6; }
.pt-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
body.pt-theme .pt-footer a { color: var(--pt-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
body.pt-theme .pt-footer a:hover { color: var(--pt-white); text-decoration: underline; }
.pt-footer__bottom { border-top: 1px solid var(--pt-border); padding-top: 20px; font-size: 13px; }

/* ---------- 404 ---------- */
.pt-404 { padding: var(--pt-section-y) 0; text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 899.98px) {
	:root { --pt-section-y: 64px; }
	.pt-two-col { gap: 32px; }
	.pt-two-col--reverse { flex-direction: row; }
}
@media (max-width: 599.98px) {
	:root { --pt-gutter: 16px; }
	html body.pt-theme { font-size: 16px; }
	.pt-card, .pt-step, .pt-price-card, .pt-download-card, .pt-contact-card, .pt-contact-form { padding: 22px; }
	.pt-plan { padding: 18px; gap: 14px; }
	.pt-plan__row { gap: 6px; font-size: 11px; }
	.pt-plan__count { width: 28px; font-size: 13px; }
	.pt-plan__waste { width: 40px; }
	.pt-plan__bar { gap: 2px; height: 30px; }
	.pt-seg { border-radius: 4px; }
	.pt-seg--s { color: transparent; }
	.pt-table { min-width: 480px; font-size: 15px; }
	.pt-table th, .pt-table td { padding: 12px 14px; }
	.pt-card__big { font-size: 34px; }
	.pt-faq details { padding: 0 18px; }
	.pt-faq summary { font-size: 17px; }
	body.pt-theme .pt-btn-row .pt-btn { flex: 1 1 100%; }
	.pt-footer__cols { gap: 28px 40px; }
}

/* ---------- Mobile Menu plugin: hide its output, the theme has its own menu ---------- */
body.pt-theme .mob-menu-header-holder, body.pt-theme .mobmenu-left-panel, body.pt-theme .mobmenu-right-panel,
body.pt-theme .mobmenu-overlay, body.pt-theme .mob-menu-left-bg-holder, body.pt-theme .mob-menu-right-bg-holder,
body.pt-theme .mobmenu-panel, body.pt-theme .mobmenu, body.pt-theme .mobmenur-container, body.pt-theme .mobmenul-container,
body.pt-theme .mob-menu-logo-holder, body.pt-theme .mobmenu-left-bt, body.pt-theme .mobmenu-right-bt, body.pt-theme .mob-cancel-button,
body.pt-theme .mobmenu-content, body.pt-theme .mob-expand-submenu, body.pt-theme .mm-panel-search-form { display: none !important; }
html body.pt-theme.mob-menu-slideout, html body.pt-theme.mob-menu-slideout-over, html body.pt-theme.mob-menu-slideout-top, html body.pt-theme.mob-menu-overlay,
html body.pt-theme[class*="mob-menu-"] { padding-top: 0 !important; margin-top: 0 !important; }
body.pt-theme .mobmenu-push-wrap { padding-top: 0 !important; transform: none !important; }
/* Mobile Menu "hide elements" settings may hide header tags – make sure ours stays visible */
body.pt-theme header.pt-header { display: block !important; visibility: visible !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.pt-page--title { padding-bottom: 0; }
.pt-stack > * { margin-top: 0; margin-bottom: 0; }
.pt-hero { gap: 26px; }
.pt-download-card__doc { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-weight: 500; }
.pt-grid--upgrade { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.pt-contact-form > p { margin: 0; }
.entry-content .pt-quote blockquote { border: 0; padding: 0; margin: 0; color: var(--pt-white); }
.pt-nowrap { white-space: nowrap; }
body.pt-theme .wpcf7 textarea { min-height: 140px; line-height: 1.5; }

/* ---------- 1.1.0: long German words (hyphenation needs the html lang attribute, set by Polylang) ---------- */
:lang(de) .pt-h1, :lang(de) .pt-h2, :lang(de) .pt-card h3, :lang(de) .pt-step h3, :lang(de) .pt-price-card__name,
:lang(de) .pt-faq summary, :lang(de) .pt-table th, :lang(de) .pt2web h1, :lang(de) .pt2web h2, :lang(de) .pt2web h3 {
	-webkit-hyphens: auto; hyphens: auto;
}
.pt2web .legal > .pt-note { margin-bottom: 1.6em; }

/* Poznámka pod tlačidlom na stiahnutie (nepodpísaný súbor – upozornenie prehliadača/Windows). */
.pt-download-card__note { font-size: 14px; line-height: 1.5; margin: 4px 0 0; }
