/* Cevizdibi QR menü
   Renkler logodaki adaçayı yeşilinden, yazı karakterleri basılı menüdeki
   geniş aralıklı geometrik harflerden türetildi. */

@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(../fonts/jost-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(../fonts/jost-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/newsreader-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/newsreader-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/newsreader-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/newsreader-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f5f5f0;
  --paper-2: #ebece4;
  --ink: #262920;
  --muted: #64675a;
  --sage: #959686;
  --sage-deep: #4f5345;
  --line: #dcddd2;
  --on-dark: #eeefe8;
  --on-dark-muted: #b9bbad;

  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --pad: clamp(20px, 6vw, 40px);
  --col: 44rem;
  --nav-h: 52px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 2px; }

.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  text-decoration: none; border-radius: 4px;
}
.skip:focus { top: 12px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  height: min(60svh, 600px);
  color: var(--on-dark);
  background: #2c2a22;
  overflow: hidden;
  isolation: isolate;
}
.hero picture, .hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero__img { object-fit: cover; object-position: 50% 62%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 45%, rgba(26, 27, 21, .25), rgba(26, 27, 21, .7)),
    linear-gradient(180deg, rgba(26, 27, 21, .15) 55%, rgba(26, 27, 21, .55));
}
.hero__inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px var(--pad) 36px;
}
.hero__logo {
  width: clamp(104px, 30vw, 140px); height: auto;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 12px 32px rgba(0, 0, 0, .28);
}
.hero__title {
  margin-top: 14px;
  font-weight: 300;
  font-size: clamp(4rem, 21vw, 7rem);
  line-height: .95;
  letter-spacing: .01em;
  text-transform: lowercase;
}
.hero__tagline {
  max-width: 24ch;
  margin-top: 10px;
  font: italic 400 clamp(1.05rem, 4.4vw, 1.3rem)/1.4 var(--serif);
  color: var(--on-dark);
  opacity: .9;
  text-wrap: balance;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: hero-settle 1.6s var(--ease) both; }
  .hero__inner > * { animation: hero-rise .9s var(--ease) both; }
  .hero__inner > :nth-child(2) { animation-delay: .12s; }
  .hero__inner > :nth-child(3) { animation-delay: .24s; }
}
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Kategori çubuğu ---------- */

.catnav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 245, 240, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.catnav__bar {
  display: flex; align-items: stretch;
  max-width: 1160px;
  margin: 0 auto;
  height: var(--nav-h);
}
.catnav__scroller {
  flex: 1; min-width: 0;
  display: flex; align-items: stretch;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-left: calc(var(--pad) - 12px);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.catnav__scroller::-webkit-scrollbar { display: none; }
.catnav__scroller > :first-child { margin-left: auto; }
.catnav__scroller > :last-child { margin-right: auto; padding-right: 28px; }
.catnav__link {
  position: relative;
  display: flex; align-items: center;
  padding: 0 12px;
  white-space: nowrap;
  font-size: .97rem; font-weight: 450;
  letter-spacing: .01em;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.catnav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px;
  background: var(--sage-deep);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.catnav__link:hover { color: var(--ink); }
.catnav__link.is-active { color: var(--ink); }
.catnav__link.is-active::after { transform: none; }
.catnav__link:focus-visible { outline-offset: -6px; }

.catnav__search, .search__close {
  flex: none;
  display: grid; place-items: center;
  width: 52px; height: var(--nav-h);
  padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--ink);
}
.catnav__search { border-left: 1px solid var(--line); margin-right: calc(var(--pad) - 16px); }
.catnav__search svg, .search__close svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round;
  transition: transform .15s;
}
.catnav__search:active svg, .search__close:active svg { transform: scale(.9); }

.search {
  display: flex; align-items: center;
  max-width: calc(var(--col) + 2 * var(--pad));
  margin: 0 auto;
  height: var(--nav-h);
  padding-left: var(--pad);
  padding-right: calc(var(--pad) - 16px);
}
.search[hidden] { display: none; }
.catnav.is-searching .catnav__bar { display: none; }
.search input {
  flex: 1; min-width: 0; height: 40px;
  border: 0; border-bottom: 1px solid var(--sage);
  border-radius: 0;
  background: transparent;
  font: 400 1.0625rem var(--sans); /* 16px+ iOS'ta yakınlaştırmayı engeller */
  color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:focus { outline: none; border-bottom-color: var(--ink); }
.search input::-webkit-search-cancel-button { display: none; }

/* ---------- Menü ---------- */

.menu {
  max-width: calc(var(--col) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad) 72px;
}
.menu:focus { outline: none; }
/* Arama sonuçları kısa olsa da çubuk ekranın üstünde kalsın. */
.catnav.is-searching + .menu { min-height: calc(100svh - var(--nav-h)); }

.cat { padding-top: 56px; }
.cat[hidden] { display: none; }
.cat__head { margin-bottom: 18px; }
.leaf {
  width: 22px; height: 28px; margin-bottom: 10px;
  fill: none; stroke: var(--sage); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.cat__title {
  font-weight: 300;
  font-size: clamp(2.4rem, 11vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: lowercase;
  text-wrap: balance;
}
.cat__tagline {
  margin-top: 8px;
  font: italic 400 1.0625rem/1.45 var(--serif);
  color: var(--muted);
}

.item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 20px;
  align-items: baseline;
  padding: 18px 0 19px;
  border-top: 1px solid var(--line);
}
.item[hidden] { display: none; }
.item--compact { padding: 13px 0 14px; }
.item__name {
  grid-column: 1;
  font-size: 1.0625rem; font-weight: 500; line-height: 1.35;
  letter-spacing: .005em;
  overflow-wrap: anywhere;
}
.item__price {
  grid-column: 2; grid-row: 1;
  font-size: 1.0625rem; font-weight: 500; line-height: 1.35;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
  text-align: right;
}
.item__desc {
  grid-column: 1;
  margin-top: 4px;
  max-width: 38em;
  font: 400 1.0625rem/1.5 var(--serif);
  color: var(--muted);
  overflow-wrap: anywhere;
}

.variants {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
  margin-top: 10px;
}
.variants li { display: flex; align-items: baseline; gap: 8px; min-height: 28px; }
.variants__label { color: var(--muted); font-size: .97rem; white-space: nowrap; }
.variants__dots { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--sage); transform: translateY(-4px); }
.variants__price { font-weight: 500; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
@media (max-width: 359px) {
  .variants { grid-template-columns: 1fr; }
}

/* Fotoğraflı ürün: küçük görsel solda */
.item--photo { grid-template-columns: 72px minmax(0, 1fr) auto; }
.item--photo .item__photo { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
.item--photo .item__name, .item--photo .item__desc { grid-column: 2; }
.item--photo .item__price { grid-column: 3; }
.item--photo .variants { grid-column: 2 / -1; }
.item__photo {
  width: 72px; height: 72px; padding: 0; border: 0; border-radius: 4px;
  overflow: hidden; cursor: zoom-in; background: var(--paper-2);
}
.item__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.item__photo:hover img { transform: scale(1.03); }

.search-empty, .menu-empty {
  padding: 48px 0 8px;
  font: italic 400 1.125rem/1.5 var(--serif);
  color: var(--muted);
}
.search-empty button {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 0;
  border: 0; background: none; cursor: pointer;
  font: 500 1rem var(--sans); color: var(--ink);
  text-decoration: underline; text-underline-offset: 4px;
}

/* ---------- Alt bilgi ---------- */

.foot { background: var(--ink); color: var(--on-dark); }
.foot__inner {
  max-width: calc(var(--col) + 2 * var(--pad));
  margin: 0 auto;
  padding: 48px var(--pad) calc(40px + env(safe-area-inset-bottom));
}
.foot__note {
  padding-bottom: 28px; margin-bottom: 32px;
  border-bottom: 1px solid rgba(238, 239, 232, .16);
  font: italic 400 1.0625rem/1.5 var(--serif);
  color: var(--on-dark-muted);
}
.foot__title {
  font-weight: 300; font-size: 2.2rem; line-height: 1.1;
  text-transform: lowercase;
  margin-bottom: 18px;
}
.contact div {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(238, 239, 232, .1);
}
.contact dt { color: var(--on-dark-muted); font-size: .95rem; padding-top: 2px; }
.contact dd { font-size: 1.0625rem; line-height: 1.5; overflow-wrap: anywhere; }
.contact a {
  display: inline-flex; align-items: center; min-height: 32px;
  color: var(--on-dark);
  text-decoration: underline; text-decoration-color: rgba(238, 239, 232, .35);
  text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: text-decoration-color .2s;
}
.contact a:hover { text-decoration-color: currentColor; }
.foot :focus-visible { outline-color: var(--on-dark); }
.foot__copy { margin-top: 36px; color: var(--on-dark-muted); font-size: .875rem; }

@media (max-width: 380px) {
  .contact div { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Fotoğraf penceresi ---------- */

.photo {
  width: min(92vw, 720px); max-height: 90svh; padding: 0; border: 0;
  background: #111; overflow: hidden; border-radius: 6px;
}
.photo::backdrop { background: rgba(20, 21, 16, .78); }
.photo__img { width: 100%; height: auto; max-height: 90svh; object-fit: contain; }
.photo__close {
  position: absolute; top: 8px; right: 8px;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(20, 21, 16, .6); color: #fff; cursor: pointer;
}
.photo__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* ---------- Geniş ekran ---------- */

@media (min-width: 900px) {
  :root { --nav-h: 58px; }
  .hero { height: min(64vh, 640px); }
  .cat { padding-top: 80px; }
  .cat__head { margin-bottom: 24px; }
  .item { padding: 22px 0 23px; }
  .item--compact { padding: 15px 0 16px; }
  .catnav__link { padding: 0 16px; }
  .catnav__link::after { left: 16px; right: 16px; }
}

@media print {
  .catnav, .hero, .skip { display: none; }
  .foot { background: none; color: var(--ink); }
}
