@charset "UTF-8";

.site-header::after,
.main-width-flex::after,
.main-width-footer::after {
    content: "";
    display: block;
    clear: both;
}

.main-width,
.main-width-footer {
    position: relative;
    margin: 0 auto;
    max-width: 1160px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.section-header-extra {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

.filter-section:not(.subcategorys) {
    margin: 20px 0;
    padding: 14px 18px;
    border: .01rem solid #ededed;
    background: #fff;
}

#divCatalog.sidebar-nav {
    position: fixed;
    z-index: 95;
    top: 80px;
    bottom: 20px;
    width: 220px;
    overflow: hidden;
}

#divCatalog.sidebar-nav .function_c {
    height: 100%;
}

#divCatalog.sidebar-nav .function_c > ul {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.site-header .nav > ul {
    display: block;
}

@media screen and (min-width: 981px) {
    .site-header .brand {
        float: left;
        display: flex;
        align-items: center;
        height: 60px;
    }

    .site-header .action {
        float: right;
        display: flex;
        align-items: stretch;
        height: 60px;
    }

    .site-header .logo,
    .site-header .name,
    .site-header .search,
    .site-header .login,
    .site-header #theme-toggle {
        float: none;
    }

    .site-header .search {
        width: 280px;
    }

    .site-header .login {
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    .site-header #theme-toggle {
        display: flex;
        align-items: center;
    }
}

@media screen and (max-width: 980px) {
    #divCatalog.sidebar-nav {
        display: none;
    }

    .site-header .brand {
        float: left;
        max-width: calc(100% - 150px);
    }

    .site-header .action {
        float: right;
        display: flex;
        align-items: center;
        height: 60px;
    }
}

body.fui-dark #divCatalog.sidebar-nav .function_c,
body.fui-dark .filter-section:not(.subcategorys) {
    background: #333;
    border-color: #3d3d3d;
}

.comments-section {
    margin-top: 24px;
}

.comments-header {
    margin-bottom: 18px;
}

.comments-header .section-header-extra small {
    margin: 0 4px;
    color: #0069cc;
}

.comment-form-shell {
    margin-bottom: 20px;
    padding: 18px;
    border: .01rem solid #ededed;
    background: #fff;
}

.comment-form-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.comment-current-user {
    color: #333;
    font-weight: 600;
}

.comment-cancel-reply {
    color: #999;
}

.comment-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.comment-form-field {
    margin: 0;
}

.comment-form-field input,
.comment-editor textarea {
    width: 100%;
    box-sizing: border-box;
    border: .01rem solid #e6e6e6;
    background: #fff;
}

.comment-verify-field {
    display: flex;
    gap: 12px;
}

.comment-verify-field span {
    flex: 0 0 auto;
}

.comment-verify-field img {
    height: 42px;
    display: block;
    cursor: pointer;
}

.comment-editor textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.comment-submit {
    min-width: 120px;
}

.comment-list-shell {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-thread {
    margin: 0;
    padding: 0;
    list-style: none;
}

.comment-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: .01rem solid #ededed;
    background: #fff;
}

.comment-avatar {
    flex: 0 0 auto;
}

.comment-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}

.comment-body {
    min-width: 0;
    flex: 1;
}

.comment-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.comment-author-link h5 {
    margin: 0;
    color: #333;
    font-size: 15px;
}

.comment-action a {
    color: #999;
}

.comment-meta em {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 12px;
    font-style: normal;
}

.comment-content p {
    margin: 12px 0 0;
    line-height: 1.9;
    word-break: break-word;
}

.comment-children {
    margin: 14px 0 0 62px;
}

.comment-children .comment-item {
    background: #fafafa;
}

@media screen and (max-width: 980px) {
    .comment-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    .comment-form-grid {
        grid-template-columns: 1fr;
    }

    .comment-item {
        padding: 16px;
    }

    .comment-author-row,
    .comment-form-heading,
    .comment-verify-field,
    .comment-form-actions {
        display: block;
    }

    .comment-action {
        display: inline-block;
        margin-top: 8px;
    }

    .comment-verify-field span {
        display: block;
        margin-top: 10px;
    }

    .comment-children {
        margin-left: 18px;
    }
}

body.fui-dark .comment-form-shell,
body.fui-dark .comment-item,
body.fui-dark .comment-form-field input,
body.fui-dark .comment-editor textarea {
    background: #333;
    border-color: #3d3d3d;
    color: #ccc;
}

body.fui-dark .comment-children .comment-item {
    background: #3a3a3a;
}

body.fui-dark .comment-current-user,
body.fui-dark .comment-author-link h5 {
    color: #e6e6e6;
}
