/* Buss Call agreed redesign – scoped to shortcode; data/AJAX untouched */
.mpm-redesign{font-family:Arial,Helvetica,sans-serif;color:#1a2c45;max-width:1320px;margin:0 auto 28px;font-size:14px}
.mpm-redesign *{box-sizing:border-box}
.mpm-hero{position:relative;overflow:hidden;display:flex;align-items:center;gap:16px;border:1px solid #e3ebf5;border-radius:12px;padding:22px 26px;margin-bottom:18px;background:linear-gradient(115deg,#fff 60%,#f1f7ff 100%);box-shadow:0 3px 18px rgba(16,57,111,.05)}
.mpm-hero:before{content:"";position:absolute;right:-35px;top:-50px;width:300px;height:155px;border-radius:45%;background:#e2efff;transform:rotate(-9deg);pointer-events:none}
.mpm-hero-icon{z-index:1;display:flex;align-items:center;justify-content:center;flex:0 0 50px;width:50px;height:50px;border-radius:12px;color:white;background:linear-gradient(150deg,#1299f0,#074fb9);font-size:27px}
.mpm-hero>div{position:relative;z-index:1}.mpm-hero h2{margin:0 0 5px;font-size:26px;color:#13386d;font-weight:800;line-height:1.2}.mpm-hero p{margin:0;color:#284d7e;font-weight:600;font-size:13px}
.mpm-redesign #mobile-prefix-list{display:grid!important;grid-template-columns:228px minmax(0,1fr)!important;gap:18px!important;align-items:start!important;background:none!important;padding:0!important;border:0!important;max-width:none!important;width:100%!important}
.mpm-redesign #mobile-prefix-list-sidebar{display:block!important;width:auto!important;min-width:0!important;background:#fff!important;border:1px solid #e1e8f1!important;border-radius:10px!important;padding:18px!important;float:none!important;position:static!important;box-shadow:none!important;margin:0!important}
.mpm-redesign #mobile-prefix-list-sidebar section{margin:0!important;padding:0!important;border:0!important;background:none!important}
.mpm-redesign #mobile-prefix-list-sidebar section+section{margin-top:17px!important;padding-top:17px!important;border-top:1px solid #e9eef4!important}
.mpm-redesign #mobile-prefix-list-sidebar section h2{margin:0 0 10px!important;font-size:14px!important;color:#203a5d!important;line-height:1.35!important;font-weight:700!important}
.mpm-redesign #mobile-prefix-list-sidebar .group-filter{display:flex!important;flex-direction:column!important;gap:4px!important;margin:0!important;padding:0!important;background:none!important;max-height:none!important}
.mpm-redesign #mobile-prefix-list-sidebar .group-filter label{display:flex!important;align-items:center!important;gap:9px!important;margin:0!important;padding:7px 9px!important;min-height:34px!important;width:auto!important;background:none!important;font-size:13px!important;color:#31445d!important;cursor:pointer!important;border:1px solid transparent!important;border-radius:6px!important}
.mpm-redesign #mobile-prefix-list-sidebar .group-filter label:has(input:checked){background:#ecf4ff!important;color:#0b5bbb!important;border-color:#dbe9fc!important;font-weight:700!important}
.mpm-redesign #mobile-prefix-list-sidebar .ant-radio{width:16px!important;height:16px!important;position:relative!important;display:block!important;border:1px solid #b8c9da!important;border-radius:50%!important;background:#fff!important;flex:none!important}
.mpm-redesign #mobile-prefix-list-sidebar .group-filter label:has(input:checked) .ant-radio:after{content:"";position:absolute;inset:3px;border-radius:50%;background:#0b64c9}
.mpm-redesign #mobile-prefix-list-sidebar .group-filter label .price{font-size:13px!important;line-height:1.25!important;margin:0!important;padding:0!important;color:inherit!important}
.mpm-redesign #mobile-prefix-list-content{width:100%!important;min-width:0!important;padding:0!important;margin:0!important;float:none!important;background:none!important}
.mpm-redesign #frontend-filter-search-form{display:flex!important;gap:10px!important;align-items:center!important;width:100%!important;margin:0 0 12px!important;padding:12px!important;border-radius:9px!important;border:1px solid #e1e8f1!important;background:#fff!important;flex-wrap:nowrap!important}
.mpm-redesign #frontend-search{display:block!important;flex:1!important;min-width:0!important;width:100%!important;max-width:none!important;height:40px!important;border:1px solid #dce5ef!important;border-radius:6px!important;padding:0 13px!important;font-size:14px!important;box-shadow:none!important;margin:0!important}
.mpm-redesign #frontend-search-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:40px!important;background:#075fc0!important;color:#fff!important;border:0!important;border-radius:6px!important;padding:0 18px!important;font-size:13px!important;font-weight:700!important;white-space:nowrap!important;margin:0!important}
.mpm-redesign #frontend-search-button svg{height:14px;width:14px;fill:#fff}
.mpm-redesign #mpm-result-count{color:#627189;font-size:12px;margin:0 0 10px}
.mpm-redesign #frontend-prefix-table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;border:1px solid #e1e8f1!important;background:#fff!important;font-size:12px!important;margin:0!important}
.mpm-redesign #frontend-prefix-table thead tr{border:0!important}
.mpm-redesign #frontend-prefix-table th{background:#0d579d!important;color:#fff!important;padding:12px 5px!important;text-align:center!important;vertical-align:middle!important;border:0!important;font-size:11px!important;line-height:1.35!important;white-space:normal!important}
.mpm-redesign #frontend-prefix-table td{padding:14px 5px!important;text-align:center!important;vertical-align:middle!important;border:0!important;border-bottom:1px solid #eaf0f5!important;background:none!important;font-size:12px!important;word-break:normal!important}
.mpm-redesign #frontend-prefix-table tbody tr:nth-child(even){background:#f7faff!important}
.mpm-redesign #frontend-prefix-table th:nth-child(1){width:5%!important}.mpm-redesign #frontend-prefix-table th:nth-child(2){width:19%!important}.mpm-redesign #frontend-prefix-table th:nth-child(3){width:12%!important}.mpm-redesign #frontend-prefix-table th:nth-child(4){width:13%!important}.mpm-redesign #frontend-prefix-table th:nth-child(5){width:12%!important}.mpm-redesign #frontend-prefix-table th:nth-child(6){width:12%!important}.mpm-redesign #frontend-prefix-table th:nth-child(7){width:13%!important}.mpm-redesign #frontend-prefix-table th:nth-child(8){width:14%!important}
.mpm-redesign #frontend-prefix-table td.prefix{white-space:nowrap!important;font-variant-numeric:tabular-nums!important;text-align:center!important}
.mpm-redesign .mpm-number{color:#065db9;font-weight:800;font-size:14px;letter-spacing:.1px;display:inline-block}
.mpm-redesign .mpm-hot{font-size:9px;background:#fff0e5;color:#bc4a09;border:1px solid #ffdcc3;padding:3px 5px;border-radius:5px;font-weight:700;white-space:nowrap;margin-left:5px;vertical-align:middle}
.mpm-redesign .mpm-type-badge{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;max-width:max-content!important;padding:5px 10px!important;border-radius:7px;font-weight:700;white-space:nowrap;line-height:1.2}
.mpm-redesign .mpm-type-1900{color:#0b55ae;background:#e8f1ff;border:1px solid #d7e7ff}
.mpm-redesign .mpm-type-1800{color:#b63c7a;background:#fde7f1;border:1px solid #f7c8dc}
.mpm-redesign .mpm-free-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;font-weight:700;line-height:1.2;white-space:nowrap;padding:5px 10px;color:#17743c;background:#e2f7e8;border:1px solid #ccefd7}
.mpm-redesign button.btn-mua.mpm-buy,.mpm-redesign #frontend-prefix-table .btn-mua{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:0!important;border:0!important;border-radius:6px!important;background:#075fc0!important;color:#fff!important;white-space:nowrap!important;font-size:12px!important;font-weight:700!important;padding:9px 10px!important;line-height:1.25!important;cursor:pointer!important;box-shadow:none!important;margin:0!important}
.mpm-redesign #frontend-prefix-table .btn-mua svg{fill:#fff!important;width:15px!important;height:15px!important;flex:0 0 15px}
.mpm-redesign #frontend-pagination-controls{display:flex!important;justify-content:center!important;gap:7px!important;margin-top:15px!important;flex-wrap:wrap!important}
.mpm-redesign #frontend-pagination-controls .page-btn{background:#fff!important;border:1px solid #dce5ed!important;color:#38506e!important;border-radius:6px!important;min-width:32px!important;min-height:32px!important;padding:5px 9px!important}
.mpm-redesign #frontend-pagination-controls .page-btn.active{background:#075fc0!important;color:#fff!important;border-color:#075fc0!important}
.mpm-redesign #frontend-pagination-controls svg{height:12px;width:12px;fill:currentColor}
.mpm-redesign .mpm-mobile-filterbar,.mpm-redesign #mpm-mobile-results{display:none!important}
@media(min-width:768px) and (max-width:1100px){.mpm-redesign #mobile-prefix-list{grid-template-columns:190px minmax(0,1fr)!important}.mpm-redesign #mobile-prefix-list-content{overflow-x:auto!important}}
@media(max-width:767px){
.mpm-redesign{width:100%!important}.mpm-redesign .mpm-hero{padding:16px 14px;margin-bottom:14px;gap:11px}.mpm-redesign .mpm-hero-icon{flex-basis:42px;width:42px;height:42px;font-size:22px}.mpm-redesign .mpm-hero h2{font-size:19px}.mpm-redesign .mpm-hero p{font-size:12px}.mpm-redesign .mpm-hero:before{width:150px;height:95px}
.mpm-redesign #mobile-prefix-list{display:block!important}.mpm-redesign #mobile-prefix-list-sidebar{display:none!important}
.mpm-redesign #frontend-filter-search-form{padding:8px!important;margin-bottom:10px!important;gap:6px!important}.mpm-redesign #frontend-search{font-size:13px!important;height:40px!important}.mpm-redesign #frontend-search-button{padding:0 11px!important;font-size:12px!important}
.mpm-redesign .mpm-mobile-filterbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;width:100%!important;margin-bottom:13px!important}
.mpm-redesign .mpm-filter-chip{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:4px!important;min-width:0!important;width:100%!important;height:44px!important;padding:0 7px!important;margin:0!important;border:1px solid #dce7f5!important;border-radius:10px!important;background:white!important;box-shadow:0 2px 6px rgba(20,70,140,.05);color:#103d89!important}
.mpm-redesign .mpm-filter-icon{flex:0 0 14px!important;width:14px!important;font-size:14px!important;line-height:1!important;text-align:center!important}
.mpm-redesign .mpm-filter-chip select{appearance:none!important;-webkit-appearance:none!important;display:block!important;flex:1!important;min-width:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#103d89!important;font-size:13px!important;font-weight:700!important;line-height:1!important;text-align:center!important;text-align-last:center!important;cursor:pointer!important}
.mpm-redesign .mpm-filter-chevron{flex:0 0 12px!important;width:12px!important;height:14px!important;line-height:12px!important;font-size:15px!important;text-align:center!important;align-self:center!important}
.mpm-redesign #frontend-prefix-table{display:none!important}.mpm-redesign #mpm-mobile-results{display:flex!important;flex-direction:column;gap:7px!important}
.mpm-redesign .mpm-card{background:#fff;border:1px solid #dfe7f2;border-radius:11px;padding:10px 12px;box-shadow:0 3px 8px rgba(16,65,130,.06)}
.mpm-redesign .mpm-card-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 9px;align-items:center}
.mpm-redesign .mpm-card-number{min-width:0}.mpm-redesign .mpm-card-number .mpm-number{font-size:16px;color:#0b429b}.mpm-redesign .mpm-card-sub{display:block;color:#647794;font-size:10px;line-height:1.2;margin-top:4px}
.mpm-redesign .mpm-card .mpm-buy{grid-column:2;grid-row:1;min-height:34px!important;padding:7px 11px!important;font-size:11px!important}
.mpm-redesign .mpm-card-fee{grid-row:2;display:flex;align-items:baseline;justify-content:space-between;gap:4px;min-width:0;padding-top:7px;border-top:1px solid #e9eef6}
.mpm-redesign .mpm-card-fee small{color:#677792;font-size:10px;white-space:nowrap}.mpm-redesign .mpm-card-fee strong{color:#0756b2;font-size:12px;white-space:nowrap}
.mpm-redesign .mpm-card-fee:nth-child(2){grid-column:1}.mpm-redesign .mpm-card-fee:nth-child(3){grid-column:2}
.mpm-redesign .mpm-card-details{display:none;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #e6edf5;padding-top:9px;margin-top:10px;font-size:11px;color:#64748b}
.mpm-redesign .mpm-card.expanded .mpm-card-details{display:grid}.mpm-redesign .mpm-card-details strong{display:block;color:#183f81;margin-top:3px;font-size:12px}
.mpm-redesign .mpm-empty{padding:20px;text-align:center;background:#fff;border:1px solid #e1e8f1;border-radius:8px;font-size:13px;color:#627189}
}
@media(max-width:360px){.mpm-redesign .mpm-mobile-filterbar{gap:5px!important}.mpm-redesign .mpm-filter-chip{padding:0 4px!important;height:42px!important;gap:2px!important}.mpm-redesign .mpm-filter-chip select{font-size:11px!important}.mpm-redesign .mpm-filter-icon{flex-basis:12px!important;width:12px!important;font-size:12px!important}.mpm-redesign .mpm-filter-chevron{flex-basis:10px!important;width:10px!important;font-size:13px!important}.mpm-redesign .mpm-card{padding:9px!important}.mpm-redesign .mpm-card-main{gap:6px!important}}

/* Staging V2 – fix plugin legacy stylesheet collisions */
.mpm-redesign #mobile-prefix-list-sidebar .ant-radio .radio-inner {display:none!important}
.mpm-redesign #mobile-prefix-list-sidebar .ant-radio:after {content:""!important;position:absolute!important;inset:3px!important;width:auto!important;height:auto!important;background:transparent!important;border:none!important;border-radius:50%!important}
.mpm-redesign #mobile-prefix-list-sidebar .group-filter label:has(input:checked) .ant-radio:after {background:#0b64c9!important}
.mpm-redesign #frontend-search-button {position:static!important;right:auto!important;top:auto!important;z-index:auto!important}
.mpm-redesign #frontend-prefix-table thead::before,.mpm-redesign #frontend-prefix-table thead::after,.mpm-redesign #frontend-prefix-table thead tr::before,.mpm-redesign #frontend-prefix-table thead tr::after {content:none!important;display:none!important}
.mpm-redesign #frontend-prefix-table thead th:first-child {background:#0d579d!important}
.mpm-redesign #frontend-prefix-table .mpm-type-badge.mpm-type-1900 {color:#0b55ae!important;background:#e8f1ff!important;border:1px solid #d7e7ff!important}
.mpm-redesign #frontend-prefix-table .mpm-type-badge.mpm-type-1800 {color:#b63c7a!important;background:#fde7f1!important;border:1px solid #f7c8dc!important}
.mpm-redesign #frontend-prefix-table .mpm-free-badge,.mpm-redesign .mpm-card .mpm-free-badge {color:#17743c!important;background:#e2f7e8!important;border:1px solid #ccefd7!important;border-radius:7px!important;padding:5px 9px!important;display:inline-flex!important;width:auto!important}
.mpm-redesign .mpm-filter-icon svg {display:block!important;width:14px!important;height:14px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.mpm-redesign .mpm-filter-chevron svg {display:block!important;width:12px!important;height:12px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.mpm-redesign .mpm-filter-chevron {display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;transform:none!important}
@media(max-width:767px){
.mpm-redesign .mpm-filter-chip {display:grid!important;grid-template-columns:14px minmax(0,1fr) 12px!important;align-items:center!important;column-gap:4px!important}
.mpm-redesign .mpm-filter-icon,.mpm-redesign .mpm-filter-chevron {align-self:center!important;position:static!important;margin:0!important;padding:0!important}
.mpm-redesign .mpm-filter-chip select {min-width:0!important;height:42px!important;line-height:normal!important;font-size:12px!important;padding:0!important;margin:0!important;vertical-align:middle!important}
.mpm-redesign #mpm-mobile-results {display:flex!important;visibility:visible!important;min-height:50px!important}
.mpm-redesign #frontend-prefix-table {display:none!important;visibility:hidden!important}
.mpm-redesign .mpm-card .mpm-buy span {display:inline!important}
.mpm-redesign .mpm-card .mpm-buy svg {width:14px!important;height:14px!important;fill:#fff!important}
}

/* V4: mobile fee labels and amounts stay close; keep the two fee groups. */
@media (max-width:767px) {
  .mpm-redesign .mpm-card-fee {
    justify-content:flex-start!important;
    gap:6px!important;
  }
  .mpm-redesign .mpm-card-fee small,
  .mpm-redesign .mpm-card-fee strong {
    flex:0 0 auto!important;
    margin:0!important;
  }
}

/* V5 desktop: do not let the HOT chip shift the centered prefix number. */
@media (min-width:768px) {
  .mpm-redesign #frontend-prefix-table td.prefix {
    text-align:center!important;
    overflow:visible!important;
  }
  .mpm-redesign #frontend-prefix-table .mpm-number-anchor {
    display:inline-block!important;
    position:relative!important;
    width:max-content!important;
    max-width:none!important;
    white-space:nowrap!important;
    line-height:1.35!important;
    vertical-align:middle!important;
  }
  .mpm-redesign #frontend-prefix-table .mpm-number-anchor > .mpm-hot {
    position:absolute!important;
    left:calc(100% + 5px)!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    margin:0!important;
    display:inline-flex!important;
    align-items:center!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }
  /* Reset table header layout imposed by theme/legacy table styles. */
  .mpm-redesign #frontend-prefix-table {
    border-spacing:0!important;
    border-collapse:collapse!important;
    display:table!important;
  }
  .mpm-redesign #frontend-prefix-table thead {
    display:table-header-group!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:#0d579d!important;
  }
  .mpm-redesign #frontend-prefix-table thead tr {
    display:table-row!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:#0d579d!important;
  }
  .mpm-redesign #frontend-prefix-table thead th {
    display:table-cell!important;
    position:static!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    border-top:0!important;
    border-bottom:0!important;
    background:#0d579d!important;
  }
  .mpm-redesign #frontend-prefix-table thead th::before,
  .mpm-redesign #frontend-prefix-table thead th::after,
  .mpm-redesign #frontend-prefix-table::before,
  .mpm-redesign #frontend-prefix-table::after {
    content:none!important;
    display:none!important;
  }
}

/* V6: avoid a ghost header strip generated by legacy/theme thead styles. */
@media (min-width:768px) {
  .mpm-redesign #frontend-prefix-table > tbody.mpm-table-header {
    display:table-row-group!important;
    background:#0d579d!important;
    border:0!important;
    margin:0!important;
    padding:0!important;
  }
  .mpm-redesign #frontend-prefix-table > tbody.mpm-table-header > tr {
    display:table-row!important;
    background:#0d579d!important;
    border:0!important;
    margin:0!important;
    padding:0!important;
    height:auto!important;
  }
  .mpm-redesign #frontend-prefix-table > tbody.mpm-table-header > tr > th {
    display:table-cell!important;
    position:static!important;
    background:#0d579d!important;
    color:#fff!important;
    vertical-align:middle!important;
    border:0!important;
    height:auto!important;
    padding:12px 5px!important;
  }
  .mpm-redesign #frontend-prefix-table > tbody.mpm-table-header::before,
  .mpm-redesign #frontend-prefix-table > tbody.mpm-table-header::after,
  .mpm-redesign #frontend-prefix-table > tbody.mpm-table-header > tr::before,
  .mpm-redesign #frontend-prefix-table > tbody.mpm-table-header > tr::after {
    content:none!important;
    display:none!important;
  }
}
/* V6: mobile type labels are compact badges, matching desktop. */
@media (max-width:767px) {
  .mpm-redesign .mpm-card-number .mpm-card-sub.mpm-type-badge {
    display:table!important;
    width:max-content!important;
    max-width:100%!important;
    margin-top:4px!important;
    padding:3px 7px!important;
    font-size:10px!important;
    font-weight:700!important;
    line-height:1.2!important;
    border-radius:6px!important;
    white-space:nowrap!important;
  }
  .mpm-redesign .mpm-card-number .mpm-card-sub.mpm-type-1900 {
    color:#0b55ae!important;background:#e8f1ff!important;border:1px solid #d7e7ff!important;
  }
  .mpm-redesign .mpm-card-number .mpm-card-sub.mpm-type-1800 {
    color:#b63c7a!important;background:#fde7f1!important;border:1px solid #f7c8dc!important;
  }
}

/* V13: keep current cards and pagination visible while new filter results load. */
.mpm-redesign #mobile-prefix-list-content{position:relative!important}
.mpm-redesign #mobile-prefix-list-content.mpm-refreshing::after{
  content:"Đang cập nhật…";position:absolute;top:2px;right:0;z-index:3;
  font-size:11px;font-weight:600;color:#075fc0;background:#edf5ff;
  border:1px solid #dbe9fc;border-radius:6px;padding:4px 8px;
  pointer-events:none;box-shadow:0 1px 4px rgba(0,0,0,.04)
}
@media(max-width:767px){.mpm-redesign #mobile-prefix-list-content.mpm-refreshing::after{top:auto;bottom:44px;right:8px}}

/* V14: Mobile card area must not collapse while AJAX changes filter/page. */
@media (max-width:767px) {
 .mpm-redesign #mpm-mobile-results { min-height:520px!important; align-content:start!important; }
 .mpm-redesign #mobile-prefix-list-content { overflow-anchor:none!important; }
 .mpm-redesign #mpm-mobile-results .mpm-card { flex-shrink:0!important; }
}

/* V16: second, synchronized pagination just above the desktop table. */
.mpm-redesign .mpm-results-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:38px!important;margin:0 0 9px!important}
.mpm-redesign .mpm-results-toolbar #mpm-result-count{margin:0!important;flex:1 1 auto!important}
.mpm-redesign #frontend-pagination-controls-top{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important;margin:0!important}
.mpm-redesign #frontend-pagination-controls-top .page-btn{background:#fff!important;border:1px solid #dce5ed!important;color:#38506e!important;border-radius:6px!important;min-width:32px!important;min-height:32px!important;padding:5px 9px!important;cursor:pointer!important}
.mpm-redesign #frontend-pagination-controls-top .page-btn.active{background:#075fc0!important;color:#fff!important;border-color:#075fc0!important}
.mpm-redesign #frontend-pagination-controls-top .page-btn svg{height:12px!important;width:12px!important;fill:currentColor!important}
@media(max-width:767px){.mpm-redesign #frontend-pagination-controls-top{display:none!important}.mpm-redesign .mpm-results-toolbar{min-height:0!important}}

/* V17: six approved public-facing adjustments. */
/* Search icon is white even if theme CSS applies fill to inline SVG. */
.mpm-redesign #frontend-search-button svg,
.mpm-redesign #frontend-search-button svg path { fill:#fff!important; color:#fff!important; }
/* Fee type styling in desktop table and mobile details. */
.mpm-redesign .mpm-contact-badge {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 padding:5px 9px!important;border-radius:7px!important;line-height:1.2!important;
 color:#90530c!important;background:#fff3df!important;border:1px solid #f7d9a9!important;
 font-weight:700!important;white-space:nowrap!important;
}
.mpm-redesign .mpm-beauty-price {font-weight:800!important;color:#173b72!important;white-space:nowrap!important;}
/* Only two filter chips remain on small screens. */
@media(max-width:767px){
 .mpm-redesign .mpm-mobile-filterbar {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 /* Full-width horizontal search input + button, including narrow phones. */
 .mpm-redesign #frontend-filter-search-form {
   display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
   width:100%!important;align-items:stretch!important;gap:7px!important;
   padding:8px!important;margin:0 0 12px!important;
 }
 .mpm-redesign #frontend-filter-search-form #frontend-search {
   flex:1 1 0%!important;min-width:0!important;max-width:none!important;
   width:auto!important;height:44px!important;line-height:44px!important;
   padding:0 10px!important;margin:0!important;font-size:14px!important;
 }
 .mpm-redesign #frontend-filter-search-form #frontend-search-button {
   position:static!important;display:inline-flex!important;flex:0 0 auto!important;
   align-self:stretch!important;min-height:44px!important;height:44px!important;
   margin:0!important;padding:0 12px!important;font-size:12px!important;
 }
 /* Show both remaining fee fields, equal width and aligned label/value rows. */
 .mpm-redesign .mpm-card-details,
 .mpm-redesign .mpm-card.expanded .mpm-card-details {
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:12px!important;align-items:start!important;
   border-top:1px solid #e6edf5!important;margin-top:9px!important;padding-top:9px!important;
 }
 .mpm-redesign .mpm-card-details > span {
   display:flex!important;flex-direction:column!important;align-items:flex-start!important;
   min-width:0!important;gap:5px!important;line-height:1.35!important;font-size:12px!important;
   color:#64748b!important;
 }
 .mpm-redesign .mpm-card-details > span > strong {
   display:flex!important;align-items:center!important;min-height:25px!important;
   margin:0!important;font-size:12px!important;color:#183f81!important;
   line-height:1.3!important;text-align:left!important;
 }
}
@media(max-width:360px) {
 .mpm-redesign #frontend-filter-search-form #frontend-search-button {padding:0 9px!important;font-size:11px!important;}
 .mpm-redesign #frontend-filter-search-form #frontend-search {font-size:13px!important;}
}

/* V18: make numeric beauty fees bold on every desktop row and mobile card. */
.mpm-redesign #frontend-prefix-table td .mpm-beauty-price,
.mpm-redesign #mpm-mobile-results .mpm-beauty-price {
  font-weight:800!important; color:#173b72!important;
}


/* V19 – Mobile fee alignment: same columns and typography across both rows. */
@media (max-width:767px) {
  .mpm-redesign .mpm-card-main {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:12px!important;
    align-items:center!important;
  }
  .mpm-redesign .mpm-card .mpm-buy {
    justify-self:end!important;
  }
  .mpm-redesign .mpm-card-fee {
    min-width:0!important;
    display:flex!important;
    justify-content:flex-start!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:3px 5px!important;
    padding-top:8px!important;
    font-size:12px!important;
  }
  .mpm-redesign .mpm-card-fee small {
    font-size:12px!important;
    line-height:1.35!important;
    color:#64748b!important;
    white-space:normal!important;
  }
  .mpm-redesign .mpm-card-fee strong {
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:700!important;
    white-space:nowrap!important;
  }
  .mpm-redesign .mpm-card-details,
  .mpm-redesign .mpm-card.expanded .mpm-card-details {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:12px!important;
    align-items:start!important;
  }
  .mpm-redesign .mpm-card-details > span {
    font-size:12px!important;
    line-height:1.35!important;
    align-self:start!important;
  }
  .mpm-redesign .mpm-card-details > span > strong {
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:700!important;
  }
}

/* V20: show synchronized pagination above AND below the mobile number list. */
@media (max-width:767px) {
  .mpm-redesign .mpm-results-toolbar {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:9px!important;
    margin:0 0 11px!important;
  }
  .mpm-redesign .mpm-results-toolbar #mpm-result-count {
    flex:none!important;
    align-self:stretch!important;
  }
  .mpm-redesign #frontend-pagination-controls-top {
    display:flex!important;
    width:100%!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    flex-wrap:wrap!important;
    margin:0!important;
  }
  .mpm-redesign #frontend-pagination-controls-top .page-btn {
    min-width:30px!important;
    min-height:32px!important;
    padding:4px 7px!important;
  }
}

/* V21: Desktop sidebar follows the pricing list while scrolling.
   Sticky is scoped to the shortcode and switched off for mobile. */
@media (min-width: 768px) {
  .mpm-redesign #mobile-prefix-list-sidebar {
    position: sticky !important;
    top: 96px !important;
    align-self: start !important;
    max-height: calc(100vh - 110px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }
}
@media (max-width: 767px) {
  .mpm-redesign #mobile-prefix-list-sidebar {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }
}


/* V22: On mobile, keep the filter chips + search area following the list */
@media (max-width: 767px) {
  .mpm-redesign #mobile-prefix-list-content .mpm-mobile-sticky-controls {
    position: sticky !important;
    top: 64px !important;
    z-index: 25 !important;
    background: #f7f9fc !important;
    padding: 0 0 8px !important;
    margin: 0 0 8px !important;
  }
  .mpm-redesign #mobile-prefix-list-content .mpm-mobile-sticky-controls::after {
    content: "";
    display: block;
    height: 1px;
    background: #e6edf6;
    margin-top: 10px;
  }
  .mpm-redesign #mobile-prefix-list-content .mpm-mobile-filterbar,
  .mpm-redesign #mobile-prefix-list-content #frontend-filter-search-form {
    margin-bottom: 10px !important;
  }
}


/* V24: Persistent, visible refresh status even when scrolling in the price list. */
.mpm-redesign #mobile-prefix-list-content.mpm-refreshing::after {
    content: "↻ Đang cập nhật danh sách đầu số…" !important;
    position: fixed !important;
    top: auto !important;
    bottom: 24px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    z-index: 99999 !important;
    display: block !important;
    width: max-content !important;
    max-width: calc(100vw - 32px) !important;
    padding: 11px 16px !important;
    border-radius: 999px !important;
    border: 1px solid #c9defa !important;
    background: #0b5dbb !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    box-shadow: 0 5px 18px rgba(4, 36, 83, .22) !important;
    pointer-events: none !important;
}
@media (max-width: 767px) {
    .mpm-redesign #mobile-prefix-list-content.mpm-refreshing::after {
        bottom: 112px !important;
        font-size: 12px !important;
        padding: 10px 13px !important;
    }
}


/* V27: reduce empty gap above sticky mobile filters */
@media (max-width: 767px) {
  .mpm-redesign #mobile-prefix-list-content .mpm-mobile-sticky-controls {
    top: 64px !important;
    padding-bottom: 8px !important;
    margin-bottom: 8px !important;
  }
  .mpm-redesign #mobile-prefix-list-content .mpm-mobile-sticky-controls::after {
    margin-top: 8px !important;
  }
}

/* V29: No white mask. Filter follows the actual header position on scroll. */
@media (max-width: 767px) {
  .mpm-redesign #mobile-prefix-list-content .mpm-mobile-sticky-controls {
    top: 0 !important; /* frontend.js sets the live header clearance when visible */
    background: #fff !important;
    isolation: auto !important;
  }
  .mpm-redesign #mobile-prefix-list-content .mpm-mobile-sticky-controls::before {
    content: none !important;
    display: none !important;
  }
}
