@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext carries the Turkish letters ğ, ş, ı, İ */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-ext-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-ext-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/*
  Two themes, chosen by the visitor's device setting: dark is the default, light applies under
  prefers-color-scheme: light. The red is the same in both and matches the recolored logo.
  --vurgu is the frame, heading and price color: white on dark, near-black on light.
  Text sitting on red uses --kirmizi-ustu (white): dark text fell under 4.5:1 on this red.
*/
:root {
  color-scheme: dark;
  --sayfa: #0b0a09;
  --zemin: #151413;
  --zemin-koyu: #24221f;
  --zemin-acik: #0a0a09;
  --panel: #1b1a18;
  --yazi: #f5efe6;
  --soluk: #cfc7bb;
  --cizgi: #3d3934;
  --vurgu: #ffffff;
  --kirmizi: #d7382b;
  --kirmizi-koyu: #bf2d22;
  --kirmizi-ustu: #ffffff;
  --cubuk-dugme: #121110;
  --firca: #f5efe6;

  --baslik: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --govde: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --kenar: 1.1rem;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --sayfa: #e4d9c1;
    --zemin: #f4ecdc;
    --zemin-koyu: #e7dcc5;
    --zemin-acik: #fbf6ea;
    --panel: #f4ecdc;
    --yazi: #2a2118;
    --soluk: #5c5145;
    --cizgi: #cdbfa3;
    --vurgu: #1a1512;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* The default tap flash on phones is blue, which is not in the palette. */
  -webkit-tap-highlight-color: rgba(215, 56, 43, 0.2);
}

body {
  margin: 0;
  background: var(--sayfa);
  color: var(--yazi);
  font-family: var(--govde);
  font-size: 1.125rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--baslik);
  font-weight: 400;
}

p {
  margin: 0 0 1rem;
}

figure {
  margin: 0;
}

a {
  color: var(--vurgu);
  text-underline-offset: 0.15em;
}

button,
textarea,
select {
  font: inherit;
  color: inherit;
  border-radius: 0;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--vurgu);
  outline-offset: 3px;
}

.ust,
main,
.alt {
  max-width: 58rem;
  margin: 0 auto;
  padding-left: var(--kenar);
  padding-right: var(--kenar);
}

/* Header: logo centered, basket button on the right. */
.ust {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.logo {
  grid-column: 2;
  display: block;
  width: 9rem;
  height: auto;
}

.sepet-dugme {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 0.9rem;
  border: 1px solid var(--vurgu);
  background: transparent;
  color: var(--vurgu);
  font-size: 1.15rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sepet-dugme svg {
  width: 1.6rem;
  height: 1.6rem;
}

.sepet-dugme:hover,
.kapat:hover,
.adet button:hover,
.dugme-ikinci:hover {
  background: var(--zemin-koyu);
}

/* The page reads as a printed menu card inside a double frame. */
main {
  margin: 0 0.6rem;
  border: 4px double var(--vurgu);
  background: var(--zemin);
}

section {
  padding: 2.25rem 0;
}

section + section {
  border-top: 1px solid var(--cizgi);
}

/* Hero: the greeting in the serif, then "Pizza Aşktır" in brush lettering on a red block, as on the box. */
.giris {
  padding-top: 2rem;
  text-align: center;
}

h1 {
  font-size: 2rem;
  line-height: 1.15;
}

.hos {
  display: block;
}

.firca {
  display: block;
  width: calc(100% + 2 * var(--kenar));
  max-width: none;
  height: 13rem;
  margin: 1.25rem calc(-1 * var(--kenar)) 0;
  padding: 1.5rem 1.25rem;
  background: var(--kirmizi);
  object-fit: contain;
}

.selam {
  max-width: 48ch;
  margin: 1.6rem auto 0;
}

.siparis {
  display: grid;
  gap: 0.75rem;
  max-width: 22rem;
  margin: 1.5rem auto 0.25rem;
}

.dugme {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--yazi);
  background: transparent;
  color: var(--yazi);
  font-family: var(--govde);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.dugme-ana,
.dugme-wa {
  border-color: var(--kirmizi);
  background: var(--kirmizi);
  color: var(--kirmizi-ustu);
}

.dugme-ana:hover,
.dugme-wa:hover {
  border-color: var(--kirmizi-koyu);
  background: var(--kirmizi-koyu);
}

button.dugme:disabled {
  border-style: dashed;
  border-color: var(--yazi);
  background: var(--zemin-koyu);
  color: var(--yazi);
  cursor: not-allowed;
}

/* Section headings: small spaced capitals between two rules. */
h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
  color: var(--vurgu);
}

h2::before,
h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--vurgu);
}

.foto-sira {
  display: grid;
  gap: 1.25rem;
}

.foto {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 0.35rem;
  border: 1px solid var(--vurgu);
  background: var(--zemin-acik);
  object-fit: cover;
}

figcaption {
  margin-top: 0.7rem;
  font-family: var(--baslik);
  font-size: 1.35rem;
  font-weight: 600;
  text-align: center;
}

/* Menu */

.menu-aciklama {
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.fiyat-tarihi {
  margin: 0;
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  color: var(--soluk);
}

h3 {
  margin: 2.5rem 0 0.25rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--vurgu);
  border-bottom: 1px solid var(--vurgu);
  font-size: 1.5rem;
  text-align: center;
  color: var(--vurgu);
}

.urunler,
.sepet-liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.urun,
.sepet-satir {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--cizgi);
}

.urun-ust {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.urun-foto {
  flex: none;
  width: 6.75rem;
  height: 6.75rem;
  padding: 0.2rem;
  border: 1px solid var(--cizgi);
  background: var(--zemin-acik);
  object-fit: cover;
}

.urun-ad {
  margin: 0;
  font-family: var(--baslik);
  font-size: 1.3rem;
  font-weight: 600;
}

.urun-aciklama {
  margin: 0.1rem 0 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--soluk);
}

.boy,
.sepet-satir-ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.boy {
  margin-top: 0.6rem;
}

/* A dotted leader runs from the size name to the price, as on a printed menu. */
.boy-etiket {
  display: flex;
  flex: 1;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
}

.boy-etiket::after {
  content: "";
  order: 1;
  flex: 1;
  border-bottom: 1px dotted var(--soluk);
}

.boy-ad {
  font-weight: 600;
}

.boy-fiyat {
  order: 2;
  font-family: var(--baslik);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--vurgu);
}

.adet {
  display: flex;
  flex: none;
  align-items: center;
}

.adet button {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--yazi);
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
}

.adet output {
  min-width: 2.5rem;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Info list and footer */

dl {
  max-width: 40rem;
  margin: 0 auto;
}

dl > div {
  padding: 0.85rem 0;
  border-top: 1px solid var(--cizgi);
}

dl > div:last-child {
  border-bottom: 1px solid var(--cizgi);
}

dt {
  font-family: var(--baslik);
  font-size: 1.1rem;
  color: var(--vurgu);
}

dd {
  margin: 0.15rem 0 0;
}

.alt {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
}

.alt p:last-child {
  margin: 0.25rem 0 0;
}

.isim {
  margin: 0;
  font-family: var(--baslik);
  font-size: 1.5rem;
  color: var(--kirmizi);
}

.telefon {
  margin: 0.25rem 0 0;
  font-size: 1rem;
}

.telefon a {
  font-weight: 600;
  white-space: nowrap;
}

/*
  The sepet is a full-screen dialog over the menu. While it is open the page behind must not
  scroll: overflow: hidden alone still lets scripts and iOS touch drags move it, so the body is
  pinned; siparis.js sets its top to minus the scroll position and restores it on close.
*/
.sepet-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--panel);
  color: var(--yazi);
}

.sepet-panel[hidden] {
  display: none;
}

/* Focus lands on the dialog itself only by script, when it opens; a ring around the whole screen says nothing. */
.sepet-panel:focus {
  outline: none;
}

html.panel-acik {
  overflow: hidden;
}

html.panel-acik body {
  position: fixed;
  left: 0;
  right: 0;
}

.sepet-ic {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 var(--kenar) calc(2rem + env(safe-area-inset-bottom));
}

.sepet-ust {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem 0 0.75rem;
  border-bottom: 4px double var(--vurgu);
  background: var(--panel);
}

.sepet-ust h2 {
  display: block;
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-align: left;
}

.sepet-ust h2::before,
.sepet-ust h2::after {
  display: none;
}

.kapat {
  flex: none;
  min-height: 3rem;
  padding: 0 1.1rem;
  border: 1px solid var(--yazi);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#sepet-bos {
  margin-bottom: 1.5rem;
}

.sepet-satir-ust {
  gap: 0.75rem;
}

.sepet-foto {
  flex: none;
  align-self: flex-start;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.15rem;
  border: 1px solid var(--cizgi);
  background: var(--zemin-acik);
  object-fit: cover;
}

.sepet-satir-yazi {
  flex: 1;
  min-width: 0;
}

.sepet-satir-yazi p {
  margin: 0;
}

.sepet-satir-ad {
  font-weight: 600;
}

.sepet-satir-ayrinti {
  font-size: 0.95rem;
  color: var(--soluk);
}

.sepet-satir-tutar {
  white-space: nowrap;
  font-weight: 600;
  color: var(--vurgu);
}

/* Per-pizza choices: a native details element, closed until the customer asks for it. */
.secenek {
  margin-top: 0.7rem;
}

.secenek summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.secenek summary::-webkit-details-marker {
  display: none;
}

.secenek summary::before {
  content: "+";
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--yazi);
  font-size: 1.2rem;
  line-height: 1.45rem;
  text-align: center;
}

.secenek[open] summary::before {
  content: "\2212";
}

.secenek fieldset {
  margin: 0.6rem 0 0;
  padding: 0.6rem 0 0;
  border: 0;
  border-top: 1px solid var(--cizgi);
}

.secenek legend {
  float: left;
  width: 100%;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.secenek-liste {
  clear: both;
  padding-top: 0.3rem;
}

.tik {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  cursor: pointer;
}

.tik input {
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  margin: 0;
  accent-color: var(--kirmizi);
}

.tik-ad {
  flex: 1;
}

.tik-fiyat {
  white-space: nowrap;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.toplam {
  margin: 1.25rem 0 0;
  font-family: var(--baslik);
  font-size: 1.35rem;
}

.toplam strong {
  font-weight: 600;
  color: var(--vurgu);
}

.gizlilik,
.gonder-notu {
  font-size: 0.95rem;
}

.alanlar {
  margin: 1.5rem 0;
}

.alanlar label {
  display: block;
  margin: 1rem 0 0.3rem;
  font-weight: 600;
}

.mahalle-secim {
  margin-top: 0;
}

.mahalle-secim label {
  margin-top: 0;
}

.mahalle-bilgi {
  margin: 0.6rem 0 0;
  font-weight: 600;
  color: var(--vurgu);
}

.mahalle-yok {
  margin-top: 0.9rem;
}

.mahalle-yok .dugme {
  display: block;
}

.bolge {
  margin: 0 0 0.5rem;
}

.bolge:last-child {
  margin-bottom: 0;
}

textarea,
select {
  display: block;
  width: 100%;
  padding: 0.7rem;
  border: 1px solid var(--yazi);
  background: var(--zemin-acik);
  color: var(--yazi);
}

textarea {
  resize: vertical;
}

select {
  min-height: 3rem;
}

.gizlilik {
  margin: 0.6rem 0 0;
}

.uyari {
  padding: 0.8rem 1rem;
  border: 2px solid var(--kirmizi);
  font-weight: 600;
}

.gonder-notu {
  margin: 0.6rem 0 1.5rem;
}

/* Sticky bar, shown whenever the sepet has items. */
.sepet-cubuk {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem var(--kenar) calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--kirmizi);
  color: var(--kirmizi-ustu);
}

.sepet-cubuk[hidden] {
  display: none;
}

.sepet-cubuk p {
  margin: 0;
  font-size: 1rem;
}

.sepet-cubuk button {
  flex: none;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 0;
  background: var(--cubuk-dugme);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sepet-cubuk button:focus-visible {
  outline-color: var(--kirmizi-ustu);
}

body.cubuk-acik {
  padding-bottom: 5rem;
}

/* Marks content that still has to be supplied. Nothing with this class should survive to launch. */
.eksik {
  outline: 2px dashed var(--kirmizi);
  outline-offset: 2px;
}

@media (min-width: 34rem) {
  .foto-sira {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 34rem) {
  .secenek-liste {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}

@media (min-width: 52rem) {
  :root {
    --kenar: 2.5rem;
  }

  main {
    margin: 0 auto;
  }

  .logo {
    width: 11rem;
  }

  section {
    padding: 3.25rem 0;
  }

  .giris {
    padding-top: 3rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  .firca {
    height: 19rem;
    padding: 2.25rem;
  }

  .urun-foto {
    width: 7rem;
    height: 7rem;
  }

  .urunler {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }

  dl > div {
    display: grid;
    grid-template-columns: 14rem 1fr;
    gap: 1rem;
  }

  dd {
    margin: 0;
  }
}
