/* Mobile-only layout (separate file, not responsive). Keeps original JS ids intact. */
:root{
  --headerH: 64px;
  --radius: 12px;
  --radiusSm: 8px;
  --bg0: #f4f6f5;
  --card: #ffffff;
  --txt: #111827;
  --muted: #6b7280;
  --line: rgba(17,24,39,.12);
  --line2: rgba(17,24,39,.16);
  --sage: #15803d;
  --sageSoft: rgba(21,128,61,.10);
  --sageLine: rgba(21,128,61,.24);
  --amberSoft: rgba(245,158,11,.13);
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--txt);
  background: var(--bg0);
  overflow-x:hidden;
  /* Make room for the fixed header (value kept in sync via JS: --headerH) */
  padding-top: var(--headerH);
}

a{ color: inherit; text-decoration:none; }
button, input, select, a{ -webkit-tap-highlight-color: transparent; }

.wrap{ max-width: 720px; margin: 0 auto; padding: 12px; }

/* Top bar */
header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background:rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  /* iOS safe area */
  padding-top: env(safe-area-inset-top);
}
.mTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 0;
}
.mBrand{
  display:flex; flex-direction:column; gap:2px;
}
.mBrandTitle{
  display:flex; align-items:center; gap:8px;
  font-weight: 950;
  letter-spacing:.1px;
  font-size: 16px;
}
.mBrandSub{
  font-size:12px;
  color: #4b5563;
  line-height:1.2;
}

/* Summary */
.mSummary{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
  padding: 10px 0 12px;
}
.mChip{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  text-align:center;
}
.mChip span{ display:block; font-size:11px; color: #4b5563; font-weight:850; }
.mChip b{ display:block; font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 950; }
.mChip:nth-child(2),
.mChip:nth-child(3){
  border-color: var(--sageLine);
  background: var(--sageSoft);
}

/* Controls */
.mControls{
  display:flex;
  flex-direction:column;
  gap: 10px;
  padding: 10px 0 8px;
}
.mRow{ display:flex; gap:10px; align-items:center; }
.mRow > *{ flex: 1 1 auto; }

.mSelect,
.mSearch{
  height: 44px; /* уеднаквено със shopBtn */
  border-radius: 10px;
  border: 1px solid var(--line2);
  background:#fff;

  padding: 0 44px 0 12px; /* място за стрелката вдясно */
  font-size: 16px;       /* iOS: prevent zoom */
  font-weight: 950;
  line-height: 1;

  outline:none;
}

/* само за select */
.mSelect{
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;

  /* custom chevron */
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(17,24,39,.55) 50%),
    linear-gradient(135deg, rgba(17,24,39,.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.mSelect:focus,
.mSearch:focus{
  border-color: rgba(16,185,129,.55);
  box-shadow: 0 0 0 3px rgba(16,185,129,.14);
}

/* Actions row */
.mActions{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content:space-between;
  padding: 6px 0 8px;
}
.mActionsLeft{
  display:flex; gap:10px; align-items:center;
}
.btn{
  appearance:none;
  border: 1px solid var(--line);
  background:#fff;
  border-radius: 10px;
  height: 44px;
  padding: 0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight: 950;
  font-size: 13px;
}
.btnPrimary{
  background: var(--sage);
  color:#fff;
  border-color: rgba(21,128,61,.35);
}
.btn.isDisabled{ opacity:.55; pointer-events:none; }

/* Shop picker: keep original ids/classes but make it full-width */
.shopPicker{ position: relative; }
.shopBtn{
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background:#fff;
  padding: 0 12px;
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 950;
  font-size: 13px;
}
.shopBtnFlag{ width:18px; height:18px; display:inline-flex; align-items:center; justify-content:center; }
.flagImg{ width:18px; height:18px; display:block; border-radius:3px; }
.shopPopover{
  position: fixed;
  left: 12px;
  right: 12px;
  top: calc(var(--headerH) + 12px);
  max-width: 720px;
  margin: 0 auto;
  background:#fff;
  border: 1px solid rgba(17,24,39,.14);
  border-radius: 16px;
  box-shadow: 0 16px 45px rgba(17,24,39,.12);
  padding: 10px;
  z-index: 80;
  display:none;
}
.shopPicker.isOpen .shopPopover{ display:block; }
.shopSearch{ width:100%; height: 44px; border-radius: 10px; border: 1px solid var(--line2); padding: 0 12px; font-weight: 800; }
.shopList{ max-height: 52vh; overflow:auto; padding: 6px 2px; border-radius: 12px; }
.shopItem{ width:100%; padding: 12px; border-radius: 10px; border: 0; background: transparent; display:flex; gap:10px; align-items:center; font-weight: 900; font-size: 13px; }
.shopItem:hover{ background: rgba(16,185,129,.08); }
.shopItemCode{ margin-left:auto; font-size: 12px; color: rgba(17,24,39,.45); font-weight: 900; }

/* Categories as horizontal chips */
#categoryList{
  display:flex;
  gap: 10px;
  overflow:auto;
  padding: 10px 0 2px;
  scroll-snap-type: x mandatory;
}
#categoryList::-webkit-scrollbar{ display:none; }
.catItem{
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background:#fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 950;
  font-size: 13px;
  display:flex;
  align-items:center;
  gap: 10px;
}
.catItem small{
  background: rgba(21,128,61,.10);
  border: 1px solid rgba(21,128,61,.20);
  color: rgba(17,24,39,.75);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 950;
}
.catItem.isActive{
  border-color: var(--sageLine);
  background: var(--sageSoft);
  color: #14532d;
}

/* Catalog container */
.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow:hidden;
}
.cardHead{
  padding: 12px 12px 10px;
  border-bottom: 1px solid var(--line);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}
.cardTitle{ font-size: 14px; font-weight: 950; margin: 0; }
.cardNote{ font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.35; font-weight: 600; }

/* Turn table into single-row cards (compact) */
.tableWrap{ background: transparent; }
table{ width:100%; border-collapse: separate; border-spacing: 0; }
thead{ display:none; }

/* tbody becomes a vertical list */
tbody{
  display:flex;
  flex-direction:column;
  gap: 10px;
  padding: 10px;
}

/* each product card */
tbody tr{
  display:block;
  background:#fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow:hidden;
}

/* single cell that contains our row layout */
tbody tr > td{
  display:block;
  padding: 12px 12px;
  border: 0 !important;
  background: transparent !important;
}

/* row layout inside */
.mItemRow{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.mItemCheck{
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}

.mItemCheck .bigCb{
  width:22px;
  height:22px;
  accent-color: var(--sage);
}

.mItemMain{
  flex: 1 1 auto;
  min-width:0;
}

.mItemTitle{
  font-weight: 950;
  font-size: 14px;
  line-height: 1.2;
  word-break: break-word;
}

.mItemSize{
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.mItemMeta{
  margin-top: 8px;
  display:flex;
  gap: 12px;
  align-items:baseline;
  flex-wrap:wrap;
  font-size: 13px;
  color: rgba(17,24,39,.70);
  font-weight: 850;
}

.mItemMeta b{
  color: var(--txt);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}
.mItemMeta span:first-child b{
  color: #14532d;
}

.mItemPrice{
  margin-left:auto;
  font-size: 15px;
  color: var(--txt);
}

/* Pager (mobile-friendly) */
.pager{
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap: 10px;
  background:#fff;
}
.pagerLeft{
  font-size: 12px;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.25;
}
.pagerBtns{
  display:flex;
  gap: 8px;
  align-items:center;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.pagerBtns::-webkit-scrollbar{ display:none; }
.pageBtn{
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background:#fff;
  padding: 0 14px;
  font-weight: 950;
  font-size: 14px;
  flex: 0 0 auto;
}
.pageBtn.isActive{
  border-color: var(--sageLine);
  background: var(--sageSoft);
  color: #14532d;
}
.pageDots{
  color: var(--muted);
  font-weight: 950;
  flex: 0 0 auto;
}

/* Milestones (compact rows) */
.mileRow{ padding: 12px; }
.mileGrid{
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.mileRowItem{
  border: 1px solid var(--line);
  border-radius: 10px;
  background:#fff;
  padding: 10px 12px;
  display:flex;
  align-items:center;
  gap: 12px;
}
.mileRowItem.active{
  border-color: var(--sageLine);
  background: var(--sageSoft);
}
.mileBadge{
  flex:0 0 auto;
  width: 54px;
  height: 44px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(240,247,244,.88);
  border: 1px solid var(--line);
  font-weight: 950;
  font-size: 12px;
}
.mileText{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.mileTitle{
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}
.mileProg{
  height: 8px;
  border-radius: 999px;
  overflow:hidden;
  background: rgba(193,214,203,.35);
}
.mileProgFill{
  height: 100%;
  width: 0%;
  background: var(--sage);
  transition: width .18s ease;
}
.mileStatus{
  flex:0 0 auto;
  font-size: 12px;
  font-weight: 950;
  color: var(--muted);
  white-space: nowrap;
}

/* Order button in header */
.orderPeekBtn{
  appearance:none;
  border: 1px solid var(--sage);
  background: var(--sage);
  color: #fff;
  border-radius: 10px;
  height: 44px;
  padding: 0 12px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  cursor:pointer;
  font-weight: 950;
  font-size: 13px;
  white-space: nowrap;
}
.orderBadge{
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: #fff;
  border: 1px solid rgba(255,255,255,.42);
  color: #14532d;
  font-variant-numeric: tabular-nums;
}
.orderBadge.isZero{ display:none; }

/* Modal: full-screen sheet */
.modal{
  position: fixed;
  inset: 0;
  z-index: 90;
}
.modal[hidden]{ display:none; }
.modalBackdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
}
.modalPanel{
  position:absolute;
  left: 0; right: 0; bottom: 0;
  max-height: 86vh;
  border-radius: 16px 16px 0 0;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.98);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  animation: sheetIn .18s ease forwards;
}
@keyframes sheetIn{ from{ transform: translateY(16px); opacity:.8 } to{ transform: translateY(0); opacity:1 } }
.modalHead{
  padding: 12px 12px 10px;
  border-bottom: 1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#fff;
}
.modalClose{
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background:#fff;
  font-weight: 950;
}

/* Gate overlay */
.gateOverlay{
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(251,252,251,.74);
  backdrop-filter: blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px;
}
.gateOverlay[hidden]{ display:none !important; }
.gateCard{
  width: min(720px, 92vw);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:#fff;
  padding: 18px;
  text-align:center;
  box-shadow: 0 16px 40px rgba(17,24,39,.08);
}
.gateSelect{
  width: 100%;
  height: 50px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background:#fff;
  padding: 0 12px;
  font-weight: 900;
  font-size: 14px;
}

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  z-index: 100;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 900;
}
.toast[hidden]{ display:none; }

/* Hide desktop-only blocks if present */
.seoStack{ display:none; }

/* ================== Order modal: better separation & touch targets ================== */
#orderList{
  padding: 12px !important;
  background: #f7f9f8;
}

.orderItem{
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  margin: 0 0 14px 0;
  display:flex;
  gap: 14px;
  align-items:flex-start;
  box-shadow: 0 8px 22px rgba(17,24,39,.045);
}

.orderItem:last-child{ margin-bottom: 0; }

/* left text block */
.oiName{
  font-weight: 950;
  font-size: 14px;
  line-height: 1.2;
}
.oiMeta{
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}
.oiNums{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(17,24,39,.72);
  font-weight: 850;
}
.oiNums b{ color: var(--txt); font-weight: 950; }

/* right column */
.oiRight{
  margin-left:auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap: 10px;
}

/* action buttons (bigger & spaced) */
.oiActions{
  display:flex;
  gap: 8px;
  align-items:center;
  justify-content:flex-end;
  padding: 4px;
  border-radius: 12px;
  background: #f8faf8;
  border: 1px solid rgba(17,24,39,.08);
}

.miniBtn{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: #fff;
  font-weight: 950;
  font-size: 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 0;
}

.miniBtn:active{
  transform: translateY(1px);
}

.qtyBadge{
  min-width: 44px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--sageLine);
  background: var(--sageSoft);
  color: #14532d;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.miniBtnDanger{
  border-color: rgba(220,38,38,.35);
  background: rgba(220,38,38,.10);
  font-size: 16px;
}

/* ================== Header mini actions (Clear / Export next to My order) ================== */
.mTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.mTopRight{
  display:flex;
  align-items:center;
  gap: 10px;
}

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

.mTopMiniActions .btn{
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 950;
  line-height: 36px;
  display:inline-flex;
  align-items:center;
  gap: 6px;
}

.mTopMiniActions .btn span:first-child{
  font-size: 13px;
}

.mTopMiniActions .btnPrimary{
  height: 36px;
}

/* Make My order button a bit more compact to fit with mini actions */
.orderPeekBtn{
  height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
}
.orderBadge{
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 12px;
}

/* ================== Search UX: anchor offset for sticky header ================== */
#catalogStart{
  height: 1px;
  scroll-margin-top: calc(var(--headerH, 112px) + 12px);
}

/* ================== Search clear (X) button ================== */
/* Works for mobile layout where #search sits inside .mRow */

.searchClear{
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: rgba(17,24,39,.06);
  color: rgba(17,24,39,.72);
  font-size: 18px;
  font-weight: 950;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.searchClear:active{ transform: translateY(-50%) scale(.96); }

/* Search input spacing for the clear button */
.mSearchWrap{ position: relative; }
.mSearchWrap #search{ padding-right: 46px; }

/* ================== Mobile app redesign overrides ================== */
body{
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

header .wrap{
  padding: 10px 12px 8px;
}

.mTop{
  padding: 0;
  align-items:center;
}

.mBrandTitle{
  font-size: 18px;
  line-height: 1.05;
}

.mBrandSub{
  font-size: 11px;
  font-weight: 800;
}

.mTop .shopPicker{
  flex: 0 1 190px;
  min-width: 142px;
}

.shopBtn{
  height: 40px;
  justify-content:flex-start;
}

.shopBtnLabel{
  min-width: 0;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shopBtnChevron{
  margin-left:auto;
  color: rgba(17,24,39,.55);
}

.shopSearchWrap{
  padding: 4px 2px 8px;
}

.mSelectRow{
  margin-top: 10px;
  min-height: 48px;
}

.mSelect{
  height: 48px;
  min-height: 48px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 13px;
  line-height: 48px;
}

.mSummary{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 0 8px;
  min-height: 52px;
}

.mChip{
  padding: 7px 8px;
  text-align:left;
  min-height: 36px;
}

.mChip span{
  display:inline;
  margin-right: 5px;
  color: #374151;
  font-weight: 900;
}

.mChip b{
  display:inline;
  font-size: 13px;
}

.mControls{
  padding: 0 0 6px;
}

.mSearch{
  height: 42px;
  border-radius: 12px;
  font-size: 15px;
}

#categoryList{
  padding: 6px 0 0;
  gap: 8px;
  min-height: 47px;
}

.catItem{
  padding: 8px 10px;
  font-size: 12px;
  min-height: 38px;
}

main.wrap{
  padding-top: 10px;
}

.catalogCard .cardHead{
  display:none;
}

.catalogCard{
  min-height: 660px;
}

.tableWrap{
  min-height: 620px;
}

tbody{
  gap: 8px;
  padding: 8px 0;
  min-height: 604px;
}

tbody tr{
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(17,24,39,.045);
  min-height: 112px;
}

tbody tr > td{
  padding: 12px;
}

.mItemRow{
  align-items:center;
  gap: 12px;
}

.mItemMain{
  display:flex;
  flex-direction:column;
  gap: 3px;
}

.mItemTitle{
  font-size: 14px;
  line-height: 1.25;
}

.mItemSize{
  margin: 0;
}

.mItemMeta{
  margin-top: 8px;
  gap: 10px;
  min-height: 17px;
}

.mItemPrice{
  margin-left: 0;
  font-size: 13px;
  font-weight: 950;
}

.mProductControls{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.mAddBtn,
.mQtyBtn{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--sage);
  background: var(--sage);
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.mAddBtn:disabled,
.mQtyBtn:disabled{
  opacity: .55;
  cursor: not-allowed;
}

.mProductControls.isSelected{
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.08);
  background: #f8faf8;
}

.mQtyBtn{
  width: 36px;
  height: 36px;
  border-color: var(--line2);
  background: #fff;
  color: var(--txt);
  font-size: 17px;
}

.mQtyBadge{
  min-width: 34px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--sageLine);
  background: var(--sageSoft);
  color: #14532d;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.mileGrid{
  min-height: 152px;
}

.lrp-legend{
  color: #4b5563 !important;
}

.mCartBar{
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 88;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  pointer-events: none;
}

.mCartBar .orderPeekBtn{
  pointer-events: auto;
  min-width: 72px;
  height: 56px;
  padding: 0 14px;
  border-radius: 999px;
  justify-content:center;
  gap: 8px;
  box-shadow: 0 14px 28px rgba(21,128,61,.28);
}

.mCartBar .orderPeekBtn:disabled{
  opacity: .55;
  box-shadow: none;
}

.mCartBar .cartIcon{
  font-size: 18px;
  line-height: 1;
}

.mCartBar .cartText{
  font-size: 13px;
}

.mCartBar .orderBadge{
  display:inline-flex;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 12px;
}

.mCartBar .orderBadge.isZero{
  display:none;
}

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

.modalHeadActions .clearBtn{
  height: 40px;
  border-radius: 10px;
  color: rgba(127,29,29,.92);
  background: rgba(220,38,38,.08);
  border-color: rgba(220,38,38,.18);
}

@media (max-width: 390px){
  .mBrandTitle{ font-size: 16px; }
  .mTop .shopPicker{ flex-basis: 162px; }
  .mChip{ padding: 7px 6px; }
  .mChip span{ display:block; margin: 0 0 1px; }
  .mChip b{ display:block; }
  .mItemRow{ align-items:flex-start; }
  .mProductControls.isSelected{
    flex-direction:column;
  }
}
