﻿.pf-wrap {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 24px;
    align-items: flex-start;
    font-size: 14px;
    margin-top: 24px;
}
.pf-sidebar {
    background: #ffffff;
    border: 1px solid #dde1e7;
    border-top: 4px solid #feb324;
    padding: 20px;
}

    .pf-sidebar > div {
        margin-top: 0 !important;
    }

.pf-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f5f5f5;
}

.pf-sidebar-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .pf-sidebar-title::before {
        content: '';
        display: inline-block;
        width: 4px;
        height: 14px;
        background: #feb324;
    }

.pf-clear {
    font-size: 11px;
    color: #feb324;
    cursor: pointer;
    background: transparent;
    border: 1px solid #feb324;
    padding: 3px 10px;
    font-family: inherit;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.15s;
}

    .pf-clear:hover {
        background: #feb324;
        color: #ffffff;
    }

.pf-group {
    margin-bottom: 18px;
    margin-top: 0 !important;
}

.pf-group-title {
    font-size: 10px;
    font-weight: 700;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 7px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.pf-check-item {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 7px;
    padding: 5px 8px;
    border-left: 2px solid transparent;
    transition: all 0.12s;
    cursor: pointer;
}

    .pf-check-item:hover {
        background: #f5f5f5;
        border-left-color: #feb324;
    }

    .pf-check-item input[type="checkbox"] {
        -webkit-appearance: checkbox;
        appearance: checkbox;
        width: 14px !important;
        height: 14px !important;
        min-width: 14px;
        cursor: pointer;
        accent-color: #feb324;
        flex-shrink: 0;
        margin: 0;
        padding: 0;
    }

    .pf-check-item label {
        font-size: 13px;
        color: #444444;
        cursor: pointer;
        font-family: 'Open Sans', sans-serif;
        line-height: 1.4;
        font-weight: 500;
    }

.pf-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pf-count-badge {
    font-size: 11px;
    color: #555555;
    background: #f5f5f5;
    border: 1px solid #dde1e7;
    padding: 5px 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pf-active-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pf-tag {
    font-size: 11px;
    background: #fff8e6;
    color: #7a4f00;
    padding: 4px 10px;
    border: 1px solid #feb324;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pf-tag-x {
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    color: #feb324;
}

.pf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    table-layout: fixed;
}

    /* ===== THEAD YENİ TASARIM ===== */

    .pf-table thead {
        position: relative;
    }

        /* Üst grup satırı - grup başlıkları */
        .pf-table thead tr.row-group th {
            background: #1a1a1a;
            color: #ffffff;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            padding: 10px 12px 10px;
            text-align: center;
            border-right: 1px solid #2d2d2d;
            vertical-align: middle;
        }

            .pf-table thead tr.row-group th:last-child {
                border-right: none;
            }

            .pf-table thead tr.row-group th.group-standby {
                background: #feb324;
                color: #1a1a1a;
                border-right: 1px solid #e6a420;
                position: relative;
            }

                .pf-table thead tr.row-group th.group-standby::before {
                    content: '';
                    position: absolute;
                    left: 0;
                    top: 0;
                    bottom: 0;
                    width: 3px;
                    background: #1a1a1a;
                }

            .pf-table thead tr.row-group th.group-prime {
                background: #feb324;
                color: #1a1a1a;
                border-right: 1px solid #e6a420;
                position: relative;
            }

                .pf-table thead tr.row-group th.group-prime::before {
                    content: '';
                    position: absolute;
                    left: 0;
                    top: 0;
                    bottom: 0;
                    width: 3px;
                    background: #1a1a1a;
                }

        /* Alt kolon isimler satırı */
        .pf-table thead tr.row-cols th {
            background: #242424;
            color: #cccccc;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.09em;
            padding: 8px 12px;
            text-align: center;
            border-right: 1px solid #333333;
            border-bottom: 3px solid #feb324;
            vertical-align: middle;
            white-space: nowrap;
        }

            .pf-table thead tr.row-cols th:last-child {
                border-right: none;
            }

            .pf-table thead tr.row-cols th.col-kva {
                background: #2a2200;
                color: #feb324;
                border-right: 1px solid #3d3200;
                font-size: 11px;
                font-weight: 800;
            }

            .pf-table thead tr.row-cols th.col-kw {
                background: #1e1900;
                color: #ccaa44;
                border-right: 1px solid #333333;
                font-size: 11px;
            }

            .pf-table thead tr.row-cols th.col-model {
                text-align: left;
                color: #ffffff;
            }

    /* ===== TBODY ===== */

    .pf-table tbody tr {
        border-bottom: 1px solid #eeeeee;
        transition: background 0.1s;
    }

        .pf-table tbody tr:nth-child(even) {
            background: #fafafa;
        }

        .pf-table tbody tr:last-child {
            border-bottom: none;
        }

        .pf-table tbody tr:hover {
            background: #fff8e6;
            box-shadow: inset 3px 0 0 #feb324;
        }

    .pf-table tbody td {
        padding: 13px 12px;
        text-align: center;
        color: #333333;
        font-size: 13px;
        border-right: 1px solid #eeeeee;
        vertical-align: middle;
    }

        .pf-table tbody td:last-child {
            border-right: none;
        }

.pf-checkbox-cell input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
    width: 14px !important;
    height: 14px !important;
    cursor: pointer;
    accent-color: #feb324;
    margin: 0;
}

.pf-thumb {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border: 1px solid #dde1e7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
}

    .pf-thumb img {
        width: 44px;
        height: 44px;
        object-fit: contain;
    }

.pf-model-name {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 13px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pf-new-badge {
    display: inline-block;
    font-size: 9px;
    background: #feb324;
    color: #1a1a1a;
    padding: 2px 7px;
    font-weight: 700;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pf-kva {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 13px;
}

.pf-kw {
    color: #666666;
    font-size: 12px;
}

.pf-motor {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pf-btn-detail {
    width: 32px;
    height: 32px;
    background: #feb324;
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.15s;
}

    .pf-btn-detail:hover {
        background: #e6a420;
    }

.pf-btn-compare-row {
    width: 32px;
    height: 32px;
    background: #1a1a1a;
    color: #feb324;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.15s;
}

    .pf-btn-compare-row:hover {
        background: #333333;
    }

.pf-actions {
    display: flex;
    gap: 4px;
    justify-content: center;
}