/* ==========================================================
   FABRİKA QR MENÜ - MODERN DARK LOFT STYLES
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Outfit:wght@300;400;500;600;700&family=Bebas+Neue&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-main: #0c0d0e;
  --bg-card: #151619;
  --bg-card-hover: #1c1e22;
  --bg-elevated: #212429;
  --primary: #e09849;
  --primary-light: #f5b367;
  --primary-glow: rgba(224, 152, 73, 0.25);
  --accent-gold: #d4af37;
  --text-main: #ffffff;
  --text-muted: #9aa0a6;
  --text-dim: #686d76;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(224, 152, 73, 0.4);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-heading: 'Bebas Neue', 'Cinzel', sans-serif;
  --font-body: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(224, 152, 73, 0.15);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(224, 152, 73, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 40%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================
   HEADER & NAVBAR
   ========================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 0.75rem 1.25rem;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease, box-shadow 0.35s ease;
  box-sizing: border-box;
}

.header.scrolled {
  background: rgba(12, 13, 14, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  line-height: 1;
}

.brand-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 2.5px;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.58rem;
  letter-spacing: 1.8px;
  color: var(--primary-light);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: none;
  gap: 1.25rem;
  align-items: center;
  margin-left: auto;
  margin-right: 1.25rem;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  border-radius: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Header Online Order Dropdown (Desktop Only) */
.header-dropdown-wrap {
  position: relative;
  display: none;
}

@media (min-width: 900px) {
  .header-dropdown-wrap {
    display: block;
  }
}

.btn-online-order-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(224, 152, 73, 0.22) 0%, rgba(26, 28, 32, 0.95) 100%);
  border: 1.5px solid rgba(224, 152, 73, 0.5);
  color: #fff;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(224, 152, 73, 0.15);
}

.btn-online-order-trigger:hover {
  background: linear-gradient(135deg, rgba(224, 152, 73, 0.35) 0%, rgba(32, 34, 40, 0.98) 100%);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(224, 152, 73, 0.3);
}

.order-btn-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.order-arrow-icon {
  transition: transform 0.25s ease;
  color: var(--primary-light);
}

.header-dropdown-wrap.open .order-arrow-icon {
  transform: rotate(180deg);
}

.online-order-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 210px;
  background: rgba(18, 19, 23, 0.96);
  border: 1px solid rgba(224, 152, 73, 0.3);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(224, 152, 73, 0.15);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 150;
  pointer-events: none;
}

.header-dropdown-wrap.open .online-order-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.order-menu-header {
  padding: 4px 8px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}

.order-menu-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
}

.order-menu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.order-menu-list .delivery-badge-btn {
  width: 100%;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 9px;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.order-menu-list .delivery-badge-btn:hover {
  transform: translateX(4px) scale(1.02);
  filter: brightness(1.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-light);
  border: 1px solid rgba(224, 152, 73, 0.4);
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(224, 152, 73, 0.08);
  transition: var(--transition);
}

.btn-location:hover {
  background: var(--primary);
  color: #000;
}

.btn-cart-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.btn-cart-toggle:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.btn-burger-menu {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-burger-menu svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-burger-menu:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(224, 152, 73, 0.12);
  box-shadow: 0 0 12px rgba(224, 152, 73, 0.3);
}

.btn-burger-menu:hover svg {
  transform: rotate(90deg) scale(1.08);
}

.btn-burger-menu:active {
  transform: scale(0.92);
}

/* SIDE DRAWER STYLES */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background: rgba(18, 19, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(224, 152, 73, 0.25);
  z-index: 251;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.85);
}

.drawer-overlay.open .side-drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header .brand {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.open .drawer-header .brand {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.08s;
}

.drawer-header .btn-close-modal {
  opacity: 0;
  transform: scale(0.6) rotate(-90deg);
  transition: opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s, background 0.2s;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.drawer-overlay.open .drawer-header .btn-close-modal {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: 0.12s;
}

.drawer-header .btn-close-modal:hover {
  color: #fff;
  background: rgba(224, 152, 73, 0.2);
  border-color: var(--primary);
  transform: scale(1.1) rotate(90deg);
}

.drawer-header .btn-close-modal:active {
  transform: scale(0.92);
}

.drawer-content {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  opacity: 0;
  transform: translateX(20px);
}

/* Staggered entrance animation for nav items */
.drawer-overlay.open .drawer-nav-item {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, border-color 0.2s;
}

.drawer-overlay.open .drawer-nav-item:nth-child(1) {
  transition-delay: 0.10s;
}

.drawer-overlay.open .drawer-nav-item:nth-child(2) {
  transition-delay: 0.16s;
}

.drawer-overlay.open .drawer-nav-item:nth-child(3) {
  transition-delay: 0.22s;
}

.drawer-nav-item:hover,
.drawer-nav-item:active {
  background: linear-gradient(135deg, rgba(224, 152, 73, 0.18) 0%, rgba(32, 34, 39, 0.98) 100%);
  border-color: var(--border-active);
  color: var(--primary-light);
  transform: translateX(-3px);
}

.drawer-divider {
  height: 1px;
  background: var(--border-color);
  margin: 1.25rem 0;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.drawer-overlay.open .drawer-divider {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 0.26s;
}

.drawer-actions-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.drawer-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  width: 100%;
  text-align: left;
  transition: var(--transition);
  opacity: 0;
  transform: translateX(20px);
}

.drawer-overlay.open .drawer-action-btn {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, border-color 0.2s, color 0.2s;
}

.drawer-overlay.open .drawer-action-btn:nth-child(1) {
  transition-delay: 0.30s;
}

.drawer-overlay.open .drawer-action-btn:nth-child(2) {
  transition-delay: 0.36s;
}

.drawer-overlay.open .drawer-action-btn:nth-child(3) {
  transition-delay: 0.42s;
}

.drawer-overlay.open .drawer-action-btn:nth-child(4) {
  transition-delay: 0.48s;
}

.drawer-action-btn:hover,
.drawer-action-btn:active {
  background: rgba(224, 152, 73, 0.12);
  color: #fff;
  border-color: var(--primary);
  transform: translateX(-3px);
}

/* ==========================================================
   HERO SECTION (DESKTOP / HOME VIEW)
   ========================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, rgba(12, 13, 14, 0.3) 0%, rgba(12, 13, 14, 0.92) 100%),
    url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1920&q=85') center/cover no-repeat;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  width: 100%;
}

@media (max-width: 768px) {
  .hero-section {
    display: none;
    /* Mobilde doğrudan QR Menü başlığı ve atölye sekmeleriyle açılır, görseldeki birebir mobile app / QR deneyimi */
  }
}

.hero-content {
  max-width: 1350px;
  margin: 0 auto;
}

.hero-main-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  letter-spacing: 6px;
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.25rem;
}

.hero-sub-badges {
  font-size: 0.9rem;
  letter-spacing: 5px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: #e0e0e0;
  font-weight: 300;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* 3 WORKSHOP CARDS (FABRIKA MUTFAK, BURGER, MEZE) */
.workshops-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1350px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .workshops-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.workshop-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  /*border: 1px solid rgba(255, 255, 255, 0.12);*/
  cursor: pointer;
  transition: var(--transition);
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.workshop-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(10, 10, 12, 0.85) 60%, rgba(10, 10, 12, 0.98) 100%);
  transition: var(--transition);
}

.workshop-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-glow);
}

.workshop-card:hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 10, 12, 0.8) 50%, rgba(10, 10, 12, 0.98) 100%);
}

.workshop-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.workshop-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 0.25rem;
}

.workshop-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.btn-workshop-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.workshop-card:hover .btn-workshop-action {
  border-color: var(--primary);
  background: var(--primary);
  color: #000;
}

/* ==========================================================
   ACTIVE BRANCH & BANNER (MOBILE & QR SECTION)
   ========================================================== */
.branch-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
}

.branch-banner-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 5.5rem 1.25rem 2rem;
  box-sizing: border-box;
}

.branch-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(10, 11, 14, 0.5) 0%, rgba(10, 11, 14, 0.8) 65%, rgba(10, 11, 14, 0.98) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.branch-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 520px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.branch-hero-center-box {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  width: 100%;
}

.branch-hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

.hero-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 11vw, 5.5rem);
  letter-spacing: 6px;
  line-height: 0.92;
  margin: 0;
  color: #fff;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFFFF 25%, #FFA84A 50%, #FFFFFF 75%, #E09849 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(224, 152, 73, 0.5)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.95));
  animation: heroTitleDrop 1.2s cubic-bezier(0.12, 0.9, 0.25, 1) both, fabrikaShimmer 6s ease-in-out infinite, fabrikaGlowPulse 4s ease-in-out infinite;
  will-change: transform, opacity, background-position;
}

@keyframes heroTitleDrop {
  0% {
    opacity: 0;
    transform: translateY(-25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fabrikaShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes fabrikaGlowPulse {
  0%, 100% {
    filter: drop-shadow(0 4px 18px rgba(224, 152, 73, 0.45)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.95));
  }
  50% {
    filter: drop-shadow(0 6px 32px rgba(224, 152, 73, 0.8)) drop-shadow(0 0 15px rgba(255, 168, 74, 0.6)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.95));
  }
}

.branch-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 7vw, 2.8rem);
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  margin: 0.2rem 0 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
  animation: heroFadeUp 1.2s cubic-bezier(0.12, 0.9, 0.25, 1) 0.25s both;
}

.branch-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  max-width: 480px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  animation: heroFadeUp 1.2s cubic-bezier(0.12, 0.9, 0.25, 1) 0.45s both;
}

.branch-banner-actions {
  margin-top: 0.25rem;
  animation: heroFadeUp 1.2s cubic-bezier(0.12, 0.9, 0.25, 1) 0.65s both;
}

.banner-scroll-indicator {
  margin-top: auto;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: color 0.25s ease;
  animation: heroFadeUp 1.2s cubic-bezier(0.12, 0.9, 0.25, 1) 0.85s both;
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(35px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-banner-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, #d87e22 100%);
  color: #000;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(224, 152, 73, 0.4);
  transition: all 0.25s ease;
  touch-action: manipulation;
}

.btn-banner-explore svg {
  animation: buttonArrowBounce 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  transition: transform 0.25s ease;
}

.btn-banner-explore:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(224, 152, 73, 0.55);
}

.btn-banner-explore:hover svg {
  animation-play-state: paused;
  transform: translateY(4px) scale(1.15);
}

.btn-banner-explore:active {
  transform: scale(0.96);
}

@keyframes buttonArrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.banner-scroll-indicator {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: color 0.25s ease;
}

.banner-scroll-indicator:hover {
  color: var(--primary-light);
}

.scroll-mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.scroll-mouse-icon::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollWheel 1.8s infinite;
}

.scroll-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes scrollWheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 14px);
    opacity: 0;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WORKSHOP SWITCH TABS (MENÜ & ATÖLYE SEÇİM KARTLARI) */
.workshop-nav-tabs-wrapper {
  max-width: 1350px;
  margin: 1rem auto 0.25rem;
  padding: 0;
}

.workshop-nav-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
}

.workshop-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  padding: 9px 4px 8px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  touch-action: manipulation;
  width: 100%;
  min-width: 0;
}

.workshop-tab-icon {
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.workshop-tab-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  overflow: hidden;
}

.workshop-tab-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.workshop-tab-desc {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  padding: 1px 4px;
  border-radius: 4px;
}

.workshop-tab-item:hover {
  border-color: rgba(224, 152, 73, 0.5);
  background: var(--bg-card-hover);
}

/* ÇOK DAHA BELİRGİN VE VURGULU AKTİF MENÜ KARTI */
.workshop-tab-item.active {
  background: linear-gradient(135deg, rgba(224, 152, 73, 0.25) 0%, rgba(20, 21, 24, 0.98) 100%);
  border: 1.5px solid var(--primary);
  box-shadow: 0 4px 18px rgba(224, 152, 73, 0.3), inset 0 0 12px rgba(224, 152, 73, 0.1);
  transform: translateY(-2px);
}

.workshop-tab-item.active .workshop-tab-icon {
  background: var(--primary);
  color: #000;
  border-color: var(--primary-light);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(224, 152, 73, 0.4);
}

.workshop-tab-item.active .workshop-tab-title {
  color: #ffd480;
  text-shadow: 0 2px 8px rgba(224, 152, 73, 0.35);
}

.workshop-tab-item.active .workshop-tab-desc {
  color: #fff;
  background: rgba(224, 152, 73, 0.25);
  display: inline-block;
}

/* ==========================================================
   CATEGORY SECTIONS (VERTICAL FLOW / SECTION HEADERS)
   ========================================================== */
.category-section-block {
  margin-bottom: 2.5rem;
}

.category-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.category-section-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-section-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.category-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  color: #fff;
  line-height: 1;
}

.category-section-count {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary-light);
  background: rgba(224, 152, 73, 0.12);
  border: 1px solid rgba(224, 152, 73, 0.25);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ==========================================================
   CATEGORY SELECTOR BUTTON & BOTTOM SHEET MODAL
   ========================================================== */
.btn-category-sheet-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(224, 152, 73, 0.22) 0%, rgba(26, 28, 32, 0.98) 100%);
  border: 1px solid rgba(224, 152, 73, 0.45);
  color: #fff;
  padding: 0 8px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

.btn-category-sheet-trigger:hover {
  background: linear-gradient(135deg, rgba(224, 152, 73, 0.35) 0%, rgba(35, 38, 44, 0.98) 100%);
  border-color: var(--primary);
  box-shadow: 0 3px 12px rgba(224, 152, 73, 0.35);
  transform: translateY(-1px);
}

.btn-category-sheet-trigger:active {
  transform: scale(0.96);
}

.cat-trigger-icon {
  font-size: 0.88rem;
  line-height: 1;
  flex-shrink: 0;
}

.cat-trigger-text {
  color: #fff;
  font-size: 0.77rem;
  font-weight: 700;
  white-space: nowrap;
}

.cat-trigger-arrow {
  color: var(--primary-light);
  transition: transform 0.25s ease;
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.category-sheet-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 80vh;
  background: rgba(18, 19, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1.5px solid rgba(224, 152, 73, 0.35);
  border-radius: 24px 24px 0 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.85);
}

.modal-overlay.open .category-sheet-modal {
  transform: translateY(0);
}

@media (min-width: 600px) {
  .category-sheet-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    bottom: auto;
    right: auto;
    transform: translate(-50%, -50%) scale(0.92);
    width: 90%;
    max-width: 440px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(224, 152, 73, 0.3);
    box-shadow: var(--shadow-modal);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .modal-overlay.open .category-sheet-modal {
    transform: translate(-50%, -50%) scale(1);
  }
}

.category-sheet-header {
  padding: 1.2rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 16, 18, 0.95);
}

.category-sheet-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .category-sheet-title-wrap {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.08s;
}

.category-sheet-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.category-sheet-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  color: #fff;
  line-height: 1;
  margin: 0;
}

.category-sheet-sub {
  font-size: 0.75rem;
  color: var(--primary-light);
  font-weight: 600;
  margin: 2px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-sheet-header .modal-close-btn {
  opacity: 0;
  transform: scale(0.6) rotate(-90deg);
  transition: opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s, background 0.2s;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
}

.modal-overlay.open .category-sheet-header .modal-close-btn {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: 0.12s;
}

.category-sheet-header .modal-close-btn:hover {
  color: #fff;
  background: rgba(224, 152, 73, 0.2);
  border-color: var(--primary);
  transform: scale(1.1) rotate(90deg);
}

.category-sheet-list {
  padding: 0.85rem 1rem 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 60vh;
}

.category-sheet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  touch-action: manipulation;
  width: 100%;
  text-align: left;
  opacity: 0;
  transform: translateY(16px);
}

/* Staggered Entrance for Category Sheet Items */
.modal-overlay.open .category-sheet-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, border-color 0.2s, transform 0.2s;
}

.modal-overlay.open .category-sheet-item:nth-child(1) {
  transition-delay: 0.10s;
}

.modal-overlay.open .category-sheet-item:nth-child(2) {
  transition-delay: 0.15s;
}

.modal-overlay.open .category-sheet-item:nth-child(3) {
  transition-delay: 0.20s;
}

.modal-overlay.open .category-sheet-item:nth-child(4) {
  transition-delay: 0.25s;
}

.modal-overlay.open .category-sheet-item:nth-child(5) {
  transition-delay: 0.30s;
}

.modal-overlay.open .category-sheet-item:nth-child(6) {
  transition-delay: 0.35s;
}

.modal-overlay.open .category-sheet-item:nth-child(7) {
  transition-delay: 0.40s;
}

.modal-overlay.open .category-sheet-item:nth-child(8) {
  transition-delay: 0.45s;
}

.category-sheet-item:hover,
.category-sheet-item:active {
  background: linear-gradient(135deg, rgba(224, 152, 73, 0.2) 0%, rgba(30, 32, 36, 0.98) 100%);
  border-color: var(--primary);
  transform: translateX(5px) scale(1.01);
}

.category-sheet-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-sheet-item-icon {
  font-size: 1.35rem;
  line-height: 1;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.category-sheet-item-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.category-sheet-item-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(224, 152, 73, 0.12);
  border: 1px solid rgba(224, 152, 73, 0.25);
  padding: 3px 9px;
  border-radius: 14px;
}

/* ==========================================================
   MAIN MENU CONTENT AREA
   ========================================================== */
.main-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2rem;
  scroll-margin-top: 70px;
}

.menu-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.25s cubic-bezier(0.12, 0.9, 0.25, 1), transform 1.25s cubic-bezier(0.12, 0.9, 0.25, 1);
  will-change: transform, opacity;
}

/* Desktop-only nav elements: hidden on mobile by default */
.desktop-category-nav,
.sidebar-header {
  display: none;
}

.menu-toolbar.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.toolbar-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s cubic-bezier(0.12, 0.9, 0.25, 1), transform 1.1s cubic-bezier(0.12, 0.9, 0.25, 1);
  will-change: transform, opacity;
}

.menu-toolbar.revealed .toolbar-top-row {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.table-selector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(26, 28, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 8px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #fff;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

.table-icon {
  font-size: 0.88rem;
  line-height: 1;
  flex-shrink: 0;
}

.table-value {
  color: var(--primary-light);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.2px;
}

.search-box {
  position: relative;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s cubic-bezier(0.12, 0.9, 0.25, 1), transform 1.1s cubic-bezier(0.12, 0.9, 0.25, 1);
  will-change: transform, opacity;
}

.menu-toolbar.revealed .search-box {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 0.85rem;
  font-family: inherit;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(224, 152, 73, 0.2);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

/* ==========================================================
   PRODUCTS DISPLAY: 2-COLUMN GRID (FOR BURGER / MUTFAK)
   ========================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  will-change: transform, opacity;
}

.product-card.revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.product-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 15px rgba(224, 152, 73, 0.15);
}

/* Kalıcı sepette olma durumu */
.product-card.in-cart {
  border: 1px solid var(--primary) !important;
  box-shadow: 0 0 14px rgba(224, 152, 73, 0.28) !important;
}

.meze-item-row.in-cart {
  border: 1px solid var(--primary) !important;
  box-shadow: 0 0 14px rgba(224, 152, 73, 0.22) !important;
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 72%;
  background: #111;
  overflow: hidden;
}

.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--primary-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid rgba(224, 152, 73, 0.4);
}

.product-badge.popular-badge {
  background: linear-gradient(135deg, rgba(224, 152, 73, 0.95) 0%, rgba(184, 115, 51, 0.95) 100%);
  color: #0d0e12;
  font-weight: 800;
  border: 1px solid rgba(255, 230, 180, 0.6);
  box-shadow: 0 4px 12px rgba(224, 152, 73, 0.4), 0 0 6px rgba(255, 200, 100, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.badge-fire {
  font-size: 0.7rem;
  line-height: 1;
}

/* Popüler ürün kartına zarif altın kenarlık vurgusu */
.product-card.is-popular {
  border-color: rgba(224, 152, 73, 0.28);
}

.product-card.is-popular:hover {
  border-color: rgba(224, 152, 73, 0.8) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(224, 152, 73, 0.25) !important;
}

.product-body {
  padding: 0.85rem 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.8px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 3px;
}

.product-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2.8em;
  /* Exactly 2 lines height, no bottom clipping */
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.25rem;
  gap: 0.35rem;
  position: relative;
  z-index: 10;
  height: 28px;
}

.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.8px;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}

.btn-add-item {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #e09849 0%, #d48b3b 100%);
  border: 1px solid rgba(255, 212, 128, 0.4);
  color: #0b0c0e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(224, 152, 73, 0.35);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 12;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .btn-add-item:hover {
    background: linear-gradient(135deg, #ffd480 0%, #e09849 100%);
    color: #000;
    border-color: #ffd480;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(224, 152, 73, 0.5);
  }
}

.btn-add-item:active {
  background: #c47c30;
  color: #000;
  transform: scale(0.92);
}

/* QUANTITY STEPPER (- 1 +) */
.product-card .qty-stepper,
.meze-item-row .qty-stepper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(22, 24, 28, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  height: 27px;
  width: 64px;
  overflow: hidden;
  flex-shrink: 0;
  z-index: 12;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: 2px;
  animation: stepperSlideExpand 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.product-card .qty-stepper .qty-btn,
.meze-item-row .qty-stepper .qty-btn {
  width: 20px;
  height: 25px;
  color: #fff;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  border: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.product-card .qty-stepper .qty-val,
.meze-item-row .qty-stepper .qty-val {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  user-select: none;
  line-height: 1;
  padding: 0 1px;
  transition: opacity 0.18s ease, color 0.18s ease;
}

@keyframes stepperSlideExpand {
  0% {
    width: 28px;
    border-color: rgba(224, 152, 73, 0.8);
    box-shadow: 0 0 12px rgba(224, 152, 73, 0.4);
  }

  100% {
    width: 64px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  }
}

/* The minus button rolls in from the right spinning */
.product-card .qty-stepper .qty-btn:first-child,
.meze-item-row .qty-stepper .qty-btn:first-child {
  animation: minusRollIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes minusRollIn {
  0% {
    transform: translateX(34px) rotate(-180deg);
    color: #ffd480;
  }

  100% {
    transform: translateX(0) rotate(0deg);
    color: #fff;
  }
}

/* The count number fades and slides smoothly into center */
.product-card .qty-stepper .qty-val,
.meze-item-row .qty-stepper .qty-val {
  animation: valSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes valSlideIn {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* The plus button fades in cleanly at the right */
.product-card .qty-stepper .qty-btn:last-child,
.meze-item-row .qty-stepper .qty-btn:last-child {
  animation: plusFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes plusFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Subtle smooth ambient glow and fade on value update */
.qty-stepper.stepper-bump {
  animation: stepperGlow 0.4s ease-out;
}

@keyframes stepperGlow {
  0% {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  }

  35% {
    border-color: rgba(224, 152, 73, 0.9);
    box-shadow: 0 0 10px rgba(224, 152, 73, 0.5), inset 0 0 4px rgba(224, 152, 73, 0.25);
  }

  100% {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  }
}

.qty-val.qty-updated {
  animation: qtySoftFade 0.35s ease-out;
}

@keyframes qtySoftFade {
  0% {
    opacity: 0.35;
    color: #ffd480;
    text-shadow: 0 0 8px rgba(255, 212, 128, 0.9);
  }

  100% {
    opacity: 1;
    color: #fff;
    text-shadow: none;
  }
}

/* Stepper Smooth Collapse when reaching 0 */
.product-card .qty-stepper.stepper-collapsing,
.meze-item-row .qty-stepper.stepper-collapsing {
  animation: stepperSlideCollapse 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  pointer-events: none !important;
}

.product-card .qty-stepper.stepper-collapsing .qty-btn:first-child,
.meze-item-row .qty-stepper.stepper-collapsing .qty-btn:first-child {
  animation: minusRollOut 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.product-card .qty-stepper.stepper-collapsing .qty-val,
.meze-item-row .qty-stepper.stepper-collapsing .qty-val {
  animation: valSlideOut 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.product-card .qty-stepper.stepper-collapsing .qty-btn:last-child,
.meze-item-row .qty-stepper.stepper-collapsing .qty-btn:last-child {
  animation: plusFadeOut 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes stepperSlideCollapse {
  0% {
    width: 64px;
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.18);
  }

  40% {
    border-color: rgba(224, 152, 73, 0.7);
  }

  100% {
    width: 28px;
    opacity: 0.2;
    transform: scale(0.85);
    border-color: transparent;
  }
}

@keyframes minusRollOut {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateX(28px) rotate(180deg);
    opacity: 0;
  }
}

@keyframes valSlideOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0.3);
  }
}

@keyframes plusFadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}

/* Smooth pop-in when regular + button returns */
.btn-add-item.btn-add-pop-in {
  animation: btnAddPopIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes btnAddPopIn {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }

  60% {
    transform: scale(1.12);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.meze-item-row {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  gap: 0.85rem;
  transition: var(--transition);
  position: relative;
}

.meze-item-row:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.meze-thumb {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  object-fit: cover;
  border: 1.5px solid rgba(224, 152, 73, 0.35);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.meze-item-row:hover .meze-thumb {
  transform: scale(1.05);
}

.meze-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.meze-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 2px;
}

.meze-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meze-portion {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-top: 3px;
  display: inline-block;
}

.meze-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  min-width: 68px;
}

.meze-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  color: var(--primary-light);
  line-height: 1;
}

.meze-add-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid rgba(224, 152, 73, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.meze-add-btn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  transform: scale(1.08);
}

.meze-add-btn:active {
  transform: scale(0.92);
}

/* QUANTITY STEPPER (- 1 +) */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.qty-btn {
  width: 28px;
  height: 28px;
  color: #fff;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

/* Sadece fare kullanılan masaüstü cihazlarda hover çalışsın, mobilde sarı takılı kalmasın */
@media (hover: hover) and (pointer: fine) {
  .qty-btn:hover {
    background: var(--primary);
    color: #000;
  }
}

/* Mobilde ve dokunmatik ekranda sadece basıldığı an parıldasın, el çekilince eski haline dönsün */
.qty-btn:active {
  background: var(--primary);
  color: #000;
  transform: scale(0.92);
}

.qty-val {
  min-width: 22px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

/* ==========================================================
   DELIVERY PLATFORMS SECTION (ANIMATED & GLOWING)
   ========================================================== */
.delivery-section {
  margin-top: 2.5rem;
  padding: 2.2rem 1.25rem;
  background: linear-gradient(135deg, rgba(26, 28, 33, 0.85) 0%, rgba(16, 17, 20, 0.95) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 152, 73, 0.25);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(224, 152, 73, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.35s cubic-bezier(0.12, 0.9, 0.25, 1), transform 1.35s cubic-bezier(0.12, 0.9, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, opacity;
}

.delivery-section.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}



/* Child elements staggered animations for delivery section */
.delivery-section .delivery-title,
.delivery-section .delivery-subtitle,
.delivery-section .delivery-badge-btn {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s cubic-bezier(0.12, 0.9, 0.25, 1), transform 1.1s cubic-bezier(0.12, 0.9, 0.25, 1);
  will-change: transform, opacity;
}

.delivery-section.revealed .delivery-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.delivery-section.revealed .delivery-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.delivery-section.revealed .delivery-badge-btn:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

.delivery-section.revealed .delivery-badge-btn:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.delivery-section.revealed .delivery-badge-btn:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.75s;
}

.delivery-section.revealed .delivery-badge-btn:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

.delivery-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.65rem;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.delivery-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 2;
}

.delivery-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .delivery-badges-grid {
    grid-template-columns: repeat(4, auto);
    max-width: none;
    justify-content: center;
  }
}

.delivery-badge-btn {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: capitalize;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.delivery-badge-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.6s;
}

.delivery-badge-btn:hover::after {
  left: 100%;
}

.delivery-badge-btn:hover {
  transform: translateY(-4px) scale(1.04) !important;
  filter: brightness(1.18);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(224, 152, 73, 0.25);
}

.delivery-badge-btn:active {
  transform: scale(0.96) !important;
}

/* ==========================================================
   BOTTOM APP NAVIGATION BAR (MOBILE APP STYLE)
   ========================================================== */
.bottom-app-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: rgba(14, 15, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
}

.bottom-nav-inner {
  max-width: 360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  align-items: center;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  border-radius: 12px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  touch-action: manipulation;
  border: 1px solid transparent;
}

.bottom-nav-icon {
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.bottom-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: inherit;
  transition: color 0.25s ease;
}

.bottom-nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.bottom-nav-item.active {
  color: var(--primary);
  background: rgba(224, 152, 73, 0.12);
  border-color: rgba(224, 152, 73, 0.3);
}

.bottom-nav-item.active .bottom-nav-icon {
  transform: scale(1.15);
}

.bottom-nav-item.active .bottom-nav-label {
  color: #fff;
  font-weight: 800;
}

/* Bottom Cart Nav Button */
.bottom-nav-cart {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bottom-cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
}

.bottom-cart-badge {
  position: absolute;
  top: -6px;
  right: -7px;
  background: linear-gradient(135deg, #ffd480 0%, #e09849 100%);
  color: #0b0c0e;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  transform-origin: center center;
}

/* First time appearing: expanding zoom & pop animation from inside out */
.bottom-cart-badge.badge-first-appear,
.cart-badge.badge-first-appear {
  animation: badgePopZoom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes badgePopZoom {
  0% {
    transform: scale(0);
    opacity: 0;
    box-shadow: 0 0 0 rgba(224, 152, 73, 0);
  }

  60% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 14px rgba(224, 152, 73, 0.8);
  }

  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }
}

.bottom-cart-badge.badge-updated,
.cart-badge.badge-updated {
  animation: badgeSoftFade 0.25s ease-out;
}

@keyframes badgeSoftFade {
  0% {
    opacity: 0.4;
    transform: scale(0.85);
    color: #000;
  }

  60% {
    transform: scale(1.15);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    color: #0b0c0e;
  }
}

.bottom-nav-cart.has-items {
  background: linear-gradient(135deg, rgba(224, 152, 73, 0.18) 0%, rgba(24, 26, 30, 0.98) 100%);
  border-color: rgba(224, 152, 73, 0.45);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.bottom-nav-cart.has-items .bottom-nav-label {
  color: var(--primary-light);
  font-weight: 700;
  display: inline-block;
  transition: color 0.3s ease;
}

.bottom-nav-label.price-updated {
  animation: priceSoftFade 0.25s ease-out;
}

@keyframes priceSoftFade {
  0% {
    opacity: 0.35;
    color: #ffd480;
  }

  100% {
    opacity: 1;
    color: var(--primary-light);
  }
}

/* Stationary Smooth Ambient Glow on Add to Cart (Zero Movement / Zero Scale) */
.bottom-nav-cart.cart-bump {
  animation: cartAmbientGlow 0.6s ease-out;
}

@keyframes cartAmbientGlow {
  0% {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    border-color: rgba(224, 152, 73, 0.45);
  }

  30% {
    border-color: #ffd480;
    box-shadow: 0 0 16px rgba(224, 152, 73, 0.5), inset 0 0 8px rgba(224, 152, 73, 0.2);
  }

  100% {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    border-color: rgba(224, 152, 73, 0.45);
  }
}

/* Header Cart Button Ambient Glow */
.btn-header-cart.cart-bump,
.btn-drawer-cart.cart-bump {
  animation: cartAmbientGlow 0.6s ease-out;
}

/* ==========================================================
   FLOATING ONLINE ORDER BUTTON (MOBILE FAB - ORANGE THEME)
   ========================================================== */
.fab-online-order {
  position: fixed;
  bottom: calc(35px + env(safe-area-inset-bottom));
  right: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffa84a 0%, #e09849 50%, #c47926 100%);
  color: #0b0c0e;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55), 0 0 25px rgba(224, 152, 73, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  z-index: 180;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
}

.fab-order-icon {
  font-size: 1.4rem;
  line-height: 1;
  display: block;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fab-order-text {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #0b0c0e;
  line-height: 1;
  text-align: center;
  transition: transform 0.3s ease;
}

.fab-online-order:hover {
  transform: scale(1.1) translateY(-2px);
  background: linear-gradient(135deg, #ffbe73 0%, #f0a758 50%, #d88930 100%);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7), 0 0 35px rgba(224, 152, 73, 0.8);
}

.fab-online-order:active {
  transform: scale(0.92);
}

.fab-order-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(224, 152, 73, 0.7);
  opacity: 0;
  pointer-events: none;
  animation: fabOrderPulse 2.8s infinite;
}

@keyframes fabOrderPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.25);
    opacity: 0;
  }

  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

/* Hide FAB on PC / Desktop screens (Header Online Order button is active on PC) */
@media (min-width: 900px) {
  .fab-online-order {
    display: none !important;
  }
}

/* Hide FAB smoothly with scale/fade animation when side drawer or modals are open */
body:has(.drawer-overlay.open) .fab-online-order,
.drawer-overlay.open~.fab-online-order,
body:has(.modal-overlay.open) .fab-online-order,
.modal-overlay.open~.fab-online-order {
  opacity: 0 !important;
  transform: scale(0.5) translateY(30px) !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* ONLINE ORDER SHEET MODAL */
.online-order-sheet-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: var(--bg-card);
  border-top: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 20px 20px 0 0;
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.8);
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
}

@media (min-width: 600px) {
  .online-order-sheet-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    bottom: auto;
    right: auto;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 440px;
    border-radius: 20px;
    border: 1px solid rgba(37, 211, 102, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(37, 211, 102, 0.2);
    opacity: 0;
    pointer-events: none;
    padding-bottom: 1.5rem;
  }

  .modal-overlay.open .online-order-sheet-modal {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: all;
  }
}

.modal-overlay.open .online-order-sheet-modal {
  transform: translateY(0);
}

.online-order-sheet-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.online-order-sheet-header .modal-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.online-order-sheet-header .modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
  transform: scale(1.1) rotate(90deg);
}

.online-order-sheet-header .modal-close-btn:active {
  transform: scale(0.92);
}

.online-order-sheet-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.online-order-sheet-icon {
  font-size: 1.8rem;
}

.online-order-sheet-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1.5px;
  color: #fff;
  line-height: 1;
  margin: 0;
}

.online-order-sheet-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.online-order-sheet-list {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 60vh;
  overflow-y: auto;
}

.online-order-sheet-list .delivery-badge-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.online-order-sheet-list .delivery-badge-btn:active {
  transform: scale(0.97);
}

/* ==========================================================
   CART MODAL / DRAWER
   ========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-radius: 20px 20px 0 0;
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 600px) {
  .cart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    bottom: auto;
    right: auto;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 480px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
  }

  .modal-overlay.open .cart-modal {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: all;
  }
}

.modal-overlay.open .cart-modal {
  transform: translateY(0);
}

.modal-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-modal {
  color: var(--text-muted);
  font-size: 1.3rem;
  padding: 4px 8px;
  border-radius: 50%;
}

.btn-close-modal:hover {
  color: #fff;
}

.cart-items-list {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
  max-height: 40vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(224, 152, 73, 0.3);
  flex-shrink: 0;
}

.cart-item-meta {
  flex: 1;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.cart-item-sub {
  font-size: 0.75rem;
  color: var(--primary);
  margin-top: 2px;
}

.modal-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-elevated);
}

.cart-breakdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.cart-total-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart-total-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  color: var(--primary-light);
}

.btn-submit-order {
  width: 100%;
  background: var(--primary);
  color: #000;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-submit-order:hover {
  background: #f7bb72;
}

.order-options {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.order-opt-btn {
  flex: 1;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition);
}

.order-opt-btn.active {
  border-color: var(--primary);
  color: #fff;
  background: rgba(224, 152, 73, 0.1);
}

/* ==========================================================
   EMPTY STATE / NOT FOUND
   ========================================================== */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-state svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--text-dim);
}

/* ==========================================================
   PRODUCT DETAIL MODAL
   ========================================================== */
.product-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 90vh;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-radius: 24px 24px 0 0;
  z-index: 205;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .product-modal {
  transform: translateY(0);
}

@media (min-width: 600px) {
  .modal-overlay {
    align-items: center !important;
    justify-content: center !important;
  }

  .product-modal {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    right: auto !important;
    transform: scale(0.92) !important;
    width: 90%;
    max-width: 520px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  }

  .modal-overlay.open .product-modal {
    transform: scale(1) !important;
    opacity: 1 !important;
    pointer-events: all;
  }

  .cart-modal {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    right: auto !important;
    transform: scale(0.92) !important;
    width: 90%;
    max-width: 480px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  }

  .modal-overlay.open .cart-modal {
    transform: scale(1) !important;
    opacity: 1 !important;
    pointer-events: all;
  }
}

.product-modal-hero {
  position: relative;
  width: 100%;
  height: 220px;
  background: #111;
  overflow: hidden;
}

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

.btn-close-modal-float {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.btn-close-modal-float:hover {
  background: #000;
  transform: scale(1.08);
}

.product-modal-body {
  padding: 1.25rem 1.25rem 1.5rem;
  overflow-y: auto;
  flex: 1;
  max-height: calc(90vh - 300px);
}

.product-modal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.product-modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 1.2px;
  color: #fff;
  line-height: 1.1;
}

.product-modal-portion {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.product-modal-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--primary-light);
}

.product-modal-desc {
  font-size: 0.85rem;
  color: #b5b9bf;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.product-meta-chips {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.meta-chip {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-section-block {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ingredients-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.ingredients-list li {
  font-size: 0.78rem;
  color: #e0e0e0;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 2px solid var(--primary);
}

.allergens-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.allergen-chip {
  background: rgba(234, 0, 75, 0.12);
  border: 1px solid rgba(234, 0, 75, 0.35);
  color: #ff6b8b;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.product-modal-footer {
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-qty {
  height: 44px;
}

.modal-qty .qty-btn {
  width: 38px;
  height: 44px;
  font-size: 1.1rem;
}

.modal-qty .qty-val {
  min-width: 30px;
  font-size: 1rem;
}

/* ==========================================================
   TABLE SELECTION MODAL (QR WELCOME DIALOG)
   ========================================================== */
.table-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  z-index: 210;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  transition: var(--transition);
}

.modal-overlay.open .table-modal {
  transform: translate(-50%, -50%) scale(1);
}

.table-modal-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.table-modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
}

.table-modal-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.5rem auto 1.5rem;
  line-height: 1.4;
  max-width: 340px;
}

.tables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-height: 240px;
  overflow-y: auto;
  padding: 4px;
  margin-bottom: 1.5rem;
}

.table-chip-btn {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 6px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.table-chip-btn:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
}

.table-chip-btn.selected {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(224, 152, 73, 0.4);
}

.btn-confirm-table {
  width: 100%;
  background: var(--primary);
  color: #000;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-confirm-table:hover {
  background: #f7bb72;
}

/* ==========================================================
   CONFIRM DIALOG MODAL (GARSON ÇAĞIR / ONAY)
   ========================================================== */
.confirm-dialog-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  z-index: 310;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 25px var(--primary-glow);
  transition: var(--transition);
}

.modal-overlay.open .confirm-dialog-modal {
  transform: translate(-50%, -50%) scale(1);
}

.confirm-dialog-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

.confirm-dialog-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 1.5px;
  color: #fff;
  line-height: 1;
}

.confirm-dialog-desc {
  font-size: 0.85rem;
  color: #b5b9bf;
  margin: 0.75rem auto 1.5rem;
  line-height: 1.4;
}

.confirm-dialog-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-dialog-cancel {
  flex: 1;
  padding: 11px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-dialog-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-dialog-confirm {
  flex: 1.2;
  padding: 11px;
  background: var(--primary);
  border: none;
  color: #000;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(224, 152, 73, 0.3);
}

.order-confirm-dialog {
  max-width: 380px;
}

#orderConfirmModalOverlay {
  align-items: center !important;
  justify-content: center !important;
  z-index: 340 !important;
  padding: 1rem;
}

.confirm-dialog-items-preview {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 12px;
  max-height: 130px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0.5rem 0;
  text-align: left;
}

.confirm-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #fff;
}

/* ==========================================================
   ORDER SUCCESS PREMIUM MODAL
   ========================================================== */
#orderSuccessModalOverlay {
  align-items: center !important;
  justify-content: center !important;
  z-index: 350 !important;
  padding: 1rem;
}

.order-success-modal {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(145deg, #181a1f 0%, #101215 100%);
  border: 1px solid rgba(224, 152, 73, 0.4);
  border-radius: 24px;
  padding: 1.75rem 1.5rem;
  z-index: 360;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95), 0 0 40px rgba(224, 152, 73, 0.2);
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  overflow: hidden;
  margin: auto;
}

.modal-overlay.open .order-success-modal {
  transform: scale(1);
  opacity: 1;
}

.order-success-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 80px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.order-success-badge-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.45);
  animation: badgePopSuccess 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes badgePopSuccess {
  0% {
    transform: scale(0.4) rotate(-20deg);
    opacity: 0;
  }

  70% {
    transform: scale(1.15) rotate(5deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.order-success-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.85rem;
  letter-spacing: 1.8px;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.order-success-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.order-success-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.order-row-label {
  color: var(--text-dim);
}

.order-row-val {
  color: #fff;
  font-weight: 700;
}

.order-success-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  margin: 4px 0;
  max-height: 120px;
  overflow-y: auto;
}

.order-success-item-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #fff;
}

.order-success-item-name {
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
}

.item-qty-tag {
  color: var(--primary-light);
  font-weight: 800;
}

.order-success-item-price {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
}

.order-success-row.total-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  margin-top: 2px;
}

.order-success-row.total-row .order-row-label {
  font-weight: 800;
  color: #fff;
}

.order-success-row.total-row .order-row-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-light);
}

.order-success-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.76rem;
  color: #a7f3d0;
  text-align: left;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

.btn-order-success-done {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, #d8872e 100%);
  color: #0b0c0e;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 13px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(224, 152, 73, 0.4);
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.btn-order-success-done:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(224, 152, 73, 0.55);
}

.btn-order-success-done:active {
  transform: scale(0.98);
}

/* ==========================================================
   TOAST NOTIFICATION (TOP FLOATING DYNAMIC BADGE)
   ========================================================== */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-35px);
  background: rgba(21, 22, 25, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-active);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px var(--primary-glow);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* ==========================================================
   MODERN UI ANIMATIONS & TRANSITIONS
   ========================================================== */

/* Branch Banner & Header entrance animation */
.branch-banner {
  animation: bannerFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bannerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger entrance helper if needed */


/* Interactive button press micro-animation */
.btn-category-sheet-trigger,
.product-modal-add-btn,
.btn-submit-order,
.bottom-nav-item,
.qty-btn {
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, box-shadow 0.2s ease;
}

.btn-category-sheet-trigger:active,
.product-modal-add-btn:active,
.btn-submit-order:active,
.bottom-nav-item:active,
.qty-btn:active {
  transform: scale(0.94);
}

/* Subtle glow pulse on category button */
@keyframes triggerGlow {

  0%,
  100% {
    box-shadow: 0 0 0 rgba(224, 152, 73, 0);
  }

  50% {
    box-shadow: 0 0 14px rgba(224, 152, 73, 0.3);
  }
}

.btn-category-sheet-trigger {
  animation: triggerGlow 3.5s infinite ease-in-out;
}

/* ==========================================================
   APP FOOTER STYLES (FULL WIDTH EDGE-TO-EDGE & ANIMATED)
   ========================================================== */
.app-footer {
  width: 100%;
  margin-top: 2rem;
  padding: 2.5rem 1.25rem 2rem;
  background: rgba(14, 15, 18, 0.98);
  border-top: 1px solid rgba(224, 152, 73, 0.25);
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.35s cubic-bezier(0.12, 0.9, 0.25, 1), transform 1.35s cubic-bezier(0.12, 0.9, 0.25, 1);
  will-change: transform, opacity;
}

.app-footer.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Footer child staggered animations */
.footer-main,
.footer-info-col,
.footer-map-col,
.footer-bottom {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s cubic-bezier(0.12, 0.9, 0.25, 1), transform 1.1s cubic-bezier(0.12, 0.9, 0.25, 1);
  will-change: transform, opacity;
}

.app-footer.revealed .footer-main {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.app-footer.revealed .footer-info-col {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.app-footer.revealed .footer-map-col {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.app-footer.revealed .footer-bottom {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

@media (min-width: 820px) {
  .footer-main {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3.5rem;
  }

  .footer-info-col {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .footer-brand {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .footer-desc {
    margin: 0.6rem 0 0 !important;
    text-align: left !important;
    max-width: 480px;
  }

  .footer-social-links {
    justify-content: flex-start !important;
    margin-top: 1.25rem !important;
  }

  .footer-map-col {
    flex: 0.8;
    max-width: 330px;
    display: flex;
    justify-content: flex-end;
  }

  .footer-map-wrapper {
    margin: 0 !important;
    max-width: 330px !important;
  }
}

.footer-info-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.footer-map-col {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  width: 100%;
}

.footer-brand-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  letter-spacing: 4px;
  color: #fff;
  display: block;
  line-height: 1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 0 25px rgba(224, 152, 73, 0.2);
}

.footer-brand-subtitle {
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  color: var(--primary-light);
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
  background: rgba(224, 152, 73, 0.1);
  border: 1px solid rgba(224, 152, 73, 0.25);
  padding: 3px 12px;
  border-radius: 20px;
  margin-top: 4px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0.6rem auto 0;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  width: 100%;
}

@media (min-width: 650px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}

.footer-creator-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-creator-link:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.footer-social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  width: 100%;
  max-width: 440px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(28, 30, 35, 0.95) 0%, rgba(18, 19, 22, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.footer-social-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.footer-social-btn.instagram-btn {
  border-color: rgba(225, 48, 108, 0.35);
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.12) 0%, rgba(28, 30, 35, 0.95) 100%);
}

.footer-social-btn.instagram-btn:hover {
  border-color: #e1306c;
  color: #fff;
  background: linear-gradient(135deg, #e1306c 0%, #fd1d1d 50%, #f77737 100%);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.45);
  transform: translateY(-2px);
}

.footer-social-btn.maps-btn {
  border-color: rgba(66, 133, 244, 0.35);
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.12) 0%, rgba(28, 30, 35, 0.95) 100%);
}

.footer-social-btn.maps-btn:hover {
  border-color: #4285f4;
  color: #fff;
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.45);
  transform: translateY(-2px);
}

.footer-social-btn:hover svg {
  transform: scale(1.15);
}

/* FOOTER MAP POSTER CARD */
.footer-map-wrapper {
  width: 100%;
  max-width: 320px;
  margin: 0.5rem auto 0;
}

.footer-map-card {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(224, 152, 73, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(224, 152, 73, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  background: #000;
  width: 100%;
}

.footer-map-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--primary);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(224, 152, 73, 0.3);
}

.footer-map-img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.footer-map-card:hover .footer-map-img {
  transform: scale(1.02);
}

/* ==========================================================
   PRODUCT SOLD-OUT / OUT OF STOCK STYLES
   ========================================================== */
.product-card.sold-out,
.meze-item-row.sold-out {
  opacity: 0.7;
}

.sold-out-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(239, 68, 68, 0.92);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  z-index: 5;
}

.btn-sold-out {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #9ca3af !important;
  cursor: not-allowed !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  pointer-events: none;
}

/* ==========================================================
   DESKTOP / PC ENHANCEMENTS (@media min-width: 992px)
   ========================================================== */
@media (min-width: 992px) {

  /* Layout Wrapper: Left Sidebar + Right Products */
  .main-container {
    max-width: 1440px;
    padding: 2.5rem 2rem 4rem;
  }

  .menu-layout-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
    position: relative;
  }

  /* Hide mobile burger drawer button on desktop */
  .btn-burger-menu {
    display: none !important;
  }

  /* Left Sticky Sidebar */
  .menu-toolbar {
    position: sticky;
    top: 85px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: rgba(18, 19, 23, 0.88);
    padding: 0.85rem 0.95rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(224, 152, 73, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    margin: 0;
    max-width: 100%;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sidebar-title {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 800;
  }

  .toolbar-top-row {
    display: none;
    /* Hide bottom sheet trigger on PC, use direct list */
  }

  .search-box {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .search-input {
    height: 36px;
    font-size: 0.82rem;
    padding: 0 14px 0 34px;
    border-radius: 8px;
    background: rgba(12, 13, 16, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
  }

  .search-input:focus {
    border-color: var(--primary);
    background: rgba(14, 15, 18, 0.98);
    box-shadow: 0 0 0 3px rgba(224, 152, 73, 0.25), 0 8px 20px rgba(0, 0, 0, 0.5);
  }

  .search-icon {
    left: 10px;
    width: 14px;
    height: 14px;
  }

  /* Desktop Sidebar Direct Category Navigation */
  .desktop-category-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    padding-right: 4px;
  }

  .desktop-category-nav::-webkit-scrollbar {
    width: 4px;
  }

  .desktop-category-nav::-webkit-scrollbar-thumb {
    background: rgba(224, 152, 73, 0.3);
    border-radius: 4px;
  }

  .desktop-cat-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    width: 100%;
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), transform 1.0s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  }

  .main-container.revealed .desktop-cat-btn,
  .menu-toolbar.revealed .desktop-cat-btn {
    opacity: 1;
    transform: translateX(0);
  }

  .main-container.revealed .desktop-cat-btn:nth-child(1),
  .menu-toolbar.revealed .desktop-cat-btn:nth-child(1) { transition-delay: 0.08s; }

  .main-container.revealed .desktop-cat-btn:nth-child(2),
  .menu-toolbar.revealed .desktop-cat-btn:nth-child(2) { transition-delay: 0.16s; }

  .main-container.revealed .desktop-cat-btn:nth-child(3),
  .menu-toolbar.revealed .desktop-cat-btn:nth-child(3) { transition-delay: 0.24s; }

  .main-container.revealed .desktop-cat-btn:nth-child(4),
  .menu-toolbar.revealed .desktop-cat-btn:nth-child(4) { transition-delay: 0.32s; }

  .main-container.revealed .desktop-cat-btn:nth-child(5),
  .menu-toolbar.revealed .desktop-cat-btn:nth-child(5) { transition-delay: 0.40s; }

  .main-container.revealed .desktop-cat-btn:nth-child(6),
  .menu-toolbar.revealed .desktop-cat-btn:nth-child(6) { transition-delay: 0.48s; }

  .desktop-cat-btn:hover {
    background: rgba(224, 152, 73, 0.15);
    border-color: rgba(224, 152, 73, 0.5);
    color: #fff;
    transform: translateX(6px);
    box-shadow: 0 4px 15px rgba(224, 152, 73, 0.15);
  }

  .desktop-cat-btn:hover .desktop-cat-icon {
    transform: scale(1.2) rotate(6deg);
  }

  .desktop-cat-btn:active {
    transform: scale(0.97) translateX(3px);
  }

  .desktop-cat-btn.active {
    background: linear-gradient(135deg, rgba(224, 152, 73, 0.22) 0%, rgba(28, 30, 36, 0.95) 100%);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(224, 152, 73, 0.2);
  }

  .desktop-cat-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .desktop-cat-icon {
    font-size: 1.15rem;
  }

  .desktop-cat-count {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-weight: 700;
  }

  /* Products Content Area on Desktop */
  .menu-content-area {
    min-width: 0;
    /* Prevents grid breakout */
  }

  /* Desktop 3-Column Product Grid (within content area) */
  .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
  }

  /* Desktop Product Card Aesthetics */
  .product-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  }

  .product-card.revealed {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
  }

  .product-card:hover {
    transform: translateY(-8px) scale(1.015) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease !important;
    border-color: rgba(224, 152, 73, 0.6) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(224, 152, 73, 0.25) !important;
  }

  .product-img-wrapper {
    padding-top: 75%;
  }

  .product-body {
    padding: 1.15rem 1.15rem 1rem;
  }

  .product-name {
    font-size: 1.35rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
  }

  .product-desc {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
    height: 3.4em;
  }

  .product-footer {
    height: 34px;
    padding-top: 0.35rem;
  }

  .product-price {
    font-size: 1.45rem;
  }

  .btn-add-item {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 1.3rem;
  }

  /* Category Section Headers on Desktop */
  .category-section-block {
    margin-bottom: 3rem;
  }

  .category-section-block:first-child .category-section-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .category-section-block:last-child {
    margin-bottom: 0 !important;
  }

  .category-section-header {
    margin: 2.2rem 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(224, 152, 73, 0.2);
  }

  .category-section-icon {
    font-size: 1.6rem;
  }

  .category-section-title {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .category-section-count {
    font-size: 0.85rem;
    padding: 4px 14px;
  }

  /* Hero Banner on PC */
  .branch-banner-hero {
    height: 100vh;
    min-height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
    padding: 5.5rem 2rem 2rem;
    box-sizing: border-box;
  }

  .branch-banner-inner {
    max-width: 1000px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .branch-hero-center-box {
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    width: 100%;
  }

  .branch-hero-brand {
    gap: 0px;
    margin: 0;
  }

  .hero-brand-name {
    font-size: 8.8rem;
    letter-spacing: 16px;
    line-height: 0.88;
  }

  .branch-title {
    font-size: 3.4rem;
    letter-spacing: 5px;
    line-height: 1;
    margin-top: 0.35rem;
  }

  .branch-subtitle {
    font-size: 1.15rem;
    max-width: 600px;
    line-height: 1.45;
    margin: 0.25rem 0 0.5rem;
  }

  .btn-banner-explore {
    padding: 14px 40px;
    font-size: 1.05rem;
  }

  /* Desktop Delivery Section */
  .delivery-section {
    max-width: 100%;
    margin: 3.5rem 0 2rem;
    padding: 3rem 2.5rem;
  }

  .delivery-title {
    font-size: 2.2rem;
    letter-spacing: 3px;
  }

  .delivery-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .delivery-badges-grid {
    grid-template-columns: repeat(4, 180px);
    gap: 1.25rem;
  }

  .delivery-badge-btn {
    padding: 14px 20px;
    font-size: 0.95rem;
    border-radius: 14px;
  }

  /* Desktop Footer */
  .app-footer {
    padding: 4rem 2rem 2.5rem;
    margin-top: 3.5rem;
  }

  .footer-inner {
    max-width: 1100px;
    gap: 2.2rem;
  }

  .footer-brand-title {
    font-size: 3.2rem;
    letter-spacing: 6px;
  }

  .footer-desc {
    font-size: 0.95rem;
    max-width: 540px;
  }

  .footer-social-links {
    max-width: 500px;
    gap: 1.25rem;
  }

  .footer-social-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* Extra Wide Desktop Screens */
@media (min-width: 1440px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.75rem !important;
  }
}