/* CSS for All - Enhanced with Modern Design */
* {
  margin: 0 0;
  padding: 0 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Custom utility classes to complement Tailwind */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Additional Tailwind-like utilities for foods.php design */
.col-span-full {
  grid-column: 1 / -1;
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-primary {
  --tw-gradient-from: #10b981;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(16, 185, 129, 0));
}

.to-secondary {
  --tw-gradient-to: #059669;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.sm\:px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.lg\:px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.lg\:py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-16 {
  margin-top: 4rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.md\:text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.md\:text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.text-white {
  color: white;
}

.text-gray-800 {
  color: #1f2937;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-500 {
  color: #6b7280;
}

.text-primary {
  color: #10b981;
}

.text-accent {
  color: #f59e0b;
}

.text-red-500 {
  color: #ef4444;
}

.text-red-800 {
  color: #991b1b;
}

.text-red-600 {
  color: #dc2626;
}

.bg-white {
  background-color: white;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-gray-200 {
  background-color: #e5e7eb;
}

.bg-red-50 {
  background-color: #fef2f2;
}

.bg-accent {
  background-color: #f59e0b;
}

.bg-primary {
  background-color: #10b981;
}

.bg-secondary {
  background-color: #059669;
}

.bg-gray-600 {
  background-color: #4b5563;
}

.bg-gray-700 {
  background-color: #374151;
}

.border {
  border-width: 1px;
}

.border-red-200 {
  border-color: #fecaca;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hover\:shadow-2xl:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hover\:bg-secondary:hover {
  background-color: #059669;
}

.hover\:bg-gray-700:hover {
  background-color: #374151;
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:-translate-y-2:hover {
  transform: translateY(-0.5rem);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.overflow-hidden {
  overflow: hidden;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
}

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

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.top-4 {
  top: 1rem;
}

.right-4 {
  right: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.h-48 {
  height: 12rem;
}

.w-full {
  width: 100%;
}

.object-cover {
  object-fit: cover;
}

.opacity-90 {
  opacity: 0.9;
}

/* Text utilities */
.text-center {
  text-align: center;
}

.text-white {
  color: white;
}

.text-gray-800 {
  color: #1f2937;
}

.text-gray-600 {
  color: #6b7280;
}

.text-primary {
  color: #10b981;
}

/* Spacing utilities */
.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-12 {
  margin-top: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

/* Background utilities */
.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-white {
  background-color: white;
}

.bg-primary {
  background-color: #10b981;
}

.bg-secondary {
  background-color: #059669;
}

.bg-gray-600 {
  background-color: #4b5563;
}

.bg-gray-700 {
  background-color: #374151;
}

.bg-red-100 {
  background-color: #fef2f2;
}

.bg-yellow-100 {
  background-color: #fffbeb;
}

/* Border radius utilities */
.rounded-2xl {
  border-radius: 1rem;
}

.rounded-t-2xl {
  border-radius: 1rem 1rem 0 0;
}

.rounded-b-2xl {
  border-radius: 0 0 1rem 1rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* Shadow utilities */
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Flex utilities */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

/* Grid utilities */
.grid {
  display: grid;
}

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

.gap-8 {
  gap: 2rem;
}

/* Position utilities */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.overflow-hidden {
  overflow: hidden;
}

/* Transform utilities */
.hover\:-translate-y-2:hover {
  transform: translateY(-0.5rem);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:bg-secondary {
  background-color: #059669;
}

.group:hover .group-hover\:text-primary {
  color: #10b981;
}

/* Transition utilities */
.transition-all {
  transition-property: all;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
}

.transition-transform {
  transition-property: transform;
}

.duration-300 {
  transition-duration: 300ms;
}

/* Hover utilities */
.hover\:bg-gray-700:hover {
  background-color: #374151;
}

.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hover\:text-green-200:hover {
  color: #bbf7d0;
}

/* Responsive utilities */
@media (min-width: 640px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Enhanced button styles */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  font-size: 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: #10b981;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.1), 0 2px 4px -1px rgba(16, 185, 129, 0.06);
}

.btn-primary:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.1), 0 4px 6px -2px rgba(16, 185, 129, 0.05);
}

/* Enhanced form styles */
.input-responsive {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: white;
}

.input-responsive:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Enhanced card styles */
.food-menu-box {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.food-menu-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Food menu specific styles */
.food-menu {
  padding: 4rem 0;
}

.food-menu-img {
  position: relative;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
}

.food-menu-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.food-menu-img:hover img {
  transform: scale(1.05);
}

/* Price badge styling */
.food-menu-img .absolute {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.food-menu-img .absolute:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px -3px rgba(16, 185, 129, 0.4);
}

.food-menu-desc {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.food-menu-desc h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.food-detail {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.food-price {
  color: #10b981;
  font-weight: 700;
  font-size: 1.5rem;
}

/* Enhanced button styling for food menu */
.food-menu-desc .btn {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.food-menu-desc .btn:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(16, 185, 129, 0.3);
}

.food-menu-desc .btn i {
  font-size: 0.875rem;
}

/* Food menu grid layout */
.food-menu .grid {
  display: grid;
  gap: 2rem;
}

/* Responsive grid adjustments */
@media (min-width: 640px) {
  .food-menu .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .food-menu .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .food-menu .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Enhanced image styles */
.img-responsive {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.img-curve {
  border-radius: 1rem;
}

/* Enhanced typography */
h2 {
  color: #1f2937;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #374151;
}

/* Enhanced link styles */
a {
  color: #10b981;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #059669;
}

/* Enhanced error and success messages */
.error {
  padding: 1rem;
  color: #dc2626;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.success {
  padding: 1rem;
  color: #059669;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

/* Enhanced error states for food menu */
.food-menu .error {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border: 2px solid #fecaca;
  color: #dc2626;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.1);
}

.food-menu .error i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.food-menu .error h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.food-menu .error p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Enhanced success states */
.food-menu .success {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 2px solid #bbf7d0;
  color: #059669;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.1);
}

/* Back to categories button styling */
.food-menu .text-center .inline-flex {
  background: linear-gradient(135deg, #4b5563, #374151);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(75, 85, 99, 0.2);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.food-menu .text-center .inline-flex:hover {
  background: linear-gradient(135deg, #374151, #1f2937);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(75, 85, 99, 0.3);
}

.food-menu .text-center .inline-flex i {
  font-size: 0.875rem;
}

/* Enhanced fieldset styles */
fieldset {
  border: 2px solid #e5e7eb;
  margin: 2rem 0;
  padding: 2rem;
  border-radius: 1rem;
  background-color: #f9fafb;
}

fieldset legend {
  padding: 0 1rem;
  font-weight: 600;
  color: #374151;
}

/* Enhanced order section */
.order {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.order-label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151;
  display: block;
}

/* Enhanced categories section */
.box-3 {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.box-3:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.float-container {
  position: relative;
}

.float-text {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 700;
  color: #1f2937;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Enhanced food search sections */
.food-search, .food-search2 {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 8rem 0;
  position: relative;
  background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.food-search::before, .food-search2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.food-search .container, .food-search2 .container {
  position: relative;
  z-index: 10;
}

.food-search h2, .food-search2 h2 {
  color: white;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.food-search p, .food-search2 p {
  color: white;
  font-size: 1.25rem;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.food-search input[type="search"], .food-search2 input[type="search"] {
  width: 100%;
  max-width: 500px;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  border: none;
  border-radius: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.food-search input[type="search"]:focus, .food-search2 input[type="search"]:focus {
  outline: none;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(245, 158, 11, 0.5);
}

/* Enhanced social section */
.social ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social ul li a {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  background: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social ul li a:hover {
  background: #059669;
  transform: translateY(-4px) scale(1.1);
}

/* Responsive enhancements */
@media only screen and (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0.5rem;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .food-search, .food-search2 {
    padding: 4rem 0;
  }
  
  .food-search h2, .food-search2 h2 {
    font-size: 2rem;
  }
  
  .food-search p, .food-search2 p {
    font-size: 1rem;
  }
  
  .food-search input[type="search"], .food-search2 input[type="search"] {
    width: 90%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  
  .btn {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
  }
  
  .order {
    width: 95%;
    padding: 1.5rem;
    margin: 1rem auto;
  }
  
  .float-text {
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  /* Mobile food menu adjustments */
  .food-menu {
    padding: 2rem 0;
  }
  
  .food-menu .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .food-menu-desc {
    padding: 1rem;
  }
  
  .food-menu-desc h4 {
    font-size: 1.125rem;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .food-menu-box,
  .order,
  .box-3 {
    background-color: #1f2937;
    color: #f9fafb;
  }
  
  .input-responsive {
    background-color: #374151;
    border-color: #4b5563;
    color: #f9fafb;
  }
  
  .input-responsive:focus {
    border-color: #10b981;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Enhanced hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Container and layout utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.container.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Mobile food menu adjustments */
.food-menu {
  padding: 2rem 0;
}

.food-menu .grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.food-menu-desc {
  padding: 1rem;
}

.food-menu-desc h4 {
  font-size: 1.125rem;
}

/* Additional mobile optimizations */
@media only screen and (max-width: 640px) {
  .food-menu-img img {
    height: 200px;
  }
  
  .food-menu-img .absolute {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
  }
  
  .food-menu-desc {
    padding: 0.75rem;
  }
  
  .food-menu-desc h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .food-detail {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
  
  .food-price {
    font-size: 1.25rem;
  }
  
  .food-menu-desc .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
  }
  
  .food-menu .text-center .inline-flex {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* Tablet optimizations */
@media only screen and (min-width: 641px) and (max-width: 1023px) {
  .food-menu .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .food-menu-img img {
    height: 220px;
  }
}

/* Large screen optimizations */
@media only screen and (min-width: 1024px) {
  .food-menu .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media only screen and (min-width: 1280px) {
  .food-menu .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .food-menu-img img {
    height: 280px;
  }
}

/* Responsive grid utilities for foods.php design */
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  
  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .sm\:flex-row {
    flex-direction: row;
  }
}
