/* ==========================================================================
   Bukalemun Boya TR — ana stil
   Tema: siyah zemin + iridesans (bukalemun) renk geçişi. Logo ile uyumlu.
   ========================================================================== */

:root {
  --bg:        #06060a;
  --bg-2:      #0d0d14;
  --bg-3:      #14141d;

  /* Yarı saydam yüzeyler.
     Hareketli arka plan bunların ARKASINDA duruyor; opak renk kullanılırsa
     animasyon yalnızca hero'nun olduğu ana sayfada görünür, iç sayfalarda kaybolur.
     Bu yüzden tüm büyük yüzeyler saydamlık içerir. */
  --surface:      rgba(13, 13, 20, .62);
  --surface-soft: rgba(13, 13, 20, .40);
  --surface-deep: rgba(9, 9, 14, .78);
  --line:      #23232f;
  --line-2:    #32323f;
  --ink:       #f4f4f7;
  --ink-2:     #a6a6b8;
  --ink-3:     #6f6f82;

  --neon-cyan:   #22d3ee;
  --neon-green:  #a3e635;
  --neon-violet: #a855f7;
  --neon-pink:   #ec4899;
  --neon-amber:  #fbbf24;
  --wa:          #25d366;

  --iris: linear-gradient(100deg,
    #fbbf24 0%, #a3e635 20%, #22d3ee 42%, #6366f1 62%, #a855f7 80%, #ec4899 100%);

  /* Orbitron sadece marka adında — başlıklarda okunurluğu düşürüyor.
     Manrope: kurumsal, dengeli, Türkçe karakterleri tam.  Inter: gövde metni. */
  --font-logo: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --wrap: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --header-h: 74px;
  --glow: 0 0 40px -12px rgba(168, 85, 247, .55);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Dekoratif arka plan katmanları viewport dışına taşıyor (.grain 864px).
     clip, hidden'dan farklı olarak position:sticky'yi bozmaz. */
  overflow-x: clip;
}
@supports not (overflow-x: clip) {
  html { overflow-x: hidden; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0125rem;
  line-height: 1.7;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

/* ==========================================================================
   HAREKETLİ ARKA PLAN
   Bukalemun pigmentinin yağ-filmi (oil slick) görüntüsünü taklit eder:
   üç ayrı hızda süzülen renk lekeleri + üstte ince film grenli doku.
   Tamamen CSS — JavaScript yok, kaydırma performansını etkilemez.
   ========================================================================== */

/* Katman 1 — yavaş, geniş lekeler.
   Renk yoğunlukları neredeyse siyah zeminde görünür olacak şekilde seçildi;
   .17 gibi düşük alfa değerleri #06060a üzerinde gözle ayırt edilemiyordu. */
body::before {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -3;
  background:
    radial-gradient(52vw 52vw at 15% 18%, rgba(34,211,238,.42), transparent 60%),
    radial-gradient(46vw 46vw at 84% 10%, rgba(168,85,247,.46), transparent 60%),
    radial-gradient(50vw 50vw at 52% 90%, rgba(236,72,153,.34), transparent 60%),
    radial-gradient(42vw 42vw at 6%  76%, rgba(163,230,53,.24), transparent 60%);
  pointer-events: none;
  animation: meshDrift 30s ease-in-out infinite;
  will-change: transform;
}

/* Katman 2 — daha hızlı, ters yönde. screen yerine normal karışım:
   screen koyu zeminde neredeyse hiçbir şey katmıyordu. */
body::after {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -2;
  background:
    radial-gradient(40vw 40vw at 74% 60%, rgba(99,102,241,.40), transparent 58%),
    radial-gradient(34vw 34vw at 24% 46%, rgba(251,191,36,.20), transparent 58%),
    radial-gradient(30vw 30vw at 90% 85%, rgba(20,184,166,.26), transparent 58%);
  pointer-events: none;
  animation: meshDrift2 21s ease-in-out infinite;
  will-change: transform;
}

/* Hareket belirgin olmalı — %2-3'lük kayma fark edilmiyordu */
@keyframes meshDrift {
  0%   { transform: translate3d(0, 0, 0)      scale(1)    rotate(0deg); }
  25%  { transform: translate3d(7%, -5%, 0)   scale(1.18) rotate(5deg); }
  50%  { transform: translate3d(-4%, 6%, 0)   scale(1.10) rotate(-4deg); }
  75%  { transform: translate3d(5%, 4%, 0)    scale(1.22) rotate(3deg); }
  100% { transform: translate3d(0, 0, 0)      scale(1)    rotate(0deg); }
}
@keyframes meshDrift2 {
  0%   { transform: translate3d(0, 0, 0)      scale(1)    rotate(0deg); }
  33%  { transform: translate3d(-9%, 5%, 0)   scale(1.25) rotate(-6deg); }
  66%  { transform: translate3d(6%, -7%, 0)   scale(1.12) rotate(4deg); }
  100% { transform: translate3d(0, 0, 0)      scale(1)    rotate(0deg); }
}

/* Katman 3 — film greni. Renk bantlanmasını kırar, yüzeye doku verir. */
.grain {
  position: fixed;
  inset: -50%;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 700ms steps(4) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-3%,2%); }
  50%  { transform: translate(2%,-3%); }
  75%  { transform: translate(-2%,-2%); }
  100% { transform: translate(0,0); }
}

/* İmleci takip eden yumuşak ışık — sadece fare kullanan cihazlarda */
.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 520px; height: 520px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(168,85,247,.13), transparent 65%);
  transition: opacity .5s ease;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow { opacity: 1; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.14;
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.035em;
}
h2 {
  font-size: clamp(1.65rem, 3.3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.028em;
}
h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -.015em; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }

/* Uzun metin blokları için okunabilir satır uzunluğu */
.article p, .article li { font-size: 1.06rem; line-height: 1.78; }
strong, b { font-weight: 600; color: var(--ink); }

:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--neon-violet); color: #fff; }

/* ------------------------------------------------------------- yardımcı -- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--surface-soft); border-block: 1px solid var(--line); }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 66ch; }
.center .lead { margin-inline: auto; }
.muted { color: var(--ink-3); font-size: .87rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: var(--iris);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: .9rem;
}

.iris-text {
  background: var(--iris);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: irisShift 9s linear infinite;
}
@keyframes irisShift { to { background-position: 200% center; } }

.section-head { margin-bottom: 2.8rem; }

/* --------------------------------------------------------------- butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .93rem;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--wa { background: var(--wa); color: #04180c; box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
.btn--wa:hover { background: #1fbe5b; box-shadow: 0 10px 30px -10px rgba(37,211,102,.7); }

.btn--iris { position: relative; color: #06060a; background: var(--iris); background-size: 200% auto; }
.btn--iris:hover { background-position: 100% center; box-shadow: var(--glow); }

.btn--ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--neon-cyan); color: #fff; }

.btn--block { width: 100%; }
.btn--sm { padding: .6rem 1.05rem; font-size: .84rem; }

/* ------------------------------------------------------- ücretsiz kargo -- */
.ship-bar {
  position: relative;
  z-index: 61;
  text-align: center;
  padding: .5rem 1rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: #06060a;
  background: var(--iris);
  background-size: 200% auto;
  animation: irisShift 12s linear infinite;
}
.ship-bar span { display: inline-block; }

.ship-badge {
  display: inline-block;
  margin-top: .35rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  white-space: nowrap;
}
.ship-badge--free {
  color: var(--wa);
  border-color: rgba(37,211,102,.45);
  background: rgba(37,211,102,.1);
  font-weight: 600;
}

/* --------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(6,6,10,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; }

.logo { display: flex; align-items: center; gap: .7rem; flex: none; }
.logo img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  /* Logonun siyah zemini sayfa zeminiyle birleşsin */
  background: #000;
}
.logo__fallback {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--iris);
  display: grid; place-items: center;
  font-size: 1.5rem;
}

/* Marka adı tek satır — alt alta iki satır dar ekranda dağılıyordu */
.logo__text {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
.logo__text em {
  font-style: normal;
  margin-left: .3em;
  background: var(--iris);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: irisShift 9s linear infinite;
}
@media (max-width: 420px) { .logo__text { font-size: .8rem; } }

/* Footer logosu DİKEY: görsel üstte, marka adı ve slogan altında.
   Yan yana dizilim dar sütunda marka adını slogana ve yandaki
   "Kategoriler" sütununa yapıştırıyordu. Dikey yapı bu riski tümden kaldırır. */
.site-footer .logo {
  flex-direction: column;
  align-items: flex-start;
  gap: .8rem;
  max-width: 100%;
}
.site-footer .logo img,
.site-footer .logo__fallback { flex: none; }

.site-footer .logo__text {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
  font-size: .95rem;
  min-width: 0;
}
.site-footer .logo__text small {
  display: block;
  margin-top: .35rem;
  font-family: var(--font-body);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 1.75rem; align-items: center; }
.nav > ul > li { position: relative; }
.nav__cta { display: none; }
.nav a { font-size: .93rem; font-weight: 500; color: var(--ink-2); padding: .3rem 0; position: relative; transition: color .18s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--iris);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: none; }
@media (min-width: 1060px) { .header-cta { display: inline-flex; } }

/* ----------------------------------------------------- açılır kategori menüsü */
.has-sub > a { display: inline-flex; align-items: center; gap: .35rem; }
.has-sub > a::before {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  order: 2;
  transition: transform .25s var(--ease-out);
  opacity: .7;
}
.sub-toggle { display: none; }

.subnav {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  translate: -50% 0;
  width: 340px;
  padding: .5rem;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -25px #000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility .22s;
  z-index: 10;
}
/* Menü ile bağlantı arasındaki boşlukta imleç kaybolmasın */
.subnav::before {
  content: "";
  position: absolute; inset: -14px 0 100% 0;
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav {
  opacity: 1; visibility: visible; transform: none;
}
.has-sub:hover > a::before { transform: rotate(225deg) translateY(-3px) translateX(-3px); }

.subnav li { border: 0; }
.subnav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .8rem;
  border-radius: var(--radius-sm);
  transition: background .2s ease;
}
.subnav a::after { display: none; }
.subnav a:hover { background: rgba(255,255,255,.05); }
.subnav a[aria-current="page"] { background: rgba(34,211,238,.09); }
.subnav__ico {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  font-size: 1.1rem;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.subnav strong {
  display: block;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.subnav small { display: block; font-size: .76rem; color: var(--ink-3); line-height: 1.4; }

.nav-toggle {
  margin-left: auto;
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute; left: 50%; translate: -50% 0;
  width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { content: ""; top: -6px; left: 0; translate: 0 0; }
.nav-toggle span::after  { content: ""; top: 6px;  left: 0; translate: 0 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1059px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    margin-left: 0;
    display: none;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav[data-open="true"] { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.5rem; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a { display: block; padding: .95rem 0; font-size: 1.02rem; }
  .nav a::after { display: none; }
  .nav__cta { display: block; border-bottom: 0 !important; padding-top: 1.1rem; }

  /* Mobilde açılır menü = akordeon */
  .has-sub { position: relative; }
  .has-sub > a::before { display: none; }
  .sub-toggle {
    display: block;
    position: absolute; top: 0; right: -.5rem;
    width: 52px; height: 52px;
    background: transparent; border: 0; cursor: pointer;
    padding: 0;
  }
  .sub-toggle::before {
    content: "";
    position: absolute; top: 50%; left: 50%;
    width: 8px; height: 8px;
    margin: -5px 0 0 -4px;
    border-right: 2px solid var(--ink-2);
    border-bottom: 2px solid var(--ink-2);
    transform: rotate(45deg);
    transition: transform .25s var(--ease-out);
  }
  .sub-toggle[aria-expanded="true"]::before { transform: rotate(225deg); margin-top: -2px; }

  .subnav {
    position: static;
    translate: none;
    width: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 .75rem;
    display: none;
  }
  .subnav::before { display: none; }
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { display: none; }
  .has-sub[data-open="true"] .subnav { display: block; animation: faqOpen .3s var(--ease-out); }
  .subnav a { padding: .6rem .5rem; }
  .subnav li { border-bottom: 0; }
}

/* ----------------------------------------------------------------- hero -- */
.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero .wrap { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: 1.08fr .92fr; } }

.hero h1 { margin-bottom: .4em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero__trust div { font-size: .85rem; color: var(--ink-2); }
.hero__trust b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); line-height: 1.2; }

.hero__art {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(168,85,247,.22), transparent 65%);
}
.hero__art img { width: 88%; height: auto; border-radius: 50%; }
.hero__art .logo__fallback { width: 55%; height: auto; aspect-ratio: 1; font-size: 5rem; }

/* Logo siyah zeminli olduğu için sayfa arka planına doğal oturur;
   hafif parlama efekti derinlik verir. */
.hero__logo { filter: drop-shadow(0 0 40px rgba(168,85,247,.35)); }

.error-logo, .contact-logo { margin-bottom: 1.5rem; }
.error-logo img, .contact-logo img { border-radius: 50%; }
.error-logo { display: flex; justify-content: center; }
.error-logo img, .error-logo .logo__fallback { width: 140px; height: 140px; }
.contact-logo img, .contact-logo .logo__fallback { width: 120px; height: 120px; }
.contact-logo .logo__fallback, .error-logo .logo__fallback { font-size: 3.5rem; }
.hero__art::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: var(--iris);
  background-size: 200% auto;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: irisShift 9s linear infinite, spinSlow 26s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- gridler -- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); }

/* ---------------------------------------------------------------- kart --- */
.card {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 50px -30px rgba(0,0,0,.9); }
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--iris); opacity: 0; transition: opacity .22s ease;
}
.card:hover::before { opacity: 1; }
.card p:last-child { margin-bottom: 0; }

.card__icon { font-size: 1.9rem; line-height: 1; margin-bottom: .9rem; }

/* Kategori kartı */
.cat-card { display: flex; flex-direction: column; height: 100%; }
.cat-card h3 { margin-bottom: .35rem; }
.cat-card p { color: var(--ink-2); font-size: .93rem; }
.cat-card .cat-card__more { margin-top: auto; padding-top: 1rem; font-family: var(--font-head); font-size: .85rem; color: var(--neon-cyan); }

/* Ürün kartı */
.product {
  display: flex; flex-direction: column;
  background: var(--surface);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.product:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 26px 55px -32px #000; }
.product[hidden] { display: none; }

.product__media {
  position: relative;
  aspect-ratio: 1;
  display: grid; place-items: center;
  background: #000;
  overflow: hidden;
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__swatch {
  position: absolute; inset: 0;
  background-size: 220% 220%;
  animation: irisShift 8s linear infinite alternate;
  opacity: .9;
}
.product__media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.25), transparent 55%);
  mix-blend-mode: overlay;
}
.product__tag {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  font-family: var(--font-head); font-size: .66rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px;
  background: rgba(6,6,10,.72); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); color: var(--ink-2);
}

.product__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; gap: .55rem; }
.product__name { font-family: var(--font-head); font-size: 1rem; font-weight: 600; line-height: 1.35; }
.product__name a:hover { color: var(--neon-cyan); }
.product__short { font-size: .87rem; color: var(--ink-3); margin: 0; }
.product__price {
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700;
  background: var(--iris); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.product__price small { font-family: var(--font-body); font-size: .74rem; color: var(--ink-3); -webkit-text-fill-color: var(--ink-3); }
.product__actions { margin-top: auto; padding-top: .6rem; display: grid; gap: .5rem; }

/* ------------------------------------------------------------- ürün sayfa */
.pdp { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.pdp__media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.pdp__figure {
  position: relative; aspect-ratio: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden; background: #000;
}
.pdp__figure .product__swatch { animation-duration: 12s; }

.pdp__price {
  font-family: var(--font-head); font-size: 2.1rem; font-weight: 700;
  background: var(--iris); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: .3rem 0 .2rem;
}
.pdp__cta { display: grid; gap: .6rem; margin: 1.6rem 0; }
@media (min-width: 560px) { .pdp__cta { grid-template-columns: 1fr 1fr; } }
.pdp__cta .btn--block { width: 100%; }
.pdp__cta .span-2 { grid-column: 1 / -1; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td { text-align: left; padding: .75rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--ink-3); font-weight: 500; width: 42%; }

.steps-list { counter-reset: s; display: grid; gap: .9rem; }
.steps-list li { position: relative; padding-left: 2.6rem; color: var(--ink-2); }
.steps-list li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: .1rem;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  color: #06060a; background: var(--iris);
}

.swatch-row { display: flex; gap: .5rem; margin: 1rem 0; }
.swatch-row i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-2); }

/* --------------------------------------------------------------- filtre -- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  padding: .55rem 1.1rem;
  border: 1px solid var(--line-2);
  background: transparent; color: var(--ink-2);
  border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: .85rem;
  cursor: pointer; transition: all .18s ease;
}
.filter:hover { color: var(--ink); border-color: var(--neon-cyan); }
.filter[aria-pressed="true"] { background: var(--iris); color: #06060a; border-color: transparent; font-weight: 600; }

.search-box { position: relative; margin-bottom: 1.25rem; max-width: 420px; }
.search-box input {
  width: 100%; padding: .8rem 1rem .8rem 2.6rem;
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 999px; color: var(--ink); font: inherit; font-size: .93rem;
}
.search-box input::placeholder { color: var(--ink-3); }
.search-box input:focus { outline: none; border-color: var(--neon-cyan); }
.search-box::before { content: "🔍"; position: absolute; left: 1rem; top: 50%; translate: 0 -50%; font-size: .9rem; opacity: .6; }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--ink-3); }
.empty-state[hidden] { display: none; }

/* ------------------------------------------------------------------ SSS -- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--neon-cyan); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8rem 0 0; color: var(--ink-2); }

/* Kapalı sorunun cevabı gizlenmeliydi ama tarayıcı gizlemiyordu:
   cevap metni kutudan taşıp bir sonraki sorunun üstüne biniyordu.
   Özet dışındaki her şeyi açıkça gizliyoruz. */
.faq details:not([open]) > *:not(summary) { display: none; }

/* ------------------------------------------------------------------ blog -- */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card__meta { font-size: .78rem; color: var(--ink-3); letter-spacing: .05em; text-transform: uppercase; margin-bottom: .6rem; }
.post-card h3 { font-size: 1.08rem; }
.post-card p { color: var(--ink-2); font-size: .92rem; }
.post-card__more { margin-top: auto; padding-top: 1rem; font-family: var(--font-head); font-size: .85rem; color: var(--neon-cyan); }

.article { max-width: 760px; margin-inline: auto; }
.article h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.article p, .article li { color: var(--ink-2); }
.article ul { display: grid; gap: .6rem; margin: 1rem 0 1.5rem; }
.article ul li { position: relative; padding-left: 1.5rem; }
.article ul li::before { content: "▸"; position: absolute; left: 0; color: var(--neon-cyan); }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0; }
.tag {
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-3);
}

/* ------------------------------------------------------------- CTA bandı -- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.2rem);
  background: var(--surface);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  display: grid; gap: 1.5rem; align-items: center;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: var(--iris); opacity: .1;
}
.cta-band > * { position: relative; }
@media (min-width: 820px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; color: var(--ink-2); }
.cta-band__actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* -------------------------------------------------------------- iletişim -- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.info-list li { display: flex; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ico { font-size: 1.3rem; flex: none; }
.info-list strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.info-list a, .info-list span { color: var(--ink-2); font-size: .93rem; }
.info-list a:hover { color: var(--neon-cyan); }

.wa-panel {
  background: linear-gradient(160deg, rgba(37,211,102,.13), transparent 65%), var(--bg-2);
  border: 1px solid rgba(37,211,102,.3);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.wa-panel h3 { display: flex; align-items: center; gap: .5rem; }
.wa-panel ul { display: grid; gap: .6rem; margin: 1.2rem 0 1.6rem; }
.wa-panel li { position: relative; padding-left: 1.6rem; color: var(--ink-2); font-size: .93rem; }
.wa-panel li::before { content: "✓"; position: absolute; left: 0; color: var(--wa); font-weight: 700; }

/* --------------------------------------------------------------- footer -- */
.site-footer { background: var(--surface-deep); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; color: var(--ink-2); }
/* auto-fit ile marka sütunu genişleyip 5. sütunu alt satıra itiyordu.
   Geniş ekranda sütun sayısı sabit: marka biraz daha geniş, kalan dördü eşit. */
.footer-grid {
  display: grid;
  gap: 2.5rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1.1fr; }
}
.footer-grid > div { min-width: 0; }
.site-footer li, .site-footer p { overflow-wrap: anywhere; }
.site-footer h4 { color: var(--ink); margin-bottom: 1rem; font-size: .95rem; letter-spacing: .04em; }
.site-footer li { padding: .28rem 0; font-size: .91rem; }
.site-footer a:hover { color: var(--neon-cyan); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .84rem; color: var(--ink-3);
  line-height: 1.5;
}
.footer-bottom span { min-width: 0; }

/* Yüzen WhatsApp butonu footer yazısının üstüne biniyordu.
   Buton artık footer görününce kayboluyor (.is-at-footer),
   ek olarak "yukarı çık" butonuna yer kalsın diye alt boşluk verildi. */
@media (min-width: 720px) {
  .site-footer { padding-bottom: 2.5rem; }
  .footer-bottom { padding-right: 4rem; }
}

/* ------------------------------------------------------ WhatsApp floating */
.fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 70;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.1rem;
  border-radius: 999px;
  background: var(--wa); color: #04180c;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  box-shadow: 0 16px 40px -14px rgba(37,211,102,.75);
  transition: transform .2s ease;
}
.fab:hover { transform: translateY(-3px) scale(1.03); }

/* Footer ekrana girince yüzen buton çekilsin — footer'da zaten
   WhatsApp butonu ve iletişim bilgileri var, üst üste binmesin. */
body.is-at-footer .fab {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.92);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
}
body.is-at-footer .to-top { bottom: 1.2rem; }
.fab svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.fab span { display: none; }
@media (min-width: 720px) { .fab span { display: inline; } }

/* -------------------------------------------------------------- sayfa başı */
.page-head { padding: clamp(2.4rem, 5vw, 3.8rem) 0; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.breadcrumb { font-size: .83rem; color: var(--ink-3); margin-bottom: .7rem; }
.breadcrumb a:hover { color: var(--neon-cyan); }

/* ==========================================================================
   SOSYAL MEDYA · KARDEŞ FİRMA
   ========================================================================== */

/* Instagram marka gradyanı */
:root {
  --ig: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}

/* Menüdeki Instagram bağlantısı */
.nav__ig a { display: inline-flex; align-items: center; gap: .4rem; }
.nav__ig svg { transition: transform .25s var(--ease-out); }
.nav__ig a:hover svg { transform: scale(1.15) rotate(-6deg); }
.nav__ig a:hover { color: #e1306c; }
.nav__ig-text { display: none; }
@media (max-width: 1059px) { .nav__ig-text { display: inline; } }

/* Başlık çubuğunun en sağındaki Instagram imzası.
   İkon yok — Instagram'ın kendi renk geçişiyle boyanmış el yazısı. */
.header-ig {
  display: none;
  font-family: "Pacifico", cursive;
  font-size: 1.15rem;
  line-height: 1;
  padding: .2rem .1rem .35rem;
  white-space: nowrap;
  background: var(--ig);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform .25s var(--ease-out), filter .25s ease;
}
.header-ig:hover {
  transform: translateY(-2px) rotate(-1.5deg);
  filter: brightness(1.2) saturate(1.2);
}
@media (min-width: 1120px) { .header-ig { display: inline-block; } }

/* Menü içindeki (mobil) Instagram bağlantısı da aynı imza stilinde */
.nav__ig a {
  font-family: "Pacifico", cursive;
  font-size: 1.15rem;
  background: var(--ig);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav__ig a::after { display: none; }
@media (min-width: 1120px) { .nav__ig { display: none; } }

/* Yönetici rozeti — sadece admin rolündeki üyeye görünür */
.nav__admin a {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--neon-amber);
  color: var(--neon-amber);
  font-size: .82rem; font-weight: 600;
}
.nav__admin a::after { display: none; }
.nav__admin a:hover { background: rgba(251,191,36,.12); color: var(--neon-amber); }
.nav__admin[hidden] { display: none !important; }

.admin-panel-card {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(251,191,36,.07);
  border: 1px solid rgba(251,191,36,.32);
}
@media (min-width: 700px) { .admin-panel-card { grid-template-columns: auto 1fr auto; } }
.admin-panel-card[hidden] { display: none !important; }
.admin-panel-card__icon { font-size: 1.8rem; line-height: 1; }
.admin-panel-card h3 { margin-bottom: .15em; }
.admin-panel-card p { margin: 0; }

/* Footer sosyal rozeti */
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.social {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: .85rem; font-weight: 500;
  transition: border-color .2s ease, transform .2s var(--ease-out), color .2s ease;
}
.social:hover { transform: translateY(-2px); }
.social--ig:hover { border-color: #dc2743; color: #fff; }
.social--ig svg { color: #e1306c; }

/* Ana sayfa Instagram çağrısı */
.ig-cta {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.ig-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ig);
  opacity: .09;
}
.ig-cta > * { position: relative; }
@media (min-width: 780px) { .ig-cta { grid-template-columns: auto 1fr auto; } }
.ig-cta__icon {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: var(--ig);
  color: #fff;
  flex: none;
}
.ig-cta h2 { font-size: 1.4rem; margin-bottom: .2em; }
.ig-cta p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ------------------------------------------------------------ kardeş firma */
.sister {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: var(--surface);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.8rem);
}
@media (min-width: 900px) { .sister { grid-template-columns: 1.25fr .75fr; } }

.sister__tagline {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--neon-cyan);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.sister__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .5rem 1.2rem;
  margin: 1.4rem 0;
}
.sister__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .92rem;
  color: var(--ink-2);
}
.sister__list li::before {
  content: "▸";
  position: absolute; left: 0;
  color: var(--neon-cyan);
}
.sister__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }

/* Hidrografik kaplama hissi veren desen */
.sister__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  display: grid;
  place-items: center;
}
.sister__pattern {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg,  rgba(255,255,255,.09) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.09) 0 6px, transparent 6px 12px),
    linear-gradient(135deg, #0f172a, #1e1b4b 45%, #312e81);
  animation: sisterShift 16s ease-in-out infinite;
}
@keyframes sisterShift {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50%      { transform: scale(1.08) translate(-2%, 2%); }
}
.sister__label {
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .04em;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  background: rgba(6,6,10,.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.16);
}

/* ==========================================================================
   GALERİ · VİDEO
   ========================================================================== */

.pdp__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: .5rem;
  margin-top: .8rem;
}
.pdp__thumb {
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  aspect-ratio: 1;
  transition: border-color .2s ease, transform .2s var(--ease-out);
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb:hover { transform: translateY(-2px); border-color: var(--line-2); }
.pdp__thumb.is-active { border-color: var(--neon-cyan); }

.pdp__video { margin-top: 1.5rem; }
.pdp__video h3 { font-size: .95rem; color: var(--ink-2); margin-bottom: .6rem; }
.pdp__video video {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #000;
  display: block;
}

.product__video-badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  margin-top: 2rem;      /* kategori rozetinin altına */
  font-family: var(--font-head);
  font-size: .66rem; font-weight: 600;
  letter-spacing: .06em;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(236,72,153,.9);
  color: #fff;
}

/* ==========================================================================
   ÜYELİK · FAVORİLER
   ========================================================================== */

/* Ürün kartındaki kalp — sağ üstte, fotoğrafın üstünde */
.product { position: relative; }
.fav-btn {
  position: absolute; top: .7rem; right: .7rem; z-index: 3;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(6,6,10,.72);
  backdrop-filter: blur(6px);
  cursor: pointer;
  padding: 0;
  transition: transform .2s var(--ease-out), border-color .2s ease, background .2s ease;
}
.fav-btn svg { width: 19px; height: 19px; fill: none; stroke: var(--ink-2); stroke-width: 1.8; transition: .22s; }
.fav-btn:hover { transform: scale(1.12); border-color: var(--neon-pink); }
.fav-btn:hover svg { stroke: var(--neon-pink); }
.fav-btn[aria-pressed="true"] { border-color: var(--neon-pink); background: rgba(236,72,153,.15); }
.fav-btn[aria-pressed="true"] svg { fill: var(--neon-pink); stroke: var(--neon-pink); }
.fav-btn[aria-pressed="true"] { animation: favPop .35s var(--ease-out); }
@keyframes favPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Ürün detayında fiyatın yanında */
.pdp__pricerow { display: flex; align-items: center; gap: 1rem; }
.pdp__pricerow .fav-btn { position: static; width: 44px; height: 44px; flex: none; }
.pdp__pricerow .fav-btn svg { width: 22px; height: 22px; }

/* Menüdeki favori sayacı */
.nav__account a { display: inline-flex; align-items: center; gap: .4rem; }
.fav-count {
  min-width: 20px; height: 20px; padding: 0 .35rem;
  border-radius: 999px;
  background: var(--neon-pink); color: #fff;
  font-size: .7rem; font-weight: 700;
  display: grid; place-items: center;
}
.fav-count[hidden] { display: none; }

/* Hesap sayfası */
.account-head {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--line);
}
.account-head > div:first-child { margin-right: auto; }

/* ---------------------------------------------------- hesap profil kartları */
.account-grid { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .account-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }

.acard {
  background: var(--surface);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}
.acard__head { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: 1.4rem; }
.acard__icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 1.3rem;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
}
.acard__head h3 { margin: 0 0 .15rem; font-size: 1.1rem; }
.acard__head .muted { margin: 0; font-size: .85rem; line-height: 1.4; }

.aform { display: grid; gap: 1.2rem; }
.aform__grid { display: grid; gap: 1rem; }
@media (min-width: 480px) { .aform__grid { grid-template-columns: 1fr 1fr; } }

.ffield { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.ffield--full { grid-column: 1 / -1; }
.ffield label {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .01em;
}
.ffield__opt { font-weight: 400; color: var(--ink-3); }
.ffield input,
.ffield textarea {
  width: 100%;
  padding: .75rem .95rem;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(6,6,10,.5);
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.ffield input::placeholder,
.ffield textarea::placeholder { color: var(--ink-3); }
.ffield input:focus,
.ffield textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  background: rgba(6,6,10,.75);
  box-shadow: 0 0 0 3px rgba(34,211,238,.12);
}
.ffield input:disabled {
  opacity: .5;
  cursor: not-allowed;
  background: rgba(255,255,255,.03);
}
.ffield textarea { resize: vertical; min-height: 62px; }
.ffield__note { font-size: .72rem; color: var(--ink-3); }

.aform__foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.aform__foot .btn { flex: none; }

.form-msg { font-size: .85rem; font-weight: 500; }
.form-msg.ok { color: var(--wa); }
.form-msg.err { color: #f87171; }

.recover-link {
  color: var(--ink-2);
  font-size: .88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.recover-link:hover { color: var(--neon-cyan); }

.fav-list { display: grid; gap: .6rem; margin-top: 1.2rem; }
.fav-item {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fav-item a { flex: 1; font-weight: 500; color: var(--ink); }
.fav-item a:hover { color: var(--neon-cyan); }

.auth-gate[hidden], [data-auth-in][hidden], [data-auth-out][hidden] { display: none !important; }

/* Netlify Identity penceresi koyu temaya yakın dursun */
#netlify-identity-widget { color-scheme: light; }

/* Küçük bildirim (favori eklendi vb.) */
.bb-toast {
  position: fixed; left: 50%; bottom: 5.5rem; translate: -50% 0; z-index: 80;
  padding: .7rem 1.2rem; border-radius: 999px;
  background: var(--bg-3); border: 1px solid var(--line-2);
  font-size: .87rem; box-shadow: 0 20px 45px -20px #000;
  opacity: 0; pointer-events: none; transition: .28s var(--ease-out);
}
.bb-toast.show { opacity: 1; translate: -50% -8px; }

/* ==========================================================================
   MOBİL ALT ÇUBUK
   Telefonda WhatsApp ve favoriler her zaman parmak menzilinde olsun.
   ========================================================================== */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 65;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(10,10,16,.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: grid;
  justify-items: center;
  gap: .2rem;
  padding: .7rem .4rem;
  font-size: .68rem;
  color: var(--ink-3);
  position: relative;
}
.mobile-bar a svg { width: 21px; height: 21px; fill: currentColor; }
.mobile-bar a.is-wa { color: var(--wa); }
.mobile-bar a:active { background: rgba(255,255,255,.05); }
.mobile-bar .fav-count {
  position: absolute; top: .35rem; right: 50%; margin-right: -22px;
}

@media (max-width: 719px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: 68px; }
  .fab { display: none; }       /* alt çubuk varken yüzen buton fazlalık */
  .to-top { bottom: 5.5rem; }
}

/* ------------------------------------------------------- yukarı çık butonu */
.to-top {
  position: fixed;
  right: 1.1rem; bottom: 5.2rem;
  z-index: 64;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(13,13,20,.9);
  backdrop-filter: blur(8px);
  color: var(--ink-2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s, border-color .2s;
}
.to-top[data-show="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--neon-cyan); color: var(--ink); }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ------------------------------------------------------- son bakılan ürünler */
.recent { margin-top: 1rem; }
.recent-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.recent-item {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s var(--ease-out);
}
.recent-item:hover { border-color: var(--line-2); transform: translateY(-3px); }
.recent-item img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; }
.recent-item span {
  display: block;
  padding: .6rem .7rem;
  font-size: .8rem;
  line-height: 1.35;
  color: var(--ink-2);
}

/* ------------------------------------------------------------ sıralama seçici */
.sort-box { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.sort-box label { font-size: .85rem; color: var(--ink-3); }
.sort-box select {
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink);
  font: inherit;
  font-size: .87rem;
  cursor: pointer;
}
.sort-box select:focus { outline: none; border-color: var(--neon-cyan); }
.result-count { margin-left: auto; font-size: .85rem; color: var(--ink-3); }

/* ==========================================================================
   ANİMASYONLAR
   Kural: hareket amacı desteklemeli, dikkat dağıtmamalı.
   Tümü prefers-reduced-motion ile kapanır.
   ========================================================================== */

/* --------------------------------------------------- 1. scroll göstergesi */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 100; pointer-events: none;
  background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: var(--iris);
  background-size: 200% auto;
  animation: irisShift 6s linear infinite;
  transition: width .1s linear;
  box-shadow: 0 0 12px rgba(168,85,247,.6);
}

/* ------------------------------------------------- 2. scroll ile belirme */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Yön varyantları */
.reveal--left  { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--scale { transform: scale(.94); }
.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible { transform: none; }

/* ------------------------------------------- 3. sayfa açılış (hero girişi) */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero > .wrap > div:first-child > * { animation: riseIn .8s var(--ease-out) backwards; }
.hero > .wrap > div:first-child > *:nth-child(1) { animation-delay: .05s; }
.hero > .wrap > div:first-child > *:nth-child(2) { animation-delay: .14s; }
.hero > .wrap > div:first-child > *:nth-child(3) { animation-delay: .23s; }
.hero > .wrap > div:first-child > *:nth-child(4) { animation-delay: .32s; }
.hero > .wrap > div:first-child > *:nth-child(5) { animation-delay: .41s; }

.hero__art { animation: riseIn 1s var(--ease-out) .2s backwards; }

/* Hero arka plan lekeleri yavaşça nefes alsın */
/* NOT: Burada eskiden ikinci bir "body::before { animation: drift }" kuralı vardı.
   Dosyanın başındaki meshDrift animasyonunu eziyordu ve arka plan neredeyse
   hareketsiz kalıyordu. Kaldırıldı — animasyon tek yerden (satır ~87) yönetiliyor. */

/* ------------------------------------------------ 4. başlıkta renk kayması */
/* .iris-text zaten irisShift ile kayıyor — hover'da hızlansın */
.iris-text { transition: filter .3s ease; }
h1:hover .iris-text { filter: brightness(1.15) saturate(1.15); }

/* ------------------------------------------------------- 5. buton parlama */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg);
  transition: left .55s var(--ease-soft);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(0) scale(.985); }

/* WhatsApp butonu dikkat çeksin ama rahatsız etmesin — yavaş nabız */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 16px 40px -14px rgba(37,211,102,.75), 0 0 0 0 rgba(37,211,102,.35); }
  50%      { box-shadow: 0 16px 40px -14px rgba(37,211,102,.75), 0 0 0 14px rgba(37,211,102,0); }
}
.fab { animation: waPulse 3.4s var(--ease-soft) infinite; }
.fab:hover { animation-play-state: paused; }

/* --------------------------------------------------- 6. ürün kartı hover */
.product { transition: transform .35s var(--ease-out), border-color .3s ease, box-shadow .35s var(--ease-out); }
.product__media img { transition: transform .6s var(--ease-out), filter .4s ease; }
.product:hover .product__media img { transform: scale(1.07); filter: saturate(1.12); }
.product:hover .product__tag { border-color: var(--neon-cyan); color: var(--ink); }
.product__tag { transition: border-color .25s ease, color .25s ease; }
.product__name a { transition: color .22s ease; }

/* Kart kenarında iridesans sızma */
.product::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--iris);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.product:hover::after { opacity: .55; }

/* ------------------------------------------------ 7. kategori kartı hover */
.cat-card .card__icon { transition: transform .4s var(--ease-out); display: inline-block; }
.card:hover .card__icon { transform: translateY(-4px) rotate(-6deg) scale(1.12); }
.cat-card__more, .post-card__more { transition: gap .25s ease, letter-spacing .25s ease; }
.card:hover .cat-card__more,
.card:hover .post-card__more { letter-spacing: .02em; }

/* ------------------------------------------------------- 8. header davranışı */
.site-header { transition: height .3s var(--ease-soft), background .3s ease, box-shadow .3s ease; }
.site-header[data-scrolled="true"] {
  height: 62px;
  background: rgba(6,6,10,.94);
  box-shadow: 0 10px 30px -18px #000;
}
.site-header[data-scrolled="true"] .logo img,
.site-header[data-scrolled="true"] .logo__fallback { width: 38px; height: 38px; }
.logo img, .logo__fallback { transition: width .3s var(--ease-soft), height .3s var(--ease-soft); }

/* ------------------------------------------------------- 9. SSS açılışı */
.faq details summary::after { transition: transform .25s var(--ease-out), color .2s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.faq details[open] p { animation: faqOpen .35s var(--ease-out); }
.faq summary:hover { color: var(--neon-cyan); }

/* --------------------------------------------- 10. filtre / arama geçişleri */
.filter { transition: background .25s var(--ease-soft), color .2s ease, border-color .2s ease, transform .18s ease; }
.filter:active { transform: scale(.96); }
.search-box input { transition: border-color .22s ease, box-shadow .22s ease, background .22s ease; }
.search-box input:focus { box-shadow: 0 0 0 4px rgba(34,211,238,.12); }

/* ------------------------------------------------ 11. renk lekesi nabzı */
.swatch-row i {
  transition: transform .3s var(--ease-out), border-color .3s ease;
  animation: swatchIn .5s var(--ease-out) backwards;
}
.swatch-row i:nth-child(1) { animation-delay: .05s; }
.swatch-row i:nth-child(2) { animation-delay: .12s; }
.swatch-row i:nth-child(3) { animation-delay: .19s; }
.swatch-row i:nth-child(4) { animation-delay: .26s; }
.swatch-row i:nth-child(5) { animation-delay: .33s; }
.swatch-row i:hover { transform: scale(1.22); border-color: var(--ink); }
@keyframes swatchIn {
  from { opacity: 0; transform: scale(.5); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------- 12. bağlantı altı çizgi */
.article a:not(.btn), .info-list a, .site-footer a {
  background-image: linear-gradient(var(--neon-cyan), var(--neon-cyan));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .3s var(--ease-out), color .2s ease;
}
.article a:not(.btn):hover, .info-list a:hover, .site-footer a:hover { background-size: 100% 1px; }

/* --------------------------------------------------- 13. uygulama adımları */
.steps-list li::before { transition: transform .3s var(--ease-out), box-shadow .3s ease; }
.steps-list li:hover::before { transform: scale(1.15); box-shadow: var(--glow); }

/* --------------------------------------------------------- 14. CTA bandı */
.cta-band::before {
  background: var(--iris);
  background-size: 250% auto;
  animation: irisShift 14s linear infinite;
}

/* ============================== HAREKET AZALTMA (erişilebilirlik) ========= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn::after { display: none; }

  /* Hareketli arka planı tamamen durdur */
  body::before, body::after { animation: none; }
  .grain { display: none; }
  .cursor-glow { display: none; }
}
