/*
 * DetoxTR — Ana stil dosyası
 * Mobil öncelikli · Karanlık mod · Core Web Vitals optimize
 */

/* =========================================================
   1. Değişkenler / Temalar
   ========================================================= */
:root {
	--accent: #111111;
	--accent-hover: #000000;
	--on-accent: #ffffff;
	--bg: #ffffff;
	--bg-soft: #f4f4f4;
	--bg-card: #ffffff;
	--text: #111111;
	--text-soft: #666666;
	--border: #e4e4e4;
	--shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .08);
	--radius: 14px;
	--radius-sm: 8px;
	--container: 1180px;
	--header-h: 64px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--space: clamp(1rem, 3vw, 1.5rem);
}

:root[data-theme="dark"] {
	--accent: #f5f5f5;
	--accent-hover: #ffffff;
	--on-accent: #111111;
	--bg: #0d0d0d;
	--bg-soft: #171717;
	--bg-card: #161616;
	--text: #f2f2f2;
	--text-soft: #a3a3a3;
	--border: #2a2a2a;
	--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .5);
}

/* =========================================================
   2. Temel
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--text); margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.2em; }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--space);
}

.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 {
	position: absolute; left: -999px; top: 0; z-index: 1000;
	background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.btn {
	display: inline-block;
	background: var(--accent); color: var(--on-accent);
	padding: .7rem 1.4rem; border-radius: 100px;
	font-weight: 600; border: none; cursor: pointer;
	transition: background .2s;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn--outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--on-accent); }

.section-title { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 1rem; }
.section-more { text-align: center; margin-top: 1.5rem; }

/* =========================================================
   3. Header / Sticky nav
   ========================================================= */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--border);
	transition: transform .3s, box-shadow .3s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: var(--shadow); }

.header-inner {
	display: flex; align-items: center; gap: 1.5rem;
	min-height: var(--header-h);
}
.site-branding { flex: 0 0 auto; margin-right: auto; }
.site-title { font-size: 1.3rem; margin: 0; font-weight: 800; line-height: 0; }
.site-title a { color: var(--text); display: inline-flex; }
.detoxtr-logo { display: inline-flex; }
.detoxtr-logo svg { height: 46px; width: auto; }
.footer-brand .detoxtr-logo svg { height: 52px; }
.custom-logo { max-height: 44px; width: auto; }
/* Monokrom logo koyu modda otomatik terslenir (siyah↔beyaz). */
:root[data-theme="dark"] .custom-logo { filter: invert(1); }

.main-nav { display: none; }
@media (min-width: 900px) { .main-nav { display: block; } }

.nav-menu { display: flex; align-items: center; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
	display: block; padding: .55rem 1rem; color: var(--text); white-space: nowrap;
	border-radius: var(--radius-sm); font-weight: 500; font-size: .95rem;
}
.nav-menu a:hover { background: var(--bg-soft); text-decoration: none; color: var(--accent); }
.nav-menu .current-menu-item > a { color: var(--accent); }

/* "Mağaza" menü öğesi — renkli CTA */
:root { --shop: #1f9d55; }
:root[data-theme="dark"] { --shop: #2fbd6e; }
.nav-menu .menu-item-shop > a {
	background: var(--shop); color: #fff; font-weight: 700;
	padding: .5rem 1.1rem; border-radius: 100px;
}
.nav-menu .menu-item-shop > a:hover {
	background: color-mix(in srgb, var(--shop) 85%, #000); color: #fff;
}
.mobile-menu .menu-item-shop > a { color: var(--shop); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: .25rem; }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border: none; background: transparent;
	color: var(--text); cursor: pointer; border-radius: 50%;
}
.icon-btn:hover { background: var(--bg-soft); }
.menu-toggle { display: inline-flex; }
@media (min-width: 900px) { .menu-toggle { display: none; } }

/* Sepet ikonu + sayaç (WooCommerce) */
.cart-link { position: relative; }
.cart-count {
	position: absolute; top: 2px; right: 2px;
	min-width: 18px; height: 18px; padding: 0 5px;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: .68rem; font-weight: 700; line-height: 1;
	background: var(--accent); color: var(--on-accent); border-radius: 100px;
}
.cart-count.is-empty { display: none; }

/* Tema geçişi ikonları */
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: inline; }

/* Header arama açılır */
.header-search {
	border-top: 1px solid var(--border);
	padding: .8rem 0;
	background: var(--bg);
}
.header-search[hidden] { display: none; }

/* Mobil menü */
.mobile-nav {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
	background: var(--bg); padding: 1rem var(--space);
	overflow-y: auto; border-top: 1px solid var(--border);
}
.mobile-nav[hidden] { display: none; }
.mobile-menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--border); }
.mobile-menu a { display: block; padding: .9rem .2rem; color: var(--text); font-weight: 500; }
.mobile-menu .sub-menu { padding-left: 1rem; }

/* =========================================================
   4. Reklam yuvaları
   ========================================================= */
.ad-slot {
	margin: 1.6rem auto; text-align: center; overflow: hidden;
	max-width: 100%;
}
.ad-slot--empty {
	display: flex; flex-direction: column; gap: .2rem;
	align-items: center; justify-content: center;
	min-height: 90px; padding: 1rem;
	border: 1px dashed var(--border); border-radius: var(--radius-sm);
	background: var(--bg-soft); color: var(--text-soft);
	font-size: .85rem;
}
.ad-slot--empty span { font-weight: 600; color: var(--text); }
.ad-header-wrap, .ad-center-wrap { margin-top: 1rem; }
.sticky-ad { position: sticky; top: calc(var(--header-h) + 1rem); }

/* =========================================================
   5. Yerleşim: içerik + sidebar
   ========================================================= */
.content-wrap { padding-block: 2rem; }
.content-area { min-width: 0; }
.content-area--narrow { max-width: 820px; margin-inline: auto; }

@media (min-width: 992px) {
	.has-sidebar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 2.5rem;
		align-items: start;
	}
	body.no-sidebar .has-sidebar { grid-template-columns: 1fr; }
}

.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 992px) {
	.sidebar { position: sticky; top: calc(var(--header-h) + 1rem); }
}

.page-header { margin-bottom: 1.5rem; }
.page-title { margin: 0; }

/* =========================================================
   6. Breadcrumb
   ========================================================= */
.breadcrumbs { font-size: .85rem; color: var(--text-soft); margin: 1rem 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: .35rem; color: var(--text-soft); }
.breadcrumbs a { color: var(--text-soft); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 500; }

/* =========================================================
   7. Kart ızgaraları
   ========================================================= */
.cards-grid { display: grid; gap: 1.5rem; }
.cards-grid--2 { grid-template-columns: 1fr; }
.cards-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 560px) {
	.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
	.cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
	.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.post-card {
	background: var(--bg-card); border: 1px solid var(--border);
	border-radius: var(--radius); overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.post-card__cat {
	align-self: flex-start; font-size: .72rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .04em;
	color: #fff; background: var(--accent);
	padding: .25rem .7rem; border-radius: 100px;
}
.post-card__cat:hover { text-decoration: none; filter: brightness(1.08); }
.post-card__title { font-size: 1.12rem; margin: 0; }
.post-card__title a { color: var(--text); }
.post-card__title a:hover { color: var(--accent); text-decoration: none; }
.post-card__excerpt { color: var(--text-soft); font-size: .92rem; margin: 0; }
.post-card__meta { color: var(--text-soft); font-size: .8rem; display: flex; gap: .4rem; margin-top: auto; padding-top: .3rem; }

/* =========================================================
   8. Ana sayfa: hero + kategoriler
   ========================================================= */
.hero {
	text-align: center; padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
	background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--accent) 10%, var(--bg)) 0%, var(--bg) 60%);
}
.hero__title { margin: 0 0 .4rem; }
.hero__subtitle { color: var(--text-soft); font-size: 1.1rem; max-width: 620px; margin: 0 auto 1.5rem; }
.hero__search { max-width: 560px; margin: 0 auto; }

.home-categories { padding: clamp(2rem, 5vw, 3rem) 0; }
.category-grid {
	display: grid; gap: 1.2rem;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }

/* Zarif giriş animasyonu (kademeli) — hareket azaltma tercihinde kapalı */
@media (prefers-reduced-motion: no-preference) {
	.category-card { opacity: 0; transform: translateY(14px); animation: detoxtr-rise .6s ease forwards; }
	.category-card:nth-child(2) { animation-delay: .06s; }
	.category-card:nth-child(3) { animation-delay: .12s; }
	.category-card:nth-child(4) { animation-delay: .18s; }
	.category-card:nth-child(5) { animation-delay: .24s; }
	.category-card:nth-child(6) { animation-delay: .3s; }
}
@keyframes detoxtr-rise { to { opacity: 1; transform: translateY(0); } }

.category-card {
	position: relative; display: block; border-radius: var(--radius);
	overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow);
	background: var(--bg-soft);
	border-bottom: 4px solid var(--cat-color, var(--accent));
	transition: transform .25s, box-shadow .25s;
}
.category-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.category-card__media { position: absolute; inset: 0; }
.category-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.category-card:hover .category-card__media img { transform: scale(1.06); }
/* Görsel yoksa: kategori rengiyle boyalı gradyan kapak + büyük harf filigranı */
.category-card__cover {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background:
		radial-gradient(120% 120% at 15% 15%, rgba(255,255,255,.22), transparent 45%),
		linear-gradient(135deg, var(--cat-color, var(--accent)), color-mix(in srgb, var(--cat-color, var(--accent)) 55%, #000));
}
.category-card__initial {
	font-family: Georgia, serif; font-weight: 700; font-size: 5rem; line-height: 1;
	color: rgba(255,255,255,.28);
}
.category-card__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.12) 55%, transparent 100%);
}
.category-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; color: #fff; }
.category-card__title { color: #fff; margin: 0; font-size: 1.15rem; }
.category-card__count {
	font-size: .72rem; font-weight: 700; opacity: .95;
	display: inline-block; margin-top: .3rem; padding: .15rem .55rem; border-radius: 100px;
	background: var(--cat-color, rgba(255,255,255,.2));
}

.home-latest { padding-bottom: 3rem; }

/* ---- Üst bilgi çubuğu ---- */
.topbar {
	background: var(--accent); color: var(--on-accent);
	font-size: .82rem;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar-contact { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.topbar-contact a { color: var(--on-accent); display: inline-flex; align-items: center; gap: .4rem; }
.topbar-contact a:hover { text-decoration: underline; }
.topbar-note { opacity: .85; }
@media (max-width: 640px) { .topbar-note { display: none; } }

/* ---- Güven çubuğu ---- */
.trust-bar { border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.trust-grid {
	display: grid; gap: 1rem; padding: 1.4rem 0;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: .8rem; }
.trust-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
	background: var(--bg-card); border: 1px solid var(--border); color: var(--accent);
}
.trust-text { display: flex; flex-direction: column; line-height: 1.3; }
.trust-text strong { font-size: .95rem; }
.trust-text span { font-size: .8rem; color: var(--text-soft); }


/* =========================================================
   9. Tek yazı
   ========================================================= */
.single-post { min-width: 0; }
.single-header { margin-bottom: 1.2rem; }
.single-cat {
	display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase;
	letter-spacing: .04em; color: #fff; background: var(--accent);
	padding: .28rem .8rem; border-radius: 100px; margin-bottom: .8rem;
}
.single-cat:hover { text-decoration: none; filter: brightness(1.08); }
.single-title { margin: 0 0 1rem; }
.single-meta { display: flex; align-items: center; gap: .7rem; }
.single-meta img { border-radius: 50%; }
.single-author { color: var(--text); font-weight: 600; }
.single-sub { display: block; color: var(--text-soft); font-size: .85rem; }
.single-thumb { margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; }
.single-thumb__img { width: 100%; }
.single-thumb figcaption { font-size: .8rem; color: var(--text-soft); padding: .5rem 0; text-align: center; }

.single-content { font-size: 1.06rem; }
.single-content h2 { margin-top: 2rem; }
.single-content h3 { margin-top: 1.5rem; }
.single-content img { border-radius: var(--radius-sm); margin: 1.5rem auto; }
.single-content ul, .single-content ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.single-content li { margin-bottom: .4rem; }
.single-content blockquote {
	margin: 1.5rem 0; padding: .8rem 1.2rem; border-left: 4px solid var(--accent);
	background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: var(--text-soft); font-style: italic;
}
.single-content a { text-decoration: underline; text-underline-offset: 2px; }
.single-content pre {
	background: var(--bg-soft); padding: 1rem; border-radius: var(--radius-sm);
	overflow-x: auto; border: 1px solid var(--border);
}
.single-content :where(figure, iframe, .wp-block-embed) { max-width: 100%; }

/* Gutenberg "Ayrıntılar" (FAQ) */
.single-content details {
	border: 1px solid var(--border); border-radius: var(--radius-sm);
	padding: .3rem 1rem; margin-bottom: .8rem; background: var(--bg-card);
}
.single-content summary { cursor: pointer; font-weight: 600; padding: .6rem 0; }

.wp-block-image, figure.aligncenter { text-align: center; }
.alignwide { width: min(100%, 1000px); margin-inline: auto; }
.alignfull { width: 100%; }

.single-tags { margin: 1.5rem 0; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.tag-list a {
	font-size: .82rem; padding: .3rem .8rem; border-radius: 100px;
	background: var(--bg-soft); color: var(--text-soft); border: 1px solid var(--border);
}
.tag-list a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

/* =========================================================
   10. Yazar kutusu / iç linkler / benzer
   ========================================================= */
.author-box {
	display: flex; gap: 1.2rem; align-items: flex-start;
	background: var(--bg-soft); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 1.4rem; margin: 2rem 0;
}
.author-box__avatar img { border-radius: 50%; }
.author-box__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-soft); }
.author-box__name { margin: .1rem 0 .4rem; font-size: 1.15rem; }
.author-box__name a { color: var(--text); }
.author-box__bio { color: var(--text-soft); font-size: .92rem; margin: 0 0 .6rem; }
.author-box__all { font-weight: 600; font-size: .9rem; }

.internal-links {
	background: var(--bg-card); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 1.4rem; margin: 2rem 0;
}
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.link-list li { padding-left: 1.3rem; position: relative; }
.link-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.link-list a { color: var(--text); }
.link-list a:hover { color: var(--accent); }

.related-posts { margin: 2.5rem 0 1rem; }

/* =========================================================
   11. Arşiv / arama hero
   ========================================================= */
.archive-hero { padding: 2rem 0 1rem; }
.archive-hero--image {
	position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0; color: #fff; text-align: center;
	background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), var(--hero-img);
	background-size: cover; background-position: center;
}
.archive-hero--image .archive-title, .archive-hero--image .archive-desc { color: #fff; }
.archive-title { margin: 0 0 .5rem; }
.archive-title span { color: var(--accent); }

/* Kategori arşivi: kategori rengini yansıtan hero */
.archive-hero--cat:not(.archive-hero--image) {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, var(--bg)), var(--bg));
	border-bottom: 3px solid var(--accent);
	padding-top: 2.5rem;
}
.archive-hero--cat:not(.archive-hero--image) .archive-title { color: var(--accent); }
.archive-desc { color: var(--text-soft); max-width: 680px; }
.archive-search { max-width: 480px; margin-top: 1rem; }

/* =========================================================
   12. Sidebar / widget
   ========================================================= */
.widget {
	background: var(--bg-card); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 1.2rem;
}
.widget-ad { padding: 0; border: none; background: transparent; }
.widget-title { font-size: 1rem; margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--accent); display: inline-block; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: .4rem 0; border-bottom: 1px solid var(--border); }
.widget li:last-child { border-bottom: none; }
.widget a { color: var(--text); }
.widget a:hover { color: var(--accent); }

.popular-list li { display: flex; gap: .7rem; align-items: center; }
.popular-list img { width: 60px; height: 46px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.popular-list span { font-size: .9rem; font-weight: 500; }

/* =========================================================
   13. Formlar / arama
   ========================================================= */
.search-form { display: flex; gap: .5rem; }
.search-field {
	flex: 1; padding: .7rem 1rem; border: 1px solid var(--border);
	border-radius: 100px; background: var(--bg); color: var(--text); font-size: .95rem;
}
.search-field:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.search-submit {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; border: none; background: var(--accent); color: var(--on-accent);
	border-radius: 50%; cursor: pointer; flex: 0 0 auto;
}
.search-submit:hover { background: var(--accent-hover); }

/* =========================================================
   14. Sayfalama
   ========================================================= */
.pagination { margin: 2.5rem 0 1rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 .6rem;
	border: 1px solid var(--border); border-radius: var(--radius-sm);
	color: var(--text); font-weight: 500;
}
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.pagination .page-numbers.current { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* =========================================================
   15. Yorumlar
   ========================================================= */
.comments-area { margin-top: 2.5rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list ol { list-style: none; }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: .7rem 1rem; border: 1px solid var(--border);
	border-radius: var(--radius-sm); background: var(--bg); color: var(--text);
}
.comment-form p { margin-bottom: 1rem; }

/* =========================================================
   16. Footer
   ========================================================= */
.site-footer {
	background: var(--bg-soft); border-top: 1px solid var(--border);
	margin-top: 3rem; padding: 2.5rem 0 1.5rem;
}
.footer-widgets {
	display: grid; gap: 2rem; margin-bottom: 2rem;
	grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-widgets { grid-template-columns: repeat(3, 1fr); } }
.footer-widgets .widget { background: transparent; border: none; padding: 0; }

.footer-bottom {
	display: flex; flex-direction: column; gap: 1.2rem;
	padding-top: 1.5rem; border-top: 1px solid var(--border);
}
@media (min-width: 760px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-desc { color: var(--text-soft); font-size: .9rem; margin: .4rem 0 0; }
.footer-company { display: flex; flex-direction: column; gap: .15rem; margin-top: .8rem; font-style: normal; font-size: .85rem; color: var(--text-soft); }
.footer-company__name { font-weight: 600; color: var(--text); }
.footer-company a { color: var(--text-soft); }
.footer-company a:hover { color: var(--accent); }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; padding: 0; margin: 0; }
.footer-menu a { color: var(--text-soft); font-size: .9rem; }
.footer-menu a:hover { color: var(--accent); }
.footer-copy { text-align: center; color: var(--text-soft); font-size: .85rem; margin-top: 1.5rem; }

/* =========================================================
   17. 404 / no-results
   ========================================================= */
.error-404 { text-align: center; padding: 2rem 0; }
.error-404__code { font-size: clamp(4rem, 15vw, 8rem); color: var(--accent); margin: 0; line-height: 1; }
.error-404__search, .error-404 .btn { max-width: 480px; margin: 1.5rem auto; }
.error-404__recent { margin-top: 3rem; text-align: left; }
.no-results { text-align: center; padding: 2rem; background: var(--bg-soft); border-radius: var(--radius); }

/* =========================================================
   18. Yukarı çık
   ========================================================= */
.back-to-top {
	position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
	width: 46px; height: 46px; border-radius: 50%; border: none;
	background: var(--accent); color: var(--on-accent); cursor: pointer;
	box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
	opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); }
.back-to-top[hidden] { display: none; }

/* =========================================================
   19. Erişilebilirlik / hareket
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
