/*
 * GSMUnlockUSA Shared Service List V110
 * Index + Product Detail
 *
 * Matches approved Products & Services V109 presentation while keeping
 * existing page-specific service renderers and click behavior untouched.
 */

.gsm-shared-service-list-v110 .table-service {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e3e9ee;
    border-radius: 6px;
    background: #fff;
    color: #344b5c;
    box-sizing: border-box;
}

.gsm-shared-service-list-v110 .table-service > tbody > .line3,
.gsm-shared-service-list-v110 .table-service > tbody > .line3 > td {
    height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* Classic/refined subgroup title */
.gsm-shared-service-list-v110 .table-service
> tbody > .tr-header > td[colspan="6"] {
    padding: 11px 10px 8px 14px !important;
    border-top: 0 !important;
    border-bottom: 1px solid #d8df00 !important;
    background: #fff !important;
    color: #164f9e !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    overflow: hidden;
}

.gsm-shared-service-list-v110 .table-service
> tbody > .tr-header > td[colspan="6"] .link-subgroup {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-decoration: none !important;
}

.gsm-shared-service-list-v110 .table-service
> tbody > .tr-header > td[colspan="6"] .h-type0,
.gsm-shared-service-list-v110 .table-service
> tbody > .tr-header > td[colspan="6"] .h-type1 {
    margin: 0 !important;
    padding: 0 !important;
    color: #164f9e !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Classic/refined six-column header */
.gsm-shared-service-list-v110 .table-service
> tbody > .tr-header > td:not([colspan]) {
    padding: 8px 6px !important;
    border-top: 0 !important;
    border-bottom: 1px solid #d8df00 !important;
    background: #fff !important;
    color: #29485d !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 16px !important;
    vertical-align: middle !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-sizing: border-box;
}

.gsm-shared-service-list-v110 .table-service
> tbody > .tr-header > td:not([colspan]) strong {
    color: #29485d !important;
    font-size: inherit !important;
    font-weight: 600 !important;
}

.gsm-shared-service-list-v110 .table-service
> tbody > .tr-header > td:first-child:not([colspan]) img,
.gsm-shared-service-list-v110 .table-service
> tbody > .tr-header > td:last-child:not([colspan]) img {
    display: inline-block !important;
    opacity: .72;
    transform: scale(.90);
    vertical-align: middle;
}

.gsm-shared-service-list-v110 .table-service
> tbody > .tr-header > td:nth-child(2):not([colspan]) {
    padding-left: 8px !important;
    text-align: left !important;
}

.gsm-shared-service-list-v110 .table-service
> tbody > .tr-header > td:nth-child(3):not([colspan]),
.gsm-shared-service-list-v110 .table-service
> tbody > .tr-header > td:nth-child(4):not([colspan]),
.gsm-shared-service-list-v110 .table-service
> tbody > .tr-header > td:nth-child(5):not([colspan]),
.gsm-shared-service-list-v110 .table-service
> tbody > .tr-header > td:nth-child(6):not([colspan]) {
    text-align: center !important;
}

/* Rows */
.gsm-shared-service-list-v110 .table-service .tr-detail-list,
.gsm-shared-service-list-v110 .table-service .tr-detail-list.bg0,
.gsm-shared-service-list-v110 .table-service .tr-detail-list.bg1 {
    height: 60px !important;
    background: #fff !important;
    transition: background-color .14s ease;
}

.gsm-shared-service-list-v110 .table-service .tr-detail-list:hover {
    background: #f8fbfd !important;
}

.gsm-shared-service-list-v110 .table-service .tr-detail-list > td {
    min-width: 0 !important;
    padding: 6px !important;
    border-bottom: 1px solid #edf1f4 !important;
    vertical-align: middle !important;
    line-height: 15px !important;
    box-sizing: border-box !important;
}

.gsm-shared-service-list-v110 .table-service .img-unlservice {
    display: block;
    width: auto !important;
    max-width: 40px !important;
    max-height: 40px !important;
    height: auto !important;
    margin: 0 auto;
    object-fit: contain;
}

.gsm-shared-service-list-v110 .table-service .tr-detail-list .col-style-1 {
    min-width: 0 !important;
    padding-left: 8px !important;
    padding-right: 10px !important;
    overflow: hidden !important;
    text-align: left !important;
}

.gsm-shared-service-list-v110 .table-service
.tr-detail-list .col-style-1 > a:first-child,
.gsm-shared-service-list-v110 .table-service
.tr-detail-list .col-style-1 > a:first-child strong,
.gsm-shared-service-list-v110 .table-service
.tr-detail-list .col-style-1 > a:first-of-type,
.gsm-shared-service-list-v110 .table-service
.tr-detail-list .col-style-1 > a:first-of-type strong {
    color: #214e6c !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 17px !important;
    text-decoration: none !important;
}

.gsm-shared-service-list-v110 .table-service
.tr-detail-list .col-style-1 > a:first-child:hover,
.gsm-shared-service-list-v110 .table-service
.tr-detail-list .col-style-1 > a:first-of-type:hover {
    color: #0878b5 !important;
}

.gsm-shared-service-list-v110 .table-service
.tr-detail-list .col-style-1 > a:first-child > img,
.gsm-shared-service-list-v110 .table-service
.tr-detail-list .col-style-1 > a:first-of-type > img {
    width: auto !important;
    max-width: 27px !important;
    max-height: 12px !important;
    vertical-align: -1px;
}

.gsm-shared-service-list-v110 .table-service
.tr-detail-list .col-style-1 > a.hidden-xs {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-top: 1px !important;
    overflow: hidden !important;
    color: #8093a0 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 15px !important;
    text-decoration: none !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.gsm-shared-service-list-v110 .table-service
.tr-detail-list .col-style-1 > a.hidden-xs span {
    color: #8093a0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

.gsm-shared-service-list-v110 .table-service .tr-detail-list .col-style-2 {
    color: #086fae !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 17px !important;
    text-align: right !important;
    white-space: nowrap !important;
    font-variant-numeric: tabular-nums;
}

.gsm-shared-service-list-v110 .table-service
.tr-detail-list > td:nth-child(4) {
    text-align: center !important;
}

.gsm-shared-service-list-v110 .table-service
.tr-detail-list > td:nth-child(4) h4 {
    display: inline !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 12px !important;
    line-height: 15px !important;
}

.gsm-shared-service-list-v110 .table-service .tr-detail-list .col-style-4 {
    text-align: center !important;
    white-space: nowrap !important;
}

.gsm-shared-service-list-v110 .table-service
.tr-detail-list .col-style-4 span {
    display: inline !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #527387 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 15px !important;
    white-space: nowrap !important;
}

/* Desktop Order CTA; href/click logic remains page-owned. */
.gsm-shared-service-list-v110 .table-service
.tr-detail-list > td:last-child {
    text-align: center !important;
    white-space: nowrap !important;
}

.gsm-shared-service-list-v110 .table-service
.tr-detail-list > td:last-child > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 64px !important;
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 9px !important;
    border: 1px solid #1595d3 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #0878b5 !important;
    box-shadow: none !important;
    font-size: 0 !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    text-decoration: none !important;
    transform: none !important;
}

.gsm-shared-service-list-v110 .table-service
.tr-detail-list > td:last-child > a:hover,
.gsm-shared-service-list-v110 .table-service
.tr-detail-list > td:last-child > a:focus {
    border-color: #1595d3 !important;
    background: #1595d3 !important;
    color: #fff !important;
    outline: none !important;
}

.gsm-shared-service-list-v110 .table-service
.tr-detail-list > td:last-child > a .img-cart {
    display: none !important;
}

.gsm-shared-service-list-v110 .table-service
.tr-detail-list > td:last-child > a:after {
    content: "Order";
    color: inherit;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
}

@media (min-width: 768px) {
    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 col.gsm-service-col-logo-v110 {
        width: 6% !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 col.gsm-service-col-main-v110 {
        width: 58% !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 col.gsm-service-col-price-v110 {
        width: 8% !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 col.gsm-service-col-type-v110 {
        width: 5% !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 col.gsm-service-col-delivery-v110 {
        width: 13% !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 col.gsm-service-col-order-v110 {
        width: 10% !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110
    .col-style-1 > a:first-child,
    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110
    .col-style-1 > a:first-of-type {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }
}

@media (max-width: 767px) {
    /* Same near-edge service-list treatment approved on Products & Services. */
    .gsm-shared-service-list-v110 {
        position: relative !important;
        width: calc(100vw - 8px) !important;
        max-width: none !important;
        margin-left: calc(50% - 50vw + 4px) !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .gsm-shared-service-list-v110 .divTableR,
    .gsm-shared-service-list-v110 .divContentR,
    .gsm-shared-service-list-v110 .table-service {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .gsm-shared-service-list-v110 .divTableR {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .gsm-shared-service-list-v110 .divContentR {
        padding-left: 1px !important;
        padding-right: 1px !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 col.gsm-service-col-logo-v110 {
        width: 8% !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 col.gsm-service-col-main-v110 {
        width: 51% !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 col.gsm-service-col-price-v110 {
        width: 9% !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 col.gsm-service-col-type-v110 {
        width: 6% !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 col.gsm-service-col-delivery-v110 {
        width: 16% !important;
    }

    .gsm-shared-service-list-v110 .table-service.gsm-service-table-v110 col.gsm-service-col-order-v110 {
        width: 10% !important;
    }

    .gsm-shared-service-list-v110 .table-service .tr-detail-list {
        height: 74px !important;
    }

    .gsm-shared-service-list-v110 .table-service .tr-detail-list > td {
        padding: 7px 2px !important;
    }

    .gsm-shared-service-list-v110 .table-service .tr-detail-list .col-style-1 {
        min-width: 0 !important;
        padding-left: 4px !important;
        padding-right: 3px !important;
        overflow: hidden !important;
    }

    .gsm-shared-service-list-v110 .table-service
    .tr-detail-list .col-style-1 > a:first-child,
    .gsm-shared-service-list-v110 .table-service
    .tr-detail-list .col-style-1 > a:first-child strong,
    .gsm-shared-service-list-v110 .table-service
    .tr-detail-list .col-style-1 > a:first-of-type,
    .gsm-shared-service-list-v110 .table-service
    .tr-detail-list .col-style-1 > a:first-of-type strong {
        color: #2b536f !important;
        font-size: 11.5px !important;
        font-weight: 600 !important;
        line-height: 16px !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    .gsm-shared-service-list-v110 .table-service .img-unlservice {
        max-width: 34px !important;
        max-height: 34px !important;
    }

    .gsm-shared-service-list-v110 .table-service .tr-detail-list .col-style-2 {
        font-size: 11px !important;
        line-height: 14px !important;
        text-align: center !important;
    }

    .gsm-shared-service-list-v110 .table-service .tr-detail-list .col-style-3 h4 {
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 15px !important;
    }

    .gsm-shared-service-list-v110 .table-service .tr-detail-list .col-style-4 {
        text-align: center !important;
    }

    .gsm-shared-service-list-v110 .table-service .tr-detail-list .col-style-4 span {
        padding: 0 1px !important;
        font-size: 10px !important;
        line-height: 13px !important;
        white-space: normal !important;
    }

    /* Mobile keeps the familiar cart icon. */
    .gsm-shared-service-list-v110 .table-service .tr-detail-list > td:last-child > a {
        display: inline-flex !important;
        width: 26px !important;
        min-width: 26px !important;
        height: 26px !important;
        min-height: 26px !important;
        padding: 1px !important;
        margin: 0 auto !important;
        border-color: #d6e4ee !important;
        background: #f6fafc !important;
    }

    .gsm-shared-service-list-v110 .table-service .tr-detail-list > td:last-child > a .img-cart {
        display: inline-block !important;
        width: 19px !important;
        min-width: 19px !important;
        height: auto !important;
    }

    .gsm-shared-service-list-v110 .table-service .tr-detail-list > td:last-child > a:after {
        content: none !important;
        display: none !important;
    }

    .gsm-shared-service-list-v110 .table-service
    > tbody > .tr-header > td[colspan="6"] {
        padding: 10px 8px 7px 14px !important;
    }

    .gsm-shared-service-list-v110 .table-service
    > tbody > .tr-header > td[colspan="6"] .h-type0,
    .gsm-shared-service-list-v110 .table-service
    > tbody > .tr-header > td[colspan="6"] .h-type1 {
        font-size: 12.5px !important;
        line-height: 17px !important;
    }

    .gsm-shared-service-list-v110 .table-service
    > tbody > .tr-header > td:not([colspan]) {
        padding-top: 7px !important;
        padding-bottom: 7px !important;
        font-size: 11px !important;
        line-height: 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gsm-shared-service-list-v110 .table-service .tr-detail-list {
        transition: none !important;
    }
}
