
body.mfpc-configurator-route #top,
body.mfpc-configurator-route header:not(.mfpc-topbar),
body.mfpc-configurator-route #menu,
body.mfpc-configurator-route footer,
body.mfpc-configurator-route .breadcrumb,
body.mfpc-configurator-route #column-left,
body.mfpc-configurator-route #column-right {
  display: none !important;
}

body.mfpc-configurator-route,
body.mfpc-configurator-route #content,
body.mfpc-configurator-route .container {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background:
    radial-gradient(circle at 8% 2%, rgba(255, 22, 136, .10), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(117, 80, 255, .11), transparent 30%),
    linear-gradient(180deg, #f8f9ff 0%, #f3f5fc 100%) !important;
}

.mfpc-page {
  --pink: #ff1688;
  --pink-2: #f5007e;
  --purple: #c400ff;
  --ink: #121832;
  --muted: #707993;
  --line: #e8ebf5;
  --soft: #f7f8fe;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  padding: 14px 20px 26px;
  box-sizing: border-box;
}

.mfpc-topbar {
  height: 58px;
  display: grid;
  grid-template-columns: 270px 1fr 360px;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.mfpc-brand {
  display: flex;
  align-items: center;
  width: 265px;
  height: 58px;
  text-decoration: none;
}

.mfpc-brand__logo {
  display: block;
  width: 248px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.mfpc-nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  align-items: center;
  height: 100%;
}

.mfpc-nav a {
  position: relative;
  color: #111730;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}

.mfpc-nav a.active { color: var(--pink); }
.mfpc-nav a.active:after {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: var(--pink);
  left: 0;
  right: 0;
  bottom: -17px;
}

.mfpc-top-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.mfpc-icon-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #151b38;
  font-size: 24px;
  cursor: pointer;
}

.mfpc-cart-pill {
  min-width: 205px;
  height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, #ff1688, #e20092);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 16px 34px rgba(255, 22, 136, .25);
}

.mfpc-cart-pill strong { color:#fff; font-size:17px; }

.mfpc-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 385px;
  gap: 15px;
  align-items: start;
}

.mfpc-steps-card,
.mfpc-stage-card,
.mfpc-summary-panel,
.mfpc-price-panel,
.mfpc-request-form-wrap {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(33, 39, 76, .08);
  backdrop-filter: blur(18px);
}

.mfpc-steps-card {
  border-radius: 15px;
  padding: 20px 14px;
  position: sticky;
  top: 14px;
  min-height: 760px;
}

.mfpc-steps-card h3,
.mfpc-summary-card h3 {
  margin: 0 0 18px;
  font-size: 17px;
  letter-spacing: .02em;
  font-weight: 900;
}

.mfpc-step-item {
  height: 88px;
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  padding: 0 12px;
  border-radius: 15px;
  border: 1px solid #eef0f7;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,249,255,.95));
  margin-bottom: 9px;
  transition: .18s ease;
}

.mfpc-step-item.active {
  height: 90px;
  border-color: #ff59aa;
  background: linear-gradient(180deg, #fff7fb, #fff);
  box-shadow: 0 12px 28px rgba(255, 22, 136, .18);
}

.mfpc-step-item.active:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 88px;
  background: var(--pink);
  border-radius: 999px;
  transform: translateX(-21px);
}

.mfpc-step-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #16203d;
  border: 1px solid #e6e9f3;
  font-size: 22px;
}

.mfpc-step-item.active .mfpc-step-item__icon {
  color: var(--pink);
  border-color: #ff8ac4;
  background: #fff3fa;
}

.mfpc-step-item__num {
  font-size: 14px;
  color: var(--pink);
  font-weight: 900;
  margin-bottom: 3px;
}

.mfpc-step-item__body strong {
  display:block;
  font-size: 15px;
  font-weight: 900;
}

.mfpc-step-item__meta {
  font-size: 12px;
  color: #67708b;
  margin-top: 4px;
}

.mfpc-step-item__check {
  color: var(--pink);
  font-size: 18px;
  font-weight: 900;
}

.mfpc-stage-card {
  min-height: 845px;
  border-radius: 16px;
  padding: 28px 28px 14px;
}

.mfpc-stage-head {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 16px;
  align-items: end;
}

.mfpc-stage-head h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 900;
}

.mfpc-stage-head h1:first-letter { color: var(--pink); }

.mfpc-stage-head p {
  margin: 12px 0 0;
  color: #5f6983;
  font-size: 14px;
}

.mfpc-filterbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  margin: 24px 0 24px;
}

.mfpc-filter-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 13px;
}

.mfpc-filter-group { display: flex; flex-direction: column; gap: 7px; }
.mfpc-filter-group label {
  font-size: 13px;
  color: #56617b;
  font-weight: 800;
}

.mfpc-filter-group select {
  height: 50px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 15px;
  outline: 0;
  box-shadow: 0 8px 20px rgba(20, 26, 55, .05);
}

.mfpc-btn {
  height: 50px;
  border: 0;
  border-radius: 13px;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: .18s ease;
  white-space: nowrap;
}

.mfpc-btn--primary {
  background: linear-gradient(90deg, #ff1688, #d600de);
  color: #fff;
  box-shadow: 0 14px 28px rgba(255, 22, 136, .24);
}

.mfpc-btn--ghost,
.mfpc-btn--filter {
  color: #18213f;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 9px 22px rgba(20, 26, 55, .06);
}

.mfpc-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.mfpc-card {
  height: 372px;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  padding: 13px;
  transition: .18s ease;
  box-shadow: 0 15px 34px rgba(30, 36, 70, .05);
}

.mfpc-card:hover,
.mfpc-card.featured {
  border-color: var(--pink);
  box-shadow: 0 18px 40px rgba(255, 22, 136, .18);
  transform: translateY(-2px);
}

.mfpc-card.featured { border-width: 2px; }

.mfpc-card__recommend {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 3;
  background: var(--pink);
  color: #fff;
  border-radius: 9px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
}

.mfpc-card__media {
  height: 182px;
  border-radius: 14px;
  background:
    radial-gradient(circle at center, rgba(255, 22, 136, .08), transparent 40%),
    linear-gradient(180deg, #fafbff, #eef1fa);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mfpc-card__media img {
  max-width: 96%;
  max-height: 96%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.mfpc-card__title {
  height: 44px; overflow: hidden;
  margin: 12px 0 9px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
}

.mfpc-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 29px;
  max-height: 68px;
  overflow: hidden;
}

.mfpc-chip {
  background: #f0f2fb;
  border-radius: 7px;
  color: #485270;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 800;
}


.mfpc-card__tools {
  position: absolute;
  right: 13px;
  top: 13px;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.mfpc-card__tools span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 1px solid #e8ebf5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #19213c;
  font-size: 17px;
  box-shadow: 0 8px 16px rgba(24, 31, 61, .08);
}
.mfpc-card__rating {
  margin-top: 8px;
  color: var(--pink);
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 900;
}
.mfpc-card__rating small {
  color: #65708b;
  font-size: 12px;
  letter-spacing: 0;
}

.mfpc-card__price {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.mfpc-card__price strong {
  color: var(--pink);
  font-size: 18px;
  white-space: nowrap;
}

.mfpc-btn--small {
  height: 38px;
  border-radius: 10px;
  padding: 0 13px;
  font-size: 13px;
}

.mfpc-detail {
  margin-top: 16px;
  min-height: 188px;
  max-height: 245px;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 20px;
  padding: 14px;
}

.mfpc-detail__gallery {
  min-height: 182px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7f8fe, #eef2fb);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mfpc-detail__gallery img { max-width: 96%; max-height: 182px; object-fit: contain; }
.mfpc-detail__name { margin: 0 0 10px; font-size: 22px; line-height: 1.15; font-weight: 900; }

.mfpc-detail__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mfpc-detail__spec {
  border-radius: 13px;
  border: 1px solid #eef1f8;
  background: #fff;
  padding: 11px 12px;
}

.mfpc-detail__spec span {
  display: block;
  font-size: 11px;
  color: #7d879f;
  margin-bottom: 5px;
  font-weight: 800;
}

.mfpc-detail__spec strong { font-size: 13px; }
.mfpc-detail__actions { display: flex; gap: 12px; margin-top: 14px; }

.mfpc-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 13px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
}

.mfpc-benefit {
  min-height: 58px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-right: 1px solid var(--line);
}

.mfpc-benefit:last-child { border-right: 0; }

.mfpc-benefit__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #4b42ff;
  background: #f0f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mfpc-benefit strong { display: block; font-size: 13px; }
.mfpc-benefit span { display: block; color: #69738e; font-size: 12px; margin-top: 2px; }

.mfpc-summary-card {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 14px;
}

.mfpc-summary-panel,
.mfpc-price-panel,
.mfpc-request-form-wrap {
  border-radius: 16px;
  padding: 19px;
}

.mfpc-summary__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mfpc-summary__header h3 { font-size: 20px; }
.mfpc-summary__counter { font-size: 13px; color: #57627e; display:flex; align-items:center; gap:6px; }
.mfpc-summary__counter .dot { width:11px; height:11px; border-radius:50%; background:#12c978; display:inline-block; }

.mfpc-summary__visual {
  height: 190px;
  margin: 13px 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mfpc-summary__pc {
  width: 175px;
  height: 170px;
  position: relative;
  border-radius: 25px;
  background: linear-gradient(135deg, #151a34, #34406d 55%, #111528);
  box-shadow: 0 24px 35px rgba(21, 24, 45, .22);
}

.mfpc-summary__pc:before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.18);
}

.mfpc-summary__pc span {
  position: absolute;
  right: 18px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff78ec 0%, #b200ff 58%, #201746 62%, transparent 66%);
  box-shadow: 0 0 18px rgba(255, 22, 136, .45);
}

.mfpc-summary__pc span:nth-child(1) { top: 16px; }
.mfpc-summary__pc span:nth-child(2) { top: 63px; }
.mfpc-summary__pc span:nth-child(3) { top: 110px; }

.mfpc-summary__items {
  border-top: 1px solid var(--line);
  margin-top: 7px;
  padding-top: 9px;
}

.mfpc-summary__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 9px 0;
}

.mfpc-summary__item strong { display:block; font-size: 13px; }
.mfpc-summary__item .meta { color:#66708b; font-size:12px; line-height:1.3; }
.mfpc-summary__item .remove { color:var(--pink); font-size:12px; font-weight:900; cursor:pointer; margin-top:4px; }

.mfpc-summary__totals .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  color: #616b85;
  font-size: 14px;
}

.mfpc-summary__totals .row.total {
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
  margin-bottom: 6px;
}

.mfpc-summary__totals .row.total strong {
  font-size: 27px;
  color: var(--pink);
}

.mfpc-summary__totals strong {
  color: #14203d;
  font-weight: 900;
}

.mfpc-cart-note {
  font-size: 12px;
  color: #6c758e;
  line-height: 1.35;
  margin: 9px 0 14px;
}

.mfpc-summary__buttons {
  display: grid;
  gap: 11px;
}

.mfpc-form-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--pink);
  background: #fff1f8;
  border: 1px solid #ffd4ea;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.mfpc-request-form h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
}

.mfpc-request-form p {
  margin: 0 0 13px;
  font-size: 12px;
  color: #6b748e;
  line-height: 1.35;
}

.mfpc-request-form label {
  display: block;
  margin-bottom: 9px;
}

.mfpc-request-form label > span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #59647f;
  margin-bottom: 5px;
}

.mfpc-request-form input[type="text"],
.mfpc-request-form input[type="tel"],
.mfpc-request-form input[type="email"] {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0 12px;
  outline: 0;
  box-shadow: 0 7px 18px rgba(30, 36, 70, .04);
}

.mfpc-request-form input:focus {
  border-color: #ff55aa;
  box-shadow: 0 0 0 4px rgba(255, 22, 136, .10);
}

.mfpc-terms {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  margin: 8px 0 10px !important;
}

.mfpc-terms input { margin-top: 2px; }
.mfpc-terms span { margin: 0 !important; font-size: 12px !important; line-height: 1.35; }
.mfpc-terms a { color: var(--pink); font-weight: 900; }

.mfpc-request-form small {
  display: block;
  color: #7b849b;
  font-size: 11px;
  line-height: 1.3;
  margin-bottom: 11px;
}

.mfpc-btn--wide { width: 100%; }
.mfpc-messages { font-size: 13px; line-height: 1.35; }
.mfpc-messages .success { color: #05a363; font-weight: 800; }
.mfpc-messages .error { color: #d90064; font-weight: 800; }

.mfpc-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #68728c;
  border: 1px dashed #d8ddeb;
  border-radius: 16px;
  background: rgba(255,255,255,.6);
}

@media (max-width: 1680px) {
  .mfpc-shell { grid-template-columns: 275px minmax(0, 1fr) 350px; }
  .mfpc-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mfpc-nav { gap: 32px; }
}

@media (max-width: 1280px) {
  .mfpc-topbar { grid-template-columns: 240px 1fr 250px; }
  .mfpc-nav { gap: 18px; }
  .mfpc-shell { grid-template-columns: 1fr; }
  .mfpc-steps-card, .mfpc-summary-card { position: static; min-height: auto; }
  .mfpc-summary-card { grid-template-columns: 1fr 1fr; }
  .mfpc-request-form-wrap { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .mfpc-topbar { grid-template-columns: 1fr; height: auto; }
  .mfpc-nav, .mfpc-top-actions { justify-content: flex-start; flex-wrap: wrap; }
  .mfpc-products { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mfpc-filter-groups { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mfpc-detail { grid-template-columns: 1fr; }
  .mfpc-summary-card { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .mfpc-page { padding: 10px; }
  .mfpc-products { grid-template-columns: 1fr; }
  .mfpc-filter-groups { grid-template-columns: 1fr; }
  .mfpc-stage-head { grid-template-columns: 1fr; }
  .mfpc-stage-card { padding: 18px; }
}

/* v1.3.1 usability fixes */
.mfpc-detail__spec {
  min-height: 78px;
  overflow: hidden;
}
.mfpc-detail__spec strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mfpc-card__price .mfpc-btn {
  flex: 0 0 auto;
}
.mfpc-card__price strong {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}
.mfpc-cart-pill {
  overflow: hidden;
}
.mfpc-cart-pill strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* v1.3.2 premium usability fixes */
.mfpc-card {
  cursor: pointer;
}
.mfpc-card.is-loading {
  pointer-events: none;
  opacity: .72;
}
.mfpc-card__price {
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.82), #fff 42%);
  padding-top: 9px;
}
.mfpc-card__price .mfpc-btn--primary {
  min-width: 92px;
}
.mfpc-detail__actions {
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.72), #fff 42%);
  padding-top: 10px;
}
.mfpc-request-form.is-locked {
  filter: grayscale(.05);
}
.mfpc-request-form.is-locked:before {
  content: "Попълнете задължителните компоненти, за да изпратите заявка.";
  display: block;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff2f8;
  color: #d60064;
  font-size: 12px;
  font-weight: 900;
}
.mfpc-request-form.is-ready:before {
  content: "Конфигурацията е готова за изпращане.";
  display: block;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #effbf5;
  color: #008f5a;
  font-size: 12px;
  font-weight: 900;
}
.mfpc-stage-card {
  scroll-margin-top: 12px;
}
.mfpc-summary-card {
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding-right: 2px;
}
.mfpc-summary-card::-webkit-scrollbar {
  width: 6px;
}
.mfpc-summary-card::-webkit-scrollbar-thumb {
  background: rgba(255, 22, 136, .35);
  border-radius: 999px;
}


/* v1.3.3 decisive UI / CORS / workflow fixes */
.mfpc-page {
  padding: 0 16px 22px !important;
}

.mfpc-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px !important;
  display: block !important;
  margin: 0 0 12px !important;
  padding: 10px 0 !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,242,255,.94)) !important;
  border-bottom: 1px solid rgba(229,232,244,.9);
  box-shadow: 0 10px 30px rgba(32,38,75,.06);
  backdrop-filter: blur(16px);
}

.mfpc-topbar__inner {
  width: min(1860px, calc(100vw - 32px));
  margin: 0 auto;
  height: 56px;
  display: grid;
  grid-template-columns: 295px minmax(500px, 1fr) 360px;
  gap: 18px;
  align-items: center;
}

.mfpc-brand {
  width: 290px !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}

.mfpc-brand__logo {
  width: 255px !important;
  height: auto !important;
  max-height: 56px !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
}

.mfpc-nav {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: clamp(18px, 2.4vw, 48px) !important;
  height: 56px !important;
  overflow: hidden !important;
}

.mfpc-nav a {
  display: inline-flex !important;
  align-items: center !important;
  height: 56px !important;
  color: #111730 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  position: relative !important;
}

.mfpc-nav a.active {
  color: #ff1688 !important;
}

.mfpc-nav a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  border-radius: 999px;
  background: #ff1688;
}

.mfpc-top-actions {
  height: 56px !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 12px !important;
}

.mfpc-back-link {
  height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #e8ebf5;
  border-radius: 12px;
  background: #fff;
  color: #151b34;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(32,38,75,.05);
}

.mfpc-cart-pill {
  min-width: 165px !important;
  max-width: 210px !important;
  height: 46px !important;
  border-radius: 13px !important;
  padding: 0 14px !important;
}

.mfpc-shell {
  width: min(1860px, calc(100vw - 32px));
  margin: 0 auto;
  grid-template-columns: 300px minmax(0, 1fr) 385px !important;
}

.mfpc-steps-card {
  top: 88px !important;
  max-height: calc(100vh - 100px);
  overflow: auto;
}

.mfpc-summary-card {
  top: 88px !important;
}

.mfpc-stage-card {
  min-height: calc(100vh - 110px) !important;
}

.mfpc-current-pick {
  margin: 14px 0 8px;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid #eef0f7;
  background: rgba(255,255,255,.78);
  border-radius: 14px;
  padding: 10px 12px;
  color: #5d6682;
  font-size: 13px;
}

.mfpc-current-pick strong {
  color: #131a34;
  font-weight: 900;
}

.mfpc-current-pick button {
  margin-left: auto;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: #fff1f8;
  color: #ff1688;
  font-weight: 900;
}

.mfpc-card {
  height: 360px !important;
  padding: 12px !important;
}

.mfpc-card.selected {
  border: 2px solid #ff1688 !important;
  box-shadow: 0 18px 42px rgba(255,22,136,.20) !important;
}

.mfpc-card.selected:after {
  content: "✓";
  position: absolute;
  top: 13px;
  left: 13px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ff1688;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  z-index: 5;
}

.mfpc-card__media {
  height: 168px !important;
}

.mfpc-card__title {
  height: 40px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  margin: 10px 0 8px !important;
}

.mfpc-card__badges {
  min-height: 28px !important;
  max-height: 58px !important;
}

.mfpc-chip {
  font-size: 10.5px !important;
  padding: 5px 8px !important;
}

.mfpc-card__rating {
  margin-top: 6px !important;
  font-size: 12px !important;
}

.mfpc-card__price {
  margin-top: auto !important;
  padding-top: 8px !important;
}

.mfpc-card__price strong {
  font-size: 17px !important;
  max-width: 160px !important;
}

.mfpc-card__price .mfpc-btn {
  min-width: 84px !important;
  height: 38px !important;
  border-radius: 10px !important;
}

.mfpc-detail {
  max-height: 235px !important;
  min-height: 185px !important;
  grid-template-columns: 300px 1fr !important;
}

.mfpc-detail__gallery {
  min-height: 180px !important;
}

.mfpc-detail__gallery img {
  max-height: 180px !important;
}

.mfpc-detail__name {
  font-size: 20px !important;
  margin-bottom: 8px !important;
}

.mfpc-detail__specs {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.mfpc-detail__spec {
  min-height: 64px !important;
  padding: 9px 10px !important;
}

.mfpc-detail__actions {
  margin-top: 10px !important;
  padding-top: 8px !important;
}

.mfpc-detail__actions .mfpc-btn {
  height: 44px !important;
}

@media (max-width: 1400px) {
  .mfpc-topbar__inner,
  .mfpc-shell {
    width: calc(100vw - 20px);
  }
  .mfpc-topbar__inner {
    grid-template-columns: 250px 1fr 310px;
  }
  .mfpc-nav { gap: 18px !important; }
  .mfpc-brand__logo { width: 220px !important; }
  .mfpc-shell {
    grid-template-columns: 280px minmax(0, 1fr) 350px !important;
  }
}

@media (max-width: 1180px) {
  .mfpc-topbar {
    position: relative;
    height: auto !important;
  }
  .mfpc-topbar__inner {
    grid-template-columns: 1fr;
    height: auto;
  }
  .mfpc-nav {
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }
  .mfpc-top-actions {
    justify-content: flex-start !important;
  }
  .mfpc-shell {
    grid-template-columns: 1fr !important;
  }
  .mfpc-summary-card,
  .mfpc-steps-card {
    position: static !important;
    top: auto !important;
  }
}


/* v1.3.5 right-panel and share overflow fixes */
.mfpc-summary-card,
.mfpc-summary-panel,
.mfpc-price-panel,
.mfpc-request-form-wrap {
  min-width: 0 !important;
  overflow-x: hidden !important;
}

.mfpc-summary__item,
.mfpc-summary__item .meta,
.mfpc-request-form,
.mfpc-messages {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.mfpc-summary__totals .row {
  gap: 10px;
}

.mfpc-summary__totals .row strong,
.mfpc-cart-pill strong,
.mfpc-card__price strong {
  white-space: nowrap !important;
}

.mfpc-summary__totals .row.total strong {
  font-size: clamp(20px, 1.55vw, 27px) !important;
}

.mfpc-request-form button[type="submit"],
.mfpc-summary__buttons .mfpc-btn {
  max-width: 100% !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mfpc-stage-card {
  overflow: hidden;
}


/* v1.3.6 premium status / top-right total / optional-step UX */
.mfpc-total-card {
  min-width: 176px !important;
  height: 54px !important;
  padding: 0 16px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #121832 0%, #1d2447 46%, #ff1688 100%) !important;
  box-shadow: 0 16px 34px rgba(18,24,50,.18), 0 12px 32px rgba(255,22,136,.18) !important;
  color: #fff !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}
.mfpc-total-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mfpc-total-card__text {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.mfpc-total-card__text small {
  color: rgba(255,255,255,.76);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.mfpc-total-card__text strong {
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1.05;
  max-width: 138px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mfpc-step-item.done,
.mfpc-step-item.is-selected {
  border-color: #22c55e !important;
  background: linear-gradient(180deg, #f0fff6, #ffffff) !important;
  box-shadow: 0 12px 26px rgba(34,197,94,.12) !important;
}
.mfpc-step-item.skipped {
  border-color: #cbd5e1 !important;
  background: linear-gradient(180deg, #f8fafc, #ffffff) !important;
}
.mfpc-step-item.required-missing {
  border-color: #ff89c1 !important;
}
.mfpc-step-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff1f8;
  color: #ff1688;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .02em;
}
.mfpc-step-item.done .mfpc-step-badge,
.mfpc-step-item.is-selected .mfpc-step-badge {
  background: #dcfce7;
  color: #15803d;
}
.mfpc-step-item.skipped .mfpc-step-badge {
  background: #f1f5f9;
  color: #64748b;
}
.mfpc-step-item__check {
  color: #ff1688;
}
.mfpc-step-item.done .mfpc-step-item__check,
.mfpc-step-item.is-selected .mfpc-step-item__check {
  color: #22c55e !important;
}
.mfpc-current-pick.is-selected {
  border-color: #bbf7d0;
  background: linear-gradient(180deg, #f0fff6, #fff);
}
.mfpc-current-pick.is-skipped {
  border-color: #e2e8f0;
  background: linear-gradient(180deg, #f8fafc, #fff);
}
.mfpc-current-pick.is-required {
  border-color: #ffd0e7;
  background: linear-gradient(180deg, #fff6fb, #fff);
}
.mfpc-current-pick.is-optional {
  border-color: #dbeafe;
  background: linear-gradient(180deg, #f7fbff, #fff);
}
.mfpc-skip-step {
  height: 36px;
  border: 0;
  border-radius: 12px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(90deg, #22c55e, #14b8a6);
  font-weight: 1000;
  box-shadow: 0 10px 20px rgba(34,197,94,.20);
}
.mfpc-summary__item.is-selected {
  border-left: 4px solid #22c55e;
  padding-left: 10px;
  border-radius: 10px;
  background: #f0fff6;
}
.mfpc-summary__item.is-skipped {
  border-left: 4px solid #94a3b8;
  padding-left: 10px;
  border-radius: 10px;
  background: #f8fafc;
}
.mfpc-summary__item.is-required {
  border-left: 4px solid #ff1688;
  padding-left: 10px;
  border-radius: 10px;
  background: #fff7fb;
}
.mfpc-summary__item.is-optional {
  border-left: 4px solid #cbd5e1;
  padding-left: 10px;
  border-radius: 10px;
}


/* v1.3.6 MOBILE WEB-APP VIEW — section based, step-by-step, no desktop squeeze */
@media (max-width: 768px) {
  html,
  body.mfpc-configurator-route {
    overflow-x: hidden !important;
    background: #f6f7fc !important;
  }

  .mfpc-page {
    padding: 0 0 92px !important;
    min-height: 100vh;
    background:
      radial-gradient(circle at 20% -10%, rgba(255,22,136,.16), transparent 34%),
      radial-gradient(circle at 95% 0%, rgba(124,58,237,.12), transparent 28%),
      #f6f7fc !important;
  }

  .mfpc-topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 120 !important;
    height: auto !important;
    min-height: 72px !important;
    padding: 8px 10px !important;
    margin: 0 !important;
    border-bottom: 1px solid #edf0f7 !important;
    background: rgba(255,255,255,.96) !important;
    backdrop-filter: blur(18px) !important;
    box-shadow: 0 10px 30px rgba(18,24,50,.08) !important;
  }

  .mfpc-topbar__inner {
    width: 100% !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 8px 10px !important;
    align-items: center !important;
  }

  .mfpc-brand {
    width: auto !important;
    height: 48px !important;
    min-width: 0 !important;
  }

  .mfpc-brand__logo {
    width: 170px !important;
    max-height: 46px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  .mfpc-top-actions {
    height: 48px !important;
    display: flex !important;
    gap: 8px !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
  }

  .mfpc-back-link {
    display: none !important;
  }

  .mfpc-total-card {
    min-width: 132px !important;
    max-width: 148px !important;
    height: 46px !important;
    border-radius: 16px !important;
    padding: 0 10px !important;
    gap: 8px !important;
  }

  .mfpc-total-card__icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
  }

  .mfpc-total-card__text small {
    display: none !important;
  }

  .mfpc-total-card__text strong {
    max-width: 92px !important;
    font-size: 14px !important;
  }

  .mfpc-nav {
    grid-column: 1 / -1 !important;
    order: 3 !important;
    width: 100% !important;
    height: 40px !important;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 2px 0 4px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .mfpc-nav::-webkit-scrollbar {
    display: none !important;
  }

  .mfpc-nav a {
    height: 34px !important;
    flex: 0 0 auto !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    border: 1px solid #e8ebf5 !important;
    background: #fff !important;
    font-size: 12px !important;
    font-weight: 1000 !important;
  }

  .mfpc-nav a.active {
    background: #fff1f8 !important;
    border-color: #ffb8db !important;
    color: #ff1688 !important;
  }

  .mfpc-nav a.active:after {
    display: none !important;
  }

  .mfpc-shell {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important;
  }

  .mfpc-steps-card {
    order: 1 !important;
    position: sticky !important;
    top: 104px !important;
    z-index: 80 !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
    padding: 12px 10px !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 12px 30px rgba(18,24,50,.08) !important;
    overflow: hidden !important;
  }

  .mfpc-steps-card h3 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0 0 10px !important;
    font-size: 13px !important;
    letter-spacing: .04em !important;
  }

  .mfpc-steps-card h3:after {
    content: "Плъзни →";
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
  }

  #mfpc-steps {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding: 0 0 4px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  #mfpc-steps::-webkit-scrollbar {
    display: none !important;
  }

  .mfpc-step-item {
    position: relative !important;
    flex: 0 0 188px !important;
    height: 78px !important;
    min-height: 78px !important;
    display: grid !important;
    grid-template-columns: 42px 1fr 20px !important;
    gap: 9px !important;
    padding: 8px 9px !important;
    margin: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 18px rgba(18,24,50,.05) !important;
  }

  .mfpc-step-item.active {
    height: 78px !important;
    transform: none !important;
    box-shadow: 0 12px 24px rgba(255,22,136,.14) !important;
  }

  .mfpc-step-item.active:before {
    display: none !important;
  }

  .mfpc-step-item__icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 14px !important;
    font-size: 16px !important;
  }

  .mfpc-step-item__num {
    font-size: 11px !important;
    margin: 0 !important;
  }

  .mfpc-step-item__body strong {
    font-size: 13px !important;
    line-height: 1.15 !important;
    max-height: 30px !important;
    overflow: hidden !important;
  }

  .mfpc-step-item__meta {
    display: none !important;
  }

  .mfpc-step-badge {
    height: 18px !important;
    margin-top: 5px !important;
    padding: 0 7px !important;
    font-size: 9px !important;
  }

  .mfpc-main {
    order: 2 !important;
    min-width: 0 !important;
  }

  .mfpc-stage-card {
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 16px 12px !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 12px 32px rgba(18,24,50,.08) !important;
  }

  .mfpc-stage-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    align-items: start !important;
  }

  .mfpc-stage-head h1 {
    font-size: 24px !important;
    line-height: 1.08 !important;
    letter-spacing: -.04em !important;
    margin: 0 !important;
  }

  .mfpc-stage-head p {
    font-size: 12px !important;
    line-height: 1.35 !important;
    margin-top: 8px !important;
  }

  #mfpc-toggle-filters {
    display: none !important;
  }

  .mfpc-current-pick {
    margin: 12px 0 !important;
    border-radius: 18px !important;
    padding: 12px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    font-size: 12px !important;
  }

  .mfpc-current-pick button,
  .mfpc-skip-step {
    width: 100% !important;
    height: 42px !important;
    margin: 0 !important;
    border-radius: 14px !important;
  }

  .mfpc-filterbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 12px 0 !important;
  }

  .mfpc-filter-groups {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
  }

  .mfpc-filter-group {
    gap: 5px !important;
  }

  .mfpc-filter-group label {
    font-size: 11px !important;
  }

  .mfpc-filter-group select {
    height: 42px !important;
    border-radius: 14px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  #mfpc-reset-filters {
    width: 100% !important;
    height: 42px !important;
  }

  .mfpc-products {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .mfpc-card {
    height: auto !important;
    min-height: 156px !important;
    display: grid !important;
    grid-template-columns: 118px 1fr !important;
    grid-template-areas:
      "media title"
      "media badges"
      "media rating"
      "media price" !important;
    gap: 8px 12px !important;
    padding: 12px !important;
    border-radius: 22px !important;
  }

  .mfpc-card.selected:after {
    top: 10px !important;
    left: 10px !important;
  }

  .mfpc-card__recommend {
    top: 10px !important;
    left: 10px !important;
    font-size: 10px !important;
    padding: 5px 8px !important;
  }

  .mfpc-card__tools {
    top: 10px !important;
    right: 10px !important;
    gap: 4px !important;
  }

  .mfpc-card__tools span {
    width: 24px !important;
    height: 24px !important;
    font-size: 13px !important;
  }

  .mfpc-card__media {
    grid-area: media !important;
    height: 132px !important;
    min-height: 132px !important;
    border-radius: 18px !important;
  }

  .mfpc-card__title {
    grid-area: title !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 38px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .mfpc-card__badges {
    grid-area: badges !important;
    min-height: 24px !important;
    max-height: 50px !important;
    gap: 5px !important;
  }

  .mfpc-chip {
    font-size: 9.5px !important;
    padding: 5px 7px !important;
    border-radius: 8px !important;
  }

  .mfpc-card__rating {
    grid-area: rating !important;
    margin: 0 !important;
    font-size: 11px !important;
  }

  .mfpc-card__price {
    grid-area: price !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .mfpc-card__price strong {
    font-size: 14px !important;
    max-width: 100% !important;
  }

  .mfpc-card__price .mfpc-btn {
    height: 38px !important;
    min-width: 82px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  .mfpc-detail {
    display: grid !important;
    grid-template-columns: 1fr !important;
    max-height: none !important;
    min-height: 0 !important;
    gap: 10px !important;
    margin-top: 12px !important;
    padding: 12px !important;
    border-radius: 22px !important;
  }

  .mfpc-detail__gallery {
    min-height: 160px !important;
    max-height: 170px !important;
  }

  .mfpc-detail__gallery img {
    max-height: 160px !important;
  }

  .mfpc-detail__name {
    font-size: 18px !important;
  }

  .mfpc-detail__specs {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .mfpc-detail__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    position: static !important;
    background: transparent !important;
  }

  .mfpc-detail__actions .mfpc-btn {
    width: 100% !important;
  }

  .mfpc-benefits {
    grid-template-columns: 1fr !important;
    margin-top: 12px !important;
    border-radius: 22px !important;
  }

  .mfpc-benefit {
    border-right: 0 !important;
    border-bottom: 1px solid #e8ebf5 !important;
  }

  .mfpc-benefit:last-child {
    border-bottom: 0 !important;
  }

  .mfpc-summary-card {
    order: 3 !important;
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
    display: grid !important;
    gap: 10px !important;
    padding: 0 !important;
  }

  .mfpc-summary-panel,
  .mfpc-price-panel,
  .mfpc-request-form-wrap {
    border-radius: 24px !important;
    padding: 16px 14px !important;
    background: rgba(255,255,255,.96) !important;
  }

  .mfpc-summary__visual {
    display: none !important;
  }

  .mfpc-summary__header h3 {
    font-size: 18px !important;
  }

  .mfpc-summary__items {
    max-height: none !important;
  }

  .mfpc-summary__item {
    padding: 10px !important;
    border-radius: 16px !important;
  }

  .mfpc-summary__totals .row.total strong {
    font-size: 22px !important;
  }

  .mfpc-summary__buttons {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .mfpc-request-form label > span,
  .mfpc-request-form p,
  .mfpc-request-form small {
    font-size: 12px !important;
  }

  .mfpc-request-form input[type="text"],
  .mfpc-request-form input[type="tel"],
  .mfpc-request-form input[type="email"] {
    height: 46px !important;
    border-radius: 16px !important;
  }

  .mfpc-request-form button[type="submit"] {
    height: 48px !important;
    border-radius: 16px !important;
  }

  .mfpc-messages {
    border-radius: 18px !important;
    padding: 0 4px 10px !important;
  }
}

@media (max-width: 420px) {
  .mfpc-filter-groups {
    grid-template-columns: 1fr !important;
  }

  .mfpc-card {
    grid-template-columns: 105px 1fr !important;
  }

  .mfpc-card__media {
    height: 118px !important;
    min-height: 118px !important;
  }

  .mfpc-brand__logo {
    width: 150px !important;
  }

  .mfpc-total-card {
    min-width: 116px !important;
    max-width: 126px !important;
  }

  .mfpc-total-card__icon {
    display: none !important;
  }
}


/* v1.3.8 UI cleanup: no mobile test strips, fixed step badges, stronger business visual state */
.mfpc-step-item {
  position: relative !important;
  overflow: hidden !important;
}
.mfpc-step-badge {
  position: absolute !important;
  right: 42px !important;
  top: 10px !important;
  margin: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;
  box-shadow: 0 4px 10px rgba(18,24,50,.05);
}
.mfpc-step-item__body {
  min-width: 0 !important;
  padding-top: 2px !important;
}
.mfpc-step-item__body strong,
.mfpc-step-item__meta {
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.mfpc-step-item.done,
.mfpc-step-item.is-selected {
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%) !important;
  border-color: #22c55e !important;
}
.mfpc-step-item.done .mfpc-step-item__icon,
.mfpc-step-item.is-selected .mfpc-step-item__icon {
  background: #dcfce7 !important;
  border-color: #86efac !important;
  color: #15803d !important;
}
.mfpc-step-item.skipped .mfpc-step-item__icon {
  background: #f8fafc !important;
  color: #64748b !important;
}
.mfpc-price-panel,
.mfpc-summary-panel,
.mfpc-request-form-wrap {
  overflow: hidden !important;
}
.mfpc-total-card {
  min-width: 170px !important;
  background: linear-gradient(135deg, #111827 0%, #202946 48%, #ff1688 100%) !important;
}
.mfpc-total-card__text strong {
  max-width: 112px !important;
}
.mfpc-benefits {
  display: none !important;
}
@media (min-width: 769px) {
  .mfpc-benefits.mfpc-benefits--desktop {
    display: grid !important;
  }
}
@media (max-width: 768px) {
  .mfpc-benefits,
  .mfpc-benefit {
    display: none !important;
  }
  .mfpc-step-badge {
    top: auto !important;
    bottom: 8px !important;
    left: 58px !important;
    right: auto !important;
    height: 18px !important;
    font-size: 9px !important;
    padding: 0 7px !important;
  }
  .mfpc-step-item__body strong {
    padding-right: 4px !important;
  }
  .mfpc-step-item__check {
    position: absolute !important;
    right: 10px !important;
    top: 25px !important;
  }
  .mfpc-current-pick {
    box-shadow: 0 8px 22px rgba(18,24,50,.05) !important;
  }
  .mfpc-total-card {
    min-width: 128px !important;
    max-width: 146px !important;
  }
}

/* v1.3.9 critical mobile polish + mojibake cleanup */
.mfpc-stage-head p,
#mfpc-step-intro {
  color: #6c748d !important;
}

@media (max-width: 768px) {
  .mfpc-steps-card {
    position: static !important;
    top: auto !important;
    padding: 12px !important;
  }

  .mfpc-steps-card h3:after {
    content: none !important;
    display: none !important;
  }

  #mfpc-steps {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .mfpc-step-item {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 102px !important;
    grid-template-columns: 40px minmax(0, 1fr) 18px !important;
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .mfpc-step-item__icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
  }

  .mfpc-step-item__body {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .mfpc-step-item__num {
    display: block !important;
    margin-bottom: 3px !important;
    font-size: 10px !important;
  }

  .mfpc-step-item__body strong {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    max-height: none !important;
    line-height: 1.18 !important;
    font-size: 13px !important;
    padding-right: 0 !important;
  }

  .mfpc-step-item__meta {
    display: none !important;
  }

  .mfpc-step-badge {
    position: static !important;
    display: inline-flex !important;
    margin-top: 6px !important;
    height: 18px !important;
    font-size: 9px !important;
    padding: 0 7px !important;
    max-width: 100% !important;
  }

  .mfpc-step-item__check {
    position: static !important;
    align-self: start !important;
    justify-self: end !important;
    margin-top: 4px !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }

  .mfpc-stage-card {
    padding: 18px 14px !important;
    border-radius: 24px !important;
  }

  .mfpc-stage-head h1 {
    font-size: 22px !important;
    line-height: 1.1 !important;
    margin-bottom: 4px !important;
  }

  .mfpc-stage-head p,
  #mfpc-step-intro {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .mfpc-current-pick {
    padding: 14px !important;
  }

  .mfpc-card {
    grid-template-columns: 112px 1fr !important;
    gap: 10px 12px !important;
    min-height: 160px !important;
    border-radius: 22px !important;
  }

  .mfpc-card__media {
    height: 128px !important;
    min-height: 128px !important;
  }

  .mfpc-card__title {
    max-height: 42px !important;
    font-size: 13px !important;
  }

  .mfpc-card__price {
    gap: 6px !important;
  }

  .mfpc-card__price strong {
    font-size: 15px !important;
    line-height: 1.15 !important;
  }

  .mfpc-card__price .mfpc-btn {
    min-width: 78px !important;
    height: 36px !important;
    padding: 0 10px !important;
  }
}

@media (max-width: 420px) {
  #mfpc-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .mfpc-step-item {
    min-height: 108px !important;
    padding: 9px !important;
  }

  .mfpc-brand__logo {
    width: 148px !important;
  }

  .mfpc-total-card {
    min-width: 118px !important;
    max-width: 136px !important;
  }

  .mfpc-card {
    grid-template-columns: 102px 1fr !important;
  }

  .mfpc-card__media {
    height: 118px !important;
    min-height: 118px !important;
  }
}

/* v1.3.10 desktop sidebar usability + selected-name clamp + mobile steps readability */
.mfpc-step-item__body {
  min-width: 0 !important;
}
.mfpc-step-item__body strong {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.mfpc-step-item__meta {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  line-height: 1.24 !important;
  max-height: 30px !important;
  word-break: break-word !important;
}
.mfpc-summary-card {
  max-height: calc(100vh - 28px) !important;
  overflow: auto !important;
  padding-right: 2px !important;
  scrollbar-width: thin;
}
.mfpc-summary-card::-webkit-scrollbar,
.mfpc-summary__items::-webkit-scrollbar {
  width: 7px;
}
.mfpc-summary-card::-webkit-scrollbar-thumb,
.mfpc-summary__items::-webkit-scrollbar-thumb {
  background: #d6dceb;
  border-radius: 999px;
}
.mfpc-summary__items {
  max-height: 320px !important;
  overflow: auto !important;
  padding-right: 4px !important;
}
.mfpc-price-panel,
.mfpc-request-form-wrap {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
.mfpc-request-form h4 {
  font-size: 17px !important;
  margin-bottom: 4px !important;
}
.mfpc-request-form p {
  margin-bottom: 10px !important;
}
.mfpc-request-form label {
  margin-bottom: 7px !important;
}
.mfpc-request-form input[type="text"],
.mfpc-request-form input[type="tel"],
.mfpc-request-form input[type="email"] {
  height: 40px !important;
}
.mfpc-request-form small {
  margin-bottom: 8px !important;
}
.mfpc-request-form button[type="submit"] {
  min-height: 46px !important;
}

@media (max-width: 1280px) {
  .mfpc-summary-card {
    max-height: none !important;
    overflow: visible !important;
  }
  .mfpc-summary__items {
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 768px) {
  .mfpc-shell {
    padding: 8px !important;
  }
  .mfpc-steps-card {
    padding: 12px !important;
  }
  #mfpc-steps {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .mfpc-step-item {
    min-height: 88px !important;
    height: auto !important;
    grid-template-columns: 38px minmax(0, 1fr) 18px !important;
    align-items: center !important;
    padding: 10px !important;
  }
  .mfpc-step-item__icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
  }
  .mfpc-step-item__num {
    font-size: 10px !important;
    margin-bottom: 2px !important;
  }
  .mfpc-step-item__body strong {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.16 !important;
    max-height: none !important;
    white-space: normal !important;
    text-overflow: clip !important;
    overflow: hidden !important;
  }
  .mfpc-step-item__meta {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    max-height: 31px !important;
    font-size: 11px !important;
    margin-top: 3px !important;
  }
  .mfpc-step-badge {
    position: static !important;
    margin-top: 4px !important;
    max-width: fit-content !important;
  }
  .mfpc-step-item__check {
    position: static !important;
    align-self: center !important;
    justify-self: end !important;
    margin-top: 0 !important;
  }
  .mfpc-stage-head h1 {
    font-size: 20px !important;
  }
  .mfpc-current-pick button,
  .mfpc-skip-step,
  #mfpc-reset-filters,
  .mfpc-card__price .mfpc-btn,
  .mfpc-detail__actions .mfpc-btn,
  .mfpc-summary__buttons .mfpc-btn,
  .mfpc-request-form button[type="submit"] {
    min-height: 44px !important;
  }
}

@media (max-width: 420px) {
  .mfpc-topbar {
    padding: 8px !important;
  }
  .mfpc-topbar__inner {
    gap: 8px !important;
  }
  .mfpc-brand__logo {
    width: 142px !important;
  }
  .mfpc-step-item {
    min-height: 90px !important;
  }
  .mfpc-step-item__body strong {
    font-size: 13px !important;
  }
  .mfpc-card__price {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }
  .mfpc-card__price .mfpc-btn {
    width: 100% !important;
  }
}

/* v1.3.11 mobile horizontal steps slider + selected case visual + summary row fit */
.mfpc-summary__visual-frame {
  width: 100%;
  height: 190px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f5f7ff);
  border: 1px solid #e8ecf5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 18px 28px rgba(37, 46, 86, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mfpc-summary__visual-frame img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
}
.mfpc-summary__item {
  grid-template-columns: minmax(0, 1fr) 86px !important;
}
.mfpc-summary__item-main,
.mfpc-summary__item-side {
  min-width: 0;
}
.mfpc-summary__item .meta--name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
  max-height: 32px;
}
.mfpc-summary__item-side {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.mfpc-summary__item .meta--price {
  white-space: nowrap;
}
.mfpc-summary__item .remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  line-height: 1.1;
  text-align: right;
}
.mfpc-summary-panel { padding-bottom: 14px !important; }
.mfpc-summary__visual { height: 164px !important; margin: 10px 0 8px !important; }
.mfpc-summary__items { max-height: 280px !important; }
.mfpc-price-panel, .mfpc-request-form-wrap { padding: 14px 16px !important; }
.mfpc-request-form input[type="text"],
.mfpc-request-form input[type="tel"],
.mfpc-request-form input[type="email"] { height: 38px !important; }
.mfpc-summary__buttons .mfpc-btn,
.mfpc-request-form button[type="submit"] { min-height: 42px !important; }

@media (max-width: 768px) {
  .mfpc-steps-card {
    padding: 12px !important;
    border-radius: 24px !important;
  }
  #mfpc-steps {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 10px !important;
    padding: 2px 2px 8px !important;
    margin: 0 -2px !important;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  #mfpc-steps::-webkit-scrollbar {
    height: 7px;
  }
  #mfpc-steps::-webkit-scrollbar-thumb {
    background: #d7dceb;
    border-radius: 999px;
  }
  .mfpc-step-item {
    flex: 0 0 248px !important;
    width: 248px !important;
    min-width: 248px !important;
    max-width: 248px !important;
    min-height: 106px !important;
    grid-template-columns: 40px minmax(0,1fr) 18px !important;
    gap: 10px !important;
    scroll-snap-align: start;
    align-items: center !important;
    padding: 12px !important;
  }
  .mfpc-step-item__body {
    min-width: 0 !important;
  }
  .mfpc-step-item__body strong {
    font-size: 16px !important;
    line-height: 1.16 !important;
  }
  .mfpc-step-item__meta {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    font-size: 12px !important;
    max-height: 33px !important;
  }
  .mfpc-step-badge {
    margin-top: 6px !important;
  }
  .mfpc-summary__item {
    grid-template-columns: minmax(0, 1fr) 76px !important;
  }
  .mfpc-summary__item .remove {
    font-size: 11px !important;
  }
}

@media (max-width: 420px) {
  .mfpc-step-item {
    flex-basis: 230px !important;
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
  }
  .mfpc-step-item__body strong {
    font-size: 15px !important;
  }
}
