/*
  v306 Customer landing polish
  Scope: customer order page only (.shop-page).
  Goals:
  - Move restaurant address into the hero area instead of a separate full-width card.
  - Keep Login/Sign Up visible in the header and prevent overlap with the PWA install button.
  - Preserve responsive behavior across desktop, tablet, mobile, and installed PWA views.
*/
.shop-page .customer-nav-v306{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  min-width:min(360px,100%);
}
.shop-page .customer-header-account-v306{
  position:static !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  top:auto !important;
  z-index:auto !important;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  padding:0 !important;
}
.shop-page .customer-header-account-v306 .customer-account-pill-v115{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  white-space:nowrap;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}
.shop-page .customer-header-account-v306 .customer-account-pill-v115.light{
  background:rgba(255,255,255,.88) !important;
}
.shop-page .customer-header-account-v306 .customer-account-pill-v115.orange{
  background:linear-gradient(135deg, color-mix(in srgb, var(--cp-brand, var(--brand, #f97316)), #111 8%), var(--cp-brand, var(--brand, #f97316))) !important;
}
.shop-page .reserve-link-v306{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
/* Safety net for any old account block that still renders outside the header. */
.shop-page > .customer-account-link-v115:not(.customer-header-account-v306){
  bottom:calc(76px + env(safe-area-inset-bottom, 0px)) !important;
}
.shop-page .hero-location-v306{
  width:min(100%, 620px);
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  margin:20px 0 0;
  padding:13px;
  border-radius:22px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.24);
  color:#fff;
  box-shadow:0 18px 38px rgba(0,0,0,.16);
  backdrop-filter:blur(14px);
}
.shop-page .hero-location-v306__pin{
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.26);
  font-size:22px;
  flex:0 0 auto;
}
.shop-page .hero-location-v306__text{
  min-width:0;
  display:grid;
  gap:2px;
}
.shop-page .hero-location-v306__text span{
  display:block;
  font-size:11px;
  line-height:1.1;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#fed7aa;
}
.shop-page .hero-location-v306__text strong{
  display:block;
  font-size:16px;
  line-height:1.15;
  color:#fff;
}
.shop-page .hero-location-v306__text small{
  display:block;
  max-width:100%;
  color:rgba(255,255,255,.86);
  font-weight:750;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.shop-page .hero-location-v306__map{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  background:#fff;
  color:#0f172a;
  font-weight:950;
  text-decoration:none;
  white-space:nowrap;
}
.shop-page .hero-location-v306__map:hover,
.shop-page .hero-location-v306__map:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(0,0,0,.20);
}
/* The older standalone restaurant-location card must not consume space on the landing page. */
.shop-page .restaurant-location-v304{
  display:none !important;
}
@media (max-width:1100px){
  .shop-page .shop-header{
    align-items:center !important;
  }
  .shop-page .customer-nav-v306{
    min-width:0;
    margin-left:auto;
  }
  .shop-page .premium-hero{
    grid-template-columns:1fr !important;
    align-items:stretch !important;
  }
  .shop-page .hero-card{
    display:block !important;
    position:relative !important;
    right:auto !important;
    bottom:auto !important;
    margin:0 24px 24px !important;
    width:auto !important;
  }
}
@media (max-width:760px){
  .shop-page .shop-header{
    display:grid !important;
    grid-template-columns:1fr;
    gap:12px;
    padding:12px 14px !important;
    border-radius:0 0 22px 22px !important;
  }
  .shop-page .brand-lockup{
    width:100%;
    min-width:0;
  }
  .shop-page .mode-switch{
    order:2;
    width:100%;
  }
  .shop-page .customer-nav-v306{
    order:3;
    width:100%;
    justify-content:space-between;
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }
  .shop-page .reserve-link-v306{
    width:100%;
    background:rgba(255,255,255,.86);
    border:1px solid var(--cp-line, rgba(15,23,42,.09));
  }
  .shop-page .customer-header-account-v306{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:8px;
  }
  .shop-page .customer-header-account-v306:has(.dark){
    grid-template-columns:1fr;
  }
  .shop-page .customer-header-account-v306 .customer-account-pill-v115{
    width:100%;
    min-height:44px;
  }
  .shop-page .premium-hero{
    margin:14px 10px 18px !important;
    border-radius:26px !important;
    padding:0 !important;
    min-height:0 !important;
  }
  .shop-page .hero-copy{
    padding:28px 20px 22px !important;
    max-width:none !important;
  }
  .shop-page .hero-copy h1{
    max-width:12ch !important;
    font-size:clamp(2.25rem, 11vw, 3.35rem) !important;
  }
  .shop-page .hero-location-v306{
    grid-template-columns:auto minmax(0,1fr);
    border-radius:20px;
    padding:12px;
  }
  .shop-page .hero-location-v306__map{
    grid-column:1/-1;
    width:100%;
  }
  .shop-page .hero-card{
    margin:0 14px 16px !important;
  }
}
@media (max-width:420px){
  .shop-page .hero-location-v306__pin{
    width:42px;
    height:42px;
    border-radius:14px;
  }
  .shop-page .hero-location-v306__text strong{
    font-size:15px;
  }
  .shop-page .hero-location-v306__text small{
    font-size:13px;
  }
}
