/* ============================================================
   CODIHUB DIGITAL MENU STYLES
   Watercolor Café Vibe • Recharge Your Mind – Spark Your Day
============================================================ */

:root {
  --primary-navy: #0b2545;
  --primary-blue: #0284c7;
  --accent-amber: #d97706;
  --bg-cream: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
}

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f8fafc;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism Navigation */
.nav-glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Watercolor Hero Background */
.hero-watercolor-bg {
  background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 45%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.hero-watercolor-bg::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(186, 230, 253, 0.6) 0%, rgba(224, 242, 254, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Category Tab Pills */
.category-tab-btn {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-tab-btn:hover {
  background: #f1f5f9;
  color: var(--primary-navy);
  border-color: #cbd5e1;
}

.category-tab-btn.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.2);
}

/* Signature Card Highlighting */
.signature-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #bae6fd;
  border-radius: 20px;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.08), 0 8px 10px -6px rgba(2, 132, 199, 0.04);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.signature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px -6px rgba(2, 132, 199, 0.16);
  border-color: #38bdf8;
}

.signature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #38bdf8, #fbbf24);
}

/* Regular Product Card */
.product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

/* Taste Meter Bar */
.taste-meter-bar {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.taste-meter-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e2e8f0;
}

.taste-meter-dot.filled {
  background: #0284c7;
}

/* Floating Bottom Bar (Mobile Cart Button) */
.floating-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid #e2e8f0;
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.cart-drawer-content {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  z-index: 51;
  box-shadow: -8px 0 30px rgba(15, 23, 42, 0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

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

.modal-dialog {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Checkbox & Radio Custom Pills */
.choice-pill {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.choice-pill:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.choice-pill.selected {
  background: #f0f9ff;
  border-color: var(--primary-blue);
  color: var(--primary-navy);
}

/* Table Badge in Navbar */
.table-badge-pill {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #bae6fd;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--primary-navy);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.3);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

/* Print Stylesheet for Standee */
@media print {
  body {
    background: #ffffff !important;
  }
  .no-print {
    display: none !important;
  }
}
