:root{
  --black:#111;
  --gray:rgba(0,0,0,.12);
  --gray2:rgba(0,0,0,.08);
  --gold:#f2c300;
  --tan:#f3e3c6;
  --radius:14px;
}

/* Sticky can break if a parent has overflow set */
html, body { overflow-x: visible; }


.quote-header strong{
  font-size:16px;
}
@media (max-width:480px){
  .quote-header strong{ font-size:14px; }
}

.pill.addons-link{
  border-style:dashed;
}


*{ box-sizing:border-box; }

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--black);
  background:#fff;
}

a{ color:inherit; }
img{ max-width:100%; display:block; }



/* ===== Clean sticky header layout ===== */
.quote-header{
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--gray);
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.qh-left{ display:flex; flex-direction:column; gap:8px; min-width: 240px; }
.qh-title strong{ font-size:16px; line-height:1.2; display:block; }

.qh-pills{ display:flex; gap:10px; flex-wrap:wrap; }

.qh-right{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex:1;
  min-width: 240px;
}

#search{
  width: min(320px, 52vw);
}

/* ===== Tabs sticky BELOW header ===== */
.menu-tabs{
  position: sticky;
  z-index: 25;
  background: var(--tan);
  border: 1px dotted rgba(0,0,0,.45);
  overflow: hidden;
  margin: 0 0 16px;
  top: 74px; /* desktop */
}

/* ===== Mobile: make header 2 rows and fix tabs top ===== */
@media (max-width: 768px){
  .quote-header{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .qh-left{ min-width: 0; }
  .qh-title strong{ font-size:14px; }

  .qh-right{
    min-width: 0;
    width: 100%;
  }

  #search{
    flex: 1;
    width: auto;
    min-width: 0;
  }

  #openCart{
    white-space: nowrap;
  }

  /* header is taller on mobile now */
  .menu-tabs{
    top: 136px;
  }
}

/* Extra small screens */
@media (max-width: 420px){
  .menu-tabs{ top: 150px; }
  .pill{ padding:7px 10px; font-size:13px; }
}









/* Top header area */
.top-welcome{
  text-align:center;
  font-size:13px;
  padding:6px 12px;
  border-bottom:1px solid var(--gray2);
  background:#fff;
}

.site-header{
  background:#fff;
  border-bottom:1px solid var(--gray2);
}

.site-header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.logo img{ height:48px; width:auto; }

.main-nav{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.main-nav a{
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  padding:6px 2px;
  border-bottom:2px solid transparent;
}
.main-nav a:hover{ border-bottom-color:var(--gold); }

.allergen-bar{
  background:var(--gold);
  color:var(--black);
  font-size:12px;
  text-align:center;
  padding:8px 12px;
  font-weight:800;
}

/* Sticky quote controls */
.quote-header{
  position:sticky;
  top:0;
  z-index:20;
  background:#fff;
  border-bottom:1px solid var(--gray);
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.wrap{
  max-width:1000px;
  margin:0 auto;
  padding:16px;
}

.page-title{
  margin: 10px 0 12px;
  font-size: 22px;
}

.row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.pill{
  border:1px solid var(--gray);
  padding:8px 12px;
  border-radius:999px;
  background:#fff;
  cursor:pointer;
  font-size:14px;
  font-weight:700;
}
.pill[aria-pressed="true"]{
  background:var(--black);
  color:#fff;
  border-color:var(--black);
}

input[type="search"], input, textarea{
  border:1px solid var(--gray);
  border-radius:12px;
  padding:10px 12px;
  font-size:14px;
  outline:none;
  background:#fff;
}
input:focus, textarea:focus{ border-color:rgba(0,0,0,.35); }
textarea{ resize:vertical; }

/* Buttons */
.btn{
  border:1px solid var(--gray);
  background:#fff;
  color:var(--black);
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:900;
}
.btn.primary{
  background:var(--black);
  color:#fff;
  border-color:var(--black);
}
.btn.ghost{ background:#fff; }

.btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}

/* ===== Tabs like screenshot + sticky + mobile scroll ===== */
.menu-tabs{
  position: sticky;
  z-index: 25;
  background: var(--tan);
  border: 1px dotted rgba(0,0,0,.45);
  overflow: hidden;
  margin: 0 0 16px;
  top: 74px; /* desktop default: just below quote-header */
}

@media (max-width: 768px){
  .menu-tabs{
    top: 124px; /* mobile: below the taller quote-header */
  }
}


.menu-tabs-scroll{
  display:flex;
  flex:1;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}

.menu-tab{
  padding:10px 16px;
  font-size:13px;
  font-weight:700;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  user-select:none;
  cursor:pointer;
  background:var(--tan);
  border-left:1px dotted rgba(0,0,0,.45);
}

.menu-tab:first-child{
  border-left:none;
}

.menu-tab.active{
  background:var(--gold);
  font-weight:900;
}

@media (max-width:768px){
  .menu-tab{ padding:10px 12px; font-size:12px; }
}

/* Sections */
h2{
  margin:18px 0 10px;
  font-size:20px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
@media (max-width:800px){
  .grid{ grid-template-columns:1fr; }
  .main-nav{ gap:14px; }
}

.card{
  border:1px solid var(--gray);
  border-radius:var(--radius);
  padding:12px;
  background:#fff;
}

.card h3{
  margin:0 0 6px;
  font-size:16px;
  line-height:1.2;
}

.muted{ opacity:.78; font-size:13px; }

.between{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}

.price{ font-weight:900; white-space:nowrap; }

/* qty controls */
.qty{ display:flex; align-items:center; gap:8px; }
.qty button{
  width:36px; height:36px;
  border-radius:10px;
  padding:0;
  font-size:18px;
}
.qty input{
  width:64px; height:36px;
  text-align:center;
  padding:6px 8px;
  border-radius:10px;
}

/* Drawer */
.drawer{
  position:fixed;
  top:0; right:0;
  height:100vh;
  width:min(560px, 94vw);
  background:#fff;
  border-left:1px solid var(--gray);
  transform:translateX(110%);
  transition:transform .25s ease;
  display:flex;
  flex-direction:column;
  z-index:30;
}
.drawer.open{ transform:translateX(0); }

.drawer-top{
  padding:12px 14px;
  border-bottom:1px solid var(--gray);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:#fff;
}

.drawer .content{
  padding:14px;
  overflow:auto;
  flex:1;
}

.line{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin:10px 0;
}

.hr{ height:1px; background:var(--gray); margin:12px 0; }
.small{ font-size:12px; opacity:.75; }

.totals-box{
  border:1px solid var(--gray);
  border-radius:var(--radius);
  padding:12px;
  background:#fff;
}
.totals-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin:8px 0;
}
.totals-row strong{ font-weight:900; }

/* Modal */
.modal-backdrop{
  position:fixed; inset:0;
  background:rgba(0,0,0,.45);
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  z-index:40;
}
.modal-backdrop.open{ display:flex; }

.modal{
  width:min(900px, 96vw);
  max-height:min(85vh, 820px);
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  display:flex;
  flex-direction:column;
}
.modal-head{
  padding:12px 14px;
  border-bottom:1px solid var(--gray);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.modal-body{
  padding:14px;
  overflow:auto;
  white-space:pre-wrap;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  font-size:13px;
  line-height:1.35;
}
/* ===== Menu intro message block ===== */
.menu-intro{
  border:1px solid var(--gray);
  border-radius:var(--radius);
  padding:12px 14px;
  margin: 10px 0 14px;
  background:#fff;
}

.menu-intro-line{
  font-size:14px;
  margin: 2px 0;
}

.menu-intro-help{
  margin-top:10px;
  font-size:13px;
  opacity:.9;
}

.menu-intro-help ul{
  margin:8px 0 0 18px;
  padding:0;
}

.menu-intro-help li{
  margin:4px 0;
}


/* ===== Mobile Hamburger Nav ===== */
.nav-toggle{
  display:none;
  border:1px solid var(--gray);
  background:#fff;
  border-radius:12px;
  width:44px;
  height:44px;
  padding:10px;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap:5px;
}

.nav-toggle .bar{
  display:block;
  width:22px;
  height:2px;
  background:#111;
  border-radius:2px;
}

/* Mobile panel */
.mobile-nav{
  display:none;
  border-top:1px solid var(--gray2);
  background:#fff;
  padding:10px 16px;
}

.mobile-nav .mobile-link{
  display:block;
  padding:12px 6px;
  text-decoration:none;
  font-weight:700;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.mobile-nav .mobile-link:last-child{
  border-bottom:none;
}

/* Show hamburger + hide desktop nav on mobile */
@media (max-width: 768px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }

  .site-header-inner{
    align-items:center;
  }

  .logo img{
    height:42px;
  }

  .mobile-nav.open{
    display:block;
  }
}


.site-header{
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.site-header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:16px;
  display:grid;
  grid-template-columns: 160px 1fr 160px auto; /* logo | nav | spacer | hamburger */
  align-items:center;
  gap:16px;
}

.logo img{
  height:46px;
  width:auto;
  display:block;
}

.main-nav{
  display:flex;
  justify-content:center;
  gap:28px;
  flex-wrap:wrap;
}

.main-nav a{
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  padding:6px 2px;
  border-bottom:2px solid transparent;
}

.main-nav a:hover{
  border-bottom-color:#f2c300;
}

/* Empty spacer to mimic right-side icons space */
.nav-spacer{ height:1px; }

/* Hamburger hidden on desktop */
.nav-toggle{ display:none; }

/* Mobile behavior */
@media (max-width:768px){
  .site-header-inner{
    grid-template-columns: 1fr auto; /* logo | hamburger */
  }

  .main-nav{ display:none; }
  .nav-spacer{ display:none; }

  .nav-toggle{ display:flex; }
}
