/* ---------------------------------------
   CSS Variables (Nude Tones + Neon Edge)
---------------------------------------- */
:root {
  --font-family-primary: 'Vazir', 'Poppins', sans-serif;
  --font-size-mobile: 15px;
  --font-size-base: 16px;

  /* Text Colors */
  --color-text: #4e4139;       /* Warm gray-brown for text */
  --color-subtext: #8a7f77;    /* Softer subtext color */

  /* Pastel / Nude Aesthetic */
  --color-accent: #C08A82;     /* Muted rose accent */
  --color-danger: #e07b7b;     /* Gentle red/pink */
  --color-background-start: #f8ede8;
  --color-background-end: #f3f1ee;

  /* Overlays & Glass */
  --color-overlay: rgba(0, 0, 0, 0.5);
  --color-glass-bg: rgba(255, 255, 255, 0.15);
  --color-glass-border: rgba(255, 255, 255, 0.2);

  /* Shadows */
/* Example */
--shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.12);
--shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
--shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.2);

  /* Transitions & Radii */
  --transition-speed: 0.3s;
  --border-radius-sm: 10px;
  --border-radius-md: 14px;
  --border-radius-lg: 24px;

  /* Soft Gradients */
  --gradient-primary: linear-gradient(135deg, #c08a82, #ead8d4);
  --gradient-confirm: linear-gradient(135deg, #93c9aa, #72b090);

  /* Neon Glow for “cool plastic” edges */
  --neon-glow-color: rgba(192, 138, 130, 0.4); /* Muted rose, 40% alpha */
}
/* ---------------------------------------
   Header (Top) 
---------------------------------------- */
/* Example of a pastel, glassy header.
   You can also use your existing .glassmorphism
   or .plastik-card approach. 
*/
.site-header {
  position: fixed;         /* Sticks to the top if you want a “fixed” header */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;           /* Above other content */
  
  /* Pastel glass look */
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  
  /* Basic spacing */
  padding: 0.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
/* ---------------------------------------
   Modal Design (Order Status) - RTL Support
---------------------------------------- */
#orderStatusModal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

#orderStatusModal > div {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  color: var(--color-text);
  text-align: right; /* Align text to the right for RTL */
  direction: rtl; /* Set text direction to RTL */
  transition: transform 0.3s ease-in-out;
  animation: fadeInUp 0.5s ease forwards;
}

#orderStatusModal > div:hover {
  transform: translateY(-5px);
}

#orderStatusModal h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  text-align: center;
}

/* Order Details Section */
#orderStatusDetails {
  color: var(--color-subtext);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: right; /* Ensure text aligns right for RTL */
  direction: rtl; /* Set text direction to RTL */
}

/* Close Button */
#closeOrderStatusModal {
  background: var(--color-danger);
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  font-size: 1rem;
  margin-top: 1rem;
  box-shadow: 0 4px 10px rgba(192, 138, 130, 0.4);
}

#closeOrderStatusModal:hover {
  background: #c0392b;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(192, 138, 130, 0.6);
}

/* Modal Fade-In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------
   Order Item Styling (for Item List)
---------------------------------------- */
.order-item {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  direction: rtl; /* Set text direction to RTL */
}

.order-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.order-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.order-item p {
  font-size: 0.9rem;
  color: var(--color-subtext);
  line-height: 1.4;
}
/* Helps ensure there's space below the header if it's fixed */
body {
  /* If your nav is at the bottom, ensure enough top padding for the header */
  padding-top: 70px; 
  /* 
     Adjust as needed: 
     if your header is 60px tall, 
     put 70px top padding, etc.
  */
}

/* 
   Layout for header content 
*/
.header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1200px; /* optional for wide screens */
  margin: 0 auto;    /* center the content horizontally */
}

/* The emoji logo */
.header-logo {
  font-size: 2rem; /* Make the emoji big */
  line-height: 1;  
  display: inline-block;
}

/* The site/brand name text */
.header-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}
/* ---------------------------------------
   Global & Body
---------------------------------------- */
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-primary);
  background: linear-gradient(135deg, var(--color-background-start), var(--color-background-end));
  color: var(--color-text);
  overflow-x: hidden;
  font-size: var(--font-size-mobile);
}

@media (min-width: 768px) {
  body {
    font-size: var(--font-size-base);
  }
}

/* 
   .hidden utility to fully hide elements 
*/
.hidden {
  display: none !important;
}

/* ---------------------------------------
   Content Section: prevents overlap with nav
---------------------------------------- */
/* If the header is about 60px tall, give at least 80px. 
   Adjust as needed to prevent overlap. */
.content-section {
  padding-top: 80px; /* Enough space so the header won't cover your section titles */
  padding-bottom: 120px; /* Also ensures bottom nav doesn't overlap content */
}

/* ---------------------------------------
   Loading Overlay
---------------------------------------- */
#loadingOverlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
#loadingOverlay.hidden {
  display: none !important;
}

/* ---------------------------------------
   Glassmorphism Utility Class
---------------------------------------- */
.glassmorphism {
  background: var(--color-glass-bg);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-glass-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.glassmorphism:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ---------------------------------------
   Floating Navigation Bar
---------------------------------------- */
nav {
  position: fixed;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 90%;
  max-width: 550px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  border: 1px solid rgba(255,255,255,0.2);
}

nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  transition: color var(--transition-speed), transform var(--transition-speed);
  font-size: 0.8rem;
  position: relative;
  padding: 0.25rem;
}
nav button:hover {
  color: var(--color-accent);
  transform: translateY(-3px);
}
nav button span.material-symbols-outlined {
  font-size: 1.3rem;
  margin-bottom: 2px;
}

/* Badge on Cart */
nav button .badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--color-danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

/* ---------------------------------------
   Category Scroll
---------------------------------------- */
.category-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 1rem 0.5rem;
  scroll-behavior: smooth;
  justify-content: center; /* Center the items horizontally */
  align-items: center;     /* Ensure vertical alignment */
  margin: 0 auto;          /* Auto margin for horizontal centering */
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--border-radius-md);
  padding: 1rem;
  min-width: 120px; /* Adjusted min-width for better small screen fit */
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.category-card span {
  font-size: 1.6rem;
  color: var(--color-accent);
}

.category-card h3 {
  font-size: 0.9rem;
  color: var(--color-subtext);
  margin-top: 8px;
}

/* Media Query for Small Screens */
@media (max-width: 768px) {
  .category-card {
    min-width: 90px;  /* Smaller width for small screens */
  }
}

/* ---------------------------------------
   Menu Items Grid
---------------------------------------- */
#menuItemsContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  padding: 1rem;
  margin-top: 1rem;
}

@media (max-width: 500px) {
  #menuItemsContainer {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------
   "Plastik" Card Design
---------------------------------------- */
.plastik-card {
  position: relative;
  background: rgba(255,255,255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  color: var(--color-text);
  padding: 1rem;
  text-align: center;
}

/* Neon/Pastel border effect */
.plastik-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--border-radius-md);
  box-shadow: 0 0 10px var(--neon-glow-color), 0 0 20px var(--neon-glow-color) inset;
  opacity: 0.2; /* not too strong, just a subtle glow effect */
}
.plastik-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.plastik-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.5rem;
}
.plastik-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.5rem 0;
}
.plastik-card p {
  font-size: 0.85rem;
  color: var(--color-subtext);
  line-height: 1.4;
  margin: 0.5rem 0;
}
.plastik-card button {
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 16px;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: background var(--transition-speed), transform var(--transition-speed);
  margin-top: 0.75rem;
}
.plastik-card button:hover {
  background: linear-gradient(135deg, #ead8d4, #c08a82);
  transform: scale(1.05);
}

/* ---------------------------------------
   Cart Items Section

/* ----------------------------------------
   Cart Items Section (Plastik Style)
---------------------------------------- */
#cartItems {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Spacious layout between items */
  padding: 1.5rem; /* Consistent padding */
  max-height: calc(100vh - 180px); /* Adaptive height */
  overflow-y: auto;

  /* Matching Plastik style */
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

/* Hover effect for cart items section */
#cartItems:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg); /* Enhanced shadow for hover */
}

/* Scrollbar customization */
#cartItems::-webkit-scrollbar {
  width: 8px;
}
#cartItems::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: var(--border-radius-sm);
}
#cartItems::-webkit-scrollbar-thumb:hover {
  background: var(--color-danger);
}



/* ----------------------------------------
   Confirm Button in Cart (Plastik Style)
---------------------------------------- */
#cart button {
  position: sticky;
  bottom: 1rem;
  z-index: 1050;

  /* Matching Plastik card button style */
  background: var(--gradient-primary);
  color: #fff;
  font-size: 1rem;
  padding: 12px 24px; /* Increased padding for a more premium feel */
  border: none;
  border-radius: var(--border-radius-md); /* Consistent with Plastik card */
  cursor: pointer;
  transition: background var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
  margin-top: 1.5rem;
  box-shadow: 0 4px 15px rgba(192, 138, 130, 0.4); /* Subtle glow effect */
}

/* Hover effects for confirm button */
#cart button:hover {
  background: linear-gradient(135deg, #ead8d4, #c08a82); /* Subtle pastel gradient */
  transform: translateY(-3px) scale(1.05); /* Elevation and scaling */
  box-shadow: 0 6px 20px rgba(192, 138, 130, 0.6); /* Stronger hover glow */
}

/* Active state for confirm button */
#cart button:active {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(192, 138, 130, 0.5); /* Softer active shadow */
}

/* Add subtle animation to the button */
@keyframes buttonPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(192, 138, 130, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(192, 138, 130, 0.6);
  }
}

#cart button:focus {
  animation: buttonPulse 1s infinite;
}

/* ---------------------------------------
   Cart & Order Cards
   (If you want to keep these separate 
    from .plastik-card logic)
---------------------------------------- */
.cart-item,
.order-item {
  background: rgba(255, 255, 255, 0.6); /* Translucent background for a glassy look */
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-radius: var(--border-radius-md); /* Rounded corners for aesthetics */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border for structure */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
  padding: 16px; /* Slightly larger padding for spacing */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px; /* Increased gap for better spacing */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effects */
.cart-item:hover,
.order-item:hover {
  transform: translateY(-5px); /* Slight elevation on hover */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

/* Item Titles */
.cart-item h3,
.order-item h3 {
  font-size: 1rem; /* Slightly larger font size for better readability */
  font-weight: 700; /* Stronger emphasis on titles */
  color: var(--color-text);
}

/* Item Descriptions */
.cart-item p,
.order-item p {
  font-size: 0.9rem; /* Slightly larger font size */
  color: var(--color-subtext);
  line-height: 1.4; /* Improved line spacing */
}

/* Add subtle glow effect for hover */
.cart-item:hover::before,
.order-item:hover::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--border-radius-md);
  box-shadow: 0 0 15px rgba(192, 138, 130, 0.3), 0 0 30px rgba(192, 138, 130, 0.4);
  opacity: 0.5;
}

/* ---------------------------------------
   Orders Section
---------------------------------------- */
#orderList {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 1rem;
}

/* ---------------------------------------
   Modal Styling
---------------------------------------- */
.modal {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  max-width: 600px;
  width: 90%;
  height: auto;
  text-align: center;
  color: var(--color-text);
  animation: fadeInUp 0.5s ease forwards;

}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ---------------------------------------
   Payment Modal Design
---------------------------------------- */
#paymentModal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

#paymentModal > div {
  background: rgba(255, 255, 255, 0.85); /* Soft white background */
  backdrop-filter: blur(20px); /* Glass-like effect */
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius-md); /* Rounded corners */
  box-shadow: var(--shadow-lg); /* Strong shadow for depth */
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  color: var(--color-text);
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

#paymentModal > div:hover {
  transform: translateY(-5px); /* Slight hover lift */
}

/* ---------------------------------------
   Payment Card Design
---------------------------------------- */
#paymentCartDetails {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px); /* Light blur effect for card */
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

#paymentCartDetails p {
  font-size: 1.1rem;
  margin: 1rem 0;
  font-weight: bold;
  color: var(--color-text);
}

#paymentCartDetails .card-info {
  background: var(--color-accent); /* Subtle pastel background */
  padding: 1rem;
  border-radius: var(--border-radius-md);
  margin-top: 1rem;
  color: #fff;
}

#paymentCartDetails .card-info p {
  font-size: 1.2rem;
  font-weight: 500;
}

#paymentCartDetails .card-info .card-number {
  font-size: 1.4rem;
  letter-spacing: 1px;
  font-family: 'Courier New', Courier, monospace;
  background: rgba(255, 255, 255, 0.3);
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 0 15px rgba(192, 138, 130, 0.4);
}

/* ---------------------------------------
   File Upload Section
---------------------------------------- */
#receiptFile {
  width: 100%;
  border: 1px solid #ddd;
  padding: 0.5rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 1.5rem;
}

/* ---------------------------------------
   Submit Button
---------------------------------------- */
#submitPayment {
  background: var(--gradient-primary);
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(192, 138, 130, 0.4); /* Glow effect */
}

#submitPayment:hover {
  background: linear-gradient(135deg, #ead8d4, #c08a82); /* Gradient hover */
  transform: scale(1.05); /* Button lift on hover */
  box-shadow: 0 6px 20px rgba(192, 138, 130, 0.6); /* Stronger glow on hover */
}

/* ---------------------------------------
   Close Button (Beneath Modal)
---------------------------------------- */
#closePaymentModal {
  background: #7f8c8d;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

#closePaymentModal:hover {
  background: #616161;
  transform: scale(1.05);
}

/* ---------------------------------------
   Mobile Responsiveness
---------------------------------------- */
@media (min-width: 768px) {
  #paymentModal > div {
    max-width: 600px;
  }

  #paymentCartDetails {
    padding: 2rem;
  }
}
/* ---------------------------------------
   Food Modal Styling (Plastik Card Style)
---------------------------------------- */
#foodModal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;

    /* Plastik-inspired design */
    background: rgba(255, 255, 255, 0.65); /* Glass-like translucency */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--border-radius-lg); /* Rounded corners */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
    box-shadow: var(--shadow-lg); /* Depth */
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    text-align: left;
    animation: fade-in 0.3s ease-out;
    transform: scale(1);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

#foodModal.hidden {
    display: none;
}

/* Modal Title Styling */
#modalTitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-align: center;
}

/* Modal Description Styling */
#modalDescription {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-subtext);
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Additional Items Container */
#additionalItems div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.6); /* Subtle background */
    backdrop-filter: blur(15px); /* Glassy effect */
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm); /* Soft shadow */
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    cursor: pointer;
}

#additionalItems div:hover {
    transform: translateY(-3px); /* Hover elevation */
    box-shadow: var(--shadow-md); /* Stronger shadow on hover */
}

/* Checkbox Styling */
.custom-checkbox {
    accent-color: var(--color-accent); /* Matches the accent color */
    transform: scale(1.1); /* Slightly larger */
    cursor: pointer;
}

/* Button inside Modal */
#foodModal button {
    display: block;
    margin: 1.5rem auto 0;
    background: var(--gradient-primary); /* Matches Plastik card button style */
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(192, 138, 130, 0.4); /* Subtle glow */
    transition: background var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
}

/* Button Hover State */
#foodModal button:hover {
    background: linear-gradient(135deg, #ead8d4, #c08a82); /* Matches Plastik gradient hover */
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(192, 138, 130, 0.6); /* Enhanced glow */
}

/* Button Active State */
#foodModal button:active {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(192, 138, 130, 0.5);
}

/* ---------------------------------------
   Responsive Enhancements for Modal
---------------------------------------- */
@media (min-width: 768px) {
    #foodModal {
        max-width: 70%;
    }
}
/* ---------------------------------------
   Responsive Enhancements
---------------------------------------- */
@media (min-width: 768px) {
  .modal {
    max-width: 70%;
  }
  #paymentModal > div {
    max-width: 600px;
  }
}