/*
Theme Name: Metaloamžius
Theme URI: https://metaloamzius.lt/
Author: Metaloamžius
Description: Greita, SEO optimizuota tema kompiuterių remontui ir supirkimui Kaune. Interaktyvi nešiojamo kompiuterio schema su kainomis, remonto kainų skaičiuoklė, simptomų gidas, kainoraštis, DUK, darbo laiko indikatorius, struktūrizuoti duomenys Google. Veikia be papildinių, be jQuery ir be formų.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: metaloamzius
*/

/* ==========================================================================
   Šriftai: TeX Gyre Heros Condensed (GUST Font License), apkarpytas LT raidėms
   ========================================================================== */
@font-face {
	font-family: "Heros Cn";
	src: url("assets/fonts/heroscn-bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Heros Cn";
	src: url("assets/fonts/heroscn-regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Žetonai
   ========================================================================== */
:root {
	--mat: #1e4a52;          /* antistatinio kilimėlio žalsvai mėlyna */
	--mat-2: #163a41;
	--mat-line: rgba(214, 236, 238, .075);
	--mat-ink: #e6f0f1;
	--mat-muted: #a9c3c6;
	--alu: #eceff1;          /* aliuminis */
	--paper: #fff;
	--ink: #20262b;          /* grafitas */
	--ink-2: #283037;
	--steel: #56626c;
	--rule: #d5dbdf;
	--amber: #f2b01e;        /* remonto žymos geltona */
	--amber-2: #dc9b00;
	--ok: #3cc07f;
	--stop: #ff6b5f;

	--display: "Heros Cn", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
	--body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--t-xs: .8125rem;
	--t-sm: .9375rem;
	--t-base: 1.0625rem;
	--t-md: 1.25rem;
	--t-lg: 1.5625rem;
	--t-xl: clamp(1.9rem, 3.4vw, 2.6rem);
	--t-2xl: clamp(2.5rem, 5.6vw, 4.4rem);

	--r-s: 3px;
	--r-m: 6px;
	--wrap: 1200px;
	--gutter: clamp(18px, 4vw, 32px);
	--head-h: 72px;
}

/* ==========================================================================
   Pagrindai
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
	margin: 0;
	font-family: var(--body);
	font-size: var(--t-base);
	line-height: 1.6;
	color: var(--ink);
	background: var(--alu);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--amber-2); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.005em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 16px; font-weight: 600; border-radius: var(--r-s); }
.skip:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[hidden] { display: none !important; }
.js [data-tabhidden] { display: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }

.h2 { font-size: var(--t-xl); margin-bottom: .45em; }
.h3 { font-size: var(--t-lg); margin-bottom: .5em; }
.lead { font-size: var(--t-md); line-height: 1.5; color: var(--steel); max-width: 62ch; }

/* ==========================================================================
   Mygtukai ir būsena
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 46px; padding: .6em 1.2em;
	border: 2px solid transparent; border-radius: var(--r-s);
	font-weight: 650; font-size: var(--t-sm); line-height: 1.1; text-decoration: none; white-space: nowrap;
	transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { min-height: 54px; padding-inline: 1.45em; font-size: var(--t-base); }
.btn--block { width: 100%; }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: #ffc43d; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #343c43; }
.btn--ghost { border-color: rgba(230, 240, 241, .45); color: var(--mat-ink); }
.btn--ghost:hover { border-color: var(--mat-ink); background: rgba(255, 255, 255, .06); }
.link-arrow { font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--ink); }

.status { display: inline-flex; align-items: center; gap: .5em; font-size: var(--t-xs); font-weight: 600; color: var(--steel); white-space: nowrap; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); box-shadow: 0 0 0 3px rgba(0, 0, 0, .05); }
.status[data-state="open"] .status__dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(60, 192, 127, .22); }
.status[data-state="closed"] .status__dot { background: var(--stop); box-shadow: 0 0 0 3px rgba(255, 107, 95, .2); }
.status[data-state="open"] { color: #1c7a4c; }
.status--light, .status--light[data-state] { color: var(--mat-ink); }

/* ==========================================================================
   Antraštė
   ========================================================================== */
.masthead { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.admin-bar .masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar .masthead { top: 0; } }
.masthead__inner { display: flex; align-items: center; gap: 24px; min-height: var(--head-h); }
.brand { flex: none; display: block; }
.brand img { width: auto; height: 38px; }
.mainnav { margin-left: auto; }
.mainnav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mainnav__list a { display: block; padding: 10px 11px; font-size: var(--t-sm); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.mainnav__list a:hover, .mainnav__list a[aria-current="page"], .mainnav__list .current-menu-item > a { border-bottom-color: var(--amber); }
.mainnav__mobile-extra { display: none; }
.masthead__actions { display: flex; align-items: center; gap: 16px; }
.navtoggle { display: none; width: 46px; height: 46px; border: 1px solid var(--rule); background: var(--paper); border-radius: var(--r-s); align-items: center; justify-content: center; }
.navtoggle__close { display: none; }
.navtoggle[aria-expanded="true"] .navtoggle__open { display: none; }
.navtoggle[aria-expanded="true"] .navtoggle__close { display: inline; }
.navtoggle span { line-height: 0; }

@media (max-width: 1023px) {
	.navtoggle { display: inline-flex; }
	.mainnav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--paper); border-bottom: 1px solid var(--rule);
		padding: 8px var(--gutter) 20px; display: none;
		box-shadow: 0 18px 30px -18px rgba(32, 38, 43, .35);
	}
	.mainnav.is-open { display: block; }
	.mainnav__list { flex-direction: column; gap: 0; }
	.mainnav__list a { padding: 14px 0; font-size: var(--t-base); border-bottom: 1px solid var(--rule); }
	.mainnav__mobile-extra { display: grid; gap: 14px; margin-top: 18px; }
	.mainnav__mobile-extra .status { color: var(--steel); }
	.masthead__actions { margin-left: auto; }
}
@media (max-width: 560px) {
	.masthead__call { display: none; }
	.brand img { height: 32px; }
}

/* ==========================================================================
   Sekcijos
   ========================================================================== */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--paper { background: var(--paper); }
.section--alu { background: var(--alu); }
.section--mat, .section--ink, .hero, .pagehead, .cta {
	color: var(--mat-ink);
}
.section--mat, .hero, .pagehead, .cta {
	background-color: var(--mat);
	background-image:
		linear-gradient(var(--mat-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--mat-line) 1px, transparent 1px);
	background-size: 28px 28px;
}
.section--ink { background: var(--ink-2); }
.section--mat .lead, .section--ink .lead, .hero .lead, .pagehead .lead, .cta .lead { color: var(--mat-muted); }
.section__head { margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
.section__head--row > div:first-child { flex: 1 1 460px; }
.section__head--row .lead { margin-bottom: 0; }
.section__head--row .pricefind { flex: 0 1 340px; }
.section__more { margin-top: 32px; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split__aside { position: sticky; top: calc(var(--head-h) + 28px); }
@media (max-width: 900px) {
	.split, .split--wide { grid-template-columns: 1fr; }
	.split__aside { position: static; }
}

.photo { margin: 28px 0 0; border-radius: var(--r-m); overflow: hidden; background: var(--alu); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 3; }
.photo--wide { aspect-ratio: 21 / 8; margin-top: clamp(32px, 5vw, 56px); }
.photo.is-missing { display: none; }

/* ==========================================================================
   Pirmasis ekranas + kompiuterio schema
   ========================================================================== */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before { /* liniuotė kilimėlio krašte */
	content: ""; position: absolute; inset: 0 0 auto 0; height: 14px;
	background:
		repeating-linear-gradient(90deg, rgba(230, 240, 241, .45) 0 1px, transparent 1px 10px) top / 100% 7px no-repeat,
		repeating-linear-gradient(90deg, rgba(230, 240, 241, .6) 0 1px, transparent 1px 50px) top / 100% 14px no-repeat;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__place { display: inline-flex; align-items: center; gap: .4em; margin: 0 0 18px; color: var(--amber); font-weight: 600; font-size: var(--t-sm); }
.hero__title { font-size: var(--t-2xl); line-height: .98; margin-bottom: 22px; color: #fff; max-width: 12ch; }
.hero__lead { font-size: var(--t-md); line-height: 1.5; color: var(--mat-muted); max-width: 46ch; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0; margin: 28px 0 30px; }
.hero__facts div { padding: 4px 26px 4px 0; margin-right: 26px; border-right: 1px solid rgba(230, 240, 241, .2); }
.hero__facts div:last-child { border-right: 0; margin-right: 0; }
.hero__facts dt { font-size: var(--t-xs); color: var(--mat-muted); }
.hero__facts dd { margin: 2px 0 0; font-family: var(--display); font-size: 2.1rem; line-height: 1; color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__status { margin: 22px 0 0; }

.bench { position: relative; }
.bench__hint { margin: 0 0 10px; font-size: var(--t-sm); color: var(--mat-muted); }
.bench__stage { position: relative; aspect-ratio: 600 / 560; }
.bench__laptop { width: 100%; height: 100%; display: block; overflow: visible; }
.bench__laptop * { transition: fill .2s, stroke .2s; }
.shell { fill: #235760; stroke: #7fa6ab; stroke-width: 2; }
.glass { fill: #173b42; stroke: #3f6f76; }
.crack { fill: none; stroke: #8fb4b9; stroke-width: 1.4; stroke-linecap: round; opacity: .7; }
.metal { fill: #9db3b7; stroke: #6c8a8f; }
.xray { fill: rgba(22, 58, 65, .55); stroke: #7fa6ab; stroke-width: 2; stroke-dasharray: 7 6; }
#kb rect { fill: rgba(230, 240, 241, .1); stroke: rgba(230, 240, 241, .22); }
.keys { stroke: none; }
.board { fill: #2c5e52; stroke: #6ea392; stroke-width: 1.5; }
.cpu { fill: #c6d1d4; stroke: #7f9599; }
.trace { fill: none; stroke: #7cb6a3; stroke-width: 1.4; opacity: .7; }
.pipe { fill: none; stroke: #c68a4a; stroke-width: 6; stroke-linecap: round; opacity: .75; }
.chip { fill: #2f6f78; stroke: #8fc0c6; stroke-width: 1.4; }
.fan { fill: rgba(22, 58, 65, .9); stroke: #8fb4b9; stroke-width: 2; }
.blade { fill: none; stroke: #8fb4b9; stroke-width: 2; stroke-linecap: round; }
.hub { fill: #8fb4b9; }
.cell { fill: #2a5d66; stroke: #8fb4b9; stroke-width: 1.5; }
.part.is-active .shell, .part.is-active .glass, .part.is-active .metal, .part.is-active .board,
.part.is-active .chip, .part.is-active .fan, .part.is-active .cell, .part.is-active .cpu { stroke: var(--amber); stroke-width: 2.4; }
.part.is-active .glass { fill: rgba(242, 176, 30, .1); }
.part.is-active .cell, .part.is-active .chip, .part.is-active .board, .part.is-active .fan { fill: rgba(242, 176, 30, .2); }
.part.is-active .metal { fill: var(--amber); }
.part.is-active .blade, .part.is-active .crack, .part.is-active .trace { stroke: var(--amber); }
.part.is-active .hub { fill: var(--amber); }
.part[data-part="klaviatura"].is-active .keys { stroke: var(--amber); stroke-width: 2; fill: url(#kb); }
.bench.kb-on #kb rect { fill: rgba(242, 176, 30, .25); stroke: var(--amber); }

.pin {
	position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0;
	border-radius: 50%; border: 2px solid var(--amber);
	background: rgba(22, 58, 65, .75);
	display: grid; place-items: center;
}
.pin::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); transition: transform .15s; }
.pin:hover::after { transform: scale(1.4); }
.pin.is-active { background: var(--amber); }
.pin.is-active::after { background: var(--ink); }
.pin.is-active::before { /* vienintelė savaiminė animacija – žymi pasirinktą detalę */
	content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--amber);
	animation: pinpulse 1.8s ease-out infinite;
}
@keyframes pinpulse { from { opacity: .9; transform: scale(.7); } to { opacity: 0; transform: scale(1.35); } }

.tag {
	position: relative; margin-top: 14px; padding: 18px 20px 16px 52px;
	background: #f7f3e6; color: var(--ink); border-radius: var(--r-m);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}
.tag::before { /* įskylė etiketėje */
	content: ""; position: absolute; left: 18px; top: 22px; width: 16px; height: 16px; border-radius: 50%;
	background: var(--mat); box-shadow: inset 0 0 0 3px #e4dcc3;
}
.tag__name { font-family: var(--display); font-weight: 700; font-size: var(--t-lg); line-height: 1.05; margin: 0 0 10px; }
.tag__rows { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 28px; margin: 0; }
.tag__rows dt { font-size: var(--t-xs); color: var(--steel); }
.tag__rows dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.tag__note { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed #cfc5a8; font-size: var(--t-sm); color: #4a5157; }
.tag__note:empty { display: none; }

@media (max-width: 980px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__title { max-width: 16ch; }
}
@media (max-width: 520px) {
	.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
	.hero__facts div { padding-right: 14px; margin-right: 14px; }
	.hero__facts dd { font-size: 1.55rem; }
	.tag__rows { grid-template-columns: 1fr 1fr; }
	.pin { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
	.hero__cta .btn { width: 100%; }
}

/* ==========================================================================
   Paslaugos
   ========================================================================== */
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.svc__item { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 22px 0; border-top: 1px solid var(--rule); }
.svc__icon { grid-row: 1 / span 2; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: var(--r-s); display: grid; place-items: center; }
.svc__title { font-size: var(--t-md); margin-bottom: 6px; }
.svc__body p { margin: 0; font-size: var(--t-sm); color: var(--steel); }
.svc__price { grid-column: 2; margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: var(--t-md); }
@media (max-width: 640px) { .svc { grid-template-columns: 1fr; } }

/* ==========================================================================
   Skaičiuoklė ir sąmata
   ========================================================================== */
.calc { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.calc__step { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.calc__step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px; font-family: var(--display); font-weight: 700; font-size: var(--t-lg); }
.calc__num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.05rem; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
	min-height: 44px; padding: 9px 15px; border: 1.5px solid #c5cdd2; border-radius: var(--r-s);
	background: var(--paper); font-size: var(--t-sm); font-weight: 550; text-align: left;
	transition: background-color .12s, border-color .12s, color .12s;
}
.choice:hover { border-color: var(--ink); }
.choice[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice:disabled { opacity: .38; cursor: not-allowed; border-style: dashed; }

.ticket {
	position: sticky; top: calc(var(--head-h) + 20px);
	padding: 30px 26px 26px; background: var(--paper); color: var(--ink);
	--perf: radial-gradient(circle at 8px 0, transparent 6px, #000 6.5px);
	-webkit-mask: var(--perf) top / 16px 51% repeat-x, radial-gradient(circle at 8px 100%, transparent 6px, #000 6.5px) bottom / 16px 51% repeat-x;
	mask: var(--perf) top / 16px 51% repeat-x, radial-gradient(circle at 8px 100%, transparent 6px, #000 6.5px) bottom / 16px 51% repeat-x;
	filter: drop-shadow(0 10px 18px rgba(32, 38, 43, .12));
}
.ticket__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.ticket__title { font-family: var(--display); font-weight: 700; font-size: var(--t-lg); }
.ticket__no { font-size: var(--t-xs); color: var(--steel); }
.ticket__lines { list-style: none; margin: 0; padding: 14px 0; border-bottom: 1px dashed var(--rule); }
.ticket__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: var(--t-sm); }
.ticket__lines li span:last-child { flex: none; font-weight: 650; font-variant-numeric: tabular-nums; }
.ticket__lines li.is-part span:first-child { color: var(--steel); padding-left: 14px; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 6px; }
.ticket__total strong { font-family: var(--display); font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ticket__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 16px; padding: 12px 0; border-block: 1px dashed var(--rule); }
.ticket__meta dt { font-size: var(--t-xs); color: var(--steel); }
.ticket__meta dd { margin: 0; font-weight: 650; font-size: var(--t-sm); }
.ticket__tip { font-size: var(--t-sm); color: var(--steel); }
.ticket__verdict { padding: 10px 12px; border-left: 4px solid var(--ok); background: #eef8f2; font-size: var(--t-sm); font-weight: 550; }
.ticket__verdict.is-warn { border-color: var(--amber-2); background: #fdf5e1; }
.ticket__verdict.is-stop { border-color: var(--stop); background: #fdeeec; }
@media (max-width: 900px) {
	.calc { grid-template-columns: 1fr; }
	.ticket { position: static; }
}

/* ==========================================================================
   Simptomų gidas
   ========================================================================== */
.guide { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0; border: 1px solid rgba(230, 240, 241, .18); border-radius: var(--r-m); overflow: hidden; background: rgba(22, 58, 65, .6); }
.guide__list { display: flex; flex-direction: column; border-right: 1px solid rgba(230, 240, 241, .18); }
.guide__list [role="tab"] {
	text-align: left; padding: 15px 20px; border: 0; border-left: 4px solid transparent; background: transparent;
	color: var(--mat-muted); font-weight: 600; font-size: var(--t-sm); border-bottom: 1px solid rgba(230, 240, 241, .08);
}
.guide__list [role="tab"]:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.guide__list [role="tab"][aria-selected="true"] { color: #fff; border-left-color: var(--amber); background: rgba(255, 255, 255, .07); }
.guide__panel { padding: clamp(22px, 3.5vw, 40px); }
.guide__title { font-size: var(--t-xl); color: #fff; margin-bottom: 22px; }
.guide__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.guide h4 { font-family: var(--body); font-size: var(--t-sm); font-weight: 700; color: var(--amber); margin-bottom: 10px; }
.guide__when { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 0; padding: 14px 16px; background: rgba(242, 176, 30, .12); border-left: 3px solid var(--amber); color: #fff; font-weight: 550; }
.guide__when .icon { color: var(--amber); margin-top: 2px; }
.guide__prices { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; }
.guide__prices li { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-top: 1px solid rgba(230, 240, 241, .12); font-size: var(--t-sm); }
.guide__prices strong { font-family: var(--display); font-size: var(--t-md); color: #fff; white-space: nowrap; }
@media (max-width: 820px) {
	.guide { grid-template-columns: 1fr; }
	.guide__list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(230, 240, 241, .18); scrollbar-width: thin; }
	.guide__list [role="tab"] { flex: none; border-left: 0; border-bottom: 3px solid transparent; }
	.guide__list [role="tab"][aria-selected="true"] { border-bottom-color: var(--amber); }
	.guide__cols { grid-template-columns: 1fr; gap: 18px; }
}

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 4px 0 4px 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.ticks--cause li::before { width: 8px; height: 8px; border: 0; background: var(--amber); transform: none; top: .8em; left: 3px; border-radius: 1px; }
.ticks--light li { color: var(--mat-ink); }

/* ==========================================================================
   Kainoraštis – kasos kvitai
   ========================================================================== */
.pricefind { min-width: min(320px, 100%); }
.pricefind__label { display: block; font-size: var(--t-xs); font-weight: 600; color: var(--steel); margin-bottom: 6px; }
.pricefind__input { width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; font-size: var(--t-sm); border: 1.5px solid #c5cdd2; border-radius: var(--r-s); background: var(--paper); }
.pricefind__input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(242, 176, 30, .5); }
.pricetabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pricetabs [role="tab"] { min-height: 42px; padding: 8px 14px; border: 1.5px solid #c5cdd2; background: var(--paper); border-radius: var(--r-s); font-size: var(--t-sm); font-weight: 600; }
.pricetabs [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.receipts { display: grid; gap: 28px; }
.receipts--full, .receipts.is-searching { grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); align-items: start; }
.js .receipts.is-searching [data-tabhidden] { display: block; }
.receipt {
	position: relative; padding: 26px clamp(18px, 3vw, 32px) 34px; background: var(--alu);
	-webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 10px repeat-x;
	mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 10px repeat-x;
}
.receipt__title { font-size: var(--t-lg); padding-bottom: 8px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.receipt__intro { font-size: var(--t-sm); color: var(--steel); margin-bottom: 8px; }
.receipt__list { list-style: none; margin: 0; padding: 0; }
.receipt__row { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.receipt__name { font-size: var(--t-sm); }
.receipt__name small { display: block; font-size: var(--t-xs); color: var(--steel); }
.receipt__leader { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted #a9b3ba; transform: translateY(-4px); }
.receipt__price { flex: none; font-family: var(--display); font-size: var(--t-md); font-variant-numeric: tabular-nums; }
.receipts__empty { padding: 18px; background: var(--alu); border-left: 4px solid var(--amber); }

/* ==========================================================================
   Eiga
   ========================================================================== */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps__item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-bottom: 34px; }
.steps__item:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 66px; bottom: 6px; width: 2px; background: repeating-linear-gradient(var(--rule) 0 6px, transparent 6px 11px); }
.steps__num { display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid var(--ink); border-radius: 50%; font-family: var(--display); font-size: 1.9rem; }
.steps__item:first-child .steps__num { background: var(--amber); border-color: var(--amber); }
.steps__title { font-size: var(--t-lg); margin: 10px 0 6px; }
.steps p { margin: 0; color: var(--steel); }

/* ==========================================================================
   Supirkimas
   ========================================================================== */
.section--ink .h2 { color: #fff; }
.section--ink .ticks { margin: 18px 0 28px; }
.buy { padding: clamp(22px, 3.5vw, 40px); background: rgba(255, 255, 255, .04); border: 1px solid rgba(230, 240, 241, .14); border-radius: var(--r-m); }
.buy__title { font-size: var(--t-lg); color: #fff; margin-bottom: 12px; }
.buy__title--sub { margin-top: 30px; }
.buy__list { list-style: none; margin: 0; padding: 0; }
.buy__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 11px 0; border-bottom: 1px dotted rgba(230, 240, 241, .3); }
.buy__list strong { font-family: var(--display); font-size: var(--t-md); color: var(--amber); white-space: nowrap; }
.buy__note { margin: 12px 0 0; font-size: var(--t-sm); color: var(--mat-muted); }
.buy__tips { margin: 0; padding-left: 1.3em; color: var(--mat-ink); }
.buy__tips li { padding: 4px 0; }
.buy__tips li::marker { font-family: var(--display); color: var(--amber); }

/* ==========================================================================
   Patarimai, DUK, įrašai
   ========================================================================== */
.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.tips__item { padding-top: 18px; border-top: 3px solid var(--ink); }
.tips__title { font-size: var(--t-lg); margin-bottom: 10px; }
.tips__item p { margin: 0; color: #3b444b; font-size: var(--t-sm); line-height: 1.65; }
@media (max-width: 900px) { .tips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tips { grid-template-columns: 1fr; } }

.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item:first-child { border-top: 1px solid var(--rule); }
.faq__item summary { position: relative; list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 650; font-size: var(--t-base); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink) 0 0) center / 14px 2px no-repeat, linear-gradient(var(--ink) 0 0) center / 2px 14px no-repeat; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: -4px 0 22px; color: #3b444b; max-width: 64ch; }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.post-card { background: var(--paper); border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--rule); }
.post-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__img--blank { display: grid; place-items: center; background: var(--mat); color: var(--amber); }
.post-card__img--blank .icon { width: 44px; height: 44px; }
.post-card__meta { padding: 18px 20px 0; font-size: var(--t-xs); color: var(--steel); }
.post-card__title { padding: 8px 20px 0; font-size: var(--t-lg); }
.post-card__link:hover .post-card__title { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.post-card__excerpt { padding: 10px 20px 22px; margin: 0; font-size: var(--t-sm); color: var(--steel); }

/* ==========================================================================
   Kontaktai
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__phone { display: inline-flex; align-items: center; gap: 14px; margin: 8px 0 28px; font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1; text-decoration: none; border-bottom: 3px solid var(--amber); padding-bottom: 6px; }
.contact__phone .icon { width: .8em; height: .8em; }
.contact__list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .icon { margin-top: 2px; color: var(--steel); }
.contact__list strong { display: block; font-size: var(--t-xs); color: var(--steel); font-weight: 600; }
.contact__list span { display: block; }
.hours { padding: clamp(20px, 3vw, 32px); background: var(--alu); border-radius: var(--r-m); }
.hours__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.hours__head .h3 { margin: 0; }
.hours__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours__table th, .hours__table td { padding: 10px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 500; }
.hours__table td { text-align: right; font-weight: 650; }
.hours__table tr[data-day="6"] td, .hours__table tr[data-day="7"] td { color: var(--steel); font-weight: 500; }
.hours__table tr.is-today th, .hours__table tr.is-today td { box-shadow: inset 0 -3px 0 var(--amber); }
.hours__table tr.is-today th::after { content: " – šiandien"; color: var(--steel); font-weight: 500; }
.hours__note { margin: 12px 0 0; font-size: var(--t-sm); color: var(--steel); }
.map { margin-top: 20px; border-radius: var(--r-m); overflow: hidden; aspect-ratio: 5 / 3; background: var(--alu); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   Vidiniai puslapiai
   ========================================================================== */
.pagehead { padding-block: clamp(28px, 4vw, 48px) clamp(36px, 5vw, 64px); }
.pagehead--slim { padding-block: 18px; }
.pagehead__title { font-size: var(--t-2xl); color: #fff; line-height: 1; max-width: 18ch; }
.pagehead--article .pagehead__title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: none; }
.pagehead__lead { margin: 18px 0 0; font-size: var(--t-md); color: var(--mat-muted); max-width: 62ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 18px; padding: 0; font-size: var(--t-xs); color: var(--mat-muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 .6em; opacity: .5; }
.crumbs a { color: var(--mat-ink); }
.pagehead--slim .crumbs ol { margin: 0; }

.cta { padding-block: clamp(40px, 6vw, 72px); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta__title { margin: 0 0 6px; font-family: var(--display); font-size: var(--t-xl); line-height: 1; color: #fff; }
.cta__text { margin: 0; color: var(--mat-muted); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.empty { padding: 28px; background: var(--paper); border-left: 4px solid var(--amber); }
.pager ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 36px 0 0; padding: 0; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1.5px solid #c5cdd2; border-radius: var(--r-s); background: var(--paper); text-decoration: none; font-weight: 600; }
.pager .current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Įrašas */
.readbar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.readbar span { display: block; height: 100%; width: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(var(--read, 0)); }
.article { background: var(--paper); }
.article__meta { margin: 16px 0 0; font-size: var(--t-sm); color: var(--mat-muted); }
.article__updated { display: inline-block; margin-left: .8em; }
.article__hero { margin-top: -28px; }
.article__hero img { width: 100%; border-radius: var(--r-m); }
.article__body { padding-block: 40px 64px; }
.toc { margin: 0 0 36px; padding: 18px 22px; background: var(--alu); border-left: 4px solid var(--amber); }
.toc summary { cursor: pointer; font-family: var(--display); font-size: var(--t-md); }
.toc ol { margin: 10px 0 0; padding-left: 1.2em; }
.toc li { padding: 3px 0; font-size: var(--t-sm); }
.toc .toc__l3 { margin-left: 1.1em; list-style: circle; }
.article__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 44px 0 28px; padding: 22px 24px; background: var(--mat); color: var(--mat-ink); border-radius: var(--r-m); }
.article__cta p { margin: 0; max-width: 46ch; }
.article__cta strong { color: #fff; }
.article__cats { font-size: var(--t-sm); color: var(--steel); }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.article__navlink { display: block; padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--r-m); text-decoration: none; font-weight: 600; }
.article__navlink span { display: block; font-size: var(--t-xs); color: var(--steel); font-weight: 500; }
.article__navlink--next { grid-column: 2; text-align: right; }
.article__navlink:hover { border-color: var(--ink); }
@media (max-width: 600px) { .article__nav { grid-template-columns: 1fr; } .article__navlink--next { grid-column: 1; } }

/* Turinys iš redaktoriaus */
.prose { font-size: 1.125rem; line-height: 1.72; }
.prose > * { max-width: 70ch; }
.prose > .alignwide, .prose > .alignfull, .prose > .wp-block-gallery, .prose > figure, .prose > .wp-block-table { max-width: none; }
.prose h2 { font-size: var(--t-xl); margin: 1.6em 0 .5em; }
.prose h3 { font-size: var(--t-lg); margin: 1.4em 0 .4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--mat); font-weight: 550; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--amber-2); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--amber); font-size: var(--t-md); }
.prose img { border-radius: var(--r-m); }
.prose figure { margin: 1.8em 0; }
.prose figcaption, .prose .wp-element-caption { font-size: var(--t-sm); color: var(--steel); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; }
.prose th { background: var(--alu); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.2em 0; }
.prose code { background: var(--alu); padding: .1em .35em; border-radius: var(--r-s); font-size: .92em; }
.prose .wp-block-gallery { gap: 12px; }
.prose .wp-block-gallery img { border-radius: var(--r-s); }
.prose .wp-block-button__link { background: var(--amber); color: var(--ink); border-radius: var(--r-s); font-weight: 650; text-decoration: none; }
.prose .wp-block-image { margin: 1.8em 0; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-inline: auto; }

/* 404 */
.notfound { padding-block: clamp(64px, 10vw, 140px); }
.notfound__inner { max-width: 760px; }
.notfound__code { margin: 0 0 8px; font-family: var(--display); font-size: clamp(6rem, 18vw, 12rem); line-height: .85; color: var(--amber); }
.notfound .h2 { color: #fff; }
.notfound__links { list-style: none; margin: 18px 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.notfound__links a { color: #fff; font-weight: 600; text-decoration-color: var(--amber); text-decoration-thickness: 2px; }

/* ==========================================================================
   Poraštė, veiksmų juosta, „į viršų“
   ========================================================================== */
.footer { background: var(--ink); color: #c4ccd2; padding-top: clamp(48px, 7vw, 80px); font-size: var(--t-sm); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__about img { height: 40px; width: auto; margin-bottom: 16px; }
.footer__about p { max-width: 36ch; }
.footer__title { font-size: var(--t-md); color: #fff; margin-bottom: 14px; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { padding: 4px 0; }
.footer__list a { display: inline-flex; align-items: center; gap: 10px; color: #e3e8eb; text-decoration: none; }
.footer__list a:hover { color: var(--amber); }
.footer__list .icon { color: #8d99a3; }
.footer__hours strong { font-family: var(--display); font-size: var(--t-lg); color: #fff; font-weight: 700; }
.footer__muted { color: #8d99a3; }
.footer__bottom { margin-top: 48px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--t-xs); color: #8d99a3; }
.footer__bottom p { margin: 0 0 6px; }
.footer__bottom a { color: #c4ccd2; }

.actionbar { display: none; }
@media (max-width: 767px) {
	body { padding-bottom: 64px; }
	.actionbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
		display: grid; grid-template-columns: 1.4fr 1fr 1fr; height: 64px;
		background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .1);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #fff; text-decoration: none; font-size: var(--t-xs); font-weight: 600; }
	.actionbar__call { background: var(--amber); color: var(--ink) !important; }
}

.totop {
	position: fixed; right: 18px; bottom: 18px; z-index: 54;
	width: 52px; height: 52px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--paper); color: var(--ink); box-shadow: 0 6px 18px rgba(32, 38, 43, .22);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--amber); }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke: var(--amber); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0)); }
.totop:hover .totop__ring circle { stroke: var(--ink); }
@media (max-width: 767px) { .totop { bottom: 78px; right: 14px; width: 46px; height: 46px; } }

/* ==========================================================================
   Judesio mažinimas ir spausdinimas
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
	.masthead, .actionbar, .totop, .footer, .cta, .bench, .readbar { display: none !important; }
	body { background: #fff; }
	.section--mat, .section--ink, .hero, .pagehead { background: #fff; color: #000; }
}
