/*  START: Mobile Menu CSS - ADD THIS COMPLETE BLOCK -- */

/* Mobile Menu Styles - Keep Red Burger Design */
@media (max-width: 768px) {
    /* Mobile Menu Toggle Button - Your Loved Red Styling */
    .mobile-menu-toggle {
  display: flex;  /* REMOVED !important */
  position: fixed;  /* REMOVED !important */
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: linear-gradient(135deg, #006600 0%, #00401A 100%);
  border: none;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.4);
  transition: all 0.3s ease;
  width: 56px;
  height: 56px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

/* Hide burger when modal is active */
body.checkout-modal-open .mobile-menu-toggle {
  display: none !important;
}
/* Hide burger when cart sidebar is open */
.cart-sidebar.open ~ .mobile-menu-toggle,
.cart-sidebar.open + .cart-toggle,
.cart-overlay.active ~ .mobile-menu-toggle {
  display: none !important;
}

    /* === Scroll-controlled visibility for burger === */
.mobile-menu-toggle.hidden-until-scroll {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu-toggle.visible-after-scroll {
  opacity: 1;
  pointer-events: auto;
}
    .mobile-menu-toggle:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(211, 47, 47, 0.6);
    }
    
    /* Hamburger Lines Animation */
    .hamburger-line {
        width: 26px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
        display: block;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Full Screen Overlay */
    .mobile-menu-overlay {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 9997;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(3px);
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Sidebar Menu */
    .mobile-menu-sidebar {
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 90%;
        max-width: 360px;
        height: 100vh;
        background: #ffffff;
        z-index: 9998;
        display: flex;
        flex-direction: column;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }
    
    .mobile-menu-sidebar.active {
        right: 0;
    }
    
    /* Header Section */
    .mobile-menu-header {
        background: linear-gradient(135deg, #006600 0%, #00401A 100%);
        color: white;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 60px;
        flex-shrink: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu-header h2 {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 700;
    }
    
    .mobile-menu-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }
    
    /* Content Area */
    .mobile-menu-content {
        flex: 1;
        overflow-y: auto;
        padding: 0;
        background: #ffffff;
    }
    
    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu-item {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu-item:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-link {
        display: flex;
        align-items: center;
        padding: 18px 20px;
        text-decoration: none;
        color: #333;
        transition: all 0.3s ease;
        min-height: 60px;
        border-left: 4px solid transparent;
    }
    
    .mobile-menu-link:hover,
    .mobile-menu-link:active {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-left-color: #006600;
        color: #006600;
    }
    
    .menu-icon {
        font-size: 1.6rem;
        margin-right: 15px;
        min-width: 30px;
        text-align: center;
    }
    
    .menu-text {
        font-size: 1rem;
        font-weight: 500;
        flex: 1;
    }
}


/* Hide burger toggle whenever any modal is open */
body.modal-open #mobileMenuToggle {
  display: none !important;
}


}

<!-- END: Mobile Menu CSS -->
<!-- ==== MAIN NAV CENTERED OVERRIDE ==== -->

@media (max-width: 768px) {
  /* Enable horizontal scrolling when nav is wider than viewport */
  .main-nav {
    overflow-x: auto;
  }

  /* Center nav-links as a flex row, wrap only if necessary */
  .main-nav .nav-links {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: center;    /* center items */
    align-items: center;        /* vertical alignment */
    gap: 0.4rem;                /* spacing between items */
    margin: 0;
    padding: 0 0.4rem;          /* optional side padding */
  }

  /* Ensure each list item preserves its width */
  .main-nav .nav-links li {
    flex: 0 0 auto;
    margin: 0;
  }

  /* Adjust tappable area and font size */
  .main-nav .nav-links a {
    display: inline-block;
    padding: 0.4rem 0.70rem;    /* larger touch targets */
    font-size: 0.85rem;         /* increase for readability */
    white-space: nowrap;
    text-align: center;
  }

  /* Fallback for very small screens */
  @media (max-width: 480px) {
    .main-nav .nav-links {
      gap: 0.3rem;
      padding: 0 0.3rem;
    }
    .main-nav .nav-links a {
      padding: 0.2rem 0.4rem;
      font-size: 0.70rem;
    }
  }
}
/* END MAIN NAV CENTERED OVERRIDE ====  */


/* Place this in /css/main.css or within a separate  block */

/* Global Reset & Box Sizing */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}
/* Body */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: #333; /* was #efb268 */
  line-height: 1.6;
}

.underline {
  text-decoration: underline;
}
/* Cart Controls */
.cart-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 1rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border: 2px solid #006600;
  background: #fff;
  color: #006600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.quantity-btn:hover {
  background: #006600;
  color: #fff;
}

.quantity-display {
  min-width: 30px !important;
  text-align: center;
  font-weight: 600;
  color: #2c3e50;
}

.add-to-cart-btn {
  background: #006600;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background: #00401A;
}

.add-to-cart-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

body.cart-open {
  overflow: hidden !important;
}

.cart-header {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0.90rem;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
  gap: 0.8rem;
}

.cart-summary {
  padding: 1rem 1.25rem;
  border-top: 2px solid #e9ecef;
  background: #fff;
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  margin-top: auto;
}

.checkout-btn {
  width: 100%;
  background: #006600;
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
}

.cart-toggle {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background: #006600;
  color: #fff;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}
/* Cart Controls - IMPROVED VERSION */
.cart-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #006600;
  box-shadow: 0 2px 4px rgba(211, 47, 47, 0.1);
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #006600;
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(211, 47, 47, 0.2);
}

.quantity-btn:hover {
  background: #00401A;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(211, 47, 47, 0.3);
}

.quantity-btn:active {
  transform: translateY(0);
}

.quantity-display {
  min-width: 30px;
  text-align: center;
  font-weight: 700;
  color: #2c3e50;
  font-size: 1.1rem;
  background: #f8f9fa;
  padding: 0.5rem;
  border-radius: 6px;
}

.add-to-cart-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  min-width: 140px;
}

.add-to-cart-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

.add-to-cart-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
/* Minimum Order Message Styling */
.minimum-order-message {
  animation: minimumOrderPulse 0.75s infinite;
}

@keyframes minimumOrderPulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 2px 8px rgba(255, 234, 167, 0.3);
  }
  50% { 
    transform: scale(1.02); 
    box-shadow: 0 4px 16px rgba(255, 234, 167, 0.5);
  }
}

.cart-summary .checkout-btn:disabled {
  background: #6c757d !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Cart Sidebar - IMPROVED VERSION */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -500px; /* Increased from 400px */
  width: 500px; /* Increased from 400px */
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  border-left: 3px solid #006600;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  padding: 1.5rem 1.5rem;
  border-bottom: 2px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #006600 0%, #00401A 100%);
  color: white;
}

.cart-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.close-cart {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-cart:hover {
  background: rgba(255,255,255,0.2);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
  max-height: calc(100vh - 280px);
  padding-bottom: 0.5rem;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  gap: 1rem;
  background: #f8f9fa;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  line-height: 1.15;
}

.cart-item img {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-summary {
  padding: 0.7rem 0.7rem;
  border-top: 2px solid #e9ecef;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: sticky;
  bottom: 0;
  background: #fff;  /* ensure it sits above the scrollable items */
  z-index: 10;       /* keep it on top of the cart-items */
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
}

.summary-row.total {
  font-weight: 700;
  font-size: 1.3rem;
  color: #006600;
  border-top: 2px solid #006600;
  padding-top: 0.6rem;
  margin-top: 0.6rem;
  line-height: 1.2;
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, #006600 0%, #00401A 100%);
  color: #fff;
  border: none;
  padding: 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(211, 47, 47, 0.3);
}

.checkout-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #00401A 0%, #a61e1e 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.checkout-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Cart Toggle Button - IMPROVED VERSION */
.cart-toggle {
  position: fixed;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #006600 0%, #00401A 100%);
  color: #fff;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cart-toggle:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.5);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff6b35;
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 750;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Responsive Cart */
@media (max-width: 768px) {
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
  
  .cart-controls {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .quantity-controls {
    justify-content: center;
  }
  
  .add-to-cart-btn {
    width: 100%;
    padding: 1rem;
  }
}
/* ===== NAVIGATION STYLING (FROM FAQ & CATERING PAGES) ===== */
.main-nav {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Mobile Responsive Navigation - Compact */
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.1rem;   /* much tighter spacing */
    margin: 0;
  }
  .nav-links li {
    margin: 0;  /* ensure no extra margin */
  }
  .nav-links a {
    display: inline-flex;
    padding: 0.2rem 0.2rem; /* minimal, yet tappable */
    font-size: 0.825rem;  /* slightly smaller text */
	font-weight: 750;
    text-align: center;
  }
}

/* Mobile Responsive Navigation - Compact */
@media (max-width: 360px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.1rem;   /* much tighter spacing */
    margin: 0;
  }
  .nav-links li {
    margin: 0;  /* ensure no extra margin */
  }
  .nav-links a {
    display: inline-flex;
    padding: 0.1rem 0.1rem; /* minimal, yet tappable */
    font-size: 0.75rem;  /* slightly smaller text */
	font-weight: 700;
    text-align: center;
  }
}
/* ===== END NAVIGATION STYLING ===== */

/* Header */
header {
  background: linear-gradient(135deg, #006600 0%, #00401A 100%);
  color: #fff;
  padding: 1rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.3);
}

@media (max-width: 768px) {
  header {
    padding: 0.80rem 1rem !important;
  }
}

header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.15)"/><circle cx="40" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="15" r="1.2" fill="rgba(255,255,255,0.12)"/><circle cx="85" cy="50" r="1.5" fill="rgba(255,255,255,0.14)"/><circle cx="20" cy="70" r="1" fill="rgba(255,255,255,0.11)"/><circle cx="60" cy="85" r="1.3" fill="rgba(255,255,255,0.13)"/><circle cx="90" cy="80" r="1.1" fill="rgba(255,255,255,0.12)"/><circle cx="30" cy="50" r="1.4" fill="rgba(255,255,255,0.13)"/></svg>') repeat;
  animation: float 50s linear infinite;
}

@keyframes float {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

header.site-header {
  position: relative;
  z-index: 10; /* Ensure header sits above hero when they overlap */
  margin-bottom: 0; /* Kill any bottom margin */
}


/*header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}*/

/* Menu Section */
.menu-section {
  max-width: 1200px;  /* was 1300px on 09 MAR 2026 */
  margin: 0 auto;
  padding: 3rem 2rem;
}

.menu-section h2 {
  display: inline-block;
  position: relative;
  font-size: 2rem;
  font-weight: 700;
  color: #00401A;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid #006600;
}

.menu-section h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ff6b35;
  border-radius: 2px;
}
/* Always responsive */
.site-logo {
  display: block;
  margin: 0 auto 10px;
  max-width: 80%;
  height: auto;
}

/* Limit maximum size on larger viewports */
@media only screen and (min-width: 1024px) {
  .site-logo {
    max-width: 500px;   /* or whatever max width you prefer */
    height: auto;       /* maintains aspect ratio */
  }
}

/* Optionally adjust mobile */
@media only screen and (max-width: 480px) {
  .site-logo {
    max-width: 100%;
  }
}

/* Grid & Items */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(365px, 1fr));
  gap: 1.10rem;
  margin-top: 0.5rem;
}

.item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.3s ease;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  to { background-position: -200% 0; }
}

.item:hover img {
  transform: scale(1.05);
}

.item-content {
  padding: 1.5rem;
  position: relative;
}

.item-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.item-content p {
  font-size: 1rem;
  color: #000;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.item-content .price {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #006600;
  background: rgba(211, 47, 47, 0.1);
  border: 2px solid rgba(211, 47, 47, 0.2);
  border-radius: 20px;
}

.status {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 15px;
}

.available {
  color: #2e7d32;
  background: rgba(46, 125, 50, 0.1);
  border: 1px solid rgba(46, 125, 50, 0.3);
}

.unavailable {
  color: #006600;
  background: rgba(211, 47, 47, 0.1);
  border: 1px solid rgba(211, 47, 47, 0.3);
}

/* Pakistani Cultural Accent */
.item-content::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff6b35, #006600);
  border-radius: 0 16px 0 40px;
  opacity: 0.1;
}

/* Footer Styles */
.site-footer {
  background: #1a1a1a;
  color: #e0e0e0;
  font-family: 'Poppins', sans-serif;
  padding: 4rem 1rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 2rem;
  text-align: left;
}
.footer-block h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid #006600;
  display: inline-block;
  padding-bottom: 0.25rem;
}
.footer-block p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  line-height: 1.15;
}
.footer-block a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-block a:hover {
  color: #00401A;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.75rem;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #006600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer__social a:hover {
  color: #00401A;
  transform: scale(1.15);
}

.footer__social svg {
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid #333;
  max-width: 1200px;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.80rem;
  line-height: 1.15;
  color: #777;
  padding-top: 0.50rem;
}
.footer-bottom .heart {
  color: #006600;
  font-size: 1rem;
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-block h3 {
    display: block;
  }
  .footer-social .social-icon {
    margin: 0.5rem 0.5rem 0 0;
  }
}
/* MOBILE SCALING - Progressive Enhancement */
@media (max-width: 1024px) {
    html {
        font-size: 17px; /* Slightly larger base */
    }
    
    .menu-section {
        padding: 2.5rem 1.5rem;
    }
}
.menu-section:first-of-type {
  padding-top: 0.70rem;  /* only first section, leave others at 3rem */
}


@media (max-width: 768px) {
    html {
        font-size: 18px; /* Larger base for tablets */
    }
    
    /*header h1 {
        font-size: 2.5rem;
    }*/
    
    .menu-section h2 {
        font-size: 1.85rem;
		font-weight: 700;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .item-content {
        padding: 1.5rem;
    }
    
    .item-content h3 {
        font-size: 1.4rem;
    }
    
    .item-content p {
        font-size: 1rem;
    }
    
    .item-content .price {
        font-size: 1.3rem;
    }
	.footer__social {
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
    html {
        font-size: 19px; /* Even larger for mobile phones */
    }
    
    header {
        padding: 2rem 1rem;
    }
    
    /*header h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }*/
    
    .menu-section {
        padding: 2rem 1rem;
    }
    
    .menu-section h2 {
        font-size: 1.45rem;
		font-weight: 700;
        margin-bottom: 1rem;
    }
    
    .item-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }
    
    .item-content p {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .item-content .price {
        font-size: 1.25rem;
        padding: 0.4rem 0.8rem;
    }
    
    .status {
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 20px; /* Maximum scaling for very small screens */
    }
    
    /*header h1 {
        font-size: 2rem;
    }*/
    
    .menu-section h2 {
        font-size: 1.6rem;
		font-weight: 700;
    }
    
    .item-content {
        padding: 1.25rem;
    }
}

/* Enhanced Typography Features */
.item-content h3,
.item-content p,
.item-content .price {
    text-rendering: optimizeLegibility;
}

/* Improved Focus States for Accessibility */
.item:focus-within {
    outline: 2px solid #006600;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    html {
        font-size: 12pt;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
.footer-intro {
  background-color: #f8f8f8;       /* light background to distinguish */
  padding: 20px 10px;              /* spacing around text */
  text-align: center;              /* center the copy */
  font-size: 1.1rem;               /* adjust font size */
  color: #000000;                  /* text color */
  border-bottom: 1px solid #ddd;   /* optional separator line */
}

.footer-intro p {
  margin: 0;
  line-height: 1.5;
}
/* Default: hide the toggle off left edge */
.cart-toggle {
  position: fixed;
  z-index: 999;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #006600 0%, #00401A 100%);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

/* Desktop: middle-left */
@media (min-width: 769px) {
  .cart-toggle {
    left: 25px;
    top: 50%;
    bottom: auto;
    right: auto;
    transform: translateY(-50%);
  }
}

/* Mobile: bottom center */
@media (max-width: 768px) {
  .cart-toggle {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 20px;
    transform: translateX(-50%);
  }
}
/* COMPLETE RESET - Remove all styling from quantity controls */
.quantity-controls {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
}

.quantity-controls * {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.quantity-display {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-width: 32px !important;
  text-align: center !important;
}

/* Also clean up the parent container */
.cart-controls {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Keep the quantity buttons styled */
.quantity-btn {
  width: 32px !important;
  height: 32px !important;
  border: 2px solid #006600 !important;
  background: #fff !important;
  color: #006600 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
}

.quantity-btn:hover {
  background: #006600 !important;
  color: #fff !important;
}
/* Restore quantity button visibility */
.quantity-btn {
  display: inline-flex !important;        /* ensure buttons are shown */
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border: 2px solid #006600 !important;   /* visible outline */
  background: #fff !important;             /* white fill */
  color: #006600 !important;               /* colored text */
  font-size: 1rem !important;
  font-weight: 600 !important;
}

/* Ensure the “–” and “+” text is not clipped */
.quantity-btn::before,
.quantity-btn::after {
  content: none !important;
}

/* Make sure the span that holds the number is visible */
.quantity-display {
  display: inline-block !important;
  color: #2c3e50 !important;
  font-weight: 600 !important;
}
/* FIXED: Remove problematic universal selector */
.quantity-controls {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
}

.quantity-display {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-width: 32px !important;
  text-align: center !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
}

.cart-controls {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* PROPERLY STYLED QUANTITY BUTTONS */
.quantity-btn {
  width: 32px !important;
  height: 32px !important;
  border: 2px solid #006600 !important;
  background: #fff !important;
  color: #006600 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
}

.quantity-btn:hover {
  background: #006600 !important;
  color: #fff !important;
}
/* MODERN MENU ITEM LAYOUT - COMPLETE REDESIGN */

/* Reset item content for better control */
.item-content {
  padding: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

/* Header section with name, price, and availability on same line */
.item-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 1rem !important;
  margin-bottom: 0.5rem !important;
}

.item-title-section {
  flex: 1 !important;
  min-width: 0 !important; /* Allows text to wrap properly */
}

.item-meta-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 0.25rem !important;
  flex-shrink: 0 !important;
}

/* Modern item name styling */
.item-content h3 {
  font-size: 1.25rem !important;
  font-weight: 750 !important;
  color: #006600 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  text-rendering: optimizeLegibility !important;
}

/* Compact, modern price styling */
.price {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.4rem 0.75rem !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #006600 !important;
  background: #fff !important;
  border: 1.5px solid #006600 !important;
  border-radius: 6px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

/* Compact availability status */
.status {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.25rem 0.6rem !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  border-radius: 4px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.available {
  color: #2e7d32 !important;
  background: rgba(46, 125, 50, 0.1) !important;
  border: 1px solid rgba(46, 125, 50, 0.3) !important;
}

.unavailable {
  color: #006600 !important;
  background: rgba(211, 47, 47, 0.1) !important;
  border: 1px solid rgba(211, 47, 47, 0.3) !important;
}

/* Description with proper spacing */
.item-content p {
  font-size: 1rem !important;
  color: #000 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  text-rendering: optimizeLegibility !important;
}

/* Compact cart controls */
.cart-controls {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 0.5rem !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  gap: 0.5rem !important;
}

.quantity-controls {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.quantity-btn {
  width: 36px !important;
  height: 36px !important;
  border: 2px solid #006600 !important;
  background: #fff !important;
  color: #006600 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  transition: all 0.2s ease !important;
}

.quantity-btn:hover {
  background: #006600 !important;
  color: #fff !important;
  transform: scale(1.05) !important;
}

.quantity-display {
  background: none !important;
  padding: 0 !important;
  min-width: 36px !important;
  text-align: center !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
  font-size: 1rem !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .item-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  
  .item-meta-section {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }
  
  .item-content h3 {
    font-size: 1.2rem !important;
  }
  
  .price {
    font-size: 1rem !important;
    padding: 0.35rem 0.6rem !important;
  }
  
  .status {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.5rem !important;
  }
  
  .quantity-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
  }
  
  .quantity-display {
    min-width: 40px !important;
    font-size: 1.1rem !important;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .item-content {
    padding: 1rem !important;
  }
  
  .item-content h3 {
    font-size: 1.1rem !important;
  }
  
  .item-content p {
    font-size: 1rem !important;
  }
}
/* CORRECTED LAYOUT - Price right of title, availability above */
.item-content {
  padding: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

/* Availability status above everything */
.status {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.25rem 0.6rem !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  border-radius: 4px !important;
  margin: 0 0 0.5rem 0 !important;
  white-space: nowrap !important;
  align-self: flex-start !important;
}

.available {
  color: #2e7d32 !important;
  background: rgba(46, 125, 50, 0.1) !important;
  border: 1px solid rgba(46, 125, 50, 0.3) !important;
}

.unavailable {
  color: #006600 !important;
  background: rgba(211, 47, 47, 0.1) !important;
  border: 1px solid rgba(211, 47, 47, 0.3) !important;
}

.low-stock {
  color: #FFC107 !important;
  background: rgba(255, 193, 7, 0.1) !important;
  border: 1px solid rgba(255, 193, 7, 0.3) !important;
}

/* Title and price on same line */
.item-title-price {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 0.75rem !important;
}

/* Item name styling */
.item-content h3 {
  font-size: 1.25rem !important;
  font-weight: 750 !important;
  color: #006600 !important;
  margin: 0 !important;
  line-height: 1.1 !important;
  text-rendering: optimizeLegibility !important;
  flex: 1 !important;
}

/* Price styling - aligned to the right */
.price {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.4rem 0.75rem !important;
  font-size: 1.1rem !important;
  font-weight: 750 !important;
  color: #006600 !important;
  background: #fff !important;
  border: 1.5px solid #006600 !important;
  border-radius: 6px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Description styling */
.item-content p {
  font-size: 1rem !important;
  color: #000 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  text-rendering: optimizeLegibility !important;
}

/* Cart controls styling */
.cart-controls {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 0.5rem !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  gap: 0.5rem !important;
}

.quantity-controls {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.quantity-btn {
  width: 36px !important;
  height: 36px !important;
  border: 2px solid #006600 !important;
  background: #fff !important;
  color: #006600 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  transition: all 0.2s ease !important;
}

.quantity-btn:hover {
  background: #006600 !important;
  color: #fff !important;
  transform: scale(1.05) !important;
}

.quantity-display {
  background: none !important;
  padding: 0 !important;
  min-width: 36px !important;
  text-align: center !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
  font-size: 1rem !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .item-title-price {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 0.75rem !important;
  }

  .item-content h3 {
    font-size: 1.2rem !important;
    flex: 1 !important;
    margin: 0 !important;
  }

  .price {
    font-size: 1rem !important;
    padding: 0.35rem 0.6rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}
  
  .status {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.5rem !important;
  }
  
  .quantity-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
  }
  
  .quantity-display {
    min-width: 40px !important;
    font-size: 1.1rem !important;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .item-content {
    padding: 1rem !important;
  }
  
  .item-content h3 {
    font-size: 1.1rem !important;
  }
  
  .item-content p {
    font-size: 1rem !important;
  }
}
/* --- Layout Update for Items --- */

/* 1. Availability on top */
.status {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 4px;
  margin: 0 0 0.5rem 0;
}
.available { color: #2e7d32; background: rgba(46,125,50,0.1); border: 1px solid rgba(46,125,50,0.3); }
.unavailable { color: #006600; background: rgba(211,47,47,0.1); border: 1px solid rgba(211,47,47,0.3); }

/* 2. Title + price on same line */
.item-title-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.item-content h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 750;
  flex: 1;
}
.price {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  font-size: 1.1rem;
  font-weight: 750;
  color: #006600;
  background: #fff;
  border: 1.5px solid #006600;
  border-radius: 6px;
  white-space: nowrap;
}

/* 3. Compact cart controls */
.cart-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
  gap: 0.5rem;
}
.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem !important;
}
.quantity-btn {
  width: 30px !important;
  height: 30px !important;
  border: 2px solid #006600;
  background: #fff;
  color: #006600;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.quantity-btn:hover { transform: scale(1.05); }
.quantity-display {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  color: #2c3e50;
}
/* AVAILABILITY AS IMAGE OVERLAY - Non-intrusive */

/* Reset status positioning from above title */
.status {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  margin: 0 !important;
  z-index: 5 !important;
  padding: 0.2rem 0.5rem !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  backdrop-filter: blur(4px) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Enhanced styling for better visibility on images */
.available {
  color: #fff !important;
  background: rgba(46, 125, 50, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.unavailable {
  color: #fff !important;
  background: rgba(211, 47, 47, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Make item image container relative for absolute positioning */
.item {
  position: relative !important;
}

.item img {
  position: relative !important;
  border-radius: 8px !important;
}

/* Remove status from item-content flow */
.item-content .status {
  display: none !important;
}

/* Ensure status appears on the image, not in content */
.item > .status {
  display: inline-flex !important;
}
/* AVAILABILITY IMAGE OVERLAY - Complete Fix */
.item {
  position: relative !important;
}

.item .status {
  position: absolute !important;
  top: 7px !important;
  right: 7px !important;
  margin: 0 !important;
  z-index: 10 !important;
  padding: 0.07rem 0.50rem !important;
  font-size: 0.80rem !important;
  font-weight: 650 !important;
  border-radius: 4px !important;
  backdrop-filter: blur(4px) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.20px !important;
}

.item .status.available {
  color: #fff !important;
  background: rgba(46, 125, 50, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.item .status.unavailable {
  color: #fff !important;
  background: rgba(211, 47, 47, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.item .status.low-stock {
  color: #00401a !important;
  background: rgba(255, 193, 7, 0.9) !important;
  border: 1px solid rgba(255, 193, 7, 0.3) !important;
}

.item .status.coming-soon {
  color: #fff !important;
  background: rgba(63, 81, 181, 0.90) !important; /* indigo */
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  /* z-index: 9999 !important; /* precede all other badges/overlays */
}

/* Hide status from item-content area */
.item-content .status {
  display: none !important;
}
/* Enhanced Checkout Modal Responsive Styles */
@media (max-width: 768px) {
  #enhanced-checkout-modal > div {
    margin: 1rem;
    padding: 1.5rem;
    width: auto;
  }
  
  #enhanced-checkout-modal input,
  #enhanced-checkout-modal select,
  #enhanced-checkout-modal textarea {
    font-size: 16px !important; /* Prevents zoom on iOS */
  }
  
  #enhanced-checkout-modal .grid-2-cols {
    grid-template-columns: 1fr !important;
  }
  
  #enhanced-checkout-modal .action-buttons {
    grid-template-columns: 1fr !important;
  }
}

/* Form styling */
#enhanced-checkout-modal input:focus,
#enhanced-checkout-modal select:focus,
#enhanced-checkout-modal textarea:focus {
  border-color: #006600 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

#enhanced-checkout-modal input[required]:invalid {
  border-color: #dc3545;
}

#enhanced-checkout-modal input[required]:valid {
  border-color: #28a745;
}
/* --- CORRECTED Mobile Responsive Checkout Modal --- */
@media (max-width: 768px) {
  /* Fix modal container */
  #enhanced-checkout-modal {
    padding: 0.5rem !important;
  }
  
  /* Fix modal content box */
  #enhanced-checkout-modal > div {
    margin: 0.5rem !important;
    padding: 1rem !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Fix form sections */
  #enhanced-checkout-modal div[style*="background: #f8f9fa"] {
    padding: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  /* Fix two-column grids to single column */
  #enhanced-checkout-modal div[style*="grid-template-columns: 1fr 1fr"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  /* Fix action buttons container */
  #enhanced-checkout-modal div[style*="grid-template-columns: 1fr 2fr"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  /* Fix all form inputs */
  #enhanced-checkout-modal input,
  #enhanced-checkout-modal select,
  #enhanced-checkout-modal textarea {
    font-size: 16px !important;
    padding: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Fix all buttons */
  #enhanced-checkout-modal button {
    width: 100% !important;
    padding: 1rem !important;
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* Fix headers */
  #enhanced-checkout-modal h2 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  #enhanced-checkout-modal h3 {
    font-size: 1.2rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  /* Fix spacing */
  #enhanced-checkout-modal div[style*="gap: 1.5rem"] {
    gap: 1rem !important;
  }
  
  /* Fix checkout form specifically */
  #checkout-form {
    display: grid !important;
    gap: 1rem !important;
  }
}

/* Additional fix for very small screens */
@media (max-width: 480px) {
  #enhanced-checkout-modal > div {
    margin: 0.25rem !important;
    padding: 0.75rem !important;
  }


  #enhanced-checkout-modal div[style*="background: #f8f9fa"] {
    padding: 0.75rem !important;
  }
  
  #enhanced-checkout-modal h2 {
    font-size: 1.3rem !important;
  }
  
  #enhanced-checkout-modal button {
    padding: 0.875rem !important;
  }
}
/* Mobile Menu - Enhanced Version */
@media (max-width: 768px) {
    /* Remove any conflicting body margins */
    body {
        margin: 0;
        padding: 0;
    }
    
    /* Fixed Toggle Button */
    .mobile-menu-toggle {
  display: flex;  /* REMOVED !important */
  position: fixed;  /* REMOVED !important */
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: linear-gradient(135deg, #006600 0%, #00401A 100%);
  border: none;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.4);
  transition: all 0.3s ease;
  width: 56px;
  height: 56px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

/* Hide burger when modal is active */
body.checkout-modal-open .mobile-menu-toggle {
  display: none !important;
}

    
    .mobile-menu-toggle:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(211, 47, 47, 0.6);
    }
    
    /* Hamburger Animation */
    .hamburger-line {
        width: 26px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
        display: block;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Full Screen Overlay - No White Space */
    .mobile-menu-overlay {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 9997;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(3px);
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Sidebar Menu - Fixed Height */
    .mobile-menu-sidebar {
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 90%;
        max-width: 360px;
        height: 100vh;
        background: #ffffff;
        z-index: 9998;
        display: flex;
        flex-direction: column;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }
    
    .mobile-menu-sidebar.active {
        right: 0;
    }
    
    /* Header Section */
    .mobile-menu-header {
        background: linear-gradient(135deg, #006600 0%, #00401A 100%);
        color: white;
        padding: 12px 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 50px;
        flex-shrink: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu-header h2 {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 700;
    }
    
    .mobile-menu-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }
    
    /* Content Area - Scrollable */
    .mobile-menu-content {
        flex: 1;
        overflow-y: auto;
        padding: 0;
        background: #ffffff;
    }
    
    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu-item {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu-item:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-link {
        display: flex;
        align-items: center;
        padding: 10px 14px;
        text-decoration: none;
        color: #333;
        transition: all 0.3s ease;
        min-height: 45px;
        border-left: 4px solid transparent;
    }
    
    .mobile-menu-link:hover,
    .mobile-menu-link:active {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-left-color: #006600;
        color: #006600;
    }
    
    .menu-icon {
        font-size: 1.6rem;
        margin-right: 15px;
        min-width: 30px;
        text-align: center;
    }
    
    .menu-text {
        font-size: 1rem;
        font-weight: 500;
        flex: 1;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
    }
}

/* Hide on desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle,
    .mobile-menu-overlay,
    .mobile-menu-sidebar {
        display: none !important;
    }
}

/* News Ticker Container - JavaScript-Driven Seamless Loop */
.news-ticker-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 25px;
  background: linear-gradient(90deg, #8B0000 0%, #A52A2A 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 999;
  font-family: 'Arial', 'Segoe UI', sans-serif;
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.4);
  padding: 0 18px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
}

.ticker-wrapper {
  flex: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
  margin: 0 8px;
  perspective: 1000px;
}

.ticker-content {
  display: flex;
  height: 100%;
  will-change: transform;
  transform: translateZ(0) translateX(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  gap: 15px;
  font-variant-numeric: tabular-nums;
}

.ticker-item {
  display: flex;
  align-items: center;
  padding: 0 15px;
  white-space: nowrap;
  font-size: 19px;
  font-weight: 750;
  color: #ffffff;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}



.ticker-close-btn {
  flex-shrink: 0;
  padding: 0 10px;
  cursor: pointer;
  font-size: 18px;
  color: #ffffff;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  height: 100%;
}

.ticker-close-btn:hover {
  opacity: 1;
}

body {
  padding-top: 25px;
}

@media (max-width: 768px) {
  .news-ticker-container {
    height: 25px;
  }
  
  .ticker-label {
    font-size: 16px;
    padding: 0 12px;
  }
  
  .ticker-item {
    font-size: 18px;
    padding: 0 16px;
  }
  
  .ticker-wrapper {
    margin: 0 8px;
  }
  
  body {
    padding-top: 20px;
  }
}

@media (max-width: 480px) {
  .news-ticker-container {
    height: 20px;
  }
  
  .ticker-label {
    font-size: 17px;
    padding: 0 8px;
  }
  
  .ticker-item {
    font-size: 17px;
    padding: 0 14px;
    gap: 30px;
  }
  
  .ticker-close-btn {
    padding: 0 10px;
    font-size: 14px;
  }
  
  body {
    padding-top: 20px;
  }
}

#pwa-install-btn:hover {
  background: rgba(0, 102, 0, 0.25);
  border-color: rgba(0, 102, 0, 0.5);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 102, 0, 0.2);
}

#pwa-install-btn:active {
  transform: scale(0.95);
}

/* ===== CLOSED MODE: BODY STATE ===== */

/* When closed, do NOT freeze scroll; only visual change */
body.closed-mode {
  overflow-y: auto;
}

/* Blur the main content only, not the banner */
body.closed-mode #siteShell {
  filter: blur(2px);  /*4px*/
  transform: translateZ(0);
  transition: filter 0.25s ease;
}

/* Optional subtle dim behind banner (non-blocking) */
body.closed-mode #siteShell::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

/* = INLINE CLOSED BANNER - MATCHING closed.txt CARD = */

/* Full-screen overlay for card + keep scrollable background */
.closed-banner {
  position: fixed;
  /* OLD: inset: 0; */
  top: 25px;  /* adjust this value to move it up/down */
  left: 0;
  right: 0;
  bottom: auto;   /* no need to cover full height */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 10px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none; /* let page scroll underneath */
}

/* Show only when closed */
body.closed-mode .closed-banner {
  opacity: 1;
  transform: translateY(0);
}

/* Inner wrapper = original closed page layout, but as a card */
.closed-page-wrapper {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto; /* banner content is clickable */
}

/* Logo area from closed.txt */
.closed-logo-link {
  margin-bottom: 20px;
  display: block;
}

/* Reuse site-logo responsive rules for closed banner */
.closed-page-wrapper .site-logo {
  display: block;
  margin: 0 auto 10px;
  max-width: 80%;
  height: auto;
}

@media only screen and (min-width: 1024px) {
  .closed-page-wrapper .site-logo {
    max-width: 500px;
    height: auto;
  }
}

@media only screen and (max-width: 480px) {
  .closed-page-wrapper .site-logo {
    max-width: 100%;
  }
}

/* Desktop/mobile normal logos remain unaffected (remove the old .site-logo rule above) */

/* Main card from closed.txt */
.closed-container {
  width: 100%;
  text-align: center;
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Icon from closed.txt (.closed-icon) */
.closed-icon {
  font-size: 4.5rem;
  margin-bottom: 8px;
}

/* Heading style from closed.txt */
.closed-container h1 {
  color: #006600;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

/* Message style from closed.txt (.closed-message) */
.closed-message {
  color: #000000;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

/* Next-opening block from closed.txt (.next-opening, .next-opening-label, .next-opening-time) */
.next-opening {
  background: #f0f0f0;
  padding: 20px;
  border-radius: 10px;
  margin: 10px 0;
}

.next-opening-label {
  color: #000000;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.next-opening-time {
  color: #006600;
  font-size: 1.5rem;
  font-weight: 750;
}

/* Reason style from closed.txt (.reason) */
.reason {
  color: #d32f2f;
  font-size: 1.45rem;
  margin-top: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Buttons from closed.txt (.action-buttons, .btn, .btn-primary, .btn-secondary) */
.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn {
  flex: 1;
  padding: 12px 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

/* Primary button (red) from closed.txt */
.btn-primary {
  background: #c02026;
  color: #ffffff;
}

.btn-primary:hover {
  background: #00401A;
}

/* Secondary button from closed.txt */
.btn-secondary {
  background: #f0f0f0;
  color: #006600;
  border: 2px solid #006600;
}

.btn-secondary:hover {
  background: #006600;
  color: #ffffff;
}

/* Mobile tweaks: tighter, more readable on small screens */
@media (max-width: 600px) {
  .closed-banner {
    padding: 16px 10px 24px;
    align-items: flex-start;        /* keep it near top, not dead center */
  }

  .closed-page-wrapper {
    max-width: 100%;
  }

  .closed-container {
    padding: 24px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  }

  .closed-container h1 {
    font-size: 1.4rem;             /* down from 2rem */
    line-height: 1.25;
	font-weight: 750;
    margin-bottom: 8px;
  }

  .closed-message {
    font-size: 1rem;               /* down from 1.35rem */
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .next-opening {
    padding: 14px 12px;
    margin: 14px 0;
  }

  .next-opening-label {
    font-size: 0.9rem;             /* smaller label */
    margin-bottom: 6px;
  }

  .next-opening-time {
    font-size: 1.25rem;            /* down from 1.5rem */
    line-height: 1.2;
  }

  .reason {
    font-size: 1.2rem;
    line-height: 1.25;
    margin-top: 15px;
	text-transform: uppercase;
  }

  .action-buttons {
    flex-direction: column;        /* stack buttons */
    gap: 10px;
    margin-top: 18px;
  }

  .btn {
    font-size: 0.95rem;
    padding: 10px 12px;
    width: 100%;                   /* full-width tap targets */
  }
}


/* HARD HIDE CART WHEN CLOSED */
body.closed-mode .cart-sidebar {
  display: none !important;   /* no width, no off-screen overflow */
}

/* Keep these as before */
body.closed-mode .cart-toggle,
body.closed-mode .cart-overlay {
  display: none !important;
}

body.closed-mode .cart-count-badge,
body.closed-mode .cart-icon {
  opacity: 0.3;
  pointer-events: none;
}

body.closed-mode {
  overflow-y: auto;
  overflow-x: hidden;   /* kill horizontal scrollbar entirely */
}

/* ===== BADGE SYSTEM ===== */

/* ===== RARITY BADGE ===== */
.item[data-rare="true"]::before {
  content: "👑 RARE";   /* Luxury */
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
  text-transform: uppercase;
  z-index: 10;
  backdrop-filter: blur(8px);
  animation: rarePulse 1.5s ease-in-out infinite;
}

@keyframes rarePulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5);
    transform: scale(1.02);
  }
}

.item[data-rare="true"] {
  position: relative;
  border: 1px solid rgba(255, 107, 53, 0.2);
  transition: all 0.3s ease;
}

.item[data-rare="true"]:hover {
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
}

/* ===== POPULAR BADGE ===== */

.item[data-popular="true"]::after {
  content: "🚀 POPULAR";  /* Rising fast */
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.35);
  text-transform: uppercase;
  z-index: 10;
  backdrop-filter: blur(8px);
  animation: popularpulse 0.5s ease-in-out infinite;
}

@keyframes popularpulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.35);
    transform: scale(1) translateY(0);
  }
  50% {
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.5);
    transform: scale(1.02) translateY(-1px);
  }
}

.item[data-popular="true"] {
  position: relative;
  border: 1px solid rgba(46, 204, 113, 0.2);
  transition: all 0.3s ease;
}

.item[data-popular="true"]:hover {
  border-color: rgba(46, 204, 113, 0.4);
  box-shadow: 0 8px 24px rgba(46, 204, 113, 0.15);
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  .item[data-rare="true"]::before {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 0.75rem;
  }
  
  .item[data-popular="true"]::after {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 0.75rem;
  }
}

/* ==================================*/
/* DEFINITIVE SITE HEADERS */
/* ==================================*/

.site-header {
  box-sizing: border-box;
  text-align: center;
}

/* BASE / DESKTOP (≥ 1024px typical laptops & up) */
.site-header > h1 {
  font-size: clamp(1.8rem, 15vw, 3.4rem);
  font-weight: 650;
  margin: 0;
  padding: 0;
  line-height: 1.05;
}

.site-header > h3 {
  font-size: clamp(1rem, 8vw, 2.4rem);
  letter-spacing: 0.5px;
  font-weight: 500;
  margin: 0;
  padding: 0;
  line-height: 1.05;
}

/* TABLETS / iPad, iPad mini, big Android (≈ 769px–1024px) */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .site-header > h1 {
    font-size: clamp(2rem, 6vw, 3.0rem);
  }
  .site-header > h3 {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }
}

/* MOBILE h1 & h3 – 100% viewport (≤ 768px) */
@media only screen and (max-width: 768px) {
  .site-header > h1 {
    max-width: 100%;
    font-size: clamp(1.6rem, 10vw, 3rem);
    margin: 0;
    padding: 0;
    line-height: 1.05;
  }

  .site-header > h3 {
    max-width: 100%;
    font-size: clamp(1rem, 7vw, 1.65rem);
    margin: 0;
    padding: 0;
    line-height: 1.05;
  }
}

/* SMALL ANDROID / VERY NARROW (≤ 360px) */
@media only screen and (max-width: 360px) {
  .site-header > h1 {
    font-size: clamp(1.5rem, 9vw, 2.4rem);
  }
  .site-header > h3 {
    font-size: clamp(0.95rem, 6.5vw, 1.8rem);
  }
}

@media (max-width: 768px) {
  .cart-toggle.hide-in-footer {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  body.scrolled-past-footer .cart-toggle {
    display: none !important;
  }
}

