.mmc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: #1f2937;
  color: #f9fafb;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
}
.mmc-banner__text { margin: 0; flex: 1 1 320px; }
.mmc-banner__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mmc-btn {
  border: 1px solid #9ca3af;
  background: transparent;
  color: #f9fafb;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.mmc-btn--primary { background: #2563eb; border-color: #2563eb; }
.mmc-btn--primary:hover { background: #1d4ed8; }
.mmc-btn--link { border-color: transparent; text-decoration: underline; }
.mmc-reopen {
  position: fixed;
  left: 10px;
  bottom: 10px;
  z-index: 9999;
  background: #1f2937;
  color: #f9fafb;
  border: none;
  border-radius: 14px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  opacity: 0.75;
}
.mmc-reopen:hover { opacity: 1; }
.mmc-hidden { display: none !important; }

/* Phones: a compact banner (about 12-15% of the screen instead of 20-26%),
   all three choices on one row. */
@media (max-width: 575px) {
  .mmc-banner { padding: 8px 10px; gap: 6px; font-size: 12.5px; line-height: 1.35; }
  .mmc-banner__text { flex-basis: 100%; }
  .mmc-banner__actions { width: 100%; gap: 6px; }
  .mmc-banner__actions .mmc-btn { flex: 1 1 auto; padding: 7px 6px; font-size: 13px; white-space: nowrap; text-align: center; }
}

/* While the banner is open (banner.js sets the class and --mmc-banner-h): lift the
   shop's floating bottom buttons above it and let the last page content scroll above it. */
html.mmc-banner-open body { padding-bottom: var(--mmc-banner-h, 0px); }
html.mmc-banner-open body:not(.modal-open) #mon-shopswitcher-trigger,
html.mmc-banner-open body:not(.modal-open) #scroll_topA,
html.mmc-banner-open body:not(.modal-open) #smartsupp-widget-container > div:has(> #widgetButtonFrame) { margin-bottom: var(--mmc-banner-h, 0px); }
/* The Smartsupp chat bubble sits above the banner's z-index; without the lift it covers "Nesutinku".
   Not while a modal (e.g. the add-to-cart popup) is open: lifted, it could cover the popup's buttons.
   margin-bottom, NOT transform: Smartsupp runs a fill:forwards Web Animation on the bubble's transform
   that freezes whatever transform it captured at load, so a CSS transform lift would get stuck. */
