        /* --- TRADITIONAL INDIAN CSS UTILITIES --- */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}


html, body {
  min-height: 100dvh;
  overflow-x: hidden;
}


body {
  font-family: "Prata", serif;
  min-height: 100dvh;
  transition: background-color 0.6s ease;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: "Prata", serif;
}
.prata-regular {
  font-family: "Prata", serif;
  font-weight: 400;
  font-style: normal;
}
/* .tenali-ramakrishna-regular {
  font-family: "Tenali Ramakrishna", sans-serif;
  font-weight: 400;
  font-style: normal;
} */
.mandali-regular {
  font-family: "Mandali", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/* Base Panel */
.desi-panel {
  background: #fffdfa;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(90, 60, 30, 0.06);
  border: 1px solid #f0dfc2;
}

/* App Header / Grounded Elements */
.desi-header {
  background: #fffdfa;
  box-shadow: 0 4px 20px rgba(90, 60, 30, 0.08);
  border-bottom: 2px solid #f0dfc2;
}

/* Buttons */
.desi-btn {
  background: #fdf8f0;
  border: 1px solid #f0dfc2;
  box-shadow: 0 2px 8px rgba(90, 60, 30, 0.05);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.desi-btn:active {
  transform: scale(0.96);
  background: #f8eedc;
}

/* Colored Action Buttons */
.desi-btn-colored {
  border-radius: 8px;
  color: white;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  border: none;
}
.desi-btn-colored::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  pointer-events: none;
}
.desi-btn-colored:active {
  transform: scale(0.96);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Rustic Jar/Plate Image Container (Andhra Style) */
.rustic-img {
  border-radius: 12px;
  border: 4px solid #fffdfa;
  outline: 2px solid #e8dcc4;
  box-shadow: 0 6px 15px rgba(139, 69, 19, 0.08);
}

/* --- THEME STYLES --- */
/* Veg - Deep Leaf Green */
body.theme-veg {
  background-color: #f7f9f6;
}
body.theme-veg .theme-text {
  color: #2e5902;
}
body.theme-veg .theme-bg-action {
  background-color: #2e5902;
}
body.theme-veg .theme-border {
  border-color: #2e5902;
}
body.theme-veg .theme-accent-bg {
  background-color: #eef2e9;
}

/* Non-Veg - Fiery Guntur Red */
body.theme-nonveg {
  background-color: #fdf5f4;
}
body.theme-nonveg .theme-text {
  color: #a31d11;
}
body.theme-nonveg .theme-bg-action {
  background-color: #a31d11;
}
body.theme-nonveg .theme-border {
  border-color: #a31d11;
}
body.theme-nonveg .theme-accent-bg {
  background-color: #fce8e6;
}

/* Powders - Rich Mustard / Turmeric */
body.theme-powders {
  background-color: #fdfaf5;
}
body.theme-powders .theme-text {
  color: #a66500;
}
body.theme-powders .theme-bg-action {
  background-color: #a66500;
}
body.theme-powders .theme-border {
  border-color: #a66500;
}
body.theme-powders .theme-accent-bg {
  background-color: #fdf4e6;
}

/* Combos - Default to Powders color */
body.theme-combos {
  background-color: #fdfaf5;
}
body.theme-combos .theme-text {
  color: #a66500;
}
body.theme-combos .theme-bg-action {
  background-color: #a66500;
}
body.theme-combos .theme-border {
  border-color: #a66500;
}
body.theme-combos .theme-accent-bg {
  background-color: #fdf4e6;
}

/* Category Pills styling */
.cat-btn {
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  background: transparent;
}
.cat-btn.selected {
  background: #fffdfa;
  border-color: #f0dfc2;
  box-shadow: 0 4px 12px rgba(90, 60, 30, 0.08);
}

/* --- APP STRUCTURE --- */
.app-shell {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.content-container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  position: relative;
}
.page {
  display: none;
  min-height: 100dvh;
}
.page.active {
  display: block;
}

/* Utilities */
.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}
.fill-icon {
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Custom Dropdown Traditional */
.custom-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  z-index: 100;
  min-width: 100%;
  overflow: hidden;
  transform: translateY(-5px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  background: #fffdfa;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(90, 60, 30, 0.12);
  border: 1px solid #f0dfc2;
}
.custom-dropdown-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.dropdown-item {
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #4a3b32;
}
.dropdown-item:hover:not(.active) {
  background-color: #fdf8f0;
}
.dropdown-item.active {
  background: #f8eedc;
  color: var(--theme-color);
}

/* Nav Link Styling */
.nav-link {
  color: #b0a39a;
}
.nav-link.active {
  color: #9d3d25;
}
.nav-link.active span.material-symbols-outlined {
  font-variation-settings: "FILL" 1;
  color: #9d3d25;
}
.nav-link.active > span:last-child {
  color: #9d3d25;
}
.nav-link.active .nav-icon-wrap {
  background: #fdf8f0;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
    