/*
Theme Name: USP Rezervni deli
Theme URI: https://usedspareparts.com
Author: USP d.o.o.
Description: Mobilno prijazna tema za USP – rabljeni in novi avtodeli za vse znamke. Deli se berejo iz obstoječega sistema prek API-ja, stari URL-ji delov ostanejo enaki.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: usp
*/

/* ---------- Pisave (gostovane lokalno, brez Google Fonts) ---------- */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-display: swap;
	font-weight: 700;
	src: url("assets/fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-display: swap;
	font-weight: 700;
	src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-display: swap;
	font-weight: 100 800;
	src: url("assets/fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-display: swap;
	font-weight: 100 800;
	src: url("assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Osnova ---------- */
:root {
	--y: #ffd100;
	--ink: #111111;
	--bg: #0f0f0f;
	--black: #000000;
	--card: #1c1c1c;
	--line: #2e2e2e;
	--ctl: #3a3a3a;
	--ph: #2a2a2a;
	--ph-ink: #b5b5b5;
	--muted: #a8a8a8;
	--soft: #d4d4d4;
	--white: #ffffff;
	--on-y-muted: #2b2b2b;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--bar-h: 74px;
	--chev-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	--chev-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-bottom: calc(var(--bar-h) + 16px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--white);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--white);
}

a:hover {
	color: var(--y);
}

:focus-visible {
	outline: 3px solid var(--y);
	outline-offset: 2px;
}

.on-yellow :focus-visible {
	outline-color: var(--ink);
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
}

p {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
}

.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:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100;
	width: auto;
	height: auto;
	padding: 12px 16px;
	margin: 0;
	clip: auto;
	background: var(--y);
	color: var(--ink);
	font-weight: 700;
	border-radius: 8px;
}

.usp-icon {
	flex: none;
}

.usp-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 16px;
}

@media (min-width: 768px) {
	.usp-container {
		padding-inline: 24px;
	}
}

.usp-section {
	padding-block: 28px;
}

.usp-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.usp-section__title {
	font-size: 26px;
}

.usp-section__head .usp-section__title {
	margin: 0;
}

.usp-section > .usp-container > .usp-section__title {
	margin-bottom: 14px;
}

.usp-section__more {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 15px;
	font-weight: 600;
	color: var(--y);
}

@media (min-width: 1024px) {
	.usp-section {
		padding-block: 48px;
	}

	.usp-section__title {
		font-size: 2.2rem;
	}

	.usp-section > .usp-container > .usp-section__title,
	.usp-section__head {
		margin-bottom: 20px;
	}
}

/* ---------- Gumbi ---------- */
.usp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	font-family: var(--font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.usp-btn--y {
	background: var(--y);
	color: var(--ink);
}

.usp-btn--y:hover {
	background: #ffdb33;
	color: var(--ink);
}

.usp-btn--dark {
	background: var(--ink);
	color: var(--y);
}

.usp-btn--dark:hover {
	background: #000;
	color: var(--y);
}

.usp-btn--outline {
	border: 1.5px solid var(--white);
	background: transparent;
	color: var(--white);
	font-weight: 600;
}

.usp-btn--block {
	width: 100%;
}

.usp-btn[disabled] {
	opacity: 0.6;
	cursor: progress;
}

/* ---------- Glava ---------- */
.site-header {
	position: relative;
	z-index: 30;
	background: var(--black);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 68px;
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-right: auto;
	color: var(--white);
	text-decoration: none;
}

.site-brand:hover {
	color: var(--white);
}

.site-brand__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 40px;
	border-radius: 8px;
	background: var(--y);
	color: var(--ink);
	font-family: var(--display);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.site-brand__tag {
	font-size: 12px;
	line-height: 1.25;
	color: var(--soft);
}

.site-brand .custom-logo {
	width: auto;
	max-height: 44px;
}

.site-nav {
	display: none;
}

.site-nav.is-open {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: 4px 16px 16px;
	border-top: 1px solid var(--line);
	background: var(--black);
}

.site-nav ul {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 0 4px;
	border-bottom: 1px solid var(--line);
	color: var(--white);
	font-weight: 500;
	text-decoration: none;
}

.site-nav .current-menu-item > a {
	color: var(--y);
}

.site-header__call {
	display: none;
}

.menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 8px;
	background: var(--card);
	color: var(--white);
	cursor: pointer;
}

.menu-toggle .usp-icon--close,
.menu-toggle[aria-expanded="true"] .usp-icon--menu {
	display: none;
}

.menu-toggle[aria-expanded="true"] .usp-icon--close {
	display: block;
}

.site-header__icon-call {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: var(--y);
	color: var(--ink);
}

.site-header__icon-call:hover {
	color: var(--ink);
}

@media (min-width: 1024px) {
	.site-nav,
	.site-nav.is-open {
		display: block;
		position: static;
		padding: 0;
		border: 0;
		background: none;
	}

	.site-nav ul {
		flex-direction: row;
		gap: 4px;
	}

	.site-nav a {
		min-height: 44px;
		padding: 0 12px;
		border: 0;
	}

	.site-header__call {
		display: inline-flex;
		min-height: 44px;
		margin-left: 8px;
		padding: 0 16px;
		border-radius: 10px;
		font-size: 15px;
	}

	.menu-toggle,
	.site-header__icon-call {
		display: none;
	}

	.site-header__inner {
		gap: 16px;
	}
}

/* ---------- Naslovni del ---------- */
.usp-hero__banner {
	background: var(--black);
}

.usp-hero__banner img {
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
}

@media (min-width: 768px) {
	.usp-hero__banner img {
		aspect-ratio: 16 / 9;
	}
}

.usp-hero__panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px 16px 28px;
	background: var(--y);
	color: var(--ink);
}

.usp-pill {
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--y);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.usp-hero__title {
	font-size: 36px;
	line-height: 1.04;
	color: var(--ink);
}

.usp-hero__lead {
	font-size: 14px;
	font-weight: 500;
	color: var(--on-y-muted);
}

.usp-photo-link {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 14px;
	border: 2px solid var(--ink);
	border-radius: 12px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.usp-photo-link:hover {
	background: var(--ink);
	color: var(--y);
}

@media (min-width: 768px) {
	.usp-hero__panel {
		padding: 28px 24px 36px;
	}
}

@media (min-width: 1024px) {
	.usp-hero__inner {
		display: flex;
		align-items: center;
		gap: 40px;
		max-width: 1200px;
		margin-inline: auto;
		padding: 40px 24px 48px;
	}

	.usp-hero__banner {
		flex: 1 1 560px;
		min-width: 0;
		background: none;
	}

	.usp-hero__banner img {
		border-radius: 16px;
	}

	.usp-hero__panel {
		flex: 1 1 400px;
		min-width: 0;
		gap: 20px;
		padding: 0;
		background: none;
		color: var(--white);
	}

	.usp-hero__panel.on-yellow :focus-visible {
		outline-color: var(--y);
	}

	.usp-hero__panel .usp-pill {
		background: var(--y);
		color: var(--ink);
	}

	.usp-hero__title {
		font-size: 3rem;
		line-height: 1;
		color: var(--white);
	}

	.usp-hero__lead {
		font-size: 1.05rem;
		font-weight: 400;
		color: var(--soft);
	}

	.usp-photo-link {
		align-self: flex-start;
		min-height: 44px;
		padding: 0;
		border: 0;
		color: var(--white);
	}

	.usp-photo-link:hover {
		background: none;
		color: var(--y);
	}
}

/* ---------- Iskalno polje ---------- */
.usp-search {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.usp-search__label {
	font-size: 14px;
	font-weight: 700;
}

.usp-search__field {
	display: flex;
	height: 58px;
	border: 2px solid var(--ink);
	border-radius: 12px;
	overflow: hidden;
	background: var(--white);
}

.usp-search__field:focus-within {
	box-shadow: 0 0 0 3px var(--ink);
}

.usp-search__input {
	flex: 1;
	min-width: 0;
	border: 0;
	padding: 0 16px;
	background: var(--white);
	color: var(--ink);
	font-family: var(--mono);
	font-size: 18px;
	font-weight: 500;
	-webkit-appearance: none;
	appearance: none;
}

.usp-search__input:focus {
	outline: none;
}

.usp-search__input::placeholder {
	color: #6b6b6b;
}

.usp-search__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 62px;
	padding: 0 18px;
	border: 0;
	background: var(--ink);
	color: var(--y);
	font-family: var(--font);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.usp-search__submit-text {
	display: none;
}

.usp-band {
	padding-block: 14px;
	background: var(--y);
	color: var(--ink);
}

.usp-band .usp-search__field {
	height: 52px;
}

.usp-band .usp-search__input {
	font-size: 16px;
}

@media (min-width: 768px) {
	.usp-search__submit-text {
		display: inline;
	}
}

@media (min-width: 1024px) {
	.usp-hero .usp-search__label {
		color: var(--white);
	}

	.usp-hero .usp-search__field {
		height: 64px;
		border-color: var(--y);
	}

	.usp-hero .usp-search__field:focus-within {
		box-shadow: 0 0 0 3px var(--y);
	}

	.usp-hero .usp-search__input {
		font-size: 20px;
	}

	.usp-hero .usp-search__submit {
		background: var(--y);
		color: var(--ink);
	}
}

/* ---------- Izbira vozila ---------- */
.usp-vehicle {
	padding-block: 28px 24px;
}

.usp-vehicle__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.usp-vehicle__title {
	font-size: 26px;
}

.usp-fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.usp-fieldset legend,
.usp-field__label {
	display: block;
	margin-bottom: 8px;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
}

.usp-field__label {
	margin-bottom: 0;
}

.usp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.usp-chip {
	position: relative;
	display: inline-flex;
}

.usp-chip input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.usp-chip span {
	display: inline-flex;
	align-items: center;
	height: 46px;
	padding: 0 18px;
	border: 2px solid var(--ctl);
	border-radius: 999px;
	background: var(--card);
	color: var(--white);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	user-select: none;
}

.usp-chip input:checked + span {
	border-color: var(--y);
	background: var(--y);
	color: var(--ink);
	font-weight: 700;
}

.usp-chip input:focus-visible + span {
	outline: 3px solid var(--y);
	outline-offset: 2px;
}

.usp-chip--more select {
	height: 46px;
	padding: 0 38px 0 16px;
	border: 2px dashed #6b6b6b;
	border-radius: 999px;
	background: transparent var(--chev-light) no-repeat right 14px center;
	color: var(--white);
	font-size: 15px;
	font-weight: 600;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.usp-chip--more select option {
	color: var(--ink);
}

.usp-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.usp-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.usp-select {
	width: 100%;
	height: 52px;
	padding: 0 38px 0 12px;
	border: 0;
	border-radius: 10px;
	background: var(--white) var(--chev-dark) no-repeat right 12px center;
	color: var(--ink);
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}

.usp-select:disabled {
	opacity: 0.7;
}

@media (min-width: 1024px) {
	.usp-vehicle {
		padding-block: 28px 32px;
		background: var(--y);
		color: var(--ink);
	}

	.usp-vehicle :focus-visible,
	.usp-vehicle .usp-chip input:focus-visible + span {
		outline-color: var(--ink);
	}

	.usp-vehicle__form {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-end;
		gap: 16px 24px;
	}

	.usp-vehicle__title {
		flex: 1 1 100%;
		font-size: 30px;
		line-height: 1;
		color: var(--ink);
	}

	.usp-vehicle .usp-fieldset {
		flex: 1 1 380px;
	}

	.usp-vehicle .usp-fieldset legend,
	.usp-vehicle .usp-field__label {
		font-weight: 700;
	}

	.usp-vehicle .usp-chip span {
		height: 48px;
		border-color: var(--ink);
		background: transparent;
		color: var(--ink);
	}

	.usp-vehicle .usp-chip input:checked + span {
		border-color: var(--ink);
		background: var(--ink);
		color: var(--y);
	}

	.usp-vehicle .usp-chip--more select {
		height: 48px;
		border-color: var(--ink);
		background-image: var(--chev-dark);
		color: var(--ink);
	}

	.usp-vehicle .usp-grid-2 {
		display: flex;
		flex: 0 1 360px;
		gap: 16px;
	}

	.usp-vehicle .usp-grid-2 .usp-field {
		flex: 1 1 0;
	}

	.usp-vehicle .usp-select {
		height: 48px;
		border: 2px solid var(--ink);
	}

	.usp-vehicle__submit {
		flex: 0 0 auto;
		min-height: 48px;
	}

	.usp-vehicle .usp-vehicle__submit {
		background: var(--ink);
		color: var(--y);
	}

	.usp-vehicle .usp-vehicle__submit:hover {
		background: #000;
		color: var(--y);
	}

	.usp-filters-panel .usp-grid-2 {
		display: flex;
		flex: 0 1 360px;
		gap: 12px;
	}

	.usp-filters-panel .usp-grid-2 .usp-field {
		flex: 1 1 0;
	}

	.usp-filters-panel .usp-fieldset {
		flex: 1 1 100%;
	}
}

/* ---------- Kategorije ---------- */
.usp-cats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.usp-cat {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	height: 100%;
	min-height: 88px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--card);
	color: var(--white);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

.usp-cat .usp-icon {
	align-self: flex-end;
	color: var(--y);
}

.usp-cat:hover {
	border-color: var(--y);
	color: var(--white);
}

@media (min-width: 768px) {
	.usp-cats {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 12px;
	}

	.usp-cat {
		flex-direction: row;
		align-items: center;
		min-height: 76px;
		padding: 16px 18px;
		font-size: 16px;
	}

	.usp-cat .usp-icon {
		align-self: center;
	}
}

/* ---------- Deli: ploščice in vrstice ---------- */
.usp-ph {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 100%;
	background: var(--ph);
	color: var(--ph-ink);
	font-size: 12px;
}

.usp-num {
	font-family: var(--mono);
	font-size: 13px;
	color: var(--muted);
	overflow-wrap: anywhere;
}

.usp-price {
	color: var(--y);
	font-size: 17px;
	font-weight: 700;
}

.usp-kicker {
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.usp-tiles {
	display: flex;
	gap: 12px;
	margin: 0 -16px;
	padding: 0 16px 4px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.usp-tiles > li {
	flex: 0 0 236px;
	scroll-snap-align: start;
}

.usp-tile {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
	background: var(--card);
	color: var(--white);
	text-decoration: none;
}

.usp-tile:hover {
	border-color: var(--y);
	color: var(--white);
}

.usp-tile__img {
	aspect-ratio: 236 / 150;
	background: var(--ph);
}

.usp-tile__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.usp-tile__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px 14px;
}

.usp-tile__name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

@media (min-width: 768px) {
	.usp-tiles {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		gap: 16px;
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.usp-tile__name {
		font-size: 16px;
	}
}

.usp-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 4px 0 16px;
	list-style: none;
}

.usp-row {
	display: flex;
	gap: 12px;
	height: 100%;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--card);
	color: var(--white);
	text-decoration: none;
}

.usp-row:hover {
	border-color: var(--y);
	color: var(--white);
}

.usp-row__img {
	flex: 0 0 96px;
	height: 96px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--ph);
}

.usp-row__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.usp-row__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.usp-row__name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.usp-row__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 2px;
}

.usp-row__foot .usp-icon {
	color: var(--y);
}

@media (min-width: 768px) {
	.usp-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

/* ---------- Zakaj USP, B2B, kontakt ---------- */
.usp-info-grid {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.usp-trust {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.usp-trust li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--card);
}

.usp-trust__icon {
	display: flex;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	height: 36px;
	border-radius: 10px;
	background: var(--y);
	color: var(--ink);
}

.usp-trust strong {
	display: block;
	font-size: 15px;
}

.usp-trust__text {
	color: var(--muted);
	font-size: 14px;
}

.usp-b2b {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	border-radius: 16px;
	background: var(--y);
	color: var(--ink);
	text-decoration: none;
}

.usp-b2b:hover {
	color: var(--ink);
	background: #ffdb33;
}

.usp-b2b__kicker {
	color: var(--on-y-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.usp-b2b__title {
	font-family: var(--display);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
}

.usp-b2b__text {
	color: var(--on-y-muted);
	font-size: 14px;
}

.usp-b2b__link {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	font-size: 15px;
	font-weight: 700;
}

.usp-contact {
	display: flex;
	flex-direction: column;
	margin: 0 0 12px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
	background: var(--card);
	list-style: none;
}

.usp-contact__row {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 60px;
	padding: 8px 16px;
	border-bottom: 1px solid var(--line);
	color: var(--white);
	font-size: 15px;
	text-decoration: none;
}

.usp-contact__row > span {
	white-space: pre-line;
}

.usp-contact li:last-child .usp-contact__row {
	border-bottom: 0;
}

.usp-contact__row .usp-icon {
	color: var(--y);
}

.usp-contact__row--strong {
	font-size: 16px;
	font-weight: 600;
}

@media (min-width: 1024px) {
	.usp-info-grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
		align-items: start;
	}

	.usp-b2b {
		align-self: stretch;
		padding: 24px;
	}

	.usp-b2b__link {
		margin-top: auto;
		padding-top: 16px;
	}

	.usp-b2b__title {
		font-size: 32px;
	}
}

/* ---------- Rezultati iskanja ---------- */
.usp-results__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-block: 18px 6px;
}

.usp-results__title {
	font-size: 30px;
}

.usp-results__count {
	flex: none;
	color: var(--muted);
	font-size: 14px;
}

.usp-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-block: 8px 12px;
}

.usp-filter {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--ctl);
	border-radius: 999px;
	background: var(--card);
	color: var(--white);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.usp-filter--y {
	border-color: var(--y);
	background: var(--y);
	color: var(--ink);
	font-weight: 700;
}

.usp-filter--y:hover {
	color: var(--ink);
}

.usp-filters-panel {
	width: 100%;
}

.usp-filters-panel > summary {
	list-style: none;
	display: inline-flex;
}

.usp-filters-panel > summary::-webkit-details-marker {
	display: none;
}

.usp-filters-panel[open] > summary {
	margin-bottom: 12px;
}

.usp-filters-panel__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--card);
}

.usp-filters-panel .usp-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.usp-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding-block: 8px 24px;
}

.usp-pager a,
.usp-pager span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 48px;
	padding: 0 14px;
	border: 1.5px solid var(--ctl);
	border-radius: 12px;
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
}

.usp-pager [aria-current="page"] {
	border-color: var(--y);
	background: var(--y);
	color: var(--ink);
}

.usp-empty {
	padding: 24px 16px;
	border: 1px dashed var(--ctl);
	border-radius: 14px;
	color: var(--soft);
	text-align: center;
}

.usp-help {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-block: 8px 28px;
	padding: 18px;
	border-radius: 16px;
	background: var(--y);
	color: var(--ink);
}

.usp-help h2 {
	font-size: 24px;
	line-height: 1.1;
}

.usp-help p {
	color: var(--on-y-muted);
	font-size: 14px;
}

.usp-help .usp-btn {
	margin-top: 4px;
}

@media (min-width: 768px) {
	.usp-help {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		padding: 24px;
	}

	.usp-help__text {
		flex: 1 1 360px;
		display: flex;
		flex-direction: column;
		gap: 6px;
	}
}

/* ---------- Stran dela ---------- */
.usp-crumbs {
	padding-block: 12px;
	color: var(--muted);
	font-size: 13px;
}

.usp-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.usp-crumbs li + li::before {
	content: "›";
	margin-right: 8px;
}

.usp-crumbs a {
	color: var(--soft);
}

.usp-gallery {
	margin-inline: -16px;
	background: var(--card);
}

.usp-gallery__main {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--ph);
	touch-action: pan-y;
}

.usp-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.usp-gallery__count {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--y);
	color: var(--ink);
	font-size: 13px;
	font-weight: 700;
}

.usp-thumbs {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 12px 16px;
	list-style: none;
	overflow-x: auto;
}

.usp-thumb {
	display: block;
	width: 64px;
	height: 64px;
	padding: 0;
	border: 1px solid var(--ctl);
	border-radius: 10px;
	overflow: hidden;
	background: var(--ph);
	cursor: pointer;
}

.usp-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.usp-thumb[aria-current="true"] {
	border: 3px solid var(--y);
}

.usp-part__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-block: 20px;
	border-bottom: 1px solid var(--line);
}

.usp-part__title {
	font-size: 32px;
	overflow-wrap: anywhere;
}

.usp-part__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.usp-part__amount {
	color: var(--y);
	font-family: var(--display);
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
}

.usp-part__vat {
	color: var(--muted);
	font-size: 15px;
}

.usp-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.usp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--ph);
	color: var(--white);
	font-size: 13px;
	font-weight: 600;
}

.usp-badge--ok {
	background: #14361f;
	color: #86efac;
}

.usp-part__sec {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 20px;
}

.usp-part__h {
	color: var(--y);
	font-family: var(--font);
	font-size: 15px;
	letter-spacing: 0.04em;
}

.usp-part__desc {
	color: var(--soft);
	font-size: 15px;
	white-space: pre-line;
}

.usp-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.usp-copy {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--ctl);
	border-radius: 10px;
	background: var(--card);
	color: var(--white);
	font-family: var(--mono);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.usp-copy:hover {
	border-color: var(--y);
}

.usp-hint {
	color: var(--muted);
	font-size: 13px;
}

.usp-compat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

.usp-compat li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--card);
}

.usp-compat .usp-num {
	font-size: 14px;
	text-align: right;
}

.usp-inquiry {
	margin-top: 24px;
	padding-block: 24px 28px;
	background: var(--white);
	color: var(--ink);
}

.usp-inquiry :focus-visible {
	outline-color: var(--ink);
}

.usp-inquiry h2 {
	color: var(--ink);
	font-size: 26px;
}

.usp-inquiry__lead {
	margin-top: 6px;
	color: #4b4b4b;
	font-size: 14px;
}

.usp-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 14px;
}

.usp-form label {
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
}

.usp-input {
	width: 100%;
	height: 52px;
	padding: 0 14px;
	border: 1px solid #8a8a8a;
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	font-size: 16px;
}

textarea.usp-input {
	height: auto;
	min-height: 120px;
	padding: 12px 14px;
	line-height: 1.4;
	resize: vertical;
}

.usp-form__row {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.usp-form__consent {
	color: #4b4b4b;
	font-size: 13px;
}

.usp-form__consent a {
	color: var(--ink);
}

.usp-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.usp-notice {
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
}

.usp-notice:empty {
	display: none;
}

.usp-notice--ok {
	background: #dcfce7;
	color: #14532d;
}

.usp-notice--err {
	background: #fee2e2;
	color: #7f1d1d;
}

@media (min-width: 1024px) {
	.usp-part {
		display: grid;
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		gap: 40px;
		padding-block: 8px 32px;
	}

	.usp-gallery {
		margin: 0;
		border-radius: 16px;
		overflow: hidden;
	}

	.usp-part__head {
		padding-top: 0;
	}

	.usp-inquiry {
		margin-top: 0;
		margin-bottom: 48px;
		border-radius: 16px;
	}

	.usp-inquiry__inner {
		max-width: 720px;
	}

	.usp-form__row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Vsebinske strani ---------- */
.usp-page {
	padding-block: 28px 40px;
}

.usp-page__title {
	margin-bottom: 18px;
	font-size: 34px;
}

.usp-prose {
	max-width: 760px;
	color: var(--soft);
	font-size: 16px;
	line-height: 1.65;
}

.usp-prose > * + * {
	margin-top: 1em;
}

.usp-prose h2,
.usp-prose h3 {
	margin-top: 1.4em;
	color: var(--white);
}

.usp-prose h2 {
	font-size: 26px;
}

.usp-prose h3 {
	font-size: 21px;
}

.usp-prose a {
	color: var(--y);
}

.usp-prose img {
	border-radius: 12px;
}

.usp-posts {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.usp-post {
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--card);
}

.usp-post h2 {
	font-size: 24px;
}

.usp-post h2 a {
	text-decoration: none;
}

.usp-post time {
	display: block;
	margin-block: 6px 10px;
	color: var(--muted);
	font-size: 13px;
}

@media (min-width: 768px) {
	.usp-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Noga ---------- */
.site-footer {
	padding-block: 20px 28px;
	background: var(--black);
	color: var(--muted);
	font-size: 13px;
}

.site-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.site-footer ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--white);
}

@media (min-width: 1024px) {
	.site-footer__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.site-footer {
		font-size: 14px;
	}
}

/* ---------- Spodnja vrstica (telefon) ---------- */
.usp-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 40;
	display: grid;
	grid-template-columns: repeat(var(--usp-bar-cols, 3), minmax(0, 1fr));
	gap: 8px;
	padding: 10px 12px calc(14px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--line);
	background: var(--black);
}

.usp-bar a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 50px;
	border: 1.5px solid var(--white);
	border-radius: 12px;
	color: var(--white);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.usp-bar a.usp-bar__call {
	border-color: var(--y);
	background: var(--y);
	color: var(--ink);
	font-weight: 700;
}

@media (max-width: 359px) {
	.usp-bar a {
		font-size: 13px;
	}

	.usp-bar .usp-icon {
		display: none;
	}
}

@media (min-width: 1024px) {
	body {
		padding-bottom: 0;
	}

	.usp-bar {
		display: none;
	}
}

.usp-demo-note {
	padding: 8px 16px;
	background: #3b2f00;
	color: var(--y);
	font-size: 13px;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
	}
}
