/* Diaplas Medical SaaS — Çok Temalı, Yüksek Performanslı ve Erişilebilir Tasarım Sistemi
   Temalar: Clinical (Referans Görsel), Lab Clean, Industrial
   Standartlar: WCAG 2.2 AA, Mantıksal Özellikler (RTL), prefers-reduced-motion, CSS Değişkenleri
*/

/* --- 1. Değişkenler ve Varsayılan Token'lar --- */
:root {
  --color-brand: #167b98;
  --color-brand-hover: #12647c;
  --color-brand-active: #0e4f62;
  --color-brand-light: #eef8fb;
  --color-brand-subtle: #f4fafc;
  --color-brand-glow: rgba(22, 123, 152, 0.16);

  --color-bg: #ffffff;
  --color-bg-subtle: #f8fcff;
  --color-bg-alt: #f1f7fa;
  --color-surface: #ffffff;
  --color-surface-glass: rgba(255, 255, 255, 0.82);
  --color-surface-border: #e2edf1;
  --color-surface-border-subtle: #edf4f7;

  --color-text: #142d3c;
  --color-text-muted: #5e7480;
  --color-text-subtle: #8ca0ab;

  --color-accent: #40afb7;
  --color-accent-emerald: #10b981;
  --color-accent-warm: #f59e0b;

  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, Menlo, monospace;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(20, 45, 60, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 45, 60, 0.07);
  --shadow-lg: 0 16px 40px rgba(22, 123, 152, 0.10);
  --shadow-xl: 0 24px 60px rgba(20, 45, 60, 0.12);
  --shadow-glass: 0 10px 35px rgba(20, 45, 60, 0.08);

  --space-section: clamp(48px, 6vw, 84px);
  --container-width: min(1220px, calc(100% - 48px));

  --trans-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Koyu Mod Ortak Değişkenleri */
[data-theme="dark"], body.dark-mode {
  --color-bg: #0b1922;
  --color-bg-subtle: #10212c;
  --color-bg-alt: #142836;
  --color-surface: #142937;
  --color-surface-glass: rgba(20, 41, 55, 0.88);
  --color-surface-border: #1d3a4c;
  --color-surface-border-subtle: #24465b;
  --color-text: #f0f8fc;
  --color-text-muted: #9cb4c2;
  --color-text-subtle: #6e8a9a;
  --color-brand-light: rgba(41, 164, 197, 0.14);
  --shadow-glass: 0 10px 35px rgba(0, 0, 0, 0.45);
}

/* --- 2. Temel Sıfırlama ve Tipografi --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.65;
  transition: background-color var(--trans-smooth), color var(--trans-smooth);
}

body.drawer-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  margin-block-start: 0;
  margin-block-end: 0.5em;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

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

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Erişilebilirlik Yardımcıları (WCAG 2.2 AA) */
.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--color-brand);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transition: top var(--trans-fast);
}
.skip-link:focus {
  top: 16px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: var(--container-width);
  margin-inline: auto;
}

/* --- 3. Düğmeler ve Rozetler --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform var(--trans-fast), background-color var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast);
  white-space: nowrap;
  min-height: 44px;
}
.button svg {
  width: 16px;
  height: 16px;
  transition: transform var(--trans-fast);
}
.button:hover {
  transform: translateY(-2px);
}
.button:hover svg {
  transform: translateX(3px);
}
.rtl-layout .button:hover svg {
  transform: translateX(-3px);
}

.button.primary {
  background-color: var(--color-brand);
  color: #ffffff;
  box-shadow: 0 6px 18px var(--color-brand-glow);
}
.button.primary:hover {
  background-color: var(--color-brand-hover);
  box-shadow: 0 10px 24px var(--color-brand-glow);
}

.button.outline {
  border-color: var(--color-surface-border);
  background-color: var(--color-surface-glass);
  color: var(--color-text);
  backdrop-filter: blur(10px);
}
.button.outline:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background-color: var(--color-brand-light);
}

.button.small {
  padding: 8px 16px;
  font-size: 12px;
  min-height: 36px;
}

.button.full {
  width: 100%;
}

.sub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-block-end: 8px;
}

.demo-watermark-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-inline-start: 8px;
  vertical-align: middle;
}

/* --- 4. Header ve Cam Efektli Topbar (Reference Look) --- */
.site-header {
  position: relative;
  z-index: 100;
  padding-block-start: 18px;
}

.topbar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 24px;
  background-color: var(--color-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-glass);
  border-radius: var(--radius-md);
  transition: all var(--trans-smooth);
}

[data-theme="dark"] .topbar {
  border-color: rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand-symbol {
  width: 34px;
  height: 34px;
  color: var(--color-brand);
  flex-shrink: 0;
}
.brand-text b {
  font-weight: 800;
}
.brand-img {
  height: 34px;
  width: auto;
}

/* Masaüstü Navigasyon */
.desktop-nav {
  display: flex;
  align-items: center;
}
.nav-root {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  padding: 8px 4px;
  transition: color var(--trans-fast);
}
.nav-link:hover, .nav-link:focus-visible {
  color: var(--color-brand);
}
.nav-arrow {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  transition: transform var(--trans-fast);
}
.mega-trigger[aria-expanded="true"] .nav-arrow {
  transform: rotate(180deg);
}

/* Header Eylemleri (Sağ Küme) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.action-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border: 1px solid var(--color-surface-border);
  background: var(--color-surface);
  transition: all var(--trans-fast);
}
.action-icon-btn:hover {
  color: var(--color-brand);
  border-color: var(--color-brand);
  background: var(--color-brand-light);
}
.action-icon-btn svg {
  width: 18px;
  height: 18px;
}

.theme-toggle-btn .icon-moon {
  display: none;
}
[data-theme="dark"] .theme-toggle-btn .icon-sun {
  display: none;
}
[data-theme="dark"] .theme-toggle-btn .icon-moon {
  display: block;
}

/* Dil Seçici Dropdown */
.lang-switcher {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-surface-border);
  background: var(--color-surface);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  transition: all var(--trans-fast);
}
.lang-btn:hover {
  border-color: var(--color-brand);
}
.lang-icon {
  width: 15px;
  height: 15px;
  color: var(--color-brand);
}
.lang-chevron {
  width: 12px;
  height: 12px;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 140px;
  z-index: 150;
}
.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
}
.lang-item:hover, .lang-item.active {
  background: var(--color-brand-light);
  color: var(--color-brand);
}
.lang-name {
  color: var(--color-text-muted);
  font-size: 11px;
}

.top-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background-color: var(--color-brand);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--color-brand-glow);
  transition: all var(--trans-fast);
}
.top-cta:hover {
  background-color: var(--color-brand-hover);
  transform: translateY(-1px);
}
.top-cta svg {
  width: 14px;
  height: 14px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  padding: 8px;
  border: 1px solid var(--color-surface-border);
  background: var(--color-surface);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: all var(--trans-fast);
}

/* --- 5. Mega Menü Paneli (Masaüstü) --- */
.mega-panel {
  position: absolute;
  top: calc(100% + 14px);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: min(1080px, 94vw);
  background-color: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  padding: 28px;
  z-index: 200;
  animation: megaFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.rtl-layout .mega-panel {
  transform: translateX(50%);
}

@keyframes megaFadeIn {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.mega-grid {
  display: grid;
  /* minmax(0,…): uzun içerik sütunu taşırıp paneli ekran dışına itmesin */
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 240px);
  gap: 24px;
}

.mega-col-header {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand);
  padding-block-end: 12px;
  border-block-end: 1px solid var(--color-surface-border-subtle);
  margin-block-end: 12px;
}

.mega-item-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}
.mega-item-card:hover, .mega-item-card:focus-visible {
  background-color: var(--color-bg-subtle);
  transform: translateX(3px);
}
.rtl-layout .mega-item-card:hover {
  transform: translateX(-3px);
}

.mega-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  background-color: var(--color-brand-light);
  flex-shrink: 0;
}
.mega-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-item-text {
  flex: 1;
  min-width: 0;
}
.mega-item-title {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
}
.mega-item-desc {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mega-chevron {
  color: var(--color-text-subtle);
  font-size: 16px;
  transition: transform var(--trans-fast);
}
.mega-item-card:hover .mega-chevron {
  color: var(--color-brand);
  transform: translateX(2px);
}

.mega-feature-card {
  background: linear-gradient(135deg, var(--color-brand-light) 0%, var(--color-bg-subtle) 100%);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mega-feature-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--color-brand);
  color: #ffffff;
  margin-block-end: 10px;
}
.mega-feature-card h4 {
  font-size: 15px;
  margin-block-end: 8px;
}
.mega-feature-card p {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 16px;
}
.mega-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-brand);
}

/* --- 6. Hero Bölümü (Referans Tasarımla Birebir) --- */
.hero-block-wrap {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding-block-start: 34px;
  padding-block-end: 48px;
  background: linear-gradient(115deg, #f8fcff 0%, #eef8fb 50%, #c5e1ee 100%);
}
[data-theme="dark"] .hero-block-wrap {
  background: linear-gradient(115deg, #0b1922 0%, #102534 50%, #173b52 100%);
}

.molecule-network-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.molecule-svg {
  width: 100%;
  height: 100%;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
  min-height: 440px;
}

.hero-copy-column {
  max-width: 580px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--color-brand);
  margin-block-end: 16px;
}
.eyebrow-pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(64, 175, 183, 0.25);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(64, 175, 183, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(64, 175, 183, 0.05); }
}

.hero-main-title {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--color-text);
  margin-block-end: 18px;
}

.hero-subtitle {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-block-end: 28px;
  max-width: 500px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block-end: 32px;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-text-muted);
}
.badge-icon {
  width: 17px;
  height: 17px;
  color: var(--color-brand);
  flex-shrink: 0;
}

/* Hero Görsel Alanı */
.hero-visual-column {
  position: relative;
  flex: 1;
  max-width: 580px;
  display: flex;
  justify-content: flex-end;
}
.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
}
.hero-lcp-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,1) 30%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(22, 123, 152, 0.22);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.orbit-outer {
  width: 540px;
  height: 540px;
  top: -60px;
  inset-inline-end: -60px;
}
.orbit-inner {
  width: 380px;
  height: 380px;
  top: 20px;
  inset-inline-end: 20px;
}

.hero-bottom-curve {
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  height: 34px;
  background-color: var(--color-bg);
  clip-path: ellipse(68% 90% at 50% 100%);
  z-index: 4;
}

/* --- 7. Vitrin Bölümü: 4 Sütunlu Paneller (Referans Tasarım) --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 1.05fr 0.9fr;
  gap: 16px;
  margin-block-start: 28px;
  margin-block-end: 28px;
}

.panel {
  background-color: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans-smooth), box-shadow var(--trans-smooth);
}
.panel:hover {
  box-shadow: var(--shadow-md);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 18px;
}
.panel-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-text-subtle);
  text-transform: uppercase;
}
.section-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 2px 0 0;
}
.section-link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-brand);
}

/* Panel 1: Hizmetlerimiz */
.service-list-group {
  display: flex;
  flex-direction: column;
}
.service-list-item + .service-list-item {
  border-block-start: 1px solid var(--color-surface-border-subtle);
}
.service-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 10px;
  font-size: 12px;
  font-weight: 600;
}
.service-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  background-color: var(--color-brand-light);
  color: var(--color-brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.service-icon-wrap svg {
  width: 16px;
  height: 16px;
}
.service-link-text {
  flex: 1;
}
.service-chevron {
  font-size: 18px;
  color: var(--color-text-subtle);
}

/* Panel 2: Laboratuvar Analizleri */
.analysis-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.analysis-card-item {
  display: block;
}
.analysis-thumb-box {
  position: relative;
  height: 115px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--color-brand-light);
}
.analysis-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-smooth);
}
.analysis-card-item:hover img {
  transform: scale(1.08);
}
.analysis-title {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  margin-block-start: 8px;
}

/* Panel 3: Ürünler & Çözümler */
.product-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 6px;
}
.product-item-row + .product-item-row {
  border-block-start: 1px solid var(--color-surface-border-subtle);
}
.product-row-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-brand-light), var(--color-bg-subtle));
  flex-shrink: 0;
}
.product-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-row-info {
  flex: 1;
  min-width: 0;
}
.product-row-title {
  display: block;
  font-size: 12px;
  font-weight: 800;
}
.product-row-desc {
  display: block;
  font-size: 10.5px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-sku-tag {
  display: inline-block;
  font-size: 9px;
  color: var(--color-text-subtle);
}
.product-row-cta {
  color: var(--color-text-subtle);
  font-size: 18px;
}

/* Panel 4: Kalite ve Güvence (2x2 İstatistik) */
.stats-eyebrow-line {
  display: flex;
  align-items: center;
}
.stats-2x2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-block-start: auto;
}
.stat-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-subtle);
}
.stat-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background-color: var(--color-brand-light);
  color: var(--color-brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.stat-icon-wrapper svg {
  width: 18px;
  height: 18px;
}
.stat-meta {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
}
.stat-label {
  font-size: 10px;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* --- 8. Özellikler ve Değerler Bloğu --- */
.features-block {
  margin-block: 36px;
}
.features-wrapper {
  background: linear-gradient(110deg, var(--color-bg-subtle), var(--color-brand-light));
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  display: grid;
  grid-template-columns: 2.2fr repeat(4, 1fr);
  align-items: center;
  gap: 24px;
}
.features-intro-col {
  display: flex;
  gap: 18px;
  padding-inline-end: 24px;
  border-inline-end: 1px solid var(--color-surface-border);
}
.features-intro-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-surface);
  color: var(--color-brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.features-intro-icon svg {
  width: 26px;
  height: 26px;
}
.features-intro-text h2 {
  font-size: 13px;
  margin-block-end: 6px;
}
.features-intro-text p {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 8px;
}
.inline-arrow-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.inline-arrow-link svg {
  width: 14px;
  height: 14px;
}

.features-grid {
  display: contents;
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feature-icon-box {
  width: 24px;
  height: 24px;
  color: var(--color-brand);
  margin-block-end: 6px;
}
.feature-icon-box svg {
  width: 22px;
  height: 22px;
}
.feature-card-title {
  font-size: 11.5px;
  font-weight: 800;
  margin: 0;
}
.feature-card-text {
  font-size: 10px;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* --- 9. Teklif ve İletişim Formu Bloğu --- */
.quote-request-section {
  padding-block: 64px;
  background-color: var(--color-bg-subtle);
  border-block-start: 1px solid var(--color-surface-border);
}
.quote-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.quote-title {
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.25;
  margin-block: 14px;
}
.quote-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-block-end: 28px;
}
.quote-quick-contacts {
  display: grid;
  gap: 12px;
  margin-block-end: 24px;
}
.quote-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
}
.quote-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-brand);
}
.quote-trust-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--color-text-subtle);
}
.quote-trust-note svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-emerald);
}

.quote-form-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.form-title {
  font-size: 20px;
  margin-block-end: 4px;
}
.form-sub {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-block-end: 20px;
}

.site-quote-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-text);
}
.required-star {
  color: #ef4444;
}

.form-field input, .form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-surface-border);
  background-color: var(--color-bg-subtle);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 13px;
  transition: all var(--trans-fast);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px var(--color-brand-glow);
  background-color: var(--color-surface);
}

.consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-block: 6px 12px;
}
.consent-checkbox-label input {
  margin-block-start: 3px;
}
.hidden-bot {
  display: none !important;
}

/* --- 10. Diğer Bloklar: Sertifikalar, FAQ, CTA, Galeri --- */
.section-block {
  padding-block: var(--space-section);
}

.block-section-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-block-end: 40px;
}
.block-main-title {
  font-size: clamp(24px, 2.5vw, 36px);
  margin-block: 8px 12px;
}
.block-sub-text {
  font-size: 14.5px;
  color: var(--color-text-muted);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.certificate-card {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-smooth);
}
.certificate-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cert-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-light);
  color: var(--color-brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cert-icon-box svg {
  width: 24px;
  height: 24px;
}
.cert-info {
  flex: 1;
}
.cert-title {
  font-size: 14px;
  margin-block-end: 6px;
}
.cert-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.cert-type-pill {
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  background: var(--color-brand-light);
  color: var(--color-brand);
  font-weight: 800;
}
.cert-validity {
  color: var(--color-text-muted);
}
.cert-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-surface-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-brand);
  transition: all var(--trans-fast);
}
.cert-download-btn:hover {
  background: var(--color-brand);
  color: #ffffff;
}

/* FAQ Akordeon */
.faq-block {
  max-width: 840px;
}
.faq-header {
  text-align: center;
  margin-block-end: 36px;
}
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: all var(--trans-smooth);
}
.faq-item[open] {
  border-color: var(--color-brand);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-toggle-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-brand);
  stroke-width: 2.2;
  transition: transform var(--trans-fast);
}
.faq-item[open] .faq-toggle-icon svg {
  transform: rotate(180deg);
}
.faq-answer {
  padding-block-start: 12px;
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* CTA Bandı */
.cta-block .cta-inner-box {
  background: linear-gradient(115deg, var(--color-brand) 0%, var(--color-brand-active) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.cta-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  margin-block-end: 10px;
  display: inline-block;
}
.cta-heading {
  color: #ffffff;
  font-size: clamp(22px, 2.2vw, 34px);
  margin-block-end: 8px;
}
.cta-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  margin: 0;
  max-width: 520px;
}
.cta-inner-box .cta-button {
  background: #ffffff;
  color: var(--color-brand);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.cta-inner-box .cta-button:hover {
  background: var(--color-brand-light);
}

/* Galeri Bloğu */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.gallery-figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-smooth);
}
.gallery-figure:hover {
  transform: translateY(-3px);
}
.gallery-thumb-wrap {
  height: 220px;
  overflow: hidden;
}
.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-smooth);
}
.gallery-figure:hover img {
  transform: scale(1.05);
}
.gallery-caption {
  padding: 12px 14px;
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* --- 11. WhatsApp Sabit Buton & Mini Kart --- */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 999;
}

.wa-trigger-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}
.wa-trigger-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}
.wa-trigger-btn .wa-icon-bubble {
  width: 30px;
  height: 30px;
}
.wa-pulse-animation {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2s infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Açılır iletişim menüsü: Asistan, WhatsApp, Sipariş Formu (etiketli) */
.contact-fab { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-menu[hidden] { display: none; }
.fab-menu li { animation: fabIn .2s ease-out both; }
.fab-menu li:nth-child(2) { animation-delay: .04s; }
.fab-menu li:nth-child(3) { animation-delay: .08s; }
@keyframes fabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fab-item { display: inline-flex; align-items: center; gap: 10px; border: 0; padding: 0; background: none; cursor: pointer; text-decoration: none; font: inherit; }
.fab-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px rgba(10, 31, 61, .22);
  transition: transform .15s ease; }
.fab-icon svg { width: 26px; height: 26px; }
.fab-item:hover .fab-icon, .fab-item:focus-visible .fab-icon { transform: scale(1.06); }
.fab-item:focus-visible { outline: none; }
.fab-item:focus-visible .fab-icon { outline: 3px solid rgba(20, 99, 216, .45); outline-offset: 3px; }
.fab-label { background: var(--color-surface, #fff); color: var(--color-text, #10202e); border: 1px solid var(--color-surface-border, #dde5ee);
  border-radius: 999px; padding: 6px 12px; font-size: .85rem; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 14px rgba(10, 31, 61, .12);
  display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.fab-label small { font-size: .68rem; font-weight: 600; color: var(--color-text-muted, #5b6b7b); letter-spacing: .02em; }
.fab-item .fab-icon { position: relative; }

/* Uzmana Soru Sor: yapay zekâ ajanı (yuvarlak, mor-mavi, parlayan ✦ ve "AI" rozeti) */
.fab-ai .fab-icon { border-radius: 50%; background: conic-gradient(from 200deg, #6d28d9, #2563eb, #06b6d4, #6d28d9);
  box-shadow: 0 8px 22px rgba(79, 70, 229, .45); }
.fab-ai .fab-icon svg { animation: fabSparkle 2.4s ease-in-out infinite; }
.fab-ai .fab-label small { color: #6d28d9; }
.fab-badge { position: absolute; top: -6px; right: -6px; padding: 1px 5px; border-radius: 999px; background: #fff; color: #6d28d9;
  font-size: .62rem; font-weight: 800; letter-spacing: .04em; box-shadow: 0 2px 6px rgba(10, 31, 61, .25); }
@keyframes fabSparkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.12) rotate(12deg); opacity: .85; } }

/* WhatsApp: canlı (yayılan halkalar, sallanan simge, çevrimiçi noktası) */
.fab-wa .fab-icon { background: #25d366; overflow: visible; }
.fab-wa .fab-icon svg { animation: fabWiggle 3s ease-in-out infinite; transform-origin: 50% 60%; }
.fab-ring { position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: fabRing 2s ease-out infinite; pointer-events: none; }
.fab-ring + .fab-ring { animation-delay: 1s; }
.fab-dot { position: absolute; top: -3px; right: -3px; width: 13px; height: 13px; border-radius: 50%; background: #22c55e; border: 2px solid #fff;
  animation: fabBlink 1.6s ease-in-out infinite; }
.fab-online { color: #16a34a !important; }
.fab-online.is-off { color: var(--color-text-muted, #5b6b7b) !important; }
@keyframes fabRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.55); opacity: 0; } }
@keyframes fabWiggle { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg); } 80% { transform: rotate(10deg); } 85% { transform: rotate(-6deg); } 90% { transform: rotate(4deg); } }
@keyframes fabBlink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Sipariş Formu: içinde yazı olan geniş hap düğme (marka mavisi) */
.fab-order-pill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--color-brand, #1463d8); color: #fff; font-weight: 700; font-size: .92rem; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(20, 99, 216, .35); transition: transform .15s ease, filter .15s ease; }
.fab-order-pill svg { width: 20px; height: 20px; }
.fab-order:hover .fab-order-pill, .fab-order:focus-visible .fab-order-pill { transform: translateY(-1px); filter: brightness(1.08); }
.fab-order:focus-visible .fab-order-pill { outline: 3px solid rgba(20, 99, 216, .45); outline-offset: 3px; }
.fab-toggle { cursor: pointer; border: 0; padding: 0; }
.fab-toggle .fab-main-label { position: absolute; inset-inline-end: calc(100% + 10px); top: 50%; transform: translateY(-50%); }
.fab-toggle .fab-close-icon { display: none; width: 26px; height: 26px; }
.fab-toggle[aria-expanded="true"] .fab-close-icon { display: block; }
.fab-toggle[aria-expanded="true"] .fab-open-icon, .fab-toggle[aria-expanded="true"] .wa-pulse-animation,
.fab-toggle[aria-expanded="true"] .fab-main-label { display: none; }
@media (prefers-reduced-motion: reduce) {
  .fab-menu li, .wa-pulse-animation, .fab-ai .fab-icon svg, .fab-wa .fab-icon svg, .fab-ring, .fab-dot { animation: none; }
  .fab-ring { display: none; }
}

/* Sipariş formu penceresi */
.order-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px;
  background: var(--color-surface, #fff); color: var(--color-text, #10202e); box-shadow: 0 30px 80px rgba(10, 31, 61, .35); }
.order-dialog::backdrop { background: rgba(10, 31, 61, .45); }
.order-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 20px 22px 22px; }
.order-head, .order-intro, .order-wide, .order-form > label:first-of-type { grid-column: 1 / -1; }
.order-head { display: flex; align-items: center; justify-content: space-between; }
.order-head h2 { margin: 0; font-size: 1.25rem; }
.order-close { border: 0; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--color-text-muted, #5b6b7b);
  width: 36px; height: 36px; border-radius: 8px; }
.order-intro { margin: -4px 0 4px; color: var(--color-text-muted, #5b6b7b); font-size: .9rem; }
.order-form label { display: flex; flex-direction: column; gap: 5px; font-size: .85rem; font-weight: 600; }
.order-form input:not([type="checkbox"]), .order-form select, .order-form textarea { font: inherit; font-weight: 400; padding: 10px 12px;
  border: 1px solid var(--color-surface-border, #dde5ee); border-radius: 10px; background: var(--color-bg, #fff); color: inherit; width: 100%; box-sizing: border-box; }
.order-form .consent { display: block; font-weight: 400; line-height: 1.45; }
.order-form .consent input { margin: 0 6px 0 0; vertical-align: -2px; }
.order-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.order-status { margin: 0; font-size: .9rem; min-height: 1.2em; }
.order-status.ok { color: #157347; font-weight: 600; }
.order-status.error { color: #b42318; }
.order-actions { display: flex; justify-content: flex-end; }
.order-submit { border: 0; border-radius: 12px; padding: 12px 22px; background: var(--color-brand, #1463d8); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.order-submit:disabled { opacity: .6; cursor: wait; }
@media (max-width: 560px) { .order-form { grid-template-columns: 1fr; padding: 16px; } }

/* Sol altta sabit "Hemen arayın" düğmesi (ilk telefon) */
.call-float-btn {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding-inline: 7px 20px;
  border-radius: 999px;
  background: var(--color-brand, #1463d8);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(10, 31, 61, 0.25);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}
.call-float-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10, 31, 61, 0.32);
}
.call-float-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}
.call-float-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.call-float-text strong {
  display: block;
  font-size: 14px;
  line-height: 1.15;
}
.call-float-text small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
}

/* --- 12. Mobil Hamburger Çekmecesi --- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-smooth);
}
.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: min(380px, 100vw);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-xl);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--trans-smooth);
}
.rtl-layout .mobile-drawer {
  transform: translateX(-100%);
}
.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 20px;
  border-block-end: 1px solid var(--color-surface-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
}
.drawer-close-btn svg {
  width: 20px;
  height: 20px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
}

.drawer-search-form {
  position: relative;
  margin-block-end: 18px;
}
.drawer-search-form input {
  width: 100%;
  padding: 10px 14px;
  padding-inline-end: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-surface-border);
  background: var(--color-bg-subtle);
  font-size: 13px;
}
.drawer-search-form button {
  position: absolute;
  inset-inline-end: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  padding: 6px;
}
.drawer-search-form button svg {
  width: 16px;
  height: 16px;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-nav-link {
  display: block;
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  flex: 1;
}
.accordion-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
}
.accordion-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform var(--trans-fast);
}
.accordion-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.accordion-panel {
  padding-inline-start: 14px;
  border-inline-start: 2px solid var(--color-brand-light);
  margin-block: 4px 10px;
}
.drawer-sublink {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
}
.drawer-sublink strong {
  display: block;
  font-size: 13px;
}
.drawer-sublink small {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
}
.drawer-subcats {
  margin: 0 0 6px;
  padding-inline-start: 22px;
}
.drawer-subcats a {
  display: block;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.drawer-subcats a::before {
  content: "– ";
}

.drawer-footer {
  padding: 18px 20px;
  border-block-start: 1px solid var(--color-surface-border);
  background: var(--color-bg-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.drawer-lang-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
}
.drawer-lang-pills {
  display: flex;
  gap: 6px;
}
.drawer-lang-pill {
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--color-surface-border);
  background: var(--color-surface);
}
.drawer-lang-pill.active {
  background: var(--color-brand);
  color: #ffffff;
  border-color: var(--color-brand);
}
.drawer-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-brand);
}
.drawer-phone-link svg {
  width: 18px;
  height: 18px;
}

/* --- 13. Katalog Detay ve Kategori Sayfaları --- */
.product-page-wrapper, .category-page-wrapper {
  padding-block: 28px 60px;
}

.breadcrumbs {
  margin-block-end: 22px;
}
.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-inline-end: 8px;
  color: var(--color-text-subtle);
}
.breadcrumbs li[aria-current="page"] {
  color: var(--color-text);
  font-weight: 700;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  margin-block-end: 48px;
}
.product-main-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  box-shadow: var(--shadow-sm);
}
.product-main-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-block-end: 12px;
}
.sku-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-surface-border);
}
.medical-device-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-accent-emerald);
}
.medical-device-badge svg {
  width: 14px;
  height: 14px;
}
.sterile-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}
.sterile-badge.sterile-yes {
  background: var(--color-brand-light);
  color: var(--color-brand);
}
.sterile-badge.sterile-no {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
}

.product-detail-title {
  font-size: clamp(24px, 2.6vw, 36px);
  margin-block-end: 12px;
}
.product-detail-summary {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-block-end: 22px;
}

.product-cta-action-box {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-block: 22px;
}
.action-buttons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.quick-guarantee-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--color-text-muted);
  margin: 12px 0 0;
}
.quick-guarantee-note svg {
  width: 15px;
  height: 15px;
  color: var(--color-accent-emerald);
  flex-shrink: 0;
}

/* Teknik Özellikler Tablosu */
.specs-grid-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  margin-block: 16px 36px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-xs);
  font-size: 12.5px;
}
.spec-key {
  font-weight: 700;
  color: var(--color-text-muted);
}
.spec-val {
  font-weight: 600;
  color: var(--color-text);
}

/* Kategori Düzeni */
.category-main-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
}
.subcategories-pills-wrap {
  margin-block-end: 24px;
}
.subcat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.subcat-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  font-size: 12px;
  font-weight: 700;
}
.subcat-pill:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

/* Alt kategorili kategori sayfası: ürün grupları */
.category-group + .category-group {
  margin-block-start: 56px;
}
.category-group-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-block-end: 14px;
  margin-block-end: 28px;
  border-block-end: 1px solid var(--color-surface-border);
  scroll-margin-top: 120px;
}
.category-group-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
}
.category-group-head a:hover {
  color: var(--color-brand);
}
.category-group-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-subtle);
  border-radius: 999px;
  padding: 2px 10px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.cat-product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-smooth);
}
.cat-product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cat-card-thumb {
  position: relative;
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg-subtle);
}
.cat-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-mdr-tag {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: #10b981;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
}
.cat-card-body {
  flex: 1;
  padding-block: 12px 8px;
}
.cat-card-sku {
  font-size: 10px;
  color: var(--color-text-subtle);
  font-weight: 700;
}
.cat-card-title {
  font-size: 14px;
  margin: 4px 0 6px;
}
.cat-card-summary {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- 14. Footer --- */
.site-footer {
  background-color: var(--color-surface);
  border-block-start: 1px solid var(--color-surface-border);
  padding-block-start: 48px;
  margin-block-start: auto;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr 1.4fr;
  gap: 40px;
  padding-block-end: 44px;
}
.footer-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 280px;
  margin-block: 12px 18px;
}
.footer-social-links {
  display: flex;
  gap: 10px;
}
.social-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-surface-border);
  color: var(--color-text-muted);
  display: grid;
  place-items: center;
  transition: all var(--trans-fast);
}
.social-icon-btn:hover {
  background: var(--color-brand);
  color: #ffffff;
  border-color: var(--color-brand);
}
.social-icon-btn svg {
  width: 16px;
  height: 16px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-block-end: 14px;
}
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links-list a {
  font-size: 12.5px;
  color: var(--color-text-muted);
}
.footer-links-list a:hover {
  color: var(--color-brand);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--color-text-muted);
}
.contact-line svg {
  width: 16px;
  height: 16px;
  color: var(--color-brand);
  flex-shrink: 0;
  margin-block-start: 2px;
}

.footer-bottom-bar {
  background: var(--color-bg-subtle);
  border-block-start: 1px solid var(--color-surface-border);
  padding-block: 16px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--color-text-subtle);
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}
.footer-bottom-links a:hover {
  color: var(--color-brand);
}

/* --- 15. Tema Farklılıkları (Lab Clean & Industrial) --- */

/* Lab Clean: Minimalist İsviçre Laboratuvarı */
.theme-labclean {
  --color-brand: #2563eb;
  --radius-md: 6px;
  --radius-sm: 4px;
}
.theme-labclean .topbar {
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.theme-labclean .panel {
  border-radius: 6px;
  box-shadow: none;
}
.theme-labclean .hero-block-wrap {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

/* Industrial: Koyu, Yüksek Kontrastlı Ağır Cihaz / Üretici */
.theme-industrial {
  --color-brand: #f59e0b;
  --color-bg: #0d1117;
  --color-surface: #161b22;
  --color-surface-border: #30363d;
  --color-text: #f0f6fc;
  --color-text-muted: #8b949e;
  --radius-md: 4px;
  --radius-sm: 4px;
}
.theme-industrial .hero-block-wrap {
  background: linear-gradient(135deg, #0d1117 0%, #161b22 60%, #21262d 100%);
}
.theme-industrial .topbar {
  border-radius: 4px;
  border-color: #30363d;
}
.theme-industrial .panel {
  border-radius: 4px;
}

/* --- 16. Responsive Medya Sorguları --- */
@media (max-width: 1100px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-intro-col {
    grid-column: 1 / -1;
    border-inline-end: none;
    border-block-end: 1px solid var(--color-surface-border);
    padding-block-end: 18px;
  }
  .desktop-nav {
    display: none;
  }
  .top-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mega-panel {
    display: none !important;
  }
}

@media (max-width: 768px) {
  :root {
    --container-width: calc(100% - 32px);
  }
  .topbar {
    height: 60px;
    padding-inline: 16px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-symbol {
    width: 28px;
    height: 28px;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .hero-copy-column {
    max-width: 100%;
  }
  .hero-subtitle {
    margin-inline: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-badges {
    justify-content: center;
  }
  .hero-visual-column {
    width: 100%;
    justify-content: center;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .analysis-cards-grid {
    grid-template-columns: 1fr;
  }
  .quote-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .category-main-layout {
    grid-template-columns: 1fr;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
  .cta-block .cta-inner-box {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 30px 24px;
  }
  .whatsapp-widget {
    bottom: 18px;
    inset-inline-end: 18px;
  }
  .call-float-btn {
    bottom: 18px;
    inset-inline-start: 18px;
    height: 52px;
    padding-inline-end: 16px;
  }
  .call-float-icon {
    width: 40px;
    height: 40px;
  }
  .call-float-text small {
    display: none;
  }
}

/* --- 17. prefers-reduced-motion Desteği --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .eyebrow-pulsing-dot, .wa-pulse-animation {
    animation: none !important;
  }
  [data-tilt] {
    transform: none !important;
  }
}

/* İletişim bloğu: şablonda sınıflar vardı ama stili eksikti (ikonlar 300px siyah çiziliyordu) */
.contact-card-box {
  display: grid;
  gap: 32px;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 16px;
}
.contact-details-list {
  display: grid;
  gap: 16px;
  margin-block-start: 20px;
}
.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-icon-bubble {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-brand-light);
  color: var(--color-brand);
}
.contact-icon-bubble svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
@media (min-width: 900px) {
  .contact-card-box { grid-template-columns: 1fr 1fr; }
}
/* Sprite ikonları için varsayılan (sıfır öncelik): stili unutulmuş ikon 300px siyah blok olmasın. Özel kurallar bunu ezer. */
:where(svg:has(> use)) {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
/* Kategori filtre çubuğu: ürünlerin üstünde, seçenekler çip (yuvarlak etiket) ve ürün sayısıyla */
.filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding: 14px 18px;
  margin-block-end: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: var(--radius-md);
}
.filterbar-group { display: flex; align-items: center; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; flex-wrap: wrap; }
.filterbar-label { float: left; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
.filterbar-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { position: relative; cursor: pointer; }
.filter-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.filter-chip span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--color-surface-border); background: var(--color-bg-subtle, #f4f6f9);
  font-size: 13px; font-weight: 600; color: var(--color-text); line-height: 1.2;
  transition: background .15s, border-color .15s, color .15s;
}
.filter-chip:hover span { border-color: var(--color-brand); color: var(--color-brand); }
.filter-chip input:checked + span { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
.filter-chip input:focus-visible + span { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.filter-chip-count { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: rgba(0, 0, 0, .06); color: inherit; }
.filter-chip input:checked + span .filter-chip-count { background: rgba(255, 255, 255, .25); }
.filterbar-meta { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; font-size: 13px; color: var(--color-text-muted); }
.filterbar-result { font-weight: 600; }
.filterbar-clear { color: var(--color-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .filterbar { padding: 12px; gap: 12px; }
  .filterbar-group { align-items: flex-start; flex-direction: column; gap: 6px; }
  .filterbar-meta { margin-inline-start: 0; width: 100%; justify-content: space-between; }
}
/* Filtre kenar çubuğu yokken (filtre tanımlı değil) ürün alanı 240px'lik sütuna sıkışmasın */
.category-main-layout:not(:has(> .category-filters-sidebar)) {
  grid-template-columns: 1fr;
}
/* Arama, doküman merkezi ve teklif sepeti sayfaları (katalog yardımcı sayfaları) */
.catalog-util-page .sub-eyebrow { display: inline-block; margin-block-end: 8px; }
.util-page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; color: var(--color-text); }
.util-lead { max-width: 640px; margin-block-end: 28px; }
.util-muted { color: var(--color-text-muted); font-size: .92em; }
.util-empty { color: var(--color-text-muted); padding: 24px 0; }
.util-empty-box { display: grid; justify-items: start; gap: 12px; padding: 32px; border: 1px dashed var(--color-surface-border); border-radius: 16px; }
.util-search-form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-block: 8px 28px; }
.util-search-form .form-field { flex: 1 1 320px; margin: 0; }
.util-tabs { display: flex; gap: 8px; flex-wrap: wrap; border-block-end: 1px solid var(--color-surface-border); margin-block-end: 24px; }
.util-tab { background: none; border: 0; border-block-end: 2px solid transparent; padding: 10px 14px; font: inherit; font-weight: 600; color: var(--color-text-muted); cursor: pointer; }
.util-tab[aria-selected="true"] { color: var(--color-brand); border-block-end-color: var(--color-brand); }
.util-tab:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.util-count { display: inline-block; min-width: 1.6em; padding: 0 6px; border-radius: 999px; background: var(--color-brand-light); color: var(--color-brand); font-size: .8em; }
.util-card-title { font-size: 1rem; margin: 4px 0; }
.util-card-title a { color: var(--color-text); text-decoration: none; }
.util-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.util-list li { padding: 14px 18px; border: 1px solid var(--color-surface-border); border-radius: 12px; background: var(--color-surface); }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.doc-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--color-surface-border); border-radius: 14px; background: var(--color-surface); }
.doc-icon { flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--color-brand-light); color: var(--color-brand); font-size: 11px; font-weight: 700; }
.doc-info { flex: 1; display: grid; gap: 2px; min-width: 0; }
.doc-title { font-weight: 600; color: var(--color-text); text-decoration: none; overflow-wrap: anywhere; }
.doc-thumb { flex-shrink: 0; width: 120px; aspect-ratio: 1 / 1.414; border-radius: 8px; overflow: hidden; border: 1px solid var(--color-surface-border); background: #fff; box-shadow: 0 4px 14px rgba(15, 23, 42, .08); transition: transform .2s ease, box-shadow .2s ease; }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.doc-thumb:hover, .doc-thumb:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, .14); }
.doc-thumb:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.doc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.doc-row.has-preview { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-areas: 'thumb info' 'thumb actions'; align-items: center; column-gap: 20px; row-gap: 12px; padding: 14px 20px 14px 14px; }
.doc-row.has-preview .doc-thumb { grid-area: thumb; }
.doc-row.has-preview .doc-info { grid-area: info; align-self: end; }
.doc-row.has-preview .doc-actions { grid-area: actions; align-self: start; }
@media (min-width: 900px) { .doc-row.has-preview { grid-template-columns: 120px minmax(0, 1fr) auto; grid-template-areas: 'thumb info actions'; } .doc-row.has-preview .doc-info, .doc-row.has-preview .doc-actions { align-self: center; } }
.cart-layout { display: grid; gap: 28px; align-items: start; }
.cart-items { display: grid; gap: 12px; }
.cart-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 18px; border: 1px solid var(--color-surface-border); border-radius: 14px; background: var(--color-surface); }
.cart-thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { display: grid; gap: 4px; min-width: 0; }
.cart-title { font-weight: 600; color: var(--color-text); text-decoration: none; }
.cart-qty { display: grid; gap: 4px; }
.cart-qty input { width: 88px; padding: 8px 10px; border: 1px solid var(--color-surface-border); border-radius: 8px; font: inherit; }
.cart-actions { display: flex; gap: 8px; align-items: center; }
.cart-remove { background: none; border: 0; color: #b42318; font: inherit; cursor: pointer; padding: 8px; }
@media (min-width: 1000px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 440px; } }
@media (max-width: 640px) {
  .cart-row { grid-template-columns: 56px minmax(0, 1fr); }
  .cart-thumb { width: 56px; height: 56px; }
  .cart-qty, .cart-actions { grid-column: 1 / -1; }
  .doc-row { flex-wrap: wrap; }
  .doc-thumb { width: 88px; }
  .doc-row.has-preview { grid-template-columns: 88px minmax(0, 1fr); column-gap: 14px; }
}
/* Kapalı çekmece: gölgesi sağ kenarda şerit bırakmasın, odak almasın */
.mobile-drawer:not(.active) { box-shadow: none; visibility: hidden; }
.mobile-drawer { transition: transform var(--trans-smooth), visibility var(--trans-smooth); }

/* Çerez onay bandı (legal/_consent.html) */
.band[role="dialog"] {
  position: fixed; inset: auto 16px 16px 16px; z-index: 1200;
  max-width: 760px; margin-inline: auto; padding: 20px 24px;
  background: var(--color-surface); color: var(--color-text);
  border: 1px solid var(--color-surface-border); box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md); font-size: 14px;
}
.band[role="dialog"] p { margin: 6px 0 14px; color: var(--color-text-muted); }
.band[role="dialog"] p a { text-decoration: underline; }
.band[role="dialog"] form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.band[role="dialog"] label { display: inline-flex; align-items: center; gap: 6px; }
.band[role="dialog"] button { min-height: 40px; padding: 0 16px; border: 1px solid var(--color-surface-border); border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; }
.band[role="dialog"] button:first-of-type { margin-inline-start: auto; }
.band[role="dialog"] button.primary { background: var(--color-text); border-color: var(--color-text); color: var(--color-bg); }

/* Ürün detayı: benzer ürünler (stil eksikti; büyük görseller sayfayı kaplıyordu) */
.related-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-top: 20px; }
.related-thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--color-bg-subtle); margin-bottom: 12px; }
.related-thumb picture, .related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-card h4 { font-size: 16px; margin: 0 0 4px; }
.related-card p { margin: 0; font-size: 14px; color: var(--color-text-muted); }
@media (max-width: 640px) {
  .band[role="dialog"] form { gap: 8px 14px; }
  .band[role="dialog"] button { flex: 1 1 100%; }
  .band[role="dialog"] button:first-of-type { margin-inline-start: 0; }
}
.category-filters-form fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.category-filters-form legend { padding: 0; }

/* --- İletişim sayfası (/iletisim): sade, geniş boşluklu, yumuşak kartlar --- */
.ct-page { --ct-radius: 28px; --ct-ease: cubic-bezier(0.25, 0.1, 0.25, 1); padding-bottom: clamp(64px, 10vw, 140px); }
.ct-narrow { max-width: 880px; }
.ct-hero {
  text-align: center;
  padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px);
  background: radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--color-brand) 10%, transparent), transparent 70%);
}
.ct-eyebrow { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--color-brand); letter-spacing: 0; }
.ct-title {
  margin: 0 auto; max-width: 16ch;
  font-size: clamp(38px, 6.4vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; color: var(--color-text);
}
.ct-lead { margin: 22px auto 0; max-width: 46ch; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: var(--color-text-muted); }

.ct-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ct-tile {
  display: flex; flex-direction: column; gap: 6px; padding: 26px 24px;
  background: var(--color-surface); border: 1px solid var(--color-surface-border-subtle, var(--color-surface-border));
  border-radius: 22px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .04);
  transition: transform .35s var(--ct-ease), box-shadow .35s var(--ct-ease);
}
.ct-tile:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 18px 40px rgba(0, 0, 0, .08); }
.ct-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 14px;
  background: color-mix(in srgb, var(--color-brand) 12%, transparent); color: var(--color-brand);
}
.ct-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.ct-icon-wa { background: color-mix(in srgb, #25d366 14%, transparent); color: #1a9e4b; }
.ct-icon-wa svg { fill: currentColor; stroke: none; }
.ct-tile h2 { margin: 0 0 4px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--color-text); }
.ct-tile-text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--color-text-muted); }
.ct-tile-link { font-size: 15px; font-weight: 500; color: var(--color-brand); text-decoration: none; overflow-wrap: anywhere; }
.ct-tile-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ct-tile-more { margin-top: auto; padding-top: 8px; }

.ct-form-wrap { margin-top: clamp(40px, 6vw, 72px); }
.ct-card {
  padding: clamp(28px, 5vw, 56px); border-radius: var(--ct-radius);
  background: var(--color-surface); border: 1px solid var(--color-surface-border-subtle, var(--color-surface-border));
  box-shadow: 0 2px 6px rgba(0, 0, 0, .03), 0 30px 60px rgba(0, 0, 0, .06);
}
.ct-card-head h2 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.025em; color: var(--color-text); }
.ct-card-head p { margin: 10px 0 0; font-size: 16px; color: var(--color-text-muted); }
.ct-alert { margin-top: 24px; padding: 14px 18px; border-radius: 14px; font-size: 15px; background: color-mix(in srgb, #1f8a5b 12%, transparent); color: #17694a; }
.ct-alert.error { background: color-mix(in srgb, #c0392b 12%, transparent); color: #a52a1f; }
.ct-form { display: grid; gap: 16px; margin-top: 32px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ct-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; border: 0; }
.ct-topics legend { width: 100%; margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 500; color: var(--color-text-muted); }
.ct-topic { position: relative; }
.ct-topic input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ct-topic span {
  display: inline-block; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 500;
  background: var(--color-bg-subtle); color: var(--color-text); border: 1px solid transparent;
  transition: background .25s var(--ct-ease), color .25s var(--ct-ease), border-color .25s var(--ct-ease);
}
.ct-topic input:checked + span { background: var(--color-text); color: var(--color-bg, #fff); }
.ct-topic input:focus-visible + span { outline: 2px solid var(--color-brand); outline-offset: 2px; }

.ct-field { position: relative; display: block; }
.ct-field input, .ct-field textarea {
  width: 100%; padding: 26px 16px 10px; font: inherit; font-size: 17px; color: var(--color-text);
  background: var(--color-bg-subtle); border: 1px solid transparent; border-radius: 14px; outline: none;
  transition: border-color .2s var(--ct-ease), background .2s var(--ct-ease), box-shadow .2s var(--ct-ease);
}
.ct-field textarea { min-height: 150px; resize: vertical; }
.ct-field > span {
  position: absolute; inset-inline-start: 17px; top: 18px; font-size: 17px; color: var(--color-text-subtle);
  pointer-events: none; transform-origin: left top; transition: transform .2s var(--ct-ease), color .2s var(--ct-ease);
}
.ct-field input:focus, .ct-field textarea:focus {
  background: var(--color-surface); border-color: var(--color-brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-brand) 16%, transparent);
}
.ct-field input:focus + span, .ct-field input:not(:placeholder-shown) + span,
.ct-field textarea:focus + span, .ct-field textarea:not(:placeholder-shown) + span { transform: translateY(-10px) scale(.74); color: var(--color-text-muted); }
.rtl-layout .ct-field > span { transform-origin: right top; }

.ct-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--color-text-muted); }
.ct-consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--color-brand); }
.ct-consent a { color: var(--color-brand); }
.ct-submit {
  justify-self: start; margin-top: 8px; padding: 16px 34px; min-height: 52px; border: 0; border-radius: 999px;
  font: inherit; font-size: 17px; font-weight: 600; color: #fff; background: var(--color-brand); cursor: pointer;
  transition: transform .2s var(--ct-ease), filter .2s var(--ct-ease), box-shadow .2s var(--ct-ease);
}
.ct-submit:hover { filter: brightness(1.08); box-shadow: 0 10px 24px color-mix(in srgb, var(--color-brand) 32%, transparent); }
.ct-submit:active { transform: scale(.98); }
.ct-submit:focus-visible { outline: 3px solid color-mix(in srgb, var(--color-brand) 45%, transparent); outline-offset: 3px; }

[data-theme="dark"] .ct-tile, [data-theme="dark"] .ct-card { box-shadow: none; }
[data-theme="dark"] .ct-alert { color: #7fe0b0; }
[data-theme="dark"] .ct-alert.error { color: #ffaaa0; }
@media (max-width: 640px) {
  .ct-row { grid-template-columns: 1fr; }
  .ct-submit { justify-self: stretch; }
  .ct-tiles { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-tile, .ct-field > span, .ct-submit, .ct-topic span { transition: none; }
  .ct-tile:hover { transform: none; }
}

/* Ürün ve kategori açıklama metni (richtext): ürün listesinden ayrık, maddeler işaretli */
.product-body-section { margin-block: 48px; max-width: 860px; }
.product-body-section ul { list-style: disc; padding-left: 1.4em; }
.product-body-section li + li { margin-top: 4px; }
.product-body-section h3 { margin-top: 28px; }
.product-body-section h4 { margin-top: 20px; }

/* Ürün galerisi küçük görselleri ve kullanım videosu */
.product-thumbs-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.product-thumbs-strip .thumb-btn { width: 76px; height: 76px; padding: 0; border: 2px solid var(--color-surface-border); border-radius: 10px; overflow: hidden; background: var(--color-surface); cursor: pointer; }
.product-thumbs-strip .thumb-btn.active, .product-thumbs-strip .thumb-btn:hover { border-color: var(--color-primary, #1463d8); }
.product-thumbs-strip .thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-video { display: block; width: 100%; margin-top: 16px; border-radius: var(--radius-md); background: #000; aspect-ratio: 16 / 9; }
