:root {
  --zemin: #0f0f0f;
  --kart: #282828;
  --kuyu: #1a1a1a;
  --yazi: #e5e5e5;
  --orta: #a3a3a3;
  --soluk: #707070;
  --cizgi: #3a3a3a;
  --mavi: #0091ff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--zemin);
  color: var(--yazi);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

button, input, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; }

.sahne {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 28px 24px 120px;
}

.ev {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  animation: belir 0.22s ease;
  min-height: calc(100dvh - 148px);
  display: flex;
  flex-direction: column;
}

.ust-satir, .yan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.karsilama { margin: 8px 0 0; font-size: 22px; font-weight: 560; }
.kisi { color: var(--orta); font-weight: 500; }

.cikis {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #d64545;
  color: #fff;
  transition: transform 0.16s ease, background 0.16s ease;
}

.cikis:hover { background: #c23636; }

.cikis:hover { transform: scale(1.04); }
.cikis:active { transform: scale(0.96); }

.marka-govde {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 40px 24px;
}

.marka-ad {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(56px, 8vw, 92px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.logo, .logo-bos {
  width: min(306px, 34vw);
  height: min(306px, 34vw);
  border-radius: 8px;
  flex: 0 0 auto;
}

.logo { object-fit: contain; background: transparent; }
.logo-bos { background: #d9d9d9; }

.sayfa {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  animation: belir 0.22s ease;
}

.sayfa-ustu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.geri {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  margin: 0 0 16px auto;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #3a3a3a;
  color: var(--yazi);
  font-size: 16px;
  font-weight: 650;
  transition: background 0.16s ease, transform 0.16s ease;
}

.geri:hover { background: #4a4a4a; }
.geri:active { transform: scale(0.97); }

.cubuk {
  position: fixed;
  z-index: 5;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  width: min(691px, calc(100% - 32px));
  height: 64px;
  padding: 6px;
  border-radius: 999px;
  background: var(--kart);
}

.sayfa-ustu .cubuk {
  position: relative;
  left: auto;
  bottom: auto;
  flex: 1 0 100%;
  transform: none;
  width: min(691px, 100%);
  margin: 8px auto 28px;
}

.cubuk button {
  flex: 1;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--soluk);
  font-size: 17px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.cubuk button.secili { color: var(--mavi); background: #3a3a3a; }
.cubuk button:active { transform: scale(0.97); }

.arama-satir {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.ekle {
  height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: var(--kart);
  color: var(--yazi);
  font-weight: 650;
  transition: transform 0.16s ease, background 0.16s ease;
}

.ekle:hover { background: #333; }
.ekle:active { transform: scale(0.97); }

.izgara {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.kart {
  position: relative;
  min-height: 300px;
  padding: 32px;
  border: 0;
  border-radius: 28px;
  background: var(--kart);
  text-align: left;
  transition: transform 0.18s ease, background 0.18s ease;
  animation: gir 0.32s ease both;
}

.kart h2 { max-width: calc(100% - 150px); }

.kart:nth-child(2) { animation-delay: 0.04s; }
.kart:nth-child(3) { animation-delay: 0.08s; }

.kart:hover { transform: translateY(-2px); }
.kart:active { transform: scale(0.985); }

.kart h2, .menu-ad {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.yer-adi { margin: 14px 0 0; color: var(--yazi); font-size: 20px; }

.kuyu {
  margin-top: 22px;
  padding: 18px 18px 8px;
  border-radius: 18px;
  background: var(--kuyu);
}

.bilgi-satir {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  margin: 0 0 12px;
  color: var(--orta);
  font-size: 17px;
}

.bilgi-satir strong { color: var(--yazi); font-weight: 600; }

.kart-dugmeler { display: flex; flex: none; gap: 2px; }

.link-kopya {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.link-kopya strong { color: var(--yazi); font-weight: 600; }

.ad-dugme {
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
}

.goz, .kucuk {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--yazi);
  font-size: 18px;
  transition: background 0.16s ease, transform 0.16s ease;
}

.kucuk.yazi { width: auto; padding: 0 10px; font-size: 14px; }

.goz:hover, .kucuk:hover { background: #2c2c2c; }
.goz:active, .kucuk:active { transform: scale(0.92); }

.form {
  max-width: 560px;
}

.alan { display: block; margin-top: 16px; }

.etiket {
  display: block;
  margin-bottom: 8px;
  color: var(--orta);
  font-size: 15px;
  font-weight: 600;
}

.etiket-not { color: var(--soluk); font-weight: 500; }

input, textarea, select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--cizgi);
  border-radius: 14px;
  background: var(--kart);
  outline: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}

textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--orta); }
input[readonly] { color: var(--orta); cursor: pointer; }

.marka-yer {
  display: grid;
  grid-template-columns: minmax(260px, 440px) minmax(0, 1fr);
  column-gap: 64px;
  row-gap: 28px;
  align-items: start;
}

.marka-logo {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #d9d9d9;
  overflow: hidden;
}

.marka-logo.dolu { background: transparent; }

.marka-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.marka-sag { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
.marka-kadro { grid-column: 1; grid-row: 2; }

.marka-baslik {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.marka-sag h2, .marka-kadro h2 {
  margin: 28px 0 14px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.marka-kadro h2 { margin-top: 8px; }

.kadro-mail {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 18px;
}

.kadro-arti {
  display: block;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--yazi);
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.istek-kutu {
  min-height: 360px;
  padding: 22px;
  border-radius: 28px;
  background: #1c1c1c;
}

.istek { margin-bottom: 18px; }
.istek-sube { margin: 0 0 4px; color: var(--orta); font-size: 15px; }
.istek-tarih { display: block; color: var(--mavi); font-size: 15px; }
.istek-metin {
  margin: 8px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #2a2a2a;
  font-size: 16px;
  line-height: 1.35;
}

.palet-satir {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.palet-satir .etiket { margin: 0; }

.palet-grup {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.palet-serit { display: flex; height: 56px; border-radius: 8px; overflow: hidden; }
.palet-serit span { width: 56px; height: 56px; }

.palet-liste {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
  padding: 8px;
  border-radius: 16px;
  background: var(--kuyu);
}

.palet-liste[hidden] { display: none; }

.palet-secenek {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  font-size: 16px;
}

.palet-secenek:hover { background: #333; }

.palet-secenek .palet-serit { height: 28px; }
.palet-secenek .palet-serit span { width: 28px; height: 28px; }

.kaydet-cubuk {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
  background: transparent;
  transform: translateY(110%);
  transition: transform 0.22s ease;
  pointer-events: none;
}

.kaydet-cubuk.gorunur { transform: translateY(0); pointer-events: auto; }
.kaydet-cubuk .kaydet { width: min(420px, 100%); margin: 0; }

.palet-nokta {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: none;
}

.renkler, .secenekler { display: flex; flex-wrap: wrap; gap: 8px; }

.renk {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--cizgi);
  border-radius: 999px;
  background: transparent;
  color: var(--orta);
  font-weight: 650;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.renk.secili { background: var(--yazi); color: var(--zemin); border-color: var(--yazi); }

.secenekler label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--yazi);
}

.kaydet, .evet, .hayir {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  font-weight: 700;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.kaydet, .evet { background: var(--yazi); color: var(--zemin); }
.hayir, .sil {
  background: transparent;
  color: var(--orta);
  border: 0;
  min-height: 44px;
  font-weight: 650;
}

.kaydet { width: 100%; margin-top: 18px; }
.kaydet:hover, .evet:hover { transform: translateY(-1px); }
.kaydet:active, .evet:active, .hayir:active { transform: scale(0.98); }
.kaydet:disabled { opacity: 0.5; }

.uyari { min-height: 1.3em; margin: 12px 0 0; color: var(--yazi); font-weight: 650; }

.bilgi-satir.mavi { color: var(--mavi); }

.onizleme-satir p.mavi { color: var(--mavi); font-weight: 500; }

.ipucu { margin: 8px 0 0; color: var(--soluk); font-size: 16px; }

.satir {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  margin-top: 10px;
  padding: 12px 16px;
  border: 0;
  border-radius: 18px;
  background: var(--kart);
  text-align: left;
  transition: transform 0.16s ease, background 0.16s ease;
}

.satir:hover { background: #303030; }
.satir:active { transform: scale(0.99); }
.satir.soluk { opacity: 0.45; }
.satir b { font-size: 18px; }
.fiyat { color: var(--orta); }

.anahtar {
  position: relative;
  width: 46px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #3a3a3a;
  flex: 0 0 auto;
  transition: background 0.2s ease;
}

.anahtar::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yazi);
  transition: transform 0.2s ease;
}

.anahtar.acik { background: var(--mavi); }
.anahtar.acik::after { transform: translateX(18px); }

.onizleme {
  display: block;
  width: 88px;
  height: 88px;
  margin-top: 10px;
  border-radius: 12px;
  object-fit: cover;
  background: #d9d9d9;
}

.perde {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.62);
  animation: belir 0.18s ease;
}

.perde[hidden] { display: none; }
.perde.gidiyor { animation: sol 0.18s ease forwards; }
.perde.gidiyor .modal { animation: in 0.18s ease forwards; }

.modal {
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 24px;
  background: var(--kart);
  animation: yukari 0.22s ease;
}

.qr-gorsel {
  width: 240px;
  height: 240px;
  margin: 18px auto 0;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.qr-gorsel svg { display: block; width: 100%; height: 100%; }

.qr-not { font-size: 14px; }

.qr-indir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.qr-indir button { width: 100%; }

.qr-kapat { width: 100%; margin-top: 8px; }

.modal h2 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
.modal p { margin: 10px 0 0; color: var(--orta); line-height: 1.4; }

.modal-dugmeler { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.modal-dugmeler button { min-width: 108px; }

.giris {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  text-align: center;
}

.giris h1 { margin: 0 0 18px; font-size: 48px; letter-spacing: -0.04em; }

@keyframes gir {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes geri-gel {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: none; }
}

@keyframes belir { from { opacity: 0; } to { opacity: 1; } }
@keyframes sol { to { opacity: 0; } }

@keyframes yukari {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes in {
  to { opacity: 0; transform: translateY(8px) scale(0.98); }
}

.ikon { display: grid; place-items: center; pointer-events: none; }
.ikon svg { display: block; }

.arac {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.arama {
  position: relative;
  display: block;
  flex: 1;
  min-width: 0;
}

.arama input {
  height: 56px;
  padding-right: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--kart);
}

.arama .ikon {
  position: absolute;
  top: 0;
  right: 16px;
  height: 56px;
  color: var(--yazi);
}

.cift {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--kart);
}

.dik { width: 1px; height: 26px; margin: 0 4px; background: #3a3a3a; }

.ikon-dugme {
  display: grid;
  place-items: center;
  width: 48px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--yazi);
  transition: transform 0.16s ease, background 0.16s ease;
}

.ikon-dugme:hover, .ikon-dugme.acik { background: #3a3a3a; }
.ikon-dugme:active { transform: scale(0.94); }

.kart-isler {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sec {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  accent-color: var(--yazi);
}

.secim-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: -6px 0 18px;
}

.secim-sil { background: #d64545; color: #fff; }
.secim-sil:disabled { opacity: 0.4; }

#modal-girdi { margin-top: 16px; }
#modal-girdi[hidden] { display: none; }

.iki {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.onizleme-kolon {
  min-height: 240px;
  padding: 8px 4px 8px 28px;
}

.onizleme-bos { margin: 18px 0; color: var(--soluk); }

.onizleme-kat { margin-bottom: 22px; }
.onizleme-kat h3 { margin: 0 0 8px; font-size: 20px; }

.onizleme-satir {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid #2a2a2a;
}

.onizleme-satir b { display: block; font-size: 18px; }
.onizleme-satir p { margin: 4px 0 0; color: var(--orta); font-size: 16px; }
.onizleme-satir span { color: var(--yazi); font-weight: 650; white-space: nowrap; }

.sol-kol { display: flex; align-items: center; gap: 10px; min-width: 0; }

.kucuk-foto {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
}

.menu-urun .ad-dugme { flex: 1; min-width: 0; }
.menu-urun .ad-dugme p { margin: 4px 0 0; color: var(--orta); font-size: 14px; font-weight: 500; }

#modal-liste { margin-top: 16px; }
#modal-liste[hidden] { display: none; }

.urun-izgara { display: grid; gap: 14px; }

.urun-kart {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: var(--kart);
  animation: gir 0.32s ease both;
}

.urun-kart.yalin { grid-template-columns: minmax(0, 1fr) auto; }
.urun-kart .sec { position: absolute; top: 12px; left: 12px; z-index: 1; }

.urun-foto {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  object-fit: cover;
  background: #2a2a2a;
}

.urun-yazi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.urun-yazi b { font-size: 22px; letter-spacing: -0.03em; }
.urun-yazi p { margin: 0; color: var(--orta); }

.etiketler { display: flex; flex-wrap: wrap; gap: 6px; }

.etiketler span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--kuyu);
  color: var(--orta);
  font-size: 12px;
}

.etiketler img { width: 14px; height: 14px; }

.urun-sag {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}


.bilgi-form { max-width: 680px; }

.bilgi-kart {
  margin-top: 18px;
  padding: 28px 28px 22px;
  border-radius: 28px;
  background: var(--kart);
}

.bilgi-kart > .etiket { margin-top: 18px; }
.bilgi-kart h2 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
.bilgi-kart input { background: var(--kuyu); border-color: transparent; min-height: 56px; font-size: 18px; }
.bilgi-kart .satir { background: var(--kuyu); }
.bilgi-kart .kaydet { margin-top: 22px; }
.bilgi-kart .ekle { margin-top: 14px; }

.logo-satir {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
  position: relative;
}

.logo-kutu {
  width: 168px;
  height: 168px;
  flex: 0 0 auto;
  border-radius: 8px;
  overflow: hidden;
}

.logo-kutu.bos { background: #d9d9d9; }

.logo-kutu img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.logo-yazi { min-width: 0; }
.logo-yazi .etiket { margin-bottom: 0; }
.logo-dosya {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.modal.logo-kirp { width: min(720px, 100%); }

.kirp-sahne {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 16px auto 0;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}

.kirp-sahne img {
  display: block;
  max-width: min(640px, 100%);
  max-height: 420px;
  width: auto;
  height: auto;
}

.kirp-kare {
  position: absolute;
  border: 2px solid #fff;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
  cursor: grab;
  touch-action: none;
}

.kirp-kare:active { cursor: grabbing; }

.kirp-tut {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #fff;
  cursor: nwse-resize;
  touch-action: none;
}

.kirp-dugmeler {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

@media (max-width: 800px) {
  .marka-govde { flex-direction: column; align-items: flex-start; padding: 36px 0; }
  .logo, .logo-bos { width: 180px; height: 180px; }
  .logo-satir { align-items: flex-start; }
  .marka-yer { grid-template-columns: 1fr; }
  .marka-logo, .marka-sag, .marka-kadro { grid-column: 1; grid-row: auto; }
  .izgara, .iki, .urun-kart { grid-template-columns: 1fr; }
  .urun-kart.yalin { grid-template-columns: 1fr; }
  .urun-foto { width: 100%; height: 180px; }
  .cubuk { height: 58px; }
  .cubuk button { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
