/* ============================================================
   ██ TASTY BITES MOMO'S — COMPLETE CSS v2.0 ██
   Part 1: Login Page
   Part 2: Store Page
   ============================================================ */

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --g-prim: #2F6B45;
  --g-sec: #3D7B52;
  --y-acc: #F4C62E;
  --o-acc: #F39C12;
  --bg-dark: #154527;
  --white: #FFFFFF;

  --primary: #064e3b;
  --primary-dark: #022c22;
  --primary-darker: #011a14;
  --primary-light: #10b981;
  --accent: #d97706;
  --accent-dark: #92400e;
  --gold: #d4af37;
  --gold-light: #f4c430;
  --gold-dark: #b8860b;
  --gray: #94a3b8;
  --gray-light: #e2e8f0;
  --red: #dc2626;
  --red-dark: #991b1b;

  --shadow: 0 10px 40px rgba(0,0,0,0.25);
  --shadow-lg: 0 25px 60px rgba(0,0,0,0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: clamp(14px, min(0.5vw + 11px, 1.5vh + 2px), 22px);
  height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--white);
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--bg-dark);
  position: relative;
  -webkit-font-smoothing: antialiased;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ============================================================
   ██ LOGIN PAGE ██
   ============================================================ */
#loginView {
  min-height: 100dvh;
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--white);
  background-color: var(--bg-dark);
  position: relative;
}

.bg-sys {
  position: absolute;
  inset: -10vmax;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(calc(var(--px, 0) * -1.5vmax), calc(var(--py, 0) * -1.5vmax), 0) scale(1.05);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bg-base {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(61, 123, 82, 0.3) 0%, var(--bg-dark) 80%);
}

.bg-wave { position: absolute; }

.wave-tl {
  top: -5%; left: -5%;
  width: 55vmax; height: 55vmax;
  transform-origin: 20% 20%;
  animation: breatheWave 15s ease-in-out infinite alternate;
}

.wave-br {
  bottom: -10%; right: -5%;
  width: 65vmax; height: 65vmax;
  transform-origin: 80% 80%;
  animation: breatheWave 18s ease-in-out infinite alternate-reverse;
}

@keyframes breatheWave { 100% { transform: scale(1.08) rotate(5deg); } }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(15px);
  animation: driftBlob 30s ease-in-out infinite alternate;
  opacity: 0.5;
}

.blob-1 {
  width: 40vmax; height: 40vmax;
  top: -10%; left: -10%;
  background: rgba(243, 156, 18, 0.4);
}

.blob-2 {
  width: 50vmax; height: 50vmax;
  bottom: -20%; right: -10%;
  background: rgba(244, 198, 46, 0.3);
  animation-delay: -10s;
}

@keyframes driftBlob { to { transform: translate(5vmax, 5vmax) scale(1.1); } }

.particle-container { position: absolute; inset: 0; }

.p-fly {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: var(--y-acc);
  box-shadow: 0 0 12px var(--y-acc);
  opacity: 0;
  animation: flyUp linear infinite;
}

@keyframes flyUp {
  10% { opacity: 0.8; }
  80% { opacity: 0.5; }
  100% { transform: translate(var(--dx), -120vh) scale(0.5); opacity: 0; }
}

#loginView main {
  position: relative;
  z-index: 10;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 5vh, 4rem) clamp(1rem, 4vw, 3rem);
}

.header-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(1rem, 3vh, 2rem);
  animation: slideDown 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

@keyframes slideDown { from { opacity: 0; transform: translateY(-30px); } }

.logo-wrapper {
  position: relative;
  width: clamp(5.5rem, 12vh, 8rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--y-acc), var(--o-acc));
  box-shadow: 0 15px 35px rgba(0,0,0,0.4), inset 0 -5px 15px rgba(0,0,0,0.2), inset 0 5px 15px rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(0.5rem, 1.5vh, 1.2rem);
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s backwards, floatLogo 5s ease-in-out 1.2s infinite;
  z-index: 2;
}

.logo-wrapper::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from var(--ang), transparent 20%, #fff, var(--y-acc), transparent 60%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spinBorder 4s linear infinite;
}

@keyframes popIn { from { transform: scale(0) rotate(-45deg); opacity: 0; } }
@keyframes floatLogo { 50% { transform: translateY(-8px); } }
@keyframes spinBorder { to { --ang: 360deg; } }

.logo-content {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.login-logo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}

.title-tasty {
  position: relative;
  font-weight: 900;
  font-size: clamp(1.8rem, 5vh + 1rem, 3.5rem);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
  font-style: italic;
  z-index: 2;
}

.crown-icon {
  position: absolute;
  right: -1.2em; top: -0.6em;
  width: 1.2em; height: 1.2em;
  stroke: var(--y-acc);
  fill: none;
  stroke-width: 2.5;
  stroke-linejoin: round;
  transform: rotate(15deg);
  animation: crownTwitch 4s ease-in-out infinite;
}

@keyframes crownTwitch { 50% { transform: rotate(5deg) translateY(-2px) scale(1.05); } }

.title-momos {
  font-family: 'Kaushan Script', cursive;
  font-size: clamp(3rem, 9vh + 1.5rem, 6rem);
  line-height: 0.8;
  transform: rotate(-3deg);
  margin-top: clamp(0.2rem, 1vh, 0.5rem);
  color: var(--y-acc);
  text-shadow: 0 5px 15px rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
  background: linear-gradient(100deg, var(--y-acc) 30%, #fffbd6 50%, var(--y-acc) 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 6s linear infinite;
  padding-right: 0.15em;
  padding-left: 0.05em;
}

@keyframes textShine { to { background-position: 200% center; } }

.brush-underline {
  position: absolute;
  bottom: -0.1em; left: 5%;
  width: 90%; height: 0.15em;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--o-acc), var(--y-acc), transparent);
  transform: rotate(2deg);
}

.tagline {
  margin-top: clamp(0.5rem, 1.5vh, 1rem);
  font-size: clamp(0.9rem, 1.5vh, 1.2rem);
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.8em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.tagline .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--y-acc);
  box-shadow: 0 0 8px var(--y-acc);
}

.card-3d-wrapper {
  width: min(100%, 440px);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  border-radius: 2rem;
  padding: 2px;
  background: conic-gradient(from var(--ang), rgba(244,198,46,0.1), var(--y-acc), var(--o-acc), rgba(244,198,46,0.1) 30%, rgba(244,198,46,0.1));
  animation: spinBorder 6s linear infinite, slideUpIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 50px rgba(244,198,46,0.15);
}

@keyframes slideUpIn { from { opacity: 0; transform: translateY(40px) scale(0.95); } }

.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(2rem - 2px);
  padding: clamp(1.5rem, 4vh, 2.5rem) clamp(1.2rem, 5vw, 2.5rem);
  background: linear-gradient(150deg, rgba(30, 94, 57, 0.95), rgba(18, 64, 38, 0.98));
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(30rem circle at var(--mx, 50%) var(--my, -20%), rgba(255,255,255,0.2), transparent 60%);
  z-index: 1;
}

.glass-card > * { position: relative; z-index: 2; }

.role-selector {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 1.5rem;
  border: 1.5px solid rgba(255,255,255,0.1);
  position: relative;
}

.role-btn {
  flex: 1;
  padding: 0.7rem 0.8rem;
  border: none;
  background: none;
  color: rgba(255,255,255,0.6);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.role-btn svg {
  width: 1.1rem; height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s;
}

.role-btn.active {
  background: linear-gradient(135deg, var(--y-acc), var(--o-acc));
  color: var(--bg-dark);
  box-shadow: 0 4px 15px rgba(244,198,46,0.4);
}

.role-btn.active svg { transform: scale(1.15); }

.role-btn:not(.active):hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.05);
}

.card-header { margin-bottom: clamp(1rem, 2.5vh, 1.5rem); }

.welcome-text {
  font-weight: 800;
  font-size: clamp(1.7rem, 4vh, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.welcome-text span { color: var(--y-acc); }

.sub-text {
  margin-top: 0.5rem;
  font-size: clamp(0.9rem, 1.7vh, 1rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}

.login-form { display: grid; gap: clamp(0.9rem, 2.2vh, 1.15rem); }

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  height: clamp(3.1rem, 6.8vh, 3.8rem);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  padding: 0 1.25rem;
  transition: all 0.3s ease;
}

.input-group::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--ang), var(--y-acc), var(--o-acc), transparent 40%, var(--y-acc));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  animation: spinBorder 3s linear infinite;
  pointer-events: none;
}

.input-group:focus-within::before { opacity: 1; }

.input-group:hover { background: rgba(255, 255, 255, 0.05); }

.input-group:focus-within {
  border-color: transparent;
  box-shadow: 0 0 20px rgba(244, 198, 46, 0.15);
  transform: translateY(-2px);
}

.input-group.error { border-color: #ff6b6b; animation: shake 0.4s; }
.input-group.error::before { display: none; }

@keyframes shake {
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.input-icon {
  width: 1.4rem; height: 1.4rem;
  stroke: rgba(255,255,255,0.6);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.3s;
  flex: none;
}

.input-group:focus-within .input-icon {
  stroke: var(--y-acc);
  transform: scale(1.1);
}

.native-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: clamp(0.9rem, 1.9vh, 1rem);
  padding: 0 0.8rem 0 1rem;
}

.native-input::placeholder { color: rgba(255, 255, 255, 0.5); font-weight: 300; }

.eye-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0.3rem;
  border-radius: 50%;
  transition: 0.2s;
  color: rgba(255,255,255,0.6);
}

.eye-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--y-acc);
  transform: scale(1.1);
}

.eye-btn svg {
  width: 1.3rem; height: 1.3rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slash-line {
  stroke-dasharray: 24;
  transition: stroke-dashoffset 0.35s ease;
}

.val-msg {
  font-size: 0.82rem;
  color: #ffb4a3;
  margin: -0.3rem 0 -0.3rem 1rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s;
}

.val-msg.show { max-height: 60px; opacity: 1; }
.val-msg.success { color: var(--y-acc); }

.options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.82rem, 1.7vh, 0.92rem);
}

.custom-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.custom-check input { position: absolute; opacity: 0; }

.check-box {
  width: 1.2rem; height: 1.2rem;
  border-radius: 0.3rem;
  border: 1.5px solid rgba(255,255,255,0.5);
  display: grid;
  place-items: center;
  transition: all 0.25s;
}

.check-box svg {
  width: 0.75rem; height: 0.75rem;
  stroke: var(--bg-dark);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 0.3s;
}

.custom-check input:checked + .check-box {
  background: linear-gradient(135deg, var(--y-acc), var(--o-acc));
  border-color: var(--y-acc);
  box-shadow: 0 0 10px rgba(244, 198, 46, 0.4);
}

.custom-check input:checked + .check-box svg { stroke-dashoffset: 0; }

.text-link {
  color: var(--y-acc);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.text-link:hover { color: #fff; }
.text-link:hover::after { transform: scaleX(1); }

.login-btn {
  position: relative;
  overflow: hidden;
  height: clamp(3.4rem, 7vh, 4rem);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 2.1vh, 1.2rem);
  color: var(--bg-dark);
  background: linear-gradient(180deg, #F8D24A, var(--y-acc) 45%, var(--o-acc));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.4rem;
  box-shadow: 0 10px 25px rgba(243, 156, 18, 0.4), inset 0 1px 1px rgba(255,255,255,0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}

.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(243, 156, 18, 0.6), inset 0 1px 1px rgba(255,255,255,0.4);
}

.login-btn:active { transform: translateY(1px) scale(0.98); }

.btn-icon {
  width: 1.4rem; height: 1.4rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
}

.login-btn:hover .btn-icon { transform: translateX(6px); }

.login-btn.loading { pointer-events: none; opacity: 0.9; }
.login-btn.loading .btn-icon { display: none; }

.login-btn.loading span::after {
  content: "";
  display: inline-block;
  width: 1.1em; height: 1.1em;
  margin-left: 0.8rem;
  border: 3px solid rgba(21, 69, 39, 0.3);
  border-top-color: var(--bg-dark);
  border-radius: 50%;
  vertical-align: -0.2em;
  animation: rotateLoader 0.7s linear infinite;
}

@keyframes rotateLoader { to { transform: rotate(360deg); } }

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleAnim 0.7s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleAnim { to { transform: scale(1); opacity: 0; } }

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: clamp(0.7rem, 1.8vh, 1rem);
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.social-login-wrap {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-top: clamp(0.7rem, 1.8vh, 1rem);
  width: 100%;
}

.social-btn {
  flex: 1;
  height: clamp(2.7rem, 5.8vh, 3.1rem);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--white);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
}

.social-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  border-color: var(--y-acc);
  box-shadow: 0 5px 15px rgba(244, 198, 46, 0.15);
}

.social-btn:active { transform: translateY(0) scale(0.95); }
.social-btn svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
.social-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.signup-text {
  text-align: center;
  font-size: clamp(0.85rem, 1.7vh, 0.95rem);
  margin-top: clamp(0.9rem, 2.2vh, 1.3rem);
}

.signup-text a { margin-left: 0.4rem; font-weight: 700; }

/* ============================================================
   ██ STORE PAGE ██
   ============================================================ */
#storeView {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--primary-darker);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
  min-height: 100dvh;
}

/* ===== Page Loader ===== */
.page-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--primary-darker);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader::before,
.page-loader::after {
  content: '';
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--primary-darker);
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-loader::before { left: 0; }
.page-loader::after { right: 0; }

.page-loader.hidden::before { transform: translateX(-100%); }
.page-loader.hidden::after { transform: translateX(100%); }

.loader-scene {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.loader-image-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-plate-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  filter: drop-shadow(0 10px 30px rgba(212,175,55,0.3));
  pointer-events: none;
  z-index: 1;
}

.plate-draw { animation: drawPlate 3s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes drawPlate { to { stroke-dashoffset: 0; } }

.loader-image {
  position: absolute;
  top: 50%; left: 50%;
  width: 86%; height: 86%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  animation: imagePop 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s forwards;
  filter: drop-shadow(0 4px 15px rgba(212,175,55,0.4));
}

@keyframes imagePop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.brand-line { display: flex; gap: 3px; overflow: hidden; }

.brand-letter {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--gold-light);
  letter-spacing: 4px;
  opacity: 0;
  transform: translateY(100%) rotateX(-90deg);
  animation: letterReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  text-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.brand-line.accent .brand-letter {
  font-size: 2.8rem;
  color: var(--gold);
}

@keyframes letterReveal {
  0% { opacity: 0; transform: translateY(100%) rotateX(-90deg); }
  100% { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

.loader-progress-wrap {
  position: relative;
  width: 200px;
  height: 3px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 3px;
  overflow: visible;
  margin-top: 10px;
}

.loader-progress-line {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold));
  border-radius: 3px;
  animation: progressFill 2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.loader-progress-dot {
  position: absolute;
  top: 50%; left: 0%;
  width: 10px; height: 10px;
  background: var(--gold-light);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: dotMove 2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
  box-shadow: 0 0 15px rgba(244, 196, 48, 0.8);
}

@keyframes progressFill { 0% { width: 0%; } 100% { width: 100%; } }
@keyframes dotMove { 0% { left: 0%; } 100% { left: 100%; } }

.loader-tagline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.tagline-word {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: wordReveal 0.5s ease forwards;
}

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

/* ===== Background ===== */
#storeView .bg-dots {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

#storeView .bg-gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 400px; height: 400px;
  top: -150px; right: -150px;
  background: radial-gradient(circle, var(--gold), transparent);
  animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
  width: 350px; height: 350px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, var(--primary-light), transparent);
  animation: orbFloat2 25s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 30px) scale(1.1); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -20px) scale(1.15); }
}

/* ==========================================================
   🎯 NAVBAR — FINAL FIX (Logo + Text + Same Size Buttons)
   ========================================================== */

/* ----- NAVBAR CONTAINER ----- */
.navbar {
  padding: 10px 0 !important;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ----- BRAND (Logo + Text) ----- */
.nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  flex-shrink: 0;
  min-width: 0;
  overflow: hidden;
}

.nav-logo {
  width: 42px !important;
  height: 42px !important;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  border: 2px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  transition: transform 0.5s ease;
}

.nav-logo:hover {
  transform: rotate(360deg);
}

.nav-logo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-logo-img.loaded {
  opacity: 1;
}

/* Brand text — gold gradient */
.nav-brand-text {
  display: inline-block !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #f4c430 0%, #d4af37 50%, #b8860b 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  letter-spacing: 0.5px;
  white-space: nowrap;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

/* ----- ALL NAV BUTTONS (Same Size Circle) ----- */
.nav-actions {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-icon-btn,
.nav-actions .profile-btn,
.nav-actions .role-toggle-btn,
.nav-actions .cart-btn,
.nav-actions .settings-btn {
  position: relative;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 2px solid rgba(212, 175, 55, 0.35) !important;
  background: rgba(212, 175, 55, 0.08) !important;
  color: #f4c430 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  flex-shrink: 0;
  outline: none;
}

.nav-icon-btn:hover,
.nav-actions .profile-btn:hover,
.nav-actions .role-toggle-btn:hover,
.nav-actions .cart-btn:hover,
.nav-actions .settings-btn:hover {
  background: rgba(212, 175, 55, 0.2) !important;
  border-color: #d4af37 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3);
}

.nav-icon-btn:active,
.nav-actions .profile-btn:active,
.nav-actions .role-toggle-btn:active,
.nav-actions .cart-btn:active,
.nav-actions .settings-btn:active {
  transform: scale(0.94);
}

/* Settings rotate on hover */
.nav-actions .settings-btn:hover {
  transform: translateY(-2px) rotate(90deg);
}

/* Role icon rotate on hover */
.nav-actions .role-icon {
  transition: transform 0.5s ease;
}

.nav-actions .role-toggle-btn:hover .role-icon {
  transform: rotate(180deg);
}

/* Hide role text labels */
.role-label,
.profile-label {
  display: none !important;
}

/* ----- PROFILE AVATAR ----- */
.profile-avatar {
  font-size: 1.15rem !important;
  line-height: 1 !important;
  display: block !important;
  pointer-events: none;
}

/* Profile dot */
.profile-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #011a14;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: dotPulseGreen 2s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

body[data-role="chef"] .profile-dot {
  background: #f4c430;
  box-shadow: 0 0 0 0 rgba(244, 196, 48, 0.7);
  animation: dotPulseGold 2s ease-in-out infinite;
}

@keyframes dotPulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70%  { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes dotPulseGold {
  0%   { box-shadow: 0 0 0 0 rgba(244, 196, 48, 0.7); }
  70%  { box-shadow: 0 0 0 7px rgba(244, 196, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 196, 48, 0); }
}

/* ----- CART BADGE ----- */
.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #011a14;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.5);
  z-index: 2;
}

/* ----- CHEF MODE STYLES ----- */
body[data-role="chef"] .nav-actions .role-toggle-btn {
  background: linear-gradient(135deg, #16a34a, #065f46) !important;
  border-color: rgba(22, 163, 74, 0.7) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4);
}

body[data-role="chef"] .nav-actions .role-toggle-btn:hover {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  border-color: #22c55e !important;
}

body[data-role="chef"] .nav-actions .profile-btn {
  border-color: rgba(22, 163, 74, 0.5) !important;
  background: rgba(22, 163, 74, 0.1) !important;
}

body[data-role="chef"] .nav-actions .profile-btn:hover {
  background: rgba(22, 163, 74, 0.2) !important;
  border-color: #16a34a !important;
}

body[data-role="chef"] .navbar {
  border-bottom-color: rgba(22, 163, 74, 0.3) !important;
}

/* Hide/Show cart based on role */
body[data-role="chef"] .nav-actions .cart-btn {
  display: none !important;
}

body[data-role="customer"] .nav-actions .cart-btn {
  display: inline-flex !important;
}

/* ==========================================================
   📱 MOBILE RESPONSIVE — All in one
   ========================================================== */

/* Tablet (500px and below) */
@media (max-width: 500px) {
  .nav-container { padding: 0 12px; gap: 8px; }
  
  .nav-logo { 
    width: 38px !important; 
    height: 38px !important; 
  }
  
  .nav-brand { gap: 6px !important; }
  
  .nav-brand-text {
    font-size: 0.85rem !important;
    max-width: 110px;
  }
  
  .nav-actions { gap: 6px; }
  
  .nav-icon-btn,
  .nav-actions .profile-btn,
  .nav-actions .role-toggle-btn,
  .nav-actions .cart-btn,
  .nav-actions .settings-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }
  
  .nav-icon-btn svg,
  .nav-actions .cart-btn svg,
  .nav-actions .settings-btn svg,
  .nav-actions .role-icon {
    width: 16px !important;
    height: 16px !important;
  }
  
  .profile-avatar { font-size: 1rem !important; }
  .profile-dot { width: 10px; height: 10px; }
}

/* Small Mobile (380px and below) */
@media (max-width: 380px) {
  .nav-logo { 
    width: 34px !important; 
    height: 34px !important; 
  }
  
  .nav-brand { gap: 5px !important; }
  
  .nav-brand-text {
    font-size: 0.75rem !important;
    max-width: 90px;
  }
  
  .nav-icon-btn,
  .nav-actions .profile-btn,
  .nav-actions .role-toggle-btn,
  .nav-actions .cart-btn,
  .nav-actions .settings-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }
  
  .nav-icon-btn svg,
  .nav-actions .cart-btn svg,
  .nav-actions .settings-btn svg,
  .nav-actions .role-icon {
    width: 14px !important;
    height: 14px !important;
  }
  
  .profile-avatar { font-size: 0.9rem !important; }
  .profile-dot { width: 9px; height: 9px; }
}

/* Very Small (320px and below) */
@media (max-width: 320px) {
  .nav-brand-text {
    font-size: 0.7rem !important;
    max-width: 80px;
  }
}

/* ✅ FIXED: TIGHT BUTTONS — NO GAP */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.nav-actions > button {
  margin-left: -6px;
}

.nav-actions > button:first-child {
  margin-left: 0;
}

/* ===== TOP BUTTONS (Inbox, Cart, Profile, Settings) ===== */
.inbox-btn,
.cart-btn,
.settings-btn,
.profile-btn {
  position: relative;
  background: rgba(212,175,55,0.1);
  border: 2px solid rgba(212,175,55,0.3);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--gold);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.inbox-btn:hover,
.cart-btn:hover,
.settings-btn:hover,
.profile-btn:hover {
  background: var(--gold);
  color: var(--primary-darker);
  transform: scale(1.08);
  z-index: 5;
}

.settings-btn:hover { transform: scale(1.08) rotate(90deg); }
.settings-btn:active { transform: scale(0.95) rotate(90deg); }

/* Hide inbox by default (only restaurant sees it) */
body:not([data-role="restaurant"]) .inbox-btn {
  display: none !important;
}

/* ===== Notification Badges ===== */
.cart-count,
.inbox-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
  font-size: 0.58rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 8px rgba(220,38,38,0.5);
  z-index: 2;
}

.inbox-count.show { display: flex !important; }
.cart-count.show { display: flex !important; }

/* ===== Profile Dropdown ===== */
.profile-dropdown {
  position: fixed;
  top: 60px;
  right: 14px;
  width: 280px;
  background: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.profile-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.profile-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #011a14;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.profile-info { min-width: 0; flex: 1; }

.profile-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-email {
  font-size: 0.7rem;
  color: var(--gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.profile-role-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(244, 196, 48, 0.15);
  color: #f4c430;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-menu { padding: 8px; }

.profile-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 12px;
  color: #ff6b6b;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.profile-menu-item:hover,
.profile-menu-item:active {
  background: #dc2626;
  color: white;
  border-color: #dc2626;
}

/* ============================================================
   INBOX PANEL (Restaurant only)
   ============================================================ */
.inbox-panel {
  position: fixed;
  top: 60px;
  right: 14px;
  width: 360px;
  max-width: calc(100vw - 28px);
  max-height: 70vh;
  background: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 1600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.inbox-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.inbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  flex-shrink: 0;
}

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

.inbox-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 2px solid rgba(212,175,55,0.3);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.inbox-close:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
  transform: rotate(90deg);
}

.inbox-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  -webkit-overflow-scrolling: touch;
}

.inbox-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray);
}

.inbox-empty svg {
  opacity: 0.3;
  margin-bottom: 12px;
}

.inbox-empty p {
  font-size: 1rem;
  color: var(--gray-light);
  margin-bottom: 4px;
}

.inbox-empty span {
  font-size: 0.8rem;
}

.order-card {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  transition: all 0.25s;
  animation: orderSlide 0.35s ease;
}

@keyframes orderSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.order-card:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
}

.order-card.unread {
  border-left: 3px solid var(--gold);
  background: rgba(212, 175, 55, 0.12);
}

.order-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.order-customer {
  flex: 1;
  min-width: 0;
}

.order-customer-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-light);
  margin-bottom: 2px;
}

.order-customer-email {
  font-size: 0.68rem;
  color: var(--gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-time {
  font-size: 0.65rem;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.order-items {
  list-style: none;
  margin-bottom: 8px;
  padding-left: 0;
}

.order-items li {
  font-size: 0.75rem;
  color: var(--gray-light);
  padding: 3px 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.order-total {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed rgba(212, 175, 55, 0.25);
  font-size: 0.85rem;
  font-weight: 700;
  color: #f4c430;
}

.order-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.order-action-btn {
  flex: 1;
  padding: 7px 10px;
  border-radius: 8px;
  border: none;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.25s;
}

.order-action-btn.done {
  background: linear-gradient(135deg, #16a34a, #065f46);
  color: white;
}

.order-action-btn.delete {
  background: rgba(220, 38, 38, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(220, 38, 38, 0.4);
}

.order-action-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* ============================================================
   HERO — FIXED TOP SPACE
   ============================================================ */
.hero {
  position: relative;
  min-height: auto;
  padding: 70px 0 30px;
  z-index: 1;
  overflow: hidden;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "badge visual"
    "title visual"
    "subtitle visual"
    "actions visual";
  gap: 10px 50px;
  align-items: start;
  width: 100%;
}

.hero-badge { grid-area: badge; justify-self: start; }
.hero-title { grid-area: title; }
.hero-subtitle { grid-area: subtitle; }
.hero-actions { grid-area: actions; }
.hero-visual { grid-area: visual; align-self: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 7px 14px;
  border-radius: 30px;
  margin-bottom: 5px;
  backdrop-filter: blur(10px);
  animation: fadeDown 0.8s ease both;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-badge-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: 2px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.title-line {
  display: block;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 20px rgba(212,175,55,0.3));
}

.title-accent { font-size: 1.05em; }

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gray-light);
  margin-bottom: 10px;
  font-weight: 400;
  animation: fadeUp 0.8s ease 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.8s both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  padding: 12px 22px;
  border: none;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(217,119,6,0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(217,119,6,0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 12px 22px;
  border: 2px solid rgba(212,175,55,0.4);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-secondary:hover {
  background: rgba(212,175,55,0.1);
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeRight 1s ease 0.3s both;
}

.hero-plate { position: relative; width: 380px; height: 380px; }

.plate-circle {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  animation: plateFloat 6s ease-in-out infinite;
}

.plate-image {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.plate-image.loaded { opacity: 1; }

.plate-shine {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  animation: plateShine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes plateShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.plate-shadow {
  position: absolute;
  bottom: -15px; left: 50%;
  transform: translateX(-50%);
  width: 75%; height: 25px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.4), transparent);
  border-radius: 50%;
  animation: shadowPulse 6s ease-in-out infinite;
}

@keyframes shadowPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
  50% { transform: translateX(-50%) scale(0.8); opacity: 0.3; }
}

@keyframes plateFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.floating-element {
  position: absolute;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.float-1 { top: 5%; left: 0%; animation: float1 4s ease-in-out infinite; }
.float-2 { top: 15%; right: 0%; animation: float2 5s ease-in-out infinite; }
.float-3 { bottom: 10%; left: 5%; animation: float3 4.5s ease-in-out infinite; }

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, -15px) rotate(10deg); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-10px, -20px) rotate(-10deg); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(15px, -10px) rotate(15deg); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(212,175,55,0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 3px; height: 7px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== Sections Common ===== */
.section-container { max-width: 1400px; margin: 0 auto; padding: 0 16px; }
.section-header { text-align: center; margin-bottom: 36px; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  position: relative;
  padding: 0 20px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 25px;
  height: 1px;
  background: var(--gold);
}

.section-tag::before { left: -15px; }
.section-tag::after { right: -15px; }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Menu Section ===== */
.menu-section { position: relative; z-index: 1; padding: 50px 0; }

.menu-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.deals-column { display: flex; flex-direction: column; gap: 20px; }

.menu-deal-card {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.35);
  animation: dealSlideIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes dealSlideIn {
  from { opacity: 0; transform: translateX(-30px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.deal-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f4c430, #b8860b);
  color: #011a14;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
  white-space: nowrap;
}

.menu-deal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: #f4c430;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-align: center;
  outline: none;
  border-bottom: 2px dashed transparent;
  transition: border-color 0.3s;
}

.menu-deal-title:focus { border-bottom-color: rgba(244, 196, 48, 0.5); }

.menu-deal-list { list-style: none; margin-bottom: 16px; }

.menu-deal-list li {
  color: #ffffff;
  font-size: 1.3rem;
  padding: 7px 0 7px 22px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  outline: none;
  transition: background 0.2s;
  min-height: 36px;
  line-height: 1.3;
}

.menu-deal-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f4c430;
  font-weight: 700;
}

.menu-deal-list li:focus {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.menu-deal-list li.empty { border-bottom-color: transparent !important; }
.menu-deal-list li.empty::before { content: none !important; }
.menu-deal-list li.hidden { display: none !important; }

/* ===== Deal Price Brush ===== */
.deal-price-row {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 22px auto 8px;
  padding: 16px 34px;
  transform: rotate(-3deg);
  z-index: 1;
  width: fit-content;
}

.deal-price-row::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(2deg);
  width: calc(100% + 20px);
  height: 100%;
  background: linear-gradient(135deg, #f4c430 0%, #e6b800 45%, #d4a017 100%);
  border-radius: 55% 45% 50% 50% / 60% 50% 60% 40%;
  z-index: -1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4),
    inset 0 -3px 8px rgba(0, 0, 0, 0.18),
    inset 0 2px 4px rgba(255, 255, 255, 0.25);
}

.deal-price-row::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  width: calc(100% + 10px);
  height: 82%;
  background: linear-gradient(90deg, #e6b800, #f4c430, #d4a017);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  z-index: -2;
  opacity: 0.75;
}

.deal-price-label,
.deal-price-value {
  position: relative;
  z-index: 2;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4) !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 2.8rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 1px !important;
  border-bottom: none;
}

.deal-price-value {
  outline: none;
  min-width: 80px;
  text-align: center;
  border-bottom: 1px dashed transparent;
  transition: border-color 0.3s;
}

.deal-price-value:focus { border-bottom-color: rgba(0, 0, 0, 0.4); }

/* Delete Buttons */
.deal-delete-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.deal-delete-btn:hover,
.deal-delete-btn:active {
  background: #dc2626;
  color: white;
  transform: scale(1.15);
}

/* Add Buttons */
.add-deal-btn,
.add-category-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 16px;
  border: 2px dashed rgba(244, 196, 48, 0.4);
  border-radius: 18px;
  background: rgba(244, 196, 48, 0.03);
  color: #f4c430;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  margin-top: 5px;
}

.add-deal-btn:hover,
.add-category-btn:hover {
  background: rgba(244, 196, 48, 0.1);
  border-color: #f4c430;
  border-style: solid;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(244, 196, 48, 0.2);
}

.add-deal-btn svg,
.add-category-btn svg { transition: transform 0.4s; }
.add-deal-btn:hover svg,
.add-category-btn:hover svg { transform: rotate(90deg); }

/* Categories */
.categories-column { display: flex; flex-direction: column; gap: 22px; }

.menu-category-block {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 20px;
  padding: 18px;
  transition: border-color 0.3s, box-shadow 0.3s;
  animation: categoryFadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

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

.menu-category-block:hover {
  border-color: rgba(244, 196, 48, 0.4);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.12);
}

.category-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid rgba(244, 196, 48, 0.5);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s;
}

.category-image-wrap:hover { transform: scale(1.04); border-color: #f4c430; }
.category-image-wrap:active { transform: scale(0.96); }

.category-image {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.category-upload-btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #f4c430;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.25s, background 0.3s;
}

.category-image-wrap.has-image .category-upload-btn { opacity: 0; }
.category-image-wrap.has-image:hover .category-upload-btn {
  opacity: 1;
  background: rgba(0, 0, 0, 0.55);
}

.category-file-input {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.category-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.category-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: #f4c430;
  letter-spacing: 2px;
  outline: none;
  padding: 4px 6px;
  border-radius: 6px;
  border-bottom: 2px dashed transparent;
  transition: all 0.3s;
  word-break: break-word;
}

.category-name:focus {
  background: rgba(244, 196, 48, 0.1);
  border-bottom-color: rgba(244, 196, 48, 0.5);
}

.category-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-item-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.25s, transform 0.25s;
  min-height: 42px;
}

.category-item-row:hover {
  background: rgba(244, 196, 48, 0.08);
  transform: translateX(3px);
}

.item-name {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 500;
  outline: none;
  padding: 3px 6px;
  border-radius: 4px;
  transition: background 0.2s;
  word-break: break-word;
  line-height: 1.3;
}

.item-name:focus { background: rgba(244, 196, 48, 0.15); }

.item-price {
  color: #f4c430;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  min-width: 50px;
  text-align: right;
  outline: none;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s;
}

.item-price::before {
  content: "Rs ";
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: rgba(244, 196, 48, 0.7);
}

.item-price:focus { background: rgba(244, 196, 48, 0.15); }

.item-remove-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(220, 38, 38, 0.25);
  color: #ff6b6b;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.item-remove-btn:hover { background: #dc2626; color: white; transform: scale(1.1); }

.category-actions {
  display: flex;
  gap: 8px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.cat-add-item-btn,
.cat-delete-btn {
  flex: 1;
  min-width: 110px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cat-add-item-btn {
  background: rgba(244, 196, 48, 0.15);
  color: #f4c430;
  border: 1px solid rgba(244, 196, 48, 0.4);
}

.cat-add-item-btn:hover {
  background: #f4c430;
  color: #011a14;
  transform: translateY(-2px);
}

.cat-delete-btn {
  background: rgba(220, 38, 38, 0.1);
  color: #ff6b6b;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.cat-delete-btn:hover {
  background: #dc2626;
  color: white;
  transform: translateY(-2px);
}

/* ===== Deal Themes ===== */
.menu-deal-card.theme-red { background: linear-gradient(135deg, #dc2626, #991b1b); }
.menu-deal-card.theme-blue { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.menu-deal-card.theme-green { background: linear-gradient(135deg, #16a34a, #065f46); }
.menu-deal-card.theme-orange { background: linear-gradient(135deg, #ea580c, #9a3412); }
.menu-deal-card.theme-purple { background: linear-gradient(135deg, #9333ea, #581c87); }
.menu-deal-card.theme-pink { background: linear-gradient(135deg, #db2777, #831843); }
.menu-deal-card.theme-teal { background: linear-gradient(135deg, #0d9488, #134e4a); }

.deal-color-picker {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 14px;
  flex-wrap: wrap;
}

.deal-color-picker-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-right: 6px;
}

.color-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.25s;
}

.color-dot.active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 0 12px rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.color-dot.red { background: linear-gradient(135deg, #dc2626, #991b1b); }
.color-dot.blue { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.color-dot.green { background: linear-gradient(135deg, #16a34a, #065f46); }
.color-dot.orange { background: linear-gradient(135deg, #ea580c, #9a3412); }
.color-dot.purple { background: linear-gradient(135deg, #9333ea, #581c87); }
.color-dot.pink { background: linear-gradient(135deg, #db2777, #831843); }
.color-dot.teal { background: linear-gradient(135deg, #0d9488, #134e4a); }

/* ===== About / Contact ===== */
.about-section,
.contact-section {
  position: relative;
  z-index: 1;
  padding: 50px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-card {
  background: rgba(212,175,55,0.05);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  transition: all var(--transition);
}

.about-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(212,175,55,0.15);
}

.about-icon { margin-bottom: 12px; display: flex; justify-content: center; }

.about-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.about-card p { font-size: 0.82rem; color: var(--gray); line-height: 1.5; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(212,175,55,0.05);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
}

.contact-icon-wrap { margin-bottom: 12px; display: flex; justify-content: center; }

.contact-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.contact-card p { font-size: 0.95rem; color: var(--gray-light); font-weight: 600; }

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 45px 0 22px;
  border-top: 1px solid rgba(212,175,55,0.2);
  background: rgba(0,0,0,0.4);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.footer-tagline { color: var(--gray); font-size: 0.88rem; margin-bottom: 10px; }

.footer-contacts {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: var(--gray-light);
  font-size: 0.82rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.social-link {
  width: 40px; height: 40px;
  background: rgba(212,175,55,0.1);
  border: 2px solid rgba(212,175,55,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-decoration: none;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--gold);
  color: var(--primary-darker);
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
}

.footer-bottom { padding-top: 16px; border-top: 1px solid rgba(212,175,55,0.1); }
.footer-bottom p { color: var(--gray); font-size: 0.78rem; }

/* ===== Cart ===== */
.cart-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(5px);
}

.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-sheet {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  max-height: 85vh;
  background: linear-gradient(180deg, var(--primary-darker), var(--primary-dark));
  z-index: 2001;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border-radius: 24px 24px 0 0;
  border-top: 1px solid rgba(212,175,55,0.3);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}

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

.cart-handle {
  width: 40px; height: 4px;
  background: rgba(212,175,55,0.4);
  border-radius: 2px;
  margin: 12px auto 0;
  flex-shrink: 0;
}

.cart-header {
  padding: 20px 20px 15px;
  border-bottom: 1px solid rgba(212,175,55,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.cart-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-close {
  width: 36px; height: 36px;
  background: rgba(212,175,55,0.1);
  border: 2px solid rgba(212,175,55,0.3);
  border-radius: 50%;
  color: var(--gold);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-close:hover { background: var(--red); color: var(--white); transform: rotate(90deg); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 15px 20px;
  -webkit-overflow-scrolling: touch;
}

.cart-empty { text-align: center; padding: 50px 20px; color: var(--gray); }
.cart-empty svg { margin-bottom: 15px; opacity: 0.3; }
.cart-empty p { font-size: 1rem; margin-bottom: 5px; color: var(--gray-light); }
.cart-empty span { font-size: 0.82rem; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(212,175,55,0.05);
  border-radius: var(--radius);
  margin-bottom: 10px;
  border: 1px solid rgba(212,175,55,0.15);
}

.cart-item-emoji {
  font-size: 1.7rem;
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.1);
  border-radius: 10px;
}

.cart-item-details { flex: 1; min-width: 0; }

.cart-item-name {
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--gray-light);
  font-size: 0.82rem;
}

.cart-item-price { color: var(--gold-light); font-weight: 700; font-size: 0.88rem; }

.cart-item-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.qty-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover { background: var(--gold); color: var(--primary-darker); }

.qty-value {
  font-weight: 700;
  min-width: 20px;
  text-align: center;
  color: var(--gray-light);
  font-size: 0.88rem;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid rgba(212,175,55,0.2);
  flex-shrink: 0;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

.cart-total-label { font-size: 0.92rem; font-weight: 600; color: var(--gray-light); }

.cart-total-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(217,119,6,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(217,119,6,0.6);
}

/* ===== Settings ===== */
.settings-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.settings-overlay.open { opacity: 1; visibility: visible; }

.settings-box {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.settings-overlay.open .settings-box {
  transform: scale(1) translateY(0);
}

.settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  flex-shrink: 0;
}

.settings-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: #f4c430;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-heading svg {
  color: #f4c430;
  animation: gearSpin 4s linear infinite;
}

@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.settings-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.1);
  color: #f4c430;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.settings-close:hover {
  background: #dc2626;
  color: white;
  border-color: #dc2626;
  transform: rotate(90deg);
}

.settings-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.settings-item:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.35);
}

.settings-item-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(244, 196, 48, 0.12);
  border: 1px solid rgba(244, 196, 48, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4c430;
  flex-shrink: 0;
}

.settings-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.settings-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

.settings-item-desc {
  font-size: 0.7rem;
  color: #94a3b8;
}

.settings-action-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(244, 196, 48, 0.4);
  background: rgba(244, 196, 48, 0.15);
  color: #f4c430;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none;
}

.settings-action-btn:hover {
  background: #f4c430;
  color: #011a14;
  transform: translateY(-2px);
}

.settings-action-btn.danger {
  border-color: rgba(220, 38, 38, 0.4);
  background: rgba(220, 38, 38, 0.15);
  color: #ff6b6b;
}

.settings-action-btn.danger:hover {
  background: #dc2626;
  color: white;
}

.settings-badge {
  padding: 5px 12px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ===== Social Links Grid (for chef settings) ===== */
.social-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  margin-top: 8px;
}

.social-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-input-group label {
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.social-input-group input {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 0.75rem;
  font-family: inherit;
  outline: none;
}

.social-input-group input:focus {
  border-color: #f4c430;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 13px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.82rem;
  z-index: 5000;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(16,185,129,0.3);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(16,185,129,0.3);
  max-width: 90%;
  text-align: center;
}

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

/* ===== Bottom Nav ===== */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: rgba(2,44,34,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212,175,55,0.2);
  display: flex;
  justify-content: space-between;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  z-index: 998;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 8px;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.62rem;
  font-weight: 600;
  transition: all var(--transition);
  position: relative;
  flex: 1;
}

.bottom-nav-item.active { color: var(--gold); }

.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.bottom-nav-item.call-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 16px;
  margin: 0 4px;
  padding: 8px 12px;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(217,119,6,0.4);
  position: relative;
  top: -8px;
}

.bottom-nav-item.call-btn::before { display: none !important; }

/* ===== Chef Modal ===== */
.chef-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.chef-modal-overlay.open { display: flex; }

.chef-modal {
  background: linear-gradient(135deg, #022c22, #064e3b);
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  padding: 22px;
  max-width: 440px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}

.chef-modal h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: #f4c430;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-align: center;
}

.chef-modal label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  margin-top: 10px;
}

.chef-modal input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
}

.chef-modal input:focus { border-color: #f4c430; }

.chef-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.chef-modal-btn {
  flex: 1;
  padding: 11px;
  border-radius: 10px;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chef-modal-btn.save {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #011a14;
}

.chef-modal-btn.cancel {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--primary-darker); }
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================================
   ██ RESPONSIVE — LOGIN ██
   ============================================================ */
@media (max-width: 480px) {
  .glass-card { padding: 1.4rem; }
  .options-row { font-size: 0.78rem; }
  .role-btn { font-size: 0.78rem; padding: 0.6rem 0.5rem; }
  .role-btn svg { width: 1rem; height: 1rem; }

  .title-tasty {
    font-size: clamp(1.4rem, 7vw, 2rem);
    padding-top: 0.3em;
  }
  .title-momos { font-size: clamp(2.2rem, 12vw, 3.5rem); }
  .crown-icon { right: -0.9em; top: -0.55em; width: 0.9em; height: 0.9em; }
  .header-area { padding-top: 0.3rem; }
}

@media (max-height: 750px) {
  #loginView main { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .header-area {
    transform: scale(0.85);
    margin-bottom: 0.5rem;
    transform-origin: top center;
  }
  .card-header { margin-bottom: 0.8rem; }
  .glass-card { padding: 1.2rem; }
  .login-form { gap: 0.7rem; }
  .role-selector { margin-bottom: 1rem; }
}

@media (max-width: 768px), (pointer: coarse) {
  #loginView .blob { filter: blur(20px); }
  #loginView .bg-wave { filter: none; }
}

/* ============================================================
   ██ RESPONSIVE — STORE TABLET (≤900px) ██
   ============================================================ */
@media (max-width: 900px) {
  .menu-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .menu-category-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 18px 14px;
  }

  .category-image-wrap {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
  }

  .category-content {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .category-name {
    font-size: 1.4rem;
    text-align: center;
    width: 100%;
  }

  .category-items-list { width: 100%; }

  .category-item-row {
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    padding: 10px 12px;
    min-height: 44px;
  }

  .item-name {
    font-size: 0.88rem;
    text-align: left;
    white-space: normal;
    word-break: break-word;
  }

  .category-actions { width: 100%; flex-direction: row; gap: 8px; }

  .cat-add-item-btn,
  .cat-delete-btn {
    flex: 1;
    font-size: 0.7rem;
    min-height: 42px;
    padding: 10px 12px;
  }

  .deal-price-label,
  .deal-price-value { font-size: 2.4rem !important; }

  .hero-container {
    grid-template-columns: 1fr;
    grid-template-areas: "badge" "title" "visual" "subtitle" "actions";
    text-align: center;
    gap: 15px;
    padding-top: 5px;
  }

  .hero-badge { justify-self: center; margin: 0 auto; }
  .hero-visual { justify-content: center; margin: 0 auto; }
  .hero-plate { width: 260px; height: 260px; }
  .hero-title { font-size: 2.6rem; }
  .hero-subtitle { font-size: 0.92rem; }
  .hero-actions { justify-content: center; }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  .floating-element svg { width: 38px !important; height: 38px !important; }
  .float-1 { top: 0%; left: 5%; }
  .float-2 { top: 5%; right: 5%; }
  .float-3 { bottom: 5%; left: 10%; }
  .hero-scroll-indicator { display: none; }

  .about-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about-card { padding: 20px 12px; }
  .about-card h3 { font-size: 1.05rem; }
  .about-card p { font-size: 0.78rem; }

  .contact-grid { grid-template-columns: 1fr; }

  .inbox-panel {
    top: 60px;
    right: 10px;
    left: 10px;
    width: auto;
  }
}

/* ============================================================
   ██ RESPONSIVE — STORE SMALL (≤500px) ██
   ============================================================ */
@media (max-width: 500px) {
  .navbar { padding: 8px 0; }
  .nav-container { padding: 0 12px; gap: 6px; }
  .nav-logo { width: 32px; height: 32px; }
  .nav-brand-text { font-size: 0.95rem; }

  .inbox-btn,
  .cart-btn,
  .settings-btn,
  .profile-btn {
    width: 34px;
    height: 34px;
  }

  .inbox-btn svg,
  .cart-btn svg,
  .settings-btn svg,
  .profile-btn svg {
    width: 17px !important;
    height: 17px !important;
  }

  .nav-actions > button { margin-left: -8px; }
  .nav-actions > button:first-child { margin-left: 0; }

  .profile-dropdown,
  .inbox-panel {
    top: 55px;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: none;
  }

  .menu-category-block { padding: 14px 10px; gap: 12px; }
  .category-image-wrap { width: 120px; height: 120px; }
  .category-name { font-size: 3rem; }
  .category-item-row { padding: 9px 10px; }
  .item-name { font-size: 1.2rem; }
  .item-price { font-size: 1.8rem; }

  .category-actions { flex-direction: column; gap: 6px; }
  .cat-add-item-btn,
  .cat-delete-btn { width: 100%; flex: none; }

  .menu-deal-title { font-size: 3rem; }
  .menu-deal-list li { font-size: 1.2rem; }
  .deal-price-label,
  .deal-price-value { font-size: 2.2rem !important; }

  .deal-color-picker { padding: 8px; gap: 6px; margin-top: 12px; }
  .deal-color-picker-label {
    font-size: 0.6rem;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
  }
  .color-dot { width: 22px; height: 22px; }

  .hero { padding: 60px 0 20px; }
  .hero-plate { width: 220px; height: 220px; }
  .hero-title { font-size: 2.2rem; }
  .floating-element svg { width: 32px !important; height: 32px !important; }
  .section-title { font-size: 1.9rem; }
  .about-grid { grid-template-columns: 1fr; }

  .settings-box { max-width: 100%; border-radius: 20px; }
  .settings-heading { font-size: 1.4rem; }
  .settings-item { padding: 12px 14px; }
  .settings-item-title { font-size: 0.82rem; }
  .settings-item-desc { font-size: 0.66rem; }
  .settings-action-btn { padding: 7px 14px; font-size: 0.68rem; }
  .settings-item-icon { width: 36px; height: 36px; border-radius: 10px; }
  .settings-item-icon svg { width: 18px; height: 18px; }
}

@media (max-width: 360px) {
  .category-image-wrap { width: 100px; height: 100px; }
  .category-name { font-size: 1.5rem; }
  .item-name { font-size: 0.72rem; }
  .item-price { font-size: 0.85rem; }

  .hero-plate { width: 190px; height: 190px; }
  .hero-title { font-size: 1.9rem; }
  .floating-element svg { width: 28px !important; height: 28px !important; }
  .nav-brand-text { font-size: 0.85rem; }
  .section-title { font-size: 1.7rem; }
  .bottom-nav-item { font-size: 0.58rem; padding: 5px 6px; }
  .bottom-nav-item svg { width: 18px; height: 18px; }
}

@media (min-width: 769px) {
  #storeView { padding-bottom: 0; }

  .bottom-nav { display: none; }

  .toast {
    bottom: 30px;
    left: auto;
    right: 30px;
    transform: translateY(100px);
    text-align: left;
  }
  .toast.show { transform: translateY(0); }

  .cart-sheet {
    max-width: 420px;
    left: auto;
    right: 0;
    width: 420px;
    max-height: 100vh;
    border-radius: 0;
    transform: translateX(100%);
    border-top: none;
    border-left: 1px solid rgba(212,175,55,0.2);
  }
  .cart-sheet.open { transform: translateX(0); }
  .cart-handle { display: none; }
  .cart-header { padding: 22px; }
  .cart-items { padding: 18px; }
  .cart-footer { padding: 22px; }

  .hero { padding: 78px 0 40px; }
  .hero-title { font-size: 5rem; }
  .hero-subtitle { font-size: 1.25rem; }

  .section-title { font-size: 3.2rem; }

  .menu-section,
  .about-section,
  .contact-section { padding: 70px 0; }

  .footer { padding: 55px 0 28px; }
}

/* ============================================================
   ██ REDUCED MOTION ██
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *:not(.page-loader):not(.page-loader *):not(.loader-scene):not(.loader-scene *) {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ==========================================================
   ROLE MANAGEMENT — CHEF / CUSTOMER
   ========================================================== */

/* ---- Role Toggle Button ---- */
.role-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  border: 2px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  white-space: nowrap;
}

.role-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.role-toggle-btn:active {
  transform: scale(0.96);
}

.role-toggle-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* ---- Chef Mode ---- */
.role-toggle-btn.chef-mode {
  background: linear-gradient(135deg, #16a34a, #065f46);
  border-color: rgba(22, 163, 74, 0.6);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.35);
}

.role-toggle-btn.chef-mode svg {
  transform: rotate(0deg);
  color: #ffffff;
}

.role-toggle-btn.chef-mode .role-label {
  color: #ffffff;
}

/* ---- Customer Mode ---- */
.role-toggle-btn.customer-mode {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--gold);
}

/* ==========================================================
   CHEF MODE — SHOW EDITING TOOLS
   ========================================================== */
/* ✅ Chef / Restaurant — show all edit tools */
body[data-role="chef"] .cat-add-item-btn,
body[data-role="chef"] .cat-delete-btn,
body[data-role="chef"] .item-remove-btn,
body[data-role="chef"] .deal-delete-btn,
body[data-role="chef"] .category-upload-btn,
body[data-role="chef"] .deal-color-picker,
body[data-role="restaurant"] .cat-add-item-btn,
body[data-role="restaurant"] .cat-delete-btn,
body[data-role="restaurant"] .item-remove-btn,
body[data-role="restaurant"] .deal-delete-btn,
body[data-role="restaurant"] .category-upload-btn,
body[data-role="restaurant"] .deal-color-picker {
  display: flex !important;
}

body[data-role="chef"] .add-category-btn,
body[data-role="chef"] .add-deal-btn,
body[data-role="restaurant"] .add-category-btn,
body[data-role="restaurant"] .add-deal-btn {
  display: flex !important;
}

body[data-role="chef"] .settings-btn,
body[data-role="restaurant"] .settings-btn {
  display: flex !important;
}

/* Chef mode — contenteditable highlight */
body[data-role="chef"] [contenteditable="true"]:hover {
  background: rgba(244, 196, 48, 0.08);
  border-radius: 4px;
}

body[data-role="chef"] [contenteditable="true"]:focus {
  background: rgba(244, 196, 48, 0.15);
  border-radius: 4px;
  outline: 2px dashed rgba(244, 196, 48, 0.5);
  outline-offset: 2px;
}

/* ==========================================================
   CUSTOMER MODE — HIDE EDITING TOOLS
   ========================================================== */
body[data-role="customer"] .cat-add-item-btn,
body[data-role="customer"] .cat-delete-btn,
body[data-role="customer"] .item-remove-btn,
body[data-role="customer"] .deal-delete-btn,
body[data-role="customer"] .category-upload-btn,
body[data-role="customer"] .deal-color-picker,
body[data-role="guest"] .cat-add-item-btn,
body[data-role="guest"] .cat-delete-btn,
body[data-role="guest"] .item-remove-btn,
body[data-role="guest"] .deal-delete-btn,
body[data-role="guest"] .category-upload-btn,
body[data-role="guest"] .deal-color-picker {
  display: none !important;
}

body[data-role="customer"] .add-category-btn,
body[data-role="customer"] .add-deal-btn,
body[data-role="guest"] .add-category-btn,
body[data-role="guest"] .add-deal-btn {
  display: none !important;
}

body[data-role="customer"] .settings-btn {
  display: none !important;
}

/* Customer mode — no editing cursor */
body[data-role="customer"] [contenteditable="false"],
body[data-role="customer"] [contenteditable="true"] {
  cursor: default !important;
  pointer-events: auto !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}
/* Ensure menu items are tappable in customer mode */
body[data-role="customer"] .category-item-row,
body[data-role="customer"] .menu-deal-card {
  pointer-events: auto !important;
}

/* Customer mode — category image not clickable for upload */
body[data-role="customer"] .category-image-wrap {
  cursor: default !important;
  pointer-events: none !important;
}

/* ==========================================================
   CART BUTTON — HIDDEN FOR CHEF
   ========================================================== */
body[data-role="chef"] .cart-btn {
  display: none !important;
}

body[data-role="customer"] .cart-btn {
  display: flex !important;
}

/* ==========================================================
   RESPONSIVE — ROLE BUTTON
   ========================================================== */
@media (max-width: 500px) {
  .role-toggle-btn {
    padding: 6px 10px;
    font-size: 0.65rem;
    gap: 4px;
  }

  .role-toggle-btn svg {
    width: 14px;
    height: 14px;
  }

  .role-toggle-btn .role-label {
    font-size: 0.62rem;
  }
}

@media (max-width: 360px) {
  .role-toggle-btn .role-label {
    display: none;
  }

  .role-toggle-btn {
    padding: 6px 8px;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    justify-content: center;
  }
}

/* ==========================================================
   SMOOTH TRANSITIONS
   ========================================================== */
.cart-btn,
.settings-btn,
.add-category-btn,
.add-deal-btn,
.cat-add-item-btn,
.cat-delete-btn,
.item-remove-btn,
.deal-delete-btn,
.category-upload-btn,
.deal-color-picker {
  transition: opacity 0.3s ease, transform 0.3s ease, display 0.3s ease;
}

/* ==========================================================
   CHEF BADGE INDICATOR
   ========================================================== */
body[data-role="chef"] .navbar {
  border-bottom-color: rgba(22, 163, 74, 0.3);
}

body[data-role="chef"] .navbar.scrolled {
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.15);
}

/* ==========================================================
   CUSTOMER — HIDE ALL EDIT HINTS
   ========================================================== */
body[data-role="customer"] .menu-deal-list li:focus,
body[data-role="customer"] .menu-deal-title:focus,
body[data-role="customer"] .deal-price-value:focus,
body[data-role="customer"] .category-name:focus,
body[data-role="customer"] .item-name:focus,
body[data-role="customer"] .item-price:focus {
  outline: none !important;
  background: transparent !important;
  border-bottom-color: transparent !important;
}
/* ==========================================================
   👤 PROFILE BUTTON — New Style
   ========================================================== */
.profile-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  flex-shrink: 0;
}

.profile-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3);
}

.profile-btn:active { transform: scale(0.94); }

.profile-avatar {
  font-size: 1.15rem;
  line-height: 1;
  display: block;
  pointer-events: none;
}

.profile-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid var(--primary-darker);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: dotPulseGreen 2s ease-in-out infinite;
  pointer-events: none;
}

/* Chef mode indicator */
.profile-btn.chef-mode .profile-dot {
  background: #f4c430;
  box-shadow: 0 0 0 0 rgba(244, 196, 48, 0.7);
  animation: dotPulseGold 2s ease-in-out infinite;
}

/* When in Chef mode — button has green tint */
body[data-role="chef"] .profile-btn {
  border-color: rgba(22, 163, 74, 0.5);
  background: rgba(22, 163, 74, 0.1);
}

body[data-role="chef"] .profile-btn:hover {
  background: rgba(22, 163, 74, 0.2);
  border-color: #16a34a;
}

@keyframes dotPulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70%  { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes dotPulseGold {
  0%   { box-shadow: 0 0 0 0 rgba(244, 196, 48, 0.7); }
  70%  { box-shadow: 0 0 0 7px rgba(244, 196, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 196, 48, 0); }
}

/* ==========================================================
   ROLE TOGGLE BUTTON — Smaller Style
   ========================================================== */
.role-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 20px;
  border: 2px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  white-space: nowrap;
  min-height: 40px;
  flex-shrink: 0;
}

.role-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.role-toggle-btn:active { transform: scale(0.96); }

.role-icon {
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

.role-toggle-btn:hover .role-icon {
  transform: rotate(180deg);
}

.role-label { font-weight: 800; }

/* Chef mode styles */
.role-toggle-btn.chef-mode {
  background: linear-gradient(135deg, #16a34a, #065f46);
  border-color: rgba(22, 163, 74, 0.7);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.35);
}

.role-toggle-btn.customer-mode {
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--gold);
}

/* ==========================================================
   PROFILE PANEL — Overlay + Box
   ========================================================== */
.profile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.profile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.profile-box {
  position: relative;
  background: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 24px;
  width: 100%;
  max-width: 380px;
  padding: 30px 24px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(212, 175, 55, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-overlay.open .profile-box {
  transform: scale(1) translateY(0);
}

.profile-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.08);
  color: #f4c430;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.profile-close:hover,
.profile-close:active {
  background: #dc2626;
  border-color: #dc2626;
  color: white;
  transform: rotate(90deg);
}

/* Head — avatar + name + badge */
.profile-head {
  text-align: center;
  margin-bottom: 22px;
  padding-top: 8px;
}

.profile-head-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(244, 196, 48, 0.2), rgba(212, 175, 55, 0.08));
  border: 3px solid rgba(244, 196, 48, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  line-height: 1;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

body[data-role="chef"] .profile-head-avatar {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.25), rgba(6, 95, 70, 0.1));
  border-color: rgba(22, 163, 74, 0.6);
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.25);
}

.profile-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.profile-role-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.profile-role-badge.customer {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #f4c430;
}

.profile-role-badge.chef {
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(22, 163, 74, 0.6);
  color: #4ade80;
}

/* Info list */
.profile-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.profile-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.profile-info-row svg {
  color: #f4c430;
  flex-shrink: 0;
}

.profile-info-row strong {
  color: #ffffff;
  font-weight: 700;
}

.profile-info-row a {
  color: #f4c430;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.profile-info-row a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Logout button */
.profile-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 30px;
  border: 2px solid rgba(220, 38, 38, 0.5);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(153, 27, 27, 0.2));
  color: #ff6b6b;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}

.profile-logout-btn:hover,
.profile-logout-btn:active {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border-color: #dc2626;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

.profile-logout-btn:active { transform: scale(0.97); }

.profile-logout-btn svg {
  transition: transform 0.3s ease;
}

.profile-logout-btn:hover svg {
  transform: translateX(4px);
}

/* ==========================================================
   MOBILE — Adjustments
   ========================================================== */
@media (max-width: 500px) {
  .profile-btn {
    width: 36px;
    height: 36px;
  }
  .profile-avatar { font-size: 1rem; }
  .profile-dot { width: 10px; height: 10px; }

  .role-toggle-btn {
    padding: 7px 10px;
    font-size: 0.62rem;
    gap: 4px;
    min-height: 36px;
  }
  .role-toggle-btn svg { width: 13px; height: 13px; }

  .profile-box {
    max-width: 100%;
    padding: 26px 18px 18px;
    border-radius: 20px;
  }
  .profile-head-avatar {
    width: 64px;
    height: 64px;
    font-size: 1.8rem;
  }
  .profile-name { font-size: 1.2rem; }
  .profile-info-list { padding: 14px; }
  .profile-info-row { font-size: 0.72rem; }
  .profile-logout-btn { padding: 12px 16px; font-size: 0.78rem; }
}

@media (max-width: 380px) {
  .role-toggle-btn .role-label { display: none; }
  .role-toggle-btn {
    padding: 7px 9px;
    min-width: 36px;
    justify-content: center;
  }
}
/* ==========================================================
   🎯 FORCE — ALL NAV BUTTONS EXACT SAME SIZE
   ========================================================== */

/* Reset all — size perfectly equal */
.nav-actions .profile-btn,
.nav-actions .role-toggle-btn,
.nav-actions .cart-btn,
.nav-actions .settings-btn {
  box-sizing: border-box !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  line-height: 1 !important;
  overflow: visible !important;
  position: relative !important;
}

/* Force all SVGs inside buttons — same size */
.nav-actions .profile-btn > svg,
.nav-actions .profile-btn svg,
.nav-actions .role-toggle-btn svg,
.nav-actions .cart-btn svg,
.nav-actions .settings-btn svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0 !important;
  display: block !important;
  margin: 0 !important;
}

/* Profile avatar emoji — exact same visual size */
.nav-actions .profile-btn .profile-avatar {
  font-size: 18px !important;
  line-height: 18px !important;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  text-align: center !important;
}

/* Role icon inside toggle — same size */
.nav-actions .role-toggle-btn .role-icon {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}

/* Hide any text labels inside buttons (safety) */
.nav-actions .profile-label,
.nav-actions .role-label,
.nav-actions .profile-btn span:not(.profile-avatar):not(.profile-dot) {
  display: none !important;
}

/* Profile dot — small, positioned absolute */
.nav-actions .profile-btn .profile-dot {
  position: absolute !important;
  top: -2px !important;
  right: -2px !important;
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  min-height: 10px !important;
  max-width: 10px !important;
  max-height: 10px !important;
  border-radius: 50% !important;
  border: 2px solid #011a14 !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

/* Cart count badge — small, positioned absolute */
.nav-actions .cart-btn .cart-count {
  position: absolute !important;
  top: -3px !important;
  right: -3px !important;
  width: auto !important;
  min-width: 16px !important;
  height: 16px !important;
  max-height: 16px !important;
  border-radius: 8px !important;
  border: 2px solid #011a14 !important;
  margin: 0 !important;
  padding: 0 4px !important;
  z-index: 5 !important;
  font-size: 0.55rem !important;
  line-height: 1 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
}

/* ==========================================================
   📱 MOBILE — Same size rule
   ========================================================== */
@media (max-width: 500px) {
  .nav-actions .profile-btn,
  .nav-actions .role-toggle-btn,
  .nav-actions .cart-btn,
  .nav-actions .settings-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
  }
  
  .nav-actions .profile-btn > svg,
  .nav-actions .profile-btn svg,
  .nav-actions .role-toggle-btn svg,
  .nav-actions .cart-btn svg,
  .nav-actions .settings-btn svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
  }
  
  .nav-actions .profile-btn .profile-avatar {
    font-size: 16px !important;
    line-height: 16px !important;
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
  }
  
  .nav-actions .role-toggle-btn .role-icon {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
  }
}

@media (max-width: 380px) {
  .nav-actions .profile-btn,
  .nav-actions .role-toggle-btn,
  .nav-actions .cart-btn,
  .nav-actions .settings-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
  }
  
  .nav-actions .profile-btn > svg,
  .nav-actions .profile-btn svg,
  .nav-actions .role-toggle-btn svg,
  .nav-actions .cart-btn svg,
  .nav-actions .settings-btn svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
  }
  
  .nav-actions .profile-btn .profile-avatar {
    font-size: 14px !important;
    line-height: 14px !important;
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
  }
  
  .nav-actions .role-toggle-btn .role-icon {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
  }
}
/* ==========================================================
   🔄 PROFILE SWITCH BUTTON
   ========================================================== */
.profile-switch-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 30px;
  border: 2px solid rgba(244, 196, 48, 0.5);
  background: linear-gradient(135deg, rgba(244, 196, 48, 0.15), rgba(212, 175, 55, 0.1));
  color: #f4c430;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 10px;
  -webkit-tap-highlight-color: transparent;
}

.profile-switch-btn:hover,
.profile-switch-btn:active {
  background: linear-gradient(135deg, #f4c430, #d4af37);
  border-color: #f4c430;
  color: #011a14;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(244, 196, 48, 0.4);
}

.profile-switch-btn:active {
  transform: scale(0.97);
}

.profile-switch-btn svg {
  transition: transform 0.5s ease;
  flex-shrink: 0;
}

.profile-switch-btn:hover svg {
  transform: rotate(180deg);
}

/* Chef mode styles for switch button */
body[data-role="chef"] .profile-switch-btn {
  border-color: rgba(22, 163, 74, 0.5);
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.15), rgba(6, 95, 70, 0.1));
  color: #4ade80;
}

body[data-role="chef"] .profile-switch-btn:hover {
  background: linear-gradient(135deg, #16a34a, #065f46);
  border-color: #16a34a;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.4);
}

/* Mobile */
@media (max-width: 500px) {
  .profile-switch-btn {
    padding: 12px 16px;
    font-size: 0.78rem;
  }
}
/* ==========================================================
   🎯 NAVBAR BUTTONS — MORE GAP
   ========================================================== */
.nav-actions {
  gap: 8px !important;
}

/* Mobile */
@media (max-width: 500px) {
  .nav-actions {
    gap: 8px !important;
  }
}

@media (max-width: 380px) {
  .nav-actions {
    gap: 8px !important;
  }
}
/* ==========================================================
   ⚙️ SETTINGS FOOTER — FJwars Studio Branding
   ========================================================== */
.settings-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background: linear-gradient(
    180deg,
    rgba(212, 175, 55, 0.03) 0%,
    rgba(212, 175, 55, 0.06) 100%
  );
  flex-shrink: 0;
}

.settings-foot p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(
    135deg,
    #f4c430 0%,
    #d4af37 50%,
    #b8860b 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding: 0 14px;
  line-height: 1.4;
}

/* Decorative gold lines on both sides */
.settings-foot p::before,
.settings-foot p::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 22px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(244, 196, 48, 0.6),
    transparent
  );
  transform: translateY(-50%);
}

.settings-foot p::before { left: -14px; }
.settings-foot p::after  { right: -14px; }

/* Mobile tweak */
@media (max-width: 500px) {
  .settings-foot {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .settings-foot p {
    font-size: 0.66rem;
    letter-spacing: 1.2px;
  }
  .settings-foot p::before,
  .settings-foot p::after {
    width: 16px;
  }
}
/* ==========================================================
   🛒 TAP-TO-CART — Item Added Flash
   ========================================================== */
@keyframes addToCartFlash {
  0%   { transform: scale(1);    background: rgba(244, 196, 48, 0); }
  40%  { transform: scale(1.04); background: rgba(244, 196, 48, 0.35); }
  100% { transform: scale(1);    background: rgba(244, 196, 48, 0); }
}

.category-item-row.added-flash {
  animation: addToCartFlash 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 0 2px rgba(244, 196, 48, 0.5);
}

.menu-deal-card.added-flash {
  animation: addToCartFlash 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.7);
}

/* Customer mode — items feel tappable */
body[data-role="customer"] .category-item-row {
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

body[data-role="customer"] .category-item-row:active {
  transform: scale(0.97);
  background: rgba(244, 196, 48, 0.12);
}

body[data-role="customer"] .menu-deal-card {
  cursor: pointer;
}

body[data-role="customer"] .menu-deal-card:active {
  transform: scale(0.98);
}
/* ==========================================================
   🛒 CART BUTTON — FORCE VISIBLE FOR CUSTOMER / GUEST
   ========================================================== */
body[data-role="customer"] .nav-actions .cart-btn,
body[data-role="guest"]    .nav-actions .cart-btn {
  display: inline-flex !important;
}

/* Hide cart only for chef / restaurant */
body[data-role="chef"]       .nav-actions .cart-btn,
body[data-role="restaurant"] .nav-actions .cart-btn {
  display: none !important;
}

/* ==========================================================
   📬 INBOX BUTTON — ONLY CHEF / RESTAURANT
   ========================================================== */
body[data-role="customer"] .nav-actions .inbox-btn,
body[data-role="guest"]    .nav-actions .inbox-btn {
  display: none !important;
}

body[data-role="chef"]       .nav-actions .inbox-btn,
body[data-role="restaurant"] .nav-actions .inbox-btn {
  display: inline-flex !important;
}
/* ==========================================================
   🔑 CHEF LOGIN METHOD TABS
   ========================================================== */
#chefLoginWrapper {
  display: none;
}

.chef-method-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 1rem;
  border: 1.5px solid rgba(255,255,255,0.1);
  position: relative;
}

.chef-method-tab {
  flex: 1;
  padding: 0.55rem 0.7rem;
  border: none;
  background: none;
  color: rgba(255,255,255,0.6);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.chef-method-tab svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
}

.chef-method-tab.active {
  background: linear-gradient(135deg, var(--y-acc), var(--o-acc));
  color: var(--bg-dark);
  box-shadow: 0 4px 15px rgba(244,198,46,0.4);
}

.chef-method-tab.active svg { transform: scale(1.1); }

.chef-method-tab:not(.active):hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.05);
}

@media (max-width: 480px) {
  .chef-method-tab { font-size: 0.72rem; padding: 0.5rem 0.5rem; }
  .chef-method-tab svg { width: 0.85rem; height: 0.85rem; }
}
/* ==========================================================
   🚚 CHECKOUT DETAILS MODAL
   ========================================================== */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 4500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.checkout-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.checkout-modal {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 22px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(212, 175, 55, 0.1);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checkout-modal-overlay.open .checkout-modal {
  transform: scale(1) translateY(0);
}

.checkout-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  flex-shrink: 0;
}

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

.checkout-modal-title svg { color: #f4c430; }

.checkout-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.1);
  color: #f4c430;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.checkout-modal-close:hover,
.checkout-modal-close:active {
  background: #dc2626;
  border-color: #dc2626;
  color: white;
  transform: rotate(90deg);
}

.checkout-modal-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
}

.checkout-modal-subtitle {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 16px;
  text-align: center;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.checkout-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f4c430;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.checkout-field label svg { flex-shrink: 0; }

.checkout-field input,
.checkout-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.25s ease;
  resize: none;
}

.checkout-field input::placeholder,
.checkout-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  border-color: #f4c430;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.15);
}

.checkout-field input.error,
.checkout-field textarea.error {
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
  animation: checkoutShake 0.4s ease;
}

@keyframes checkoutShake {
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(244, 196, 48, 0.08);
  border: 1px solid rgba(244, 196, 48, 0.25);
  border-radius: 12px;
  margin-top: 4px;
}

.checkout-summary-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
}

.checkout-summary-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: #f4c430;
  letter-spacing: 1px;
}

.checkout-modal-actions {
  display: flex;
  gap: 10px;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  flex-shrink: 0;
}

.checkout-cancel-btn {
  flex: 1;
  padding: 13px;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.checkout-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.checkout-confirm-btn {
  flex: 2;
  padding: 13px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, #f4c430, #d97706);
  color: #011a14;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(244, 196, 48, 0.35);
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.checkout-confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(244, 196, 48, 0.5);
}

.checkout-confirm-btn:active { transform: scale(0.97); }

.checkout-confirm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================
   📬 INBOX — Order Contact Info Display
   ========================================================== */
.order-contact,
.order-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.72rem;
  color: #cbd5e1;
  padding: 6px 0;
  word-break: break-word;
  line-height: 1.4;
}

.order-contact {
  padding-top: 8px;
  border-top: 1px dashed rgba(212, 175, 55, 0.2);
  margin-top: 6px;
  color: #86efac;
  font-weight: 600;
}

.order-address {
  border-bottom: 1px dashed rgba(212, 175, 55, 0.2);
  padding-bottom: 8px;
  margin-bottom: 8px;
  color: #e2e8f0;
}

@media (max-width: 500px) {
  .checkout-modal { border-radius: 18px; }
  .checkout-modal-title { font-size: 1.2rem; }
  .checkout-modal-actions { flex-direction: column; }
  .checkout-cancel-btn,
  .checkout-confirm-btn { flex: 1; width: 100%; }
}
/* ==========================================================
   📦 CUSTOMER ORDERS BUTTON + PANEL
   ========================================================== */
.orders-btn { position: relative; }

.orders-count {
  position: absolute; top: -3px; right: -3px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #fff; font-size: 0.58rem; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 8px;
  display: none; align-items: center; justify-content: center;
  padding: 0 4px; box-shadow: 0 2px 8px rgba(220,38,38,0.5);
  z-index: 2; border: 2px solid #011a14;
}
.orders-count.show { display: flex !important; }

body[data-role="chef"] .orders-btn,
body[data-role="restaurant"] .orders-btn { display: none !important; }
body[data-role="customer"] .orders-btn,
body[data-role="guest"] .orders-btn { display: inline-flex !important; }

.orders-panel {
  position: fixed; top: 60px; right: 14px;
  width: 360px; max-width: calc(100vw - 28px); max-height: 70vh;
  background: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
  border: 2px solid rgba(212, 175, 55, 0.4); border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 1600; opacity: 0; visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex; flex-direction: column; overflow: hidden;
}
.orders-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.orders-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  flex-shrink: 0;
}
.orders-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem;
  color: #f4c430; letter-spacing: 2px;
  display: flex; align-items: center; gap: 8px;
}
.orders-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(212,175,55,0.1); border: 2px solid rgba(212,175,55,0.3);
  color: var(--gold); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
.orders-close:hover {
  background: var(--red); color: #fff; border-color: var(--red);
  transform: rotate(90deg);
}
.orders-body { flex: 1; overflow-y: auto; padding: 10px; }
.orders-empty { text-align: center; padding: 40px 20px; color: var(--gray); }
.orders-empty svg { opacity: 0.3; margin-bottom: 12px; }
.orders-empty p { font-size: 1rem; color: var(--gray-light); margin-bottom: 4px; }
.orders-empty span { font-size: 0.8rem; }

/* Customer order cards */
.customer-order-card {
  padding: 14px; border-radius: 14px; margin-bottom: 10px;
  border: 2px solid; transition: all 0.3s ease;
  animation: orderSlide 0.35s ease;
}
.customer-order-card.pending {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.4);
}
.customer-order-card.accepted {
  background: rgba(22, 163, 74, 0.1);
  border-color: rgba(22, 163, 74, 0.5);
}
.customer-order-status {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px; font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.customer-order-card.pending .customer-order-status { color: #ff6b6b; }
.customer-order-card.accepted .customer-order-status { color: #4ade80; }

.status-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #dc2626;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: pulseDotRed 2s ease-in-out infinite;
}
@keyframes pulseDotRed {
  0%   { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
.status-tick {
  width: 20px; height: 20px; color: #16a34a; flex-shrink: 0;
  animation: tickPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes tickPop { from { transform: scale(0); } to { transform: scale(1); } }

.customer-order-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.7rem; color: var(--gray); margin-bottom: 10px;
  padding-bottom: 10px; border-bottom: 1px dashed rgba(212, 175, 55, 0.2);
}
.customer-order-total {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.15rem;
  color: #f4c430; letter-spacing: 1px;
}
.customer-order-items { list-style: none; }
.customer-order-items li {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--gray-light);
  padding: 3px 0; gap: 8px;
}

/* ==========================================================
   📑 INBOX TABS (Restaurant side)
   ========================================================== */
.inbox-tabs {
  display: flex; padding: 8px; gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  flex-shrink: 0;
}
.inbox-tab {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 9px 12px; border: none; background: transparent;
  color: rgba(255, 255, 255, 0.6); font-family: inherit;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; border-radius: 10px; cursor: pointer;
  transition: all 0.25s ease; -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.inbox-tab:hover { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.9); }
.inbox-tab.active {
  background: linear-gradient(135deg, #f4c430, #d97706);
  color: #011a14; box-shadow: 0 4px 12px rgba(244, 196, 48, 0.3);
}
.inbox-tab-count {
  background: rgba(220, 38, 38, 0.9); color: #fff;
  font-size: 0.6rem; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: none; align-items: center; justify-content: center;
  padding: 0 5px;
}
.inbox-tab-count.show { display: inline-flex !important; }
.inbox-tab.active .inbox-tab-count { background: #011a14; color: #f4c430; }

/* History badge */
.history-order-card { position: relative; }
.order-status-badge {
  position: absolute; top: 10px; right: 12px;
  font-size: 0.58rem; font-weight: 800;
  padding: 3px 8px; border-radius: 8px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.order-status-badge.pending {
  background: rgba(220, 38, 38, 0.2); color: #ff6b6b;
  border: 1px solid rgba(220, 38, 38, 0.4);
}
.order-status-badge.done {
  background: rgba(22, 163, 74, 0.2); color: #4ade80;
  border: 1px solid rgba(22, 163, 74, 0.5);
}

@media (max-width: 500px) {
  .orders-panel { top: 55px; right: 10px; left: 10px; width: auto; }
}
/* ==========================================================
   🎯 NAV BUTTONS — Consistent Gap (Cart ↔ Orders same as Profile ↔ Cart)
   ========================================================== */
.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Remove the old negative margin that made buttons tight */
.nav-actions > button {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Force orders button to match the exact same gap */
.nav-actions > .orders-btn {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* ==========================================================
   🚚 DELIVERY FEE BREAKDOWN (Checkout Modal)
   ========================================================== */
.checkout-fee-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 4px 12px;
  margin-bottom: 4px;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.25);
}
.checkout-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #cbd5e1;
}
.checkout-fee-row span:last-child {
  color: #f4c430;
  font-weight: 700;
}
/* ==========================================================
   🚚 Delivery Fee Row (Order Slip)
   ========================================================== */
.order-items li.delivery-row {
  border-top: 1px dashed rgba(244, 196, 48, 0.35);
  margin-top: 6px;
  padding-top: 8px;
  color: #f4c430;
  font-weight: 700;
}
.order-items li.delivery-row span:first-child {
  letter-spacing: 0.3px;
}
/* ==========================================================
   🚚 Delivery Fee Row (Customer Order List)
   ========================================================== */
.customer-order-items li.delivery-row {
  border-top: 1px dashed rgba(244, 196, 48, 0.3);
  margin-top: 6px;
  padding-top: 8px;
  color: #f4c430;
  font-weight: 700;
}