/* Principio Asporto/Delivery 5.7.8.2 — Delivery visual alignment to Asporto
   Pure presentation layer: no workflow, state, API or checkout behavior changes. */

body.deliveryProfessional42.deliveryAsportoAligned5782{
  --delivery-align-bg:#f6f3ed;
  --delivery-align-surface:#fff;
  --delivery-align-ink:#15171b;
  --delivery-align-muted:#747a83;
  --delivery-align-line:#ddd5c7;
  --delivery-align-gold:#d4ae62;
  --delivery-align-gold2:#f1dca5;
  background:radial-gradient(circle at 30% 0,#fff 0,#f6f3ed 42%,#eee7db 100%)!important;
}

/* Shell: same visual proportions as Asporto */
.deliveryAsportoAligned5782 .customerHeader{
  height:66px!important;
  max-width:none!important;
  margin:0!important;
  padding:8px 15px!important;
  background:#15171bfa!important;
  border-bottom:0!important;
  box-shadow:none!important;
  backdrop-filter:blur(14px)!important;
}
.deliveryAsportoAligned5782 .customerBrand{
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:24px!important;
  letter-spacing:.08em!important;
  line-height:1.05!important;
}
.deliveryAsportoAligned5782 .customerBrand small{
  font-family:Inter,system-ui,sans-serif!important;
  font-size:10px!important;
  letter-spacing:.12em!important;
  text-transform:none!important;
  color:var(--delivery-align-gold)!important;
  margin-top:4px!important;
}
.deliveryAsportoAligned5782 .compactCart{
  min-height:0!important;
  border-radius:13px!important;
  padding:9px 12px!important;
  background:linear-gradient(135deg,var(--delivery-align-gold),var(--delivery-align-gold2))!important;
  color:var(--delivery-align-ink)!important;
  box-shadow:0 8px 25px rgba(212,174,98,.22)!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:0!important;
  font-size:inherit!important;
  font-weight:850!important;
}
.deliveryAsportoAligned5782 .compactCart:before{content:none!important}
.deliveryAsportoAligned5782 .compactCart b{
  display:inline-block!important;
  min-width:0!important;
  height:auto!important;
  margin-left:6px!important;
  background:#15171b!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:3px 7px!important;
  font-size:inherit!important;
}
.deliveryAsportoAligned5782 .customerShell{
  max-width:760px!important;
  margin:auto!important;
  padding:10px 10px 84px!important;
}

/* Delivery-only context stays functional, but uses the same Asporto surfaces */
.deliveryAsportoAligned5782 .deliveryQuickBar{gap:8px!important;margin:0 0 10px!important}
.deliveryAsportoAligned5782 .deliveryQuickItem{
  border:1px solid var(--delivery-align-line)!important;
  border-radius:16px!important;
  padding:11px 12px!important;
  background:#fff!important;
  color:var(--delivery-align-ink)!important;
  box-shadow:0 5px 18px rgba(21,23,27,.035)!important;
}
.deliveryAsportoAligned5782 .deliveryQuickItem>span{background:#eee9df!important;color:#76581d!important;border-radius:10px!important}
.deliveryAsportoAligned5782 .deliveryQuickItem small{color:var(--delivery-align-muted)!important}
.deliveryAsportoAligned5782 .deliveryQuickItem.eta{background:#fff!important;color:var(--delivery-align-ink)!important;box-shadow:0 5px 18px rgba(21,23,27,.035)!important}
.deliveryAsportoAligned5782 .deliveryQuickItem.eta small{color:var(--delivery-align-muted)!important}
.deliveryAsportoAligned5782 .deliveryQuickItem.eta>span{background:#eee9df!important;color:#76581d!important}

/* Hero and banners: same geometry and tone as Asporto */
.deliveryAsportoAligned5782 .compactHero{
  min-height:135px!important;
  border-radius:21px!important;
  padding:19px!important;
  margin-bottom:10px!important;
  background:linear-gradient(135deg,#17191d,#30353f 70%,#7c6032)!important;
  box-shadow:none!important;
}
.deliveryAsportoAligned5782 .compactHero h1{font-size:32px!important;line-height:1.02!important;letter-spacing:normal!important;margin:0 0 8px!important}
.deliveryAsportoAligned5782 .compactHero p{font-size:14px!important;line-height:1.45!important;color:#ddd!important}
.deliveryAsportoAligned5782 .compactHero:after{content:none!important}
.deliveryAsportoAligned5782 .promoBanner{
  min-height:135px!important;
  border-radius:19px!important;
  padding:18px!important;
  margin:10px 0!important;
  box-shadow:none!important;
}
.deliveryAsportoAligned5782 .promoBanner:after{background:linear-gradient(90deg,rgba(12,13,15,.62),rgba(12,13,15,.04))!important}
.deliveryAsportoAligned5782 .promoBannerContent{max-width:82%!important}
.deliveryAsportoAligned5782 .promoBanner h2{font-size:25px!important;letter-spacing:normal!important}

/* Menu navigation: mirror Asporto */
.deliveryAsportoAligned5782 .menuHeader{display:block!important;margin-top:0!important}
.deliveryAsportoAligned5782 .menuHeader h2{font-size:27px!important;letter-spacing:normal!important;margin:18px 0 7px!important}
.deliveryAsportoAligned5782 .macroChips{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
  margin:7px 0 4px!important;
  overflow:visible!important;
}
.deliveryAsportoAligned5782 .macroChip{
  border:1px solid var(--delivery-align-line)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:var(--delivery-align-ink)!important;
  padding:10px 8px!important;
  font-size:13px!important;
  font-weight:900!important;
  text-align:center!important;
  box-shadow:0 5px 16px rgba(20,22,26,.05)!important;
}
.deliveryAsportoAligned5782 .macroChip.active{background:#17191d!important;color:#fff!important;border-color:#17191d!important}
.deliveryAsportoAligned5782 .compactChips{
  display:flex!important;
  gap:7px!important;
  overflow:auto!important;
  position:sticky!important;
  top:66px!important;
  z-index:50!important;
  background:#f6f3edef!important;
  backdrop-filter:none!important;
  padding:6px 0 9px!important;
}
.deliveryAsportoAligned5782 .compactChip{
  border:1px solid var(--delivery-align-line)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--delivery-align-ink)!important;
  padding:8px 13px!important;
  font-size:14px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.deliveryAsportoAligned5782 .compactChip.active{background:#17191d!important;color:#fff!important;border-color:#17191d!important}
.deliveryAsportoAligned5782 .compactSearch{
  height:auto!important;
  display:grid!important;
  grid-template-columns:auto 1fr auto!important;
  align-items:center!important;
  gap:7px!important;
  background:#fff!important;
  border:1px solid var(--delivery-align-line)!important;
  border-radius:13px!important;
  padding:0 10px!important;
  margin:0 0 9px!important;
  box-shadow:none!important;
}
.deliveryAsportoAligned5782 .compactSearch input{font-size:inherit!important;padding:10px 2px!important}

/* Product cards: exact Asporto hierarchy */
.deliveryAsportoAligned5782 .compactProductList{gap:8px!important}
.deliveryAsportoAligned5782 .compactProduct{
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  background:#fff!important;
  border:1px solid var(--delivery-align-line)!important;
  border-radius:16px!important;
  padding:12px!important;
  box-shadow:0 5px 18px rgba(21,23,27,.035)!important;
  transform:none!important;
}
.deliveryAsportoAligned5782 .compactProduct:hover{transform:none!important;box-shadow:0 5px 18px rgba(21,23,27,.05)!important}
.deliveryAsportoAligned5782 .productThumb{
  width:82px!important;
  height:82px!important;
  margin-right:11px!important;
  border-radius:13px!important;
  overflow:hidden!important;
  background:#eee9df!important;
}
.deliveryAsportoAligned5782 .productInfo{min-width:0!important;padding:0!important}
.deliveryAsportoAligned5782 .productTitleRow h3,
.deliveryAsportoAligned5782 .productInfo h3{font-size:18px!important;line-height:1.2!important;letter-spacing:normal!important;margin:0 0 3px!important}
.deliveryAsportoAligned5782 .productDescription,
.deliveryAsportoAligned5782 .productIngredients,
.deliveryAsportoAligned5782 .productInfo p{font-size:13px!important;line-height:1.4!important;color:var(--delivery-align-muted)!important;margin:0 0 6px!important}
.deliveryAsportoAligned5782 .productPrice,
.deliveryAsportoAligned5782 .productInfo strong{font-size:17px!important;letter-spacing:normal!important}
.deliveryAsportoAligned5782 .favoriteButton{
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:999px!important;
  background:#eee9df!important;
  color:#8d816e!important;
  font-size:20px!important;
  flex:0 0 34px!important;
}
.deliveryAsportoAligned5782 .favoriteButton.active{background:#f1dca5!important;color:#6c5222!important}
.deliveryAsportoAligned5782 .compactActions{display:flex!important;gap:7px!important;margin-top:8px!important;flex-wrap:nowrap!important}
.deliveryAsportoAligned5782 .miniAdd,
.deliveryAsportoAligned5782 .miniCustom{
  min-height:0!important;
  border:0!important;
  border-radius:10px!important;
  padding:7px 10px!important;
  font-size:12px!important;
  font-weight:850!important;
  flex:0 0 auto!important;
}
.deliveryAsportoAligned5782 .miniAdd{
  background:linear-gradient(135deg,var(--delivery-align-gold),#e5c572)!important;
  color:var(--delivery-align-ink)!important;
  box-shadow:0 6px 16px rgba(212,174,98,.18)!important;
}
.deliveryAsportoAligned5782 .miniCustom{background:#eee8de!important;color:var(--delivery-align-ink)!important}

/* Bottom navigation: same footprint as Asporto */
.deliveryAsportoAligned5782 .compactBottomNav{
  left:50%!important;
  bottom:max(8px,env(safe-area-inset-bottom))!important;
  transform:translateX(-50%)!important;
  width:min(450px,calc(100% - 16px))!important;
  display:flex!important;
  justify-content:space-around!important;
  border:0!important;
  border-radius:15px!important;
  padding:5px!important;
  background:#17191df5!important;
  backdrop-filter:none!important;
  box-shadow:none!important;
}
.deliveryAsportoAligned5782 .compactBottomNav button{flex:1!important;border:0!important;background:transparent!important;color:#fff!important;border-radius:10px!important;padding:6px!important;font-size:inherit!important;opacity:1!important}
.deliveryAsportoAligned5782 .compactBottomNav small{display:block!important;font-size:10px!important;margin-top:0!important;color:#fff!important}

/* Keep Delivery workflow components, but visually align their primary actions to Asporto */
.deliveryAsportoAligned5782 .smartCustomizeCard,
.deliveryAsportoAligned5782 .premiumCartPanel,
.deliveryAsportoAligned5782 .guidedCheckoutPage,
.deliveryAsportoAligned5782 .accountPanel{background:#f6f3ed!important}
.deliveryAsportoAligned5782 .smartCustomizeHeader,
.deliveryAsportoAligned5782 .premiumCartHeader,
.deliveryAsportoAligned5782 .guidedCheckoutHeader{background:#f6f3edfa!important}
.deliveryAsportoAligned5782 .smartCustomizeFooter,
.deliveryAsportoAligned5782 .premiumCartSummary,
.deliveryAsportoAligned5782 .guidedCheckoutFooter{background:#fffdf9fa!important}
.deliveryAsportoAligned5782 .smartCustomizeFooter button,
.deliveryAsportoAligned5782 .cartContinueButton,
.deliveryAsportoAligned5782 .guidedPrimaryButton,
.deliveryAsportoAligned5782 .guidedVerifyButton,
.deliveryAsportoAligned5782 .guidedSubmitButton{
  border-radius:14px!important;
}
.deliveryAsportoAligned5782 .cartContinueButton,
.deliveryAsportoAligned5782 .guidedPrimaryButton,
.deliveryAsportoAligned5782 .guidedVerifyButton,
.deliveryAsportoAligned5782 .guidedSubmitButton{
  background:linear-gradient(135deg,var(--delivery-align-gold),var(--delivery-align-gold2))!important;
  color:var(--delivery-align-ink)!important;
}

@media(max-width:700px){
  .deliveryAsportoAligned5782 .customerHeader{height:62px!important;padding:8px 15px!important}
  .deliveryAsportoAligned5782 .customerBrand{font-size:24px!important}
  .deliveryAsportoAligned5782 .customerShell{padding:10px 10px 84px!important}
  .deliveryAsportoAligned5782 .compactHero{min-height:135px!important;padding:19px!important;border-radius:21px!important}
  .deliveryAsportoAligned5782 .compactHero h1{font-size:29px!important}
  .deliveryAsportoAligned5782 .compactChips{top:62px!important}
  .deliveryAsportoAligned5782 .compactProduct{grid-template-columns:auto 1fr!important;padding:12px!important;border-radius:16px!important}
  .deliveryAsportoAligned5782 .productThumb{width:82px!important;height:82px!important;margin-right:11px!important;border-radius:13px!important}
  .deliveryAsportoAligned5782 .productTitleRow h3,
  .deliveryAsportoAligned5782 .productInfo h3{font-size:18px!important}
  .deliveryAsportoAligned5782 .productDescription,
  .deliveryAsportoAligned5782 .productIngredients,
  .deliveryAsportoAligned5782 .productInfo p{font-size:13px!important}
  .deliveryAsportoAligned5782 .productPrice,
  .deliveryAsportoAligned5782 .productInfo strong{font-size:17px!important}
  .deliveryAsportoAligned5782 .miniAdd,
  .deliveryAsportoAligned5782 .miniCustom{padding:7px 10px!important;font-size:12px!important}
}

@media(max-width:430px){
  .deliveryAsportoAligned5782 .macroChip{padding:9px 5px!important;font-size:12px!important;border-radius:12px!important}
  .deliveryAsportoAligned5782 .macroChips{gap:5px!important}
}
