/* =========================================================
   MUBO — E-ticaret Ön Yüz Prototipi
   Tasarım dili: endüstriyel katalog + metalik gradyan + dijital vurgu
   ========================================================= */

:root{
  /* --- Renk paleti: metalik beyaz / metalik gri / lacivert (admin ile uyumlu) --- */
  --ink:        #131d3f;   /* koyu lacivert — ana metin */
  --charcoal:   #1e2a52;   /* lacivert yüzeyler */
  --steel:      #5a6480;   /* gri-lacivert orta ton */
  --steel-2:    #8f97ad;
  --mist:       #cfd4de;
  --line:       #dde0e7;
  --line-dark:  #2a3560;
  --paper:      #f2f3f6;   /* metalik beyaz zemin */
  --paper-2:    #e8eaef;   /* metalik gri yüzey */
  --white:      #ffffff;
  --accent:     #1e2f6e;   /* lacivert vurgu */
  --accent-ink: #16224d;
  --accent-soft:#e6eaf6;
  --good:       #15803d;
  --warn:       #b45309;
  --danger:     #dc2626;

  /* --- Semantik takma adlar (view'lar bu isimleri kullanıyor) --- */
  --text:       var(--ink);
  --text-muted: var(--steel);
  --text-dim:   #45464b;
  --bg:         var(--paper);
  --bg-alt:     #f1f1ef;
  --bg-card:    var(--paper-2);
  --border:     var(--line);
  --success:    var(--good);

  /* --- Tipografi --- */
  --f-display: 'Poppins', sans-serif;
  --f-body:    'Poppins', sans-serif;
  --f-mono:    'Poppins', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;
  --container: 1280px;

  --shadow-1: 0 1px 2px rgba(11,11,12,.06);
  --shadow-2: 0 12px 32px -14px rgba(11,11,12,.28);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--f-body);
  background:
    radial-gradient(1100px 420px at 88% -8%, rgba(255,255,255,.85), transparent 60%),
    linear-gradient(165deg, #f5f6f8 0%, #eef0f4 55%, #e9ebf0 100%);
  background-color:#eef0f4; /* attachment:fixed titreme yapıyordu — kaldırıldı */
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  font-size:16px;
  line-height:1.5;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; font-size:1rem; }

h1,h2,h3,h4{
  font-family:var(--f-display);
  font-weight:600;
  letter-spacing:-.01em;
  margin:0;
}

:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
  border-radius:4px;
}

.container{
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:28px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- Spec / mono etiketleri ---------- */
.spec-tag{
  font-family:var(--f-mono);
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--steel);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.spec-tag::before{
  content:'';
  width:14px;
  height:1px;
  background:var(--steel-2);
}

/* ---------- Üst bildirim şeridi ---------- */
.topbar{
  background:var(--ink);
  color:var(--mist);
  font-family:var(--f-mono);
  font-size:11.5px;
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-block:0;
  gap:16px;
  overflow-x:auto;
  height:36px;
}
.topbar-links{ display:flex; gap:20px; white-space:nowrap; }
.topbar-links a{ color:var(--steel-2); transition:color .15s; }
.topbar-links a:hover{ color:var(--white); }
.topbar-market{ display:flex; gap:14px; align-items:center; white-space:nowrap; }
.topbar-market span{ color:#55565c; }

/* Topbar slider */
.topbar-slider-wrap {
  flex: 0 1 520px;
  max-width: 520px;
  height: 36px;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
}
.ts-track {
  display: flex;
  height: 100%;
  animation: ts-scroll 16s infinite;
}
.ts-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ts-slide a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}
.ts-slide img,
.ts-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ts-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7), transparent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  text-align: center;
  letter-spacing: .03em;
}
@keyframes ts-scroll {
  0%, 20% { transform: translateX(0); }
  25%, 45% { transform: translateX(-100%); }
  50%, 70% { transform: translateX(-200%); }
  75%, 95% { transform: translateX(-300%); }
  100% { transform: translateX(0); }
}

/* ---------- Header ---------- */
header.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(247,247,245,.92);
  /* Perf: scroll sırasında sticky+blur her frame'de yeniden hesaplanıyor;
     blur miktarını hafifletip elemanı kendi katmanına alarak (will-change)
     kasmayı azaltıyoruz. */
  backdrop-filter:blur(8px);
  will-change: transform;
  border-bottom:1px solid var(--line);
}
.header-row{
  display:flex; align-items:center; gap:28px;
  padding-block:10px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  flex-shrink:0;
}
.brand img{
  height:44px; width:auto; object-fit:contain;
}
.brand-word{
  font-family:var(--f-display);
  font-weight:700;
  font-size:20px;
  letter-spacing:.01em;
}
.brand-word small{
  display:block;
  font-family:var(--f-mono);
  font-weight:400;
  font-size:10px;
  letter-spacing:.14em;
  color:var(--steel);
  text-transform:uppercase;
  margin-top:1px;
}

.nav-main{ display:flex; gap:26px; flex:1; }
.nav-main > li{ position:relative; }
.nav-main > li > a{
  font-size:14.5px; font-weight:500;
  padding:8px 2px;
  display:flex; align-items:center; gap:5px;
  color:var(--charcoal);
}
.nav-main > li > a:hover{ color:var(--accent); }
.nav-main .chev{ font-size:10px; color:var(--steel-2); transition:transform .15s; }
.nav-main > li:hover .chev{ transform:rotate(180deg); }

.mega{
  position:absolute; top:100%; left:-20px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-2);
  padding:20px;
  width:660px;
  display:flex;
  gap:22px;
  opacity:0; visibility:hidden; transform:translateY(6px);
  transition:opacity .18s, transform .18s, visibility .18s;
}
.nav-main > li:hover .mega{ opacity:1; visibility:visible; transform:translateY(8px); }
.mega-links{
  flex:1;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:2px 20px;
  align-content:start;
}
.mega a{
  display:flex; align-items:center; gap:9px;
  padding:8px 10px; border-radius:8px;
  font-size:13.5px; color:var(--charcoal);
}
.mega a:hover{ background:var(--paper-2); color:var(--accent); }
.mega a .n{ margin-left:auto; font-family:var(--f-mono); font-size:10.5px; color:var(--steel-2); }
.mega a .ic{ color:var(--steel); flex-shrink:0; }
.mega a:hover .ic{ color:var(--accent); }
.mega .mega-head{
  grid-column:1/-1;
  font-family:var(--f-mono); font-size:11px; letter-spacing:.08em;
  color:var(--steel); text-transform:uppercase;
  padding:2px 10px 8px; border-bottom:1px solid var(--line); margin-bottom:4px;
  display:flex; align-items:center; justify-content:space-between;
}
.mega .mega-head a{ padding:0; display:inline; color:var(--accent); text-transform:none; letter-spacing:0; font-family:var(--f-body); font-size:12px; }
.mega .mega-head a:hover{ background:none; }
.mega-promo{
  width:210px; flex-shrink:0;
  border-radius:10px; border:1px solid var(--line);
  background:linear-gradient(160deg,var(--paper-2) 0%, var(--paper) 100%);
  padding:16px; display:flex; flex-direction:column; gap:8px;
  position:relative; overflow:hidden;
}
.mega-promo .spec-tag{ font-size:10.5px; }
.mega-promo h6{ font-family:var(--f-display); font-size:15px; font-weight:600; line-height:1.3; margin-top:4px; }
.mega-promo p{ font-size:12px; color:var(--steel); margin:0; line-height:1.5; }
.mega-promo .btn{ margin-top:auto; }
.mega-promo svg{ position:absolute; right:-18px; bottom:-18px; opacity:.5; }

.header-actions{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.icon-btn{
  width:44px; height:44px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line); background:var(--white);
  position:relative; color:var(--ink);
  transition:border-color .15s, background .15s;
}
.icon-btn:hover{ border-color:var(--steel-2); background:var(--paper-2); }
.icon-btn .badge{
  position:absolute; top:-6px; right:-6px;
  background:var(--accent); color:#fff;
  font-family:var(--f-mono); font-size:10.5px; font-weight:600;
  min-width:18px; height:18px; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  padding:0 4px;
}
.search-wrap{
  flex:1; max-width:420px;
  display:flex; align-items:center; gap:8px;
  border:1px solid var(--line); border-radius:10px;
  padding:11px 14px; background:var(--white);
}
.search-wrap input{
  border:none; outline:none; flex:1; background:transparent; font-size:14px;
}
.search-wrap svg{ flex-shrink:0; color:var(--steel); }

.burger{ display:none; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px; border-radius:10px;
  font-size:14.5px; font-weight:600;
  border:1px solid transparent; transition:transform .12s, background .15s, border-color .15s, color .15s;
}
.btn:active{ transform:scale(.97); }
.btn-primary{ background:var(--ink); color:#fff; }
.btn-primary:hover{ background:#000; }
.btn-accent{ background:var(--accent); color:#fff; }
.btn-accent:hover{ background:var(--accent-ink); }
.btn-outline{ background:transparent; border-color:var(--charcoal); color:var(--charcoal); }
.btn-outline:hover{ background:var(--ink); color:#fff; }
.btn-ghost{ background:transparent; color:var(--charcoal); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--steel-2); }
.btn-sm{ padding:9px 16px; font-size:13px; }
.btn-block{ width:100%; }

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(180deg,#fdfdfc 0%, var(--paper) 100%);
  border-bottom:1px solid var(--line);
}
.hero .container{
  display:grid; grid-template-columns:1.05fr .95fr; gap:40px;
  align-items:center; padding-block:64px;
  position:relative; z-index:2;
}
.hero-mark{
  position:absolute; right:-160px; top:50%; transform:translateY(-50%);
  width:900px; opacity:.5; z-index:1; filter:saturate(0);
  pointer-events:none;
}
.hero-eyebrow{ margin-bottom:18px; }
.hero h1{
  font-size:clamp(34px,4.4vw,58px);
  line-height:1.03;
  max-width:15ch;
}
.hero h1 em{
  font-style:normal;
  background:linear-gradient(100deg, var(--steel) 0%, var(--ink) 55%, var(--ink) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p.lead{
  margin-top:20px; font-size:17px; color:var(--steel); max-width:46ch;
}
.hero-cta{ display:flex; gap:12px; margin-top:32px; flex-wrap:wrap; }
.hero-stats{
  display:flex; gap:0; margin-top:44px;
  border-top:1px solid var(--line); padding-top:22px;
}
.hero-stats div{ padding-right:34px; margin-right:34px; border-right:1px solid var(--line); }
.hero-stats div:last-child{ border-right:none; margin:0; padding:0; }
.hero-stats strong{ display:block; font-family:var(--f-display); font-size:24px; }
.hero-stats span{ font-size:12.5px; color:var(--steel); }

.hero-panel{
  position:relative; z-index:2;
  background:var(--ink); color:#fff;
  border-radius:var(--radius-lg);
  padding:26px; box-shadow:var(--shadow-2);
}
.hero-panel-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.hero-panel-top .spec-tag{ color:var(--steel-2); }
.hero-panel-top .spec-tag::before{ background:#3a3b40; }
.dot{ width:8px; height:8px; border-radius:50%; background:#22c17a; box-shadow:0 0 0 3px rgba(34,193,122,.18); }
.hero-panel-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:13px 0; border-bottom:1px solid var(--line-dark);
  font-size:13.5px;
}
.hero-panel-row:last-of-type{ border-bottom:none; }
.hero-panel-row .l{ color:var(--steel-2); }
.hero-panel-row .r{ font-family:var(--f-mono); }
.hero-panel-chart{
  margin-top:16px; height:64px; border-radius:10px; overflow:hidden;
  background:var(--charcoal); position:relative;
}
.hero-panel-chart svg{ width:100%; height:100%; }
.hero-panel-foot{
  display:flex; gap:8px; margin-top:16px;
}
.chip{
  font-family:var(--f-mono); font-size:11px; padding:6px 10px; border-radius:20px;
  background:var(--charcoal); color:var(--steel-2); border:1px solid var(--line-dark);
}

/* ---------- Section shell ---------- */
.section{ padding-block:72px; }
.section.tight{ padding-block:48px; }
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:24px; margin-bottom:34px;
}
.section-head h2{ font-size:clamp(24px,2.6vw,34px); margin-top:10px; max-width:22ch; }
.section-head p{ color:var(--steel); margin-top:8px; max-width:52ch; font-size:15px; }
.section-alt{ background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-dark{ background:var(--ink); color:#fff; }
.section-dark .spec-tag{ color:var(--steel-2); }
.section-dark .spec-tag::before{ background:#3a3b40; }

/* seam divider — logo motifinden gelen imza öge */
.seam{
  height:34px; position:relative; overflow:hidden;
}
.seam svg{ width:100%; height:100%; display:block; }

/* ---------- Kategori ızgarası ---------- */
.cat-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:14px;
}
.cat-card{
  border:1px solid var(--line); border-radius:var(--radius-md);
  background:var(--white); padding:20px;
  display:flex; flex-direction:column; gap:34px;
  transition:border-color .18s, transform .18s, box-shadow .18s;
  min-height:150px;
}
.cat-card:hover{ border-color:var(--charcoal); transform:translateY(-3px); box-shadow:var(--shadow-2); }
.cat-card .icon{
  width:38px; height:38px; border-radius:9px;
  background:var(--paper-2); display:flex; align-items:center; justify-content:center;
  color:var(--ink);
}
.cat-card .cnt{ margin-top:auto; display:flex; justify-content:space-between; align-items:center; }
.cat-card h3{ font-size:15.5px; font-weight:600; font-family: 'Poppins', sans-serif; }
.cat-card .cnt span{ font-family:var(--f-mono); font-size:11.5px; color:var(--steel); }
.cat-card .arrow{ color:var(--steel-2); transition:transform .18s; }
.cat-card:hover .arrow{ transform:translateX(3px); color:var(--ink); }
.cat-card .cnt{ flex-direction:column; align-items:stretch; gap:2px; }
.cat-card .cnt .sub-labels{ font-family:var(--f-mono); font-size:10.5px; color:var(--steel-2); margin-top:1px; }
.cat-card.has-sub .arrow{ align-self:flex-end; margin-top:-18px; }

/* ---------- Ürün kartları ---------- */
.prod-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.prod-grid.cols-3{ grid-template-columns:repeat(3,1fr); }
.prod-card{
  border:1px solid var(--line); border-radius:var(--radius-md);
  background:var(--white); overflow:hidden; display:flex; flex-direction:column;
  transition:box-shadow .18s, border-color .18s, transform .18s;
}
.prod-card:hover{ box-shadow:var(--shadow-2); border-color:var(--mist); transform:translateY(-2px); }
.prod-media{
  aspect-ratio:4/3; background:var(--paper-2); position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.prod-media svg{ width:56%; opacity:.85; }
.prod-badge{
  position:absolute; top:10px; left:10px;
  font-family:var(--f-mono); font-size:10.5px; letter-spacing:.04em;
  background:var(--ink); color:#fff; padding:4px 9px; border-radius:20px;
}
.prod-badge.warn{ background:var(--accent); }
.prod-fav{
  position:absolute; top:10px; right:10px;
  width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,.92);
  display:flex; align-items:center; justify-content:center; color:var(--charcoal);
  border:1px solid var(--line);
}
.prod-body{ padding:16px; display:flex; flex-direction:column; gap:9px; flex:1; }
.prod-cat{ font-family:var(--f-mono); font-size:10.5px; color:var(--steel); letter-spacing:.05em; text-transform:uppercase; }
.prod-title{ font-size:14.5px; font-weight:600; line-height:1.35; }
.prod-meta{ display:flex; align-items:center; gap:6px; font-size:12px; color:var(--steel); }
.stars{ color:#111; letter-spacing:1px; font-size:12px; }
.prod-price-row{ margin-top:auto; display:flex; align-items:baseline; justify-content:space-between; padding-top:8px; }
.prod-price{ font-family:var(--f-mono); font-weight:600; font-size:17px; }
.prod-price .old{ font-family:var(--f-mono); font-size:12px; color:var(--steel-2); text-decoration:line-through; margin-right:6px; font-weight:400; }
.prod-add{
  width:38px; height:38px; border-radius:9px; background:var(--ink); color:#fff;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition:background .15s;
}
.prod-add:hover{ background:var(--accent); }

/* ---------- Özellik şeridi ---------- */
.feat-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--line-dark); border:1px solid var(--line-dark); border-radius:var(--radius-md); overflow:hidden;
}
.feat-cell{ background:var(--charcoal); padding:26px 22px; }
.feat-cell .icon{ color:var(--accent); margin-bottom:14px; }
.feat-cell h4{ color:#fff; font-size:15px; margin-bottom:6px; }
.feat-cell p{ color:var(--steel-2); font-size:13px; line-height:1.5; margin:0; }

/* ---------- Entegrasyon rozetleri ---------- */
.integrations{
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:20px;
  border:1px solid var(--line); border-radius:var(--radius-md);
  padding:22px 28px; background:var(--white);
}
.integrations .grp{ display:flex; align-items:center; gap:26px; flex-wrap:wrap; }
.igr{
  display:flex; align-items:center; gap:9px;
  font-family:var(--f-display); font-weight:600; font-size:14.5px; color:var(--charcoal);
}
.igr .sw{ width:9px; height:9px; border-radius:50%; background:var(--steel-2); }
.igr.on .sw{ background:#22c17a; box-shadow:0 0 0 3px rgba(34,193,122,.15); }

/* ---------- Süreç / iş akışı ---------- */
.flow{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.flow-step{ padding:0 22px 0 0; position:relative; }
.flow-step:not(:last-child)::after{
  content:''; position:absolute; top:19px; right:0; width:22px; height:1px; background:var(--line);
}
.flow-num{ font-family:var(--f-mono); font-size:12px; color:var(--steel); margin-bottom:14px; }
.flow-step h4{ font-size:15.5px; margin-bottom:8px; }
.flow-step p{ font-size:13.5px; color:var(--steel); line-height:1.5; margin:0; }

/* ---------- Testimonial / marka şeridi ---------- */
.brandline{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:26px;
  padding-block:26px; opacity:.65; filter:grayscale(1);
}
.brandline span{ font-family:var(--f-display); font-weight:700; font-size:18px; letter-spacing:.02em; }

/* =====================================================
   AI CHATBOT WIDGET — MUBO Premium Navy Design
   Eğlenceli, modern ve MUBO marka kimliğiyle uyumlu
   ===================================================== */

/* ---- Floating Action Button ---- */
.chat-fab{
  position:fixed; bottom:24px; right:24px; z-index:80;
  width:62px; height:62px; border-radius:50%;
  background:linear-gradient(135deg, #131d3f 0%, #1e2f6e 50%, #2a3f8a 100%);
  color:#fff; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 24px rgba(19,29,63,.45);
  transition:transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
  -webkit-tap-highlight-color:transparent;
}
.chat-fab:hover{
  transform:scale(1.12) rotate(-4deg);
  box-shadow:0 6px 32px rgba(19,29,63,.55);
}
.chat-fab:active{ transform:scale(.88); }
.chat-fab .ring{
  position:absolute; inset:-5px; border-radius:50%;
  border:2px solid rgba(30,47,110,.4);
  animation:fabPulse 2.8s ease-in-out infinite;
}
@keyframes fabPulse{
  0%{ opacity:.5; transform:scale(1); }
  50%{ opacity:0; transform:scale(1.6); }
  100%{ opacity:0; transform:scale(1.6); }
}
.chat-fab .fab-icon{ display:flex; align-items:center; justify-content:center; width:100%; height:100%; position:relative; }
.chat-fab .fab-icon .ic-close{ position:absolute; opacity:0; transform:rotate(-90deg); transition:all .35s; }
.chat-fab.open .fab-icon svg:first-child{ opacity:0; transform:rotate(90deg); }
.chat-fab.open .fab-icon .ic-close{ opacity:1; transform:rotate(0); }
.chat-fab .fab-badge{
  position:absolute; top:-3px; right:-3px;
  min-width:22px; height:22px; border-radius:11px;
  background:#dc2626; color:#fff;
  font-size:11px; font-weight:700; line-height:22px; text-align:center;
  padding:0 6px; box-shadow:0 2px 10px rgba(220,38,38,.45);
  transition:transform .2s;
  animation:badgePop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes badgePop{
  0%{ transform:scale(0); }
  100%{ transform:scale(1); }
}

/* ---- FAB Sparkle dots ---- */
.chat-fab .sparkle{
  position:absolute; width:6px; height:6px; border-radius:50%;
  pointer-events:none;
  animation:sparkleFloat 3s ease-in-out infinite;
}
.chat-fab .sparkle:nth-child(2){ top:4px; left:8px; background:#3d5bd9; animation-delay:0s; }
.chat-fab .sparkle:nth-child(3){ top:2px; right:10px; background:#6a8cff; animation-delay:.6s; }
.chat-fab .sparkle:nth-child(4){ bottom:8px; left:6px; background:#5a7ae0; animation-delay:1.2s; }
@keyframes sparkleFloat{
  0%,100%{ opacity:0; transform:translateY(0) scale(0); }
  30%{ opacity:1; transform:translateY(-4px) scale(1); }
  70%{ opacity:.6; transform:translateY(-2px) scale(.8); }
}

/* ---- Panel Container (glassmorphism) ---- */
.chat-panel{
  position:fixed; bottom:98px; right:24px; z-index:80;
  width:390px; max-width:calc(100vw - 28px);
  height:620px; max-height:calc(100vh - 150px);
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(20px) saturate(1.2);
  -webkit-backdrop-filter:blur(20px) saturate(1.2);
  border-radius:22px;
  box-shadow:0 16px 64px rgba(19,29,63,.18), 0 2px 8px rgba(19,29,63,.08);
  overflow:hidden;
  display:flex; flex-direction:column;
  opacity:0; visibility:hidden; transform:translateY(20px) scale(.92);
  transition:opacity .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1), visibility .35s;
  transform-origin:bottom right;
  border:1px solid rgba(255,255,255,.3);
}
.chat-panel.open{ opacity:1; visibility:visible; transform:translateY(0) scale(1); }

/* ---- Chat Header (navy premium) ---- */
.chat-head{
  display:flex; align-items:center; gap:12px;
  padding:18px 20px 14px;
  background:linear-gradient(135deg, #0f1a3d 0%, #1a2a5e 40%, #1e2f6e 100%);
  color:#fff; flex-shrink:0; position:relative; overflow:hidden;
}
.chat-head::after{
  content:''; position:absolute; top:-30px; right:-20px;
  width:120px; height:120px;
  background:radial-gradient(circle, rgba(61,91,217,.2) 0%, transparent 70%);
  border-radius:50%; pointer-events:none;
}
.chat-head-avatar{
  width:42px; height:42px; border-radius:14px;
  background:rgba(255,255,255,.15);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; position:relative;
  backdrop-filter:blur(4px);
  border:1px solid rgba(255,255,255,.1);
}
.chat-head-avatar svg{ width:24px; height:24px; filter:drop-shadow(0 1px 3px rgba(0,0,0,.2)); }
.chat-head-info{ flex:1; min-width:0; }
.chat-head-info strong{ display:block; font-size:15px; font-weight:600; letter-spacing:.01em; }
.chat-head-info .chat-sub{ font-size:10.5px; opacity:.7; font-weight:400; display:block; margin-top:-1px; }
.chat-head-status{ display:flex; align-items:center; gap:5px; font-size:11px; opacity:.9; margin-top:2px; }
.chat-head-status .dot{
  width:7px; height:7px; border-radius:50%; background:#22c17a; display:inline-block;
  animation:stPulse 1.8s ease-in-out infinite;
  box-shadow:0 0 6px rgba(34,193,122,.5);
}
@keyframes stPulse{ 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.6;transform:scale(.9);} }
.chat-head-actions{ display:flex; gap:4px; flex-shrink:0; position:relative; z-index:2; }
.chat-head-actions button{
  width:34px; height:34px; border-radius:10px;
  background:rgba(255,255,255,.12); border:none; color:#fff;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:all .2s;
}
.chat-head-actions button:hover{ background:rgba(255,255,255,.25); transform:scale(1.05); }

/* ---- Chat Body (subtle mesh) ---- */
.chat-body{
  flex:1; overflow-y:auto; overflow-x:hidden;
  padding:18px 16px; display:flex; flex-direction:column; gap:10px;
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(30,47,110,.035) 0%, transparent 70%),
    radial-gradient(400px 300px at 90% 80%, rgba(19,29,63,.03) 0%, transparent 70%),
    #f6f7fb;
  scroll-behavior:smooth;
}
.chat-body::-webkit-scrollbar{ width:5px; }
.chat-body::-webkit-scrollbar-track{ background:transparent; }
.chat-body::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg, #c5c9d6, #a8aec4);
  border-radius:8px; border:1px solid transparent;
}

/* ---- Messages ---- */
.msg{
  display:flex; gap:10px; max-width:88%;
  animation:msgIn .35s cubic-bezier(.22,1,.36,1);
  position:relative;
}
@keyframes msgIn{
  0%{ opacity:0; transform:translateY(12px) scale(.94); }
  100%{ opacity:1; transform:translateY(0) scale(1); }
}
.msg.bot{ align-self:flex-start; }
.msg.user{ align-self:flex-end; flex-direction:row-reverse; }
.msg-avatar{
  width:32px; height:32px; border-radius:10px;
  background:linear-gradient(135deg, #1e2f6e, #2a3f8a);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; color:#fff; font-size:13px;
  box-shadow:0 2px 8px rgba(30,47,110,.2);
  position:relative;
}
.msg.user .msg-avatar{ background:linear-gradient(135deg, #131d3f, #1e2a52); }
.msg-content{
  padding:11px 16px; border-radius:18px;
  font-size:13.5px; line-height:1.6;
  white-space:pre-wrap; word-break:break-word;
  position:relative;
}
.msg.bot .msg-content{
  background:#fff; color:#1a1a2e;
  border-bottom-left-radius:5px;
  box-shadow:0 2px 8px rgba(19,29,63,.06);
  border-left:2.5px solid #1e2f6e;
}
.msg.user .msg-content{
  background:linear-gradient(135deg, #131d3f, #1e2f6e);
  color:#fff; border-bottom-right-radius:5px;
  box-shadow:0 2px 12px rgba(19,29,63,.2);
}

/* ---- Emoji / Fun message effects ---- */
.msg-content .chat-emoji{ font-size:1.4em; display:inline-block; }
.msg.bot .msg-content .highlight{
  background:linear-gradient(120deg, rgba(30,47,110,.08), rgba(30,47,110,.02));
  padding:0 4px; border-radius:4px; font-weight:500;
}

/* ---- Welcome decoration ---- */
.chat-welcome .msg.bot .msg-content{
  border-left-color:#3d5bd9;
  background:linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
}

/* ---- Typing Indicator (navy bouncing dots) ---- */
.msg.typing .msg-content{
  background:#fff; display:flex; align-items:center; gap:5px; padding:16px 20px;
  border-left-color:transparent;
  box-shadow:0 1px 6px rgba(19,29,63,.05);
}
.msg.typing .msg-content span{
  width:8px; height:8px; border-radius:50%;
  background:#1e2f6e; display:inline-block;
  animation:tyBounce 1.2s ease-in-out infinite;
}
.msg.typing .msg-content span:nth-child(2){ animation-delay:.15s; }
.msg.typing .msg-content span:nth-child(3){ animation-delay:.3s; }
@keyframes tyBounce{
  0%,60%,100%{ transform:translateY(0); opacity:.35; }
  30%{ transform:translateY(-8px); opacity:1; }
}

/* ---- Product Cards (navy theme) ---- */
.chat-products{
  display:flex; flex-direction:column; gap:8px;
  margin:2px 0 6px; align-self:flex-start; width:100%;
  animation:msgIn .35s cubic-bezier(.22,1,.36,1);
}
.chat-product{
  display:flex; gap:10px; align-items:center;
  padding:10px 12px;
  border:1px solid rgba(30,47,110,.12);
  border-radius:12px; background:#fff;
  text-decoration:none;
  transition:all .2s;
}
.chat-product:hover{
  border-color:#1e2f6e;
  box-shadow:0 4px 16px rgba(30,47,110,.1);
  transform:translateY(-1px);
}
.chat-product img{
  width:46px; height:46px; object-fit:contain;
  border-radius:9px; background:#f0f2f8; flex:none;
}
.chat-product span{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.chat-product strong{ font-size:12.5px; color:#131d3f; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chat-product em{ font-style:normal; font-size:12px; font-weight:700; color:#15803d; }

/* ---- Suggestions (navy pills) ---- */
.chat-suggest{
  display:flex; flex-wrap:wrap; gap:6px;
  padding:10px 16px 12px;
  background:#f6f7fb; flex-shrink:0;
  border-top:1px solid rgba(19,29,63,.05);
}
.suggest-chip{
  font-size:12px; padding:8px 16px; border-radius:50px;
  border:1px solid rgba(30,47,110,.2);
  background:#fff; color:#1e2f6e;
  cursor:pointer; transition:all .25s cubic-bezier(.34,1.56,.64,1);
  font-weight:500;
  -webkit-tap-highlight-color:transparent;
}
.suggest-chip:hover{
  background:linear-gradient(135deg, #131d3f, #1e2f6e);
  color:#fff; border-color:transparent;
  transform:translateY(-2px);
  box-shadow:0 4px 14px rgba(19,29,63,.25);
}
.suggest-chip:active{ transform:scale(.92); }

/* ---- Input (glass style) ---- */
.chat-input{
  padding:10px 14px 14px;
  background:rgba(255,255,255,.8);
  backdrop-filter:blur(8px);
  flex-shrink:0;
  border-top:1px solid rgba(19,29,63,.05);
}
.chat-input-wrap{
  display:flex; gap:8px;
  align-items:center;
  background:#f0f2f8;
  border-radius:16px;
  padding:4px 4px 4px 6px;
  border:2px solid transparent;
  transition:border-color .25s, background .25s, box-shadow .25s;
}
.chat-input-wrap:focus-within{
  border-color:#1e2f6e;
  background:#fff;
  box-shadow:0 0 0 4px rgba(30,47,110,.08);
}
.chat-input input{
  flex:1; border:none; background:transparent;
  padding:9px 8px 9px 12px;
  outline:none; font-size:14px; color:#131d3f;
  min-width:0;
}
.chat-input input::placeholder{ color:#9ca3c0; }
.chat-send-btn{
  width:42px; height:42px; border-radius:14px;
  background:linear-gradient(135deg, #131d3f, #1e2f6e);
  color:#fff; border:none;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:all .25s cubic-bezier(.34,1.56,.64,1);
  flex-shrink:0;
}
.chat-send-btn:hover{ transform:scale(1.08) rotate(-4deg); box-shadow:0 4px 16px rgba(19,29,63,.35); }
.chat-send-btn:active{ transform:scale(.88); }

/* ---- Chat Toast ---- */
.chat-toast{
  position:fixed; z-index:10000; bottom:98px; right:24px;
  background:rgba(19,29,63,.9); color:#fff;
  padding:10px 20px; border-radius:14px;
  font-size:13px; backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.1);
  opacity:0; transform:translateY(12px);
  transition:opacity .35s, transform .35s cubic-bezier(.34,1.56,.64,1);
  pointer-events:none;
}
.chat-toast.show{ opacity:1; transform:translateY(0); }

/* -------------------- DARK THEME OVERRIDES -------------------- */
html[data-theme="dark"] .chat-panel{
  background:rgba(15,20,36,.92);
  border-color:rgba(255,255,255,.06);
  box-shadow:0 16px 64px rgba(0,0,0,.5);
}
html[data-theme="dark"] .chat-body{
  background:radial-gradient(600px 400px at 20% 30%, rgba(30,47,110,.08) 0%, transparent 70%),
             radial-gradient(400px 300px at 90% 80%, rgba(19,29,63,.06) 0%, transparent 70%),
             #0d1225;
}
html[data-theme="dark"] .chat-body::-webkit-scrollbar-thumb{ background:linear-gradient(180deg, #2a3560, #1e2a52); }
html[data-theme="dark"] .msg.bot .msg-content{
  background:#151d38; color:#e0e4f0;
  border-left-color:#3d5bd9;
}
html[data-theme="dark"] .msg.user .msg-content{
  background:linear-gradient(135deg, #1e2f6e, #2a3f8a);
}
html[data-theme="dark"] .msg.typing .msg-content{ background:#151d38; }
html[data-theme="dark"] .msg.typing .msg-content span{ background:#5a7ae0; }
html[data-theme="dark"] .msg-content .highlight{ background:rgba(61,91,217,.15); }
html[data-theme="dark"] .chat-welcome .msg.bot .msg-content{
  background:linear-gradient(135deg, #151d38 0%, #1a2545 100%);
}
html[data-theme="dark"] .chat-suggest{
  background:#0d1225; border-top-color:rgba(255,255,255,.05);
}
html[data-theme="dark"] .suggest-chip{
  background:#151d38; border-color:rgba(61,91,217,.2); color:#8a9dff;
}
html[data-theme="dark"] .suggest-chip:hover{
  background:linear-gradient(135deg, #1e2f6e, #2a3f8a); color:#fff;
}
html[data-theme="dark"] .chat-input{
  background:rgba(15,20,36,.85); border-top-color:rgba(255,255,255,.05);
}
html[data-theme="dark"] .chat-input-wrap{
  background:rgba(255,255,255,.06);
}
html[data-theme="dark"] .chat-input-wrap:focus-within{
  background:rgba(15,20,36,.95); border-color:#3d5bd9;
}
html[data-theme="dark"] .chat-input input{ color:#e0e4f0; }
html[data-theme="dark"] .chat-input input::placeholder{ color:#5a6480; }
html[data-theme="dark"] .chat-product{
  background:#151d38; border-color:rgba(61,91,217,.12);
}
html[data-theme="dark"] .chat-product strong{ color:#e0e4f0; }
html[data-theme="dark"] .chat-product:hover{ border-color:#3d5bd9; }
html[data-theme="dark"] .chat-head{
  background:linear-gradient(135deg, #080d1f 0%, #0f1a3d 40%, #151d38 100%);
}
html[data-theme="dark"] .chat-fab{
  background:linear-gradient(135deg, #0f1a3d 0%, #1e2f6e 50%, #2a3f8a 100%);
  box-shadow:0 4px 24px rgba(0,0,0,.5);
}
html[data-theme="dark"] .chat-fab:hover{
  box-shadow:0 6px 32px rgba(0,0,0,.6);
}
html[data-theme="dark"] .chat-fab .ring{
  border-color:rgba(61,91,217,.4);
}


/* ---------- Breadcrumb ---------- */
.crumb{ font-family:var(--f-mono); font-size:12px; color:var(--steel); padding-block:16px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.crumb a{ color:var(--steel); } .crumb a:hover{ color:var(--ink); }
.crumb .sep{ color:var(--mist); }
.crumb .cur{ color:var(--ink); }

/* ---------- Kategori sayfası: filtre + grid ---------- */
.cat-layout{ display:grid; grid-template-columns:260px 1fr; gap:34px; align-items:start; }
.filter-panel{
  border:1px solid var(--line); border-radius:var(--radius-md); background:#fff;
  padding:22px; position:sticky; top:96px;
}
.filter-group{ padding-block:18px; border-bottom:1px solid var(--line); }
.filter-group:first-child{ padding-top:0; }
.filter-group:last-child{ border-bottom:none; }
.filter-group h5{ font-size:13px; margin-bottom:12px; font-weight:600; }
.filter-row{ display:flex; align-items:center; gap:9px; margin-bottom:9px; font-size:13.5px; color:var(--charcoal); }
.filter-row input[type=checkbox]{ width:15px; height:15px; accent-color:var(--ink); }
.filter-row span.n{ margin-left:auto; font-family:var(--f-mono); font-size:11px; color:var(--steel-2); }
.range-row{ display:flex; gap:8px; }
.range-row input{ width:100%; border:1px solid var(--line); border-radius:8px; padding:8px 10px; font-size:13px; font-family:var(--f-mono); }
.swatches{ display:flex; gap:8px; flex-wrap:wrap; }
.swatch{ width:24px; height:24px; border-radius:50%; border:2px solid #fff; box-shadow:0 0 0 1px var(--line); cursor:pointer; }
.swatch.active{ box-shadow:0 0 0 2px var(--ink); }

.list-toolbar{
  display:flex; justify-content:space-between; align-items:center; margin-bottom:22px; gap:14px; flex-wrap:wrap;
}
.list-toolbar .count{ font-size:14px; color:var(--steel); }
.list-toolbar .count strong{ color:var(--ink); }
.sort-select{
  border:1px solid var(--line); border-radius:9px; padding:9px 14px; font-size:13.5px; background:#fff;
}
.pagination{ display:flex; justify-content:center; gap:8px; margin-top:38px; }
.pagination a{
  width:38px; height:38px; border-radius:9px; border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
  font-family:var(--f-mono); font-size:13px;
}
.pagination a.active{ background:var(--ink); color:#fff; border-color:var(--ink); }

/* ---------- Ürün detay sayfası ---------- */
.pdp{ display:grid; grid-template-columns:.95fr 1.05fr; gap:52px; }
.pdp-gallery-main{
  aspect-ratio:1/1; border-radius:var(--radius-md); background:var(--paper-2);
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.pdp-gallery-main svg{ width:60%; }
.pdp-thumbs{ display:flex; gap:10px; margin-top:12px; }
.pdp-thumbs .t{
  width:74px; height:74px; border-radius:9px; border:1px solid var(--line); background:var(--paper-2);
  display:flex; align-items:center; justify-content:center;
}
.pdp-thumbs .t.active{ border-color:var(--ink); border-width:2px; }
.pdp-thumbs .t svg{ width:60%; }

.pdp-title-row .prod-cat{ margin-bottom:8px; }
.pdp h1{ font-size:28px; line-height:1.2; }
.pdp-meta{ display:flex; align-items:center; gap:14px; margin-top:10px; font-size:13.5px; color:var(--steel); }
.pdp-price-block{ display:flex; align-items:baseline; gap:12px; margin-top:22px; padding-top:22px; border-top:1px solid var(--line); }
.pdp-price-block .price{ font-family:var(--f-mono); font-size:32px; font-weight:700; }
.pdp-price-block .old{ font-family:var(--f-mono); color:var(--steel-2); text-decoration:line-through; font-size:16px; }
.pdp-stock{ display:flex; align-items:center; gap:7px; margin-top:10px; font-size:13px; color:var(--good); font-weight:500; }
.pdp-stock .sw{ width:8px; height:8px; border-radius:50%; background:var(--good); }

.pdp-options{ margin-top:26px; display:flex; flex-direction:column; gap:16px; }
.opt-row h5{ font-size:12.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--steel); font-weight:600; margin-bottom:10px; font-family:var(--f-mono); }
.opt-pills{ display:flex; gap:8px; flex-wrap:wrap; }
.opt-pill{ padding:9px 15px; border:1px solid var(--line); border-radius:9px; font-size:13px; background:#fff; }
.opt-pill.active{ border-color:var(--ink); background:var(--ink); color:#fff; }

.qty-row{ display:flex; align-items:center; gap:14px; margin-top:26px; }
.qty-stepper{ display:flex; align-items:center; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.qty-stepper button{ width:38px; height:42px; background:#fff; border:none; font-size:16px; }
.qty-stepper button:hover{ background:var(--paper-2); }
.qty-stepper input{ width:44px; text-align:center; border:none; border-left:1px solid var(--line); border-right:1px solid var(--line); height:42px; font-family:var(--f-mono); }

.pdp-actions{ display:flex; gap:12px; margin-top:14px; }
.pdp-actions .btn{ flex:1; padding-block:15px; }
.pdp-actions .icon-btn{ width:52px; height:52px; }

.pdp-trust{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:30px; padding-top:26px; border-top:1px solid var(--line); }
.pdp-trust div{ display:flex; align-items:flex-start; gap:10px; font-size:12.5px; color:var(--steel); }
.pdp-trust svg{ flex-shrink:0; color:var(--ink); margin-top:2px; }

.pdp-tabs{ display:flex; gap:28px; border-bottom:1px solid var(--line); margin-top:56px; }
.pdp-tabs button{ background:none; border:none; padding:14px 2px; font-size:14.5px; font-weight:500; color:var(--steel); border-bottom:2px solid transparent; margin-bottom:-1px; }
.pdp-tabs button.active{ color:var(--ink); border-color:var(--ink); }
.pdp-tabpanel{ padding-block:28px; font-size:14.5px; color:var(--charcoal); line-height:1.75; max-width:70ch; }
.spec-table{ width:100%; border-collapse:collapse; font-size:13.5px; max-width:640px; }
.spec-table tr{ border-bottom:1px solid var(--line); }
.spec-table td{ padding:11px 4px; }
.spec-table td:first-child{ color:var(--steel); width:40%; font-family:var(--f-mono); font-size:12.5px; }

/* ---------- Sepet ---------- */
.cart-layout{ display:grid; grid-template-columns:1fr 380px; gap:40px; align-items:start; }
.cart-item{ display:grid; grid-template-columns:88px 1fr auto; gap:16px; align-items:center; padding-block:20px; border-bottom:1px solid var(--line); }
.cart-item .thumb{ width:88px; height:88px; border-radius:10px; background:var(--paper-2); display:flex; align-items:center; justify-content:center; border:1px solid var(--line); }
.cart-item .thumb svg{ width:56%; }
.cart-item .thumb img{ width:100%; height:100%; object-fit:contain; border-radius:8px; }
.cart-item h4{ font-size:14.5px; margin-bottom:6px; }
.cart-item .sub{ font-size:12.5px; color:var(--steel); margin-bottom:10px; }
.cart-item .price{ font-family:var(--f-mono); font-weight:600; font-size:15px; text-align:right; }
.cart-item .rm{ font-size:12px; color:var(--steel); margin-top:8px; display:inline-block; }
.cart-item .rm:hover{ color:var(--warn); }

.summary-box{ border:1px solid var(--line); border-radius:var(--radius-md); background:#fff; padding:24px; position:sticky; top:96px; }
.summary-row{ display:flex; justify-content:space-between; font-size:13.5px; padding-block:9px; color:var(--steel); }
.summary-row.total{ border-top:1px solid var(--line); margin-top:8px; padding-top:16px; font-size:16px; color:var(--ink); font-weight:700; }
.summary-row.total .val{ font-family:var(--f-mono); }
.promo-row{ display:flex; gap:8px; margin:16px 0; }
.promo-row input{ flex:1; border:1px solid var(--line); border-radius:9px; padding:10px 12px; font-size:13px; }
.pay-methods{ display:flex; gap:8px; margin-top:16px; flex-wrap:wrap; }
.pay-methods span{ font-family:var(--f-mono); font-size:10.5px; border:1px solid var(--line); border-radius:6px; padding:5px 8px; color:var(--steel); }

.empty-state{ text-align:center; padding-block:90px; }
.empty-state svg{ margin-inline:auto; color:var(--mist); margin-bottom:20px; }
.empty-state h3{ font-size:20px; margin-bottom:8px; }
.empty-state p{ color:var(--steel); font-size:14px; margin-bottom:24px; }

/* ---------- Yardımcı sınıflar ---------- */
.mt-0{ margin-top:0 !important; }
.text-center{ text-align:center; }
.hide-mobile{ display:initial; }
.show-mobile{ display:none; }

/* ---------- Kategori üst banner + hızlı filtre çipleri ---------- */
.cat-banner{
  background:var(--white); border-bottom:1px solid var(--line);
  padding-block:30px;
}
.cat-banner-row{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; }
.cat-banner h1{ font-size:clamp(24px,3vw,32px); }
.cat-banner p{ color:var(--steel); font-size:14px; margin-top:8px; max-width:56ch; }
.cat-banner-meta{ display:flex; gap:26px; }
.cat-banner-meta div strong{ display:block; font-family:var(--f-display); font-size:20px; }
.cat-banner-meta div span{ font-size:11.5px; color:var(--steel); font-family:var(--f-mono); }
.chip-row{ display:flex; gap:9px; flex-wrap:wrap; margin-top:20px; }
.chip-filter{
  font-size:13px; padding:8px 15px; border-radius:20px; border:1px solid var(--line);
  background:var(--paper); color:var(--charcoal);
}
.chip-filter.active{ background:var(--ink); border-color:var(--ink); color:#fff; }
.chip-filter:hover{ border-color:var(--steel-2); }

/* ---------- Entegrasyon paneli / durum panosu ---------- */
.integ-hero{
  display:grid; grid-template-columns:repeat(4,1fr); gap:14px;
}
.integ-stat{
  border:1px solid var(--line); border-radius:var(--radius-md); background:#fff; padding:20px;
}
.integ-stat .spec-tag{ margin-bottom:12px; }
.integ-stat strong{ display:block; font-family:var(--f-display); font-size:26px; }
.integ-stat .delta{ font-size:12px; color:var(--good); margin-top:6px; display:block; }
.integ-stat .delta.down{ color:var(--warn); }

.integ-card{
  border:1px solid var(--line); border-radius:var(--radius-lg); background:#fff; overflow:hidden;
}
.integ-card-head{
  display:flex; align-items:center; gap:16px; padding:24px 26px; border-bottom:1px solid var(--line);
}
.integ-logo{
  width:52px; height:52px; border-radius:12px; background:var(--ink); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:var(--f-display); font-weight:700; font-size:18px;
  flex-shrink:0;
}
.integ-logo.ty{ background:#f27a1a; }
.integ-logo.hb{ background:#ff6000; }
.integ-card-head h3{ font-size:18px; }
.integ-card-head .sub{ font-size:13px; color:var(--steel); margin-top:4px; }
.integ-status{
  margin-left:auto; display:flex; align-items:center; gap:8px;
  font-family:var(--f-mono); font-size:12px; padding:7px 13px; border-radius:20px;
  background:#eaf7f0; color:var(--good); border:1px solid #cdebd9;
}
.integ-status .sw{ width:7px; height:7px; border-radius:50%; background:var(--good); }
.integ-body{ padding:24px 26px; display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.integ-metric{ border-right:1px solid var(--line); padding-right:20px; }
.integ-metric:last-child{ border-right:none; }
.integ-metric span{ display:block; font-size:12px; color:var(--steel); margin-bottom:6px; }
.integ-metric strong{ font-family:var(--f-mono); font-size:20px; }
.integ-foot{
  padding:18px 26px; background:var(--paper); border-top:1px solid var(--line);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
}
.sync-log{ font-family:var(--f-mono); font-size:12px; color:var(--steel); }
.sync-table{ width:100%; border-collapse:collapse; margin-top:6px; }
.sync-table th{ text-align:left; font-family:var(--f-mono); font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--steel); padding:10px 4px; border-bottom:1px solid var(--line); }
.sync-table td{ padding:12px 4px; border-bottom:1px solid var(--line); font-size:13.5px; }
.sync-table td:first-child{ font-family:var(--f-mono); font-size:12.5px; color:var(--steel); }
.pill-status{ font-family:var(--f-mono); font-size:11px; padding:4px 10px; border-radius:20px; }
.pill-status.ok{ background:#eaf7f0; color:var(--good); }
.pill-status.wait{ background:#fdf1e4; color:var(--warn); }

/* ---------- Sosyal medya feed sayfaları ---------- */
.social-tabs{ display:flex; gap:10px; margin-bottom:30px; }
.social-tab{
  display:flex; align-items:center; gap:9px; padding:11px 20px; border-radius:11px;
  border:1px solid var(--line); background:#fff; font-size:14px; font-weight:600; color:var(--steel);
}
.social-tab.active{ background:var(--ink); color:#fff; border-color:var(--ink); }
.social-panel{ display:none; }
.social-panel.active{ display:block; }

.ig-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:4px; }
.ig-cell{
  aspect-ratio:1/1; position:relative; overflow:hidden; background:var(--paper-2);
  display:flex; align-items:center; justify-content:center;
}
.ig-cell svg{ width:44%; opacity:.8; }
.ig-cell .ov{
  position:absolute; inset:0; background:rgba(11,11,12,.68); color:#fff;
  display:flex; align-items:center; justify-content:center; gap:18px;
  opacity:0; transition:opacity .18s; font-family:var(--f-mono); font-size:13px;
}
.ig-cell:hover .ov{ opacity:1; }
.ig-cell .ov span{ display:flex; align-items:center; gap:5px; }
.ig-cell .badge-ai{
  position:absolute; top:8px; left:8px; background:var(--accent); color:#fff;
  font-family:var(--f-mono); font-size:9.5px; padding:3px 7px; border-radius:5px; letter-spacing:.03em;
}

.tiktok-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }
.tt-card{ border-radius:var(--radius-md); overflow:hidden; background:var(--ink); position:relative; aspect-ratio:9/16; border:1px solid var(--line-dark); }
.tt-card svg{ position:absolute; inset:0; margin:auto; width:40%; opacity:.7; }
.tt-card .meta{
  position:absolute; left:0; right:0; bottom:0; padding:10px;
  background:linear-gradient(0deg, rgba(0,0,0,.85), transparent);
  color:#fff; font-size:11px;
}
.tt-card .meta strong{ display:block; font-size:12.5px; margin-bottom:3px; }
.tt-card .play{
  position:absolute; top:8px; right:8px; width:22px; height:22px; border-radius:50%;
  background:rgba(255,255,255,.16); display:flex; align-items:center; justify-content:center; color:#fff;
}

.content-cal{ display:grid; grid-template-columns:repeat(7,1fr); gap:8px; margin-top:20px; }
.cal-cell{ border:1px solid var(--line); border-radius:9px; padding:10px 8px; min-height:88px; background:#fff; }
.cal-cell .d{ font-family:var(--f-mono); font-size:11px; color:var(--steel); margin-bottom:8px; }
.cal-post{ font-size:10.5px; padding:4px 6px; border-radius:5px; margin-bottom:4px; font-family:var(--f-mono); }
.cal-post.ig{ background:#fde8ef; color:#c2185b; }
.cal-post.tt{ background:#e6f7f5; color:#00857a; }
.cal-post.fb{ background:#e8effd; color:#1a56db; }

/* ---------- İletişim sayfası ---------- */
.contact-hero{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; padding-block:56px; }
.contact-hero h1{ font-size:clamp(28px,3.6vw,42px); max-width:14ch; }
.contact-hero p{ color:var(--steel); margin-top:16px; font-size:16px; max-width:48ch; }
.contact-channels{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:28px; }
.contact-channel{
  border:1px solid var(--line); border-radius:var(--radius-md); background:#fff; padding:18px;
  display:flex; gap:12px; align-items:flex-start;
}
.contact-channel .ic{
  width:38px; height:38px; border-radius:9px; background:var(--paper-2); color:var(--ink);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-channel h5{ font-size:13.5px; margin-bottom:4px; }
.contact-channel span{ font-size:12.5px; color:var(--steel); }
.contact-illustration{
  background:var(--ink); border-radius:var(--radius-lg); padding:34px; color:#fff; position:relative; overflow:hidden;
  min-height:360px; display:flex; flex-direction:column; justify-content:space-between;
}
.contact-illustration img{ position:absolute; right:-60px; bottom:-40px; width:340px; opacity:.4; filter:saturate(0); }
.contact-illustration .row{ display:flex; justify-content:space-between; border-bottom:1px solid var(--line-dark); padding-block:12px; font-size:13px; }
.contact-illustration .row:last-of-type{ border-bottom:none; }
.contact-illustration .row .l{ color:var(--steel-2); }

.contact-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:44px; padding-block:64px; align-items:start; }
.contact-form{ border:1px solid var(--line); border-radius:var(--radius-lg); background:#fff; padding:32px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.form-field{ display:flex; flex-direction:column; gap:7px; }
.form-field.full{ grid-column:1/-1; }
.form-field label{ font-size:12.5px; font-weight:600; color:var(--charcoal); }
.form-field input, .form-field select, .form-field textarea{
  border:1px solid var(--line); border-radius:9px; padding:11px 13px; font-size:13.5px; outline:none;
  transition:border-color .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ border-color:var(--ink); }
.form-field textarea{ resize:vertical; min-height:110px; font-family:inherit; }
.form-success{
  display:none; align-items:center; gap:12px; background:#eaf7f0; border:1px solid #cdebd9; color:var(--good);
  padding:14px 16px; border-radius:10px; font-size:13.5px; margin-top:16px;
}
.form-success.show{ display:flex; }

.office-list{ display:flex; flex-direction:column; gap:14px; }
.office-card{ border:1px solid var(--line); border-radius:var(--radius-md); background:#fff; padding:20px; }
.office-card .tag{ font-family:var(--f-mono); font-size:11px; color:var(--accent); text-transform:uppercase; letter-spacing:.05em; }
.office-card h4{ font-size:16px; margin-top:8px; }
.office-card p{ font-size:13px; color:var(--steel); margin-top:6px; line-height:1.6; }
.office-card .meta-row{ display:flex; gap:16px; margin-top:12px; font-size:12.5px; color:var(--charcoal); }

.map-frame{
  border-radius:var(--radius-md); border:1px solid var(--line); overflow:hidden; margin-top:14px;
  aspect-ratio:16/8; background:var(--paper-2); position:relative;
}
.map-frame svg{ width:100%; height:100%; }
.map-pin{ position:absolute; top:44%; left:52%; transform:translate(-50%,-100%); color:var(--ink); }

.accordion{ border-top:1px solid var(--line); }
.acc-item{ border-bottom:1px solid var(--line); }
.acc-head{
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:18px 4px; background:none; border:none; text-align:left; font-size:14.5px; font-weight:600; color:var(--ink);
}
.acc-head .plus{ transition:transform .2s; color:var(--steel); flex-shrink:0; }
.acc-item.open .acc-head .plus{ transform:rotate(45deg); }
.acc-panel{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.acc-panel p{ padding:0 4px 18px; font-size:13.5px; color:var(--steel); line-height:1.65; max-width:70ch; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px){
  .cat-grid{ grid-template-columns:repeat(3,1fr); }
  .prod-grid{ grid-template-columns:repeat(3,1fr); }
  .feat-strip{ grid-template-columns:repeat(2,1fr); }
  .hero .container{ grid-template-columns:1fr; }
  .hero-mark{ display:none; }
  .footer-top{ grid-template-columns:1fr 1fr; row-gap:36px; }
  .integ-hero{ grid-template-columns:repeat(2,1fr); }
  .ig-grid{ grid-template-columns:repeat(3,1fr); }
  .tiktok-grid{ grid-template-columns:repeat(3,1fr); }
  .contact-hero, .contact-grid{ grid-template-columns:1fr; }
  .contact-illustration img{ display:none; }
}
@media (max-width: 860px){
  .nav-main, .search-wrap{ display:none; }
  .burger{ display:flex; }
  .hide-mobile{ display:none; }
  .show-mobile{ display:flex; }
  .topbar-slider-wrap { max-width: 100%; flex: 1; }
  .cat-layout, .pdp, .cart-layout{ grid-template-columns:1fr; }
  .filter-panel{ position:static; }
  .cat-grid{ grid-template-columns:repeat(2,1fr); }
  .prod-grid{ grid-template-columns:repeat(2,1fr); }
  .prod-grid.cols-3{ grid-template-columns:repeat(2,1fr); }
  .feat-strip{ grid-template-columns:1fr; }
  .flow{ grid-template-columns:1fr; gap:26px; }
  .flow-step::after{ display:none; }
  .footer-top{ grid-template-columns:1fr; }
  .chat-panel{ right:8px; left:8px; width:auto; bottom:84px; max-height:calc(100vh - 110px); border-radius:18px; }
  .chat-fab{ right:16px; bottom:76px; width:54px; height:54px; }
  .chat-panel.open{ border-bottom-right-radius:18px; border-bottom-left-radius:18px; }
  .chat-toast{ bottom:84px; right:16px; left:16px; text-align:center; }
  .chat-body{ padding:14px 12px; }
  .msg{ max-width:92%; }
  .chat-head-actions button{ width:30px; height:30px; }
  .chat-suggest{ padding:8px 12px 10px; }
  .chat-input{ padding:8px 10px 12px; }
  .integrations{ flex-direction:column; align-items:flex-start; }
  .integ-body{ grid-template-columns:1fr; }
  .integ-metric{ border-right:none; border-bottom:1px solid var(--line); padding:0 0 14px; }
  .ig-grid{ grid-template-columns:repeat(2,1fr); }
  .tiktok-grid{ grid-template-columns:repeat(2,1fr); }
  .content-cal{ grid-template-columns:repeat(2,1fr); }
  .form-row{ grid-template-columns:1fr; }
  .cat-banner-row{ flex-direction:column; align-items:flex-start; }
}
@media (max-width: 480px){
  .chat-panel{ right:4px; left:4px; border-radius:16px; bottom:80px; max-height:calc(100vh - 100px); }
  .chat-panel.open{ border-radius:16px; }
  .chat-fab{ right:12px; bottom:72px; width:48px; height:48px; }
  .chat-fab .ring{ inset:-3px; }
  .chat-head{ padding:14px 16px 12px; }
  .chat-head-avatar{ width:36px; height:36px; border-radius:12px; }
  .chat-head-avatar svg{ width:20px; height:20px; }
  .chat-head-info strong{ font-size:14px; }
  .msg-content{ font-size:13px; padding:10px 14px; }
  .chat-toast{ bottom:80px; font-size:12px; padding:8px 16px; }
  .suggest-chip{ font-size:11px; padding:6px 12px; }
}
@media (max-width: 520px){
  .cat-grid, .prod-grid, .prod-grid.cols-3{ grid-template-columns:1fr 1fr; }
  .hero h1{ max-width:none; }
  .hero-stats{ flex-wrap:wrap; gap:16px; }
  .hero-stats div{ padding-right:0; margin-right:0; border-right:none; width:45%; }
}

/* ---------- Mobil menü (right-side drawer) ---------- */
.mobile-nav{
  position:fixed; top:0; right:0; width:300px; max-width:90vw; height:100vh;
  z-index:1000; background:#131d3f;
  color:#fff; transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y:auto; display:flex; flex-direction:column;
}
.mobile-nav.open{ transform:translateX(0); }
.mobile-nav-head{ display:flex; justify-content:space-between; align-items:center; padding:18px 20px; border-bottom:1px solid rgba(255,255,255,.07); flex-shrink:0; }
.mobile-nav-head button{ background:none; border:none; color:#fff; cursor:pointer; }
.mobile-nav a{ display:flex; align-items:center; gap:10px; padding:11px 20px; border-bottom:none; font-size:14px; color:rgba(255,255,255,.75); transition:background .15s; }
.mobile-nav a:hover{ background:rgba(255,255,255,.06); color:#fff; }

/* =========================================================
   PAGE HERO (inner pages - contact, social, etc.)
   ========================================================= */
.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}
.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-top: 10px;
  max-width: 20ch;
}
.page-hero p {
  color: var(--steel);
  font-size: 15px;
  margin-top: 10px;
  max-width: 50ch;
  line-height: 1.6;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 12px; }

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.contact-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,.04); }

.contact-card-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.contact-card p { font-size: 13px; color: var(--steel); line-height: 1.5; }

.contact-social {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--steel);
  text-decoration: none;
  transition: all 0.2s;
}
.contact-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.contact-form-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}
.contact-form-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }

.map-placeholder {
  width: 100%;
  height: 200px;
  background: var(--paper-2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-2);
  font-size: 13px;
  border: 1px solid var(--line);
  margin-top: 24px;
}

/* (Eski marketplace stilleri kaldırıldı — sayfa kendi stilini taşıyor) */

/* =========================================================
   SHARED COMPONENTS (tüm sayfalarda tutarlı tasarım dili)
   ========================================================= */

/* Genel kart yüzeyi */
.card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:20px;
  box-shadow:var(--shadow-1);
}

/* Buton boyut varyantı (ürün detay vb.) */
.btn-lg{ padding:14px 28px; font-size:15px; border-radius:12px; }

/* Yardımcı metin sınıfları */
.text-dim{ color:var(--text-dim); }
.text-muted{ color:var(--text-muted); }
.lead{ font-size:15px; color:var(--steel); line-height:1.6; margin-top:8px; max-width:60ch; }

/* Breadcrumb — global (product, category, cart hepsi kullanıyor) */
.breadcrumb{
  display:flex; align-items:center; flex-wrap:wrap;
  gap:8px; font-size:13px; margin-bottom:12px; color:var(--steel);
}
.breadcrumb a{ color:var(--accent); text-decoration:none; }
.breadcrumb a:hover{ text-decoration:underline; }
.breadcrumb span{ color:var(--steel-2); }

/* Ortak animasyonlar (JS toast + spinner bunlara güveniyor) */
@keyframes fadeIn{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:translateY(0); } }
@keyframes spin{ to{ transform:rotate(360deg); } }

/* =========================================================
   BLOG
   ========================================================= */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.blog-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  overflow:hidden; display:flex; flex-direction:column;
  transition:box-shadow .18s, transform .18s, border-color .18s;
}
.blog-card:hover{ box-shadow:var(--shadow-2); transform:translateY(-3px); border-color:var(--mist); }
.blog-card-media{
  display:block; aspect-ratio:16/9; background:var(--paper-2); overflow:hidden; position:relative;
}
.blog-card-media img{ width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.blog-card:hover .blog-card-media img{ transform:scale(1.04); }
.blog-card-ph{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:var(--mist); }
.blog-card-body{ padding:18px; display:flex; flex-direction:column; gap:10px; flex:1; }
.blog-card-meta{ display:flex; align-items:center; gap:10px; font-size:11.5px; color:var(--steel); font-family:var(--f-mono); }
.blog-cat{
  display:inline-block; background:var(--accent-soft); color:var(--accent);
  font-size:10.5px; font-weight:600; letter-spacing:.05em; text-transform:uppercase;
  padding:3px 10px; border-radius:12px;
}
.blog-card-body h2{ font-size:16px; line-height:1.4; font-weight:600; }
.blog-card-body h2 a:hover{ color:var(--accent); }
.blog-card-body p{ font-size:13px; color:var(--steel); line-height:1.6; margin:0; }
.blog-more{ margin-top:auto; font-size:13px; font-weight:600; color:var(--accent); }

.bp-meta{ display:flex; align-items:center; gap:8px; margin-top:12px; font-size:13px; color:var(--steel); }
.bp-meta .sep{ color:var(--mist); }
.bp-hero-img{ border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--line); margin-bottom:32px; }
.bp-hero-img img{ width:100%; max-height:440px; object-fit:cover; }
.bp-lead{ font-size:17px; color:var(--charcoal); line-height:1.7; font-weight:500; margin-bottom:24px; }
.bp-content{ font-size:15px; line-height:1.8; color:var(--charcoal); }
.bp-content h2{ font-size:22px; margin:32px 0 14px; }
.bp-content h3{ font-size:18px; margin:26px 0 12px; }
.bp-content p{ margin:0 0 16px; }
.bp-content img{ border-radius:10px; margin:12px 0; }
.bp-content ul, .bp-content ol{ padding-left:22px; margin:0 0 16px; list-style:disc; }
.bp-content ol{ list-style:decimal; }
.bp-content li{ margin-bottom:6px; }
.bp-content blockquote{ border-left:3px solid var(--accent); margin:20px 0; padding:8px 0 8px 18px; color:var(--steel); font-style:italic; }
.bp
/* =========================================================
   FOOTER v2 — 5 kolon · premium lacivert
   ========================================================= */
footer.site-footer{
  background:var(--paper); color:var(--ink); padding:0; margin-top:64px;
  border-top:1px solid var(--line);
}
html[data-theme="dark"] footer.site-footer{
  background:linear-gradient(180deg, #0b0f1e 0%, #070a14 100%);
  color:#b8c0d8; border-top:1px solid rgba(255,255,255,.06);
}

.ft-trustbar{ border-bottom:1px solid var(--line); background:var(--paper-2); }
html[data-theme="dark"] .ft-trustbar{ border-bottom:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.02); }
.ft-trustbar-inner{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px; padding-block:22px;
}
.ft-trust-item{ display:flex; gap:12px; align-items:center; }
.ft-trust-item svg{ color:var(--accent); flex-shrink:0; }
.ft-trust-item strong{ display:block; color:var(--ink); font-size:13px; font-weight:600; }
html[data-theme="dark"] .ft-trust-item strong{ color:#fff; }
.ft-trust-item span{ font-size:11.5px; color:var(--steel); }

.ft-grid{
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1.1fr 1.3fr; gap:36px;
  padding-block:48px 40px;
}
.ft-col h5{
  font-size:11.5px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--steel); margin-bottom:18px; font-weight:600;
}
.ft-col ul li{ margin-bottom:11px; }
.ft-col ul a{ font-size:13.5px; color:var(--steel); transition:color .15s, padding-left .15s; }
html[data-theme="dark"] .ft-col ul a{ color:#c3cadd; }
.ft-col ul a:hover{ color:var(--ink); padding-left:3px; }
html[data-theme="dark"] .ft-col ul a:hover{ color:#fff; }
.ft-col .ft-all{ color:var(--accent); font-weight:600; }

.ft-brand p{ font-size:13px; color:var(--steel); line-height:1.7; margin:14px 0 18px; max-width:34ch; }
html[data-theme="dark"] .ft-brand p{ color:#9aa4c2; }
.ft-logo{
  height:120px; width:auto; max-width:320px; object-fit:contain;
  background:none; padding:0; border-radius:0;
  filter:drop-shadow(0 4px 16px rgba(0,0,0,.08));
}
html[data-theme="dark"] .ft-logo{ filter:drop-shadow(0 4px 16px rgba(0,0,0,.4)); }
.ft-logo-word{ font-size:34px; font-weight:800; color:var(--ink); letter-spacing:.02em; }
html[data-theme="dark"] .ft-logo-word{ color:#fff; }
.ft-social{ display:flex; gap:8px; margin-bottom:18px; }
.ft-social a{
  width:32px; height:32px; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  color:var(--steel); background:var(--paper-2); border:1px solid var(--line);
  transition:background .15s, color .15s, transform .15s;
}
html[data-theme="dark"] .ft-social a{ color:#a5aec9; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); }
.ft-social a:hover{ background:var(--line); color:var(--ink); transform:translateY(-2px); }
html[data-theme="dark"] .ft-social a:hover{ background:rgba(255,255,255,.14); color:#fff; }
.ft-markets{ display:flex; gap:8px; flex-wrap:wrap; }
.ft-mp{
  font-size:10.5px; font-weight:700; padding:5px 12px; border-radius:14px;
  letter-spacing:.02em; transition:transform .15s, filter .15s;
}
.ft-mp:hover{ transform:translateY(-1px); filter:brightness(1.1); }
.ft-mp.ty{ background:#f27a1a; color:#fff; }
.ft-mp.hb{ background:#ff6000; color:#fff; }
.ft-mp.sb{ background:#ffe800; color:#253b80; }

.ft-contact-list li{
  display:flex; align-items:flex-start; gap:10px; margin-bottom:13px;
  font-size:13px; color:var(--steel);
}
html[data-theme="dark"] .ft-contact-list li{ color:#c3cadd; }
.ft-contact-list svg{ color:var(--accent); flex-shrink:0; margin-top:2px; }
.ft-contact-list a{ color:var(--accent); }
html[data-theme="dark"] .ft-contact-list a{ color:#c3cadd; }
.ft-contact-list a:hover{ color:var(--accent-ink); }
html[data-theme="dark"] .ft-contact-list a:hover{ color:#fff; }
.ft-pay{ margin-top:20px; padding-top:16px; border-top:1px solid var(--line); }
html[data-theme="dark"] .ft-pay{ border-top:1px solid rgba(255,255,255,.08); }
.ft-pay-label{ display:block; font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--steel); margin-bottom:8px; }
.ft-pay-badges{ display:flex; gap:6px; flex-wrap:wrap; }
.ft-pay-badges span{
  font-size:10px; font-weight:700; letter-spacing:.03em;
  padding:4px 9px; border-radius:6px;
  background:var(--paper-2); color:var(--steel); border:1px solid var(--line);
}
html[data-theme="dark"] .ft-pay-badges span{ background:rgba(255,255,255,.08); color:#dfe4f2; border:1px solid rgba(255,255,255,.1); }

.ft-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  padding-block:20px; border-top:1px solid var(--line);
  font-size:12px; color:var(--steel);
}
html[data-theme="dark"] .ft-bottom{ border-top:1px solid rgba(255,255,255,.08); color:#6f7998; }
.ft-bottom-links{ display:flex; gap:18px; }
.ft-bottom-links a{ color:var(--steel); transition:color .15s; }
html[data-theme="dark"] .ft-bottom-links a{ color:#8b96b8; }
.ft-bottom-links a:hover{ color:var(--ink); }
html[data-theme="dark"] .ft-bottom-links a:hover{ color:#fff; }
@media (max-width:1080px){
  .ft-grid{ grid-template-columns:1fr 1fr 1fr; }
  .ft-brand{ grid-column:1/-1; }
  .ft-trustbar-inner{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .ft-grid{ grid-template-columns:1fr 1fr; gap:26px; }
  .ft-contact{ grid-column:1/-1; }
  .ft-trustbar-inner{ grid-template-columns:1fr; gap:14px; }
}

/* =========================================================
   KOYU MOD (vitrin) — data-theme="dark"
   Token bazlı: bileşenler otomatik uyum sağlar.
   ========================================================= */
html[data-theme="dark"]{
  --ink:        #e8ebf5;
  --charcoal:   #c7cde2;
  --steel:      #98a2c0;
  --steel-2:    #6b7494;
  --mist:       #3a4260;
  --line:       #262e4c;
  --line-dark:  #303a5e;
  --paper:      #10152a;
  --paper-2:    #171d36;
  --white:      #151b30;
  --accent:     #7d92e8;
  --accent-ink: #a5b4f0;
  --accent-soft:#1d2547;
  --text-dim:   #aab3cf;
  --bg-alt:     #171d36;
  --shadow-1:   0 1px 2px rgba(0,0,0,.4);
  --shadow-2:   0 12px 32px -14px rgba(0,0,0,.7);
}
html[data-theme="dark"] body{
  background:
    radial-gradient(900px 380px at 88% -8%, rgba(255,255,255,.03), transparent 60%),
    linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}
html[data-theme="dark"] .prod-card,
html[data-theme="dark"] .cat-card,
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .card{ background:var(--white); }
html[data-theme="dark"] .prod-add{ background:var(--accent); color:#0e1326; }
html[data-theme="dark"] .btn-primary{ background:var(--accent); color:#0e1326; }
html[data-theme="dark"] .btn-primary:hover{ background:var(--accent-ink); }
html[data-theme="dark"] .btn-accent{ color:#0e1326; }
html[data-theme="dark"] .btn-outline:hover{ background:var(--accent); color:#0e1326; border-color:var(--accent); }
html[data-theme="dark"] .prod-badge{ background:#0e1326; color:#fff; }
html[data-theme="dark"] .prod-badge.warn{ background:var(--accent); color:#0e1326; }
html[data-theme="dark"] .pagination a.active{ background:#0e1326; color:#fff; border-color:#0e1326; }
html[data-theme="dark"] .chip-filter.active{ background:#0e1326; border-color:#0e1326; color:#fff; }

html[data-theme="dark"] .stars{ color:#f5b40b; }
html[data-theme="dark"] .page-hero{ background:transparent; }
html[data-theme="dark"] .section-alt{ background:rgba(255,255,255,.02); }
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea{
  background:var(--paper-2); color:var(--ink); border-color:var(--line);
}
html[data-theme="dark"] .qty-stepper button,
html[data-theme="dark"] .cart-qty button,
html[data-theme="dark"] .cart-remove,
html[data-theme="dark"] .opt-pill,
html[data-theme="dark"] .chip-filter,
html[data-theme="dark"] .pay-option .po-body,
html[data-theme="dark"] .copy-iban,
html[data-theme="dark"] .pd-fav,
html[data-theme="dark"] .pd-thumbs button,
html[data-theme="dark"] .cm-hl{ background:var(--paper-2); color:var(--charcoal); }
html[data-theme="dark"] .os-acc-iban code{ background:var(--paper-2); }
html[data-theme="dark"] .chat-panel,
html[data-theme="dark"] .msg.bot,
html[data-theme="dark"] .chat-input,
html[data-theme="dark"] .chat-suggest button{ background:var(--white); color:var(--ink); border-color:var(--line); }
html[data-theme="dark"] .chat-body{ background:var(--paper); }
html[data-theme="dark"] .lp-card,
html[data-theme="dark"] .lp-mini-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .ct-card{ background:var(--paper-2); border-color:var(--line); }
html[data-theme="dark"] .ct-form-box{ background:var(--white); }
html[data-theme="dark"] .free-hint{ background:var(--paper-2); }

/* ── Footer logo tema varyantları ── */
.ft-logo.logo-dark-variant { display:none; }
html[data-theme="dark"] .ft-logo.logo-light-variant { display:none; }
html[data-theme="dark"] .ft-logo.logo-dark-variant { display:block; }

/* =========================================================
   KOYU MOD — kalan beyaz zemin ve buton düzeltmeleri
   ========================================================= */

/* Butonlar */
html[data-theme="dark"] .btn-outline{ border-color:var(--steel); color:var(--charcoal); }
html[data-theme="dark"] .btn-outline:hover{ background:var(--accent); border-color:var(--accent); color:#0e1326; }
html[data-theme="dark"] .btn-ghost{ color:var(--charcoal); border-color:var(--line); }
html[data-theme="dark"] .btn-ghost:hover{ border-color:var(--steel); background:rgba(255,255,255,.04); }
html[data-theme="dark"] .prod-badge{ background:var(--accent); color:#0e1326; }
html[data-theme="dark"] .prod-fav{ background:var(--paper-2); border-color:var(--line); color:var(--charcoal); }
html[data-theme="dark"] .icon-btn{ background:transparent; border-color:var(--line); }

/* Kategori sayfası */
html[data-theme="dark"] .sort-select,
html[data-theme="dark"] .filter-group select{ background:var(--paper-2) !important; color:var(--ink); border-color:var(--line); }
html[data-theme="dark"] .filter-panel,
html[data-theme="dark"] .search-wrap{ background:var(--white); border-color:var(--line); }
html[data-theme="dark"] .filters-bar{ background:var(--paper-2); }
html[data-theme="dark"] .pagination a, html[data-theme="dark"] .pagination span{ border-color:var(--line); color:var(--charcoal); background:var(--paper-2); }
html[data-theme="dark"] .pagination a.active, html[data-theme="dark"] .pagination span.active{ background:var(--accent); border-color:var(--accent); color:#0e1326; }

/* Checkout / sipariş */
html[data-theme="dark"] .co-steps span{ background:var(--paper-2); border-color:var(--line); color:var(--steel); }
html[data-theme="dark"] .co-steps .cur{ background:var(--accent); border-color:var(--accent); color:#0e1326; }
html[data-theme="dark"] .co-steps .done{ background:rgba(52,210,123,.12); border-color:rgba(52,210,123,.3); color:#34d27b; }
html[data-theme="dark"] .os-acc-iban code,
html[data-theme="dark"] .copy-iban,
html[data-theme="dark"] .cart-qty button,
html[data-theme="dark"] .cart-remove,
html[data-theme="dark"] .qty-stepper button,
html[data-theme="dark"] .qty-stepper input{ background:var(--paper-2) !important; color:var(--charcoal); border-color:var(--line); }
html[data-theme="dark"] .os-check{ background:rgba(52,210,123,.12); border-color:rgba(52,210,123,.3); }
html[data-theme="dark"] .os-orderno{ background:var(--paper-2); border-color:var(--steel-2); }
html[data-theme="dark"] .co-error,
html[data-theme="dark"] .rf-result.err,
html[data-theme="dark"] .cf-error{ background:rgba(242,101,101,.12); border-color:rgba(242,101,101,.35); color:#f28b8b; }
html[data-theme="dark"] .rf-result.ok,
html[data-theme="dark"] .cf-success,
html[data-theme="dark"] .pd-save{ background:rgba(52,210,123,.12); border-color:rgba(52,210,123,.3); color:#34d27b; }

/* Ürün sayfası */
html[data-theme="dark"] .pd-review{ background:var(--white); border-color:var(--line); }
html[data-theme="dark"] .pd-gnav{ background:rgba(21,27,48,.9); color:var(--ink); }
html[data-theme="dark"] .rf-stars button{ color:var(--mist); }
html[data-theme="dark"] .rf-stars button.on{ color:#f5b40b; }

/* About / hakkımızda kartları */
html[data-theme="dark"] .lp-card,
html[data-theme="dark"] .lp-mini-card,
html[data-theme="dark"] .lp-info-box{ background:var(--paper-2); border-color:var(--line); }
html[data-theme="dark"] .lp-faq-item{ background:var(--white); }

/* Home banner kartları (inline #fff kullanan bölümler) */
html[data-theme="dark"] .hero-banner-card,
html[data-theme="dark"] .home-banner-item{ background:var(--paper-2) !important; }

/* Genel: badge/chip zeminleri */
html[data-theme="dark"] .chip{ background:var(--paper-2); border-color:var(--line); color:var(--steel); }
html[data-theme="dark"] .empty-state svg{ color:var(--mist); }
html[data-theme="dark"] .swatch{ box-shadow:0 0 0 1px var(--line); border-color:var(--paper); }

/* Tablolar */
html[data-theme="dark"] .os-table td, html[data-theme="dark"] .os-table th,
html[data-theme="dark"] .spec-table td{ border-color:var(--line); }


/* ── Vercel-black aksan düzeltmeleri: turkuaz #0EE0DE · sarı #F3F377 · beyaz ── */
html[data-theme="dark"]{ --good:#0EE0DE; --warn:#F3F377; }
html[data-theme="dark"] .topbar{
  background:linear-gradient(180deg,#0d0d0d,#000) !important;
  border-bottom-color:#262626 !important;
}
html[data-theme="dark"] .tb-badge{ background:rgba(14,224,222,.1); border-color:rgba(14,224,222,.3); color:#0EE0DE; }
html[data-theme="dark"] .about-hero,
html[data-theme="dark"] .mp-closing-inner,
html[data-theme="dark"] .faq-cta,
html[data-theme="dark"] .sf-cta{ background:#111 !important; border:1px solid #262626; }
html[data-theme="dark"] .sf-cta .btn-accent{ background:#0EE0DE; color:#000; }
html[data-theme="dark"] .btn-accent{ background:#0EE0DE; color:#000; }
html[data-theme="dark"] .btn-accent:hover{ background:#F3F377; color:#000; }
html[data-theme="dark"] .btn-primary{ background:#ededed; color:#000; }
html[data-theme="dark"] .btn-primary:hover{ background:#fff; }
html[data-theme="dark"] .btn-outline:hover{ background:#0EE0DE; border-color:#0EE0DE; color:#000; }
html[data-theme="dark"] .prod-badge{ background:#F3F377; color:#000; }
html[data-theme="dark"] .blog-cat{ background:rgba(14,224,222,.12); color:#0EE0DE; }
html[data-theme="dark"] .spec-tag{ color:#0EE0DE; }
html[data-theme="dark"] .spec-tag::before{ background:#0EE0DE; }
html[data-theme="dark"] .pd-price,
html[data-theme="dark"] .prod-price{ color:#0EE0DE; }
html[data-theme="dark"] .pd-save{ background:rgba(243,243,119,.12); border-color:rgba(243,243,119,.35); color:#F3F377; }
html[data-theme="dark"] .breadcrumb a,
html[data-theme="dark"] .blog-more,
html[data-theme="dark"] td a{ color:#0EE0DE; }
html[data-theme="dark"] .cart-badge{ background:#0EE0DE !important; color:#000; }
html[data-theme="dark"] .free-hint-bar span{ background:#0EE0DE; }
html[data-theme="dark"] .free-hint-text b{ color:#0EE0DE; }
html[data-theme="dark"] .pay-option input:checked + .po-body{ border-color:#0EE0DE; background:rgba(14,224,222,.06); }
html[data-theme="dark"] .pay-option input:checked + .po-body .po-icon{ background:#0EE0DE; color:#000; }
html[data-theme="dark"] .tr-step.done::before{ background:#0EE0DE; }
html[data-theme="dark"] .tr-step.done .tr-dot{ background:#0EE0DE; border-color:#0EE0DE; }
html[data-theme="dark"] .tr-step.done .tr-dot::after{ color:#000; }



/* =========================================================
   KOYU MOD v3 — METALİK SİYAH
   Kalan tüm lacivert tonlar nötr siyah skalaya çekildi.
   Aksan: metalik gümüş; ışık: minimal beyaz parlamalar.
   Bu katman dosyanın SONUNDA — önceki tüm dark tanımlarını ezer.
   ========================================================= */
html[data-theme="dark"]{
  --ink:        #ededed;
  --charcoal:   #c9c9c9;
  --steel:      #9a9a9a;
  --steel-2:    #6f6f6f;
  --mist:       #3d3d3d;
  --line:       #262626;
  --line-dark:  #333333;
  --paper:      #0a0a0a;
  --paper-2:    #141414;
  --white:      #111111;
  --accent:     #d6d6d6;   /* metalik gümüş */
  --accent-ink: #ffffff;
  --accent-soft:#1f1f1f;
  --text-dim:   #a3a3a3;
  --bg-alt:     #141414;
  --shadow-1:   0 1px 2px rgba(0,0,0,.5);
  --shadow-2:   0 12px 32px -14px rgba(0,0,0,.85);
}

/* Zemin: derin siyah + tepeden süzülen minimal ışık.
   Not: background-attachment:fixed sayfa geçişlerinde titreme (repaint jank)
   yapıyordu → kaldırıldı; degrade normal akışta. */
html[data-theme="dark"] body{
  background:
    radial-gradient(1100px 420px at 50% -12%, rgba(255,255,255,.045), transparent 62%),
    radial-gradient(700px 300px at 92% 8%, rgba(255,255,255,.02), transparent 55%),
    linear-gradient(180deg, #000 0%, #0a0a0a 100%);
  background-color:#050505;
}

/* Sayfalar arası yatay zıplamayı önle: scrollbar alanı hep rezerve */
html{ scrollbar-gutter:stable; }

/* Kartlar: metalik yüzey — hafif dikey degrade + iç ışık çizgisi */
html[data-theme="dark"] .prod-card,
html[data-theme="dark"] .cat-card,
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .cat-sidebar,
html[data-theme="dark"] .lp-card,
html[data-theme="dark"] .contact-card{
  background:linear-gradient(180deg, #161616 0%, #101010 100%);
  border-color:#262626;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 8px 24px -14px rgba(0,0,0,.8);
}
html[data-theme="dark"] .prod-card:hover,
html[data-theme="dark"] .cat-card:hover,
html[data-theme="dark"] .blog-card:hover{
  border-color:#3d3d3d;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09), 0 16px 40px -16px rgba(0,0,0,.9);
}

/* Aksan taşıyan yüzeyler → gümüş üzerine siyah metin */
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .prod-add,
html[data-theme="dark"] .btn-accent,
html[data-theme="dark"] .prod-badge,
html[data-theme="dark"] .pagination a.active,
html[data-theme="dark"] .pagination span.active,
html[data-theme="dark"] .co-steps .cur,
html[data-theme="dark"] .chip-filter.active,
html[data-theme="dark"] .msg.user,
html[data-theme="dark"] .chat-input button,
html[data-theme="dark"] .chat-fab,
html[data-theme="dark"] .cat-tree-link.is-active{
  /* Not: gradient + background transition'ı hover'da siyah flaş yapıyordu →
     düz renk + yalnızca background-color/box-shadow geçişi */
  background:#dcdcdc !important;
  color:#0a0a0a !important;
  border-color:#e5e5e5 !important;
  transition:background-color .15s, box-shadow .15s, color .15s;
}
html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .prod-add:hover{
  background:#ffffff !important;
  color:#0a0a0a !important;
  box-shadow:0 0 18px rgba(255,255,255,.18); /* minimal ışık efekti */
}
html[data-theme="dark"] .cat-tree-link.is-active em{ color:rgba(0,0,0,.55); }

/* Linkler / vurgular: lacivert-mavi kalıntıları nötrle */
html[data-theme="dark"] a{ color:inherit; }
html[data-theme="dark"] .breadcrumb a,
html[data-theme="dark"] .prod-cat,
html[data-theme="dark"] .cat-filter-list a:hover,
html[data-theme="dark"] .cat-tree-link:hover{ color:#fff; }
html[data-theme="dark"] .cat-filter-list a:hover,
html[data-theme="dark"] .cat-tree-link:hover{ background:rgba(255,255,255,.06); }

/* Footer: lacivert-gri metinler → nötr gri */
html[data-theme="dark"] footer.site-footer{ background:linear-gradient(180deg,#0d0d0d,#000); border-top:1px solid #1f1f1f; }
html[data-theme="dark"] .ft-col ul a,
html[data-theme="dark"] .ft-contact-list li,
html[data-theme="dark"] .ft-contact-list a{ color:#a3a3a3; }
html[data-theme="dark"] .ft-brand p{ color:#8a8a8a; }
html[data-theme="dark"] .ft-social a{ color:#b5b5b5; background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.09); }
html[data-theme="dark"] .ft-pay-badges span{ background:rgba(255,255,255,.06); color:#d4d4d4; border-color:rgba(255,255,255,.09); }

/* Girdi odakları: mavi glow yerine beyaz metalik glow */
html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus{
  border-color:#525252 !important;
  box-shadow:0 0 0 3px rgba(255,255,255,.07) !important;
  outline:none;
}

/* Bölüm başlıkları altına incecik ışık çizgisi (yalnızca koyu mod) */
html[data-theme="dark"] .section-head h2{
  background:linear-gradient(90deg,#fff 0%,#bdbdbd 70%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}

/* Sepet rozeti ve sayaçlar */
html[data-theme="dark"] .cart-badge,
html[data-theme="dark"] .cat-filter-count{ background:#ededed; color:#0a0a0a; }

/* Kalan mavi hover/vurgu güvenlik ağı */
html[data-theme="dark"] .btn-outline:hover{ background:#ededed; border-color:#ededed; color:#0a0a0a; }
html[data-theme="dark"] .pd-gnav{ background:rgba(17,17,17,.92); }
html[data-theme="dark"] .os-orderno{ border-color:#3d3d3d; }

/* =========================================================
   MOBİL APP KATMANI — telefonda native uygulama hissi
   Alt sekme çubuğu + kompakt yapışkan header + dokunma optimizasyonları
   ========================================================= */

/* Alt sekme çubuğu (masaüstünde gizli) */
.app-tabbar{ display:none; }

@media (max-width: 768px){
  html{ -webkit-text-size-adjust:100%; }
  body{
    -webkit-tap-highlight-color:transparent;
    padding-bottom:calc(64px + env(safe-area-inset-bottom, 0px));
    overscroll-behavior-y:none; /* app hissi: sayfa sonunda sekme geri çekilmesin */
  }

  /* ── Alt sekme çubuğu ── */
  .app-tabbar{
    position:fixed; left:0; right:0; bottom:0; z-index:300;
    display:grid; grid-template-columns:repeat(5,1fr);
    height:calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom:env(safe-area-inset-bottom, 0px);
    background:rgba(255,255,255,.92);
    -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
    border-top:1px solid var(--line);
    box-shadow:0 -4px 20px rgba(0,0,0,.06);
  }
  .app-tabbar a, .app-tabbar button{
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
    border:none; background:none; cursor:pointer;
    font-size:10.5px; font-weight:600; color:var(--steel);
    text-decoration:none; -webkit-user-select:none; user-select:none;
    transition:color .15s, transform .1s;
  }
  .app-tabbar a:active, .app-tabbar button:active{ transform:scale(.92); }
  .app-tabbar svg{ width:22px; height:22px; }
  .app-tabbar .active{ color:var(--ink); }
  .app-tabbar .active svg{ stroke-width:2.3; }
  .app-tab-badge{
    position:absolute; top:6px; right:calc(50% - 20px);
    min-width:16px; height:16px; padding:0 4px; border-radius:8px;
    background:var(--danger, #dc2626); color:#fff;
    font-style:normal; font-size:10px; font-weight:700;
    display:flex; align-items:center; justify-content:center;
  }
  .app-tab-badge:empty, .app-tab-badge[data-cart-count="0"]{ display:none; }

  /* ── Kompakt yapışkan header ── */
  .topbar{ display:none !important; } /* app'te topbar yok */
  .site-header{
    position:sticky; top:0; z-index:250;
    -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
  }
  .site-header .header-inner{ min-height:54px; }
  .brand img, .brand .logo-light, .brand .logo-dark{ max-height:34px; }
  /* Alt bar zaten sepet+hesap içeriyor → header'da sadeleş */
  .header-actions .icon-btn[aria-label="Sepet"],
  .header-actions .icon-btn[aria-label*="Hesab"],
  .header-actions .icon-btn[aria-label*="Giriş"]{ display:none; }

  /* ── Dokunma hedefleri ve kartlar ── */
  .btn, .prod-add, .icon-btn{ min-height:42px; }
  .prod-grid{ grid-template-columns:repeat(2,1fr) !important; gap:12px; }
  .prod-card{ border-radius:14px; }
  .prod-title{ font-size:13px; }
  .prod-price{ font-size:15px; }
  .section{ padding-top:28px; padding-bottom:28px; }
  .page-hero{ padding-top:18px; padding-bottom:10px; }
  .page-hero h1{ font-size:22px; }

  /* ── Footer'ı sadeleştir (app'te uzun footer boğar) ── */
  footer.site-footer .ft-col:nth-child(2),
  footer.site-footer .ft-col:nth-child(3){ display:none; }
  .ft-trustbar{ display:none; }

  /* Chat balonu alt bar'ın üstünde dursun */
  .chat-fab{ bottom:calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
  .chat-panel{ bottom:calc(76px + env(safe-area-inset-bottom, 0px)) !important; max-height:65vh; }

  /* iOS momentum scroll */
  .cat-sidebar, .chat-body{ -webkit-overflow-scrolling:touch; }

  /* ── Mobil header düzeni: logo solda, sağda sadece ara + tema + menü ── */
  .site-header{ height:56px; }
  .site-header .header-inner, .header-inner{
    display:flex; align-items:center; gap:8px; padding:0 14px; width:100%;
  }
  .nav-main{ display:none !important; }        /* menü burger'de */
  .brand{ margin-right:auto; }
  .brand img{ max-height:32px; width:auto; }
  .header-actions{ gap:4px; }
  .search-btn, .icon-btn, .burger{
    width:40px; height:40px; border-radius:12px;
    display:flex; align-items:center; justify-content:center;
  }
  .search-btn:active, .icon-btn:active{ transform:scale(.92); }

  /* ── Kategori kartları: sade mini karolar (ikon + isim) ── */
  .cat-grid{ grid-template-columns:repeat(2,1fr) !important; gap:10px; }
  .cat-card{
    min-height:0; padding:14px; gap:10px;
    flex-direction:row; align-items:center;
    border-radius:13px;
  }
  .cat-card .icon{ width:34px; height:34px; flex-shrink:0; }
  .cat-card .cnt{ margin-top:0; }
  .cat-card h3{ font-size:13.5px; }
  .cat-card .sub-labels{ display:none; }        /* alt kategori dökümü mobilde gizli */
  .cat-card .arrow{ display:none; }
  .cat-card.has-sub .arrow{ display:none; }
  .cat-card:hover{ transform:none; }            /* mobilde hover kayması olmasın */

  /* /categories genel bakış kartları da sade: sadece isim + ürün sayısı */
  .cats-card{ padding:14px !important; }
  .cats-subs{ display:none !important; }
  .cats-card:hover{ transform:none; }

  /* ── Blog kartları tek kolon ── */
  .blog-grid{ grid-template-columns:1fr !important; gap:16px; }
  .blog-card{ border-radius:14px; }
  .blog-card-body{ padding:14px; }
  .blog-card-body h2{ font-size:15px; }
  .blog-card-body p{ font-size:12.5px; }
}

/* Koyu modda alt bar: metalik siyah cam */
@media (max-width: 768px){
  html[data-theme="dark"] .app-tabbar{
    background:rgba(10,10,10,.9);
    border-top-color:#262626;
    box-shadow:0 -4px 24px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.04);
  }
  html[data-theme="dark"] .app-tabbar a,
  html[data-theme="dark"] .app-tabbar button{ color:#8a8a8a; }
  html[data-theme="dark"] .app-tabbar .active{ color:#ffffff; }
  html[data-theme="dark"] .app-tab-badge{ background:#ededed; color:#0a0a0a; }
}
/* ===== MUBO HEADER SYSTEM ===== */

:root {
  --header-h: 72px;
  --topbar-h: 34px;
  --hdr-max: 1280px;
  --nav-accent: #1e2f6e;
  --nav-hover-bg: rgba(30,47,110,.07);
  --mega-radius: 14px;
  --mega-shadow: 0 16px 48px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06);
  --mega-border: rgba(0,0,0,.08);
}

/* ── TOPBAR — referans tasarım: koyu şerit, dikey ayraçlı bölümler ── */
.topbar {
  background: linear-gradient(180deg, #10141f 0%, #0b0e17 100%);
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
  height: 48px;
  display: flex;
  align-items: center;
  z-index: 200;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .tb-inner {
  max-width: var(--hdr-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

/* Bölüm ayracı */
.tb-div { width: 1px; height: 22px; background: rgba(255,255,255,.12); flex-shrink: 0; }

/* İkonlu bilgi öğesi */
.tb-item {
  display: inline-flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,.82); font-weight: 500; white-space: nowrap;
}
.tb-item svg { color: rgba(255,255,255,.7); flex-shrink: 0; }

/* Pazaryeri pilleri — orijinal marka kimlikleri */
.tb-pills { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tb-pill {
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; line-height: 1;
  transition: transform .15s, filter .15s, box-shadow .15s;
}
.tb-pill:hover { transform: translateY(-1px); filter: brightness(1.06); }
.tb-pill.ty { background: #f27a1a; color: #fff; }
.tb-pill.hb { background: #ffffff; color: #ff6000; }
.tb-pill.sb { background: #ffe800; color: #253b80; }

/* Telefon bloğu (numara + alt satır) */
.tb-phone {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; white-space: nowrap;
}
.tb-phone svg { color: rgba(255,255,255,.75); flex-shrink: 0; }
.tb-phone-text { display: flex; flex-direction: column; line-height: 1.25; }
.tb-phone-text strong { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.tb-phone-text small { font-size: 10px; color: rgba(255,255,255,.5); font-weight: 500; }
.tb-phone:hover strong { color: #ffe082; }

/* Bizi Takip Edin + yuvarlak ikonlar */
.tb-follow { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.tb-follow-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85); }
.tb-social { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.tb-social a {
  display: flex; align-items: center; justify-content: center;
  width: 27px; height: 27px; border-radius: 50%;
  color: rgba(255,255,255,.85);
  border: 1.4px solid rgba(255,255,255,.35);
  background: transparent;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.tb-social a:hover { background: #fff; color: #0b0e17; border-color: #fff; transform: translateY(-1px); }
.tb-social svg { display: block; }

@media (max-width: 1180px) {
  .tb-follow-label { display: none; }
  .tb-item span { font-size: 11px; }
}
@media (max-width: 900px) {
  .topbar { height: 42px; }
  .topbar .tb-inner { justify-content: center; }
  .tb-pills { gap: 6px; }
  .tb-pill { padding: 4px 11px; font-size: 10.5px; }
}

/* ── SITE HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(255,255,255,.98);
  /* Perf: sticky + backdrop-filter her scroll frame'inde yeniden compose ediliyor;
     20px yerine daha hafif bir blur + kendi katmanına alma (will-change) ile
     scroll sırasındaki kasmayı azaltıyoruz. */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  will-change: transform;
  border-bottom: 1px solid var(--mega-border);
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  transition: box-shadow .25s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

.hdr-inner {
  max-width: var(--hdr-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

/* ── BRAND ── */
.brand {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 24px;
  padding: 6px 0;
}
.brand img {
  height: calc(var(--header-h) - 12px);   /* üst-alt çizgi arasına tam oturur */
  max-height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform .25s ease, filter .25s ease;
}
.brand:hover img { transform: scale(1.035); filter: drop-shadow(0 3px 8px rgba(30,47,110,.18)); }

/* ── MAIN NAV ── */
.nav-main {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  flex: 0 0 auto;
}
.nav-main > li {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-main > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1e;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s, background .18s;
}
.nav-main > li > a:hover,
.nav-main > li.active > a {
  color: var(--nav-accent);
  background: var(--nav-hover-bg);
  border-bottom-color: var(--nav-accent);
}
.nav-main > li > a .chev {
  transition: transform .22s;
  opacity: .5;
  flex-shrink: 0;
}
.nav-main > li:hover > a .chev {
  transform: rotate(180deg);
  opacity: .8;
}
.nav-highlight { color: var(--nav-accent) !important; }

/* ── MEGA MENU ── */
.mega {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: max-content;
  min-width: 360px;
  background: #fff;
  border-radius: 0 var(--mega-radius) var(--mega-radius) var(--mega-radius);
  box-shadow: var(--mega-shadow);
  border: 1px solid var(--mega-border);
  padding: 24px 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
  z-index: 500;
}
.mega::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1e2f6e, #3d5bd9);
  border-radius: 2px 2px 0 0;
}
.nav-main > li:hover .mega,
.nav-main > li:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Mega grid (varsayilan 2 kolon; 3. kolon eklendiginde repeat(3, ...) yap) */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
}
.mega-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 32px;
  border-right: 1px solid #f0f0f2;
}
.mega-col:last-child {
  padding-right: 0;
  border-right: none;
}
.mega-title {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9a9ca3;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f2;
  display: none;
}
.mega-col a {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #3a3a42;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background .14s, color .14s;
  margin: 0 -8px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: normal;
  border-bottom: 1px solid #f0f0f2;
}
.mega-col a .mega-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: .45;
  color: #6b6b7a;
}
.mega-col a:last-child {
  border-bottom: none;
}
.mega-col a:hover {
  background: var(--nav-hover-bg);
  color: var(--nav-accent);
}

/* ── SEARCH MODAL ── */
.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: #3a3a42;
  transition: background .15s, color .15s;
  flex-shrink: 0;
  margin: 0 0 0 auto;
}
.search-btn:hover { background: #f4f4f6; color: #0b0b0c; }
.search-btn svg { width: 18px; height: 18px; }

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  backdrop-filter: blur(2px);
}
.search-overlay.open { opacity: 1; pointer-events: auto; }

.search-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%) scale(.94);
  width: min(600px, calc(100vw - 40px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
  z-index: 2001;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  overflow: hidden;
}
.search-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.search-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f2;
}
.search-modal-head svg {
  width: 18px;
  height: 18px;
  color: #9a9ca3;
  flex-shrink: 0;
}
.search-modal-head input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #1a1a1e;
}
.search-modal-head input::placeholder { color: #b0b2b8; }
.search-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: #f4f4f6;
  border-radius: 8px;
  cursor: pointer;
  color: #6b6b7a;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.search-modal-close:hover { background: #e8e8ec; color: #1a1a1e; }
.search-modal-close svg { width: 16px; height: 16px; }
.search-modal-hint {
  padding: 10px 20px;
  font-size: 11.5px;
  color: #b0b2b8;
  font-family: 'Poppins', sans-serif;
}

/* ── HEADER ACTIONS ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: #3a3a42;
  transition: background .15s, color .15s;
  text-decoration: none;
  flex-shrink: 0;
}
.icon-btn:hover { background: #f4f4f6; color: #0b0b0c; }
.cart-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--nav-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  font-family: 'Poppins', sans-serif;
}
.burger { display: none; }

/* ── MOBILE NAV ── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #131d3f;
  z-index: 1000;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.mobile-nav-head .mn-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.mobile-nav-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  transition: background .15s;
}
.mobile-nav-close:hover { background: rgba(255,255,255,.08); color: #fff; }

.mobile-nav-links {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  transition: background .12s, color .12s;
}
.mobile-nav-links a svg { flex-shrink: 0; opacity: .6; }
.mobile-nav-links a:hover { background: rgba(255,255,255,.05); color: #fff; }
.mobile-nav-links a:hover svg { opacity: 1; }

.mn-section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
  padding: 16px 20px 4px;
}

/* Mobil menü: akordiyon alt menüler */
.mn-group-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 11px 20px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.7);
  font-size: 13.5px; font-weight: 500;
  font-family: 'Poppins', sans-serif;
  transition: background .12s, color .12s;
}
.mn-group-toggle:hover { background: rgba(255,255,255,.05); }

/* ── KOYU MOD (header) ── */
#site-theme-toggle .ic-sun { display: none; }
html[data-theme="dark"] #site-theme-toggle .ic-moon { display: none; }
html[data-theme="dark"] #site-theme-toggle .ic-sun { display: block; }

html[data-theme="dark"] .site-header {
  background: rgba(0, 0, 0, .85);
  border-bottom-color: rgba(255,255,255,.08);
}
html[data-theme="dark"] .nav-main > li > a { color: #d4d4d4; }
html[data-theme="dark"] .nav-main > li > a:hover,
html[data-theme="dark"] .nav-main > li.active > a { color: #ffffff; background: rgba(255,255,255,.06); border-bottom-color: #ededed; }
html[data-theme="dark"] .nav-highlight { color: #F3F377 !important; }
html[data-theme="dark"] .mega { background: #111111; border-color: rgba(255,255,255,.09); }
html[data-theme="dark"] .mega-col { border-right-color: rgba(255,255,255,.06); }
html[data-theme="dark"] .mega-col a { color: #a1a1a1; border-bottom-color: rgba(255,255,255,.05); }
html[data-theme="dark"] .mega-col a:hover { background: rgba(255,255,255,.06); color: #ffffff; }
html[data-theme="dark"] .search-btn,
html[data-theme="dark"] .icon-btn { color: #d4d4d4; }
html[data-theme="dark"] .search-btn:hover,
html[data-theme="dark"] .icon-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
html[data-theme="dark"] .search-modal { background: #111111; }
html[data-theme="dark"] .search-modal-head { border-bottom-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .search-modal-head input { color: #ededed; }
html[data-theme="dark"] .search-modal-close { background: rgba(255,255,255,.08); color: #aab3cf; }

/* ── Tema bazlı logo değişimi ── */
.brand .logo-dark { display: none; }
html[data-theme="dark"] .brand .logo-light { display: none; }
html[data-theme="dark"] .brand .logo-dark { display: block; }

html[data-theme="dark"] .mega::before { background: linear-gradient(90deg, #0EE0DE, #F3F377); }
html[data-theme="dark"] .tb-pill.hb { background:#1a1a1a; color:#ff6000; border:1px solid #333; }

