﻿.fk {
    .cart__table {
        border-collapse: collapse;
        font-size: 16px;
        color: #004820;

        thead {
            tr {
                border-bottom: 2px solid #f4f4f4;

                th {
                    font-weight: 400;
                    color: #004820;
                    font-size: 16px;
                    border-bottom: 0;
                    padding: 0 0 5px 0;

                    &:not(:first-child):not(:last-child) {
                        padding: 0 0 5px 0;
                    }
                    &:first-child {
                        padding: 0 0 5px 0;
                    }
                    &:last-child {
                        padding: 0 0 5px 0;
                    }
                }
            }
        }

        tbody {
            .cart-item {
                border-bottom: 2px solid #f4f4f4;

                &:last-of-type {
                    border: none;
                }

                &__column {
                    border-bottom: 0;

                    &:not(:first-child):not(:last-child) {
                        padding: 15px 5px;
                    }
                }

                &__product {
                    padding-left: 0;

                    &-image {
                        margin-left: 0;
                        margin-top: 0;
                    }
                }

                &__discount-price {
                    color: #004820;
                    font-size: 20px;
                    font-weight: 600;
                }

                &__list-price {
                    color: #004820;
                }

                &__discount-price-without-tax {
                    color: #797979;
                }

                &__name {
                    color: #004820;
                    font-size: 20px;
                    font-weight: 600;
                }

                &__description {
                    color: #797979;
                }

                &__quantity {
                    margin-top: 0;
                }

                &__discount {
                    color: #d83400;
                    font-size: 20px;
                    font-weight: 600;
                }

                &__total {
                    color: #004820;
                    font-size: 20px;
                    font-weight: 600;
                }
            }
        }

        .quantity {
            &__step {
                border: none;
                width: 20px;
                height: 20px;
                background-color: #000000;
                border-radius: 50%;
                color: #FFFFFF;
                margin: 6px 0;

                &:disabled {
                    background-color: rgb(121, 121, 121);
                    cursor: default;
                    pointer-events: none;
                }
            }

            &__input {
                padding: 6px;
                background-color: #F4F4F4;
                border: none;
                margin: 0 3px;
                text-align: center;
                font-size: 16px;
                height: auto;

                &:focus {
                    outline-color: #82cbea;
                    outline-style: solid;
                    outline-width: 2px;
                }
            }
        }

        tr {
            td, th {
                padding: 15px 5px;

                &:first-of-type {
                    text-align: left;
                }

                &.cell-text-right {
                    text-align: right;
                }

                &.cell-text-center {
                    text-align: center;
                }
            }

            td {
                img {
                    display: block;
                    width: 100%;
                    max-width: 150px;
                    min-width: 50px;
                }
            }
        }
    }
}