/* AutoCoverFactory — temel stil + header. Sistem fontu, JS yok. */
:root {
	--bg: #ffffff;
	--bg-soft: #f6f5f2;
	--text: #18191b;
	--muted: #6b6a66;
	--line: #e7e5e0;
	--accent: #b08a4f;        /* açık zeminde okunur altın */
	--accent-dark: #8e6e3c;
	--radius: 10px;
	--wrap: 1240px;
	--header-h: 68px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---- Temel ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
main#main { display: block; min-height: 50vh; }
main#main > article { max-width: var(--wrap); margin: 0 auto; padding: 40px 20px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 16px; background: var(--text); color: #fff; border-radius: var(--radius); text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---- Header ---- */
.sh { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.admin-bar .sh { top: 32px; }
@media (max-width: 782px) { .admin-bar .sh { top: 0; } }

.sh-row { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.sh-ico { width: 22px; height: 22px; display: block; }

.sh-logo { font-size: 20px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.sh-logo span { color: var(--accent); }

.sh-nav { display: none; }
.sh-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.sh-nav-list a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.sh-nav-list a:hover, .sh-nav-list .current-menu-item > a { background: var(--bg-soft); }

.sh-actions { margin-left: auto; flex: none; display: flex; align-items: center; gap: 4px; }
.sh-act { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; }
.sh-act:hover { background: var(--bg-soft); }
.sh-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--text); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }

/* Arama formu */
.s-form { display: flex; align-items: center; height: 42px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.s-form:focus-within { border-color: var(--accent); background: var(--bg); }
.s-form input { flex: 1; min-width: 0; height: 100%; padding: 0 4px 0 16px; border: 0; background: transparent; outline: 0; font-size: 15px; }
.s-form input::-webkit-search-cancel-button { display: none; }
.s-form button { display: grid; place-items: center; width: 42px; height: 100%; border: 0; background: transparent; cursor: pointer; }
.s-form svg { width: 20px; height: 20px; }
.sh-search { display: none; }

/* Mobil menü: <details> ile, JS yok */
.sh-mobile { margin-left: -10px; }
.sh-mobile > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.sh-mobile > summary::-webkit-details-marker { display: none; }
.sh-mobile[open] > summary { background: var(--bg-soft); }
.sh-drawer { position: absolute; left: 0; right: 0; top: var(--header-h); max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 16px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -16px rgba(0,0,0,.18); }
.sh-drawer .s-form { margin-bottom: 12px; }
.sh-drawer .sh-nav-list { flex-direction: column; gap: 0; }
.sh-drawer .sh-nav-list a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.sh-drawer .sh-nav-list li:last-child a { border-bottom: 0; }

@media (min-width: 1140px) {
	.sh-row { gap: 24px; }
	.sh-mobile { display: none; }
	.sh-nav { display: block; min-width: 0; }
	.sh-search { display: block; width: 220px; margin-right: 4px; }
	.sh-logo { font-size: 22px; }
}
@media (min-width: 1140px) and (max-width: 1300px) {
	.sh-row { gap: 16px; }
	.sh-search { width: 170px; }
	.sh-nav-list a { padding: 8px 9px; font-size: 14px; }
}
