/* ============================================================
   AppleAli — Design System (main.css)
   Premium dark, Apple-vari. Vanilla. Tek tema dosyası.
   ============================================================ */

/* ───────────────────────── TOKENS ───────────────────────── */
:root {
  /* yüzeyler */
  --bg:            #000000;
  --bg-1:          #0a0a0b;
  --bg-2:          #111113;
  --surface:       #161618;
  --surface-2:     #1d1d20;
  --surface-3:     #26262a;

  /* metin */
  --text:          #f5f5f7;
  --text-2:        #b8b8bf;
  --text-3:        #86868b;
  --text-4:        #5b5b61;

  /* marka / aksan */
  --accent:        #2997ff;
  --accent-2:      #6f5bff;
  --accent-ink:    #ffffff;
  --grad:          linear-gradient(135deg, #2997ff 0%, #6f5bff 100%);
  --grad-soft:     linear-gradient(135deg, rgba(41,151,255,.16), rgba(111,91,255,.16));

  /* durum */
  --green:         #30d158;
  --amber:         #ff9f0a;
  --red:           #ff453a;

  /* çizgiler */
  --line:          rgba(255,255,255,.09);
  --line-2:        rgba(255,255,255,.16);

  /* yarıçap */
  --r-xs: 8px; --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-xl: 28px; --r-pill: 999px;

  /* gölge */
  --sh-1: 0 1px 2px rgba(0,0,0,.4);
  --sh-2: 0 8px 30px rgba(0,0,0,.45);
  --sh-3: 0 24px 70px rgba(0,0,0,.6);
  --glow: 0 0 0 1px rgba(41,151,255,.45), 0 14px 50px rgba(41,151,255,.3);

  /* ölçü */
  --maxw: 1200px;
  --nav-h: 56px;
  --ease: cubic-bezier(.22,.8,.26,1);

  /* boşluk skalası */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;
}

/* ───────────────────────── RESET ────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
    'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
::selection { background: rgba(41,151,255,.32); }

/* scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #2a2a2e; border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3a3a40; }

/* ───────────────────────── TİPOGRAFİ ────────────────────── */
.display { font-size: clamp(40px, 7vw, 80px); font-weight: 700; line-height: 1.03; letter-spacing: -.03em; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.07; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 650; line-height: 1.1; letter-spacing: -.02em; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: 17px; font-weight: 600; }
p  { color: var(--text-2); }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--text-2); line-height: 1.45; }
small, .small { font-size: 13px; color: var(--text-3); }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; }

.text-grad {
  background: linear-gradient(180deg, #fff 0%, #9b9ba2 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.accent-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--accent);
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--accent); opacity: .6; }

/* ───────────────────────── LAYOUT ───────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 10vw, 128px); }
.section-sm { padding-block: clamp(40px, 6vw, 72px); }
.center { text-align: center; }
.muted { color: var(--text-3); }
.hidden { display: none !important; }
.stack > * + * { margin-top: var(--sp-4); }

.section-head { max-width: 640px; margin-inline: auto; text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { margin-top: 14px; font-size: 18px; }

.grid { display: grid; gap: 24px; }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* yönlü reveal (zigzag kartlar: soldan / sağdan kayarak) */
.reveal-l { transform: translateX(-90px); }
.reveal-r { transform: translateX(90px); }
.reveal-l.in, .reveal-r.in { transform: none; }
.why-card.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: transform, opacity; }

/* ───────────────────────── BUTONLAR ─────────────────────── */
.btn {
  --pad-y: 13px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad-y) var(--pad-x); font-size: 15px; font-weight: 550;
  border-radius: var(--r-pill); border: 1px solid transparent;
  transition: transform .15s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .2s, opacity .2s;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { --pad-y: 9px; --pad-x: 18px; font-size: 14px; }
.btn-lg { --pad-y: 16px; --pad-x: 34px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #3aa0ff; box-shadow: 0 10px 34px rgba(41,151,255,.42); }

.btn-grad { background: var(--grad); color: #fff; }
.btn-grad:hover { box-shadow: 0 12px 40px rgba(78,120,255,.45); filter: brightness(1.05); }

.btn-glass {
  background: rgba(255,255,255,.08); color: var(--text);
  border-color: var(--line-2); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,.14); }

.btn-ghost { color: var(--text-2); padding-inline: 6px; }
.btn-ghost:hover { color: var(--text); }

.btn-wa { background: #25d366; color: #07210f; font-weight: 650; }
.btn-wa:hover { filter: brightness(1.06); box-shadow: 0 10px 30px rgba(37,211,102,.4); }

.btn-danger { background: var(--red); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ───────────────────────── NAVBAR ───────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(10,10,12,.6); backdrop-filter: saturate(180%) blur(26px);
  -webkit-backdrop-filter: saturate(180%) blur(26px);
  border-bottom: 1px solid var(--line);
}
.nav-in { max-width: var(--maxw); margin-inline: auto; height: 100%; padding-inline: 24px;
  display: flex; align-items: center; gap: 22px; }
.brand { font-size: 20px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; display: inline-flex; align-items: center; }
.brand b { font-weight: 700; } .brand .dot { color: var(--accent); }
.brand-logo { height: 28px; width: auto; vertical-align: middle; display: block; }
.brand-logo-lg { height: 36px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.nav-links a { font-size: 14.5px; color: var(--text-2); transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; }
.nav-burger:hover { background: rgba(255,255,255,.07); }
.nav-burger svg { width: 22px; height: 22px; }
.nav-mobile { display: none; }  /* masaüstünde gizli; mobilde media query ile açılır */
.brand-mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 15px; margin-right: 9px; vertical-align: -6px; }

/* ───────────────────────── KART ─────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-2); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--line-2); }

/* ───────────────────────── BADGE ────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; line-height: 1.3; border: 1px solid transparent; }
.badge-new   { background: rgba(48,209,88,.15);  color: #5fe07f; border-color: rgba(48,209,88,.28); }
.badge-used  { background: rgba(255,159,10,.15); color: #ffba4d; border-color: rgba(255,159,10,.28); }
.badge-soft  { background: rgba(255,255,255,.07); color: var(--text-2); border-color: var(--line); }
.badge-pending  { background: rgba(255,159,10,.15); color: #ffba4d; }
.badge-approved { background: rgba(48,209,88,.15);  color: #5fe07f; }
.badge-rejected { background: rgba(255,69,58,.15);  color: #ff6f66; }
.badge-offered  { background: rgba(41,151,255,.15); color: #66b2ff; }
.badge-dot::before { content:''; width:6px; height:6px; border-radius:50%; background: currentColor; }

/* ───────────────────────── FORM ─────────────────────────── */
.field { margin-bottom: 20px; }
.label { display: block; font-size: 14px; font-weight: 500; color: var(--text-2); margin-bottom: 8px; }
.input, input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=password], input[type=search], select, textarea {
  width: 100%; height: 48px; padding: 0 16px; font-size: 16px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-sm); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: var(--text-4); }
.input:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--accent); background: var(--surface-2);
  box-shadow: 0 0 0 4px rgba(41,151,255,.18);
}
select { appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2386868b' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
option { background: var(--surface); }
.field-msg { font-size: 13px; color: var(--red); margin-top: 7px; display: none; }
.field.error .input, .field.error input, .field.error select, .field.error textarea { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,69,58,.14); }
.field.error .field-msg { display: block; }

/* ───────────────────────── FOOTER ───────────────────────── */
.footer { background: var(--bg-1); border-top: 1px solid var(--line); padding-block: 56px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); margin-bottom: 16px; }
.footer a { display: block; color: var(--text-2); font-size: 14px; padding: 6px 0; transition: color .2s; }
.footer a:hover { color: var(--text); }
.footer .f-brand { font-size: 22px; margin-bottom: 12px; }
.footer .f-desc { color: var(--text-3); font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--text-3); font-size: 13px; }

/* sosyal butonlar (footer) */
.socials { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.footer .socials { margin-top: 4px; }
.soc { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; }
.soc:hover { transform: translateY(-3px); color: #fff; border-color: transparent; }
.soc svg { width: 19px; height: 19px; }
.soc-wa:hover { background: #25d366; }
.soc-ig:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.soc-sh:hover { background: #ffe500; color: #1d1d1f; }
.soc-mail:hover { background: var(--accent); }

/* ───────────────────────── HERO (video) ─────────────────── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-veil { position: absolute; inset: 0; z-index: 1; background:
  radial-gradient(130% 90% at 50% 0%, rgba(0,0,0,.2), rgba(0,0,0,.55) 55%, rgba(0,0,0,.92) 100%),
  linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,0) 30%, rgba(0,0,0,.9)); }
.hero-in { position: relative; z-index: 2; text-align: center; padding: 24px; }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.hero .lead { margin: 22px auto 0; max-width: 52ch; color: rgba(255,255,255,.82); }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.hero-down { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55);
  display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-down .line { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.6), transparent); animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { 0%{ transform: scaleY(0); transform-origin: top; } 50%{ transform: scaleY(1); transform-origin: top; } 50.1%{ transform-origin: bottom;} 100%{ transform: scaleY(0); transform-origin: bottom; } }
.hero-sound { position: absolute; right: 22px; bottom: 22px; z-index: 3; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(0,0,0,.45); border: 1px solid var(--line-2);
  display: grid; place-items: center; font-size: 18px; backdrop-filter: blur(10px); transition: background .2s; }
.hero-sound:hover { background: rgba(0,0,0,.7); }

/* ───────────────────────── MARQUEE (kategori şerit) ─────── */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500;
  transition: border-color .2s, background .2s, transform .2s; }
.chip:hover { border-color: var(--accent); background: var(--surface-2); transform: translateY(-2px); }
.chip svg { width: 18px; height: 18px; color: var(--text-3); }

/* ───────────────────────── KATEGORİ KARTLARI ───────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 18px; }
.cat { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 14px; padding: 34px 18px; }
.cat-ic { width: 62px; height: 62px; display: grid; place-items: center; border-radius: var(--r-md);
  background: var(--grad-soft); color: var(--text); padding: 13px; transition: color .3s, transform .3s; }
.cat:hover .cat-ic { color: var(--accent); transform: scale(1.06); }
.cat-ic svg { width: 100%; height: 100%; }
.cat-name { font-weight: 600; }
.cat-count { font-size: 13px; color: var(--text-3); }

/* ───────────────────────── ÜRÜN KARTI ──────────────────── */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px,1fr)); gap: 24px; }
.prod { display: flex; flex-direction: column; }
.prod-media { position: relative; aspect-ratio: 4/3; background: #0f0f11; overflow: hidden; }
.prod-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .6s var(--ease); }
.prod:hover .prod-media img { transform: scale(1.06); }
.prod-media .empty { width:100%; height:100%; display:grid; place-items:center; color: var(--text-4); font-size: 13px; }
.prod-media .tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.prod-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.prod-meta { font-size: 13px; color: var(--text-3); }
.prod-price { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 10px; }
.prod-loc { font-size: 12px; color: var(--text-4); }

.h-scroll { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ───────────────────────── ÖZELLİK KARTLARI ────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 22px; }
.feat { padding: 32px 28px; }
.feat-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--accent); margin-bottom: 18px; }
.feat-ic svg { width: 26px; height: 26px; }
.feat h3 { margin-bottom: 8px; }
.feat p { font-size: 15px; line-height: 1.6; }

/* ───────────────────────── WHY (zigzag) ────────────────── */
.why { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 52px); max-width: 940px; margin-inline: auto; }
.why-card { display: flex; width: 80%; min-height: 230px; overflow: hidden; }
.why-card .wc-media { flex: 0 0 44%; position: relative; background: var(--grad-soft); display: grid; place-items: center; }
.why-card .wc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-card .wc-ic { width: 56px; height: 56px; color: var(--accent); }
.why-card .wc-ic svg { width: 100%; height: 100%; }
.why-card .wc-body { flex: 1; padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; justify-content: center; }
.why-card .wc-step { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.why-card .wc-body h3 { font-size: clamp(20px, 2.4vw, 27px); margin-bottom: 10px; }
.why-card .wc-body p { font-size: 16px; line-height: 1.6; }
.why-card .wc-more { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; font-size: 14px; transition: opacity .2s; }
.why-card:hover .wc-more { opacity: .8; }
/* zigzag: 1 sol · 2 sağ (ayna) · 3 sol */
.why-card:nth-child(1) { align-self: flex-start; }
.why-card:nth-child(2) { align-self: flex-end; flex-direction: row-reverse; }
.why-card:nth-child(2) .wc-body { text-align: right; align-items: flex-end; }
.why-card:nth-child(3) { align-self: flex-start; }

/* ───────────────────────── STATS ───────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stats .s { background: var(--bg); padding: 34px 20px; text-align: center; }
.stats .s .n { font-size: clamp(30px,4vw,44px); font-weight: 700; letter-spacing: -.02em; }
.stats .s .l { font-size: 14px; color: var(--text-3); margin-top: 6px; }

/* ───────────────────────── CTA bandı ───────────────────── */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--grad); padding: clamp(48px,8vw,80px) 40px; text-align: center; }
.cta::after { content:''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 120% at 15% 0%, rgba(255,255,255,.28), transparent 55%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; } .cta p { color: rgba(255,255,255,.9); margin-top: 12px; font-size: 18px; }
.cta .btn { margin-top: 30px; background: #fff; color: #06223f; }
.cta .btn:hover { box-shadow: 0 14px 40px rgba(0,0,0,.35); }

/* ───────────────────────── ADIM (3 step) ───────────────── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step { padding: 28px 22px; text-align: center; }
.step .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px;
  background: var(--grad-soft); color: var(--accent); font-weight: 700; }

/* ───────────────────────── WhatsApp float ──────────────── */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px;
  border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.5); transition: transform .2s; }
.wa:hover { transform: scale(1.09); }
.wa svg { width: 30px; height: 30px; }

/* ───────────────────────── PRODUCTS sayfası ────────────── */
.shop { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.filters h3 { margin-bottom: 4px; }
.fg { padding-block: 20px; border-bottom: 1px solid var(--line); }
.fg:last-of-type { border-bottom: none; }
.fg-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--text-2); cursor: pointer; transition: color .15s; }
.opt:hover { color: var(--text); }
.opt input { width: auto; height: auto; accent-color: var(--accent); }
input[type=range] { width: 100%; height: auto; accent-color: var(--accent); }
.range-val { font-size: 13px; color: var(--text-3); margin-top: 8px; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.shop-bar .count { color: var(--text-3); }
.shop-bar select { width: auto; height: 44px; }
.filter-open { display: none; }

/* ───────────────────────── PRODUCT detay ───────────────── */
.detail { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }
.crumbs { font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.crumbs a:hover { color: var(--accent); }
.gallery .main { aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; background: #0f0f11; border: 1px solid var(--line); }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.gallery .main .empty { width:100%;height:100%;display:grid;place-items:center;gap:8px;color:var(--text-4); }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.gallery .thumbs img { width: 88px; height: 66px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; flex: 0 0 auto; transition: border-color .2s; }
.gallery .thumbs img.active { border-color: var(--accent); }
.spec { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec th, .spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec th { width: 180px; color: var(--text-3); font-weight: 500; }
.desc { white-space: pre-wrap; line-height: 1.7; color: var(--text-2); margin-top: 12px; }
.buy { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.buy .price { font-size: 38px; font-weight: 700; letter-spacing: -.02em; }
.buy .pb { display: flex; gap: 8px; margin: 14px 0 18px; }
.buy .seller { color: var(--text-3); font-size: 14px; margin-bottom: 20px; }
.buy .btn { width: 100%; margin-bottom: 10px; }
.buy .note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); line-height: 1.6; }

/* ───────────────────────── SELL wizard ─────────────────── */
.wizard { max-width: 720px; margin-inline: auto; }
.steps-bar { display: flex; gap: 10px; margin-bottom: 36px; }
.steps-bar .sb { flex: 1; }
.steps-bar .sb .bar { height: 4px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.steps-bar .sb .bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .4s var(--ease); }
.steps-bar .sb.done .bar i, .steps-bar .sb.active .bar i { width: 100%; }
.steps-bar .sb .t { font-size: 12px; color: var(--text-4); margin-top: 8px; }
.steps-bar .sb.active .t, .steps-bar .sb.done .t { color: var(--text-2); }
.wstep { display: none; }
.wstep.active { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }

.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: 12px; }
.pick { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 14px; text-align: center;
  cursor: pointer; background: var(--surface); transition: border-color .2s, background .2s, transform .15s; }
.pick:hover { transform: translateY(-2px); border-color: var(--line-2); }
.pick.sel { border-color: var(--accent); background: rgba(41,151,255,.1); box-shadow: var(--glow); }
.pick .pk-t { font-weight: 600; margin-top: 6px; }
.pick .pk-d { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.radio { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: var(--r-sm); cursor: pointer; color: var(--text-2); transition: border-color .2s, color .2s, background .2s; margin-bottom: 8px; }
.radio:hover { color: var(--text); border-color: var(--line-2); }
.radio:has(input:checked) { border-color: var(--accent); background: rgba(41,151,255,.08); color: var(--text); }
.radio input { width: auto; height: auto; accent-color: var(--accent); }
.slider-val { font-weight: 700; font-size: 20px; color: var(--accent); }

.dropzone { border: 2px dashed var(--line-2); border-radius: var(--r-lg); padding: 50px 20px; text-align: center;
  color: var(--text-3); cursor: pointer; background: var(--surface); transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: rgba(41,151,255,.06); }
.dropzone .ic { font-size: 36px; }
.thumbs-up { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.up { position: relative; width: 104px; height: 104px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.up img { width: 100%; height: 100%; object-fit: cover; }
.up .x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0,0,0,.7); color: #fff; display: grid; place-items: center; font-size: 13px; }
.char { font-size: 13px; color: var(--text-3); margin-top: 8px; }

.done-box { text-align: center; padding: 60px 20px; }
.done-box .ring { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px;
  background: rgba(48,209,88,.14); color: var(--green); }
.done-box .ring svg { width: 44px; height: 44px; }
.ref { display: inline-block; margin-top: 16px; padding: 10px 20px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); font-weight: 600; }

/* ───────────────────────── ALERT ───────────────────────── */
.alert { padding: 14px 16px; border-radius: var(--r-sm); font-size: 14px; margin-top: 14px; border: 1px solid transparent; }
.alert-err { background: rgba(255,69,58,.12); color: #ff8077; border-color: rgba(255,69,58,.3); }
.alert-warn{ background: rgba(255,159,10,.12); color: #ffba4d; border-color: rgba(255,159,10,.3); }
.alert-ok  { background: rgba(48,209,88,.12); color: #5fe07f; border-color: rgba(48,209,88,.3); }

/* ============================================================
   ADMIN — dashboard
   ============================================================ */
.auth { min-height: 100svh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(70% 60% at 50% 0%, rgba(41,151,255,.14), transparent 70%); }
.auth-card { width: 100%; max-width: 410px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 40px; box-shadow: var(--sh-3); }
.auth-card .lg { text-align: center; font-size: 26px; margin-bottom: 6px; }
.auth-card .brand-logo { margin: 0 auto; height: 40px; }
.auth-card .sb { text-align: center; color: var(--text-3); font-size: 14px; margin-bottom: 28px; }

.shell { display: grid; grid-template-columns: 256px 1fr; min-height: 100svh; }
.side { background: var(--bg-1); border-right: 1px solid var(--line); padding: 22px 16px;
  position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; }
.side .lg { font-size: 20px; padding: 6px 10px 24px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.side-nav button { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; color: var(--text-3); width: 100%; text-align: left; transition: background .2s, color .2s; }
.side-nav button:hover { background: rgba(255,255,255,.05); color: var(--text); }
.side-nav button.active { background: rgba(41,151,255,.14); color: var(--accent); }
.side-nav button svg { width: 20px; height: 20px; flex: 0 0 auto; }
.side-nav button .pill-c { margin-left: auto; background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  min-width: 20px; text-align: center; padding: 1px 7px; border-radius: 999px; }
.side-foot { border-top: 1px solid var(--line); padding-top: 14px; }
.who { display: flex; align-items: center; gap: 10px; padding: 6px 10px 12px; }
.who .av { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; }
.who .nm { font-size: 13px; } .who .nm small { display: block; color: var(--text-4); }

.main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; height: 64px; padding-inline: 28px; display: flex; align-items: center; gap: 14px;
  background: rgba(10,10,12,.7); backdrop-filter: blur(24px); border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 20px; }
.topbar .sp { flex: 1; }
.burger-a { display: none; width: 40px; height: 40px; }
.content { padding: 28px; max-width: 1320px; }
.view { display: none; } .view.active { display: block; animation: fade .3s var(--ease); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px;
  display: flex; align-items: center; gap: 16px; }
.kpi .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; }
.kpi .ic svg { width: 23px; height: 23px; }
.kpi.b .ic { background: rgba(41,151,255,.14); color: #66b2ff; }
.kpi.a .ic { background: rgba(255,159,10,.14); color: #ffba4d; }
.kpi.g .ic { background: rgba(48,209,88,.14); color: #5fe07f; }
.kpi.r .ic { background: rgba(255,69,58,.14); color: #ff6f66; }
.kpi .n { font-size: 27px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.kpi .l { font-size: 13px; color: var(--text-3); margin-top: 5px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.panel-h h3 { font-size: 17px; }

.tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--surface);
  border: 1px solid var(--line); color: var(--text-3); transition: all .2s; }
.pill:hover { color: var(--text); border-color: var(--line-2); }
.pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.search { position: relative; margin-left: auto; }
.search input { height: 42px; width: 250px; padding-left: 40px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-4); }

table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th, table.tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.tbl th { background: rgba(255,255,255,.02); font-size: 12.5px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .03em; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tbody tr { transition: background .15s; }
table.tbl tbody tr:hover { background: rgba(255,255,255,.02); }
.tbl-thumb { width: 52px; height: 40px; border-radius: 8px; object-fit: cover; background: #0f0f11; }
.cell-t { font-weight: 600; } .cell-s { font-size: 12px; color: var(--text-4); }
.acts { display: flex; gap: 6px; justify-content: flex-end; }
.iconbtn { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text-3); transition: all .2s; }
.iconbtn svg { width: 17px; height: 17px; }
.iconbtn:hover { color: var(--text); border-color: var(--line-2); }
.iconbtn.ok:hover { background: rgba(48,209,88,.16); color: #5fe07f; border-color: rgba(48,209,88,.4); }
.iconbtn.no:hover { background: rgba(255,69,58,.16); color: #ff6f66; border-color: rgba(255,69,58,.4); }
.iconbtn.vw:hover { background: rgba(41,151,255,.16); color: #66b2ff; border-color: rgba(41,151,255,.4); }
.empty-c { text-align: center; color: var(--text-4); padding: 36px !important; }

/* drawer */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); z-index: 200;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; height: 100svh; width: 500px; max-width: 94vw; z-index: 201;
  background: var(--bg-1); border-left: 1px solid var(--line); transform: translateX(100%);
  transition: transform .35s var(--ease); display: flex; flex-direction: column; box-shadow: -30px 0 80px rgba(0,0,0,.6); }
.drawer.open { transform: none; }
.drawer-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-h .mono { display: block; margin-top: 4px; color: var(--text-3); font-size: 13px; }
.drawer-x { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 17px; }
.drawer-b { padding: 24px; overflow-y: auto; flex: 1; }
.drawer-b h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-4); margin: 24px 0 10px; }
.drawer-b h4:first-child { margin-top: 0; }
.dl { display: grid; grid-template-columns: 135px 1fr; gap: 9px 12px; font-size: 14px; }
.dl dt { color: var(--text-3); } .dl dd { font-weight: 500; }
.up-row { display: flex; gap: 8px; flex-wrap: wrap; }
.up-row img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.drawer-f { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--surface); }

/* toast */
.toasts { position: fixed; top: 80px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast { min-width: 270px; max-width: 380px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--surface-3); border: 1px solid var(--line-2); box-shadow: var(--sh-3);
  display: flex; gap: 10px; align-items: flex-start; font-size: 14px; animation: tin .3s var(--ease); }
.toast.out { animation: tout .3s var(--ease) forwards; }
.toast.ok { border-left: 3px solid var(--green); }
.toast.err { border-left: 3px solid var(--red); }
.toast.info { border-left: 3px solid var(--accent); }
@keyframes tin { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes tout { to { opacity: 0; transform: translateX(24px); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .shop { grid-template-columns: 240px 1fr; }
  .detail { grid-template-columns: 1fr 320px; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta .btn-glass { display: none; }
  .nav-mobile { position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99; background: rgba(10,10,12,.98);
    backdrop-filter: blur(24px); border-bottom: 1px solid var(--line); padding: 18px 24px;
    display: none; flex-direction: column; gap: 4px; }
  .nav-mobile.open { display: flex; }
  .nav-mobile a { padding: 12px 0; color: var(--text-2); border-bottom: 1px solid var(--line); }
  .nav-mobile .btn { margin-top: 12px; }

  .shop { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-open { display: inline-flex; }
  .detail { grid-template-columns: 1fr; }
  .buy { position: static; }
  .h-scroll { display: flex; overflow-x: auto; gap: 16px; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .h-scroll > * { flex: 0 0 80%; scroll-snap-align: start; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  /* zigzag why → tek sütun */
  .why-card, .why-card:nth-child(2) { width: 100%; flex-direction: column; align-self: stretch; min-height: 0; }
  .why-card .wc-media { flex: 0 0 190px; }
  .why-card:nth-child(2) .wc-body { text-align: left; align-items: flex-start; }

  /* mobilde reveal yatay yerine dikey kaysın (yatay taşmayı önler) */
  .reveal-l, .reveal-r { transform: translateY(28px); }
  .reveal-l.in, .reveal-r.in { transform: none; }

  /* kategoriler mobilde 2 sütun (daha derli toplu) */
  .cat-grid { grid-template-columns: repeat(2, 1fr); }

  /* admin mobil */
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; z-index: 210; width: 256px; transform: translateX(-100%); transition: transform .3s; }
  .side.open { transform: none; }
  .burger-a { display: grid; place-items: center; }
  .drawer { width: 100vw; }
  table.tbl { min-width: 640px; } .panel { overflow-x: auto; }
}
