.sellers-page-body {
    display: grid;
    gap: 10px;
    grid-template-areas: 
    "title search"
    "sort sort"
    "table table";
}

.title {
    grid-area: title;
    display: flex;
    max-width: 100%;
    background: var(--color-bg-box);
    border: 1px solid var(--color-box-border);
    box-shadow: var(--box-shadow-externa);
    width: -webkit-fill-available;
    font-weight: 700;
    font-size: 29px;
    line-height: 32px;
    text-align: center;
    color: #000000;
    padding: 5px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
}
.searchbox-sellers-page {
    grid-area: search;
    position: relative;
    max-width: 100%;
    background: var(--color-bg-box);
    border-radius: 12px;
    padding: 5px;
    border: var(--color-box-border);
    box-shadow: var(--box-shadow-externa);
}
.search-input-seller {
    width: 100%;
    padding: 0 20px 0px 20px;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    height: inherit;
    line-height: 41px;
    text-transform: none;
    display: block;
    background-position: right center;
    background-repeat: no-repeat;
    text-decoration: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(0, 0, 0, 0.015), inset 0 2px 8px rgba(0, 0, 0, 0.075), 0 0px rgb(0 9 37 / 37%);
    background-color: rgb(232 255 254);
    border-color: rgb(232 255 254);
    border-width: 0px;
}
.searchbox-sellers-page i.fa.fa-search {
    position: absolute;
    right: 15px;
    top: 11px;
    font-size: 30px;
}
.sellers-sorting {
    grid-area: sort;
    display: grid;
    gap: 5px;
    grid-template-areas:
        "title title title"
        " rating products good"
        " returns sells bad";
    max-width: 100%;
    background: var(--color-bg-box);
    border: 1px solid var(--color-box-border);
    box-shadow: var(--box-shadow-externa);
    width: -webkit-fill-available;
    font-weight: 700;
    text-align: center;
    color: #000000;
    padding: 5px;
    border-radius: 8px;
    align-items: center;
}

label.filtr-label {
    display: flex;
    align-items: center;
    gap: 5px;
}
.sorting-rating, .sorting-products, .sorting-sells, .sorting-returns, .sorting-reviews-good, .sorting-reviews-bad {
    display: flex;
    background: var(--color-bg-box-secondary);
    box-shadow: var(--box-shadow-interna);
    border-radius: 8px;
    padding: 5px 10px 5px 15px;
}
.sorting-title {
    grid-area: title;
    display: flex;
    align-items: center;
    line-height: 25px;
}
.sorting-rating {
    grid-area: rating;
}
.sorting-products {
    grid-area: products;
}
.sorting-sells {
    grid-area: sells;
}
.sorting-returns {
    grid-area: returns;
}
.sorting-reviews-good {
    grid-area: good;
}
.sorting-reviews-bad {
    grid-area: bad;
}
.sellers-list {
    display: grid;
    gap: 10px;
    grid-template-areas: 
    "pag-up"
    "table"
    "pag-bottom";
}
.sellers_content {
    display: grid;
    grid-area: table;
    position: relative;
}
.sellers-table {
    display: grid;
    grid-template-columns: auto;
    gap: 5px;
}
.sellers-table a {
    text-decoration: none;
    color: black;
}
.seller-container {
    display: grid;
    gap: 5px;
    grid-template-columns: 200px 80px 100px repeat(4, 1fr);
    max-width: 100%;
    background: var(--color-bg-box);
    border-radius: 8px;
    padding: 5px;
    border: 1px solid #F6F6F6;
    box-shadow: var(--box-shadow-externa);
    grid-template-areas:
        "title rating products sales returns good bad";
}

.seller-name-table {
    grid-area: title;
    display: flex;
    gap: 5px;
    width: 100%;
    box-sizing: border-box;
    font-size: 17px;
    border-radius: 8px;
    font-weight: 600;
    height: inherit;
    text-transform: none;
    text-decoration: none;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    padding: 0px 10px 0px 0px;
}

.seller-container:hover {
    box-shadow: 0px 4px 20px 10px rgb(0 0 0 / 7%);
    transition: all 0.3s;
    
}
.seller-rating-table {
    grid-area: rating;
}
.seller-products-table {
    grid-area: products;
}
.seller-sales-table {
    grid-area: sales;
}
.seller-returns-table {
    grid-area: returns;
}
.seller-rating-table, .seller-products-table {
    display: flex;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    height: inherit;
    text-transform: none;
    text-decoration: none;
    box-shadow: var(--box-shadow-interna);
    background: var(--color-bg-box-secondary);
    border-color: transparent;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 5px;
}
.sales-returns, .table-reviews {
    display: flex;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    height: inherit;
    text-transform: none;
    text-decoration: none;
    box-shadow: var(--box-shadow-interna);
    background: var(--color-bg-box-secondary);
    border-color: transparent;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: space-around;
    gap: 5px;
}

.seller-sales-table, .seller-returns-table, .seller-bad-rev-table, .seller-good-rev-table {
    display: flex;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    height: inherit;
    text-transform: none;
    text-decoration: none;
    box-shadow: var(--box-shadow-interna);
    background: var(--color-bg-box-secondary);
    border-color: transparent;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 5px;
}
.seller-bad-rev-table {
    background: #ff00000d;
    grid-area: bad;
}
.seller-good-rev-table {
    background: #7cfc0017;
    grid-area: good;
}

section.pagination-product-page {
    grid-area: pag-up;
}
section.pagination-product-page-bottom {
    grid-area: pag-bottom;
}


.button-sellers-sorting-container {
    display: none;
    grid-area: sort;
    width: 49px;
    height: 49px;
    background: var(--color-bg-box);
    box-shadow: var(--box-shadow-externa);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}
button.show-sellers-sorting-btn {
    display: flex;
    gap: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    font-size: 20px;
    background: #ffffff00;
    border: 0px solid #f0f0f000;
    border-radius: 8px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
button.show-sellers-sorting-btn:hover {
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    position: relative;
    border-radius: 8px;
    box-shadow: var(--box-shadow-interna);
}
button.show-sellers-sorting-btn:focus {
    box-shadow: var(--box-shadow-interna);
    background-color: var(--color-bg-box-secondary-1);
}
@media (min-width: 500px) {
    .button-sorting-container {
        display: none;
    }
}
@media (max-width: 500px) {
    .sellers-sorting {
        display: none;
    }
    .sellers-page-body {
        grid-template-columns: 51px auto;
        grid-template-areas:
            "title title"
            "sort search"
            "table table";
    }
    .sorting-rating, .sorting-products, .sorting-sells, .sorting-returns, .sorting-reviews-good, .sorting-reviews-bad {
        width: 100%;
    }
}
@media (max-width: 900px) {
    .seller-container {
        grid-template-columns: 184px repeat(3, 1fr);
        grid-template-areas:
        "title sales sales good"
        "rating products returns bad";
    }
}
@media (max-width: 450px) {
    
    .seller-container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-template-areas:
        "title title title"
        " rating products returns"
        "  sales good bad";
    }
}
@media (min-width: 500px) and (max-width: 800px) {
.sellers-sorting {
    grid-template-columns: auto;
    grid-template-areas:
        "title title "
        "rating products"
        "returns sells"
        "good  bad";
}
}
@media (max-width: 500px) {
    .sellers-sorting {
        top: 322px;
        width: 320px;
        position: absolute;
        grid-template-columns: auto;
        grid-template-areas:
        "title"
        "rating"
        "products"
        "returns"
        "sells"
        "good"
        "bad";
    }
    .button-sellers-sorting-container {
        display: flex;
    }
}
