/* =========================================
   PREMIUM CAFÉ DESIGN SYSTEM
   ========================================= */

:root {
  --primary: #8C8C8C;
  --primary-hover: #A5A5A5;
  --primary-light: #555555;
  --primary-border: #666666;

  --background: #0B0B0B;
  --surface: #3A3A3A;
  --surface-soft: #414141;

  --dark-surface: #242424;
  --dark-surface-soft: #303030;

  --text-main: #F3F1ED;
  --text-secondary: #C2BFBA;
  --text-muted: #92908C;

  --border: rgba(255, 255, 255, 0.12);
  --border-light: rgba(255, 255, 255, 0.16);

  --gold: #C5A96B;
  --gold-light: #D8BF86;

  --veg-color: #75A982;
  --nonveg-color: #C87872;

  --shadow-soft: 0 12px 35px rgba(0, 0, 0, 0.18);
  --shadow-deep: 0 25px 60px rgba(0, 0, 0, 0.32);
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;

  color: var(--text-main);
  background-color: var(--background);

  min-height: 100vh;
}
/* Premium display typography */
.font-display {
  font-family: "Playfair Display", Georgia, serif;
}

/* Hide scrollbars while preserving horizontal scroll */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Indian Veg / Non-Veg Standard Indicators */
.food-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 3px;
  background: white;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.food-type-veg {
  border: 1.5px solid var(--veg-color);
}
.food-type-veg .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--veg-color);
}

.food-type-nonveg {
  border: 1.5px solid var(--nonveg-color);
}
.food-type-nonveg .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--nonveg-color);
}

/* Bottom Sheet Modal */
.bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.bottom-sheet-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 90vh;
  background: white;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  z-index: 51;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.15);
}

@media (min-width: 640px) {
  .bottom-sheet {
    max-width: 540px;
    left: 50%;
    transform: translate(-50%, 100%);
    border-radius: 1.5rem;
    bottom: auto;
    top: 50%;
    max-height: 85vh;
  }
  .bottom-sheet-backdrop.active ~ .bottom-sheet,
  .bottom-sheet.active {
    transform: translate(-50%, -50%) !important;
  }
}

.bottom-sheet.active {
  transform: translateY(0);
}

/* Pill category active styles */
.cat-pill {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-pill.active {
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Print Styling for QR Standee / Table Tent Card */
@media print {
  body.is-printing-qr * {
    visibility: hidden;
  }
  body.is-printing-qr #printable-qr-card, body.is-printing-qr #printable-qr-card * {
    visibility: visible;
  }
  body.is-printing-qr #printable-qr-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 2rem;
    box-shadow: none !important;
    border: 2px dashed #94a3b8;
  }
  .no-print {
    display: none !important;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.2s ease-out forwards;
}


/* =========================================
   PREMIUM HERO
   ========================================= */

.premium-hero {
  isolation: isolate;
}

.hero-image {
  transform: scale(1.04);
  animation: heroReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: scale(1.08);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-content {
  animation: heroContentReveal 0.9s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroContentReveal {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

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

.hero-brand {
  animation: brandReveal 0.8s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes brandReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

/* =========================================
   WARM GLASS / SOFT LUXURY EFFECTS
   ========================================= */

.premium-glass {
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow-soft);
}

.premium-dark-glass {
  background: rgba(55, 52, 49, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
/* =========================================
   PREMIUM WARM BACKGROUND
   ========================================= */

.premium-menu {
  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(138, 115, 95, 0.12),
      transparent 38%
    ),
    #E8DED3;

  color: #292624;
}

.premium-menu::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 255, 255, 0.04),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(197, 169, 107, 0.04),
      transparent 30%
    );
}
.premium-hero {
  background: #3B3836;
}

/* =========================================
   PREMIUM GREY MENU CARDS
   ========================================= */

.premium-menu-card {
  background: #3D3D3D;
  color: #F3F1ED;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.premium-menu-card:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 169, 107, 0.35);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.premium-menu-card .menu-card-title {
  color: #F3F1ED;
}

.premium-menu-card .menu-card-description {
  color: #B8B5B0;
}

.premium-menu-card .menu-card-price {
  color: #D8BE7B;
}

.premium-menu-card .menu-card-button {
  background: #F3F1ED;
  color: #292624;
}

.premium-menu-card .menu-card-button:hover {
  background: #FFFFFF;
}

.premium-menu-card .menu-card-image {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-menu-card:hover .menu-card-image {
  transform: scale(1.04);
}
/* Premium grey card text fixes */

.premium-menu-card h4 {
  color: #F3F1ED !important;
}

.premium-menu-card p {
  color: #B8B5B0 !important;
}

.premium-menu-card .text-sm {
  color: #D8BE7B;
}

.premium-menu-card button {
  color: #292624 !important;
}
/* =========================================================
   STEP 4 — PREMIUM ITEM DETAIL MODAL
   ========================================================= */

/* Dark premium modal */
#item-modal {
  background: linear-gradient(
    180deg,
    #3D3D3D 0%,
    #343434 100%
  ) !important;

  color: #F5F0E8 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.55),
    0 10px 35px rgba(0, 0, 0, 0.30) !important;
}

/* Large food image */
#modal-img {
  background: #303030 !important;
}

/* Modal text area */
#item-modal h1,
#item-modal h2,
#item-modal h3,
#item-modal h4,
#item-modal p {
  color: #F5F0E8;
}

/* Item title */
#modal-title {
  color: #F5F0E8 !important;
  font-weight: 700 !important;
}

/* Price */
#modal-price {
  color: #D8BE7B !important;
  font-weight: 800 !important;
}

/* Category */
#modal-category {
  color: #D8BE7B !important;
}

/* Food type */
#modal-food-type {
  color: #F5F0E8 !important;
}

/* Description */
#modal-desc {
  color: #D2CCC3 !important;
}

/* Ingredients heading */
#modal-ingredients-block {
  border-color: rgba(255, 255, 255, 0.10) !important;
}

#modal-ingredients-block p,
#modal-ingredients {
  color: #C8C1B8 !important;
}

/* Section labels such as DESCRIPTION */
#item-modal .text-xs,
#item-modal .text-\[11px\],
#item-modal .text-\[10px\] {
  color: #B7AEA4;
}

/* Divider lines */
#item-modal hr {
  border-color: rgba(255, 255, 255, 0.10) !important;
}

/* Add to Cart area */
#modal-actions {
  background: #3D3D3D !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

/* Add to Cart button */
#modal-actions button {
  background: #F5F0E8 !important;
  color: #24211F !important;
  border: none !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease !important;
}

/* Add to Cart hover */
#modal-actions button:hover {
  background: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
}

/* Close button */
#item-modal button[aria-label="Close"],
#item-modal .close-modal,
#item-modal button.absolute {
  transition:
    background 0.2s ease,
    transform 0.2s ease !important;
}

/* Close button hover */
#item-modal button[aria-label="Close"]:hover,
#item-modal .close-modal:hover,
#item-modal button.absolute:hover {
  transform: scale(1.05);
}

/* Available badge */
#modal-avail-badge {
  background: rgba(111, 166, 122, 0.16) !important;
  color: #9ED0A8 !important;
  border-color: rgba(111, 166, 122, 0.30) !important;
}

/* Modal backdrop */
#modal-backdrop {
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* =========================================================
   STEP 4A — IMPROVE ITEM MODAL LAYOUT
   ========================================================= */

/* Make the modal feel like a premium product sheet */
#item-modal {
  max-width: 680px !important;
  border-radius: 28px !important;
  overflow: hidden !important;
}

/* Make the food image more elegant */
/* Premium item modal image */
#modal-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
    background: #303030;
    transition: transform 0.6s ease;
}
/* =========================================
   PREMIUM ITEM MODAL - TOP CONTROL BAR
   ========================================= */

#modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 !important;
  padding: 10px;
  background: #F3EFE7;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.20);
}

/* Quantity controls */
#modal-actions > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Minus and plus buttons */
#modal-actions > div button {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #FFFFFF;
  color: #242424;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#modal-actions > div button:hover {
  background: #E8E2D8;
  transform: translateY(-1px);
}

/* Quantity number */
#modal-quantity {
  min-width: 28px;
  text-align: center;
  color: #242424;
  font-size: 17px;
  font-weight: 700;
}

/* Add to Cart button */
#modal-add-to-cart {
  flex: 1;
  min-height: 48px;
  border: none;
  border-radius: 16px;
  background: #211F1D;
  color: #F7F2EA;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
}

#modal-add-to-cart:hover {
  background: #000000;
  transform: translateY(-1px);
}

#modal-add-to-cart:active {
  transform: scale(0.98);
}

/* Close X button */
#item-modal > button[onclick="closeItemModal()"] {
  width: 46px;
  height: 46px;
  top: 12px;
  right: 12px;
  border-radius: 50%;
  background: #252525 !important;
  color: #F5F0E8 !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.30);
  transition: all 0.2s ease;
}

#item-modal > button[onclick="closeItemModal()"]:hover {
  background: #000000 !important;
  transform: scale(1.05);
} 
/* Subtle premium image effect */
#modal-img:hover {
    transform: scale(1.02);
}

/* Improve the information area */
#item-modal > div {
  box-sizing: border-box;
}

/* Premium information spacing */

#item-modal .p-6,
#item-modal .p-5,
#item-modal .p-4 {
  padding-left: 38px !important;
  padding-right: 38px !important;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

/* Item title */
/* Premium item title */

#modal-title {
  font-size: 34px !important;
  line-height: 1.12 !important;
  letter-spacing: -0.8px !important;
  font-weight: 700 !important;
  color: #F5F0E8 !important;
  margin-top: 8px !important;
}

/* Price */
/* Premium gold price */

#modal-price {
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  color: #D8BE7B !important;
  letter-spacing: -0.4px;
}

/* Category */
/* Elegant category label */

#modal-category {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #D8BE7B !important;
}
/* Description heading */
/* Description / ingredient labels */

#item-modal .text-xs {
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #AFA79D !important;
}

/* Description text */
/* Premium description */

#modal-desc {
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: #D0CBC3 !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em;
}

/* Ingredients text */
/* Ingredients */

/* Ingredients text */

#modal-ingredients {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #C4BDB4 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
/* Elegant separators inside the modal */

#item-modal hr {
  border-color: rgba(255, 255, 255, 0.12) !important;
  margin-top: 22px !important;
  margin-bottom: 18px !important;
}

/* Add a little more separation between sections */
#modal-desc {
  margin-top: 8px !important;
}

#modal-ingredients-block {
  margin-top: 22px !important;
  padding-top: 20px !important;
}

/* Make the modal scrollbar less distracting */
#item-modal {
  scrollbar-width: thin;
  scrollbar-color: #77716B transparent;
}

#item-modal::-webkit-scrollbar {
  width: 7px;
}

#item-modal::-webkit-scrollbar-track {
  background: transparent;
}

#item-modal::-webkit-scrollbar-thumb {
  background: #77716B;
  border-radius: 20px;
}

/* Mobile adjustment */
@media (max-width: 640px) {

  #item-modal {
    max-width: calc(100% - 24px) !important;
    border-radius: 24px !important;
  }

  #item-modal .p-6,
  #item-modal .p-5,
  #item-modal .p-4 {
    padding-left: 24px !important;
    padding-right: 24px !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

  #modal-title {
    font-size: 27px !important;
  }

  #modal-price {
    font-size: 24px !important;
  }

  #modal-desc {
    font-size: 15px !important;
  }
}
/* =========================================================
   STEP 4A.1 — FIX MODAL SCROLLING
   ========================================================= */

#item-modal {
  max-height: 90vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
}

/* Keep the top controls visible while scrolling */
#item-modal > div:first-child {
  position: sticky;
  top: 0;
  z-index: 20;
}

/* Make sure the image doesn't prevent the modal from scrolling */
#modal-img {
  flex-shrink: 0 !important;
}

/* Give the bottom content enough room */
#item-modal {
  padding-bottom: 10px;
}

/* Mobile */
@media (max-width: 640px) {
  #item-modal {
    max-height: 92vh !important;
  }
}
/* =========================================================
   STEP 4B — PREMIUM MODAL TOP BAR
   ========================================================= */

/* Quantity buttons */
#item-modal button {
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease !important;
}

/* Quantity minus and plus buttons */
#item-modal button:hover {
  transform: translateY(-1px);
}

/* Add to Cart button */
#modal-actions button {
  min-height: 56px !important;
  border-radius: 18px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

/* Quantity controls */
#item-modal button:not(#modal-actions button) {
  border-radius: 16px !important;
}

/* Close button */
#item-modal button[aria-label="Close"] {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #242424 !important;
  color: #F5F0E8 !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
}

/* Close button hover */
#item-modal button[aria-label="Close"]:hover {
  background: #303030 !important;
  transform: rotate(4deg) scale(1.04);
}

/* Quantity number */
#item-modal .quantity-value,
#item-modal .text-lg.font-bold {
  color: #F5F0E8 !important;
  font-weight: 700 !important;
}

/* Premium top bar background */
#item-modal > div:first-child {
  background: rgba(61, 61, 61, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* =========================================================
   STEP 5 — PREMIUM FLOATING CART BAR
   ========================================================= */

#cart-bar {
  position: fixed !important;
  left: 50% !important;
  bottom: 18px !important;
  transform: translateX(-50%) !important;

  width: min(92%, 520px) !important;

  background: rgba(245, 240, 232, 0.97) !important;
  color: #0B0B0B !important;

  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 22px !important;

  padding: 10px !important;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 5px 20px rgba(0, 0, 0, 0.25) !important;

  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;

  z-index: 100 !important;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease !important;
}

/* Hover effect on desktop */
#cart-bar:hover {
  transform: translateX(-50%) translateY(-2px) !important;

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.5),
    0 8px 25px rgba(0, 0, 0, 0.25) !important;
}

/* Cart text */
#cart-bar,
#cart-bar * {
  color: #0B0B0B;
}

/* Cart total */
#cart-total {
  font-weight: 800 !important;
  color: #B18A35 !important;
}

/* Cart item count */
#cart-count {
  font-weight: 800 !important;
}

/* Cart button */
#cart-bar button {
  border-radius: 16px !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

/* Main cart action */


#cart-bar button:last-child:hover {
  background: #1D1D1D !important;
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 640px) {

  #cart-bar {
    width: calc(100% - 24px) !important;
    bottom: 12px !important;
    border-radius: 20px !important;
  }

}
/* =========================================================
   STEP 5.1 — FIX CART BAR CONTENT VISIBILITY
   ========================================================= */

/* Keep cart bar content visible */

/* Make all text inside the cart bar visible *

/* Cart count */
#cart-count {
  color: #0B0B0B !important;
  font-weight: 800 !important;
}

/* Cart total */
#cart-total {
  color: #B18A35 !important;
  font-weight: 800 !important;
}

/* Any cart action/button */
#cart-bar button {
  background: #0B0B0B !important;
  color: #F5F0E8 !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
}

/* If the cart action is a link/div instead of a button */
#cart-bar a,
#cart-bar .cart-action,
#cart-bar [role="button"] {
  background: #0B0B0B !important;
  color: #F5F0E8 !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
}  
/* =========================================================
   STEP 5.3 — FINAL PREMIUM CART BAR
   ========================================================= */

#cart-bar {
  position: fixed !important;
  left: 50% !important;
  bottom: 18px !important;
  transform: translateX(-50%) !important;

  width: min(92%, 520px) !important;

  z-index: 100 !important;

  padding: 0 !important;

  background: transparent !important;

  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

/* Main cart button */
#cart-bar > button {
  width: 100% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  gap: 14px !important;

  padding: 13px 18px !important;

  background: #F5F0E8 !important;
  color: #0B0B0B !important;

  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 20px !important;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;

  font-weight: 700 !important;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease !important;
}

/* Hover */
#cart-bar > button:hover {
  transform: translateY(-2px) !important;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

/* Shopping icon */
#cart-bar > button > span:first-child {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;

  color: #0B0B0B !important;
}

/* Cart text */
#cart-bar > button > span:first-child > span:first-of-type {
  color: #0B0B0B !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

/* Cart count circle */
#cart-count {
  min-width: 28px !important;
  height: 28px !important;

  padding: 0 8px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;

  background: #C9A24D !important;
  color: #0B0B0B !important;

  font-size: 12px !important;
  font-weight: 900 !important;
}

/* Cart total */
#cart-total {
  margin-left: auto !important;

  color: #A77E2D !important;

  font-size: 17px !important;
  font-weight: 900 !important;

  white-space: nowrap !important;
}

/* Shopping bag icon */
#cart-bar svg {
  width: 18px !important;
  height: 18px !important;

  color: #0B0B0B !important;
}

/* Mobile */
@media (max-width: 640px) {

  #cart-bar {
    width: calc(100% - 24px) !important;
    bottom: 12px !important;
  }

  #cart-bar > button {
    padding: 12px 15px !important;
    border-radius: 18px !important;
  }

  #cart-total {
    font-size: 16px !important;
  }
}
/* =========================================================
   STEP 6.1 — PREMIUM CART MODAL BACKGROUND
   ========================================================= */

/* =========================================================
   STEP 5 — PREMIUM LIGHT CART MODAL
   ========================================================= */

/* =========================================
   PREMIUM CART MODAL
   ========================================= */

#cart-modal {
  color: #F5F0E8 !important;
  scrollbar-width: thin;
  scrollbar-color: #77716B transparent;
}

/* Main cart container */
#cart-modal > div {
  background: #151515 !important;
  color: #F5F0E8 !important;
  border-radius: 30px 30px 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  overflow: hidden !important;
}

/* Header */
#cart-modal .sticky {
  background: rgba(21, 21, 21, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(16px);
}

/* Header title */
#cart-modal h3 {
  color: #F5F0E8 !important;
}

/* Header subtitle */
#cart-modal .text-stone-500 {
  color: #A8A29A !important;
}

/* Close button */
#cart-modal button[onclick="closeCartModal()"] {
  background: #242424 !important;
  color: #F5F0E8 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  transition: all 0.2s ease;
}

#cart-modal button[onclick="closeCartModal()"]:hover {
  background: #303030 !important;
  border-color: rgba(201, 162, 77, 0.40) !important;
  transform: scale(1.05);
}

/* Cart items area */
#cart-items {
  background: #151515 !important;
}

/* Individual cart item cards */
#cart-items > div {
  background: #1D1D1D !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  color: #F5F0E8 !important;
}

/* Cart item names */
#cart-items .text-stone-900 {
  color: #F5F0E8 !important;
}

/* Cart item secondary text */
#cart-items .text-stone-500 {
  color: #A8A29A !important;
}

/* Quantity buttons */
#cart-items button {
  transition: all 0.2s ease;
}

/* Quantity +/- buttons */
#cart-items button:not([onclick*="removeCartItem"]) {
  background: #242424 !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  color: #F5F0E8 !important;
}

#cart-items button:not([onclick*="removeCartItem"]):hover {
  background: #303030 !important;
  border-color: rgba(201, 162, 77, 0.40) !important;
}

/* Quantity number */
#cart-items span {
  color: #F5F0E8 !important;
}

/* Remove button */
#cart-items button[onclick*="removeCartItem"] {
  color: #C85C5C !important;
  background: transparent !important;
  border: none !important;
}

#cart-items button[onclick*="removeCartItem"]:hover {
  color: #E08A8A !important;
}

/* Item total */
#cart-items .text-\[\#E5C77A\] {
  color: #E5C77A !important;
}

/* Footer */
#cart-modal > div > div:last-child {
  background: rgba(21, 21, 21, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(16px);
}

/* Total label */
#cart-modal > div > div:last-child .text-\[\#A8A29A\] {
  color: #A8A29A !important;
}

/* Total amount */
#cart-modal-total {
  color: #E5C77A !important;
}

/* Proceed button */
#cart-modal button[onclick="openCheckoutModal()"] {
  background: #F5F0E8 !important;
  color: #0B0B0B !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.30) !important;
  transition: all 0.2s ease;
}

#cart-modal button[onclick="openCheckoutModal()"]:hover {
  background: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.40) !important;
}

/* Cart modal scrollbar */
#cart-modal::-webkit-scrollbar {
  width: 6px;
}

#cart-modal::-webkit-scrollbar-track {
  background: transparent;
}

#cart-modal::-webkit-scrollbar-thumb {
  background: #77716B;
  border-radius: 20px;
}
/* =========================================================
   STEP 6 — PREMIUM CHECKOUT MODAL
   ========================================================= */

/* =========================================
   PREMIUM CHECKOUT MODAL
   ========================================= */

/* Checkout backdrop */
#checkout-modal {
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Main checkout card */
#checkout-modal > div {
  background: #151515 !important;
  color: #F5F0E8 !important;
  border-radius: 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55) !important;
  overflow: hidden !important;
}

/* Checkout header */
#checkout-modal > div > div:first-child {
  background: #151515 !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

/* Header title */
#checkout-modal h3 {
  color: #F5F0E8 !important;
  font-size: 22px !important;
}

/* Header subtitle */
#checkout-modal .text-stone-500 {
  color: #A8A29A !important;
}

/* Close button */
#checkout-modal button[onclick="closeCheckoutModal()"] {
  background: #242424 !important;
  color: #F5F0E8 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  transition: all 0.2s ease;
}

#checkout-modal button[onclick="closeCheckoutModal()"]:hover {
  background: #303030 !important;
  border-color: rgba(201, 162, 77, 0.40) !important;
  transform: scale(1.05);
}

/* Form labels */
#checkout-modal label {
  color: #C9A24D !important;
  letter-spacing: 0.08em;
}

/* Inputs */
#checkout-modal input,
#checkout-modal textarea {
  background: #1D1D1D !important;
  color: #F5F0E8 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 14px !important;
  transition: all 0.2s ease;
}

/* Input placeholder */
#checkout-modal input::placeholder,
#checkout-modal textarea::placeholder {
  color: #77716B !important;
}

/* Input focus */
#checkout-modal input:focus,
#checkout-modal textarea:focus {
  border-color: #C9A24D !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.12) !important;
}

/* Error message */
#checkout-table-error {
  color: #E08A8A !important;
}

/* Order summary */
#checkout-summary {
  background: #1D1D1D !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  border-radius: 16px !important;
}

/* Summary text */
#checkout-summary,
#checkout-summary span,
#checkout-summary div {
  color: #C8C4BE !important;
}

/* Summary item price */
#checkout-summary strong {
  color: #E5C77A !important;
}

/* Place order button */
#place-order-btn {
  background: #F5F0E8 !important;
  color: #0B0B0B !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.30) !important;
  transition: all 0.2s ease;
}

#place-order-btn:hover {
  background: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.40) !important;
}

#place-order-btn:active {
  transform: scale(0.98);
}

/* Payment note */
#checkout-modal .text-stone-400 {
  color: #77716B !important;
}

/* Checkout scrollbar */
#checkout-modal > div {
  scrollbar-width: thin;
  scrollbar-color: #77716B transparent;
}

#checkout-modal > div::-webkit-scrollbar {
  width: 6px;
}

#checkout-modal > div::-webkit-scrollbar-track {
  background: transparent;
}

#checkout-modal > div::-webkit-scrollbar-thumb {
  background: #77716B;
  border-radius: 20px;
}

/* Mobile checkout */
@media (max-width: 640px) {

  #checkout-modal {
    padding: 12px !important;
  }

  #checkout-modal > div {
    max-height: 92vh !important;
    border-radius: 24px !important;
  }

  #checkout-modal h3 {
    font-size: 20px !important;
  }

  #checkout-modal input,
  #checkout-modal textarea {
    font-size: 15px !important;
  }
}
/* =========================================================
   STEP 7 — PREMIUM ORDER STATUS MODAL
   ========================================================= */

/* Dark premium backdrop */
#order-status-modal {
  background: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Main modal */
#order-status-modal > div {
  background: #F7F3EC !important;
  color: #292624 !important;
  border-radius: 30px !important;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 30px 100px rgba(0,0,0,0.5) !important;
  max-height: 88vh !important;
  max-height: 88dvh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  margin: auto !important;
}

/* Main content */
#order-status-modal > div > div {
  padding: 30px !important;
}

/* Success icon */
#order-status-icon {
  width: 72px !important;
  height: 72px !important;
  background: #EEE8D9 !important;
  color: #B28A2E !important;
  border: 1px solid rgba(201,162,77,0.35);
  box-shadow: 0 10px 30px rgba(201,162,77,0.12);
}

/* Icon animation */
#order-status-icon {
  animation: orderSuccessPop 0.55s cubic-bezier(0.16,1,0.3,1);
}

@keyframes orderSuccessPop {
  0% {
    opacity: 0;
    transform: scale(0.65);
  }

  70% {
    transform: scale(1.08);
  }

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

/* Title */
#order-status-title {
  color: #292624 !important;
  font-size: 27px !important;
  line-height: 1.15 !important;
  letter-spacing: -0.4px;
}

/* Subtitle */
#order-status-subtitle {
  color: #7A7168 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Order information card */
#order-status-modal .bg-stone-50 {
  background: #EEE8DE !important;
  border-color: #DDD4C7 !important;
  border-radius: 18px !important;
}

/* Order information labels */
#order-status-modal .text-stone-500 {
  color: #A8A29A !important;
}

/* Order number / table */
#tracked-order-number,
#tracked-table-number {
  color: #F5F0E8 !important;
  font-weight: 700 !important;
}

/* Total */
#tracked-total {
  color: #E5C77A !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

/* Divider */
#order-status-modal .border-stone-200 {
  border-color: #DCD3C7 !important;
}

/* Current status heading */
#order-status-modal .text-stone-400 {
  color: #91877D !important;
}

/* Current status box */
#tracked-status {
  background: #EEE8D9 !important;
  border-color: rgba(201,162,77,0.35) !important;
  color: #80631F !important;
  border-radius: 16px !important;
  padding: 14px 16px !important;
}

/* Buttons */
#order-status-modal button {
  border-radius: 15px !important;
  transition: all 0.2s ease;
}

/* Back to menu */
#order-status-modal button[onclick="closeOrderStatusModal()"] {
  background: #292624 !important;
  color: #F7F3EC !important;
  box-shadow: 0 8px 20px rgba(41,38,36,0.18);
}

#order-status-modal button[onclick="closeOrderStatusModal()"]:hover {
  background: #171513 !important;
  transform: translateY(-1px);
}

/* Refresh status */
#order-status-modal button[onclick="refreshTrackedOrder()"] {
  background: #FFFFFF !important;
  color: #514A44 !important;
  border-color: #D8CFC3 !important;
}

#order-status-modal button[onclick="refreshTrackedOrder()"]:hover {
  background: #EEE8DE !important;
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 640px) {

  #order-status-modal {
    padding: 12px 10px !important;
  }

  #order-status-modal > div {
    border-radius: 24px !important;
    max-height: 92vh !important;
    max-height: 92dvh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  #order-status-modal > div > div {
    padding: 20px 16px !important;
  }

  #order-status-icon {
    width: 56px !important;
    height: 56px !important;
  }

  #order-status-title {
    font-size: 22px !important;
  }
}
/* =========================================================
   STEP 5.8 — PREMIUM POPULAR FOOD CARDS
   ========================================================= */

.premium-food-card {
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

.premium-food-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 77, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

.food-card-image {
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s ease;
}

.premium-food-card:hover .food-card-image {
  transform: scale(1.045);
}
/* =========================================
   PREMIUM MENU CARD INTERACTION
   ========================================= */

.menu-card-premium {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.menu-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  border-color: rgba(201, 162, 77, 0.45);
}

.menu-card-premium img {
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s ease;
}

.menu-card-premium:hover img {
  transform: scale(1.06);
}

/* Slightly stronger image on touch devices */
.menu-card-premium:active {
  transform: scale(0.985);
}

/* Premium plus button */
.menu-card-premium .menu-add-btn {
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.menu-card-premium:hover .menu-add-btn {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
/* =========================================
   PREMIUM ITEM DETAIL MODAL
   ========================================= */

.premium-item-sheet {
  background: linear-gradient(
    180deg,
    #171717 0%,
    #101010 100%
  );

  color: #F5F0E8;

  border-radius: 30px 30px 0 0;

  box-shadow:
    0 -25px 80px rgba(0, 0, 0, 0.55);

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.08);
}


/* Large food image */

.premium-item-sheet .modal-food-image {
  width: 100%;
  height: 280px;

  object-fit: cover;

  display: block;

  transform: scale(1.02);

  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}


/* Image becomes slightly larger when modal opens */

.premium-item-sheet:hover .modal-food-image {
  transform: scale(1.05);
}


/* Dark gradient over bottom of image */

.premium-item-sheet .modal-image-area {
  position: relative;
  overflow: hidden;
}

.premium-item-sheet .modal-image-area::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 45%;

  background: linear-gradient(
    to top,
    rgba(16, 16, 16, 0.9),
    transparent
  );

  pointer-events: none;
}


/* Modal content */

.premium-item-sheet .modal-content {
  padding: 22px;
}


/* Item title */

.premium-item-sheet .modal-title {
  font-family: "Playfair Display", serif;

  font-size: 30px;

  line-height: 1.05;

  font-weight: 600;

  color: #F5F0E8;
}


/* Price */

.premium-item-sheet .modal-price {
  color: #E5C77A;

  font-size: 22px;

  font-weight: 800;
}


/* Description */

.premium-item-sheet .modal-description {
  color: #B8B2AA;

  font-size: 14px;

  line-height: 1.7;
}


/* Ingredients */

.premium-item-sheet .modal-ingredients {
  color: #C8C2BA;

  font-size: 13px;

  line-height: 1.6;
}


/* Category label */

.premium-item-sheet .modal-category {
  color: #C9A24D;

  font-size: 10px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.2em;
}


/* Close button */

.premium-item-sheet .modal-close-btn {
  background: rgba(0, 0, 0, 0.45);

  backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.15);

  color: #F5F0E8;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.premium-item-sheet .modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.7);

  transform: scale(1.05);
}


/* Add to cart */

.premium-item-sheet .modal-add-btn {
  background: #F5F0E8;

  color: #0B0B0B;

  border-radius: 18px;

  font-weight: 800;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.3);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.premium-item-sheet .modal-add-btn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 16px 35px rgba(0, 0, 0, 0.4);
}

.premium-item-sheet .modal-add-btn:active {
  transform: scale(0.98);
}
/* Premium item modal image */

.modal-food-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-item-sheet:hover .modal-food-image {
  transform: scale(1.05);
}
/* =========================================================
   PREMIUM ADMIN DASHBOARD — STEP 1
   Global Foundation
   ========================================================= */

/* Main admin page background */
#dashboard-view {
  background: #0B0B0B !important;
}

/* Sidebar */
#dashboard-view > aside {
  background: #111111 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* Sidebar brand section */
#dashboard-view > aside > div:first-child > div:first-child {
  background: #111111 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Sidebar restaurant name */
#sidebar-restaurant-name {
  color: #F5F0E8 !important;
}

/* Sidebar secondary text */
#dashboard-view aside .text-stone-400 {
  color: #77716B !important;
}

/* Sidebar navigation */
#dashboard-view .sidebar-btn {
  color: #A8A29A !important;
  background: transparent !important;
}

/* Sidebar navigation hover */
#dashboard-view .sidebar-btn:hover {
  color: #F5F0E8 !important;
  background: #1D1D1D !important;
}

/* Active sidebar item */
#dashboard-view .sidebar-btn.bg-stone-800 {
  background: #242424 !important;
  color: #F5F0E8 !important;
  border: 1px solid rgba(201, 162, 77, 0.35) !important;
}

/* Active sidebar icon */
#dashboard-view .sidebar-btn.bg-stone-800 svg {
  color: #E5C77A !important;
}

/* Sidebar bottom section */
#dashboard-view > aside > div:last-child {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Live menu button */
#preview-menu-btn {
  background: rgba(201, 162, 77, 0.10) !important;
  color: #E5C77A !important;
  border: 1px solid rgba(201, 162, 77, 0.20);
}

#preview-menu-btn:hover {
  background: rgba(201, 162, 77, 0.18) !important;
}

/* Sign out */
#dashboard-view aside button[onclick="logoutAdmin()"] {
  color: #77716B !important;
}

#dashboard-view aside button[onclick="logoutAdmin()"]:hover {
  background: #1D1D1D !important;
  color: #E08A8A !important;
}

/* Main workspace */
#dashboard-view > main {
  background: #0B0B0B !important;
}

/* Top header */
#dashboard-view > main > header {
  background: rgba(11, 11, 11, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Page title */
#page-title {
  color: #F5F0E8 !important;
}

/* Page subtitle */
#page-subtitle {
  color: #77716B !important;
}

/* Preview Menu button */
#top-preview-link {
  background: #1D1D1D !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  color: #F5F0E8 !important;
}

#top-preview-link:hover {
  background: #242424 !important;
  border-color: rgba(201, 162, 77, 0.35) !important;
  color: #E5C77A !important;
}
/* Orders section readability */
#tab-orders h2,
#tab-orders h3 {
  color: #F5F5F5 !important;
}

#tab-orders p {
  color: #A8A8A8 !important;
}

/* Order cards */
#orders-container .bg-white {
  color: #292624;
}

#orders-container .bg-white h3 {
  color: #292624 !important;
}

#orders-container .bg-white p {
  color: #6B625A !important;
}

/* Order item names */
#orders-container .bg-white .text-sm {
  color: #292624;
}

/* Secondary order information */
#orders-container .bg-white .text-xs {
  color: #6B625A;
}

/* Keep order totals strong */
#orders-container .bg-white .font-black {
  color: #292624;
}

/* Payment text */
#orders-container .bg-white span {
  color: #6B625A;
}

/* Total amount */
#orders-container .bg-white span.font-black {
  color: #292624 !important;
}

/* Historical View Details button */
#orders-container button {
  color: #292624;
}

#orders-container button.bg-emerald-600,
#orders-container button.bg-rose-600,
#orders-container button.bg-stone-900 {
  color: #FFFFFF !important;
}
/* Fix Orders filter dropdown visibility */
#orders-status-filter {
  color: #292624 !important;
  background-color: #FFFFFF !important;
}

#orders-status-filter option {
  color: #292624 !important;
  background-color: #FFFFFF !important;
}
/* Fix Profile & Branding form text visibility */
#tab-profile input,
#tab-profile textarea,
#tab-profile select {
  color: #292624 !important;
  background-color: #FFFFFF !important;
}

#tab-profile input::placeholder,
#tab-profile textarea::placeholder {
  color: #8A8178 !important;
  opacity: 1 !important;
}