/* ============================================================
   Vitrin — dijital katalog
   Tasarım: koyu "aurora" tema + cam yüzeyler, canlı gradyanlar
   ============================================================ */

:root{
  --bg: #07070d;
  --bg-2: #0b0b14;
  --card: rgba(255,255,255,.045);
  --card-solid: #12121d;
  --card-hover: rgba(255,255,255,.07);
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);
  --text: #f5f3ff;
  --text-2: #c8c4e0;
  --muted: #9a96b6;
  --violet: #8b5cff;
  --pink: #ff5c8a;
  --amber: #ffc247;
  --mint: #45e0bf;
  --grad: linear-gradient(115deg, #8b5cff 0%, #ff5c8a 55%, #ffc247 100%);
  --grad-soft: linear-gradient(115deg, rgba(139,92,255,.22), rgba(255,92,138,.16) 55%, rgba(255,194,71,.12));
  --shadow-xl: 0 40px 80px -30px rgba(0,0,0,.85);
  --shadow-glow: 0 18px 60px -20px rgba(139,92,255,.65);
  --radius: 24px;
  --radius-sm: 16px;
  --header-h: 74px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

[data-theme="light"]{
  --bg: #f6f4fb;
  --bg-2: #efecf8;
  --card: rgba(255,255,255,.78);
  --card-solid: #ffffff;
  --card-hover: #ffffff;
  --line: rgba(19,16,45,.09);
  --line-strong: rgba(19,16,45,.18);
  --text: #15122b;
  --text-2: #423d63;
  --muted: #6c6789;
  --shadow-xl: 0 30px 70px -35px rgba(45,30,100,.35);
  --shadow-glow: 0 18px 50px -24px rgba(139,92,255,.45);
}

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

html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body{
  margin:0;
  min-height:100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}

body.no-scroll{ overflow:hidden; }

h1,h2,h3,h4{ margin:0; line-height:1.1; letter-spacing:-.035em; font-weight: 800; }
p{ margin:0; }
a{ color: inherit; text-decoration:none; }
button{ font:inherit; color:inherit; }
img{ display:block; max-width:100%; }
input,select,textarea{ font:inherit; color:inherit; }
::selection{ background: rgba(139,92,255,.45); color:#fff; }

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

.sprite{ position:absolute; width:0; height:0; overflow:hidden; }

.icon{
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

.wrap{ width: min(1220px, 100% - 40px); margin-inline: auto; }

/* ---------- Aurora arka plan ---------- */
.aurora{ position:fixed; inset:0; z-index:-2; overflow:hidden; pointer-events:none; }
.aurora::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(80% 55% at 50% -10%, rgba(139,92,255,.16), transparent 60%),
    linear-gradient(180deg, transparent 40%, var(--bg) 92%);
}
.blob{
  position:absolute; border-radius:50%; filter: blur(70px); opacity:.5;
  animation: drift 22s var(--ease) infinite alternate;
  will-change: transform;
}
.blob-1{ width: 46vw; height:46vw; min-width:320px; min-height:320px; background:#7b45ff; top:-12vw; left:-8vw; }
.blob-2{ width: 38vw; height:38vw; min-width:280px; min-height:280px; background:#ff3d77; top:6vw; right:-10vw; opacity:.38; animation-delay:-7s; }
.blob-3{ width: 30vw; height:30vw; min-width:240px; min-height:240px; background:#ffb13d; bottom:-14vw; left:22vw; opacity:.22; animation-delay:-14s; }
[data-theme="light"] .blob{ opacity:.3; filter: blur(80px); }
[data-theme="light"] .blob-3{ opacity:.18; }

.grain{
  position:absolute; inset:0; opacity:.18; mix-blend-mode: overlay;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  pointer-events:none;
}

@keyframes drift{
  0%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(4vw,3vw,0) scale(1.08); }
  100%{ transform: translate3d(-3vw,5vw,0) scale(.96); }
}

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled{
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -30px rgba(0,0,0,.9);
}
.header-inner{
  height: var(--header-h);
  display:flex; align-items:center; gap: 22px;
}
.brand{ display:flex; align-items:center; gap:11px; flex:none; }
.brand-mark{
  width: 40px; height:40px; border-radius: 13px;
  display:grid; place-items:center;
  background: var(--grad);
  color:#fff;
  box-shadow: 0 10px 24px -10px rgba(139,92,255,.85), inset 0 1px 0 rgba(255,255,255,.4);
  position:relative; overflow:hidden;
}
.brand-mark::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(140deg, rgba(255,255,255,.45), transparent 45%);
  opacity:.7;
}
.brand-mark .icon{ width:21px; height:21px; stroke-width:1.9; position:relative; z-index:1; }
.brand-text{ display:flex; flex-direction:column; font-weight: 800; font-size: 20px; letter-spacing:-.03em; line-height:1; }
.brand-text span{ font-size: 10px; font-weight: 600; letter-spacing:.16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.header-nav{ display:flex; gap: 6px; margin-left: 8px; }
.header-nav a{
  padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: background .2s, color .2s;
}
.header-nav a:hover{ background: var(--card); color: var(--text); }

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

.icon-btn{
  width: 42px; height:42px; flex:none;
  display:grid; place-items:center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text-2);
  cursor:pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover{ transform: translateY(-2px); background: var(--card-hover); color: var(--text); border-color: var(--line-strong); }
.icon-btn:active{ transform: scale(.95); }

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

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: 9px;
  height: 46px; padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700; font-size: 14.5px; letter-spacing:-.01em;
  cursor:pointer; white-space:nowrap;
  transition: transform .2s var(--ease), box-shadow .25s, background .2s, border-color .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon{ width:18px; height:18px; }
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0) scale(.985); }
.btn:disabled{ opacity:.55; cursor:not-allowed; transform:none; }

.btn-primary{
  background: var(--grad);
  background-size: 180% 180%;
  color:#fff;
  box-shadow: 0 12px 30px -14px rgba(139,92,255,.9), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover{ box-shadow: 0 18px 40px -14px rgba(255,92,138,.75), inset 0 1px 0 rgba(255,255,255,.35); }

.btn-glass{
  background: var(--card);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-glass:hover{ background: var(--card-hover); border-color: var(--line-strong); }

.btn-ghost{ background: transparent; border-color: var(--line); color: var(--text-2); }
.btn-ghost:hover{ color: var(--text); border-color: var(--line-strong); background: var(--card); }

.btn-danger{ background: rgba(255,71,110,.12); color:#ff7796; border-color: rgba(255,71,110,.32); }
.btn-danger:hover{ background: rgba(255,71,110,.2); }
[data-theme="light"] .btn-danger{ color:#d61f47; }

.btn-sm{ height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn-block{ width:100%; }

.btn-auth{ height: 42px; padding: 0 16px; font-size: 13.5px; background: var(--card); border-color: var(--line); color: var(--text); }
.btn-auth .icon{ width:16px; height:16px; }
.btn-auth.is-admin{ background: rgba(69,224,191,.1); border-color: rgba(69,224,191,.3); color: #8ef2dd; }
[data-theme="light"] .btn-auth.is-admin{ color:#0b7a63; }

.link-btn{
  background:none; border:0; padding:0; color: var(--muted);
  font-size: 13px; font-weight:600; cursor:pointer; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover{ color: var(--text); }

/* ---------- Chips ---------- */
.chip{
  display:inline-flex; align-items:center; gap: 7px;
  height: 38px; padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text-2);
  font-size: 13.5px; font-weight: 600;
  cursor:pointer;
  transition: all .2s var(--ease);
  white-space:nowrap;
}
.chip .icon{ width:15px; height:15px; }
.chip:hover{ border-color: var(--line-strong); color: var(--text); transform: translateY(-1px); }
.chip.active{ background: var(--text); color: var(--bg); border-color: var(--text); }
.chip-add{ border-style: dashed; color: var(--muted); }
.chip-add:hover{ color: var(--text); border-color: var(--violet); }
.chip-fav.active{ background: rgba(255,92,138,.15); border-color: rgba(255,92,138,.5); color: #ff8fac; }
.chip-fav .icon{ fill: currentColor; stroke-width: 0; }
.chip-fav.active .icon{ fill: #ff5c8a; }

/* ---------- Hero ---------- */
.hero{
  display:grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
  gap: 40px; align-items:center;
  padding: 64px 0 46px;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 12px; font-weight: 700; letter-spacing:.14em; text-transform: uppercase;
  color: var(--text-2);
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(10px);
}
.eyebrow .icon{ width:15px; height:15px; color: var(--amber); fill: rgba(255,194,71,.18); }

.hero h1{
  font-size: clamp(2.7rem, 6.2vw, 4.7rem);
  margin: 22px 0 18px;
  letter-spacing: -.05em;
}
.grad-text{
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: hue 9s ease-in-out infinite;
}
@keyframes hue{
  0%,100%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
}
.hero-lead{ max-width: 480px; color: var(--text-2); font-size: 17px; }

.hero-actions{ display:flex; flex-wrap:wrap; gap: 12px; margin: 28px 0 30px; }

.stats{ display:flex; flex-wrap:wrap; gap: 12px; }
.stat{
  min-width: 108px;
  padding: 12px 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.stat b{ display:block; font-size: 24px; font-weight: 800; letter-spacing:-.04em; }
.stat span{ font-size: 11.5px; letter-spacing:.08em; text-transform: uppercase; color: var(--muted); font-weight:600; }

/* Hero sahne */
.hero-stage{ position:relative; min-height: 430px; display:grid; place-items:center; }
.stage-glow{
  position:absolute; width: 70%; aspect-ratio:1; border-radius:50%;
  background: radial-gradient(circle, rgba(139,92,255,.55), rgba(255,92,138,.18) 55%, transparent 72%);
  filter: blur(30px);
  animation: pulse 7s ease-in-out infinite;
}
@keyframes pulse{ 0%,100%{ transform: scale(.94); opacity:.8; } 50%{ transform: scale(1.06); opacity:1; } }
.stage-card{
  position:absolute; width: 210px; border-radius: 22px; overflow:hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: #12121d;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,.04) inset;
  transition: transform .5s var(--ease), box-shadow .5s;
  cursor:pointer;
}
.stage-card:nth-child(2){ transform: translate(-118px, 8px) rotate(-8deg) scale(.93); z-index: 1; }
.stage-card:nth-child(3){ transform: translate(4px, -26px) rotate(2deg) scale(1.02); z-index: 3; }
.stage-card:nth-child(4){ transform: translate(124px, 22px) rotate(9deg) scale(.9); z-index: 2; }
.hero-stage:hover .stage-card:nth-child(2){ transform: translate(-140px, 4px) rotate(-11deg) scale(.95); }
.hero-stage:hover .stage-card:nth-child(3){ transform: translate(4px, -36px) rotate(0deg) scale(1.05); }
.hero-stage:hover .stage-card:nth-child(4){ transform: translate(146px, 18px) rotate(12deg) scale(.93); }
.stage-card img{ width:100%; aspect-ratio: 4/5; object-fit: cover; }
.stage-card .stage-body{ padding: 11px 13px 13px; }
.stage-card .stage-name{ font-size: 13px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.stage-card .stage-price{ font-size: 12px; color: var(--muted); margin-top: 2px; }
.stage-badge{
  position:absolute; top:10px; left:10px; z-index:2;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(8,8,15,.58); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 10px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:#fff;
}

/* ---------- Sections ---------- */
.section{ padding: 42px 0 8px; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap: 20px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.kicker{
  display:inline-block; font-size: 11px; font-weight:800; letter-spacing:.18em;
  text-transform: uppercase; color: var(--violet); margin-bottom: 7px;
}
.section-head h2{ font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.section-tools, .toolbar{ display:flex; align-items:center; gap: 9px; flex-wrap: wrap; }

/* Kategori rayı */
.category-rail{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.category-card{
  position:relative; overflow:hidden;
  aspect-ratio: 16/10;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card-solid);
  cursor:pointer;
  text-align:left;
  padding:0;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  isolation:isolate;
}
.category-card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .7s var(--ease); }
.category-card::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(7,7,13,.05) 20%, rgba(7,7,13,.82) 100%);
}
.category-card:hover{ transform: translateY(-4px); border-color: rgba(139,92,255,.5); box-shadow: 0 22px 50px -30px rgba(139,92,255,.8); }
.category-card:hover img{ transform: scale(1.06); }
.category-card.active{ border-color: rgba(139,92,255,.85); box-shadow: 0 0 0 1px rgba(139,92,255,.6), 0 20px 40px -26px rgba(139,92,255,.9); }
.category-card .cat-info{ position:absolute; left:14px; right:14px; bottom:12px; z-index:2; color:#fff; }
.category-card .cat-name{ font-size: 16px; font-weight:800; letter-spacing:-.02em; }
.category-card .cat-count{ font-size: 11.5px; opacity:.75; font-weight:600; }
.category-card .cat-count b{ color:#fff; }
.category-card .card-admin{
  position:absolute; top:10px; right:10px; z-index:3;
  display:flex; gap:5px; opacity:0; transform: translateY(-4px);
  transition: opacity .2s, transform .2s;
}
.category-card:hover .card-admin, .category-card:focus-within .card-admin{ opacity:1; transform:none; }
.mini-btn{
  width: 32px; height:32px; border-radius: 10px;
  display:grid; place-items:center;
  background: rgba(8,8,15,.6); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2); color:#fff;
  cursor:pointer; transition: background .2s, transform .2s;
}
.mini-btn .icon{ width:15px; height:15px; }
.mini-btn:hover{ background: rgba(139,92,255,.85); transform: translateY(-1px); }
.mini-btn.danger:hover{ background: rgba(255,60,100,.9); }

.cat-placeholder{ position:absolute; inset:0; background: var(--grad-soft); }

/* ---------- Arama / sıralama ---------- */
.search-field{
  display:flex; align-items:center; gap: 9px;
  height: 40px; padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  transition: border-color .2s, background .2s, box-shadow .2s;
  min-width: 190px;
}
.search-field:focus-within{ border-color: rgba(139,92,255,.65); box-shadow: 0 0 0 3px rgba(139,92,255,.14); background: var(--card-hover); }
.search-field .icon{ width:16px; height:16px; }
.search-field input{
  background:none; border:0; outline:none; width: 100%; min-width:0;
  font-size: 13.5px; color: var(--text);
}
.search-field input::placeholder{ color: var(--muted); }
.search-field kbd{
  font: inherit; font-size: 11px; padding: 1px 6px; border-radius: 6px;
  border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.03);
}

.select-wrap{ position:relative; display:flex; align-items:center; }
.select-wrap select{
  appearance:none; -webkit-appearance:none;
  height: 40px; padding: 0 34px 0 14px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--text-2);
  font-size: 13.5px; font-weight: 600; cursor:pointer;
  transition: border-color .2s, color .2s;
}
.select-wrap select:hover{ border-color: var(--line-strong); color: var(--text); }
.select-wrap select:focus{ outline:none; border-color: rgba(139,92,255,.65); }
.select-wrap .icon{ position:absolute; right: 12px; width:14px; height:14px; pointer-events:none; color: var(--muted); }

/* ---------- Ürün kartları ---------- */
.product-grid{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 18px;
}
.product-card{
  position:relative; display:flex; flex-direction: column;
  border-radius: 22px; overflow:hidden;
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(12px);
  cursor:pointer;
  text-align:left; padding:0;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s, background .3s;
  animation: cardIn .55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes cardIn{ from{ opacity:0; transform: translateY(16px) scale(.985); } to{ opacity:1; transform:none; } }
.product-card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.2);
  background: var(--card-hover);
  box-shadow: 0 30px 60px -40px rgba(139,92,255,.8);
}
.pc-media{ position:relative; overflow:hidden; background: linear-gradient(150deg,#191927,#0f0f18); }
.pc-media img{ width:100%; aspect-ratio: 4/5; object-fit:cover; transition: transform .8s var(--ease); }
.product-card:hover .pc-media img{ transform: scale(1.055); }
.pc-media::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), transparent 30%, transparent 68%, rgba(0,0,0,.32));
  opacity:.9;
}
.pc-tag{
  position:absolute; top:12px; left:12px; z-index:3;
  padding: 5px 10px; border-radius: 999px;
  font-size: 10px; font-weight:800; letter-spacing:.09em; text-transform:uppercase;
  background: var(--grad); color:#fff;
  box-shadow: 0 8px 18px -10px rgba(255,92,138,.9);
}
.pc-cat{
  position:absolute; top:12px; left:12px; z-index:2;
  padding: 5px 10px; border-radius: 999px;
  font-size: 10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  background: rgba(8,8,15,.55); border:1px solid rgba(255,255,255,.18); color:#fff;
  backdrop-filter: blur(8px);
}
.pc-tag + .pc-cat{ top: 44px; }
.pc-fav{
  position:absolute; top:10px; right:10px; z-index:4;
  width: 34px; height:34px; border-radius:50%;
  display:grid; place-items:center;
  background: rgba(8,8,15,.5); backdrop-filter: blur(8px);
  border:1px solid rgba(255,255,255,.18); color:#fff;
  cursor:pointer; transition: transform .2s, background .2s, color .2s;
}
.pc-fav .icon{ width:16px; height:16px; }
.pc-fav:hover{ transform: scale(1.1); background: rgba(255,92,138,.3); }
.pc-fav.on{ color:#ff5c8a; }
.pc-fav.on .icon{ fill:#ff5c8a; }
.pc-admin{
  position:absolute; top:10px; right:52px; z-index:4;
  display:flex; gap:6px; opacity:0; transform: translateY(-4px); transition: all .2s;
}
.product-card:hover .pc-admin, .product-card:focus-within .pc-admin{ opacity:1; transform:none; }
.pc-body{ padding: 14px 15px 16px; display:flex; flex-direction:column; gap: 6px; flex:1; }
.pc-title{ font-size: 15px; font-weight: 700; line-height:1.3; letter-spacing:-.02em; }
.pc-meta{ display:flex; align-items:center; gap: 10px; font-size: 12px; color: var(--muted); flex-wrap:wrap; }
.pc-rating{ display:inline-flex; align-items:center; gap:4px; color: var(--amber); font-weight:700; }
.pc-rating .icon{ width:12px; height:12px; fill: currentColor; stroke-width:0; }
.pc-comments{ display:inline-flex; align-items:center; gap:4px; }
.pc-comments .icon{ width:12px; height:12px; }
.pc-foot{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:8px; padding-top: 8px; }
.pc-price{ font-size: 17px; font-weight: 800; letter-spacing:-.03em; }
.pc-price small{ font-size: 11px; font-weight:600; color: var(--muted); letter-spacing:0; }
.pc-arrow{
  width: 30px; height:30px; border-radius:50%; display:grid; place-items:center;
  border:1px solid var(--line); color: var(--text-2);
  transition: all .25s;
}
.pc-arrow .icon{ width:15px; height:15px; }
.product-card:hover .pc-arrow{ background: var(--grad); border-color:transparent; color:#fff; transform: rotate(-35deg); }

/* ---------- Boş durum ---------- */
.empty{
  text-align:center; padding: 56px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--card);
  margin-top: 8px;
}
.empty-art{
  width: 74px; height:74px; margin: 0 auto 18px; border-radius: 22px;
  display:grid; place-items:center;
  background: var(--grad-soft); border:1px solid var(--line);
  color: var(--text-2);
}
.empty-art .icon{ width: 30px; height:30px; }
.empty h3{ font-size: 20px; margin-bottom: 6px; }
.empty p{ color: var(--muted); font-size: 14px; max-width: 380px; margin: 0 auto 18px; }
.empty .btn{ margin-inline:auto; }

/* ---------- Owner band ---------- */
.owner-band{
  margin: 54px 0 30px;
  display:flex; align-items:center; justify-content:space-between; gap: 28px;
  padding: 30px 32px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(139,92,255,.16), transparent 55%),
    radial-gradient(120% 160% at 100% 100%, rgba(255,92,138,.12), transparent 55%),
    var(--card);
  position:relative; overflow:hidden;
  flex-wrap: wrap;
}
.owner-band::before{
  content:""; position:absolute; inset:0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60L60 0M-15 45L45-15M15 75L75 15' stroke='%23ffffff' stroke-opacity='.035' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events:none;
}
.owner-copy h2{ font-size: clamp(1.4rem,3vw,1.9rem); margin: 4px 0 8px; }
.owner-copy p{ color: var(--text-2); font-size: 14.5px; max-width: 520px; }
.owner-actions{ display:flex; flex-direction:column; align-items:flex-start; gap: 9px; }
.owner-note{ font-size: 12px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 26px 0 34px;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}
.footer-inner{ display:flex; align-items:center; justify-content:space-between; gap: 18px; flex-wrap:wrap; }
.footer-inner p{ font-size: 12.5px; color: var(--muted); }
.brand-sm .brand-mark{ width: 32px; height:32px; border-radius: 10px; }
.brand-sm .brand-mark .icon{ width:17px; height:17px; }
.brand-sm .brand-text{ font-size: 16px; }
.brand-sm .brand-text span{ font-size: 8px; margin-top:4px; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop{
  position: fixed; inset:0; z-index: 100;
  display:flex; align-items:center; justify-content:center;
  padding: 24px;
  background: rgba(4,4,9,.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: fadeIn .22s ease both;
}
@keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
.modal{
  position:relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  display:flex; flex-direction:column;
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(100% 70% at 0% 0%, rgba(139,92,255,.13), transparent 60%),
    var(--card-solid);
  box-shadow: var(--shadow-xl);
  animation: modalIn .3s var(--ease) both;
  overflow:hidden;
}
@keyframes modalIn{ from{ opacity:0; transform: translateY(18px) scale(.98); } to{ opacity:1; transform:none; } }
.modal.modal-lg{ width: min(1040px, 100%); }
.modal.modal-sm{ width: min(430px, 100%); }
.modal-head{
  display:flex; align-items:flex-start; gap: 14px;
  padding: 24px 24px 0;
}
.modal-head-text{ flex:1; min-width:0; }
.modal-head h3{ font-size: 21px; letter-spacing:-.03em; }
.modal-head p{ font-size: 13px; color: var(--muted); margin-top: 4px; }
.modal-close{
  width: 36px; height:36px; border-radius: 50%; flex:none;
  display:grid; place-items:center;
  border:1px solid var(--line); background: var(--card); color: var(--text-2);
  cursor:pointer; transition: all .2s;
}
.modal-close:hover{ background: rgba(255,255,255,.1); color: var(--text); transform: rotate(90deg); }
.modal-close .icon{ width:17px; height:17px; }
.modal-body{ padding: 20px 24px 24px; overflow-y: auto; overscroll-behavior: contain; }
.modal-body::-webkit-scrollbar{ width: 8px; }
.modal-body::-webkit-scrollbar-thumb{ background: var(--line-strong); border-radius: 99px; }
.modal-foot{
  display:flex; align-items:center; justify-content:flex-end; gap: 10px;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--card-solid) 88%, transparent);
  flex-wrap: wrap;
}
.modal-foot .spacer{ margin-right:auto; }

/* ---------- Formlar ---------- */
.form{ display:flex; flex-direction:column; gap: 16px; }
.field{ display:flex; flex-direction:column; gap: 7px; min-width:0; }
.field > label{ font-size: 12.5px; font-weight: 700; color: var(--text-2); letter-spacing:.01em; }
.field > label small{ font-weight:500; color: var(--muted); }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input, .textarea, .field select{
  width:100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--text);
  outline:none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
[data-theme="light"] .input, [data-theme="light"] .textarea, [data-theme="light"] .field select{ background:#fff; }
.input::placeholder, .textarea::placeholder{ color: var(--muted); }
.input:focus, .textarea:focus, .field select:focus{
  border-color: rgba(139,92,255,.7);
  box-shadow: 0 0 0 3px rgba(139,92,255,.15);
  background: rgba(255,255,255,.06);
}
.textarea{ resize: vertical; min-height: 96px; line-height:1.55; }
.field select{ appearance:none; -webkit-appearance:none; cursor:pointer; padding-right: 36px; }
.select-holder{ position:relative; }
.select-holder .icon{ position:absolute; right:13px; top:50%; transform: translateY(-50%); width:15px; height:15px; color: var(--muted); pointer-events:none; }
.hint{ font-size: 12px; color: var(--muted); }
.err{ font-size: 12.5px; color:#ff7796; font-weight:600; min-height: 0; }
[data-theme="light"] .err{ color:#d61f47; }
.input-group{ position:relative; display:flex; align-items:center; }
.input-group .input{ padding-right: 46px; }
.input-eye{
  position:absolute; right: 6px; width: 34px; height:34px; border-radius: 9px;
  display:grid; place-items:center; border:0; background:transparent; color: var(--muted); cursor:pointer;
}
.input-eye:hover{ color: var(--text); }
.input-eye .icon{ width:17px; height:17px; }

.form-note{
  display:flex; gap: 10px; align-items:flex-start;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(139,92,255,.08);
  border: 1px solid rgba(139,92,255,.2);
  color: var(--text-2); font-size: 12.5px; line-height:1.5;
}
.form-note .icon{ width:17px; height:17px; color: var(--violet); flex:none; margin-top:1px; }

/* ---------- Fotoğraf yükleme kutusu ---------- */
.upload-box{
  position:relative;
  border: 1.6px dashed var(--line-strong);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
  min-height: 172px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap: 8px;
  padding: 18px;
  cursor:pointer;
  text-align:center;
  overflow:hidden;
  transition: border-color .2s, background .2s;
}
.upload-box:hover, .upload-box.drag{ border-color: var(--violet); background: rgba(139,92,255,.08); }
.upload-box .up-icon{
  width: 48px; height:48px; border-radius: 15px;
  display:grid; place-items:center;
  background: var(--grad-soft); border:1px solid var(--line);
  color: var(--text-2);
}
.upload-box .up-icon .icon{ width:22px; height:22px; }
.upload-box strong{ font-size: 13.5px; }
.upload-box span{ font-size: 11.5px; color: var(--muted); }
.upload-box.has-image{ padding:0; min-height:0; border-style:solid; border-color: var(--line); background:#0d0d16; }
.upload-box.has-image img{ width:100%; height:100%; object-fit:cover; }
.upload-box .up-overlay{
  position:absolute; inset:0; display:flex; align-items:flex-end; justify-content:space-between; gap:8px;
  padding: 10px;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.72));
  opacity:0; transition: opacity .2s;
}
.upload-box:hover .up-overlay{ opacity:1; }
.up-actions{ display:flex; gap:6px; margin-left:auto; }
.up-chip{
  border:1px solid rgba(255,255,255,.25); background: rgba(8,8,15,.55); backdrop-filter: blur(8px);
  border-radius: 9px; padding: 6px 10px; font-size: 11.5px; font-weight:700; color:#fff; cursor:pointer;
  display:inline-flex; align-items:center; gap:5px;
}
.up-chip .icon{ width:13px; height:13px; }
.up-chip.danger{ background: rgba(255,60,100,.75); border-color: transparent; }
.upload-box.wide{ aspect-ratio: 16/9; min-height: 0; }
.upload-box.tall{ aspect-ratio: 4/5; min-height: 0; max-height: 300px; }

.gallery-strip{ display:flex; gap: 8px; flex-wrap:wrap; }
.gallery-thumb{
  position:relative; width: 66px; height:82px; border-radius: 12px; overflow:hidden;
  border:1px solid var(--line); background:#0d0d16; flex:none;
}
.gallery-thumb img{ width:100%; height:100%; object-fit:cover; }
.gallery-thumb button{
  position:absolute; top:3px; right:3px; width:20px; height:20px; border-radius:6px;
  display:grid; place-items:center; border:0; background: rgba(8,8,15,.72); color:#fff; cursor:pointer;
}
.gallery-thumb button .icon{ width:11px; height:11px; }
.gallery-add{
  width:66px; height:82px; border-radius:12px; border:1.4px dashed var(--line-strong);
  display:grid; place-items:center; color: var(--muted); cursor:pointer; background:transparent;
}
.gallery-add:hover{ border-color: var(--violet); color: var(--text); }
.gallery-add .icon{ width:18px; height:18px; }

/* ---------- Yetkili girişi ---------- */
.auth-hero{ display:flex; flex-direction:column; align-items:center; text-align:center; gap: 10px; padding: 6px 8px 4px; }
.auth-icon{
  width: 60px; height:60px; border-radius: 20px;
  display:grid; place-items:center;
  background: var(--grad); color:#fff;
  box-shadow: 0 18px 40px -18px rgba(139,92,255,.9);
  position:relative;
}
.auth-icon::after{ content:""; position:absolute; inset:0; border-radius:inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.auth-icon .icon{ width:27px; height:27px; }
.auth-hero h3{ font-size: 22px; }
.auth-hero p{ font-size: 13px; color: var(--muted); max-width: 330px; }
.pill-badge{
  display:inline-flex; align-items:center; gap:6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  background: rgba(69,224,191,.12); color:#57e6c5; border:1px solid rgba(69,224,191,.28);
}
[data-theme="light"] .pill-badge{ color:#0b7a63; }

/* ---------- Ürün detay ---------- */
.pd-grid{ display:grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 28px; }
.pd-gallery{ display:flex; flex-direction:column; gap: 10px; min-width:0; }
.pd-main{
  position:relative; border-radius: 20px; overflow:hidden;
  border:1px solid var(--line);
  background: #0d0d16;
  aspect-ratio: 4/5;
  cursor: zoom-in;
}
.pd-main img{ width:100%; height:100%; object-fit:cover; }
.pd-thumbs{ display:flex; gap:8px; overflow-x:auto; padding-bottom:2px; }
.pd-thumb{
  width: 62px; height:74px; border-radius: 11px; overflow:hidden; flex:none;
  border: 2px solid transparent; background:#0d0d16; padding:0; cursor:pointer; opacity:.72;
  transition: opacity .2s, border-color .2s;
}
.pd-thumb img{ width:100%; height:100%; object-fit:cover; }
.pd-thumb:hover{ opacity:1; }
.pd-thumb.active{ border-color: var(--violet); opacity:1; }

.pd-info{ min-width:0; }
.pd-cat{ display:flex; align-items:center; gap: 9px; flex-wrap:wrap; }
.pd-cat .chip{ height: 30px; font-size: 11.5px; padding: 0 11px; cursor:default; }
.pd-title{ font-size: clamp(1.5rem, 3vw, 2rem); margin: 12px 0 8px; }
.pd-price{ font-size: 27px; font-weight: 800; letter-spacing:-.04em; display:flex; align-items:baseline; gap:8px; }
.pd-price small{ font-size: 12px; color: var(--muted); font-weight:600; letter-spacing:0; }
.rating-summary{ display:flex; align-items:center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); flex-wrap:wrap; }
.stars{ display:inline-flex; gap:2px; color: var(--amber); }
.stars .icon{ width: 15px; height:15px; fill: currentColor; stroke-width:0; }
.stars .off{ opacity:.26; }
.rating-summary b{ color: var(--text); }
.pd-desc{ color: var(--text-2); font-size: 14.5px; margin: 16px 0; white-space: pre-line; }
.pd-actions{ display:flex; gap:9px; flex-wrap:wrap; margin-top: 14px; }

.pd-comments{ margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.pd-comments-head{ display:flex; align-items:center; justify-content:space-between; gap: 10px; margin-bottom: 12px; }
.pd-comments-head h4{ font-size: 16px; }
.count-badge{
  padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight:700;
  background: var(--card); border:1px solid var(--line); color: var(--text-2);
}
.comment-list{ display:flex; flex-direction:column; gap: 10px; margin-bottom: 18px; }
.comment{
  padding: 13px 14px; border-radius: 15px;
  background: rgba(255,255,255,.035);
  border:1px solid var(--line);
  animation: cardIn .4s var(--ease) both;
}
[data-theme="light"] .comment{ background:#faf9ff; }
.comment-head{ display:flex; align-items:center; gap: 9px; margin-bottom: 6px; }
.avatar{
  width: 30px; height:30px; border-radius: 50%; flex:none;
  display:grid; place-items:center;
  font-size: 12px; font-weight:800; color:#fff;
  background: var(--grad);
  text-transform: uppercase;
}
.comment-name{ font-size: 13px; font-weight:700; }
.comment-date{ font-size: 11px; color: var(--muted); margin-left:auto; white-space:nowrap; }
.comment-stars{ display:flex; gap:1px; color: var(--amber); }
.comment-stars .icon{ width:10px; height:10px; fill: currentColor; stroke-width:0; }
.comment-stars .off{ opacity:.25; }
.comment-text{ font-size: 13.5px; color: var(--text-2); white-space: pre-line; }
.comment-del{
  margin-left:6px; width:24px; height:24px; border-radius:7px; border:0;
  display:grid; place-items:center; background:transparent; color: var(--muted); cursor:pointer;
}
.comment-del:hover{ background: rgba(255,60,100,.15); color:#ff7796; }
.comment-del .icon{ width:13px; height:13px; }
.comment-empty{
  padding: 18px; text-align:center; border-radius: 14px; border:1px dashed var(--line-strong);
  color: var(--muted); font-size: 13px; margin-bottom: 16px;
}

.comment-form{ display:flex; flex-direction:column; gap: 10px; padding: 15px; border-radius: 16px; background: rgba(255,255,255,.03); border:1px solid var(--line); }
[data-theme="light"] .comment-form{ background:#f7f5ff; }
.comment-form-row{ display:flex; gap: 10px; align-items:center; flex-wrap:wrap; }
.comment-form-row .input{ flex:1; min-width: 130px; height: 38px; padding: 8px 12px; font-size: 13px; border-radius: 11px; }
.comment-form .textarea{ min-height: 70px; font-size: 13.5px; border-radius: 11px; padding: 10px 12px; }
.star-picker{ display:flex; gap: 3px; }
.star-btn{
  width: 30px; height:30px; border:0; background:transparent; color: var(--muted);
  cursor:pointer; display:grid; place-items:center; transition: transform .15s, color .15s;
}
.star-btn .icon{ width:19px; height:19px; }
.star-btn.on{ color: var(--amber); }
.star-btn.on .icon{ fill: currentColor; stroke-width:0; }
.star-btn:hover{ transform: scale(1.18); }

/* ---------- Ayarlar ---------- */
.settings-block{ padding: 16px; border-radius: 16px; border:1px solid var(--line); background: rgba(255,255,255,.03); }
.settings-block + .settings-block{ margin-top: 12px; }
[data-theme="light"] .settings-block{ background:#faf9ff; }
.settings-block h4{ font-size: 14px; display:flex; align-items:center; gap: 8px; margin-bottom: 4px; }
.settings-block h4 .icon{ width:16px; height:16px; color: var(--violet); }
.settings-block > p{ font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.settings-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.settings-block.danger{ border-color: rgba(255,71,110,.28); background: rgba(255,71,110,.05); }
.settings-block.danger h4 .icon{ color:#ff6b8b; }
.storage-bar{ height: 7px; border-radius: 99px; background: rgba(255,255,255,.08); overflow:hidden; margin: 10px 0 6px; }
.storage-bar i{ display:block; height:100%; border-radius:99px; background: var(--grad); transition: width .5s var(--ease); }
.storage-label{ display:flex; justify-content:space-between; font-size: 11.5px; color: var(--muted); }

/* ---------- Toasts ---------- */
.toasts{
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  display:flex; flex-direction: column; gap: 9px; align-items: flex-end;
  pointer-events: none;
  max-width: min(360px, calc(100vw - 32px));
}
.toast{
  display:flex; align-items:center; gap: 10px;
  padding: 12px 16px 12px 13px;
  border-radius: 14px;
  background: rgba(18,18,29,.94);
  border:1px solid var(--line-strong);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
  color: var(--text); font-size: 13.5px; font-weight:600;
  backdrop-filter: blur(16px);
  animation: toastIn .35s var(--ease) both;
  pointer-events:auto;
}
[data-theme="light"] .toast{ background: rgba(255,255,255,.97); }
.toast.out{ animation: toastOut .3s ease both; }
.toast-ic{ width: 26px; height:26px; border-radius:8px; display:grid; place-items:center; flex:none; background: rgba(69,224,191,.15); color:#57e6c5; }
.toast-ic .icon{ width:14px; height:14px; }
.toast.error .toast-ic{ background: rgba(255,71,110,.16); color:#ff7796; }
.toast.info .toast-ic{ background: rgba(139,92,255,.18); color:#b79bff; }
@keyframes toastIn{ from{ opacity:0; transform: translateY(14px) scale(.96); } to{ opacity:1; transform:none; } }
@keyframes toastOut{ to{ opacity:0; transform: translateY(8px) scale(.97); } }

/* ---------- Lightbox ---------- */
.lightbox{
  position: fixed; inset:0; z-index: 300;
  background: rgba(3,3,7,.94);
  display:grid; place-items:center;
  padding: 24px;
  animation: fadeIn .2s ease both;
}
.lightbox img{ max-width: min(1000px, 100%); max-height: 88vh; border-radius: 16px; object-fit:contain; box-shadow: var(--shadow-xl); }
.lightbox .modal-close{ position:absolute; top: 20px; right: 20px; background: rgba(255,255,255,.1); color:#fff; border-color: rgba(255,255,255,.2); }
.lightbox[hidden]{ display:none; }

/* ---------- Yardımcı ---------- */
[hidden]{ display: none !important; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.hidden{ display:none !important; }
.spin{ animation: spin 1s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg); } }
.mono{ font-variant-numeric: tabular-nums; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px){
  .hero{ grid-template-columns: 1fr; gap: 10px; padding-top: 46px; }
  .hero-stage{ min-height: 360px; margin-top: 18px; }
  .hero-lead{ max-width: 560px; }
  .pd-grid{ grid-template-columns: 1fr; gap: 20px; }
  .modal.modal-lg{ width: min(720px, 100%); }
  .pd-main{ aspect-ratio: 16/12; }
}

@media (max-width: 860px){
  .header-nav{ display:none; }
  .hero h1{ font-size: clamp(2.4rem, 7.5vw, 3.4rem); }
  .owner-band{ padding: 24px; }
}

@media (max-width: 700px){
  :root{ --header-h: 64px; --radius: 20px; }
  .wrap{ width: 100% - 32px; width: calc(100% - 32px); }
  .brand-text{ font-size: 17px; }
  .brand-text span{ display:none; }
  .brand-mark{ width: 36px; height:36px; border-radius: 11px; }
  .header-inner{ gap: 10px; }
  .header-actions{ gap: 6px; }
  .btn-auth{ padding: 0 12px; height: 38px; }
  .btn-auth .icon{ width:15px; height:15px; }
  #adminBtnText{ display:none; }
  .btn-auth.is-admin #adminBtnText{ display:none; }
  .icon-btn{ width: 38px; height:38px; }

  .hero{ padding: 32px 0 26px; }
  .hero h1{ margin: 16px 0 14px; }
  .hero-lead{ font-size: 15px; }
  .hero-actions{ margin: 22px 0 24px; }
  .hero-actions .btn{ flex:1; min-width: 44%; }
  .stat{ flex:1; min-width: 90px; padding: 10px 14px; }
  .stat b{ font-size: 20px; }
  .stat span{ font-size: 10px; }

  .hero-stage{ min-height: 300px; }
  .stage-card{ width: 165px; }
  .stage-card:nth-child(2){ transform: translate(-88px, 8px) rotate(-8deg) scale(.92); }
  .stage-card:nth-child(4){ transform: translate(92px, 22px) rotate(9deg) scale(.9); }

  .section{ padding: 32px 0 4px; }
  .section-head{ align-items:flex-start; gap: 12px; margin-bottom: 16px; }
  .section-tools{ width:100%; }
  .toolbar{ width:100%; gap: 7px; }
  .search-field{ flex:1; min-width: 0; order:-1; width:100%; }
  .select-wrap{ flex:1; }
  .select-wrap select{ width:100%; }
  .chip{ height: 36px; padding: 0 13px; font-size: 12.5px; }
  #addProductBtn{ width:100%; order:5; }

  .category-rail{
    display:flex; gap: 10px; overflow-x:auto; scroll-snap-type: x mandatory;
    padding: 2px 2px 10px; margin-inline: -16px; padding-inline: 16px;
    scrollbar-width:none;
  }
  .category-rail::-webkit-scrollbar{ display:none; }
  .category-card{ flex: 0 0 63%; scroll-snap-align:start; aspect-ratio: 16/10; }
  .category-card .cat-name{ font-size: 15px; }

  .product-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
  .pc-body{ padding: 10px 11px 12px; gap:4px; }
  .pc-title{ font-size: 13px; }
  .pc-price{ font-size: 14.5px; }
  .pc-arrow{ display:none; }
  .pc-meta{ font-size: 10.5px; gap: 7px; }
  .pc-cat{ font-size: 8.5px; padding: 4px 8px; }
  .pc-tag{ font-size: 8.5px; padding: 4px 8px; }
  .pc-fav{ width: 30px; height:30px; top:8px; right:8px; }
  .pc-admin{ right: 44px; top: 8px; }
  .pc-admin .mini-btn{ width: 28px; height: 28px; border-radius: 8px; }
  .pc-media img{ aspect-ratio: 1/1.15; }
  .pc-tag + .pc-cat{ top: 38px; }

  .owner-band{ flex-direction: column; align-items:flex-start; gap: 16px; padding: 22px; margin-top: 36px; }
  .owner-actions{ width:100%; }
  .owner-actions .btn{ width:100%; }

  .modal-backdrop{ padding: 0; align-items:flex-end; }
  .modal{
    width:100%; max-width:100%; max-height: 94vh; border-radius: 24px 24px 0 0;
    animation: sheetIn .35s var(--ease) both;
  }
  .modal.modal-lg{ width:100%; max-height: 100vh; height: 100%; border-radius: 0; max-height: 100dvh; }
  @keyframes sheetIn{ from{ transform: translateY(40px); opacity:.6; } to{ transform:none; opacity:1; } }
  .modal-head{ padding: 20px 18px 0; }
  .modal-body{ padding: 16px 18px 22px; }
  .modal-foot{ padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); }
  .modal-foot .btn{ flex:1; }
  .pd-main{ aspect-ratio: 1/1.06; }
  .pd-title{ font-size: 1.5rem; }
  .pd-price{ font-size: 23px; }
  .pd-thumbs{ gap: 6px; }
  .pd-thumb{ width: 52px; height: 64px; }
  .field-row{ grid-template-columns: 1fr; }

  .toasts{ left: 16px; right: 16px; bottom: 16px; align-items: stretch; max-width: none; }
  .toast{ justify-content: flex-start; }

  .footer-inner{ flex-direction: column; align-items:flex-start; gap: 10px; }
  .lightbox{ padding: 10px; }
}

@media (max-width: 350px){
  .product-grid{ grid-template-columns: 1fr; }
  .pc-media img{ aspect-ratio: 4/3.4; }
  .hero-actions .btn{ flex: 1 1 100%; }
}

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

/* ---------- Yükleme kutusu düzeltmeleri ---------- */
.upload-box > .up-img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; border-radius:inherit;
}
.upload-box .up-empty{
  display:flex; flex-direction:column; align-items:center; gap:8px;
  pointer-events:none;
}
.upload-box .up-empty[hidden], .upload-box .up-overlay[hidden]{ display:none; }
.upload-box.has-image{ min-height:0; background:#0d0d16; }
.upload-box.tall{ aspect-ratio: 4/5; max-height: 380px; }
.upload-box.wide{ aspect-ratio: 16/9; }
.price-ask{ font-size:12.5px; color:var(--muted); font-weight:600; letter-spacing:0; }
.pd-main{ touch-action: manipulation; }
.pd-main .icon{ pointer-events:none; }
.gallery-strip{ min-height: 84px; align-items:center; }
.comment-stars{ flex:none; }
.comment-date{ margin-left:auto; }
.settings-block .form{ gap: 12px; }
.settings-block .form .field-row{ gap: 10px; }
.settings-block h4 .icon{ stroke-width:1.9; }

@media (hover: none){
  .up-overlay{ opacity:1 !important; }
  .category-card .card-admin, .product-card .pc-admin{ opacity:1; transform:none; }
}

@media (max-width: 700px){
  .upload-box.tall{ max-height: 320px; }
  .modal-head .pd-title{ font-size: 1.4rem; }
  .pd-main{ max-height: 46vh; aspect-ratio: 1/1; }
  .pd-desc{ font-size: 14px; }
  .modal-foot .btn{ min-width: 0; }
  .settings-block{ padding: 14px; }
  .search-field kbd{ display:none; }
  .footer-inner .brand-text span{ display:block; }
  .comment-date{ font-size: 10px; }
}

@media (max-width: 420px){
  .pd-thumbs{ gap: 5px; }
  .comment-form-row .input{ flex: 1 1 100%; }
}

/* ============================================================
   UMUT SPOT — altın & siyah marka teması
   ============================================================ */
:root{
  --bg: #070502;
  --bg-2: #0c0906;
  --card: rgba(255,240,200,.045);
  --card-solid: #12100b;
  --card-hover: rgba(255,238,196,.075);
  --line: rgba(240,214,150,.13);
  --line-strong: rgba(240,214,150,.26);
  --text: #f9f3e5;
  --text-2: #ded5c0;
  --muted: #a99f89;
  --violet: #d9b45c;
  --pink: #b8862f;
  --amber: #f0c86a;
  --mint: #6fd3a8;
  --grad: linear-gradient(115deg, #f8e6ac 0%, #d9b45c 42%, #a9772a 100%);
  --grad-soft: linear-gradient(115deg, rgba(217,180,92,.22), rgba(184,134,47,.14) 55%, rgba(255,240,200,.08));
  --shadow-xl: 0 40px 80px -30px rgba(0,0,0,.9);
  --shadow-glow: 0 18px 60px -20px rgba(217,180,92,.55);
}
[data-theme="light"]{
  --bg: #f8f4ea;
  --bg-2: #efe7d5;
  --card: rgba(255,255,255,.82);
  --card-solid: #fffdf7;
  --card-hover: #ffffff;
  --line: rgba(84,64,25,.12);
  --line-strong: rgba(84,64,25,.24);
  --text: #221a0d;
  --text-2: #4c4231;
  --muted: #7d725c;
  --shadow-xl: 0 30px 70px -35px rgba(90,64,20,.3);
  --shadow-glow: 0 18px 50px -24px rgba(184,134,47,.4);
}
[data-theme="light"] .grad-text{
  background: linear-gradient(115deg, #7a4d0f 0%, #b8862f 50%, #8a5d13 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.blob-1{ background:#7a4d12; opacity:.38; }
.blob-2{ background:#b8862f; opacity:.24; }
.blob-3{ background:#4e2f0d; opacity:.3; }
[data-theme="light"] .blob-1{ background:#e8c56a; opacity:.5; }
[data-theme="light"] .blob-2{ background:#f5dfa4; opacity:.55; }
[data-theme="light"] .blob-3{ background:#d9b45c; opacity:.35; }
.aurora::after{
  background:
    radial-gradient(80% 55% at 50% -10%, rgba(217,180,92,.16), transparent 60%),
    linear-gradient(180deg, transparent 40%, var(--bg) 92%);
}
.brand-mark{
  background: transparent;
  box-shadow: 0 10px 28px -14px rgba(217,180,92,.65);
  border-radius: 12px;
  overflow: hidden;
}
.brand-mark::after{ display:none; }
.brand-mark img{ width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.brand-text{ letter-spacing:-.02em; }
.brand-text span{ letter-spacing:.19em; color:#b9a374; }
.btn-primary{
  color:#1b1206;
  box-shadow: 0 12px 30px -14px rgba(217,180,92,.85), inset 0 1px 0 rgba(255,255,255,.55);
}
.btn-primary:hover{
  box-shadow: 0 18px 42px -14px rgba(240,200,106,.7), inset 0 1px 0 rgba(255,255,255,.6);
}
.auth-icon{ color:#1b1206; box-shadow: 0 18px 40px -18px rgba(217,180,92,.9); }
.pc-tag{ color:#1b1206; box-shadow: 0 8px 18px -10px rgba(217,180,92,.8); }
.pill-badge{ background: rgba(217,180,92,.12); color:#e9cd8a; border-color: rgba(217,180,92,.3); }
[data-theme="light"] .pill-badge{ color:#7a4d0f; }
.stage-glow{
  background: radial-gradient(circle, rgba(217,180,92,.5), rgba(184,134,47,.2) 55%, transparent 72%);
}
.stage-card{ border-color: rgba(240,214,150,.22); background:#0e0b07; }
.category-card:hover{ border-color: rgba(217,180,92,.55); box-shadow: 0 22px 50px -30px rgba(217,180,92,.8); }
.category-card.active{ border-color: rgba(217,180,92,.9); box-shadow: 0 0 0 1px rgba(217,180,92,.55), 0 20px 40px -26px rgba(217,180,92,.9); }
.product-card:hover{ border-color: rgba(240,214,150,.24); box-shadow: 0 30px 60px -40px rgba(217,180,92,.8); }
.search-field:focus-within{ border-color: rgba(217,180,92,.65); box-shadow: 0 0 0 3px rgba(217,180,92,.14); }
.select-wrap select:focus{ border-color: rgba(217,180,92,.65); }
.upload-box:hover, .upload-box.drag{ border-color:#d9b45c; background: rgba(217,180,92,.07); }
.form-note{ background: rgba(217,180,92,.08); border-color: rgba(217,180,92,.22); }
.form-note .icon{ color:#d9b45c; }
.modal{
  background:
    radial-gradient(100% 70% at 0% 0%, rgba(217,180,92,.12), transparent 60%),
    var(--card-solid);
}
.owner-band{
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(217,180,92,.16), transparent 55%),
    radial-gradient(120% 160% at 100% 100%, rgba(184,134,47,.12), transparent 55%),
    var(--card);
}
.chip-fav.active{ background: rgba(217,180,92,.16); border-color: rgba(217,180,92,.55); color:#efd699; }
.chip-fav.active .icon{ fill:#e5c47a; }
.pc-fav.on{ color:#e5c47a; }
.pc-fav.on .icon{ fill:#e5c47a; }
.star-btn.on, .pc-rating{ color:#f0c86a; }
.category-card .cat-count b{ color:#f4e4b8; }
.hero-phone{
  display:inline-flex; align-items:center; gap:10px;
  margin-top:22px; font-weight:700; font-size:15px; letter-spacing:-.01em;
  color:var(--text);
}
.hero-phone-ic{
  width:38px; height:38px; border-radius:12px; flex:none;
  display:grid; place-items:center;
  background:var(--grad); color:#1b1206;
  box-shadow: 0 10px 22px -12px rgba(217,180,92,.9);
  transition: transform .2s var(--ease);
}
.hero-phone-ic .icon{ width:17px; height:17px; }
.hero-phone:hover .hero-phone-ic{ transform: translateY(-2px); }
.hero-phone small{
  margin-left:2px; font-size:11px; font-weight:600; letter-spacing:.07em;
  text-transform:uppercase; color:var(--muted);
}
.footer-note{ font-size:12.5px; color:var(--muted); line-height:1.6; }
.footer-links{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.footer-phone{
  display:inline-flex; align-items:center; gap:7px;
  font-size:14px; font-weight:700; color:var(--text);
}
.footer-phone .icon{ width:16px; height:16px; color:#e5c47a; }
.footer-phone:hover{ color:#e5c47a; }
.category-rail{ grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
::selection{ background: rgba(217,180,92,.4); color:#1b1206; }
.input:focus, .textarea:focus, .field select:focus{
  border-color: rgba(217,180,92,.7);
  box-shadow: 0 0 0 3px rgba(217,180,92,.15);
}
.mini-btn:hover{ background: rgba(217,180,92,.9); color:#1b1206; }
.pc-fav:hover{ background: rgba(217,180,92,.3); }
.pc-media{ background: linear-gradient(150deg,#171208,#0d0a06); }
.upload-box.has-image{ background:#0e0b07; }
.toast.info .toast-ic{ background: rgba(217,180,92,.18); color:#f0d08a; }
@media (max-width: 700px){
  .hero-actions .btn{ flex:1 1 0; min-width:0; padding-inline:12px; font-size:13px; }
  .hero-actions .btn .icon{ width:16px; height:16px; }
  .hero-phone{ margin-top:18px; font-size:14px; }
  .hero-phone small{ display:none; }
  .footer-inner{ gap:14px; }
  .footer-links{ width:100%; justify-content:space-between; }
  .pc-title{
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
    overflow:hidden; min-height:2.6em;
  }
  .pc-meta{ white-space:nowrap; overflow:hidden; }
  .pc-comments{ overflow:hidden; text-overflow:ellipsis; }
  .pc-cat{ display:none; }
  .pc-tag + .pc-cat{ top:8px; }
  .pc-admin, .category-card .card-admin{ opacity:1; transform:none; }

  /* Kategoriler: üçü de tek bakışta görünsün */
  .category-rail{
    display:grid; grid-template-columns:1fr; gap:10px;
    overflow:visible; margin-inline:0; padding:0;
  }
  .category-card{
    flex:none; width:auto; height:94px; aspect-ratio:auto; border-radius:16px;
  }
  .category-card::after{
    background:linear-gradient(90deg, rgba(7,5,2,.92) 6%, rgba(7,5,2,.58) 48%, rgba(7,5,2,.06) 100%);
  }
  .category-card .cat-info{
    left:16px; right:auto; top:50%; bottom:auto; transform:translateY(-50%);
  }
  .category-card .cat-name{ font-size:17px; }
  .category-card .cat-count{ font-size:11px; }
  .category-card .cat-admin{ top:10px; right:10px; }
}
@media (max-width: 380px){
  .hero-actions{ flex-direction:column; }
  .hero-actions .btn{ width:100%; }
}
