product-table {
    display: flex;
    flex-direction: column;
    filter: drop-shadow(2px 4px 6px rgb(0 0 0 / .1));
    --primor-color: #f20b1d;
    --claim-color: #000;
}

product-headers,
product-list a {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    place-items: center;
    gap: 1px;
}

product-headers>div {
    background-color: var(--primor-color);
    color: #fff;
    font-weight: bold;
    box-sizing: border-box;
    padding: 8px 12px;
    width: 100%;
    font-size: 16px;
}

product-list a {
    box-shadow: 0 0 10px #d2d2d2;
    text-decoration: none !important;
    gap: 1px;
    background-color: #c4c4c4;
    position: relative;
    transition-duration: .25s;
    color: #000 !important;
}

product-list a:hover {
    box-shadow: 0px 0px 10px rgb(0 0 0 / .4);
    z-index: 99999;
    transform: scale(1.015);
    color: #000 !important;
}

product-list a:focus {
    text-decoration: none !important;
}


product-list a>div:nth-child(2) {
    align-items: flex-start;
}

.product-position {
    background: var(--primor-color);
    padding: 0px 7px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    box-sizing: border-box;
}

product-list a>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 15px 15px 20px;
    box-sizing: border-box;
}


product-list h2 {
    font-size: 16px !important;
    width: 100%;
    font-weight: bold !important;
    margin-bottom: 0rem;
    word-break: break-word;
    text-wrap: balance;
}

product-list p {
    font-size: 16px !important;
    margin-bottom: 0rem;
    text-wrap: balance;
}

.rating p {
    margin-top: 0;
}

product-list .brand-name {
    margin: 0 !important;
}

product-list .price-claim {
    background-color: var(--claim-color);
    box-sizing: border-box;
    padding: 4px 10px;
    color: #fff !important;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

@media (max-width: 715px) {
    product-headers {
        display: none;
    }

    product-list {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    product-list a {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 0;
        padding-top: 15px;
        padding-bottom: 15px;
        background-color: #fff;
    }

    product-list a>div {
        padding: 5px 8px 5px;
    }

    product-list a>div:nth-child(2) {
        align-items: center;
    }

    .product-item .product-img {
        width: 150px;
        height: 100%;
        max-width: 100%;
    }

    product-list a:hover {
        box-shadow: none;
        z-index: 99999;
        transform: none;
    }

    .pr-slider product-list {
        flex-direction: unset;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }

    .pr-slider product-list a {
        min-width: 70%;
        scroll-snap-align: center;
    }

    .pr-slider product-list {
        --sb-track-color: #ffffff;
        --sb-thumb-color: #8c8c8c;
        --sb-size: 7px;

        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }

    .pr-slider product-list::-webkit-scrollbar {
        /* width: var(--sb-size); */
        height: var(--sb-size);
    }

    .pr-slider product-list::-webkit-scrollbar-track {
        background: var(--sb-track-color);
        border-radius: 0px;
    }

    .pr-slider product-list::-webkit-scrollbar-thumb {
        background: var(--sb-thumb-color);
        border-radius: 0px;
    }

}

.rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rate {
    --w: 50px;
    --b: 7px;
    --c: #f4880d;

    width: var(--w);
    aspect-ratio: 1;
    position: relative;
    display: inline-grid;
    place-content: center;
    margin: 5px;
    font-size: 25px;
    font-weight: bold;
    font-family: sans-serif;
}

.rate::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 0;
    background-color: #e9e9e9 !important;
    background: conic-gradient(var(--c) calc(var(--p)*1%), #0000 0);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(99% - var(--b)), #000 calc(100% - var(--b)));
    mask: radial-gradient(farthest-side, #0000 calc(99% - var(--b)), #000 calc(100% - var(--b)));
}

.rate-stars {
    display: flex;
    gap: 2px;
}

.rate-star {
    --size: 18px;
    width: var(--size);
    height: var(--size);
    background-color: #f4880d;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.rate-star.middle {
    background: linear-gradient(90deg, #f4880d 50%, #e9e9e9 50%, #e9e9e9 100%);
}

.rate-star.disable {
    background-color: #e9e9e9;
}

.table-error {
    display: block;
    text-align: center;
    border: 1px dashed #c4c4c4;
    color: #c4c4c4;
    user-select: none;
    padding: 15px 20px;
}