/* ============================================================================
   SALVATORS - Tasarim Sistemi
   Premium sureli online muzayede evi. Dark-first salon estetigi.
   Tipografi: Bodoni Moda (display) + Spectral (body). Iki font da serif.
   Aksan: yaslandirilmis bronz (tek metalik). Anti-slop: gradient-text yok,
   side-stripe yok, jenerik bento yok, emoji ikon yok, yasak font yok.
   Tum OKLCH degerleri DESIGN_SYSTEM.md spec'inden birebir.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. TOKENLAR - Dark (varsayilan, "salon")
   -------------------------------------------------------------------------- */
:root{
  /* Yuzeyler (60%) - Sotheby's: beyaz + acik gri */
  --bg:        #ffffff;   /* sayfa zemini - beyaz */
  --surface:   #ffffff;   /* kart/panel - beyaz */
  --surface-2: #f6f5f3;   /* hover / yukseltilmis katman */
  --sunk:      #f1f1f1;   /* girinti, input zemini, gorsel placeholder zemini (Sotheby gri) */

  /* Murekkep/metin (30%) - yumusak siyah */
  --ink:       #2b2b2b;   /* ana baslik/metin */
  --ink-2:     #555555;   /* ikincil metin */
  --muted:     #7a7a7a;   /* meta, etiket, yardimci */
  --faint:     #a6a6a6;   /* en silik, placeholder */

  /* Cizgiler */
  --line:      #e4e2de;   /* hairline ayrac */
  --line-2:    #cbc9c4;   /* belirgin kenar, input border */

  /* Aksan (10%) - lacivert (asal) + altin (ikincil), Sotheby paleti */
  --navy:      #14263d;   /* asal: birincil buton, footer, panel, link */
  --navy-2:    #20384f;   /* lacivert hover */
  --bronze:    #7a5d2e;   /* altin aksan (beyazda okunur): fiyat, eyebrow, aktif */
  --bronze-2:  #5f4722;   /* koyu altin hover */
  --bronze-w:  rgba(122,93,46,0.10); /* altin wash/halo */
  --gold-line: rgba(122,93,46,0.42); /* ince altin hairline */

  /* Durum renkleri (beyaz zeminde okunur) */
  --ok:        #3f7d4f;   /* "Rezerv karsilandi" yesil */
  --ok-w:      rgba(63,125,79,0.12);
  --warn:      #9a6b1f;   /* kalan sure azaldi - amber-kahve */
  --warn-w:    rgba(154,107,31,0.12);
  --live:      #c0392b;   /* CANLI noktasi - kizil, sadece nokta */

  /* Golge (lacivert tonlu, cok yumusak - beyaz zemin) */
  --shadow:    0 1px 2px rgba(20,30,45,0.06), 0 14px 32px -18px rgba(20,30,45,0.16);
  --shadow-lg: 0 2px 6px rgba(20,30,45,0.08), 0 40px 80px -40px rgba(20,30,45,0.20);

  /* Easing - muzayeye uygun yumusak inis, bounce/elastik YOK */
  --ease:      cubic-bezier(0.16, 1, 0.30, 1);   /* exponential-out */
  --ease-soft: cubic-bezier(0.33, 0, 0.20, 1);

  /* Tipografi aileleri - Sotheby benzeri: Source Serif 4 (Mercury) + Libre Franklin (Benton) */
  --disp: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --body: 'Libre Franklin', Arial, Helvetica, sans-serif;

  /* Olcek (Perfect Fourth ~1.333, fluid clamp) */
  --fs-mega: clamp(2.75rem, 1.6rem + 5.6vw, 6.0rem);   /* hero kelime */
  --fs-h1:   clamp(2.1rem, 1.45rem + 3.0vw, 3.6rem);   /* lot detay baslik */
  --fs-h2:   clamp(1.6rem, 1.2rem + 1.9vw, 2.4rem);
  --fs-h3:   clamp(1.25rem, 1.05rem + 0.9vw, 1.55rem);
  --fs-lead: clamp(1.06rem, 1.0rem + 0.45vw, 1.22rem); /* giris paragrafi */
  --fs-body: clamp(1.0rem, 0.96rem + 0.18vw, 1.075rem);/* >=16px mobil garanti */
  --fs-sm:   0.875rem;
  --fs-xs:   0.78rem;   /* etiket/eyebrow - letter-spacing ile buyutulur */

  --lh-tight: 1.08;     /* mega/baslik */
  --lh-head:  1.16;
  --lh-body:  1.62;
  --ls-eyebrow: 0.22em; /* kucuk caps etiketler */
  --ls-head:   -0.015em;/* display sikilastirma */

  /* Olcu/yerlesim */
  --wrap: 1240px;       /* galeri icerik genisligi */
  --read: 64ch;         /* okuma blogu */

  /* Bosluk olcegi (8pt tabanli, comert) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Kose - Sotheby = keskin kose (yuvarlatma yok) */
  --r: 0px;       /* kart/buton */
  --r-lg: 0px;    /* panel/modal */
  --r-img: 0px;   /* gorseller */

  /* Topbar */
  --topbar-h: 64px;

  color-scheme: light;
}

/* ----------------------------------------------------------------------------
   1b. TOKENLAR - Light (okuma/katalog modu)
   -------------------------------------------------------------------------- */
:root[data-theme="light"]{
  --bg:        oklch(0.967 0.010 80);    /* ivory kagit, beyaz degil */
  --surface:   oklch(0.988 0.006 82);
  --surface-2: oklch(0.945 0.012 78);
  --sunk:      oklch(0.935 0.014 76);
  --ink:       oklch(0.255 0.020 276);   /* murekkep, siyah degil */
  --ink-2:     oklch(0.400 0.018 274);
  --muted:     oklch(0.545 0.016 274);
  --faint:     oklch(0.680 0.012 80);
  --line:      oklch(0.890 0.012 76);
  --line-2:    oklch(0.820 0.016 74);
  --bronze:    oklch(0.560 0.110 64);    /* light'ta bronz koyulasir (kontrast) */
  --bronze-2:  oklch(0.490 0.115 60);
  --bronze-w:  oklch(0.560 0.110 64 / 0.12);
  --gold-line: oklch(0.620 0.100 66 / 0.50);
  --ok:        oklch(0.520 0.110 150);
  --ok-w:      oklch(0.520 0.110 150 / 0.14);
  --warn:      oklch(0.560 0.130 56);
  --warn-w:    oklch(0.560 0.130 56 / 0.14);
  --live:      oklch(0.560 0.150 22);
  --shadow:    0 2px 5px oklch(0.40 0.03 70 / 0.06), 0 16px 38px -16px oklch(0.40 0.04 70 / 0.18);
  --shadow-lg: 0 4px 9px oklch(0.40 0.03 70 / 0.07), 0 42px 80px -32px oklch(0.40 0.05 70 / 0.24);

  color-scheme: light;
}

/* ----------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
* { margin: 0; }

html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

body{
  min-height: 100svh;
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  color: var(--ink);
  /* Sotheby: temiz beyaz zemin (salon radial isigi kaldirildi) */
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  transition: background-color 240ms var(--ease), color 240ms var(--ease);
}

img, picture, svg, video, canvas{
  display: block;
  max-width: 100%;
}
img, video{ height: auto; }

input, button, textarea, select{
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
button{
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a{ color: inherit; text-decoration: none; }

ul, ol{ list-style: none; padding: 0; }

table{ border-collapse: collapse; width: 100%; }

p, h1, h2, h3, h4, li{ overflow-wrap: break-word; }

:where(:focus-visible){
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
  border-radius: var(--r-img);
}

::selection{
  background: var(--bronze-w);
  color: var(--ink);
}

/* ----------------------------------------------------------------------------
   3. TIPOGRAFI
   -------------------------------------------------------------------------- */
h1, h2, h3, .disp{
  font-family: var(--disp);
  font-optical-sizing: auto;       /* ZORUNLU - ince tirnaklar kucukte kaybolmasin */
  line-height: var(--lh-head);
  letter-spacing: var(--ls-head);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

h1{ font-size: var(--fs-h1); }
h2{ font-size: var(--fs-h2); }
h3{ font-size: var(--fs-h3); font-weight: 600; }

.disp-mega{
  font-family: var(--disp);
  font-optical-sizing: auto;
  font-size: var(--fs-mega);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-head);
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

.lead{
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
  max-width: 54ch;
}

.eyebrow{
  font-family: var(--body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-block;
}
.eyebrow.muted{ color: var(--muted); }

/* "CAGDAS SANAT · LOT 042" gibi cift-tonlu eyebrow: nötr + bronz vurgu */
.eyebrow .accent{ color: var(--bronze); }
.eyebrow.split{ color: var(--muted); }

.num{ font-variant-numeric: tabular-nums lining-nums; }

small, .text-sm{ font-size: var(--fs-sm); }
.text-xs{ font-size: var(--fs-xs); }
.text-muted{ color: var(--muted); }
.text-ink-2{ color: var(--ink-2); }
.text-bronze{ color: var(--bronze); }
.italic, em, i{ font-style: italic; }

/* Okuma blogu - lot aciklamasi/provenans, comert satir arasi */
.prose{ max-width: var(--read); color: var(--ink-2); }
.prose p + p{ margin-top: var(--s-4); }
.prose p{ line-height: var(--lh-body); }
.prose a{ color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover{ color: var(--bronze-2); }
.prose strong{ color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------------------------
   4. ATMOSFER - film grain overlay
   fractalNoise feTurbulence, fixed, soft-light, pointer-events yok
   -------------------------------------------------------------------------- */
.grain{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: soft-light;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
@media (max-width: 720px){
  .grain{ opacity: 0.025; }  /* mobilde pil/okunabilirlik */
}

/* ----------------------------------------------------------------------------
   5. LAYOUT yardimcilari
   -------------------------------------------------------------------------- */
.wrap{
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s-5);
  position: relative;
  z-index: 2;          /* grain overlay'in uzerinde */
}
@media (max-width: 720px){
  .wrap{ padding-inline: var(--s-4); }
}

.section{ padding-block: var(--s-9); }
.section-sm{ padding-block: var(--s-7); }
@media (max-width: 720px){
  .section{ padding-block: var(--s-7); }
  .section-sm{ padding-block: var(--s-6); }
}

/* Bolum basligi: eyebrow + H2 sol hizali + sagda "Tumu ->" link */
.section-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}
.section-head .head-left{ display: flex; flex-direction: column; gap: var(--s-2); }
.section-head .head-left p{ color: var(--muted); max-width: 48ch; }
.section-head .link-more{
  font-size: var(--fs-sm);
  color: var(--bronze);
  white-space: nowrap;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  transition: gap 250ms var(--ease), color 250ms var(--ease);
}
.section-head .link-more:hover{ gap: var(--s-2); color: var(--bronze-2); }
@media (max-width: 560px){
  .section-head{ flex-direction: column; align-items: flex-start; }
}

.divider{ height: 1px; background: var(--line); border: 0; }
.gold-rule{ height: 1px; background: var(--gold-line); border: 0; }

/* Editoryel 3'lu grid (mobilde 1, tablet 2). Asla 4-5'li sikisik grid. */
.grid-feature{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
@media (max-width: 960px){ .grid-feature{ grid-template-columns: repeat(2, 1fr); gap: var(--s-5); } }
@media (max-width: 600px){ .grid-feature{ grid-template-columns: 1fr; } }

/* Lot grid sayfasi: auto-fill, hiebir zaman sikisik degil */
.grid-lots{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-6);
}
@media (max-width: 600px){ .grid-lots{ grid-template-columns: 1fr; gap: var(--s-5); } }

/* ----------------------------------------------------------------------------
   6. TOPBAR (sticky, ince)
   -------------------------------------------------------------------------- */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 240ms var(--ease), border-color 240ms var(--ease), backdrop-filter 240ms var(--ease);
}
/* Scroll'da zemin yarisaydam + blur + alt hairline. Asla buyuk golge. */
.topbar.is-stuck{
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom-color: var(--line);
}
.topbar .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--s-5);
}

/* Kelime-marka SALVATORS - Bodoni 600, genis tracking, saf ivory (bronz nokta yok) */
.brand{
  font-family: var(--disp);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1;
}
.brand:hover{ color: var(--ink); }

/* Nav (Spectral 500, kucuk) */
.nav{
  display: flex;
  align-items: center;
  gap: var(--s-6);
  margin-inline: auto;
}
.nav a{
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-2);
  padding-block: var(--s-2);
  transition: color 220ms var(--ease);
}
.nav a:hover{ color: var(--ink); }
/* Aktif sayfa alti 1px bronz cizgi - scaleX reveal, layout shift yok */
.nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after{ transform: scaleX(1); }
.nav a[aria-current="page"]{ color: var(--ink); }

/* Sag eylemler: tema toggle + Giris + Kayit */
.topbar-actions{
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.topbar-actions .link-login{
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-2);
  transition: color 220ms var(--ease);
}
.topbar-actions .link-login:hover{ color: var(--ink); }

/* Tema toggle - ay/gunes ince ikon */
.theme-toggle{
  width: 38px; height: 38px;
  display: none;  /* Sotheby: tek acik tema; tema degistirici gizli */
  place-items: center;
  border-radius: var(--r);
  color: var(--ink-2);
  border: 1px solid transparent;
  transition: color 220ms var(--ease), background-color 220ms var(--ease), border-color 220ms var(--ease);
}
.theme-toggle:hover{ color: var(--bronze); background: var(--bronze-w); }
.theme-toggle svg{ width: 18px; height: 18px; }
/* Ikon ay<->gunes: dark'ta ay goster, light'ta gunes goster */
.theme-toggle .i-sun{ display: none; }
.theme-toggle .i-moon{ display: block; }
:root[data-theme="light"] .theme-toggle .i-sun{ display: block; }
:root[data-theme="light"] .theme-toggle .i-moon{ display: none; }

/* Hamburger (mobil) - varsayilan gizli */
.nav-toggle{
  display: none;
  width: 40px; height: 40px;
  place-items: center;
  border-radius: var(--r);
  color: var(--ink);
}
.nav-toggle svg{ width: 22px; height: 22px; }

@media (max-width: 880px){
  .nav,
  .topbar-actions .link-login,
  .topbar-actions .btn{ display: none; }
  .nav-toggle{ display: grid; }
  .topbar-actions{ gap: var(--s-2); }
}

/* Mobil tam ekran menu - murekkep overlay, fade+stagger (slide DEGIL) */
.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  flex-direction: column;
  padding: var(--s-6) var(--s-5);
  background: color-mix(in oklch, var(--bg) 97%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.mobile-menu.is-open{ display: flex; }
.mobile-menu .mm-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-h);
  margin: calc(var(--s-6) * -1) calc(var(--s-5) * -1) 0;
  padding-inline: var(--s-5);
}
.mobile-menu .mm-close{
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--ink);
}
.mobile-menu .mm-close svg{ width: 22px; height: 22px; }
.mobile-menu .mm-nav{
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-top: var(--s-7);
  flex: 1;
}
.mobile-menu .mm-nav a{
  font-family: var(--disp);
  font-optical-sizing: auto;
  font-size: clamp(1.8rem, 1.4rem + 2.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: var(--ls-head);
  color: var(--ink);
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(10px);
  animation: mm-in 460ms var(--ease) forwards;
}
.mobile-menu.is-open .mm-nav a:nth-child(1){ animation-delay: 60ms; }
.mobile-menu.is-open .mm-nav a:nth-child(2){ animation-delay: 110ms; }
.mobile-menu.is-open .mm-nav a:nth-child(3){ animation-delay: 160ms; }
.mobile-menu.is-open .mm-nav a:nth-child(4){ animation-delay: 210ms; }
.mobile-menu .mm-foot{
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.mobile-menu .mm-foot .btn{ flex: 1; }
@keyframes mm-in{ to{ opacity: 1; transform: translateY(0); } }

/* ----------------------------------------------------------------------------
   7. BUTONLAR
   -------------------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;                 /* dokunma hedefi */
  padding: 0 var(--s-5);
  border-radius: var(--r);
  font-family: var(--body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 250ms var(--ease), color 250ms var(--ease),
              border-color 250ms var(--ease), transform 250ms var(--ease),
              box-shadow 250ms var(--ease);
}
.btn svg{ width: 17px; height: 17px; }
.btn:active{ transform: translateY(0); }

/* Birincil: lacivert dolgu + beyaz metin (Sotheby). Asla yuvarlak hap, asla gradient. */
.btn-primary{
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}
.btn-primary:hover{
  background: var(--navy-2);
  border-color: var(--navy-2);
  transform: translateY(-1px);
}
/* Gonderim sirasinda ince ilerleme (opacity pulse), spinner DEGIL */
.btn-primary.is-loading{
  pointer-events: none;
  animation: btn-pulse 1.1s var(--ease-soft) infinite;
}
@keyframes btn-pulse{ 0%,100%{ opacity: 1; } 50%{ opacity: 0.72; } }

/* Hayalet: seffaf, 1px line-2, hover border bronz */
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover{
  border-color: var(--bronze);
  color: var(--ink);
  transform: translateY(-1px);
}

/* Notr/ikincil hairline buton (sosyal giris vb.) - marka rengiyle degil */
.btn-quiet{
  background: var(--surface);
  color: var(--ink-2);
  border-color: var(--line);
}
.btn-quiet:hover{ border-color: var(--line-2); color: var(--ink); }

.btn-block{ width: 100%; }
.btn-lg{ min-height: 52px; padding-inline: var(--s-6); font-size: var(--fs-body); }
.btn-sm{ min-height: 38px; padding-inline: var(--s-4); font-size: var(--fs-xs); }

.btn:disabled, .btn[aria-disabled="true"]{
  opacity: 0.5;
  pointer-events: none;
}

/* ----------------------------------------------------------------------------
   8. KART + LOT KARTI (tam anatomi)
   -------------------------------------------------------------------------- */
.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  position: relative;
}
/* Ust kenarda 1px altin hairline (side-stripe DEGIL, sadece ust) */
.card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--gold-line);
  border-radius: var(--r) var(--r) 0 0;
  opacity: 0.55;
  transition: opacity 300ms var(--ease);
  pointer-events: none;
}

/* --- LOT KARTI --- */
.lot-card{
  background: var(--surface);
  border: none;
  border-radius: var(--r);
  box-shadow: none;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.lot-card::before{               /* ust altin hairline */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--gold-line);
  opacity: 0.55;
  z-index: 3;
  transition: opacity 300ms var(--ease);
  pointer-events: none;
}
.lot-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.lot-card:hover::before{ opacity: 0.9; }   /* ust altin cizgi opaklik artar */

/* Tam karti link yapan overlay (erisilebilir) */
.lot-card a.lot-cover-link{
  position: absolute; inset: 0; z-index: 4;
  border-radius: var(--r);
  font-size: 0;
}

/* Gorsel cercevesi (kare/4:5) */
.lot-media{
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--sunk);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.lot-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 600ms var(--ease), filter 400ms var(--ease);
}
.lot-card:hover .lot-media img{ transform: scale(1.03); }

/* Hover scrim + "Incele" alt-merkez fade-in */
.lot-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(0.12 0.02 276 / 0.40), transparent 42%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
  pointer-events: none;
}
.lot-card:hover .lot-media::after{ opacity: 1; }
.lot-media .peek{
  position: absolute;
  left: 50%; bottom: var(--s-4);
  transform: translate(-50%, 8px);
  z-index: 2;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.lot-card:hover .lot-media .peek{ opacity: 1; transform: translate(-50%, 0); }

/* --- Gorsel BOS ise zarif placeholder: murekkep zemin + bronz monogram S + lot no --- */
.lot-placeholder{
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--bronze-w) 0%, transparent 55%),
    var(--sunk);
}
.lot-placeholder .mono{
  font-family: var(--disp);
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: clamp(3rem, 2rem + 6vw, 5rem);
  line-height: 1;
  color: var(--bronze);
  opacity: 0.42;
  letter-spacing: 0.02em;
}
.lot-placeholder .ph-lotno{
  position: absolute;
  bottom: var(--s-4);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Sol ust: CANLI nokta */
.lot-media .live-tag{
  position: absolute;
  top: var(--s-3); left: var(--s-3);
  z-index: 2;
}
/* Sag ust: sayac kapsulu (cam/blur) */
.lot-media .count-cap{
  position: absolute;
  top: var(--s-3); right: var(--s-3);
  z-index: 2;
}

/* Kart govde */
.lot-body{
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-4) var(--s-5);
}
.lot-body .lot-eyebrow{
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.lot-body .lot-eyebrow .lot-no{ color: var(--bronze); }
.lot-title{
  font-family: var(--disp);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: var(--lh-head);
  letter-spacing: var(--ls-head);
  color: var(--ink);
  /* 2 satir clamp */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: var(--s-1);
}
.lot-artist{
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.lot-bidlabel{
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: var(--s-2);
}
/* Alt satir: guncel teklif (num Bodoni bronz) | sagda rezerv rozeti */
.lot-foot{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-1);
}
.lot-price{
  font-family: var(--disp);
  font-optical-sizing: auto;
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 600;
  font-size: var(--fs-h3);
  color: var(--bronze);
  line-height: 1.1;
}
.lot-price.no-bid{ color: var(--ink-2); font-size: var(--fs-body); font-weight: 500; }

/* Geniş featured kart (2 kolon kaplar) - monoton grid kirar */
.lot-card.wide{ grid-column: span 2; }
.lot-card.wide .lot-media{ aspect-ratio: 16 / 10; }
@media (max-width: 600px){ .lot-card.wide{ grid-column: span 1; } }
@media (max-width: 600px){ .lot-card.wide .lot-media{ aspect-ratio: 4 / 5; } }

/* Bitmis lot karti: gorsel desat + SATILDI/SATILMADI muru */
.lot-card.is-ended .lot-media img,
.lot-card.is-ended .lot-placeholder{ filter: saturate(0.55) brightness(0.86); }
.lot-card.is-ended .lot-media::before{
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: oklch(0.16 0.02 276 / 0.28);
}

/* ----------------------------------------------------------------------------
   9. ROZETLER + ETIKETLER
   -------------------------------------------------------------------------- */
.badge{
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 24px;
  padding: 0 var(--s-3);
  border-radius: 3px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge .dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  flex: none;
  background: currentColor;
}

/* Rezerv KARSILANDI - sessiz zeytin-yesil */
.badge-reserve-ok{
  background: var(--ok-w);
  color: var(--ok);
  border-color: color-mix(in oklch, var(--ok) 38%, transparent);
}
/* Rezerv KARSILANMADI - notr/muted (kirmizi DEGIL, ayiplayici degil, sadece bilgi) */
.badge-reserve-neutral{
  background: var(--sunk);
  color: var(--muted);
  border-color: var(--line);
}

/* CANLI etiketi - live 6px nokta + nabiz + "CANLI" eyebrow */
.badge-live{
  background: color-mix(in oklch, var(--sunk) 70%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ink);
  border-color: var(--line);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.badge-live .dot{
  position: relative;
  background: var(--live);
}
/* nabiz: opacity + dis halka scale (transform, box-shadow DEGIL) */
.badge-live .dot::after{
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--live);
  transform: scale(1);
  opacity: 0.6;
  animation: live-ring 2.4s var(--ease) infinite;
}
.badge-live .dot{ animation: live-blink 2.4s var(--ease) infinite; }
@keyframes live-blink{ 0%,100%{ opacity: 1; } 50%{ opacity: 0.35; } }
@keyframes live-ring{
  0%{ transform: scale(1); opacity: 0.6; }
  70%{ transform: scale(2.4); opacity: 0; }
  100%{ transform: scale(2.4); opacity: 0; }
}

/* Notr durum etiketi (Yaklasan vb.) */
.badge-soft{
  background: var(--sunk);
  color: var(--ink-2);
  border-color: var(--line);
}
.badge-warn{
  background: var(--warn-w);
  color: var(--warn);
  border-color: color-mix(in oklch, var(--warn) 34%, transparent);
}

/* Bare CANLI satiri (kapsulsuz) - eyebrow + nokta */
.live-inline{
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.live-inline .dot{
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--live);
  animation: live-blink 2.4s var(--ease) infinite;
}
.live-inline .dot::after{
  content: "";
  position: absolute; inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--live);
  animation: live-ring 2.4s var(--ease) infinite;
}

/* SATILDI / SATILMADI damga - ince cerceve, Bodoni, hafif dondurme, abartisiz */
.stamp{
  position: absolute;
  top: 50%; left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) rotate(-7deg);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--s-2) var(--s-4);
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  background: color-mix(in oklch, var(--bg) 30%, transparent);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  font-family: var(--disp);
  font-optical-sizing: auto;
  color: var(--ink);
}
.stamp .stamp-label{
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.stamp .stamp-amount{
  font-size: var(--fs-body);
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
}
.stamp.unsold{
  border-color: var(--muted);
  color: var(--muted);
}

/* ----------------------------------------------------------------------------
   10. SAYAC KAPSULU + SAYAC
   -------------------------------------------------------------------------- */
.count-cap{
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  height: 26px;
  padding: 0 var(--s-3);
  border-radius: var(--r);
  background: color-mix(in oklch, var(--surface) 60%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums lining-nums;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* Buyuk sayac (lot detay teklif kutusu) - Bodoni num */
.countdown{
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-1);
  font-family: var(--disp);
  font-optical-sizing: auto;
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  color: var(--ink);
}
.countdown .seg{ display: inline-flex; align-items: baseline; }
.countdown .unit{
  font-family: var(--body);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--muted);
  margin-left: 1px;
  letter-spacing: 0.04em;
}
/* < 5 dk: rakam amber (warn), kirmizi panik YOK */
.countdown.is-soon{ color: var(--warn); }
.countdown.is-soon .unit{ color: color-mix(in oklch, var(--warn) 70%, var(--muted)); }

/* Anti-snipe +2dk: sayac bronz flash */
.countdown.flash{ animation: count-flash 300ms var(--ease); }
@keyframes count-flash{
  0%{ color: var(--bronze); opacity: 1; }
  50%{ color: var(--bronze); opacity: 0.7; }
  100%{ opacity: 1; }
}

/* Tek hane flip (dakika/saat degisiminde) - minik, saniye degil */
.flip-digit{
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.flip-digit > span{
  display: block;
  transition: transform 220ms var(--ease);
}
.flip-digit.is-flipping > span{ animation: digit-flip 220ms var(--ease); }
@keyframes digit-flip{
  0%{ transform: translateY(0); opacity: 1; }
  45%{ transform: translateY(-60%); opacity: 0; }
  55%{ transform: translateY(60%); opacity: 0; }
  100%{ transform: translateY(0); opacity: 1; }
}

/* ----------------------------------------------------------------------------
   11. FIYAT-FLIP (canli teklif guncelleme)
   eski rakam yukari+fade out, yeni rakam asagidan+fade in (mask),
   kisa bronz arka-glow pulse
   -------------------------------------------------------------------------- */
.price-flip{
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.1;
  vertical-align: bottom;
}
.price-flip .pf-val{
  display: block;
  will-change: transform, opacity;
}
.price-flip .pf-out{
  animation: pf-out 380ms var(--ease) forwards;
}
.price-flip .pf-in{
  animation: pf-in 380ms var(--ease) forwards;
}
@keyframes pf-out{
  0%{ transform: translateY(0); opacity: 1; }
  100%{ transform: translateY(-100%); opacity: 0; }
}
@keyframes pf-in{
  0%{ transform: translateY(100%); opacity: 0; }
  100%{ transform: translateY(0); opacity: 1; }
}
/* Kisa bronz arka-glow pulse - sarmalayici uzerinde */
.price-glow{ position: relative; }
.price-glow.pulse::after{
  content: "";
  position: absolute;
  inset: -6px -10px;
  border-radius: var(--r);
  background: var(--bronze-w);
  opacity: 0;
  pointer-events: none;
  animation: price-pulse 380ms var(--ease);
}
@keyframes price-pulse{
  0%{ opacity: 0; }
  40%{ opacity: 1; }
  100%{ opacity: 0; }
}

/* ----------------------------------------------------------------------------
   12. TEKLIF KUTUSU + REZERV REVEAL + TEKLIF GECMISI
   -------------------------------------------------------------------------- */
.bid-box{
  background: var(--sunk);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.bid-box::before{                /* ust bronz hairline */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--bronze);
  opacity: 0.7;
}
.bid-box .bid-row{
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line);
}
.bid-box .bid-row:last-child{ border-bottom: 0; }
.bid-box .bid-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.bid-box .bid-current{
  font-family: var(--disp);
  font-optical-sizing: auto;
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 600;
  font-size: var(--fs-h1);
  color: var(--bronze);
  line-height: 1.05;
}
.bid-box .bid-meta{ font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s-1); }

/* Min sonraki / artis adimi */
.bid-min{ font-size: var(--fs-sm); color: var(--ink-2); margin-bottom: var(--s-2); }
.bid-min strong{ color: var(--ink); font-weight: 600; }

/* Rezerv rozeti satiri */
.reserve-line{
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  margin-top: var(--s-3);
}
.reserve-line.not-met{ color: var(--muted); }       /* notr, asla kirmizi */
.reserve-line.met{ color: var(--ok); }

/* Rezerv KARSILANDI reveal - rozet scale + ok-w zemin dolar + tek bronz isima sweep */
.reserve-reveal{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r);
  background: var(--ok-w);
  color: var(--ok);
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1px solid color-mix(in oklch, var(--ok) 32%, transparent);
  overflow: hidden;
}
.reserve-reveal.revealing{
  animation: reserve-in 600ms var(--ease) both;
}
@keyframes reserve-in{
  0%{ transform: scale(0.96); opacity: 0; }
  100%{ transform: scale(1); opacity: 1; }
}
/* tek seferlik ince bronz isima sweep (::after translateX) */
.reserve-reveal.revealing::after{
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 50%;
  background: linear-gradient(100deg, transparent, var(--bronze-w), transparent);
  transform: translateX(0);
  animation: reserve-sweep 600ms var(--ease) 120ms both;
  pointer-events: none;
}
@keyframes reserve-sweep{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(360%); }
}

/* Anti-snipe notu */
.snipe-note{ font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s-2); }

/* Misafir overlay (giris yok) - kutu bulanik altinda gorunur */
.bid-locked{
  position: relative;
}
.bid-locked .lock-veil{
  position: absolute; inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: var(--s-3);
  text-align: center;
  padding: var(--s-5);
  background: color-mix(in oklch, var(--sunk) 64%, transparent);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: var(--r-lg);
}
/* Veil icerigi (kilit + metin + Giris butonu ~131px) kisa disabled butonu astigindan,
   veil GORUNURKEN kabini yeterince yuksek tut; aksi halde altta rezerv/snipe metnine tasiyor.
   Giris yapilinca (veil [hidden]) min-height uygulanmaz, kutu normal yuksekligine doner. */
.bid-locked:has(.lock-veil:not([hidden])){ min-height: 8.5rem; }

/* --- TEKLIF GECMISI (canli liste) --- */
.bid-history{ width: 100%; }
.bid-history .bh-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-3);
}
.bid-row-item{
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: var(--s-4);
  padding: var(--s-3) var(--s-3);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.bid-row-item:last-child{ border-bottom: 0; }
.bid-row-item .bidder{ color: var(--ink-2); }
.bid-row-item .amount{
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}
.bid-row-item .at{ color: var(--muted); font-size: var(--fs-xs); white-space: nowrap; }
/* En ust (en yuksek/guncel) satir hafif bronz vurgu */
.bid-row-item.is-top{ background: var(--bronze-w); border-radius: var(--r); }
.bid-row-item.is-top .amount{ color: var(--bronze); font-weight: 600; }
/* Yeni teklif satiri WS ile geldiginde ustten kayar */
.bid-row-item.is-new{ animation: bid-in 340ms var(--ease-soft) both; }
@keyframes bid-in{
  0%{ transform: translateY(-8px); opacity: 0; }
  100%{ transform: translateY(0); opacity: 1; }
}

/* ----------------------------------------------------------------------------
   13. INPUT + FORM
   -------------------------------------------------------------------------- */
.field{ display: flex; flex-direction: column; gap: var(--s-2); }
.label{
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
}
.input, .select, .textarea{
  width: 100%;
  min-height: 46px;
  padding: var(--s-3) var(--s-4);
  background: var(--sunk);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.4;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease);
}
.textarea{ min-height: 120px; padding-block: var(--s-3); resize: vertical; line-height: var(--lh-body); }
.input::placeholder, .textarea::placeholder{ color: var(--faint); }
/* focus: border bronz + 4px bronz halka (box-shadow, layout shift YOK) */
.input:focus, .select:focus, .textarea:focus{
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 4px var(--bronze-w);
}
.input.num{ font-variant-numeric: tabular-nums lining-nums; }

/* Select - ozel ok, ince */
.select{
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a08e6e' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s-4) center;
  padding-right: var(--s-7);
}

/* Teklif tutar girisi (artis adimlari seciciyle) */
.bid-input-wrap{
  display: flex;
  align-items: stretch;
  gap: var(--s-2);
}
.bid-input-wrap .input{ flex: 1; font-family: var(--disp); font-weight: 600; font-size: var(--fs-h3); }

/* Checkbox - hairline, bronz tik */
.check{
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  cursor: pointer;
  line-height: 1.45;
}
.check input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px; height: 20px;
  margin-top: 1px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: var(--sunk);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.check input[type="checkbox"]::after{
  content: "";
  width: 10px; height: 10px;
  transform: scale(0);
  transition: transform 180ms var(--ease);
  background: var(--bronze);
  clip-path: polygon(14% 47%, 0 60%, 40% 100%, 100% 22%, 86% 9%, 38% 71%);
}
.check input[type="checkbox"]:checked{ border-color: var(--bronze); }
.check input[type="checkbox"]:checked::after{ transform: scale(1); }
.check input[type="checkbox"]:focus-visible{ outline: 2px solid var(--bronze); outline-offset: 2px; }
.check a{ color: var(--bronze); text-decoration: underline; text-underline-offset: 2px; }

/* Form yardimci + hata metni - ince warn, sarsinti animasyonu YOK */
.field-hint{ font-size: var(--fs-xs); color: var(--muted); }
.field-error{
  font-size: var(--fs-xs);
  color: var(--warn);
  animation: err-in 220ms var(--ease);
}
@keyframes err-in{ from{ opacity: 0; } to{ opacity: 1; } }
.input.has-error, .select.has-error, .textarea.has-error{ border-color: var(--warn); }

/* Auth kart - ortalanmis tek kolon, max 420px */
.auth-card{
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--s-7) var(--s-6);
  position: relative;
}
.auth-card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--bronze);
  opacity: 0.7;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.auth-card .auth-brand{
  font-family: var(--disp);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 1rem;
  color: var(--ink);
  text-align: center;
  margin-bottom: var(--s-5);
}
.auth-card h1{ font-size: var(--fs-h2); text-align: center; }
.auth-card .auth-sub{ text-align: center; color: var(--muted); font-size: var(--fs-sm); margin-top: var(--s-2); margin-bottom: var(--s-6); }
.auth-card .field + .field{ margin-top: var(--s-4); }
.auth-card .btn-block{ margin-top: var(--s-5); }
.auth-card .auth-alt{ text-align: center; font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s-5); }
.auth-card .auth-alt a{ color: var(--bronze); }
.auth-divider{
  display: flex; align-items: center; gap: var(--s-3);
  margin-block: var(--s-5);
  color: var(--muted); font-size: var(--fs-xs);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after{ content: ""; flex: 1; height: 1px; background: var(--line); }

/* ----------------------------------------------------------------------------
   14. KATEGORI KARTI (grayscale -> hover bronz duotone isinma)
   -------------------------------------------------------------------------- */
.cat-card{
  position: relative;
  display: block;
  border: none;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.cat-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.cat-media{ position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sunk); }
.cat-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  transition: filter 420ms var(--ease), transform 600ms var(--ease);
}
.cat-card:hover .cat-media img{
  filter: grayscale(0.35) sepia(0.18) saturate(1.1) brightness(0.96);
  transform: scale(1.04);
}
.cat-body{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4);
}
.cat-name{ font-family: var(--disp); font-optical-sizing: auto; font-weight: 600; font-size: var(--fs-h3); color: var(--ink); }
.cat-count{ font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Yatay scroll-snap serit (mobil kategoriler) */
.snap-row{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: var(--s-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: var(--s-2);
  margin-inline: calc(var(--s-4) * -1);
  padding-inline: var(--s-4);
}
.snap-row > *{ scroll-snap-align: start; }

/* ----------------------------------------------------------------------------
   15. OTURUM LISTESI (yaklasan/biten) - sakin, tablo-vari
   -------------------------------------------------------------------------- */
.session-list{ border-top: 1px solid var(--line); }
.session-row{
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--s-5);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-inline 250ms var(--ease), background-color 250ms var(--ease);
}
.session-row:hover{ background: color-mix(in oklch, var(--surface) 50%, transparent); }
.session-row .s-name{ font-family: var(--disp); font-optical-sizing: auto; font-weight: 600; font-size: var(--fs-h3); }
.session-row .s-date{ font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 560px){
  .session-row{ grid-template-columns: 1fr auto; row-gap: var(--s-1); }
  .session-row .s-date{ grid-column: 1 / -1; order: 3; }
}

/* ----------------------------------------------------------------------------
   16. FILTRE RAYI + CIPLER (lot grid sayfasi)
   -------------------------------------------------------------------------- */
.filter-rail{
  width: 248px;
  flex: none;
  position: sticky;
  top: calc(var(--topbar-h) + var(--s-4));
  align-self: start;
}
.filter-group{ padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.filter-group > .eyebrow{ display: block; margin-bottom: var(--s-3); }
.filter-opt{
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-block: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  cursor: pointer;
}
.filter-opt:hover{ color: var(--ink); }
.filter-opt .count{ margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; font-size: var(--fs-xs); }

.layout-rail{
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: var(--s-7);
  align-items: start;
}
@media (max-width: 880px){
  .layout-rail{ grid-template-columns: 1fr; }
  .filter-rail{ display: none; }    /* mobilde alttan sheet ile (JS) */
}

.chip-row{ display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.chip{
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 30px;
  padding: 0 var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  font-size: var(--fs-xs);
  color: var(--ink-2);
}
.chip button{ display: inline-grid; place-items: center; color: var(--muted); width: 14px; height: 14px; }
.chip button:hover{ color: var(--ink); }
.results-count{ font-size: var(--fs-sm); color: var(--muted); }
.results-count strong{ color: var(--ink); font-weight: 600; }

/* Mobil filtre/sheet tetik */
.filter-trigger{ display: none; }
@media (max-width: 880px){ .filter-trigger{ display: inline-flex; } }

/* Alttan yukselen sheet (mobil filtre + teklif) */
.sheet-backdrop{
  position: fixed; inset: 0; z-index: 70;
  background: oklch(0.10 0.02 276 / 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease);
}
.sheet-backdrop.is-open{ opacity: 1; pointer-events: auto; }
.sheet{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 71;
  max-height: 88svh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border-top: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  padding: var(--s-5);
  transform: translateY(100%);
  transition: transform 320ms var(--ease);
}
.sheet.is-open{ transform: translateY(0); }
.sheet .sheet-grip{
  width: 40px; height: 4px;
  border-radius: 2px;
  background: var(--line-2);
  margin: 0 auto var(--s-4);
}
/* Sheet yalnizca mobil bilesendir (mobil filtre + teklif). Masaustunde inline UI kullanilir;
   sheet'in hicbir JS durumunda masaustune sizmamasi icin tamamen gizle. */
@media (min-width: 961px){
  .sheet, .sheet-backdrop{ display: none !important; }
}

/* ----------------------------------------------------------------------------
   17. LOT DETAY - galeri + sticky bilgi
   -------------------------------------------------------------------------- */
.lot-detail{
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: var(--s-7);
  align-items: start;
}
@media (max-width: 960px){
  .lot-detail{ grid-template-columns: 1fr; gap: var(--s-6); }
}
.lot-info-sticky{
  position: sticky;
  top: calc(var(--topbar-h) + var(--s-4));
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
@media (max-width: 960px){ .lot-info-sticky{ position: static; } }

/* Ana gorsel - murekkep zemine gomulu, ince cerceve, spot radial */
.gallery-main{
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  overflow: hidden;
  background:
    radial-gradient(110% 80% at 50% 0%, var(--bronze-w) 0%, transparent 50%),
    var(--sunk);
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
}
.gallery-main img{ width: 100%; height: 100%; object-fit: contain; padding: var(--s-5); }
.gallery-main .live-tag{ position: absolute; top: var(--s-4); left: var(--s-4); z-index: 2; }

/* Thumbnail serit - scroll-snap, aktifte bronz cerceve */
.thumb-strip{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72px;
  gap: var(--s-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-top: var(--s-3);
  scrollbar-width: thin;
}
.thumb-strip .thumb{
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--sunk);
  cursor: pointer;
  transition: border-color 220ms var(--ease);
}
.thumb-strip .thumb img{ width: 100%; height: 100%; object-fit: cover; }
.thumb-strip .thumb[aria-current="true"]{ border-color: var(--bronze); }

/* Katalog kunyesi (satir satir) */
.spec-list{ display: grid; gap: 0; }
.spec-list .spec-row{
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.spec-list .spec-row dt{ color: var(--muted); }
.spec-list .spec-row dd{ color: var(--ink-2); }

/* Tahmini deger satiri */
.estimate{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  font-size: var(--fs-sm);
}
.estimate .est-label{ color: var(--muted); display: inline-flex; align-items: center; gap: var(--s-1); }
.estimate .est-val{ color: var(--ink-2); font-variant-numeric: tabular-nums; font-weight: 500; }

/* Tooltip (rezerv / tahmini "?") - ince */
.tip{ position: relative; display: inline-flex; }
.tip .tip-q{
  width: 16px; height: 16px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 0.66rem;
  color: var(--muted);
  cursor: help;
}
.tip .tip-body{
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: max-content;
  max-width: 240px;
  padding: var(--s-3);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--ink-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  z-index: 20;
}
.tip:hover .tip-body, .tip:focus-within .tip-body{ opacity: 1; transform: translateX(-50%) translateY(0); }

/* ----------------------------------------------------------------------------
   18. LIGHTBOX
   -------------------------------------------------------------------------- */
.lightbox{
  position: fixed; inset: 0; z-index: 90;
  display: none;
  place-items: center;
  padding: var(--s-6);
  background: oklch(0.10 0.02 276 / 0.92);
}
.lightbox.is-open{ display: grid; }
.lightbox.is-open .lb-img{ animation: lb-in 320ms var(--ease) both; }
.lightbox .lb-img{ max-width: min(94vw, 1100px); max-height: 88vh; object-fit: contain; border-radius: var(--r-img); }
@keyframes lb-in{ from{ transform: scale(0.98); opacity: 0; } to{ transform: scale(1); opacity: 1; } }
.lightbox .lb-close{
  position: absolute; top: var(--s-5); right: var(--s-5);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: color-mix(in oklch, var(--surface) 50%, transparent);
}
.lightbox .lb-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--ink);
}
.lightbox .lb-prev{ left: var(--s-4); }
.lightbox .lb-next{ right: var(--s-4); }

/* ----------------------------------------------------------------------------
   19. MOBIL LOT-DETAY STICKY ALT BAR + SHEET
   -------------------------------------------------------------------------- */
.bid-bar-mobile{
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 65;
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-2);
  padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom));
}
.bid-bar-mobile .bbm-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  margin-bottom: var(--s-2);
}
.bid-bar-mobile .bbm-price{ font-variant-numeric: tabular-nums; font-weight: 600; color: var(--bronze); }
.bid-bar-mobile .bbm-count{ font-variant-numeric: tabular-nums; color: var(--ink); }
.bid-bar-mobile .btn{ width: 100%; min-height: 52px; }
@media (max-width: 960px){
  .lot-detail-page .bid-bar-mobile{ display: block; }
  /* sticky bar yer actirsin */
  .lot-detail-page{ padding-bottom: 96px; }
  /* desktop teklif kutusunu mobilde gizle (alt bar + sheet kullanir) */
  .lot-detail-page .bid-box.desktop-only{ display: none; }
}

/* ----------------------------------------------------------------------------
   20. BOS DURUM
   -------------------------------------------------------------------------- */
.empty-state{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  text-align: center;
  padding: var(--s-9) var(--s-5);
  color: var(--muted);
}
.empty-state .empty-icon{ color: var(--faint); }
.empty-state .empty-icon svg{ width: 40px; height: 40px; }
.empty-state h3{ color: var(--ink-2); font-weight: 600; }
.empty-state a{ color: var(--bronze); }

/* ----------------------------------------------------------------------------
   21. TOAST / BILDIRIM
   -------------------------------------------------------------------------- */
.toast-wrap{
  position: fixed;
  top: calc(var(--topbar-h) + var(--s-3));
  right: var(--s-5);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  max-width: 340px;
}
.toast{
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
  color: var(--ink);
  animation: toast-in 300ms var(--ease) both;
}
.toast::before{
  content: "";
  width: 4px; align-self: stretch;
  border-radius: 2px;
  background: var(--bronze);
}
.toast.is-out{ animation: toast-out 300ms var(--ease) both; }
@keyframes toast-in{ from{ transform: translateX(16px); opacity: 0; } to{ transform: translateX(0); opacity: 1; } }
@keyframes toast-out{ from{ transform: translateX(0); opacity: 1; } to{ transform: translateX(16px); opacity: 0; } }
@media (max-width: 560px){
  .toast-wrap{ left: var(--s-4); right: var(--s-4); max-width: none; }
}

/* ----------------------------------------------------------------------------
   22. FOOTER
   -------------------------------------------------------------------------- */
.site-footer{
  position: relative;
  z-index: 2;
  margin-top: var(--s-9);
  border-top: 1px solid var(--line);
  background: color-mix(in oklch, var(--surface) 40%, var(--bg));
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-block: var(--s-8);
}
.footer-brand .brand{ font-size: 1.3rem; }
.footer-brand .footer-est{ font-size: var(--fs-xs); letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); margin: 0.5rem 0 0; max-width: none; }
.footer-brand p{ color: var(--muted); font-size: var(--fs-sm); margin-top: var(--s-3); max-width: 34ch; }
.footer-col h4{
  font-family: var(--body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: var(--s-4);
}
.footer-col ul{ display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col a{ font-size: var(--fs-sm); color: var(--ink-2); transition: color 220ms var(--ease); }
.footer-col a:hover{ color: var(--ink); }

/* Footer guven satiri (shill yok ilkesi) */
.footer-trust{
  padding-block: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}
.footer-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--muted);
}
.footer-bottom .f-legal{ display: flex; flex-wrap: wrap; gap: var(--s-4); }
.footer-bottom a:hover{ color: var(--ink-2); }
@media (max-width: 860px){
  .footer-top{ grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-5); }
  .footer-brand{ grid-column: 1 / -1; }
}
@media (max-width: 480px){
  .footer-top{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}

/* ----------------------------------------------------------------------------
   23. HERO (anasayfa - torensel, asla slider)
   -------------------------------------------------------------------------- */
.hero{
  display: grid;
  grid-template-columns: 46fr 54fr;
  gap: var(--s-7);
  align-items: center;
  min-height: 78svh;
  padding-block: var(--s-8);
}
.hero-text{ display: flex; flex-direction: column; gap: var(--s-5); }
.hero-text .eyebrow-row{ display: inline-flex; align-items: center; gap: var(--s-3); }
.hero-text .lead{ max-width: 46ch; }
.hero-cta{ display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }

/* Sag vitrin - tek lot, murekkep zemine gomulu, spot isik */
.hero-showcase{
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-img);
  overflow: hidden;
  background:
    radial-gradient(100% 80% at 50% -5%, var(--bronze-w) 0%, transparent 52%),
    var(--sunk);
  aspect-ratio: 5 / 4;
}
.hero-showcase img{ width: 100%; height: 100%; object-fit: cover; }
.hero-showcase .live-tag{ position: absolute; top: var(--s-4); left: var(--s-4); z-index: 2; }
/* Alt overlay serit: lot adi + guncel teklif + mini sayac */
.hero-showcase .showcase-strip{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-4) var(--s-4);
  background: linear-gradient(to top, oklch(0.14 0.02 276 / 0.78), transparent);
}
.hero-showcase .ss-title{ font-family: var(--disp); font-optical-sizing: auto; font-weight: 600; font-size: var(--fs-h3); color: var(--ink); }
.hero-showcase .ss-price{ font-variant-numeric: tabular-nums; color: var(--bronze); font-weight: 600; font-size: var(--fs-sm); margin-top: var(--s-1); }

@media (max-width: 960px){
  .hero{ grid-template-columns: 1fr; min-height: auto; gap: var(--s-6); padding-block: var(--s-7); }
  .hero-showcase{ order: 2; aspect-ratio: 4 / 3; }
  .hero-cta .btn{ flex: 1; }    /* CTA tam genislik dikey his */
}
@media (max-width: 420px){
  .hero-cta{ flex-direction: column; }
  .hero-cta .btn{ width: 100%; }
}

/* ----------------------------------------------------------------------------
   24. REVEAL (IntersectionObserver ile .is-visible eklenir)
   -------------------------------------------------------------------------- */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
/* stagger - JS transition-delay verir, ama CSS fallback siniflar: */
.reveal.d-1{ transition-delay: 60ms; }
.reveal.d-2{ transition-delay: 120ms; }
.reveal.d-3{ transition-delay: 180ms; }
.reveal.d-4{ transition-delay: 240ms; }
.reveal.d-5{ transition-delay: 300ms; }

/* ----------------------------------------------------------------------------
   25. YARDIMCI siniflar
   -------------------------------------------------------------------------- */
.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;
}
.flex{ display: flex; }
.items-center{ align-items: center; }
.justify-between{ justify-content: space-between; }
.gap-2{ gap: var(--s-2); }
.gap-3{ gap: var(--s-3); }
.gap-4{ gap: var(--s-4); }
.mt-2{ margin-top: var(--s-2); }
.mt-3{ margin-top: var(--s-3); }
.mt-4{ margin-top: var(--s-4); }
.mt-5{ margin-top: var(--s-5); }
.mt-6{ margin-top: var(--s-6); }
.center{ text-align: center; }
.stack{ display: flex; flex-direction: column; }
.no-wrap{ white-space: nowrap; }
.full-height-center{ min-height: calc(100svh - var(--topbar-h)); display: grid; place-items: center; padding-block: var(--s-8); }

/* ----------------------------------------------------------------------------
   26. PREFERS-REDUCED-MOTION - tum hareket anlik opacity'ye iner
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal{ opacity: 1; transform: none; }
  .lot-card:hover{ transform: none; }
  .badge-live .dot::after,
  .live-inline .dot::after{ display: none; }
  .badge-live .dot,
  .live-inline .dot{ animation: none; opacity: 1; }
  .price-flip .pf-out, .price-flip .pf-in{ animation: none; }
  .price-flip .pf-out{ display: none; }
  .reserve-reveal.revealing::after{ display: none; }
}
