/* WhatMobilez 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;}
}
