/* LahoriFoods.ca - Production Stylesheet */
:root {
  --color-ivory: #FAF8F3;
  --color-white: #FFFFFF;
  --color-charcoal: #252525;
  --color-saffron: #C84B0C;
  --color-terracotta: #C84B0C;
  --color-border: #EAE4DA;
  --color-heading: #252525;
  --color-paragraph: #77736E;
  --color-primary: #C84B0C;
}

body {
  background-color: var(--color-ivory);
  color: var(--color-charcoal);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #FAF8F3;
}
::-webkit-scrollbar-thumb {
  background: #EAE4DA;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #77736E;
}

/* Fluid Horizontal Category Pill Bar Scrolling */
.no-scrollbar::-webkit-scrollbar,
.scrollbar-none::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.no-scrollbar,
.scrollbar-none {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Chef's Signature Card Ribbon & Golden Border */
.golden-signature-card {
  border: 2px solid #C84B0C !important;
  box-shadow: 0 10px 25px -5px rgba(200, 75, 12, 0.18), 0 8px 10px -6px rgba(200, 75, 12, 0.1);
  position: relative;
}

.signature-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #C84B0C;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(200, 75, 12, 0.35);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Modal and Drawer Animations */
.modal-backdrop {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.25s ease-out;
}

.modal-content {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease-out;
}

.cart-drawer {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Quantity Button hover */
.qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid #EAE4DA;
  background-color: #FFFFFF;
  color: #252525;
  transition: all 0.15s ease;
  user-select: none;
}
.qty-btn:hover {
  background-color: #FAF8F3;
  border-color: #C84B0C;
  color: #C84B0C;
}
.qty-btn:active {
  transform: scale(0.92);
}

/* Active Choices */
.choice-pill {
  transition: all 0.15s ease;
  border: 1.5px solid #EAE4DA;
  background-color: #FFFFFF;
}
.choice-pill:hover {
  border-color: #C84B0C;
}
.choice-pill.active {
  border-color: #C84B0C;
  background-color: #FAF8F3;
  color: #C84B0C;
  font-weight: 600;
  box-shadow: 0 0 0 2px rgba(200, 75, 12, 0.2);
}

/* Primary Orange Buttons */
.btn-terracotta {
  background-color: #C84B0C;
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(200, 75, 12, 0.25);
}
.btn-terracotta:hover {
  background-color: #A83B06;
  box-shadow: 0 6px 16px rgba(200, 75, 12, 0.35);
  transform: translateY(-1px);
}
.btn-terracotta:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(200, 75, 12, 0.2);
}

/* Secondary Buttons */
.btn-saffron {
  background-color: #C84B0C;
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-saffron:hover {
  background-color: #A83B06;
}

/* Card image hover zoom */
.dish-card-img-wrapper {
  overflow: hidden;
  position: relative;
}
.dish-card-img-wrapper img {
  transition: transform 0.4s ease;
}
.dish-card-img-wrapper:hover img {
  transform: scale(1.05);
}

/* Classic Restaurant Menu Styling */
.menu-item-row {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-dotted-leader {
  flex: 1 1 auto;
  border-bottom: 2px dotted #EAE4DA;
  margin: 0 0.5rem;
  align-self: baseline;
  margin-bottom: 0.25rem;
  min-width: 1.25rem;
  transition: border-color 0.2s ease;
}
.menu-item-row:hover .menu-dotted-leader {
  border-bottom-color: #C84B0C;
}

/* Print Receipt Styles */
@media print {
  body * {
    visibility: hidden;
  }
  #orderReceiptModal, #orderReceiptModal * {
    visibility: visible;
  }
  #orderReceiptModal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #FFFFFF !important;
  }
  .no-print {
    display: none !important;
  }
  .receipt-container {
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.5rem !important;
  }
  .receipt-mascot-img {
    height: 80px !important;
    max-height: 80px !important;
    width: auto !important;
    display: block !important;
    margin: 0 auto 12px auto !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
