.cart {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 800px;
    max-width: 100%;
    padding: 40px 20px;
    margin: 0 auto;
}

.cart-item {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 28px;
    background-color: #f7f7f7;
    border-radius: 10px;
    border: 1px solid #cbcbcb;
}

.cart-item__left {
    flex-shrink: 0;
    width: 166px;
}

.cart-item__right {
    flex-shrink: 0;
    width: calc(100% - 186px);
}

.cart-item__picture-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 166px;
    height: 166px;
    border-radius: 10px;
}

.cart-item__picture {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item__name {
    margin-bottom: 10px;
    font-family: Arial;
    font-weight: bold;
    color: #000;
}

.cart-item__article {
    padding: 0;
    margin: 0 0 60px 0;
}

.cart-item__line {
    height: 2px;
    margin-bottom: 6px;
    background-color: #9f9f9f;
}

.cart__nums-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item__del {
    position: absolute;
    top: 7px;
    right: 10px;
    width: 31px;
    height: 31px;
    background-image: url(/local/templates/adamant/img/del.png);
    background-size: 31px 31px;
    cursor: pointer;
    z-index: 2;
}

.cart-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cart-buttons__order {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 36px;
    background-color: #aa292e;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
    color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

.cart-buttons__order:focus {
    text-decoration: none;
    background-color: red;
    color: #fff;
}

.cart-buttons__order:focus-visible {
    text-decoration: none;
    background-color: red;
    color: #fff;
}

.cart-buttons__order:hover {
    text-decoration: none;
    background-color: red;
    color: #fff;
}

.cart-buttons__order:active {
    text-decoration: none;
    background-color: red;
    color: #fff;
}

.cart-buttons__continue {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 36px;
    background-color: #ccc;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
    color: #000;
    transition: background-color 0.3s, color 0.3s;
}

.cart-buttons__continue:focus {
    text-decoration: none;
    background-color: red;
    color: #fff;
}

.cart-buttons__continue:focus-visible {
    text-decoration: none;
    background-color: red;
    color: #fff;
}

.cart-buttons__continue:hover {
    text-decoration: none;
    background-color: red;
    color: #fff;
}

.cart-buttons__continue:active {
    text-decoration: none;
    background-color: red;
    color: #fff;
}

.cart__nums {
	position: relative;
    display: inline-flex;
    align-items: center;
	width: 109px;
	height: 27px;
	line-height: 27px;
	background: #9f9f9f;
	border-radius: 3px;
	background-image: url('/local/templates/adamant/img/num_.png');

}

.cart__nums-value {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 52px;
	height: 27px;
	line-height: 27px;
	text-align: center;
	color: #000;
}

.cart__nums-plus {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 27px;
	height: 27px;
	line-height: 27px;
	cursor: pointer;
	z-index: 2;
}

.cart__nums-minus {
	position: absolute;
	top: 0px;
	left: 54px;
	width: 27px;
	height: 27px;
	line-height: 27px;
	cursor: pointer;
	z-index: 2;
}

@media(max-width: 767px) {
    .cart-item__left {
        flex-shrink: 0;
        width: 40px;
    }
    
    .cart-item__right {
        flex-shrink: 0;
        width: calc(100% - 60px);
    }

    .cart-item__picture-link {
        width: 40px;
        height: 40px;
    }
}