/* MobileFone v3.1.34 — Professional, information-first mobile profile.
 * Loaded AFTER the site design palette and scoped to .mpm-profile.
 * No imported data, schema, card, or specification-table behavior is changed. */

html body .mpm-profile {
    --mpm-hero-blue: var(--wmz-primary, #155eef);
    --mpm-hero-navy: var(--wmz-heading, #142440);
    --mpm-hero-line: var(--wmz-border, #dfe6f0);
    --mpm-hero-muted: var(--wmz-muted, #65748b);
    max-width: 1200px;
}

/* A compact, balanced two-column image + price composition. */
html body .mpm-profile .mpm-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: stretch;
    gap: 18px;
}
html body .mpm-profile .mpm-hero-media,
html body .mpm-profile .mpm-hero-data {
    min-width: 0;
    border: 1px solid var(--mpm-hero-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(20, 36, 64, .045);
}
html body .mpm-profile .mpm-hero-media {
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}
html body .mpm-profile .mpm-main-image {
    height: 328px;
    min-height: 328px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}
html body .mpm-profile .mpm-main-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1.13);
    transform-origin: center;
}
html body .mpm-profile .mpm-main-image .mpm-image-fallback {
    height: 100%;
    min-height: 0;
    background: #f7faff;
}
html body .mpm-profile .mpm-thumbnails {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 2px 2px;
    margin-top: 5px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #c8d7ec transparent;
}
html body .mpm-profile .mpm-thumb {
    display: grid;
    place-items: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 4px;
    border: 1px solid #dbe5f1;
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
}
html body .mpm-profile .mpm-thumb.is-selected,
html body .mpm-profile .mpm-thumb[aria-pressed="true"] {
    border-color: var(--mpm-hero-blue);
    box-shadow: 0 0 0 1px var(--mpm-hero-blue);
}
html body .mpm-profile .mpm-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* The price panel is intentionally content-sized, not an empty inventory box. */
html body .mpm-profile .mpm-hero-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: clamp(18px, 2.6vw, 30px);
}
html body .mpm-profile .mpm-price-label {
    display: block;
    margin: 0 0 5px;
    color: var(--mpm-hero-muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}
html body .mpm-profile .mpm-live-price {
    color: var(--mpm-hero-blue) !important;
    margin: 0 0 12px;
    font-size: clamp(31px, 3.2vw, 42px);
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
}
html body .mpm-profile .mpm-old-price {
    margin: -4px 0 8px;
    font-size: 14px;
}
html body .mpm-profile .mpm-variants {
    margin: 6px 0 0;
    padding: 0;
}
html body .mpm-profile .mpm-variants h3 {
    margin: 0 0 10px;
    color: var(--mpm-hero-muted);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
}
html body .mpm-profile .mpm-variant-options {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
}
html body .mpm-profile .mpm-variant {
    min-height: 39px;
    padding: 9px 13px;
    border: 1px solid #d5e0ef;
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
    color: var(--mpm-hero-navy);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease;
}
html body .mpm-profile .mpm-variant[aria-pressed="true"] {
    background: #eff5ff;
    border-color: var(--mpm-hero-blue);
    color: var(--mpm-hero-blue);
}
html body .mpm-profile .mpm-variant-note {
    min-height: 0;
    margin: 6px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: var(--mpm-hero-muted);
}
html body .mpm-profile .mpm-variant-note:empty {display: none;}
html body .mpm-profile .mpm-editor-score {
    margin: 11px 0 0;
    padding: 8px 10px;
    font-size: 12px;
}

/* Clear, accessible secondary compare + primary specs actions. */
html body .mpm-profile .mpm-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
    align-items: stretch;
    gap: 10px;
    margin-top: 19px;
}
html body .mpm-profile .mpm-hero-actions > * {min-width: 0;}
html body .mpm-profile .mpm-hero-actions .mpm-compare-add,
html body .mpm-profile .mpm-hero-actions .mpm-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 11px;
    border-radius: 9px;
    border: 1px solid var(--mpm-hero-blue);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    box-shadow: none;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
    text-decoration: none;
    transform: none;
}
html body .mpm-profile .mpm-hero-actions .mpm-compare-add {
    background: #fff;
    color: var(--mpm-hero-blue);
}
html body .mpm-profile .mpm-hero-actions .mpm-compare-add[aria-pressed="true"] {
    border-color: #81c6ae;
    background: #e8f7f0;
    color: #16724c;
}
html body .mpm-profile .mpm-hero-actions .mpm-action-link {
    background: var(--mpm-hero-blue);
    color: #fff;
}
html body .mpm-profile .mpm-hero-actions .mpm-action-link:hover {
    background: var(--wmz-primary-hover, #1048b8);
    border-color: var(--wmz-primary-hover, #1048b8);
    color: #fff;
    box-shadow: 0 5px 14px rgba(21,94,239,.17);
    transform: none;
}
html body .mpm-profile .mpm-hero-actions .mpm-compare-add:hover:not([aria-pressed="true"]) {
    background: #eff5ff;
    box-shadow: 0 3px 12px rgba(21,94,239,.08);
}
html body .mpm-profile .mpm-hero-actions .mpm-action-icon,
html body .mpm-profile .mpm-hero-actions .mpm-action-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
}
html body .mpm-profile .mpm-hero-actions .mpm-action-text {
    display: block;
    color: inherit;
    white-space: normal;
    text-align: center;
}
html body .mpm-profile .mpm-hero-actions .mpm-action-arrow {
    width: 15px;
    height: 15px;
}

/* Exactly the existing verified highlights, presented as premium scannable tiles. */
html body .mpm-profile .mpm-key-overview {margin-top: 27px;}
html body .mpm-profile .mpm-key-intro {margin-bottom: 15px;}
html body .mpm-profile .mpm-key-intro h2 {
    margin: 0;
    color: var(--mpm-hero-navy) !important;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.3;
    letter-spacing: -.025em;
    font-weight: 800;
}
html body .mpm-profile .mpm-key-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
}
html body .mpm-profile .mpm-key-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 9px;
    min-width: 0;
    min-height: 142px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--mpm-hero-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(20,36,64,.035);
    transition: border-color .18s ease, box-shadow .18s ease;
    transform: none;
}
html body .mpm-profile .mpm-key-item:hover {
    border-color: #bed2f0;
    box-shadow: 0 7px 20px rgba(20,36,64,.08);
    transform: none;
}
html body .mpm-profile .mpm-key-icon {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--mpm-spec-tint);
    color: var(--mpm-spec-icon) !important;
}
html body .mpm-profile .mpm-key-svg {width: 21px;height: 21px;}
html body .mpm-profile .mpm-key-content {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    padding: 0;
}
html body .mpm-profile .mpm-key-item .mpm-key-label {
    display: block;
    margin: 0 0 5px;
    color: var(--mpm-hero-muted) !important;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
}
html body .mpm-profile .mpm-key-item .mpm-key-value {
    display: block;
    margin: 0;
    color: var(--mpm-hero-navy);
    font-size: clamp(12px, 1.1vw, 14px);
    font-weight: 800;
    line-height: 1.38;
    letter-spacing: -.012em;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

@media (max-width: 760px) {
    html body .mpm-profile .mpm-key-grid {grid-template-columns: repeat(3, minmax(0, 1fr));}
    html body .mpm-profile .mpm-key-item {min-height: 110px;}
}
@media (max-width: 780px) {
    html body .mpm-profile .mpm-hero-grid {gap: 12px;}
    html body .mpm-profile .mpm-hero-media {padding: 10px;}
    html body .mpm-profile .mpm-hero-data {padding: 17px;}
    html body .mpm-profile .mpm-main-image {height: 280px;min-height: 280px;}
    html body .mpm-profile .mpm-hero-actions {grid-template-columns: 1fr;}
    html body .mpm-profile .mpm-live-price {font-size: 32px;}
}
@media (max-width: 650px) {
    html body .mpm-profile .mpm-hero-grid {grid-template-columns: minmax(0, 1fr);}
    html body .mpm-profile .mpm-hero-media {padding: 10px 12px;}
    html body .mpm-profile .mpm-main-image {height: min(76vw, 338px);min-height: 235px;}
    html body .mpm-profile .mpm-hero-data {padding: 19px;}
    html body .mpm-profile .mpm-hero-actions {grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);}
    html body .mpm-profile .mpm-key-grid {grid-template-columns: repeat(2, minmax(0, 1fr));gap: 9px;}
    html body .mpm-profile .mpm-key-item {min-height: 130px;padding: 12px;gap: 8px;}
    html body .mpm-profile .mpm-key-item .mpm-key-value {font-size: 12.5px;}
}
@media (max-width: 520px) {
    html body .mpm-profile .mpm-hero-actions {grid-template-columns: minmax(0, 1fr);}
    html body .mpm-profile .mpm-key-item {padding: 10px;}
}
@media (prefers-reduced-motion: reduce) {
    html body .mpm-profile .mpm-key-item,
    html body .mpm-profile .mpm-variant,
    html body .mpm-profile .mpm-hero-actions .mpm-action-link,
    html body .mpm-profile .mpm-hero-actions .mpm-compare-add {transition: none;}
}

@media (min-width: 861px) and (max-width: 1030px) {
    html body .mpm-profile .mpm-hero-actions .mpm-action-icon,
    html body .mpm-profile .mpm-hero-actions .mpm-action-arrow {display: none;}
    html body .mpm-profile .mpm-hero-actions .mpm-action-text {white-space: nowrap;}
}
@media (min-width: 651px) and (max-width: 860px) {
    html body .mpm-profile .mpm-hero-actions {grid-template-columns: minmax(0, 1fr);}
}

/* v3.1.36 — prices are visible for every configured memory variant.
 * No unverified amount is inferred from the phone's general price. */
html body .mpm-profile .mpm-price-context {
    margin: 0 0 6px;
    color: var(--mpm-hero-muted);
    font-size: 11px;
    line-height: 1.45;
}
html body .mpm-profile .mpm-variant-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
}
html body .mpm-profile .mpm-variant {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    min-width: 0;
    min-height: 66px;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 10px;
    line-height: 1.3;
}
html body .mpm-profile .mpm-variant-name {
    display: block;
    width: 100%;
    color: var(--mpm-hero-navy);
    font-size: 12px;
    font-weight: 800;
    overflow-wrap: anywhere;
}
html body .mpm-profile .mpm-variant-price {
    display: block;
    color: var(--mpm-hero-blue);
    font-size: 14px;
    font-weight: 850;
    overflow-wrap: anywhere;
    letter-spacing: -.015em;
}
html body .mpm-profile .mpm-variant--unpriced .mpm-variant-price {
    color: var(--mpm-hero-muted);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: normal;
}
html body .mpm-profile .mpm-variant[aria-pressed="true"] {
    background: #edf4ff;
    border-color: var(--mpm-hero-blue);
    box-shadow: inset 0 0 0 1px var(--mpm-hero-blue);
}
html body .mpm-profile .mpm-variant:focus-visible {
    outline: 3px solid #83b5ff;
    outline-offset: 2px;
}
@media(max-width: 390px) {
    html body .mpm-profile .mpm-variant-options {gap: 7px;}
    html body .mpm-profile .mpm-variant {padding: 9px;min-height: 64px;}
    html body .mpm-profile .mpm-variant-price {font-size: 13px;}
}


/* v3.1.42 — Key Features dashboard (hybrid of approved concepts).
   Stored specifications, media and product data are unchanged. */
html body .mpm-profile .mpm-key-overview--dashboard{margin:27px 0 28px;padding:20px;background:linear-gradient(135deg,#fff 0%,#f5f9ff 100%);border:1px solid #cbdcf8;border-radius:19px;box-shadow:0 9px 27px rgba(18,65,130,.07)}
html body .mpm-profile .mpm-dashboard-heading{display:flex;align-items:center;gap:12px;margin-bottom:17px;min-width:0}
html body .mpm-profile .mpm-dashboard-heading-icon{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border:1px solid #1a64de;border-radius:12px;background:linear-gradient(140deg,#126dff,#073da8);color:#fff;box-shadow:0 7px 14px rgba(14,83,194,.15)}
html body .mpm-profile .mpm-dashboard-heading h2{font-size:clamp(20px,2.15vw,26px);font-weight:850;line-height:1.25;margin:0;color:#112345!important;letter-spacing:-.027em}
html body .mpm-profile .mpm-key-dashboard{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1.16fr);gap:16px;min-width:0;align-items:stretch}
html body .mpm-profile .mpm-key-dashboard--solo{grid-template-columns:minmax(0,1fr)}
html body .mpm-profile .mpm-key-spotlight{position:relative;isolation:isolate;display:flex;align-items:stretch;min-width:0;overflow:hidden;min-height:255px;background:radial-gradient(ellipse at 95% 55%,#127cff 0%,transparent 48%),linear-gradient(145deg,#0a58da,#063c9f);border:1px solid #1c70ea;border-radius:17px;color:#fff;box-shadow:0 14px 27px rgba(12,77,182,.18)}
html body .mpm-profile .mpm-key-spotlight::before{content:"";position:absolute;z-index:-1;width:120%;height:74%;left:-20%;bottom:-49%;transform:rotate(-10deg);border-radius:50%;background:linear-gradient(105deg,rgba(64,200,255,.28),rgba(80,155,255,.02))}
html body .mpm-profile .mpm-key-spotlight-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-width:0;max-width:74%;padding:25px 13px 25px 27px;text-shadow:0 2px 6px rgba(0,28,80,.12)}
html body .mpm-profile .mpm-key-spotlight-icon{display:grid;place-items:center;width:51px;height:51px;margin-bottom:4px;border-radius:13px;background:linear-gradient(145deg,rgba(255,255,255,.3),rgba(255,255,255,.12));color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
html body .mpm-profile .mpm-key-spotlight-icon .mpm-key-svg{width:27px;height:27px}
html body .mpm-profile .mpm-key-spotlight-label{font-size:16px;font-weight:750;color:#e3f1ff;line-height:1.2}
html body .mpm-profile .mpm-key-spotlight-value{font-size:clamp(24px,2.4vw,35px);font-weight:900;letter-spacing:-.033em;line-height:1.12;color:#fff;overflow-wrap:anywhere}
html body .mpm-profile .mpm-key-spotlight-detail{font-size:13px;font-weight:550;color:#e1eeff;line-height:1.4;overflow-wrap:anywhere}
html body .mpm-profile .mpm-key-spotlight-media{position:absolute;inset:8px 0 0 auto;z-index:1;width:49%;max-width:255px;display:flex;align-items:flex-end;justify-content:flex-end;pointer-events:none;overflow:hidden}
html body .mpm-profile .mpm-key-spotlight-phone{width:100%;height:100%;max-width:100%;object-fit:contain;object-position:right bottom;filter:drop-shadow(0 10px 11px rgba(0,19,65,.25));mix-blend-mode:multiply;transform:scale(1.12) translate(2%,4%)}
html body .mpm-profile .mpm-key-dashboard-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(72px,auto);align-content:stretch;gap:10px;min-width:0}
html body .mpm-profile .mpm-key-overview--dashboard .mpm-key-item{position:relative;display:flex;flex-direction:row;align-items:center;gap:11px;min-height:72px;margin:0;padding:12px 13px;border:1px solid #d4e1f5;border-radius:12px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 4px 12px rgba(13,46,89,.055);text-decoration:none!important;transform:none}
html body .mpm-profile .mpm-key-overview--dashboard a.mpm-key-item:hover,html body .mpm-profile .mpm-key-overview--dashboard a.mpm-key-item:focus-visible{border-color:#7aaaf0;background:#eef6ff;box-shadow:0 7px 19px rgba(14,76,169,.12);outline-offset:2px}
html body .mpm-profile .mpm-key-overview--dashboard .mpm-key-icon{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:11px;background:var(--mpm-spec-tint,#edf4ff);color:var(--mpm-spec-icon,#155eef)!important}
html body .mpm-profile .mpm-key-overview--dashboard .mpm-key-svg{width:24px;height:24px}
html body .mpm-profile .mpm-key-overview--dashboard .mpm-key-content{display:block;flex:1 1 auto;width:auto;min-width:0;padding:0}
html body .mpm-profile .mpm-key-overview--dashboard .mpm-key-item .mpm-key-label{margin:0 0 3px;color:#526b8b!important;font-size:11px;font-weight:700;letter-spacing:.01em;text-transform:none}
html body .mpm-profile .mpm-key-overview--dashboard .mpm-key-item .mpm-key-value{margin:0;color:#132446;font-size:clamp(12.5px,1.12vw,15px);font-weight:850;line-height:1.35;letter-spacing:-.01em;overflow-wrap:anywhere;word-break:normal}
html body .mpm-profile .mpm-key-overview--dashboard .mpm-key-arrow{flex:0 0 auto;color:#49648d;font-size:27px;font-weight:300;line-height:1}
@media(max-width:900px){
 html body .mpm-profile .mpm-key-overview--dashboard{padding:15px}
 html body .mpm-profile .mpm-key-dashboard{grid-template-columns:minmax(0,1fr)}
 html body .mpm-profile .mpm-key-spotlight{min-height:210px}
 html body .mpm-profile .mpm-key-spotlight-copy{max-width:66%}
 html body .mpm-profile .mpm-key-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:530px){
 html body .mpm-profile .mpm-key-overview--dashboard{padding:12px;border-radius:14px}
 html body .mpm-profile .mpm-dashboard-heading{gap:9px;margin-bottom:12px}
 html body .mpm-profile .mpm-dashboard-heading-icon{width:36px;height:36px;flex-basis:36px;border-radius:10px}
 html body .mpm-profile .mpm-dashboard-heading-icon svg{width:20px;height:20px}
 html body .mpm-profile .mpm-dashboard-heading h2{font-size:19px}
 html body .mpm-profile .mpm-key-spotlight{min-height:195px}
 html body .mpm-profile .mpm-key-spotlight-copy{padding:18px 10px 18px 17px;max-width:69%}
 html body .mpm-profile .mpm-key-spotlight-icon{width:37px;height:37px;margin-bottom:2px}
 html body .mpm-profile .mpm-key-spotlight-label{font-size:13px}
 html body .mpm-profile .mpm-key-spotlight-value{font-size:clamp(23px,6.5vw,29px)}
 html body .mpm-profile .mpm-key-spotlight-detail{font-size:11px}
 html body .mpm-profile .mpm-key-spotlight-media{max-width:46%}
 html body .mpm-profile .mpm-key-dashboard-cards{gap:7px}
 html body .mpm-profile .mpm-key-overview--dashboard .mpm-key-item{gap:7px;min-height:69px;padding:9px 8px}
 html body .mpm-profile .mpm-key-overview--dashboard .mpm-key-icon{width:29px;height:29px;flex-basis:29px;border-radius:8px}
 html body .mpm-profile .mpm-key-overview--dashboard .mpm-key-svg{width:17px;height:17px}
 html body .mpm-profile .mpm-key-overview--dashboard .mpm-key-item .mpm-key-value{font-size:11.5px}
 html body .mpm-profile .mpm-key-overview--dashboard .mpm-key-item .mpm-key-label{font-size:10px}
 html body .mpm-profile .mpm-key-overview--dashboard .mpm-key-arrow{display:none}
}
@media(max-width:340px){html body .mpm-profile .mpm-key-dashboard-cards{grid-template-columns:1fr}html body .mpm-profile .mpm-key-spotlight-media{width:42%;opacity:.72}}
@media(prefers-reduced-motion:reduce){html body .mpm-profile .mpm-key-overview--dashboard a.mpm-key-item{transition:none}}
/* Blend the opaque white background of existing standard 800px JPG product images
   into the blue spotlight, without altering or generating image files. */
html body .mpm-profile .mpm-key-spotlight-media {mix-blend-mode:multiply}
html body .mpm-profile .mpm-key-spotlight-phone {mix-blend-mode:normal}

/* v3.2.0 — informational price-confidence caption below the PKR amount. */
html body .mpm-profile .mpm-price-type-note {
  font-size:12px;line-height:1.5;color:#48566c;margin:7px 0 9px;max-width:420px;
  font-weight:500;
}
html body .mpm-profile .mpm-hero-data[data-market-status="coming"] .mpm-price-type-note {color:#8a5410;}

html body .mpm-profile .mpm-price-type-note:empty {display:none}
