/* ---- Cart FAB + Drawer (aligned + proper hide offset) ---- */
:root{
    --brand: #e53935;
  --fab-size: 56px;    /* approx FAB height incl. padding */
  --fab-gap: 20px;     /* distance from viewport bottom */
  --drawer-gap: calc(var(--fab-size) + var(--fab-gap) + 8px); /* drawer sits above FAB */
}


body {
    background: #f8f9fb;
}
.navbar-brand {
    font-weight: 800;
}
.navbar-brand .site-logo{
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.hero {
    background: linear-gradient(180deg, #fff, #fff7f5 60%, rgba(255, 255, 255, 0));
}
.card {
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
    overflow: hidden;
}
.price {
    color: var(--brand);
    font-weight: 700;
}
.btn-brand {
    background: var(--brand);
    color: #fff;
    border-radius: 10px;
}
.btn-outline-brand {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}
.badge-filter {
    border: 1px solid var(--brand);
    color: var(--brand);
    cursor: pointer;
}
.badge-filter.active,
.badge-filter:hover {
    background: var(--brand);
    color: #fff;
}
.toast-fixed {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1080;
}

/* Floating cart button (bottom-right) */
.cart-fab{
  position: fixed;
  bottom: var(--fab-gap);
  right: 20px;
  background: var(--brand, #e53935);
  color: #fff;
  border-radius: 50px;
  padding: 0.7rem 1rem;
  display: none;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(229,57,53,.45);
  cursor: pointer;
  z-index: 1050;
}

/* Cart drawer sliding up from bottom */
.cart-drawer{
  position: fixed;
  right: 20px;
  bottom: var(--drawer-gap);       /* always sit above FAB when open */
  width: 300px;
  max-height: 70vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1040;

  /* hidden state: slide fully below viewport + gap */
  transform: translateY(calc(100% + var(--drawer-gap)));
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  pointer-events: none;            /* don’t trap clicks while hidden */
}
.cart-drawer.open{
  transform: translateY(0);
  pointer-events: auto;
}

.cart-drawer header{ padding:.8rem 1rem; border-bottom:1px solid #e5e7eb; font-weight:700; }
.cart-drawer .items{ overflow:auto; }
.cart-drawer .item{ display:flex; justify-content:space-between; align-items:center; padding:.6rem 1rem; border-bottom:1px solid #e5e7eb; }
.cart-drawer .qty button{ border:none; background:#f3f4f6; padding:.25rem .5rem; border-radius:8px; }

/* Optional: tighter layout on small screens */
@media (max-width: 576px){
  .cart-drawer{ right: 12px; width: calc(100vw - 24px); }
}
.cart-drawer .items {
    overflow: auto;
}
.cart-drawer .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}
.cart-drawer .qty button {
    border: none;
    background: #f3f4f6;
    padding: .25rem .5rem;
    border-radius: 8px;
}

footer {
    background: #111;
    color: #bbb;
}
footer a {
    color: #bbb;
}

/* ===== Top banner image ===== */
.top-hero{
  position: relative;
  min-height: 360px;               /* height of the banner */
  background: #d9d9d9 center/cover no-repeat; /* gray fallback + cover */
  display: flex;
  align-items: center;
  padding: 60px 0;
}
.top-hero-overlay{
  position: absolute;
  inset: 0;
  /* darker overlay so white text/buttons are readable */
  background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.25));
}
.top-hero .container{
  position: relative;
  z-index: 2;
}
.top-hero h1{
  color: #fff;
  text-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.top-hero p{
  color: rgba(255,255,255,.85);
}

/* ===== Hero (second section) with background image variable ===== */
.hero.hero-bg{
  position: relative;
  background: var(--hero-image) center/cover no-repeat;
  padding: 72px 0;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.25));
}
.hero.hero-bg .container{
  position: relative;
  z-index: 2;
}
.hero-brand{ color: var(--brand, #e53935); }

/* Make outline light buttons legible on dark overlays */
.btn-outline-light{
  color: #fff;
  border-color: rgba(255,255,255,.85);
}
.btn-outline-light:hover{
  color: #111;
  background: #fff;
  border-color: #fff;
}
/* Ensure subtitle text is more readable */
.top-hero p.lead {
  color: rgba(255, 255, 255, 0.85) !important; /* brighter than text-white-50 */
  text-shadow: 0 1px 3px rgba(0,0,0,0.6); /* subtle shadow for contrast */
}

/* Make "Make Reservation" button readable */
.top-hero .btn-outline-light {
  color: #fff !important;
  border-color: #fff !important;
  background-color: rgba(0,0,0,0.3); /* semi-transparent dark background */
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.top-hero .btn-outline-light:hover {
  background-color: rgba(0,0,0,0.6);
  border-color: #fff !important;
}
/* Keep View Our Menu bright on hover */
.top-hero .btn-brand {
  background-color: #ff5722; /* or your brand color */
  color: #fff;
  border: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.top-hero .btn-brand:hover {
  background-color: #e64a19; /* slightly darker but still bright */
  color: #fff;
}

/* ----- Product card polish ----- */
.product-card {
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* Keep the media area consistent */
.item-image {
  background: #f5f6f8;
  border-bottom: 1px solid #eee;
  overflow: hidden;
}

/* When no image: show a soft panel with the product name */
.no-photo {
  width: 100%;
  height: 100%;
  /* subtle texture using stripes + tint */
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(0,0,0,0.04) 0px,
      rgba(0,0,0,0.04) 6px,
      rgba(0,0,0,0.00) 6px,
      rgba(0,0,0,0.00) 12px
    ),
    linear-gradient(180deg, #fafafa, #f2f2f4);
  border-bottom: 1px solid #eee;
}

.no-photo-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;   /* clamp long names to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  font-weight: 700;
  font-size: 1.05rem;
  color: #555;             /* subtle but readable */
  letter-spacing: .2px;
}

/* Optional: make card titles consistent height when images exist */
.card-title {
  min-height: 1.4em; /* one-line fallback; increase if you want 2-line lock */
}

.no-photo-title {
  -webkit-line-clamp: 2;    /* exactly two lines */
  line-height: 1.2;
  min-height: calc(1.2em * 2); /* reserve two lines of space */
}


/* Tidy mixed-height product grid (with and without images) */
.product-grid .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-grid .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* If there is an image, keep a neat separation line */
.product-grid .ratio {
  border-bottom: 1px solid #eee;
}

/* Stack content and push the button to the bottom */
.product-grid .card-body {
  display: flex;
  flex-direction: column;
}

/* Title: clamp to 2 lines to avoid tall cards */
.product-grid .card-title {
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .25rem;
}

/* Price tight to title */
.product-grid .price {
  margin-bottom: .4rem;
}

/* Description: clamp to 3 lines for harmony */
.product-grid .card-text {
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .6rem;
}

/* Button sits at the bottom regardless of image presence */
.product-grid .add-to-cart {
  margin-top: auto;
}

/* Optional polish */
.product-grid .card-img-top {
  object-fit: cover;
}


/* Logo sizing (you already have similar) */
.site-logo{ height:40px; width:auto; object-fit:contain; }

/* Icon-only nav styling */
.icon-nav .icon-buttons .icon-btn {
  color:#111; text-decoration:none;
  display:flex; align-items:center; gap:.35rem; position:relative;
}
.icon-nav .icon-buttons .icon-btn .bi {
  font-size:1.25rem; line-height:1; display:inline-block;
}
.icon-nav .icon-buttons .icon-label {
  font-size:.9rem; color:#444;
}
.icon-nav .icon-buttons .icon-btn:hover { color:#000; }
.icon-nav .cart-badge{
  position:absolute; top:-6px; right:-10px;
  background:var(--brand,#e53935); color:#fff;
  font-size:.7rem; line-height:1; padding:.15rem .35rem; border-radius:999px;
}

/* Optional: reduce border to a softer line */
.icon-nav { border-bottom:1px solid #eee !important; }

.offer-badge{
  position:absolute; left:50%; transform:translateX(-50%);
  top:16px; background:rgba(0,0,0,.75); color:#fff;
  padding:.35rem .7rem; border-radius:999px; font-weight:700;
  box-shadow:0 6px 16px rgba(0,0,0,.25); backdrop-filter: blur(2px);
}
/* ===== Highlight pending orders ===== */
.order-card.pending,
.kitchen-order.pending {
  background-color: #f9f2f2; /* light reddish tint */
  border-left: 4px solid var(--brand, #e53935);
}

/* Slight animation to make them stand out */
.order-card.pending {
  animation: pendingPulse 3s infinite ease-in-out;
}

@keyframes pendingPulse {
  0%, 100% { background-color: #f9f2f2; }
  50% { background-color: #fceaea; }
}

