/*!
 * Madam 3 Kitchen - Premium Nigerian Food Brand Stylesheet
 * Location: Asoro Bus Stop, Ekhuan Road, Benin City, Edo State
 */

/* =========================================
   1. GLOBAL & RESET ENHANCEMENTS
   ========================================= */
body {
  padding-bottom: 70px; /* Space for mobile bottom bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #FDFBF7;
}
::-webkit-scrollbar-thumb {
  background: #E0C9B6;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF6B00;
}

/* =========================================
   2. NAVBAR & HEADER
   ========================================= */
.top-notice-bar {
  background: var(--secondary);
  color: #FFF8F0;
  padding: 0.4rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}

.top-notice-bar a {
  color: var(--accent);
}

.top-notice-bar a:hover {
  text-decoration: underline;
}

.site-navbar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(46, 26, 17, 0.05);
}

.site-navbar .navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-logo img, .brand-logo svg {
  height: 48px;
  width: auto;
}

@media (max-width: 576px) {
  .brand-logo img, .brand-logo svg {
    height: 40px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-warm);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  color: var(--secondary);
  transition: var(--transition);
  cursor: pointer;
}

.nav-cart-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.cart-counter {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255, 107, 0, 0.4);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
}

@media (max-width: 991px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile Offcanvas Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.mobile-drawer.open {
  transform: translateX(300px);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1999;
  display: none;
}

.drawer-backdrop.active {
  display: block;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-section {
  background: linear-gradient(135deg, #FFF8F0 0%, #FDF3E7 60%, #FFEAD2 100%);
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border-color);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid #FFE0B2;
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.hero-badge svg {
  color: #FFB300;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #5D4037;
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-location-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid #EADBC8;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
  max-width: 480px;
}

.hero-location-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #FFF3E0;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-main {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(46, 26, 17, 0.22);
  border: 5px solid #FFFFFF;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.4s ease;
}

.hero-img-main:hover {
  transform: scale(1.02);
}

.hero-floating-card {
  position: absolute;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: float 4s ease-in-out infinite alternate;
}

.hero-floating-card.top-right {
  top: 15px;
  right: -10px;
}

.hero-floating-card.bottom-left {
  bottom: 20px;
  left: -10px;
  animation-delay: -2s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

@media (max-width: 991px) {
  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }
  .hero-image-wrapper {
    margin-top: 2.5rem;
  }
  .hero-floating-card {
    display: none;
  }
}

/* =========================================
   4. FOOD CATEGORIES PILLS & CAROUSEL
   ========================================= */
.categories-wrapper {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.category-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.category-pill.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35);
}

.category-pill .pill-icon {
  font-size: 1.1rem;
}

/* =========================================
   5. FOOD CARDS
   ========================================= */
.food-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.food-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #FFB300;
}

.food-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #F5EFEB;
}

.food-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.food-card:hover .food-card-img {
  transform: scale(1.06);
}

.food-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.food-badge-discount {
  background: var(--danger);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(211, 47, 47, 0.4);
}

.food-badge-popular {
  background: var(--accent);
  color: #2E1A11;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.food-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.food-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.food-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.3;
}

.food-card-title a {
  color: inherit;
  text-decoration: none;
}

.food-card-title a:hover {
  color: var(--primary);
}

.food-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #FFF8E1;
  color: #F57F17;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.food-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.food-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #F0E6DC;
}

.food-card-price {
  display: flex;
  flex-direction: column;
}

.price-main {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1;
}

.price-old {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: 2px;
}

.food-card-btn {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  gap: 0.35rem;
}

.food-unavailable-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(1.5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.food-unavailable-badge {
  background: #424242;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

/* =========================================
   6. WHY CHOOSE US & HOW IT WORKS
   ========================================= */
.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #FFF3E0;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15);
}

.step-card {
  position: relative;
  text-align: center;
  padding: 1.5rem 1rem;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.35);
}

/* =========================================
   7. REVIEWS & TESTIMONIALS
   ========================================= */
.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #FFB300;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.review-text {
  font-style: italic;
  color: #4E342E;
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFE0B2;
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   8. LOCATION & MAP SECTION
   ========================================= */
.location-box {
  background: var(--secondary);
  color: #FFF8F0;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  overflow: hidden;
  position: relative;
}

.map-container {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   9. FOOTER
   ========================================= */
.site-footer {
  background: #1D110B;
  color: #D7CCC8;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  border-top: 4px solid var(--primary);
}

.site-footer h5 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #BCAAA4;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: #8D6E63;
}

/* =========================================
   10. FLOATING WHATSAPP & MOBILE BOTTOM NAV
   ========================================= */
.floating-whatsapp {
  position: fixed;
  bottom: 85px;
  right: 20px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #FFFFFF;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  animation: pulse-green 2.5s infinite;
}

@media (min-width: 992px) {
  .floating-whatsapp {
    bottom: 25px;
  }
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.5rem 0.25rem;
  z-index: 1040;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

@media (min-width: 992px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #795548;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 3px;
  position: relative;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  transition: var(--transition);
  min-width: 60px;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
  color: var(--primary);
}

.mobile-nav-item svg {
  width: 20px;
  height: 20px;
}

.mobile-nav-badge {
  position: absolute;
  top: 0;
  right: 10px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* =========================================
   11. ORDER TRACKING TIMELINE
   ========================================= */
.tracking-timeline {
  position: relative;
  padding: 1.5rem 0;
  max-width: 600px;
  margin: 0 auto;
}

.tracking-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 24px;
  width: 4px;
  background: #E0D0C0;
  border-radius: 2px;
}

.tracking-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tracking-step:last-child {
  margin-bottom: 0;
}

.step-indicator {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #E0D0C0;
  color: #9E9E9E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
  z-index: 2;
  transition: var(--transition);
}

.tracking-step.completed .step-indicator {
  background: var(--success);
  border-color: var(--success);
  color: #FFFFFF;
}

.tracking-step.active .step-indicator {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 0 0 6px rgba(255, 107, 0, 0.25);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(255, 107, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.step-content h5 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* =========================================
   12. QUANTITY CONTROLS & EXTRAS SELECTOR
   ========================================= */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  overflow: hidden;
}

.qty-btn {
  background: #FFF8F0;
  border: none;
  width: 38px;
  height: 38px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.qty-input {
  width: 44px;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  outline: none;
  background: transparent;
}

.extra-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.65rem;
  cursor: pointer;
  transition: var(--transition);
  background: #FFFFFF;
}

.extra-option-card:hover {
  border-color: var(--primary);
  background: #FFFDF9;
}

.extra-option-card.selected {
  border-color: var(--primary);
  background: #FFF8F0;
}

.extra-price {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

/* =========================================
   13. TOAST NOTIFICATIONS & MODALS
   ========================================= */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.custom-toast {
  pointer-events: auto;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-left: 5px solid var(--primary);
  padding: 1rem 1.25rem;
  min-width: 280px;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: zoomIn 0.25s ease;
  position: relative;
}

@keyframes zoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 1.5rem;
}

/* =========================================
   14. PRINTABLE THERMAL RECEIPT
   ========================================= */
.receipt-wrapper {
  max-width: 420px;
  margin: 2rem auto;
  background: #FFFFFF;
  padding: 2rem;
  border: 1px dashed #BCAAA4;
  box-shadow: var(--shadow-sm);
  font-family: 'Courier New', Courier, monospace;
}

.receipt-header {
  text-align: center;
  border-bottom: 2px dashed #3E2723;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: bold;
  border-top: 2px dashed #3E2723;
  border-bottom: 2px dashed #3E2723;
  padding: 0.6rem 0;
  margin: 1rem 0;
}

.receipt-footer {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

@media print {
  body * {
    visibility: hidden;
  }
  .receipt-wrapper, .receipt-wrapper * {
    visibility: visible;
  }
  .receipt-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 10px;
    border: none;
    box-shadow: none;
  }
  .no-print {
    display: none !important;
  }
}
