/* ==========================================================================
   Phone database (loaded only on /telefoni/, brand, phone and comparison pages)
   ========================================================================== */
.tel-finder,
.tel-single,
.tel-compare {
	--tel-r: 1rem;
	--tel-r-sm: 0.625rem;
	--tel-ok: #15803d;
	--tel-ok-bg: #ecfdf3;
	--tel-warn: #b45309;
	--tel-warn-bg: #fffbeb;
	--tel-c0: #e11d48;
	--tel-c1: #2563eb;
	--tel-c2: #059669;
	--tel-c3: #d97706;
	padding-block: 1.5rem 4rem;
}
:root[data-theme="dark"] :is(.tel-finder, .tel-single, .tel-compare) { --tel-ok: #4ade80; --tel-ok-bg: rgba(21, 128, 61, 0.18); --tel-warn: #fbbf24; --tel-warn-bg: rgba(180, 83, 9, 0.18); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) :is(.tel-finder, .tel-single, .tel-compare) { --tel-ok: #4ade80; --tel-ok-bg: rgba(21, 128, 61, 0.18); --tel-warn: #fbbf24; --tel-warn-bg: rgba(180, 83, 9, 0.18); }
}

.tel-head { margin-bottom: 1rem; }
.tel-h2 { margin: 0 0 1rem; font-size: clamp(1.375rem, 2.4vw, 1.75rem); letter-spacing: -0.01em; color: var(--c-heading); }
.tel-lead { max-width: 46rem; margin: -0.25rem 0 1.25rem; font-family: var(--font-text); line-height: 1.6; color: var(--c-text); }
.tel-note { margin: 1rem 0 0; font-size: 0.875rem; color: var(--c-muted); }
.tel-note a { color: var(--c-accent-ink); }
.tel-i { flex: 0 0 auto; }

/* Buttons, links, chips, badges */
.tel-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0 1rem;
	font: 600 0.9375rem/1 var(--font);
	color: var(--c-heading);
	text-decoration: none;
	background: var(--c-bg);
	border: 1px solid var(--c-line);
	border-radius: var(--tel-r-sm);
	cursor: pointer;
	transition: border-color 0.15s, background-color 0.15s;
}
.tel-btn:hover { border-color: var(--c-heading); }
.tel-btn--icon { width: 44px; padding: 0; }
.tel-btn__badge { min-width: 1.25rem; padding: 0.125rem 0.375rem; font-size: 0.75rem; color: #fff; background: var(--c-accent-bg); border-radius: 999px; }
.tel-link { padding: 0; font: 600 0.875rem/1.4 var(--font); color: var(--c-accent-ink); background: none; border: 0; cursor: pointer; text-decoration: none; }
.tel-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.tel-link--muted { color: var(--c-muted); font-weight: 500; }
.tel-chip {
	display: inline-flex;
	align-items: center;
	height: 2.25rem;
	padding: 0 0.875rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--c-text);
	text-decoration: none;
	white-space: nowrap;
	background: var(--c-bg);
	border: 1px solid var(--c-line);
	border-radius: 999px;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.tel-chip:hover { border-color: var(--c-muted); color: var(--c-heading); }
.tel-chip[aria-pressed="true"] { color: var(--c-bg); background: var(--c-heading); border-color: var(--c-heading); }
.tel-badge { display: inline-flex; align-items: center; height: 1.375rem; padding: 0 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--c-accent-ink); background: var(--c-mark); border-radius: 999px; }
.tel-badge--soon { color: var(--tel-warn); background: var(--tel-warn-bg); }
.tel-badge--ok { color: var(--tel-ok); background: var(--tel-ok-bg); }
.tel-count { margin-left: auto; font-size: 0.8125rem; font-variant-numeric: tabular-nums; color: var(--c-muted); }

.tel-stars { position: relative; display: inline-block; width: 5.25rem; height: 1rem; vertical-align: -0.125rem; background: linear-gradient(90deg, var(--c-line) 0 100%); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 105 20'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='m10 1 2.7 5.6 6.1.9-4.4 4.3 1 6.1L10 15l-5.4 2.9 1-6.1L1.2 7.5l6.1-.9z'/%3E%3Cuse href='%23s' x='21'/%3E%3Cuse href='%23s' x='42'/%3E%3Cuse href='%23s' x='63'/%3E%3Cuse href='%23s' x='84'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 105 20'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='m10 1 2.7 5.6 6.1.9-4.4 4.3 1 6.1L10 15l-5.4 2.9 1-6.1L1.2 7.5l6.1-.9z'/%3E%3Cuse href='%23s' x='21'/%3E%3Cuse href='%23s' x='42'/%3E%3Cuse href='%23s' x='63'/%3E%3Cuse href='%23s' x='84'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100%; }
.tel-stars__fill { position: absolute; inset: 0 auto 0 0; background: #f59e0b; }

/* Silhouette and images */
.tel-sil { display: block; width: auto; max-width: 100%; height: 100%; max-height: 100%; }
.tel-sil__body { fill: var(--c-surface-2); stroke: var(--c-line); stroke-width: 0.6; }
.tel-sil__screen { fill: #17191c; }
.tel-sil__cam { fill: var(--c-bg); opacity: 0.85; }
.tel-sil__fold { stroke: rgba(255, 255, 255, 0.18); stroke-width: 0.5; }
/* Every media box has a fixed height: the image (with its large width/height attributes) is fitted inside it. */
:is(.tel-card__media, .tel-rc__media, .tel-cmp__media, .tel-hero__media, .tel-embed__media, .tel-sim__media) { overflow: hidden; min-width: 0; }
.tel-img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.tel-cmp__media .tel-img, .tel-rc__media .tel-img, .tel-card__media .tel-img { border-radius: 0.5rem; }

/* ==========================================================================
   Finder
   ========================================================================== */
.tel-presets { display: flex; gap: 0.5rem; margin: 0 0 1.25rem; padding-bottom: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.tel-presets::-webkit-scrollbar { display: none; }
.tel-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 64rem) {
	.tel-layout { grid-template-columns: 17.5rem minmax(0, 1fr); }
}

.tel-filters__form { display: flex; flex-direction: column; }
@media (min-width: 64rem) {
	.tel-filters { position: sticky; top: calc(var(--header-offset) + 1rem); max-height: calc(100vh - var(--header-offset) - 2rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; transition: top 0.25s ease; }
	.tel-filters__close, .tel-filters__foot { display: none; }
}
.tel-filters__head { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--c-line); }
.tel-filters__title { margin: 0; font-size: 1.125rem; }
.tel-filters__head .tel-link { margin-left: auto; font-weight: 500; }
.tel-filters__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--c-heading); background: none; border: 0; cursor: pointer; }
@media (min-width: 64rem) { .tel-filters__close { display: none; } }
.tel-f { margin: 0; padding: 1rem 0; border: 0; border-bottom: 1px solid var(--c-line); }
.tel-f__title { display: block; margin-bottom: 0.625rem; padding: 0; font-size: 0.875rem; font-weight: 600; color: var(--c-heading); }
details.tel-f > summary { display: flex; align-items: center; justify-content: space-between; margin: 0; cursor: pointer; list-style: none; }
details.tel-f > summary::-webkit-details-marker { display: none; }
details.tel-f > summary::after { content: ""; width: 0.5rem; height: 0.5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.15s; }
details.tel-f[open] > summary::after { transform: rotate(-135deg); }
.tel-more__grid { display: grid; gap: 0.75rem; padding-top: 0.875rem; }

.tel-checks { display: grid; gap: 0.125rem; margin: 0; padding: 0; list-style: none; }
.tel-check { display: flex; align-items: center; gap: 0.625rem; min-height: 2.25rem; padding: 0 0.25rem; font-size: 0.9375rem; color: var(--c-text); border-radius: 0.5rem; cursor: pointer; }
.tel-check:hover { background: var(--c-surface); }
.tel-check.is-empty { opacity: 0.45; }
.tel-check input { width: 1.125rem; height: 1.125rem; margin: 0; accent-color: var(--c-heading); }
/* Switch look for yes/no filters */
.tel-check--switch input { appearance: none; -webkit-appearance: none; position: relative; flex: 0 0 auto; width: 2.25rem; height: 1.25rem; background: var(--c-line); border-radius: 999px; transition: background-color 0.15s; cursor: pointer; }
.tel-check--switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 1rem; height: 1rem; background: #fff; border-radius: 50%; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 0.15s; }
.tel-check--switch input:checked { background: var(--c-heading); }
.tel-check--switch input:checked::after { transform: translateX(1rem); }
.tel-check input:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.tel-hist { display: flex; align-items: flex-end; gap: 2px; height: 2.5rem; margin-bottom: 0.5rem; }
.tel-hist span { flex: 1; min-height: 0; background: var(--c-surface-2); border-radius: 2px 2px 0 0; transition: height 0.2s, background-color 0.2s; }
.tel-hist:empty { display: none; }
.tel-hist span.is-on { background: color-mix(in srgb, var(--c-heading) 55%, var(--c-surface-2)); }
.tel-range__inputs { display: flex; align-items: center; gap: 0.5rem; }
.tel-range__inputs label { position: relative; flex: 1; }
.tel-range__inputs input,
.tel-select select,
.tel-input input,
.tel-input textarea,
.tel-cmpbar__add input,
.tel-sort select {
	width: 100%;
	height: 2.75rem;
	padding: 0 0.75rem;
	font: 500 0.9375rem/1 var(--font);
	color: var(--c-heading);
	background: var(--c-surface);
	border: 1px solid transparent;
	border-radius: var(--tel-r-sm);
	transition: border-color 0.15s, background-color 0.15s;
}
.tel-range__inputs input { padding-right: 1.75rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.tel-range__inputs input::-webkit-inner-spin-button { -webkit-appearance: none; }
:is(.tel-range__inputs input, .tel-select select, .tel-input input, .tel-input textarea, .tel-cmpbar__add input, .tel-sort select):focus { outline: 0; background: var(--c-bg); border-color: var(--c-heading); box-shadow: 0 0 0 3px var(--c-mark); }
.tel-unit { position: absolute; top: 50%; right: 0.75rem; font-size: 0.875rem; color: var(--c-muted); transform: translateY(-50%); pointer-events: none; }
.tel-range__dash { color: var(--c-muted); }
.tel-select { display: grid; gap: 0.25rem; font-size: 0.8125rem; font-weight: 500; color: var(--c-muted); }
.tel-select select { cursor: pointer; }
.tel-seg { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0; padding: 0; border: 0; }
.tel-seg legend { width: 100%; margin-bottom: 0.375rem; padding: 0; font-size: 0.8125rem; font-weight: 500; color: var(--c-muted); }
.tel-seg label { position: relative; }
.tel-seg input { position: absolute; opacity: 0; pointer-events: none; }
.tel-seg span { display: inline-flex; align-items: center; height: 2.25rem; padding: 0 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--c-text); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 999px; cursor: pointer; }
.tel-seg input:checked + span { color: var(--c-bg); background: var(--c-heading); border-color: var(--c-heading); }
.tel-seg input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.tel-filters__submit { margin-top: 1rem; }

/* Results */
.tel-toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.tel-search { position: relative; flex: 1 1 16rem; display: flex; align-items: center; }
.tel-search > .sa-icon { position: absolute; left: 0.875rem; color: var(--c-muted); pointer-events: none; }
.tel-search__input { width: 100%; height: 2.75rem; padding: 0 1rem 0 2.625rem; font: 500 0.9375rem/1 var(--font); color: var(--c-heading); background: var(--c-surface); border: 1px solid transparent; border-radius: var(--tel-r-sm); }
.tel-search__input:focus { outline: 0; background: var(--c-bg); border-color: var(--c-heading); box-shadow: 0 0 0 3px var(--c-mark); }
.tel-sort { flex: 0 0 auto; }
.tel-sort select { width: auto; padding-right: 2rem; cursor: pointer; }
@media (min-width: 64rem) {
	.tel-toolbar__filters { display: none; }
}
.tel-status { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 1rem 0; }
.tel-status__count { margin: 0; font-size: 0.9375rem; color: var(--c-muted); }
.tel-status__count strong { font-size: 1.125rem; color: var(--c-heading); font-variant-numeric: tabular-nums; }
.tel-active { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0; padding: 0; list-style: none; }
.tel-active__chip { display: inline-flex; align-items: center; gap: 0.375rem; height: 2rem; padding: 0 0.75rem; font: 500 0.8125rem/1 var(--font); color: var(--c-heading); background: var(--c-surface); border: 0; border-radius: 999px; cursor: pointer; }
.tel-active__chip:hover { background: var(--c-surface-2); }
.tel-active__chip span[aria-hidden] { font-size: 1rem; color: var(--c-muted); }

.tel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.tel-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }

/* Card */
.tel-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--c-bg);
	border: 1px solid var(--c-line);
	border-radius: var(--tel-r);
	transition: border-color 0.15s, box-shadow 0.2s, transform 0.2s;
}
.tel-card[hidden] { display: none; }
.tel-card:hover { border-color: color-mix(in srgb, var(--c-line) 40%, var(--c-heading) 60%); box-shadow: var(--shadow); }
.tel-card:has(.tel-card__name a:focus-visible) { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.tel-card__media { display: grid; grid-template: 100% / 100%; place-items: center; height: 11rem; padding: 1.25rem 1rem 0.5rem; background: linear-gradient(180deg, var(--c-surface), transparent); border-radius: var(--tel-r) var(--tel-r) 0 0; }
.tel-card__body { display: flex; flex: 1; flex-direction: column; padding: 0.75rem 1rem 1rem; }
.tel-card__brand { margin: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-muted); }
.tel-card__name { margin: 0.125rem 0 0.625rem; font-size: 1.0625rem; line-height: 1.3; }
.tel-card__name a { color: var(--c-heading); text-decoration: none; }
.tel-card__name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--tel-r); }
.tel-card__name a:focus-visible { outline: 0; }
.tel-card__specs { display: grid; gap: 0.3125rem; margin: 0 0 0.875rem; padding: 0; font-size: 0.8125rem; color: var(--c-text); list-style: none; }
.tel-card__specs li { display: flex; align-items: center; gap: 0.5rem; }
.tel-card__specs .tel-i { color: var(--c-muted); }
.tel-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: auto; }
.tel-card__price { font-size: 1.0625rem; font-weight: 700; color: var(--c-heading); font-variant-numeric: tabular-nums; }
.tel-card__rating { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.8125rem; font-weight: 600; color: var(--c-heading); }
.tel-card__rating .tel-i { color: #f59e0b; fill: #f59e0b; }
.tel-card__rating span { font-weight: 400; color: var(--c-muted); }
.tel-card__compare {
	position: absolute;
	top: 0.625rem;
	right: 0.625rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	height: 2rem;
	padding: 0 0.625rem 0 0.5rem;
	font: 600 0.75rem/1 var(--font);
	color: var(--c-heading);
	background: color-mix(in srgb, var(--c-bg) 90%, transparent);
	border: 1px solid var(--c-line);
	border-radius: 999px;
	cursor: pointer;
	backdrop-filter: blur(6px);
}
.tel-card__compare:hover { border-color: var(--c-heading); }
[data-tel-compare] .tel-i--check,
[data-tel-compare] .tel-cmp-on { display: none; }
[data-tel-compare][aria-pressed="true"] { color: #fff; background: var(--c-heading); border-color: var(--c-heading); }
[data-tel-compare][aria-pressed="true"] .tel-i--check,
[data-tel-compare][aria-pressed="true"] .tel-cmp-on { display: inline; }
[data-tel-compare][aria-pressed="true"] .tel-i--plus,
[data-tel-compare][aria-pressed="true"] .tel-cmp-off { display: none; }
:root[data-theme="dark"] [data-tel-compare][aria-pressed="true"] { color: #111; }

.tel-empty { padding: 2.5rem 1.5rem; text-align: center; background: var(--c-surface); border-radius: var(--tel-r); }
.tel-empty[hidden] { display: none; }
.tel-empty__title { margin: 0 0 0.25rem; font-size: 1.125rem; font-weight: 600; color: var(--c-heading); }
.tel-empty p { margin: 0 0 1rem; color: var(--c-muted); }

.tel-brands { margin-top: 3.5rem; }
.tel-guide { max-width: 46rem; margin-top: 4rem; }
.tel-brands__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.tel-brand { display: flex; align-items: center; gap: 0.5rem; padding: 0.875rem 1rem; font-weight: 600; color: var(--c-heading); text-decoration: none; background: var(--c-surface); border-radius: var(--tel-r-sm); }
.tel-brand:hover { background: var(--c-surface-2); }

/* Mobile: filters as a bottom sheet */
@media (max-width: 63.99rem) {
	.tel-filters { display: none; }
	.tel-filters.is-open {
		position: fixed;
		inset: auto 0 0 0;
		z-index: 200;
		display: block;
		max-height: 88vh;
		background: var(--c-bg);
		border-radius: 1.25rem 1.25rem 0 0;
		box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
		animation: tel-up 0.25s ease;
	}
	.tel-filters.is-open .tel-filters__form { max-height: 88vh; }
	.tel-filters__head { padding: 0.5rem 0.5rem 0.5rem 1.25rem; }
	.tel-filters__body { flex: 1; overflow-y: auto; padding: 0 1.25rem; overscroll-behavior: contain; }
	.tel-filters__foot { padding: 0.75rem 1.25rem max(0.75rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line); }
	.tel-filters__show { width: 100%; }
	body.tel-lock { overflow: hidden; }
	body.tel-lock::after { content: ""; position: fixed; inset: 0; z-index: 199; background: var(--c-backdrop); }
}
@keyframes tel-up { from { transform: translateY(100%); } }

/* Compare tray */
.tel-tray {
	position: fixed;
	left: 50%;
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 90;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: min(48rem, calc(100% - 2rem));
	padding: 0.5rem 0.5rem 0.5rem 1rem;
	background: var(--c-bg);
	border: 1px solid var(--c-line);
	border-radius: var(--tel-r);
	box-shadow: var(--shadow);
	transform: translateX(-50%);
	animation: tel-tray 0.25s ease;
}
.tel-tray[hidden] { display: none; }
@keyframes tel-tray { from { opacity: 0; transform: translate(-50%, 1rem); } }
.tel-tray__label { flex: 0 0 auto; margin: 0; font-size: 0.8125rem; font-weight: 600; color: var(--c-muted); }
.tel-tray__list { display: flex; flex: 1; gap: 0.5rem; min-width: 0; margin: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.tel-tray__list li { display: flex; flex: 0 0 auto; align-items: center; gap: 0.375rem; height: 2.5rem; padding: 0 0.25rem 0 0.25rem; background: var(--c-surface); border-radius: 0.5rem; }
.tel-tray__thumb { width: 2rem; height: 2rem; overflow: hidden; border-radius: 0.375rem; }
.tel-tray__thumb img { width: 100%; height: 100%; object-fit: contain; }
.tel-tray__name { max-width: 9rem; overflow: hidden; font-size: 0.8125rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; color: var(--c-heading); }
.tel-tray__x { width: 1.75rem; height: 1.75rem; padding: 0; font-size: 1.125rem; line-height: 1; color: var(--c-muted); background: none; border: 0; border-radius: 50%; cursor: pointer; }
.tel-tray__x:hover { color: var(--c-heading); background: var(--c-surface-2); }
.tel-tray__go { flex: 0 0 auto; border-radius: var(--tel-r-sm); }
.tel-tray__go[aria-disabled="true"] { opacity: 0.45; }
.tel-tray__clear { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; color: var(--c-muted); background: none; border: 0; border-radius: var(--tel-r-sm); cursor: pointer; }
.tel-tray__clear:hover { color: var(--c-heading); background: var(--c-surface); }
body.tel-has-tray { padding-bottom: 5.5rem; }
@media (max-width: 40rem) {
	.tel-tray__label, .tel-tray__name { display: none; }
}

.tel-toast { position: fixed; left: 50%; bottom: 6rem; z-index: 300; max-width: calc(100% - 2rem); padding: 0.625rem 1rem; font-size: 0.9375rem; color: #fff; background: #111; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 0.5rem); transition: opacity 0.2s, transform 0.2s; }
.tel-toast.is-on { opacity: 1; transform: translate(-50%, 0); }


/* ==========================================================================
   Finder by needs (archive-telefon.php)
   ========================================================================== */
.tel-q {
	margin-bottom: 2rem;
	padding: 1.25rem clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.25rem);
	background:
		radial-gradient(60rem 18rem at 0% 0%, color-mix(in srgb, var(--c-accent) 7%, transparent), transparent 70%),
		var(--c-surface);
	border-radius: 1.5rem;
}
.tel-q .sa-breadcrumb { margin-bottom: 1.25rem; }
.tel-q__eyebrow { margin: 0 0 0.375rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-accent-ink); }
.tel-q__title { max-width: 22ch; margin: 0 0 0.75rem; font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.05; letter-spacing: -0.025em; }
.tel-q__lead { max-width: 44rem; margin: 0 0 1.5rem; font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.6; color: var(--c-text); }

.tel-ask { position: relative; display: flex; align-items: center; max-width: 48rem; }
.tel-ask > .tel-i { position: absolute; left: 1.125rem; color: var(--c-accent-ink); pointer-events: none; }
.tel-ask__input {
	width: 100%;
	height: 3.75rem;
	padding: 0 4rem 0 3.25rem;
	font: 500 1.0625rem/1 var(--font);
	color: var(--c-heading);
	background: var(--c-bg);
	border: 1px solid var(--c-line);
	border-radius: 1rem;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.tel-ask__input::placeholder { color: var(--c-muted); font-weight: 400; }
.tel-ask__input:focus { outline: 0; border-color: var(--c-heading); box-shadow: 0 0 0 4px var(--c-mark), 0 8px 24px rgba(0, 0, 0, 0.06); }
.tel-ask__go { position: absolute; right: 0.5rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; color: #fff; background: var(--c-heading); border: 0; border-radius: 0.75rem; cursor: pointer; }
:root[data-theme="dark"] .tel-ask__go { color: #111; }
.tel-parsed { max-width: 48rem; margin: 0.625rem 0 0; font-size: 0.875rem; color: var(--c-muted); }
.tel-parsed[hidden] { display: none; }
.tel-parsed b { font-weight: 600; color: var(--c-heading); }

.tel-q__grid { display: grid; gap: 1.5rem 2.5rem; margin-top: 1.75rem; }
@media (min-width: 56rem) { .tel-q__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); align-items: start; } }
.tel-q fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.tel-q legend { padding: 0; margin-bottom: 0.625rem; font-size: 0.9375rem; font-weight: 700; color: var(--c-heading); }
.tel-q legend span { margin-left: 0.25rem; font-weight: 400; color: var(--c-muted); }

.tel-budget { position: relative; }
.tel-budget__out { display: block; margin: -0.25rem 0 0.25rem; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.01em; color: var(--c-heading); font-variant-numeric: tabular-nums; }
.tel-budget .tel-hist { height: 2.75rem; margin: 0.25rem 0 0; }
.tel-budget__range { width: 100%; margin: 0; accent-color: var(--c-heading); cursor: pointer; }
.tel-budget__ends { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--c-muted); }

.tel-needs__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tel-need { position: relative; }
.tel-need input { position: absolute; opacity: 0; pointer-events: none; }
.tel-need__body {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	height: 2.75rem;
	padding: 0 1rem 0 0.875rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--c-heading);
	background: var(--c-bg);
	border: 1px solid var(--c-line);
	border-radius: 999px;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}
.tel-need__body .tel-i { color: var(--c-muted); }
.tel-need:hover .tel-need__body { border-color: var(--c-heading); }
.tel-need input:checked + .tel-need__body { color: var(--c-bg); background: var(--c-heading); border-color: var(--c-heading); }
.tel-need input:checked + .tel-need__body .tel-i { color: inherit; }
.tel-need input:focus-visible + .tel-need__body { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.tel-need:active .tel-need__body { transform: scale(0.97); }
.tel-need__n:empty { display: none; }
.tel-need__n { display: grid; place-items: center; width: 1.375rem; height: 1.375rem; margin-right: -0.375rem; font-size: 0.75rem; font-weight: 700; color: #fff; background: var(--c-accent-bg); border-radius: 50%; }
.tel-need.is-locked { opacity: 0.45; }

.tel-brandpick { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 1.5rem !important; }
.tel-pill { position: relative; }
.tel-pill input { position: absolute; opacity: 0; pointer-events: none; }
.tel-pill span { display: inline-flex; align-items: center; height: 2.125rem; padding: 0 0.875rem; font-size: 0.875rem; font-weight: 500; color: var(--c-text); background: color-mix(in srgb, var(--c-bg) 60%, transparent); border: 1px solid var(--c-line); border-radius: 999px; cursor: pointer; }
.tel-pill span:hover { background: var(--c-bg); border-color: var(--c-muted); }
.tel-brandpick::before { content: "Znamka:"; align-self: center; margin-right: 0.25rem; font-size: 0.875rem; font-weight: 700; color: var(--c-heading); }
.tel-pill input:checked + span { color: var(--c-heading); background: var(--c-bg); border-color: var(--c-heading); font-weight: 600; }
.tel-pill input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.tel-soon { display: flex; gap: 1rem; align-items: flex-start; max-width: 40rem; padding: 1.25rem 1.5rem; background: var(--c-bg); border-radius: 1rem; }
.tel-soon .tel-i { color: var(--c-accent-ink); }
.tel-soon p { margin: 0; color: var(--c-muted); }
.tel-soon__title { margin-bottom: 0.25rem !important; font-weight: 700; color: var(--c-heading) !important; }

/* Results */
.tel-results .tel-toolbar { justify-content: space-between; }
.tel-results .tel-status__count { flex: 1 1 auto; margin: 0; }
.tel-results .tel-toolbar__filters { display: inline-flex; }
.tel-results .tel-active { margin: 0.75rem 0 0; }
.tel-list { display: grid; gap: 0.75rem; margin-top: 1rem; }
.tel-rc {
	position: relative;
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr) auto;
	gap: 1.25rem;
	align-items: center;
	padding: 1rem 1.25rem;
	background: var(--c-bg);
	border: 1px solid var(--c-line);
	border-radius: 1.125rem;
	transition: border-color 0.15s, box-shadow 0.2s;
}
.tel-rc[hidden] { display: none; }
.tel-rc:hover { border-color: color-mix(in srgb, var(--c-line) 40%, var(--c-heading) 60%); box-shadow: var(--shadow); }
.tel-rc:has(.tel-rc__best:not([hidden])) { border-color: var(--c-heading); box-shadow: 0 0 0 1px var(--c-heading); }
.tel-rc__media { display: grid; grid-template: 100% / 100%; place-items: center; height: 7.5rem; }
.tel-rc__media .tel-sil { height: 100%; }
.tel-rc__eyebrow { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-muted); }
.tel-rc__rank { display: grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 0.25rem; font-size: 0.75rem; color: var(--c-bg); background: var(--c-heading); border-radius: 999px; letter-spacing: 0; }
.tel-rc__rank[hidden], .tel-rc__best[hidden] { display: none; }
.tel-why .is-over { color: var(--tel-warn); font-weight: 500; }
.tel-rc__best { padding: 0.125rem 0.5rem; font-size: 0.6875rem; color: var(--tel-ok); background: var(--tel-ok-bg); border-radius: 999px; }
.tel-rc__name { margin: 0.125rem 0 0.5rem; font-size: 1.25rem; line-height: 1.2; }
.tel-rc__name a { color: var(--c-heading); text-decoration: none; }
.tel-rc__name a::after { content: ""; position: absolute; inset: 0; border-radius: 1.125rem; }
.tel-rc:has(.tel-rc__name a:focus-visible) { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.tel-match { --hue: 120; display: flex; align-items: center; gap: 0.625rem; margin-bottom: 0.5rem; }
.tel-match[hidden] { display: none; }
.tel-match__bar { width: min(12rem, 40%); height: 0.5rem; overflow: hidden; background: var(--c-surface-2); border-radius: 999px; }
.tel-match__bar span { display: block; height: 100%; background: hsl(var(--hue) 62% 40%); border-radius: 999px; transition: width 0.35s ease; }
.tel-match__num { font-size: 0.875rem; font-weight: 700; color: hsl(var(--hue) 62% 32%); font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .tel-match__num { color: hsl(var(--hue) 62% 62%); }
.tel-why { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin: 0 0 0.375rem; padding: 0; font-size: 0.875rem; list-style: none; }
.tel-why:empty { display: none; }
.tel-why .is-yes { color: var(--tel-ok); font-weight: 500; }
.tel-why .is-no { color: var(--c-muted); }
.tel-rc__facts { margin: 0; font-size: 0.8125rem; color: var(--c-muted); }
.tel-rc__side { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; text-align: right; }
.tel-rc__price { display: grid; margin: 0; }
.tel-rc__price strong { font-size: 1.25rem; color: var(--c-heading); font-variant-numeric: tabular-nums; }
.tel-rc__price span { font-size: 0.75rem; color: var(--c-muted); }
.tel-rc__compare { min-height: 2.5rem; padding: 0 0.875rem; font-size: 0.875rem; }
.tel-rc__compare[aria-pressed="true"] { color: #fff; }
@media (max-width: 40rem) {
	.tel-rc { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.875rem; padding: 0.875rem 1rem; }
	.tel-rc__media { height: 6rem; align-self: start; }
	.tel-rc__side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; padding-top: 0.625rem; border-top: 1px solid var(--c-line); }
	.tel-rc__name { font-size: 1.0625rem; }
	.tel-match__bar { width: 6rem; }
}

.tel-over { margin-top: 2rem; }
.tel-over[hidden] { display: none; }
.tel-over__title { margin: 0 0 0.25rem; font-size: 1.125rem; }
.tel-over__lead { margin: 0; font-size: 0.9375rem; color: var(--c-muted); }
.tel-over .tel-rc { opacity: 0.92; border-style: dashed; }

/* »Prikaži še«: count, progress and a real link to the next step */
.tel-loadmore { display: grid; justify-items: center; gap: 0.75rem; max-width: 20rem; margin: 2rem auto 0; text-align: center; }
.tel-loadmore[hidden] { display: none; }
.tel-loadmore__count { margin: 0; font-size: 0.875rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.tel-loadmore__bar { display: block; width: 100%; height: 0.25rem; overflow: hidden; background: var(--c-line); border-radius: 999px; }
.tel-loadmore__bar span { display: block; height: 100%; background: var(--c-heading); border-radius: inherit; transition: width 0.3s ease; }
.tel-loadmore__btn { justify-content: center; width: 100%; min-height: 3rem; }

/* "Vsi filtri" drawer: side panel on desktop, bottom sheet on phones */
.tel-drawer { position: fixed; inset: 0; z-index: 200; background: var(--c-backdrop); }
.tel-drawer[hidden] { display: none; }
.tel-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(28rem, 100%); background: var(--c-bg); box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2); animation: tel-side 0.25s ease; }
@keyframes tel-side { from { transform: translateX(100%); } }
.tel-drawer .tel-filters__head { padding: 0.75rem 0.75rem 0.75rem 1.5rem; }
.tel-drawer .tel-filters__close { display: grid; }
.tel-drawer .tel-filters__body { flex: 1; overflow-y: auto; padding: 0 1.5rem; overscroll-behavior: contain; }
.tel-drawer .tel-filters__foot { display: block; padding: 0.875rem 1.5rem max(0.875rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line); }
.tel-drawer .tel-filters__show { width: 100%; }
.tel-checks--2 { grid-template-columns: 1fr; }
@media (max-width: 40rem) {
	.tel-drawer__panel { top: auto; left: 0; width: 100%; max-height: 88vh; border-radius: 1.25rem 1.25rem 0 0; animation: tel-up 0.25s ease; }
}

/* ==========================================================================
   Phone page
   ========================================================================== */
.tel-hero__grid { display: grid; gap: 1.5rem 3rem; margin-top: 1rem; }
@media (min-width: 56rem) {
	.tel-hero__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
	.tel-hero__media { position: sticky; top: calc(var(--header-offset) + 1rem); transition: top 0.25s ease; }
}
.tel-hero__media { display: grid; place-items: center; margin: 0; padding: 2rem; aspect-ratio: 4 / 5; max-height: 34rem; background: radial-gradient(120% 90% at 50% 0%, var(--c-surface-2), var(--c-surface)); border-radius: 1.25rem; }
.tel-hero__media .tel-sil { height: 82%; }
.tel-hero__media figcaption { align-self: end; margin-top: 0.5rem; font-size: 0.75rem; color: var(--c-muted); }
.tel-hero__brand { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-accent-ink); text-decoration: none; }
.tel-hero__title { margin: 0.25rem 0 0.625rem; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; }
.tel-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; font-size: 0.875rem; color: var(--c-muted); }
.tel-hero__rating { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--c-heading); text-decoration: none; }
.tel-hero__rating span { color: var(--c-muted); }
.tel-hero__summary { margin: 1.25rem 0 1.5rem; font-family: var(--font-text); font-size: 1.125rem; line-height: 1.6; color: var(--c-text); }

.tel-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); gap: 0.625rem; margin: 0 0 1.5rem; }
.tel-tile { padding: 0.875rem 1rem; background: var(--c-surface); border-radius: var(--tel-r-sm); }
.tel-tile dt { display: flex; align-items: center; gap: 0.375rem; margin-bottom: 0.25rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--c-muted); }
.tel-tile dd { display: grid; gap: 0.125rem; margin: 0; }
.tel-tile strong { font-size: 1.0625rem; color: var(--c-heading); }
.tel-tile dd span { font-size: 0.8125rem; color: var(--c-muted); }

.tel-hero__buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--c-line); }
.tel-price { display: grid; margin: 0; }
.tel-price span { font-size: 0.8125rem; color: var(--c-muted); }
.tel-price strong { font-size: 1.75rem; color: var(--c-heading); font-variant-numeric: tabular-nums; }
.tel-hero__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tel-btn--compare[aria-pressed="true"] { color: #fff; }

/* Sticky section tabs */
.tel-tabsbar { position: sticky; top: var(--header-offset); z-index: 6; margin: 2.5rem calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); background: var(--c-bg); border-bottom: 1px solid var(--c-line); transition: top 0.25s ease; }
.tel-tabsbar ul { display: flex; gap: 0.25rem; margin: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.tel-tabsbar ul::-webkit-scrollbar { display: none; }
.tel-tabsbar a { position: relative; display: block; padding: 0.875rem 0.875rem; font-size: 0.9375rem; font-weight: 500; white-space: nowrap; color: var(--c-muted); text-decoration: none; }
.tel-tabsbar a:hover { color: var(--c-heading); }
.tel-tabsbar a.is-active { color: var(--c-heading); }
.tel-tabsbar a.is-active::after { content: ""; position: absolute; left: 0.875rem; right: 0.875rem; bottom: -1px; height: 2px; background: var(--c-heading); border-radius: 2px; }

.tel-body { max-width: 60rem; }
.tel-sec { padding-top: 3rem; scroll-margin-top: calc(var(--header-h) + 3.5rem); }
.tel-target { margin: 0 0 1.25rem; font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.6; }
.tel-pc { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .tel-pc { grid-template-columns: 1fr 1fr; } }
.tel-pc__col { padding: 1.125rem 1.25rem; border-radius: var(--tel-r); }
.tel-pc__col.is-pro { background: var(--tel-ok-bg); }
.tel-pc__col.is-con { background: var(--c-surface); }
.tel-pc__col h3 { margin: 0 0 0.625rem; font-size: 1rem; }
.tel-pc__col ul { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.tel-pc__col li { display: flex; gap: 0.5rem; font-family: var(--font-text); font-size: 0.9375rem; line-height: 1.5; }
.tel-pc__col.is-pro .tel-i { margin-top: 0.2rem; color: var(--tel-ok); }
.tel-pc__col.is-con .tel-i { margin-top: 0.2rem; color: var(--c-muted); }
.tel-prose { margin-top: 1.5rem; }
.tel-verdict { margin: 1.5rem 0 0; padding: 1rem 1.25rem; font-family: var(--font-text); line-height: 1.6; border-left: 3px solid var(--c-heading); background: var(--c-surface); border-radius: 0 var(--tel-r-sm) var(--tel-r-sm) 0; }

.tel-si { display: grid; gap: 1rem; }
.tel-si__card { display: flex; gap: 0.875rem; padding: 1.125rem 1.25rem; background: var(--c-surface); border-radius: var(--tel-r); }
.tel-si__card.is-ok { background: var(--tel-ok-bg); }
.tel-si__card.is-ok > .tel-i { color: var(--tel-ok); }
.tel-si__card.is-warn { background: var(--tel-warn-bg); }
.tel-si__card.is-warn > .tel-i { color: var(--tel-warn); }
.tel-si__card p { margin: 0; font-family: var(--font-text); line-height: 1.5; }
.tel-si__title { font-family: var(--font) !important; font-weight: 600; color: var(--c-heading); }
.tel-si__facts { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.tel-si__facts li { display: flex; gap: 0.5rem; font-family: var(--font-text); line-height: 1.5; }
.tel-si__facts .is-yes .tel-i { margin-top: 0.2rem; color: var(--tel-ok); }
.tel-si__facts .is-no .tel-i { margin-top: 0.2rem; color: var(--c-muted); }
.tel-si__facts a, .tel-ops a { color: inherit; text-decoration: underline; text-decoration-color: var(--c-line); text-underline-offset: 3px; }
.tel-table-wrap { overflow-x: auto; }
.tel-ops { width: 100%; font-size: 0.9375rem; border-collapse: collapse; }
.tel-ops th, .tel-ops td { padding: 0.625rem 0.75rem; text-align: left; border-bottom: 1px solid var(--c-line); }
.tel-ops thead th { font-size: 0.8125rem; color: var(--c-muted); }
.tel-ops td.is-yes { color: var(--tel-ok); font-weight: 600; }
.tel-ops td.is-na { color: var(--c-muted); }

.tel-eu { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: 0.625rem; }
.tel-eu__item { padding: 1rem; background: var(--c-surface); border-radius: var(--tel-r-sm); }
.tel-eu__label { margin: 0 0 0.5rem; font-size: 0.8125rem; font-weight: 500; color: var(--c-muted); }
.tel-eu__big { margin: 0; font-size: 1.75rem; font-weight: 700; color: var(--c-heading); }
.tel-eu__big small { font-size: 0.875rem; font-weight: 500; color: var(--c-muted); }
.tel-eu__value { display: none; }
.tel-scale { display: flex; gap: 2px; }
.tel-scale__cell { flex: 1; padding: 0.25rem 0; font-size: 0.75rem; font-weight: 700; text-align: center; color: rgba(255, 255, 255, 0.75); background: hsl(var(--h) 65% 42% / 0.35); border-radius: 3px; }
.tel-scale__cell.is-on { color: #fff; background: hsl(var(--h) 70% 38%); transform: scaleY(1.25); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }

.tel-specs { columns: 2 22rem; column-gap: 1rem; }
.tel-specs__group { margin-bottom: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--c-line); border-radius: var(--tel-r); break-inside: avoid; }
.tel-specs__title { margin: 0 0 0.5rem; font-size: 1rem; }
.tel-spec { margin: 0; }
.tel-spec__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; padding: 0.5rem 0; font-size: 0.9375rem; border-top: 1px solid var(--c-line); }
.tel-spec__row:first-child { border-top: 0; }
.tel-spec dt { color: var(--c-muted); }
.tel-spec dt a { color: inherit; text-decoration: underline; text-decoration-color: var(--c-line); text-underline-offset: 3px; }
.tel-spec dt a:hover { color: var(--c-accent-ink); }
.tel-spec dd { margin: 0; font-weight: 500; color: var(--c-heading); overflow-wrap: anywhere; }
.tel-spec__hint { display: block; margin-top: 0.125rem; font-size: 0.75rem; line-height: 1.35; color: var(--c-muted); opacity: 0.85; }
.tel-sources { display: grid; gap: 0.25rem; margin-top: 1.25rem; font-size: 0.875rem; color: var(--c-muted); }
.tel-sources p { margin: 0; }
.tel-sources a { color: var(--c-accent-ink); }

/* Reviews */
.tel-rsum { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; padding: 1.5rem; background: var(--c-surface); border-radius: var(--tel-r); }
@media (min-width: 48rem) { .tel-rsum { grid-template-columns: 11rem 1fr 1fr; align-items: center; } }
.tel-rsum__avg { text-align: center; }
.tel-rsum__num { margin: 0; font-size: 3rem; font-weight: 700; line-height: 1; color: var(--c-heading); }
.tel-rsum__count, .tel-rsum__rec { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--c-muted); }
.tel-rsum__rec { font-weight: 600; color: var(--tel-ok); }
.tel-rsum__dist, .tel-rsum__areas { display: grid; gap: 0.375rem; margin: 0; padding: 0; font-size: 0.875rem; list-style: none; }
.tel-rsum__dist li, .tel-rsum__areas li { display: grid; grid-template-columns: 2.5rem 1fr 2rem; align-items: center; gap: 0.5rem; }
.tel-rsum__areas li { grid-template-columns: 7.5rem 1fr 2rem; }
.tel-bar { height: 0.5rem; overflow: hidden; background: var(--c-line); border-radius: 999px; }
.tel-bar span { display: block; height: 100%; background: var(--c-heading); border-radius: 999px; }
.tel-rempty { margin-bottom: 1.25rem; padding: 1.25rem 1.5rem; background: var(--c-surface); border-radius: var(--tel-r); }
.tel-rempty p { margin: 0; color: var(--c-muted); }
.tel-rempty__title { margin-bottom: 0.25rem !important; font-weight: 600; color: var(--c-heading) !important; }
.tel-reviews__write { margin-bottom: 1.5rem; }
.tel-reviews__bar { display: flex; justify-content: space-between; margin: 0.5rem 0 0.75rem; }
.tel-tabs { display: inline-flex; gap: 0.25rem; padding: 0.25rem; background: var(--c-surface); border-radius: 999px; }
.tel-tabs button { height: 2.25rem; padding: 0 1rem; font: 500 0.875rem/1 var(--font); color: var(--c-muted); background: none; border: 0; border-radius: 999px; cursor: pointer; }
.tel-tabs button[aria-selected="true"] { color: var(--c-heading); background: var(--c-bg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.tel-reviews__list { display: grid; gap: 0.75rem; }
.tel-reviews__more { margin-top: 1rem; }
.tel-rev { padding: 1.125rem 1.25rem; border: 1px solid var(--c-line); border-radius: var(--tel-r); }
.tel-rev__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.tel-rev__who { display: flex; flex-wrap: wrap; gap: 0 0.625rem; margin: 0; font-size: 0.875rem; color: var(--c-muted); }
.tel-rev__who strong { color: var(--c-heading); }
.tel-rev__rec { margin-left: auto; padding: 0.125rem 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--tel-ok); background: var(--tel-ok-bg); border-radius: 999px; }
.tel-rev__rec.is-no { color: var(--c-muted); background: var(--c-surface); }
.tel-rev__pc { display: grid; gap: 0.25rem; margin: 0.75rem 0 0; font-size: 0.9375rem; }
.tel-rev__pc div { display: flex; gap: 0.5rem; }
.tel-rev__pc dt { flex: 0 0 auto; font-weight: 600; }
.tel-rev__pc .is-pro dt { color: var(--tel-ok); }
.tel-rev__pc .is-con dt { color: var(--c-muted); }
.tel-rev__pc dd { margin: 0; }
.tel-rev__body { margin: 0.625rem 0 0; font-family: var(--font-text); line-height: 1.6; }
.tel-rev__foot { display: flex; gap: 1rem; margin-top: 0.75rem; }

.tel-rform { display: grid; gap: 1.125rem; margin-bottom: 2rem; padding: 1.5rem; background: var(--c-surface); border-radius: var(--tel-r); }
.tel-rform[hidden] { display: none; }
.tel-rform fieldset { margin: 0; padding: 0; border: 0; }
.tel-rform legend { margin-bottom: 0.5rem; padding: 0; font-size: 0.9375rem; font-weight: 600; color: var(--c-heading); }
.tel-req { color: var(--c-accent-ink); }
.tel-starpick { display: inline-flex; flex-direction: row-reverse; gap: 0.125rem; }
.tel-starpick input { position: absolute; opacity: 0; pointer-events: none; }
.tel-starpick label { color: var(--c-line); cursor: pointer; transition: color 0.1s, transform 0.1s; }
.tel-starpick label .tel-i { fill: currentColor; stroke: none; }
.tel-starpick label:hover, .tel-starpick label:hover ~ label, .tel-starpick input:checked ~ label { color: #f59e0b; }
.tel-starpick label:active { transform: scale(0.9); }
.tel-starpick input:focus-visible + label { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }
.tel-err { margin: 0.25rem 0 0; font-size: 0.875rem; font-weight: 600; color: var(--c-accent-ink); }
.tel-rform__areas { display: grid; gap: 0.375rem; }
.tel-area { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.tel-area__label { font-size: 0.9375rem; }
.tel-area__opts { display: inline-flex; gap: 0.25rem; }
.tel-area__opts label { position: relative; }
.tel-area__opts input { position: absolute; opacity: 0; pointer-events: none; }
.tel-area__opts span { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; font-size: 0.875rem; font-weight: 600; color: var(--c-text); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 0.5rem; cursor: pointer; }
.tel-area__opts input:checked + span { color: var(--c-bg); background: var(--c-heading); border-color: var(--c-heading); }
.tel-area__opts input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.tel-rform__row { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .tel-rform__row { grid-template-columns: 1fr 1fr; align-items: end; } }
.tel-input { position: relative; display: grid; gap: 0.25rem; font-size: 0.8125rem; font-weight: 500; color: var(--c-muted); }
.tel-input input, .tel-input textarea { background: var(--c-bg); border-color: var(--c-line); }
.tel-input textarea { height: auto; padding: 0.75rem; line-height: 1.5; resize: vertical; }
.tel-input--short { max-width: 20rem; }
.tel-counter { justify-self: end; font-size: 0.75rem; color: var(--c-muted); }
.tel-rform .tel-select select { background: var(--c-bg); border-color: var(--c-line); }
.tel-hp { position: absolute; left: -9999px; }
.tel-rform__note { margin: 0; font-size: 0.8125rem; color: var(--c-muted); }
.tel-rform__actions { display: flex; align-items: center; gap: 1rem; }
.tel-rform__status { margin: 0; font-weight: 600; }
.tel-rform__status.is-ok { color: var(--tel-ok); }
.tel-rform__status.is-err { color: var(--c-accent-ink); }

.tel-faq { display: grid; gap: 0.75rem; }
.tel-faq__item { padding: 1rem 1.25rem; border: 1px solid var(--c-line); border-radius: var(--tel-r); }
.tel-faq__item h3 { margin: 0 0 0.375rem; font-size: 1.0625rem; }
.tel-faq__item p { margin: 0; font-family: var(--font-text); line-height: 1.6; color: var(--c-text); }
.tel-vs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.tel-vs a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.875rem; font-size: 0.875rem; font-weight: 500; color: var(--c-heading); text-decoration: none; background: var(--c-surface); border-radius: 999px; }
.tel-vs a:hover { background: var(--c-surface-2); }
.tel-related { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.tel-related li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.75rem 0; border-top: 1px solid var(--c-line); }
.tel-related a { font-weight: 600; color: var(--c-heading); text-decoration: none; }
.tel-related a:hover { color: var(--c-accent-ink); }
.tel-related time { font-size: 0.8125rem; color: var(--c-muted); }

/* ==========================================================================
   Comparison
   ========================================================================== */
.tel-cmpbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.tel-cmpbar__diff { padding: 0; }
.tel-cmpbar__add { display: flex; gap: 0.5rem; flex: 0 1 24rem; }
.tel-cmp { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 0.9375rem; }
.tel-cmp th, .tel-cmp td { padding: 0.625rem 0.75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.tel-cmp__head > * { position: sticky; top: var(--header-offset); z-index: 3; background: var(--c-bg); border-bottom: 1px solid var(--c-line); transition: top 0.25s ease; }
.tel-cmp__corner { width: 26%; border-bottom-color: transparent !important; }
.tel-cmp__phone { position: relative; text-align: center !important; }
.tel-cmp__media { display: grid; grid-template: 100% / 100%; place-items: center; height: 7rem; margin-bottom: 0.5rem; }
.tel-cmp__name { display: block; font-size: 0.9375rem; font-weight: 700; line-height: 1.25; color: var(--c-heading); text-decoration: none; }
.tel-cmp__name:hover { color: var(--c-accent-ink); }
.tel-cmp__price { display: block; margin-top: 0.125rem; font-size: 0.875rem; font-weight: 500; color: var(--c-muted); }
.tel-cmp__remove { position: absolute; top: 0.25rem; right: 0.25rem; display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--c-muted); border-radius: 50%; }
.tel-cmp__remove:hover { color: var(--c-heading); background: var(--c-surface); }
.tel-cmp__gtitle th { padding-top: 1.5rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-muted); background: var(--c-bg); }
.tel-cmp__row th { font-weight: 400; color: var(--c-muted); }
.tel-cmp__row th a { color: inherit; text-decoration: underline; text-decoration-color: var(--c-line); text-underline-offset: 3px; }
.tel-cmp__row td { font-weight: 500; color: var(--c-heading); }
.tel-cmp__row td.is-best { color: var(--tel-ok); font-weight: 700; }
.tel-cmp__row td.is-best .tel-i { margin-right: 0.25rem; vertical-align: -0.125rem; }
.tel-cmp__row:hover > * { background: var(--c-surface); }
.tel-cmp.only-diff .tel-cmp__row:not([data-diff]) { display: none; }
.tel-cmp.only-diff .tel-cmp__group:not(:has([data-diff])) { display: none; }

@media (max-width: 47.99rem) {
	.tel-cmp, .tel-cmp thead, .tel-cmp tbody, .tel-cmp tr, .tel-cmp th, .tel-cmp td { display: block; }
	.tel-cmp tr { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
	.tel-cmp__corner { display: none !important; }
	.tel-cmp__head { position: sticky; top: var(--header-offset); z-index: 3; background: var(--c-bg); }
	.tel-cmp__head > * { position: relative; top: auto; }
	.tel-cmp__media { height: 4.5rem; }
	.tel-cmp__name { font-size: 0.8125rem; }
	.tel-cmp__row th, .tel-cmp__gtitle th { grid-column: 1 / -1; padding-bottom: 0.125rem; border-bottom: 0; }
	.tel-cmp__row td { font-size: 0.875rem; }
	.tel-cmp__row:hover > * { background: none; }
}

.tel-size { margin: 0; padding: 1.5rem; background: var(--c-surface); border-radius: var(--tel-r); }
.tel-size__svg { display: block; width: auto; height: min(26rem, 60vh); margin: 0 auto; }
.tel-size__o { fill: none; stroke-width: 0.8; }
.tel-size__o--0 { stroke: var(--tel-c0); fill: color-mix(in srgb, var(--tel-c0) 8%, transparent); }
.tel-size__o--1 { stroke: var(--tel-c1); fill: color-mix(in srgb, var(--tel-c1) 8%, transparent); }
.tel-size__o--2 { stroke: var(--tel-c2); }
.tel-size__o--3 { stroke: var(--tel-c3); }
.tel-size__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin: 1rem 0 0; padding: 0; font-size: 0.875rem; list-style: none; }
.tel-size__legend span { color: var(--c-muted); }
.tel-size__dot { display: inline-block; width: 0.75rem; height: 0.75rem; margin-right: 0.375rem; vertical-align: -0.0625rem; border: 2px solid; border-radius: 3px; }
.tel-size__l--0 .tel-size__dot { border-color: var(--tel-c0); }
.tel-size__l--1 .tel-size__dot { border-color: var(--tel-c1); }
.tel-size__l--2 .tel-size__dot { border-color: var(--tel-c2); }
.tel-size__l--3 .tel-size__dot { border-color: var(--tel-c3); }

/* ==========================================================================
   Article embed [sa_telefon]
   ========================================================================== */
.tel-embed { display: flex; gap: 1.25rem; align-items: center; margin: 2rem 0; padding: 1.25rem; font-family: var(--font); background: var(--c-surface); border-radius: 1rem; }
.tel-embed__media { flex: 0 0 6rem; display: grid; place-items: center; height: 8rem; }
.tel-embed__eyebrow { margin: 0 !important; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-muted); }
.tel-embed__name { margin: 0.125rem 0 0.5rem !important; font-size: 1.125rem; font-weight: 700; }
.tel-embed__name a { color: var(--c-heading); text-decoration: none; }
.tel-embed__specs { display: grid; gap: 0.25rem; margin: 0 0 0.625rem !important; padding: 0 !important; font-size: 0.875rem; list-style: none; }
.tel-embed__specs li { display: flex; gap: 0.5rem; align-items: center; margin: 0 !important; }
.tel-embed__specs li::before { display: none; }
@media (max-width: 30rem) { .tel-embed__media { display: none; } }


/* ==========================================================================
   Phone page v2 (single-telefon.php)
   ========================================================================== */
.tel-v2 { padding-top: 1.25rem; }
.tel-v2 .tel-h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); }
.tel-v2 .tel-lead { margin-top: -0.5rem; }

/* Top: photo + answer */
.tel-top { display: grid; gap: 1.75rem 3rem; margin-top: 1.25rem; }
@media (min-width: 56rem) { .tel-top { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: start; } }
.tel-photo { position: relative; display: grid; grid-template: 100% / 100%; place-items: center; margin: 0; padding: 1.5rem; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 1.25rem; }
.tel-photo .tel-img { border-radius: 0.75rem; }
.tel-photo .tel-sil { height: 88%; }
.tel-photo figcaption { position: absolute; right: 0.875rem; bottom: 0.625rem; font-size: 0.6875rem; color: var(--c-muted); }
.tel-variants { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; margin: 0.875rem 0 0; font-size: 0.875rem; }
.tel-variants div { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.tel-variants dt { color: var(--c-muted); }
.tel-variants dd { margin: 0; font-weight: 600; color: var(--c-heading); }
.tel-variants__chips { display: flex; gap: 0.375rem; }
.tel-variants__chips span { padding: 0.25rem 0.75rem; font-size: 0.8125rem; border: 1px solid var(--c-line); border-radius: 999px; }

.tel-top__brand { font-size: 0.875rem; font-weight: 700; color: var(--c-accent-ink); text-decoration: none; }
.tel-top__title { margin: 0.25rem 0 0.75rem; font-size: clamp(2.125rem, 4.4vw, 3.25rem); line-height: 1.04; letter-spacing: -0.025em; }
.tel-top__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.875rem; font-size: 0.9375rem; color: var(--c-muted); }
.tel-top__meta > * + *::before { content: ""; display: inline-block; width: 1px; height: 0.875rem; margin-right: 0.875rem; vertical-align: -0.125rem; background: var(--c-line); }
.tel-top__meta > .tel-pill-status + *::before { display: none; }
.tel-top__rating { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--c-muted); text-decoration: none; }
.tel-top__rating strong { color: var(--c-heading); }
.tel-top__rating:hover { color: var(--c-heading); }
.tel-pill-status { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.1875rem 0.625rem; font-size: 0.8125rem; font-weight: 600; color: var(--tel-ok); background: var(--tel-ok-bg); border-radius: 999px; }
.tel-pill-status::before { content: ""; width: 0.4375rem; height: 0.4375rem; background: currentColor; border-radius: 50%; }
.tel-pill-status.is-coming { color: var(--tel-warn); background: var(--tel-warn-bg); }
.tel-pill-status.is-discontinued { color: var(--c-muted); background: var(--c-surface); }
.tel-top__summary { margin: 1.25rem 0 1.5rem; font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.7; color: var(--c-text); }

.tel-buy { display: grid; gap: 1rem; padding: 1.25rem; background: var(--c-surface); border-radius: 1.125rem; }
.tel-buy__price { display: grid; grid-template-columns: auto 1fr; gap: 0 1.5rem; align-items: end; }
.tel-buy__label { grid-column: 1; margin: 0; font-size: 0.875rem; color: var(--c-muted); }
.tel-buy__value { grid-column: 1; margin: 0.125rem 0 0; font-size: clamp(2rem, 3.6vw, 2.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--c-heading); font-variant-numeric: tabular-nums; }
.tel-buy__value--na { font-size: 1.125rem; font-weight: 600; }
.tel-buy__note { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; font-size: 0.8125rem; line-height: 1.5; color: var(--c-muted); }
.tel-buy__actions { display: flex; gap: 0.5rem; }
.tel-buy__compare { flex: 1; min-height: 3rem; border-radius: 0.75rem; }
.tel-buy__compare[aria-pressed="true"] { color: #fff; background: var(--c-heading); }
.tel-buy__actions .tel-btn { min-height: 3rem; border-radius: 0.75rem; }
.tel-verified { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.875rem 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--c-muted); }
.tel-verified .tel-i { flex: 0 0 auto; margin-top: 0.125rem; color: var(--tel-ok); }
.tel-verified a { color: var(--c-accent-ink); }

/* Six headline facts */
.tel-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 0.75rem; margin: 2.25rem 0 0; }
.tel-fact { padding: 1rem 1.125rem; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 1rem; }
.tel-fact dt { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.625rem; font-size: 0.8125rem; color: var(--c-muted); }
.tel-fact__icon { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; color: var(--c-accent-ink); background: var(--c-mark); border-radius: 0.5rem; }
.tel-fact dd { display: grid; gap: 0.25rem; margin: 0; }
.tel-fact strong { font-size: 1.125rem; line-height: 1.25; color: var(--c-heading); }
.tel-fact dd span { font-size: 0.8125rem; line-height: 1.4; color: var(--c-muted); }

/* In-page navigation (not sticky) */
.tel-toc { margin-top: 2.5rem; border-bottom: 1px solid var(--c-line); }
.tel-toc ul { display: flex; gap: 0.25rem; margin: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.tel-toc ul::-webkit-scrollbar { display: none; }
.tel-toc a { position: relative; display: block; padding: 0.875rem 0.75rem; font-size: 0.9375rem; font-weight: 600; white-space: nowrap; color: var(--c-muted); text-decoration: none; }
.tel-toc a:hover { color: var(--c-heading); }
.tel-toc a.is-active { color: var(--c-heading); }
.tel-toc a.is-active::after { content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: -1px; height: 2px; background: var(--c-heading); }

.tel-v2 .tel-sec { padding-top: 3.5rem; scroll-margin-top: calc(var(--header-h) + 1rem); }

/* Overview: pros, cons, verdict */
.tel-verdict-grid { display: grid; gap: 1rem; }
@media (min-width: 56rem) {
	.tel-verdict-grid { grid-template-columns: 1fr 1fr 1.05fr; }
	.tel-verdict-grid.is-two { grid-template-columns: 1fr 1fr; }
}
.tel-pc2 { padding: 1.25rem 1.375rem; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 1.125rem; }
.tel-pc2 h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.875rem; font-size: 1rem; }
.tel-pc2__icon { display: grid; place-items: center; width: 1.375rem; height: 1.375rem; font-size: 1rem; font-weight: 700; line-height: 1; border-radius: 50%; }
.tel-pc2.is-pro .tel-pc2__icon { color: var(--tel-ok); background: var(--tel-ok-bg); }
.tel-pc2.is-con .tel-pc2__icon { color: var(--c-accent-ink); background: var(--c-mark); }
.tel-pc2 ul { display: grid; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.tel-pc2 li { display: flex; gap: 0.625rem; font-family: var(--font-text); font-size: 0.9375rem; line-height: 1.5; }
.tel-pc2 li .tel-i { margin-top: 0.1875rem; }
.tel-pc2.is-pro li .tel-i { color: var(--tel-ok); }
.tel-pc2.is-con li .tel-i { color: var(--c-accent-ink); }
.tel-sklep { padding: 1.375rem 1.5rem; color: #e7e7ea; background: #141518; border-radius: 1.125rem; }
.tel-sklep__eyebrow { margin: 0 0 0.75rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9a9aa2; }
.tel-sklep__text { margin: 0 0 1rem; font-family: var(--font-text); font-size: 1rem; line-height: 1.65; color: #fff; }
.tel-sklep__for { margin: 0; padding-top: 1rem; font-family: var(--font-text); font-size: 0.9375rem; line-height: 1.6; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.tel-sklep__for strong { color: #fff; }

/* Je zame? */
.tel-fit { overflow: hidden; border: 1px solid var(--c-line); border-radius: 1.125rem; }
.tel-fit__needs { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1rem 1.25rem; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.tel-fit__needs .tel-need__body { height: 2.5rem; font-size: 0.875rem; }
.tel-fit__result { padding: 1.25rem 1.375rem 0.5rem; }
.tel-fit__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 0.5rem; }
.tel-fit__title { margin: 0; font-size: 1.0625rem; font-weight: 700; color: var(--c-heading); }
.tel-fit__list { margin: 0; padding: 0; list-style: none; }
.tel-fit__item { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.875rem; padding: 1rem 0; border-top: 1px solid var(--c-line); }
.tel-fit__item:first-child { border-top: 0; }
.tel-fit__mark { display: grid; place-items: center; width: 2rem; height: 2rem; font-size: 0.875rem; font-weight: 700; border-radius: 50%; }
.tel-fit__item.is-ok .tel-fit__mark { color: var(--tel-ok); background: var(--tel-ok-bg); }
.tel-fit__item.is-mid .tel-fit__mark { color: var(--tel-warn); background: var(--tel-warn-bg); }
.tel-fit__item.is-low .tel-fit__mark { color: var(--c-accent-ink); background: var(--c-mark); }
.tel-fit__name { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0.25rem 0 0.25rem; font-weight: 700; color: var(--c-heading); }
.tel-fit__grade { padding: 0.0625rem 0.5rem; font-size: 0.75rem; font-weight: 700; border-radius: 999px; }
.is-ok .tel-fit__grade { color: var(--tel-ok); background: var(--tel-ok-bg); }
.is-mid .tel-fit__grade { color: var(--tel-warn); background: var(--tel-warn-bg); }
.is-low .tel-fit__grade { color: var(--c-accent-ink); background: var(--c-mark); }
.tel-fit__why { margin: 0; font-family: var(--font-text); font-size: 0.9375rem; line-height: 1.6; color: var(--c-text); }
.tel-fit__alt { display: inline-block; margin-top: 0.375rem; font-size: 0.875rem; font-weight: 700; color: var(--c-accent-ink); text-decoration: none; }
.tel-fit__alt:hover { text-decoration: underline; }
.tel-fit__empty { margin: 0 0 0.75rem; color: var(--c-muted); }

/* V Sloveniji */
.tel-ops2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.75rem; margin: 0 0 0.75rem; padding: 0; list-style: none; }
.tel-op { padding: 1rem 1.125rem; border: 1px solid var(--c-line); border-radius: 1rem; }
.tel-op__name { margin: 0 0 0.625rem; font-weight: 700; color: var(--c-heading); }
.tel-op__chips, .tel-bandchips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0; }
.tel-chk { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.625rem; font-size: 0.8125rem; font-weight: 700; color: var(--tel-ok); background: var(--tel-ok-bg); border-radius: 999px; }
.tel-chk.is-no { color: var(--c-muted); background: var(--c-surface); text-decoration: line-through; }
.tel-chk--band { color: var(--c-heading); background: var(--c-bg); border: 1px solid var(--c-line); }
.tel-chk--band .tel-i { color: var(--tel-ok); }
.tel-si2 { display: grid; gap: 0.75rem; }
@media (min-width: 48rem) { .tel-si2 { grid-template-columns: 1fr 1fr; } }
.tel-si2__bands { padding: 1.125rem 1.25rem; background: var(--c-surface); border-radius: 1rem; }
.tel-si2__label { margin: 0 0 0.5rem; font-size: 0.8125rem; color: var(--c-muted); }
.tel-si2__label + .tel-bandchips + .tel-si2__label { margin-top: 1rem; }
.tel-si2__note { margin: 1rem 0 0; font-size: 0.75rem; color: var(--c-muted); }
.tel-si2__facts { display: grid; align-content: start; gap: 0.875rem; margin: 0; padding: 1.125rem 1.25rem; list-style: none; border: 1px solid var(--c-line); border-radius: 1rem; }
.tel-si2__facts li { display: flex; gap: 0.625rem; font-family: var(--font-text); font-size: 0.9375rem; line-height: 1.5; }
.tel-si2__facts .tel-i { margin-top: 0.1875rem; }
.tel-si2__facts .is-yes .tel-i { color: var(--tel-ok); }
.tel-si2__facts .is-no .tel-i, .tel-si2__facts .is-link .tel-i { color: var(--c-muted); }
.tel-si2__facts a { color: var(--c-accent-ink); }
.tel-v2 .tel-table-wrap { margin-top: 0.75rem; }

/* EU label */
.tel-eu2 { display: grid; gap: 0.75rem; }
@media (min-width: 56rem) { .tel-eu2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tel-energy { padding: 1.25rem 1.375rem; border: 1px solid var(--c-line); border-radius: 1rem; }
.tel-energy__label { margin: 0 0 0.75rem; font-size: 0.875rem; color: var(--c-muted); }
.tel-energy__scale { display: grid; gap: 0.3125rem; margin: 0; padding: 0; list-style: none; }
.tel-energy__bar { position: relative; display: flex; align-items: center; width: var(--w); height: 1.375rem; padding-left: 0.5rem; font-size: 0.75rem; font-weight: 800; color: #fff; clip-path: polygon(0 0, calc(100% - 0.6875rem) 0, 100% 50%, calc(100% - 0.6875rem) 100%, 0 100%); opacity: 0.55; }
.tel-energy__bar.is-on { opacity: 1; clip-path: none; overflow: visible; }
.tel-energy__bar.is-on::before { content: ""; position: absolute; inset: 0; background: inherit; clip-path: polygon(0 0, calc(100% - 0.6875rem) 0, 100% 50%, calc(100% - 0.6875rem) 100%, 0 100%); z-index: -1; }
.tel-energy__bar--a { background: #009036; } .tel-energy__bar--b { background: #55ab26; } .tel-energy__bar--c { background: #c8d200; } .tel-energy__bar--d { background: #f4dd00; color: #333; }
.tel-energy__bar--e { background: #fbba00; color: #333; } .tel-energy__bar--f { background: #eb6909; } .tel-energy__bar--g { background: #e2001a; }
.tel-energy__mark { position: absolute; left: calc(100% + 0.75rem); display: grid; place-items: center; min-width: 2.25rem; height: 1.625rem; padding: 0 0.5rem 0 0.875rem; font-size: 0.9375rem; color: #fff; background: #111; clip-path: polygon(0.625rem 0, 100% 0, 100% 100%, 0.625rem 100%, 0 50%); }
.tel-eu2__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.tel-eutile { padding: 1rem 1.125rem; background: var(--c-surface); border-radius: 1rem; }
.tel-eutile__label { margin: 0 0 0.375rem; font-size: 0.8125rem; color: var(--c-muted); }
.tel-eutile__big { margin: 0; font-size: 1.875rem; font-weight: 800; line-height: 1.1; color: var(--c-heading); }
.tel-eutile__big small { font-size: 0.875rem; font-weight: 600; color: var(--c-muted); }
.tel-eutile__sub { margin: 0.375rem 0 0; font-size: 0.8125rem; line-height: 1.4; color: var(--c-muted); }

/* Specs */
.tel-spec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; margin-bottom: 1.25rem; }
.tel-spec-head .tel-h2 { margin: 0; }
.tel-spec-tools { display: flex; gap: 0.5rem; flex: 0 1 26rem; }
.tel-spec-search { position: relative; display: flex; flex: 1; align-items: center; }
.tel-spec-search .sa-icon { position: absolute; left: 0.875rem; color: var(--c-muted); pointer-events: none; }
.tel-spec-search input { width: 100%; height: 2.75rem; padding: 0 0.875rem 0 2.5rem; font: 500 0.9375rem/1 var(--font); color: var(--c-heading); background: var(--c-surface); border: 1px solid transparent; border-radius: 0.75rem; }
.tel-spec-search input:focus { outline: 0; background: var(--c-bg); border-color: var(--c-heading); box-shadow: 0 0 0 3px var(--c-mark); }
.tel-specs2 { columns: 2 24rem; column-gap: 1rem; }
.tel-sg { margin-bottom: 1rem; overflow: hidden; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 1rem; break-inside: avoid; }
.tel-sg[hidden] { display: none; }
.tel-sg__head { display: flex; align-items: center; gap: 0.625rem; padding: 0.875rem 1.125rem; background: var(--c-surface); cursor: pointer; list-style: none; }
.tel-sg__head::-webkit-details-marker { display: none; }
.tel-sg__head::after { content: ""; width: 0.4375rem; height: 0.4375rem; margin-left: 0.25rem; border-right: 1.5px solid var(--c-muted); border-bottom: 1.5px solid var(--c-muted); transform: rotate(-135deg) translate(-2px, -2px); transition: transform 0.15s; }
.tel-sg:not([open]) .tel-sg__head::after { transform: rotate(45deg); }
.tel-sg__icon { display: grid; place-items: center; color: var(--c-accent-ink); }
.tel-sg__title { flex: 1; margin: 0; font-size: 1rem; }
.tel-sg__count { font-size: 0.8125rem; color: var(--c-muted); }
.tel-sg__rows { margin: 0; }
.tel-sg__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1rem; padding: 0.75rem 1.125rem; font-size: 0.9375rem; border-top: 1px solid var(--c-line); }
.tel-sg__row:first-child { border-top: 0; }
.tel-sg__row[hidden] { display: none; }
.tel-sg__row dt { color: var(--c-muted); }
.tel-sg__row dt a { color: inherit; text-decoration: underline; text-decoration-color: var(--c-line); text-decoration-style: dotted; text-underline-offset: 3px; }
.tel-sg__row dt a:hover { color: var(--c-accent-ink); }
.tel-sg__row dd { margin: 0; font-weight: 600; color: var(--c-heading); overflow-wrap: anywhere; }
.tel-yn { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--tel-ok); }
.tel-yn.is-no { color: var(--c-muted); font-weight: 500; }
.tel-bands { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.tel-bands span { min-width: 1.75rem; padding: 0.0625rem 0.375rem; font-size: 0.75rem; font-weight: 500; text-align: center; color: var(--c-text); background: var(--c-surface); border-radius: 0.375rem; }
.tel-bands .is-si { font-weight: 700; color: var(--c-accent-ink); background: var(--c-mark); }
.tel-sources2 { margin-top: 0.5rem; padding: 0.875rem 1.125rem; font-size: 0.875rem; background: var(--c-surface); border-radius: 0.875rem; }
.tel-sources2 summary { font-weight: 600; color: var(--c-heading); cursor: pointer; }
.tel-sources2 ul { margin: 0.75rem 0 0; padding-left: 1.125rem; }
.tel-sources2 a { color: var(--c-accent-ink); }
.tel-sources2 p { margin: 0.75rem 0 0; color: var(--c-muted); }

/* Similar phones table */
.tel-simwrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: 1rem; }
.tel-sim { width: 100%; min-width: 46rem; font-size: 0.9375rem; border-collapse: separate; border-spacing: 0; }
.tel-sim th, .tel-sim td { padding: 0.75rem 1rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--c-line); }
.tel-sim tbody tr:last-child > * { border-bottom: 0; }
.tel-sim thead th { vertical-align: bottom; }
.tel-sim > * > tr > :first-child { position: sticky; left: 0; z-index: 1; width: 9.5rem; background: var(--c-bg); font-size: 0.875rem; font-weight: 600; color: var(--c-muted); box-shadow: 1px 0 0 var(--c-line); }
.tel-sim .is-self { background: color-mix(in srgb, var(--c-surface) 70%, var(--c-bg)); }
.tel-sim__media { display: grid; grid-template: 100% / 100%; place-items: center; height: 5.5rem; margin-bottom: 0.5rem; overflow: hidden; }
.tel-sim__media .tel-sil { height: 100%; }
.tel-sim__brand { display: block; font-size: 0.75rem; color: var(--c-muted); }
.tel-sim__name { display: block; margin-bottom: 0.5rem; font-weight: 700; color: var(--c-heading); text-decoration: none; }
.tel-sim__cmp { min-height: 2.25rem; padding: 0 0.75rem; font-size: 0.8125rem; }
.tel-sim__cmp[aria-pressed="true"] { color: #fff; }
.tel-sim td { font-weight: 500; color: var(--c-heading); }
.tel-sim td.is-best { font-weight: 700; }
.tel-sim td.is-best::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.375rem; vertical-align: 0.0625rem; background: var(--tel-ok); border-radius: 50%; }
.tel-na { font-weight: 400; color: var(--c-muted); }
.tel-vs2 { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1rem 0 0; font-size: 0.875rem; color: var(--c-muted); }
.tel-vs2 a { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.75rem; font-weight: 600; color: var(--c-heading); text-decoration: none; border: 1px solid var(--c-line); border-radius: 999px; }
.tel-vs2 a:hover { border-color: var(--c-heading); }
.tel-vs2 .tel-i { color: var(--c-accent-ink); }

/* Reviews v2 */
.tel-rgrid { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 48rem) { .tel-rgrid { grid-template-columns: 1fr 1fr; align-items: start; } }
.tel-rcard { padding: 1.25rem 1.375rem; border: 1px solid var(--c-line); border-radius: 1.125rem; }
.tel-rcard__top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.tel-rcard__top .tel-rsum__num { font-size: 2.75rem; }
.tel-rcard__dash { display: grid; flex: 0 0 auto; place-items: center; width: 3rem; height: 3rem; color: var(--c-muted); background: var(--c-surface); border-radius: 50%; }
.tel-rcard__title { margin: 0; font-weight: 700; color: var(--c-heading); }
.tel-rcard .tel-rsum__count { margin: 0.125rem 0 0; }
.tel-rcard .tel-rsum__dist { margin-bottom: 1rem; }
.tel-rcta { padding: 1.375rem 1.5rem; background: var(--c-surface); border-radius: 1.125rem; }
.tel-rcta__title { margin: 0 0 0.375rem; font-size: 1.0625rem; font-weight: 700; color: var(--c-heading); }
.tel-rcta p:not(.tel-rcta__title) { margin: 0 0 1rem; font-size: 0.9375rem; color: var(--c-muted); }
.tel-rcta .tel-reviews__write { margin: 0; }

/* FAQ accordion */
.tel-faq2 { max-width: 52rem; border-top: 1px solid var(--c-line); }
.tel-qa { border-bottom: 1px solid var(--c-line); }
.tel-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; cursor: pointer; list-style: none; }
.tel-qa summary::-webkit-details-marker { display: none; }
.tel-qa summary h3 { margin: 0; font-size: 1rem; line-height: 1.4; }
.tel-qa summary::after { content: "+"; display: grid; place-items: center; flex: 0 0 auto; width: 1.75rem; height: 1.75rem; font-size: 1.125rem; color: var(--c-muted); background: var(--c-surface); border-radius: 50%; }
.tel-qa[open] summary::after { content: "×"; }
.tel-qa p { margin: 0 0 1.125rem; max-width: 46rem; font-family: var(--font-text); line-height: 1.65; color: var(--c-text); }

/* Phones and tablets: name first, then the photo, so the H1 is in the first screen. */
@media (max-width: 55.99rem) {
	.tel-top { display: flex; flex-direction: column; gap: 0; }
	.tel-top__info { display: contents; }
	.tel-top__brand { order: 1; align-self: flex-start; }
	.tel-top__title { order: 2; margin-bottom: 0.625rem; }
	.tel-top__meta { order: 3; }
	.tel-top__media { order: 4; margin-top: 1.25rem; }
	.tel-photo { aspect-ratio: 16 / 9; max-height: 24rem; }
	.tel-top__summary { order: 5; margin: 1.25rem 0; }
	.tel-buy { order: 6; }
	.tel-verified { order: 7; }
}

/* Phones */
@media (max-width: 47.99rem) {
	.tel-top { margin-top: 0.75rem; }
	.tel-top__title { font-size: 2.25rem; }
	.tel-top__meta { gap: 0.5rem 1rem; font-size: 0.875rem; }
	.tel-top__meta > * + *::before { display: none; }
	.tel-top__summary { font-size: 1rem; }
	.tel-photo { aspect-ratio: 16 / 11; padding: 1rem; }
	.tel-buy { padding: 1rem; }
	.tel-buy__price { grid-template-columns: 1fr; }
	.tel-buy__note { grid-column: 1; grid-row: auto; margin-top: 0.5rem; }
	.tel-buy__actions { flex-wrap: wrap; }
	.tel-buy__compare { flex: 1 1 100%; }
	.tel-buy__actions .tel-btn:not(.tel-btn--icon) { flex: 1; }
	.tel-facts { grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1.5rem; }
	.tel-fact { padding: 0.875rem; }
	.tel-fact strong { font-size: 1rem; }
	.tel-toc { margin-top: 1.75rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.tel-v2 .tel-sec { padding-top: 2.75rem; }
	.tel-fit__needs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.tel-fit__needs::-webkit-scrollbar { display: none; }
	.tel-fit__needs .tel-need { flex: 0 0 auto; }
	.tel-fit__result { padding: 1rem; }
	.tel-ops2 { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
	.tel-op { padding: 0.875rem; }
	.tel-eu2__tiles { gap: 0.5rem; }
	.tel-eutile__big { font-size: 1.5rem; }
	.tel-spec-tools { flex: 1 1 100%; }
	.tel-sg__head { padding: 0.75rem 0.875rem; }
	.tel-sg__row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 0.75rem; padding: 0.625rem 0.875rem; font-size: 0.875rem; }
	.tel-sim > * > tr > :first-child { width: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
	.tel-card, .tel-hist span, .tel-filters.is-open, .tel-tray, .tel-loadmore__bar span { transition: none; animation: none; }
}
