.itc-dl { --itc-accent: #e34338; --itc-border: #e3e5ea; --itc-muted: #6b7280; margin: 0 0 40px; }
.itc-dl * { box-sizing: border-box; }

.itc-dl__filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-bottom: 18px; }
.itc-dl__field { flex: 1 1 200px; min-width: 0; }
.itc-dl__field--search { flex: 2 1 280px; }
.itc-dl__field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--itc-muted); margin-bottom: 6px; }
.itc-dl__field input,
.itc-dl__field select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--itc-border); border-radius: 6px; background: #fff; font-size: 15px; color: #111; }
.itc-dl__field select:disabled { background: #f4f5f7; color: #9aa0ab; }
.itc-dl__field input:focus,
.itc-dl__field select:focus { outline: 2px solid var(--itc-accent); outline-offset: 0; border-color: var(--itc-accent); }
.itc-dl__reset { height: 48px; padding: 0 18px; border: 1px solid var(--itc-border); border-radius: 6px; background: #fff; cursor: pointer; font-size: 14px; }
.itc-dl__reset:hover { background: #f4f5f7; }

.itc-dl__count { color: var(--itc-muted); font-size: 14px; margin: 0 0 10px; }

.itc-dl__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--itc-border); }
.itc-dl__item { display: grid; grid-template-columns: 44px 1fr 70px 90px auto; align-items: center; gap: 16px; padding: 16px 8px; border-bottom: 1px solid var(--itc-border); }
.itc-dl__item[hidden] { display: none; }
.itc-dl__item:hover { background: #fafbfc; }
.itc-dl__icon { color: #d4202c; display: inline-flex; }
.itc-dl__name { font-weight: 600; font-size: 17px; color: #111; }
.itc-dl__type,
.itc-dl__size { color: var(--itc-muted); font-size: 14px; white-space: nowrap; }
.itc-dl__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 26px; background: #e34338; border: 1px solid #e34338; color: #fff !important; border-radius: 50px; font-weight: 600; font-size: 14px; line-height: 1.2; text-decoration: none !important; white-space: nowrap; transition: all .3s ease-in-out; }
.itc-dl__btn i { color: #fff !important; font-size: 17px; margin: 0; }
.itc-dl__btn:hover, .itc-dl__btn:focus { background: #121212; border-color: #121212; color: #fff !important; }
.itc-dl__empty { padding: 30px 0; text-align: center; color: var(--itc-muted); }

@media (max-width: 680px) {
	.itc-dl__item { grid-template-columns: 38px 1fr auto; row-gap: 6px; }
	.itc-dl__name { grid-column: 2 / 4; font-size: 16px; }
	.itc-dl__type { grid-column: 2; grid-row: 2; }
	.itc-dl__size { grid-column: 2; grid-row: 2; justify-self: end; }
	.itc-dl__btn { grid-column: 3; grid-row: 2; }
	.itc-dl__type::after { content: ""; }
}

/* Proizvod: ispod "Preuzmite cenovnik" */
.itc-manual-download { order: 9; }

/* Mobilni: bela pozadina do ivica, unutra padding */
@media (max-width: 767px) {
	#downloads-page > .container { padding-left: 0; padding-right: 0; max-width: 100%; }
	#downloads-page .itc-dl-box { margin-left: 0; margin-right: 0; padding: 24px 16px; border-radius: 0; }
	.itc-dl__filters { gap: 12px; }
	.itc-dl__field,
	.itc-dl__field--search { flex: 1 1 100%; }
	.itc-dl__reset { width: 100%; }
	.itc-dl__item { padding-left: 0; padding-right: 0; }
}

/* Bela kartica (samostalno, ne zavisi od stilova teme) */
#downloads-page { padding-top: 0; padding-bottom: 60px; }
.itc-dl-box { position: relative; z-index: 10; margin-top: -50px; padding: 50px 54px; background: #fff; border-top: 8px solid #e34338; }
@media (max-width: 767px) {
	#downloads-page .itc-dl-box { margin-top: 0; }
}
