/* ==========================================================================
   Karikatür BİKafe — Ultra-Modern Mobile QR Menü WebApp
   Theme: Warm Cream Paper & Vintage Comic Bistro
   Crafted by: Salera Digital (Berat Taşöz)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Patrick+Hand&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-deep: #ebe3d5;          /* Desktop outer neutral warm tone */
  --bg-app: #fbf8f0;           /* Clean, comfortable warm cream parchment */
  --bg-card: #ffffff;          /* Clean white cards with gentle warmth */
  --bg-card-hover: #f7f3e8;    /* Slightly deeper cream on press */
  --bg-card-solid: #ffffff;
  --bg-glass: rgba(251, 248, 240, 0.94);

  --accent-amber: #d97706;     /* Rich roasted amber */
  --accent-yellow: #b45309;    /* Deep golden ochre for readable punch */
  --accent-red: #dc2626;       /* Vibrant bistro red */
  --accent-green: #15803d;     /* Deep garden green */
  --accent-lime: #65a30d;

  --text-pure: #1c1917;        /* Deep espresso charcoal */
  --text-chalk: #292524;       /* Warm readable charcoal */
  --text-dim: #57534e;         /* Warm slate secondary */
  --text-muted: #8c827a;       /* Soft muted caption */

  --border-subtle: rgba(41, 37, 36, 0.08);
  --border-chalk: rgba(41, 37, 36, 0.13);
  --border-active: #d97706;

  --font-hand: 'Patrick Hand', 'Caveat', cursive;
  --font-cursive: 'Caveat', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 3px 12px rgba(90, 70, 50, 0.07);
  --shadow-md: 0 10px 25px rgba(90, 70, 50, 0.12);
  --shadow-glow: 0 0 25px rgba(217, 119, 6, 0.25);
  --shadow-phone: 0 20px 60px rgba(90, 70, 50, 0.18);

  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Viewport Lock */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  color-scheme: light;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-chalk);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
}

/* Desktop Smartphone App Shell */
.app-viewport {
  width: 100%;
  max-width: 480px; /* Modern smartphone container */
  min-height: 100vh;
  background-color: #fbf9f4;
  background-image: 
    /* Top subtle warm bistro spotlight */
    radial-gradient(circle at 50% -20px, rgba(251, 191, 36, 0.15) 0%, transparent 60%),
    /* Mid soft glow */
    radial-gradient(circle at 85% 65%, rgba(217, 119, 6, 0.03) 0%, transparent 50%);
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 360px, 100% 500px;
  background-position: top center, bottom right;
  box-shadow: 0 16px 50px rgba(90, 70, 50, 0.12);
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
}

/* View Switcher */
.view-screen {
  display: none;
  flex-direction: column;
  flex: 1;
  animation: fadeIn var(--transition-smooth) forwards;
}
.view-screen.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   SCREEN 1: WELCOME / HERO LANDING
   ========================================================================== */
.welcome-container {
  padding: 24px 18px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  min-height: 100vh;
  justify-content: space-between;
  position: relative;
}

.welcome-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

/* Top Badges Row */
.welcome-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.welcome-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1.5px solid rgba(217, 119, 6, 0.4);
  color: var(--accent-amber);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.welcome-badge-pill.highlight {
  background: #fef2f2;
  border-color: rgba(220, 38, 38, 0.4);
  color: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.12);
}

/* ==========================================================================
   HERO COMIC STAGE (MASCOTS DIORAMA)
   ========================================================================== */
.welcome-hero-stage {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4px;
  padding: 4px 0;
  isolation: isolate;
  overflow: hidden;
}
.hero-stage-glow {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 260px;
  height: 180px;
  background: radial-gradient(ellipse at center, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 1;
}

.hero-bg-comic-collage {
  position: absolute;
  inset: 8px 4px 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

.hero-bg-comic {
  position: absolute;
  width: 78px;
  height: 78px;
  object-fit: contain;
  opacity: 0.45;
  filter: drop-shadow(0 6px 14px rgba(28, 25, 23, 0.1));
  transition: opacity 0.3s ease;
}

.hero-bg-comic-1 {
  left: 4px;
  top: 54px;
  width: 92px;
  height: 92px;
  transform: rotate(-11deg);
  opacity: 0.5;
}

.hero-bg-comic-2 {
  right: 7px;
  top: 42px;
  width: 88px;
  height: 88px;
  transform: rotate(10deg);
  opacity: 0.5;
}

.hero-bg-comic-3 {
  left: 32px;
  bottom: 24px;
  width: 74px;
  height: 74px;
  opacity: 0.44;
  transform: rotate(8deg);
}

.hero-bg-comic-4 {
  right: 34px;
  bottom: 20px;
  width: 76px;
  height: 76px;
  opacity: 0.44;
  transform: rotate(-7deg);
}

/* Comic Speech Bubble */
.hero-speech-bubble {
  position: relative;
  background: #ffffff;
  color: #1c1917;
  padding: 10px 18px;
  border-radius: 20px;
  font-family: var(--font-hand);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 4px 14px rgba(90, 70, 50, 0.1), 0 0 0 2px #1c1917;
  max-width: 320px;
  margin-bottom: 12px;
  z-index: 5;
  cursor: pointer;
  transition: transform var(--transition-bounce);
}

/* Characters Duo */
.hero-characters-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  z-index: 3;
  width: 100%;
  height: 145px;
}
.hero-char-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform var(--transition-bounce);
}
.hero-char-left {
  transform: rotate(-2deg);
}
.hero-char-right {
  transform: rotate(2deg);
}
.hero-char-left:hover, .hero-char-left:active {
  transform: scale(1.08) rotate(-4deg) translateY(-6px);
}
.hero-char-right:hover, .hero-char-right:active {
  transform: scale(1.08) rotate(4deg) translateY(-6px);
}

.hero-mascot-img {
  height: 130px;
  width: auto;
  max-width: 125px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(90, 70, 50, 0.2));
}
.char-nametag {
  background: #ffffff;
  border: 1px solid rgba(217, 119, 6, 0.4);
  color: var(--accent-amber);
  font-family: var(--font-hand);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: var(--radius-full);
  margin-top: -6px;
  box-shadow: var(--shadow-sm);
  z-index: 4;
}

/* Stage Illuminated Podium Under Feet */
.hero-stage-podium {
  width: 220px;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(217, 119, 6, 0.18) 0%, transparent 75%);
  border-radius: 50%;
  margin-top: -8px;
  margin-bottom: 4px;
  z-index: 2;
}

.btn-poke-mascot {
  background: #ffffff;
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: var(--accent-amber);
  font-family: var(--font-hand);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  margin-top: 2px;
  z-index: 4;
  box-shadow: 0 2px 6px rgba(90, 70, 50, 0.06);
  transition: all var(--transition-fast);
}
.btn-poke-mascot:active {
  background: var(--accent-amber);
  color: #fff;
  transform: scale(0.95);
}

/* Brand Title & Tagline */
.welcome-brand-block {
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.welcome-title {
  font-family: var(--font-cursive);
  font-size: 3rem;
  font-weight: 700;
  color: #1c1917;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(90, 70, 50, 0.15);
  letter-spacing: -0.01em;
}
.welcome-title span {
  color: var(--accent-amber);
  font-family: var(--font-hand);
  font-size: 2rem;
  display: inline-block;
  margin-left: 6px;
}
.welcome-tagline-text {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: #78716c;
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Live Music Showcase Card with Mascot Art */
.live-music-card {
  width: 100%;
  background: linear-gradient(135deg, #fff5f5 0%, #fee2e2 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.12);
  transition: transform var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.live-music-card:active {
  transform: scale(0.98);
}
.live-music-left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.live-equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  padding: 2px 0;
}
.live-equalizer-bars span {
  width: 4px;
  background: #ef4444;
  border-radius: 2px;
  animation: eqBounce 1s ease-in-out infinite alternate;
}
.live-equalizer-bars span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.live-equalizer-bars span:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.live-equalizer-bars span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.live-equalizer-bars span:nth-child(4) { height: 80%; animation-delay: 0.4s; }

@keyframes eqBounce {
  0% { height: 20%; }
  100% { height: 100%; }
}
.live-music-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: 0.05em;
}
.live-music-hours {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1c1917;
}
.live-music-mascot-peek {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.live-music-mascot-peek img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(90, 70, 50, 0.25));
  transition: transform var(--transition-bounce);
}
.live-music-card:hover .live-music-mascot-peek img,
.live-music-card:active .live-music-mascot-peek img {
  transform: scale(1.15) rotate(5deg);
}

/* Big Main CTA Button */
.enter-menu-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.btn-enter-menu {
  width: 100%;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(254, 240, 138, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.35);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.btn-enter-menu:active {
  transform: scale(0.97);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}
.cta-btn-arrow {
  font-size: 1.35rem;
  transition: transform var(--transition-fast);
}
.btn-enter-menu:hover .cta-btn-arrow {
  transform: translateX(4px);
}
.cta-sub-perks {
  font-size: 0.74rem;
  color: var(--accent-amber);
  font-weight: 700;
  letter-spacing: 0.03em;
  opacity: 0.95;
}

/* Illustrated Quick Action Chips with Real Mascot Art */
.quick-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}
.quick-chip {
  background: #ffffff;
  border: 1px solid rgba(41, 37, 36, 0.1);
  border-radius: var(--radius-md);
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(90, 70, 50, 0.05);
  transition: all var(--transition-fast);
}
.quick-chip:active {
  background: #fdfbf7;
  border-color: var(--accent-amber);
  transform: scale(0.98);
}
.quick-chip-mascot {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fdfbf7;
  border: 1px solid rgba(217, 119, 6, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}
.quick-chip-mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(90, 70, 50, 0.15));
}
.quick-chip-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
  text-align: left;
}
.quick-chip-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1c1917;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quick-chip-desc {
  font-size: 0.7rem;
  color: #78716c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quick-chip-action-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-top: 1px;
}

/* Comic Strip of the Day (Interactive Humor Corner) */
.welcome-bottom-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
}
.comic-strip-card {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border-chalk);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.comic-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-chalk);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.comic-strip-title {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-amber);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn-dice-comic {
  background: #fef3c7;
  border: 1px solid rgba(217, 119, 6, 0.4);
  color: var(--accent-amber);
  font-family: var(--font-hand);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-dice-comic:active {
  background: var(--accent-amber);
  color: #fff;
  transform: scale(0.95);
}
.comic-strip-body {
  display: flex;
  align-items: center;
  gap: 12px;
}
.comic-strip-mascot-box {
  width: 72px;
  height: 85px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comic-strip-mascot-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(90, 70, 50, 0.25));
  transition: transform var(--transition-bounce);
}
.comic-strip-text-box {
  flex: 1;
  text-align: left;
}
.comic-strip-quote {
  font-family: var(--font-hand);
  font-size: 0.96rem;
  color: #292524;
  line-height: 1.35;
  transition: opacity 0.2s ease-in-out;
}
.comic-strip-author {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-style: italic;
}

/* ==========================================================================
   SCREEN 2: CATEGORY HUB (GRID VIEW)
   ========================================================================== */
.hub-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hub-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hub-brand {
  font-family: var(--font-cursive);
  font-size: 1.7rem;
  font-weight: 700;
  color: #1c1917;
}
.hub-brand span {
  font-family: var(--font-hand);
  color: var(--accent-amber);
  font-size: 1.2rem;
  margin-left: 4px;
}
.hub-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.hub-search-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border-chalk);
  border-radius: var(--radius-full);
  padding: 9px 36px 9px 36px;
  color: #1c1917;
  font-size: 0.88rem;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.hub-search-input:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 12px rgba(217, 119, 6, 0.2);
}
.hub-search-icon {
  position: absolute;
  left: 13px;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.hub-search-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1rem;
  cursor: pointer;
  display: none;
}
.hub-search-clear.visible {
  display: block;
}

/* Category Grid Hub Cards */
.category-grid-container {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-bottom: 90px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-chalk);
  border-radius: var(--radius-md);
  padding: 12px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  gap: 7px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  min-height: 172px;
}
.category-card:active {
  transform: scale(0.96);
  background: var(--bg-card-hover);
  border-color: var(--accent-amber);
}
.category-card-badge {
  position: static;
  margin: 0 auto 2px;
  font-size: 0.58rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(216, 8, 16, 0.08);
  color: #b3070e;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(216, 8, 16, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 95%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  line-height: 1.25;
}
.category-card-mascot {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border: 1.5px solid rgba(217, 119, 6, 0.25);
  padding: 4px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, rgba(255, 255, 255, 0.9) 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(90, 70, 50, 0.1);
  flex-shrink: 0;
}
.category-card-mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(90, 70, 50, 0.18));
  transition: transform var(--transition-bounce);
}
.category-card:active .category-card-mascot img {
  transform: scale(1.1) rotate(-3deg);
}
.category-card-title {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1c1917;
  line-height: 1.2;
  margin-top: 1px;
  max-width: 100%;
  word-break: break-word;
}
.category-card-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-dim);
  background: #f5f0e4;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   SCREEN 3: PRODUCT LIST VIEW
   ========================================================================== */
.product-screen-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 12px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(90, 70, 50, 0.06);
}

.prod-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btn-back-to-hub {
  background: #ffffff;
  border: 1.5px solid rgba(41, 37, 36, 0.12);
  color: #1c1917;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(90, 70, 50, 0.06);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.btn-back-to-hub .back-icon {
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 900;
}
.btn-back-to-hub:active {
  background: var(--accent-amber);
  color: #fff;
  border-color: var(--accent-amber);
  transform: scale(0.95);
}

/* Center Interactive Category Picker Trigger */
.btn-category-dropdown {
  flex: 1;
  max-width: 220px;
  background: #ffffff;
  border: 2px solid rgba(217, 119, 6, 0.4);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.12);
  transition: all var(--transition-fast);
}
.btn-category-dropdown:active {
  transform: scale(0.97);
  background: #fef3c7;
  border-color: var(--accent-amber);
}
.cat-dropdown-left {
  font-family: var(--font-hand);
  font-size: 1.05rem;
  font-weight: 800;
  color: #1c1917;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cat-dropdown-arrow {
  font-size: 0.65rem;
  color: var(--accent-amber);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.btn-category-dropdown:active .cat-dropdown-arrow {
  transform: translateY(2px);
}

/* Quick Search Toggle Button */
.btn-toggle-search {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1.5px solid rgba(41, 37, 36, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(90, 70, 50, 0.06);
  transition: all var(--transition-fast);
}
.btn-toggle-search:active,
.btn-toggle-search.active {
  background: #fef3c7;
  border-color: var(--accent-amber);
  transform: scale(0.95);
}
.search-btn-icon {
  font-size: 0.95rem;
}

/* Search input container togglable state */
#prodSearchWrapper {
  display: none;
  animation: slideDownFade 0.2s ease-out;
}
#prodSearchWrapper.visible {
  display: flex;
}
@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   VISUAL HERO CATEGORY SELECTOR TRACK (PROMINENT & INTUITIVE)
   ========================================================================== */
.sub-nav-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 6px;
  -webkit-overflow-scrolling: touch;
}
.sub-nav-bar::-webkit-scrollbar {
  display: none;
}

/* All Categories Pill Shortcut */
.sub-nav-all-btn {
  flex-shrink: 0;
  background: #fef3c7;
  border: 1.5px dashed var(--accent-amber);
  border-radius: 14px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: var(--font-hand);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--accent-amber);
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.1);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.sub-nav-all-btn:active {
  background: var(--accent-amber);
  color: #fff;
  transform: scale(0.96);
}

.sub-nav-pill {
  flex-shrink: 0;
  background: #ffffff;
  border: 1.5px solid rgba(41, 37, 36, 0.12);
  border-radius: 14px;
  padding: 5px 11px 5px 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(90, 70, 50, 0.05);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: left;
}
.sub-nav-pill:active {
  transform: scale(0.96);
}
.sub-nav-pill.active {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  border-color: #92400e;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4), 0 0 0 2.5px rgba(217, 119, 6, 0.25);
  transform: scale(1.04);
}

/* Category Avatar Box Inside Pill */
.sub-nav-pill-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #fdfbf7;
  border: 1px solid rgba(217, 119, 6, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 1px;
}
.sub-nav-pill.active .sub-nav-pill-icon-box {
  background: #ffffff;
  border-color: #ffffff;
}
.sub-nav-pill-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(90, 70, 50, 0.15));
}

/* Category Text Box Inside Pill */
.sub-nav-pill-text-box {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sub-nav-pill-title {
  font-family: var(--font-hand);
  font-size: 0.98rem;
  font-weight: 800;
  color: #1c1917;
  line-height: 1.1;
  white-space: nowrap;
}
.sub-nav-pill.active .sub-nav-pill-title {
  color: #ffffff;
}
.sub-nav-pill-count {
  font-size: 0.64rem;
  font-weight: 700;
  color: #78716c;
  line-height: 1;
}
.sub-nav-pill.active .sub-nav-pill-count {
  color: #fef3c7;
}

/* Products Container */
.products-container {
  padding: 14px 14px 90px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 50vh;
}

/* Category Content Transition Animations */
.category-transition-enter {
  animation: catSlideUp 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes catSlideUp {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Flash Glow Indicator for Instant Feedback */
@keyframes catHeaderPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(217, 119, 6, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
  }
}
.cat-pulse-active {
  animation: catHeaderPulse 0.5s ease-out;
}

/* Section Header Card inside list */
.section-intro-card {
  background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
  border: 2px solid rgba(217, 119, 6, 0.5);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.15), var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.section-intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-amber);
}
.section-intro-text {
  flex: 1;
}
.section-intro-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #fef3c7;
  color: var(--accent-amber);
  border: 1px solid rgba(217, 119, 6, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}
.section-intro-text h2 {
  font-family: var(--font-hand);
  font-size: 1.65rem;
  font-weight: 800;
  color: #1c1917;
  line-height: 1.15;
}
.section-intro-quote {
  font-family: var(--font-hand);
  font-size: 0.92rem;
  color: #854d0e;
  margin-top: 4px;
  line-height: 1.25;
}
.section-intro-mascot {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  border: 2px dashed var(--accent-amber);
  flex-shrink: 0;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.2) 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 6px 14px rgba(90, 70, 50, 0.15);
  animation: mascotPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes mascotPop {
  0% { transform: scale(0.7) rotate(-10deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.section-intro-mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(90, 70, 50, 0.25));
}

/* Individual Item Card */
.menu-item-row {
  background: var(--bg-card);
  border: 1px solid var(--border-chalk);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  position: relative;
}
.menu-item-row.is-popular::before {
  display: none !important;
}
.item-text-box {
  flex: 1;
  min-width: 0;
}
.item-title-line {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1c1917;
  line-height: 1.25;
  margin-bottom: 3px;
}
.item-desc-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.35;
  margin-bottom: 6px;
}
.item-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.item-chip {
  font-size: 0.66rem;
  font-weight: 600;
  background: #f5f0e4;
  color: #57534e;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.item-action-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.item-price-tag {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-amber);
  white-space: nowrap;
}
.item-price-tag span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.btn-add-item {
  background: #fef3c7;
  border: 1px solid rgba(217, 119, 6, 0.4);
  color: var(--accent-amber);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

/* Sipariş/adisyon özelliği devre dışı: menü yalnızca ürün ve fiyat gösterir. */
.btn-add-item,
.floating-adisyon-bar,
#modalAdisyon {
  display: none !important;
}
.btn-add-item:active {
  transform: scale(0.92);
  background: var(--accent-amber);
  color: #ffffff;
}

/* ==========================================================================
   FLOATING ADISYON BOTTOM BAR
   ========================================================================== */
.floating-adisyon-bar {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 452px;
  background: #1c1917;
  border: 1.5px solid var(--accent-amber);
  border-radius: var(--radius-full);
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 105;
  cursor: pointer;
  transition: transform var(--transition-fast);
}
.floating-adisyon-bar:active {
  transform: translateX(-50%) scale(0.98);
}
.adisyon-left-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.adisyon-count-bubble {
  background: var(--accent-amber);
  color: #fff;
  font-weight: 900;
  font-size: 0.84rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.adisyon-label-main {
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff;
}
.adisyon-label-sub {
  font-size: 0.72rem;
  color: #a8a29e;
}
.adisyon-total-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fbbf24;
  margin-right: 8px;
}
.adisyon-pill-btn {
  background: #fbbf24;
  color: #1c1917;
  border: none;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   MODALS (ADISYON & INFO)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-card-bottom {
  background: #ffffff;
  border: 1px solid var(--border-chalk);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
}
.modal-overlay.active .modal-card-bottom {
  transform: translateY(0);
}

.modal-header-line {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-chalk);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header-line h3 {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--accent-amber);
}
.btn-close-modal {
  background: #f5f0e4;
  border: none;
  color: #1c1917;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}
.modal-body-scroll {
  padding: 16px 18px;
  overflow-y: auto;
  flex: 1;
}

/* Cart item row inside drawer */
.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.cart-row-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1c1917;
}
.cart-row-sub {
  font-size: 0.74rem;
  color: var(--text-dim);
}
.cart-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stepper-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-chalk);
  background: #f5f0e4;
  color: #1c1917;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.stepper-val {
  font-weight: 800;
  color: #1c1917;
  min-width: 18px;
  text-align: center;
}
.cart-price-sum {
  font-weight: 800;
  color: var(--accent-amber);
  font-size: 0.95rem;
  min-width: 70px;
  text-align: right;
}

.modal-footer-box {
  padding: 14px 18px;
  border-top: 1px solid var(--border-chalk);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fbf8f0;
}
.cart-total-bar {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1c1917;
}
.cart-total-bar span:last-child {
  color: var(--accent-amber);
}
.modal-actions-row {
  display: flex;
  gap: 10px;
}
.btn-cart-clear {
  flex: 1;
  background: #fee2e2;
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #dc2626;
  padding: 10px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}
.btn-cart-share {
  flex: 2;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  border: none;
  color: #ffffff;
  padding: 10px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Info Blocks */
.info-section-item {
  background: #fbf8f0;
  border: 1px solid var(--border-chalk);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
}
.info-section-head {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--accent-amber);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.info-section-body {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.4;
}
.pill-copy-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  border: 1px solid rgba(217, 119, 6, 0.4);
  color: var(--accent-amber);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  margin-top: 8px;
  cursor: pointer;
}

/* Global Footer */
.modern-footer {
  padding: 24px 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-top: 1px dashed var(--border-chalk);
  margin-top: 20px;
}
.footer-tagline {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: #854d0e;
}
.salera-motto-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(145deg, #1b1b1b 0%, #050505 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 9px 15px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.salera-motto-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.salera-motto-badge:active {
  transform: translateY(0) scale(0.98);
}
.salera-instagram-icon {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 7px;
  font-size: 1rem;
  line-height: 1;
}
.salera-link-arrow {
  color: #f5a623;
  font-size: 0.95rem;
  transition: transform 180ms ease;
}
.salera-motto-badge:hover .salera-link-arrow {
  transform: translate(2px, -2px);
}

/* Empty Search State */
.empty-search-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-chalk);
  border-radius: var(--radius-lg);
}
.empty-search-card h3 {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--accent-amber);
  margin-top: 8px;
}
.empty-search-card p {
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* ========================================================================== 
   MODERN APP UI — 2026 REFINEMENT
   Unified visual language for navigation, cards, lists and creator signature.
   ========================================================================== */
:root {
  --bg-deep: #e7e7e4;
  --bg-app: #f5f5f2;
  --bg-card: #ffffff;
  --bg-card-hover: #f4f4f1;
  --bg-glass: rgba(248, 248, 245, 0.88);
  --accent-amber: #ef8f00;
  --accent-yellow: #d97800;
  --text-pure: #111111;
  --text-chalk: #202020;
  --text-dim: #696965;
  --text-muted: #999991;
  --border-subtle: rgba(17, 17, 17, 0.07);
  --border-chalk: rgba(17, 17, 17, 0.09);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(18, 18, 18, 0.045);
  --shadow-md: 0 14px 36px rgba(18, 18, 18, 0.10);
}

html, body {
  background: #e7e7e4;
}

.app-viewport {
  max-width: 500px;
  background: #f5f5f2;
  background-image:
    radial-gradient(circle at 50% -80px, rgba(255, 255, 255, 0.95), transparent 390px),
    linear-gradient(180deg, #f8f8f5 0%, #f3f3ef 100%);
  border: 0;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.04), 0 24px 80px rgba(17, 17, 17, 0.14);
}

.hub-header,
.product-screen-header {
  background: rgba(248, 248, 245, 0.9);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.035);
}

.hub-header { padding: 16px 18px 14px; }
.product-screen-header { padding: 10px 12px 8px; }
.hub-brand { font-size: 1.85rem; color: #111; letter-spacing: -0.03em; }
.hub-brand span { color: #ef8f00; }

.hub-search-input {
  min-height: 44px;
  padding: 10px 40px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(17, 17, 17, 0.04);
  font-family: var(--font-sans);
}
.hub-search-input:focus {
  border-color: rgba(17, 17, 17, 0.28);
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.055);
}

.btn-back-to-hub,
.btn-toggle-search,
.btn-category-dropdown {
  min-height: 40px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 3px 10px rgba(17, 17, 17, 0.055);
}
.btn-category-dropdown {
  border-radius: 13px;
  color: #111;
}

.category-grid-container {
  padding: 16px 14px 64px;
  gap: 10px;
}
.category-card {
  min-height: 172px;
  padding: 12px 10px 14px;
  gap: 7px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  box-shadow: 0 5px 18px rgba(17, 17, 17, 0.055);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}
.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.085);
}
.category-card:active {
  transform: scale(0.975);
  border-color: rgba(17, 17, 17, 0.14);
}
.category-card-badge {
  position: static;
  top: auto;
  right: auto;
  margin: 0 auto 2px;
  padding: 3px 9px;
  background: rgba(216, 8, 16, 0.08);
  color: #b3070e;
  border: 1px solid rgba(216, 8, 16, 0.16);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 95%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
}
.category-card-mascot {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  padding: 4px;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(145deg, #f7f7f4, #ecece7);
  box-shadow: inset 0 1px 0 #fff, 0 5px 14px rgba(17, 17, 17, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.category-card-title {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #151515;
  line-height: 1.2;
  margin-top: 1px;
  max-width: 100%;
  word-break: break-word;
}
.category-card-count {
  background: transparent;
  padding: 0;
  font-size: 0.66rem;
  font-weight: 650;
  color: #92928c;
  line-height: 1.2;
}

.sub-nav-bar { gap: 7px; padding: 4px 1px 5px; }
.sub-nav-all-btn,
.sub-nav-pill {
  min-height: 42px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 13px;
  background: #fff;
  box-shadow: none;
}
.sub-nav-all-btn {
  color: #555550;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  border-style: solid;
}
.sub-nav-pill { padding: 4px 10px 4px 5px; gap: 7px; }
.sub-nav-pill.active {
  background: #111;
  border-color: #111;
  transform: none;
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.18);
}
.sub-nav-pill-icon-box {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: #f1f1ee;
}
.sub-nav-pill-title {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: -0.015em;
}
.sub-nav-pill-count { font-size: 0.58rem; color: #999; }
.sub-nav-pill.active .sub-nav-pill-count { color: rgba(255,255,255,0.58); }

.products-container {
  padding: 14px 12px 72px;
  gap: 9px;
}
.section-intro-card {
  min-height: 122px;
  padding: 18px;
  margin-bottom: 6px;
  background: linear-gradient(145deg, #191919 0%, #070707 100%);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.18);
}
.section-intro-card::before { display: none; }
.section-intro-badge {
  padding: 4px 8px;
  color: rgba(255,255,255,0.62);
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.58rem;
}
.section-intro-text h2 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: -0.04em;
}
.section-intro-quote {
  max-width: 260px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.58);
}
.section-intro-mascot {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 25px;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.menu-item-row {
  min-height: 92px;
  padding: 15px 14px;
  align-items: center;
  border: 1px solid rgba(17, 17, 17, 0.065);
  border-radius: 18px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.045);
}
.menu-item-row:hover {
  border-color: rgba(17,17,17,0.13);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.07);
}
.menu-item-row.is-popular::before {
  display: none !important;
}
.item-title-line {
  max-width: 100%;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #151515;
  word-break: break-word;
}
.item-desc-text {
  font-size: 0.72rem;
  line-height: 1.42;
  color: #767670;
  word-break: break-word;
}
.item-chip {
  background: #f1f1ee;
  border: 0;
  color: #777770;
  font-size: 0.58rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}
.item-chip.item-chip-popular {
  background: rgba(216, 8, 16, 0.08) !important;
  color: #b3070e !important;
  border: 1px solid rgba(216, 8, 16, 0.18) !important;
  font-weight: 750 !important;
}
.item-price-tag {
  padding: 8px 9px;
  background: #f4f4f1;
  border-radius: 12px;
  color: #111;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.item-price-tag span { color: #777; font-size: 0.62rem; }

.quick-chip {
  border: 1px solid rgba(17,17,17,0.07);
  border-radius: 19px;
  box-shadow: 0 5px 18px rgba(17,17,17,0.05);
}
.btn-enter-menu {
  background: #111;
  border-color: #111;
  box-shadow: 0 12px 28px rgba(17,17,17,0.2);
}

.modern-footer {
  gap: 9px;
  padding: 24px 16px 30px;
  border-top-color: rgba(17,17,17,0.07);
}
.footer-tagline { color: #595954; }
.salera-motto-badge {
  min-height: 44px;
  padding: 9px 13px 9px 10px;
  border-radius: 14px;
  background: #0b0b0b;
  border-color: rgba(255,255,255,0.1);
  font-size: 0.75rem;
  box-shadow: 0 8px 22px rgba(17,17,17,0.18);
}
.salera-instagram-icon {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}
.salera-link-arrow {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: 2px;
  border-radius: 7px;
  background: #ef8f00;
  color: #111;
  font-size: 0.8rem;
  font-weight: 900;
}

@media (max-width: 370px) {
  .category-grid-container { gap: 8px; padding-inline: 10px; }
  .category-card { min-height: 150px; }
  .category-card-mascot { width: 68px; height: 68px; }
  .item-title-line { font-size: 0.88rem; }
  .item-price-tag { font-size: 0.92rem; }
}

/* Salera Digital profile card */
.salera-motto-badge {
  width: min(100%, 272px);
  min-height: 58px;
  justify-content: flex-start;
  gap: 11px;
  padding: 8px 9px 8px 10px;
  border-radius: 18px;
  background: radial-gradient(circle at 8% 10%, rgba(255,255,255,0.1), transparent 28%), linear-gradient(135deg, #171717 0%, #050505 100%);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 10px 26px rgba(17,17,17,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
}
.salera-instagram-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(145deg, #feda75 0%, #fa7e1e 28%, #d62976 58%, #962fbf 78%, #4f5bd5 100%);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 5px 14px rgba(214,41,118,0.26);
}
.salera-signature-copy {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-align: left;
  line-height: 1.15;
}
.salera-signature-copy small {
  color: rgba(255,255,255,0.43);
  font-size: 0.52rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}
.salera-signature-copy strong {
  color: #fff;
  font-size: 0.89rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.salera-link-arrow {
  width: 33px;
  height: 33px;
  flex: 0 0 33px;
  margin-left: auto;
  border-radius: 11px;
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.86);
  font-size: 1rem;
}
.salera-motto-badge:hover .salera-link-arrow {
  background: #fff;
  color: #111;
  transform: translateX(2px);
}

/* Compact footer signature */
.salera-motto-badge {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 32px;
  gap: 6px;
  padding: 4px 11px 4px 6px;
  border-radius: 999px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 4px 12px rgba(17,17,17,0.13);
  font-size: 0.66rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.salera-motto-badge:hover {
  background: #171717;
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}
.salera-mascot-badge-img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.salera-motto-badge:hover .salera-mascot-badge-img {
  transform: scale(1.12) rotate(3deg);
  border-color: #f59e0b;
}
.salera-ig-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: #e1306c;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease, fill 0.2s ease;
}
.salera-motto-badge:hover .salera-ig-icon {
  fill: #ff3540;
  transform: scale(1.08);
}
.salera-signature-prefix {
  color: rgba(255,255,255,0.42);
  font-weight: 500;
}
.salera-motto-badge > strong {
  color: rgba(255,255,255,0.9);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.salera-motto-badge .salera-link-arrow {
  display: inline;
  width: auto;
  height: auto;
  margin-left: 1px;
  background: transparent;
  color: #ff3540;
  font-size: 0.68rem;
}
.salera-motto-badge:hover .salera-link-arrow {
  background: transparent;
  color: #ff5560;
  transform: translate(2px, -2px);
}

/* ==========================================================================
   MODAL 3: QUICK CATEGORY PICKER (BOTTOM SHEET / DRAWER)
   ========================================================================== */
.modal-category-picker-sheet {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  max-height: 82vh;
  border-radius: 24px 24px 0 0;
  border: 1.5px solid rgba(217, 119, 6, 0.3);
  border-bottom: none;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  animation: slideUpDrawer 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
@keyframes slideUpDrawer {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cat-picker-drag-handle {
  width: 44px;
  height: 5px;
  background: #d6d3d1;
  border-radius: var(--radius-full);
  margin: 10px auto 4px;
}

.cat-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 12px;
  border-bottom: 1px solid var(--border-chalk);
}

.cat-picker-title-box h3 {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 800;
  color: #1c1917;
  margin: 0;
}

.cat-picker-subtitle {
  font-size: 0.74rem;
  color: var(--text-dim);
  font-weight: 600;
}

.cat-picker-grid {
  padding: 14px 16px 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cat-picker-item-card {
  background: #fdfbf7;
  border: 1.5px solid rgba(41, 37, 36, 0.1);
  border-radius: 16px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(90, 70, 50, 0.05);
  transition: all var(--transition-fast);
}
.cat-picker-item-card:active {
  transform: scale(0.96);
  background: #fef3c7;
  border-color: var(--accent-amber);
}
.cat-picker-item-card.active {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  border-color: #92400e;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

.cat-picker-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid rgba(217, 119, 6, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 2px;
}
.cat-picker-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(90, 70, 50, 0.15));
}

.cat-picker-item-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
}

.cat-picker-item-name {
  font-family: var(--font-hand);
  font-size: 1.05rem;
  font-weight: 800;
  color: #1c1917;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
}
.cat-picker-item-card.active .cat-picker-item-name {
  color: #ffffff;
}

.cat-picker-item-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: #78716c;
}
.cat-picker-item-card.active .cat-picker-item-count {
  color: #fef3c7;
}

/* ========================================================================== 
   BRAND RED — sampled from the Bi Kafe logo (#d80810)
   ========================================================================== */
:root {
  --accent-amber: #d80810;
  --accent-yellow: #bc0710;
  --accent-red: #d80810;
  --border-active: #d80810;
  --shadow-glow: 0 0 25px rgba(216, 8, 16, 0.22);
}

.welcome-title span,
.hub-brand span,
.cta-sub-perks,
.quick-chip-action-pill {
  color: #d80810;
}

.btn-enter-menu {
  background: linear-gradient(135deg, #181818 0%, #090909 72%, #240205 100%);
  box-shadow: 0 12px 28px rgba(17,17,17,0.2), inset -3px 0 0 #d80810;
}
.btn-enter-menu .cta-btn-arrow { color: #ff3540; }

.hub-search-input:focus {
  border-color: rgba(216, 8, 16, 0.45);
  box-shadow: 0 0 0 4px rgba(216, 8, 16, 0.08);
}

.category-card-badge {
  background: rgba(216, 8, 16, 0.07);
  color: #b3070e;
}
.category-card:active { border-color: rgba(216, 8, 16, 0.35); }

.sub-nav-pill.active {
  background: linear-gradient(135deg, #e00a13 0%, #b9060e 100%);
  border-color: #a6050c;
  box-shadow: 0 7px 18px rgba(216, 8, 16, 0.25);
}
.sub-nav-all-btn:active {
  background: #d80810;
  border-color: #d80810;
}

.section-intro-card {
  background: radial-gradient(circle at 88% 10%, rgba(216, 8, 16, 0.32), transparent 42%), linear-gradient(145deg, #191919 0%, #070707 100%);
}
.section-intro-badge {
  color: rgba(255,255,255,0.72);
  border-color: rgba(216, 8, 16, 0.38);
  background: rgba(216, 8, 16, 0.18);
}

.item-price-tag { color: #c60710; }
.menu-item-row.is-popular::before { background: #d80810; }

.salera-motto-badge .salera-link-arrow,
.salera-motto-badge:hover .salera-link-arrow {
  color: #ff3340;
}

.modal-category-picker-sheet { border-color: rgba(216, 8, 16, 0.18); }
.cat-picker-item-card.active {
  background: linear-gradient(135deg, #e00a13 0%, #b9060e 100%);
  border-color: #a6050c;
  box-shadow: 0 5px 16px rgba(216, 8, 16, 0.24);
}
.cat-picker-item-card:active { border-color: #d80810; }
.cat-picker-item-icon { border-color: rgba(216, 8, 16, 0.18); }

/* Professional content hierarchy */
.welcome-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand-seal {
  width: 78px;
  height: 78px;
  margin: 0 auto 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #d80810;
  color: #fff;
  border: 5px solid #20242a;
  box-shadow: 0 0 0 3px #080b0f, 0 10px 24px rgba(216,8,16,0.22);
  line-height: 1;
  transform: rotate(-2deg);
}
.brand-seal span {
  font-family: var(--font-hand);
  font-size: 0.68rem;
  font-weight: 700;
}
.brand-seal strong {
  margin: 2px 0;
  font-size: 0.91rem;
  font-weight: 900;
  letter-spacing: -0.06em;
}
.brand-seal small {
  padding: 2px 5px;
  background: rgba(125,0,5,0.55);
  font-size: 0.48rem;
  font-weight: 900;
}
.welcome-brand-descriptor {
  margin-top: 6px;
  color: #777771;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}
.cta-sub-perks {
  font-size: 0.7rem;
  letter-spacing: -0.01em;
}

.category-grid-container {
  display: block;
  padding: 14px 12px 64px;
}
.category-group-section + .category-group-section {
  margin-top: 24px;
}
.category-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 10px;
}
.category-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #171717;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.035em;
}
.category-group-title > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  box-shadow: 0 4px 10px rgba(17,17,17,0.12);
}
.category-group-meta {
  color: #999992;
  font-size: 0.62rem;
  font-weight: 700;
}
.category-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.category-group-section:first-child .category-card {
  min-height: 172px;
  border-color: rgba(216,8,16,0.16);
  background: linear-gradient(145deg, rgba(216,8,16,0.045), #fff 58%);
}

.footer-allergen-note {
  margin-top: -5px;
  color: rgba(80,80,76,0.38);
  font-size: 0.61rem;
  line-height: 1.35;
}

/* Keep every category visual cleanly inside its frame. Photo-based assets fill
   the available area; transparent caricatures retain their full silhouette. */
.category-card-mascot,
.section-intro-mascot,
.sub-nav-pill-icon-box,
.cat-picker-item-icon {
  overflow: hidden;
}

.category-card-mascot img,
.section-intro-mascot img,
.sub-nav-pill-icon-box img,
.cat-picker-item-icon img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-position: center;
}

.category-card-mascot img[src*="real_"],
.section-intro-mascot img[src*="real_"],
.sub-nav-pill-icon-box img[src*="real_"],
.cat-picker-item-icon img[src*="real_"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  filter: none;
}

.category-card-mascot:has(img[src*="real_"]),
.section-intro-mascot:has(img[src*="real_"]),
.sub-nav-pill-icon-box:has(img[src*="real_"]),
.cat-picker-item-icon:has(img[src*="real_"]) {
  padding: 0;
  border-style: solid;
  background: #111;
}

/* Modern Bottom Navigation Bar */
.comic-bottom-nav {
  position: fixed;
  z-index: 900;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  width: min(calc(100% - 32px), 360px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 12px 32px rgba(28, 25, 23, 0.12),
    0 2px 8px rgba(28, 25, 23, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.comic-nav-item {
  appearance: none;
  min-width: 0;
  min-height: 48px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #78716c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.comic-nav-item:hover {
  color: #1c1917;
  background: rgba(0, 0, 0, 0.04);
}

.comic-nav-item:active {
  transform: scale(0.94);
}

.comic-nav-svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.1;
  transition: transform 0.22s ease, stroke 0.22s ease;
}

.comic-nav-label {
  font-size: 0.67rem;
  font-weight: 650;
  line-height: 1;
  transition: color 0.22s ease;
}

.comic-nav-item.active {
  color: #ffffff;
  background: linear-gradient(135deg, #1c1917 0%, #090807 100%);
  box-shadow: 
    0 5px 16px rgba(17, 17, 17, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.comic-nav-item.active .comic-nav-svg {
  stroke: #ff3b47;
  transform: scale(1.08);
}

.comic-nav-item.active .comic-nav-label {
  color: #ffffff;
  font-weight: 750;
}

.view-screen { padding-bottom: 78px; }

@media (min-width: 700px) {
  .comic-bottom-nav { width: 340px; }
}

@media (max-width: 370px) {
  .category-group-grid { gap: 8px; }
  .category-grid-container { padding-inline: 9px; }
  .brand-seal { width: 70px; height: 70px; }
}
