.steel-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
    box-sizing: border-box;
    width: 100%;
}

.steel-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 36px 40px;
    margin: 32px 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.steel-hero__left {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.steel-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    background: rgba(var(--primary-color-rgb), 0.12);
    border: 1px solid rgba(var(--primary-color-rgb), 0.25);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    width: fit-content;
}

.steel-hero__tag-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.75);
    }
}

.steel-hero__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.15;
}

.steel-hero__title span {
    color: var(--primary-color);
}

.steel-hero__attrs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.steel-hero__attr {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
}

.steel-hero__attr i {
    color: var(--primary-color);
    font-size: 11px;
}

.steel-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.steel-search-wrap {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 440px;
}

.steel-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 13px;
    pointer-events: none;
}

.steel-search-input {
    width: 100%;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 11px 38px 11px 40px;
    color: var(--text-color);
    font-size: 13.5px;
    font-family: 'Nunito', sans-serif;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.steel-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.steel-search-input::placeholder {
    color: var(--text-muted);
}

.steel-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 11px;
    transition: background 0.15s, color 0.15s;
}

.steel-search-clear:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.steel-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    align-items: start;
}

.steel-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 12px);
    max-height: calc(100vh - var(--header-height) - 32px);
    overflow-y: auto;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.steel-sidebar::-webkit-scrollbar {
    width: 4px;
}

.steel-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.steel-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.steel-sidebar__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--surface-color);
    z-index: 1;
}

.steel-sidebar__header-dot {
    width: 7px;
    height: 7px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.steel-sidebar__header-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.steel-cat-list {
    list-style: none;
    margin: 0;
}

.steel-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 16px;
    cursor: pointer;
    transition: background 0.15s;
    border-left: 2px solid transparent;
    user-select: none;
}

.steel-cat-item:hover {
    background: rgba(var(--primary-color-rgb), 0.07);
}

.steel-cat-item:hover .steel-cat-name {
    color: var(--primary-color);
}

.steel-cat-item.active {
    background: rgba(var(--primary-color-rgb), 0.1);
    border-left-color: var(--primary-color);
}

.steel-cat-item.active .steel-cat-name {
    color: var(--primary-color);
    font-weight: 700;
}

.steel-cat-item.active .steel-cat-count {
    background: rgba(var(--primary-color-rgb), 0.15);
    border-color: rgba(var(--primary-color-rgb), 0.25);
    color: var(--primary-color);
}

.steel-cat-name {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.35;
    flex: 1;
    min-width: 0;
    transition: color 0.15s;
}

.steel-cat-count {
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 2px 7px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.steel-cat-mobile {
    display: none;
    width: 100%;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 12px 40px 12px 16px;
    color: var(--text-color);
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    margin-bottom: 16px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2392989E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.steel-cat-mobile:focus {
    outline: none;
    border-color: var(--primary-color);
}

.steel-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.steel-loader {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    color: var(--text-muted);
    font-size: 13px;
}

.steel-loader.visible {
    display: flex;
}

.steel-loader__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(var(--primary-color-rgb), 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.steel-table-area {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.steel-table-area.visible {
    display: flex;
}

.steel-table-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.steel-table-topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.steel-table-title-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 18px;
}

.steel-table-title-pill .decorative-dot {
    width: 7px;
    height: 7px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
    display: block;
}

.steel-table-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
}

.steel-table-meta-badge i {
    font-size: 11px;
    color: var(--primary-color);
}

.steel-table-wrap {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    max-height: 76vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.steel-table-wrap::-webkit-scrollbar {
    width: 4px;
}

.steel-table-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.steel-table-wrap::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.steel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.steel-table thead th {
    padding: 12px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 2;
    white-space: nowrap;
    user-select: none;
}

.steel-table thead th:first-child {
    padding-left: 16px;
}

.steel-row-sub .steel-subcategory {
    padding: 12px 16px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.06);
    border-top: 1px solid rgba(var(--primary-color-rgb), 0.14);
    border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.steel-row-sub:first-child .steel-subcategory {
    border-top: none;
}

.steel-row-group .steel-group-name {
    padding: 8px 16px 7px 28px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.018);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.steel-row-data {
    opacity: 0;
    animation: rowIn 0.22s ease forwards;
    transition: background 0.1s;
}

@keyframes rowIn {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.steel-row-data:hover {
    background: rgba(var(--primary-color-rgb), 0.04);
}

.steel-row-data td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
    color: var(--text-color);
}

.steel-row-data:last-child td {
    border-bottom: none;
}

.steel-row-data td:first-child {
    padding-left: 16px;
}

.col-img {
    width: 56px;
    padding-right: 8px !important;
}

.col-model {
    min-width: 130px;
}

.col-dims {
    min-width: 165px;
    color: var(--text-muted) !important;
    font-size: 12px !important;
    font-variant-numeric: tabular-nums;
}

.col-weight {
    width: 80px;
    text-align: right !important;
    color: var(--text-muted) !important;
    font-size: 12px !important;
    font-variant-numeric: tabular-nums;
}

.col-price {
    width: 130px;
    text-align: right !important;
}

.model-code {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-color);
    letter-spacing: 0.02em;
}

.model-code mark {
    background: rgba(var(--primary-color-rgb), 0.25);
    color: var(--text-color);
    border-radius: 3px;
    padding: 0 2px;
}

.model-desc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 9px;
    font-style: normal;
    color: var(--text-muted);
    cursor: help;
    margin-left: 5px;
    vertical-align: middle;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    user-select: none;
    flex-shrink: 0;
}

.model-desc:hover {
    background: rgba(var(--primary-color-rgb), 0.15);
    border-color: rgba(var(--primary-color-rgb), 0.3);
    color: var(--primary-color);
}

.img-thumb-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    border-radius: 10px;
    transition: transform 0.15s;
}

.img-thumb-btn:hover {
    transform: scale(1.06);
}

.img-thumb {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: block;
}

.img-none {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

.col-price strong {
    font-variant-numeric: tabular-nums;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
}

.price-request {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.1);
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    border-radius: 6px;
    padding: 2px 7px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.price-none {
    color: rgba(255, 255, 255, 0.18);
}

.steel-search-results {
    display: none;
    flex-direction: column;
    gap: 10px;
}

.steel-search-results.visible {
    display: flex;
}

.search-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 5px 14px;
    margin: 0;
    width: fit-content;
}

.search-count .decorative-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    display: block;
}

.search-empty {
    font-size: 14px;
    color: var(--text-muted);
    padding: 24px 0;
    margin: 0;
}

.steel-table--search .cat-label {
    font-size: 11px;
    color: var(--text-muted);
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.steel-tooltip {
    position: absolute;
    z-index: 9999;
    max-width: 300px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-color);
    pointer-events: none;
    white-space: pre-wrap;
    animation: tooltipIn 0.15s ease;
}

@keyframes tooltipIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.steel-img-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.steel-img-modal.open {
    opacity: 1;
}

.steel-img-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
}

.steel-img-modal__box {
    position: relative;
    z-index: 1;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    max-width: min(90vw, 520px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transform: scale(0.93);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.steel-img-modal.open .steel-img-modal__box {
    transform: scale(1);
}

.steel-img-modal__close {
    position: absolute;
    top: 9px;
    right: 9px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.15s, color 0.15s;
}

.steel-img-modal__close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.steel-img-modal__img {
    max-width: 100%;
    max-height: 58vh;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    background: rgba(255, 255, 255, 0.03);
}

.steel-img-modal__caption {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin: 0;
}

.steel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 20px;
    gap: 12px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.steel-empty__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(var(--primary-color-rgb), 0.08);
    border: 1px solid rgba(var(--primary-color-rgb), 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    opacity: 0.7;
    margin-bottom: 4px;
}

.steel-empty__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    opacity: 0.6;
    margin: 0;
}

.steel-empty__sub {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    max-width: 260px;
    line-height: 1.55;
}

.steel-error {
    padding: 24px;
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.steel-error i {
    color: #e05c5c;
}

@media (max-width: 900px) {
    .steel-layout {
        grid-template-columns: 1fr;
    }

    .steel-sidebar {
        display: none;
    }

    .steel-cat-mobile {
        display: block;
    }

    .steel-hero {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .steel-hero__right {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .steel-hero__count {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .steel-table {
        font-size: 12px;
    }

    .col-dims,
    .col-weight {
        display: none;
    }

    .steel-table-wrap {
        max-height: 62vh;
    }

    .steel-hero__title {
        font-size: 1.5rem;
    }

    .steel-search-wrap {
        max-width: 100%;
    }

    .steel-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
}