/* ==========================================================================
   Müşteri siteleri (CMS). Renk/yazı tipi/köşe değerleri tema değişkenlerinden gelir:
   sayfa <head>'indeki <style> bloğu --bg, --accent, --font-body… değerlerini temaya göre tanımlar.
   ========================================================================== */
:root {
  --bg: #09090b; --surface: #111113; --surface-2: #18181b; --border: #27272a;
  --text: #fafafa; --muted: #a1a1aa; --accent: #fafafa; --accent-fg: #0a0a0a;
  --contrast-bg: #fafafa; --contrast-fg: #09090b;
  --radius: 12px;
  --font-body: 'Inter', system-ui, sans-serif; --font-heading: 'Inter', system-ui, sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* Kenarlık ve hover tonları metin renginden türetilir → açık ve koyu temada aynı CSS çalışır */
  --line: color-mix(in srgb, var(--text) 12%, transparent);
  --line-strong: color-mix(in srgb, var(--text) 22%, transparent);
  --hover: color-mix(in srgb, var(--text) 6%, transparent);
  --r-sm: calc(var(--radius) * .6);
  --r-lg: calc(var(--radius) * 1.4);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--font-heading); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0; }
[hidden] { display: none !important; }
.icon { width: 18px; height: 18px; flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.pre { white-space: pre-line; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--r-sm); border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), background .15s, border-color .15s, opacity .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { opacity: .9; }
.btn-secondary { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-secondary:hover { background: var(--hover); }
.btn-ghost { color: var(--text); background: transparent; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.btn-whatsapp { background: #25d366; color: #06290f; }
.btn-whatsapp:hover { background: #20bd5a; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.justify-center { justify-content: center; }
.btn-row.justify-right { justify-content: flex-end; }
.btn-row.is-stacked { flex-direction: column; }
.btn-row.is-stacked .btn { width: 100%; }

/* ---------- Duyuru + header ---------- */
.announcement { background: var(--accent); color: var(--accent-fg); text-align: center; font-size: 14px; font-weight: 500; padding: 9px 16px; }
.announcement a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.announcement .icon { width: 15px; height: 15px; }

.site-header { position: relative; z-index: 30; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header.is-sticky { position: sticky; top: 0; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.site-brand img { height: 40px; width: auto; max-width: 160px; object-fit: contain; border-radius: var(--r-sm); }
.brand-initial { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--accent); color: var(--accent-fg); font: 700 18px var(--font-heading); }
.brand-title { font: 700 18px var(--font-heading); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { padding: 8px 12px; border-radius: var(--r-sm); color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s, background .15s; }
.site-nav a:hover { color: var(--text); background: var(--hover); }
.site-nav a.is-active { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav + .header-actions { margin-left: 8px; }
.nav-toggle { display: none; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: transparent; color: var(--text); cursor: pointer; }
/* Logo ortada: üç sütunlu ızgara (menü | logo | butonlar) */
.header-center .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.header-center .site-brand { grid-column: 2; grid-row: 1; justify-self: center; }
.header-center .site-nav { grid-column: 1; grid-row: 1; margin: 0; }
.header-center .header-actions { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; }

/* ---------- Bloklar: ortak bölüm stilleri ---------- */
.block { position: relative; }
.sp-none { padding: 0; } .sp-sm { padding: 40px 0; } .sp-md { padding: 72px 0; } .sp-lg { padding: 112px 0; }
.bg-alt { background: var(--surface); }
.bg-accent { background: var(--accent); color: var(--accent-fg); --muted: color-mix(in srgb, var(--accent-fg) 75%, transparent); --line: color-mix(in srgb, var(--accent-fg) 18%, transparent); --line-strong: color-mix(in srgb, var(--accent-fg) 35%, transparent); --hover: color-mix(in srgb, var(--accent-fg) 10%, transparent); --text: var(--accent-fg); }
.bg-accent .btn-primary { background: var(--accent-fg); color: var(--accent); }
.bg-contrast { background: var(--contrast-bg); color: var(--contrast-fg); --text: var(--contrast-fg); --muted: color-mix(in srgb, var(--contrast-fg) 65%, transparent); --line: color-mix(in srgb, var(--contrast-fg) 14%, transparent); --line-strong: color-mix(in srgb, var(--contrast-fg) 28%, transparent); --hover: color-mix(in srgb, var(--contrast-fg) 7%, transparent); --surface: color-mix(in srgb, var(--contrast-fg) 5%, var(--contrast-bg)); --surface-2: color-mix(in srgb, var(--contrast-fg) 9%, var(--contrast-bg)); }

.section-head { margin-bottom: 36px; max-width: 680px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 12px; }
.section-title.center, .section-title.align-center { text-align: center; }
.section-title.align-right { text-align: right; }
.section-sub { color: var(--muted); font-size: 17px; }
.eyebrow { display: inline-block; margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.align-center { text-align: center; }
.align-center .btn-row { justify-content: center; }

/* Kapak (hero) */
.b-hero { display: flex; align-items: center; overflow: hidden; }
.b-hero.h-sm { min-height: 280px; } .b-hero.h-md { min-height: 440px; } .b-hero.h-lg { min-height: 620px; } .b-hero.h-full { min-height: calc(100svh - 68px); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: #000; }
.b-hero.has-image { color: #fff; --muted: rgba(255, 255, 255, .8); }
.b-hero.has-image .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero-inner { position: relative; }
/* Görselsiz kapak düz kalmasın: vurgu renginden hafif ışık + ince ızgara deseni */
.b-hero:not(.has-image)::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 85% 10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
              linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
              linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(80% 90% at 70% 20%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(80% 90% at 70% 20%, #000 30%, transparent 85%); }
.b-hero h1 { font-size: clamp(34px, 5.6vw, 64px); max-width: 860px; letter-spacing: -.035em; }
.b-hero.align-center h1, .b-hero.align-center .lead { margin-left: auto; margin-right: auto; }
.lead { margin-top: 20px; max-width: 640px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.b-hero .btn-row { margin-top: 32px; }

/* Metin */
.prose { font-size: 17px; color: color-mix(in srgb, var(--text) 85%, transparent); }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.b-text .section-title + .prose { margin-top: 4px; }

/* Görsel */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--r-lg); }
.figure.is-full img { border-radius: 0; }
.figure figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }

/* Galeri */
.gallery-grid { display: grid; gap: 12px; }
.cols-2 { --cols: 2; } .cols-3 { --cols: 3; } .cols-4 { --cols: 4; } .cols-5 { --cols: 5; }
.gallery-grid, .product-grid, .feature-grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.gallery-tile { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); cursor: zoom-in; aspect-ratio: 1; }
.ratio-landscape .gallery-tile, .ratio-landscape .product-media { aspect-ratio: 4 / 3; }
.ratio-portrait .gallery-tile, .ratio-portrait .product-media { aspect-ratio: 3 / 4; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: 14px; text-align: left; }

/* Ürün kataloğu */
.catalog-toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.search { position: relative; flex: 0 1 300px; }
.search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 44px; padding: 0 14px 0 40px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font: inherit; font-size: 15px; outline: none; }
.search input:focus { border-color: var(--text); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 38px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--muted); font: 500 14px var(--font-body); white-space: nowrap; cursor: pointer; transition: all .15s; }
.chip:hover { color: var(--text); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.product-grid { display: grid; gap: 18px; }
.product { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-align: left; font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s; }
.product:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .35); }
.product-media { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: var(--surface-2); color: var(--muted); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product:hover .product-media img { transform: scale(1.04); }
.media-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; font-weight: 600; }
.media-count .icon { width: 13px; height: 13px; }
.product-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.product-cat { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.product-name { font-weight: 600; line-height: 1.35; }
.product-price { margin-top: 6px; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.product-price.ask { font-size: 14px; font-weight: 500; color: var(--muted); }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 20px; color: var(--muted); text-align: center; }
.empty-state .icon { width: 28px; height: 28px; }
.empty-page { text-align: center; color: var(--muted); }

/* Özellikler */
.feature-grid { display: grid; gap: 16px; }
.feature { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.bg-alt .feature { background: var(--bg); }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px; border-radius: var(--r-sm); background: var(--accent); color: var(--accent-fg); }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Duyuru / CTA bandı */
.b-banner { overflow: hidden; }
.banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.b-banner.has-image { color: #fff; --muted: rgba(255, 255, 255, .85); }
.banner-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.banner-inner.layout-center { flex-direction: column; text-align: center; }
.banner-text h2 { font-size: clamp(24px, 3vw, 34px); }
.banner-text p { margin-top: 10px; color: var(--muted); font-size: 17px; max-width: 620px; }
.layout-center .banner-text p { margin-left: auto; margin-right: auto; }

/* İletişim */
.contact { display: grid; gap: 48px; }
.contact.has-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.contact-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list small { display: block; font-size: 13px; color: var(--muted); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.contact-map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface-2); }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* SSS */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .prose { padding: 0 20px 20px; font-size: 16px; color: var(--muted); }

/* Sosyal medya */
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-row.justify-center { justify-content: center; }
.social-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 500; transition: background .15s, border-color .15s; }
.social-link:hover { background: var(--hover); border-color: var(--text); }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.video.is-vertical { aspect-ratio: 9 / 16; max-width: 360px; margin: 0 auto; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumb { width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
.video-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 54px; display: grid; place-items: center; border: 0; border-radius: 16px; background: rgba(0, 0, 0, .7); color: #fff; cursor: pointer; transition: background .15s, transform .15s var(--ease); }
.video-play .icon { width: 26px; height: 26px; }
.video:hover .video-play { background: #ff0033; transform: scale(1.06); }
.video:hover .video-thumb { filter: brightness(.85); }
.video.is-playing .video-thumb, .video.is-playing .video-play { visibility: hidden; }
/* Gömme kapalı video: kapak karartılır, üstünde mesaj + YouTube butonu */
.video.is-blocked .video-play { display: none; }
.video.is-blocked .video-thumb { filter: brightness(.35) blur(2px); }
.video-blocked { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; color: #fff; font-weight: 500; }

/* ---------- Müşteri yorumları ---------- */
.testimonial-grid { display: grid; gap: 16px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.testimonial { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.bg-alt .testimonial { background: var(--bg); }
.testimonial blockquote { margin: 0; flex: 1; font-size: 16px; line-height: 1.65; white-space: pre-line; }
.testimonial blockquote::before { content: '“'; }
.testimonial blockquote::after { content: '”'; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption strong { display: block; font-size: 15px; }
.testimonial figcaption small { color: var(--muted); font-size: 13px; }
.avatar { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; object-fit: cover; background: var(--accent); color: var(--accent-fg); font-weight: 700; }
.stars { display: flex; gap: 2px; color: var(--line-strong); }
.stars .icon { width: 17px; height: 17px; }
.stars .is-on { color: #f5b301; }
.stars .is-on .icon { fill: currentColor; }

/* ---------- Rakamlar ---------- */
.stats-grid { display: grid; gap: 16px; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); }
.stat strong { font: 800 clamp(34px, 4.5vw, 52px)/1 var(--font-heading); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--accent); }
.bg-accent .stat strong { color: inherit; }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- Katalog sıralama ---------- */
.sort { position: relative; display: inline-flex; align-items: center; }
.sort .icon { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.sort select { appearance: none; min-height: 44px; padding: 0 16px 0 36px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font: 500 15px var(--font-body); cursor: pointer; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.caption { margin-top: 12px; text-align: center; color: var(--muted); font-size: 14px; }

/* Boşluk */
.spacer-sm { height: 24px; } .spacer-md { height: 56px; } .spacer-lg { height: 104px; }
.b-spacer { display: flex; align-items: center; }
.divider { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 0; background: var(--surface); font-size: 15px; }
/* Kolon sayısı sunucuda hesaplanır (boş sütun basılmaz): marka sütunu diğerlerinden geniş */
.footer-grid { display: grid; gap: 40px 56px; grid-template-columns: minmax(0, 1fr); }
.footer-cols-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.footer-cols-3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.1fr); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; border-radius: var(--r-sm); }
.footer-logo strong { font: 700 19px/1.2 var(--font-heading); letter-spacing: -.02em; }
.footer-about { max-width: 380px; color: var(--muted); white-space: pre-line; }
.footer-title { margin-bottom: 16px; font: 600 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text); text-decoration: none; opacity: .85; transition: opacity .15s; }
.footer-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--muted); }
/* Uzun e-posta/adres dar ekranda taşmasın */
.footer-contact a, .footer-contact span { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 56px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text); transition: background .15s, border-color .15s, color .15s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-top { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; }
.footer-top:hover { color: var(--text); }
.footer-top .icon { width: 14px; height: 14px; }

.float-wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #06290f; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s var(--ease); }
.float-wa:hover { transform: scale(1.06); }
.float-wa .icon { width: 26px; height: 26px; }

/* ---------- Ürün / galeri görüntüleyici (modal) ---------- */
.modal { width: min(920px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; display: none; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
.modal[open] { display: grid; animation: modal-in .25s var(--ease); }
.modal::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); }
.modal.is-lightbox { grid-template-columns: 1fr; width: min(1100px, calc(100% - 32px)); }
.modal.is-lightbox .modal-body { display: none; }
.modal.no-media { grid-template-columns: 1fr; width: min(520px, calc(100% - 32px)); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; }
.modal-media { display: flex; flex-direction: column; min-width: 0; background: var(--bg); }
.gallery-main { position: relative; aspect-ratio: 1; max-height: calc(100vh - 140px); overflow: hidden; background: var(--surface-2); user-select: none; }
.is-lightbox .gallery-main { aspect-ratio: 16 / 10; }
/* Yatay kaydırmalı şerit: her slayt tam genişlik, scroll-snap ile tek fotoğrafa oturur */
.gallery-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.gallery-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; opacity: 0; transition: opacity .2s; }
.gallery-main:hover .gallery-nav, .gallery-nav:focus-visible { opacity: 1; }
.gallery-nav.prev { left: 12px; } .gallery-nav.next { right: 12px; }
.gallery-counter { position: absolute; left: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; font-weight: 600; }
.gallery-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery-thumbs button { flex: none; width: 56px; height: 56px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: var(--r-sm); background: var(--surface-2); cursor: pointer; opacity: .55; transition: opacity .15s, border-color .15s; }
.gallery-thumbs button.is-active { opacity: 1; border-color: var(--text); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal-media.is-single .gallery-nav, .modal-media.is-single .gallery-counter, .modal-media.is-single .gallery-thumbs { display: none; }
.modal-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 36px 32px; overflow-y: auto; }
.modal-body .eyebrow { margin: 0; }
.modal-body h2 { font-size: 26px; padding-right: 32px; }
.modal-price { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.modal-desc { margin: 6px 0 14px; color: var(--muted); white-space: pre-line; }
.modal-desc:empty { display: none; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- Önizleme modu (panel editöründeki iframe): yerinde düzenleme ipuçları ---------- */
.is-preview [data-block] { outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .15s; }
.is-preview [data-block]:hover { outline-color: color-mix(in srgb, #3b82f6 55%, transparent); }
.is-preview [data-block].is-focused { outline-color: #3b82f6; }
.is-preview [data-edit-mode=text], .is-preview [data-edit-mode=multiline] { cursor: text; border-radius: 4px; transition: box-shadow .15s, background .15s; }
.is-preview [data-edit-mode=text]:hover, .is-preview [data-edit-mode=multiline]:hover { box-shadow: 0 0 0 2px color-mix(in srgb, #3b82f6 60%, transparent); background: color-mix(in srgb, #3b82f6 8%, transparent); }
.is-preview [data-edit].is-editing { box-shadow: 0 0 0 2px #3b82f6; background: color-mix(in srgb, #3b82f6 10%, transparent); outline: none; }
.is-preview [data-edit-mode=image], .is-preview [data-edit-mode=field] { cursor: pointer; }
.is-preview img[data-edit-mode=image]:hover, .is-preview .gallery-tile[data-edit-mode=image]:hover { filter: brightness(.8); }
.is-preview .hero-overlay, .is-preview .banner-overlay { pointer-events: none; }
.is-preview .product { cursor: default; }
.edit-pill { position: absolute; top: 10px; right: 10px; z-index: 5; display: none; padding: 6px 12px; border: 0; border-radius: 999px; background: #3b82f6; color: #fff; font: 600 13px var(--font-body); cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.is-preview [data-block]:hover > .edit-pill { display: block; }

/* ==========================================================================
   B2B katalog: ürün kartı aksiyonları, katalog/filtre, ürün detayı, karşılaştırma,
   teklif listesi, ürün bulucu, markalar, projeler. Hepsi tema değişkenlerini kullanır.
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--accent); color: var(--accent-fg); font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; max-width: none; }
.muted { color: var(--muted); }
.card-box { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card-box h2 { font-size: 20px; margin-bottom: 18px; }
.btn-block { width: 100%; }
.btn-square { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: transparent; color: var(--muted); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-square:hover { color: var(--text); background: var(--hover); }
.btn-square[aria-pressed="true"], [data-compare][aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }

/* Ürün kartı: link (görsel+bilgi) + alt aksiyonlar. Kart artık <article>, tıklanabilir alan içteki <a> */
.product { cursor: default; }
.product-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.product-short { color: var(--muted); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-size: 12px; font-weight: 600; }
.product-actions { display: flex; gap: 8px; padding: 0 16px 16px; margin-top: auto; }
.product-actions .btn { flex: 1; min-width: 0; }
.product-actions .btn .icon { width: 16px; height: 16px; }

/* Header: teklif listesi ikonu + sayaç */
.quote-link { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); color: var(--text); }
.quote-link:hover { background: var(--hover); }
.quote-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-size: 12px; font-weight: 700; }

/* Sayfa başlığı + breadcrumb */
.page-hero { padding: 40px 0 28px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 8px; }
.page-hero-compact { padding: 18px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.page-hero-compact .breadcrumb ol { margin: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text); }

/* Katalog: filtre kenar çubuğu + liste */
.catalog-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.catalog-filters { position: sticky; top: 88px; }
.filter-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.filter-box summary { display: flex; align-items: center; gap: 8px; padding: 16px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.filter-box summary::-webkit-details-marker { display: none; }
.filter-form { display: flex; flex-direction: column; gap: 18px; padding: 0 18px 18px; }
.filter-form .search { flex: none; }
.filter-form fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 6px; }
.filter-form legend, .field-label { margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.radio { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 15px; cursor: pointer; }
.radio input { accent-color: var(--accent); width: 16px; height: 16px; }
.radio .count { margin-left: auto; color: var(--muted); font-size: 13px; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input, .finder-count { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font: inherit; }
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination a, .pagination-gap { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-size: 15px; }
.pagination a:hover { background: var(--hover); }
.pagination a.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); font-weight: 600; }
.pagination-gap { border: 0; color: var(--muted); }

/* Ürün detayı */
.product-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.pd-main { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--muted); cursor: zoom-in; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.pd-thumbs button { width: 76px; height: 76px; flex: none; padding: 0; overflow: hidden; background: #fff; border: 2px solid transparent; border-radius: var(--r-sm); cursor: pointer; opacity: .7; }
.pd-thumbs button.is-active, .pd-thumbs button:hover { border-color: var(--accent); opacity: 1; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info { display: flex; flex-direction: column; gap: 16px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-meta a { padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; letter-spacing: .03em; }
.pd-meta a:hover { color: var(--text); }
.pd-info h1 { font-size: clamp(28px, 3.4vw, 40px); }
.pd-short { color: var(--muted); font-size: 17px; }
.pd-price { font: 700 28px var(--font-heading); font-variant-numeric: tabular-nums; }
.pd-actions, .pd-actions-2 { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-actions .btn-lg { flex: 1; }
.pd-actions-2 .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; }
.qty button { width: 42px; height: 100%; display: grid; place-items: center; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.qty button:hover { background: var(--hover); }
.qty input { width: 56px; height: 100%; border: 0; background: transparent; color: var(--text); font: 600 16px var(--font-body); text-align: center; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm { height: 38px; }
.qty.sm button { width: 34px; }
.qty.sm input { width: 46px; font-size: 15px; }
.pd-facts { list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.pd-facts li { display: flex; gap: 12px; align-items: flex-start; }
.pd-facts .icon { margin-top: 2px; color: var(--accent); }
.pd-facts strong { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.pd-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; }
.pd-section h2 { font-size: 22px; margin-bottom: 16px; }
.pd-section h3 { font-size: 16px; margin: 20px 0 10px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table th { width: 40%; color: var(--muted); font-weight: 500; }
.spec-table tr:nth-child(odd) { background: var(--surface); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tag-list li { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: 14px; }
.prose.pre { white-space: pre-line; color: var(--text); opacity: .9; }

/* Karşılaştırma: mobilde yatay kaydırma, ilk sütun sabit */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare-table { width: 100%; min-width: calc(160px + var(--n) * 200px); border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table tbody th { position: sticky; left: 0; z-index: 1; width: 160px; background: var(--surface); color: var(--muted); font-weight: 500; }
.compare-table thead th { background: var(--surface); vertical-align: bottom; }
.compare-table thead th:first-child { position: sticky; left: 0; z-index: 2; }
.compare-table tr.is-diff td { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.compare-product { display: flex; flex-direction: column; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.compare-media { width: 120px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: #fff; border-radius: var(--r-sm); color: var(--muted); }
.compare-media img { width: 100%; height: 100%; object-fit: contain; }
.compare-bar { position: fixed; left: 50%; bottom: 20px; z-index: 45; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 999px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); white-space: nowrap; }
.compare-bar > span { display: inline-flex; align-items: center; gap: 8px; }
.toast { position: fixed; left: 50%; top: 84px; z-index: 60; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: var(--r-sm); background: var(--text); color: var(--bg); font-weight: 500; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.toast a { color: inherit; font-weight: 700; }

/* Teklif listesi */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.quote-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.quote-row:last-child { border-bottom: 0; }
.quote-thumb { width: 72px; height: 72px; display: grid; place-items: center; overflow: hidden; background: #fff; border-radius: var(--r-sm); color: var(--muted); }
.quote-thumb img { width: 100%; height: 100%; object-fit: contain; }
.quote-name { font-weight: 600; color: var(--text); text-decoration: none; }
.quote-info { display: block; color: var(--muted); font-size: 13px; }
.quote-form { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.form-field input, .form-field textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font: 16px var(--font-body); }
.form-field input:focus, .form-field textarea:focus, .price-range input:focus { border-color: var(--accent); outline: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-errors { padding: 12px 16px; border-radius: var(--r-sm); background: color-mix(in srgb, #ef4444 14%, transparent); border: 1px solid color-mix(in srgb, #ef4444 40%, transparent); font-size: 14px; }
.hint { color: var(--muted); font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.center-box { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.done-icon { color: #22c55e; }
.done-icon .icon { width: 56px; height: 56px; }
.justify-center { justify-content: center; }

/* Ürün bulucu */
.finder { display: flex; flex-direction: column; gap: 22px; max-width: 900px; }
.finder-q { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.finder-q legend { display: flex; align-items: center; gap: 10px; padding: 0 6px; font: 600 17px var(--font-heading); }
.finder-q legend span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-size: 14px; }
.finder-count { max-width: 160px; }
.option-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; }
.option span, a.option { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; transition: background .15s, border-color .15s; }
.option:hover span, a.option:hover { background: var(--hover); }
.option input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.finder-results { margin-top: 40px; }
.finder-results .product-grid { margin-top: 20px; }
.finder-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--muted); }
.finder-summary strong { color: var(--text); }
.finder-group { margin-top: 48px; }
.finder-group:first-child { margin-top: 0; }
.finder-group .section-sub { margin-top: -4px; }
.finder-empty { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.finder-empty h2 { margin: 0; }
.finder-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.finder-teaser .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.finder-teaser-q { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }

/* Kategoriler */
.category-grid { display: grid; gap: 16px; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.category-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.bg-alt .category-card { background: var(--bg); }
.category-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.category-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 10px; border-radius: var(--r-sm); background: var(--accent); color: var(--accent-fg); }
.category-name { font: 600 18px var(--font-heading); }
.category-count { color: var(--muted); font-size: 14px; }
.category-arrow { position: absolute; right: 20px; bottom: 22px; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.category-card:hover .category-arrow { color: var(--accent); transform: translateX(3px); }

/* Projeler */
.project-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.project-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.bg-alt .project-card { background: var(--bg); }
.project-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.project-media { aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background: var(--surface-2); color: var(--muted); }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-body { display: flex; flex-direction: column; gap: 6px; padding: 18px; }
.project-title { font: 600 18px/1.3 var(--font-heading); }
.project-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.project-main { display: flex; flex-direction: column; gap: 36px; }
.project-gallery { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-gallery .gallery-tile { padding: 0; border: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); cursor: zoom-in; background: var(--surface-2); }
.project-gallery .gallery-tile.is-cover { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.project-gallery img { width: 100%; height: 100%; object-fit: cover; }
.project-aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }
.project-facts { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.project-facts div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.project-facts dt { color: var(--muted); }
.project-facts dd { margin: 0; font-weight: 600; text-align: right; }

/* Markalar */
.brand-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.brand-strip .brand-tile { flex: 0 1 180px; }
.brand-tile { height: 96px; display: grid; place-items: center; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; font: 600 17px var(--font-heading); transition: border-color .2s; }
.bg-alt .brand-tile { background: var(--bg); }
.brand-tile:hover { border-color: var(--accent); }
.brand-tile img, .brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.brand-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.brand-card:hover { border-color: var(--accent); }
.brand-logo { height: 140px; display: grid; place-items: center; padding: 24px; background: #fff; color: #111; font-size: 22px; }
.brand-card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px; }
.brand-hero-logo { max-width: 220px; height: 90px; margin-bottom: 28px; padding: 16px; background: #fff; border-radius: var(--radius); }
.brand-hero-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .contact.has-map { grid-template-columns: 1fr; }
  .cols-4, .cols-5 { --cols: 3; }
  .testimonial-grid.cols-3 { --cols: 2; }
  .catalog-layout, .product-detail, .quote-layout, .project-detail, .finder-teaser { grid-template-columns: minmax(0, 1fr); }
  .catalog-filters, .quote-form, .project-aside { position: static; }
  .category-grid.cols-4 { --cols: 2; }
  .product-detail { gap: 28px; }
  .nav-toggle { display: grid; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .header-center .header-inner { display: flex; }
  .header-center .site-brand { margin-right: auto; }
  /* Tablet: marka tam satır, diğer iki sütun yan yana */
  .footer-cols-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-cols-3 .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .sp-sm { padding: 28px 0; } .sp-md { padding: 48px 0; } .sp-lg { padding: 72px 0; }
  .cols-3, .cols-4, .cols-5 { --cols: 2; }
  .feature-grid { --cols: 1 !important; }
  .testimonial-grid { grid-template-columns: minmax(0, 1fr); }
  .category-grid { --cols: 1 !important; }
  .product-actions { padding: 0 12px 12px; }
  .product-actions .btn { padding: 0 8px; font-size: 13px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .card-box { padding: 20px; }
  .quote-row { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .quote-row .quote-remove { grid-column: 3; grid-row: 1; }
  .quote-row .qty { grid-column: 2 / 4; grid-row: 2; justify-self: start; }
  .quote-thumb { width: 56px; height: 56px; }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-actions .qty { flex: none; }
  .compare-bar { bottom: 88px; }
  .page-hero { padding: 28px 0 20px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sort { flex: 1 1 auto; }
  .sort select { width: 100%; }
  .product-grid, .gallery-grid { gap: 10px; }
  .product-body { padding: 10px 12px 12px; }
  .product-price { font-size: 15px; }
  .search { flex: 1 1 100%; }
  .banner-inner { flex-direction: column; align-items: flex-start; }
  .banner-inner.layout-center { align-items: center; }
  .b-hero .btn-row .btn { flex: 1 1 auto; }
  .brand-title { font-size: 16px; }
  .header-actions .btn { display: none; }
  .modal { grid-template-columns: 1fr; max-height: calc(100vh - 24px); overflow-y: auto; }
  .gallery-main { max-height: 55vh; }
  .gallery-nav { opacity: 1; width: 34px; height: 34px; }
  .modal-body { padding: 22px 20px; }
  .site-footer { padding-top: 44px; }
  .footer-grid, .footer-cols-2, .footer-cols-3 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 40px; }
  /* Sabit WhatsApp butonu telif satırının üstüne binmesin */
  .has-float-wa .footer-bottom { padding-bottom: 88px; }
}
