/* modeli.al — biblioteka e modeleve
   Ideja vizuale: kartela katalogu bibliote. Letër e ngrohtë, bojë e zezë, një e kuqe e thellë si theks,
   skeda me ngjyrë për çdo kategori, numra katalogu në shkrim makine. */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-wdth.woff2") format("woff2-variations"), url("../fonts/archivo-wdth.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Plex Mono";
	src: url("../fonts/plex-mono-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Plex Mono";
	src: url("../fonts/plex-mono-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

:root {
	--paper: #f4f1ea;
	--paper-2: #ebe6da;
	--sheet: #fffdf8;
	--ink: #1d1c1a;
	--ink-2: #45423b;
	--muted: #67625a;
	--rule: #d8d0c0;
	--rule-2: #c6bca8;
	--accent: #c2361f;
	--accent-ink: #9c2a17;
	--warn-bg: #f8ecd2;
	--warn: #a9681a;
	--cat: #5e594f;
	--sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--cond: 72%;
	--radius: 4px;
	--wrap: 1200px;
	--gutter: 20px;
}

/* ---------- Bazat ---------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.55;
	font-stretch: 100%;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }

h1, h2, h3 {
	font-stretch: var(--cond);
	font-weight: 720;
	line-height: 1.02;
	letter-spacing: -0.005em;
	margin: 0;
	text-wrap: balance;
}

p { margin: 0 0 1em; }

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

.mono {
	font-family: var(--mono);
	font-size: 13px;
	letter-spacing: 0;
	font-stretch: 100%;
}

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

.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 {
	clip: auto; width: auto; height: auto; margin: 0;
	z-index: 100; left: 12px; top: 12px;
	padding: 12px 16px;
	background: var(--ink); color: var(--paper);
}

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

/* ---------- Butonat ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 20px;
	border: 1.5px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--paper);
	font-weight: 650;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}
.btn:hover { background: #000; color: var(--paper); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Koka e faqes ---------- */

.site-header {
	border-bottom: 1px solid var(--rule);
	background: var(--paper);
}
.site-header__inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 24px;
	min-height: 68px;
	padding-block: 10px;
}
.brand {
	font-stretch: 75%;
	font-weight: 800;
	font-size: 27px;
	letter-spacing: -0.01em;
	line-height: 1;
	text-decoration: none;
	color: var(--ink);
	margin: 0;
}
.brand span { color: var(--accent); }
.brand img { max-height: 40px; width: auto; }
.site-header__search { order: 3; flex: 1 1 100%; }

.nav-toggle {
	margin-left: auto;
	width: 44px; height: 44px;
	display: inline-grid; place-items: center;
	background: none; border: 1px solid var(--rule-2); border-radius: var(--radius);
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block; width: 18px; height: 2px; background: var(--ink); position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-nav { display: none; flex: 1 1 100%; order: 4; }
.nav-open .site-nav { display: block; }
.site-nav .menu { list-style: none; margin: 0; padding: 4px 0 8px; }
.site-nav .menu a {
	display: block;
	padding: 12px 0;
	border-top: 1px solid var(--rule);
	font-weight: 600;
	text-decoration: none;
}
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--accent); }

/* ---------- Kërkimi ---------- */

.search {
	display: flex;
	align-items: stretch;
	background: var(--sheet);
	border: 1.5px solid var(--ink);
	border-radius: var(--radius);
	max-width: 640px;
}
.search input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 14px 16px;
	font-size: 17px;
	outline: none;
}
.search input::placeholder { color: #767065; }
.search:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.search button {
	border: 0;
	background: var(--accent);
	color: #fff;
	font-weight: 700;
	padding: 0 22px;
	cursor: pointer;
	border-radius: 0 2px 2px 0;
}
.search button:hover { background: var(--accent-ink); }
.search--header { max-width: none; border-width: 1px; border-color: var(--rule-2); }
.search--header input { padding: 10px 14px; font-size: 16px; }
.search--header button { background: var(--ink); padding: 0 16px; font-weight: 600; }

/* ---------- Faqja kryesore ---------- */

.hero { padding: 36px 0 44px; border-bottom: 1px solid var(--rule); }
.hero__inner { display: grid; gap: 32px; }
.hero__label {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--muted);
	margin-bottom: 18px;
}
.hero__label::before { content: ""; width: 10px; height: 10px; background: var(--accent); }
.hero__title {
	font-size: clamp(40px, 7vw, 76px);
	font-stretch: 66%;
	font-weight: 760;
	line-height: 0.98;
	letter-spacing: -0.01em;
	max-width: 17ch;
	margin-bottom: 20px;
}
.hero__lead { font-size: 18px; color: var(--ink-2); max-width: 34em; margin-bottom: 24px; }
.quick { margin: 16px 0 0; font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.quick__label { color: var(--muted); }
.quick a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--rule-2); text-decoration-thickness: 2px; }
.quick a:hover { text-decoration-color: var(--accent); }
.hero__stats { margin: 28px 0 0; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0; }
.hero__stats span + span::before { content: "/"; margin: 0 10px; color: var(--rule-2); }

.shelf {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}
.shelf__item {
	position: relative;
	display: block;
	background: var(--paper-2);
	border: 1px solid var(--rule);
	padding: 10px 10px 0;
	text-decoration: none;
	overflow: hidden;
}
.shelf__item img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: top;
	box-shadow: 0 1px 0 var(--rule), 0 8px 20px rgba(29, 28, 26, 0.10);
	background: #fff;
}
.shelf__caption {
	display: block;
	padding: 8px 2px 10px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
}
.shelf__caption .mono { display: block; color: var(--muted); font-weight: 400; font-size: 11px; }
.shelf__item:hover { border-color: var(--ink); }

/* ---------- Shiriti i mjeteve (Krijo CV) ---------- */

.tool-strip { background: var(--sheet); border-bottom: 1px solid var(--rule); }
.tool-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 18px; }
.tool-strip__text { margin: 0; font-size: 17px; max-width: 46em; }
.tool-strip__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-strip__tag { color: var(--accent); border: 1px solid currentColor; padding: 1px 6px; margin-right: 6px; font-size: 11.5px; vertical-align: 2px; }

/* ---------- Seksionet ---------- */

.section { padding: 48px 0; }
.section--tint { background: var(--paper-2); border-block: 1px solid var(--rule); }
.section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
	border-bottom: 2px solid var(--ink);
	padding-bottom: 10px;
}
.section__title { font-size: clamp(30px, 4.5vw, 44px); }
.section__more { font-weight: 600; font-size: 15px; white-space: nowrap; }

/* Katalogu i kategorive: sirtarë kartelash */
.drawers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
.drawer a {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "nr name count" "nr desc desc";
	align-items: baseline;
	gap: 4px 16px;
	padding: 18px 18px 18px 16px;
	background: var(--sheet);
	border: 1px solid var(--rule);
	border-left: 6px solid var(--cat);
	text-decoration: none;
	height: 100%;
}
.drawer a:hover { border-color: var(--ink); border-left-color: var(--cat); color: var(--ink); }
.drawer a:hover .drawer__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.drawer__nr { grid-area: nr; color: var(--muted); }
.drawer__name { grid-area: name; font-stretch: var(--cond); font-weight: 720; font-size: 26px; line-height: 1.05; }
.drawer__desc { grid-area: desc; color: var(--ink-2); font-size: 15px; }
.drawer__count { grid-area: count; color: var(--muted); white-space: nowrap; }
.soon { color: var(--muted); margin: 16px 0 0; }

/* ---------- Kartelat e modeleve ---------- */

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

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--sheet);
	border: 1px solid var(--rule);
	border-radius: 2px;
}
.card::before {
	content: "";
	position: absolute;
	top: -1px; left: 14px;
	width: 44px; height: 6px;
	background: var(--cat);
	z-index: 1;
}
.card:hover { border-color: var(--ink); }
.card:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.card__media {
	aspect-ratio: 4 / 3;
	background: var(--paper-2);
	padding: 14px 16px 0;
	overflow: hidden;
	border-bottom: 1px solid var(--rule);
}
.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	background: #fff;
	box-shadow: 0 1px 0 var(--rule), 0 6px 18px rgba(29, 28, 26, 0.10);
}
.card__sheet {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	background: #fff;
	padding: 14px 14px 0;
	box-shadow: 0 1px 0 var(--rule), 0 6px 18px rgba(29, 28, 26, 0.10);
	overflow: hidden;
}
.card__sheet-format {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--cat);
	border: 1px solid currentColor;
	align-self: flex-start;
	padding: 1px 6px;
}
.card__sheet-title {
	font-stretch: var(--cond);
	font-weight: 720;
	font-size: 20px;
	line-height: 1.05;
	color: var(--ink);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card__sheet-head { display: block; height: 12px; width: 62%; background: var(--ink); opacity: 0.85; margin-top: 4px; }
.card__sheet-head::after { content: ""; display: block; height: 6px; width: 70%; background: var(--rule-2); margin-top: 18px; transform: translateY(0); }
.card__sheet-lines {
	flex: 1;
	min-height: 30px;
	background: repeating-linear-gradient(to bottom, transparent 0 10px, var(--paper-2) 10px 12px);
	margin-top: 4px;
}
.card__body { padding: 12px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.card__meta { color: var(--muted); margin: 0 0 6px; display: flex; gap: 0 10px; font-size: 11.5px; white-space: nowrap; min-width: 0; }
.card__meta span { flex: none; }
.card__meta .card__formats { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.card__title { font-size: 18px; font-stretch: 85%; font-weight: 680; line-height: 1.18; margin-bottom: 8px; }
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card__link:focus-visible { outline: none; }
.card:hover .card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.card__foot {
	margin: auto 0 0;
	padding-top: 10px;
	border-top: 1px solid var(--paper-2);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.card__cat { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__cat::before { content: ""; width: 8px; height: 8px; background: var(--cat); flex: none; }
.card__go { flex: none; font-size: 12px; color: var(--ink-2); }
.card:hover .card__go { color: var(--accent-ink); }

/* ---------- Pyetja në fund ---------- */

.ask {
	display: grid;
	gap: 8px 32px;
	align-items: center;
	padding: 28px 0;
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--rule);
}
.ask__title { font-stretch: var(--cond); font-weight: 720; font-size: 30px; line-height: 1.05; margin: 0; }
.ask__text { margin: 0; color: var(--ink-2); }
.ask .btn { justify-self: start; margin-top: 8px; }

/* ---------- Breadcrumbs ---------- */

.breadcrumbs { padding: 18px 0 0; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: var(--rule-2); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- Katalogu ---------- */

.catalog { padding-bottom: 64px; }
.catalog__head { padding: 22px 0 20px; }
.catalog__head--cat::before { content: ""; display: block; width: 56px; height: 8px; background: var(--cat); margin-bottom: 14px; }
.catalog__title { font-size: clamp(40px, 8vw, 72px); font-stretch: 66%; font-weight: 760; line-height: 0.98; }
.catalog__desc { color: var(--ink-2); max-width: 40em; margin-top: 12px; font-size: 18px; }
.catalog__desc p:last-child { margin-bottom: 0; }

.tabs {
	display: flex;
	gap: 0;
	overflow-x: auto;
	scrollbar-width: none;
	border-bottom: 1px solid var(--ink);
	margin: 8px 0 18px;
	-webkit-overflow-scrolling: touch;
}
.tabs::-webkit-scrollbar { display: none; }
/* Kur kategoritë nuk nxënë, skaji i djathtë zbehet: shenjë që rreshti rrëshqet. */
.tabs.has-more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
.tabs__item {
	flex: none;
	padding: 10px 14px 9px;
	border: 1px solid transparent;
	border-bottom: 0;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	position: relative;
	top: 1px;
}
.tabs__item .mono { color: var(--muted); font-size: 11.5px; margin-left: 4px; }
.tabs__item:hover { color: var(--ink); background: var(--paper-2); }
.tabs__item.is-current {
	background: var(--sheet);
	border-color: var(--ink);
	box-shadow: inset 0 4px 0 var(--cat);
}

.filters {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
}
.filters__q { position: relative; flex: 1 1 auto; min-width: 0; }
.filters__sel { flex: 0 0 auto; width: 132px; }
.filters input,
.filters select {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--rule-2);
	border-radius: var(--radius);
	background: var(--sheet);
	font-size: 16px;
}
.filters input { padding: 10px 48px 10px 14px; }
.filters select { padding: 10px 28px 10px 10px; font-size: 15px; text-overflow: ellipsis; }
.filters input:focus,
.filters select:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.filters__go {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 48px;
	display: grid; place-items: center;
	border: 0; background: none; color: var(--ink);
	cursor: pointer;
}
.filters__go:hover { color: var(--accent); }

.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.results-bar__count { margin: 0; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.sort__label { color: var(--muted); }
.sort select {
	min-height: 40px;
	padding: 6px 28px 6px 10px;
	border: 1px solid var(--rule-2);
	border-radius: var(--radius);
	background: var(--sheet);
	font-size: 15px;
	font-weight: 600;
}
.sort select:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.chips { flex-basis: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 10px;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--sheet);
	font-size: 14px;
	text-decoration: none;
}
.chip:hover { background: var(--ink); color: var(--paper); }

.empty {
	padding: 36px 24px;
	background: var(--sheet);
	border: 1px dashed var(--rule-2);
	text-align: left;
}
.empty__title { font-size: clamp(26px, 4vw, 36px); margin-bottom: 10px; }
.empty__text { color: var(--ink-2); max-width: 36em; }
.empty__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }

.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
	min-width: 44px; min-height: 44px;
	display: inline-grid; place-items: center;
	padding: 0 12px;
	border: 1px solid var(--rule-2);
	background: var(--sheet);
	text-decoration: none;
	font-weight: 600;
}
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pagination a.page-numbers:hover { border-color: var(--ink); }
.pagination .dots { border: 0; background: none; }

/* ---------- Faqja e modelit ---------- */

.model { padding-bottom: 72px; }
.model__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "head" "media" "get" "body";
	gap: 24px;
	padding-top: 18px;
}
.model__head { grid-area: head; }
.model__media { grid-area: media; }
.model__get { grid-area: get; }
.model__body { grid-area: body; }

.model__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); margin-bottom: 12px; }
.model__meta a { color: var(--ink); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.model__meta a::before { content: ""; width: 8px; height: 8px; background: var(--cat); }
.model__meta a:hover { text-decoration: underline; }
.model__title { font-size: clamp(36px, 7vw, 60px); font-stretch: 66%; font-weight: 760; line-height: 0.98; margin-bottom: 14px; }
.model__lead { font-size: 18px; color: var(--ink-2); margin: 0; max-width: 34em; }

.preview { margin: 0; }
.preview__frame {
	background: var(--paper-2);
	border: 1px solid var(--rule);
	padding: clamp(14px, 4vw, 36px);
	display: flex;
	justify-content: center;
}
.preview__img {
	width: auto;
	max-height: 760px;
	background: #fff;
	box-shadow: 0 1px 0 var(--rule), 0 12px 32px rgba(29, 28, 26, 0.14);
}
.preview__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.preview__thumb {
	width: 64px; height: 64px;
	padding: 0;
	border: 1px solid var(--rule-2);
	background: #fff;
	cursor: pointer;
	overflow: hidden;
}
.preview__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.preview__thumb.is-current { border: 2px solid var(--ink); }
.preview--empty { background: var(--paper-2); border: 1px solid var(--rule); padding: 28px; }
.card__sheet--large { aspect-ratio: 3 / 4; max-width: 420px; margin: 0 auto; padding: 28px 26px 0; gap: 14px; }
.card__sheet--large .card__sheet-title { font-size: 34px; -webkit-line-clamp: 4; }
@media (max-width: 639px) { .card__sheet--large { max-width: 240px; padding: 18px 16px 0; } .card__sheet--large .card__sheet-title { font-size: 24px; } }

.model__get {
	background: var(--sheet);
	border: 1px solid var(--rule);
	border-top: 6px solid var(--cat);
	padding: 20px;
	align-self: start;
}
.get { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.get__btn { width: 100%; min-height: 54px; font-size: 17px; }
.get__info { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; text-align: center; }
.get__info--online { margin: 6px 0 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--rule-2); }
.get__note { margin: 16px 0 0; font-size: 14px; color: var(--ink-2); text-align: center; }
.get__none { margin: 0; color: var(--ink-2); }

.notice {
	margin-top: 18px;
	padding: 12px 14px;
	background: var(--warn-bg);
	border-left: 4px solid var(--warn);
	font-size: 15px;
}
.notice p { margin: 0; }

.facts { margin: 20px 0 0; border-top: 1px solid var(--rule); }
.facts div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--rule-2);
}
.facts dt { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.facts dd { margin: 0; font-size: 15px; text-align: right; }

.prose { max-width: 68ch; }
.prose h2,
.howto h2 { font-size: 28px; margin: 8px 0 12px; }
.prose h3 { font-size: 22px; margin: 28px 0 10px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose a { color: var(--accent-ink); }
.prose img { margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding-left: 18px; border-left: 3px solid var(--rule-2); color: var(--ink-2); }
.howto { max-width: 68ch; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }

.related { margin-top: 64px; }

/* ---------- Faqet dhe udhëzuesit ---------- */

.basic { max-width: 820px; padding-bottom: 72px; }
.basic__head { padding: 22px 0 24px; border-bottom: 2px solid var(--ink); margin-bottom: 28px; }
.basic__title { font-size: clamp(38px, 7vw, 64px); font-stretch: 66%; font-weight: 760; line-height: 0.98; }
.basic__lead { font-size: 18px; color: var(--ink-2); margin: 12px 0 0; }
.prose--page { font-size: 18px; line-height: 1.65; }
.list { list-style: none; margin: 0; padding: 0; }
.list__item { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.list__meta { color: var(--muted); margin: 0 0 6px; }
.list__title { font-size: 28px; margin-bottom: 8px; }
.list__link { text-decoration: none; }
.list__link:hover { text-decoration: underline; }
.list__text { margin: 0; color: var(--ink-2); }
.basic--404 { padding-top: 48px; }
.basic__code { color: var(--accent); margin-bottom: 8px; }
.basic--404 .search { margin-top: 24px; }
.inline-links { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; }

/* ---------- Fundi i faqes ---------- */

.site-footer { background: var(--ink); color: #e9e4d8; margin-top: 24px; }
.site-footer a { color: #e9e4d8; }
.site-footer a:hover { color: #fff; }
.site-footer__inner { display: grid; gap: 28px; padding-block: 44px 28px; }
.brand--footer { color: #fff; font-size: 30px; margin-bottom: 10px; }
.brand--footer span { color: #ef6a51; }
.site-footer__about p { margin: 0; color: #c7c0b1; }
.site-footer__nav .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	padding-block: 18px 28px;
	border-top: 1px solid #3a3833;
	font-size: 13px;
	color: #a9a293;
}
.site-footer__bottom .mono { font-size: 12px; }

/* ---------- Ekrane më të mëdha ---------- */

@media (max-width: 639px) {
	.tabs__item { padding: 10px 10px 9px; font-size: 14.5px; }
	.card__go-text { display: none; }
	.card__cat { font-size: 13px; }
	.catalog__head { padding: 16px 0 12px; }
	.catalog__title { font-size: 40px; }
	.catalog__desc { font-size: 16px; margin-top: 8px; }
}

@media (min-width: 640px) {
	:root { --gutter: 28px; }
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
	.drawers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.filters__sel { width: 220px; }
	.ask { grid-template-columns: 1fr auto; }
	.ask .btn { grid-row: 1 / span 2; grid-column: 2; margin: 0; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
	.site-footer__nav .menu { grid-template-columns: 1fr 1fr; }
}

/* Menuja horizontale vetëm kur ka vend për të gjitha lidhjet; më poshtë mbetet butoni i menusë. */
@media (min-width: 1200px) {
	.site-header__inner { flex-wrap: nowrap; min-height: 76px; }
	.nav-toggle { display: none; }
	.site-nav { display: block; order: 0; flex: none; }
	.site-header__search + .nav-toggle + .site-nav { margin-left: 0; }
	.brand + .nav-toggle + .site-nav { margin-left: auto; }
	.site-nav .menu { display: flex; gap: 24px; padding: 0; }
	.site-nav .menu a { border: 0; padding: 6px 0; font-size: 16px; white-space: nowrap; }
	.site-nav .menu a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
}

@media (min-width: 900px) {
	.site-header__inner { min-height: 76px; }
	.site-header__search { order: 0; flex: 0 1 380px; margin-left: auto; }

	.hero { padding: 64px 0 72px; }
	.hero__inner--shelf { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 56px; }
	.hero__lead { font-size: 20px; }
	.search--hero input { padding: 18px 20px; font-size: 19px; }
	.search--hero button { padding: 0 30px; font-size: 18px; }
	.shelf { grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
	.shelf__item--1 { grid-row: 1 / span 2; }
	.shelf { align-items: start; }
	.shelf__item--1 img { aspect-ratio: 3 / 4; }
	.shelf__item--2 img,
	.shelf__item--3 img { aspect-ratio: 4 / 3; }

	.section { padding: 72px 0; }
	.drawers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.drawer a { grid-template-columns: auto 1fr; grid-template-areas: "nr count" "name name" "desc desc"; padding: 20px 22px 24px; min-height: 150px; align-content: start; }
	.drawer__count { justify-self: end; }
	.drawer__name { font-size: 32px; margin-top: 18px; }

	.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }

	.catalog__head { padding: 34px 0 26px; }

	.model__grid {
		grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
		grid-template-areas:
			"media head"
			"media get"
			"body  get";
		grid-template-rows: auto auto 1fr;
		column-gap: 56px;
		row-gap: 28px;
		padding-top: 26px;
	}
	.model__get { position: sticky; top: 20px; padding: 26px; }
	.model__body { padding-top: 12px; }

	.site-footer__inner { grid-template-columns: 1.4fr 1fr; padding-block: 56px 36px; }
}

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

@media print {
	.site-header, .site-footer, .filters, .tabs, .related, .model__get .get { display: none; }
	body { background: #fff; }
}
