.cart-page { 
    padding: 120px 20px 40px; 
    max-width: 1000px; 
    margin: 0 auto; 
}

.cart-header { 
    text-align: center; 
    margin-bottom: 24px; 
}

.cart-card { 
    background:#fff; 
    border-radius:18px; 
    box-shadow:0 8px 24px rgba(0,0,0,.08); 
    padding:18px; 
}

.cart-row { 
    display:grid;
    grid-template-columns:64px 1fr auto auto auto; 
    align-items:center; gap:14px; 
    padding:10px 0; 
    border-bottom:1px solid #eee; 
}

.cart-row:last-child { 
    border-bottom:0; 
}

.cart-row img { 
    width:64px; 
    height:64px; 
    object-fit:cover; 
    border-radius:10px; 
}

.cart-name { 
    font-weight:800; 
    color:#222; 
}

.cart-price, .cart-line { 
    font-weight:700; 
    color:#d9480f; 
}

.qty { 
    display:inline-flex; 
    align-items:center; 
    gap:8px; 
}

.qty button { 
    width:28px; height:28px; 
    border-radius:6px; 
    border:0; 
    background:#f2f2f2; 
    cursor:pointer; 
    font-weight:900; 
}

.qty input { 
    width:40px; 
    text-align:center; 
    border:0; 
    background:transparent; 
    font-weight:800; 
}

.cart-summary { 
    margin-top:18px; display:flex; 
    justify-content:flex-end; gap:20px; 
}

.cart-summary .box { 
    background:#fff; 
    border-radius:14px; 
    box-shadow:0 6px 18px rgba(0,0,0,.06); 
    padding:16px 18px; 
    min-width:260px; 
}

.totals { 
    display:grid; 
    grid-template-columns:1fr auto; 
    row-gap:8px; 
}

.totals strong { 
    font-size:1.1rem; 
}

.cart-actions { 
    margin-top:16px; 
    display:flex; 
    gap:10px; 
    justify-content:flex-end; 
}

.btn-pill { 
    border-radius:9999px; 
    padding:12px 20px; 
    border:0;
    cursor:pointer;
    font-weight:800; 
}

.btn-outline { 
    background:transparent; 
    border:2px solid #d9480f; 
    color:#d9480f; 
}

.btn-primary { 
    background:#d9480f; 
    color:#fff; 
}

.empty { 
    text-align:center; 
    padding:40px; opacity:.8; 
}

header .navigation li {
  list-style: none;
  margin-left: 30px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;                 /* full width */
  background-color: #f27121 !important;  /* Sabor orange */
  z-index: 10000;           /* above everything */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;       /* same spacing as other pages */
  gap: 8px;
}

header .logo,
header .navigation li a { 
    color:#fff !important; 
}

/* prevent header wrapping and overgrowth from icons */
header, header .navigation { 
    flex-wrap: nowrap; 
}
.pin-icon { 
    width:25px; 
    height:25px; 
    display:inline-block; 
}

/* make room under the fixed header so the first section is not covered */
.cart-page { 
    padding: 120px 20px 40px; 
    max-width: 1000px; 
    margin: 0 auto; 
}

/* optional: if you use a title banner box like other pages */
.menu-title { 
    margin:0; 
    color:#fff; 
    font-weight:900; 
}

.menu-header-box {
    background:#FFBD2B; 
    color:#fff;
    border-radius:22px; 
    padding:16px 28px;
    width:fit-content; 
    margin: 120px auto 24px; /* sits below header */
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    text-align:center;
}

.navigation a.active {
    color: #FFBD2B; /* or any highlight color */
    font-weight: bold;
}

.logo { 
    display:inline-flex; 
    align-items:center; 
}

/* push the menu list to the far right so logo+location stay grouped */
header .navigation{
    display: flex;
    align-items: center;
    margin-left: auto;    /* this keeps nav on the right */
    gap: 24px;
}

/* prevent the location chunk from wrapping */
.nav-location-btn{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

/* --- CART COUNT: anchor + stacking + visibility --- */
.nav-cart-btn { position: relative; overflow: visible; }
.cart-wrap{
  position: relative;             /* critical anchor for absolute counter */
  display: inline-block;
  width: 50px;                    /* match your PNG */
  height: 40px;
  margin-right: 4px;
  overflow: visible;              /* never clip the number */
}
.cart-icon{
  width: 100%;
  height: 100%;
  display: block;
}

.cart-count{
  position: absolute;
  left: 60%;
  top: -15px;                     /* above the cart bowl */
  transform: translateX(-50%);
  color: #fff;
  font-weight: 900;
  font-size: 30px;                /* bigger */
  line-height: 1;
  background: transparent !important;
  padding: 0 !important;
  min-width: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  pointer-events: none;
  z-index: 2;                     /* ← ensures it is above the PNG */
}

/* Never hide the zero unless you intend to */
.cart-count.is-zero{
  opacity: 1 !important;
  transform: translateX(-50%);
}

/* Two/three-digit safety sizing (10+ / 100+) */
.cart-count.double{ font-size: 22px; top: -18px; letter-spacing:-.5px; }
.cart-count.triple{ font-size: 18px; top: -16px; letter-spacing:-.5px; }

/* Guard against any accidental clipping higher up the tree */
header, header * { overflow: visible !important; }

/* tighten Login ↔ Cart spacing only */
header .navigation li.nav-cart { 
    margin-left: 8px !important; 
}

/* underline Login as requested */
header .navigation li a.login-btn{
    text-decoration: underline !important;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    color: #fff !important;
}

.menu-title{
    margin: 0;                 /* no extra vertical space */
    font-weight: 900;
    font-size: 2.4rem;         /* adjust if you want larger */
    color: #fff;
}

.menu-header-box{
    background: #FFBD2B;       /* brand yellow like your examples */
    color: #fff;
    border-radius: 22px;
    padding: 16px 28px;        /* compact vertical padding */
    width: fit-content;
    margin: 120px auto 24px;   /* sits under fixed header */
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    text-align: center;
}

/* Page body spacing under fixed header */
.cart-page { 
    padding: 0 20px 40px; 
    max-width: 1000px; 
    margin: 0 auto; 
}

/* Optional: keep location text tidy */
.loc-text { 
    display:flex; 
    flex-direction:column; 
    line-height:1.05; 
}

.loc-title { 
    font-weight:700; 
    font-size:.95rem; 
    color:#fff; 
}

.loc-sub {   
    font-size:11px;  
    color:#fff; 
    opacity:.95; 
}

/* Center all nav items on the header Y‑axis */
header { display:flex; align-items:center; }               /* you already have this */
header .navigation{ display:flex; align-items:center; }
header .navigation > li{ display:flex; align-items:center; }

/* Make every nav link a flex row so its contents center vertically */
header .navigation a{
  display:flex;
  align-items:center;
  line-height:1;           /* prevent extra vertical space from fonts */
}

/* Cart button: lock vertical centering */
.nav-cart-btn{
  display:flex;
  align-items:center;
  gap:10px;                /* space between icon and "Cart" */
  height:40px;             /* = icon height; keeps the block centered */
}

/* Icon wrapper: center the PNG itself on the Y‑axis */
.cart-wrap{
  position:relative;       /* anchor for the badge */
  display:flex;
  align-items:center;      /* center the PNG vertically inside the wrap */
  justify-content:center;
  width:50px;              /* your PNG width */
  height:40px;             /* your PNG height */
  margin-right:4px;
}

.cart-icon{
  width:100%;
  height:100%;
  display:block;
}

/* Badge: sits above the bowl; tweak top if needed */
.cart-count{
  position:absolute;
  left:60%;
  top:-18px;               /* -20 → -18 centers nicer for many fonts */
  transform:translateX(-50%);
  color:#fff;
  font-weight:900;
  font-size:32px;
  line-height:1;
  text-shadow:0 2px 3px rgba(0,0,0,.45);
  -webkit-text-stroke:.5px rgba(0,0,0,.25);
  pointer-events:none;
  z-index:10;
}

/* Auto–shrink for 2/3 digits so centering still looks right */
.cart-count.double{ font-size:22px; top:-16px; letter-spacing:-.5px; }
.cart-count.triple{ font-size:18px; top:-14px; letter-spacing:-.5px; }