:root {
      --ink: #1a1814;
      --ink-soft: #3d3830;
      --glass: rgba(255, 252, 247, 0.42);
      --glass-edge: rgba(255, 255, 255, 0.55);
      --cta: #2c2a27;
      --muted: rgba(26, 24, 20, 0.55);
      --card-w: min(78vw, 340px);
      --radius: 36px;
    }

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

    html, body {
      height: 100%;
      overflow: hidden;
      font-family: "Outfit", sans-serif;
      color: var(--ink);
      -webkit-font-smoothing: antialiased;
    }

    body {
      background: #1a1410;
    }

    .stage {
      position: relative;
      height: 100%;
      min-height: 100dvh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .bg {
      position: absolute;
      inset: 0;
      background-image: url("assets/bg-cafe.png");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      z-index: 0;
      transform: scale(1.02);
    }

    .bg::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        180deg,
        rgba(62, 39, 35, 0.18) 0%,
        rgba(40, 28, 18, 0.08) 45%,
        rgba(30, 20, 14, 0.28) 100%
      );
    }

    .brand {
      position: absolute;
      top: max(14px, env(safe-area-inset-top));
      left: 0;
      right: 0;
      z-index: 5;
      text-align: center;
      pointer-events: none;
    }

    .brand span {
      font-family: "Cormorant Garamond", serif;
      font-weight: 600;
      font-size: 0.85rem;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: rgba(255, 248, 240, 0.88);
      text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
    }

    .cats {
      position: fixed;
      top: max(40px, calc(env(safe-area-inset-top) + 32px));
      left: 50%;
      transform: translateX(-50%);
      z-index: 50;
      display: flex;
      gap: 3px;
      padding: 3px;
      border-radius: 999px;
      background: rgba(255, 252, 247, 0.34);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.4);
      box-shadow: 0 6px 18px rgba(20, 12, 6, 0.16);
      max-width: calc(100% - 12px);
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      overscroll-behavior-x: contain;
      -webkit-tap-highlight-color: transparent;
    }

    .stage.is-builder-open .cats {
      top: max(8px, env(safe-area-inset-top));
    }

    .cats::-webkit-scrollbar { display: none; }

    .cat-btn {
      border: none;
      background: transparent;
      color: rgba(26, 24, 20, 0.7);
      font-family: "Outfit", sans-serif;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.03em;
      padding: 8px 10px;
      min-height: 36px;
      border-radius: 999px;
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.25s, color 0.25s;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
    }

    .cat-btn.is-on {
      background: rgba(44, 42, 39, 0.92);
      color: #f8f4ee;
    }

    .cat-btn:hover:not(.is-on) {
      background: rgba(255, 255, 255, 0.35);
    }

    .carousel-wrap {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 560px;
      padding: 88px 0 max(118px, calc(env(safe-area-inset-bottom) + 96px));
    }

    .carousel {
      display: flex;
      gap: 18px;
      padding: 12px calc((100% - var(--card-w)) / 2);
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      cursor: grab;
    }

    .carousel:active { cursor: grabbing; }
    .carousel::-webkit-scrollbar { display: none; }

    .card {
      flex: 0 0 var(--card-w);
      scroll-snap-align: center;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      height: min(68dvh, 560px);
      max-height: 560px;
      padding: 18px 20px 18px;
      border-radius: var(--radius);
      background: var(--glass);
      backdrop-filter: blur(22px) saturate(1.25);
      -webkit-backdrop-filter: blur(22px) saturate(1.25);
      border: 1px solid var(--glass-edge);
      box-shadow:
        0 24px 48px rgba(20, 12, 6, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
      transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
      opacity: 1;
      transform: scale(0.92);
      overflow: hidden;
    }

    .card.is-active {
      opacity: 1;
      transform: scale(1);
    }

    .card:not(.is-active) {
      opacity: 0.85;
    }

    .card-top {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 4px;
      flex-shrink: 0;
      position: relative;
      z-index: 4;
    }

    .icon-btn {
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      border: none;
      background: transparent;
      color: var(--ink-soft);
      cursor: pointer;
      border-radius: 50%;
      transition: background 0.2s;
    }

    .icon-btn:hover { background: rgba(255, 255, 255, 0.35); }

    .icon-btn svg {
      width: 20px;
      height: 20px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.6;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .card-title {
      font-family: "Cormorant Garamond", serif;
      font-weight: 700;
      font-size: clamp(1.7rem, 6vw, 2.15rem);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      text-align: center;
      line-height: 1.1;
      margin: 2px 0 8px;
      color: var(--ink);
      position: relative;
      z-index: 4;
      flex-shrink: 0;
    }

    .card-campaign {
      display: flex;
      align-items: center;
      justify-content: center;
      width: calc(100% + 40px);
      margin: 0 -20px 12px;
      padding: 0.55rem 1rem;
      font-family: "Outfit", sans-serif;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: #fffaf3;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
      background: repeating-linear-gradient(
          -45deg,
          rgba(255, 255, 255, 0.08) 0 8px,
          transparent 8px 16px
        ),
        linear-gradient(90deg, #7a1f18 0%, #d44a2a 45%, #e8a04a 50%, #d44a2a 55%, #7a1f18 100%);
      background-size: auto, 220% 100%;
      border-top: 1px solid rgba(255, 230, 180, 0.45);
      border-bottom: 1px solid rgba(90, 20, 12, 0.35);
      box-shadow: 0 8px 20px rgba(122, 31, 24, 0.35);
      position: relative;
      z-index: 4;
      flex-shrink: 0;
      animation: campaignShine 2.8s linear infinite;
    }

    .card-campaign span {
      position: relative;
      z-index: 1;
    }

    .card-campaign::before,
    .card-campaign::after {
      content: "★";
      font-size: 0.7rem;
      color: #ffe2a8;
      margin: 0 0.45rem;
      text-shadow: 0 0 10px rgba(255, 210, 120, 0.8);
    }

    @keyframes campaignShine {
      0% { background-position: 0 0, 0% 50%; }
      100% { background-position: 0 0, 220% 50%; }
    }

    .card-kampanya-ribbon {
      position: absolute;
      top: 18px;
      right: -34px;
      z-index: 6;
      width: 140px;
      padding: 0.35rem 0;
      text-align: center;
      font-family: "Outfit", sans-serif;
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: #1a1410;
      background: #ffc857;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
      transform: rotate(38deg);
      pointer-events: none;
    }

    .card.is-kampanya {
      border-color: rgba(212, 74, 42, 0.65);
      box-shadow:
        0 24px 48px rgba(20, 12, 6, 0.28),
        0 0 0 2px rgba(232, 160, 74, 0.45),
        0 0 28px rgba(212, 74, 42, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    }

    .card.is-kampanya .price {
      color: #b83220;
      font-weight: 700;
    }

    .card.is-kampanya .card-title {
      margin-bottom: 6px;
    }

    .photo-ring {
      position: relative;
      z-index: 2;
      /* Chili referans — biraz büyütülmüş ortak kutu */
      width: min(84%, 290px);
      aspect-ratio: 1 / 1;
      flex: 0 0 auto;
      margin: 0 auto 8px;
      background: transparent;
      overflow: hidden;
    }

    .photo-ring img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center center;
      display: block;
      /* Dosyaya dokunmadan: küçük görünenleri Chili boyutuna getir */
      transform: scale(var(--z, 1));
      transform-origin: center center;
      -webkit-user-drag: none;
      user-select: none;
    }

    .card-desc {
      font-family: "Cormorant Garamond", serif;
      font-weight: 500;
      font-style: italic;
      font-size: 1.02rem;
      line-height: 1.4;
      text-align: center;
      color: rgba(26, 24, 20, 0.82);
      max-width: 92%;
      flex: 1 1 auto;
      min-height: 0;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      position: relative;
      z-index: 4;
      overflow: hidden;
    }

    .card-desc--empty {
      flex: 1 1 auto;
      min-height: 0;
      margin: 0;
      padding: 0;
    }

    .card-foot {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 10px;
      padding-top: 4px;
      flex-shrink: 0;
      position: relative;
      z-index: 4;
    }

    .price {
      font-family: "Cormorant Garamond", serif;
      font-weight: 700;
      font-size: 1.65rem;
      letter-spacing: 0.02em;
      color: var(--ink);
      white-space: nowrap;
    }

    .fav {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: none;
      background: rgba(255, 255, 255, 0.38);
      backdrop-filter: blur(8px);
      display: grid;
      place-items: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: transform 0.2s, background 0.2s;
    }

    .fav:hover { transform: scale(1.06); }
    .fav.is-on { background: rgba(220, 80, 90, 0.22); }
    .fav.is-on svg { fill: #c43b48; stroke: #c43b48; }

    .fav svg {
      width: 18px;
      height: 18px;
      stroke: var(--ink-soft);
      fill: none;
      stroke-width: 1.7;
      transition: fill 0.2s, stroke 0.2s;
    }

    .order {
      margin-left: auto;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 11px 14px 11px 20px;
      border: none;
      border-radius: 999px;
      background: var(--cta);
      color: #f8f4ee;
      font-family: "Outfit", sans-serif;
      font-weight: 400;
      font-size: 0.92rem;
      letter-spacing: 0.02em;
      cursor: pointer;
      box-shadow: 0 10px 24px rgba(20, 14, 8, 0.28);
      transition: transform 0.2s, background 0.2s;
    }

    .order:hover {
      transform: translateY(-1px);
      background: #1a1814;
    }

    .order:active { transform: scale(0.98); }

    .order-plus {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: #f8f4ee;
      color: var(--cta);
      display: grid;
      place-items: center;
      font-size: 1.05rem;
      line-height: 1;
      font-weight: 500;
    }

    .dots {
      position: relative;
      z-index: 3;
      display: flex;
      justify-content: center;
      gap: 7px;
      margin-top: 6px;
    }

    .dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(255, 248, 240, 0.35);
      border: none;
      padding: 0;
      cursor: pointer;
      transition: width 0.3s, background 0.3s;
    }

    .dot.is-on {
      width: 18px;
      border-radius: 4px;
      background: rgba(255, 248, 240, 0.9);
    }

    .toast {
      position: fixed;
      bottom: max(28px, env(safe-area-inset-bottom));
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      padding: 12px 22px;
      border-radius: 999px;
      background: rgba(28, 24, 20, 0.88);
      color: #f8f4ee;
      font-size: 0.88rem;
      backdrop-filter: blur(10px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s, transform 0.3s;
      z-index: 20;
      white-space: nowrap;
    }

    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    @media (max-height: 700px) {
      .card { height: min(62dvh, 480px); padding: 14px 16px 14px; }
      .card-title { font-size: 1.55rem; margin-bottom: 6px; }
      .photo-ring { width: min(78%, 250px); margin-bottom: 6px; }
      .card-desc { font-size: 0.95rem; }
    }


:root {
  --coffee: #2c2a27;
  --text-muted: rgba(26, 24, 20, 0.58);
  --green-dark: #3d4a40;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

.brand {
  pointer-events: none;
}

.brand-bar {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  left: 10px;
  right: 10px;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.brand-bar .brand {
  position: static;
  pointer-events: none;
}

.site-top__track-btn {
  pointer-events: auto;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 252, 247, 0.28);
  color: #fffaf3;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.card.is-out-of-stock .order,
.card.is-out-of-stock .order-plus {
  opacity: 0.45;
  pointer-events: none;
}

.card.is-out-of-stock::after {
  content: "Tükendi";
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(26, 24, 20, 0.78);
  color: #f8f4ee;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toast {
  bottom: max(88px, calc(env(safe-area-inset-bottom) + 72px));
  z-index: 70;
}

body.no-scroll {
  overflow: hidden;
}

.cart-item__note {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.is-hidden {
  display: none !important;
}

/* Gusto karşılama — masa kartları (Solante menü panosu değil) */
.gusto-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: max(16px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  background: #14100c;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.gusto-gate__wash {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #14100c;
  background-image: url("assets/bg-cafe.png");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.gusto-gate__wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(20, 12, 8, 0.15), transparent 70%),
    linear-gradient(180deg, rgba(12, 8, 6, 0.42) 0%, rgba(12, 8, 6, 0.18) 38%, rgba(10, 7, 5, 0.72) 100%);
}

.gusto-gate__head,
.gusto-gate__lanes,
.gusto-gate__foot {
  position: relative;
  z-index: 1;
}

.gusto-gate__head {
  text-align: center;
  padding: 8px 8px 18px;
}

.gusto-gate__track {
  position: absolute;
  top: 0;
  left: 0;
}

.gusto-gate__mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 246, 236, 0.78);
}

.gusto-gate__mark em {
  font-style: italic;
  letter-spacing: 0.22em;
  color: #f3e4cf;
}

.gusto-gate__ask {
  margin-top: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 6vw, 2rem);
  line-height: 1.15;
  color: #fff6ec;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.gusto-gate__lanes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}

.gate-lane {
  appearance: none;
  border: 1px solid rgba(255, 248, 238, 0.16);
  background: rgba(22, 16, 12, 0.72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #f7efe4;
  border-radius: 28px;
  min-height: 72px;
  padding: 6px 12px 6px 6px;
  display: grid;
  grid-template-columns: 64px 1fr 18px;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(8, 4, 2, 0.28);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.gate-lane:nth-child(even) {
  margin-left: 18px;
}

.gate-lane:nth-child(odd) {
  margin-right: 18px;
}

.gate-lane--build {
  border-color: rgba(232, 196, 140, 0.28);
  background: rgba(42, 28, 16, 0.5);
}

.gate-lane__dish {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 40% 30%, rgba(255, 248, 236, 0.18), rgba(20, 12, 8, 0.4));
  box-shadow: inset 0 0 0 1px rgba(255, 248, 238, 0.18);
}

.gate-lane__dish img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transform: scale(1.18);
  content-visibility: auto;
}

.gate-lane__name {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.1;
}

.gate-lane__hint {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(247, 239, 228, 0.62);
}

.gate-lane__go {
  font-size: 1.35rem;
  color: rgba(247, 239, 228, 0.45);
}

.gusto-gate__foot {
  margin-top: 16px;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 246, 236, 0.46);
}

.gusto-gate.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
}

.gusto-gate[hidden] {
  display: none !important;
}

body.is-welcome {
  overflow: hidden;
}

body.is-welcome .stage,
body.is-welcome .builder-section,
body.is-welcome .cart-bar,
body.is-welcome .cart-overlay {
  visibility: hidden;
  pointer-events: none;
}

body.is-welcome .brand-bar {
  display: none;
}

body.is-siparis-takip .gusto-gate {
  display: none !important;
}

.brand.js-show-welcome {
  pointer-events: auto;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cat-banner {
  position: relative;
  z-index: 3;
  width: min(92%, 420px);
  margin: 0 auto 8px;
  padding: 8px 12px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #fff6ec;
  background: rgba(26, 16, 10, 0.55);
  border: 1px solid rgba(255, 246, 236, 0.18);
  backdrop-filter: blur(10px);
}

.base-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.base-sheet[hidden] {
  display: none !important;
}

.base-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 7, 5, 0.55);
}

.base-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px max(22px, env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: #1c1612;
  color: #f7efe4;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.35);
}

.base-sheet__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 239, 228, 0.5);
}

.base-sheet__title {
  margin: 6px 0 4px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
}

.base-sheet__sub {
  font-size: 0.82rem;
  color: rgba(247, 239, 228, 0.62);
  margin-bottom: 12px;
}

.base-sheet__opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.base-sheet__opt {
  appearance: none;
  border: 1px solid rgba(255, 246, 236, 0.16);
  background: rgba(255, 246, 236, 0.06);
  color: inherit;
  border-radius: 18px;
  padding: 14px 14px;
  text-align: left;
  cursor: pointer;
}

.base-sheet__opt-name {
  display: block;
  font-weight: 600;
}

.base-sheet__opt-hint {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: rgba(247, 239, 228, 0.55);
}

.base-sheet__cancel {
  width: 100%;
  margin-top: 10px;
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(247, 239, 228, 0.7);
  padding: 10px;
  cursor: pointer;
}

@media (max-width: 380px) {
  .gate-lane:nth-child(even),
  .gate-lane:nth-child(odd) {
    margin-left: 0;
    margin-right: 0;
  }
  .gate-lane {
    grid-template-columns: 68px 1fr 16px;
    min-height: 76px;
  }
  .gate-lane__dish {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 720px) {
  .card,
  .cats {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .card {
    background: rgba(255, 252, 247, 0.92);
  }
}
