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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  padding-inline: 16px;
  padding-block: 16px 28px;
}
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }

.card {
  max-width: 980px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

/* ---------- Üst şerit ---------- */
.head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 20px;
}
.id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.photo {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--accent-soft);
  color: var(--photo-fg);
}
.photo svg, .photo img { display: block; width: 100%; height: 100%; }
.photo img { object-fit: cover; }
.who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 6.5vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.range { font-size: 0.95rem; font-weight: 500; color: var(--muted); }

.contact { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.k { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.v {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  user-select: all;
}
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: 600 0.92rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--off); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
.btn.primary:hover { filter: brightness(1.08); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---------- Bölümler ---------- */
.cols { display: grid; grid-template-columns: minmax(0, 1fr); }
.sec {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Pazarlar ---------- */
.days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.days li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.dayname { font-size: 0.8rem; font-weight: 700; color: var(--accent); }
.mkt { font-size: 0.95rem; font-weight: 700; line-height: 1.3; }

/* ---------- Ürünler ---------- */
.prods { display: flex; flex-direction: column; gap: 16px; }
.prod { display: flex; flex-direction: column; gap: 8px; }
.prod-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
}
.name-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}
.season { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.m {
  display: grid;
  place-items: center;
  height: 24px;
  border-radius: 5px;
  background: var(--off);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
}
.m.on { background: var(--accent); color: var(--accent-on); }
.m.now { outline: 2px solid var(--ink); outline-offset: 1px; }

/* ---------- Galeri ---------- */
.slider { position: relative; }
.track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 14px; }
.slide {
  flex: 0 0 76%;
  min-width: 0;
  scroll-snap-align: start;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--accent-soft);
  color: var(--photo-fg);
  font-size: 0.85rem;
  font-weight: 600;
}
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}
.nav.prev { left: 8px; }
.nav.next { right: 8px; }
.nav:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}
.dot.on { background: var(--accent); width: 22px; border-radius: 4px; }

[data-zoom] { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.82);
  cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }

@media (min-width: 760px) {
  .head { padding: 26px 32px; }
  .photo { width: 96px; height: 96px; border-radius: 26px; }
  .id { gap: 22px; }
  .contact { align-items: flex-end; text-align: right; }
  .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cols .sec + .sec { border-left: 1px solid var(--line); }
  .sec { padding: 24px 32px; }
  .slide { flex-basis: calc((100% - 24px) / 3); }
}

@media (max-width: 380px) {
  .head, .sec { padding-inline: 16px; }
  .btn { padding-inline: 14px; }
}
