﻿.stl {
    --line: #e3e6ea;
    --bg: #fff;
    /* تغییر از #6b7280 به رنگ تیره تر برای پررنگ شدن متن‌های کمرنگ */
    --muted: #4b5563;
}

.stl-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.stl-title {
    font-size: 1.5rem;
    margin: 0 0 4px;
    font-weight: 700; /* اضافه کردن ضخامت به عنوان اصلی */
}

.stl-sub {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 500; /* افزایش ضخامت متن زیرعنوان */
}

.stl-tools {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.stl-search {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    font-weight: 500; /* ضخیم‌تر شدن متن داخل باکس جستجو */
}

.stl-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .stl-tabs button {
        border: 1px solid var(--line);
        background: var(--bg);
        padding: 6px 14px;
        border-radius: 10px;
        font: inherit;
        font-size: .85rem;
        cursor: pointer;
        border-inline-start: 6px solid var(--c, #999);
        font-weight: 500; /* ضخیم‌تر شدن متن دکمه‌ها */
    }

        .stl-tabs button.is-on {
            background: #1f2937;
            color: #fff;
            border-color: #1f2937;
            font-weight: 600;
        }

.stl-head, .stl-item {
    display: grid;
    grid-template-columns: 1.3fr 1.1fr .9fr 2.3fr 1.3fr;
    gap: 12px;
    align-items: center;
}

.stl-head {
    padding: 10px 16px;
    font-weight: 700;
    font-size: .85rem;
    color: #374151; /* رنگ سرتیترها را مستقیماً تیره کردیم */
    border-bottom: 2px solid var(--line);
}

.stl-item {
    background: var(--bg);
    border: 1px solid var(--line);
    border-inline-start: 6px solid var(--c);
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 10px;
}

    .stl-item[hidden] {
        display: none;
    }

.stl-name b {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
}

.stl-name small {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 500; /* ضخیم‌تر شدن متن کوچک زیر نام */
}

.stl-dim {
    white-space: pre-line;
    font-size: .85rem;
    text-align: right;
    font-weight: 500; /* ضخیم‌تر شدن متن ابعاد */
}

.stl-no {
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.stl-more {
    grid-column: 1 / -1;
    border-top: 1px dashed var(--line);
    padding-top: 8px;
}

    .stl-more summary {
        cursor: pointer;
        font-weight: 700;
        font-size: .9rem;
        padding: 4px 0;
    }

.stl-scroll {
    overflow-x: auto;
    margin-top: 8px;
}

    .stl-scroll table {
        border-collapse: collapse;
        width: 100%;
        min-width: 420px;
        text-align: center;
        font-size: .85rem;
    }

    .stl-scroll th, .stl-scroll td {
        border: 1px solid var(--line);
        padding: 6px 8px;
        font-weight: 500; /* ضخیم‌تر شدن محتویات جدول */
    }

    .stl-scroll thead th {
        background: var(--c);
        color: #1a1a1a;
        font-weight: 700;
    }

    .stl-scroll tbody th {
        background: #f5f6f8;
        font-weight: 600;
    }

.stl-mech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
}

    .stl-mech div {
        background: #f5f6f8;
        border-radius: 8px;
        padding: 8px 14px;
        text-align: center;
    }

    .stl-mech dt {
        font-size: .72rem;
        color: #4b5563; /* تیره کردن برچسب‌های مکانیزم */
        font-weight: 600;
    }

    .stl-mech dd {
        margin: 0;
        font-weight: 700;
    }

.stl-note {
    margin: 10px 0 0;
    font-size: .82rem;
    color: var(--muted);
    font-weight: 500;
}

.stl-empty, .stl-foot {
    margin-top: 20px;
    color: var(--muted);
    font-size: .85rem;
    text-align: center;
    font-weight: 500;
}

@media (max-width: 767px) {
    .stl-head {
        display: none;
    }

    .stl-item {
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
    }

    .stl-name {
        grid-column: 1 / -1;
    }

    .stl-item > [data-l]:not(.stl-name) {
        font-size: .88rem;
        font-weight: 500;
    }

        .stl-item > [data-l]:not(.stl-name)::before {
            content: attr(data-l);
            display: block;
            font-size: .7rem;
            color: #4b5563; /* تیره کردن لیبل‌های موبایل */
            font-weight: 600;
        }

    .stl-item > [data-l="Ú©Ø§Ø±Ø¨Ø±Ø¯"] {
        grid-column: 1 / -1;
    }

    .stl-dim {
        text-align: start;
    }
}
