/*
 * GamesNation — pagrindiniai stiliai.
 * Motyvas: remonto stalas — mėlynas antistatinis kilimėlis su tinkleliu,
 * gintarinė „Kapton“ juosta ir popierinė remonto kortelė.
 */

/* ---------- Šriftai (savame serveryje, be Google Fonts) ---------- */
@font-face { font-family: "GN Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "GN Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "GN Inter Display"; src: url("../fonts/inter-display-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- Kintamieji ---------- */
:root {
	--mat: #1E3A4C;
	--mat-deep: #142A38;
	--mat-soft: #2B4E63;
	--mat-line: rgba(255, 255, 255, .06);
	--mat-line-strong: rgba(255, 255, 255, .11);
	--kapton: #E9A23B;
	--kapton-deep: #B87512;
	--kapton-soft: #FBEBD2;
	--paper: #F4F6F5;
	--card: #FFFFFF;
	--ink: #17201F;
	--ink-soft: #34403F;
	--muted: #56656A;
	--line: #D7DEDD;
	--line-soft: #E6EBEA;
	--solder: #2F9E62;
	--closed: #C2452D;

	--font: "GN Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "GN Inter Display", "GN Inter", Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

	--wrap: 1200px;
	--narrow: 760px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(64px, 9vw, 120px);
	--r-panel: 18px;
	--r-btn: 12px;
	--header-h: 72px;
	--shadow-lift: 0 1px 0 rgba(23, 32, 31, .04), 0 12px 32px -18px rgba(20, 42, 56, .35);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Bazė ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--mat); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--kapton-deep); }
:focus-visible { outline: 3px solid var(--kapton); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--kapton); color: var(--ink); }

h1, h2, h3, h4, .h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 4.2vw + 1rem, 4.4rem); letter-spacing: -.04em; line-height: 1; }
h2 { font-size: clamp(1.85rem, 2.4vw + 1rem, 2.85rem); letter-spacing: -.035em; }
h3, .h3 { font-size: clamp(1.2rem, .6vw + 1rem, 1.45rem); }
h4 { font-family: var(--font); font-weight: 600; font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
address { font-style: normal; }

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

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--kapton); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.site-content:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }

/* ---------- Kilimėlio fonas (tinklelis) ---------- */
.mat {
	background-color: var(--mat);
	background-image:
		linear-gradient(var(--mat-line-strong) 1px, transparent 1px),
		linear-gradient(90deg, var(--mat-line-strong) 1px, transparent 1px),
		linear-gradient(var(--mat-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--mat-line) 1px, transparent 1px);
	background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
	background-position: -1px -1px;
	color: #fff;
}
.mat a:not(.btn) { color: #fff; }
.mat a:not(.btn):hover { color: var(--kapton); }

/* ---------- Mygtukai ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .7em 1.25em;
	border-radius: var(--r-btn); border: 2px solid transparent;
	font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
	-webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: .85em 1.5em; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--kapton); color: var(--ink); }
.btn-primary:hover { background: #F2B456; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost-dark:hover { border-color: var(--mat); color: var(--mat); }
.btn-call { background: var(--mat); color: #fff; }
.btn-call:hover { background: var(--mat-soft); color: #fff; }
.btn-text { background: none; border: 0; padding: .4em 0; font: 600 .9375rem var(--font); color: var(--mat); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--mat); text-decoration: underline; text-decoration-color: var(--kapton); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.link:hover { color: var(--kapton-deep); }

/* ---------- Būsena („Dabar dirbame“) ---------- */
.status { display: inline-flex; align-items: center; gap: .55em; font-size: .9375rem; font-weight: 600; color: inherit; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; box-shadow: 0 0 0 4px rgba(86, 101, 106, .18); }
.status.is-open .status-dot { background: var(--solder); box-shadow: 0 0 0 4px rgba(47, 158, 98, .22); }
.status.is-closed .status-dot { background: var(--closed); box-shadow: 0 0 0 4px rgba(194, 69, 45, .2); }
@media (prefers-reduced-motion: no-preference) {
	.status.is-open .status-dot { animation: gn-pulse 2.4s ease-out infinite; }
}
@keyframes gn-pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 158, 98, .45); } 70% { box-shadow: 0 0 0 9px rgba(47, 158, 98, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 158, 98, 0); } }

/* ---------- Antraštė ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(244, 246, 245, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(20, 42, 56, .6); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand .logo-mark { border-radius: 10px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.brand-sub { font-size: .8125rem; color: var(--muted); margin-top: 3px; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-sub { color: rgba(255, 255, 255, .65); }

.nav { margin-left: auto; }
.nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav .menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .96875rem; }
.nav .menu a:hover, .nav .menu .current-menu-item > a { color: var(--ink); background: rgba(30, 58, 76, .07); }
.nav .menu .sub-menu { display: none; }
.nav-extra { display: none; }
.header-call { flex: none; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
	.header-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.header-call { width: 48px; padding: 0; }
}
@media (max-width: 920px) {
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 48px; height: 48px; border-radius: var(--r-btn);
		border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
	}
	.nav-toggle-close { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }
	.header-call { margin-left: auto; }
	.nav {
		position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
		background: var(--paper); border-bottom: 1px solid var(--line);
		padding: 8px var(--gutter) 24px;
		max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
		box-shadow: 0 24px 40px -24px rgba(20, 42, 56, .45);
	}
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
	.nav .menu { flex-direction: column; gap: 0; }
	.nav .menu a { padding: 14px 4px; font-size: 1.125rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
	.nav .menu .sub-menu { display: block; list-style: none; padding-left: 16px; }
	.nav-extra { display: grid; gap: 10px; padding-top: 18px; color: var(--ink-soft); }
	.nav-address { margin: 0; display: flex; align-items: center; gap: 8px; }
}
@media (max-width: 600px) { .admin-bar .nav { top: var(--header-h); } }
@media (max-width: 420px) { .brand-sub { display: none; } .brand-name { font-size: 1.15rem; } }

/* ---------- Pagrindinė skiltis ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { color: #fff; max-width: 13ch; margin-bottom: .35em; }
.hero .lead { font-size: clamp(1.0625rem, .4vw + 1rem, 1.25rem); color: rgba(255, 255, 255, .82); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--mat-line-strong); }
.hero-stats > div { display: flex; flex-direction: column-reverse; padding: 18px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--mat-line-strong); }
.hero-stats > div:last-child { border-right: 0; margin-right: 0; }
.hero-stats dt { color: rgba(255, 255, 255, .7); font-size: .9375rem; }
.hero-stats dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }

/* Remonto kortelė */
.ticket {
	position: relative; color: var(--ink);
	background: var(--card);
	border-radius: 6px 6px 6px 28px;
	padding: 34px 28px 22px 52px;
	transform: rotate(-2.2deg);
	box-shadow: 0 2px 0 rgba(0, 0, 0, .08), 0 30px 60px -28px rgba(0, 0, 0, .7);
	max-width: 420px; justify-self: end; width: 100%;
	margin-top: 24px;
}
.ticket::before { /* virvelė */
	content: ""; position: absolute; left: 24px; top: -120px; width: 2px; height: 146px;
	background: linear-gradient(#C9B691, #A8916A);
	transform-origin: bottom center; transform: rotate(-14deg);
}
.ticket-hole { position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--mat); box-shadow: inset 0 0 0 3px #E2E7E6; }
.ticket-tape {
	position: absolute; right: -18px; top: 14px; width: 110px; height: 30px;
	background: rgba(233, 162, 59, .82);
	transform: rotate(32deg);
	box-shadow: inset 0 0 0 1px rgba(184, 117, 18, .35);
	mix-blend-mode: multiply;
}
.ticket-title { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.ticket-lines { margin: 0; }
.ticket-line { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.ticket-line dt { color: var(--muted); font-size: .9375rem; flex: none; }
.ticket-line dt::after { content: ""; }
.ticket-line dd { margin: 0 0 0 auto; text-align: right; font-weight: 600; }
.ticket-line dd small { font-weight: 400; color: var(--muted); }
.ticket-line dd strong { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.ticket-line-status dd { display: inline-flex; align-items: center; gap: 8px; }
.ticket-line-status dd::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.ticket-line-status dd.is-open::before { background: var(--solder); }
.ticket-line-status dd.is-closed::before { background: var(--closed); }
.ticket-foot { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-top: 14px; }
.mat .ticket-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; color: var(--mat); text-decoration: underline; text-decoration-color: var(--kapton); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.mat .ticket-foot a:hover { color: var(--kapton-deep); }

@media (prefers-reduced-motion: no-preference) {
	.ticket { animation: gn-swing 1.4s var(--ease) .15s both; transform-origin: 24px 0; }
}
@keyframes gn-swing { 0% { transform: rotate(-9deg) translateY(-16px); opacity: 0; } 45% { opacity: 1; } 70% { transform: rotate(.5deg); } 100% { transform: rotate(-2.2deg); } }

.jump { margin-top: clamp(40px, 6vw, 72px); padding-bottom: 20px; }
.jump ul, ul.jump { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: block; white-space: nowrap; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--mat-line-strong); background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .88) !important; text-decoration: none; font-size: .9375rem; font-weight: 600; }
.jump a:hover, .jump a[aria-current] { background: #fff; color: var(--mat) !important; }
.jump-inline { margin-top: 24px; flex-wrap: wrap; -webkit-mask-image: none !important; mask-image: none !important; }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr); }
	.ticket { justify-self: start; margin: 8px 0 0 12px; max-width: 480px; transform: rotate(-1.5deg); }
}
@media (max-width: 900px) { .ticket::before { display: none; } }
@media (max-width: 560px) {
	.hero-actions .btn { width: 100%; }
	.hero-actions { margin-bottom: 28px; }
	.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hero-stats > div { padding: 14px 10px 0 0; margin-right: 10px; }
	.hero-stats dd { font-size: 1.3rem; }
	.hero-stats dt { font-size: .8125rem; line-height: 1.35; }
	.ticket { padding: 30px 20px 18px 44px; margin-left: 4px; }
}

/* ---------- Skiltys ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-head-light p { color: rgba(255, 255, 255, .78); }
.section-head-light h2 { color: #fff; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head-row > div { max-width: 640px; }
.section-head-row p { margin-bottom: 0; }

/* ---------- Paslaugos ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.service-playstation { grid-row: span 1; }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--mat); color: var(--kapton); display: grid; place-items: center; }
.service-icon .icon { width: 28px; height: 28px; }
.service-from { margin: 0; color: var(--muted); font-size: .9375rem; }
.service-from strong { color: var(--ink); font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.03em; margin-left: 4px; }
.service h3 { font-size: clamp(1.4rem, 1vw + 1rem, 1.75rem); margin-bottom: .25em; }
.service-models { color: var(--mat-soft); font-weight: 600; font-size: .9375rem; margin-bottom: .9em; }
.service > p:not(.service-models) { color: var(--ink-soft); }
.service-list { list-style: none; margin: 4px 0 22px; padding: 0; border-top: 1px solid var(--line-soft); }
.service-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: .96875rem; }
.service-list small { color: var(--muted); font-size: .8125rem; margin-left: 4px; }
.service-list .price { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.service .link { margin-top: auto; }
@media (max-width: 760px) { .service-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Kainoraštis ---------- */
.prices { background: var(--card); border-block: 1px solid var(--line); }
.prices-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.tabs { display: flex; gap: 6px; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.tab { flex: 1 0 auto; min-height: 44px; padding: 8px 18px; border: 0; border-radius: 10px; background: transparent; font: 600 1rem var(--font); color: var(--ink-soft); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--ink); background: rgba(30, 58, 76, .06); }
.tab[aria-selected="true"] { background: var(--mat); color: #fff; }
.tab-panel[hidden] { display: none; }
.price-device { font-size: 1.25rem; margin: 32px 0 12px; }
.tab-panel .price-device:first-child { margin-top: 0; }
.table-scroll { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; table-layout: fixed; }
.price-table thead th:nth-child(2) { width: 150px; }
.price-table thead th:nth-child(3) { width: 110px; }
.price-table th, .price-table td { text-align: left; padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.price-table thead th { font-size: .8125rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--ink); padding-top: 0; }
.price-table tbody th { font-weight: 400; }
.price-table td { color: var(--muted); white-space: nowrap; font-size: .9375rem; }
.price-table .num { text-align: right; padding-right: 0; color: var(--ink); font-weight: 600; font-size: 1rem; }
.price-table thead .num { font-size: .8125rem; color: var(--muted); }
.price-table tbody tr:hover { background: linear-gradient(90deg, transparent, var(--paper) 10%, var(--paper) 90%, transparent); }
.parts { display: inline-block; font-size: .75rem; font-weight: 600; padding: 1px 7px; border-radius: 6px; background: var(--kapton-soft); color: #6B4309; white-space: nowrap; vertical-align: 1px; }
.prices-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; }
.admin-bar .prices-aside { top: calc(var(--header-h) + 56px); }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.note p { margin: 0; font-size: .9375rem; color: var(--ink-soft); }
.note .note-big { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; letter-spacing: -.04em; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.note-plain { background: transparent; }
@media (max-width: 920px) {
	.prices-layout { grid-template-columns: minmax(0, 1fr); }
	.prices-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.prices-aside .note-plain, .prices-aside .btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.tab { padding: 8px 10px; font-size: .875rem; flex: 1 1 auto; }
	.tabs { gap: 2px; padding: 4px; }
	.price-table thead th:nth-child(2), .price-table td:nth-child(2) { display: none; }
	.prices-aside { grid-template-columns: 1fr; }
}

/* ---------- Skaičiuoklė ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(28px, 4vw, 56px); align-items: start; }
.calc-step { border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
.calc-step legend { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 14px; padding: 0; color: #fff; }
.calc-step legend span { font-family: var(--font); font-weight: 400; font-size: .9375rem; color: rgba(255, 255, 255, .65); letter-spacing: 0; margin-left: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 .96875rem var(--font); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--mat); }
.chip[aria-pressed="true"] { background: var(--mat); border-color: var(--mat); color: #fff; }
.mat .chip { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .28); color: #fff; }
.mat .chip:hover { border-color: #fff; }
.mat .chip[aria-pressed="true"] { background: var(--kapton); border-color: var(--kapton); color: var(--ink); }
.issues { display: grid; gap: 8px; }
.issue {
	display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 14px;
	width: 100%; text-align: left; padding: 14px 16px; border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); color: #fff;
	font: 400 1rem/1.35 var(--font); cursor: pointer; transition: background-color .15s, border-color .15s;
}
.issue:hover { border-color: rgba(255, 255, 255, .55); }
.issue .box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid rgba(255, 255, 255, .55); display: grid; place-items: center; }
.issue .box .icon { width: 15px; height: 15px; opacity: 0; stroke-width: 3; }
.issue-price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.issue-time { display: block; font-size: .8125rem; color: rgba(255, 255, 255, .6); margin-top: 2px; }
.issue[aria-pressed="true"] { background: rgba(233, 162, 59, .14); border-color: var(--kapton); }
.issue[aria-pressed="true"] .box { background: var(--kapton); border-color: var(--kapton); color: var(--ink); }
.issue[aria-pressed="true"] .box .icon { opacity: 1; }
.calc-noscript { color: rgba(255, 255, 255, .8); }

/* Kvitas */
.receipt {
	position: sticky; top: calc(var(--header-h) + 24px);
	background: var(--card); color: var(--ink);
	padding: 28px 26px 34px;
	border-radius: 6px 6px 0 0;
	--zig: 10px;
	-webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zig) * 2) 100%;
	mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(var(--zig) * 2) 100%;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.admin-bar .receipt { top: calc(var(--header-h) + 56px); }
.receipt-title { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; margin: 0; }
.receipt-device { color: var(--muted); margin: 2px 0 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.receipt-lines { list-style: none; margin: 0; padding: 0; min-height: 52px; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .9375rem; }
.receipt-lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.receipt-empty { color: var(--muted); }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 10px; }
.receipt-total span { font-weight: 600; }
.receipt-total strong { font-family: var(--font-display); font-size: 2rem; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.receipt-meta { margin: 0 0 12px; display: grid; gap: 4px; }
.receipt-meta div { display: flex; justify-content: space-between; font-size: .9375rem; }
.receipt-meta dt { color: var(--muted); }
.receipt-meta dd { margin: 0; font-weight: 600; }
.receipt-parts { font-size: .875rem; background: var(--kapton-soft); color: #5C3A08; padding: 10px 12px; border-radius: 10px; }
.receipt-actions { display: grid; gap: 8px; margin-top: 18px; }
.receipt-actions .btn-text { justify-self: center; }
.receipt-small { font-size: .8125rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.receipt.is-bump .receipt-total strong { animation: gn-bump .35s var(--ease); }
@keyframes gn-bump { 50% { transform: scale(1.06); color: var(--kapton-deep); } }
@media (prefers-reduced-motion: reduce) { .receipt.is-bump .receipt-total strong { animation: none; } }
@media (max-width: 920px) {
	.calc-grid { grid-template-columns: minmax(0, 1fr); }
	.receipt { position: static; }
}

/* ---------- Gedimų gidas ---------- */
.chips-filter { margin-bottom: 24px; }
.symptom-list { border-top: 2px solid var(--ink); }
.symptom { border-bottom: 1px solid var(--line); }
.symptom[hidden] { display: none; }
.symptom summary, .faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; }
.symptom summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.symptom summary h3, .faq-item summary h3 { margin: 0; font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); letter-spacing: -.02em; }
.symptom summary:hover h3, .faq-item summary:hover h3 { color: var(--mat-soft); }
.summary-icon { width: 36px; height: 36px; padding: 7px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); transition: transform .25s var(--ease), background-color .2s; }
details[open] > summary .summary-icon { transform: rotate(180deg); background: var(--kapton); border-color: var(--kapton); }
.symptom-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); padding: 0 0 28px; }
.symptom-body h4 { margin: 0 0 6px; }
.symptom-body p { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--solder); border-bottom: 2.5px solid var(--solder); transform: rotate(-45deg); }
.symptom-side { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; align-self: start; }
.symptom-price { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; margin: 0 0 12px; border-block: 1px dashed var(--line); font-size: .9375rem; }
.symptom-price strong { white-space: nowrap; font-size: 1.05rem; }
@media (max-width: 760px) { .symptom-body { grid-template-columns: 1fr; } }

/* ---------- Remontas ar naujas ---------- */
.compare { background: var(--card); border-block: 1px solid var(--line); }
.compare-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.compare .section-head { margin-bottom: 0; }
.compare .small { color: var(--muted); }
.compare-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.compare-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: end; }
.compare-problem { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.bars { display: grid; gap: 4px; }
.bar { width: var(--w); min-width: max-content; border-radius: 6px; padding: 5px 10px; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.bar-repair { background: var(--kapton); color: var(--ink); }
.bar-new { background: var(--line-soft); color: var(--ink-soft); }
.compare-save { margin: 0; text-align: right; color: var(--muted); font-size: .9375rem; white-space: nowrap; }
.compare-save strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--solder); letter-spacing: -.03em; line-height: 1; }
@media (max-width: 860px) { .compare-grid { grid-template-columns: 1fr; } }

/* ---------- Eiga ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; counter-increment: step; padding-top: 64px; }
.step::before { content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--mat); color: #fff; display: grid; place-items: center; font: 800 1.1rem var(--font-display); }
.step::after { content: ""; position: absolute; top: 21px; left: 56px; right: -8px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step:last-child::after { display: none; }
.step:last-child::before { background: var(--kapton); color: var(--ink); }
.step h3 { font-size: 1.15rem; margin-bottom: .35em; }
.step p { color: var(--muted); font-size: .96875rem; margin: 0; }
@media (max-width: 960px) {
	.steps { grid-template-columns: 1fr; gap: 0; }
	.step { padding: 0 0 28px 64px; }
	.step::after { top: 52px; bottom: 6px; left: 21px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
}

/* ---------- Priežiūra ---------- */
.care { background: var(--card); border-block: 1px solid var(--line); }
.care-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.tip { padding-left: 18px; border-left: 3px solid var(--kapton); }
.tip h3 { font-size: 1.1rem; margin-bottom: .3em; }
.tip p { color: var(--muted); font-size: .96875rem; margin: 0; }
.checklist { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
.checklist > p { color: var(--muted); }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checklist button { display: flex; gap: 12px; width: 100%; text-align: left; background: none; border: 0; padding: 10px 6px; border-radius: 10px; font: 400 .96875rem/1.45 var(--font); color: var(--ink); cursor: pointer; }
.checklist button:hover { background: rgba(30, 58, 76, .05); }
.checklist .box { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--muted); display: grid; place-items: center; margin-top: 1px; }
.checklist .box .icon { width: 15px; height: 15px; opacity: 0; stroke-width: 3; }
.checklist button[aria-pressed="true"] .box { background: var(--solder); border-color: var(--solder); color: #fff; }
.checklist button[aria-pressed="true"] .box .icon { opacity: 1; }
.checklist button[aria-pressed="true"] > span:last-child { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(86, 101, 106, .5); }
.checklist-done { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(47, 158, 98, .12); color: #1D6B41; font-weight: 600; }
@media (max-width: 960px) { .care-grid { grid-template-columns: 1fr; } .checklist { position: static; } }
@media (max-width: 560px) { .tips { grid-template-columns: 1fr; } }

/* ---------- DUK ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item p { color: var(--ink-soft); padding-right: 56px; margin: -4px 0 22px; max-width: 64ch; }
.reviews-link { display: inline-flex; gap: 14px; align-items: center; margin-top: 8px; padding: 14px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .9375rem; line-height: 1.35; }
.reviews-link .icon { width: 28px; height: 28px; color: var(--kapton-deep); fill: var(--kapton); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq .section-head { position: static; } .faq-item p { padding-right: 0; } }

/* ---------- Kortelės (tinklaraštis) ---------- */
.blog-teaser { background: var(--card); border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; }
.card-media { display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--mat); margin-bottom: 16px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-fallback { width: 100%; height: 100%; display: grid; place-items: center; background-image: linear-gradient(var(--mat-line-strong) 1px, transparent 1px), linear-gradient(90deg, var(--mat-line-strong) 1px, transparent 1px); background-size: 24px 24px; }
.card-meta { font-size: .875rem; color: var(--muted); margin-bottom: 6px; }
.card-title { font-size: 1.25rem; margin-bottom: .4em; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--mat-soft); text-decoration: underline; text-decoration-color: var(--kapton); }
.card-body > p:last-child { color: var(--muted); font-size: .96875rem; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Kontaktai ---------- */
.contacts-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: stretch; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(24px, 3.5vw, 40px); }
.contact-card h1, .contact-card h2 { margin-bottom: .3em; }
.contact-list { margin: 24px 0; display: grid; gap: 18px; }
.contact-list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.contact-list dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: .9375rem; align-self: start; }
.contact-list dt .icon { color: var(--mat); }
.contact-list dd { margin: 0; }
.contact-phone { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hours { border-collapse: collapse; width: 100%; max-width: 320px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 4px 0; text-align: left; font-weight: 400; }
.hours td { text-align: right; white-space: nowrap; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--ink); }
.hours tr.is-today th::after { content: " (šiandien)"; font-weight: 400; color: var(--muted); }
.hours-note { font-size: .8125rem; color: var(--muted); margin: 6px 0 0; }
.status-dark { color: var(--ink-soft); }
.map { position: relative; border-radius: var(--r-panel); overflow: hidden; min-height: 420px; background: var(--mat); color: #fff; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; }
.map-cta { position: relative; align-self: end; margin: 20px; padding: 20px; background: rgba(20, 42, 56, .88); border-radius: 14px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.map-cta p { margin: 0 0 12px; }
.map-cta .small { margin: 10px 0 0; color: rgba(255, 255, 255, .7); }
@media (max-width: 860px) { .contacts-grid { grid-template-columns: 1fr; } .map { min-height: 360px; } }
@media (max-width: 480px) { .contact-list > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Kvietimas ---------- */
.cta-band { padding-block: clamp(56px, 7vw, 96px); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .25em; }
.cta-inner p { color: rgba(255, 255, 255, .8); max-width: 56ch; margin: 0; }
.cta-actions { display: grid; gap: 14px; justify-items: start; }
.cta-band .status { color: rgba(255, 255, 255, .85); }

/* ---------- Vidiniai puslapiai ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 80px) clamp(36px, 5vw, 64px); }
.page-hero h1 { color: #fff; max-width: 22ch; font-size: clamp(2.1rem, 3.2vw + 1rem, 3.6rem); }
.page-hero .lead { color: rgba(255, 255, 255, .8); font-size: 1.15rem; max-width: 60ch; margin: 0; }
.page-hero-compact { padding-block: 18px; }
.breadcrumbs ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: rgba(255, 255, 255, .65); }
.page-hero-compact .breadcrumbs ol { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: rgba(255, 255, 255, .85) !important; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(255, 255, 255, .75); font-size: .9375rem; margin: 0; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-figure { margin-top: -24px; margin-bottom: 0; position: relative; }
.article-figure img { border-radius: var(--r-panel); width: 100%; box-shadow: var(--shadow-lift); }
.article-figure figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.article .entry-content { padding-block: clamp(36px, 5vw, 64px) 8px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.admin-bar .progress { top: 32px; }
.progress span { display: block; height: 100%; width: 100%; background: var(--kapton); transform-origin: 0 50%; transform: scaleX(0); }

.entry-content { font-size: 1.125rem; line-height: 1.72; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: clamp(1.55rem, 1.2vw + 1rem, 2rem); margin: 1.8em 0 .55em; }
.entry-content h3 { font-size: 1.35rem; margin: 1.6em 0 .5em; }
.entry-content h4 { margin: 1.4em 0 .4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--kapton-deep); }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--kapton); font-size: 1.2rem; color: var(--ink-soft); }
.entry-content img, .entry-content .wp-block-image img { border-radius: 12px; }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; }
.entry-content code { background: var(--line-soft); padding: .1em .35em; border-radius: 5px; font-size: .9em; }
.entry-content pre { background: var(--mat-deep); color: #E8EEEE; padding: 18px; border-radius: 12px; overflow-x: auto; font-size: .9rem; }
.entry-content pre code { background: none; padding: 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry-content .wp-block-gallery, .entry-content .gallery { gap: 12px; }
.entry-content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.entry-content .gallery-item { margin: 0; }
.entry-content .gallery img, .entry-content .wp-block-gallery img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.entry-content .wp-block-button__link { background: var(--kapton); color: var(--ink); border-radius: var(--r-btn); font-weight: 600; text-decoration: none; padding: .8em 1.3em; }
.entry-content .alignwide { width: min(1100px, 100vw - var(--gutter) * 2); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content::after { content: ""; display: table; clear: both; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .875rem; color: var(--muted); }

.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--kapton); border-radius: 14px; padding: 24px 26px; margin: 40px 0; }
.inline-cta h2 { margin-bottom: .2em; }
.inline-cta p { color: var(--muted); margin: 0; }
.inline-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tags { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .875rem; color: var(--ink-soft); background: var(--card); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px 0 var(--section); border-top: 1px solid var(--line); }
.post-nav span { display: block; font-size: .8125rem; color: var(--muted); margin-bottom: 4px; }
.post-nav a { font-weight: 600; text-decoration: none; color: var(--ink); }
.post-nav a:hover { color: var(--mat-soft); text-decoration: underline; }
.post-nav-next { text-align: right; grid-column: 2; }
.related { background: var(--card); border-top: 1px solid var(--line); }
.empty { max-width: 560px; }
.empty p { color: var(--muted); }

.pagination, .navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink); font-weight: 600; }
.page-numbers.current { background: var(--mat); border-color: var(--mat); color: #fff; }
.page-numbers:hover:not(.current) { border-color: var(--mat); }

.error-hero { padding-block: clamp(56px, 9vw, 120px); }
.error-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 16vw, 11rem); line-height: .85; letter-spacing: -.06em; margin: 0 0 16px; color: transparent; -webkit-text-stroke: 2px var(--kapton); }

/* ---------- Poraštė ---------- */
.site-footer { background: var(--mat-deep); color: rgba(255, 255, 255, .78); padding-top: clamp(56px, 7vw, 88px); font-size: .96875rem; }
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: var(--kapton); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; max-width: 36ch; }
.footer-title { font-family: var(--font); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.footer-address { display: grid; gap: 12px; }
.footer-address a { display: flex; gap: 10px; align-items: flex-start; }
.footer-address .icon { color: var(--kapton); margin-top: 2px; }
.footer-address small { color: rgba(255, 255, 255, .6); }
.footer-hours { margin: 0; display: grid; gap: 4px; }
.footer-hours div { display: flex; justify-content: space-between; gap: 16px; max-width: 260px; }
.footer-hours dd { margin: 0; color: #fff; white-space: nowrap; }
.footer-hours + .hours-note { color: rgba(255, 255, 255, .55); margin-top: 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .hours th, .site-footer .hours td { color: rgba(255, 255, 255, .78); }
.site-footer .hours tr.is-today th, .site-footer .hours tr.is-today td { color: #fff; }
.site-footer .hours tr.is-today th::after { color: rgba(255, 255, 255, .55); }
.site-footer .hours-note { color: rgba(255, 255, 255, .55); }
.social { display: flex; gap: 8px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; color: rgba(255, 255, 255, .55); }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Mobili skambučio juosta ir „į viršų“ ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
	.callbar {
		display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(244, 246, 245, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
		border-top: 1px solid var(--line);
		transform: translateY(110%); transition: transform .3s var(--ease);
	}
	.callbar.is-visible { transform: none; }
	.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r-btn); font-weight: 600; text-decoration: none; }
	.callbar-call { background: var(--kapton); color: var(--ink); }
	.callbar-map { background: var(--mat); color: #fff; }
	body { padding-bottom: 76px; }
}
.to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 56;
	width: 50px; height: 50px; border-radius: 14px;
	display: grid; place-items: center;
	background: var(--mat); color: #fff; border: 1px solid rgba(255, 255, 255, .15);
	box-shadow: 0 12px 28px -12px rgba(20, 42, 56, .7);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--kapton); color: var(--ink); }
.to-top .icon { width: 22px; height: 22px; }
.to-top svg circle { transition: stroke-dashoffset .1s linear; }
@media (max-width: 760px) { .to-top { bottom: calc(86px + env(safe-area-inset-bottom)); right: 12px; width: 46px; height: 46px; } }

/* ---------- Spausdinimas ---------- */
@media print {
	.site-header, .callbar, .to-top, .jump, .map, .receipt-actions, .chips-filter, .tabs { display: none !important; }
	.mat { background: none !important; color: #000 !important; }
	.mat h1, .mat h2, .mat p { color: #000 !important; }
	.tab-panel[hidden] { display: block !important; }
	details { display: block; }
	body { padding: 0 !important; background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
