/* Bam Sweets customer UI — compact mobile presentation overrides.
   Loaded after the existing bundle; business logic and shared components stay unchanged. */
:root {
  --appbar-h: 44px;
  --bottomnav-h: 60px;
}

.appbar { padding: 4px 12px calc(4px + env(safe-area-inset-top)); min-height: var(--appbar-h); }
.appbar-address { min-height: 38px; }
.appbar-value { font-size: 14px; margin-top: 2px; }
.appbar-label { font-size: 9.5px; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; }
.icon-btn svg { width: 20px; height: 20px; }

/* Delivering-from strip: single compact row, "Delivering from" label hidden.
   Dropdown arrow shown only for local branch selection; hidden for All India Shipping. */
.delivering-from { top: var(--appbar-h); min-height: 34px; padding: 5px 12px; gap: 8px; }
.df-label { display: none; }
.df-left { justify-content: center; }
.df-branch { font-size: 13px; margin-top: 0; }
.df-right { font-size: 10.5px; padding: 4px 9px; }
.delivering-from.df-shipping .df-branch .chev { display: none; }

.view { padding: 8px 12px 18px; }
.section-title { margin: 14px 2px 7px; }
.section-title h2 { font-size: 18px; }
.section-header { margin: 14px 2px 7px; }
.hp-section-head { padding: 14px 12px 5px; }
.hp-section-sub { padding: 0 12px 4px; }

.search-bar.premium.hp-search, .hp-search {
  min-height: 54px; margin: 8px 12px 2px !important; padding: 10px 14px !important;
}
.hp-top { padding: 8px 12px 2px; }
.hp-greet { margin-bottom: 8px; }

.hp-cats-rail { gap: 10px !important; padding: 3px 12px 6px !important; }
.hp-cat-chip { width: 64px !important; gap: 4px !important; }
.hp-cat-chip .ct-thumb { width: 52px !important; height: 52px !important; }
.hp-cat-chip .ct-thumb .ct-letter { font-size: 21px; }
.hp-cat-chip .ct-name { font-size: 10.5px; max-width: 64px; }

.hero-banner { margin: 8px 2px 6px; min-height: 108px; padding: 14px 16px; }
.hero-banner h3 { font-size: 19px; }
.hero-banner p { font-size: 12px; }
.hero-banner .hb-cta { margin-top: 6px; padding: 7px 12px; font-size: 11px; }
.hs-root { margin: 8px 12px 2px; }
.hs-viewport { height: 188px; }
.hs-body { padding: 14px 16px 12px; }

.hp-quick-chips { gap: 7px; padding: 7px 12px 2px; }
.hp-qchip { width: 64px; min-height: 68px; padding: 6px 4px !important; font-size: 10px !important; }
.hp-qchip .qi { width: 28px; height: 28px; font-size: 17px; }
.hp-offer-strip { gap: 8px; padding: 8px 12px 4px; }
.hp-offer-card { min-width: 170px; padding: 9px 11px !important; }

.hp-all-wrap { margin-top: 16px; padding: 12px 12px 6px; border-top-width: 4px; }
.hp-all-grid { gap: 9px; }
.hp-card.v { flex-basis: 150px; width: 150px; }
.hp-body { padding: 8px 9px 9px; gap: 4px; }
.hp-name { font-size: 12.5px; min-height: 30px; }
.hp-price { font-size: 13px !important; }
.hp-add { width: 28px; height: 28px; }

.prod-list { gap: 8px; }
.prod-card.premium, .prod-card { grid-template-columns: 84px 1fr; gap: 9px; padding: 9px; min-height: 102px; border-radius: 14px; }
.prod-card.premium > .thumb, .prod-card .thumb { width: 84px; height: 84px; border-radius: 11px; }
.prod-card.premium h3 { font-size: 14px; }
.prod-card.premium .desc { font-size: 11px; }
.prod-card.premium .price { font-size: 15px; }
.prod-card.premium .add-btn.premium { right: 9px; bottom: 9px; padding: 6px 12px; font-size: 10.5px; }

.card-p, .summary { padding: 11px; }
.pd-title { margin-top: 11px; }
.pd-group { margin-top: 14px; padding: 11px; }
.ci { grid-template-columns: 52px 1fr auto; gap: 9px; padding: 9px; margin-bottom: 8px; }
.ci .thumb { width: 52px; height: 52px; }
.ck-card { padding: 13px; margin-top: 11px; }
.ck-sticky { padding: 8px 11px; gap: 9px; }
.ck-place { padding: 12px 15px; font-size: 14px; }

.floating-cart { margin: 0 8px 4px; padding-left: 13px; padding-right: 10px; }
.floating-cart.visible { max-height: 62px; padding-top: 8px; padding-bottom: 8px; margin-bottom: 4px; }
.fc-branch { font-size: 11px; margin-bottom: 1px; }
.fc-info { font-size: 12px; }
.fc-total { font-size: 15px; }
.fc-cta { padding: 8px 12px; font-size: 11px; }

.bottomnav { height: var(--bottomnav-h); padding-top: 2px; }
.bn-item { gap: 1px; font-size: 10px; }
.bn-item svg { width: 20px; height: 20px; padding: 3px 12px; }
.cart-badge { top: 1px; }

@media (max-width: 380px) {
  .hs-viewport { height: 172px; }
  .prod-card.premium, .prod-card { grid-template-columns: 76px 1fr; }
  .prod-card.premium > .thumb, .prod-card .thumb { width: 76px; height: 76px; }
  .hp-card.v { flex-basis: 142px; width: 142px; }
}

/* Compact two-line delivery header:
   Line 1 = "DELIVER TO, <Label> ▼"  |  Line 2 = selected address/locality.
   Presentational only — all existing IDs/classes and JS behaviour untouched. */
.appbar-address { display: block; padding: 3px 4px; }
.appbar-label { display: inline; }
.appbar-label::after { content: ","; margin-right: 4px; }
.appbar-value { display: inline-flex; margin-top: 0; vertical-align: baseline; max-width: 100%; }
.appbar-value #addr-title { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appbar-pin { display: none; }