/* ═══════════════════════════════════════════════════════════════════════════
   AYVAZ OTEL — QR Menü
   TEMA: Beyaz + Bordo (ferah zemin, güçlü bordo vurgular)
   Renkleri değiştirmek için yalnızca bu :root bloğunu düzenlemeniz yeterlidir.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  /* Bordo skalası */
  --wine-950: #421019;
  --wine-900: #5e1522;
  --wine-800: #7c1b2d;
  --wine-700: #99263b;
  --wine-100: #f7e3e6;
  --wine-50: #fbf0f1;

  /* Zemin — beyaz ve sıcak kırık beyazlar */
  --paper: #fdfcfa;
  --paper-warm: #f7f3ec;
  --white: #ffffff;
  --line: #eae2d6;
  --line-soft: #f1ebe1;

  /* Metin */
  --ink: #262120;
  --ink-soft: #6f6560;
  --on-dark: #fbf4ee;
  --on-dark-soft: #ecd9d5;

  /* Durum renkleri */
  --warn: #a4491f;
  --warn-bg: #faeadd;
  --green-ok: #2c6b40;
  --green-ok-bg: #e7f2e8;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --shadow-card: 0 2px 12px rgba(66, 16, 25, 0.07), 0 1px 3px rgba(66, 16, 25, 0.05);
  --shadow-lift: 0 12px 32px rgba(66, 16, 25, 0.14);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;

  --content-width: 880px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  margin: 0;
}

p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  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;
  top: -48px;
  left: 12px;
  z-index: 100;
  background: var(--wine-900);
  color: var(--on-dark);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--wine-700);
  outline-offset: 2px;
}

.app {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* ═══ KAPAK — tam ekran bordo karşılama ═════════════════════════════════════ */
.cover {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 235, 230, 0.12) 0%, transparent 55%),
    radial-gradient(100% 80% at 50% 110%, rgba(40, 8, 14, 0.85) 0%, transparent 60%),
    linear-gradient(170deg, var(--wine-800) 0%, var(--wine-900) 45%, var(--wine-950) 100%);
  color: var(--on-dark);
  overflow: hidden;
}

.cover::after {
  /* çok hafif doku */
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(251, 244, 238, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.cover-lang {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: 22px;
  z-index: 3;
}

.cover-frame {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  border: 1px solid rgba(251, 244, 238, 0.45);
  border-radius: 4px;
  padding: 10px;
  animation: coverIn 0.9s ease both;
}

.cover-inner {
  border: 1px solid rgba(251, 244, 238, 0.22);
  border-radius: 2px;
  padding: clamp(36px, 9vw, 72px) clamp(20px, 6vw, 56px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cover-logo {
  font-size: clamp(2rem, 8.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-right: -0.18em;
  color: var(--white);
  line-height: 1.15;
}

.cover-logo-img {
  max-height: 96px;
}

.cover-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  color: var(--on-dark-soft);
}

.cover-welcome {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(251, 244, 238, 0.85);
  max-width: 40ch;
}

.cover-cta {
  margin-top: 10px;
  padding: 14px 42px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--white);
  color: var(--wine-900);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cover-cta:hover,
.cover-cta:focus-visible {
  background: var(--wine-950);
  color: var(--white);
  transform: translateY(-1px);
}

.cover-scrollhint {
  position: absolute;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  color: rgba(251, 244, 238, 0.55);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: floatY 2.6s ease-in-out infinite;
}

.cover-scrollhint span {
  margin-right: -0.25em;
}

@keyframes coverIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ═══ MENÜ ANA ALANI ════════════════════════════════════════════════════════ */
.menu-main {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 16px 40px;
  scroll-margin-top: 0;
}

@media (min-width: 1120px) {
  .menu-main {
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-card);
    padding: 0 40px 48px;
    margin-top: -24px;
    position: relative;
    z-index: 2;
  }
}

.menu-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px 10px;
}

.menu-topbar-brand {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--wine-900);
}

/* Yapışkan sekme + arama alanı */
.menu-sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 -16px;
  padding: 8px 16px 10px;
  background: rgba(253, 252, 250, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1120px) {
  .menu-sticky {
    margin: 0 -40px;
    padding: 10px 40px 12px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}

/* Kategori sekmeleri */
.category-tabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 8px;
  -webkit-overflow-scrolling: touch;
}

.category-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.86rem;
  white-space: nowrap;
  /* Not: color geçişi bilinçli olarak yok — koyu zemine dönerken yazı
     bir an kaybolmasın diye renk anında değişir. */
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* Not: :not(.category-tab-active) şart — dokunmatik cihazlarda hover takılı
   kalır ve aktif (bordo) sekmede yazıyı bordoya çevirip görünmez yapardı. */
.category-tab:hover:not(.category-tab-active) {
  border-color: var(--wine-700);
  color: var(--wine-800);
}

.category-tab-active {
  background: var(--wine-800);
  border-color: var(--wine-800);
  color: var(--white);
}

@media (min-width: 900px) {
  .category-tabs-scroll {
    flex-wrap: wrap;
    overflow: visible;
  }
}

/* Arama ve filtre çubuğu */
.filterbar-row {
  display: flex;
  gap: 8px;
}

.searchbox {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.searchbox-icon {
  position: absolute;
  left: 13px;
  color: var(--ink-soft);
  pointer-events: none;
}

.searchbox input {
  width: 100%;
  padding: 11px 38px 11px 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 16px; /* iOS zoom engelleme */
  color: var(--ink);
  font-family: inherit;
}

.searchbox input::placeholder {
  color: var(--ink-soft);
}

.searchbox input:focus {
  outline: 2px solid var(--wine-700);
  outline-offset: 1px;
}

.searchbox-clear {
  position: absolute;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: var(--paper-warm);
  color: var(--ink);
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.86rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.filter-toggle-active {
  border-color: var(--wine-700);
  background: var(--wine-50);
  color: var(--wine-800);
}

.filter-count {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--wine-800);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
}

.chevron-up {
  transform: rotate(180deg);
}

/* Favori filtresi — arama satırında kalp pili */
.fav-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--wine-700);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.fav-filter-on {
  background: var(--wine-800);
  border-color: var(--wine-800);
  color: var(--white);
}

.fav-filter-count {
  position: absolute;
  top: -5px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--wine-900);
  color: var(--white);
  font-size: 0.64rem;
  font-weight: 700;
}

.filter-toggle svg {
  transition: transform 0.2s ease;
}

/* Filtre paneli */
.filter-panel {
  margin-top: 10px;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 14px;
  max-height: min(58dvh, 480px);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: panelIn 0.22s ease both;
}

.filter-panel[hidden] {
  display: none;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.filter-group {
  border: none;
  margin: 0;
  padding: 0;
}

.filter-group legend {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--wine-900);
  padding: 0 0 8px;
}

.filter-hint {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.82rem;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.chip-small {
  padding: 5px 11px;
  font-size: 0.78rem;
}

.chip:hover {
  border-color: var(--wine-700);
}

.chip-active {
  background: var(--wine-800);
  border-color: var(--wine-800);
  color: var(--white);
}

.chip-active-warn {
  background: var(--warn);
  border-color: var(--warn);
  color: #fff;
}

.allergen-mode {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.filter-panel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.filter-apply {
  margin-left: auto;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background: var(--wine-800);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.filter-apply:hover {
  background: var(--wine-900);
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 30;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--wine-800);
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 8px 22px rgba(66, 16, 25, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
  animation: riseIn 0.3s ease both;
}

.back-to-top:hover {
  background: var(--wine-900);
  transform: translateY(-2px);
}

.filter-clear {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  background: var(--paper-warm);
  color: var(--ink);
  font-size: 0.82rem;
}

/* ═══ BÖLÜM BAŞLIKLARI ══════════════════════════════════════════════════════ */
.section-title {
  font-size: clamp(1.35rem, 4.5vw, 1.7rem);
  color: var(--wine-900);
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--wine-700);
}

.section-title-gold {
  color: var(--wine-800);
}

.menu-section {
  margin-top: 34px;
}

.menu-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.menu-section-count {
  font-size: 0.8rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ═══ ÖNE ÇIKANLAR ══════════════════════════════════════════════════════════ */
.featured {
  margin-top: 26px;
}

.featured-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 300px);
  gap: 14px;
  overflow-x: auto;
  padding: 16px 2px 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.featured-scroll::-webkit-scrollbar {
  display: none;
}

.featured-scroll > * {
  scroll-snap-align: start;
}

@media (min-width: 900px) {
  .featured-scroll {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    overflow: visible;
  }
}

/* ═══ ÜRÜN KARTLARI ═════════════════════════════════════════════════════════ */
.product-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

/* Favori kalbi — metin kartlarında sade, fotoğraflı kartlarda beyaz baloncuk */
.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: rgba(111, 101, 96, 0.55);
  transition: color 0.2s ease, transform 0.15s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.product-card:has(.product-image) .fav-btn {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
}

.product-card-featured .fav-btn {
  color: rgba(251, 244, 238, 0.7);
}

.product-card-featured .fav-btn.fav-btn-on {
  color: var(--amber);
}

.fav-btn:active {
  transform: scale(0.88);
}

.fav-btn-on {
  color: var(--wine-700);
  border-color: rgba(153, 38, 59, 0.45);
}

.fav-btn-inline {
  position: static;
  width: 36px;
  height: 36px;
  flex: none;
}

/* Detay panelindeki kalp — fiyat satırının sağında, çerçeveli */
.fav-btn-sheet {
  position: static;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
}

.fav-btn-sheet.fav-btn-on {
  color: var(--wine-700);
  border-color: rgba(153, 38, 59, 0.4);
}

/* Fotoğrafsız detayda içerik, kapatma düğmesinin altından başlasın */
.sheet:not(:has(.product-image)) .sheet-body {
  padding-top: 58px;
}

.sheet-priceline {
  align-items: center;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(124, 27, 45, 0.35);
}

.product-card-button {
  display: flex;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  align-items: stretch;
}

/* Mobil: yatay kompakt kart */
.product-card-button .product-image {
  flex: 0 0 108px;
  min-height: 128px;
}

.product-card-body {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* Geniş ekran: dikey dergi kartı */
@media (min-width: 640px) {
  .product-card-button {
    flex-direction: column;
  }

  .product-card-button .product-image {
    flex: none;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .product-card-body {
    padding: 14px 16px 16px;
  }
}

/* Öne çıkan kartlar her zaman dikey */
.product-card-featured .product-card-button {
  flex-direction: column;
}

.product-card-featured .product-card-button .product-image {
  flex: none;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.product-card-featured {
  border-color: rgba(124, 27, 45, 0.3);
}

.product-card-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 4px;
}

/* Menü satırı düzeni: ad …… fiyat (katalogla aynı dil) */
.product-card-namerow {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-card-dots {
  flex: 1;
  min-width: 18px;
  border-bottom: 1px dotted rgba(124, 27, 45, 0.35);
  transform: translateY(-4px);
}

/* Fotoğrafsız kartta kalp ile çakışmayı önle */
.product-card:not(:has(.product-image)) .product-card-body > :first-child {
  padding-right: 38px;
}

.product-card-name {
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
}

.product-card-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card-price {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--wine-800);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.product-card-allergen-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--warn);
}

.product-card-warning {
  border-color: rgba(164, 73, 31, 0.5);
}

.product-card-unavailable {
  opacity: 0.62;
}

.product-card-unavailable:hover {
  transform: none;
}

/* ═══ GÖRSELLER / PLACEHOLDER ═══════════════════════════════════════════════ */
.product-image {
  position: relative;
  overflow: hidden;
  background: var(--paper-warm);
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: none;
}

@keyframes imgIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.image-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--paper-warm) 40%, #efe8db 50%, var(--paper-warm) 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

@keyframes shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -80% 0;
  }
}

.image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    radial-gradient(90% 90% at 50% 10%, rgba(124, 27, 45, 0.06) 0%, transparent 60%),
    linear-gradient(160deg, #faf6f0, #f1e9dd);
  color: var(--wine-800);
}

.image-placeholder::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(124, 27, 45, 0.18);
  border-radius: 6px;
  pointer-events: none;
}

.image-placeholder-ring {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(124, 27, 45, 0.4);
  border-radius: 50%;
  background: var(--white);
}

.product-image-large .image-placeholder-ring {
  width: 84px;
  height: 84px;
}

.image-placeholder-note {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  margin-right: -0.18em;
  text-transform: uppercase;
  color: rgba(124, 27, 45, 0.55);
}

/* ═══ ROZETLER ══════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1.4;
  border: 1px solid transparent;
  white-space: nowrap;
}

.badge-diet {
  background: var(--paper-warm);
  color: var(--ink);
  border-color: var(--line);
}

.badge-green {
  background: var(--green-ok-bg);
  color: var(--green-ok);
  border-color: rgba(44, 107, 64, 0.25);
}

.badge-featured {
  background: var(--wine-50);
  color: var(--wine-800);
  border-color: rgba(124, 27, 45, 0.35);
  font-weight: 600;
}

.badge-unavailable {
  background: var(--warn-bg);
  color: var(--warn);
}

.badge-popular {
  background: var(--wine-800);
  color: var(--white);
  font-weight: 600;
}

.badge-new {
  background: var(--green-ok-bg);
  color: var(--green-ok);
  border-color: rgba(44, 107, 64, 0.3);
  font-weight: 600;
}

.product-card-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.badge-allergen {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  padding-left: 4px;
}

.badge-allergen-hl {
  background: var(--warn-bg);
  border-color: var(--warn);
  color: var(--warn);
  font-weight: 600;
}

.allergen-dot {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--wine-800);
  color: var(--white);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex: none;
}

.spice {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #c2451d;
}

.spice-none {
  font-size: 0.72rem;
  color: var(--ink-soft);
}

/* ═══ SONUÇ YOK ═════════════════════════════════════════════════════════════ */
.no-results {
  margin: 48px auto;
  text-align: center;
  max-width: 40ch;
}

.no-results p:first-child {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--wine-900);
}

.no-results-hint {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ═══ ÜRÜN DETAY SHEET / MODAL ══════════════════════════════════════════════ */
.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(38, 12, 17, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: overlayIn 0.28s ease both;
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.sheet {
  position: relative;
  width: 100%;
  max-height: 94dvh;
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -12px 40px rgba(38, 12, 17, 0.3);
  display: flex;
  flex-direction: column;
  animation: sheetUp 0.42s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}

@keyframes sheetUp {
  from {
    transform: translateY(40px);
    opacity: 0.6;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@media (min-width: 700px) {
  .sheet-overlay {
    align-items: center;
    padding: 32px;
  }

  .sheet {
    max-width: 560px;
    max-height: 86dvh;
    border-radius: var(--radius-lg);
  }
}

.sheet-handle {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: rgba(38, 33, 32, 0.25);
  z-index: 2;
}

@media (min-width: 700px) {
  .sheet-handle {
    display: none;
  }
}

.sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--wine-900);
  transition: background 0.2s ease;
}

.sheet-close:hover {
  background: var(--paper-warm);
}

.sheet-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: inherit;
}

.sheet .product-image {
  aspect-ratio: 16 / 10;
}

/* Fotoğraf yokken detaydaki görsel alanı kompakt kalır */
.sheet .product-image:has(.image-placeholder) {
  aspect-ratio: 16 / 6;
}

.sheet .product-image:has(.image-placeholder) .image-placeholder-ring {
  width: 56px;
  height: 56px;
}

.sheet-body {
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sheet-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sheet-toprow-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sheet-toprow-side {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* "Bununla iyi gider" öneri kartları */
.pairs-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pair-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pair-card:hover {
  border-color: rgba(124, 27, 45, 0.45);
  transform: translateY(-1px);
}

.pair-name {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.pair-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wine-800);
  font-variant-numeric: tabular-nums;
}

.sheet-title {
  font-size: 1.5rem;
  color: var(--wine-900);
  line-height: 1.25;
}

.sheet-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.sheet-priceline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sheet-price {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--wine-800);
}

.sheet-meta {
  display: flex;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.sheet-unavailable {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 0.86rem;
}

.sheet-section h3 {
  font-size: 1rem;
  color: var(--wine-900);
  margin-bottom: 7px;
}

.sheet-section p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.sheet-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sheet-crosscontam {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 9px;
  font-size: 0.78rem !important;
  color: var(--warn) !important;
}

.sheet-crosscontam svg {
  flex: none;
  margin-top: 2px;
}

.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
}

.nutrition-grid > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  text-align: center;
}

.nutrition-grid dt {
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.nutrition-grid dd {
  margin: 3px 0 0;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--wine-900);
}

/* ═══ ALERJEN BİLGİLENDİRME ═════════════════════════════════════════════════ */
.allergen-info {
  margin-top: 48px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.allergen-info-text {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.allergen-legend {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 9px;
}

.allergen-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
}

.allergen-info-warning {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.82rem;
  color: var(--warn);
}

.allergen-info-warning svg {
  flex: none;
  margin-top: 2px;
}

/* ═══ İLETİŞİM ══════════════════════════════════════════════════════════════ */
.contact {
  margin-top: 40px;
}

.contact-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(124, 27, 45, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.contact-card svg {
  color: var(--wine-800);
}

.contact-label {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-value {
  font-size: 0.95rem;
}

.contact-hint {
  font-size: 0.78rem;
  color: var(--wine-800);
}

.contact-card-static {
  cursor: default;
}

.contact-card-static:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}

.contact-hour em {
  font-style: normal;
  font-weight: 600;
  color: var(--wine-900);
  margin-right: 6px;
}

/* ── Google yorum daveti ── */
.review-card {
  margin-top: 40px;
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 235, 230, 0.1) 0%, transparent 55%),
    linear-gradient(165deg, var(--wine-800), var(--wine-900));
  color: var(--on-dark);
}

.review-card h2 {
  font-size: 1.3rem;
  color: var(--white);
}

.review-card p {
  margin: 10px auto 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 44ch;
  color: var(--on-dark-soft);
}

.review-cta {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--white);
  color: var(--wine-900);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.review-cta:hover {
  transform: translateY(-2px);
}

.footer-note-dim {
  opacity: 0.65;
  font-size: 0.78rem;
}

/* ═══ ALT BİLGİ ═════════════════════════════════════════════════════════════ */
.footer {
  margin-top: auto;
  background: var(--wine-950);
  color: var(--on-dark-soft);
  text-align: center;
  padding: 28px 20px calc(30px + env(safe-area-inset-bottom));
}

.footer-divider {
  width: 60px;
  height: 1px;
  margin: 0 auto 18px;
  background: linear-gradient(90deg, transparent, rgba(251, 244, 238, 0.7), transparent);
}

.footer-note {
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-note-gold {
  color: var(--white);
  font-weight: 600;
}

.footer-copy {
  margin-top: 14px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding-left: 0.06em;
  opacity: 0.7;
}

/* ═══ DİL SEÇİCİ ════════════════════════════════════════════════════════════ */
.lang-switch {
  display: inline-flex;
  align-items: center;
}

.lang-switch-item {
  display: inline-flex;
  align-items: center;
}

.lang-switch-sep {
  width: 1px;
  height: 13px;
  background: currentColor;
  opacity: 0.35;
  margin: 0 2px;
}

.lang-switch-btn {
  background: none;
  border: none;
  padding: 6px 8px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: inherit;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.lang-switch-btn:hover {
  opacity: 0.85;
}

.lang-switch-active {
  opacity: 1;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: currentColor;
}

.cover .lang-switch {
  color: var(--on-dark);
}

.menu-topbar .lang-switch {
  color: var(--wine-900);
}

/* ═══ KAPAK AKSİYONLARI ═════════════════════════════════════════════════════ */
.cover-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.cover-actions .cover-cta {
  margin-top: 0;
  min-width: 220px;
}

.cover-cta-ghost {
  border-color: rgba(251, 244, 238, 0.5);
  background: none;
  font-size: 0.88rem;
  font-weight: 400;
  padding: 11px 32px;
  color: var(--on-dark);
}

.cover-cta-ghost:hover,
.cover-cta-ghost:focus-visible {
  background: rgba(251, 244, 238, 0.12);
  color: var(--white);
  transform: none;
}

.menu-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border: 1px solid var(--wine-800);
  border-radius: 999px;
  background: var(--wine-800);
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
}

.catalog-open-btn:hover {
  background: var(--wine-900);
}

/* ═══ KATALOG MODU — tam ekran sayfa kaydırmalı menü ═══════════════════════ */
.catalog {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  animation: sheetUp 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.catalog-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  background: linear-gradient(180deg, rgba(253, 252, 250, 0.96), rgba(253, 252, 250, 0));
}

.catalog-brand {
  font-family: var(--font-serif);
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: var(--wine-900);
}

.catalog-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-listbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--wine-800);
  font-size: 0.78rem;
  box-shadow: var(--shadow-card);
}

.catalog-closebtn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

.catalog-scroll {
  flex: 1;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.catalog-scroll::-webkit-scrollbar {
  display: none;
}

.catalog-page {
  height: 100%;
  min-height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 74px 18px 86px;
  position: relative;
}

/* Sayfalar arasında zarif ayrım */
.catalog-page-category:nth-child(even) {
  background: var(--paper-warm);
}

/* Kapak sayfası — bordo panel */
.catalog-page-cover {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 235, 230, 0.1) 0%, transparent 55%),
    linear-gradient(170deg, var(--wine-800) 0%, var(--wine-900) 45%, var(--wine-950) 100%);
  color: var(--on-dark);
}

.catalog-page-cover ~ .catalog-topbar .catalog-brand {
  color: var(--white);
}

.catalog-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  width: min(480px, 100%);
  border: 1px solid rgba(251, 244, 238, 0.5);
  border-radius: 4px;
  padding: clamp(40px, 10vh, 80px) 24px;
  position: relative;
}

.catalog-cover::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(251, 244, 238, 0.25);
  border-radius: 2px;
  pointer-events: none;
}

.catalog-cover .cover-est,
.catalog-cover .cover-divider {
  color: var(--on-dark-soft);
}

.catalog-cover-logo {
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-right: -0.18em;
  color: var(--white);
}

.catalog-cover-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--on-dark-soft);
}

.catalog-cover-subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-transform: uppercase;
  color: rgba(251, 244, 238, 0.8);
}

.catalog-cover-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(251, 244, 238, 0.7);
  animation: floatY2 2.6s ease-in-out infinite;
}

@keyframes floatY2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Kategori sayfaları */
.catalog-body {
  width: min(560px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catalog-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.catalog-header-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(124, 27, 45, 0.4);
  border-radius: 50%;
  background: var(--white);
  color: var(--wine-800);
}

.catalog-header-title {
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 600;
  color: var(--wine-900);
  letter-spacing: 0.04em;
}

.catalog-header-rule {
  width: 130px;
  height: 2px;
  border-radius: 2px;
  background: var(--wine-700);
}

.catalog-items {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  min-height: 0;
}

/* Taşma göstergesi: liste kaydırılabilirse altta zarif bir solma */
.catalog-items::after {
  content: '';
  position: sticky;
  bottom: 0;
  display: block;
  flex: none;
  height: 26px;
  margin-top: -26px;
  background: linear-gradient(transparent, var(--paper));
  pointer-events: none;
}

.catalog-page-category:nth-child(even) .catalog-items::after {
  background: linear-gradient(transparent, var(--paper-warm));
}

/* Kompakt düzen: çok ürünlü kategoriler (içecekler) tek sayfaya sığar */
.catalog-items-compact {
  gap: 0;
}

.catalog-items-compact .catalog-item {
  padding: 7px 10px;
}

.catalog-items-compact .catalog-item-desc {
  display: none;
}

.catalog-items-compact .catalog-item-name {
  font-size: 1rem;
}

.catalog-items-compact .catalog-item-meta:empty {
  display: none;
}

.catalog-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 10px;
  color: inherit;
  transition: background 0.18s ease;
}

.catalog-item:hover:not(:disabled),
.catalog-item:focus-visible {
  background: var(--wine-50);
}

.catalog-item:disabled {
  opacity: 0.55;
  cursor: default;
}

.catalog-item-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.catalog-item-namerow {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.catalog-item-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--ink);
}

.catalog-item-star {
  color: var(--wine-700);
  flex: none;
}

.catalog-item-dots {
  flex: 1;
  min-width: 20px;
  border-bottom: 1px dotted rgba(124, 27, 45, 0.4);
  transform: translateY(-4px);
}

.catalog-item-price {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--wine-800);
  white-space: nowrap;
}

.catalog-item-desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.catalog-item-spice {
  display: inline-flex;
  gap: 1px;
  color: #c2451d;
  margin-right: 3px;
}

.catalog-allergen {
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 3px;
  border: 1px solid rgba(124, 27, 45, 0.45);
  border-radius: 50%;
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--wine-800);
  background: var(--white);
}

.catalog-item-unavailable {
  font-size: 0.7rem;
  color: var(--warn);
}

.catalog-page-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

.catalog-page-footer span {
  margin-right: -0.2em;
}

/* Bilgi sayfası */
.catalog-info {
  align-items: stretch;
  overflow-y: auto;
}

.catalog-info .allergen-info {
  margin-top: 0;
  padding: 18px 16px;
}

/* Katalog bilgi sayfasında alerjen listesi iki sütun ve kompakt */
.catalog-info .allergen-legend {
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
}

.catalog-info .allergen-legend li {
  font-size: 0.78rem;
}

.catalog-info .allergen-info-text {
  font-size: 0.82rem;
}

.catalog-info-notes {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.7;
  display: grid;
  gap: 4px;
}

.catalog-info-notes .footer-note-gold {
  color: var(--wine-800);
}

.catalog-info .cover-cta {
  align-self: center;
  background: var(--wine-800);
  border-color: var(--wine-800);
  color: var(--white);
}

.catalog-info .cover-cta:hover {
  background: var(--wine-900);
}

/* Alt gezinme */
.catalog-nav {
  position: absolute;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-card);
}

.catalog-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--wine-50);
  color: var(--wine-800);
  transition: background 0.2s ease;
}

.catalog-arrow:hover:not(:disabled) {
  background: var(--wine-100);
}

.catalog-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.catalog-pageno {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  min-width: 90px;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM EDİTORYAL KATMAN
   Sinematik kapak, scroll-reveal, lüks vitrin kartları, katalog animasyonları.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  /* Bordo panolar üzerindeki sıcak altın vurgu — yalnızca koyu zeminde */
  --amber: #d9b36a;
  --amber-soft: #ecd3a3;
  --font-display-alt: 'Cormorant Garamond', Georgia, serif;
}

/* İnce film greni — sayfaya dokunsal, basılı bir his verir */
.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Scroll-reveal ── */
/* A visible fallback; the reveal hook animates individual cards and headings. */
.reveal,
.reveal-in {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Kart sarmalayıcıları grid hücresini doldursun */
.product-grid > .reveal,
.featured-scroll > .reveal {
  display: grid;
}

.product-grid > .reveal > .product-card,
.featured-scroll > .reveal > .product-card {
  height: 100%;
}

/* ── Sinematik kapak koreografisi ── */
.cover-inner > * {
  opacity: 0;
  animation: riseIn 0.9s cubic-bezier(0.22, 0.9, 0.3, 1) forwards;
}

.cover-inner > :nth-child(1) { animation-delay: 0.25s; }
.cover-inner > :nth-child(2) { animation-delay: 1.2s; }
.cover-inner > :nth-child(3) { animation-delay: 1.4s; }
.cover-inner > :nth-child(4) { animation-delay: 1.6s; }

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cover-logo {
  animation: riseIn 0.9s cubic-bezier(0.22, 0.9, 0.3, 1) 0.45s forwards,
    trackIn 1.6s cubic-bezier(0.22, 0.9, 0.3, 1) 0.45s forwards;
}

@keyframes trackIn {
  from {
    letter-spacing: 0.34em;
  }
  to {
    letter-spacing: 0.18em;
  }
}

.cover-divider span {
  transform: scaleX(0);
  animation: lineGrow 1.1s ease 0.9s forwards;
}

@keyframes lineGrow {
  to {
    transform: scaleX(1);
  }
}

.cover-welcome {
  font-family: var(--font-display-alt);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.6;
  max-width: 34ch;
}

/* ── Bölüm başlıkları ── */
.section-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--wine-700);
  margin-bottom: 6px;
}

.section-title {
  font-weight: 700;
  text-wrap: balance;
}

/* ── Vitrin: Şefin Önerileri — koyu bordo lüks panolar ── */
.featured-scroll {
  grid-auto-columns: min(82%, 320px);
}

.product-card-featured {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(217, 179, 106, 0.12) 0%, transparent 55%),
    linear-gradient(165deg, var(--wine-800) 0%, var(--wine-900) 55%, var(--wine-950) 100%);
  border: 1px solid rgba(217, 179, 106, 0.4);
  box-shadow: 0 14px 34px rgba(66, 16, 25, 0.28);
}

.product-card-featured:hover {
  border-color: rgba(217, 179, 106, 0.75);
  box-shadow: 0 20px 44px rgba(66, 16, 25, 0.36);
}

.product-card-featured .product-image {
  background: transparent;
}

.product-card-featured .image-placeholder {
  background:
    radial-gradient(90% 90% at 50% 12%, rgba(217, 179, 106, 0.16) 0%, transparent 60%),
    transparent;
  color: var(--amber);
}

.product-card-featured .image-placeholder::after {
  border-color: rgba(217, 179, 106, 0.3);
}

.product-card-featured .image-placeholder-ring {
  background: transparent;
  border-color: rgba(217, 179, 106, 0.6);
  box-shadow: 0 0 0 6px rgba(217, 179, 106, 0.08);
}

.product-card-featured .image-placeholder-note {
  color: rgba(236, 211, 163, 0.6);
}

.product-card-featured .product-card-name {
  font-size: 1.3rem;
  color: var(--white);
}

.product-card-featured .product-card-desc {
  font-family: var(--font-display-alt);
  font-style: italic;
  font-size: 1rem;
  color: rgba(251, 244, 238, 0.82);
  -webkit-line-clamp: 3;
}

.product-card-featured .product-card-price {
  color: var(--amber);
  font-size: 1.2rem;
}

.product-card-featured .product-card-dots {
  border-bottom-color: rgba(217, 179, 106, 0.45);
}

/* Fotoğrafsız vitrin panosu: metin nefes alsın */
.product-card-featured:not(:has(.product-image)) .product-card-body {
  padding: 22px 20px 24px;
  gap: 9px;
}

.product-card-featured .badge-featured {
  background: transparent;
  border-color: rgba(217, 179, 106, 0.6);
  color: var(--amber-soft);
}

.product-card-featured .badge-diet {
  background: rgba(251, 244, 238, 0.08);
  border-color: rgba(251, 244, 238, 0.22);
  color: rgba(251, 244, 238, 0.85);
}

.product-card-featured .badge-green {
  background: rgba(231, 242, 232, 0.12);
  border-color: rgba(231, 242, 232, 0.3);
  color: #cfe6d2;
}

.product-card-featured .spice {
  color: var(--amber);
}

.product-card-featured .product-card-body {
  padding: 16px 18px 20px;
}

/* ── Kart mikro-etkileşimleri ── */
.product-card {
  will-change: auto;
}

.product-card-button:active {
  transform: scale(0.988);
}

.product-card .product-card-price {
  position: relative;
}

.product-card .product-card-price::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-price::after {
  transform: scaleX(1);
}

.image-placeholder-ring {
  transition: transform 0.45s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.product-card:hover .image-placeholder-ring {
  transform: scale(1.08) rotate(3deg);
}

.product-card-name {
  font-weight: 600;
}

.product-card-desc {
  color: #7d726c;
}

/* ── Sekmeler ── */
.category-tab {
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.category-tab:active {
  transform: scale(0.96);
}

/* Yumuşak, pile sarılan hale — köşeli leke bırakmaz */
.category-tab-active {
  box-shadow: 0 8px 18px -8px rgba(66, 16, 25, 0.55);
}

/* ── Ürün detayı ── */
.sheet-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-wrap: balance;
}

.sheet-desc {
  font-family: var(--font-display-alt);
  font-style: italic;
  font-size: 1.1rem;
  color: #6d615b;
}

.sheet-price {
  font-variant-numeric: tabular-nums;
}

/* ── Katalog: basılı lüks menü hissi ── */
.catalog-page {
  background-image: radial-gradient(140% 100% at 50% 0%, rgba(124, 27, 45, 0.035) 0%, transparent 55%);
}

.catalog-page-cover {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 235, 230, 0.1) 0%, transparent 55%),
    linear-gradient(170deg, var(--wine-800) 0%, var(--wine-900) 45%, var(--wine-950) 100%);
}

.catalog-ordinal {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  color: rgba(124, 27, 45, 0.55);
}

.catalog-header-title {
  font-weight: 700;
  text-wrap: balance;
}

/* Catalog entrance motion */
.catalog-li {
  opacity: 1;
  transform: none;
  transition: none;
}

.page-active .catalog-li {
  animation: menuTextIn 0.58s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.page-active .catalog-header-title,
.page-active .catalog-header-icon {
  animation: menuTextIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.catalog-header-rule { transform-origin: center; }
.page-active .catalog-header-rule { animation: lineGrow 0.65s ease both; }

@keyframes menuTextIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.catalog-item-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.catalog-item-desc {
  font-family: var(--font-display-alt);
  font-style: italic;
  font-size: 0.95rem;
  color: #75695f;
}

.catalog-item-price {
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
}

.catalog-cover .catalog-cover-tagline {
  font-family: var(--font-display-alt);
  font-size: 1.4rem;
}

/* ── Alt bilgi zarafeti ── */
.footer-note {
  font-family: var(--font-display-alt);
  font-size: 0.95rem;
}

/* ── AYVAZ PARK HOTEL amblemi ── */
.brand-logo {
  color: inherit;
  display: block;
}

.bl-amark path {
  fill: currentColor;
}

.bl-stars path,
.bl-star {
  fill: currentColor;
}

.bl-word {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 20.5px;
  letter-spacing: 3.6px;
  fill: currentColor;
}

.bl-hotel {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 5.5px;
  fill: currentColor;
}

.bl-rule {
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.85;
}

/* Kapakta amblemin sinematik belirişi */
.brand-logo-animated .bl-monogram-group,
.brand-logo-animated .bl-word,
.brand-logo-animated .bl-hotel-group {
  opacity: 0;
  animation: riseIn 0.8s cubic-bezier(0.22, 0.9, 0.3, 1) forwards;
}

.brand-logo-animated .bl-monogram-group {
  animation-delay: 0.45s;
}

.brand-logo-animated .bl-word {
  animation-delay: 0.85s;
}

.brand-logo-animated .bl-hotel-group {
  animation-delay: 1s;
}

/* Not: yıldızlar SVG transform özniteliğiyle konumlandığı için yalnızca
   opacity animasyonu kullanılır (CSS transform animasyonu konumu ezerdi). */
.brand-logo-animated .bl-stars path {
  opacity: 0;
  animation: starFade 0.5s ease forwards;
}

@keyframes starFade {
  to {
    opacity: 1;
  }
}

.brand-logo-animated .bl-stars path:nth-child(1) {
  animation-delay: 0.65s;
}

.brand-logo-animated .bl-stars path:nth-child(2) {
  animation-delay: 0.75s;
}

.brand-logo-animated .bl-stars path:nth-child(3) {
  animation-delay: 0.85s;
}

.cover-logo-wrap {
  display: flex;
  justify-content: center;
}

.menu-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.menu-topbar-brand .brand-logo {
  flex: none;
}

.brand-text {
  white-space: nowrap;
  font-size: 0.92rem;
}

@media (max-width: 479px) {
  .menu-topbar .brand-text,
  .catalog-topbar .brand-text {
    display: none;
  }
}

.catalog-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MENÜ LİSTESİ — düz, ferah, çizgi ayraçlı lüks menü düzeni
   (Kutulu kart görünümü yerine; fotoğraf varsa satırın sağında yuvarlatılmış
   küçük görsel belirir — fotoğrafsızken tamamen tipografik kalır.)
   ═══════════════════════════════════════════════════════════════════════════ */
.product-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-grid .product-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  border-bottom: 1px solid var(--line-soft);
  overflow: visible;
}

.product-grid .product-card:hover {
  transform: none;
  box-shadow: none;
  background: rgba(124, 27, 45, 0.025);
}

.product-grid > .reveal:last-child > .product-card {
  border-bottom: none;
}

.product-grid .product-card-button {
  flex-direction: row-reverse;
  align-items: center;
  gap: 16px;
}

.product-grid .product-card-button .product-image {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 12px;
  overflow: hidden;
  align-self: center;
  margin-right: 2px;
}

.product-grid .product-card-body {
  padding: 15px 2px;
  gap: 5px;
}

/* Etiketler sessiz metadata olarak */
.product-card-tags .badge {
  background: var(--paper-warm);
  border: none;
  color: var(--ink-soft);
  font-size: 0.68rem;
  padding: 2.5px 8px;
}

.product-card-tags .badge-green {
  background: var(--green-ok-bg);
  color: var(--green-ok);
}

.product-grid .product-card-desc {
  font-size: 0.84rem;
}

.product-grid .fav-btn {
  top: 12px;
  right: 0;
}

.product-grid .product-card:has(.product-image) .fav-btn {
  top: 10px;
  right: 6px;
}

/* ═══ HAREKET AZALTMA ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="full"]) { scroll-behavior: auto; }
  html:not([data-motion="full"]) *,
  html:not([data-motion="full"]) *::before,
  html:not([data-motion="full"]) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
html[data-motion="reduce"] { scroll-behavior: auto; }
html[data-motion="reduce"] *,
html[data-motion="reduce"] *::before,
html[data-motion="reduce"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  animation-delay: 0ms !important;
  transition-duration: 0.01ms !important;
  transition-delay: 0ms !important;
}
.cover-preferences { display: flex; align-items: center; gap: 16px; }
.motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 36px;
  min-height: 36px;
  padding: 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 0.7rem;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.motion-toggle[aria-pressed="true"], .motion-toggle:hover { opacity: 1; }
.motion-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.menu-topbar .motion-toggle span { display: none; }

.image-unavailable {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 12px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  text-align: center;
}
