/* Portakal Cafe Dijital Menü - Ana Stil Dosyası
   Mobil öncelikli, WCAG AA kontrast, CSP uyumlu (satır içi stil yok) */

/* Yazı tipleri: Lora + Source Sans 3 (değişken, OFL). Türkçe harfler (ş ğ İ ₺) latin-ext dosyasındadır. */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/lora-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: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/lora-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: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/source-sans-3-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: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/source-sans-3-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 {
  --bg-color: #F7F2EA;
  --bg-card: #FFFDF9;
  --bg-soft: #EFE7DB;
  --text-main: #2A211C;
  --text-muted: #6B6057;
  --accent-color: #D9601A;
  --accent-hover: #BF5416;
  --accent-ink: #B4500F;
  --accent-rgb: 217, 96, 26;
  --border-light: #DCD1C3;
  --border-subtle: #E8DFD3;
  --focus-ring: #B4500F;
  --star: #F2A516;
  --dark: #211B17;

  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --container-max: 1080px;
  --topbar-h: 64px;
  --shadow-sm: 0 1px 3px rgba(43, 38, 35, 0.08);
  --shadow-md: 0 8px 24px rgba(43, 38, 35, 0.12);
}

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

html {
  font-size: 16px;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-color);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.visually-hidden {
  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-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--dark);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.icon {
  flex-shrink: 0;
}

[hidden] {
  display: none !important;
}

/* ============ Butonlar ============ */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #FFFFFF;
  border: none;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
}

.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.98);
}

.btn-block {
  width: 100%;
}

/* ============ Karşılama Ekranı ============ */
.page-welcome {
  background-color: var(--bg-color);
}

.welcome {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.welcome-photo {
  position: relative;
  height: 42vh;
  height: 42svh;
  min-height: 220px;
  max-height: 420px;
  overflow: hidden;
  background: #3A2C24;
}

.welcome-slide {
  position: absolute;
  inset: 0;
  display: block;
}

.welcome-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.welcome-photo.is-slideshow .welcome-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.welcome-photo.is-slideshow .welcome-slide.is-active {
  opacity: 1;
}

/* Fotoğrafın alt kenarı kâğıda yumuşakça geçsin */
.welcome-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 36px;
  background: linear-gradient(180deg, rgba(247, 242, 234, 0) 0%, var(--bg-color) 100%);
}

.welcome-sheet {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 480px;
  margin: -64px auto 0;
  padding: 0 20px max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.welcome-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.brand-logo {
  height: auto;
}

.brand--welcome {
  width: min(320px, 82vw);
  filter: drop-shadow(0 3px 6px rgba(42, 33, 28, 0.18));
}

.welcome-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 7.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
}

.welcome-subtitle {
  margin-top: 6px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 34ch;
}

.welcome-cta {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 12px 20px;
  border-radius: var(--radius);
  background-color: var(--accent-color);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.welcome-cta:hover {
  background-color: var(--accent-hover);
}

.welcome-cta:active {
  transform: translateY(1px);
}

/* Seçenek listesi (Değerlendir, Wi-Fi, Ara...) */
.action-list {
  list-style: none;
  width: 100%;
  margin-top: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}

.action-list li + li {
  border-top: 1px solid var(--border-subtle);
}

.action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 10px 14px;
  background: none;
  border: none;
  color: var(--text-main);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.action-row:hover,
.action-row:active {
  background: #FAF5EE;
}

.action-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-ink);
}

.action-row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.action-row-label {
  font-weight: 700;
  font-size: 1rem;
}

.action-row-hint {
  font-size: 0.86rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.action-row > .icon-chevron {
  color: #B3A799;
}

.welcome-info {
  margin-top: 20px;
  display: grid;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.welcome-info p {
  display: block;
  line-height: 1.45;
}

.welcome-info .icon {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 6px;
}

@media (min-width: 900px) {
  .welcome {
    flex-direction: row;
  }

  .welcome-photo {
    flex: 1 1 55%;
    height: auto;
    max-height: none;
  }

  .welcome-photo::after {
    inset: 0 0 0 auto;
    width: 48px;
    height: auto;
    background: linear-gradient(90deg, rgba(247, 242, 234, 0) 0%, var(--bg-color) 100%);
  }

  .welcome-sheet {
    flex: 0 0 460px;
    margin: 0;
    padding: 48px 40px;
    justify-content: center;
  }
}

/* ---------- Karşılama: Tam ekran fotoğraf düzeni ---------- */
.welcome--tam {
  background-color: #1C1511;
}

.welcome--tam .welcome {
  position: relative;
  flex-direction: column;
  isolation: isolate;
}

.welcome--tam .welcome-photo {
  position: fixed;
  inset: 0;
  z-index: -1;
  height: 100%;
  max-height: none;
  min-height: 0;
}

.welcome--tam .welcome-photo img {
  object-position: center 55%;
}

.welcome--tam .welcome-photo::after {
  inset: 0;
  height: auto;
  width: auto;
  background: linear-gradient(180deg,
    rgba(28, 21, 17, 0.20) 0%,
    rgba(28, 21, 17, 0.30) 22%,
    rgba(28, 21, 17, 0.78) 46%,
    rgba(28, 21, 17, 0.93) 68%,
    rgba(28, 21, 17, 0.96) 100%);
}

/* Telefonda tam ekran düzende seçenekler kompakt kutular halinde */
@media (max-width: 899px) {
  .welcome--tam .action-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: none;
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  .welcome--tam .action-list li {
    flex: 1 1 28%;
    min-width: 0;
  }

  .welcome--tam .action-list li + li {
    border-top: none;
  }

  .welcome--tam .action-row {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 78px;
    height: 100%;
    padding: 10px 6px;
    text-align: center;
    background: rgba(28, 21, 17, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
  }

  .welcome--tam .action-row-icon {
    width: 32px;
    height: 32px;
  }

  .welcome--tam .action-row-text {
    align-items: center;
  }

  .welcome--tam .action-row-label {
    font-size: 0.84rem;
    line-height: 1.2;
  }

  .welcome--tam .action-row-hint,
  .welcome--tam .action-row > .icon-chevron {
    display: none;
  }
}

.welcome--tam .welcome-sheet {
  flex: 1;
  max-width: 460px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(28px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  justify-content: flex-end;
  color: #FFFFFF;
}

.welcome--tam .welcome-logo {
  margin-bottom: auto;
  padding-bottom: 32px;
}

.welcome--tam .brand--welcome {
  width: min(280px, 72vw);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

.welcome--tam .welcome-title {
  color: #FFFFFF;
}

.welcome--tam .welcome-subtitle {
  color: rgba(255, 255, 255, 0.82);
}

.welcome--tam .action-list {
  background: rgba(28, 21, 17, 0.74);
  border-color: rgba(255, 255, 255, 0.12);
}

.welcome--tam .action-list li + li {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.welcome--tam .action-row {
  color: #FFFFFF;
  min-height: 56px;
}

.welcome--tam .action-row:hover,
.welcome--tam .action-row:active {
  background: rgba(255, 255, 255, 0.06);
}

.welcome--tam .action-row-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #F6B27F;
}

.welcome--tam .action-row-hint {
  color: rgba(255, 255, 255, 0.66);
}

.welcome--tam .action-row > .icon-chevron {
  color: rgba(255, 255, 255, 0.45);
}

.welcome--tam .welcome-info {
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 900px) {
  .welcome--tam .welcome {
    flex-direction: column;
  }

  .welcome--tam .welcome-photo {
    flex: none;
  }

  .welcome--tam .welcome-photo::after {
    background: linear-gradient(90deg,
      rgba(28, 21, 17, 0.05) 0%,
      rgba(28, 21, 17, 0.25) 40%,
      rgba(28, 21, 17, 0.88) 72%,
      rgba(28, 21, 17, 0.94) 100%);
  }

  .welcome--tam .welcome-sheet {
    flex: none;
    width: 460px;
    margin: 0 6vw 0 auto;
    padding: 56px 0;
    justify-content: center;
  }

  .welcome--tam .welcome-logo {
    margin-bottom: 8px;
    padding-bottom: 16px;
  }
}

/* ============ Alt bilgi bağlantıları ============ */
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: #EDE6DD;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.footer-link:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

/* ============ Üst Çubuk ============ */
.menu-topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-subtle);
  padding-top: env(safe-area-inset-top);
}

.menu-topbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: var(--topbar-h);
  padding: 0 8px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
}

.menu-topbar-brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  height: 100%;
  text-decoration: none;
}

.menu-topbar-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: calc(100vw - 140px);
  object-fit: contain;
}

.icon-btn,
.icon-btn-spacer {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.icon-btn:hover,
.icon-btn[aria-expanded="true"] {
  background: var(--bg-soft);
}

.search-panel {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px 12px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 6px 0 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  color: var(--text-muted);
}

.search-field:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}

.search-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--text-main);
  outline: none;
}

.search-field input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-muted);
  cursor: pointer;
}

/* ============ Menü Başlığı (kapak + logo) ============ */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #3A2C24;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

/* Bilgisayarda kapak içerik genişliğinde: fotoğraf aşırı büyütülüp bulanıklaşmaz */
@media (min-width: 768px) {
  .hero-wrapper {
    width: calc(100% - 32px);
    max-width: calc(var(--container-max) - 32px);
    height: 260px;
    margin: 16px auto 0;
    border-radius: var(--radius);
  }
}

.menu-intro-body {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.menu-intro-body {
  padding-top: 16px;
}



.menu-intro-hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ============ Ana İçerik ============ */
.main-container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 14px 16px 48px;
  flex: 1;
}

.menu-notice {
  text-align: center;
  margin-bottom: 18px;
  padding: 10px 16px;
  background-color: var(--bg-soft);
  border-left: 3px solid var(--accent-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

/* Kategori sekmeleri - yatay kaydırmalı ve yapışkan */
.category-tabs-container {
  position: sticky;
  top: calc(var(--topbar-h) + env(safe-area-inset-top));
  z-index: 100;
  background-color: var(--bg-color);
  margin: 0 -16px 22px;
  padding: 0;
  border-bottom: 1px solid var(--border-subtle);
}

.category-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding: 0 16px;
  gap: 4px;
  list-style: none;
  padding: 0 16px;
  scrollbar-width: none;
}

.category-grid::-webkit-scrollbar {
  display: none;
}

/* Sağ kenarda hafif solma: şeridin kaydırılabildiğini belli eder */
.category-grid {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent 100%);
}

.category-grid li:last-child {
  padding-right: 28px;
}

.category-grid li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.category-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  margin: 0 8px;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--text-muted);
  min-height: 44px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.category-grid li:first-child .category-tab-btn {
  margin-left: 0;
}

.category-tab-btn:hover {
  color: var(--text-main);
}

.category-tab-btn.active,
.category-tab-btn[aria-selected="true"] {
  color: var(--text-main);
  border-bottom-color: var(--accent-color);
  font-weight: 700;
}

.active-category-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.menu-panel {
  display: none;
  scroll-margin-top: calc(var(--topbar-h) + 80px);
}

.menu-panel.active {
  display: block;
  animation: fade-in 0.25s ease both;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============ Ürün Kartları ============ */
.product-list {
  display: flex;
  flex-direction: column;
}

.product-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.product-card:first-child {
  padding-top: 4px;
}

.product-card:last-child {
  border-bottom: none;
}

.product-card.has-image {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.product-card.has-image:focus-visible {
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.product-body {
  flex: 1;
  min-width: 0;
}

.product-header-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-leader-dots {
  flex-grow: 1;
  border-bottom: 1px dotted #B0A79C;
  margin: 0 4px;
  min-width: 12px;
  transform: translateY(-4px);
}

.product-price {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--accent-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.product-soldout {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #8A2A1F;
  background: #F6E1DD;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.product-card.is-soldout .product-title,
.product-card.is-soldout .product-description {
  color: #9A928B;
}

.product-card.is-soldout .product-thumb img {
  filter: grayscale(1);
  opacity: 0.6;
}

.product-description {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-top: 4px;
}

/* Fotoğraflı kartlarda fiyat başlığın altına iner, metin sütunu daralmaz */
.product-card.has-image .product-header-line {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.product-card.has-image .product-leader-dots {
  display: none;
}

.product-card.has-image .product-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-thumb {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 640px) {
  .product-thumb {
    width: 112px;
    height: 112px;
  }
}

.product-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-main);
  white-space: nowrap;
}

.badge--yeni { background: #E3EEFB; color: #1D4F8C; }
.badge--sef { background: #FBEBDD; color: #8A4210; }
.badge--populer { background: #FFF2CC; color: #7A5300; }
.badge--vejetaryen { background: #E2F2E1; color: #2B6627; }
.badge--aci { background: #FBE1DE; color: #9C2B1F; }

.empty-category-msg {
  text-align: center;
  padding: 36px 20px;
  color: var(--text-muted);
  background-color: var(--bg-card);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
}

/* Arama sonuçları */
.search-results {
  margin-bottom: 24px;
}

.search-empty {
  color: var(--text-muted);
  padding: 20px 0;
}

.product-category-tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

/* Değerlendirme bağlantısı */
.rate-link {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-main);
  text-decoration: none;
}

.rate-link:hover {
  border-color: var(--border-light);
}

.rate-link .action-row-icon .icon {
  fill: currentColor;
}

.rate-link-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rate-link-text span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.rate-link > .icon-chevron {
  color: #B3A799;
}

/* ============ Alt Sayfa Diyalogları (Bottom Sheet) ============ */
.sheet {
  border: none;
  padding: 0;
  margin: auto auto 0;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  max-height: 92dvh;
  background: var(--bg-card);
  color: var(--text-main);
  border-radius: 20px 20px 0 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.sheet[open] {
  animation: sheet-up 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.sheet::backdrop {
  background: rgba(20, 13, 10, 0.55);
}

@keyframes sheet-up {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (min-width: 640px) {
  .sheet {
    margin: auto;
    border-radius: 20px;
  }
}

.sheet-body {
  position: relative;
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 22px calc(24px + env(safe-area-inset-bottom));
}

.sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
  cursor: pointer;
}

.sheet-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-color);
  margin-bottom: 12px;
}

.sheet-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 12px;
  padding-right: 40px;
}

/* Wi-Fi */
.sheet--wifi { max-width: 440px; }

.sheet--wifi .sheet-body { padding-top: 26px; }

.wifi-head {
  text-align: center;
  padding: 0 28px;
  margin-bottom: 18px;
}

.wifi-head .sheet-icon { margin-bottom: 10px; }

.wifi-head .sheet-title {
  padding-right: 0;
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wifi-lead {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.wifi-card {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: var(--bg-color);
  overflow: hidden;
}

.wifi-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
}

.wifi-row + .wifi-row { border-top: 1px solid var(--border-light); }

.wifi-field {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 3px;
}

.wifi-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wifi-value {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-main);
  overflow-wrap: anywhere;
}

.wifi-value--pass {
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums slashed-zero;
  letter-spacing: 0.04em;
  user-select: all;
  -webkit-user-select: all;
}

.wifi-value--open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2B6627;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-main);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.copy-btn--icon {
  width: 44px;
  padding: 0;
}

.copy-btn.is-copied {
  border-color: #2B6627;
  color: #2B6627;
  background: #EEF6EC;
}

.wifi-copy-main {
  margin-top: 14px;
  min-height: 52px;
  font-size: 1.05rem;
}

.wifi-copy-main.is-copied,
.wifi-copy-main.is-copied:hover {
  background-color: #2B6627;
}

.wifi-steps {
  list-style: none;
  counter-reset: wifi-step;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.wifi-steps li {
  counter-increment: wifi-step;
  position: relative;
  padding-left: 34px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-main);
}

.wifi-steps li::before {
  content: counter(wifi-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-ink, var(--accent-color));
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.wifi-steps strong { font-weight: 700; overflow-wrap: anywhere; }

.wifi-qr {
  margin-top: 18px;
  border-top: 1px solid var(--border-light);
}

.wifi-qr summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px 2px;
  cursor: pointer;
  list-style: none;
}

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

.wifi-qr summary:focus,
.wifi-qr summary:focus-visible { outline: none; }

.wifi-qr summary:focus-visible strong {
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
  text-underline-offset: 3px;
}

.wifi-qr summary span { display: grid; gap: 2px; }

.wifi-qr summary strong { font-size: 0.98rem; font-weight: 700; }

.wifi-qr summary small {
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.wifi-qr summary .icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.wifi-qr[open] summary .icon { transform: rotate(90deg); }

.wifi-qr-body {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 14px;
  text-align: center;
}

.wifi-qr-code {
  width: min(220px, 70vw);
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

.wifi-qr-svg { display: block; width: 100%; height: auto; }

.wifi-qr-body p {
  max-width: 300px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Ürün detayı */
.sheet--product .sheet-body {
  padding: 0 0 calc(24px + env(safe-area-inset-bottom));
}

.product-dialog-media {
  aspect-ratio: 1 / 1;
  max-height: 46vh;
  max-height: 46dvh;
  width: 100%;
  background: var(--bg-soft);
}

.product-dialog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-dialog-content {
  padding: 18px 22px 0;
}

.product-dialog-category {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sheet--product .sheet-title {
  padding-right: 0;
  margin-bottom: 8px;
}

.product-dialog-desc {
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 10px;
}

.product-dialog-price {
  margin-top: 14px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-ink);
}

body.has-open-sheet {
  overflow: hidden;
}

/* ============ Değerlendirme Sayfası ============ */
.feedback-container {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.feedback-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 26px 20px;
  box-shadow: var(--shadow-sm);
}

.feedback-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.2;
  text-align: center;
}

.feedback-intro {
  text-align: center;
  color: var(--text-muted);
  margin-top: 8px;
}

.feedback-form {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.form-error {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #FBE1DE;
  color: #8A2A1F;
  font-weight: 600;
  text-align: center;
}

.star-rating {
  border: none;
  text-align: center;
}

.star-rating legend {
  width: 100%;
  font-weight: 700;
  margin-bottom: 8px;
}

.req {
  color: var(--accent-color);
}

.star-rating-inputs {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 2px;
}

.star-rating-inputs input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.star-rating-inputs label {
  display: inline-flex;
  padding: 4px;
  color: #D7CFC5;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color 0.12s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.star-rating-inputs label .icon {
  fill: currentColor;
  stroke: none;
}

.star-rating-inputs input:checked ~ label,
.star-rating-inputs label:hover,
.star-rating-inputs label:hover ~ label {
  color: var(--star);
}

.star-rating-inputs input:checked + label {
  transform: scale(1.08);
}

.star-rating-inputs input:focus-visible + label {
  outline: 2px solid var(--focus-ring);
}

.star-rating-hint {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 1.4em;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 11px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-main);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 480px) {
  .field-row {
    grid-template-columns: 2fr 1fr;
  }
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.feedback-privacy {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.feedback-thanks {
  text-align: center;
}

.feedback-thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #E2F2E1;
  color: #2B6627;
  margin-bottom: 14px;
}

.feedback-thanks h1 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.feedback-thanks p {
  color: var(--text-muted);
}

.feedback-google {
  margin-top: 20px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  justify-items: center;
}

.feedback-google p {
  color: var(--text-main);
}

.feedback-thanks-actions {
  margin-top: 20px;
}

/* ============ Alt Bilgi ============ */
.site-footer {
  background-color: #2A211C;
  color: #CFC6BC;
  padding: 32px 20px calc(22px + env(safe-area-inset-bottom));
  font-size: 0.92rem;
  margin-top: auto;
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.footer-logo {
  width: 170px;
  height: auto;
  margin-bottom: 12px;
}

.footer-col p {
  line-height: 1.6;
}

.footer-col a {
  color: #F3B489;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-col .footer-link {
  color: #EDE6DD;
}

.footer-col .footer-link:hover {
  text-decoration: none;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 22px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: #9C9187;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
}

.footer-credit {
  color: #8A7F75;
}

.footer-credit a {
  color: #B9AEA3;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-credit a:hover {
  color: #EDE6DD;
  border-bottom-color: currentColor;
}

/* ============ Hata Sayfası ============ */
.error-container {
  max-width: 600px;
  margin: 80px auto;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  text-align: center;
}

.error-status {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.error-title {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.error-message {
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ============ Hareket Azaltma ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ Yazdırma ============ */
@media print {
  .menu-topbar, .menu-intro, .category-tabs-container, .site-footer,
  .btn-primary, .rate-link, .search-results, .sheet {
    display: none !important;
  }

  body {
    background-color: #FFFFFF !important;
    color: #000000 !important;
  }

  .menu-panel {
    display: block !important;
    break-after: page;
  }

  .product-price {
    color: #000000 !important;
  }
}
