.cart-title {
    font-size: 32px;
    margin-bottom: 100px;
}

.empty-cart {
    display: flex;
    justify-content: center;
}

.empty-cart img {
    width: 72px;
    height: 72px;
}

.empty-cart > div > div {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.add-items-to-cart {
    font-weight: 500;
    margin-bottom: 32px;
    text-align: center;
    font-size: 14px;
}

.cart-button {
    width: 360px;
    margin-bottom: 100px;
}

body > .header {
    margin-bottom: 40px;
}

#cart-with-items {
    display: none;
    margin-bottom: 124px;
}

#cart-with-items > div {
    display: grid;
    grid-template-columns: 2.53fr 1fr;
    gap: 60px;
    justify-content: space-between;
}

#cart-with-items > div > table,
#cart-with-items > div > div  {
    width: 100%;
}

#cart-with-items > div > table {
    border-collapse: collapse;
}

#cart-with-items > div > table th {
    text-align: left;
    color: #8B8B8B;
    font-weight: 500;
    font-size: 14px;
}

#cart-with-items > div > table th.count {
    text-align: center;
}

#cart-with-items > div > table th.price {
    text-align: right;
}

#cart-with-items > div > table th {
    padding-bottom: 20px;
}

#cart-with-items > div > table tr td {
    border-top: 1px solid #DCDCDC;
    padding: 40px 0;
}
#cart-with-items > div > table td > img,
#cart-with-items > div > table tr td:first-child {
    width: 110px;
}

#cart-items-container > tr {
    height: 134px;
}

.name-and-manufacture, .cart-item-control {
    padding-left: 20px;
}

.cart-item-control img {
    height: 20px;
    width: 20px;
}

.cart-item-control > div {
    display: flex;
    gap: 8px;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

.second-column {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 134px;
}

.cart-item-control {
    display: flex;
    align-items: end;
    gap: 32px;
    transform: translateY(-2px);
}

.name-and-manufacture .name {
    font-size: 16px;
    font-weight: 500;
    color: #111;
    margin-bottom: 8px;
}

.name-and-manufacture .manufacture {
    font-weight: 300;
    font-size: 16px;
}

.move-to-whitelist p, .remove-item p {
    font-size: 13px;
}

p.value {
    display: flex;
    align-items: start;
    height: 134px;
    font-size: 16px;
    font-weight: 400;
}

p.value.count {
    justify-content: center;
}

p.value.price {
    font-weight: 500;
    justify-content: end;
}

p.value.count input {
    padding: 9px 13px;
    width: 10px;
    height: 19px;
    font-size: 16px;
    border: 1px solid #DCDCDC;
    outline: none;
    transform:translateY(-12px);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

@media (min-height: 1560px) {
    .footer {
        position: fixed;
        bottom: 0;
        width: 100%;
    }
}

@media (max-width: 990px) {

    .summary-info {
        padding-top: 0;
    }

    #cart-with-items > div {
        display: block;
    }

    .cart-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    #cart-with-items > div > table {
        width: 100%;
    }
    #cart-with-items > div > table tr td {
        border: none;
    }

    #cart-items-container td > div > img {
        width: 110px;
    }

    #cart-items-container td > div {
        display: grid;
        gap: 15px;
        grid-template-columns: auto 1fr;
    }

    #cart-items-container td > div > div.cart-item-control {
        grid-column: 1 / 3;
    }

    .page-wrapper {
        padding: 0 16px;
    }

    .page-wrapper div {
        width: 100%;
    }

    #cart-with-items > div > table tr td {
        padding-top: 0;
    }

    #cart-with-items > div > table tr td {
        padding-bottom: 40px;
    }

    #cart-with-items > div > table {
        margin-bottom: 20px;
    }

    .name-and-manufacture .name,
    .name-and-manufacture .manufacture {
        font-size: 16px;
    }

    .name-and-manufacture .name {
        margin-bottom: 8px;
    }

    .name-and-manufacture, .cart-item-control {
        padding-left: 0;
    }
    p.value, p.value > span {
        height: initial;
        font-size: 16px;
    }

    p.value > span:first-child {
        color: #8B8B8B;
    }

    p.value.price {
        margin-top: 12px;
        margin-bottom: 16px;
        justify-content: start;
    }

    .space-between, p.value.count.space-between {
        display: flex;
        justify-content: space-between;
    }

    p.value.count {
        margin-top: 8px;
        align-items: center;
    }

    p.value.count input {
        transform: none;
        height: 34px;
        width: 36px;
        display: flex;
        justify-content: center;
        padding: 0 12px;
    }

    .cart-item-control > div > p {
        font-size: 13px;
    }

    .cart-item-control > div > img {
        height: 20px;
        width: 20px;
    }

    .cart-item-control > div, .cart-item-control {
        display: grid;
        grid-template-columns: auto auto;
        gap: 8px;
    }

    .cart-item-control {
        max-width: 281px;
        gap: 22px;
        grid-template-columns: auto 115px;
    }

    .cart-item-control {
        justify-content: initial;
        width: initial !important;
    }

    .remove-item {
         max-width: 114px;
    }

    #cart-with-items > div > div {
        width: 100%;
    }

}

