/* ==========================================================================
   Tekto – διορθώσεις κινητού
   ========================================================================== */

html, body { overflow-x: clip; }

/* ---------- Κεφαλίδα: λογότυπο που δεν σπρώχνει το μενού ---------- */

.tk-header-inner { min-width: 0; }
.tk-brand { min-width: 0; flex: 0 1 auto; }
.tk-brand-name {
	min-width: 0; max-width: 320px;
	overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
	font-size: 1.3rem; letter-spacing: -.03em; padding: 2px 0;
}
.tk-logo-mark { flex: none; }
.tk-nav-list a { white-space: nowrap; }
.tk-nav-actions .tk-btn { white-space: nowrap; }

@media (max-width: 1180px) and (min-width: 981px) {
	.tk-header-inner { gap: 14px; }
	.tk-nav { gap: 12px; }
	.tk-nav-list { margin-left: 4px; }
	.tk-nav-list a { padding: 8px 9px; font-size: .9rem; }
	.tk-brand-name { max-width: 190px; font-size: 1.15rem; }
}

@media (max-width: 980px) {
	/* Το backdrop-filter "κλείδωνε" το fixed μενού μέσα στην κεφαλίδα. */
	.tk-header {
		-webkit-backdrop-filter: none; backdrop-filter: none;
		background: var(--tk-bg);
	}
	.tk-header-inner { gap: 12px; }
	.tk-brand { flex: 1 1 auto; }
	.tk-brand-name { max-width: none; font-size: 1.12rem; letter-spacing: -.02em; }
	.tk-logo-mark { width: 30px; height: 30px; }
	.tk-burger { flex: none; width: 44px; height: 44px; color: var(--tk-ink); }

	/* Μενού κινητού */
	.tk-nav {
		z-index: 99; padding: 8px var(--tk-gutter) calc(28px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--tk-line);
		-webkit-overflow-scrolling: touch; overscroll-behavior: contain;
	}
	.tk-nav-list li { list-style: none; }
	.tk-nav-list a {
		display: flex; align-items: center; justify-content: space-between;
		padding: 15px 2px; min-height: 54px;
		font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3;
		color: var(--tk-ink);
	}
	.tk-nav-list a::after {
		content: ""; flex: none; width: 8px; height: 8px; margin-left: 12px;
		border-right: 2px solid var(--tk-line-2); border-top: 2px solid var(--tk-line-2);
		transform: rotate(45deg);
	}
	.tk-nav-list .current-menu-item > a,
	.tk-nav-list .current_page_item > a { color: var(--tk-accent); }
	.tk-nav-list .current-menu-item > a::after { border-color: var(--tk-accent); }
	.tk-nav-list a:active { background: var(--tk-tint); }
	.tk-nav-actions { gap: 10px; margin-top: 22px; }
	.tk-nav-actions .tk-btn { min-height: 50px; font-size: 1rem; font-weight: 600; justify-content: center; }
}

@media (max-width: 400px) {
	.tk-brand-name { font-size: 1.02rem; }
	.tk-brand { gap: 8px; }
}

/* ---------- Φόρμα αγγελίας στο κινητό ---------- */

@media (max-width: 600px) {
	.tk-page-title { font-size: clamp(1.7rem, 7vw, 2.1rem); }
	.tk-page-sub { font-size: .98rem; }
	.tk-seg span { font-size: .86rem; min-height: 50px; }
	.tk-declare { padding: 16px 14px 4px; }
	.tk-check { font-size: .9rem; }
}

/* ---------- Επιλογέας (Κατηγορία / Περιοχή) ---------- */

.tkp-wrap { position: relative; }
.tkp-native {
	pointer-events: none;
}
.tkp-trigger {
	position: absolute; inset: 0; z-index: 2;
	width: 100%; height: 100%; margin: 0; padding: 0;
	background: transparent; border: 0; border-radius: var(--tk-radius);
	cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.tkp-trigger:focus { outline: none; }
.tkp-trigger:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(22, 24, 29, .12); }
.tkp-wrap:has(.tkp-trigger:focus-visible) .tkp-native { border-color: var(--tk-ink); }
.tkp-native.tkp-empty { color: #767b84; }

body.tkp-lock { overflow: hidden; }

.tkp-overlay {
	position: fixed; inset: 0; z-index: 10000;
	background: rgba(22, 24, 29, .45);
	display: flex; align-items: flex-end; justify-content: center;
	opacity: 0; transition: opacity .2s;
}
.tkp-overlay.is-open { opacity: 1; }

.tkp-sheet {
	width: 100%; max-width: 560px; max-height: min(86vh, 86dvh);
	display: flex; flex-direction: column;
	background: var(--tk-surface); color: var(--tk-ink);
	border-radius: 18px 18px 0 0;
	box-shadow: var(--tk-shadow-lg);
	transform: translateY(100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
	font-family: var(--tk-font);
}
.tkp-overlay.is-open .tkp-sheet { transform: none; }

@media (min-width: 700px) {
	.tkp-overlay { align-items: center; padding: 24px; }
	.tkp-sheet { border-radius: var(--tk-radius-lg); max-height: min(640px, 86vh); transform: translateY(16px) scale(.98); }
}

.tkp-grab { width: 40px; height: 4px; border-radius: 4px; background: var(--tk-line-2); margin: 8px auto 0; flex: none; }
@media (min-width: 700px) { .tkp-grab { display: none; } }

.tkp-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px 10px 20px; flex: none; }
.tkp-title { flex: 1; margin: 0; font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.tkp-close {
	flex: none; width: 40px; height: 40px; display: inline-grid; place-items: center;
	border: 0; border-radius: 50%; background: var(--tk-tint); color: var(--tk-ink); cursor: pointer;
}
.tkp-close:active { background: var(--tk-line); }

.tkp-search { position: relative; padding: 0 16px 10px; flex: none; }
.tkp-search svg { position: absolute; left: 30px; top: 50%; margin-top: -14px; color: var(--tk-muted); pointer-events: none; }
.tkp-search input {
	display: block; width: 100%; height: 46px; padding: 0 14px 0 42px;
	border: 1px solid var(--tk-line-2); border-radius: var(--tk-radius); background: var(--tk-bg);
	font: inherit; font-size: 16px; color: var(--tk-ink); -webkit-appearance: none; appearance: none;
}
.tkp-search input:focus { outline: none; border-color: var(--tk-ink); background: var(--tk-surface); }

.tkp-list {
	list-style: none; margin: 0; padding: 4px 12px calc(16px + env(safe-area-inset-bottom));
	overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
	border-top: 1px solid var(--tk-line);
}
.tkp-list--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 12px; }
.tkp-list--grid .tkp-li--wide { grid-column: 1 / -1; }

.tkp-opt {
	display: flex; align-items: center; gap: 12px; width: 100%;
	min-height: 52px; padding: 12px 10px; margin: 0;
	background: none; border: 0; border-radius: var(--tk-radius);
	font: inherit; font-size: 1rem; font-weight: 500; color: var(--tk-ink); text-align: left;
	cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.tkp-list:not(.tkp-list--grid) .tkp-li + .tkp-li .tkp-opt { box-shadow: 0 -1px 0 var(--tk-line); border-radius: 0; }
.tkp-opt:hover, .tkp-opt.is-active { background: var(--tk-tint); }
.tkp-opt-label { flex: 1; min-width: 0; line-height: 1.3; }
.tkp-opt-check { flex: none; width: 22px; height: 22px; color: var(--tk-accent); visibility: hidden; }
.tkp-opt[aria-selected="true"] { font-weight: 700; }
.tkp-opt[aria-selected="true"] .tkp-opt-check { visibility: visible; }
.tkp-opt--muted { color: var(--tk-muted); }

.tkp-list--grid .tkp-opt {
	flex-direction: column; align-items: flex-start; gap: 10px;
	min-height: 88px; padding: 12px; position: relative;
	border: 1px solid var(--tk-line-2); border-radius: var(--tk-radius);
	font-size: .92rem; font-weight: 600;
}
.tkp-list--grid .tkp-li--wide .tkp-opt { min-height: 52px; flex-direction: row; align-items: center; font-weight: 500; }
.tkp-list--grid .tkp-opt:hover { background: var(--tk-bg); }
.tkp-list--grid .tkp-opt[aria-selected="true"] { border-color: var(--tk-ink); box-shadow: inset 0 0 0 1px var(--tk-ink); background: var(--tk-surface); }
.tkp-list--grid .tkp-opt-check { position: absolute; top: 10px; right: 10px; }
.tkp-list--grid .tkp-li--wide .tkp-opt-check { position: static; }
.tkp-ico {
	flex: none; width: 38px; height: 38px; display: inline-grid; place-items: center;
	border-radius: 10px; background: var(--tk-accent-soft); color: var(--tk-accent);
}
.tkp-opt[aria-selected="true"] .tkp-ico { background: var(--tk-accent); color: #fff; }

.tkp-empty-msg { padding: 28px 12px; text-align: center; color: var(--tk-muted); font-size: .95rem; grid-column: 1 / -1; }

@media (max-width: 340px) { .tkp-list--grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
	.tkp-overlay, .tkp-sheet { transition: none; }
}
