/* ============================================================
   GSMUnlockUSA Device Detail V118
   New user-facing Device Guide page, aligned with Product Detail.
   ============================================================ */

.gsm-device-page-content-v118 {
    margin-top: 5px;
}

.gsm-device-guide-v118 {
    margin: 0 0 12px 0;
    border: 1px solid #d9e4eb;
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(30, 74, 99, .05);
    box-sizing: border-box;
}

.gsm-device-guide-header-v118 {
    min-height: 36px;
    padding: 9px 13px;
    border-bottom: 1px solid #dce7ed;
    background: #f4f8fb;
    color: #34566d;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    box-sizing: border-box;
}

.gsm-device-guide-main-v118 {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 22px 18px;
    box-sizing: border-box;
}

.gsm-device-image-wrap-v118 {
    flex: 0 0 190px;
    width: 190px;
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid #edf1f4;
    border-radius: 8px;
    background: #fafcfd;
    box-sizing: border-box;
}

.gsm-device-image-v118 {
    display: block;
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
}

.gsm-device-summary-v118 {
    flex: 1 1 auto;
    min-width: 0;
    font-family: Arial, sans-serif;
}

.gsm-device-brand-v118 {
    margin: 0 0 5px;
    color: #748895;
    font-size: 11px;
    line-height: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gsm-device-title-v118 {
    margin: 0 0 12px;
    padding: 0;
    color: #24465c;
    font-family: Arial, sans-serif;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.gsm-device-status-row-v118 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 11px;
}

.gsm-device-status-label-v118 {
    color: #6b7f8d;
    font-size: 11px;
    line-height: 18px;
    font-weight: 600;
}

.gsm-device-status-v118 {
    display: inline-block;
    padding: 3px 9px;
    border: 1px solid #d8e2e8;
    border-radius: 12px;
    background: #f7fafc;
    color: #536b7a;
    font-size: 10.5px;
    line-height: 15px;
    font-weight: 700;
}

.gsm-device-status-available-v118 {
    border-color: #b9dcc8;
    background: #f1faf5;
    color: #2e7650;
}

.gsm-device-status-unavailable-v118 {
    border-color: #e2c5c5;
    background: #fff6f6;
    color: #8a4a4a;
}

.gsm-device-status-rumored-v118,
.gsm-device-status-announced-v118,
.gsm-device-status-monitoring-v118 {
    border-color: #dfd2b7;
    background: #fffaf0;
    color: #79613a;
}

.gsm-device-short-v118 {
    max-width: 690px;
    margin: 0;
    color: #526976;
    font-size: 12px;
    line-height: 1.62;
}

.gsm-device-updated-v118 {
    margin-top: 10px;
    color: #98a5ad;
    font-size: 10px;
    line-height: 14px;
}

.gsm-device-content-v118 {
    padding: 2px 22px 22px;
    color: #344f60;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.gsm-device-content-v118:before {
    content: "";
    display: block;
    height: 1px;
    margin: 0 0 18px;
    background: #e8eef2;
}

.gsm-device-content-v118 h1,
.gsm-device-content-v118 h2,
.gsm-device-content-v118 h3,
.gsm-device-content-v118 h4 {
    color: #2d5269;
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.gsm-device-content-v118 h2 {
    margin: 20px 0 8px;
    font-size: 16px;
    line-height: 1.35;
}

.gsm-device-content-v118 h3 {
    margin: 16px 0 7px;
    font-size: 14px;
    line-height: 1.4;
}

.gsm-device-content-v118 p {
    margin: 0 0 12px;
}

.gsm-device-content-v118 ul,
.gsm-device-content-v118 ol {
    margin-top: 6px;
    margin-bottom: 13px;
}

.gsm-device-content-v118 img,
.gsm-device-content-v118 video,
.gsm-device-content-v118 iframe {
    max-width: 100% !important;
}

.gsm-device-content-v118 table {
    max-width: 100%;
}

.gsm-device-services-section-v118 {
    margin: 13px 0 0;
}

.gsm-device-services-heading-v118 {
    padding: 0 2px 8px;
    font-family: Arial, sans-serif;
}

.gsm-device-services-kicker-v118 {
    display: block;
    margin-bottom: 2px;
    color: #7b909e;
    font-size: 10px;
    line-height: 14px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.gsm-device-services-heading-v118 h2 {
    margin: 0;
    color: #31556c;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
}

.gsm-device-services-heading-v118 p {
    margin: 3px 0 0;
    color: #7b8e99;
    font-size: 11px;
    line-height: 16px;
}

.gsm-device-first-group-v118 {
    margin-top: 1px;
}

.gsm-device-view-all-v118 {
    margin: 10px 0 16px;
    text-align: center;
}

.gsm-device-view-all-link-v118 {
    display: inline-block;
    min-width: 150px;
    padding: 8px 14px;
    border: 1px solid #b8cedc;
    border-radius: 5px;
    background: #fff;
    color: #2f6f99;
    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    text-decoration: none;
}

.gsm-device-view-all-link-v118:hover,
.gsm-device-view-all-link-v118:focus {
    border-color: #8eb3ca;
    background: #f5fafd;
    color: #245d82;
    text-decoration: none;
}

.gsm-device-services-error-v118,
.gsm-device-not-found-body-v118 {
    padding: 24px 18px;
    color: #667985;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.gsm-device-not-found-body-v118 h1 {
    margin: 0 0 8px;
    color: #395b70;
    font-size: 18px;
    line-height: 24px;
}

.gsm-device-not-found-body-v118 p {
    margin: 0 0 12px;
}

/* Keep the accepted V110 table geometry. Only the final cart action is
   visually clickable and remains icon-sized. */
#gsm-device-first-group-v118 .gsm-device-direct-cart-v118 {
    cursor: pointer;
}

@media (max-width: 767px) {
    .gsm-device-page-content-v118 {
        margin-top: 4px;
    }

    .gsm-device-guide-v118 {
        margin-left: 4px;
        margin-right: 4px;
        border-radius: 6px;
    }

    .gsm-device-guide-header-v118 {
        padding-left: 11px;
        padding-right: 11px;
    }

    .gsm-device-guide-main-v118 {
        display: block;
        padding: 15px 13px 14px;
    }

    .gsm-device-image-wrap-v118 {
        width: 100%;
        min-height: 150px;
        margin-bottom: 14px;
        padding: 10px;
    }

    .gsm-device-image-v118 {
        max-height: 205px;
    }

    .gsm-device-title-v118 {
        margin-bottom: 10px;
        font-size: 20px;
        line-height: 1.28;
    }

    .gsm-device-status-row-v118 {
        gap: 5px;
        margin-bottom: 9px;
    }

    .gsm-device-short-v118 {
        font-size: 11.5px;
        line-height: 1.58;
    }

    .gsm-device-content-v118 {
        padding: 0 13px 17px;
        font-size: 11.5px;
        line-height: 1.62;
    }

    .gsm-device-content-v118:before {
        margin-bottom: 15px;
    }

    .gsm-device-services-heading-v118 {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* V110 already owns the table itself. Let it approach the viewport edge in
       the same way as the accepted Products/Instructions service lists. */
    .gsm-device-first-group-v118 {
        width: calc(100% + 8px);
        margin-left: -4px;
        margin-right: -4px;
    }

    .gsm-device-view-all-v118 {
        margin-bottom: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gsm-device-view-all-link-v118 {
        transition: none !important;
    }
}
