/* ==========================================================================
   IPH Merchant Profile — v1.0.1 (Nov 2026, bound to live data)
   Every rule is scoped under .iph-mp so nothing leaks into the theme.
   ========================================================================== */

.iph-mp {
  --mp-ink: #1B1B22;
  --mp-ink-2: #3B3F4A;
  --mp-muted: #555A66;
  --mp-line: #E8DED6;
  --mp-line-2: #EFE6DE;
  --mp-orange: #C2501F;
  --mp-orange-hover: #9A3D15;
  --mp-glass: rgba(255, 255, 255, 0.62);
  --mp-glass-strong: rgba(255, 255, 255, 0.72);
  --mp-glass-edge: rgba(255, 255, 255, 0.9);
  --mp-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mp-body: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;

  font-family: var(--mp-body);
  color: var(--mp-ink);
  background: linear-gradient(160deg, #FDF7F2 0%, #FBE9DD 38%, #F7EEF0 70%, #FDF7F2 100%);
  padding-bottom: 96px;
  line-height: 1.4;
}
.iph-mp *, .iph-mp *::before, .iph-mp *::after { box-sizing: border-box; }
.iph-mp a { color: var(--mp-orange); }
.iph-mp a:hover { color: var(--mp-orange-hover); }
.iph-mp h1, .iph-mp h2, .iph-mp h3, .iph-mp p { margin: 0; }
.iph-mp button { font: inherit; cursor: pointer; }
.iph-mp img { max-width: 100%; }
.iph-mp [hidden] { display: none !important; }

/* Clear separation from the site header above */
.iph-mp__divider {
  height: 1px;
  background: #E9DCD2;
  box-shadow: 0 10px 24px -12px rgba(120, 60, 25, 0.28);
  position: relative;
  z-index: 1;
}

.iph-mp__wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Shared glass panel */
.iph-mp__glass {
  background: var(--mp-glass);
  border: 1px solid var(--mp-glass-edge);
  border-radius: 28px;
  padding: 28px;
}

/* --------------------------------------------------------------------------
   Profile summary
   -------------------------------------------------------------------------- */
.iph-mp__summary {
  box-shadow: 0 20px 50px -24px rgba(170, 80, 30, 0.28);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.iph-mp__logo {
  width: 148px;
  height: 148px;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.iph-mp__logo img { width: 132px; height: auto; display: block; }

.iph-mp__ident { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.iph-mp__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.iph-mp__type {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #9A3D15; background: #FDE3D4; padding: 5px 10px; border-radius: 999px;
}
.iph-mp__since { font-size: 13px; color: var(--mp-muted); }
.iph-mp__name {
  font-family: var(--mp-display); font-weight: 800; font-size: 40px; letter-spacing: -0.02em; line-height: 1.15;
}
.iph-mp__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; }
.iph-mp__fact { display: inline-flex; align-items: center; gap: 6px; color: var(--mp-ink-2); }
.iph-mp__fact--rating { font-weight: 600; color: var(--mp-ink); }
.iph-mp__fact--rating small { font-size: inherit; font-weight: 400; color: var(--mp-muted); }

/* Badges — max 4 shown */
.iph-mp__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.iph-mp__badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid;
}
.iph-mp__badge--licensed { color: #134E4A; background: #D5F2EC; border-color: #A8E2D6; }
.iph-mp__badge--reputable { color: #7A2E0B; background: #FDE3D4; border-color: #F8C3A5; }
.iph-mp__badge--closer { color: #1E3A8A; background: #DCE6FD; border-color: #B9CCF8; }
.iph-mp__badge--neutral { color: var(--mp-ink-2); background: rgba(255, 255, 255, 0.8); border-color: #B8BCC6; }

/* Socials, website, report */
.iph-mp__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 4px; }
.iph-mp__socials { display: flex; gap: 8px; }
.iph-mp__social {
  width: 44px; height: 44px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--mp-line-2);
  display: flex; align-items: center; justify-content: center; color: var(--mp-orange);
}
.iph-mp__social svg { width: 24px; height: 24px; }
.iph-mp__website { font-weight: 600; font-size: 15px; }
.iph-mp .iph-mp__report { font-size: 13px; color: var(--mp-muted); margin-left: auto; }

/* Stats — sized for 4-figure counts and large rupiah totals */
.iph-mp__stats {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
}
.iph-mp__stat { background: #FFFFFF; border-radius: 18px; padding: 16px; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.3); }
.iph-mp__stat-value {
  font-family: var(--mp-display); font-size: 36px; font-weight: 800; line-height: 1.2;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.iph-mp__stat-value--accent { color: var(--mp-orange); }
.iph-mp__stat-label { font-size: 13px; color: var(--mp-muted); }

/* --------------------------------------------------------------------------
   Body: main column + sticky contact card
   -------------------------------------------------------------------------- */
.iph-mp__body { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.iph-mp__main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }

.iph-mp__section { display: flex; flex-direction: column; gap: 20px; }
.iph-mp__section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.iph-mp__h2 { font-family: var(--mp-display); font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
.iph-mp__h2--sm { font-size: 26px; }
.iph-mp__sub { margin-top: 4px; color: var(--mp-muted); font-size: 15px; }
.iph-mp__more { font-weight: 600; font-size: 15px; }

/* Filter bar */
.iph-mp__filters {
  background: var(--mp-glass);
  border: 1px solid var(--mp-glass-edge);
  border-radius: 20px;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end; /* every control bottoms out on one line */
}
.iph-mp__seg { display: flex; background: rgba(27, 27, 34, 0.06); border-radius: 999px; padding: 4px; gap: 4px; }
.iph-mp__seg-btn {
  border: 0; border-radius: 999px; padding: 10px 18px; min-height: 40px;
  font: 500 14px var(--mp-body); background: transparent; color: var(--mp-ink-2);
}
.iph-mp__seg-btn[aria-pressed="true"] {
  font-weight: 600; background: #FFFFFF; color: var(--mp-ink); box-shadow: 0 4px 10px -6px rgba(0, 0, 0, 0.3);
}
.iph-mp__field {
  display: flex; flex-direction: column;
  font-size: 11px; font-weight: 600; color: var(--mp-muted); text-transform: uppercase; letter-spacing: 0.06em;
}
.iph-mp__field--grow { flex: 1 1 180px; }
.iph-mp__field select,
.iph-mp__field input {
  margin-top: 2px; min-height: 48px; border: 1px solid #E2DCD6; background: #FFFFFF; border-radius: 12px;
  padding: 8px 10px; font: 500 14px var(--mp-body); color: var(--mp-ink); text-transform: none; letter-spacing: 0;
}
.iph-mp__field input { padding: 9px 12px; font-weight: 400; width: 100%; }

/* Listing grid + cards */
.iph-mp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.iph-mp__card {
  background: var(--mp-glass-strong); border: 1px solid rgba(255, 255, 255, 0.95); border-radius: 22px; overflow: hidden;
  box-shadow: 0 16px 36px -22px rgba(150, 70, 25, 0.35); display: flex; flex-direction: column;
}
.iph-mp__card-media { position: relative; height: 210px; background: #EDE6E0; }
.iph-mp__card-media > a, .iph-mp__card-media img { display: block; width: 100%; height: 100%; }
.iph-mp__card-media img { object-fit: cover; }
.iph-mp__chips { position: absolute; top: 12px; left: 12px; right: 60px; display: flex; gap: 6px; flex-wrap: wrap; }
.iph-mp__chip { font-size: 12px; font-weight: 600; color: var(--mp-ink); background: rgba(255, 255, 255, 0.92); padding: 5px 10px; border-radius: 999px; }
.iph-mp__chip--deal { font-weight: 700; color: #FFFFFF; background: var(--mp-ink); }
.iph-mp__save {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, 0.92); display: flex; align-items: center; justify-content: center; color: var(--mp-ink);
}
.iph-mp__save[aria-pressed="true"] { color: var(--mp-orange); }
.iph-mp__save[aria-pressed="true"] svg { fill: currentColor; }
.iph-mp__card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.iph-mp__price { font-family: var(--mp-display); font-size: 22px; font-weight: 800; color: var(--mp-orange); }
.iph-mp__price small { font: 500 13px var(--mp-body); color: var(--mp-muted); }
.iph-mp__card-title { font-family: var(--mp-display); font-size: 17px; font-weight: 700; line-height: 1.35; }
.iph-mp__card-title a { color: inherit; text-decoration: none; }
.iph-mp__card-title a:hover { color: var(--mp-orange); }
.iph-mp__card-loc { font-size: 14px; color: var(--mp-muted); }
.iph-mp__specs {
  margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(27, 27, 34, 0.08);
  display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--mp-ink-2);
}
.iph-mp__specs span { display: inline-flex; gap: 6px; align-items: center; }
.iph-mp__empty { padding: 32px; text-align: center; color: var(--mp-muted); background: var(--mp-glass); border-radius: 20px; }

.iph-mp__center { display: flex; justify-content: center; }
.iph-mp .iph-mp__pill-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px;
  color: var(--mp-ink); background: rgba(255, 255, 255, 0.8); border: 1px solid #FFFFFF; border-radius: 999px;
  padding: 12px 24px; box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.3);
}

/* Closed deals — dark panel */
.iph-mp__deals {
  background: var(--mp-ink); color: #FFFFFF; border-radius: 28px; padding: 28px;
  box-shadow: 0 24px 50px -28px rgba(27, 27, 34, 0.6);
}
.iph-mp__deals .iph-mp__sub { color: #C9CBD3; }
.iph-mp__deal-counts { display: flex; gap: 10px; flex-wrap: wrap; }
.iph-mp__deal-count {
  font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 14px; border-radius: 999px;
}
.iph-mp__deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.iph-mp__deal { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.iph-mp__deal-media { position: relative; height: 170px; }
.iph-mp__deal-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.85); }
.iph-mp__stamp {
  position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
  color: #FFFFFF; background: #D9581F; padding: 6px 12px; border-radius: 999px;
}
.iph-mp__deal-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.iph-mp__deal-title { font-family: var(--mp-display); font-size: 16px; font-weight: 700; line-height: 1.35; }
.iph-mp__deal-loc, .iph-mp__deal-date { font-size: 14px; color: #C9CBD3; }
.iph-mp__deal-date { font-size: 13px; }
.iph-mp__deal-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 6px; }
.iph-mp__deal-price { font-family: var(--mp-display); font-size: 18px; font-weight: 800; color: #FFB48A; }
.iph-mp .iph-mp__ghost-link {
  display: inline-flex; text-decoration: none; font-weight: 600; font-size: 15px; color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; padding: 12px 24px;
}

/* Reviews */
.iph-mp__reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.iph-mp .iph-mp__btn-light {
  display: inline-flex; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--mp-ink);
  background: #FFFFFF; border-radius: 999px; padding: 10px 18px; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.3);
}
.iph-mp__score-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.iph-mp__score { display: flex; flex-direction: column; gap: 4px; min-width: 140px; }
.iph-mp__score-num { font-family: var(--mp-display); font-size: 52px; font-weight: 800; line-height: 1; }
.iph-mp__stars { color: #F0932B; font-size: 18px; letter-spacing: 2px; }
.iph-mp__score-note { font-size: 13px; color: var(--mp-muted); }
.iph-mp__bars { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--mp-ink-2); }
.iph-mp__bar { display: flex; align-items: center; gap: 10px; }
.iph-mp__bar > span { width: 26px; }
.iph-mp__bar-track { flex: 1; height: 8px; border-radius: 999px; background: rgba(27, 27, 34, 0.08); overflow: hidden; }
.iph-mp__bar-fill { height: 100%; background: #E8703A; border-radius: 999px; }
.iph-mp__review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.iph-mp__review { background: #FFFFFF; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.iph-mp__review-head { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.iph-mp__review-head span { color: #F0932B; }
.iph-mp__review p { font-size: 14px; line-height: 1.55; color: var(--mp-ink-2); }
.iph-mp__review-meta { font-size: 12px; color: var(--mp-muted); }
.iph-mp__reply { margin-top: 4px; background: #FBF3EC; border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--mp-ink-2); }

/* About */
.iph-mp__about p { font-size: 16px; line-height: 1.65; color: var(--mp-ink-2); }
.iph-mp__label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mp-muted); margin-top: 8px; }
.iph-mp__areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.iph-mp__areas li { font-size: 14px; font-weight: 500; background: #FFFFFF; border: 1px solid var(--mp-line-2); padding: 8px 14px; border-radius: 999px; }

/* --------------------------------------------------------------------------
   Sticky contact card
   -------------------------------------------------------------------------- */
.iph-mp__contact {
  flex: 1 1 320px;
  position: sticky;
  top: 110px; /* below the sticky site header */
  background: var(--mp-glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  box-shadow: 0 20px 44px -24px rgba(170, 80, 30, 0.35);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.iph-mp__contact-title { font-family: var(--mp-display); font-size: 20px; font-weight: 800; }
.iph-mp__contact-note { font-size: 13px; color: var(--mp-muted); margin-top: 4px; }
.iph-mp__channels { display: flex; flex-direction: column; gap: 12px; }
.iph-mp .iph-mp__channel {
  display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--mp-ink);
  background: #FFFFFF; border: 1px solid var(--mp-line); border-radius: 18px;
  padding: 10px 16px 10px 12px; min-height: 72px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.iph-mp .iph-mp__channel:hover { color: var(--mp-ink); border-color: #D9C9BC; box-shadow: 0 8px 18px -12px rgba(0, 0, 0, 0.3); }
.iph-mp__channel-icon {
  width: 52px; height: 52px; border-radius: 14px; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.iph-mp__channel-icon--wa { background: #25A35A; }
.iph-mp__channel-icon--phone { background: #BE5129; }
.iph-mp__channel-icon--email { background: #3A3833; }
.iph-mp__channel-name { flex: 1; font-family: var(--mp-display); font-size: 18px; font-weight: 700; }
.iph-mp__chev { color: #A39A93; }
.iph-mp__contact-rule { border-top: 1px solid var(--mp-line); margin-top: 4px; }

/* Primary action — same gradient as the header's My Account button */
.iph-mp .iph-mp__message {
  display: flex; align-items: center; justify-content: center; min-height: 76px; border: 0; border-radius: 22px;
  text-decoration: none; color: #FFFFFF; font-family: var(--mp-display); font-weight: 800; font-size: 20px;
  background: linear-gradient(135deg, #EC9F7E 0%, #E08A62 45%, #C9603D 100%);
  box-shadow: 0 14px 28px -12px rgba(201, 96, 61, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: filter .15s ease, transform .15s ease;
}
.iph-mp .iph-mp__message:hover { color: #FFFFFF; filter: brightness(1.04); transform: translateY(-1px); }

/* Focus rings for keyboard users */
.iph-mp a:focus-visible,
.iph-mp button:focus-visible,
.iph-mp select:focus-visible,
.iph-mp input:focus-visible { outline: 3px solid rgba(194, 80, 31, 0.45); outline-offset: 2px; }


/* --------------------------------------------------------------------------
   v1.0.1 additions (live data, theme scripts)
   -------------------------------------------------------------------------- */
.iph-mp__edit { font-size: 13px; font-weight: 600; margin-left: auto; }
.iph-mp__fact--rating { text-decoration: none; }
.iph-mp .iph-mp__price { font-family: var(--mp-display); font-size: 22px; font-weight: 800; color: var(--mp-orange); margin: 0; line-height: 1.3; }
.iph-mp__card-media > a { background: #EDE6E0; }
.iph-mp__chip--deal + .iph-mp__chip { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Save heart uses the theme's save / unsave classes */
.iph-mp__save.not-save-property, .iph-mp__save[aria-pressed="true"] { color: var(--mp-orange); }
.iph-mp__save.not-save-property svg { fill: currentColor; }
/* Pager */
.iph-mp__pager { display: flex; justify-content: center; align-items: center; gap: 16px; font-size: 14px; color: var(--mp-muted); }
.iph-mp__pager a { font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.8); }
.iph-mp__deals-empty { color: #C9CBD3; padding: 8px 0; }
/* Reveal number / email pill (theme script fills in the number) */
.iph-mp .iph-mp__channel { cursor: default; }
.iph-mp .iph-mp__reveal {
  position: static !important; margin: 0 !important; border: 0 !important; box-shadow: none !important;
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px;
  border-radius: 999px !important; background: var(--mp-ink) !important; color: #FFFFFF !important; cursor: pointer; font-size: 14px; white-space: nowrap;
  max-width: 55%; overflow: hidden; text-overflow: ellipsis;
}
.iph-mp__reveal strong { color: #FFFFFF !important; font-weight: 600; }
.iph-mp__reveal a { color: #FFFFFF !important; }
.iph-mp .iph-mp__message {
  position: static !important; inset: auto !important; transform: none; z-index: auto !important;
  width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 16px !important;
  font: 800 20px var(--mp-display) !important; cursor: pointer;
}
/* Theme button styles must not shrink the heart icon */
.iph-mp .iph-mp__save { padding: 0 !important; min-width: 40px; }
.iph-mp .iph-mp__save svg { width: 18px !important; height: 18px !important; flex: none; }
/* When the contact card no longer fits beside the content, it goes above My Portfolio */
@media (max-width: 1100px) {
  .iph-mp__contact { order: -1; flex-basis: 100%; position: static; }
  .iph-mp__main { flex-basis: 100%; }
}
/* Reviews: same <li> markup as the theme's "Load More" */
.iph-mp .iph-mp__review-grid { margin: 0; padding: 0; list-style: none; }
.iph-mp__review-grid > li {
  background: #FFFFFF; border-radius: 18px; padding: 18px; display: flex; gap: 12px; align-items: flex-start; list-style: none;
}
.iph-mp__review-grid .reviewpostimg img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.iph-mp__review-grid .reviewpost { flex: 1; min-width: 0; font-size: 14px; line-height: 1.55; color: var(--mp-ink-2); }
.iph-mp__review-grid .reviewposthead { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.iph-mp__review-grid .reviewposthead h3 { font: 700 15px var(--mp-display); margin: 0; color: var(--mp-ink); }
.iph-mp__review-grid .reviewposthead h4 { font-size: 12px; font-weight: 400; color: var(--mp-muted); margin: 2px 0 0; }
.iph-mp__review-grid li.iph-mp__no-reviews { display: block; color: var(--mp-muted); background: rgba(255,255,255,.6); }
.iph-mp__review-grid .reviewpost p { margin: 0 0 6px; }
.iph-mp__review-form { margin-top: 8px; padding: 22px; background: rgba(255,255,255,.7); border-radius: 20px; }
.iph-mp__h3 { font: 800 20px var(--mp-display); margin: 0 0 4px; }
.iph-mp__review-form p { font-size: 13px; color: var(--mp-muted); margin-bottom: 14px; }
.iph-mp__about-text p { margin: 0 0 10px; font-size: 16px; line-height: 1.65; color: var(--mp-ink-2); }
.iph-mp__about { gap: 14px; }
/* Narrow screens */
@media (max-width: 767px) {
  .iph-mp__wrap { padding: 20px 16px 0; gap: 28px; }
  .iph-mp__glass, .iph-mp__deals { padding: 20px; border-radius: 22px; }
  .iph-mp__logo { width: 96px; height: 96px; border-radius: 18px; }
  .iph-mp__logo img { width: 86px; }
  .iph-mp__name { font-size: 28px; }
  .iph-mp__stat-value { font-size: 26px; }
  .iph-mp__h2 { font-size: 24px; }
  .iph-mp__seg { width: 100%; overflow-x: auto; }
  .iph-mp__field { flex: 1 1 45%; }
  .iph-mp__field select { width: 100%; }
  .iph-mp__contact { position: static; }
  .iph-mp .iph-mp__report { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   Contact card = same look and behaviour as the property page price card
   -------------------------------------------------------------------------- */
.iph-mp__contact { gap: 16px; }
.iph-mp__reveals { display: flex; flex-direction: column; gap: 10px; }
.iph-mp .iph-mp__reveals > span {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-rows: auto auto;
  column-gap: 14px; align-items: center; min-height: 64px; padding: 10px 16px;
  border-radius: 16px; border: 1px solid #EBDDD2; background: #FFFFFF; text-align: left; cursor: pointer;
  transition: background .15s, border-color .15s; margin: 0; box-shadow: none; color: var(--mp-ink);
}
.iph-mp .iph-mp__reveals > span:hover { background: #FFF6F1; border-color: #F2C9B6; }
.iph-mp__rv-ico { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: #fff; }
.iph-mp__rv-ico--wa { background: #25A55F; }
.iph-mp__rv-ico--ph { background: #C9481B; }
.iph-mp__rv-ico--em { background: #3D3833; }
.iph-mp .iph-mp__reveals small { grid-column: 2; grid-row: 1; display: block; font-size: 12px; line-height: 1.3; font-weight: 600; color: #7a6f66; }
.iph-mp .iph-mp__reveals strong { grid-column: 2; grid-row: 2; display: block; float: none !important; font-size: 15px; line-height: 1.3; font-weight: 700; color: var(--mp-ink) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iph-mp .iph-mp__reveals > span::after {
  content: ""; grid-column: 3; grid-row: 1 / span 2; width: 8px; height: 8px;
  border-top: 2px solid #b8aca2; border-right: 2px solid #b8aca2; transform: rotate(45deg);
}
/* before the first tap: only the label, centred */
.iph-mp .iph-mp__reveals > span:not(.is-revealed) > small { grid-row: 1 / span 2; align-self: center; font: 700 17px var(--mp-display); color: var(--mp-ink); }
.iph-mp .iph-mp__reveals > span:not(.is-revealed) > strong { display: none; }
.iph-mp .iph-mp__reveals > span.is-revealed { border-color: #F2C9B6; background: #FFFDFB !important; }
.iph-mp .iph-mp__reveals > span.is-revealed strong { color: #C4471C !important; letter-spacing: .01em; }
.iph-mp .iph-mp__reveals > span.is-revealed::after {
  width: 14px; height: 14px; border: 0; transform: none;
  background: no-repeat center / 14px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4471C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E");
}
.iph-mp .iph-mp__reveals > span:focus-visible { outline: 2px solid #C9481B; outline-offset: 2px; }
/* Message agent: same solid button as the property page */
.iph-mp .iph-mp__message {
  display: flex !important; align-items: center; justify-content: center;
  min-height: 56px !important; border: 0 !important; border-radius: 16px !important;
  font: 700 17px var(--mp-display) !important; color: #fff !important;
  background: #C9481B !important; box-shadow: 0 10px 20px -12px rgba(201, 72, 27, .9) !important;
  filter: none; transform: none;
}
.iph-mp .iph-mp__message:hover { background: #B23E15 !important; color: #fff !important; }