/* Tema renkleri <head> içinde admin panelindeki ayarlardan yazılır */
:root {
  --site-primary: #2F5D46;
  --site-on-primary: #FFFFFF;
  --site-accent: #C8577A;
  --site-bg: #FBFBF8;
  --site-ink: #1F2923;
}

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

body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-ink);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--site-primary); outline-offset: 2px; }

.container { max-width: 72rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; }

.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--site-ink) 12%, transparent);
}
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.logo img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.logo span { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.01em; }
.phone { font-size: .9rem; text-decoration: none; }
.phone:hover { text-decoration: underline; }

.tagline { margin: 2.5rem 0 0; max-width: 32rem; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; font-weight: 650; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chip {
  padding: .4rem 1rem; border-radius: 999px; font-size: .9rem; text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--site-ink) 18%, transparent);
}
.chip.is-active { background: var(--site-primary); color: var(--site-on-primary); border-color: var(--site-primary); }

.grid {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; gap: 2.5rem 1.25rem; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.product-image {
  aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden;
  background: color-mix(in srgb, var(--site-ink) 6%, transparent);
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product h2 { margin: .75rem 0 0; font-size: 1rem; font-weight: 550; }
.price-row { display: flex; align-items: center; gap: .5rem; margin-top: .25rem; }
.price { font-weight: 650; color: var(--site-primary); }
.badge { font-size: .75rem; font-weight: 600; color: var(--site-accent); }

.empty { margin-top: 4rem; opacity: .65; }

.whatsapp {
  position: fixed; right: 1.25rem; bottom: 1.25rem;
  padding: .75rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem;
  background: var(--site-primary); color: var(--site-on-primary);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--site-ink) 25%, transparent);
}
