/* ══════════════════════════════════════════════════════
   Site CSS
   Tüm değişkenler config 'deki themeCSS() fonksiyonu
   tarafından <style> olarak sayfaya eklenir.
   ══════════════════════════════════════════════════════ */

/* ── Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #6366f1;
  --primary-rgb:   99,102,241;
  --primary-10:    rgba(99,102,241,.10);
  --primary-20:    rgba(99,102,241,.20);
  --primary-50:    rgba(99,102,241,.50);
  --btn-radius:    10px;
  --font:          'Inter', system-ui, sans-serif;
  --card-shadow:   0 4px 20px rgba(99,102,241,.10);
  --card-border:   none;

  --text:          #1e293b;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;
  --border:        #e2e8f0;
  --bg:            #f8fafc;
  --surface:       #ffffff;
  --header-h:      64px;
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --transition:    .18s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

/* ── Container ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--primary) 85%, #000);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb),.35);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-10);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; pointer-events: none; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.icon-btn:hover {
  background: var(--primary-10);
  color: var(--primary);
}

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

/* Classic Header */
.classic-header .header-top { padding: var(--header-py, 12px) 0; }
.classic-header .header-top-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.classic-header .search-form { flex: 1; max-width: 520px; }

/* Minimal Header */
.minimal-header .header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: var(--header-py, 12px) 0;
}
.minimal-header .search-form { flex: 1; max-width: 420px; }

/* Centered Header */
.centered-header .centered-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: var(--header-py, 12px) 0;
}
.centered-logo { justify-self: center; }
.header-side { display: flex; align-items: center; gap: 8px; }
.header-side-right { justify-content: flex-end; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

/* Logo */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo-img { height: var(--logo-height, 42px); width: auto; object-fit: contain; }
.site-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.5px;
}
.footer-logo { height: 36px; width: auto; }
.footer-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

/* Search */
.search-form {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-10);
}
.search-input {
  flex: 1;
  padding: 9px 16px;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--text);
}
.search-input::placeholder { color: var(--text-light); }
.search-btn {
  padding: 9px 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.search-btn:hover { color: var(--primary); }

/* Scroll Progress Bar */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--primary);
  z-index: 9999;
  transition: width .08s linear;
  pointer-events: none;
}

/* Nav */
.main-nav {
  background: var(--primary);
  display: block;
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: visible;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.1);
}

/* ── Kategori Dropdown ───────────────────────────── */
.nav-item-wrap {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}
.nav-item-wrap .nav-dropdown {
  display: none;
  position: fixed;
  top: -9999px;
  left: -9999px;
  min-width: 190px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  z-index: 99999;
  padding: 4px 0;
}
.nav-dropdown-link {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.nav-dropdown-link:hover,
.nav-dropdown-link.active {
  background: var(--primary-10);
  color: var(--primary);
  border-left-color: var(--primary);
}
.nav-link-arrow {
  margin-left: 5px;
  font-size: 9px;
  opacity: .75;
  transition: transform .2s;
}
.nav-item-wrap:hover .nav-link-arrow { transform: rotate(180deg); }
/* Sidebar alt kategori hiyerarşi */
.filter-suboption {
  font-size: 13px;
  color: var(--text-muted);
}
.filter-suboption:hover { color: var(--primary); }
.filter-suboption.active {
  background: var(--primary-10);
  color: var(--primary);
  font-weight: 600;
}

/* Hiyerarşi wrapper — her seviyede sol çizgi + girinti */
.filter-suboption-group {
  border-left: 2px solid var(--border);
  margin-left: 14px;
  margin-top: 2px;
  margin-bottom: 2px;
  padding-top: 2px;
}
.filter-suboption-group .filter-suboption-group {
  border-left-color: var(--primary-20);
}

/* Minimal header nav */
.minimal-header .main-nav { background: var(--bg); border-top: 1px solid var(--border); }
.minimal-header .nav-link { color: var(--text-muted); }
.minimal-header .nav-link:hover,
.minimal-header .nav-link.active { color: var(--primary); background: var(--primary-10); border-bottom-color: var(--primary); }

/* Centered nav */
.centered-nav { background: var(--primary); }
.centered-nav .nav-inner { justify-content: center; }

/* Cart Badge */
.cart-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* Mobile Menu */
.mobile-menu-btn { display: none; }
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 950;
}
.mobile-nav {
  position: fixed;
  top: 0; left: 0;
  width: 280px; height: 100%;
  background: var(--surface);
  z-index: 960;
  transform: translateX(-100%);
  transition: transform .25s ease;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0,0,0,.15);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-overlay.open { display: block; }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 17px;
}
.mobile-nav-link {
  display: block;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
  transition: all var(--transition);
}
.mobile-nav-link:hover { background: var(--primary-10); color: var(--primary); padding-left: 28px; }

/* ── Main ───────────────────────────────────────────── */
.site-main { flex: 1; }

/* ── Cards ──────────────────────────────────────────── */
.product-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: var(--card-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(var(--primary-rgb),.18);
}
.product-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  background: #fff;
  flex-shrink: 0;
  display: block;
}
/* ── Resim Doldur modu ─── */
.img-fit-cover .product-card-img {
  object-fit: cover;
  object-position: center;
  padding: 0;
}
.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.img-fit-cover .product-card-img-wrap { background: var(--bg); }
.product-card-img-wrap:hover .product-card-overlay { opacity: 1; }
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--primary-rgb),.12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-cat {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.product-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.compare-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-card-footer { padding: 0 14px 14px; }
.out-of-stock { color: #ef4444; font-size: 12px; font-weight: 600; }
.badge-stock-low {
  display: inline-block;
  background: #fef9c3;
  color: #a16207;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  margin-bottom: 8px;
}

/* Product Grid */
.product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(var(--grid-cols, 4), 1fr);
}

/* ── Slider / Banner ─────────────────────────────────── */
.slider-wrap {
  position: relative;
  overflow: hidden;
  background: var(--primary-10);
}
.slider-wrap.boxed { max-width: 1280px; margin: 0 auto; border-radius: var(--radius-lg); }
.slider-wrap.full-width {
  width: 100%;
  border-radius: 0 !important;
}
/* ── Vitrin — yanyana çok slaytlı carousel ──────────── */
.slider-wrap.vitrin {
  background: transparent;
  overflow: hidden;
}
.slider-wrap.vitrin .slider-inner {
  align-items: stretch;
  transition: transform .4s ease;
}
.slider-wrap.vitrin .slide {
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
}
.slider-wrap.vitrin.vitrin-full,
.slider-wrap.vitrin.vitrin-full .slide { border-radius: 0; }
.slider-wrap.vitrin .slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.slider-inner {
  display: flex;
  height: 100%;
  transition: transform .45s ease;
}
.slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}
.slide[data-href] { cursor: pointer; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Slider resmi görünümü — admin "Slider Resmi Görünümü" ayarı */
.slider-wrap.slider-fit-contain .slide img,
.slider-wrap.slider-fit-contain.vitrin .slide img { object-fit: contain; }
.slider-wrap.slider-fit-cover   .slide img,
.slider-wrap.slider-fit-cover.vitrin   .slide img { object-fit: cover; }
.slider-wrap.slider-fit-none    .slide img,
.slider-wrap.slider-fit-none.vitrin    .slide img { object-fit: none; }
/* Tam Genişlik — resim %100 ende, doğal yükseklikte (kırpılmaz); slider yüksekliği yerine resim boyu belirler */
.slider-wrap.slider-fit-fullwidth:not(.vitrin),
.slider-wrap.slider-fit-fullwidth:not(.vitrin) .slider-inner,
.slider-wrap.slider-fit-fullwidth:not(.vitrin) .slide { height: auto; }
.slider-wrap.slider-fit-fullwidth .slide img { width: 100%; height: auto; object-fit: fill; }
.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 60px;
  background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, transparent 100%);
  color: #fff;
}
.slide-content h2 { font-size: clamp(22px, 4vw, 48px); font-weight: 800; margin-bottom: 12px; }
.slide-content p  { font-size: clamp(14px, 2vw, 20px); margin-bottom: 24px; opacity: .9; max-width: 500px; }

.slider-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 60%, #000) 100%);
  color: #fff;
}
.slider-placeholder-inner { text-align: center; }
.slider-placeholder-inner h2 { font-size: clamp(20px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; }
.slider-placeholder-inner p  { font-size: clamp(14px, 2vw, 18px); opacity: .8; margin-bottom: 24px; }

.slider-controls { display: flex; gap: 8px; margin-top: 16px; }
.slider-btn-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
}
.slider-nav-btn {
  pointer-events: all;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: all var(--transition);
}
.slider-nav-btn:hover { background: #fff; transform: scale(1.1); }
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.slider-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* Heights */
.slider-h-sm  { height: 240px; }
.slider-h-md  { height: 380px; }
.slider-h-lg  { height: 520px; }
.slider-h-full { height: min(600px, 55vw); }

/* ── Section ────────────────────────────────────────── */
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px; height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 6px;
}
.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.section-link:hover { gap: 8px; }

/* ── Category Cards ─────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(var(--home-cat-cols, 4), minmax(0, 1fr));
  gap: 16px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: var(--card-border);
  transition: all var(--transition);
  text-align: center;
}
.category-card:hover {
  background: var(--primary-10);
  color: var(--primary);
  transform: translateY(-3px);
}
.category-card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 24px;
}
.category-card-name { font-size: 14px; font-weight: 600; }
.category-card-count { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* Resimli kategori kartı */
.category-card.category-card-img { padding: 0; overflow: hidden; }
.category-card.category-card-img .category-card-img-wrap {
  width: 100%; aspect-ratio: 1/1; overflow: hidden;
}
.category-card.category-card-img .category-card-thumb {
  width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease;
}
.category-card.category-card-img:hover .category-card-thumb { transform: scale(1.06); }
.category-card.category-card-img .category-card-name,
.category-card.category-card-img .category-card-count {
  padding: 0 12px;
}
.category-card.category-card-img .category-card-name { padding-top: 10px; }
.category-card.category-card-img .category-card-count { padding-bottom: 12px; }

/* ── Banner Strip ───────────────────────────────────── */
.banner-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.banner-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 180px;
  background: var(--primary-10);
}
.banner-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-card-link { display: block; height: 100%; }
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
}
.banner-overlay h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.banner-overlay p  { font-size: 13px; opacity: .85; margin-bottom: 10px; }
.banner-card:hover .banner-overlay { background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 100%); }

/* ── Urunler / Category Page ─────────────────────────── */
.cat-page-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* Sidebar filter */
.filter-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.filter-sidebar h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.filter-group { margin-bottom: 20px; }
.filter-group h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.filter-option:hover { background: var(--primary-10); color: var(--primary); }
.filter-option.active { background: var(--primary); color: #fff; font-weight: 600; }
.filter-option input[type=checkbox] { accent-color: var(--primary); }

/* Alt kategori ağacını kök öğeden görsel ayır */
.filter-suboption-group {
  border-left: 2px solid var(--border);
  margin-left: 12px;
  margin-top: 2px;
  margin-bottom: 2px;
}

/* Top filter bar */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.filter-bar-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.filter-tag {
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
}
.filter-tag:hover, .filter-tag.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.sort-select {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  outline: none;
  margin-left: auto;
}
.sort-select:focus { border-color: var(--primary); }

.cat-main { flex: 1; min-width: 0; }

/* ── Pagination ─────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 32px 0;
}
.page-btn {
  min-width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all var(--transition);
}
.page-btn:hover { background: var(--primary-10); color: var(--primary); border-color: var(--primary-50); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Product Detail ─────────────────────────────────── */
.product-detail-wrap {
  display: grid;
  gap: 48px;
  align-items: start;
}
.product-detail-wrap.layout-left { grid-template-columns: 1fr 1fr; }
.product-detail-wrap.layout-right { grid-template-columns: 1fr 1fr; direction: rtl; }
.product-detail-wrap.layout-right > * { direction: ltr; }
.product-detail-wrap.layout-top { grid-template-columns: 1fr; }

.product-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  margin-bottom: 12px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.product-info {}
.product-brand { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.product-title { font-size: 28px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.product-sku   { font-size: 12px; color: var(--text-light); margin-bottom: 16px; }

.product-price-block { margin-bottom: 24px; }
.product-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
}
.product-vat { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.product-variants { margin-bottom: 24px; }
.variants-label { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-btn {
  padding: 8px 16px;
  border: 2px solid var(--border);
  border-radius: var(--btn-radius);
  background: var(--surface);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.variant-btn:hover { border-color: var(--primary); color: var(--primary); }
.variant-btn.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.variant-btn:disabled { opacity: .4; pointer-events: none; }

.qty-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--btn-radius);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 20px;
}
.qty-btn {
  width: 40px; height: 42px;
  border: none;
  background: var(--bg);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--text);
}
.qty-btn:hover { background: var(--primary-10); color: var(--primary); }
.qty-input {
  width: 56px; height: 42px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  background: var(--surface);
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--btn-radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}
.add-to-cart-btn:hover {
  background: color-mix(in srgb, var(--primary) 85%, #000);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb),.35);
}
.add-to-cart-btn.sticky-btn {
  position: sticky;
  bottom: 20px;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb),.4);
}

.product-description {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.product-description h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.prose, .cms-content {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 14px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.prose p,
.cms-content p {
  display: block;
  margin-bottom: 0.75em;
}
.prose p:last-child,
.cms-content p:last-child { margin-bottom: 0; }
/* Shift+Enter satır kırılımı (paragraf içi) */
.prose p br,
.cms-content p br {
  display: block;
  margin-bottom: 0.35em;
}
/* Quill boş paragraf — gizle (cleanRichHtml ile de temizlenir) */
.prose p:has(> br:only-child),
.cms-content p:has(> br:only-child) {
  display: none;
  margin: 0;
  padding: 0;
}
.prose strong, .prose b,
.cms-content strong, .cms-content b { font-weight: 700; color: var(--text); }
.prose em, .prose i,
.cms-content em, .cms-content i { font-style: italic; }
.prose u, .cms-content u { text-decoration: underline; }
.prose ul, .prose ol,
.cms-content ul, .cms-content ol { padding-left: 20px; margin-bottom: 10px; }
.prose ul, .cms-content ul { list-style: disc; }
.prose ol, .cms-content ol { list-style: decimal; }
.prose li, .cms-content li { margin-bottom: 4px; }
.prose h1, .prose h2, .prose h3, .prose h4,
.cms-content h1, .cms-content h2, .cms-content h3, .cms-content h4 { color: var(--text); font-weight: 700; margin: 14px 0 6px; }
.prose h1, .cms-content h1 { font-size: 20px; }
.prose h2, .cms-content h2 { font-size: 18px; }
.prose h3, .cms-content h3 { font-size: 16px; }
.prose a, .cms-content a { color: var(--primary); text-decoration: underline; }
.prose blockquote, .cms-content blockquote {
  border-left: 4px solid var(--border);
  margin: 10px 0;
  padding-left: 16px;
  color: var(--text-muted);
}
.prose img, .cms-content img { max-width: 100%; height: auto; }
.prose .ql-align-center, .cms-content .ql-align-center { text-align: center; }
.prose .ql-align-right, .cms-content .ql-align-right { text-align: right; }
.prose .ql-align-justify, .cms-content .ql-align-justify { text-align: justify; }
/* Üçten fazla ardışık br gizle (çift boşluk korunur) */
.prose br + br + br,
.cms-content br + br + br { display: none; }

/* Quill editör HTML — madde işaretleri <ol><li data-list="bullet"> + .ql-ui */
.prose ol:has(> li[data-list]),
.cms-content ol:has(> li[data-list]) {
  list-style: none;
  counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
  padding-left: 1.5em;
}
.prose ol > li[data-list],
.cms-content ol > li[data-list] {
  list-style: none;
  padding-left: 1.5em;
  position: relative;
}
.prose ol > li[data-list] > .ql-ui::before,
.cms-content ol > li[data-list] > .ql-ui::before {
  display: inline-block;
  margin-left: -1.5em;
  margin-right: 0.3em;
  text-align: right;
  white-space: nowrap;
  width: 1.2em;
}
.prose ol > li[data-list="bullet"] > .ql-ui::before,
.cms-content ol > li[data-list="bullet"] > .ql-ui::before {
  content: "\2022";
}
.prose ol > li[data-list="ordered"],
.cms-content ol > li[data-list="ordered"] {
  counter-increment: list-0;
}
.prose ol > li[data-list="ordered"] > .ql-ui::before,
.cms-content ol > li[data-list="ordered"] > .ql-ui::before {
  content: counter(list-0, decimal) ". ";
}
/* .ql-ui yoksa yedek (eski kayıtlar) */
.prose ol > li[data-list="bullet"]:not(:has(.ql-ui))::before,
.cms-content ol > li[data-list="bullet"]:not(:has(.ql-ui))::before {
  content: "\2022";
  display: inline-block;
  margin-right: 0.35em;
}
.prose ol > li[data-list="ordered"]:not(:has(.ql-ui)),
.cms-content ol > li[data-list="ordered"]:not(:has(.ql-ui)) {
  list-style: decimal;
  padding-left: 0.25em;
}
.prose ol > li.ql-indent-1:not(.ql-direction-rtl),
.cms-content ol > li.ql-indent-1:not(.ql-direction-rtl) { padding-left: 4.5em; }
.prose ol > li.ql-indent-2:not(.ql-direction-rtl),
.cms-content ol > li.ql-indent-2:not(.ql-direction-rtl) { padding-left: 7.5em; }
.prose ol > li.ql-indent-3:not(.ql-direction-rtl),
.cms-content ol > li.ql-indent-3:not(.ql-direction-rtl) { padding-left: 10.5em; }

/* ── Cart ───────────────────────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.cart-table { background: var(--surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--card-shadow); }
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--bg);
  padding: 8px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.cart-item-variant { font-size: 12px; color: var(--text-muted); }
.cart-item-price { font-size: 16px; font-weight: 700; color: var(--primary); margin-top: 8px; }
.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  transition: color var(--transition);
  padding: 4px;
}
.cart-item-remove:hover { color: #ef4444; }

.cart-summary {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.cart-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.summary-row:last-of-type { border-bottom: none; }
.summary-total {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}
.empty-cart {
  text-align: center;
  padding: 80px 20px;
}
.empty-cart-icon { font-size: 64px; margin-bottom: 16px; }
.empty-cart h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.empty-cart p { color: var(--text-muted); margin-bottom: 24px; }

/* ── Auth / Forms ───────────────────────────────────── */
.auth-wrap {
  max-width: 460px;
  margin: 60px auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.auth-tab {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.auth-body { padding: 32px; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-10);
  background: var(--surface);
}
.form-control::placeholder { color: var(--text-light); }
.form-error { font-size: 12px; color: #ef4444; margin-top: 4px; }
.form-hint  { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Checkout ───────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.checkout-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 28px;
  margin-bottom: 20px;
}
.checkout-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-bottom: 10px;
  transition: all var(--transition);
}
.payment-option:has(input:checked),
.payment-option.selected { border-color: var(--primary); background: var(--primary-10); }
.payment-option input[type=radio] { accent-color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.payment-option-body h5 { font-size: 15px; font-weight: 600; }
.payment-option-body p  { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ── Account Page ───────────────────────────────────── */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
.account-nav {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.account-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.account-nav-link:last-child { border-bottom: none; }
.account-nav-link:hover { background: var(--primary-10); color: var(--primary); padding-left: 26px; }
.account-nav-link.active { background: var(--primary-10); color: var(--primary); font-weight: 700; }
.account-main {}

.order-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 16px;
}
.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.order-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}
.order-badge-pending    { background: #fef3c7; color: #92400e; }
.order-badge-processing { background: #dbeafe; color: #1e40af; }
.order-badge-shipped    { background: #d1fae5; color: #065f46; }
.order-badge-completed  { background: #dcfce7; color: #14532d; }
.order-badge-cancelled  { background: #fee2e2; color: #7f1d1d; }

/* ── Toast / Notifications ──────────────────────────── */
#toastContainer {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  background: var(--surface);
  border-left: 4px solid var(--primary);
  font-size: 14px;
  font-weight: 500;
  animation: slideIn .25s ease;
  max-width: 360px;
}
.toast.toast-success { border-left-color: #22c55e; }
.toast.toast-error   { border-left-color: #ef4444; }
.toast.toast-info    { border-left-color: var(--primary); }
@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);   opacity: 1; }
}

/* ── Alert ──────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success { background: #dcfce7; color: #14532d; border: 1px solid #86efac; }
.alert-error   { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }
.alert-info    { background: #dbeafe; color: #1e3a8a; border: 1px solid #93c5fd; }
.alert-warning { background: #fef9c3; color: #713f12; border: 1px solid #fde047; }

/* ── Loading ────────────────────────────────────────── */
.spinner {
  width: 24px; height: 24px;
  border: 3px solid var(--primary-20);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

/* ── WhatsApp FAB ───────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 150;
  transition: all var(--transition);
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  background: #121621;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}
.footer-main {
  padding: 52px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(140px, 1fr));
  gap: 40px 32px;
  align-items: start;
}
.footer-col-brand {
  max-width: 360px;
}
.footer-brand-name {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.footer-brand-name a {
  color: #fff;
  text-decoration: none;
}
.footer-brand-name a:hover {
  color: rgba(255, 255, 255, 0.9);
}
.footer-address {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}
.footer-contact-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 18px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s ease;
}
.footer-contact-list a:hover {
  color: #fff;
}
.footer-kart-img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 32px;
  object-fit: contain;
}
.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}
.footer-title-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.55);
}
.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-list a::before {
  content: "– ";
  color: rgba(255, 255, 255, 0.35);
}
.footer-links-list a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.18s ease;
}
.footer-links-list a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.footer-copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-social-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.18s ease;
}
.footer-social-link:hover {
  color: #fff;
}
.footer-social-link svg {
  flex-shrink: 0;
  opacity: 0.85;
}

/* ── Breadcrumb ─────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--text-light); }
.breadcrumb-active { color: var(--text); font-weight: 500; }

/* ── Page Header ────────────────────────────────────── */
/* ── İlgili Ürünler Slider ───────────────────────────── */
.related-slider-wrap {
  position: relative;
}
.related-slider {
  display: grid;
  grid-template-columns: repeat(var(--rel-cols, 4), minmax(0, 1fr));
  gap: 20px;
  overflow: hidden;
}
.related-slider-wrap.is-slider .related-slider {
  display: flex;
  overflow: hidden;
  gap: 0;
  transition: transform .35s ease;
  will-change: transform;
}
.related-slider-wrap.is-slider .related-slide {
  flex: 0 0 calc(100% / var(--rel-cols, 4));
  padding-right: 20px;
  box-sizing: border-box;
}
.related-prev,
.related-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  z-index: 2;
  transition: background .15s, box-shadow .15s;
}
.related-prev:hover, .related-next:hover {
  background: var(--primary);
  color: #fff;
}
.related-prev { left: -18px; }
.related-next { right: -18px; }

/* ── Kategori Banner ────────────────────────────────── */
.cat-banner-wrap {
  position: relative;
  width: 100%;
  max-height: 280px;
  overflow: hidden;
}
.cat-banner-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.cat-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  display: flex;
  align-items: center;
}
.cat-banner-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.cat-banner-desc {
  font-size: 15px;
  color: rgba(255,255,255,.88);
  margin-top: 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.page-header {
  background: linear-gradient(135deg, var(--primary-10) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  margin-bottom: 5px;
}
.page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── CMS Page Blocks ──────────────────────────────────── */

.cms-page-wrap {
  max-width: 1280px;
  padding: 40px 20px 80px;
}
/* Sayfa başlığı — kategori listesi .page-header h1 ile aynı */
.cms-page-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 24px;
  color: var(--text);
}
.cms-page-breadcrumb {
  padding: 0 0 16px;
}
.cms-page-children {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.cms-page-children-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}
.cms-page-children-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.cms-page-child-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius, 8px);
  background: var(--bg-card, #fff);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition, .2s), box-shadow var(--transition, .2s);
}
.cms-page-child-link:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.cms-page-child-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.cms-page-child-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Base block spacing */
.cms-blocks { display: flex; flex-direction: column; gap: 0; }
.cms-block   { margin-bottom: 40px; }
.cms-block:last-child { margin-bottom: 0; }

/* ── Text block ── */
.block-text.prose,
.block-text .prose { font-size: 16px; line-height: 1.75; }

/* ── Image + Text block ── */
.block-image-text {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.block-image-text.vertical {
  flex-direction: column;
  gap: 20px;
}
.block-image-text.layout-image-right { flex-direction: row-reverse; }
.block-image-text.layout-image-bottom { flex-direction: column-reverse; }

.block-image-text .img-col { flex-shrink: 0; }
.block-image-text .img-col img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  display: block;
}
.block-image-text.vertical .img-col { width: 100% !important; }

.block-image-text .img-w-25 { width: 25%; }
.block-image-text .img-w-33 { width: 33.33%; }
.block-image-text .img-w-40 { width: 40%; }
.block-image-text .img-w-50 { width: 50%; }

.block-image-text .text-col { flex: 1 1 0; min-width: 0; }
.block-image-text .block-title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

/* ── Full-width image block ── */
.block-full-image .full-image-img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
}
.block-full-image .full-image-img--auto {
  height: auto;
  max-width: 100%;
}
.block-full-image .full-image-img--fixed {
  width: 100%;
  object-fit: cover;
}
.block-full-image .img-caption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Gallery block ── */
.block-gallery {
  display: grid;
  gap: 12px;
}
.block-gallery.cols-1 { grid-template-columns: repeat(1, 1fr); }
.block-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.block-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.block-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.block-gallery.cols-5 { grid-template-columns: repeat(5, 1fr); }
.block-gallery.cols-6 { grid-template-columns: repeat(6, 1fr); }
.block-gallery.cols-7 { grid-template-columns: repeat(7, 1fr); }
.block-gallery.cols-8 { grid-template-columns: repeat(8, 1fr); }
.block-gallery.cols-9 { grid-template-columns: repeat(9, 1fr); }
.block-gallery.cols-10 { grid-template-columns: repeat(10, 1fr); }
.block-gallery.cols-11 { grid-template-columns: repeat(11, 1fr); }
.block-gallery.cols-12 { grid-template-columns: repeat(12, 1fr); }

.block-gallery.cols-mobile-1 { --cms-gallery-cols-mobile: 1; }
.block-gallery.cols-mobile-2 { --cms-gallery-cols-mobile: 2; }
.block-gallery.cols-mobile-3 { --cms-gallery-cols-mobile: 3; }
.block-gallery.cols-mobile-4 { --cms-gallery-cols-mobile: 4; }
.block-gallery.cols-mobile-5 { --cms-gallery-cols-mobile: 5; }
.block-gallery.cols-mobile-6 { --cms-gallery-cols-mobile: 6; }
.block-gallery.cols-mobile-7 { --cms-gallery-cols-mobile: 7; }
.block-gallery.cols-mobile-8 { --cms-gallery-cols-mobile: 8; }
.block-gallery.cols-mobile-9 { --cms-gallery-cols-mobile: 9; }
.block-gallery.cols-mobile-10 { --cms-gallery-cols-mobile: 10; }
.block-gallery.cols-mobile-11 { --cms-gallery-cols-mobile: 11; }
.block-gallery.cols-mobile-12 { --cms-gallery-cols-mobile: 12; }

.block-gallery .gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); }
.block-gallery .gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.block-gallery .gallery-item:hover img { transform: scale(1.04); }
.block-gallery .gallery-caption {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* ── YouTube block ── */
.block-youtube {
  display: grid;
  gap: 20px;
}
.block-youtube.cols-1 { grid-template-columns: 1fr; }
.block-youtube.cols-2 { grid-template-columns: repeat(2, 1fr); }
.block-youtube.cols-3 { grid-template-columns: repeat(3, 1fr); }
.block-youtube.cols-4 { grid-template-columns: repeat(4, 1fr); }
.block-youtube.cols-5 { grid-template-columns: repeat(5, 1fr); }

.block-youtube.cols-mobile-1 { --cms-youtube-cols-mobile: 1; }
.block-youtube.cols-mobile-2 { --cms-youtube-cols-mobile: 2; }
.block-youtube.cols-mobile-3 { --cms-youtube-cols-mobile: 3; }
.block-youtube.cols-mobile-4 { --cms-youtube-cols-mobile: 4; }
.block-youtube.cols-mobile-5 { --cms-youtube-cols-mobile: 5; }

.block-youtube .youtube-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0f172a;
}
.block-youtube .youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.block-youtube .youtube-caption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* ── Maps block ── */
.block-maps .maps-embed {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.block-maps .maps-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Contact form block ── */
.block-contact-form {
  max-width: 560px;
}
.block-contact-form .cms-contact-form .form-group {
  margin-bottom: 14px;
}

/* ── Legal agreements ── */
.legal-agreements-wrap {
  margin: 16px 0;
}
.legal-agreement-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
  cursor: pointer;
}
.legal-agreement-item input {
  margin-top: 3px;
  flex-shrink: 0;
}
.legal-agreement-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}
.legal-req {
  color: var(--danger);
}
.legal-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.legal-index-list li {
  margin-bottom: 10px;
}
.legal-index-list a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.legal-index-list a:hover {
  text-decoration: underline;
}
.legal-doc-page .legal-doc-content {
  margin-top: 20px;
}

/* ── File download list ── */
.block-files-title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  margin-bottom: 16px;
}
.block-files .file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.block-files .file-list-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--text);
  transition: border-color .18s, box-shadow .18s;
}
.block-files .file-list-link:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.block-files .file-list-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-files .file-list-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.block-files .file-list-name {
  font-weight: 600;
  font-size: 14px;
  word-break: break-word;
}
.block-files .file-list-size {
  font-size: 12px;
  color: var(--text-muted);
}
.block-files .file-list-dl {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--primary);
  opacity: .7;
}

/* ── CTA block ── */
.block-cta { border-radius: var(--radius-lg); overflow: hidden; }
.cta-inner  { padding: 48px 40px; }

.cta-align-left   .cta-inner { text-align: left; }
.cta-align-center .cta-inner { text-align: center; }
.cta-align-right  .cta-inner { text-align: right; }

.cta-style-primary {
  background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 70%, #000) 100%);
  color: #fff;
}
.cta-style-outline {
  background: var(--bg-card);
  border: 2px solid color-mix(in srgb, var(--primary) 35%, var(--border));
  color: var(--text);
}
.cta-style-ghost {
  background: color-mix(in srgb, var(--primary) 8%, var(--bg-card));
  border: 1px solid var(--border);
  color: var(--text);
}
.cta-style-light {
  background: var(--primary-10);
  border: 1px solid var(--border);
  color: var(--text);
}
.cta-style-dark {
  background: #1e293b;
  color: #fff;
}

.block-cta .cta-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  margin-bottom: 10px;
}
.cta-style-primary .cta-title,
.cta-style-dark    .cta-title { color: #fff; }
.cta-style-outline .cta-title,
.cta-style-ghost   .cta-title,
.cta-style-light   .cta-title { color: var(--text); }

.block-cta .cta-subtitle {
  font-size: 16px;
  margin-bottom: 24px;
  opacity: .85;
}
.cta-style-outline .cta-subtitle,
.cta-style-ghost   .cta-subtitle { color: var(--text-muted); }

.block-cta .btn-cta {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: 15px;
  transition: opacity .18s, transform .18s, background .18s, border-color .18s, color .18s;
  text-decoration: none;
}
.block-cta .btn-cta:hover { opacity: .88; transform: translateY(-1px); }
.cta-style-primary .btn-cta {
  background: rgba(255, 255, 255, .2);
  border: 2px solid rgba(255, 255, 255, .5);
  color: #fff;
}
.cta-style-outline .btn-cta {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.cta-style-ghost .btn-cta {
  background: transparent;
  border: 2px solid transparent;
  color: var(--primary);
  box-shadow: none;
}
.cta-style-ghost .btn-cta:hover {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}
.cta-style-light .btn-cta { background: var(--primary); color: #fff; border: none; }
.cta-style-dark    .btn-cta { background: var(--primary); color: #fff; border: none; }

/* ── Divider block ── */
.block-divider { padding: 8px 0; }
.block-divider hr { border: none; }
.divider-solid  hr { border-top: 1px solid var(--border); }
.divider-dashed hr { border-top: 1px dashed var(--border); }
.divider-dotted hr { border-top: 1px dotted var(--border); }
.divider-thick  hr { border-top: 3px solid var(--border); }
.divider-none   hr { border: none; height: 32px; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .block-image-text:not(.vertical) {
    flex-direction: column !important;
  }
  .block-image-text .img-col {
    width: 100% !important;
  }
  .block-gallery[class*="cols-mobile-"] {
    grid-template-columns: repeat(var(--cms-gallery-cols-mobile, 2), 1fr);
  }
  .block-youtube[class*="cols-mobile-"] {
    grid-template-columns: repeat(var(--cms-youtube-cols-mobile, 1), 1fr);
  }
  .cta-inner { padding: 32px 20px; }
}
.page-header h1 { font-size: 26px; font-weight: 800; }
.page-header p  { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ── Utilities ──────────────────────────────────────── */
.text-primary  { color: var(--primary); }
.text-muted    { color: var(--text-muted); }
.text-center   { text-align: center; }
.font-bold     { font-weight: 700; }
.mt-auto       { margin-top: auto; }
.mb-0          { margin-bottom: 0; }
.gap-8         { gap: 8px; }
.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.items-center  { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full        { width: 100%; }
.hidden        { display: none; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .cat-page-layout { flex-direction: column; }
  .filter-sidebar { width: 100%; position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; }
}

@media (max-width: 768px) {
  .product-detail-wrap.layout-left,
  .product-detail-wrap.layout-right { grid-template-columns: 1fr; direction: ltr; }
  .product-gallery { position: static; }
  .mobile-menu-btn { display: flex; }
  .main-nav { display: none; }
  .search-form { display: none; }
  .classic-header .header-top-inner { gap: 8px; }
  .centered-header .centered-top { grid-template-columns: 1fr auto; }
  .centered-header .header-side:first-child { display: none; }

  .product-grid { grid-template-columns: repeat(var(--grid-cols-mobile, 2), 1fr); }

  /* Kategori sayfa başlığı: mobilde dikey yığ — sıralama dropdown'u alta */
  .page-header { padding: 16px 0; margin-bottom: 0; }
  .page-header-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .page-header h1 { font-size: 22px; }
  .cms-page-title { font-size: 22px; margin-bottom: 20px; }
  .page-header .sort-select { width: 100%; }

  /* Mobilde "Kategoriler:" etiketi gerekmiyor */
  .filter-bar-label { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-col-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .footer-social-row {
    gap: 14px;
  }
  .banner-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .slide-content { padding: 20px 28px; }
  .slider-h-lg { height: 280px; }
  .slider-h-full { height: 240px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-col-brand {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(var(--grid-cols-mobile, 2), 1fr); gap: 12px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 14px; }
  .product-title { font-size: 22px; }
  .product-price { font-size: 28px; }
  .auth-body { padding: 24px 20px; }
}

/* ── CMS lightbox (blog / sayfa) ─────────────────────── */
.pg-lb {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0, 0, 0, .92);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.pg-lb.is-open { display: flex; }
.pg-lb-stage {
  max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pg-lb-stage img {
  max-width: 90vw; max-height: 80vh;
  object-fit: contain; display: block;
  user-select: none; -webkit-user-drag: none;
}
.pg-lb-cap {
  margin-top: 12px; max-width: 90vw;
  color: rgba(255, 255, 255, .85); font-size: 14px; text-align: center;
}
.pg-lb-close, .pg-lb-nav {
  position: absolute;
  background: rgba(255, 255, 255, .1); color: #fff; border: none;
  cursor: pointer; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: inherit; line-height: 1;
  transition: background .15s;
}
.pg-lb-close:hover, .pg-lb-nav:hover { background: rgba(255, 255, 255, .22); }
.pg-lb-close { top: 20px; right: 20px; width: 42px; height: 42px; font-size: 26px; }
.pg-lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 32px; }
.pg-lb-prev { left: 20px; }
.pg-lb-next { right: 20px; }
.pg-lb-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 600;
  background: rgba(0, 0, 0, .4); padding: 6px 14px; border-radius: 20px;
}
body.cms-lb-open { overflow: hidden; }
[data-cms-lightbox] img.cms-lb-ready,
[data-cms-lightbox] .cms-lb-trigger { cursor: zoom-in; }
.cms-lb-trigger {
  display: block; padding: 0; border: none; background: none;
  width: 100%; text-align: inherit; font: inherit;
}
@media (max-width: 640px) {
  .pg-lb-nav { width: 40px; height: 40px; font-size: 26px; }
  .pg-lb-prev { left: 8px; }
  .pg-lb-next { right: 8px; }
  .pg-lb-close { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 22px; }
}

/* ── Referanslar (ana sayfa + referanslar sayfası) ─── */
.section-header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.section-more-link {
  font-size: 14px; font-weight: 600; color: var(--primary);
  text-decoration: none; white-space: nowrap;
}
.section-more-link:hover { text-decoration: underline; }

.home-references { background: var(--surface, #fff); }

.refs-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}
.refs-logo-grid--page {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  margin-top: 8px;
}
.refs-logo-item,
.refs-logo-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 20px 16px;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 12px);
  text-decoration: none; color: inherit;
  transition: box-shadow .15s, border-color .15s;
}
.refs-logo-item:hover {
  border-color: var(--primary-20, rgba(99,102,241,.2));
  box-shadow: var(--card-shadow, 0 4px 20px rgba(0,0,0,.06));
}
.refs-logo-item img,
.refs-logo-card img {
  max-width: 80px; max-height: 56px; object-fit: contain;
}
.refs-logo-fallback {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary-10, rgba(99,102,241,.1));
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.refs-logo-fallback--lg { width: 56px; height: 56px; font-size: 22px; }
.refs-logo-name {
  font-size: 12px; font-weight: 600; text-align: center;
  color: var(--text); line-height: 1.3;
}
.refs-logo-sector { font-size: 11px; color: var(--text-muted); text-align: center; }

.refs-page-wrap { padding: 40px 20px 80px; }
.refs-page-title {
  text-align: center; margin-bottom: 12px;
  font-size: clamp(22px, 4vw, 36px);
}
.refs-page-lead {
  text-align: center; color: var(--text-muted);
  margin-bottom: 48px; font-size: 15px;
}
.refs-empty { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.refs-empty-icon { font-size: 48px; margin-bottom: 12px; }
.refs-empty-title { font-size: 16px; font-weight: 600; }

.refs-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; margin-bottom: 48px;
}
.refs-testimonial-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 12px);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.refs-testimonial-head { display: flex; align-items: center; gap: 14px; }
.refs-testimonial-logo {
  width: 52px; height: 52px; object-fit: contain;
  border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg, #f8fafc);
}
.refs-testimonial-name { font-size: 15px; font-weight: 700; }
.refs-testimonial-sector { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.refs-stars { color: #f59e0b; font-size: 14px; margin-top: 2px; }
.refs-quote {
  margin: 0; font-size: 14px; color: var(--text-2, #4b5563);
  line-height: 1.6; font-style: italic;
}
.refs-website-link {
  font-size: 12px; color: var(--primary);
  text-decoration: none; align-self: flex-start;
}
.refs-website-link:hover { text-decoration: underline; }
.refs-subtitle {
  text-align: center; font-size: 18px; font-weight: 600;
  margin-bottom: 28px; color: var(--text);
}

/* ── İletişim sayfası ───────────────────────────────── */
.contact-page { padding: 32px 0 72px; }
.contact-page-header { text-align: center; margin-bottom: 40px; }
.contact-page-title {
  font-size: clamp(26px, 4vw, 38px); font-weight: 800;
  margin-bottom: 10px; color: var(--text);
}
.contact-page-lead { color: var(--text-muted); font-size: 15px; max-width: 520px; margin: 0 auto; }

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-page-grid { grid-template-columns: 1fr; }
}

.contact-info-panel,
.contact-form-panel {
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 16px);
  padding: 28px;
}
.contact-info-heading { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon { font-size: 20px; line-height: 1; flex-shrink: 0; }
.contact-info-label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-value { font-size: 14px; color: var(--text); text-decoration: none; }
a.contact-info-value:hover { color: var(--primary); text-decoration: underline; }
.contact-info-address { line-height: 1.6; }

.contact-map-wrap { margin-top: 8px; }
.contact-map {
  width: 100%; height: 220px; border: 1px solid var(--border);
  border-radius: var(--radius-md, 12px);
}
.contact-map-link {
  display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600;
  color: var(--primary); text-decoration: none;
}
.contact-map-link:hover { text-decoration: underline; }

.contact-form-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.contact-form-alert {
  padding: 12px 14px; border-radius: var(--radius-sm, 8px);
  font-size: 14px; margin-bottom: 16px;
}
.contact-form-alert--success {
  background: #ecfdf5; color: #166534; border: 1px solid #bbf7d0;
}
.contact-form-alert--error {
  background: #fef2f2; color: #991b1b; border: 1px solid #fecaca;
}
.contact-form .form-row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 560px) {
  .contact-form .form-row-2 { grid-template-columns: 1fr; }
}
.contact-form .form-group { margin-bottom: 14px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.contact-form .req { color: #ef4444; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 10px 12px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--border); border-radius: var(--radius-sm, 8px);
  background: var(--surface, #fff); color: var(--text);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-recaptcha-wrap { display: flex; justify-content: center; }