/* v1047 — Price Lists mobile cleanup
   Mobile-only fixes for price-lists.html. Desktop remains unchanged. */

@media (max-width: 980px){
  /* Remove the old wide desktop matrix on mobile. */
  html body.price-xxx-page-v871 #visa-service-fees .fees-matrix-wrap-v787DN{
    display:none !important;
  }

  /* Keep only the compact mobile price tables and remove all swipe hints. */
  html body.price-xxx-page-v871 #visa-service-fees .vge-price-mobile-split-v1027{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:8px 0 14px !important;
    overflow:visible !important;
  }

  html body.price-xxx-page-v871 #visa-service-fees .vge-price-mobile-split-v1027::before,
  html body.price-xxx-page-v871 #visa-service-fees .vge-price-mobile-split-v1027::after,
  html body.price-xxx-page-v871 #visa-service-fees .vge-mobile-table-hint-v898,
  html body.price-xxx-page-v871 .fees-matrix-wrap-v787DN::before,
  html body.price-xxx-page-v871 .urgent-table-wrap::before,
  html body.price-xxx-page-v871 .urgent-table-wrap::after,
  html body.price-xxx-page-v871 .urgent-table-wrap > .vge-mobile-table-hint-v898{
    display:none !important;
    content:none !important;
  }

  /* Fee checker heading: one compact line. */
  html body.price-xxx-page-v871 .fees-check-section .fee-card[data-fee-checker] h2,
  html body.price-xxx-page-v871 .fees-check-section .fee-card[data-fee-checker] h2[style]{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 0 10px !important;
    font-size:clamp(21px, 5.4vw, 27px) !important;
    line-height:1.05 !important;
    letter-spacing:-0.035em !important;
    white-space:nowrap !important;
    text-wrap:nowrap !important;
  }

  /* Rebuild Speed Up fee table as a true 2-column mobile table, no side scroll/card mode. */
  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .urgent-table-wrap{
    width:100% !important;
    max-width:100% !important;
    margin:12px 0 14px !important;
    padding:0 !important;
    overflow:visible !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX,
  html body.price-xxx-page-v871 #speedup-existing-evisa-fees table.speedup-unified-fees-v787GX{
    display:table !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    table-layout:fixed !important;
    border-collapse:collapse !important;
    border:1px solid #d5e2f1 !important;
    border-radius:0 !important;
    margin:0 !important;
    background:#fff !important;
    box-shadow:none !important;
  }

  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX thead,
  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX tbody{
    display:table-row-group !important;
  }

  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX tr{
    display:table-row !important;
    width:auto !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX th,
  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX td{
    display:table-cell !important;
    min-width:0 !important;
    width:auto !important;
    padding:10px 10px !important;
    border:1px solid #d5e2f1 !important;
    vertical-align:middle !important;
    line-height:1.25 !important;
    text-align:left !important;
    white-space:normal !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
  }

  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX th{
    background:#f3f7fc !important;
    color:#071d3a !important;
    font-size:12px !important;
    font-weight:900 !important;
    text-transform:none !important;
    letter-spacing:0 !important;
  }

  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX th:first-child,
  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX td:first-child{
    width:68% !important;
  }

  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX th:nth-child(2),
  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX td:nth-child(2){
    width:32% !important;
    text-align:center !important;
  }

  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX td:first-child,
  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX td:first-child strong{
    color:#06194a !important;
    font-size:13px !important;
    font-weight:850 !important;
  }

  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX td:nth-child(2){
    color:#e11d48 !important;
    font-size:15px !important;
    font-weight:900 !important;
  }
}

@media (max-width: 430px){
  html body.price-xxx-page-v871 .fees-check-section .fee-card[data-fee-checker] h2,
  html body.price-xxx-page-v871 .fees-check-section .fee-card[data-fee-checker] h2[style]{
    font-size:22px !important;
  }

  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX th,
  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX td{
    padding:9px 8px !important;
  }

  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX td:first-child,
  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX td:first-child strong{
    font-size:12.2px !important;
  }

  html body.price-xxx-page-v871 #speedup-existing-evisa-fees .speedup-unified-fees-v787GX td:nth-child(2){
    font-size:14px !important;
  }
}
