/* Enhanced professional restaurant menu design with premium styling */
/* Restaurant Menu Frontend Styles - Ultra Premium Design with Dynamic Colors */

/* Import premium Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

/* Added CSS variables with fallback values for dynamic color system */
:root {
  --rmp-container-bg: #ffffff;
  --rmp-section-title-color: #2c3e50;
  --rmp-section-title-bg: #f8f9fa;
  --rmp-card-bg: #ffffff;
  --rmp-card-border: #e9ecef;
  --rmp-dish-title-color: #2c3e50;
  --rmp-description-color: #6c757d;
  --rmp-price-color: #ffffff;
  --rmp-price-bg: #28a745;
  --rmp-allergen-bg: #ffc107;
  --rmp-allergen-text: #212529;
}

/* Enhanced base menu container with premium styling */
.rmp-menu {
  display: block;
  margin: 60px auto;
  max-width: 1400px;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* Using CSS variable for container background */
  background: var(--rmp-container-bg);
  border-radius: 32px;
  padding: 64px 48px;
  box-shadow: 0 32px 80px rgba(217, 119, 6, 0.15), 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0
    rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

/* Added elegant decorative elements */
.rmp-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #d97706, #f59e0b, #fbbf24, #f59e0b, #d97706);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.rmp-menu::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Enhanced section styling */
.rmp-menu .rmp-section {
  margin-bottom: 80px;
  position: relative;
}

.rmp-menu .rmp-section:last-child {
  margin-bottom: 0;
}

/* Premium section title with enhanced typography */
.rmp-menu .rmp-section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin: 0 0 48px;
  /* Using CSS variable for section title color */
  color: var(--rmp-section-title-color);
  text-align: center;
  position: relative;
  padding: 24px 48px;
  text-transform: capitalize;
  letter-spacing: -0.8px;
  line-height: 1.2;
  /* Using CSS variable for section title background */
  background: var(--rmp-section-title-bg);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.rmp-menu .rmp-section-title:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d97706, #f59e0b, #d97706, transparent);
  border-radius: 8px;
}

/* Enhanced grid layouts with better spacing */
.rmp-menu .rmp-grid {
  display: grid;
  gap: 40px;
  margin-top: 48px;
}

.rmp-menu.rmp-cols-1 .rmp-grid {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

/* per-section auto column classes (override wrapper-based rules) */
.rmp-menu .rmp-grid.rmp-grid-cols-1 {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

/* Improved responsive breakpoints */
@media (max-width: 1200px) {
  .rmp-menu.rmp-cols-4 .rmp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 1024px) {
  .rmp-menu.rmp-cols-4 .rmp-grid,
  .rmp-menu.rmp-cols-3 .rmp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .rmp-menu {
    padding: 48px 32px;
    margin: 40px 20px;
  }
}

@media (max-width: 768px) {
  .rmp-menu .rmp-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rmp-menu .rmp-grid.rmp-grid-cols-1,
  .rmp-menu .rmp-grid.rmp-grid-cols-2,
  .rmp-menu .rmp-grid.rmp-grid-cols-3 {
    grid-template-columns: 1fr;
  }

  .rmp-menu {
    padding: 32px 20px;
    margin: 20px 16px;
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  .rmp-menu {
    padding: 24px 16px;
    margin: 16px 12px;
  }

  .rmp-menu .rmp-section {
    margin-bottom: 48px;
  }
}

/* Simplified list view - clean, minimal design without borders, shadows, or rounded corners */
.rmp-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.rmp-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

.rmp-list-item:last-child {
  border-bottom: none;
}

.rmp-list-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rmp-list-title {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--rmp-dish-title-color);
  letter-spacing: -0.3px;
}

.rmp-list-desc {
  margin: 0;
  color: var(--rmp-description-color);
  line-height: 1.6;
  font-size: 0.95rem;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.rmp-list-price {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--rmp-price-bg);
  white-space: nowrap;
  padding-top: 2px;
}

.rmp-list-allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding: 0;
}

.rmp-list-allergen-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rmp-allergen-text);
  background: var(--rmp-allergen-bg);
  padding: 6px 12px;
  border-radius: 20px;
  border: none;
  box-shadow: none;
  transition: none;
}

.rmp-list-allergen-tag ._noimg {
  width: 14px;
  height: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .rmp-list-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .rmp-list-price {
    font-size: 1rem;
  }

  .rmp-list-title {
    font-size: 1rem;
  }

  .rmp-list-desc {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .rmp-list-item {
    padding: 12px 0;
  }

  .rmp-list-title {
    font-size: 0.95rem;
  }

  .rmp-list-desc {
    font-size: 0.85rem;
  }

  .rmp-list-price {
    font-size: 0.95rem;
  }
}

/* Professional list view redesign inspired by premium menu layouts */
.rmp-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}

.rmp-list-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, var(--rmp-card-bg) 0%, rgba(255, 255, 255, 0.5) 100%);
  border: 2px solid var(--rmp-card-border);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(217, 119, 6, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.rmp-list-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.08), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.rmp-list-item:hover::before {
  left: 100%;
}

.rmp-list-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(217, 119, 6, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 252, 232, 0.9) 100%);
}

/* Left badge section */
.rmp-list-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rmp-badge-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), inset 0 2px 8px rgba(255, 255, 255, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.rmp-badge-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent);
  pointer-events: none;
}

.rmp-list-item:hover .rmp-badge-circle {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), inset 0 2px 8px rgba(255, 255, 255, 0.5);
}

.rmp-badge-circle img {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1);
  transition: transform 0.4s ease;
}

.rmp-list-item:hover .rmp-badge-circle img {
  transform: scale(1.15) rotate(8deg);
}

.rmp-badge-icon {
  font-size: 2.5rem;
  display: block;
}

/* Middle content section */
.rmp-list-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.rmp-list-title {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--rmp-dish-title-color);
  transition: color 0.3s ease;
}

.rmp-list-item:hover .rmp-list-title {
  color: #d97706;
}

.rmp-list-desc {
  margin: 0;
  color: var(--rmp-description-color);
  line-height: 1.6;
  font-size: 0.95rem;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rmp-list-item:hover .rmp-list-desc {
  color: #5a6c7d;
}

.rmp-list-allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.rmp-list-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid rgba(217, 119, 6, 0.2);
  border-radius: 20px;
  padding: 6px 12px;
  background: var(--rmp-allergen-bg);
  color: var(--rmp-allergen-text);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.rmp-list-tag:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.3);
}

.rmp-list-tag img {
  width: 16px;
  height: 16px;
  display: block;
}

/* Right price badge section */
.rmp-list-price-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: var(--rmp-price-color);
  padding: 16px 24px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.35), 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 3px solid rgba(255, 255, 255, 0.9);
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.rmp-list-price-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 16px;
  pointer-events: none;
}

.rmp-list-item:hover .rmp-list-price-badge {
  transform: scale(1.12);
  box-shadow: 0 14px 36px rgba(34, 197, 94, 0.45), 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .rmp-list-item {
    padding: 24px 28px;
    gap: 20px;
  }

  .rmp-badge-circle {
    width: 72px;
    height: 72px;
  }

  .rmp-badge-circle img {
    width: 40px;
    height: 40px;
  }

  .rmp-list-title {
    font-size: 1.25rem;
  }

  .rmp-list-price-badge {
    padding: 14px 20px;
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .rmp-list-item {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 20px 24px;
  }

  .rmp-list-price-badge {
    grid-column: 1 / -1;
    justify-self: flex-start;
    padding: 12px 18px;
    font-size: 1rem;
    margin-top: 12px;
  }

  .rmp-badge-circle {
    width: 64px;
    height: 64px;
  }

  .rmp-badge-circle img {
    width: 36px;
    height: 36px;
  }

  .rmp-list-title {
    font-size: 1.125rem;
  }

  .rmp-list-desc {
    font-size: 0.9rem;
  }

  .rmp-list-item:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  .rmp-list-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 20px;
  }

  .rmp-list-badge {
    justify-self: center;
  }

  .rmp-badge-circle {
    width: 56px;
    height: 56px;
  }

  .rmp-badge-circle img {
    width: 32px;
    height: 32px;
  }

  .rmp-list-title {
    font-size: 1rem;
    text-align: center;
  }

  .rmp-list-desc {
    font-size: 0.85rem;
    text-align: center;
  }

  .rmp-list-allergens {
    justify-content: center;
  }

  .rmp-list-price-badge {
    justify-self: center;
    padding: 10px 16px;
    font-size: 0.95rem;
  }
}

@media (prefers-color-scheme: dark) {
  .rmp-list-item {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-color: rgba(248, 250, 252, 0.2);
  }

  .rmp-list-item:hover {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    border-color: #f59e0b;
  }

  .rmp-list-title {
    color: #f8fafc;
  }

  .rmp-list-desc {
    color: #cbd5e1;
  }

  .rmp-list-item:hover .rmp-list-title {
    color: #fbbf24;
  }

  .rmp-list-item:hover .rmp-list-desc {
    color: #e2e8f0;
  }

  .rmp-badge-circle {
    border-color: rgba(248, 250, 252, 0.3);
  }

  .rmp-list-tag {
    background: linear-gradient(135deg, #334155, #1e293b);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
  }

  .rmp-list-tag:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
  }
}

/* Ultra-premium dish cards with enhanced styling */
.rmp-card {
  display: flex;
  flex-direction: column;
  /* Using CSS variable for card background */
  background: var(--rmp-card-bg);
  /* Using CSS variable for card border */
  border: 1px solid var(--rmp-card-border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(217, 119, 6, 0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  transform: translateY(0);
  backdrop-filter: blur(10px);
}

.rmp-card:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 40px 80px rgba(217, 119, 6, 0.25), 0 16px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(217, 119, 6, 0.4);
}

/* Enhanced image container with better aspect ratio */
.rmp-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #fefce8, #f59e0b, #d97706);
}

.rmp-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rmp-card:hover .rmp-img-wrap img {
  transform: scale(1.15) rotate(1deg);
}

/* Ultra-premium price overlay with enhanced styling */
.rmp-price {
  position: absolute;
  top: 16px;
  bottom: auto;
  right: 16px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: var(--rmp-price-color);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(217, 119, 6, 0.3);
  border: 3px solid #fff;
  font-family: "Poppins", serif;
  letter-spacing: 0.5px;
  backdrop-filter: blur(15px);
  z-index: 10;
  transition: all 0.3s ease;
}

.rmp-price::before {
  content: "€"; /* single Euro sign only */
  font-size: 0.95em;
  opacity: 0.95;
  margin-right: 6px;
}

.rmp-card:hover .rmp-price {
  transform: scale(1.1);
  box-shadow: 0 16px 40px rgba(217, 119, 6, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Enhanced content area with better spacing */
.rmp-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  background: linear-gradient(180deg, #ffffff 0%, #fefce8 100%);
}

.rmp-dish-title {
  margin: 0 0 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.4px;
}

.rmp-desc {
  margin: 0 0 24px;
  /* Using CSS variable for description color */
  color: var(--rmp-description-color);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.2em; /* helps equalize row height */
}

/* More prominent inline price styling */
.rmp-price-inline {
  display: none !important;
}

/* Premium allergen tags with enhanced styling */
.rmp-allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.rmp-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(217, 119, 6, 0.2);
  border-radius: 30px;
  padding: 10px 16px;
  /* Using CSS variables for allergen styling */
  background: var(--rmp-allergen-bg);
  color: var(--rmp-allergen-text);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.rmp-tag:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.4);
  border-color: #f59e0b;
}

.rmp-tag ._noimg {
  width: 22px;
  height: 22px;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.rmp-tag:hover img {
  transform: scale(1.2) rotate(5deg);
}

/* Enhanced menu title with premium styling */
.rmp-menu-title {
  font-family: "Poppins", serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  text-align: center;
  /* Using CSS variable for menu title color */
  color: var(--rmp-section-title-color);
  margin: 80px 0 64px;
  text-transform: capitalize;
  letter-spacing: -1.5px;
  position: relative;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Using CSS variable for menu title background */
  background: var(--rmp-section-title-bg);
  padding: 32px 48px;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.rmp-menu-title:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  width: 200px;
  height: 6px;
  background: linear-gradient(90deg, transparent, #d97706, #f59e0b, #fbbf24, #f59e0b, #d97706, transparent);
  border-radius: 12px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .rmp-menu {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    border: 1px solid rgba(248, 250, 252, 0.1);
  }

  .rmp-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-color: rgba(248, 250, 252, 0.2);
  }

  .rmp-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 40px 80px rgba(217, 119, 6, 0.4), 0 16px 32px rgba(0, 0, 0, 0.3);
  }

  .rmp-content {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  }

  .rmp-dish-title {
    color: #f8fafc;
  }

  .rmp-desc {
    color: #cbd5e1;
  }

  .rmp-section-title,
  .rmp-menu-title {
    color: #f59e0b;
    text-shadow: 0 4px 8px rgba(217, 119, 6, 0.3);
  }

  .rmp-tag {
    background: linear-gradient(135deg, #334155, #1e293b);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
  }

  .rmp-tag:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
  }
}

/* Print styles */
@media print {
  .rmp-menu {
    background: #ffffff !important;
    box-shadow: none !important;
    padding: 20px !important;
    border-radius: 0 !important;
  }

  .rmp-card {
    box-shadow: none !important;
    border: 2px solid #000000 !important;
    break-inside: avoid;
    margin-bottom: 20px;
  }

  .rmp-price {
    background: #000000 !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }

  .rmp-section-title,
  .rmp-menu-title {
    color: #000000 !important;
    text-shadow: none !important;
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.rmp-card {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.rmp-section-title {
  animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.rmp-card:nth-child(1) {
  animation-delay: 0.1s;
}
.rmp-card:nth-child(2) {
  animation-delay: 0.2s;
}
.rmp-card:nth-child(3) {
  animation-delay: 0.3s;
}
.rmp-card:nth-child(4) {
  animation-delay: 0.4s;
}
.rmp-card:nth-child(5) {
  animation-delay: 0.5s;
}
.rmp-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Enhanced focus states for accessibility */
.rmp-card:focus-within {
  outline: 4px solid #f59e0b;
  outline-offset: 6px;
  transform: translateY(-8px);
}

.rmp-tag:focus {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}

/* Special styling for featured items */
.rmp-card.featured {
  border: 4px solid #f59e0b;
  background: linear-gradient(135deg, #fefce8, #ffffff, #f8fafc);
  position: relative;
}

.rmp-card.featured::before {
  content: "⭐ FEATURED";
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

.rmp-card.featured .rmp-price {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

/* Performance optimizations */
.rmp-card,
.rmp-tag,
.rmp-price {
  will-change: transform;
}

.rmp-img-wrap img {
  will-change: transform;
}

/* Improved typography rhythm */
.rmp-menu {
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
