:root {
  --bg: #f5f3ef;
  --new: #b8892a;
  --ink: #1b1a18;
  --muted: #8b867e;
  --line: #dcd8d0;
  --tile: #e9e6e0;
  --wa: #25d366;
  --tg: #229ed9;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --gutter: 16px;
  --gap: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.locked { overflow: hidden; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

svg { display: block; }

/* Ust baslik */
.masthead {
  padding: 48px var(--gutter) 36px;
  text-align: center;
}

.title {
  margin: 0;
  line-height: 0;
}

.logo {
  display: inline-block;
  width: clamp(190px, 58vw, 320px);
  height: auto;
}

.subtitle {
  margin: 14px 0 0;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.subtitle:empty { display: none; }

/* Logonun hemen alti: Laleli · 1990'dan beri */
.tagline {
  margin: 16px 0 0;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink);
}

.tagline:empty { display: none; }

.tagline + .subtitle { margin-top: 8px; }

/* Kategori satiri: telefonda yatay kayar */
.filters {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: -8px 0 28px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filters::-webkit-scrollbar { display: none; }

.filters[hidden] { display: none; }

.filter {
  flex: none;
  padding: 10px 0;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}

.filter[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }

/* NEW: sade yazi, hafif kalin, etrafinda kucuk altin yaldizlar */
.filter-new {
  --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0C5.4 3.6 6.4 4.6 10 5 6.4 5.4 5.4 6.4 5 10 4.6 6.4 3.6 5.4 0 5 3.6 4.6 4.6 3.6 5 0Z' fill='%23c9a227'/%3E%3C/svg%3E");
  position: relative;
  font-weight: 600;
  color: var(--ink);
  overflow: visible;
}

.filter-new::before,
.filter-new::after {
  content: "";
  position: absolute;
  background: var(--spark) center / contain no-repeat;
  pointer-events: none;
  animation: sparkle 2.2s ease-in-out infinite;
}

/* Uc kucuk yaldiz: sol ust, sag ust (::before) ve sag alt (::after, farkli zamanda parlar) */
.filter-new::before {
  inset: 2px -12px auto -12px;
  height: 10px;
  background-image: var(--spark), var(--spark);
  background-position: left top, right 2px top 0;
  background-size: 9px 9px, 6px 6px;
  background-repeat: no-repeat;
}

.filter-new::after {
  width: 6px;
  height: 6px;
  bottom: 6px;
  right: -8px;
  animation-delay: 1.1s;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

@media (prefers-reduced-motion: reduce) {
  .filter-new::before, .filter-new::after { animation: none; }
}

/* Sigmazsa sola yasla ki ilk sekme kesilmesin */
.filters.overflowing { justify-content: flex-start; }

/* Izgara */
main { padding: 0 var(--gutter); }

.grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1440px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px var(--gap);
}

.card { margin: 0; }

.card button {
  display: block;
  width: 100%;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--tile);
}

.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .6s var(--ease), transform 1.2s var(--ease);
}

.frame img.on.loaded { opacity: 1; }

/* Birden cok fotografli kart: fotograflar ust uste, gecis yumusak */
.frame.multi { touch-action: pan-y; }
.frame.multi img { transition: opacity .9s var(--ease), transform 1.2s var(--ease); }

/* Noktalar fotografin alt kenarinda, kartlarin boyu esit kalsin diye */
.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 18px 0 6px;
  background: linear-gradient(to top, rgba(0, 0, 0, .28), transparent);
  direction: ltr;
}

.dots span {
  width: 22px;
  height: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.dots span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 0 3px rgba(0, 0, 0, .25);
  transition: background .3s, transform .3s;
}

.dots span.on::before { background: #fff; transform: scale(1.2); }

/* Yeni etiketi: kartin sol ustunde, altin zeminli */
.badge-new {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 2;
  padding: 6px 10px 5px;
  background: var(--new);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.3;
  box-shadow: 0 4px 14px rgba(120, 85, 20, .35);
}

.badge-new::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-inline-end: 6px;
  vertical-align: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0C5.4 3.6 6.4 4.6 10 5 6.4 5.4 5.4 6.4 5 10 4.6 6.4 3.6 5.4 0 5 3.6 4.6 4.6 3.6 5 0Z' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Video: once ilk karesi (img) gorunur, oynamaya baslayinca ustune gelir */
.frame .clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s var(--ease), transform 1.2s var(--ease);
  pointer-events: none;
}

.frame .clip.loaded { opacity: 1; }

@media (hover: hover) {
  .card button:hover .frame img,
  .card button:hover .frame .clip { transform: scale(1.025); }
}

.card button:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* Kartin alti: solda model kodu, sagda Incele */
.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}


.card-name {
  margin: 0;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.card-view {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s;
}

.card-view svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }

html[dir="rtl"] .card-view svg { transform: scaleX(-1); }

@media (hover: hover) {
  .card button:hover .card-view { color: var(--ink); }
  .card button:hover .card-view svg { transform: translateX(3px); }
}

/* Dar telefonda kod ve Incele tek satira sigsin */
@media (max-width: 719px) {
  .card-name, .card-view { font-size: 10px; letter-spacing: .08em; }
  .card-view svg { width: 12px; height: 12px; }
}

/* Ince cizgi ikonlarin ortak ayari */
svg .line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.hide-names .card-row { display: none; }

.empty {
  text-align: center;
  color: var(--muted);
  letter-spacing: .08em;
  padding: 80px 0;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; --gap: 20px; }
  .grid { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .masthead { padding-top: 80px; padding-bottom: 64px; }
}

@media (min-width: 1200px) {
  :root { --gutter: 56px; --gap: 28px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
}

/* Daha fazla / daha az */
.more-wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 48px 0 8px; }

.more.more-fill { background: var(--ink); color: var(--bg); }

.more[hidden] { display: none; }

.more {
  padding: 14px 28px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  transition: background .2s, color .2s;
}

@media (hover: hover) {
  .more:hover { background: var(--ink); color: var(--bg, #fff); }
  .more.more-fill:hover { background: #3a3833; color: var(--bg); }
}

/* Alt bilgi */
.footer {
  padding: 72px var(--gutter) calc(96px + env(safe-area-inset-bottom));
  text-align: center;
}

.footer-link {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

/* Izgaranin ustu: solda bayraklar, sagda WhatsApp + Telegram. Kaydirirken ustte kalir. */
.toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: 1440px;
  margin: 0 auto 14px;
  padding: calc(8px + env(safe-area-inset-top)) 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--bg);
  direction: ltr;
}

.langs { display: flex; flex: none; margin-left: -7px; }

/* Takip eden iletisim notu: telefonda bayraklarin yaninda, bilgisayarda butonlarin solunda */
.bar-note {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
  text-align: end;
}

@media (min-width: 720px) {
  .bar-note { font-size: 12px; padding-inline: 16px; }
}

.lang {
  width: 32px;
  height: 40px;
  display: grid;
  place-items: center;
  opacity: .4;
  transition: opacity .2s;
}

.lang .fi {
  width: 20px;
  height: 15px;
  background-size: cover;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15);
}

.lang[aria-pressed="true"] { opacity: 1; }

@media (hover: hover) { .lang:hover { opacity: 1; } }

/* Bilgisayarda: izgaranin sag ustunde yazili butonlar */
.bar-contact { display: none; gap: 8px; }

.btn {
  height: 40px;
  padding: 0 16px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .2s var(--ease), filter .2s;
}

.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

.btn-wa { background: var(--wa); }
.btn-tg { background: var(--tg); }

.btn:active { transform: scale(.96); }

@media (hover: hover) { .btn:hover { filter: brightness(1.06); } }

@media (min-width: 720px) {
  .bar-contact { display: flex; }
  body .contact-fabs { display: none; }
}

/* Telefonda: sag altta, basparmaga yakin. Telegram ustte, WhatsApp altta */
.contact-fabs {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  transition: transform .2s var(--ease);
}

.fab span { display: none; }

.fab svg { width: 28px; height: 28px; fill: currentColor; }

.fab-wa { background: var(--wa); }
.fab-tg { background: var(--tg); }

.fab:active { transform: scale(.94); }

body.locked .contact-fabs { display: none; }

/* Hakkimizda + iletisim: telefonda alt alta, genis ekranda iki sutun */
.about {
  max-width: 1080px;
  margin: 96px auto 0;
  padding: 48px var(--gutter) 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 40px;
  text-align: center;
}

@media (min-width: 720px) {
  .about { grid-template-columns: 1fr 1fr; gap: 64px; text-align: start; align-items: stretch; }
  .map { aspect-ratio: auto; height: 100%; min-height: 360px; }
}

.about-title {
  margin: 0 0 18px;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-text { margin: 0; font-size: 15px; line-height: 1.7; }

.about-since {
  margin: 22px 0 0;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.about-since:empty { display: none; }

.about-facts {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  font-size: 14px;
  text-align: start;
}

.about-facts li { display: flex; gap: 14px; align-items: flex-start; }

.fact-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.fact-icon svg { width: 17px; height: 17px; fill: currentColor; }

.fact-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact-value { display: block; }

.about-facts a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }

.about-facts .fact-extra { display: inline-block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }

.map {
  aspect-ratio: 4 / 3;
  background: var(--tile);
  overflow: hidden;
}

.map[hidden] { display: none; }

.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35); }

.footer span {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--muted);
}

/* Buyuk gorunum */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  opacity: 0;
  transition: opacity .25s var(--ease);
  touch-action: none;
}

.lightbox.open { opacity: 1; }

.lightbox[hidden] { display: none; }

.lb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(8px + env(safe-area-inset-top)) 8px 0 var(--gutter);
  min-height: 52px;
}

.lb-count {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.lb-close { width: 48px; height: 48px; display: grid; place-items: center; }

.lb-close svg, .lb-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.lb-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.lb-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.lb-track.animate { transition: transform .35s var(--ease); }

.lb-slide {
  flex: 0 0 100%;
  height: 100%;
  padding: 8px var(--gutter);
}

.lb-slide img,
.lb-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

/* Urunun kendi fotograflari: fotografin icinde, alt kenarda ‹ noktalar › cubugu.
   Kutu JS ile fotografin gorunen alanina oturtulur. */
.lb-pnav {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.lb-pnav[hidden] { display: none; }

.lb-pbar {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 26px;
  background: rgba(27, 26, 24, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: auto;
  direction: ltr;
}

.lb-pbtn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  transition: opacity .2s;
}

.lb-pbtn:disabled { opacity: .3; cursor: default; }

.lb-pbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.lightbox.zoomed .lb-pnav { visibility: hidden; }
.lb-dots {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0 2px;
}

.lb-dots button {
  width: 22px;
  height: 28px;
  display: grid;
  place-items: center;
}

.lb-dots button::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .18), 0 1px 4px rgba(0, 0, 0, .25);
  transition: background .3s, transform .3s;
}

.lb-dots button.on::before { background: #fff; transform: scale(1.25); }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: none;
  place-items: center;
}

.lb-prev { inset-inline-start: 8px; }
.lb-next { inset-inline-end: 8px; }

.lb-nav:disabled { opacity: .2; cursor: default; }

@media (hover: hover) and (min-width: 720px) {
  .lb-nav { display: grid; }
}

.lb-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 14px var(--gutter) calc(20px + env(safe-area-inset-bottom));
}

/* Buyuk gorunumde yeni urunun etiketi: adin ustunde, kartla ayni altin */
.badge-new.lb-new { position: static; margin-bottom: -6px; box-shadow: none; }

.badge-new[hidden] { display: none; }

.lb-name {
  margin: 0;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  min-height: 1.5em;
}

.lb-info {
  list-style: none;
  margin: -6px 0 0;
  padding: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.lb-info:empty { display: none; }

/* Onceki / sonraki model: adin altinda, iki uca yasli */
.lb-models {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 440px;
  margin: -4px 0 -2px;
}

.lb-model {
  padding: 8px 4px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

.lb-model:disabled { opacity: .25; cursor: default; }

@media (hover: hover) and (min-width: 720px) {
  .lb-models { display: none; }
}

html[lang="ar"] .lb-model { letter-spacing: 0; text-transform: none; font-size: 13px; }

.lb-track { transition: opacity .16s var(--ease); }

.lb-nav[hidden] { display: none; }

.lb-note {
  margin: -4px 0 0;
  max-width: 440px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.lb-note:empty { display: none; }

/* Iki esit buton: WhatsApp ve Telegram ile bilgi al */
.lb-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: 440px;
}

.lb-wa, .lb-tg {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 50px;
  padding: 0 8px;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}

.lb-wa span, .lb-tg span { overflow: hidden; text-overflow: ellipsis; }

/* Dar telefonlarda (iPhone SE gibi) yazi kesilmesin, iki satira insin */
@media (max-width: 359px) {
  .lb-wa, .lb-tg { white-space: normal; line-height: 1.2; font-size: 12px; text-align: center; }
  .lb-wa span, .lb-tg span { overflow: visible; }
}

.lb-wa { background: var(--wa); }
.lb-tg { background: var(--tg); }

.lb-wa svg, .lb-tg svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

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

/* Arapca: harfler birlesik yazildigi icin harf araligi ve buyuk harf kullanilmaz */
html[lang="ar"] .subtitle, html[lang="ar"] .tagline, html[lang="ar"] .filter, html[lang="ar"] .card-name, html[lang="ar"] .lb-name,
html[lang="ar"] .about-title, html[lang="ar"] .about-since, html[lang="ar"] .about-facts dt {
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}

html[lang="ar"] .lb-prev svg, html[lang="ar"] .lb-next svg { transform: scaleX(-1); }

/* Yakinken: bilgisayarda el imleci, oklar gizli */
.lightbox.zoomed .lb-stage { cursor: grab; }
.lightbox.zoomed .lb-nav { visibility: hidden; }

/* Telegram cubugu: altta tam genislik, sayfayi kapatmaz */
.popup {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px max(var(--gutter), env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  background: var(--ink);
  color: var(--bg);
  transform: translateY(100%);
  transition: transform .35s var(--ease);
}

.popup.open { transform: none; }

.popup[hidden] { display: none; }

body.locked .popup { display: none; }

.popup-copy { flex: 1; min-width: 0; }

.popup-title {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.popup-text { margin: 2px 0 0; font-size: 12.5px; line-height: 1.4; opacity: .75; }

.popup-join { flex: none; height: 38px; }

.popup-x {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--bg);
  opacity: .7;
}

.popup-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* Telefonda metin kisalir: sadece baslik + buton */
@media (max-width: 719px) {
  .popup-text { display: none; }
  .popup-title { font-size: 10.5px; letter-spacing: .1em; line-height: 1.4; }
  .popup-join { height: 38px; padding: 0 14px 0 10px; font-size: 12.5px; }
}

/* Cubuk acikken yuzen butonlar ve oklar cubugun ustune cikar */
body.has-bar .contact-fabs { bottom: calc(86px + env(safe-area-inset-bottom)); }
body.has-bar .scroll-nav { transform: translateY(-68px); }
body .contact-fabs { transition: bottom .35s var(--ease); }
body.has-bar { padding-bottom: 72px; }

/* Sag alt kosede en yukari / en asagi oklari (telefonda yuzen butonlarin ustunde) */
.scroll-nav {
  position: fixed;
  right: calc(26px + env(safe-area-inset-right));
  bottom: calc(158px + env(safe-area-inset-bottom));
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .35s var(--ease);
}

.scroll-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(245, 243, 239, .92);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.scroll-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }

@media (min-width: 720px) {
  .scroll-nav { right: calc(20px + env(safe-area-inset-right)); bottom: 24px; }
  .scroll-btn { width: 44px; height: 44px; }
}

body.locked .scroll-nav { display: none; }

html[lang="ar"] .popup-title, html[lang="ar"] .badge-new { letter-spacing: 0; text-transform: none; }

/* Kopyalandi notu: ortada, halka COPY_WAIT boyunca dolar, sonra tik cikar; buyuk gorunumun de ustunde */
.toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 60;
  width: max-content;
  max-width: min(320px, calc(100vw - 48px));
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--bg);
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
  opacity: 0;
  transform: translate(-50%, -40%);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  pointer-events: none;
}

.toast.open { opacity: 1; transform: translate(-50%, -50%); }

.toast[hidden] { display: none; }

.toast-ring { width: 52px; height: 52px; transform: rotate(-90deg); }

.toast-ring circle { fill: none; stroke-width: 2.5; }

.ring-bg { stroke: rgba(245, 243, 239, .2); }

/* 2 * pi * 17 = 106.8 */
.ring-fill {
  stroke: var(--tg);
  stroke-linecap: round;
  stroke-dasharray: 106.8;
  stroke-dashoffset: 106.8;
}

.toast.open .ring-fill { animation: ring-fill var(--wait, 1800ms) linear forwards; }

.ring-tick {
  fill: none;
  stroke: var(--bg);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transform: rotate(90deg);
  transform-origin: 20px 20px;
}

.toast.open .ring-tick { animation: ring-tick .3s var(--ease) var(--wait, 1800ms) forwards; }

@keyframes ring-fill { to { stroke-dashoffset: 0; } }
@keyframes ring-tick { to { stroke-dashoffset: 0; } }

/* Ara bant: her 12 kartta bir, iki yarim. Bir yanda tam fotograf, diger yanda duz zemin
   uzerinde kucuk fotograf + italik baslik + INCELE. .feature-flip taraflari degistirir. */
.feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: clamp(360px, 46vw, 680px);
  margin: 12px 0;
}

.feature-side {
  position: relative;
  display: block;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.feature-flip .feature-small { order: 2; }

.feature-small {
  background: #ebe8e2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 22px);
  padding: 6% 8%;
}

.feature-photo {
  position: relative;
  display: block;
  height: 62%;
  max-width: 80%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--tile);
}

.feature-photo img, .feature-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  opacity: 0;
  transition: opacity .6s var(--ease), transform 1.2s var(--ease);
}

.feature-photo img.loaded, .feature-full img.loaded { opacity: 1; }

.feature-full { background: var(--tile); }

.feature-title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3.2vw, 46px);
  line-height: 1.1;
  text-align: center;
  color: var(--ink);
}

.feature-cta {
  padding: 8px 16px;
  border: 1px solid var(--ink);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}

.feature-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent);
  color: #fff;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.feature-label .card-view { color: #fff; }

@media (hover: hover) {
  .feature-side:hover img { transform: scale(1.025); }
  .feature-small:hover .feature-cta { background: var(--ink); color: var(--bg); }
}

/* Telefonda bant daha alcak, kucuk taraf sikisir */
@media (max-width: 719px) {
  .feature { height: 340px; margin: 6px calc(-1 * var(--gutter)); }
  .feature-small { padding: 16px 10px; gap: 10px; }
  .feature-photo { height: 56%; }
  .feature-title { font-size: 22px; }
  .feature-cta { padding: 6px 10px; font-size: 10px; letter-spacing: .12em; }
  .feature-label { padding: 30px 10px 10px; font-size: 9.5px; letter-spacing: .08em; }
  .feature-label .card-view { font-size: 9.5px; letter-spacing: .08em; }
}

html[lang="ar"] .feature-cta, html[lang="ar"] .feature-label { letter-spacing: 0; text-transform: none; }

/* Genis ekranda harita sag sutunu doldurur (4:3 orani sadece telefonda) */
@media (min-width: 720px) {
  .about .map { aspect-ratio: auto; width: 100%; height: 100%; min-height: 360px; }
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Daha az goster: cercevesiz, sadece yazi (solda); Daha fazla goster dolu buton (sagda) */
.more.more-text { border-color: transparent; background: none; color: var(--muted); padding-inline: 12px; }
@media (hover: hover) { .more.more-text:hover { background: none; color: var(--ink); } }

/* Takip eden ust bar: kategoriler + iletisim notu (+ bilgisayarda butonlar). Bayraklar ustte sabit kalir. */
.langs-row {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter) 6px;
  display: flex;
  justify-content: center;
}

.langs-row .langs { margin-left: 0; }

.sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}

.sticky.stuck { border-bottom-color: var(--line); }

.sticky .filters { margin: 0; padding-top: 2px; }

.sticky .toolbar {
  position: static;
  margin: 0 auto;
  padding: 2px var(--gutter) 8px;
  justify-content: center;
  min-height: 0;
}

.sticky .bar-note { flex: 0 1 auto; text-align: center; font-size: 11px; }

main { padding-top: 18px; }

.grid { scroll-margin-top: 110px; }

@media (min-width: 720px) {
  .sticky .toolbar { justify-content: space-between; padding: 4px 0 10px; max-width: 1440px; }
  .sticky .bar-note { text-align: start; font-size: 12px; padding-inline: 0; }
  .sticky { padding-inline: var(--gutter); }
}

/* Genis ekranda tek satir: solda kategoriler, sagda butonlar */
@media (min-width: 900px) {
  .sticky { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .sticky .filters { justify-content: flex-start; padding: 6px 0; gap: 24px; }
  .sticky .toolbar { padding: 8px 0; gap: 16px; flex: none; }
}

/* Iletisim notu bayraklarin altinda, sabit (takip etmez) */
.langs-row { flex-direction: column; align-items: center; gap: 2px; padding-bottom: 14px; }
.langs-row .bar-note { flex: none; text-align: center; font-size: 12px; padding: 0; }
.sticky .toolbar:not(:has(.bar-contact)) { display: none; }
@media (max-width: 719px) { .sticky .toolbar { display: none; } .sticky .filters { padding-bottom: 6px; } }
@media (min-width: 720px) and (max-width: 899px) { .sticky .toolbar { justify-content: flex-end; } }

/* Kategoriler parmakla rahat basilsin: en az 44px yukseklik, yanlara da dokunma payi */
.sticky .filter { min-height: 44px; padding: 12px 8px; }
.sticky .filters { gap: 14px; }
@media (max-width: 719px) {
  .sticky .filter { font-size: 12px; min-height: 46px; }
  .sticky .filters { gap: 10px; padding-inline: 8px; }
}

/* Telegram ve Instagram'in uygulama ici tarayicilari ustte yari saydam bir adres cubugu birakir; yapisik bar
   onun altinda durur ve aradaki seritten kaydirilan icerik gorunur. Bar yapisinca ustune zemin rengi uzatilir. */
.sticky.stuck::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 240px;
  background: var(--bg);
  pointer-events: none;
}
