:root {
  --zemin: #120f2b;
  --zemin-2: #1a1640;
  --yuzey: #201b4c;
  --cizgi: rgba(246, 239, 230, .10);
  --metin: #f6efe6;
  --soluk: #b3add3;
  --turuncu: #fe7900;
  --turuncu-acik: #ff9a3d;
  --lacivert: #332a83;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --yatay: 20px;
}
html[lang="ar"] {
  --serif: "Noto Kufi Arabic", "Manrope", sans-serif;
  --sans: "Noto Kufi Arabic", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--zemin);
  color: var(--metin);
  font: 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Kapak ---------- */
.hero {
  position: relative;
  min-height: 64svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--yatay) 28px;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 85% 0%, rgba(254, 121, 0, .28), transparent 60%),
    radial-gradient(90% 55% at 0% 55%, rgba(51, 42, 131, .8), transparent 70%),
    linear-gradient(180deg, #2a2270 0%, var(--zemin) 100%);
}
.hero::before {               /* ince desen */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(246, 239, 230, .07) 1px, transparent 1.4px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-icerik { position: relative; padding-bottom: 36px; }
.hero-logo { width: min(78%, 330px); height: auto; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .35)); }
.hero-cizgi { display: block; width: 120px; height: 1px; margin: 26px 0 16px; background: linear-gradient(90deg, var(--turuncu), transparent); }
html[dir="rtl"] .hero-cizgi { background: linear-gradient(-90deg, var(--turuncu), transparent); }
.hero-metin { margin: 0; font-size: 17px; color: var(--metin); }
.hero-donem { margin: 6px 0 0; font: italic 500 14px var(--serif); color: var(--turuncu-acik); }
.hero-asagi { position: relative; align-self: center; color: var(--soluk); padding: 6px; }
.hero-asagi svg { width: 22px; height: 22px; animation: zipla 2.2s infinite; }
@keyframes zipla { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Dil seçimi ---------- */
.dil { position: absolute; top: max(16px, env(safe-area-inset-top)); inset-inline-end: var(--yatay); z-index: 5; display: flex; gap: 6px; }
.dil-ana, .dil-diger {
  display: flex; align-items: center;
  background: rgba(18, 15, 43, .55);
  border: 1px solid var(--cizgi);
  border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.dil-ana { padding: 3px; }
.dil-ana button {
  border: 0; background: none; cursor: pointer;
  padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--soluk);
}
.dil-ana button[aria-pressed="true"] { background: var(--metin); color: var(--zemin); }
.dil-diger { gap: 4px; padding: 6px 10px; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--soluk); }
.dil-diger svg { width: 17px; height: 17px; }
.dil-diger .ok { width: 14px; height: 14px; transition: transform .2s; }
.dil-diger[aria-expanded="true"] .ok { transform: rotate(180deg); }
.dil-diger.secili { background: var(--metin); color: var(--zemin); border-color: transparent; }
.dil-liste {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  min-width: 170px; margin: 0; padding: 6px; list-style: none;
  background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.dil-liste li button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border: 0; background: none; cursor: pointer; padding: 10px 12px; border-radius: 9px;
  font-size: 15px; text-align: start;
}
.dil-liste li button:hover, .dil-liste li button[aria-selected="true"] { background: rgba(246, 239, 230, .08); }
.dil-liste small { color: var(--soluk); font-weight: 700; font-size: 11px; letter-spacing: .06em; }

/* ---------- Yapışkan çubuk ---------- */
.yapiskan {
  position: sticky; top: 0; z-index: 4;
  padding: 12px 0 10px;
  background: rgba(18, 15, 43, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.yapiskan.golgeli { border-bottom-color: var(--cizgi); }
.yapiskan-ust { display: flex; align-items: center; gap: 12px; padding: 0 var(--yatay); }
.mini-logo { display: none; flex: none; }
.mini-logo img { width: 86px; height: auto; }
.yapiskan.golgeli .mini-logo { display: block; }
.arama {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
  padding: 0 14px; height: 46px;
  background: var(--zemin-2); border: 1px solid var(--cizgi); border-radius: 14px;
}
.arama svg { width: 18px; height: 18px; color: var(--soluk); flex: none; }
.arama input {
  flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: none;
  color: var(--metin); font: 15px var(--sans);
}
.arama input::placeholder { color: var(--soluk); opacity: .8; }
.arama:focus-within { border-color: rgba(254, 121, 0, .6); }

.kategoriler {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 12px var(--yatay) 2px; scroll-padding-inline: var(--yatay);
}
.kategoriler::-webkit-scrollbar { display: none; }
.kategoriler a {
  flex: none; padding: 9px 16px; border-radius: 999px;
  color: var(--soluk); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap;
  border: 1px solid transparent; transition: background .2s, color .2s;
}
.kategoriler a.aktif { background: var(--turuncu); color: #1a1000; }

/* ---------- Menü ---------- */
main { padding: 6px var(--yatay) 10px; }
.bolum { padding-top: 26px; scroll-margin-top: 128px; }
.bolum h2 {
  margin: 0 0 4px; font: 700 28px/1.15 var(--serif); letter-spacing: -.01em;
}
.bolum h2::after {
  content: ""; display: block; width: 36px; height: 2px; margin-top: 10px; background: var(--turuncu); border-radius: 2px;
}
.urun {
  display: flex; gap: 14px; align-items: flex-start;
  width: 100%; padding: 18px 0; text-align: start;
  background: none; border: 0; border-bottom: 1px solid var(--cizgi); cursor: pointer;
}
.urun:last-child { border-bottom: 0; }
.urun-metin { flex: 1; min-width: 0; }
.urun-ad { margin: 0; font: 700 17px/1.3 var(--serif); }
.etiket {
  display: inline-block; vertical-align: 2px; margin-inline-start: 6px;
  padding: 1px 8px; border: 1px solid rgba(254, 121, 0, .55); border-radius: 999px;
  font: 600 11px/1.6 var(--sans); color: var(--turuncu-acik); white-space: nowrap;
}
.urun-aciklama {
  margin: 5px 0 0; color: var(--soluk); font-size: 13.5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fiyat { margin: 8px 0 0; font-weight: 700; font-size: 15px; color: var(--metin); }
.fiyat span { color: var(--turuncu); margin-inline-end: 1px; }
.urun-gorsel { flex: none; width: 96px; height: 96px; border-radius: 16px; overflow: hidden; }
.urun-gorsel img { width: 100%; height: 100%; object-fit: cover; }

.yer-tutucu {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(254, 121, 0, .22), transparent 70%),
    linear-gradient(145deg, #2b2470, #1a1640);
  color: rgba(255, 176, 102, .85);
}
.yer-tutucu svg { width: 42%; height: 42%; stroke-width: 1.3; }

.sonuc-yok { margin: 30px var(--yatay); text-align: center; color: var(--soluk); }

/* ---------- İletişim ---------- */
.iletisim { padding: 40px var(--yatay) 10px; scroll-margin-top: 128px; }
.iletisim h2 { margin: 0 0 16px; font: 700 28px/1.15 var(--serif); }
.iletisim-kart {
  background: var(--zemin-2); border: 1px solid var(--cizgi); border-radius: 20px; overflow: hidden;
}
.satir { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-bottom: 1px solid var(--cizgi); }
.satir svg { width: 22px; height: 22px; color: var(--turuncu); flex: none; margin-top: 1px; }
.satir small { display: block; color: var(--soluk); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.satir a, .satir span { color: var(--metin); text-decoration: none; font-weight: 600; }
.dugmeler { display: flex; gap: 10px; padding: 16px 18px; flex-wrap: wrap; }
.dugme {
  flex: 1 1 140px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 16px; border-radius: 12px;
  font-weight: 700; text-decoration: none; color: #1a1000; background: var(--turuncu);
}
.dugme.ikincil { background: transparent; color: var(--metin); border: 1px solid var(--cizgi); }
.dugme svg { width: 18px; height: 18px; }
.harita { aspect-ratio: 16 / 10; background: var(--yuzey); }
.harita iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(200deg) saturate(.6) brightness(.95); }
.sosyal { display: flex; gap: 10px; padding: 0 18px 18px; }
.sosyal a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--cizgi); border-radius: 12px; color: var(--metin);
}
.sosyal svg { width: 20px; height: 20px; }

.alt { padding: 26px var(--yatay) max(30px, env(safe-area-inset-bottom)); text-align: center; color: var(--soluk); font-size: 12.5px; }
.alt p { margin: 4px 0; }

/* ---------- Ürün detayı ---------- */
.detay { position: fixed; inset: 0; z-index: 10; display: flex; align-items: flex-end; justify-content: center; }
.detay-perde { position: absolute; inset: 0; background: rgba(6, 5, 18, .65); animation: belir .2s; }
.detay-kart {
  position: relative; width: 100%; max-width: 560px; max-height: 88svh; overflow: auto;
  background: var(--zemin-2); border-radius: 24px 24px 0 0; animation: yuksel .25s ease-out;
  padding-bottom: env(safe-area-inset-bottom);
}
.detay-gorsel { aspect-ratio: 4 / 3; }
.detay-gorsel img { width: 100%; height: 100%; object-fit: cover; }
.detay-govde { padding: 20px var(--yatay) 28px; }
.detay-govde h3 { margin: 0; font: 700 24px/1.2 var(--serif); }
.detay-govde p { margin: 10px 0 0; color: var(--soluk); }
.detay-govde .fiyat { font-size: 20px; margin-top: 16px; }
.detay-kapat {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 1;
  width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer;
  border: 0; border-radius: 50%; background: rgba(18, 15, 43, .7); backdrop-filter: blur(6px);
}
.detay-kapat svg { width: 18px; height: 18px; }
@keyframes belir { from { opacity: 0; } }
@keyframes yuksel { from { transform: translateY(40px); opacity: 0; } }

/* ---------- Geniş ekran ---------- */
@media (min-width: 760px) {
  :root { --yatay: 32px; }
  main, .iletisim, .kategoriler, .yapiskan-ust, .sonuc-yok { max-width: 760px; margin-inline: auto; }
  .hero-icerik, .hero-asagi { width: 100%; max-width: 760px; margin-inline: auto; }
  .urun-gorsel { width: 112px; height: 112px; }
  .detay { align-items: center; }
  .detay-kart { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
