/* Maxmart redesign — global layout (Phase 1): top bar, header, catalog panel, category strip,
   footer, mobile tab bar, shared modals. Boards 01 (desktop), 02 (mobile home), 10/12 (app). */

/* The legacy theme fixed the header and padded the body by 110–180px to clear it. The new header is
   sticky (desktop) or static (mobile), so the page starts at the top. */
body { padding-top: 0; }
/* Offsets the old pages used to tuck under the fixed nav. Each page drops these as it is redone. */
.body-content { margin-top: 24px; }
/* The page column follows the board's 1280px container instead of Bootstrap's 1140px. */
.body-content.container { max-width: var(--mm-container); padding-left: var(--mm-gutter); padding-right: var(--mm-gutter); }
.body-content > .carousel-container { margin-top: 0; }

.mm-skip {
  position: absolute; left: 16px; top: -48px; z-index: 2000;
  padding: 10px 16px; border-radius: var(--mm-r-btn);
  background: var(--mm-accent); color: var(--mm-ink); font-weight: 700;
}
.mm-skip:focus { top: 8px; color: var(--mm-ink); text-decoration: none; }

/* ---------- Logo ---------- */
.mm-logo { display: flex; flex: none; color: #fff; }
.mm-logo:hover { color: #fff; }
.mm-logo__svg { display: block; width: 156px; height: 42px; overflow: visible; }
.mm-logo--footer .mm-logo__svg { width: 140px; height: 38px; }

/* ---------- Top bar ---------- */
.mm-topbar { background: var(--mm-ink); color: var(--mm-on-dark); font-size: var(--mm-fs-sm); }
.mm-topbar__inner {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 8px 24px;
  padding-top: 8px; padding-bottom: 8px;
}
.mm-topbar a { color: var(--mm-on-dark); }
.mm-topbar a:hover { color: #fff; text-decoration: none; }
.mm-topbar__phones { display: flex; align-items: center; gap: 8px; }
.mm-topbar__phones .mm-icon { color: var(--mm-accent); }
.mm-topbar__phones a { color: #fff; font-weight: 600; }
.mm-topbar__dot { color: var(--mm-muted); }
.mm-topbar a.mm-topbar__callback { color: var(--mm-accent); font-weight: 600; }
.mm-topbar__grow { flex-grow: 1; }
/* One line in every language: the free-delivery note gives way (ellipsis) before anything wraps —
   in Russian the row was 72px tall at 1440px, with the language switch pushed onto a second line. */
.mm-topbar__inner > * { flex-shrink: 0; white-space: nowrap; }
.mm-topbar__inner > .mm-topbar__grow { flex-shrink: 1; }
.mm-topbar__inner > .mm-free-delivery { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mm-topbar__links { display: flex; align-items: center; gap: 16px; padding-left: 24px; border-left: 1px solid var(--mm-muted); }
.mm-topbar__links:empty { display: none; }
/* Only the first three menu items fit the bar; the full menu is in the footer. */
.mm-topbar__links .mm-menu-link:nth-child(n + 4) { display: none; }

/* RO / RU / EN */
.mm-lang__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.mm-lang__list li { margin: 0; padding: 0; }
.mm-lang__item {
  display: block; padding: 2px 6px; border-radius: var(--mm-r-xs);
  color: var(--mm-on-dark); font-weight: 500; line-height: 1.4;
}
.mm-lang__item:hover { color: #fff; text-decoration: none; }
.mm-lang__item.is-active { background: var(--mm-ink-2); color: #fff; font-weight: 700; }
.mm-lang form { display: none; }

/* ---------- Header ---------- */
.mm-header { position: sticky; top: 0; z-index: 120; background: var(--mm-brand); color: #fff; }
.mm-header__main {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  padding-top: 18px; padding-bottom: 18px;
}
.mm-header__catalog { height: var(--mm-control-h); padding: 0 20px; border-radius: var(--mm-r-lg); gap: 10px; }
.mm-header__catalog[aria-expanded="true"] { background: #fff; }
.mm-header__search { flex: 1 1 380px; min-width: 0; }
.mm-header__burger {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border: 0; border-radius: var(--mm-r-btn);
  background: rgba(255, 255, 255, .12); color: #fff;
}

/* Search field: the form is a wrapper (back button on mobile + the white field); the dropdown
   (.mm-suggest) is appended to .mm-header__search by search.js and styled in pages/search.css. */
.mm-header__search { position: relative; }
.mm-search { display: flex; align-items: center; gap: 8px; margin: 0; }
.mm-search__field {
  position: relative; flex: 1; min-width: 0; display: flex; align-items: stretch;
  height: var(--mm-control-h); background: #fff; border-radius: var(--mm-r-lg); overflow: hidden;
}
.mm-search__field:focus-within { box-shadow: 0 0 0 3px var(--mm-accent); }
.mm-search .mm-search__input {
  flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0 18px;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  font-family: var(--mm-font); font-size: var(--mm-fs-base); font-style: normal; color: var(--mm-text);
  outline: none; -webkit-appearance: none; appearance: none;
}
.mm-search .mm-search__input::placeholder { color: var(--mm-muted-2); opacity: 1; }
.mm-search .mm-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.mm-search__icon { display: none; width: 44px; align-items: center; justify-content: center; color: var(--mm-muted-2); flex: none; }
.mm-search__clear {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 44px; border: 0; background: #fff; color: var(--mm-muted-2);
}
.mm-search__clear[hidden] { display: none; }
.mm-search__clear:hover { color: var(--mm-ink); }
.mm-search__submit {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 56px; border: 0; background: var(--mm-ink); color: #fff;
}
.mm-search__submit:hover { background: var(--mm-ink-2); }
.mm-search__back {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border: 0; border-radius: var(--mm-r-lg); background: none; color: var(--mm-ink);
}
.mm-search__back[hidden] { display: none; }

/* Account / compare / favorites / cart */
.mm-hnav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.mm-hnav__slot { display: flex; }
.mm-hnav__item {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 64px; padding: 4px; border-radius: var(--mm-r-btn);
  color: #fff; font-size: var(--mm-fs-xs); line-height: 1.3; white-space: nowrap;
}
.mm-hnav__item:hover, .mm-hnav__item:focus { color: #fff; background: rgba(255, 255, 255, .1); text-decoration: none; }
.mm-hnav__item.dropdown-toggle::after { display: none; }
.mm-hnav__count { position: absolute; top: 0; right: 12px; }
.mm-hnav__dot {
  position: absolute; top: 4px; right: 18px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--mm-accent); box-shadow: 0 0 0 2px var(--mm-brand);
}

/* Account dropdown (Bootstrap .dropdown-menu) */
.mm-menu {
  min-width: 240px; margin-top: 8px; padding: 8px;
  border: 1px solid var(--mm-border); border-radius: var(--mm-r-tile); box-shadow: var(--mm-shadow-md);
  font-size: var(--mm-fs-md);
}
.mm-menu__head { display: block; padding: 8px 12px 10px; font-weight: 700; color: var(--mm-ink); }
.mm-menu .dropdown-item {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 9px 12px; border-radius: var(--mm-r-md); color: var(--mm-text);
}
.mm-menu .dropdown-item:hover, .mm-menu .dropdown-item:focus { background: var(--mm-bg); color: var(--mm-brand); }
.mm-menu .log-off-btn { border: 0; background: none; text-align: left; font: inherit; color: var(--mm-text); }
.mm-menu .dropdown-divider { margin: 6px 0; border-color: var(--mm-border); }
.mm-menu form { margin: 0; }

/* ---------- Category strip (desktop) / chips (mobile) ---------- */
.mm-strip { background: var(--mm-brand); border-top: 1px solid rgba(255, 255, 255, .14); }
.mm-strip__inner {
  display: flex; align-items: center; gap: 4px; min-height: 48px;
  overflow-x: auto; scrollbar-width: none; white-space: nowrap;
  font-size: var(--mm-fs-md); font-weight: 500;
}
.mm-strip__inner::-webkit-scrollbar { display: none; }
.mm-strip a { flex: none; text-decoration: none; }
.mm-strip__promo { padding: 6px 12px; border-radius: var(--mm-r-md); background: var(--mm-sale); color: #fff; font-weight: 700; }
.mm-strip__promo:hover { color: #fff; background: #A9142F; }
.mm-strip__link { padding: 6px 10px; border-radius: var(--mm-r-md); color: var(--mm-on-brand-muted); }
.mm-strip__link:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.mm-strip__link--strong { color: #fff; padding: 6px 12px; }
.mm-strip__sep { flex: none; width: 1px; height: 20px; margin: 0 6px; background: rgba(255, 255, 255, .25); }

/* ---------- Catalog panel ---------- */
.mm-catalog[hidden], .mm-catalog-backdrop[hidden] { display: none !important; }
.mm-catalog-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(18, 23, 29, .35); }
.mm-catalog {
  position: absolute; top: 100%; left: 0; right: 0;
  max-width: var(--mm-container); margin: 0 auto; padding: 0 var(--mm-gutter);
  box-sizing: border-box; color: var(--mm-text);
  z-index: 200; /* above the search form, which search.js lifts to z-index 141 */
}
.mm-catalog__head, .mm-catalog__foot { display: none; }
.mm-catalog__body {
  display: grid; grid-template-columns: 280px minmax(0, 1fr);
  max-height: calc(100vh - 140px); overflow: hidden;
  background: #fff; border-radius: 0 0 var(--mm-r-xl) var(--mm-r-xl); box-shadow: var(--mm-shadow-lg);
}
.mm-catalog__rail {
  margin: 0; padding: 8px 0; list-style: none; overflow-y: auto;
  background: var(--mm-surface-2); border-right: 1px solid var(--mm-border);
}
.mm-catalog__top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 16px 11px 20px; border-left: 3px solid transparent;
  color: var(--mm-text-2); font-weight: 600; font-size: var(--mm-fs-md); line-height: 1.3;
}
.mm-catalog__top .mm-icon { color: var(--mm-subtle); }
.mm-catalog__top:hover, .mm-catalog__top.is-active {
  background: #fff; color: var(--mm-brand); border-left-color: var(--mm-brand); text-decoration: none;
}
.mm-catalog__top.is-active .mm-icon { color: var(--mm-brand); }
.mm-catalog__panels { overflow-y: auto; padding: 24px 28px 28px; }
.mm-catalog__panel { display: flex; flex-direction: column; gap: 20px; }
.mm-catalog__panel[hidden] { display: none; }
.mm-catalog__all {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: var(--mm-r-tile); background: var(--mm-brand-dark); color: #fff;
}
.mm-catalog__all:hover { color: #fff; background: var(--mm-brand); text-decoration: none; }
.mm-catalog__all > span { display: flex; flex-direction: column; }
.mm-catalog__all strong { font-family: var(--mm-font-display); font-size: 17px; font-weight: 800; }
.mm-catalog__all-sub { font-size: var(--mm-fs-xs); color: var(--mm-brand-ink); }
.mm-catalog__groups { columns: 3 200px; column-gap: 28px; }
.mm-catalog__group { break-inside: avoid; padding-bottom: 18px; }
.mm-catalog__group-title { display: block; color: var(--mm-ink); font-weight: 700; font-size: var(--mm-fs-md); }
.mm-catalog__group-title:hover { color: var(--mm-brand); text-decoration: none; }
.mm-catalog__thumb { display: none; }
.mm-catalog__links { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mm-catalog__links a { color: var(--mm-muted); font-size: var(--mm-fs-md); }
.mm-catalog__links a:hover { color: var(--mm-brand); }

/* ---------- Footer ---------- */
.mm-footer { margin-top: 48px; background: var(--mm-brand-dark); color: var(--mm-brand-ink); font-size: var(--mm-fs-md); }
.mm-footer a { color: var(--mm-brand-ink); }
.mm-footer a:hover { color: #fff; text-decoration: none; }
.mm-footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
  padding-top: 48px; padding-bottom: 32px;
}
/* Board 01: four equal columns, whether or not the buyers menu has items. */
@media (min-width: 992px) { .mm-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mm-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.mm-footer__brand p { margin: 0; max-width: 300px; }
.mm-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mm-footer__title { margin: 0 0 4px; font-family: var(--mm-font); font-size: var(--mm-fs-base); font-weight: 700; color: #fff; }
.mm-footer a.mm-footer__phone { color: #fff; font-size: var(--mm-fs-lg); font-weight: 700; }

/* Admin-maintained contact blocks (FooterContacts) */
.mm-footer .footer-contacts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 32px;
  margin: 0; padding: 0 0 24px; background: none; border: 0;
}
.mm-footer .footer-contacts__title { color: #fff; font-weight: 700; margin-bottom: 4px; }
.mm-footer .footer-contacts__row { display: flex; gap: 6px; color: var(--mm-brand-ink); }
.mm-footer .footer-contacts__label { color: var(--mm-brand-ink); opacity: .8; }
.mm-footer .footer-contacts__value { color: #fff; }

.mm-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; padding-bottom: 16px; border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: var(--mm-fs-sm);
}
.mm-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.mm-footer__legal a { opacity: .8; }
.mm-footer__pay { display: flex; gap: 8px; }
.mm-footer__pay span {
  padding: 3px 8px; border-radius: var(--mm-r-xs); background: #fff; color: var(--mm-ink);
  font-weight: 700; font-size: var(--mm-fs-xs);
}

/* ---------- Mobile tab bar ---------- */
.mm-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 130;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--mm-tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #fff; border-top: 1px solid var(--mm-border);
}
.mm-tabbar__item {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 0; border: 0; background: none; font: inherit;
  color: var(--mm-muted); font-size: 11px; font-weight: 600; line-height: 1.2;
}
.mm-tabbar__item:hover { color: var(--mm-brand); text-decoration: none; }
.mm-tabbar__item[aria-current="page"], .mm-tabbar__item[aria-expanded="true"] { color: var(--mm-brand); }
.mm-tabbar__count { position: absolute; top: 6px; left: calc(50% + 6px); }
.mm-tabbar__count--cart { background: var(--mm-sale); color: #fff; }

/* ---------- Shared modals (callback, confirmation) ---------- */
.mm-modal__dialog--sm { max-width: 420px; }
.mm-modal .modal-content { position: relative; padding: 32px 28px 28px; }
.mm-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; border-radius: var(--mm-r-btn); background: none; color: var(--mm-muted);
}
.mm-modal__close:hover { background: var(--mm-bg); color: var(--mm-ink); }
.mm-callback, .mm-callback .popup-callback { display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
.mm-callback p { margin: 0; }
.mm-callback .popup-callback::before, .mm-callback .popup-callback::after { content: none; display: none; }
.mm-callback__icon {
  display: flex; align-items: center; justify-content: center; align-self: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--mm-accent-soft); color: var(--mm-ink);
}
.mm-callback__icon--ok { background: var(--mm-success-soft); color: var(--mm-success); }
.popup-callback .mm-callback__input {
  height: 56px; margin: 4px 0 0; padding: 0 16px;
  font-size: 20px; font-style: normal; font-weight: 600; text-align: center; letter-spacing: .04em;
  border: 1px solid var(--mm-border-strong); border-radius: var(--mm-r-lg);
}
.mm-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
/* button[data-key] outranks the legacy .popup-callback button[data-key] { width: 53px } */
.mm-keypad button.call-btn[data-key] {
  width: 100%; height: 52px; margin: 0; padding: 0;
  border: 1px solid var(--mm-border); border-radius: var(--mm-r-lg);
  background: var(--mm-surface-2); color: var(--mm-ink);
  font-family: var(--mm-font-display); font-size: 20px; font-weight: 700; line-height: 1;
}
.mm-keypad button.call-btn[data-key]:hover { background: var(--mm-brand-soft); border-color: var(--mm-brand-soft); }
.mm-keypad button.call-btn--fn[data-key] { color: var(--mm-muted); font-size: 16px; }
.mm-callback .callback-msg { font-size: var(--mm-fs-md); }
.mm-callback__lead { font-size: var(--mm-fs-md); }

/* ---------- Tablet: keep the header on one line where it fits ---------- */
@media (max-width: 1100px) and (min-width: 768px) {
  .mm-header__main { gap: 12px 16px; }
  .mm-hnav__item { min-width: 52px; }
  .mm-topbar__links { display: none; }
}

/* ---------- Mobile (boards 02, 10–18) ---------- */
@media (max-width: 767.98px) {
  body { padding-bottom: calc(var(--mm-tabbar-h) + env(safe-area-inset-bottom, 0px)); }

  .mm-header { position: relative; }
  .mm-header__main { gap: 8px; padding-top: 14px; padding-bottom: 16px; }
  .mm-logo { margin-left: 4px; }
  .mm-logo__svg { width: 120px; height: 32px; }
  .mm-header__search { order: 10; flex: 1 0 100%; margin-top: 6px; }
  .mm-search__field { height: 46px; }
  .mm-search__icon { display: flex; }
  .mm-search .mm-search__input { padding: 0 4px 0 0; font-size: 16px; } /* 16px stops iOS zooming in */
  .mm-search__submit { display: none; }
  .mm-hnav { gap: 0; }
  .mm-hnav__item { width: 44px; height: 44px; min-width: 0; padding: 0; justify-content: center; }
  .mm-hnav__label { display: none; }
  .mm-hnav__count { top: 4px; right: 2px; }

  .mm-strip { background: transparent; border-top: 0; }
  .mm-strip__inner { gap: 8px; padding-top: 14px; padding-bottom: 14px; min-height: 0; }
  .mm-strip__sep { display: none; }
  .mm-strip__promo, .mm-strip__link {
    padding: 8px 14px; border-radius: var(--mm-r-pill); font-size: var(--mm-fs-sm); font-weight: 600;
  }
  .mm-strip__promo { font-weight: 700; }
  .mm-strip__link, .mm-strip__link--strong { background: #fff; border: 1px solid var(--mm-border); color: var(--mm-text); }
  .mm-strip__link:hover { background: #fff; color: var(--mm-brand); border-color: var(--mm-brand); }

  /* Catalog becomes the full-screen App Catalog (board 12), stopping above the tab bar. */
  .mm-catalog-backdrop { display: none !important; }
  .mm-catalog {
    position: fixed; top: 0; left: 0; right: 0; bottom: calc(var(--mm-tabbar-h) + env(safe-area-inset-bottom, 0px));
    max-width: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; background: #fff;
  }
  .mm-catalog__head {
    display: flex; align-items: center; justify-content: space-between; flex: none;
    padding: 16px; background: var(--mm-brand); color: #fff;
  }
  .mm-catalog__title { font-family: var(--mm-font-display); font-size: 24px; font-weight: 800; }
  .mm-catalog__close {
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 0; border-radius: var(--mm-r-btn); background: rgba(255, 255, 255, .12); color: #fff;
  }
  .mm-catalog__body {
    flex: 1; min-height: 0; max-height: none; display: flex;
    border-radius: 0; box-shadow: none;
  }
  .mm-catalog__rail { flex: none; width: 112px; padding: 0; border-right: 0; background: var(--mm-bg); }
  .mm-catalog__top {
    min-height: 64px; padding: 10px 8px 10px 12px; font-size: var(--mm-fs-xs);
  }
  .mm-catalog__top .mm-icon { display: none; }
  .mm-catalog__panels { flex: 1; min-width: 0; padding: 16px; }
  .mm-catalog__panel { gap: 16px; }
  .mm-catalog__groups { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
  .mm-catalog__group { padding: 0; }
  .mm-catalog__group-title {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 500; line-height: 1.25; text-align: center; color: var(--mm-text);
  }
  .mm-catalog__thumb {
    display: flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: var(--mm-r-card);
    background: var(--mm-surface-2); border: 1px solid var(--mm-border);
    font-family: var(--mm-font-display); font-size: 22px; font-weight: 800; color: var(--mm-brand);
  }
  .mm-catalog__links { display: none; }
  .mm-catalog__foot {
    display: flex; justify-content: center; flex: none; padding: 12px 16px;
    border-top: 1px solid var(--mm-border);
  }
  .mm-catalog__foot .mm-lang__item { padding: 6px 14px; color: var(--mm-text-2); font-size: var(--mm-fs-md); }
  .mm-catalog__foot .mm-lang__item.is-active { background: var(--mm-brand); color: #fff; }

  .mm-footer { margin-top: 32px; }
  .mm-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 32px; }
  .mm-footer__brand { grid-column: 1 / -1; }
}

/* ---------- "Added to cart" (AddToCartResult, loaded into #shopModal) ---------- */
#shopModal .modal-dialog { max-width: 520px; }
.mm-added { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.mm-added__head { display: flex; align-items: center; gap: 10px; padding-right: 40px; }
.mm-added__check {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%; background: var(--mm-success-soft); color: var(--mm-success);
}
.mm-added__title { margin: 0; font-family: var(--mm-font-display); font-size: var(--mm-fs-lg); font-weight: 800; color: var(--mm-ink); }
.mm-added__item { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: var(--mm-r-tile); background: var(--mm-surface-2); }
.mm-added__media {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 72px; height: 72px; border-radius: var(--mm-r-lg); background: #fff;
}
.mm-added__media img { max-width: 60px; max-height: 60px; object-fit: contain; }
.mm-added__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mm-added__name { font-weight: 600; color: var(--mm-ink); }
.mm-added__variant { font-size: var(--mm-fs-sm); color: var(--mm-muted); }
.mm-added__price { font-family: var(--mm-font-display); font-weight: 800; color: var(--mm-ink); }
.mm-added__summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: var(--mm-fs-md); color: var(--mm-muted); }
.mm-added__summary strong { color: var(--mm-ink); }
.mm-added__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 767.98px) {
  #shopModal .modal-dialog { margin: auto 12px 12px; display: flex; align-items: flex-end; min-height: calc(100% - 24px); }
  .mm-added__actions { grid-template-columns: 1fr; }
}
