/* =====================================================================
   BUEL Gurme — stil dosyasi
   Renkler ve yazi tipleri logodan turetilmistir.
   ===================================================================== */

:root {
  --cream-50:  #FDFAF5;
  --cream-100: #FAF4EA;
  --cream-200: #F4E8D7;
  --cream-300: #EBD9C0;
  --cocoa-400: #8A6B52;
  --cocoa-500: #6F5642;
  --cocoa-600: #5A4032;
  --cocoa-700: #463022;
  --cocoa-800: #33231A;
  --cocoa-900: #241811;
  --gold-400:  #D2A75C;
  --gold-500:  #B98A3C;
  --gold-600:  #9C722E;
  --line:      rgba(51, 35, 26, .10);
  --line-soft: rgba(51, 35, 26, .06);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow-soft: 0 1px 2px rgba(52,35,26,.04), 0 8px 24px -12px rgba(52,35,26,.18);
  --shadow-lift: 0 2px 4px rgba(52,35,26,.06), 0 18px 40px -18px rgba(52,35,26,.28);

  --page: 78rem;
  --radius: 1rem;
}

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

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

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--cocoa-800);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--cocoa-900);
  font-weight: 600;
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}

p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(210, 167, 92, .3); }

* { scrollbar-width: thin; scrollbar-color: rgba(185,138,60,.45) transparent; }

/* ------------------------------- duzen ------------------------------ */

.container { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 2rem; } }

.page { display: flex; flex-direction: column; min-height: 100vh; }
.page main { flex: 1; }

.stack { display: flex; flex-direction: column; }
.gap-sm { gap: .75rem; }
.gap-md { gap: 1.25rem; }
.gap-lg { gap: 2rem; }

.section { padding-top: 5rem; padding-bottom: 5rem; }
.section-tight { padding-top: 3.5rem; padding-bottom: 3.5rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}

/* ------------------------------ tipografi --------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.rule { display: inline-block; height: 1px; width: 2.5rem; background: rgba(185,138,60,.6); }

.h-hero { font-size: clamp(2.4rem, 1.9rem + 2.4vw, 3.75rem); }
.h-1 { font-size: clamp(2.2rem, 1.8rem + 1.8vw, 3rem); }
.h-2 { font-size: clamp(1.9rem, 1.6rem + 1.2vw, 2.6rem); }
.h-3 { font-size: 1.55rem; }
.h-4 { font-size: 1.3rem; }

.lede { font-size: 1rem; line-height: 1.75; color: var(--cocoa-600); max-width: 38rem; }
.muted { color: var(--cocoa-500); }
.small { font-size: .875rem; }
.tiny { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cocoa-400); }

/* ------------------------------- dugme ------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s, color .2s;
}

.btn:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.btn-primary { background: var(--cocoa-800); color: var(--cream-100); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--cocoa-900); box-shadow: var(--shadow-lift); }

.btn-outline { border-color: rgba(51,35,26,.25); color: var(--cocoa-800); background: transparent; }
.btn-outline:hover { border-color: rgba(51,35,26,.6); background: rgba(51,35,26,.05); }

.btn-gold { background: var(--gold-500); color: #fff; box-shadow: var(--shadow-soft); }
.btn-gold:hover { background: var(--gold-600); box-shadow: var(--shadow-lift); }

.btn-ghost-light { border-color: rgba(250,244,234,.25); color: var(--cream-100); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }

.btn-danger { border-color: #E8C4BC; color: #A03A26; background: transparent; }
.btn-danger:hover { background: #FBEEEA; }

.btn-sm { padding: .5rem 1rem; font-size: .8rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* -------------------------------- kart ------------------------------ */

.card {
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card-solid { background: #fff; }

/* ------------------------------- header ----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253,250,245,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 5rem;
}

.logo img { height: 3rem; width: auto; }

.nav { display: flex; align-items: center; gap: .25rem; }

.nav a {
  position: relative;
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .9rem;
  color: var(--cocoa-600);
  transition: color .2s;
}

.nav a:hover { color: var(--cocoa-900); }
.nav a.is-active { color: var(--cocoa-900); }

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: -1px;
  height: 1px;
  background: var(--gold-500);
}

.header-phone { display: inline-flex; }

.nav-toggle {
  display: none;
  padding: .6rem;
  border: 1px solid rgba(51,35,26,.2);
  border-radius: 999px;
  background: transparent;
  color: var(--cocoa-800);
  cursor: pointer;
}

.mobile-nav { display: none; border-top: 1px solid var(--line-soft); background: var(--cream-50); }
.mobile-nav a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; color: var(--cocoa-700); }
.mobile-nav a:last-of-type { border-bottom: 0; }

@media (max-width: 860px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .mobile-nav { display: block; }
}

/* -------------------------------- hero ------------------------------ */

.hero { position: relative; overflow: hidden; }

.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 78% 8%, var(--cream-200) 0%, var(--cream-100) 42%, var(--cream-50) 100%);
}

.hero-ring {
  position: absolute; z-index: -1;
  border: 1px solid rgba(210,167,92,.25);
  border-radius: 50%;
  pointer-events: none;
}

.hero-ring.r1 { width: 30rem; height: 30rem; top: 2rem; right: -6rem; }
.hero-ring.r2 { width: 22rem; height: 22rem; top: 8rem; right: -2rem; border-color: rgba(210,167,92,.2); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 3.5rem;
  padding-top: 4.5rem;
  padding-bottom: 6rem;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0,1fr); gap: 2.5rem; padding-top: 3rem; padding-bottom: 4rem; }
  .hero-ring { display: none; }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.5rem;
  max-width: 32rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.hero-stats dt { font-family: var(--font-display); font-size: 2rem; color: var(--cocoa-900); }
.hero-stats dd { margin: .25rem 0 0; }

.hero-frame { position: relative; aspect-ratio: 1 / 1; max-width: 28rem; margin: 0 auto; width: 100%; }
.hero-frame .plate {
  position: absolute; inset: 0;
  border-radius: 2.5rem;
  background: linear-gradient(140deg, var(--cream-200), var(--cream-100) 45%, var(--cream-300));
  box-shadow: var(--shadow-lift);
}
.hero-frame .inner-ring { position: absolute; inset: 1.25rem; border: 1px solid rgba(210,167,92,.3); border-radius: 2rem; }
.hero-frame .mark { position: absolute; inset: 0; display: grid; place-items: center; padding: 3.5rem; }

/* ------------------------------ degerler ---------------------------- */

.values { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,.6); }
.value { display: flex; gap: 1rem; }
.value-num { font-family: var(--font-display); font-size: 1.5rem; color: rgba(185,138,60,.7); line-height: 1.4; }

/* ---------------------------- kategori karti ------------------------ */

.cat-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.cat-card:hover { transform: translateY(-2px); border-color: rgba(185,138,60,.4); box-shadow: var(--shadow-lift); }
.cat-card .icon { color: var(--gold-600); transition: transform .3s; }
.cat-card:hover .icon { transform: scale(1.1); }
.cat-card h3 { margin-top: 1.25rem; }
.cat-card p { margin-top: .5rem; flex: 1; font-size: .9rem; color: var(--cocoa-600); }
.cat-card .count { margin-top: 1.25rem; }

/* ------------------------------ urun karti -------------------------- */

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.product:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.product-figure {
  position: relative;
  height: 8rem;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--cream-200), var(--cream-300));
  overflow: hidden;
}

.product-figure .pattern {
  position: absolute; inset: 0; opacity: .07;
  background-image: repeating-linear-gradient(45deg, var(--cocoa-600) 0 1px, transparent 1px 9px);
}

.product-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .product-figure img { transform: scale(1.05); }
.product-figure .icon { color: rgba(156,114,46,.7); transition: transform .5s; }
.product:hover .product-figure .icon { transform: scale(1.1); }

.badge {
  position: absolute; left: .75rem; top: .75rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: rgba(36,24,17,.85);
  color: var(--cream-100);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.product-body h3 { font-size: 1.25rem; margin-top: .5rem; line-height: 1.3; }
.product-body .desc { margin-top: .5rem; flex: 1; font-size: .875rem; color: rgba(90,64,50,.85); }

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.product-price { font-family: var(--font-display); font-size: 1.15rem; color: var(--cocoa-900); }
.product-price.ask { font-family: var(--font-body); font-size: .85rem; color: var(--gold-600); }

/* ------------------------------ menu filtre ------------------------- */

.filterbar {
  position: sticky;
  top: 5rem;
  z-index: 30;
  margin: 0 -1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(253,250,245,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

@media (min-width: 640px) { .filterbar { margin: 0 -2rem; padding: 1rem 2rem; } }

.filterbar-inner {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: var(--page);
  margin: 0 auto;
}

@media (min-width: 1024px) { .filterbar-inner { flex-direction: row; align-items: center; } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; flex: 1; }

@media (max-width: 1023px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; }
}

.chip {
  white-space: nowrap;
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(51,35,26,.15);
  background: rgba(255,255,255,.7);
  color: var(--cocoa-600);
  font-size: .875rem;
  transition: border-color .2s, color .2s, background-color .2s;
}

.chip:hover { border-color: rgba(51,35,26,.4); color: var(--cocoa-900); }
.chip.is-active { background: var(--cocoa-800); border-color: var(--cocoa-800); color: var(--cream-100); }

.search { position: relative; }
@media (min-width: 1024px) { .search { width: 18rem; } }
.search svg { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--cocoa-400); pointer-events: none; }
.search input { padding-left: 2.5rem; }

.cat-block { scroll-margin-top: 11rem; }
.cat-block + .cat-block { margin-top: 4rem; }

.cat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

/* -------------------------------- form ------------------------------ */

.field-label {
  display: block;
  margin-bottom: .4rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cocoa-600);
}

.field {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid rgba(51,35,26,.15);
  border-radius: .75rem;
  background: #fff;
  color: var(--cocoa-900);
  font-family: inherit;
  font-size: .9rem;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}

.field::placeholder { color: rgba(138,107,82,.7); }
.field:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(210,167,92,.25); }
textarea.field { resize: vertical; min-height: 6rem; }
select.field { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235A4032' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.checkbox { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--cocoa-700); cursor: pointer; }
.checkbox input { width: 1rem; height: 1rem; accent-color: var(--gold-500); }

.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .form-row.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.alert { padding: .8rem 1rem; border-radius: .75rem; font-size: .875rem; }
.alert-error { background: #FBEEEA; color: #8F3221; }
.alert-ok { background: #E9F2EA; color: #2F5A38; }
.alert-info { background: rgba(210,167,92,.12); color: var(--cocoa-700); border-left: 3px solid var(--gold-500); border-radius: 0 .75rem .75rem 0; }

/* ------------------------------- footer ----------------------------- */

.site-footer { margin-top: 6rem; background: var(--cocoa-900); color: rgba(244,232,215,.8); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; padding-top: 4rem; padding-bottom: 4rem; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: minmax(0,1fr); gap: 2.5rem; } }

.site-footer img { height: 5rem; width: auto; }
.site-footer h3 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-400); }
.site-footer ul { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; font-size: .9rem; }
.site-footer a:hover { color: var(--cream-50); }
.footer-note { font-size: .9rem; color: rgba(244,232,215,.65); margin-top: 1.5rem; max-width: 24rem; }

.social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.social a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid rgba(244,232,215,.2); border-radius: 999px; transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--gold-400); color: var(--gold-400); }

.footer-bottom { border-top: 1px solid rgba(244,232,215,.1); }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: .75rem; color: rgba(244,232,215,.45); }

/* --------------------------------- CTA ------------------------------ */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: var(--cocoa-800);
  padding: 3.5rem 2rem;
  text-align: center;
}

@media (min-width: 640px) { .cta { padding: 3.5rem; } }
.cta h2 { color: var(--cream-50); margin: 1rem auto 0; max-width: 34rem; }
.cta .lede { color: rgba(244,232,215,.7); margin: 1.25rem auto 0; max-width: 30rem; }
.cta .eyebrow { justify-content: center; color: var(--gold-400); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.25rem; }
.cta-ring { position: absolute; border: 1px solid rgba(210,167,92,.2); border-radius: 50%; pointer-events: none; }
.cta-ring.a { width: 16rem; height: 16rem; top: -4rem; left: -4rem; }
.cta-ring.b { width: 18rem; height: 18rem; bottom: -6rem; right: -2.5rem; border-color: rgba(210,167,92,.15); }

/* ----------------------------- hakkimizda --------------------------- */

.about-figure { position: relative; aspect-ratio: 4/5; border-radius: 2rem; overflow: hidden; background: var(--cocoa-900); }
.about-figure .pattern { position: absolute; inset: 0; opacity: .14; background-image: repeating-linear-gradient(135deg, var(--gold-400) 0 1px, transparent 1px 14px); }
.about-figure .inner-ring { position: absolute; inset: 1.5rem; border: 1px solid rgba(210,167,92,.25); border-radius: 1.5rem; }
.about-figure .mark { position: absolute; inset: 0; display: grid; place-items: center; padding: 4rem; }
.about-figure .mark img { opacity: .9; }

.prose p + p { margin-top: 1.1rem; }
.prose { font-size: 1rem; line-height: 1.85; color: var(--cocoa-600); }

.step-item { position: relative; padding-left: 1.5rem; }
.step-item::before { content: ""; position: absolute; left: 0; top: .55rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold-500); }

/* ------------------------------ iletisim ---------------------------- */

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.5rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0,1fr); } }

.contact-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; transition: border-color .2s; }
.contact-item:hover { border-color: rgba(185,138,60,.4); }
.contact-item .icon { color: var(--gold-600); margin-top: .15rem; flex-shrink: 0; }
.contact-item .value { margin-top: .25rem; font-size: .95rem; word-break: break-word; }

/* -------------------------------- panel ----------------------------- */

.admin { display: flex; min-height: 100vh; background: var(--cream-100); }
@media (max-width: 1024px) { .admin { flex-direction: column; } }

.sidebar { width: 16rem; flex-shrink: 0; background: var(--cocoa-900); display: flex; flex-direction: column; }
@media (min-width: 1025px) { .sidebar { position: sticky; top: 0; height: 100vh; } }
@media (max-width: 1024px) { .sidebar { width: 100%; } }

.sidebar-head { display: flex; align-items: center; gap: .75rem; padding: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar-head img { height: 2.25rem; width: auto; }
.sidebar-head .t { font-size: .9rem; font-weight: 500; color: var(--cream-50); }
.sidebar-head .s { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); }

.sidebar-nav { flex: 1; padding: .75rem; display: flex; flex-direction: column; gap: .25rem; }
@media (max-width: 1024px) { .sidebar-nav { flex-direction: row; overflow-x: auto; } }

.sidebar-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem .9rem; border-radius: .75rem;
  font-size: .9rem; font-weight: 500; white-space: nowrap;
  color: rgba(244,232,215,.7);
  background: transparent; border: 0; width: 100%; text-align: left;
  font-family: inherit; cursor: pointer;
  transition: background-color .2s, color .2s;
}

.sidebar-link:hover { background: rgba(255,255,255,.1); color: var(--cream-100); }
.sidebar-link.is-active { background: rgba(255,255,255,.15); color: var(--cream-50); }
.sidebar-link .pill { margin-left: auto; padding: .1rem .5rem; border-radius: 999px; background: var(--gold-500); color: #fff; font-size: .65rem; font-weight: 600; }

.sidebar-foot { padding: .75rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: .25rem; }

.admin-main { flex: 1; min-width: 0; }
.admin-inner { max-width: 64rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
@media (min-width: 640px) { .admin-inner { padding: 2.5rem 2rem 4rem; } }

.admin-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.admin-head h1 { font-size: 1.9rem; }
.admin-head p { margin-top: .35rem; font-size: .9rem; color: var(--cocoa-500); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.panel h2 { font-size: 1.25rem; }

.stat { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; transition: transform .2s, box-shadow .2s; }
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.stat .n { display: block; font-family: var(--font-display); font-size: 2.25rem; color: var(--cocoa-900); line-height: 1.1; }
.stat .l { display: block; margin-top: .35rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .875rem; }
thead th { text-align: left; padding: .75rem 1rem; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cocoa-400); background: var(--cream-100); white-space: nowrap; }
tbody td { padding: .8rem 1rem; border-top: 1px solid var(--line-soft); vertical-align: middle; }
tbody tr:hover { background: var(--cream-50); }

.state { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; }
.state .dot { width: .4rem; height: .4rem; border-radius: 50%; }
.state.on { color: #2F5A38; } .state.on .dot { background: #3F7A4B; }
.state.off { color: var(--cocoa-400); } .state.off .dot { background: rgba(51,35,26,.25); }

.tag-featured { margin-left: .5rem; padding: .1rem .45rem; border-radius: 999px; background: rgba(210,167,92,.2); color: var(--gold-600); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }

.link-gold { color: var(--gold-600); font-size: .8rem; }
.link-gold:hover { text-decoration: underline; }

.msg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.msg.unread { border-color: rgba(185,138,60,.45); box-shadow: var(--shadow-soft); }
.msg-body { margin-top: .5rem; font-size: .9rem; color: var(--cocoa-600); white-space: pre-line; }
.msg-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }

.login-wrap { display: grid; place-items: center; min-height: 100vh; background: var(--cocoa-900); padding: 3rem 1.25rem; }
.login-card { width: 100%; max-width: 24rem; }
.login-card .box { background: var(--cream-50); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-lift); }
.login-logo { display: grid; place-items: center; margin-bottom: 2rem; }
.login-logo img { height: 6rem; width: auto; }

.sticky-save { position: sticky; bottom: 1rem; display: flex; justify-content: flex-end; }

.empty { padding: 3.5rem 1.5rem; text-align: center; border: 1px dashed rgba(51,35,26,.2); border-radius: var(--radius); background: rgba(255,255,255,.6); }

/* ------------------------------ animasyon --------------------------- */

@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fade-up .7s cubic-bezier(.22,1,.36,1) both; }
.delay-1 { animation-delay: .12s; }

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

/* -------------------------------- yardimci -------------------------- */

.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; } .mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; } .wrap { flex-wrap: wrap; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none; }
