/* Иконки маркетплейсов (eco-mp-block.js). Без зависимости от html.eyb-on —
   блок должен выглядеть даже если eco-buy.js урезан. */

.eyb-mp { margin: 4px 0 14px; max-width: 420px; }
.eyb-mp-desk { margin-top: 14px; }
.eyb-mp-t { font-size: 13px; color: #777; margin-bottom: 6px; }
.eyb-mp-b { display: flex; gap: 6px; }
.eyb-mp-i {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 52px; padding: 6px 4px; border: 1px solid #e1e5e3; border-radius: 10px; background: #fafbfa;
  color: #222; text-decoration: none; line-height: 1.1; transition: border-color .15s, box-shadow .15s;
}
a.eyb-mp-i:hover, a.eyb-mp-i:focus {
  border-color: #b9c4bf; box-shadow: 0 1px 4px rgba(0,0,0,.08); color: #222; text-decoration: none; outline: none;
}
.eyb-mp-logo {
  display: inline-block; padding: 3px 7px; border-radius: 5px; font: 800 11px/1 Arial, sans-serif; font-style: normal;
  letter-spacing: .3px; color: #fff; white-space: nowrap;
}
.eyb-mp-o .eyb-mp-logo { background: #005bff; }
.eyb-mp-w .eyb-mp-logo { background: linear-gradient(135deg, #cb11ab, #481173); }
.eyb-mp-y .eyb-mp-logo { background: #ffd43b; color: #000; }
.eyb-mp-p { font-size: 14px; font-weight: 600; white-space: nowrap; }
.eyb-mp-off { cursor: default; }
.eyb-mp-off .eyb-mp-logo { filter: grayscale(1); opacity: .45; }
.eyb-mp-off .eyb-mp-p { font-size: 11.5px; font-weight: 400; color: #999; }
.eyb-mp-n { margin-top: 5px; font-size: 11.5px; color: #999; }

/* Новый PDP */
html.eco-new .eyp-mp,
html.eco-new .eyb-mp.eyp-mp { max-width: none; margin: 0; }
html.eco-new .eyp-mp .eyb-mp-b,
html.eco-new .eyb-mp.eyp-mp .eyb-mp-b { flex-wrap: wrap; }
html.eco-new .eyp-mp .eyb-mp-i,
html.eco-new .eyb-mp.eyp-mp .eyb-mp-i { min-width: 120px; flex: 1 1 120px; justify-content: flex-start; }

/* внутри eyp-after-buy — в сетке с остальными блоками */
html.eco-new .eyp-after-buy .eyb-mp { margin: 0; max-width: none; }
