@import url("fonts/fonts.css");

.ui-icon {
  height: 18px;
  width: 18px;
  vertical-align: middle;
  display: inline-block;
  object-fit: contain;
}

.ui-icon-lg {
  height: 20px;
  width: 20px;
}

.icon-bounce {
  animation: iconBounce 1s ease infinite;
}

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

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--accent-orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

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

.tracker-chevron {
  color: var(--accent-orange);
  font-size: 1.1rem;
  line-height: 1;
}

.timeline-dot-check {
  color: #22c55e;
  font-weight: bold;
}

:root {
  --bg-obsidian: #0a0a0a;
  --bg-surface: #141414;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a5;
  --accent-crimson: #b87333; /* copper */
  --accent-orange: #d4af37; /* gold */
  --accent-gradient: linear-gradient(135deg, #d4af37, #b87333);
  --glass-bg: rgba(15, 15, 15, 0.75);
  --glass-border: rgba(255, 255, 255, 0.05);
  color-scheme: dark;
}

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

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

body::before {
  content: ''; position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 94, 0, 0.05) 0%, transparent 60%);
  z-index: -1; pointer-events: none;
}

h1, h2, h3, h4, .font-display { font-family: 'Cinzel', serif; letter-spacing: 1px; }
button, a { border: none; font-family: inherit; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
a:hover { color: var(--accent-orange); }

/* Animated Premium Custom Cursor */
@media (pointer: fine) {
  body, button, a, select, input, textarea, .cat-btn, .btn-primary, .btn-secondary, .order-card {
    cursor: none !important;
  }
  .cursor {
    display: block !important;
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    transition: width 0.15s, height 0.15s, background-color 0.15s;
  }
  .cursor-follower {
    display: block !important;
    position: fixed;
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s;
  }
  
  body.hover-target .cursor {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
  }
  body.hover-target .cursor-follower {
    width: 44px;
    height: 44px;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
  }
}
@media (pointer: coarse) {
  .cursor, .cursor-follower {
    display: none !important;
  }
}


/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 100;
  padding: 20px 40px;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  display: flex; justify-content: space-between; align-items: center;
  transition: all 0.3s ease;
}
.nav-logo {
  font-size: 2rem; font-weight: 700; font-family: 'Cinzel', serif;
  background: var(--accent-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-transform: uppercase; letter-spacing: 4px;
}
.nav-links {
  display: flex; gap: 30px; list-style: none;
}
.nav-links a {
  font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; color: var(--text-secondary);
}
.nav-links a:hover { color: white; }

/* Modern Hero Section */
.hero {
  min-height: 90vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 60px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 10;
  width: 100%;
}
.hero-content {
  text-align: left;
  max-width: 650px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUpIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
@keyframes fadeUpIn { to { opacity: 1; transform: translateY(0); } }

.hero-tag {
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 20px;
  display: inline-block;
  font-weight: 600;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 5px;
}
.hero-title {
  font-size: 4.2rem; font-weight: 400; margin-bottom: 25px;
  line-height: 1.15;
}
.hero-title span {
  display: block;
  font-family: 'Cinzel', serif;
  color: var(--accent-orange);
}
.hero-subtitle {
  font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 40px; font-weight: 300;
  line-height: 1.7;
}
.hero-img-container {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 15px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  animation: fadeUpIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0; transform: translateY(40px);
}
.hero-img-frame {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
  transition: transform 10s ease;
}
.hero-img-container:hover .hero-img {
  transform: scale(1.1);
}

/* Sections */
.section { padding: 100px 20px; position: relative; }
.section-title {
  font-size: 3rem; text-align: center; margin-bottom: 60px; color: white;
}
.section-title span {
  background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.flex { display: flex; }
.grid { display: grid; }

/* Buttons */
.btn-primary {
  padding: 14px 35px; border-radius: 30px; font-weight: 600; font-size: 1rem;
  background: var(--accent-gradient); color: white;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
  text-transform: uppercase; letter-spacing: 1px;
  position: relative; overflow: hidden; display: inline-flex; justify-content: center; align-items: center; gap: 10px;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}
.glow-effect {
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s; transform: scale(0.5);
}
.btn-primary:hover .glow-effect { opacity: 1; transform: scale(1); }
.btn-primary:disabled { background: #333; box-shadow: none; opacity: 0.5; transform: none; }

.btn-secondary {
  padding: 10px 25px; border-radius: 30px; font-weight: 600;
  background: transparent; border: 1px solid var(--text-secondary); color: var(--text-primary);
  transition: all 0.3s ease;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--text-primary); }

/* Glass Panels */
.glass-panel {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
  border-radius: 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6); padding: 30px;
}

/* About Us */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-text p {
  color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 20px;
}
.about-img-wrap {
  position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.about-img-wrap::before {
  content: ''; position: absolute; inset: 0; border: 2px solid rgba(255,94,0,0.3); z-index: 2; border-radius: 20px; margin: 15px; pointer-events: none;
}
.about-img { width: 100%; height: 500px; object-fit: cover; filter: brightness(0.8); transition: transform 0.8s ease; }
.about-img-wrap:hover .about-img { transform: scale(1.05); filter: brightness(1); }

/* Gallery / Atmosphere */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.gallery-item {
  height: 350px; border-radius: 15px; overflow: hidden; position: relative;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: all 0.5s ease; filter: grayscale(50%) brightness(0.7);
}
.gallery-item:hover img {
  filter: grayscale(0%) brightness(1); transform: scale(1.1);
}
.gallery-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex; align-items: flex-end; padding: 30px; opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { font-size: 1.5rem; }

/* Parallax Banner (Chef's Signature) */
.parallax-banner {
    background-image: url('images/chef/background.jpg');
    background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover;
    position: relative; padding: 150px 20px; margin: 80px 0; border-top: 1px solid rgba(255,94,0,0.2); border-bottom: 1px solid rgba(255,94,0,0.2);
}
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(5,5,5,0.6), #050505); }
.relative { position: relative; }
.z-10 { z-index: 10; }
.text-center { text-align: center; }

/* Testimonials */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.review-card {
    background: linear-gradient(145deg, rgba(20,20,20,0.8), rgba(5,5,5,0.9));
    border: 1px solid var(--glass-border); border-radius: 20px; padding: 40px 30px;
    position: relative; transition: all 0.3s ease;
}
.review-card:hover { transform: translateY(-10px); border-color: rgba(255,94,0,0.3); }
.review-quote { font-size: 3rem; color: var(--accent-orange); position: absolute; top: 20px; right: 30px; opacity: 0.2; font-family: 'Cinzel', serif; }
.review-text { font-size: 1.1rem; color: #ddd; font-style: italic; margin-bottom: 25px; position: relative; z-index: 2; }
.review-author { display: flex; align-items: center; gap: 15px; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-orange); }
.author-name { font-weight: 600; color: white; }
.author-title { font-size: 0.85rem; color: var(--text-secondary); }

/* Menu Specifics */
.categories-wrap {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 15px; margin-bottom: 40px; justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
}
.categories-wrap::-webkit-scrollbar { height: 4px; }
.categories-wrap::-webkit-scrollbar-thumb { background: var(--accent-orange); border-radius: 4px; }
.cat-btn {
  white-space: nowrap; padding: 12px 25px; border-radius: 30px; font-weight: 600;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: var(--text-secondary);
  transition: all 0.3s ease;
}
.cat-btn.active {
  background: var(--accent-gradient); border-color: transparent; color: white;
  box-shadow: 0 8px 20px rgba(217, 28, 28, 0.3);
}
.cat-btn:not(.active):hover { background: rgba(255,255,255,0.1); color: white; transform: translateY(-2px); }

.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px;
}
.menu-card {
  position: relative; overflow: hidden; border-radius: 20px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex; flex-direction: column;
}
.menu-card:hover {
  transform: translateY(-10px); border-color: rgba(255,94,0,0.4);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px rgba(255,94,0,0.2);
}
.card-img-wrapper { overflow: hidden; height: 220px; position: relative; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.menu-card:hover .card-img-wrapper img { transform: scale(1.1); }
.card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; font-family: 'Cinzel', serif; }
.card-price { color: var(--accent-orange); font-size: 1.4rem; font-weight: 700; margin-top: auto; padding-top: 15px; }
.btn-add {
  margin-top: 20px; width: 100%; padding: 12px; border-radius: 12px;
  background: rgba(255,94,0,0.1); border: 1px solid var(--accent-orange); color: var(--accent-orange);
  font-weight: 600; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px;
}
.menu-card:hover .btn-add { background: var(--accent-orange); color: white; box-shadow: 0 5px 15px rgba(255,94,0,0.3); }

/* Cart */
.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); font-size: 0.95rem;
}
.cart-item:last-child { border-bottom: none; }

/* Footer */
.footer {
  background: #000; border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 20px 40px; margin-top: 100px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; max-width: 1400px; margin: 0 auto;
}
.footer-brand { margin-bottom: 20px; }
.footer-logo {
  font-size: 2.5rem; font-weight: 700; font-family: 'Cinzel', serif;
  background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-text { color: var(--text-secondary); margin-top: 20px; max-width: 400px; }
.footer h4 { color: white; font-size: 1.2rem; margin-bottom: 25px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 15px; color: var(--text-secondary); display: flex; align-items: center; gap: 10px; }
.social-links { display: flex; gap: 15px; margin-top: 30px; }
.social-btn {
  width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,0.05);
  display: flex; justify-content: center; align-items: center; color: white; font-size: 1.2rem;
  transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.1);
}
.social-btn:hover { background: var(--accent-orange); border-color: var(--accent-orange); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(255,94,0,0.3); }

.ayap-signature {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.ayap-brand-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(255,255,255,0.03));
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.12), inset 0 0 18px rgba(255,255,255,0.04);
  overflow: hidden;
}
.ayap-brand-pill::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -45%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg);
  animation: ayapShine 3.8s ease-in-out infinite;
}
.ayap-logo-glow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.35), 0 0 22px rgba(212,175,55,0.45);
  animation: ayapFloat 3s ease-in-out infinite;
}
.ayap-signature-text {
  position: relative;
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #f7d56f;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.55);
  white-space: nowrap;
}
.ayap-signature .social-btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ayap-signature .social-btn:hover {
  transform: translateY(-4px) scale(1.06);
}
.ayap-socials {
  gap: 14px;
  margin-top: 2px;
}
.ayap-social-btn {
  --ayap-color: #d4af37;
  position: relative;
  width: 42px;
  height: 42px;
  border-color: color-mix(in srgb, var(--ayap-color) 68%, transparent);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
  box-shadow:
    0 10px 28px color-mix(in srgb, var(--ayap-color) 24%, transparent),
    inset 0 0 14px rgba(255,255,255,0.08);
  isolation: isolate;
  overflow: hidden;
  animation: ayapIconRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both, ayapIconPulse 3.6s ease-in-out infinite;
}
.ayap-social-btn:nth-child(2) { animation-delay: 0.08s, 0.5s; }
.ayap-social-btn:nth-child(3) { animation-delay: 0.16s, 1s; }
.ayap-telegram,
.ayap-instagram,
.ayap-tiktok {
  --ayap-color: #d4af37;
}
.ayap-social-btn::before,
.ayap-social-btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
}
.ayap-social-btn::before {
  background: conic-gradient(from 120deg, transparent 0 28%, var(--ayap-color), transparent 58% 100%);
  opacity: 0.34;
  z-index: -1;
  animation: ayapIconOrbit 4.5s linear infinite;
}
.ayap-social-btn::after {
  inset: 1px;
  background: radial-gradient(circle, color-mix(in srgb, var(--ayap-color) 22%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ayap-social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--ayap-color) 58%, transparent));
  transition: transform 0.28s ease, filter 0.28s ease;
}
.ayap-social-btn:hover,
.ayap-social-btn:focus-visible {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.28), transparent 35%),
    linear-gradient(145deg, color-mix(in srgb, var(--ayap-color) 34%, rgba(255,255,255,0.05)), rgba(255,255,255,0.08));
  border-color: var(--ayap-color);
  box-shadow:
    0 14px 34px color-mix(in srgb, var(--ayap-color) 42%, transparent),
    0 0 0 5px color-mix(in srgb, var(--ayap-color) 12%, transparent),
    inset 0 0 18px rgba(255,255,255,0.14);
  color: white;
  outline: none;
}
.ayap-social-btn:hover::after,
.ayap-social-btn:focus-visible::after {
  opacity: 1;
}
.ayap-social-btn:hover .ayap-social-icon,
.ayap-social-btn:focus-visible .ayap-social-icon {
  transform: scale(1.12) rotate(-8deg);
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--ayap-color) 85%, transparent));
}
@keyframes ayapShine {
  0%, 45% { left: -45%; }
  75%, 100% { left: 120%; }
}
@keyframes ayapFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes ayapIconRise {
  from { opacity: 0; transform: translateY(10px) scale(0.82); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ayapIconPulse {
  0%, 100% { box-shadow: 0 10px 28px color-mix(in srgb, var(--ayap-color) 20%, transparent), inset 0 0 14px rgba(255,255,255,0.08); }
  50% { box-shadow: 0 14px 34px color-mix(in srgb, var(--ayap-color) 34%, transparent), inset 0 0 16px rgba(255,255,255,0.12); }
}
@keyframes ayapIconOrbit {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ayap-brand-pill::before,
  .ayap-logo-glow,
  .ayap-social-btn,
  .ayap-social-btn::before {
    animation: none;
  }
}
.copyright { text-align: center; color: var(--text-secondary); padding-top: 40px; margin-top: 60px; border-top: 1px solid rgba(255,255,255,0.05); }

/* Cart Drawer */
.cart-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1000;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease; backdrop-filter: blur(5px);
}
.cart-overlay.active { opacity: 1; pointer-events: auto; }

.cart-drawer {
    position: fixed; top: 0; right: -450px; width: 400px; height: 100vh;
    background: var(--bg-surface); z-index: 1001;
    box-shadow: -10px 0 30px rgba(0,0,0,0.8);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
    border-left: 1px solid var(--glass-border);
}
.cart-drawer.active { right: 0; }

.cart-header {
    padding: 20px 30px; border-bottom: 1px solid var(--glass-border);
    display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.2);
}
.btn-close {
    background: transparent; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: none; transition: color 0.3s;
}
.btn-close:hover { color: var(--accent-orange); }

.cart-body { flex: 1; overflow-y: auto; padding: 20px 30px; }

/* Navbar Cart Button */
.nav-cart-btn {
    position: relative; background: transparent; border: none; color: var(--text-primary);
    font-size: 1.2rem; display: flex; align-items: center; gap: 10px; cursor: none;
    transition: color 0.3s;
}
.nav-cart-btn:hover { color: var(--accent-orange); }
.cart-badge {
    position: absolute; top: -8px; right: -8px;
    background: var(--accent-orange); color: white; font-size: 0.75rem; font-weight: bold;
    width: 20px; height: 20px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    box-shadow: 0 0 10px rgba(255,94,0,0.5);
}

/* Modals & Inputs */
.preloader { position: fixed; inset: 0; background: rgba(5, 5, 5, 0.95); z-index: 9999; display: flex; justify-content: center; align-items: center; backdrop-filter: blur(10px); }
.input-field {
  width: 100%; padding: 16px 20px; border-radius: 12px; font-size: 1rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); color: white; margin-bottom: 20px; transition: all 0.3s ease;
}
.input-field:focus { border-color: var(--accent-orange); outline: none; background: rgba(255,255,255,0.05); box-shadow: 0 0 15px rgba(255,94,0,0.2); }

select.input-field {
  background: #141414;
  color: white;
}
select.input-field option {
  background: #141414;
  color: white;
}

/* Text Utils */
.text-primary { color: var(--text-primary); }
.text-orange { color: var(--accent-orange); }
.text-red { color: #ef4444; }
.text-green { color: #22c55e; }
.text-gray { color: var(--text-secondary); }

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-obsidian); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-orange); }

/* PWA Install Banner */
.install-banner {
    position: fixed; bottom: -120px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 500px; background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--accent-orange); border-radius: 16px;
    padding: 16px 20px; z-index: 9999; display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(212, 175, 55, 0.2);
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}
.install-banner.active { bottom: 20px; }
.install-banner-text { font-size: 0.9rem; color: #ddd; text-align: left; }
.install-banner-text strong { color: white; display: block; font-size: 1rem; margin-bottom: 2px; }

/* Notification Bell */
.nav-bell-btn {
    position: relative; background: transparent; border: none; color: var(--text-primary);
    font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: none;
    transition: color 0.3s; width: 40px; height: 40px;
}
.nav-bell-btn:hover { color: var(--accent-orange); }
.bell-badge {
    position: absolute; top: 5px; right: 5px;
    background: #ef4444; width: 8px; height: 8px; border-radius: 50%;
    box-shadow: 0 0 8px #ef4444; display: none;
    animation: pulseDot 1.5s infinite;
}

/* Toast Notifications */
.toast-container {
    position: fixed; bottom: 20px; right: 20px; z-index: 10002;
    display: flex; flex-direction: column; gap: 10px; max-width: 350px; width: 100%;
}
.toast-card {
    background: rgba(15, 15, 15, 0.95); border: 1px solid var(--accent-orange);
    border-radius: 12px; padding: 15px 20px; color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; gap: 12px; align-items: flex-start;
    backdrop-filter: blur(10px);
}
.toast-card.active { transform: translateX(0); }
.toast-icon { color: var(--accent-orange); font-size: 1.3rem; margin-top: 2px; }
.toast-content { flex: 1; text-align: left; }
.toast-title { font-family: 'Cinzel', serif; font-weight: bold; margin-bottom: 4px; font-size: 0.95rem; color: var(--accent-orange); }
.toast-message { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; }
.toast-close { background: transparent; border: none; color: var(--text-secondary); cursor: none; font-size: 1.1rem; line-height: 1; }
.toast-close:hover { color: white; }

/* News Item in Drawer */
.news-item {
    padding: 15px; background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05); border-radius: 10px;
    margin-bottom: 12px; transition: border-color 0.3s;
    text-align: left;
}
.news-item:hover { border-color: rgba(212, 175, 55, 0.2); }
.news-title { font-family: 'Cinzel', serif; font-weight: 600; margin-bottom: 6px; color: var(--accent-orange); }
.news-desc { font-size: 0.9rem; color: #ddd; line-height: 1.4; }
.news-date { font-size: 0.75rem; color: var(--text-secondary); margin-top: 8px; text-align: right; }

@keyframes pulseDot {
    0% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.6; }
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 1200px) {
  .hero-title { font-size: 3.5rem; }
  .section-title { font-size: 2.8rem; }
  .hero-grid { gap: 30px; }
  .container { padding: 0 15px; }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-img-container {
    height: 400px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img-wrap {
    order: -1; /* Image first on mobile */
  }
  .about-img {
    height: 350px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-text {
    max-width: 100%;
  }
  .social-links {
    justify-content: center;
  }
  .parallax-banner {
    background-attachment: scroll;
    padding: 100px 15px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 15px;
    flex-direction: column;
    gap: 15px;
  }
  .nav-logo {
    font-size: 1.5rem;
  }
  .nav-links {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.8rem;
  }
  .hero {
    padding: 100px 0 40px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .section { 
    padding: 60px 15px; 
  }
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .cat-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .about-text p {
    font-size: 0.95rem;
  }
  .review-card {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-img-container {
    height: 250px;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .navbar {
    padding: 10px;
  }
  .nav-links a {
    font-size: 0.75rem;
  }
}

/* Light Theme Variables */
body.light-theme {
  --bg-obsidian: #f5f5f7;
  --bg-surface: #ffffff;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
  color-scheme: light;
}

body.light-theme .input-field {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1d1d1f;
}
body.light-theme .input-field::placeholder {
  color: #8e8e93;
}
body.light-theme .input-field:focus {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--accent-orange);
}
body.light-theme select.input-field {
  background: #ffffff;
  color: #1d1d1f;
}
body.light-theme select.input-field option {
  background: #ffffff;
  color: #1d1d1f;
}
body.light-theme .btn-secondary {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}
body.light-theme .btn-secondary:hover {
  background: rgba(0,0,0,0.05);
  border-color: var(--text-primary);
}
body.light-theme .author-name {
  color: var(--text-primary);
}
body.light-theme::before {
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
}
body.light-theme h1, body.light-theme h2, body.light-theme h3, body.light-theme h4, body.light-theme .card-title {
  color: #1d1d1f;
}
body.light-theme .navbar {
  background: rgba(255, 255, 255, 0.8);
}
body.light-theme .menu-card {
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
body.light-theme .menu-card:hover {
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15), 0 0 20px rgba(212, 175, 55, 0.1);
}

/* Language and Theme controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}
.theme-toggle-btn, .lang-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}
.theme-toggle-btn:hover, .lang-select:hover {
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.1);
}
body.light-theme .theme-toggle-btn, body.light-theme .lang-select {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Flying Item Animation */
.flying-item {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 20px var(--accent-orange);
  z-index: 99999;
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

/* Visual Order Status Timeline Tracker */
.timeline-tracker {
  margin: 15px 0;
  padding: 15px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}
.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 15px;
  margin-bottom: 5px;
}
.timeline-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 1;
}
body.light-theme .timeline-steps::before {
  background: rgba(0,0,0,0.08);
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  flex: 1;
  position: relative;
}
.timeline-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1e1e24;
  border: 2px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all 0.5s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
body.light-theme .timeline-icon-circle {
  background: #e5e5ea;
  border-color: rgba(0,0,0,0.1);
}
.timeline-step.active .timeline-icon-circle {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: white;
  box-shadow: 0 0 15px var(--accent-orange);
  transform: scale(1.15);
}
.timeline-step.completed .timeline-icon-circle {
  background: #22c55e;
  border-color: #22c55e;
  color: white;
  box-shadow: 0 0 10px rgba(34,197,94,0.4);
}
.timeline-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 8px;
  text-align: center;
}
.timeline-step.active .timeline-label {
  color: var(--accent-orange);
}
.timeline-step.completed .timeline-label {
  color: #22c55e;
}

/* Modifiers Selector Modal */
.modifier-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modifier-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.modifier-content {
  max-width: 450px;
  width: 90%;
}
.modifier-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  background: rgba(255,255,255,0.01);
  transition: all 0.3s ease;
}
.modifier-option:hover {
  border-color: var(--accent-orange);
  background: rgba(255,255,255,0.03);
}
.modifier-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-orange);
  cursor: pointer;
}

/* Booking layouts */
.booking-section {
  background: linear-gradient(135deg, rgba(20,20,20,0.8) 0%, rgba(5,5,5,0.95) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
}
body.light-theme .booking-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,245,247,0.95) 100%);
  box-shadow: 0 20px 45px rgba(0,0,0,0.05);
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
}

/* Global Form Theme Controls & Option Contrast Fixes */
input, select, textarea, option {
  color-scheme: dark;
}
body.light-theme input, 
body.light-theme select, 
body.light-theme textarea, 
body.light-theme option {
  color-scheme: light;
}

select, option {
  background-color: #141414;
  color: #ffffff;
}
body.light-theme select, 
body.light-theme option {
  background-color: #ffffff;
  color: #1d1d1f;
}

/* Order Tracker Optimization */
#tracker-content {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 5px;
}
#tracker-content::-webkit-scrollbar {
  width: 4px;
}
#tracker-content::-webkit-scrollbar-track {
  background: transparent;
}
#tracker-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}
#tracker-content::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}
body.light-theme #tracker-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
}

@media (max-width: 576px) {
  #order-tracker {
    right: 15px !important;
    left: 15px !important;
    bottom: 15px !important;
    width: auto !important;
    max-width: none !important;
    padding: 15px !important;
  }
  #tracker-content {
    max-height: 250px;
  }
}



/* Cross-device responsive hardening */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img, video, canvas {
  max-width: 100%;
}

button img,
a img,
h1 img,
h2 img,
h3 img,
.navbar img,
.ui-icon,
.ui-icon-lg {
  flex: 0 0 auto;
  max-width: 22px;
  max-height: 22px;
  object-fit: contain;
}

.btn-primary img,
.btn-secondary img,
.cat-btn img,
.status-badge img,
.order-status img {
  width: 18px !important;
  height: 18px !important;
}

#image-preview {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

#site-logo-img {
  max-width: 52px;
  max-height: 38px;
}

.panel-menu-toggle {
  display: none;
}

.panel-navbar-actions {
  min-width: 0;
}

button, input, select, textarea {
  max-width: 100%;
}

.glass-panel,
.menu-card,
.review-card,
.booking-section {
  min-width: 0;
}

@media (max-width: 1024px) {
  .navbar {
    align-items: stretch;
    gap: 12px;
  }

  .navbar > div,
  .nav-controls,
  #nav-auth-section {
    min-width: 0;
    flex-wrap: wrap;
  }

  .nav-logo {
    letter-spacing: 2px;
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  body {
    min-width: 320px;
  }

  .container {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .navbar {
    position: sticky;
    padding: 10px 12px !important;
    max-height: 45vh;
    overflow-y: auto;
  }

  .navbar,
  .navbar > div {
    flex-direction: column;
    align-items: stretch !important;
  }

  .nav-logo {
    font-size: 1.25rem !important;
    text-align: center;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-links a,
  .btn-primary,
  .btn-secondary,
  .cat-btn,
  .input-field {
    font-size: 0.95rem !important;
  }

  .btn-primary,
  .btn-secondary {
    min-height: 42px;
    padding: 10px 14px !important;
    white-space: normal;
    text-align: center;
  }

  .hero {
    padding: 48px 0 32px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-title,
  .section-title,
  h2 {
    font-size: 2rem !important;
    line-height: 1.15;
  }

  h3 {
    font-size: 1.35rem !important;
  }

  .hero-img-container {
    height: clamp(240px, 56vw, 360px);
    padding: 8px;
    border-radius: 14px;
  }

  .section {
    padding: 48px 12px;
  }

  .glass-panel {
    padding: 16px !important;
    border-radius: 14px;
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }

  .card-img-wrapper {
    height: 150px;
  }

  .card-body {
    padding: 14px;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-price {
    font-size: 1.1rem;
  }

  .cart-drawer {
    width: min(100vw, 430px);
    right: -100vw;
  }

  .cart-header,
  .cart-body {
    padding: 16px;
  }

  .toast-container {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
  }

  .install-banner {
    width: calc(100% - 24px);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .booking-section {
    padding: 18px;
  }

  .timeline-label {
    font-size: 0.68rem;
  }

  table {
    min-width: 680px;
  }

  #reservations-modal .glass-panel,
  #history-modal .glass-panel,
  #zreport-modal .glass-panel,
  #auth-screen .glass-panel,
  .preloader .glass-panel {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: 88vh !important;
    overflow: auto;
  }

  #reservations-modal table {
    display: block;
    overflow-x: auto;
    min-width: 0;
  }

  #history-modal .glass-panel > div,
  #reservations-modal .glass-panel > div {
    min-width: 0;
  }

  .kanban-board {
    height: auto !important;
    min-height: calc(100vh - 190px);
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 86vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .kanban-board > .glass-panel {
    scroll-snap-align: start;
    min-width: 0 !important;
  }

  .stat-card {
    padding: 14px !important;
  }
}

@media (max-width: 480px) {
  .hero-title,
  .section-title,
  h2 {
    font-size: 1.65rem !important;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

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

  .card-img-wrapper {
    height: 185px;
  }

  .categories-wrap {
    gap: 8px;
    margin-bottom: 24px;
  }

  .cat-btn {
    padding: 8px 12px !important;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  #nav-auth-section,
  .nav-controls {
    justify-content: center;
  }

  .timeline-steps {
    overflow-x: auto;
    gap: 12px;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  .timeline-step {
    min-width: 70px;
  }
}

/* Final responsive pass for phones, tablets, and narrow laptops */
html,
body {
  width: 100%;
  max-width: 100%;
}

body {
  overflow-x: clip;
}

.navbar,
.section,
.container,
.hero-grid,
.about-grid,
.gallery-grid,
.reviews-grid,
.footer-grid,
.cart-item,
.order-card,
.stat-card,
.glass-panel {
  max-width: 100%;
}

.navbar > *,
.hero-grid > *,
.about-grid > *,
.gallery-grid > *,
.reviews-grid > *,
.footer-grid > *,
.glass-panel > *,
.cart-item > *,
.order-card > *,
.stat-card > * {
  min-width: 0;
}

p,
span,
li,
label,
button,
input,
textarea,
select,
.nav-logo,
.card-title,
.review-text,
.footer-text,
.toast-message,
.news-desc {
  overflow-wrap: anywhere;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.btn-primary,
.btn-secondary,
.cat-btn,
.nav-cart-btn,
.nav-bell-btn,
.theme-toggle-btn {
  flex-shrink: 0;
}

@media (max-width: 1180px) {
  .navbar {
    padding: 16px 22px;
    gap: 16px;
    flex-wrap: wrap;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  #nav-auth-section,
  .nav-controls {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 64px 14px;
  }

  .hero.container,
  .section.container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .parallax-banner {
    margin: 48px 0;
  }

  .about-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid,
  .reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  }

  .footer {
    margin-top: 60px;
    padding: 56px 16px 32px;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .navbar {
    align-items: stretch;
    max-height: none;
    overflow: visible;
  }

  .navbar > a,
  .navbar > div,
  #nav-auth-section,
  .nav-controls {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links a {
    display: block;
    padding: 8px 6px;
    text-align: center;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-tag {
    letter-spacing: 2px;
  }

  .hero-title,
  .section-title,
  h2 {
    font-size: clamp(1.55rem, 8vw, 2rem) !important;
  }

  .hero-subtitle,
  .about-text p,
  .review-text {
    font-size: 0.95rem;
  }

  .about-img,
  .gallery-item {
    height: clamp(220px, 62vw, 320px);
  }

  .parallax-banner {
    padding: 72px 14px;
  }

  .parallax-banner h2,
  .parallax-banner .font-display {
    font-size: clamp(1.6rem, 9vw, 2.25rem) !important;
  }

  .categories-wrap {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .cart-drawer,
  .cart-drawer.active {
    width: 100vw;
    max-width: 100vw;
  }

  .cart-drawer {
    right: -100vw;
  }

  .delivery-toggle-wrap,
  .modifier-content > div:last-child,
  #promo-input + .btn-primary,
  #history-modal .glass-panel > div,
  #reservations-modal .glass-panel > div,
  #zreport-modal .glass-panel > div {
    flex-wrap: wrap;
  }

  #promo-input {
    min-width: 0;
  }

  #btn-apply-promo {
    width: 100%;
  }

  .install-banner {
    left: 12px;
    right: 12px;
    transform: none;
    width: auto;
  }

  .toast-card {
    transform: translateY(120%);
  }

  .toast-card.active {
    transform: translateY(0);
  }

  .preloader {
    padding: 10px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .preloader > .glass-panel,
  .modifier-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px !important;
  }

  #history-modal .glass-panel,
  #reservations-modal .glass-panel,
  #zreport-modal .glass-panel {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 420px) {
  .container,
  .hero.container,
  .section.container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .nav-logo {
    font-size: 1.1rem !important;
  }

  .menu-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-body,
  .review-card,
  .booking-section,
  .glass-panel {
    padding: 14px !important;
  }

  .cart-header,
  .cart-body {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Mobile icon lock: prevent large source PNG icons from rendering at intrinsic size */
img[src*="images/unsplash/"],
.ui-icon,
.ui-icon-lg,
.timeline-dot-icon,
.ayap-social-icon,
.toast-icon img,
.nav-cart-btn img,
.nav-bell-btn img,
.theme-toggle-btn img,
.btn-close img,
.status-badge img,
.order-status img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  object-fit: contain !important;
  display: inline-block;
  flex: 0 0 18px !important;
  vertical-align: middle;
}

.ui-icon-lg,
.toast-icon img,
.nav-bell-btn img,
.theme-toggle-btn img {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  flex-basis: 20px !important;
}

.social-btn img,
.ayap-social-icon {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
}

.menu-card .card-img-wrapper img,
.gallery-item img,
.hero-img,
.about-img,
#image-preview,
img[src*="images/atmosphere/"],
img[src*="images/hero"],
img[src*="images/about"],
img[src*="item.imgUrl"] {
  max-width: 100%;
  max-height: none;
}

@media (max-width: 768px) {
  img[src*="images/unsplash/"],
  .ui-icon,
  .ui-icon-lg,
  .timeline-dot-icon,
  .ayap-social-icon {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    flex-basis: 16px !important;
  }

  .social-btn img,
  .toast-icon img,
  .nav-bell-btn img,
  .theme-toggle-btn img {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    flex-basis: 18px !important;
  }
}

@media (max-width: 768px) {
  .panel-navbar {
    position: sticky;
    top: 0;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .panel-navbar-main {
    width: 100%;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .panel-navbar-main .nav-logo {
    text-align: left !important;
    font-size: 1rem !important;
    line-height: 1.15;
  }

  .panel-navbar-main > a {
    padding: 7px 9px !important;
    font-size: 0.78rem !important;
    min-height: 34px;
    white-space: nowrap;
  }

  .panel-menu-toggle {
    display: inline-flex;
    min-height: 34px;
    padding: 7px 10px !important;
    font-size: 0.82rem !important;
    border-color: var(--accent-orange);
    color: var(--accent-orange);
  }

  .panel-navbar-actions {
    display: none !important;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding-top: 8px;
    border-top: 1px solid var(--glass-border);
    grid-template-columns: 1fr;
    gap: 8px !important;
  }

  .panel-navbar.is-open .panel-navbar-actions {
    display: grid !important;
  }

  .panel-navbar-actions > *,
  .panel-navbar-actions .btn-secondary,
  .panel-navbar-actions button,
  .panel-navbar-actions select {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 38px;
    margin: 0 !important;
    justify-content: center;
    text-align: center;
    font-size: 0.86rem !important;
  }

  .panel-navbar-actions #user-email {
    display: block;
    font-size: 0.78rem;
    text-align: center;
    opacity: 0.85;
  }

  .kanban-board {
    min-height: calc(100vh - 94px) !important;
  }
}

.site-menu-toggle {
  display: none;
}

.mobile-news-btn {
  display: none;
}

.mobile-cart-btn {
  display: none;
}

@media (max-width: 768px) {
  .site-navbar {
    position: sticky;
    top: 0;
    display: grid !important;
    grid-template-columns: 1fr 36px 36px auto;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .site-navbar-brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    width: 48px !important;
    height: 40px;
    justify-content: flex-start !important;
    align-items: center !important;
  }

  .site-navbar-brand #site-logo-img {
    width: 42px !important;
    height: 36px !important;
    max-width: 42px !important;
    max-height: 36px !important;
    object-fit: contain !important;
  }

  .site-menu-toggle {
    grid-column: 4;
    grid-row: 1;
    display: inline-flex;
    justify-self: center;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    min-width: 82px;
    padding: 7px 10px !important;
    font-size: 0.82rem !important;
    border-color: var(--accent-orange);
    color: var(--accent-orange);
  }

  .mobile-news-btn {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
  }

  .mobile-cart-btn {
    grid-column: 3;
    grid-row: 1;
    display: inline-flex !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    align-items: center;
    justify-content: center;
  }

  .site-navbar .nav-links,
  .site-navbar .nav-controls,
  .site-navbar #nav-auth-section {
    display: none !important;
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 100% !important;
  }

  .site-navbar.is-open .nav-links {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 6px !important;
    padding-top: 8px;
    border-top: 1px solid var(--glass-border);
  }

  .site-navbar.is-open .nav-controls,
  .site-navbar.is-open #nav-auth-section {
    display: flex !important;
  }

  .site-navbar #nav-auth-section #btn-open-news,
  .site-navbar #nav-auth-section #btn-open-cart {
    display: none !important;
  }

  .site-navbar .nav-links a {
    display: block;
    padding: 8px 10px !important;
    text-align: center;
    font-size: 0.86rem !important;
  }

  .site-navbar .nav-controls,
  .site-navbar #nav-auth-section {
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 8px !important;
  }

  .site-navbar #nav-auth-section .btn-primary,
  .site-navbar #nav-auth-section .nav-cart-btn,
.site-navbar #nav-auth-section .nav-bell-btn {
    min-height: 36px;
  }
}

@media (max-width: 768px) {
  .install-banner {
    top: -180px !important;
    left: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 12px 14px !important;
    border-radius: 12px;
    gap: 10px;
    flex-direction: row !important;
    align-items: center !important;
    transition: top 0.35s ease, opacity 0.25s ease !important;
  }

  .install-banner.active {
    top: calc(76px + env(safe-area-inset-top, 0px)) !important;
  }

  .install-banner-text {
    min-width: 0;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .install-banner-text strong {
    font-size: 0.9rem;
    margin-bottom: 1px;
  }

  .install-banner .btn-primary {
    min-height: 34px;
    padding: 7px 10px !important;
    font-size: 0.76rem !important;
    white-space: nowrap;
  }

  #btn-close-install {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }
}

@media (max-width: 420px) {
  .install-banner {
    left: 8px !important;
    right: 8px !important;
  }

  .install-banner.active {
    top: calc(68px + env(safe-area-inset-top, 0px)) !important;
  }
}

/* Compact mobile checkout/cart controls */
@media (max-width: 768px) {
  .cart-header {
    padding: 12px 14px !important;
  }

  .cart-header h3 {
    font-size: 1.05rem !important;
  }

  .cart-body {
    padding: 12px 14px 22px !important;
  }

  .cart-body > div:first-child {
    margin-bottom: 24px !important;
  }

  .delivery-toggle-wrap {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .delivery-toggle-wrap .cat-btn {
    min-height: 36px;
    padding: 7px 8px !important;
    font-size: 0.82rem !important;
  }

  #address-container,
  #address-container + div,
  #loyalty-container,
  #loyalty-container + div {
    margin-top: 12px !important;
    gap: 6px !important;
  }

  #address-container > span,
  #address-container + div > span,
  #loyalty-container span,
  #loyalty-container label,
  #loyalty-container + div > span {
    font-size: 0.78rem !important;
    line-height: 1.25;
  }

  #order-address,
  #order-comment {
    min-height: 46px !important;
    padding: 8px 10px !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
  }

  #promo-input {
    min-width: 0 !important;
    height: 38px !important;
    margin-bottom: 0 !important;
    padding: 8px 10px !important;
    font-size: 0.84rem !important;
    border-radius: 8px !important;
  }

  #promo-input + #btn-apply-promo,
  #btn-apply-promo {
    width: auto !important;
    min-width: 92px !important;
    max-width: 112px !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 10px !important;
    font-size: 0.74rem !important;
    border-radius: 8px !important;
    white-space: nowrap;
    flex: 0 0 auto !important;
    box-shadow: none;
  }

  #promo-message {
    font-size: 0.74rem !important;
    line-height: 1.25;
  }

  .promo-apply-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px !important;
    align-items: stretch;
    width: 100%;
  }

  .promo-apply-row #promo-input {
    width: 100% !important;
  }

  .promo-apply-row #btn-apply-promo {
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    flex-basis: 54px !important;
  }

  #loyalty-container {
    padding: 10px !important;
    border-radius: 10px !important;
  }

  #loyalty-container > div:first-child {
    gap: 8px;
    flex-wrap: wrap;
  }

  #loyalty-points-label {
    font-size: 0.9rem !important;
  }

  #chk-use-loyalty {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px;
  }

  #btn-checkout {
    min-height: 42px !important;
    margin-top: 16px !important;
    padding: 10px 12px !important;
    font-size: 0.86rem !important;
    border-radius: 10px !important;
  }
}

@media (max-width: 360px) {
  #promo-input + #btn-apply-promo,
  #btn-apply-promo {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    flex-basis: 48px !important;
    font-size: 0.68rem !important;
    padding: 0 8px !important;
  }
}
