/* İç sayfalar (Faz 5): ürün detayı, yasal sayfalar, 404. products-page.css'in üstüne (sayfa başı, crumbs,
   özellik tablosu, ürün görsel kutusu, çekmece oradan gelir). Renkler: beyaz, açık gri, kırmızı yalnızca vurgu. */

/* ---------- Ürün detayı (/urunler/<slug>) ---------- */
.pd { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 104px); }
.pd-grid { display: grid; gap: 32px; margin-top: clamp(20px, 3vw, 32px); }
@media (min-width: 1024px) {
  .pd-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .pd-gallery { position: sticky; top: calc(var(--header-h-compact) + 24px); }
  .pd-media { --pad: 44px; }
}
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb { flex: 0 0 auto; width: 72px; height: 72px; padding: 6px; border-radius: 14px; background: var(--gray-50); border: 1px solid var(--gray-100); transition: border-color .25s, box-shadow .25s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.pd-thumb:hover { border-color: var(--gray-300); }
.pd-thumb[aria-pressed="true"] { border-color: var(--brand-red); box-shadow: inset 0 0 0 1px var(--brand-red); }
.pd-title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; letter-spacing: -0.028em; font-weight: 600; overflow-wrap: anywhere; }
.pd-actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .pd-actions { flex-direction: row; flex-wrap: wrap; } }
.crumbs span[aria-current] { overflow-wrap: anywhere; }

/* ---------- Yasal sayfalar ---------- */
.legal-head { padding-bottom: clamp(36px, 5vw, 64px); }
.legal { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(72px, 9vw, 120px); }
.legal-body { max-width: 760px; }
.legal-body > :first-child { margin-top: 0; }

/* ---------- 404 ---------- */
.nf { display: grid; place-items: center; min-height: calc(100svh - var(--header-h) - 120px); padding-block: clamp(56px, 9vw, 120px); text-align: center; }
.nf-inner { max-width: 640px; }
.nf-inner > p { margin-inline: auto; }   /* site.css paragraflara ch tabanlı max-width verir: ortala */
.nf-actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .nf-actions { flex-direction: row; justify-content: center; } }

/* ---------- Blog (2026-11-27): /blog listesi ve /blog/<slug> yazısı ---------- */
.blog { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(72px, 9vw, 120px); }
.blog-empty { max-width: 560px; }
.blog-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-card { display: flex; flex-direction: column; }
.blog-card-media { display: block; aspect-ratio: 16 / 9; background: var(--gray-50); border-bottom: 1px solid var(--gray-100); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px; }
.blog-card-link { overflow-wrap: anywhere; }
.blog-card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }   /* kartın tamamı tıklanır */
.blog-card .link-arrow { margin-top: auto; padding-top: 12px; }

.post { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(72px, 9vw, 120px); }
.post-head, .post-body, .post-related, .post-cta { max-width: 760px; }
.post-preview { margin-top: 20px; padding: 12px 16px; border-radius: 14px; background: var(--gray-50); border: 1px solid var(--gray-100); font-size: 15px; }
.post-preview a { font-weight: 600; color: var(--brand-red); text-decoration: underline; text-underline-offset: 2px; }
.post-cover { max-width: 960px; margin-top: clamp(24px, 3vw, 36px); border-radius: 20px; overflow: hidden; background: var(--gray-50); }
.post-cover img { width: 100%; height: auto; }
.post-body { margin-top: clamp(28px, 4vw, 44px); font-size: 1.0625rem; line-height: 1.75; color: var(--text); overflow-wrap: anywhere; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { margin-top: 1.9em; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.post-body h3 { margin-top: 1.6em; font-size: 1.1875rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 600; }
.post-body h2 + *, .post-body h3 + * { margin-top: .6em; }
.post-body p, .post-body li { color: var(--text-muted); }
.post-body strong { color: var(--text); font-weight: 600; }
.post-body ul, .post-body ol { padding-left: 1.4rem; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: .4em; }
.post-body li::marker { color: var(--gray-300); }
.post-body ol li::marker { color: var(--text-muted); }
.post-body a { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--brand-red); text-underline-offset: 3px; transition: color .25s; }
.post-body a:hover { color: var(--brand-red); }
.post-body blockquote { padding-left: 20px; border-left: 2px solid var(--brand-red); }
.post-body blockquote p { color: var(--text); }
.post-body hr { border: 0; border-top: 1px solid var(--gray-100); margin-block: 2em; }
.post-body .post-figure { margin-block: 1.6em; border-radius: 16px; overflow: hidden; background: var(--gray-50); }
.post-body .post-figure img { width: 100%; height: auto; }
.post-related { margin-top: clamp(40px, 5vw, 56px); }
.post-related-list { display: flex; flex-wrap: wrap; gap: 10px; }
.post-cta { margin-top: clamp(32px, 4vw, 48px); padding: 24px; }
