/**
 * Specs.pk Engine - Generic Single Device CSS
 * Version: 3.0.0
 *
 * Supports plugin-owned single-device.php for:
 * - mobile
 * - tablet
 * - smartwatch
 * - headphone
 * - laptop
 */

body.single-mobile .site-content,
body.single-mobile .content-area,
body.single-mobile .site-main,
body.single-mobile .content-container,
body.single-mobile .entry-content-wrap,
body.single-mobile .content-bg,
body.single-mobile .entry,
body.single-tablet .site-content,
body.single-tablet .content-area,
body.single-tablet .site-main,
body.single-tablet .content-container,
body.single-tablet .entry-content-wrap,
body.single-tablet .content-bg,
body.single-tablet .entry,
body.single-smartwatch .site-content,
body.single-smartwatch .content-area,
body.single-smartwatch .site-main,
body.single-smartwatch .content-container,
body.single-smartwatch .entry-content-wrap,
body.single-smartwatch .content-bg,
body.single-smartwatch .entry,
body.single-headphone .site-content,
body.single-headphone .content-area,
body.single-headphone .site-main,
body.single-headphone .content-container,
body.single-headphone .entry-content-wrap,
body.single-headphone .content-bg,
body.single-headphone .entry,
body.single-laptop .site-content,
body.single-laptop .content-area,
body.single-laptop .site-main,
body.single-laptop .content-container,
body.single-laptop .entry-content-wrap,
body.single-laptop .content-bg,
body.single-laptop .entry {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.single-mobile .site-main,
body.single-tablet .site-main,
body.single-smartwatch .site-main,
body.single-headphone .site-main,
body.single-laptop .site-main {
    margin-top: 0 !important;
}

.spk-single-device-page {
    width: 100%;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.spk-single-device-page .spk-layout-with-sidebar {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 15px 20px;
    box-sizing: border-box;
}

.spk-single-device-page .spk-sidebar {
    grid-column: 1;
    min-width: 0;
}

.spk-single-device-page .spk-main-content {
    grid-column: 2;
    min-width: 0;
}

.spk-single-device-page .spk-main-content img,
.spk-single-device-page .spk-main-content table {
    max-width: 100%;
}

.spk-single-device-page .spk-sidebar-section {
    background: #fff;
    border: 1px solid #e5e5e5;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.spk-single-device-page .spk-sidebar-title {
    background: #b7b7b7;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .3px;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    padding: 9px 8px;
}

.spk-single-device-page .spk-phone-finder {
    border: 0;
    background: transparent;
}

.spk-single-device-page .spk-phone-finder-link {
    display: block;
    background: #b7b7b7;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .3px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    padding: 9px 8px;
    box-sizing: border-box;
}

.spk-single-device-page .spk-phone-finder-link:hover,
.spk-single-device-page .spk-phone-finder-link:focus {
    background: #d34e00;
    color: #fff !important;
    text-decoration: none !important;
}

.spk-single-device-page .spk-device-finder-disabled .spk-finder-disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.spk-single-device-page .spk-device-finder-disabled .spk-finder-disabled:hover,
.spk-single-device-page .spk-device-finder-disabled .spk-finder-disabled:focus {
    background: #b7b7b7;
    color: #ffffff !important;
}

.spk-single-device-page .spk-sidebar-list,
.spk-single-device-page .spk-sidebar-list li,
.spk-single-device-page .spk-sidebar .spk-sidebar-list,
.spk-single-device-page .spk-sidebar .spk-sidebar-list li {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.spk-single-device-page .spk-sidebar-list {
    margin: 0;
    padding: 8px 0;
}

.spk-single-device-page .spk-sidebar-list-item {
    list-style: none;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.spk-single-device-page .spk-sidebar-post-link {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    color: #2f6f9f;
    text-decoration: none !important;
}

.spk-single-device-page .spk-sidebar-post-link:hover,
.spk-single-device-page .spk-sidebar-post-link:focus {
    background: #f6f6f6;
    color: #d34e00;
    text-decoration: none !important;
}

.spk-single-device-page .spk-sidebar-thumb {
    flex: 0 0 54px;
    width: 54px;
    height: 44px;
    overflow: hidden;
    background: #f4f4f4;
}

.spk-single-device-page .spk-sidebar-thumb img {
    width: 54px;
    height: 44px;
    object-fit: cover;
    display: block;
}

.spk-single-device-page .spk-sidebar-post-title {
    min-width: 0;
}

.spk-single-device-page .spk-sidebar-view-all {
    display: block;
    padding: 10px 12px;
    color: #2f6f9f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
    border-top: 1px solid #e5e5e5;
}

.spk-single-device-page .spk-sidebar-view-all:hover,
.spk-single-device-page .spk-sidebar-view-all:focus {
    color: #d34e00;
    text-decoration: none !important;
}

.spk-single-device-page .spk-empty-featured-specs {
    min-height: 160px;
    border: 0;
    background: #fff;
}

.spk-single-device-page .spk-action-disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.spk-single-device-page .gsm-action-bar .spk-action-disabled:hover,
.spk-single-device-page .spk-action-disabled:hover {
    background: #f4f4f4;
    color: #d34e00 !important;
}

.spk-single-device-page .spk-device-placeholder-content {
    background: #ffffff;
    border: 1px solid #eeeeee;
    padding: 16px;
    font-size: 14px;
}

@media (max-width: 900px) {
    .spk-single-device-page .spk-layout-with-sidebar {
        display: block;
        padding: 15px 10px 20px;
    }

    .spk-single-device-page .spk-sidebar {
        margin-bottom: 20px;
    }
}

/* Specs table - matches mobile-single.css for visual parity (v3.1.13) */
.spec-group-title {
    background: #f4f4f4;
    padding: 8px 15px;
    border-left: 5px solid #d34e00;
    font-weight: 700;
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 13px;
    color: #333;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.spec-table td {
    padding: 10px;
    border: 1px solid #eee;
    font-size: 14px;
    vertical-align: top;
}

.label-cell {
    width: 35%;
    font-weight: 700;
    color: #666;
    background: #fafafa;
}
